diff --git a/docs/assets/InputAdornment-d5bf5eeb.js b/docs/assets/InputAdornment-d032014f.js similarity index 99% rename from docs/assets/InputAdornment-d5bf5eeb.js rename to docs/assets/InputAdornment-d032014f.js index d6e58bf..cfc16c3 100644 --- a/docs/assets/InputAdornment-d5bf5eeb.js +++ b/docs/assets/InputAdornment-d032014f.js @@ -1 +1 @@ -import{ay as Mt,r as k,l as Le,x as Be,f as ge,q as rt,j as z,aD as Lt,_ as S,o as De,a5 as ot,H as Bt,k as Ne,y as Re,as as Nt,A as We,n as Wt,z as P,F as Y,aw as at,g as te,L as zt,aE as Vt,T as Ft}from"./index-71c21823.js";var ht={exports:{}},Ht="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Ut=Ht,qt=Ut;function bt(){}function yt(){}yt.resetWarningCache=bt;var Xt=function(){function e(o,a,s,c,n,i){if(i!==qt){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:yt,resetWarningCache:bt};return r.PropTypes=r,r};ht.exports=Xt();var Yt=ht.exports;const Do=Mt(Yt),Kt={disableDefaultClasses:!1},_t=k.createContext(Kt);function Gt(e){const{disableDefaultClasses:t}=k.useContext(_t);return r=>t?"":e(r)}var N="top",H="bottom",U="right",W="left",ze="auto",he=[N,H,U,W],ne="start",ve="end",Jt="clippingParents",xt="viewport",fe="popper",Qt="reference",nt=he.reduce(function(e,t){return e.concat([t+"-"+ne,t+"-"+ve])},[]),Ct=[].concat(he,[ze]).reduce(function(e,t){return e.concat([t,t+"-"+ne,t+"-"+ve])},[]),Zt="beforeRead",er="read",tr="afterRead",rr="beforeMain",or="main",ar="afterMain",nr="beforeWrite",ir="write",sr="afterWrite",lr=[Zt,er,tr,rr,or,ar,nr,ir,sr];function _(e){return e?(e.nodeName||"").toLowerCase():null}function V(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function oe(e){var t=V(e).Element;return e instanceof t||e instanceof Element}function F(e){var t=V(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ve(e){if(typeof ShadowRoot>"u")return!1;var t=V(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function cr(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},a=t.attributes[r]||{},s=t.elements[r];!F(s)||!_(s)||(Object.assign(s.style,o),Object.keys(a).forEach(function(c){var n=a[c];n===!1?s.removeAttribute(c):s.setAttribute(c,n===!0?"":n)}))})}function pr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var a=t.elements[o],s=t.attributes[o]||{},c=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),n=c.reduce(function(i,p){return i[p]="",i},{});!F(a)||!_(a)||(Object.assign(a.style,n),Object.keys(s).forEach(function(i){a.removeAttribute(i)}))})}}const fr={name:"applyStyles",enabled:!0,phase:"write",fn:cr,effect:pr,requires:["computeStyles"]};function K(e){return e.split("-")[0]}var re=Math.max,$e=Math.min,ie=Math.round;function je(){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 wt(){return!/^((?!chrome|android).)*safari/i.test(je())}function se(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),a=1,s=1;t&&F(e)&&(a=e.offsetWidth>0&&ie(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ie(o.height)/e.offsetHeight||1);var c=oe(e)?V(e):window,n=c.visualViewport,i=!wt()&&r,p=(o.left+(i&&n?n.offsetLeft:0))/a,l=(o.top+(i&&n?n.offsetTop:0))/s,d=o.width/a,g=o.height/s;return{width:d,height:g,top:l,right:p+d,bottom:l+g,left:p,x:p,y:l}}function Fe(e){var t=se(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function Ot(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ve(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function G(e){return V(e).getComputedStyle(e)}function dr(e){return["table","td","th"].indexOf(_(e))>=0}function Q(e){return((oe(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ee(e){return _(e)==="html"?e:e.assignedSlot||e.parentNode||(Ve(e)?e.host:null)||Q(e)}function it(e){return!F(e)||G(e).position==="fixed"?null:e.offsetParent}function ur(e){var t=/firefox/i.test(je()),r=/Trident/i.test(je());if(r&&F(e)){var o=G(e);if(o.position==="fixed")return null}var a=Ee(e);for(Ve(a)&&(a=a.host);F(a)&&["html","body"].indexOf(_(a))<0;){var s=G(a);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return a;a=a.parentNode}return null}function be(e){for(var t=V(e),r=it(e);r&&dr(r)&&G(r).position==="static";)r=it(r);return r&&(_(r)==="html"||_(r)==="body"&&G(r).position==="static")?t:r||ur(e)||t}function He(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function de(e,t,r){return re(e,$e(t,r))}function vr(e,t,r){var o=de(e,t,r);return o>r?r:o}function Pt(){return{top:0,right:0,bottom:0,left:0}}function $t(e){return Object.assign({},Pt(),e)}function Rt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var mr=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,$t(typeof t!="number"?t:Rt(t,he))};function gr(e){var t,r=e.state,o=e.name,a=e.options,s=r.elements.arrow,c=r.modifiersData.popperOffsets,n=K(r.placement),i=He(n),p=[W,U].indexOf(n)>=0,l=p?"height":"width";if(!(!s||!c)){var d=mr(a.padding,r),g=Fe(s),f=i==="y"?N:W,m=i==="y"?H:U,v=r.rects.reference[l]+r.rects.reference[i]-c[i]-r.rects.popper[l],h=c[i]-r.rects.reference[i],C=be(s),$=C?i==="y"?C.clientHeight||0:C.clientWidth||0:0,x=v/2-h/2,u=d[f],y=$-g[l]-d[m],b=$/2-g[l]/2+x,w=de(u,b,y),T=i;r.modifiersData[o]=(t={},t[T]=w,t.centerOffset=w-b,t)}}function hr(e){var t=e.state,r=e.options,o=r.element,a=o===void 0?"[data-popper-arrow]":o;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Ot(t.elements.popper,a)&&(t.elements.arrow=a))}const br={name:"arrow",enabled:!0,phase:"main",fn:gr,effect:hr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function le(e){return e.split("-")[1]}var yr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xr(e,t){var r=e.x,o=e.y,a=t.devicePixelRatio||1;return{x:ie(r*a)/a||0,y:ie(o*a)/a||0}}function st(e){var t,r=e.popper,o=e.popperRect,a=e.placement,s=e.variation,c=e.offsets,n=e.position,i=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,d=e.isFixed,g=c.x,f=g===void 0?0:g,m=c.y,v=m===void 0?0:m,h=typeof l=="function"?l({x:f,y:v}):{x:f,y:v};f=h.x,v=h.y;var C=c.hasOwnProperty("x"),$=c.hasOwnProperty("y"),x=W,u=N,y=window;if(p){var b=be(r),w="clientHeight",T="clientWidth";if(b===V(r)&&(b=Q(r),G(b).position!=="static"&&n==="absolute"&&(w="scrollHeight",T="scrollWidth")),b=b,a===N||(a===W||a===U)&&s===ve){u=H;var E=d&&b===y&&y.visualViewport?y.visualViewport.height:b[w];v-=E-o.height,v*=i?1:-1}if(a===W||(a===N||a===H)&&s===ve){x=U;var R=d&&b===y&&y.visualViewport?y.visualViewport.width:b[T];f-=R-o.width,f*=i?1:-1}}var A=Object.assign({position:n},p&&yr),M=l===!0?xr({x:f,y:v},V(r)):{x:f,y:v};if(f=M.x,v=M.y,i){var D;return Object.assign({},A,(D={},D[u]=$?"0":"",D[x]=C?"0":"",D.transform=(y.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",D))}return Object.assign({},A,(t={},t[u]=$?v+"px":"",t[x]=C?f+"px":"",t.transform="",t))}function Cr(e){var t=e.state,r=e.options,o=r.gpuAcceleration,a=o===void 0?!0:o,s=r.adaptive,c=s===void 0?!0:s,n=r.roundOffsets,i=n===void 0?!0:n,p={placement:K(t.placement),variation:le(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,st(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:i})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,st(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const wr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Cr,data:{}};var Oe={passive:!0};function Or(e){var t=e.state,r=e.instance,o=e.options,a=o.scroll,s=a===void 0?!0:a,c=o.resize,n=c===void 0?!0:c,i=V(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&p.forEach(function(l){l.addEventListener("scroll",r.update,Oe)}),n&&i.addEventListener("resize",r.update,Oe),function(){s&&p.forEach(function(l){l.removeEventListener("scroll",r.update,Oe)}),n&&i.removeEventListener("resize",r.update,Oe)}}const Pr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Or,data:{}};var $r={left:"right",right:"left",bottom:"top",top:"bottom"};function Pe(e){return e.replace(/left|right|bottom|top/g,function(t){return $r[t]})}var Rr={start:"end",end:"start"};function lt(e){return e.replace(/start|end/g,function(t){return Rr[t]})}function Ue(e){var t=V(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function qe(e){return se(Q(e)).left+Ue(e).scrollLeft}function Er(e,t){var r=V(e),o=Q(e),a=r.visualViewport,s=o.clientWidth,c=o.clientHeight,n=0,i=0;if(a){s=a.width,c=a.height;var p=wt();(p||!p&&t==="fixed")&&(n=a.offsetLeft,i=a.offsetTop)}return{width:s,height:c,x:n+qe(e),y:i}}function kr(e){var t,r=Q(e),o=Ue(e),a=(t=e.ownerDocument)==null?void 0:t.body,s=re(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=re(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),n=-o.scrollLeft+qe(e),i=-o.scrollTop;return G(a||r).direction==="rtl"&&(n+=re(r.clientWidth,a?a.clientWidth:0)-s),{width:s,height:c,x:n,y:i}}function Xe(e){var t=G(e),r=t.overflow,o=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+o)}function Et(e){return["html","body","#document"].indexOf(_(e))>=0?e.ownerDocument.body:F(e)&&Xe(e)?e:Et(Ee(e))}function ue(e,t){var r;t===void 0&&(t=[]);var o=Et(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),s=V(o),c=a?[s].concat(s.visualViewport||[],Xe(o)?o:[]):o,n=t.concat(c);return a?n:n.concat(ue(Ee(c)))}function Se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Tr(e,t){var r=se(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function ct(e,t,r){return t===xt?Se(Er(e,r)):oe(t)?Tr(t,r):Se(kr(Q(e)))}function Ar(e){var t=ue(Ee(e)),r=["absolute","fixed"].indexOf(G(e).position)>=0,o=r&&F(e)?be(e):e;return oe(o)?t.filter(function(a){return oe(a)&&Ot(a,o)&&_(a)!=="body"}):[]}function Ir(e,t,r,o){var a=t==="clippingParents"?Ar(e):[].concat(t),s=[].concat(a,[r]),c=s[0],n=s.reduce(function(i,p){var l=ct(e,p,o);return i.top=re(l.top,i.top),i.right=$e(l.right,i.right),i.bottom=$e(l.bottom,i.bottom),i.left=re(l.left,i.left),i},ct(e,c,o));return n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}function kt(e){var t=e.reference,r=e.element,o=e.placement,a=o?K(o):null,s=o?le(o):null,c=t.x+t.width/2-r.width/2,n=t.y+t.height/2-r.height/2,i;switch(a){case N:i={x:c,y:t.y-r.height};break;case H:i={x:c,y:t.y+t.height};break;case U:i={x:t.x+t.width,y:n};break;case W:i={x:t.x-r.width,y:n};break;default:i={x:t.x,y:t.y}}var p=a?He(a):null;if(p!=null){var l=p==="y"?"height":"width";switch(s){case ne:i[p]=i[p]-(t[l]/2-r[l]/2);break;case ve:i[p]=i[p]+(t[l]/2-r[l]/2);break}}return i}function me(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=o===void 0?e.placement:o,s=r.strategy,c=s===void 0?e.strategy:s,n=r.boundary,i=n===void 0?Jt:n,p=r.rootBoundary,l=p===void 0?xt:p,d=r.elementContext,g=d===void 0?fe:d,f=r.altBoundary,m=f===void 0?!1:f,v=r.padding,h=v===void 0?0:v,C=$t(typeof h!="number"?h:Rt(h,he)),$=g===fe?Qt:fe,x=e.rects.popper,u=e.elements[m?$:g],y=Ir(oe(u)?u:u.contextElement||Q(e.elements.popper),i,l,c),b=se(e.elements.reference),w=kt({reference:b,element:x,strategy:"absolute",placement:a}),T=Se(Object.assign({},x,w)),E=g===fe?T:b,R={top:y.top-E.top+C.top,bottom:E.bottom-y.bottom+C.bottom,left:y.left-E.left+C.left,right:E.right-y.right+C.right},A=e.modifiersData.offset;if(g===fe&&A){var M=A[a];Object.keys(R).forEach(function(D){var L=[U,H].indexOf(D)>=0?1:-1,q=[N,H].indexOf(D)>=0?"y":"x";R[D]+=M[q]*L})}return R}function Dr(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=r.boundary,s=r.rootBoundary,c=r.padding,n=r.flipVariations,i=r.allowedAutoPlacements,p=i===void 0?Ct:i,l=le(o),d=l?n?nt:nt.filter(function(m){return le(m)===l}):he,g=d.filter(function(m){return p.indexOf(m)>=0});g.length===0&&(g=d);var f=g.reduce(function(m,v){return m[v]=me(e,{placement:v,boundary:a,rootBoundary:s,padding:c})[K(v)],m},{});return Object.keys(f).sort(function(m,v){return f[m]-f[v]})}function jr(e){if(K(e)===ze)return[];var t=Pe(e);return[lt(e),t,lt(t)]}function Sr(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var a=r.mainAxis,s=a===void 0?!0:a,c=r.altAxis,n=c===void 0?!0:c,i=r.fallbackPlacements,p=r.padding,l=r.boundary,d=r.rootBoundary,g=r.altBoundary,f=r.flipVariations,m=f===void 0?!0:f,v=r.allowedAutoPlacements,h=t.options.placement,C=K(h),$=C===h,x=i||($||!m?[Pe(h)]:jr(h)),u=[h].concat(x).reduce(function(ae,J){return ae.concat(K(J)===ze?Dr(t,{placement:J,boundary:l,rootBoundary:d,padding:p,flipVariations:m,allowedAutoPlacements:v}):J)},[]),y=t.rects.reference,b=t.rects.popper,w=new Map,T=!0,E=u[0],R=0;R=0,q=L?"width":"height",j=me(t,{placement:A,boundary:l,rootBoundary:d,altBoundary:g,padding:p}),B=L?D?U:W:D?H:N;y[q]>b[q]&&(B=Pe(B));var X=Pe(B),I=[];if(s&&I.push(j[M]<=0),n&&I.push(j[B]<=0,j[X]<=0),I.every(function(ae){return ae})){E=A,T=!1;break}w.set(A,I)}if(T)for(var ye=m?3:1,ke=function(J){var pe=u.find(function(Ce){var Z=w.get(Ce);if(Z)return Z.slice(0,J).every(function(Te){return Te})});if(pe)return E=pe,"break"},ce=ye;ce>0;ce--){var xe=ke(ce);if(xe==="break")break}t.placement!==E&&(t.modifiersData[o]._skip=!0,t.placement=E,t.reset=!0)}}const Mr={name:"flip",enabled:!0,phase:"main",fn:Sr,requiresIfExists:["offset"],data:{_skip:!1}};function pt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ft(e){return[N,U,H,W].some(function(t){return e[t]>=0})}function Lr(e){var t=e.state,r=e.name,o=t.rects.reference,a=t.rects.popper,s=t.modifiersData.preventOverflow,c=me(t,{elementContext:"reference"}),n=me(t,{altBoundary:!0}),i=pt(c,o),p=pt(n,a,s),l=ft(i),d=ft(p);t.modifiersData[r]={referenceClippingOffsets:i,popperEscapeOffsets:p,isReferenceHidden:l,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":d})}const Br={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Lr};function Nr(e,t,r){var o=K(e),a=[W,N].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=s[0],n=s[1];return c=c||0,n=(n||0)*a,[W,U].indexOf(o)>=0?{x:n,y:c}:{x:c,y:n}}function Wr(e){var t=e.state,r=e.options,o=e.name,a=r.offset,s=a===void 0?[0,0]:a,c=Ct.reduce(function(l,d){return l[d]=Nr(d,t.rects,s),l},{}),n=c[t.placement],i=n.x,p=n.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=i,t.modifiersData.popperOffsets.y+=p),t.modifiersData[o]=c}const zr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Wr};function Vr(e){var t=e.state,r=e.name;t.modifiersData[r]=kt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Fr={name:"popperOffsets",enabled:!0,phase:"read",fn:Vr,data:{}};function Hr(e){return e==="x"?"y":"x"}function Ur(e){var t=e.state,r=e.options,o=e.name,a=r.mainAxis,s=a===void 0?!0:a,c=r.altAxis,n=c===void 0?!1:c,i=r.boundary,p=r.rootBoundary,l=r.altBoundary,d=r.padding,g=r.tether,f=g===void 0?!0:g,m=r.tetherOffset,v=m===void 0?0:m,h=me(t,{boundary:i,rootBoundary:p,padding:d,altBoundary:l}),C=K(t.placement),$=le(t.placement),x=!$,u=He(C),y=Hr(u),b=t.modifiersData.popperOffsets,w=t.rects.reference,T=t.rects.popper,E=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,R=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(b){if(s){var D,L=u==="y"?N:W,q=u==="y"?H:U,j=u==="y"?"height":"width",B=b[u],X=B+h[L],I=B-h[q],ye=f?-T[j]/2:0,ke=$===ne?w[j]:T[j],ce=$===ne?-T[j]:-w[j],xe=t.elements.arrow,ae=f&&xe?Fe(xe):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Pt(),pe=J[L],Ce=J[q],Z=de(0,w[j],ae[j]),Te=x?w[j]/2-ye-Z-pe-R.mainAxis:ke-Z-pe-R.mainAxis,Tt=x?-w[j]/2+ye+Z+Ce+R.mainAxis:ce+Z+Ce+R.mainAxis,Ae=t.elements.arrow&&be(t.elements.arrow),At=Ae?u==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,Ye=(D=A==null?void 0:A[u])!=null?D:0,It=B+Te-Ye-At,Dt=B+Tt-Ye,Ke=de(f?$e(X,It):X,B,f?re(I,Dt):I);b[u]=Ke,M[u]=Ke-B}if(n){var _e,jt=u==="x"?N:W,St=u==="x"?H:U,ee=b[y],we=y==="y"?"height":"width",Ge=ee+h[jt],Je=ee-h[St],Ie=[N,W].indexOf(C)!==-1,Qe=(_e=A==null?void 0:A[y])!=null?_e:0,Ze=Ie?Ge:ee-w[we]-T[we]-Qe+R.altAxis,et=Ie?ee+w[we]+T[we]-Qe-R.altAxis:Je,tt=f&&Ie?vr(Ze,ee,et):de(f?Ze:Ge,ee,f?et:Je);b[y]=tt,M[y]=tt-ee}t.modifiersData[o]=M}}const qr={name:"preventOverflow",enabled:!0,phase:"main",fn:Ur,requiresIfExists:["offset"]};function Xr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Yr(e){return e===V(e)||!F(e)?Ue(e):Xr(e)}function Kr(e){var t=e.getBoundingClientRect(),r=ie(t.width)/e.offsetWidth||1,o=ie(t.height)/e.offsetHeight||1;return r!==1||o!==1}function _r(e,t,r){r===void 0&&(r=!1);var o=F(t),a=F(t)&&Kr(t),s=Q(t),c=se(e,a,r),n={scrollLeft:0,scrollTop:0},i={x:0,y:0};return(o||!o&&!r)&&((_(t)!=="body"||Xe(s))&&(n=Yr(t)),F(t)?(i=se(t,!0),i.x+=t.clientLeft,i.y+=t.clientTop):s&&(i.x=qe(s))),{x:c.left+n.scrollLeft-i.x,y:c.top+n.scrollTop-i.y,width:c.width,height:c.height}}function Gr(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function a(s){r.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(n){if(!r.has(n)){var i=t.get(n);i&&a(i)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||a(s)}),o}function Jr(e){var t=Gr(e);return lr.reduce(function(r,o){return r.concat(t.filter(function(a){return a.phase===o}))},[])}function Qr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Zr(e){var t=e.reduce(function(r,o){var a=r[o.name];return r[o.name]=a?Object.assign({},a,o,{options:Object.assign({},a.options,o.options),data:Object.assign({},a.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var dt={placement:"bottom",modifiers:[],strategy:"absolute"};function ut(){for(var e=arguments.length,t=new Array(e),r=0;rNe({root:["root"]},Gt(oo)),co={},po=k.forwardRef(function(t,r){var o;const{anchorEl:a,children:s,direction:c,disablePortal:n,modifiers:i,open:p,placement:l,popperOptions:d,popperRef:g,slotProps:f={},slots:m={},TransitionProps:v}=t,h=ge(t,ao),C=k.useRef(null),$=De(C,r),x=k.useRef(null),u=De(x,g),y=k.useRef(u);ot(()=>{y.current=u},[u]),k.useImperativeHandle(g,()=>x.current,[]);const b=io(l,c),[w,T]=k.useState(b),[E,R]=k.useState(Me(a));k.useEffect(()=>{x.current&&x.current.forceUpdate()}),k.useEffect(()=>{a&&R(Me(a))},[a]),ot(()=>{if(!E||!p)return;const q=X=>{T(X.placement)};let j=[{name:"preventOverflow",options:{altBoundary:n}},{name:"flip",options:{altBoundary:n}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:X})=>{q(X)}}];i!=null&&(j=j.concat(i)),d&&d.modifiers!=null&&(j=j.concat(d.modifiers));const B=ro(E,C.current,S({placement:b},d,{modifiers:j}));return y.current(B),()=>{B.destroy(),y.current(null)}},[E,n,i,p,d,b]);const A={placement:w};v!==null&&(A.TransitionProps=v);const M=lo(),D=(o=m.root)!=null?o:"div",L=Bt({elementType:D,externalSlotProps:f.root,externalForwardedProps:h,additionalProps:{role:"tooltip",ref:$},ownerState:t,className:M.root});return z.jsx(D,S({},L,{children:typeof s=="function"?s(A):s}))}),fo=k.forwardRef(function(t,r){const{anchorEl:o,children:a,container:s,direction:c="ltr",disablePortal:n=!1,keepMounted:i=!1,modifiers:p,open:l,placement:d="bottom",popperOptions:g=co,popperRef:f,style:m,transition:v=!1,slotProps:h={},slots:C={}}=t,$=ge(t,no),[x,u]=k.useState(!0),y=()=>{u(!1)},b=()=>{u(!0)};if(!i&&!l&&(!v||x))return null;let w;if(s)w=s;else if(o){const R=Me(o);w=R&&so(R)?rt(R).body:rt(null).body}const T=!l&&i&&(!v||x)?"none":void 0,E=v?{in:l,onEnter:y,onExited:b}:void 0;return z.jsx(Lt,{disablePortal:n,container:w,children:z.jsx(po,S({anchorEl:o,direction:c,disablePortal:n,modifiers:p,ref:r,open:v?!x:l,placement:d,popperOptions:g,popperRef:f,slotProps:h,slots:C},$,{style:S({position:"fixed",top:0,left:0,display:T},m),TransitionProps:E,children:a}))})}),uo=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],vo=Re(fo,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),mo=k.forwardRef(function(t,r){var o;const a=Nt(),s=We({props:t,name:"MuiPopper"}),{anchorEl:c,component:n,components:i,componentsProps:p,container:l,disablePortal:d,keepMounted:g,modifiers:f,open:m,placement:v,popperOptions:h,popperRef:C,transition:$,slots:x,slotProps:u}=s,y=ge(s,uo),b=(o=x==null?void 0:x.root)!=null?o:i==null?void 0:i.Root,w=S({anchorEl:c,container:l,disablePortal:d,keepMounted:g,modifiers:f,open:m,placement:v,popperOptions:h,popperRef:C,transition:$},y);return z.jsx(vo,S({as:n,direction:a==null?void 0:a.direction,slots:{root:b},slotProps:u??p},w,{ref:r}))}),jo=mo,go=Wt(z.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function ho(e){return Le("MuiChip",e)}const bo=Be("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),O=bo,yo=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],xo=e=>{const{classes:t,disabled:r,size:o,color:a,iconColor:s,onDelete:c,clickable:n,variant:i}=e,p={root:["root",i,r&&"disabled",`size${P(o)}`,`color${P(a)}`,n&&"clickable",n&&`clickableColor${P(a)}`,c&&"deletable",c&&`deletableColor${P(a)}`,`${i}${P(a)}`],label:["label",`label${P(o)}`],avatar:["avatar",`avatar${P(o)}`,`avatarColor${P(a)}`],icon:["icon",`icon${P(o)}`,`iconColor${P(s)}`],deleteIcon:["deleteIcon",`deleteIcon${P(o)}`,`deleteIconColor${P(a)}`,`deleteIcon${P(i)}Color${P(a)}`]};return Ne(p,ho,t)},Co=Re("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:o,iconColor:a,clickable:s,onDelete:c,size:n,variant:i}=r;return[{[`& .${O.avatar}`]:t.avatar},{[`& .${O.avatar}`]:t[`avatar${P(n)}`]},{[`& .${O.avatar}`]:t[`avatarColor${P(o)}`]},{[`& .${O.icon}`]:t.icon},{[`& .${O.icon}`]:t[`icon${P(n)}`]},{[`& .${O.icon}`]:t[`iconColor${P(a)}`]},{[`& .${O.deleteIcon}`]:t.deleteIcon},{[`& .${O.deleteIcon}`]:t[`deleteIcon${P(n)}`]},{[`& .${O.deleteIcon}`]:t[`deleteIconColor${P(o)}`]},{[`& .${O.deleteIcon}`]:t[`deleteIcon${P(i)}Color${P(o)}`]},t.root,t[`size${P(n)}`],t[`color${P(o)}`],s&&t.clickable,s&&o!=="default"&&t[`clickableColor${P(o)})`],c&&t.deletable,c&&o!=="default"&&t[`deletableColor${P(o)}`],t[i],t[`${i}${P(o)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return S({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${O.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${O.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${O.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${O.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${O.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${O.icon}`]:S({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&S({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},t.color!=="default"&&{color:"inherit"})),[`& .${O.deleteIcon}`]:S({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Y(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Y(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Y(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${O.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Y(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${O.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>S({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Y(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${O.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Y(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${O.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>S({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${O.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${O.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${O.avatar}`]:{marginLeft:4},[`& .${O.avatarSmall}`]:{marginLeft:2},[`& .${O.icon}`]:{marginLeft:4},[`& .${O.iconSmall}`]:{marginLeft:2},[`& .${O.deleteIcon}`]:{marginRight:5},[`& .${O.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Y(e.palette[t.color].main,.7)}`,[`&.${O.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Y(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${O.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Y(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${O.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Y(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),wo=Re("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:o}=r;return[t.label,t[`label${P(o)}`]]}})(({ownerState:e})=>S({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.size==="small"&&{paddingLeft:8,paddingRight:8}));function vt(e){return e.key==="Backspace"||e.key==="Delete"}const Oo=k.forwardRef(function(t,r){const o=We({props:t,name:"MuiChip"}),{avatar:a,className:s,clickable:c,color:n="default",component:i,deleteIcon:p,disabled:l=!1,icon:d,label:g,onClick:f,onDelete:m,onKeyDown:v,onKeyUp:h,size:C="medium",variant:$="filled",tabIndex:x,skipFocusWhenDisabled:u=!1}=o,y=ge(o,yo),b=k.useRef(null),w=De(b,r),T=I=>{I.stopPropagation(),m&&m(I)},E=I=>{I.currentTarget===I.target&&vt(I)&&I.preventDefault(),v&&v(I)},R=I=>{I.currentTarget===I.target&&(m&&vt(I)?m(I):I.key==="Escape"&&b.current&&b.current.blur()),h&&h(I)},A=c!==!1&&f?!0:c,M=A||m?at:i||"div",D=S({},o,{component:M,disabled:l,size:C,color:n,iconColor:k.isValidElement(d)&&d.props.color||n,onDelete:!!m,clickable:A,variant:$}),L=xo(D),q=M===at?S({component:i||"div",focusVisibleClassName:L.focusVisible},m&&{disableRipple:!0}):{};let j=null;m&&(j=p&&k.isValidElement(p)?k.cloneElement(p,{className:te(p.props.className,L.deleteIcon),onClick:T}):z.jsx(go,{className:te(L.deleteIcon),onClick:T}));let B=null;a&&k.isValidElement(a)&&(B=k.cloneElement(a,{className:te(L.avatar,a.props.className)}));let X=null;return d&&k.isValidElement(d)&&(X=k.cloneElement(d,{className:te(L.icon,d.props.className)})),z.jsxs(Co,S({as:M,className:te(L.root,s),disabled:A&&l?!0:void 0,onClick:f,onKeyDown:E,onKeyUp:R,ref:w,tabIndex:u&&l?-1:x,ownerState:D},q,y,{children:[B||X,z.jsx(wo,{className:te(L.label),ownerState:D,children:g}),j]}))}),So=Oo;function Po(e){return Le("MuiInputAdornment",e)}const $o=Be("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),mt=$o;var gt;const Ro=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Eo=(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${P(r.position)}`],r.disablePointerEvents===!0&&t.disablePointerEvents,t[r.variant]]},ko=e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:o,position:a,size:s,variant:c}=e,n={root:["root",r&&"disablePointerEvents",a&&`position${P(a)}`,c,o&&"hiddenLabel",s&&`size${P(s)}`]};return Ne(n,Po,t)},To=Re("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Eo})(({theme:e,ownerState:t})=>S({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${mt.positionStart}&:not(.${mt.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),Ao=k.forwardRef(function(t,r){const o=We({props:t,name:"MuiInputAdornment"}),{children:a,className:s,component:c="div",disablePointerEvents:n=!1,disableTypography:i=!1,position:p,variant:l}=o,d=ge(o,Ro),g=zt()||{};let f=l;l&&g.variant,g&&!f&&(f=g.variant);const m=S({},o,{hiddenLabel:g.hiddenLabel,size:g.size,disablePointerEvents:n,position:p,variant:f}),v=ko(m);return z.jsx(Vt.Provider,{value:null,children:z.jsx(To,S({as:c,ownerState:m,className:te(v.root,s),ref:r},d,{children:typeof a=="string"&&!i?z.jsx(Ft,{color:"text.secondary",children:a}):z.jsxs(k.Fragment,{children:[p==="start"?gt||(gt=z.jsx("span",{className:"notranslate",children:"​"})):null,a]})}))})}),Mo=Ao;export{jo as M,Do as P,So as a,Mo as b}; +import{ay as Mt,r as k,l as Le,x as Be,f as ge,q as rt,j as z,aD as Lt,_ as S,o as De,a5 as ot,H as Bt,k as Ne,y as Re,as as Nt,A as We,n as Wt,z as P,F as Y,aw as at,g as te,L as zt,aE as Vt,T as Ft}from"./index-dd98f799.js";var ht={exports:{}},Ht="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Ut=Ht,qt=Ut;function bt(){}function yt(){}yt.resetWarningCache=bt;var Xt=function(){function e(o,a,s,c,n,i){if(i!==qt){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:yt,resetWarningCache:bt};return r.PropTypes=r,r};ht.exports=Xt();var Yt=ht.exports;const Do=Mt(Yt),Kt={disableDefaultClasses:!1},_t=k.createContext(Kt);function Gt(e){const{disableDefaultClasses:t}=k.useContext(_t);return r=>t?"":e(r)}var N="top",H="bottom",U="right",W="left",ze="auto",he=[N,H,U,W],ne="start",ve="end",Jt="clippingParents",xt="viewport",fe="popper",Qt="reference",nt=he.reduce(function(e,t){return e.concat([t+"-"+ne,t+"-"+ve])},[]),Ct=[].concat(he,[ze]).reduce(function(e,t){return e.concat([t,t+"-"+ne,t+"-"+ve])},[]),Zt="beforeRead",er="read",tr="afterRead",rr="beforeMain",or="main",ar="afterMain",nr="beforeWrite",ir="write",sr="afterWrite",lr=[Zt,er,tr,rr,or,ar,nr,ir,sr];function _(e){return e?(e.nodeName||"").toLowerCase():null}function V(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function oe(e){var t=V(e).Element;return e instanceof t||e instanceof Element}function F(e){var t=V(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ve(e){if(typeof ShadowRoot>"u")return!1;var t=V(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function cr(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},a=t.attributes[r]||{},s=t.elements[r];!F(s)||!_(s)||(Object.assign(s.style,o),Object.keys(a).forEach(function(c){var n=a[c];n===!1?s.removeAttribute(c):s.setAttribute(c,n===!0?"":n)}))})}function pr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var a=t.elements[o],s=t.attributes[o]||{},c=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),n=c.reduce(function(i,p){return i[p]="",i},{});!F(a)||!_(a)||(Object.assign(a.style,n),Object.keys(s).forEach(function(i){a.removeAttribute(i)}))})}}const fr={name:"applyStyles",enabled:!0,phase:"write",fn:cr,effect:pr,requires:["computeStyles"]};function K(e){return e.split("-")[0]}var re=Math.max,$e=Math.min,ie=Math.round;function je(){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 wt(){return!/^((?!chrome|android).)*safari/i.test(je())}function se(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),a=1,s=1;t&&F(e)&&(a=e.offsetWidth>0&&ie(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ie(o.height)/e.offsetHeight||1);var c=oe(e)?V(e):window,n=c.visualViewport,i=!wt()&&r,p=(o.left+(i&&n?n.offsetLeft:0))/a,l=(o.top+(i&&n?n.offsetTop:0))/s,d=o.width/a,g=o.height/s;return{width:d,height:g,top:l,right:p+d,bottom:l+g,left:p,x:p,y:l}}function Fe(e){var t=se(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function Ot(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ve(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function G(e){return V(e).getComputedStyle(e)}function dr(e){return["table","td","th"].indexOf(_(e))>=0}function Q(e){return((oe(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ee(e){return _(e)==="html"?e:e.assignedSlot||e.parentNode||(Ve(e)?e.host:null)||Q(e)}function it(e){return!F(e)||G(e).position==="fixed"?null:e.offsetParent}function ur(e){var t=/firefox/i.test(je()),r=/Trident/i.test(je());if(r&&F(e)){var o=G(e);if(o.position==="fixed")return null}var a=Ee(e);for(Ve(a)&&(a=a.host);F(a)&&["html","body"].indexOf(_(a))<0;){var s=G(a);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return a;a=a.parentNode}return null}function be(e){for(var t=V(e),r=it(e);r&&dr(r)&&G(r).position==="static";)r=it(r);return r&&(_(r)==="html"||_(r)==="body"&&G(r).position==="static")?t:r||ur(e)||t}function He(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function de(e,t,r){return re(e,$e(t,r))}function vr(e,t,r){var o=de(e,t,r);return o>r?r:o}function Pt(){return{top:0,right:0,bottom:0,left:0}}function $t(e){return Object.assign({},Pt(),e)}function Rt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var mr=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,$t(typeof t!="number"?t:Rt(t,he))};function gr(e){var t,r=e.state,o=e.name,a=e.options,s=r.elements.arrow,c=r.modifiersData.popperOffsets,n=K(r.placement),i=He(n),p=[W,U].indexOf(n)>=0,l=p?"height":"width";if(!(!s||!c)){var d=mr(a.padding,r),g=Fe(s),f=i==="y"?N:W,m=i==="y"?H:U,v=r.rects.reference[l]+r.rects.reference[i]-c[i]-r.rects.popper[l],h=c[i]-r.rects.reference[i],C=be(s),$=C?i==="y"?C.clientHeight||0:C.clientWidth||0:0,x=v/2-h/2,u=d[f],y=$-g[l]-d[m],b=$/2-g[l]/2+x,w=de(u,b,y),T=i;r.modifiersData[o]=(t={},t[T]=w,t.centerOffset=w-b,t)}}function hr(e){var t=e.state,r=e.options,o=r.element,a=o===void 0?"[data-popper-arrow]":o;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Ot(t.elements.popper,a)&&(t.elements.arrow=a))}const br={name:"arrow",enabled:!0,phase:"main",fn:gr,effect:hr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function le(e){return e.split("-")[1]}var yr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xr(e,t){var r=e.x,o=e.y,a=t.devicePixelRatio||1;return{x:ie(r*a)/a||0,y:ie(o*a)/a||0}}function st(e){var t,r=e.popper,o=e.popperRect,a=e.placement,s=e.variation,c=e.offsets,n=e.position,i=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,d=e.isFixed,g=c.x,f=g===void 0?0:g,m=c.y,v=m===void 0?0:m,h=typeof l=="function"?l({x:f,y:v}):{x:f,y:v};f=h.x,v=h.y;var C=c.hasOwnProperty("x"),$=c.hasOwnProperty("y"),x=W,u=N,y=window;if(p){var b=be(r),w="clientHeight",T="clientWidth";if(b===V(r)&&(b=Q(r),G(b).position!=="static"&&n==="absolute"&&(w="scrollHeight",T="scrollWidth")),b=b,a===N||(a===W||a===U)&&s===ve){u=H;var E=d&&b===y&&y.visualViewport?y.visualViewport.height:b[w];v-=E-o.height,v*=i?1:-1}if(a===W||(a===N||a===H)&&s===ve){x=U;var R=d&&b===y&&y.visualViewport?y.visualViewport.width:b[T];f-=R-o.width,f*=i?1:-1}}var A=Object.assign({position:n},p&&yr),M=l===!0?xr({x:f,y:v},V(r)):{x:f,y:v};if(f=M.x,v=M.y,i){var D;return Object.assign({},A,(D={},D[u]=$?"0":"",D[x]=C?"0":"",D.transform=(y.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",D))}return Object.assign({},A,(t={},t[u]=$?v+"px":"",t[x]=C?f+"px":"",t.transform="",t))}function Cr(e){var t=e.state,r=e.options,o=r.gpuAcceleration,a=o===void 0?!0:o,s=r.adaptive,c=s===void 0?!0:s,n=r.roundOffsets,i=n===void 0?!0:n,p={placement:K(t.placement),variation:le(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,st(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:i})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,st(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const wr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Cr,data:{}};var Oe={passive:!0};function Or(e){var t=e.state,r=e.instance,o=e.options,a=o.scroll,s=a===void 0?!0:a,c=o.resize,n=c===void 0?!0:c,i=V(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&p.forEach(function(l){l.addEventListener("scroll",r.update,Oe)}),n&&i.addEventListener("resize",r.update,Oe),function(){s&&p.forEach(function(l){l.removeEventListener("scroll",r.update,Oe)}),n&&i.removeEventListener("resize",r.update,Oe)}}const Pr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Or,data:{}};var $r={left:"right",right:"left",bottom:"top",top:"bottom"};function Pe(e){return e.replace(/left|right|bottom|top/g,function(t){return $r[t]})}var Rr={start:"end",end:"start"};function lt(e){return e.replace(/start|end/g,function(t){return Rr[t]})}function Ue(e){var t=V(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function qe(e){return se(Q(e)).left+Ue(e).scrollLeft}function Er(e,t){var r=V(e),o=Q(e),a=r.visualViewport,s=o.clientWidth,c=o.clientHeight,n=0,i=0;if(a){s=a.width,c=a.height;var p=wt();(p||!p&&t==="fixed")&&(n=a.offsetLeft,i=a.offsetTop)}return{width:s,height:c,x:n+qe(e),y:i}}function kr(e){var t,r=Q(e),o=Ue(e),a=(t=e.ownerDocument)==null?void 0:t.body,s=re(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=re(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),n=-o.scrollLeft+qe(e),i=-o.scrollTop;return G(a||r).direction==="rtl"&&(n+=re(r.clientWidth,a?a.clientWidth:0)-s),{width:s,height:c,x:n,y:i}}function Xe(e){var t=G(e),r=t.overflow,o=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+o)}function Et(e){return["html","body","#document"].indexOf(_(e))>=0?e.ownerDocument.body:F(e)&&Xe(e)?e:Et(Ee(e))}function ue(e,t){var r;t===void 0&&(t=[]);var o=Et(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),s=V(o),c=a?[s].concat(s.visualViewport||[],Xe(o)?o:[]):o,n=t.concat(c);return a?n:n.concat(ue(Ee(c)))}function Se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Tr(e,t){var r=se(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function ct(e,t,r){return t===xt?Se(Er(e,r)):oe(t)?Tr(t,r):Se(kr(Q(e)))}function Ar(e){var t=ue(Ee(e)),r=["absolute","fixed"].indexOf(G(e).position)>=0,o=r&&F(e)?be(e):e;return oe(o)?t.filter(function(a){return oe(a)&&Ot(a,o)&&_(a)!=="body"}):[]}function Ir(e,t,r,o){var a=t==="clippingParents"?Ar(e):[].concat(t),s=[].concat(a,[r]),c=s[0],n=s.reduce(function(i,p){var l=ct(e,p,o);return i.top=re(l.top,i.top),i.right=$e(l.right,i.right),i.bottom=$e(l.bottom,i.bottom),i.left=re(l.left,i.left),i},ct(e,c,o));return n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}function kt(e){var t=e.reference,r=e.element,o=e.placement,a=o?K(o):null,s=o?le(o):null,c=t.x+t.width/2-r.width/2,n=t.y+t.height/2-r.height/2,i;switch(a){case N:i={x:c,y:t.y-r.height};break;case H:i={x:c,y:t.y+t.height};break;case U:i={x:t.x+t.width,y:n};break;case W:i={x:t.x-r.width,y:n};break;default:i={x:t.x,y:t.y}}var p=a?He(a):null;if(p!=null){var l=p==="y"?"height":"width";switch(s){case ne:i[p]=i[p]-(t[l]/2-r[l]/2);break;case ve:i[p]=i[p]+(t[l]/2-r[l]/2);break}}return i}function me(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=o===void 0?e.placement:o,s=r.strategy,c=s===void 0?e.strategy:s,n=r.boundary,i=n===void 0?Jt:n,p=r.rootBoundary,l=p===void 0?xt:p,d=r.elementContext,g=d===void 0?fe:d,f=r.altBoundary,m=f===void 0?!1:f,v=r.padding,h=v===void 0?0:v,C=$t(typeof h!="number"?h:Rt(h,he)),$=g===fe?Qt:fe,x=e.rects.popper,u=e.elements[m?$:g],y=Ir(oe(u)?u:u.contextElement||Q(e.elements.popper),i,l,c),b=se(e.elements.reference),w=kt({reference:b,element:x,strategy:"absolute",placement:a}),T=Se(Object.assign({},x,w)),E=g===fe?T:b,R={top:y.top-E.top+C.top,bottom:E.bottom-y.bottom+C.bottom,left:y.left-E.left+C.left,right:E.right-y.right+C.right},A=e.modifiersData.offset;if(g===fe&&A){var M=A[a];Object.keys(R).forEach(function(D){var L=[U,H].indexOf(D)>=0?1:-1,q=[N,H].indexOf(D)>=0?"y":"x";R[D]+=M[q]*L})}return R}function Dr(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=r.boundary,s=r.rootBoundary,c=r.padding,n=r.flipVariations,i=r.allowedAutoPlacements,p=i===void 0?Ct:i,l=le(o),d=l?n?nt:nt.filter(function(m){return le(m)===l}):he,g=d.filter(function(m){return p.indexOf(m)>=0});g.length===0&&(g=d);var f=g.reduce(function(m,v){return m[v]=me(e,{placement:v,boundary:a,rootBoundary:s,padding:c})[K(v)],m},{});return Object.keys(f).sort(function(m,v){return f[m]-f[v]})}function jr(e){if(K(e)===ze)return[];var t=Pe(e);return[lt(e),t,lt(t)]}function Sr(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var a=r.mainAxis,s=a===void 0?!0:a,c=r.altAxis,n=c===void 0?!0:c,i=r.fallbackPlacements,p=r.padding,l=r.boundary,d=r.rootBoundary,g=r.altBoundary,f=r.flipVariations,m=f===void 0?!0:f,v=r.allowedAutoPlacements,h=t.options.placement,C=K(h),$=C===h,x=i||($||!m?[Pe(h)]:jr(h)),u=[h].concat(x).reduce(function(ae,J){return ae.concat(K(J)===ze?Dr(t,{placement:J,boundary:l,rootBoundary:d,padding:p,flipVariations:m,allowedAutoPlacements:v}):J)},[]),y=t.rects.reference,b=t.rects.popper,w=new Map,T=!0,E=u[0],R=0;R=0,q=L?"width":"height",j=me(t,{placement:A,boundary:l,rootBoundary:d,altBoundary:g,padding:p}),B=L?D?U:W:D?H:N;y[q]>b[q]&&(B=Pe(B));var X=Pe(B),I=[];if(s&&I.push(j[M]<=0),n&&I.push(j[B]<=0,j[X]<=0),I.every(function(ae){return ae})){E=A,T=!1;break}w.set(A,I)}if(T)for(var ye=m?3:1,ke=function(J){var pe=u.find(function(Ce){var Z=w.get(Ce);if(Z)return Z.slice(0,J).every(function(Te){return Te})});if(pe)return E=pe,"break"},ce=ye;ce>0;ce--){var xe=ke(ce);if(xe==="break")break}t.placement!==E&&(t.modifiersData[o]._skip=!0,t.placement=E,t.reset=!0)}}const Mr={name:"flip",enabled:!0,phase:"main",fn:Sr,requiresIfExists:["offset"],data:{_skip:!1}};function pt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ft(e){return[N,U,H,W].some(function(t){return e[t]>=0})}function Lr(e){var t=e.state,r=e.name,o=t.rects.reference,a=t.rects.popper,s=t.modifiersData.preventOverflow,c=me(t,{elementContext:"reference"}),n=me(t,{altBoundary:!0}),i=pt(c,o),p=pt(n,a,s),l=ft(i),d=ft(p);t.modifiersData[r]={referenceClippingOffsets:i,popperEscapeOffsets:p,isReferenceHidden:l,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":d})}const Br={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Lr};function Nr(e,t,r){var o=K(e),a=[W,N].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=s[0],n=s[1];return c=c||0,n=(n||0)*a,[W,U].indexOf(o)>=0?{x:n,y:c}:{x:c,y:n}}function Wr(e){var t=e.state,r=e.options,o=e.name,a=r.offset,s=a===void 0?[0,0]:a,c=Ct.reduce(function(l,d){return l[d]=Nr(d,t.rects,s),l},{}),n=c[t.placement],i=n.x,p=n.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=i,t.modifiersData.popperOffsets.y+=p),t.modifiersData[o]=c}const zr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Wr};function Vr(e){var t=e.state,r=e.name;t.modifiersData[r]=kt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Fr={name:"popperOffsets",enabled:!0,phase:"read",fn:Vr,data:{}};function Hr(e){return e==="x"?"y":"x"}function Ur(e){var t=e.state,r=e.options,o=e.name,a=r.mainAxis,s=a===void 0?!0:a,c=r.altAxis,n=c===void 0?!1:c,i=r.boundary,p=r.rootBoundary,l=r.altBoundary,d=r.padding,g=r.tether,f=g===void 0?!0:g,m=r.tetherOffset,v=m===void 0?0:m,h=me(t,{boundary:i,rootBoundary:p,padding:d,altBoundary:l}),C=K(t.placement),$=le(t.placement),x=!$,u=He(C),y=Hr(u),b=t.modifiersData.popperOffsets,w=t.rects.reference,T=t.rects.popper,E=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,R=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(b){if(s){var D,L=u==="y"?N:W,q=u==="y"?H:U,j=u==="y"?"height":"width",B=b[u],X=B+h[L],I=B-h[q],ye=f?-T[j]/2:0,ke=$===ne?w[j]:T[j],ce=$===ne?-T[j]:-w[j],xe=t.elements.arrow,ae=f&&xe?Fe(xe):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Pt(),pe=J[L],Ce=J[q],Z=de(0,w[j],ae[j]),Te=x?w[j]/2-ye-Z-pe-R.mainAxis:ke-Z-pe-R.mainAxis,Tt=x?-w[j]/2+ye+Z+Ce+R.mainAxis:ce+Z+Ce+R.mainAxis,Ae=t.elements.arrow&&be(t.elements.arrow),At=Ae?u==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,Ye=(D=A==null?void 0:A[u])!=null?D:0,It=B+Te-Ye-At,Dt=B+Tt-Ye,Ke=de(f?$e(X,It):X,B,f?re(I,Dt):I);b[u]=Ke,M[u]=Ke-B}if(n){var _e,jt=u==="x"?N:W,St=u==="x"?H:U,ee=b[y],we=y==="y"?"height":"width",Ge=ee+h[jt],Je=ee-h[St],Ie=[N,W].indexOf(C)!==-1,Qe=(_e=A==null?void 0:A[y])!=null?_e:0,Ze=Ie?Ge:ee-w[we]-T[we]-Qe+R.altAxis,et=Ie?ee+w[we]+T[we]-Qe-R.altAxis:Je,tt=f&&Ie?vr(Ze,ee,et):de(f?Ze:Ge,ee,f?et:Je);b[y]=tt,M[y]=tt-ee}t.modifiersData[o]=M}}const qr={name:"preventOverflow",enabled:!0,phase:"main",fn:Ur,requiresIfExists:["offset"]};function Xr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Yr(e){return e===V(e)||!F(e)?Ue(e):Xr(e)}function Kr(e){var t=e.getBoundingClientRect(),r=ie(t.width)/e.offsetWidth||1,o=ie(t.height)/e.offsetHeight||1;return r!==1||o!==1}function _r(e,t,r){r===void 0&&(r=!1);var o=F(t),a=F(t)&&Kr(t),s=Q(t),c=se(e,a,r),n={scrollLeft:0,scrollTop:0},i={x:0,y:0};return(o||!o&&!r)&&((_(t)!=="body"||Xe(s))&&(n=Yr(t)),F(t)?(i=se(t,!0),i.x+=t.clientLeft,i.y+=t.clientTop):s&&(i.x=qe(s))),{x:c.left+n.scrollLeft-i.x,y:c.top+n.scrollTop-i.y,width:c.width,height:c.height}}function Gr(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function a(s){r.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(n){if(!r.has(n)){var i=t.get(n);i&&a(i)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||a(s)}),o}function Jr(e){var t=Gr(e);return lr.reduce(function(r,o){return r.concat(t.filter(function(a){return a.phase===o}))},[])}function Qr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Zr(e){var t=e.reduce(function(r,o){var a=r[o.name];return r[o.name]=a?Object.assign({},a,o,{options:Object.assign({},a.options,o.options),data:Object.assign({},a.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var dt={placement:"bottom",modifiers:[],strategy:"absolute"};function ut(){for(var e=arguments.length,t=new Array(e),r=0;rNe({root:["root"]},Gt(oo)),co={},po=k.forwardRef(function(t,r){var o;const{anchorEl:a,children:s,direction:c,disablePortal:n,modifiers:i,open:p,placement:l,popperOptions:d,popperRef:g,slotProps:f={},slots:m={},TransitionProps:v}=t,h=ge(t,ao),C=k.useRef(null),$=De(C,r),x=k.useRef(null),u=De(x,g),y=k.useRef(u);ot(()=>{y.current=u},[u]),k.useImperativeHandle(g,()=>x.current,[]);const b=io(l,c),[w,T]=k.useState(b),[E,R]=k.useState(Me(a));k.useEffect(()=>{x.current&&x.current.forceUpdate()}),k.useEffect(()=>{a&&R(Me(a))},[a]),ot(()=>{if(!E||!p)return;const q=X=>{T(X.placement)};let j=[{name:"preventOverflow",options:{altBoundary:n}},{name:"flip",options:{altBoundary:n}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:X})=>{q(X)}}];i!=null&&(j=j.concat(i)),d&&d.modifiers!=null&&(j=j.concat(d.modifiers));const B=ro(E,C.current,S({placement:b},d,{modifiers:j}));return y.current(B),()=>{B.destroy(),y.current(null)}},[E,n,i,p,d,b]);const A={placement:w};v!==null&&(A.TransitionProps=v);const M=lo(),D=(o=m.root)!=null?o:"div",L=Bt({elementType:D,externalSlotProps:f.root,externalForwardedProps:h,additionalProps:{role:"tooltip",ref:$},ownerState:t,className:M.root});return z.jsx(D,S({},L,{children:typeof s=="function"?s(A):s}))}),fo=k.forwardRef(function(t,r){const{anchorEl:o,children:a,container:s,direction:c="ltr",disablePortal:n=!1,keepMounted:i=!1,modifiers:p,open:l,placement:d="bottom",popperOptions:g=co,popperRef:f,style:m,transition:v=!1,slotProps:h={},slots:C={}}=t,$=ge(t,no),[x,u]=k.useState(!0),y=()=>{u(!1)},b=()=>{u(!0)};if(!i&&!l&&(!v||x))return null;let w;if(s)w=s;else if(o){const R=Me(o);w=R&&so(R)?rt(R).body:rt(null).body}const T=!l&&i&&(!v||x)?"none":void 0,E=v?{in:l,onEnter:y,onExited:b}:void 0;return z.jsx(Lt,{disablePortal:n,container:w,children:z.jsx(po,S({anchorEl:o,direction:c,disablePortal:n,modifiers:p,ref:r,open:v?!x:l,placement:d,popperOptions:g,popperRef:f,slotProps:h,slots:C},$,{style:S({position:"fixed",top:0,left:0,display:T},m),TransitionProps:E,children:a}))})}),uo=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],vo=Re(fo,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),mo=k.forwardRef(function(t,r){var o;const a=Nt(),s=We({props:t,name:"MuiPopper"}),{anchorEl:c,component:n,components:i,componentsProps:p,container:l,disablePortal:d,keepMounted:g,modifiers:f,open:m,placement:v,popperOptions:h,popperRef:C,transition:$,slots:x,slotProps:u}=s,y=ge(s,uo),b=(o=x==null?void 0:x.root)!=null?o:i==null?void 0:i.Root,w=S({anchorEl:c,container:l,disablePortal:d,keepMounted:g,modifiers:f,open:m,placement:v,popperOptions:h,popperRef:C,transition:$},y);return z.jsx(vo,S({as:n,direction:a==null?void 0:a.direction,slots:{root:b},slotProps:u??p},w,{ref:r}))}),jo=mo,go=Wt(z.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function ho(e){return Le("MuiChip",e)}const bo=Be("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),O=bo,yo=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],xo=e=>{const{classes:t,disabled:r,size:o,color:a,iconColor:s,onDelete:c,clickable:n,variant:i}=e,p={root:["root",i,r&&"disabled",`size${P(o)}`,`color${P(a)}`,n&&"clickable",n&&`clickableColor${P(a)}`,c&&"deletable",c&&`deletableColor${P(a)}`,`${i}${P(a)}`],label:["label",`label${P(o)}`],avatar:["avatar",`avatar${P(o)}`,`avatarColor${P(a)}`],icon:["icon",`icon${P(o)}`,`iconColor${P(s)}`],deleteIcon:["deleteIcon",`deleteIcon${P(o)}`,`deleteIconColor${P(a)}`,`deleteIcon${P(i)}Color${P(a)}`]};return Ne(p,ho,t)},Co=Re("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:o,iconColor:a,clickable:s,onDelete:c,size:n,variant:i}=r;return[{[`& .${O.avatar}`]:t.avatar},{[`& .${O.avatar}`]:t[`avatar${P(n)}`]},{[`& .${O.avatar}`]:t[`avatarColor${P(o)}`]},{[`& .${O.icon}`]:t.icon},{[`& .${O.icon}`]:t[`icon${P(n)}`]},{[`& .${O.icon}`]:t[`iconColor${P(a)}`]},{[`& .${O.deleteIcon}`]:t.deleteIcon},{[`& .${O.deleteIcon}`]:t[`deleteIcon${P(n)}`]},{[`& .${O.deleteIcon}`]:t[`deleteIconColor${P(o)}`]},{[`& .${O.deleteIcon}`]:t[`deleteIcon${P(i)}Color${P(o)}`]},t.root,t[`size${P(n)}`],t[`color${P(o)}`],s&&t.clickable,s&&o!=="default"&&t[`clickableColor${P(o)})`],c&&t.deletable,c&&o!=="default"&&t[`deletableColor${P(o)}`],t[i],t[`${i}${P(o)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return S({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${O.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${O.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${O.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${O.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${O.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${O.icon}`]:S({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&S({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},t.color!=="default"&&{color:"inherit"})),[`& .${O.deleteIcon}`]:S({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Y(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Y(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Y(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${O.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Y(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${O.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>S({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Y(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${O.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Y(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${O.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>S({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${O.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${O.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${O.avatar}`]:{marginLeft:4},[`& .${O.avatarSmall}`]:{marginLeft:2},[`& .${O.icon}`]:{marginLeft:4},[`& .${O.iconSmall}`]:{marginLeft:2},[`& .${O.deleteIcon}`]:{marginRight:5},[`& .${O.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Y(e.palette[t.color].main,.7)}`,[`&.${O.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Y(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${O.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Y(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${O.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Y(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),wo=Re("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:o}=r;return[t.label,t[`label${P(o)}`]]}})(({ownerState:e})=>S({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.size==="small"&&{paddingLeft:8,paddingRight:8}));function vt(e){return e.key==="Backspace"||e.key==="Delete"}const Oo=k.forwardRef(function(t,r){const o=We({props:t,name:"MuiChip"}),{avatar:a,className:s,clickable:c,color:n="default",component:i,deleteIcon:p,disabled:l=!1,icon:d,label:g,onClick:f,onDelete:m,onKeyDown:v,onKeyUp:h,size:C="medium",variant:$="filled",tabIndex:x,skipFocusWhenDisabled:u=!1}=o,y=ge(o,yo),b=k.useRef(null),w=De(b,r),T=I=>{I.stopPropagation(),m&&m(I)},E=I=>{I.currentTarget===I.target&&vt(I)&&I.preventDefault(),v&&v(I)},R=I=>{I.currentTarget===I.target&&(m&&vt(I)?m(I):I.key==="Escape"&&b.current&&b.current.blur()),h&&h(I)},A=c!==!1&&f?!0:c,M=A||m?at:i||"div",D=S({},o,{component:M,disabled:l,size:C,color:n,iconColor:k.isValidElement(d)&&d.props.color||n,onDelete:!!m,clickable:A,variant:$}),L=xo(D),q=M===at?S({component:i||"div",focusVisibleClassName:L.focusVisible},m&&{disableRipple:!0}):{};let j=null;m&&(j=p&&k.isValidElement(p)?k.cloneElement(p,{className:te(p.props.className,L.deleteIcon),onClick:T}):z.jsx(go,{className:te(L.deleteIcon),onClick:T}));let B=null;a&&k.isValidElement(a)&&(B=k.cloneElement(a,{className:te(L.avatar,a.props.className)}));let X=null;return d&&k.isValidElement(d)&&(X=k.cloneElement(d,{className:te(L.icon,d.props.className)})),z.jsxs(Co,S({as:M,className:te(L.root,s),disabled:A&&l?!0:void 0,onClick:f,onKeyDown:E,onKeyUp:R,ref:w,tabIndex:u&&l?-1:x,ownerState:D},q,y,{children:[B||X,z.jsx(wo,{className:te(L.label),ownerState:D,children:g}),j]}))}),So=Oo;function Po(e){return Le("MuiInputAdornment",e)}const $o=Be("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),mt=$o;var gt;const Ro=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Eo=(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${P(r.position)}`],r.disablePointerEvents===!0&&t.disablePointerEvents,t[r.variant]]},ko=e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:o,position:a,size:s,variant:c}=e,n={root:["root",r&&"disablePointerEvents",a&&`position${P(a)}`,c,o&&"hiddenLabel",s&&`size${P(s)}`]};return Ne(n,Po,t)},To=Re("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Eo})(({theme:e,ownerState:t})=>S({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${mt.positionStart}&:not(.${mt.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),Ao=k.forwardRef(function(t,r){const o=We({props:t,name:"MuiInputAdornment"}),{children:a,className:s,component:c="div",disablePointerEvents:n=!1,disableTypography:i=!1,position:p,variant:l}=o,d=ge(o,Ro),g=zt()||{};let f=l;l&&g.variant,g&&!f&&(f=g.variant);const m=S({},o,{hiddenLabel:g.hiddenLabel,size:g.size,disablePointerEvents:n,position:p,variant:f}),v=ko(m);return z.jsx(Vt.Provider,{value:null,children:z.jsx(To,S({as:c,ownerState:m,className:te(v.root,s),ref:r},d,{children:typeof a=="string"&&!i?z.jsx(Ft,{color:"text.secondary",children:a}):z.jsxs(k.Fragment,{children:[p==="start"?gt||(gt=z.jsx("span",{className:"notranslate",children:"​"})):null,a]})}))})}),Mo=Ao;export{jo as M,Do as P,So as a,Mo as b}; diff --git a/docs/assets/MeteoritesTable-6bda29d2.js b/docs/assets/MeteoritesTable-c64d2e27.js similarity index 99% rename from docs/assets/MeteoritesTable-6bda29d2.js rename to docs/assets/MeteoritesTable-c64d2e27.js index 4201678..98f20d0 100644 --- a/docs/assets/MeteoritesTable-6bda29d2.js +++ b/docs/assets/MeteoritesTable-c64d2e27.js @@ -1,4 +1,4 @@ -import{r as reactExports,c as createTheme,s as styled,u as useThemeProps,_ as _extends,h as handleBreakpoints,a as resolveBreakpointValues,b as createUnarySpacing,d as deepmerge,m as mergeBreakpointsInOrder,e as extendSxProp,f as _objectWithoutPropertiesLoose,j as jsxRuntimeExports,g as clsx,i as getValue,k as composeClasses,l as generateUtilityClass,n as createSvgIcon,o as useForkRef,p as useEventCallback,q as ownerDocument,t as useId,v as useControlled,w as setRef,x as generateUtilityClasses,y as styled$1,z as capitalize,A as useThemeProps$1,B as inputClasses,C as inputBaseClasses,D as outlinedInputClasses,E as filledInputClasses,M as MUIIconButton,P as Paper,F as alpha,G as ArrowDropDownIcon,H as useSlotProps,I as keyframes,J as css,K as getDividerUtilityClass,L as useFormControl,N as formControlState,T as Typography,O as ListContext,Q as getListItemIconUtilityClass,R as getUnit,S as toUnitless,U as useTheme,V as useIsFocusVisible,W as Grow,X as appendOwnerState,Y as SwitchBase,Z as lighten,$ as darken,a0 as Toolbar,a1 as MUISelect,a2 as MUIMenuItem,a3 as InputBase,a4 as isHostComponent,a5 as useEnhancedEffect,a6 as MenuList,a7 as ListItemText,a8 as FocusTrap,a9 as debounce,aa as ownerWindow,ab as reactDomExports,ac as useTheme$1,ad as MUICheckbox,ae as MUITextField,af as MUIFormControl,ag as MUIButton,ah as MUIInputLabel,ai as axios,aj as NasaDataContext,ak as useSearchParams}from"./index-71c21823.js";import{M as MUIPopper,a as MUIChip,b as MUIInputAdornment,P as PropTypes}from"./InputAdornment-d5bf5eeb.js";function chainPropTypes(e,t){return()=>null}const usePreviousProps=e=>{const t=reactExports.useRef({});return reactExports.useEffect(()=>{t.current=e}),t.current},usePreviousProps$1=usePreviousProps,_excluded$10=["component","direction","spacing","divider","children","className","useFlexGap"],defaultTheme=createTheme(),defaultCreateStyledComponent=styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function useThemePropsDefault(e){return useThemeProps({props:e,name:"MuiStack",defaultTheme})}function joinChildren(e,t){const o=reactExports.Children.toArray(e).filter(Boolean);return o.reduce((r,n,s)=>(r.push(n),s({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],style=({ownerState:e,theme:t})=>{let o=_extends({display:"flex",flexDirection:"column"},handleBreakpoints({theme:t},resolveBreakpointValues({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=createUnarySpacing(t),n=Object.keys(t.breakpoints.values).reduce((a,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(a[u]=!0),a),{}),s=resolveBreakpointValues({values:e.direction,base:n}),l=resolveBreakpointValues({values:e.spacing,base:n});typeof s=="object"&&Object.keys(s).forEach((a,u,c)=>{if(!s[a]){const p=u>0?s[c[u-1]]:"column";s[a]=p}}),o=deepmerge(o,handleBreakpoints({theme:t},l,(a,u)=>e.useFlexGap?{gap:getValue(r,a)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${getSideFromDirection(u?s[u]:e.direction)}`]:getValue(r,a)}}))}return o=mergeBreakpointsInOrder(t.breakpoints,o),o};function createStack(e={}){const{createStyledComponent:t=defaultCreateStyledComponent,useThemeProps:o=useThemePropsDefault,componentName:r="MuiStack"}=e,n=()=>composeClasses({root:["root"]},a=>generateUtilityClass(r,a),{}),s=t(style);return reactExports.forwardRef(function(a,u){const c=o(a),d=extendSxProp(c),{component:p="div",direction:g="column",spacing:m=0,divider:f,children:S,className:w,useFlexGap:b=!1}=d,I=_objectWithoutPropertiesLoose(d,_excluded$10),O={direction:g,spacing:m,useFlexGap:b},L=n();return jsxRuntimeExports.jsx(s,_extends({as:p,ownerState:O,ref:u,className:clsx(L.root,w)},I,{children:f?joinChildren(S,f):S}))})}const ClearIcon=createSvgIcon(jsxRuntimeExports.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function useBadge(e){const{badgeContent:t,invisible:o=!1,max:r=99,showZero:n=!1}=e,s=usePreviousProps$1({badgeContent:t,max:r});let l=o;o===!1&&t===0&&!n&&(l=!0);const{badgeContent:i,max:a=r}=l?s:e,u=i&&Number(i)>a?`${a}+`:i;return{badgeContent:i,invisible:l,max:a,displayValue:u}}function mapEventPropToEvent(e){return e.substring(2).toLowerCase()}function clickedRootScrollbar(e,t){return t.documentElement.clientWidth(setTimeout(()=>{a.current=!0},0),()=>{a.current=!1}),[]);const c=useForkRef(t.ref,i),d=useEventCallback(m=>{const f=u.current;u.current=!1;const S=ownerDocument(i.current);if(!a.current||!i.current||"clientX"in m&&clickedRootScrollbar(m,S))return;if(l.current){l.current=!1;return}let w;m.composedPath?w=m.composedPath().indexOf(i.current)>-1:w=!S.documentElement.contains(m.target)||i.current.contains(m.target),!w&&(o||!f)&&n(m)}),p=m=>f=>{u.current=!0;const S=t.props[m];S&&S(f)},g={ref:c};return s!==!1&&(g[s]=p(s)),reactExports.useEffect(()=>{if(s!==!1){const m=mapEventPropToEvent(s),f=ownerDocument(i.current),S=()=>{l.current=!0};return f.addEventListener(m,d),f.addEventListener("touchmove",S),()=>{f.removeEventListener(m,d),f.removeEventListener("touchmove",S)}}},[d,s]),r!==!1&&(g[r]=p(r)),reactExports.useEffect(()=>{if(r!==!1){const m=mapEventPropToEvent(r),f=ownerDocument(i.current);return f.addEventListener(m,d),()=>{f.removeEventListener(m,d)}}},[d,r]),jsxRuntimeExports.jsx(reactExports.Fragment,{children:reactExports.cloneElement(t,g)})}function stripDiacritics(e){return typeof e.normalize<"u"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function createFilterOptions(e={}){const{ignoreAccents:t=!0,ignoreCase:o=!0,limit:r,matchFrom:n="any",stringify:s,trim:l=!1}=e;return(i,{inputValue:a,getOptionLabel:u})=>{let c=l?a.trim():a;o&&(c=c.toLowerCase()),t&&(c=stripDiacritics(c));const d=c?i.filter(p=>{let g=(s||u)(p);return o&&(g=g.toLowerCase()),t&&(g=stripDiacritics(g)),n==="start"?g.indexOf(c)===0:g.indexOf(c)>-1}):i;return typeof r=="number"?d.slice(0,r):d}}function findIndex(e,t){for(let o=0;o{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))};function useAutocomplete(e){const{unstable_isActiveElementInListbox:t=defaultIsActiveElementInListbox,unstable_classNamePrefix:o="Mui",autoComplete:r=!1,autoHighlight:n=!1,autoSelect:s=!1,blurOnSelect:l=!1,clearOnBlur:i=!e.freeSolo,clearOnEscape:a=!1,componentName:u="useAutocomplete",defaultValue:c=e.multiple?[]:null,disableClearable:d=!1,disableCloseOnSelect:p=!1,disabled:g,disabledItemsFocusable:m=!1,disableListWrap:f=!1,filterOptions:S=defaultFilterOptions,filterSelectedOptions:w=!1,freeSolo:b=!1,getOptionDisabled:I,getOptionLabel:O=V=>{var H;return(H=V.label)!=null?H:V},groupBy:L,handleHomeEndKeys:$=!e.freeSolo,id:E,includeInputInList:C=!1,inputValue:T,isOptionEqualToValue:G=(V,H)=>V===H,multiple:P=!1,onChange:k,onClose:F,onHighlightChange:x,onInputChange:h,onOpen:v,open:R,openOnFocus:y=!1,options:M,readOnly:D=!1,selectOnFocus:j=!e.freeSolo,value:A}=e,z=useId(E);let W=O;W=V=>{const H=O(V);return typeof H!="string"?String(H):H};const Q=reactExports.useRef(!1),ae=reactExports.useRef(!0),Z=reactExports.useRef(null),ie=reactExports.useRef(null),[Y,re]=reactExports.useState(null),[se,ue]=reactExports.useState(-1),q=n?0:-1,X=reactExports.useRef(q),[N,te]=useControlled({controlled:A,default:c,name:u}),[K,J]=useControlled({controlled:T,default:"",name:u,state:"inputValue"}),[le,ee]=reactExports.useState(!1),ne=reactExports.useCallback((V,H)=>{if(!(P?N.length!(w&&(P?N:[N]).some(H=>H!==null&&G(V,H)))),{inputValue:fe&&de?"":K,getOptionLabel:W}):[],Pe=usePreviousProps$1({filteredOptions:Ce,value:N,inputValue:K});reactExports.useEffect(()=>{const V=N!==Pe.value;le&&!V||b&&!V||ne(null,N)},[N,ne,le,Pe.value,b]);const Ie=B&&Ce.length>0&&!D,Se=useEventCallback(V=>{V===-1?Z.current.focus():Y.querySelector(`[data-tag-index="${V}"]`).focus()});reactExports.useEffect(()=>{P&&se>N.length-1&&(ue(-1),Se(-1))},[N,P,se,Se]);function be(V,H){if(!ie.current||V===-1)return-1;let U=V;for(;;){if(H==="next"&&U===Ce.length||H==="previous"&&U===-1)return-1;const oe=ie.current.querySelector(`[data-option-index="${U}"]`),ge=m?!1:!oe||oe.disabled||oe.getAttribute("aria-disabled")==="true";if(oe&&!oe.hasAttribute("tabindex")||ge)U+=H==="next"?1:-1;else return U}}const we=useEventCallback(({event:V,index:H,reason:U="auto"})=>{if(X.current=H,H===-1?Z.current.removeAttribute("aria-activedescendant"):Z.current.setAttribute("aria-activedescendant",`${z}-option-${H}`),x&&x(V,H===-1?null:Ce[H],U),!ie.current)return;const oe=ie.current.querySelector(`[role="option"].${o}-focused`);oe&&(oe.classList.remove(`${o}-focused`),oe.classList.remove(`${o}-focusVisible`));let ge=ie.current;if(ie.current.getAttribute("role")!=="listbox"&&(ge=ie.current.parentElement.querySelector('[role="listbox"]')),!ge)return;if(H===-1){ge.scrollTop=0;return}const Me=ie.current.querySelector(`[data-option-index="${H}"]`);if(Me&&(Me.classList.add(`${o}-focused`),U==="keyboard"&&Me.classList.add(`${o}-focusVisible`),ge.scrollHeight>ge.clientHeight&&U!=="mouse"&&U!=="touch")){const _e=Me,je=ge.clientHeight+ge.scrollTop,pe=_e.offsetTop+_e.offsetHeight;pe>je?ge.scrollTop=pe-ge.clientHeight:_e.offsetTop-_e.offsetHeight*(L?1.3:0){if(!ve)return;const Me=be((()=>{const _e=Ce.length-1;if(H==="reset")return q;if(H==="start")return 0;if(H==="end")return _e;const je=X.current+H;return je<0?je===-1&&C?-1:f&&X.current!==-1||Math.abs(H)>1?0:_e:je>_e?je===_e+1&&C?-1:f||Math.abs(H)>1?_e:0:je})(),U);if(we({index:Me,reason:oe,event:V}),r&&H!=="reset")if(Me===-1)Z.current.value=K;else{const _e=W(Ce[Me]);Z.current.value=_e,_e.toLowerCase().indexOf(K.toLowerCase())===0&&K.length>0&&Z.current.setSelectionRange(K.length,_e.length)}}),ke=()=>{const V=(H,U)=>{const oe=H?W(H):"",ge=U?W(U):"";return oe===ge};if(X.current!==-1&&Pe.filteredOptions&&Pe.filteredOptions.length!==Ce.length&&Pe.inputValue===K&&(P?N.length===Pe.value.length&&Pe.value.every((H,U)=>W(N[U])===W(H)):V(Pe.value,N))){const H=Pe.filteredOptions[X.current];if(H&&Ce.some(oe=>W(oe)===W(H)))return!0}return!1},Ge=reactExports.useCallback(()=>{if(!ve||ke())return;const V=P?N[0]:N;if(Ce.length===0||V==null){ye({diff:"reset"});return}if(ie.current){if(V!=null){const H=Ce[X.current];if(P&&H&&findIndex(N,oe=>G(H,oe))!==-1)return;const U=findIndex(Ce,oe=>G(oe,V));U===-1?ye({diff:"reset"}):we({index:U});return}if(X.current>=Ce.length-1){we({index:Ce.length-1});return}we({index:X.current})}},[Ce.length,P?!1:N,w,ye,we,ve,K,P]),Be=useEventCallback(V=>{setRef(ie,V),V&&Ge()});reactExports.useEffect(()=>{Ge()},[Ge]);const Te=V=>{B||(ce(!0),me(!0),v&&v(V))},Fe=(V,H)=>{B&&(ce(!1),F&&F(V,H))},xe=(V,H,U,oe)=>{if(P){if(N.length===H.length&&N.every((ge,Me)=>ge===H[Me]))return}else if(N===H)return;k&&k(V,H,U,oe),te(H)},he=reactExports.useRef(!1),Oe=(V,H,U="selectOption",oe="options")=>{let ge=U,Me=H;if(P){Me=Array.isArray(N)?N.slice():[];const _e=findIndex(Me,je=>G(H,je));_e===-1?Me.push(H):oe!=="freeSolo"&&(Me.splice(_e,1),ge="removeOption")}ne(V,Me),xe(V,Me,ge,{option:H}),!p&&(!V||!V.ctrlKey&&!V.metaKey)&&Fe(V,ge),(l===!0||l==="touch"&&he.current||l==="mouse"&&!he.current)&&Z.current.blur()};function Qe(V,H){if(V===-1)return-1;let U=V;for(;;){if(H==="next"&&U===N.length||H==="previous"&&U===-1)return-1;const oe=Y.querySelector(`[data-tag-index="${U}"]`);if(!oe||!oe.hasAttribute("tabindex")||oe.disabled||oe.getAttribute("aria-disabled")==="true")U+=H==="next"?1:-1;else return U}}const Ve=(V,H)=>{if(!P)return;K===""&&Fe(V,"toggleInput");let U=se;se===-1?K===""&&H==="previous"&&(U=N.length-1):(U+=H==="next"?1:-1,U<0&&(U=0),U===N.length&&(U=-1)),U=Qe(U,H),ue(U),Se(U)},We=V=>{Q.current=!0,J(""),h&&h(V,"","clear"),xe(V,P?[]:null,"clear")},Ne=V=>H=>{if(V.onKeyDown&&V.onKeyDown(H),!H.defaultMuiPrevented&&(se!==-1&&["ArrowLeft","ArrowRight"].indexOf(H.key)===-1&&(ue(-1),Se(-1)),H.which!==229))switch(H.key){case"Home":ve&&$&&(H.preventDefault(),ye({diff:"start",direction:"next",reason:"keyboard",event:H}));break;case"End":ve&&$&&(H.preventDefault(),ye({diff:"end",direction:"previous",reason:"keyboard",event:H}));break;case"PageUp":H.preventDefault(),ye({diff:-pageSize,direction:"previous",reason:"keyboard",event:H}),Te(H);break;case"PageDown":H.preventDefault(),ye({diff:pageSize,direction:"next",reason:"keyboard",event:H}),Te(H);break;case"ArrowDown":H.preventDefault(),ye({diff:1,direction:"next",reason:"keyboard",event:H}),Te(H);break;case"ArrowUp":H.preventDefault(),ye({diff:-1,direction:"previous",reason:"keyboard",event:H}),Te(H);break;case"ArrowLeft":Ve(H,"previous");break;case"ArrowRight":Ve(H,"next");break;case"Enter":if(X.current!==-1&&ve){const U=Ce[X.current],oe=I?I(U):!1;if(H.preventDefault(),oe)return;Oe(H,U,"selectOption"),r&&Z.current.setSelectionRange(Z.current.value.length,Z.current.value.length)}else b&&K!==""&&fe===!1&&(P&&H.preventDefault(),Oe(H,K,"createOption","freeSolo"));break;case"Escape":ve?(H.preventDefault(),H.stopPropagation(),Fe(H,"escape")):a&&(K!==""||P&&N.length>0)&&(H.preventDefault(),H.stopPropagation(),We(H));break;case"Backspace":if(P&&!D&&K===""&&N.length>0){const U=se===-1?N.length-1:se,oe=N.slice();oe.splice(U,1),xe(H,oe,"removeOption",{option:N[U]})}break;case"Delete":if(P&&!D&&K===""&&N.length>0&&se!==-1){const U=se,oe=N.slice();oe.splice(U,1),xe(H,oe,"removeOption",{option:N[U]})}break}},Ke=V=>{ee(!0),y&&!Q.current&&Te(V)},Ze=V=>{if(t(ie)){Z.current.focus();return}ee(!1),ae.current=!0,Q.current=!1,s&&X.current!==-1&&ve?Oe(V,Ce[X.current],"blur"):s&&b&&K!==""?Oe(V,K,"blur","freeSolo"):i&&ne(V,N),Fe(V,"blur")},qe=V=>{const H=V.target.value;K!==H&&(J(H),me(!1),h&&h(V,H,"input")),H===""?!d&&!P&&xe(V,null,"clear"):Te(V)},Re=V=>{const H=Number(V.currentTarget.getAttribute("data-option-index"));X.current!==H&&we({event:V,index:H,reason:"mouse"})},Ee=V=>{we({event:V,index:Number(V.currentTarget.getAttribute("data-option-index")),reason:"touch"}),he.current=!0},$e=V=>{const H=Number(V.currentTarget.getAttribute("data-option-index"));Oe(V,Ce[H],"selectOption"),he.current=!1},ze=V=>H=>{const U=N.slice();U.splice(V,1),xe(H,U,"removeOption",{option:N[V]})},He=V=>{B?Fe(V,"toggleInput"):Te(V)},De=V=>{V.currentTarget.contains(V.target)&&V.target.getAttribute("id")!==z&&V.preventDefault()},Ye=V=>{V.currentTarget.contains(V.target)&&(Z.current.focus(),j&&ae.current&&Z.current.selectionEnd-Z.current.selectionStart===0&&Z.current.select(),ae.current=!1)},Xe=V=>{!g&&(K===""||!B)&&He(V)};let Le=b&&K.length>0;Le=Le||(P?N.length>0:N!==null);let Ue=Ce;return L&&(Ue=Ce.reduce((V,H,U)=>{const oe=L(H);return V.length>0&&V[V.length-1].group===oe?V[V.length-1].options.push(H):V.push({key:U,index:U,group:oe,options:[H]}),V},[])),g&&le&&Ze(),{getRootProps:(V={})=>_extends({"aria-owns":Ie?`${z}-listbox`:null},V,{onKeyDown:Ne(V),onMouseDown:De,onClick:Ye}),getInputLabelProps:()=>({id:`${z}-label`,htmlFor:z}),getInputProps:()=>({id:z,value:K,onBlur:Ze,onFocus:Ke,onChange:qe,onMouseDown:Xe,"aria-activedescendant":ve?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Ie?`${z}-listbox`:void 0,"aria-expanded":Ie,autoComplete:"off",ref:Z,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:g}),getClearProps:()=>({tabIndex:-1,onClick:We}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:He}),getTagProps:({index:V})=>_extends({key:V,"data-tag-index":V,tabIndex:-1},!D&&{onDelete:ze(V)}),getListboxProps:()=>({role:"listbox",id:`${z}-listbox`,"aria-labelledby":`${z}-label`,ref:Be,onMouseDown:V=>{V.preventDefault()}}),getOptionProps:({index:V,option:H})=>{const U=(P?N:[N]).some(ge=>ge!=null&&G(H,ge)),oe=I?I(H):!1;return{key:W(H),tabIndex:-1,role:"option",id:`${z}-option-${V}`,onMouseMove:Re,onClick:$e,onTouchStart:Ee,"data-option-index":V,"aria-disabled":oe,"aria-selected":U}},id:z,inputValue:K,value:N,dirty:Le,expanded:ve&&Y,popupOpen:ve,focused:le||se!==-1,anchorEl:Y,setAnchorEl:re,focusedTag:se,groupedOptions:Ue}}function getListSubheaderUtilityClass(e){return generateUtilityClass("MuiListSubheader",e)}generateUtilityClasses("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const _excluded$$=["className","color","component","disableGutters","disableSticky","inset"],useUtilityClasses$M=e=>{const{classes:t,color:o,disableGutters:r,inset:n,disableSticky:s}=e,l={root:["root",o!=="default"&&`color${capitalize(o)}`,!r&&"gutters",n&&"inset",!s&&"sticky"]};return composeClasses(l,getListSubheaderUtilityClass,t)},ListSubheaderRoot=styled$1("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.color!=="default"&&t[`color${capitalize(o.color)}`],!o.disableGutters&&t.gutters,o.inset&&t.inset,!o.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>_extends({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),ListSubheader=reactExports.forwardRef(function(t,o){const r=useThemeProps$1({props:t,name:"MuiListSubheader"}),{className:n,color:s="default",component:l="li",disableGutters:i=!1,disableSticky:a=!1,inset:u=!1}=r,c=_objectWithoutPropertiesLoose(r,_excluded$$),d=_extends({},r,{color:s,component:l,disableGutters:i,disableSticky:a,inset:u}),p=useUtilityClasses$M(d);return jsxRuntimeExports.jsx(ListSubheaderRoot,_extends({as:l,className:clsx(p.root,n),ref:o,ownerState:d},c))});ListSubheader.muiSkipListHighlight=!0;const ListSubheader$1=ListSubheader;function getAutocompleteUtilityClass(e){return generateUtilityClass("MuiAutocomplete",e)}const autocompleteClasses=generateUtilityClasses("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),autocompleteClasses$1=autocompleteClasses;var _ClearIcon,_ArrowDropDownIcon;const _excluded$_=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],_excluded2$6=["ref"],useUtilityClasses$L=e=>{const{classes:t,disablePortal:o,expanded:r,focused:n,fullWidth:s,hasClearIcon:l,hasPopupIcon:i,inputFocused:a,popupOpen:u,size:c}=e,d={root:["root",r&&"expanded",n&&"focused",s&&"fullWidth",l&&"hasClearIcon",i&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",a&&"inputFocused"],tag:["tag",`tagSize${capitalize(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",o&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return composeClasses(d,getAutocompleteUtilityClass,t)},AutocompleteRoot=styled$1("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{fullWidth:r,hasClearIcon:n,hasPopupIcon:s,inputFocused:l,size:i}=o;return[{[`& .${autocompleteClasses$1.tag}`]:t.tag},{[`& .${autocompleteClasses$1.tag}`]:t[`tagSize${capitalize(i)}`]},{[`& .${autocompleteClasses$1.inputRoot}`]:t.inputRoot},{[`& .${autocompleteClasses$1.input}`]:t.input},{[`& .${autocompleteClasses$1.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,s&&t.hasPopupIcon,n&&t.hasClearIcon]}})(({ownerState:e})=>_extends({[`&.${autocompleteClasses$1.focused} .${autocompleteClasses$1.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${autocompleteClasses$1.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${autocompleteClasses$1.tag}`]:_extends({margin:3,maxWidth:"calc(100% - 6px)"},e.size==="small"&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${autocompleteClasses$1.inputRoot}`]:{flexWrap:"wrap",[`.${autocompleteClasses$1.hasPopupIcon}&, .${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:26+4},[`.${autocompleteClasses$1.hasPopupIcon}.${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:52+4},[`& .${autocompleteClasses$1.input}`]:{width:0,minWidth:30}},[`& .${inputClasses.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${inputClasses.root}.${inputBaseClasses.sizeSmall}`]:{[`& .${inputClasses.input}`]:{padding:"2px 4px 3px 0"}},[`& .${outlinedInputClasses.root}`]:{padding:9,[`.${autocompleteClasses$1.hasPopupIcon}&, .${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${autocompleteClasses$1.hasPopupIcon}.${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${autocompleteClasses$1.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${autocompleteClasses$1.endAdornment}`]:{right:9}},[`& .${outlinedInputClasses.root}.${inputBaseClasses.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${autocompleteClasses$1.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${filledInputClasses.root}`]:{paddingTop:19,paddingLeft:8,[`.${autocompleteClasses$1.hasPopupIcon}&, .${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${autocompleteClasses$1.hasPopupIcon}.${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${filledInputClasses.input}`]:{padding:"7px 4px"},[`& .${autocompleteClasses$1.endAdornment}`]:{right:9}},[`& .${filledInputClasses.root}.${inputBaseClasses.sizeSmall}`]:{paddingBottom:1,[`& .${filledInputClasses.input}`]:{padding:"2.5px 4px"}},[`& .${inputBaseClasses.hiddenLabel}`]:{paddingTop:8},[`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${autocompleteClasses$1.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}.${inputBaseClasses.sizeSmall}`]:{[`& .${autocompleteClasses$1.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${autocompleteClasses$1.input}`]:_extends({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})})),AutocompleteEndAdornment=styled$1("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),AutocompleteClearIndicator=styled$1(MUIIconButton,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),AutocompletePopupIndicator=styled$1(MUIIconButton,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>_extends({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})(({ownerState:e})=>_extends({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"})),AutocompletePopper=styled$1(MUIPopper,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${autocompleteClasses$1.option}`]:t.option},t.popper,o.disablePortal&&t.popperDisablePortal]}})(({theme:e,ownerState:t})=>_extends({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"})),AutocompletePaper=styled$1(Paper,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>_extends({},e.typography.body1,{overflow:"auto"})),AutocompleteLoading=styled$1("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),AutocompleteNoOptions=styled$1("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),AutocompleteListbox=styled$1("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${autocompleteClasses$1.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${autocompleteClasses$1.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${autocompleteClasses$1.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${autocompleteClasses$1.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${autocompleteClasses$1.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),AutocompleteGroupLabel=styled$1(ListSubheader$1,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),AutocompleteGroupUl=styled$1("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${autocompleteClasses$1.option}`]:{paddingLeft:24}}),Autocomplete=reactExports.forwardRef(function(t,o){var r,n,s,l;const i=useThemeProps$1({props:t,name:"MuiAutocomplete"}),{autoComplete:a=!1,autoHighlight:u=!1,autoSelect:c=!1,blurOnSelect:d=!1,ChipProps:p,className:g,clearIcon:m=_ClearIcon||(_ClearIcon=jsxRuntimeExports.jsx(ClearIcon,{fontSize:"small"})),clearOnBlur:f=!i.freeSolo,clearOnEscape:S=!1,clearText:w="Clear",closeText:b="Close",componentsProps:I={},defaultValue:O=i.multiple?[]:null,disableClearable:L=!1,disableCloseOnSelect:$=!1,disabled:E=!1,disabledItemsFocusable:C=!1,disableListWrap:T=!1,disablePortal:G=!1,filterSelectedOptions:P=!1,forcePopupIcon:k="auto",freeSolo:F=!1,fullWidth:x=!1,getLimitTagsText:h=U=>`+${U}`,getOptionLabel:v,groupBy:R,handleHomeEndKeys:y=!i.freeSolo,includeInputInList:M=!1,limitTags:D=-1,ListboxComponent:j="ul",ListboxProps:A,loading:z=!1,loadingText:W="Loading…",multiple:Q=!1,noOptionsText:ae="No options",openOnFocus:Z=!1,openText:ie="Open",PaperComponent:Y=Paper,PopperComponent:re=MUIPopper,popupIcon:se=_ArrowDropDownIcon||(_ArrowDropDownIcon=jsxRuntimeExports.jsx(ArrowDropDownIcon,{})),readOnly:ue=!1,renderGroup:q,renderInput:X,renderOption:N,renderTags:te,selectOnFocus:K=!i.freeSolo,size:J="medium",slotProps:le={}}=i,ee=_objectWithoutPropertiesLoose(i,_excluded$_),{getRootProps:ne,getInputProps:B,getInputLabelProps:ce,getPopupIndicatorProps:de,getClearProps:me,getTagProps:fe,getListboxProps:ve,getOptionProps:Ce,value:Pe,dirty:Ie,expanded:Se,id:be,popupOpen:we,focused:ye,focusedTag:ke,anchorEl:Ge,setAnchorEl:Be,inputValue:Te,groupedOptions:Fe}=useAutocomplete(_extends({},i,{componentName:"Autocomplete"})),xe=!L&&!E&&Ie&&!ue,he=(!F||k===!0)&&k!==!1,{onMouseDown:Oe}=B(),{ref:Qe}=A??{},Ve=ve(),{ref:We}=Ve,Ne=_objectWithoutPropertiesLoose(Ve,_excluded2$6),Ke=useForkRef(We,Qe),qe=v||(U=>{var oe;return(oe=U.label)!=null?oe:U}),Re=_extends({},i,{disablePortal:G,expanded:Se,focused:ye,fullWidth:x,getOptionLabel:qe,hasClearIcon:xe,hasPopupIcon:he,inputFocused:ke===-1,popupOpen:we,size:J}),Ee=useUtilityClasses$L(Re);let $e;if(Q&&Pe.length>0){const U=oe=>_extends({className:Ee.tag,disabled:E},fe(oe));te?$e=te(Pe,U,Re):$e=Pe.map((oe,ge)=>jsxRuntimeExports.jsx(MUIChip,_extends({label:qe(oe),size:J},U({index:ge}),p)))}if(D>-1&&Array.isArray($e)){const U=$e.length-D;!ye&&U>0&&($e=$e.splice(0,D),$e.push(jsxRuntimeExports.jsx("span",{className:Ee.tag,children:h(U)},$e.length)))}const He=q||(U=>jsxRuntimeExports.jsxs("li",{children:[jsxRuntimeExports.jsx(AutocompleteGroupLabel,{className:Ee.groupLabel,ownerState:Re,component:"div",children:U.group}),jsxRuntimeExports.jsx(AutocompleteGroupUl,{className:Ee.groupUl,ownerState:Re,children:U.children})]},U.key)),Ye=N||((U,oe)=>jsxRuntimeExports.jsx("li",_extends({},U,{children:qe(oe)}))),Xe=(U,oe)=>{const ge=Ce({option:U,index:oe});return Ye(_extends({},ge,{className:Ee.option}),U,{selected:ge["aria-selected"],index:oe,inputValue:Te},Re)},Le=(r=le.clearIndicator)!=null?r:I.clearIndicator,Ue=(n=le.paper)!=null?n:I.paper,V=(s=le.popper)!=null?s:I.popper,H=(l=le.popupIndicator)!=null?l:I.popupIndicator;return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx(AutocompleteRoot,_extends({ref:o,className:clsx(Ee.root,g),ownerState:Re},ne(ee),{children:X({id:be,disabled:E,fullWidth:!0,size:J==="small"?"small":void 0,InputLabelProps:ce(),InputProps:_extends({ref:Be,className:Ee.inputRoot,startAdornment:$e,onClick:U=>{U.target===U.currentTarget&&Oe(U)}},(xe||he)&&{endAdornment:jsxRuntimeExports.jsxs(AutocompleteEndAdornment,{className:Ee.endAdornment,ownerState:Re,children:[xe?jsxRuntimeExports.jsx(AutocompleteClearIndicator,_extends({},me(),{"aria-label":w,title:w,ownerState:Re},Le,{className:clsx(Ee.clearIndicator,Le==null?void 0:Le.className),children:m})):null,he?jsxRuntimeExports.jsx(AutocompletePopupIndicator,_extends({},de(),{disabled:E,"aria-label":we?b:ie,title:we?b:ie,ownerState:Re},H,{className:clsx(Ee.popupIndicator,H==null?void 0:H.className),children:se})):null]})}),inputProps:_extends({className:Ee.input,disabled:E,readOnly:ue},B())})})),Ge?jsxRuntimeExports.jsx(AutocompletePopper,_extends({as:re,disablePortal:G,style:{width:Ge?Ge.clientWidth:null},ownerState:Re,role:"presentation",anchorEl:Ge,open:we},V,{className:clsx(Ee.popper,V==null?void 0:V.className),children:jsxRuntimeExports.jsxs(AutocompletePaper,_extends({ownerState:Re,as:Y},Ue,{className:clsx(Ee.paper,Ue==null?void 0:Ue.className),children:[z&&Fe.length===0?jsxRuntimeExports.jsx(AutocompleteLoading,{className:Ee.loading,ownerState:Re,children:W}):null,Fe.length===0&&!F&&!z?jsxRuntimeExports.jsx(AutocompleteNoOptions,{className:Ee.noOptions,ownerState:Re,role:"presentation",onMouseDown:U=>{U.preventDefault()},children:ae}):null,Fe.length>0?jsxRuntimeExports.jsx(AutocompleteListbox,_extends({as:j,className:Ee.listbox,ownerState:Re},Ne,A,{ref:Ke,children:Fe.map((U,oe)=>R?He({key:U.key,group:U.group,children:U.options.map((ge,Me)=>Xe(ge,U.index+Me))}):Xe(U,oe))})):null]}))})):null]})}),Autocomplete$1=Autocomplete;function getBadgeUtilityClass(e){return generateUtilityClass("MuiBadge",e)}const badgeClasses=generateUtilityClasses("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),badgeClasses$1=badgeClasses,_excluded$Z=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],RADIUS_STANDARD=10,RADIUS_DOT=4,useUtilityClasses$K=e=>{const{color:t,anchorOrigin:o,invisible:r,overlap:n,variant:s,classes:l={}}=e,i={root:["root"],badge:["badge",s,r&&"invisible",`anchorOrigin${capitalize(o.vertical)}${capitalize(o.horizontal)}`,`anchorOrigin${capitalize(o.vertical)}${capitalize(o.horizontal)}${capitalize(n)}`,`overlap${capitalize(n)}`,t!=="default"&&`color${capitalize(t)}`]};return composeClasses(i,getBadgeUtilityClass,l)},BadgeRoot=styled$1("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),BadgeBadge=styled$1("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.badge,t[o.variant],t[`anchorOrigin${capitalize(o.anchorOrigin.vertical)}${capitalize(o.anchorOrigin.horizontal)}${capitalize(o.overlap)}`],o.color!=="default"&&t[`color${capitalize(o.color)}`],o.invisible&&t.invisible]}})(({theme:e,ownerState:t})=>_extends({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:RADIUS_STANDARD*2,lineHeight:1,padding:"0 6px",height:RADIUS_STANDARD*2,borderRadius:RADIUS_STANDARD,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.variant==="dot"&&{borderRadius:RADIUS_DOT,height:RADIUS_DOT*2,minWidth:RADIUS_DOT*2,padding:0},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})),Badge=reactExports.forwardRef(function(t,o){var r,n,s,l,i,a;const u=useThemeProps$1({props:t,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:d,component:p,components:g={},componentsProps:m={},children:f,overlap:S="rectangular",color:w="default",invisible:b=!1,max:I=99,badgeContent:O,slots:L,slotProps:$,showZero:E=!1,variant:C="standard"}=u,T=_objectWithoutPropertiesLoose(u,_excluded$Z),{badgeContent:G,invisible:P,max:k,displayValue:F}=useBadge({max:I,invisible:b,badgeContent:O,showZero:E}),x=usePreviousProps$1({anchorOrigin:c,color:w,overlap:S,variant:C,badgeContent:O}),h=P||G==null&&C!=="dot",{color:v=w,overlap:R=S,anchorOrigin:y=c,variant:M=C}=h?x:u,D=M!=="dot"?F:void 0,j=_extends({},u,{badgeContent:G,invisible:h,max:k,displayValue:D,showZero:E,anchorOrigin:y,color:v,overlap:R,variant:M}),A=useUtilityClasses$K(j),z=(r=(n=L==null?void 0:L.root)!=null?n:g.Root)!=null?r:BadgeRoot,W=(s=(l=L==null?void 0:L.badge)!=null?l:g.Badge)!=null?s:BadgeBadge,Q=(i=$==null?void 0:$.root)!=null?i:m.root,ae=(a=$==null?void 0:$.badge)!=null?a:m.badge,Z=useSlotProps({elementType:z,externalSlotProps:Q,externalForwardedProps:T,additionalProps:{ref:o,as:p},ownerState:j,className:clsx(Q==null?void 0:Q.className,A.root,d)}),ie=useSlotProps({elementType:W,externalSlotProps:ae,ownerState:j,className:clsx(A.badge,ae==null?void 0:ae.className)});return jsxRuntimeExports.jsxs(z,_extends({},Z,{children:[f,jsxRuntimeExports.jsx(W,_extends({},ie,{children:D}))]}))}),Badge$1=Badge;function getCircularProgressUtilityClass(e){return generateUtilityClass("MuiCircularProgress",e)}generateUtilityClasses("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const _excluded$Y=["className","color","disableShrink","size","style","thickness","value","variant"];let _$1=e=>e,_t$1,_t2$1,_t3$1,_t4$1;const SIZE=44,circularRotateKeyframe=keyframes(_t$1||(_t$1=_$1` +import{r as reactExports,c as createTheme,s as styled,u as useThemeProps,_ as _extends,h as handleBreakpoints,a as resolveBreakpointValues,b as createUnarySpacing,d as deepmerge,m as mergeBreakpointsInOrder,e as extendSxProp,f as _objectWithoutPropertiesLoose,j as jsxRuntimeExports,g as clsx,i as getValue,k as composeClasses,l as generateUtilityClass,n as createSvgIcon,o as useForkRef,p as useEventCallback,q as ownerDocument,t as useId,v as useControlled,w as setRef,x as generateUtilityClasses,y as styled$1,z as capitalize,A as useThemeProps$1,B as inputClasses,C as inputBaseClasses,D as outlinedInputClasses,E as filledInputClasses,M as MUIIconButton,P as Paper,F as alpha,G as ArrowDropDownIcon,H as useSlotProps,I as keyframes,J as css,K as getDividerUtilityClass,L as useFormControl,N as formControlState,T as Typography,O as ListContext,Q as getListItemIconUtilityClass,R as getUnit,S as toUnitless,U as useTheme,V as useIsFocusVisible,W as Grow,X as appendOwnerState,Y as SwitchBase,Z as lighten,$ as darken,a0 as Toolbar,a1 as MUISelect,a2 as MUIMenuItem,a3 as InputBase,a4 as isHostComponent,a5 as useEnhancedEffect,a6 as MenuList,a7 as ListItemText,a8 as FocusTrap,a9 as debounce,aa as ownerWindow,ab as reactDomExports,ac as useTheme$1,ad as MUICheckbox,ae as MUITextField,af as MUIFormControl,ag as MUIButton,ah as MUIInputLabel,ai as axios,aj as NasaDataContext,ak as useSearchParams}from"./index-dd98f799.js";import{M as MUIPopper,a as MUIChip,b as MUIInputAdornment,P as PropTypes}from"./InputAdornment-d032014f.js";function chainPropTypes(e,t){return()=>null}const usePreviousProps=e=>{const t=reactExports.useRef({});return reactExports.useEffect(()=>{t.current=e}),t.current},usePreviousProps$1=usePreviousProps,_excluded$10=["component","direction","spacing","divider","children","className","useFlexGap"],defaultTheme=createTheme(),defaultCreateStyledComponent=styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function useThemePropsDefault(e){return useThemeProps({props:e,name:"MuiStack",defaultTheme})}function joinChildren(e,t){const o=reactExports.Children.toArray(e).filter(Boolean);return o.reduce((r,n,s)=>(r.push(n),s({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],style=({ownerState:e,theme:t})=>{let o=_extends({display:"flex",flexDirection:"column"},handleBreakpoints({theme:t},resolveBreakpointValues({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=createUnarySpacing(t),n=Object.keys(t.breakpoints.values).reduce((a,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(a[u]=!0),a),{}),s=resolveBreakpointValues({values:e.direction,base:n}),l=resolveBreakpointValues({values:e.spacing,base:n});typeof s=="object"&&Object.keys(s).forEach((a,u,c)=>{if(!s[a]){const p=u>0?s[c[u-1]]:"column";s[a]=p}}),o=deepmerge(o,handleBreakpoints({theme:t},l,(a,u)=>e.useFlexGap?{gap:getValue(r,a)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${getSideFromDirection(u?s[u]:e.direction)}`]:getValue(r,a)}}))}return o=mergeBreakpointsInOrder(t.breakpoints,o),o};function createStack(e={}){const{createStyledComponent:t=defaultCreateStyledComponent,useThemeProps:o=useThemePropsDefault,componentName:r="MuiStack"}=e,n=()=>composeClasses({root:["root"]},a=>generateUtilityClass(r,a),{}),s=t(style);return reactExports.forwardRef(function(a,u){const c=o(a),d=extendSxProp(c),{component:p="div",direction:g="column",spacing:m=0,divider:f,children:S,className:w,useFlexGap:b=!1}=d,I=_objectWithoutPropertiesLoose(d,_excluded$10),O={direction:g,spacing:m,useFlexGap:b},L=n();return jsxRuntimeExports.jsx(s,_extends({as:p,ownerState:O,ref:u,className:clsx(L.root,w)},I,{children:f?joinChildren(S,f):S}))})}const ClearIcon=createSvgIcon(jsxRuntimeExports.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function useBadge(e){const{badgeContent:t,invisible:o=!1,max:r=99,showZero:n=!1}=e,s=usePreviousProps$1({badgeContent:t,max:r});let l=o;o===!1&&t===0&&!n&&(l=!0);const{badgeContent:i,max:a=r}=l?s:e,u=i&&Number(i)>a?`${a}+`:i;return{badgeContent:i,invisible:l,max:a,displayValue:u}}function mapEventPropToEvent(e){return e.substring(2).toLowerCase()}function clickedRootScrollbar(e,t){return t.documentElement.clientWidth(setTimeout(()=>{a.current=!0},0),()=>{a.current=!1}),[]);const c=useForkRef(t.ref,i),d=useEventCallback(m=>{const f=u.current;u.current=!1;const S=ownerDocument(i.current);if(!a.current||!i.current||"clientX"in m&&clickedRootScrollbar(m,S))return;if(l.current){l.current=!1;return}let w;m.composedPath?w=m.composedPath().indexOf(i.current)>-1:w=!S.documentElement.contains(m.target)||i.current.contains(m.target),!w&&(o||!f)&&n(m)}),p=m=>f=>{u.current=!0;const S=t.props[m];S&&S(f)},g={ref:c};return s!==!1&&(g[s]=p(s)),reactExports.useEffect(()=>{if(s!==!1){const m=mapEventPropToEvent(s),f=ownerDocument(i.current),S=()=>{l.current=!0};return f.addEventListener(m,d),f.addEventListener("touchmove",S),()=>{f.removeEventListener(m,d),f.removeEventListener("touchmove",S)}}},[d,s]),r!==!1&&(g[r]=p(r)),reactExports.useEffect(()=>{if(r!==!1){const m=mapEventPropToEvent(r),f=ownerDocument(i.current);return f.addEventListener(m,d),()=>{f.removeEventListener(m,d)}}},[d,r]),jsxRuntimeExports.jsx(reactExports.Fragment,{children:reactExports.cloneElement(t,g)})}function stripDiacritics(e){return typeof e.normalize<"u"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function createFilterOptions(e={}){const{ignoreAccents:t=!0,ignoreCase:o=!0,limit:r,matchFrom:n="any",stringify:s,trim:l=!1}=e;return(i,{inputValue:a,getOptionLabel:u})=>{let c=l?a.trim():a;o&&(c=c.toLowerCase()),t&&(c=stripDiacritics(c));const d=c?i.filter(p=>{let g=(s||u)(p);return o&&(g=g.toLowerCase()),t&&(g=stripDiacritics(g)),n==="start"?g.indexOf(c)===0:g.indexOf(c)>-1}):i;return typeof r=="number"?d.slice(0,r):d}}function findIndex(e,t){for(let o=0;o{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))};function useAutocomplete(e){const{unstable_isActiveElementInListbox:t=defaultIsActiveElementInListbox,unstable_classNamePrefix:o="Mui",autoComplete:r=!1,autoHighlight:n=!1,autoSelect:s=!1,blurOnSelect:l=!1,clearOnBlur:i=!e.freeSolo,clearOnEscape:a=!1,componentName:u="useAutocomplete",defaultValue:c=e.multiple?[]:null,disableClearable:d=!1,disableCloseOnSelect:p=!1,disabled:g,disabledItemsFocusable:m=!1,disableListWrap:f=!1,filterOptions:S=defaultFilterOptions,filterSelectedOptions:w=!1,freeSolo:b=!1,getOptionDisabled:I,getOptionLabel:O=V=>{var H;return(H=V.label)!=null?H:V},groupBy:L,handleHomeEndKeys:$=!e.freeSolo,id:E,includeInputInList:C=!1,inputValue:T,isOptionEqualToValue:G=(V,H)=>V===H,multiple:P=!1,onChange:k,onClose:F,onHighlightChange:x,onInputChange:h,onOpen:v,open:R,openOnFocus:y=!1,options:M,readOnly:D=!1,selectOnFocus:j=!e.freeSolo,value:A}=e,z=useId(E);let W=O;W=V=>{const H=O(V);return typeof H!="string"?String(H):H};const Q=reactExports.useRef(!1),ae=reactExports.useRef(!0),Z=reactExports.useRef(null),ie=reactExports.useRef(null),[Y,re]=reactExports.useState(null),[se,ue]=reactExports.useState(-1),q=n?0:-1,X=reactExports.useRef(q),[N,te]=useControlled({controlled:A,default:c,name:u}),[K,J]=useControlled({controlled:T,default:"",name:u,state:"inputValue"}),[le,ee]=reactExports.useState(!1),ne=reactExports.useCallback((V,H)=>{if(!(P?N.length!(w&&(P?N:[N]).some(H=>H!==null&&G(V,H)))),{inputValue:fe&&de?"":K,getOptionLabel:W}):[],Pe=usePreviousProps$1({filteredOptions:Ce,value:N,inputValue:K});reactExports.useEffect(()=>{const V=N!==Pe.value;le&&!V||b&&!V||ne(null,N)},[N,ne,le,Pe.value,b]);const Ie=B&&Ce.length>0&&!D,Se=useEventCallback(V=>{V===-1?Z.current.focus():Y.querySelector(`[data-tag-index="${V}"]`).focus()});reactExports.useEffect(()=>{P&&se>N.length-1&&(ue(-1),Se(-1))},[N,P,se,Se]);function be(V,H){if(!ie.current||V===-1)return-1;let U=V;for(;;){if(H==="next"&&U===Ce.length||H==="previous"&&U===-1)return-1;const oe=ie.current.querySelector(`[data-option-index="${U}"]`),ge=m?!1:!oe||oe.disabled||oe.getAttribute("aria-disabled")==="true";if(oe&&!oe.hasAttribute("tabindex")||ge)U+=H==="next"?1:-1;else return U}}const we=useEventCallback(({event:V,index:H,reason:U="auto"})=>{if(X.current=H,H===-1?Z.current.removeAttribute("aria-activedescendant"):Z.current.setAttribute("aria-activedescendant",`${z}-option-${H}`),x&&x(V,H===-1?null:Ce[H],U),!ie.current)return;const oe=ie.current.querySelector(`[role="option"].${o}-focused`);oe&&(oe.classList.remove(`${o}-focused`),oe.classList.remove(`${o}-focusVisible`));let ge=ie.current;if(ie.current.getAttribute("role")!=="listbox"&&(ge=ie.current.parentElement.querySelector('[role="listbox"]')),!ge)return;if(H===-1){ge.scrollTop=0;return}const Me=ie.current.querySelector(`[data-option-index="${H}"]`);if(Me&&(Me.classList.add(`${o}-focused`),U==="keyboard"&&Me.classList.add(`${o}-focusVisible`),ge.scrollHeight>ge.clientHeight&&U!=="mouse"&&U!=="touch")){const _e=Me,je=ge.clientHeight+ge.scrollTop,pe=_e.offsetTop+_e.offsetHeight;pe>je?ge.scrollTop=pe-ge.clientHeight:_e.offsetTop-_e.offsetHeight*(L?1.3:0){if(!ve)return;const Me=be((()=>{const _e=Ce.length-1;if(H==="reset")return q;if(H==="start")return 0;if(H==="end")return _e;const je=X.current+H;return je<0?je===-1&&C?-1:f&&X.current!==-1||Math.abs(H)>1?0:_e:je>_e?je===_e+1&&C?-1:f||Math.abs(H)>1?_e:0:je})(),U);if(we({index:Me,reason:oe,event:V}),r&&H!=="reset")if(Me===-1)Z.current.value=K;else{const _e=W(Ce[Me]);Z.current.value=_e,_e.toLowerCase().indexOf(K.toLowerCase())===0&&K.length>0&&Z.current.setSelectionRange(K.length,_e.length)}}),ke=()=>{const V=(H,U)=>{const oe=H?W(H):"",ge=U?W(U):"";return oe===ge};if(X.current!==-1&&Pe.filteredOptions&&Pe.filteredOptions.length!==Ce.length&&Pe.inputValue===K&&(P?N.length===Pe.value.length&&Pe.value.every((H,U)=>W(N[U])===W(H)):V(Pe.value,N))){const H=Pe.filteredOptions[X.current];if(H&&Ce.some(oe=>W(oe)===W(H)))return!0}return!1},Ge=reactExports.useCallback(()=>{if(!ve||ke())return;const V=P?N[0]:N;if(Ce.length===0||V==null){ye({diff:"reset"});return}if(ie.current){if(V!=null){const H=Ce[X.current];if(P&&H&&findIndex(N,oe=>G(H,oe))!==-1)return;const U=findIndex(Ce,oe=>G(oe,V));U===-1?ye({diff:"reset"}):we({index:U});return}if(X.current>=Ce.length-1){we({index:Ce.length-1});return}we({index:X.current})}},[Ce.length,P?!1:N,w,ye,we,ve,K,P]),Be=useEventCallback(V=>{setRef(ie,V),V&&Ge()});reactExports.useEffect(()=>{Ge()},[Ge]);const Te=V=>{B||(ce(!0),me(!0),v&&v(V))},Fe=(V,H)=>{B&&(ce(!1),F&&F(V,H))},xe=(V,H,U,oe)=>{if(P){if(N.length===H.length&&N.every((ge,Me)=>ge===H[Me]))return}else if(N===H)return;k&&k(V,H,U,oe),te(H)},he=reactExports.useRef(!1),Oe=(V,H,U="selectOption",oe="options")=>{let ge=U,Me=H;if(P){Me=Array.isArray(N)?N.slice():[];const _e=findIndex(Me,je=>G(H,je));_e===-1?Me.push(H):oe!=="freeSolo"&&(Me.splice(_e,1),ge="removeOption")}ne(V,Me),xe(V,Me,ge,{option:H}),!p&&(!V||!V.ctrlKey&&!V.metaKey)&&Fe(V,ge),(l===!0||l==="touch"&&he.current||l==="mouse"&&!he.current)&&Z.current.blur()};function Qe(V,H){if(V===-1)return-1;let U=V;for(;;){if(H==="next"&&U===N.length||H==="previous"&&U===-1)return-1;const oe=Y.querySelector(`[data-tag-index="${U}"]`);if(!oe||!oe.hasAttribute("tabindex")||oe.disabled||oe.getAttribute("aria-disabled")==="true")U+=H==="next"?1:-1;else return U}}const Ve=(V,H)=>{if(!P)return;K===""&&Fe(V,"toggleInput");let U=se;se===-1?K===""&&H==="previous"&&(U=N.length-1):(U+=H==="next"?1:-1,U<0&&(U=0),U===N.length&&(U=-1)),U=Qe(U,H),ue(U),Se(U)},We=V=>{Q.current=!0,J(""),h&&h(V,"","clear"),xe(V,P?[]:null,"clear")},Ne=V=>H=>{if(V.onKeyDown&&V.onKeyDown(H),!H.defaultMuiPrevented&&(se!==-1&&["ArrowLeft","ArrowRight"].indexOf(H.key)===-1&&(ue(-1),Se(-1)),H.which!==229))switch(H.key){case"Home":ve&&$&&(H.preventDefault(),ye({diff:"start",direction:"next",reason:"keyboard",event:H}));break;case"End":ve&&$&&(H.preventDefault(),ye({diff:"end",direction:"previous",reason:"keyboard",event:H}));break;case"PageUp":H.preventDefault(),ye({diff:-pageSize,direction:"previous",reason:"keyboard",event:H}),Te(H);break;case"PageDown":H.preventDefault(),ye({diff:pageSize,direction:"next",reason:"keyboard",event:H}),Te(H);break;case"ArrowDown":H.preventDefault(),ye({diff:1,direction:"next",reason:"keyboard",event:H}),Te(H);break;case"ArrowUp":H.preventDefault(),ye({diff:-1,direction:"previous",reason:"keyboard",event:H}),Te(H);break;case"ArrowLeft":Ve(H,"previous");break;case"ArrowRight":Ve(H,"next");break;case"Enter":if(X.current!==-1&&ve){const U=Ce[X.current],oe=I?I(U):!1;if(H.preventDefault(),oe)return;Oe(H,U,"selectOption"),r&&Z.current.setSelectionRange(Z.current.value.length,Z.current.value.length)}else b&&K!==""&&fe===!1&&(P&&H.preventDefault(),Oe(H,K,"createOption","freeSolo"));break;case"Escape":ve?(H.preventDefault(),H.stopPropagation(),Fe(H,"escape")):a&&(K!==""||P&&N.length>0)&&(H.preventDefault(),H.stopPropagation(),We(H));break;case"Backspace":if(P&&!D&&K===""&&N.length>0){const U=se===-1?N.length-1:se,oe=N.slice();oe.splice(U,1),xe(H,oe,"removeOption",{option:N[U]})}break;case"Delete":if(P&&!D&&K===""&&N.length>0&&se!==-1){const U=se,oe=N.slice();oe.splice(U,1),xe(H,oe,"removeOption",{option:N[U]})}break}},Ke=V=>{ee(!0),y&&!Q.current&&Te(V)},Ze=V=>{if(t(ie)){Z.current.focus();return}ee(!1),ae.current=!0,Q.current=!1,s&&X.current!==-1&&ve?Oe(V,Ce[X.current],"blur"):s&&b&&K!==""?Oe(V,K,"blur","freeSolo"):i&&ne(V,N),Fe(V,"blur")},qe=V=>{const H=V.target.value;K!==H&&(J(H),me(!1),h&&h(V,H,"input")),H===""?!d&&!P&&xe(V,null,"clear"):Te(V)},Re=V=>{const H=Number(V.currentTarget.getAttribute("data-option-index"));X.current!==H&&we({event:V,index:H,reason:"mouse"})},Ee=V=>{we({event:V,index:Number(V.currentTarget.getAttribute("data-option-index")),reason:"touch"}),he.current=!0},$e=V=>{const H=Number(V.currentTarget.getAttribute("data-option-index"));Oe(V,Ce[H],"selectOption"),he.current=!1},ze=V=>H=>{const U=N.slice();U.splice(V,1),xe(H,U,"removeOption",{option:N[V]})},He=V=>{B?Fe(V,"toggleInput"):Te(V)},De=V=>{V.currentTarget.contains(V.target)&&V.target.getAttribute("id")!==z&&V.preventDefault()},Ye=V=>{V.currentTarget.contains(V.target)&&(Z.current.focus(),j&&ae.current&&Z.current.selectionEnd-Z.current.selectionStart===0&&Z.current.select(),ae.current=!1)},Xe=V=>{!g&&(K===""||!B)&&He(V)};let Le=b&&K.length>0;Le=Le||(P?N.length>0:N!==null);let Ue=Ce;return L&&(Ue=Ce.reduce((V,H,U)=>{const oe=L(H);return V.length>0&&V[V.length-1].group===oe?V[V.length-1].options.push(H):V.push({key:U,index:U,group:oe,options:[H]}),V},[])),g&&le&&Ze(),{getRootProps:(V={})=>_extends({"aria-owns":Ie?`${z}-listbox`:null},V,{onKeyDown:Ne(V),onMouseDown:De,onClick:Ye}),getInputLabelProps:()=>({id:`${z}-label`,htmlFor:z}),getInputProps:()=>({id:z,value:K,onBlur:Ze,onFocus:Ke,onChange:qe,onMouseDown:Xe,"aria-activedescendant":ve?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Ie?`${z}-listbox`:void 0,"aria-expanded":Ie,autoComplete:"off",ref:Z,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:g}),getClearProps:()=>({tabIndex:-1,onClick:We}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:He}),getTagProps:({index:V})=>_extends({key:V,"data-tag-index":V,tabIndex:-1},!D&&{onDelete:ze(V)}),getListboxProps:()=>({role:"listbox",id:`${z}-listbox`,"aria-labelledby":`${z}-label`,ref:Be,onMouseDown:V=>{V.preventDefault()}}),getOptionProps:({index:V,option:H})=>{const U=(P?N:[N]).some(ge=>ge!=null&&G(H,ge)),oe=I?I(H):!1;return{key:W(H),tabIndex:-1,role:"option",id:`${z}-option-${V}`,onMouseMove:Re,onClick:$e,onTouchStart:Ee,"data-option-index":V,"aria-disabled":oe,"aria-selected":U}},id:z,inputValue:K,value:N,dirty:Le,expanded:ve&&Y,popupOpen:ve,focused:le||se!==-1,anchorEl:Y,setAnchorEl:re,focusedTag:se,groupedOptions:Ue}}function getListSubheaderUtilityClass(e){return generateUtilityClass("MuiListSubheader",e)}generateUtilityClasses("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const _excluded$$=["className","color","component","disableGutters","disableSticky","inset"],useUtilityClasses$M=e=>{const{classes:t,color:o,disableGutters:r,inset:n,disableSticky:s}=e,l={root:["root",o!=="default"&&`color${capitalize(o)}`,!r&&"gutters",n&&"inset",!s&&"sticky"]};return composeClasses(l,getListSubheaderUtilityClass,t)},ListSubheaderRoot=styled$1("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.color!=="default"&&t[`color${capitalize(o.color)}`],!o.disableGutters&&t.gutters,o.inset&&t.inset,!o.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>_extends({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),ListSubheader=reactExports.forwardRef(function(t,o){const r=useThemeProps$1({props:t,name:"MuiListSubheader"}),{className:n,color:s="default",component:l="li",disableGutters:i=!1,disableSticky:a=!1,inset:u=!1}=r,c=_objectWithoutPropertiesLoose(r,_excluded$$),d=_extends({},r,{color:s,component:l,disableGutters:i,disableSticky:a,inset:u}),p=useUtilityClasses$M(d);return jsxRuntimeExports.jsx(ListSubheaderRoot,_extends({as:l,className:clsx(p.root,n),ref:o,ownerState:d},c))});ListSubheader.muiSkipListHighlight=!0;const ListSubheader$1=ListSubheader;function getAutocompleteUtilityClass(e){return generateUtilityClass("MuiAutocomplete",e)}const autocompleteClasses=generateUtilityClasses("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),autocompleteClasses$1=autocompleteClasses;var _ClearIcon,_ArrowDropDownIcon;const _excluded$_=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],_excluded2$6=["ref"],useUtilityClasses$L=e=>{const{classes:t,disablePortal:o,expanded:r,focused:n,fullWidth:s,hasClearIcon:l,hasPopupIcon:i,inputFocused:a,popupOpen:u,size:c}=e,d={root:["root",r&&"expanded",n&&"focused",s&&"fullWidth",l&&"hasClearIcon",i&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",a&&"inputFocused"],tag:["tag",`tagSize${capitalize(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",o&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return composeClasses(d,getAutocompleteUtilityClass,t)},AutocompleteRoot=styled$1("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e,{fullWidth:r,hasClearIcon:n,hasPopupIcon:s,inputFocused:l,size:i}=o;return[{[`& .${autocompleteClasses$1.tag}`]:t.tag},{[`& .${autocompleteClasses$1.tag}`]:t[`tagSize${capitalize(i)}`]},{[`& .${autocompleteClasses$1.inputRoot}`]:t.inputRoot},{[`& .${autocompleteClasses$1.input}`]:t.input},{[`& .${autocompleteClasses$1.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,s&&t.hasPopupIcon,n&&t.hasClearIcon]}})(({ownerState:e})=>_extends({[`&.${autocompleteClasses$1.focused} .${autocompleteClasses$1.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${autocompleteClasses$1.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${autocompleteClasses$1.tag}`]:_extends({margin:3,maxWidth:"calc(100% - 6px)"},e.size==="small"&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${autocompleteClasses$1.inputRoot}`]:{flexWrap:"wrap",[`.${autocompleteClasses$1.hasPopupIcon}&, .${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:26+4},[`.${autocompleteClasses$1.hasPopupIcon}.${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:52+4},[`& .${autocompleteClasses$1.input}`]:{width:0,minWidth:30}},[`& .${inputClasses.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${inputClasses.root}.${inputBaseClasses.sizeSmall}`]:{[`& .${inputClasses.input}`]:{padding:"2px 4px 3px 0"}},[`& .${outlinedInputClasses.root}`]:{padding:9,[`.${autocompleteClasses$1.hasPopupIcon}&, .${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${autocompleteClasses$1.hasPopupIcon}.${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${autocompleteClasses$1.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${autocompleteClasses$1.endAdornment}`]:{right:9}},[`& .${outlinedInputClasses.root}.${inputBaseClasses.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${autocompleteClasses$1.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${filledInputClasses.root}`]:{paddingTop:19,paddingLeft:8,[`.${autocompleteClasses$1.hasPopupIcon}&, .${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${autocompleteClasses$1.hasPopupIcon}.${autocompleteClasses$1.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${filledInputClasses.input}`]:{padding:"7px 4px"},[`& .${autocompleteClasses$1.endAdornment}`]:{right:9}},[`& .${filledInputClasses.root}.${inputBaseClasses.sizeSmall}`]:{paddingBottom:1,[`& .${filledInputClasses.input}`]:{padding:"2.5px 4px"}},[`& .${inputBaseClasses.hiddenLabel}`]:{paddingTop:8},[`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${autocompleteClasses$1.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}.${inputBaseClasses.sizeSmall}`]:{[`& .${autocompleteClasses$1.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${autocompleteClasses$1.input}`]:_extends({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})})),AutocompleteEndAdornment=styled$1("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),AutocompleteClearIndicator=styled$1(MUIIconButton,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),AutocompletePopupIndicator=styled$1(MUIIconButton,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>_extends({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})(({ownerState:e})=>_extends({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"})),AutocompletePopper=styled$1(MUIPopper,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${autocompleteClasses$1.option}`]:t.option},t.popper,o.disablePortal&&t.popperDisablePortal]}})(({theme:e,ownerState:t})=>_extends({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"})),AutocompletePaper=styled$1(Paper,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>_extends({},e.typography.body1,{overflow:"auto"})),AutocompleteLoading=styled$1("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),AutocompleteNoOptions=styled$1("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),AutocompleteListbox=styled$1("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${autocompleteClasses$1.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${autocompleteClasses$1.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${autocompleteClasses$1.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${autocompleteClasses$1.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${autocompleteClasses$1.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),AutocompleteGroupLabel=styled$1(ListSubheader$1,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),AutocompleteGroupUl=styled$1("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${autocompleteClasses$1.option}`]:{paddingLeft:24}}),Autocomplete=reactExports.forwardRef(function(t,o){var r,n,s,l;const i=useThemeProps$1({props:t,name:"MuiAutocomplete"}),{autoComplete:a=!1,autoHighlight:u=!1,autoSelect:c=!1,blurOnSelect:d=!1,ChipProps:p,className:g,clearIcon:m=_ClearIcon||(_ClearIcon=jsxRuntimeExports.jsx(ClearIcon,{fontSize:"small"})),clearOnBlur:f=!i.freeSolo,clearOnEscape:S=!1,clearText:w="Clear",closeText:b="Close",componentsProps:I={},defaultValue:O=i.multiple?[]:null,disableClearable:L=!1,disableCloseOnSelect:$=!1,disabled:E=!1,disabledItemsFocusable:C=!1,disableListWrap:T=!1,disablePortal:G=!1,filterSelectedOptions:P=!1,forcePopupIcon:k="auto",freeSolo:F=!1,fullWidth:x=!1,getLimitTagsText:h=U=>`+${U}`,getOptionLabel:v,groupBy:R,handleHomeEndKeys:y=!i.freeSolo,includeInputInList:M=!1,limitTags:D=-1,ListboxComponent:j="ul",ListboxProps:A,loading:z=!1,loadingText:W="Loading…",multiple:Q=!1,noOptionsText:ae="No options",openOnFocus:Z=!1,openText:ie="Open",PaperComponent:Y=Paper,PopperComponent:re=MUIPopper,popupIcon:se=_ArrowDropDownIcon||(_ArrowDropDownIcon=jsxRuntimeExports.jsx(ArrowDropDownIcon,{})),readOnly:ue=!1,renderGroup:q,renderInput:X,renderOption:N,renderTags:te,selectOnFocus:K=!i.freeSolo,size:J="medium",slotProps:le={}}=i,ee=_objectWithoutPropertiesLoose(i,_excluded$_),{getRootProps:ne,getInputProps:B,getInputLabelProps:ce,getPopupIndicatorProps:de,getClearProps:me,getTagProps:fe,getListboxProps:ve,getOptionProps:Ce,value:Pe,dirty:Ie,expanded:Se,id:be,popupOpen:we,focused:ye,focusedTag:ke,anchorEl:Ge,setAnchorEl:Be,inputValue:Te,groupedOptions:Fe}=useAutocomplete(_extends({},i,{componentName:"Autocomplete"})),xe=!L&&!E&&Ie&&!ue,he=(!F||k===!0)&&k!==!1,{onMouseDown:Oe}=B(),{ref:Qe}=A??{},Ve=ve(),{ref:We}=Ve,Ne=_objectWithoutPropertiesLoose(Ve,_excluded2$6),Ke=useForkRef(We,Qe),qe=v||(U=>{var oe;return(oe=U.label)!=null?oe:U}),Re=_extends({},i,{disablePortal:G,expanded:Se,focused:ye,fullWidth:x,getOptionLabel:qe,hasClearIcon:xe,hasPopupIcon:he,inputFocused:ke===-1,popupOpen:we,size:J}),Ee=useUtilityClasses$L(Re);let $e;if(Q&&Pe.length>0){const U=oe=>_extends({className:Ee.tag,disabled:E},fe(oe));te?$e=te(Pe,U,Re):$e=Pe.map((oe,ge)=>jsxRuntimeExports.jsx(MUIChip,_extends({label:qe(oe),size:J},U({index:ge}),p)))}if(D>-1&&Array.isArray($e)){const U=$e.length-D;!ye&&U>0&&($e=$e.splice(0,D),$e.push(jsxRuntimeExports.jsx("span",{className:Ee.tag,children:h(U)},$e.length)))}const He=q||(U=>jsxRuntimeExports.jsxs("li",{children:[jsxRuntimeExports.jsx(AutocompleteGroupLabel,{className:Ee.groupLabel,ownerState:Re,component:"div",children:U.group}),jsxRuntimeExports.jsx(AutocompleteGroupUl,{className:Ee.groupUl,ownerState:Re,children:U.children})]},U.key)),Ye=N||((U,oe)=>jsxRuntimeExports.jsx("li",_extends({},U,{children:qe(oe)}))),Xe=(U,oe)=>{const ge=Ce({option:U,index:oe});return Ye(_extends({},ge,{className:Ee.option}),U,{selected:ge["aria-selected"],index:oe,inputValue:Te},Re)},Le=(r=le.clearIndicator)!=null?r:I.clearIndicator,Ue=(n=le.paper)!=null?n:I.paper,V=(s=le.popper)!=null?s:I.popper,H=(l=le.popupIndicator)!=null?l:I.popupIndicator;return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx(AutocompleteRoot,_extends({ref:o,className:clsx(Ee.root,g),ownerState:Re},ne(ee),{children:X({id:be,disabled:E,fullWidth:!0,size:J==="small"?"small":void 0,InputLabelProps:ce(),InputProps:_extends({ref:Be,className:Ee.inputRoot,startAdornment:$e,onClick:U=>{U.target===U.currentTarget&&Oe(U)}},(xe||he)&&{endAdornment:jsxRuntimeExports.jsxs(AutocompleteEndAdornment,{className:Ee.endAdornment,ownerState:Re,children:[xe?jsxRuntimeExports.jsx(AutocompleteClearIndicator,_extends({},me(),{"aria-label":w,title:w,ownerState:Re},Le,{className:clsx(Ee.clearIndicator,Le==null?void 0:Le.className),children:m})):null,he?jsxRuntimeExports.jsx(AutocompletePopupIndicator,_extends({},de(),{disabled:E,"aria-label":we?b:ie,title:we?b:ie,ownerState:Re},H,{className:clsx(Ee.popupIndicator,H==null?void 0:H.className),children:se})):null]})}),inputProps:_extends({className:Ee.input,disabled:E,readOnly:ue},B())})})),Ge?jsxRuntimeExports.jsx(AutocompletePopper,_extends({as:re,disablePortal:G,style:{width:Ge?Ge.clientWidth:null},ownerState:Re,role:"presentation",anchorEl:Ge,open:we},V,{className:clsx(Ee.popper,V==null?void 0:V.className),children:jsxRuntimeExports.jsxs(AutocompletePaper,_extends({ownerState:Re,as:Y},Ue,{className:clsx(Ee.paper,Ue==null?void 0:Ue.className),children:[z&&Fe.length===0?jsxRuntimeExports.jsx(AutocompleteLoading,{className:Ee.loading,ownerState:Re,children:W}):null,Fe.length===0&&!F&&!z?jsxRuntimeExports.jsx(AutocompleteNoOptions,{className:Ee.noOptions,ownerState:Re,role:"presentation",onMouseDown:U=>{U.preventDefault()},children:ae}):null,Fe.length>0?jsxRuntimeExports.jsx(AutocompleteListbox,_extends({as:j,className:Ee.listbox,ownerState:Re},Ne,A,{ref:Ke,children:Fe.map((U,oe)=>R?He({key:U.key,group:U.group,children:U.options.map((ge,Me)=>Xe(ge,U.index+Me))}):Xe(U,oe))})):null]}))})):null]})}),Autocomplete$1=Autocomplete;function getBadgeUtilityClass(e){return generateUtilityClass("MuiBadge",e)}const badgeClasses=generateUtilityClasses("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),badgeClasses$1=badgeClasses,_excluded$Z=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],RADIUS_STANDARD=10,RADIUS_DOT=4,useUtilityClasses$K=e=>{const{color:t,anchorOrigin:o,invisible:r,overlap:n,variant:s,classes:l={}}=e,i={root:["root"],badge:["badge",s,r&&"invisible",`anchorOrigin${capitalize(o.vertical)}${capitalize(o.horizontal)}`,`anchorOrigin${capitalize(o.vertical)}${capitalize(o.horizontal)}${capitalize(n)}`,`overlap${capitalize(n)}`,t!=="default"&&`color${capitalize(t)}`]};return composeClasses(i,getBadgeUtilityClass,l)},BadgeRoot=styled$1("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),BadgeBadge=styled$1("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.badge,t[o.variant],t[`anchorOrigin${capitalize(o.anchorOrigin.vertical)}${capitalize(o.anchorOrigin.horizontal)}${capitalize(o.overlap)}`],o.color!=="default"&&t[`color${capitalize(o.color)}`],o.invisible&&t.invisible]}})(({theme:e,ownerState:t})=>_extends({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:RADIUS_STANDARD*2,lineHeight:1,padding:"0 6px",height:RADIUS_STANDARD*2,borderRadius:RADIUS_STANDARD,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.variant==="dot"&&{borderRadius:RADIUS_DOT,height:RADIUS_DOT*2,minWidth:RADIUS_DOT*2,padding:0},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${badgeClasses$1.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})),Badge=reactExports.forwardRef(function(t,o){var r,n,s,l,i,a;const u=useThemeProps$1({props:t,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:d,component:p,components:g={},componentsProps:m={},children:f,overlap:S="rectangular",color:w="default",invisible:b=!1,max:I=99,badgeContent:O,slots:L,slotProps:$,showZero:E=!1,variant:C="standard"}=u,T=_objectWithoutPropertiesLoose(u,_excluded$Z),{badgeContent:G,invisible:P,max:k,displayValue:F}=useBadge({max:I,invisible:b,badgeContent:O,showZero:E}),x=usePreviousProps$1({anchorOrigin:c,color:w,overlap:S,variant:C,badgeContent:O}),h=P||G==null&&C!=="dot",{color:v=w,overlap:R=S,anchorOrigin:y=c,variant:M=C}=h?x:u,D=M!=="dot"?F:void 0,j=_extends({},u,{badgeContent:G,invisible:h,max:k,displayValue:D,showZero:E,anchorOrigin:y,color:v,overlap:R,variant:M}),A=useUtilityClasses$K(j),z=(r=(n=L==null?void 0:L.root)!=null?n:g.Root)!=null?r:BadgeRoot,W=(s=(l=L==null?void 0:L.badge)!=null?l:g.Badge)!=null?s:BadgeBadge,Q=(i=$==null?void 0:$.root)!=null?i:m.root,ae=(a=$==null?void 0:$.badge)!=null?a:m.badge,Z=useSlotProps({elementType:z,externalSlotProps:Q,externalForwardedProps:T,additionalProps:{ref:o,as:p},ownerState:j,className:clsx(Q==null?void 0:Q.className,A.root,d)}),ie=useSlotProps({elementType:W,externalSlotProps:ae,ownerState:j,className:clsx(A.badge,ae==null?void 0:ae.className)});return jsxRuntimeExports.jsxs(z,_extends({},Z,{children:[f,jsxRuntimeExports.jsx(W,_extends({},ie,{children:D}))]}))}),Badge$1=Badge;function getCircularProgressUtilityClass(e){return generateUtilityClass("MuiCircularProgress",e)}generateUtilityClasses("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const _excluded$Y=["className","color","disableShrink","size","style","thickness","value","variant"];let _$1=e=>e,_t$1,_t2$1,_t3$1,_t4$1;const SIZE=44,circularRotateKeyframe=keyframes(_t$1||(_t$1=_$1` 0% { transform: rotate(0deg); } diff --git a/docs/assets/Statistics-73485a50.js b/docs/assets/Statistics-fda158fd.js similarity index 99% rename from docs/assets/Statistics-73485a50.js rename to docs/assets/Statistics-fda158fd.js index 4d418b3..636b5c9 100644 --- a/docs/assets/Statistics-73485a50.js +++ b/docs/assets/Statistics-fda158fd.js @@ -1,4 +1,4 @@ -import{al as to,am as no,f as ie,an as _t,ao as oo,_ as h,x as he,l as ge,r as b,y as ne,ap as so,aq as ro,z as ze,P as ft,A as ue,U as et,t as ht,j as P,g as fe,k as pe,ar as tt,as as ao,at as io,a5 as $e,au as lo,O as ut,F as ke,av as co,o as Ae,a4 as Wt,aw as on,ax as nt,ay as ot,T as Te,n as Le,M as It,H as be,W as uo,a8 as fo,p as J,q as vt,v as Oe,ag as at,az as ho,aA as sn,ae as po,ac as rn,aB as an,aj as mo,aC as it}from"./index-71c21823.js";import{M as go,a as yo,P as p,b as bo}from"./InputAdornment-d5bf5eeb.js";function Do(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function xo(e,t){e.classList?e.classList.add(t):Do(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function zt(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function wo(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=zt(e.className,t):e.setAttribute("class",zt(e.className&&e.className.baseVal||"",t))}var vo=function(t,n){return t&&n&&n.split(" ").forEach(function(s){return xo(t,s)})},Mt=function(t,n){return t&&n&&n.split(" ").forEach(function(s){return wo(t,s)})},$t=function(e){to(t,e);function t(){for(var s,a=arguments.length,o=new Array(a),r=0;rt.backdrop})({zIndex:-1}),Io=e=>{const{classes:t,scroll:n,maxWidth:s,fullWidth:a,fullScreen:o}=e,r={root:["root"],container:["container",`scroll${ze(n)}`],paper:["paper",`paperScroll${ze(n)}`,`paperWidth${ze(String(s))}`,a&&"paperFullWidth",o&&"paperFullScreen"]};return pe(r,Po,t)},$o=ne(ro,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Ao=ne("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${ze(n.scroll)}`]]}})(({ownerState:e})=>h({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),Oo=ne(ft,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${ze(n.scroll)}`],t[`paperWidth${ze(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>h({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${qe.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${qe.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${qe.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Ro=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiDialog"}),a=et(),o={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{"aria-describedby":r,"aria-labelledby":i,BackdropComponent:l,BackdropProps:c,children:d,className:x,disableEscapeKeyDown:w=!1,fullScreen:g=!1,fullWidth:T=!1,maxWidth:f="sm",onBackdropClick:y,onClose:v,open:M,PaperComponent:k=ft,PaperProps:O={},scroll:S="paper",TransitionComponent:E=tt,transitionDuration:N=o,TransitionProps:I}=s,$=ie(s,To),A=h({},s,{disableEscapeKeyDown:w,fullScreen:g,fullWidth:T,maxWidth:f,scroll:S}),R=Io(A),Y=b.useRef(),m=C=>{Y.current=C.target===C.currentTarget},D=C=>{Y.current&&(Y.current=null,y&&y(C),v&&v(C,"backdropClick"))},u=ht(i),V=b.useMemo(()=>({titleId:u}),[u]);return P.jsx($o,h({className:fe(R.root,x),closeAfterTransition:!0,components:{Backdrop:Vo},componentsProps:{backdrop:h({transitionDuration:N,as:l},c)},disableEscapeKeyDown:w,onClose:v,open:M,ref:n,onClick:D,ownerState:A},$,{children:P.jsx(E,h({appear:!0,in:M,timeout:N,role:"presentation"},I,{children:P.jsx(Ao,{className:fe(R.container),onMouseDown:m,ownerState:A,children:P.jsx(Oo,h({as:k,elevation:24,role:"dialog","aria-describedby":r,"aria-labelledby":u},O,{className:fe(R.paper,O.className),ownerState:A,children:P.jsx(ko.Provider,{value:V,children:d})}))})}))}))}),Fo=Ro;function Lo(e){return ge("MuiDialogActions",e)}he("MuiDialogActions",["root","spacing"]);const Eo=["className","disableSpacing"],No=e=>{const{classes:t,disableSpacing:n}=e;return pe({root:["root",!n&&"spacing"]},Lo,t)},jo=ne("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>h({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})),Yo=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiDialogActions"}),{className:a,disableSpacing:o=!1}=s,r=ie(s,Eo),i=h({},s,{disableSpacing:o}),l=No(i);return P.jsx(jo,h({className:fe(l.root,a),ownerState:i,ref:n},r))}),Bo=Yo;function _o(e){return ge("MuiDialogContent",e)}he("MuiDialogContent",["root","dividers"]);const Wo=he("MuiDialogTitle",["root"]),zo=Wo,Ho=["className","dividers"],Uo=e=>{const{classes:t,dividers:n}=e;return pe({root:["root",n&&"dividers"]},_o,t)},Go=ne("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>h({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${zo.root} + &`]:{paddingTop:0}})),Ko=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiDialogContent"}),{className:a,dividers:o=!1}=s,r=ie(s,Ho),i=h({},s,{dividers:o}),l=Uo(i);return P.jsx(Go,h({className:fe(l.root,a),ownerState:i,ref:n},r))}),Zo=Ko;function Qo(e,t,n,s,a){const[o,r]=b.useState(()=>a&&n?n(e).matches:s?s(e).matches:t);return $e(()=>{let i=!0;if(!n)return;const l=n(e),c=()=>{i&&r(l.matches)};return c(),l.addListener(c),()=>{i=!1,l.removeListener(c)}},[e,n]),o}const ln=lo["useSyncExternalStore"];function qo(e,t,n,s,a){const o=b.useCallback(()=>t,[t]),r=b.useMemo(()=>{if(a&&n)return()=>n(e).matches;if(s!==null){const{matches:d}=s(e);return()=>d}return o},[o,e,s,a,n]),[i,l]=b.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const d=n(e);return[()=>d.matches,x=>(d.addListener(x),()=>{d.removeListener(x)})]},[o,n,e]);return ln(l,i,r)}function cn(e,t={}){const n=ao(),s=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:a=!1,matchMedia:o=s?window.matchMedia:null,ssrMatchMedia:r=null,noSsr:i=!1}=io({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(ln!==void 0?qo:Qo)(l,a,o,r,i)}function Jo(e){return ge("MuiListItem",e)}const Xo=he("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),_e=Xo,es=he("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),ts=es;function ns(e){return ge("MuiListItemSecondaryAction",e)}he("MuiListItemSecondaryAction",["root","disableGutters"]);const os=["className"],ss=e=>{const{disableGutters:t,classes:n}=e;return pe({root:["root",t&&"disableGutters"]},ns,n)},rs=ne("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>h({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),un=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiListItemSecondaryAction"}),{className:a}=s,o=ie(s,os),r=b.useContext(ut),i=h({},s,{disableGutters:r.disableGutters}),l=ss(i);return P.jsx(rs,h({className:fe(l.root,a),ownerState:i,ref:n},o))});un.muiName="ListItemSecondaryAction";const as=un,is=["className"],ls=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],cs=(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]},us=e=>{const{alignItems:t,button:n,classes:s,dense:a,disabled:o,disableGutters:r,disablePadding:i,divider:l,hasSecondaryAction:c,selected:d}=e;return pe({root:["root",a&&"dense",!r&&"gutters",!i&&"padding",l&&"divider",o&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]},Jo,s)},ds=ne("div",{name:"MuiListItem",slot:"Root",overridesResolver:cs})(({theme:e,ownerState:t})=>h({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&h({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${ts.root}`]:{paddingRight:48}},{[`&.${_e.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${_e.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ke(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${_e.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ke(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${_e.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"}},[`&.${_e.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ke(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})`:ke(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),fs=ne("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),hs=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiListItem"}),{alignItems:a="center",autoFocus:o=!1,button:r=!1,children:i,className:l,component:c,components:d={},componentsProps:x={},ContainerComponent:w="li",ContainerProps:{className:g}={},dense:T=!1,disabled:f=!1,disableGutters:y=!1,disablePadding:v=!1,divider:M=!1,focusVisibleClassName:k,secondaryAction:O,selected:S=!1,slotProps:E={},slots:N={}}=s,I=ie(s.ContainerProps,is),$=ie(s,ls),A=b.useContext(ut),R=b.useMemo(()=>({dense:T||A.dense||!1,alignItems:a,disableGutters:y}),[a,A.dense,T,y]),Y=b.useRef(null);$e(()=>{o&&Y.current&&Y.current.focus()},[o]);const m=b.Children.toArray(i),D=m.length&&co(m[m.length-1],["ListItemSecondaryAction"]),u=h({},s,{alignItems:a,autoFocus:o,button:r,dense:R.dense,disabled:f,disableGutters:y,disablePadding:v,divider:M,hasSecondaryAction:D,selected:S}),V=us(u),C=Ae(Y,n),L=N.root||d.Root||ds,F=E.root||x.root||{},j=h({className:fe(V.root,F.className,l),disabled:f},$);let U=c||"li";return r&&(j.component=c||"div",j.focusVisibleClassName=fe(_e.focusVisible,k),U=on),D?(U=!j.component&&!c?"div":U,w==="li"&&(U==="li"?U="div":j.component==="li"&&(j.component="div")),P.jsx(ut.Provider,{value:R,children:P.jsxs(fs,h({as:w,className:fe(V.container,g),ref:C,ownerState:u},I,{children:[P.jsx(L,h({},F,!Wt(L)&&{as:U,ownerState:h({},u,F.ownerState)},j,{children:m})),m.pop()]}))})):P.jsx(ut.Provider,{value:R,children:P.jsxs(L,h({},F,{as:U,ref:C},!Wt(L)&&{ownerState:h({},u,F.ownerState)},j,{children:[m,O&&P.jsx(as,{children:O})]}))})}),ps=hs;var dn={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(nt,function(){var n=1e3,s=6e4,a=36e5,o="millisecond",r="second",i="minute",l="hour",c="day",d="week",x="month",w="quarter",g="year",T="date",f="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var D=["th","st","nd","rd"],u=m%100;return"["+m+(D[(u-20)%10]||D[u]||D[0])+"]"}},k=function(m,D,u){var V=String(m);return!V||V.length>=D?m:""+Array(D+1-V.length).join(u)+m},O={s:k,z:function(m){var D=-m.utcOffset(),u=Math.abs(D),V=Math.floor(u/60),C=u%60;return(D<=0?"+":"-")+k(V,2,"0")+":"+k(C,2,"0")},m:function m(D,u){if(D.date()1)return m(F[0])}else{var j=D.name;E[j]=D,C=j}return!V&&C&&(S=C),C||!V&&S},$=function(m,D){if(N(m))return m.clone();var u=typeof D=="object"?D:{};return u.date=m,u.args=arguments,new R(u)},A=O;A.l=I,A.i=N,A.w=function(m,D){return $(m,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var R=function(){function m(u){this.$L=I(u.locale,null,!0),this.parse(u)}var D=m.prototype;return D.parse=function(u){this.$d=function(V){var C=V.date,L=V.utc;if(C===null)return new Date(NaN);if(A.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var F=C.match(y);if(F){var j=F[2]-1||0,U=(F[7]||"0").substring(0,3);return L?new Date(Date.UTC(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,U)):new Date(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,U)}}return new Date(C)}(u),this.$x=u.x||{},this.init()},D.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},D.$utils=function(){return A},D.isValid=function(){return this.$d.toString()!==f},D.isSame=function(u,V){var C=$(u);return this.startOf(V)<=C&&C<=this.endOf(V)},D.isAfter=function(u,V){return $(u)h({},g,r,s),[g,r,s]),f=b.useMemo(()=>{if(!c)return o||null;const M=new c({locale:w,formats:d,instance:x});if(!M.isMUIAdapter)throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(` +import{al as to,am as no,f as ie,an as _t,ao as oo,_ as h,x as he,l as ge,r as b,y as ne,ap as so,aq as ro,z as ze,P as ft,A as ue,U as et,t as ht,j as P,g as fe,k as pe,ar as tt,as as ao,at as io,a5 as $e,au as lo,O as ut,F as ke,av as co,o as Ae,a4 as Wt,aw as on,ax as nt,ay as ot,T as Te,n as Le,M as It,H as be,W as uo,a8 as fo,p as J,q as vt,v as Oe,ag as at,az as ho,aA as sn,ae as po,ac as rn,aB as an,aj as mo,aC as it}from"./index-dd98f799.js";import{M as go,a as yo,P as p,b as bo}from"./InputAdornment-d032014f.js";function Do(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function xo(e,t){e.classList?e.classList.add(t):Do(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function zt(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function wo(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=zt(e.className,t):e.setAttribute("class",zt(e.className&&e.className.baseVal||"",t))}var vo=function(t,n){return t&&n&&n.split(" ").forEach(function(s){return xo(t,s)})},Mt=function(t,n){return t&&n&&n.split(" ").forEach(function(s){return wo(t,s)})},$t=function(e){to(t,e);function t(){for(var s,a=arguments.length,o=new Array(a),r=0;rt.backdrop})({zIndex:-1}),Io=e=>{const{classes:t,scroll:n,maxWidth:s,fullWidth:a,fullScreen:o}=e,r={root:["root"],container:["container",`scroll${ze(n)}`],paper:["paper",`paperScroll${ze(n)}`,`paperWidth${ze(String(s))}`,a&&"paperFullWidth",o&&"paperFullScreen"]};return pe(r,Po,t)},$o=ne(ro,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Ao=ne("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${ze(n.scroll)}`]]}})(({ownerState:e})=>h({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),Oo=ne(ft,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${ze(n.scroll)}`],t[`paperWidth${ze(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>h({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${qe.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${qe.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${qe.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Ro=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiDialog"}),a=et(),o={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{"aria-describedby":r,"aria-labelledby":i,BackdropComponent:l,BackdropProps:c,children:d,className:x,disableEscapeKeyDown:w=!1,fullScreen:g=!1,fullWidth:T=!1,maxWidth:f="sm",onBackdropClick:y,onClose:v,open:M,PaperComponent:k=ft,PaperProps:O={},scroll:S="paper",TransitionComponent:E=tt,transitionDuration:N=o,TransitionProps:I}=s,$=ie(s,To),A=h({},s,{disableEscapeKeyDown:w,fullScreen:g,fullWidth:T,maxWidth:f,scroll:S}),R=Io(A),Y=b.useRef(),m=C=>{Y.current=C.target===C.currentTarget},D=C=>{Y.current&&(Y.current=null,y&&y(C),v&&v(C,"backdropClick"))},u=ht(i),V=b.useMemo(()=>({titleId:u}),[u]);return P.jsx($o,h({className:fe(R.root,x),closeAfterTransition:!0,components:{Backdrop:Vo},componentsProps:{backdrop:h({transitionDuration:N,as:l},c)},disableEscapeKeyDown:w,onClose:v,open:M,ref:n,onClick:D,ownerState:A},$,{children:P.jsx(E,h({appear:!0,in:M,timeout:N,role:"presentation"},I,{children:P.jsx(Ao,{className:fe(R.container),onMouseDown:m,ownerState:A,children:P.jsx(Oo,h({as:k,elevation:24,role:"dialog","aria-describedby":r,"aria-labelledby":u},O,{className:fe(R.paper,O.className),ownerState:A,children:P.jsx(ko.Provider,{value:V,children:d})}))})}))}))}),Fo=Ro;function Lo(e){return ge("MuiDialogActions",e)}he("MuiDialogActions",["root","spacing"]);const Eo=["className","disableSpacing"],No=e=>{const{classes:t,disableSpacing:n}=e;return pe({root:["root",!n&&"spacing"]},Lo,t)},jo=ne("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>h({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})),Yo=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiDialogActions"}),{className:a,disableSpacing:o=!1}=s,r=ie(s,Eo),i=h({},s,{disableSpacing:o}),l=No(i);return P.jsx(jo,h({className:fe(l.root,a),ownerState:i,ref:n},r))}),Bo=Yo;function _o(e){return ge("MuiDialogContent",e)}he("MuiDialogContent",["root","dividers"]);const Wo=he("MuiDialogTitle",["root"]),zo=Wo,Ho=["className","dividers"],Uo=e=>{const{classes:t,dividers:n}=e;return pe({root:["root",n&&"dividers"]},_o,t)},Go=ne("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>h({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${zo.root} + &`]:{paddingTop:0}})),Ko=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiDialogContent"}),{className:a,dividers:o=!1}=s,r=ie(s,Ho),i=h({},s,{dividers:o}),l=Uo(i);return P.jsx(Go,h({className:fe(l.root,a),ownerState:i,ref:n},r))}),Zo=Ko;function Qo(e,t,n,s,a){const[o,r]=b.useState(()=>a&&n?n(e).matches:s?s(e).matches:t);return $e(()=>{let i=!0;if(!n)return;const l=n(e),c=()=>{i&&r(l.matches)};return c(),l.addListener(c),()=>{i=!1,l.removeListener(c)}},[e,n]),o}const ln=lo["useSyncExternalStore"];function qo(e,t,n,s,a){const o=b.useCallback(()=>t,[t]),r=b.useMemo(()=>{if(a&&n)return()=>n(e).matches;if(s!==null){const{matches:d}=s(e);return()=>d}return o},[o,e,s,a,n]),[i,l]=b.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const d=n(e);return[()=>d.matches,x=>(d.addListener(x),()=>{d.removeListener(x)})]},[o,n,e]);return ln(l,i,r)}function cn(e,t={}){const n=ao(),s=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:a=!1,matchMedia:o=s?window.matchMedia:null,ssrMatchMedia:r=null,noSsr:i=!1}=io({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(ln!==void 0?qo:Qo)(l,a,o,r,i)}function Jo(e){return ge("MuiListItem",e)}const Xo=he("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),_e=Xo,es=he("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),ts=es;function ns(e){return ge("MuiListItemSecondaryAction",e)}he("MuiListItemSecondaryAction",["root","disableGutters"]);const os=["className"],ss=e=>{const{disableGutters:t,classes:n}=e;return pe({root:["root",t&&"disableGutters"]},ns,n)},rs=ne("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>h({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),un=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiListItemSecondaryAction"}),{className:a}=s,o=ie(s,os),r=b.useContext(ut),i=h({},s,{disableGutters:r.disableGutters}),l=ss(i);return P.jsx(rs,h({className:fe(l.root,a),ownerState:i,ref:n},o))});un.muiName="ListItemSecondaryAction";const as=un,is=["className"],ls=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],cs=(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]},us=e=>{const{alignItems:t,button:n,classes:s,dense:a,disabled:o,disableGutters:r,disablePadding:i,divider:l,hasSecondaryAction:c,selected:d}=e;return pe({root:["root",a&&"dense",!r&&"gutters",!i&&"padding",l&&"divider",o&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]},Jo,s)},ds=ne("div",{name:"MuiListItem",slot:"Root",overridesResolver:cs})(({theme:e,ownerState:t})=>h({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&h({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${ts.root}`]:{paddingRight:48}},{[`&.${_e.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${_e.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ke(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${_e.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ke(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${_e.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"}},[`&.${_e.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ke(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})`:ke(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),fs=ne("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),hs=b.forwardRef(function(t,n){const s=ue({props:t,name:"MuiListItem"}),{alignItems:a="center",autoFocus:o=!1,button:r=!1,children:i,className:l,component:c,components:d={},componentsProps:x={},ContainerComponent:w="li",ContainerProps:{className:g}={},dense:T=!1,disabled:f=!1,disableGutters:y=!1,disablePadding:v=!1,divider:M=!1,focusVisibleClassName:k,secondaryAction:O,selected:S=!1,slotProps:E={},slots:N={}}=s,I=ie(s.ContainerProps,is),$=ie(s,ls),A=b.useContext(ut),R=b.useMemo(()=>({dense:T||A.dense||!1,alignItems:a,disableGutters:y}),[a,A.dense,T,y]),Y=b.useRef(null);$e(()=>{o&&Y.current&&Y.current.focus()},[o]);const m=b.Children.toArray(i),D=m.length&&co(m[m.length-1],["ListItemSecondaryAction"]),u=h({},s,{alignItems:a,autoFocus:o,button:r,dense:R.dense,disabled:f,disableGutters:y,disablePadding:v,divider:M,hasSecondaryAction:D,selected:S}),V=us(u),C=Ae(Y,n),L=N.root||d.Root||ds,F=E.root||x.root||{},j=h({className:fe(V.root,F.className,l),disabled:f},$);let U=c||"li";return r&&(j.component=c||"div",j.focusVisibleClassName=fe(_e.focusVisible,k),U=on),D?(U=!j.component&&!c?"div":U,w==="li"&&(U==="li"?U="div":j.component==="li"&&(j.component="div")),P.jsx(ut.Provider,{value:R,children:P.jsxs(fs,h({as:w,className:fe(V.container,g),ref:C,ownerState:u},I,{children:[P.jsx(L,h({},F,!Wt(L)&&{as:U,ownerState:h({},u,F.ownerState)},j,{children:m})),m.pop()]}))})):P.jsx(ut.Provider,{value:R,children:P.jsxs(L,h({},F,{as:U,ref:C},!Wt(L)&&{ownerState:h({},u,F.ownerState)},j,{children:[m,O&&P.jsx(as,{children:O})]}))})}),ps=hs;var dn={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(nt,function(){var n=1e3,s=6e4,a=36e5,o="millisecond",r="second",i="minute",l="hour",c="day",d="week",x="month",w="quarter",g="year",T="date",f="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var D=["th","st","nd","rd"],u=m%100;return"["+m+(D[(u-20)%10]||D[u]||D[0])+"]"}},k=function(m,D,u){var V=String(m);return!V||V.length>=D?m:""+Array(D+1-V.length).join(u)+m},O={s:k,z:function(m){var D=-m.utcOffset(),u=Math.abs(D),V=Math.floor(u/60),C=u%60;return(D<=0?"+":"-")+k(V,2,"0")+":"+k(C,2,"0")},m:function m(D,u){if(D.date()1)return m(F[0])}else{var j=D.name;E[j]=D,C=j}return!V&&C&&(S=C),C||!V&&S},$=function(m,D){if(N(m))return m.clone();var u=typeof D=="object"?D:{};return u.date=m,u.args=arguments,new R(u)},A=O;A.l=I,A.i=N,A.w=function(m,D){return $(m,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var R=function(){function m(u){this.$L=I(u.locale,null,!0),this.parse(u)}var D=m.prototype;return D.parse=function(u){this.$d=function(V){var C=V.date,L=V.utc;if(C===null)return new Date(NaN);if(A.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var F=C.match(y);if(F){var j=F[2]-1||0,U=(F[7]||"0").substring(0,3);return L?new Date(Date.UTC(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,U)):new Date(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,U)}}return new Date(C)}(u),this.$x=u.x||{},this.init()},D.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},D.$utils=function(){return A},D.isValid=function(){return this.$d.toString()!==f},D.isSame=function(u,V){var C=$(u);return this.startOf(V)<=C&&C<=this.endOf(V)},D.isAfter=function(u,V){return $(u)h({},g,r,s),[g,r,s]),f=b.useMemo(()=>{if(!c)return o||null;const M=new c({locale:w,formats:d,instance:x});if(!M.isMUIAdapter)throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(` `));return M},[c,w,d,x,o]),y=b.useMemo(()=>f?{minDate:f.date("1900-01-01T00:00:00.000"),maxDate:f.date("2099-12-31T00:00:00.000")}:null,[f]),v=b.useMemo(()=>({utils:f,defaultDates:y,localeText:T}),[y,f,T]);return P.jsx(St.Provider,{value:v,children:l})};var fn={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(nt,function(){var n="week",s="year";return function(a,o,r){var i=o.prototype;i.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=r(this).startOf(s).add(1,s).date(c),x=r(this).endOf(n);if(d.isBefore(x))return 1}var w=r(this).startOf(s).date(c).startOf(n).subtract(1,"millisecond"),g=this.diff(w,n,!0);return g<0?r(this).startOf("week").week():Math.ceil(g)},i.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(fn);var ys=fn.exports;const bs=ot(ys);var hn={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(nt,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},s=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,o=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,i={},l=function(f){return(f=+f)+(f>68?1900:2e3)},c=function(f){return function(y){this[f]=+y}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(f){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var v=y.match(/([+-]|\d\d)/g),M=60*v[1]+(+v[2]||0);return M===0?0:v[0]==="+"?-M:M}(f)}],x=function(f){var y=i[f];return y&&(y.indexOf?y:y.s.concat(y.f))},w=function(f,y){var v,M=i.meridiem;if(M){for(var k=1;k<=24;k+=1)if(f.indexOf(M(k,0,y))>-1){v=k>12;break}}else v=f===(y?"pm":"PM");return v},g={A:[r,function(f){this.afternoon=w(f,!1)}],a:[r,function(f){this.afternoon=w(f,!0)}],S:[/\d/,function(f){this.milliseconds=100*+f}],SS:[a,function(f){this.milliseconds=10*+f}],SSS:[/\d{3}/,function(f){this.milliseconds=+f}],s:[o,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[a,c("day")],Do:[r,function(f){var y=i.ordinal,v=f.match(/\d+/);if(this.day=v[0],y)for(var M=1;M<=31;M+=1)y(M).replace(/\[|\]/g,"")===f&&(this.day=M)}],M:[o,c("month")],MM:[a,c("month")],MMM:[r,function(f){var y=x("months"),v=(x("monthsShort")||y.map(function(M){return M.slice(0,3)})).indexOf(f)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[r,function(f){var y=x("months").indexOf(f)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,c("year")],YY:[a,function(f){this.year=l(f)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function T(f){var y,v;y=f,v=i&&i.formats;for(var M=(f=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,A,R){var Y=R&&R.toUpperCase();return A||v[R]||n[R]||v[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(m,D,u){return D||u.slice(1)})})).match(s),k=M.length,O=0;O-1)return new Date((C==="X"?1e3:1)*V);var F=T(C)(V),j=F.year,U=F.month,re=F.day,oe=F.hours,z=F.minutes,q=F.seconds,Z=F.milliseconds,B=F.zone,ee=new Date,se=re||(j||U?1:ee.getDate()),W=j||ee.getFullYear(),Q=0;j&&!U||(Q=U>0?U-1:ee.getMonth());var _=oe||0,K=z||0,me=q||0,G=Z||0;return B?new Date(Date.UTC(W,Q,se,_,K,me,G+60*B.offset*1e3)):L?new Date(Date.UTC(W,Q,se,_,K,me,G)):new Date(W,Q,se,_,K,me,G)}catch{return new Date("")}}(S,I,E),this.init(),Y&&Y!==!0&&(this.$L=this.locale(Y).$L),R&&S!=this.format(I)&&(this.$d=new Date("")),i={}}else if(I instanceof Array)for(var m=I.length,D=1;D<=m;D+=1){N[1]=I[D-1];var u=v.apply(this,N);if(u.isValid()){this.$d=u.$d,this.$L=u.$L,this.init();break}D===m&&(this.$d=new Date(""))}else k.call(this,O)}}})})(hn);var Ds=hn.exports;const xs=ot(Ds);var pn={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(nt,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(s,a,o){var r=a.prototype,i=r.format;o.en.formats=n,r.format=function(l){l===void 0&&(l="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,d=function(x,w){return x.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(g,T,f){var y=f&&f.toUpperCase();return T||w[f]||n[f]||w[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,M,k){return M||k.slice(1)})})}(l,c===void 0?{}:c);return i.call(this,d)}}})})(pn);var ws=pn.exports;const vs=ot(ws);var mn={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(nt,function(){return function(n,s,a){s.prototype.isBetween=function(o,r,i,l){var c=a(o),d=a(r),x=(l=l||"()")[0]==="(",w=l[1]===")";return(x?this.isAfter(c,i):!this.isBefore(c,i))&&(w?this.isBefore(d,i):!this.isAfter(d,i))||(x?this.isBefore(c,i):!this.isAfter(c,i))&&(w?this.isAfter(d,i):!this.isBefore(d,i))}}})})(mn);var Ms=mn.exports;const Ps=ot(Ms),gn=(e,t="warning")=>{let n=!1;const s=Array.isArray(e)?e.join(` `):e;return()=>{n||(n=!0,t==="error"?console.error(s):console.warn(s))}};ye.extend(xs);ye.extend(vs);ye.extend(Ps);const Cs=gn(["Your locale has not been found.","Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale","Or you forget to import the locale from 'dayjs/locale/{localeUsed}'","fallback on English locale"]),Ss={YY:"year",YYYY:{sectionType:"year",contentType:"digit",maxLength:4},M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},d:{sectionType:"weekDay",contentType:"digit",maxLength:2},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},ks={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},Pt=["Missing UTC plugin","To be able to use UTC or timezones, you have to enable the `utc` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join(` `),Ht=["Missing timezone plugin","To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join(` diff --git a/docs/assets/index-35cc75fe.css b/docs/assets/index-35cc75fe.css new file mode 100644 index 0000000..1568066 --- /dev/null +++ b/docs/assets/index-35cc75fe.css @@ -0,0 +1 @@ +.landing{width:100%;height:calc(100vh - 64px);background-color:#262626}.landing-container{position:relative;z-index:1}.text-box{color:#fff;padding:40px 0}.text-title{margin:0 0 10px!important;font-weight:700!important}.image-container{position:absolute;display:flex;justify-content:center;align-items:center;bottom:0}@media (max-width: 600px){.image-container{display:none}}img{width:100%;height:100%}@media (max-width: 700px){.filter-select{width:100%!important}}@media (min-width: 700px){.search-field{width:420px!important}}*{box-sizing:border-box}body{margin:0;font-family:Manrope,sans-serif} diff --git a/docs/assets/index-77dbe86d.css b/docs/assets/index-77dbe86d.css deleted file mode 100644 index 9f10fdd..0000000 --- a/docs/assets/index-77dbe86d.css +++ /dev/null @@ -1 +0,0 @@ -.landing{width:100%;height:calc(100vh - 64px);background-color:#262626}.landing-container{position:relative;z-index:1}.text-box{color:#fff;padding:40px 0}.text-title{margin:0 0 10px!important;font-weight:700!important}.custom-Button-styling{border-radius:20px!important;padding:10px 20px!important;text-transform:capitalize!important}.image-container{position:absolute;display:flex;justify-content:center;align-items:center;bottom:0}@media (max-width: 600px){.image-container{display:none}}img{width:100%;height:100%}@media (max-width: 700px){.filter-select{width:100%!important}}@media (min-width: 700px){.search-field{width:420px!important}}*{box-sizing:border-box}body{margin:0;font-family:Manrope,sans-serif} diff --git a/docs/assets/index-71c21823.js b/docs/assets/index-dd98f799.js similarity index 85% rename from docs/assets/index-71c21823.js rename to docs/assets/index-dd98f799.js index 797f31f..51c357a 100644 --- a/docs/assets/index-71c21823.js +++ b/docs/assets/index-dd98f799.js @@ -1,4 +1,4 @@ -var k_=Object.defineProperty;var C_=(e,t,n)=>t in e?k_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>(C_(e,typeof t!="symbol"?t+"":t,n),n);function E_(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var P_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function th(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function R_(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 i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var By={exports:{}},pc={},jy={exports:{}},fe={};/** +var k_=Object.defineProperty;var C_=(e,t,n)=>t in e?k_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>(C_(e,typeof t!="symbol"?t+"":t,n),n);function E_(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var P_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function eh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function R_(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 i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var By={exports:{}},hc={},jy={exports:{}},fe={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var k_=Object.defineProperty;var C_=(e,t,n)=>t in e?k_(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var qs=Symbol.for("react.element"),M_=Symbol.for("react.portal"),T_=Symbol.for("react.fragment"),O_=Symbol.for("react.strict_mode"),I_=Symbol.for("react.profiler"),A_=Symbol.for("react.provider"),L_=Symbol.for("react.context"),$_=Symbol.for("react.forward_ref"),N_=Symbol.for("react.suspense"),F_=Symbol.for("react.memo"),D_=Symbol.for("react.lazy"),Zp=Symbol.iterator;function z_(e){return e===null||typeof e!="object"?null:(e=Zp&&e[Zp]||e["@@iterator"],typeof e=="function"?e:null)}var Wy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Uy=Object.assign,Vy={};function go(e,t,n){this.props=e,this.context=t,this.refs=Vy,this.updater=n||Wy}go.prototype.isReactComponent={};go.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")};go.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Hy(){}Hy.prototype=go.prototype;function nh(e,t,n){this.props=e,this.context=t,this.refs=Vy,this.updater=n||Wy}var rh=nh.prototype=new Hy;rh.constructor=nh;Uy(rh,go.prototype);rh.isPureReactComponent=!0;var em=Array.isArray,Ky=Object.prototype.hasOwnProperty,ih={current:null},Gy={key:!0,ref:!0,__self:!0,__source:!0};function Yy(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Ky.call(t,r)&&!Gy.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1t in e?k_(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var V_=k,H_=Symbol.for("react.element"),K_=Symbol.for("react.fragment"),G_=Object.prototype.hasOwnProperty,Y_=V_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,q_={key:!0,ref:!0,__self:!0,__source:!0};function qy(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)G_.call(t,r)&&!q_.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:H_,type:e,key:o,ref:s,props:i,_owner:Y_.current}}pc.Fragment=K_;pc.jsx=qy;pc.jsxs=qy;By.exports=pc;var M=By.exports,Od={},Xy={exports:{}},Zt={},Qy={exports:{}},Jy={};/** + */var V_=k,H_=Symbol.for("react.element"),K_=Symbol.for("react.fragment"),G_=Object.prototype.hasOwnProperty,Y_=V_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,q_={key:!0,ref:!0,__self:!0,__source:!0};function qy(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)G_.call(t,r)&&!q_.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:H_,type:e,key:o,ref:s,props:i,_owner:Y_.current}}hc.Fragment=K_;hc.jsx=qy;hc.jsxs=qy;By.exports=hc;var M=By.exports,Td={},Xy={exports:{}},Zt={},Qy={exports:{}},Jy={};/** * @license React * scheduler.production.min.js * @@ -30,27 +30,27 @@ var k_=Object.defineProperty;var C_=(e,t,n)=>t in e?k_(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Zy=k,Jt=X_;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"),Id=Object.prototype.hasOwnProperty,Q_=/^[: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]*$/,nm={},rm={};function J_(e){return Id.call(rm,e)?!0:Id.call(nm,e)?!1:Q_.test(e)?rm[e]=!0:(nm[e]=!0,!1)}function Z_(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 eS(e,t,n,r){if(t===null||typeof t>"u"||Z_(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 Ot(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var xt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){xt[e]=new Ot(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];xt[t]=new Ot(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){xt[e]=new Ot(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xt[e]=new Ot(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){xt[e]=new Ot(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){xt[e]=new Ot(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){xt[e]=new Ot(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){xt[e]=new Ot(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){xt[e]=new Ot(e,5,!1,e.toLowerCase(),null,!1,!1)});var sh=/[\-:]([a-z])/g;function ah(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(sh,ah);xt[t]=new Ot(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(sh,ah);xt[t]=new Ot(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(sh,ah);xt[t]=new Ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){xt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!1,!1)});xt.xlinkHref=new Ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){xt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!0,!0)});function lh(e,t,n,r){var i=xt.hasOwnProperty(t)?xt[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Od=Object.prototype.hasOwnProperty,Q_=/^[: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]*$/,tm={},nm={};function J_(e){return Od.call(nm,e)?!0:Od.call(tm,e)?!1:Q_.test(e)?nm[e]=!0:(tm[e]=!0,!1)}function Z_(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 eS(e,t,n,r){if(t===null||typeof t>"u"||Z_(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 Ot(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var xt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){xt[e]=new Ot(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];xt[t]=new Ot(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){xt[e]=new Ot(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xt[e]=new Ot(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){xt[e]=new Ot(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){xt[e]=new Ot(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){xt[e]=new Ot(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){xt[e]=new Ot(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){xt[e]=new Ot(e,5,!1,e.toLowerCase(),null,!1,!1)});var oh=/[\-:]([a-z])/g;function sh(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(oh,sh);xt[t]=new Ot(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(oh,sh);xt[t]=new Ot(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(oh,sh);xt[t]=new Ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){xt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!1,!1)});xt.xlinkHref=new Ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){xt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!0,!0)});function ah(e,t,n,r){var i=xt.hasOwnProperty(t)?xt[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` -`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{$u=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vo(e):""}function tS(e){switch(e.tag){case 5:return Vo(e.type);case 16:return Vo("Lazy");case 13:return Vo("Suspense");case 19:return Vo("SuspenseList");case 0:case 2:case 15:return e=Nu(e.type,!1),e;case 11:return e=Nu(e.type.render,!1),e;case 1:return e=Nu(e.type,!0),e;default:return""}}function Nd(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 Li:return"Fragment";case Ai:return"Portal";case Ad:return"Profiler";case ch:return"StrictMode";case Ld:return"Suspense";case $d:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case nv:return(e.displayName||"Context")+".Consumer";case tv:return(e._context.displayName||"Context")+".Provider";case uh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case dh:return t=e.displayName||null,t!==null?t:Nd(e.type)||"Memo";case ur:t=e._payload,e=e._init;try{return Nd(e(t))}catch{}}return null}function nS(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 Nd(t);case 8:return t===ch?"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 Rr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function iv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rS(e){var t=iv(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ua(e){e._valueTracker||(e._valueTracker=rS(e))}function ov(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=iv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function bl(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 Fd(e,t){var n=t.checked;return Ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function om(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rr(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 sv(e,t){t=t.checked,t!=null&&lh(e,"checked",t,!1)}function Dd(e,t){sv(e,t);var n=Rr(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")?zd(e,t.type,n):t.hasOwnProperty("defaultValue")&&zd(e,t.type,Rr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function sm(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 zd(e,t,n){(t!=="number"||bl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ho=Array.isArray;function Ki(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=da.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ts={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},iS=["Webkit","ms","Moz","O"];Object.keys(ts).forEach(function(e){iS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ts[t]=ts[e]})});function uv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ts.hasOwnProperty(e)&&ts[e]?(""+t).trim():t+"px"}function dv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=uv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var oS=Ye({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 Wd(e,t){if(t){if(oS[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 Ud(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 Vd=null;function fh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Hd=null,Gi=null,Yi=null;function cm(e){if(e=Js(e)){if(typeof Hd!="function")throw Error(j(280));var t=e.stateNode;t&&(t=xc(t),Hd(e.stateNode,e.type,t))}}function fv(e){Gi?Yi?Yi.push(e):Yi=[e]:Gi=e}function hv(){if(Gi){var e=Gi,t=Yi;if(Yi=Gi=null,cm(e),t)for(e=0;e>>=0,e===0?32:31-(gS(e)/yS|0)|0}var fa=64,ha=4194304;function Ko(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 kl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Ko(a):(o&=s,o!==0&&(r=Ko(o)))}else s=n&~i,s!==0?r=Ko(s):o!==0&&(r=Ko(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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 Xs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_n(t),e[t]=n}function _S(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=rs),vm=String.fromCharCode(32),xm=!1;function Av(e,t){switch(e){case"keyup":return qS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $i=!1;function QS(e,t){switch(e){case"compositionend":return Lv(t);case"keypress":return t.which!==32?null:(xm=!0,vm);case"textInput":return e=t.data,e===vm&&xm?null:e;default:return null}}function JS(e,t){if($i)return e==="compositionend"||!bh&&Av(e,t)?(e=Ov(),Xa=yh=pr=null,$i=!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=wm(n)}}function Dv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Dv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zv(){for(var e=window,t=bl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=bl(e.document)}return t}function _h(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 aw(e){var t=zv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Dv(n.ownerDocument.documentElement,n)){if(r!==null&&_h(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=km(n,o);var s=km(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ni=null,Qd=null,os=null,Jd=!1;function Cm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Jd||Ni==null||Ni!==bl(r)||(r=Ni,"selectionStart"in r&&_h(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}),os&&Cs(os,r)||(os=r,r=Pl(Qd,"onSelect"),0zi||(e.current=of[zi],of[zi]=null,zi--)}function Fe(e,t){zi++,of[zi]=e.current,e.current=t}var Mr={},Ct=Lr(Mr),Ft=Lr(!1),ai=Mr;function ro(e,t){var n=e.type.contextTypes;if(!n)return Mr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Dt(e){return e=e.childContextTypes,e!=null}function Ml(){Be(Ft),Be(Ct)}function Im(e,t,n){if(Ct.current!==Mr)throw Error(j(168));Fe(Ct,t),Fe(Ft,n)}function Yv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(j(108,nS(e)||"Unknown",i));return Ye({},n,r)}function Tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mr,ai=Ct.current,Fe(Ct,e),Fe(Ft,Ft.current),!0}function Am(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=Yv(e,t,ai),r.__reactInternalMemoizedMergedChildContext=e,Be(Ft),Be(Ct),Fe(Ct,e)):Be(Ft),Fe(Ft,n)}var Kn=null,bc=!1,Xu=!1;function qv(e){Kn===null?Kn=[e]:Kn.push(e)}function xw(e){bc=!0,qv(e)}function $r(){if(!Xu&&Kn!==null){Xu=!0;var e=0,t=Ae;try{var n=Kn;for(Ae=1;e>=s,i-=s,Yn=1<<32-_n(t)+i|n<b?(w=C,C=null):w=C.sibling;var P=f(g,C,v[b],_);if(P===null){C===null&&(C=w);break}e&&C&&P.alternate===null&&t(g,C),y=o(P,y,b),R===null?S=P:R.sibling=P,R=P,C=w}if(b===v.length)return n(g,C),Ue&&Ur(g,b),S;if(C===null){for(;bb?(w=C,C=null):w=C.sibling;var T=f(g,C,P.value,_);if(T===null){C===null&&(C=w);break}e&&C&&T.alternate===null&&t(g,C),y=o(T,y,b),R===null?S=T:R.sibling=T,R=T,C=w}if(P.done)return n(g,C),Ue&&Ur(g,b),S;if(C===null){for(;!P.done;b++,P=v.next())P=d(g,P.value,_),P!==null&&(y=o(P,y,b),R===null?S=P:R.sibling=P,R=P);return Ue&&Ur(g,b),S}for(C=r(g,C);!P.done;b++,P=v.next())P=h(C,g,b,P.value,_),P!==null&&(e&&P.alternate!==null&&C.delete(P.key===null?b:P.key),y=o(P,y,b),R===null?S=P:R.sibling=P,R=P);return e&&C.forEach(function(L){return t(g,L)}),Ue&&Ur(g,b),S}function x(g,y,v,_){if(typeof v=="object"&&v!==null&&v.type===Li&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ca:e:{for(var S=v.key,R=y;R!==null;){if(R.key===S){if(S=v.type,S===Li){if(R.tag===7){n(g,R.sibling),y=i(R,v.props.children),y.return=g,g=y;break e}}else if(R.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ur&&Bm(S)===R.type){n(g,R.sibling),y=i(R,v.props),y.ref=Po(g,R,v),y.return=g,g=y;break e}n(g,R);break}else t(g,R);R=R.sibling}v.type===Li?(y=ii(v.props.children,g.mode,_,v.key),y.return=g,g=y):(_=il(v.type,v.key,v.props,null,g.mode,_),_.ref=Po(g,y,v),_.return=g,g=_)}return s(g);case Ai:e:{for(R=v.key;y!==null;){if(y.key===R)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(g,y.sibling),y=i(y,v.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=id(v,g.mode,_),y.return=g,g=y}return s(g);case ur:return R=v._init,x(g,y,R(v._payload),_)}if(Ho(v))return p(g,y,v,_);if(So(v))return m(g,y,v,_);ba(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,v),y.return=g,g=y):(n(g,y),y=rd(v,g.mode,_),y.return=g,g=y),s(g)):n(g,y)}return x}var oo=r1(!0),i1=r1(!1),Zs={},Nn=Lr(Zs),Ms=Lr(Zs),Ts=Lr(Zs);function Jr(e){if(e===Zs)throw Error(j(174));return e}function Th(e,t){switch(Fe(Ts,t),Fe(Ms,e),Fe(Nn,Zs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:jd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=jd(t,e)}Be(Nn),Fe(Nn,t)}function so(){Be(Nn),Be(Ms),Be(Ts)}function o1(e){Jr(Ts.current);var t=Jr(Nn.current),n=jd(t,e.type);t!==n&&(Fe(Ms,e),Fe(Nn,n))}function Oh(e){Ms.current===e&&(Be(Nn),Be(Ms))}var He=Lr(0);function Nl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Qu=[];function Ih(){for(var e=0;en?n:4,e(!0);var r=Ju.transition;Ju.transition={};try{e(!1),t()}finally{Ae=n,Ju.transition=r}}function _1(){return dn().memoizedState}function ww(e,t,n){var r=Cr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},S1(e))w1(t,n);else if(n=Zv(e,t,n,r),n!==null){var i=Mt();Sn(n,e,r,i),k1(n,t,r)}}function kw(e,t,n){var r=Cr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(S1(e))w1(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,wn(a,s)){var l=t.interleaved;l===null?(i.next=i,Rh(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Zv(e,t,i,r),n!==null&&(i=Mt(),Sn(n,e,r,i),k1(n,t,r))}}function S1(e){var t=e.alternate;return e===Ge||t!==null&&t===Ge}function w1(e,t){ss=Fl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function k1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ph(e,n)}}var Dl={readContext:un,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useInsertionEffect:bt,useLayoutEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useMutableSource:bt,useSyncExternalStore:bt,useId:bt,unstable_isNewReconciler:!1},Cw={readContext:un,useCallback:function(e,t){return Pn().memoizedState=[e,t===void 0?null:t],e},useContext:un,useEffect:Wm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,el(4194308,4,g1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return el(4194308,4,e,t)},useInsertionEffect:function(e,t){return el(4,2,e,t)},useMemo:function(e,t){var n=Pn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pn();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=ww.bind(null,Ge,e),[r.memoizedState,e]},useRef:function(e){var t=Pn();return e={current:e},t.memoizedState=e},useState:jm,useDebugValue:Fh,useDeferredValue:function(e){return Pn().memoizedState=e},useTransition:function(){var e=jm(!1),t=e[0];return e=Sw.bind(null,e[1]),Pn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ge,i=Pn();if(Ue){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),pt===null)throw Error(j(349));ci&30||l1(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Wm(u1.bind(null,r,o,e),[e]),r.flags|=2048,As(9,c1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Pn(),t=pt.identifierPrefix;if(Ue){var n=qn,r=Yn;n=(r&~(1<<32-_n(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Os++,0")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Lu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vo(e):""}function tS(e){switch(e.tag){case 5:return Vo(e.type);case 16:return Vo("Lazy");case 13:return Vo("Suspense");case 19:return Vo("SuspenseList");case 0:case 2:case 15:return e=$u(e.type,!1),e;case 11:return e=$u(e.type.render,!1),e;case 1:return e=$u(e.type,!0),e;default:return""}}function $d(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 Li:return"Fragment";case Ai:return"Portal";case Id:return"Profiler";case lh:return"StrictMode";case Ad:return"Suspense";case Ld:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case nv:return(e.displayName||"Context")+".Consumer";case tv:return(e._context.displayName||"Context")+".Provider";case ch:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case uh:return t=e.displayName||null,t!==null?t:$d(e.type)||"Memo";case ur:t=e._payload,e=e._init;try{return $d(e(t))}catch{}}return null}function nS(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 $d(t);case 8:return t===lh?"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 Rr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function iv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rS(e){var t=iv(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ua(e){e._valueTracker||(e._valueTracker=rS(e))}function ov(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=iv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function bl(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 Nd(e,t){var n=t.checked;return Ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function im(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rr(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 sv(e,t){t=t.checked,t!=null&&ah(e,"checked",t,!1)}function Fd(e,t){sv(e,t);var n=Rr(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")?Dd(e,t.type,n):t.hasOwnProperty("defaultValue")&&Dd(e,t.type,Rr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function om(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 Dd(e,t,n){(t!=="number"||bl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ho=Array.isArray;function Ki(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=da.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ts={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},iS=["Webkit","ms","Moz","O"];Object.keys(ts).forEach(function(e){iS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ts[t]=ts[e]})});function uv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ts.hasOwnProperty(e)&&ts[e]?(""+t).trim():t+"px"}function dv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=uv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var oS=Ye({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 jd(e,t){if(t){if(oS[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 Wd(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 Ud=null;function dh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vd=null,Gi=null,Yi=null;function lm(e){if(e=Js(e)){if(typeof Vd!="function")throw Error(j(280));var t=e.stateNode;t&&(t=vc(t),Vd(e.stateNode,e.type,t))}}function fv(e){Gi?Yi?Yi.push(e):Yi=[e]:Gi=e}function hv(){if(Gi){var e=Gi,t=Yi;if(Yi=Gi=null,lm(e),t)for(e=0;e>>=0,e===0?32:31-(gS(e)/yS|0)|0}var fa=64,ha=4194304;function Ko(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 kl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Ko(a):(o&=s,o!==0&&(r=Ko(o)))}else s=n&~i,s!==0?r=Ko(s):o!==0&&(r=Ko(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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 Xs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_n(t),e[t]=n}function _S(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=rs),ym=String.fromCharCode(32),vm=!1;function Av(e,t){switch(e){case"keyup":return qS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $i=!1;function QS(e,t){switch(e){case"compositionend":return Lv(t);case"keypress":return t.which!==32?null:(vm=!0,ym);case"textInput":return e=t.data,e===ym&&vm?null:e;default:return null}}function JS(e,t){if($i)return e==="compositionend"||!xh&&Av(e,t)?(e=Ov(),Xa=gh=pr=null,$i=!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=Sm(n)}}function Dv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Dv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zv(){for(var e=window,t=bl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=bl(e.document)}return t}function bh(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 aw(e){var t=zv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Dv(n.ownerDocument.documentElement,n)){if(r!==null&&bh(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=wm(n,o);var s=wm(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ni=null,Xd=null,os=null,Qd=!1;function km(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Qd||Ni==null||Ni!==bl(r)||(r=Ni,"selectionStart"in r&&bh(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}),os&&Cs(os,r)||(os=r,r=Pl(Xd,"onSelect"),0zi||(e.current=rf[zi],rf[zi]=null,zi--)}function Fe(e,t){zi++,rf[zi]=e.current,e.current=t}var Mr={},Ct=Lr(Mr),Ft=Lr(!1),ai=Mr;function ro(e,t){var n=e.type.contextTypes;if(!n)return Mr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Dt(e){return e=e.childContextTypes,e!=null}function Ml(){Be(Ft),Be(Ct)}function Om(e,t,n){if(Ct.current!==Mr)throw Error(j(168));Fe(Ct,t),Fe(Ft,n)}function Yv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(j(108,nS(e)||"Unknown",i));return Ye({},n,r)}function Tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mr,ai=Ct.current,Fe(Ct,e),Fe(Ft,Ft.current),!0}function Im(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=Yv(e,t,ai),r.__reactInternalMemoizedMergedChildContext=e,Be(Ft),Be(Ct),Fe(Ct,e)):Be(Ft),Fe(Ft,n)}var Kn=null,xc=!1,qu=!1;function qv(e){Kn===null?Kn=[e]:Kn.push(e)}function xw(e){xc=!0,qv(e)}function $r(){if(!qu&&Kn!==null){qu=!0;var e=0,t=Ae;try{var n=Kn;for(Ae=1;e>=s,i-=s,Yn=1<<32-_n(t)+i|n<b?(w=C,C=null):w=C.sibling;var P=f(g,C,v[b],_);if(P===null){C===null&&(C=w);break}e&&C&&P.alternate===null&&t(g,C),y=o(P,y,b),R===null?S=P:R.sibling=P,R=P,C=w}if(b===v.length)return n(g,C),Ue&&Ur(g,b),S;if(C===null){for(;bb?(w=C,C=null):w=C.sibling;var T=f(g,C,P.value,_);if(T===null){C===null&&(C=w);break}e&&C&&T.alternate===null&&t(g,C),y=o(T,y,b),R===null?S=T:R.sibling=T,R=T,C=w}if(P.done)return n(g,C),Ue&&Ur(g,b),S;if(C===null){for(;!P.done;b++,P=v.next())P=d(g,P.value,_),P!==null&&(y=o(P,y,b),R===null?S=P:R.sibling=P,R=P);return Ue&&Ur(g,b),S}for(C=r(g,C);!P.done;b++,P=v.next())P=h(C,g,b,P.value,_),P!==null&&(e&&P.alternate!==null&&C.delete(P.key===null?b:P.key),y=o(P,y,b),R===null?S=P:R.sibling=P,R=P);return e&&C.forEach(function(L){return t(g,L)}),Ue&&Ur(g,b),S}function x(g,y,v,_){if(typeof v=="object"&&v!==null&&v.type===Li&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ca:e:{for(var S=v.key,R=y;R!==null;){if(R.key===S){if(S=v.type,S===Li){if(R.tag===7){n(g,R.sibling),y=i(R,v.props.children),y.return=g,g=y;break e}}else if(R.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ur&&zm(S)===R.type){n(g,R.sibling),y=i(R,v.props),y.ref=Po(g,R,v),y.return=g,g=y;break e}n(g,R);break}else t(g,R);R=R.sibling}v.type===Li?(y=ii(v.props.children,g.mode,_,v.key),y.return=g,g=y):(_=il(v.type,v.key,v.props,null,g.mode,_),_.ref=Po(g,y,v),_.return=g,g=_)}return s(g);case Ai:e:{for(R=v.key;y!==null;){if(y.key===R)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(g,y.sibling),y=i(y,v.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=rd(v,g.mode,_),y.return=g,g=y}return s(g);case ur:return R=v._init,x(g,y,R(v._payload),_)}if(Ho(v))return p(g,y,v,_);if(So(v))return m(g,y,v,_);ba(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,v),y.return=g,g=y):(n(g,y),y=nd(v,g.mode,_),y.return=g,g=y),s(g)):n(g,y)}return x}var oo=r1(!0),i1=r1(!1),Zs={},Nn=Lr(Zs),Ms=Lr(Zs),Ts=Lr(Zs);function Jr(e){if(e===Zs)throw Error(j(174));return e}function Mh(e,t){switch(Fe(Ts,t),Fe(Ms,e),Fe(Nn,Zs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Bd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Bd(t,e)}Be(Nn),Fe(Nn,t)}function so(){Be(Nn),Be(Ms),Be(Ts)}function o1(e){Jr(Ts.current);var t=Jr(Nn.current),n=Bd(t,e.type);t!==n&&(Fe(Ms,e),Fe(Nn,n))}function Th(e){Ms.current===e&&(Be(Nn),Be(Ms))}var He=Lr(0);function Nl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Xu=[];function Oh(){for(var e=0;en?n:4,e(!0);var r=Qu.transition;Qu.transition={};try{e(!1),t()}finally{Ae=n,Qu.transition=r}}function _1(){return dn().memoizedState}function ww(e,t,n){var r=Cr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},S1(e))w1(t,n);else if(n=Zv(e,t,n,r),n!==null){var i=Mt();Sn(n,e,r,i),k1(n,t,r)}}function kw(e,t,n){var r=Cr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(S1(e))w1(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,wn(a,s)){var l=t.interleaved;l===null?(i.next=i,Ph(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Zv(e,t,i,r),n!==null&&(i=Mt(),Sn(n,e,r,i),k1(n,t,r))}}function S1(e){var t=e.alternate;return e===Ge||t!==null&&t===Ge}function w1(e,t){ss=Fl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function k1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hh(e,n)}}var Dl={readContext:un,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useInsertionEffect:bt,useLayoutEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useMutableSource:bt,useSyncExternalStore:bt,useId:bt,unstable_isNewReconciler:!1},Cw={readContext:un,useCallback:function(e,t){return Pn().memoizedState=[e,t===void 0?null:t],e},useContext:un,useEffect:jm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,el(4194308,4,g1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return el(4194308,4,e,t)},useInsertionEffect:function(e,t){return el(4,2,e,t)},useMemo:function(e,t){var n=Pn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pn();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=ww.bind(null,Ge,e),[r.memoizedState,e]},useRef:function(e){var t=Pn();return e={current:e},t.memoizedState=e},useState:Bm,useDebugValue:Nh,useDeferredValue:function(e){return Pn().memoizedState=e},useTransition:function(){var e=Bm(!1),t=e[0];return e=Sw.bind(null,e[1]),Pn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ge,i=Pn();if(Ue){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),pt===null)throw Error(j(349));ci&30||l1(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,jm(u1.bind(null,r,o,e),[e]),r.flags|=2048,As(9,c1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Pn(),t=pt.identifierPrefix;if(Ue){var n=qn,r=Yn;n=(r&~(1<<32-_n(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Os++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[On]=t,e[Rs]=r,A1(e,t,!1,!1),t.stateNode=e;e:{switch(s=Ud(n,r),n){case"dialog":ze("cancel",e),ze("close",e),i=r;break;case"iframe":case"object":case"embed":ze("load",e),i=r;break;case"video":case"audio":for(i=0;ilo&&(t.flags|=128,r=!0,Ro(o,!1),t.lanes=4194304)}else{if(!r)if(e=Nl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ro(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Ue)return _t(t),null}else 2*nt()-o.renderingStartTime>lo&&n!==1073741824&&(t.flags|=128,r=!0,Ro(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=nt(),t.sibling=null,n=He.current,Fe(He,r?n&1|2:n&1),t):(_t(t),null);case 22:case 23:return Uh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ut&1073741824&&(_t(t),t.subtreeFlags&6&&(t.flags|=8192)):_t(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function Aw(e,t){switch(wh(t),t.tag){case 1:return Dt(t.type)&&Ml(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return so(),Be(Ft),Be(Ct),Ih(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Oh(t),null;case 13:if(Be(He),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));io()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(He),null;case 4:return so(),null;case 10:return Ph(t.type._context),null;case 22:case 23:return Uh(),null;case 24:return null;default:return null}}var Sa=!1,wt=!1,Lw=typeof WeakSet=="function"?WeakSet:Set,K=null;function Ui(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){et(e,t,r)}else n.current=null}function yf(e,t,n){try{n()}catch(r){et(e,t,r)}}var Qm=!1;function $w(e,t){if(Zd=Cl,e=zv(),_h(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var h;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++c===i&&(a=s),f===o&&++u===r&&(l=s),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ef={focusedElem:e,selectionRange:n},Cl=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var m=p.memoizedProps,x=p.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:gn(t.type,m),x);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(_){et(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return p=Qm,Qm=!1,p}function as(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&yf(t,n,o)}i=i.next}while(i!==r)}}function wc(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 vf(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 N1(e){var t=e.alternate;t!==null&&(e.alternate=null,N1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[On],delete t[Rs],delete t[rf],delete t[yw],delete t[vw])),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 F1(e){return e.tag===5||e.tag===3||e.tag===4}function Jm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||F1(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 xf(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=Rl));else if(r!==4&&(e=e.child,e!==null))for(xf(e,t,n),e=e.sibling;e!==null;)xf(e,t,n),e=e.sibling}function bf(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(bf(e,t,n),e=e.sibling;e!==null;)bf(e,t,n),e=e.sibling}var gt=null,yn=!1;function sr(e,t,n){for(n=n.child;n!==null;)D1(e,t,n),n=n.sibling}function D1(e,t,n){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(mc,n)}catch{}switch(n.tag){case 5:wt||Ui(n,t);case 6:var r=gt,i=yn;gt=null,sr(e,t,n),gt=r,yn=i,gt!==null&&(yn?(e=gt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):gt.removeChild(n.stateNode));break;case 18:gt!==null&&(yn?(e=gt,n=n.stateNode,e.nodeType===8?qu(e.parentNode,n):e.nodeType===1&&qu(e,n),ws(e)):qu(gt,n.stateNode));break;case 4:r=gt,i=yn,gt=n.stateNode.containerInfo,yn=!0,sr(e,t,n),gt=r,yn=i;break;case 0:case 11:case 14:case 15:if(!wt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&yf(n,t,s),i=i.next}while(i!==r)}sr(e,t,n);break;case 1:if(!wt&&(Ui(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){et(n,t,a)}sr(e,t,n);break;case 21:sr(e,t,n);break;case 22:n.mode&1?(wt=(r=wt)||n.memoizedState!==null,sr(e,t,n),wt=r):sr(e,t,n);break;default:sr(e,t,n)}}function Zm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Lw),t.forEach(function(r){var i=Vw.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function mn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=nt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fw(r/1960))-r,10e?16:e,mr===null)var r=!1;else{if(e=mr,mr=null,jl=0,xe&6)throw Error(j(331));var i=xe;for(xe|=4,K=e.current;K!==null;){var o=K,s=o.child;if(K.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lnt()-jh?ri(e,0):Bh|=n),zt(e,t)}function K1(e,t){t===0&&(e.mode&1?(t=ha,ha<<=1,!(ha&130023424)&&(ha=4194304)):t=1);var n=Mt();e=tr(e,t),e!==null&&(Xs(e,t,n),zt(e,n))}function Uw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),K1(e,n)}function Vw(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),K1(e,n)}var G1;G1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ft.current)Nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Nt=!1,Ow(e,t,n);Nt=!!(e.flags&131072)}else Nt=!1,Ue&&t.flags&1048576&&Xv(t,Il,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;tl(e,t),e=t.pendingProps;var i=ro(t,Ct.current);Xi(t,n),i=Lh(null,t,r,e,i,n);var o=$h();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Dt(r)?(o=!0,Tl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Mh(t),i.updater=_c,t.stateNode=i,i._reactInternals=t,uf(t,r,e,n),t=hf(null,t,r,!0,o,n)):(t.tag=0,Ue&&o&&Sh(t),Rt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(tl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Kw(r),e=gn(r,e),i){case 0:t=ff(null,t,r,e,n);break e;case 1:t=Ym(null,t,r,e,n);break e;case 11:t=Km(null,t,r,e,n);break e;case 14:t=Gm(null,t,r,gn(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gn(r,i),ff(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gn(r,i),Ym(e,t,r,i,n);case 3:e:{if(T1(t),e===null)throw Error(j(387));r=t.pendingProps,o=t.memoizedState,i=o.element,e1(e,t),$l(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=ao(Error(j(423)),t),t=qm(e,t,r,n,i);break e}else if(r!==i){i=ao(Error(j(424)),t),t=qm(e,t,r,n,i);break e}else for(Kt=Sr(t.stateNode.containerInfo.firstChild),qt=t,Ue=!0,xn=null,n=i1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(io(),r===i){t=nr(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return o1(t),e===null&&af(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,tf(r,i)?s=null:o!==null&&tf(r,o)&&(t.flags|=32),M1(e,t),Rt(e,t,s,n),t.child;case 6:return e===null&&af(t),null;case 13:return O1(e,t,n);case 4:return Th(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=oo(t,null,r,n):Rt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gn(r,i),Km(e,t,r,i,n);case 7:return Rt(e,t,t.pendingProps,n),t.child;case 8:return Rt(e,t,t.pendingProps.children,n),t.child;case 12:return Rt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Fe(Al,r._currentValue),r._currentValue=s,o!==null)if(wn(o.value,s)){if(o.children===i.children&&!Ft.current){t=nr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Qn(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),lf(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(j(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),lf(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Rt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Xi(t,n),i=un(i),r=r(i),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,i=gn(r,t.pendingProps),i=gn(r.type,i),Gm(e,t,r,i,n);case 15:return P1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gn(r,i),tl(e,t),t.tag=1,Dt(r)?(e=!0,Tl(t)):e=!1,Xi(t,n),n1(t,r,i),uf(t,r,i,n),hf(null,t,r,!0,e,n);case 19:return I1(e,t,n);case 22:return R1(e,t,n)}throw Error(j(156,t.tag))};function Y1(e,t){return bv(e,t)}function Hw(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 an(e,t,n,r){return new Hw(e,t,n,r)}function Hh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kw(e){if(typeof e=="function")return Hh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===uh)return 11;if(e===dh)return 14}return 2}function Er(e,t){var n=e.alternate;return n===null?(n=an(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 il(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Hh(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Li:return ii(n.children,i,o,t);case ch:s=8,i|=8;break;case Ad:return e=an(12,n,t,i|2),e.elementType=Ad,e.lanes=o,e;case Ld:return e=an(13,n,t,i),e.elementType=Ld,e.lanes=o,e;case $d:return e=an(19,n,t,i),e.elementType=$d,e.lanes=o,e;case rv:return Cc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case tv:s=10;break e;case nv:s=9;break e;case uh:s=11;break e;case dh:s=14;break e;case ur:s=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=an(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function ii(e,t,n,r){return e=an(7,e,r,t),e.lanes=n,e}function Cc(e,t,n,r){return e=an(22,e,r,t),e.elementType=rv,e.lanes=n,e.stateNode={isHidden:!1},e}function rd(e,t,n){return e=an(6,e,null,t),e.lanes=n,e}function id(e,t,n){return t=an(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gw(e,t,n,r,i){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=Du(0),this.expirationTimes=Du(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Du(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Kh(e,t,n,r,i,o,s,a,l){return e=new Gw(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=an(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mh(o),e}function Yw(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(J1)}catch(e){console.error(e)}}J1(),Xy.exports=Zt;var Tc=Xy.exports;const Ca=th(Tc);var ag=Tc;Od.createRoot=ag.createRoot,Od.hydrateRoot=ag.hydrateRoot;const Zw={black:"#000",white:"#fff"},$s=Zw,ek={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},wi=ek,tk={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ki=tk,nk={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ci=nk,rk={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Ei=rk,ik={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Pi=ik,ok={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},To=ok,sk={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"},ak=sk;function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=Z1(e[n])}),t}function Xt(e,t,n={clone:!0}){const r=n.clone?E({},e):e;return qr(e)&&qr(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(qr(t[i])&&i in e&&qr(e[i])?r[i]=Xt(e[i],t[i],n):n.clone?r[i]=qr(t[i])?Z1(t[i]):t[i]:r[i]=t[i])}),r}function rr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function Xh(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function lk(e,t){return()=>null}function ol(e,t){return k.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Bt(e){return e&&e.ownerDocument||document}function Tr(e){return Bt(e).defaultView||window}function ck(e,t){return()=>null}function Vl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const uk=typeof window<"u"?k.useLayoutEffect:k.useEffect,Or=uk;let lg=0;function dk(e){const[t,n]=k.useState(e),r=e||t;return k.useEffect(()=>{t==null&&(lg+=1,n(`mui-${lg}`))},[t]),r}const cg=xl["useId".toString()];function ex(e){if(cg!==void 0){const t=cg();return e??t}return dk(e)}function fk(e,t,n,r,i){return null}function Hl({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=k.useRef(e!==void 0),[o,s]=k.useState(t),a=i?e:o,l=k.useCallback(c=>{i||s(c)},[]);return[a,l]}function Zr(e){const t=k.useRef(e);return Or(()=>{t.current=e}),k.useCallback((...n)=>(0,t.current)(...n),[])}function Et(...e){return k.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Vl(n,t)})},e)}let Oc=!0,Ef=!1,ug;const hk={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 pk(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&hk[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function mk(e){e.metaKey||e.altKey||e.ctrlKey||(Oc=!0)}function od(){Oc=!1}function gk(){this.visibilityState==="hidden"&&Ef&&(Oc=!0)}function yk(e){e.addEventListener("keydown",mk,!0),e.addEventListener("mousedown",od,!0),e.addEventListener("pointerdown",od,!0),e.addEventListener("touchstart",od,!0),e.addEventListener("visibilitychange",gk,!0)}function vk(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Oc||pk(t)}function tx(){const e=k.useCallback(i=>{i!=null&&yk(i.ownerDocument)},[]),t=k.useRef(!1);function n(){return t.current?(Ef=!0,window.clearTimeout(ug),ug=window.setTimeout(()=>{Ef=!1},100),t.current=!1,!0):!1}function r(i){return vk(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function nx(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Qh(e,t){const n=E({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=E({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=E({},o),Object.keys(i).forEach(s=>{n[r][s]=Qh(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Me(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const a=t(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const dg=e=>e,xk=()=>{let e=dg;return{configure(t){e=t},generate(t){return e(t)},reset(){e=dg}}},bk=xk(),Jh=bk,_k={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 _e(e,t,n="Mui"){const r=_k[t];return r?`${n}-${r}`:`${Jh.generate(e)}-${t}`}function we(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=_e(e,i,n)}),r}const fi="$$material";function ee(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function rx(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Sk=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,wk=rx(function(e){return Sk.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function kk(e){if(e.sheet)return e.sheet;for(var t=0;t0?yt(xo,--jt):0,co--,ot===10&&(co=1,Ac--),ot}function Qt(){return ot=jt2||Fs(ot)>3?"":" "}function Fk(e,t){for(;--t&&Qt()&&!(ot<48||ot>102||ot>57&&ot<65||ot>70&&ot<97););return ea(e,sl()+(t<6&&Fn()==32&&Qt()==32))}function Rf(e){for(;Qt();)switch(ot){case e:return jt;case 34:case 39:e!==34&&e!==39&&Rf(ot);break;case 40:e===41&&Rf(e);break;case 92:Qt();break}return jt}function Dk(e,t){for(;Qt()&&e+ot!==47+10;)if(e+ot===42+42&&Fn()===47)break;return"/*"+ea(t,jt-1)+"*"+Ic(e===47?e:Qt())}function zk(e){for(;!Fs(Fn());)Qt();return ea(e,jt)}function Bk(e){return cx(ll("",null,null,null,[""],e=lx(e),0,[0],e))}function ll(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,f=0,h=0,p=0,m=1,x=1,g=1,y=0,v="",_=i,S=o,R=r,C=v;x;)switch(p=y,y=Qt()){case 40:if(p!=108&&yt(C,d-1)==58){Pf(C+=Ee(al(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:C+=al(y);break;case 9:case 10:case 13:case 32:C+=Nk(p);break;case 92:C+=Fk(sl()-1,7);continue;case 47:switch(Fn()){case 42:case 47:Ea(jk(Dk(Qt(),sl()),t,n),l);break;default:C+="/"}break;case 123*m:a[c++]=Mn(C)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+u:g==-1&&(C=Ee(C,/\f/g,"")),h>0&&Mn(C)-d&&Ea(h>32?hg(C+";",r,n,d-1):hg(Ee(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(Ea(R=fg(C,t,n,c,u,i,a,v,_=[],S=[],d),o),y===123)if(u===0)ll(C,t,R,R,_,o,d,a,S);else switch(f===99&&yt(C,3)===110?100:f){case 100:case 108:case 109:case 115:ll(e,R,R,r&&Ea(fg(e,R,R,0,0,i,a,v,i,_=[],d),S),i,S,d,a,r?_:S);break;default:ll(C,R,R,R,[""],S,0,a,S)}}c=u=h=0,m=g=1,v=C="",d=s;break;case 58:d=1+Mn(C),h=p;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&$k()==125)continue}switch(C+=Ic(y),y*m){case 38:g=u>0?1:(C+="\f",-1);break;case 44:a[c++]=(Mn(C)-1)*g,g=1;break;case 64:Fn()===45&&(C+=al(Qt())),f=Fn(),u=d=Mn(v=C+=zk(sl())),y++;break;case 45:p===45&&Mn(C)==2&&(m=0)}}return o}function fg(e,t,n,r,i,o,s,a,l,c,u){for(var d=i-1,f=i===0?o:[""],h=tp(f),p=0,m=0,x=0;p0?f[g]+" "+y:Ee(y,/&\f/g,f[g])))&&(l[x++]=v);return Lc(e,t,n,i===0?Zh:a,l,c,u)}function jk(e,t,n){return Lc(e,t,n,ix,Ic(Lk()),Ns(e,2,-2),0)}function hg(e,t,n,r){return Lc(e,t,n,ep,Ns(e,0,r),Ns(e,r+1,-1),r)}function Ji(e,t){for(var n="",r=tp(e),i=0;i6)switch(yt(e,t+1)){case 109:if(yt(e,t+4)!==45)break;case 102:return Ee(e,/(.+:)(.+)-([^]+)/,"$1"+Ce+"$2-$3$1"+Kl+(yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Pf(e,"stretch")?ux(Ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(yt(e,t+1)!==115)break;case 6444:switch(yt(e,Mn(e)-3-(~Pf(e,"!important")&&10))){case 107:return Ee(e,":",":"+Ce)+e;case 101:return Ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ce+(yt(e,14)===45?"inline-":"")+"box$3$1"+Ce+"$2$3$1"+St+"$2box$3")+e}break;case 5936:switch(yt(e,t+11)){case 114:return Ce+e+St+Ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ce+e+St+Ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ce+e+St+Ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ce+e+St+e+e}return e}var Xk=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case ep:t.return=ux(t.value,t.length);break;case ox:return Ji([Oo(t,{value:Ee(t.value,"@","@"+Ce)})],i);case Zh:if(t.length)return Ak(t.props,function(o){switch(Ik(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ji([Oo(t,{props:[Ee(o,/:(read-\w+)/,":"+Kl+"$1")]})],i);case"::placeholder":return Ji([Oo(t,{props:[Ee(o,/:(plac\w+)/,":"+Ce+"input-$1")]}),Oo(t,{props:[Ee(o,/:(plac\w+)/,":"+Kl+"$1")]}),Oo(t,{props:[Ee(o,/:(plac\w+)/,St+"input-$1")]})],i)}return""})}},Qk=[Xk],Jk=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(m){var x=m.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||Qk,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var x=m.getAttribute("data-emotion").split(" "),g=1;g<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[On]=t,e[Rs]=r,A1(e,t,!1,!1),t.stateNode=e;e:{switch(s=Wd(n,r),n){case"dialog":ze("cancel",e),ze("close",e),i=r;break;case"iframe":case"object":case"embed":ze("load",e),i=r;break;case"video":case"audio":for(i=0;ilo&&(t.flags|=128,r=!0,Ro(o,!1),t.lanes=4194304)}else{if(!r)if(e=Nl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ro(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Ue)return _t(t),null}else 2*nt()-o.renderingStartTime>lo&&n!==1073741824&&(t.flags|=128,r=!0,Ro(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=nt(),t.sibling=null,n=He.current,Fe(He,r?n&1|2:n&1),t):(_t(t),null);case 22:case 23:return Wh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ut&1073741824&&(_t(t),t.subtreeFlags&6&&(t.flags|=8192)):_t(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function Aw(e,t){switch(Sh(t),t.tag){case 1:return Dt(t.type)&&Ml(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return so(),Be(Ft),Be(Ct),Oh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Th(t),null;case 13:if(Be(He),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));io()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(He),null;case 4:return so(),null;case 10:return Eh(t.type._context),null;case 22:case 23:return Wh(),null;case 24:return null;default:return null}}var Sa=!1,wt=!1,Lw=typeof WeakSet=="function"?WeakSet:Set,K=null;function Ui(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){et(e,t,r)}else n.current=null}function gf(e,t,n){try{n()}catch(r){et(e,t,r)}}var Xm=!1;function $w(e,t){if(Jd=Cl,e=zv(),bh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var h;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++c===i&&(a=s),f===o&&++u===r&&(l=s),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Zd={focusedElem:e,selectionRange:n},Cl=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var m=p.memoizedProps,x=p.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:gn(t.type,m),x);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(_){et(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return p=Xm,Xm=!1,p}function as(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&gf(t,n,o)}i=i.next}while(i!==r)}}function Sc(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 yf(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 N1(e){var t=e.alternate;t!==null&&(e.alternate=null,N1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[On],delete t[Rs],delete t[nf],delete t[yw],delete t[vw])),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 F1(e){return e.tag===5||e.tag===3||e.tag===4}function Qm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||F1(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 vf(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=Rl));else if(r!==4&&(e=e.child,e!==null))for(vf(e,t,n),e=e.sibling;e!==null;)vf(e,t,n),e=e.sibling}function xf(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(xf(e,t,n),e=e.sibling;e!==null;)xf(e,t,n),e=e.sibling}var gt=null,yn=!1;function sr(e,t,n){for(n=n.child;n!==null;)D1(e,t,n),n=n.sibling}function D1(e,t,n){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(pc,n)}catch{}switch(n.tag){case 5:wt||Ui(n,t);case 6:var r=gt,i=yn;gt=null,sr(e,t,n),gt=r,yn=i,gt!==null&&(yn?(e=gt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):gt.removeChild(n.stateNode));break;case 18:gt!==null&&(yn?(e=gt,n=n.stateNode,e.nodeType===8?Yu(e.parentNode,n):e.nodeType===1&&Yu(e,n),ws(e)):Yu(gt,n.stateNode));break;case 4:r=gt,i=yn,gt=n.stateNode.containerInfo,yn=!0,sr(e,t,n),gt=r,yn=i;break;case 0:case 11:case 14:case 15:if(!wt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&gf(n,t,s),i=i.next}while(i!==r)}sr(e,t,n);break;case 1:if(!wt&&(Ui(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){et(n,t,a)}sr(e,t,n);break;case 21:sr(e,t,n);break;case 22:n.mode&1?(wt=(r=wt)||n.memoizedState!==null,sr(e,t,n),wt=r):sr(e,t,n);break;default:sr(e,t,n)}}function Jm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Lw),t.forEach(function(r){var i=Vw.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function mn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=nt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fw(r/1960))-r,10e?16:e,mr===null)var r=!1;else{if(e=mr,mr=null,jl=0,xe&6)throw Error(j(331));var i=xe;for(xe|=4,K=e.current;K!==null;){var o=K,s=o.child;if(K.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lnt()-Bh?ri(e,0):zh|=n),zt(e,t)}function K1(e,t){t===0&&(e.mode&1?(t=ha,ha<<=1,!(ha&130023424)&&(ha=4194304)):t=1);var n=Mt();e=tr(e,t),e!==null&&(Xs(e,t,n),zt(e,n))}function Uw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),K1(e,n)}function Vw(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),K1(e,n)}var G1;G1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ft.current)Nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Nt=!1,Ow(e,t,n);Nt=!!(e.flags&131072)}else Nt=!1,Ue&&t.flags&1048576&&Xv(t,Il,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;tl(e,t),e=t.pendingProps;var i=ro(t,Ct.current);Xi(t,n),i=Ah(null,t,r,e,i,n);var o=Lh();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Dt(r)?(o=!0,Tl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Rh(t),i.updater=bc,t.stateNode=i,i._reactInternals=t,cf(t,r,e,n),t=ff(null,t,r,!0,o,n)):(t.tag=0,Ue&&o&&_h(t),Rt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(tl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Kw(r),e=gn(r,e),i){case 0:t=df(null,t,r,e,n);break e;case 1:t=Gm(null,t,r,e,n);break e;case 11:t=Hm(null,t,r,e,n);break e;case 14:t=Km(null,t,r,gn(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gn(r,i),df(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gn(r,i),Gm(e,t,r,i,n);case 3:e:{if(T1(t),e===null)throw Error(j(387));r=t.pendingProps,o=t.memoizedState,i=o.element,e1(e,t),$l(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=ao(Error(j(423)),t),t=Ym(e,t,r,n,i);break e}else if(r!==i){i=ao(Error(j(424)),t),t=Ym(e,t,r,n,i);break e}else for(Kt=Sr(t.stateNode.containerInfo.firstChild),qt=t,Ue=!0,xn=null,n=i1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(io(),r===i){t=nr(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return o1(t),e===null&&sf(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,ef(r,i)?s=null:o!==null&&ef(r,o)&&(t.flags|=32),M1(e,t),Rt(e,t,s,n),t.child;case 6:return e===null&&sf(t),null;case 13:return O1(e,t,n);case 4:return Mh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=oo(t,null,r,n):Rt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gn(r,i),Hm(e,t,r,i,n);case 7:return Rt(e,t,t.pendingProps,n),t.child;case 8:return Rt(e,t,t.pendingProps.children,n),t.child;case 12:return Rt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Fe(Al,r._currentValue),r._currentValue=s,o!==null)if(wn(o.value,s)){if(o.children===i.children&&!Ft.current){t=nr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Qn(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),af(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(j(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),af(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Rt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Xi(t,n),i=un(i),r=r(i),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,i=gn(r,t.pendingProps),i=gn(r.type,i),Km(e,t,r,i,n);case 15:return P1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gn(r,i),tl(e,t),t.tag=1,Dt(r)?(e=!0,Tl(t)):e=!1,Xi(t,n),n1(t,r,i),cf(t,r,i,n),ff(null,t,r,!0,e,n);case 19:return I1(e,t,n);case 22:return R1(e,t,n)}throw Error(j(156,t.tag))};function Y1(e,t){return bv(e,t)}function Hw(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 an(e,t,n,r){return new Hw(e,t,n,r)}function Vh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kw(e){if(typeof e=="function")return Vh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ch)return 11;if(e===uh)return 14}return 2}function Er(e,t){var n=e.alternate;return n===null?(n=an(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 il(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Vh(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Li:return ii(n.children,i,o,t);case lh:s=8,i|=8;break;case Id:return e=an(12,n,t,i|2),e.elementType=Id,e.lanes=o,e;case Ad:return e=an(13,n,t,i),e.elementType=Ad,e.lanes=o,e;case Ld:return e=an(19,n,t,i),e.elementType=Ld,e.lanes=o,e;case rv:return kc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case tv:s=10;break e;case nv:s=9;break e;case ch:s=11;break e;case uh:s=14;break e;case ur:s=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=an(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function ii(e,t,n,r){return e=an(7,e,r,t),e.lanes=n,e}function kc(e,t,n,r){return e=an(22,e,r,t),e.elementType=rv,e.lanes=n,e.stateNode={isHidden:!1},e}function nd(e,t,n){return e=an(6,e,null,t),e.lanes=n,e}function rd(e,t,n){return t=an(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gw(e,t,n,r,i){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=Fu(0),this.expirationTimes=Fu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fu(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Hh(e,t,n,r,i,o,s,a,l){return e=new Gw(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=an(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rh(o),e}function Yw(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(J1)}catch(e){console.error(e)}}J1(),Xy.exports=Zt;var Mc=Xy.exports;const Ca=eh(Mc);var sg=Mc;Td.createRoot=sg.createRoot,Td.hydrateRoot=sg.hydrateRoot;const Zw={black:"#000",white:"#fff"},$s=Zw,ek={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},wi=ek,tk={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ki=tk,nk={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ci=nk,rk={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Ei=rk,ik={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Pi=ik,ok={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},To=ok,sk={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"},ak=sk;function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=Z1(e[n])}),t}function Xt(e,t,n={clone:!0}){const r=n.clone?E({},e):e;return qr(e)&&qr(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(qr(t[i])&&i in e&&qr(e[i])?r[i]=Xt(e[i],t[i],n):n.clone?r[i]=qr(t[i])?Z1(t[i]):t[i]:r[i]=t[i])}),r}function rr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function qh(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function lk(e,t){return()=>null}function ol(e,t){return k.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Bt(e){return e&&e.ownerDocument||document}function Tr(e){return Bt(e).defaultView||window}function ck(e,t){return()=>null}function Vl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const uk=typeof window<"u"?k.useLayoutEffect:k.useEffect,Or=uk;let ag=0;function dk(e){const[t,n]=k.useState(e),r=e||t;return k.useEffect(()=>{t==null&&(ag+=1,n(`mui-${ag}`))},[t]),r}const lg=xl["useId".toString()];function ex(e){if(lg!==void 0){const t=lg();return e??t}return dk(e)}function fk(e,t,n,r,i){return null}function Hl({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=k.useRef(e!==void 0),[o,s]=k.useState(t),a=i?e:o,l=k.useCallback(c=>{i||s(c)},[]);return[a,l]}function Zr(e){const t=k.useRef(e);return Or(()=>{t.current=e}),k.useCallback((...n)=>(0,t.current)(...n),[])}function Et(...e){return k.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Vl(n,t)})},e)}let Tc=!0,Cf=!1,cg;const hk={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 pk(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&hk[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function mk(e){e.metaKey||e.altKey||e.ctrlKey||(Tc=!0)}function id(){Tc=!1}function gk(){this.visibilityState==="hidden"&&Cf&&(Tc=!0)}function yk(e){e.addEventListener("keydown",mk,!0),e.addEventListener("mousedown",id,!0),e.addEventListener("pointerdown",id,!0),e.addEventListener("touchstart",id,!0),e.addEventListener("visibilitychange",gk,!0)}function vk(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Tc||pk(t)}function tx(){const e=k.useCallback(i=>{i!=null&&yk(i.ownerDocument)},[]),t=k.useRef(!1);function n(){return t.current?(Cf=!0,window.clearTimeout(cg),cg=window.setTimeout(()=>{Cf=!1},100),t.current=!1,!0):!1}function r(i){return vk(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function nx(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Xh(e,t){const n=E({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=E({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=E({},o),Object.keys(i).forEach(s=>{n[r][s]=Xh(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Me(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const a=t(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const ug=e=>e,xk=()=>{let e=ug;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ug}}},bk=xk(),Qh=bk,_k={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 _e(e,t,n="Mui"){const r=_k[t];return r?`${n}-${r}`:`${Qh.generate(e)}-${t}`}function we(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=_e(e,i,n)}),r}const fi="$$material";function ee(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function rx(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Sk=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,wk=rx(function(e){return Sk.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function kk(e){if(e.sheet)return e.sheet;for(var t=0;t0?yt(xo,--jt):0,co--,ot===10&&(co=1,Ic--),ot}function Qt(){return ot=jt2||Fs(ot)>3?"":" "}function Fk(e,t){for(;--t&&Qt()&&!(ot<48||ot>102||ot>57&&ot<65||ot>70&&ot<97););return ea(e,sl()+(t<6&&Fn()==32&&Qt()==32))}function Pf(e){for(;Qt();)switch(ot){case e:return jt;case 34:case 39:e!==34&&e!==39&&Pf(ot);break;case 40:e===41&&Pf(e);break;case 92:Qt();break}return jt}function Dk(e,t){for(;Qt()&&e+ot!==47+10;)if(e+ot===42+42&&Fn()===47)break;return"/*"+ea(t,jt-1)+"*"+Oc(e===47?e:Qt())}function zk(e){for(;!Fs(Fn());)Qt();return ea(e,jt)}function Bk(e){return cx(ll("",null,null,null,[""],e=lx(e),0,[0],e))}function ll(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,f=0,h=0,p=0,m=1,x=1,g=1,y=0,v="",_=i,S=o,R=r,C=v;x;)switch(p=y,y=Qt()){case 40:if(p!=108&&yt(C,d-1)==58){Ef(C+=Ee(al(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:C+=al(y);break;case 9:case 10:case 13:case 32:C+=Nk(p);break;case 92:C+=Fk(sl()-1,7);continue;case 47:switch(Fn()){case 42:case 47:Ea(jk(Dk(Qt(),sl()),t,n),l);break;default:C+="/"}break;case 123*m:a[c++]=Mn(C)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+u:g==-1&&(C=Ee(C,/\f/g,"")),h>0&&Mn(C)-d&&Ea(h>32?fg(C+";",r,n,d-1):fg(Ee(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(Ea(R=dg(C,t,n,c,u,i,a,v,_=[],S=[],d),o),y===123)if(u===0)ll(C,t,R,R,_,o,d,a,S);else switch(f===99&&yt(C,3)===110?100:f){case 100:case 108:case 109:case 115:ll(e,R,R,r&&Ea(dg(e,R,R,0,0,i,a,v,i,_=[],d),S),i,S,d,a,r?_:S);break;default:ll(C,R,R,R,[""],S,0,a,S)}}c=u=h=0,m=g=1,v=C="",d=s;break;case 58:d=1+Mn(C),h=p;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&$k()==125)continue}switch(C+=Oc(y),y*m){case 38:g=u>0?1:(C+="\f",-1);break;case 44:a[c++]=(Mn(C)-1)*g,g=1;break;case 64:Fn()===45&&(C+=al(Qt())),f=Fn(),u=d=Mn(v=C+=zk(sl())),y++;break;case 45:p===45&&Mn(C)==2&&(m=0)}}return o}function dg(e,t,n,r,i,o,s,a,l,c,u){for(var d=i-1,f=i===0?o:[""],h=ep(f),p=0,m=0,x=0;p0?f[g]+" "+y:Ee(y,/&\f/g,f[g])))&&(l[x++]=v);return Ac(e,t,n,i===0?Jh:a,l,c,u)}function jk(e,t,n){return Ac(e,t,n,ix,Oc(Lk()),Ns(e,2,-2),0)}function fg(e,t,n,r){return Ac(e,t,n,Zh,Ns(e,0,r),Ns(e,r+1,-1),r)}function Ji(e,t){for(var n="",r=ep(e),i=0;i6)switch(yt(e,t+1)){case 109:if(yt(e,t+4)!==45)break;case 102:return Ee(e,/(.+:)(.+)-([^]+)/,"$1"+Ce+"$2-$3$1"+Kl+(yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ef(e,"stretch")?ux(Ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(yt(e,t+1)!==115)break;case 6444:switch(yt(e,Mn(e)-3-(~Ef(e,"!important")&&10))){case 107:return Ee(e,":",":"+Ce)+e;case 101:return Ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ce+(yt(e,14)===45?"inline-":"")+"box$3$1"+Ce+"$2$3$1"+St+"$2box$3")+e}break;case 5936:switch(yt(e,t+11)){case 114:return Ce+e+St+Ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ce+e+St+Ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ce+e+St+Ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ce+e+St+e+e}return e}var Xk=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Zh:t.return=ux(t.value,t.length);break;case ox:return Ji([Oo(t,{value:Ee(t.value,"@","@"+Ce)})],i);case Jh:if(t.length)return Ak(t.props,function(o){switch(Ik(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ji([Oo(t,{props:[Ee(o,/:(read-\w+)/,":"+Kl+"$1")]})],i);case"::placeholder":return Ji([Oo(t,{props:[Ee(o,/:(plac\w+)/,":"+Ce+"input-$1")]}),Oo(t,{props:[Ee(o,/:(plac\w+)/,":"+Kl+"$1")]}),Oo(t,{props:[Ee(o,/:(plac\w+)/,St+"input-$1")]})],i)}return""})}},Qk=[Xk],Jk=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(m){var x=m.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||Qk,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var x=m.getAttribute("data-emotion").split(" "),g=1;g=4;++r,i-=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(i){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 uC={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dC=/[A-Z]|^ms/g,fC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yx=function(t){return t.charCodeAt(1)===45},mg=function(t){return t!=null&&typeof t!="boolean"},sd=rx(function(e){return yx(e)?e:e.replace(dC,"-$&").toLowerCase()}),gg=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(fC,function(r,i,o){return Tn={name:i,styles:o,next:Tn},i})}return uC[t]!==1&&!yx(t)&&typeof n=="number"&&n!==0?n+"px":n};function Ds(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Tn={name:n.name,styles:n.styles,next:Tn},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Tn={name:r.name,styles:r.styles,next:Tn},r=r.next;var i=n.styles+";";return i}return hC(e,t,n)}case"function":{if(e!==void 0){var o=Tn,s=n(e);return Tn=o,Ds(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function hC(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?vC:xC},bg=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},bC=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return mx(n,r,i),mC(function(){return gx(n,r,i)}),null},_C=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=bg(t,n,r),l=a||xg(i),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,h=1;ht(wC(i)?n:i):t;return M.jsx(gC,{styles:r})}/** + */var mt=typeof Symbol=="function"&&Symbol.for,tp=mt?Symbol.for("react.element"):60103,np=mt?Symbol.for("react.portal"):60106,Lc=mt?Symbol.for("react.fragment"):60107,$c=mt?Symbol.for("react.strict_mode"):60108,Nc=mt?Symbol.for("react.profiler"):60114,Fc=mt?Symbol.for("react.provider"):60109,Dc=mt?Symbol.for("react.context"):60110,rp=mt?Symbol.for("react.async_mode"):60111,zc=mt?Symbol.for("react.concurrent_mode"):60111,Bc=mt?Symbol.for("react.forward_ref"):60112,jc=mt?Symbol.for("react.suspense"):60113,Zk=mt?Symbol.for("react.suspense_list"):60120,Wc=mt?Symbol.for("react.memo"):60115,Uc=mt?Symbol.for("react.lazy"):60116,eC=mt?Symbol.for("react.block"):60121,tC=mt?Symbol.for("react.fundamental"):60117,nC=mt?Symbol.for("react.responder"):60118,rC=mt?Symbol.for("react.scope"):60119;function tn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case tp:switch(e=e.type,e){case rp:case zc:case Lc:case Nc:case $c:case jc:return e;default:switch(e=e&&e.$$typeof,e){case Dc:case Bc:case Uc:case Wc:case Fc:return e;default:return t}}case np:return t}}}function fx(e){return tn(e)===zc}Le.AsyncMode=rp;Le.ConcurrentMode=zc;Le.ContextConsumer=Dc;Le.ContextProvider=Fc;Le.Element=tp;Le.ForwardRef=Bc;Le.Fragment=Lc;Le.Lazy=Uc;Le.Memo=Wc;Le.Portal=np;Le.Profiler=Nc;Le.StrictMode=$c;Le.Suspense=jc;Le.isAsyncMode=function(e){return fx(e)||tn(e)===rp};Le.isConcurrentMode=fx;Le.isContextConsumer=function(e){return tn(e)===Dc};Le.isContextProvider=function(e){return tn(e)===Fc};Le.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===tp};Le.isForwardRef=function(e){return tn(e)===Bc};Le.isFragment=function(e){return tn(e)===Lc};Le.isLazy=function(e){return tn(e)===Uc};Le.isMemo=function(e){return tn(e)===Wc};Le.isPortal=function(e){return tn(e)===np};Le.isProfiler=function(e){return tn(e)===Nc};Le.isStrictMode=function(e){return tn(e)===$c};Le.isSuspense=function(e){return tn(e)===jc};Le.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Lc||e===zc||e===Nc||e===$c||e===jc||e===Zk||typeof e=="object"&&e!==null&&(e.$$typeof===Uc||e.$$typeof===Wc||e.$$typeof===Fc||e.$$typeof===Dc||e.$$typeof===Bc||e.$$typeof===tC||e.$$typeof===nC||e.$$typeof===rC||e.$$typeof===eC)};Le.typeOf=tn;dx.exports=Le;var iC=dx.exports,hx=iC,oC={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sC={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},px={};px[hx.ForwardRef]=oC;px[hx.Memo]=sC;var aC=!0;function lC(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var mx=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||aC===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},gx=function(t,n,r){mx(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function cC(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=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(i){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 uC={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dC=/[A-Z]|^ms/g,fC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yx=function(t){return t.charCodeAt(1)===45},pg=function(t){return t!=null&&typeof t!="boolean"},od=rx(function(e){return yx(e)?e:e.replace(dC,"-$&").toLowerCase()}),mg=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(fC,function(r,i,o){return Tn={name:i,styles:o,next:Tn},i})}return uC[t]!==1&&!yx(t)&&typeof n=="number"&&n!==0?n+"px":n};function Ds(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Tn={name:n.name,styles:n.styles,next:Tn},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Tn={name:r.name,styles:r.styles,next:Tn},r=r.next;var i=n.styles+";";return i}return hC(e,t,n)}case"function":{if(e!==void 0){var o=Tn,s=n(e);return Tn=o,Ds(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function hC(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?vC:xC},xg=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},bC=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return mx(n,r,i),mC(function(){return gx(n,r,i)}),null},_C=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=xg(t,n,r),l=a||vg(i),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,h=1;ht(wC(i)?n:i):t;return M.jsx(gC,{styles:r})}/** * @mui/styled-engine v5.14.8 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function _x(e,t){return Mf(e,t)}const CC=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},EC=["values","unit","step"],PC=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)=>E({},n,{[r.key]:r.val}),{})};function RC(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=ee(e,EC),o=PC(t),s=Object.keys(o);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function c(f,h){const p=s.indexOf(h);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(p!==-1&&typeof t[s[p]]=="number"?t[s[p]]:h)-r/100}${n})`}function u(f){return s.indexOf(f)+1`@media (min-width:${ap[e]}px)`};function fn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||_g;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||_g;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||ap).indexOf(a)!==-1){const l=o.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function Sx(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function wx(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function eD(e,...t){const n=Sx(e),r=[n,...t].reduce((i,o)=>Xt(i,o),{});return wx(Object.keys(n),r)}function OC(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((i,o)=>{o{e[i]!=null&&(n[i]=!0)}),n}function Kc({values:e,breakpoints:t,base:n}){const r=n||OC(e,t),i=Object.keys(r);if(i.length===0)return e;let o;return i.reduce((s,a,l)=>(Array.isArray(e)?(s[a]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[o],o=a):s[a]=e,s),{})}function Gc(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Gl(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Gc(e,n)||r,t&&(i=t(i,r,e)),i}function Te(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,c=Gc(l,r)||{};return fn(s,a,d=>{let f=Gl(c,i,d);return d===f&&typeof d=="string"&&(f=Gl(c,i,`${t}${d==="default"?"":re(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[t],o}function IC(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const AC={m:"margin",p:"padding"},LC={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Sg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$C=IC(e=>{if(e.length>2)if(Sg[e])e=Sg[e];else return[e];const[t,n]=e.split(""),r=AC[t],i=LC[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),lp=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],cp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...lp,...cp];function ta(e,t,n,r){var i;const o=(i=Gc(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function kx(e){return ta(e,"spacing",8)}function na(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 NC(e,t){return n=>e.reduce((r,i)=>(r[i]=na(t,n),r),{})}function FC(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=$C(n),o=NC(i,r),s=e[n];return fn(e,s,o)}function Cx(e,t){const n=kx(e.theme);return Object.keys(e).map(r=>FC(e,t,r,n)).reduce(us,{})}function Qe(e){return Cx(e,lp)}Qe.propTypes={};Qe.filterProps=lp;function Je(e){return Cx(e,cp)}Je.propTypes={};Je.filterProps=cp;function DC(e=8){if(e.mui)return e;const t=kx({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Yc(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?us(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function In(e){return typeof e!="number"?e:`${e}px solid`}const zC=Te({prop:"border",themeKey:"borders",transform:In}),BC=Te({prop:"borderTop",themeKey:"borders",transform:In}),jC=Te({prop:"borderRight",themeKey:"borders",transform:In}),WC=Te({prop:"borderBottom",themeKey:"borders",transform:In}),UC=Te({prop:"borderLeft",themeKey:"borders",transform:In}),VC=Te({prop:"borderColor",themeKey:"palette"}),HC=Te({prop:"borderTopColor",themeKey:"palette"}),KC=Te({prop:"borderRightColor",themeKey:"palette"}),GC=Te({prop:"borderBottomColor",themeKey:"palette"}),YC=Te({prop:"borderLeftColor",themeKey:"palette"}),qc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ta(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:na(t,r)});return fn(e,e.borderRadius,n)}return null};qc.propTypes={};qc.filterProps=["borderRadius"];Yc(zC,BC,jC,WC,UC,VC,HC,KC,GC,YC,qc);const Xc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ta(e.theme,"spacing",8),n=r=>({gap:na(t,r)});return fn(e,e.gap,n)}return null};Xc.propTypes={};Xc.filterProps=["gap"];const Qc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ta(e.theme,"spacing",8),n=r=>({columnGap:na(t,r)});return fn(e,e.columnGap,n)}return null};Qc.propTypes={};Qc.filterProps=["columnGap"];const Jc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ta(e.theme,"spacing",8),n=r=>({rowGap:na(t,r)});return fn(e,e.rowGap,n)}return null};Jc.propTypes={};Jc.filterProps=["rowGap"];const qC=Te({prop:"gridColumn"}),XC=Te({prop:"gridRow"}),QC=Te({prop:"gridAutoFlow"}),JC=Te({prop:"gridAutoColumns"}),ZC=Te({prop:"gridAutoRows"}),eE=Te({prop:"gridTemplateColumns"}),tE=Te({prop:"gridTemplateRows"}),nE=Te({prop:"gridTemplateAreas"}),rE=Te({prop:"gridArea"});Yc(Xc,Qc,Jc,qC,XC,QC,JC,ZC,eE,tE,nE,rE);function Zi(e,t){return t==="grey"?t:e}const iE=Te({prop:"color",themeKey:"palette",transform:Zi}),oE=Te({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zi}),sE=Te({prop:"backgroundColor",themeKey:"palette",transform:Zi});Yc(iE,oE,sE);function Vt(e){return e<=1&&e!==0?`${e*100}%`:e}const aE=Te({prop:"width",transform:Vt}),up=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||ap[n];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Vt(n)}};return fn(e,e.maxWidth,t)}return null};up.filterProps=["maxWidth"];const lE=Te({prop:"minWidth",transform:Vt}),cE=Te({prop:"height",transform:Vt}),uE=Te({prop:"maxHeight",transform:Vt}),dE=Te({prop:"minHeight",transform:Vt});Te({prop:"size",cssProperty:"width",transform:Vt});Te({prop:"size",cssProperty:"height",transform:Vt});const fE=Te({prop:"boxSizing"});Yc(aE,up,lE,cE,uE,dE,fE);const hE={border:{themeKey:"borders",transform:In},borderTop:{themeKey:"borders",transform:In},borderRight:{themeKey:"borders",transform:In},borderBottom:{themeKey:"borders",transform:In},borderLeft:{themeKey:"borders",transform:In},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:qc},color:{themeKey:"palette",transform:Zi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zi},backgroundColor:{themeKey:"palette",transform:Zi},p:{style:Je},pt:{style:Je},pr:{style:Je},pb:{style:Je},pl:{style:Je},px:{style:Je},py:{style:Je},padding:{style:Je},paddingTop:{style:Je},paddingRight:{style:Je},paddingBottom:{style:Je},paddingLeft:{style:Je},paddingX:{style:Je},paddingY:{style:Je},paddingInline:{style:Je},paddingInlineStart:{style:Je},paddingInlineEnd:{style:Je},paddingBlock:{style:Je},paddingBlockStart:{style:Je},paddingBlockEnd:{style:Je},m:{style:Qe},mt:{style:Qe},mr:{style:Qe},mb:{style:Qe},ml:{style:Qe},mx:{style:Qe},my:{style:Qe},margin:{style:Qe},marginTop:{style:Qe},marginRight:{style:Qe},marginBottom:{style:Qe},marginLeft:{style:Qe},marginX:{style:Qe},marginY:{style:Qe},marginInline:{style:Qe},marginInlineStart:{style:Qe},marginInlineEnd:{style:Qe},marginBlock:{style:Qe},marginBlockStart:{style:Qe},marginBlockEnd:{style:Qe},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:Xc},rowGap:{style:Jc},columnGap:{style:Qc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Vt},maxWidth:{style:up},minWidth:{transform:Vt},height:{transform:Vt},maxHeight:{transform:Vt},minHeight:{transform:Vt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Zc=hE;function pE(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function mE(e,t){return typeof e=="function"?e(t):e}function gE(){function e(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const f=Gc(i,c)||{};return d?d(s):fn(s,r,p=>{let m=Gl(f,u,p);return p===m&&typeof p=="string"&&(m=Gl(f,u,`${n}${p==="default"?"":re(p)}`,p)),l===!1?m:{[l]:m}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:Zc;function a(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=Sx(o.breakpoints),d=Object.keys(u);let f=u;return Object.keys(c).forEach(h=>{const p=mE(c[h],o);if(p!=null)if(typeof p=="object")if(s[h])f=us(f,e(h,p,o,s));else{const m=fn({theme:o},p,x=>({[h]:x}));pE(m,p)?f[h]=t({sx:p,theme:o}):f=us(f,m)}else f=us(f,e(h,p,o,s))}),wx(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const Ex=gE();Ex.filterProps=["sx"];const eu=Ex,yE=["breakpoints","palette","spacing","shape"];function tu(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=ee(e,yE),a=RC(n),l=DC(i);let c=Xt({breakpoints:a,direction:"ltr",components:{},palette:E({mode:"light"},r),spacing:l,shape:E({},TC,o)},s);return c=t.reduce((u,d)=>Xt(u,d),c),c.unstable_sxConfig=E({},Zc,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(d){return eu({sx:d,theme:this})},c}function vE(e){return Object.keys(e).length===0}function Px(e=null){const t=k.useContext(Hc);return!t||vE(t)?e:t}const xE=tu();function nu(e=xE){return Px(e)}function bE({styles:e,themeId:t,defaultTheme:n={}}){const r=nu(n),i=typeof e=="function"?e(t&&r[t]||r):e;return M.jsx(kC,{styles:i})}const _E=["sx"],SE=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Zc;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function dp(e){const{sx:t}=e,n=ee(e,_E),{systemProps:r,otherProps:i}=SE(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return qr(a)?E({},r,a):r}:o=E({},r,t),E({},i,{sx:o})}function Rx(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ta!=="theme"&&a!=="sx"&&a!=="as"})(eu);return k.forwardRef(function(l,c){const u=nu(n),d=dp(l),{className:f,component:h="div"}=d,p=ee(d,wE);return M.jsx(o,E({as:h,ref:c,className:se(f,i?i(r):r),theme:t&&u[t]||u},p))})}const CE=["variant"];function wg(e){return e.length===0}function Mx(e){const{variant:t}=e,n=ee(e,CE);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=wg(r)?e[i]:re(e[i]):r+=`${wg(r)?i:re(i)}${re(e[i].toString())}`}),r}const EE=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function PE(e){return Object.keys(e).length===0}function RE(e){return typeof e=="string"&&e.charCodeAt(0)>96}const ME=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,TE=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const o=Mx(i.props);r[o]=i.style}),r},OE=(e,t,n,r)=>{var i;const{ownerState:o={}}=e,s=[],a=n==null||(i=n.components)==null||(i=i[r])==null?void 0:i.variants;return a&&a.forEach(l=>{let c=!0;Object.keys(l.props).forEach(u=>{o[u]!==l.props[u]&&e[u]!==l.props[u]&&(c=!1)}),c&&s.push(t[Mx(l.props)])}),s};function ds(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const IE=tu(),AE=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Io({defaultTheme:e,theme:t,themeId:n}){return PE(t)?e:t[n]||t}function LE(e){return e?(t,n)=>n[e]:null}function Tx(e={}){const{themeId:t,defaultTheme:n=IE,rootShouldForwardProp:r=ds,slotShouldForwardProp:i=ds}=e,o=s=>eu(E({},s,{theme:Io(E({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{CC(s,_=>_.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:d,overridesResolver:f=LE(AE(c))}=a,h=ee(a,EE),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,m=d||!1;let x,g=ds;c==="Root"||c==="root"?g=r:c?g=i:RE(s)&&(g=void 0);const y=_x(s,E({shouldForwardProp:g,label:x},h)),v=(_,...S)=>{const R=S?S.map(P=>typeof P=="function"&&P.__emotion_real!==P?T=>P(E({},T,{theme:Io(E({},T,{defaultTheme:n,themeId:t}))})):P):[];let C=_;l&&f&&R.push(P=>{const T=Io(E({},P,{defaultTheme:n,themeId:t})),L=ME(l,T);if(L){const F={};return Object.entries(L).forEach(([$,N])=>{F[$]=typeof N=="function"?N(E({},P,{theme:T})):N}),f(P,F)}return null}),l&&!p&&R.push(P=>{const T=Io(E({},P,{defaultTheme:n,themeId:t}));return OE(P,TE(l,T),T,l)}),m||R.push(o);const b=R.length-S.length;if(Array.isArray(_)&&b>0){const P=new Array(b).fill("");C=[..._,...P],C.raw=[..._.raw,...P]}else typeof _=="function"&&_.__emotion_real!==_&&(C=P=>_(E({},P,{theme:Io(E({},P,{defaultTheme:n,themeId:t}))})));const w=y(C,...R);return s.muiName&&(w.muiName=s.muiName),w};return y.withConfig&&(v.withConfig=y.withConfig),v}}const $E=Tx(),NE=$E;function FE(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Qh(t.components[n].defaultProps,r)}function Ox({props:e,name:t,defaultTheme:n,themeId:r}){let i=nu(n);return r&&(i=i[r]||i),FE({theme:i,name:t,props:e})}function fp(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function DE(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,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function hi(e){if(e.type)return e;if(e.charAt(0)==="#")return hi(DE(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(rr(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=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(i)===-1)throw new Error(rr(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function ru(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):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 zE(e){e=hi(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(c,u=(c+n/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),ru({type:a,values:l})}function kg(e){e=hi(e);let t=e.type==="hsl"||e.type==="hsla"?hi(zE(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 BE(e,t){const n=kg(e),r=kg(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Gt(e,t){return e=hi(e),t=fp(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ru(e)}function jE(e,t){if(e=hi(e),t=fp(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 ru(e)}function WE(e,t){if(e=hi(e),t=fp(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 ru(e)}const UE=k.createContext(null),Ix=UE;function Ax(){return k.useContext(Ix)}const VE=typeof Symbol=="function"&&Symbol.for,HE=VE?Symbol.for("mui.nested"):"__THEME_NESTED__";function KE(e,t){return typeof t=="function"?t(e):E({},e,t)}function GE(e){const{children:t,theme:n}=e,r=Ax(),i=k.useMemo(()=>{const o=r===null?n:KE(r,n);return o!=null&&(o[HE]=r!==null),o},[n,r]);return M.jsx(Ix.Provider,{value:i,children:t})}const Cg={};function Eg(e,t,n,r=!1){return k.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const o=n(i),s=e?E({},t,{[e]:o}):o;return r?()=>s:s}return e?E({},t,{[e]:n}):E({},t,n)},[e,t,n,r])}function YE(e){const{children:t,theme:n,themeId:r}=e,i=Px(Cg),o=Ax()||Cg,s=Eg(r,i,n),a=Eg(r,o,n,!0);return M.jsx(GE,{theme:a,children:M.jsx(Hc.Provider,{value:s,children:t})})}const qE=["className","component","disableGutters","fixed","maxWidth","classes"],XE=tu(),QE=NE("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${re(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),JE=e=>Ox({props:e,name:"MuiContainer",defaultTheme:XE}),ZE=(e,t)=>{const n=l=>_e(t,l),{classes:r,fixed:i,disableGutters:o,maxWidth:s}=e,a={root:["root",s&&`maxWidth${re(String(s))}`,i&&"fixed",o&&"disableGutters"]};return Me(a,n,r)};function e2(e={}){const{createStyledComponent:t=QE,useThemeProps:n=JE,componentName:r="MuiContainer"}=e,i=t(({theme:s,ownerState:a})=>E({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,c)=>{const u=c,d=s.breakpoints.values[u];return d!==0&&(l[s.breakpoints.up(u)]={maxWidth:`${d}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>E({},a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}));return k.forwardRef(function(a,l){const c=n(a),{className:u,component:d="div",disableGutters:f=!1,fixed:h=!1,maxWidth:p="lg"}=c,m=ee(c,qE),x=E({},c,{component:d,disableGutters:f,fixed:h,maxWidth:p}),g=ZE(x,r);return M.jsx(i,E({as:d,ownerState:x,className:se(g.root,u),ref:l},m))})}function t2(e,t){return E({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const n2=["mode","contrastThreshold","tonalOffset"],Pg={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:$s.white,default:$s.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}},ad={text:{primary:$s.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:$s.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 Rg(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=WE(e.main,i):t==="dark"&&(e.dark=jE(e.main,o)))}function r2(e="light"){return e==="dark"?{main:Ci[200],light:Ci[50],dark:Ci[400]}:{main:Ci[700],light:Ci[400],dark:Ci[800]}}function i2(e="light"){return e==="dark"?{main:ki[200],light:ki[50],dark:ki[400]}:{main:ki[500],light:ki[300],dark:ki[700]}}function o2(e="light"){return e==="dark"?{main:wi[500],light:wi[300],dark:wi[700]}:{main:wi[700],light:wi[400],dark:wi[800]}}function s2(e="light"){return e==="dark"?{main:Ei[400],light:Ei[300],dark:Ei[700]}:{main:Ei[700],light:Ei[500],dark:Ei[900]}}function a2(e="light"){return e==="dark"?{main:Pi[400],light:Pi[300],dark:Pi[700]}:{main:Pi[800],light:Pi[500],dark:Pi[900]}}function l2(e="light"){return e==="dark"?{main:To[400],light:To[300],dark:To[700]}:{main:"#ed6c02",light:To[500],dark:To[900]}}function c2(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=ee(e,n2),o=e.primary||r2(t),s=e.secondary||i2(t),a=e.error||o2(t),l=e.info||s2(t),c=e.success||a2(t),u=e.warning||l2(t);function d(m){return BE(m,ad.text.primary)>=n?ad.text.primary:Pg.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=E({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(rr(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(rr(12,x?` (${x})`:"",JSON.stringify(m.main)));return Rg(m,"light",y,r),Rg(m,"dark",v,r),m.contrastText||(m.contrastText=d(m.main)),m},h={dark:ad,light:Pg};return Xt(E({common:E({},$s),mode:t,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:ak,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},h[t]),i)}const u2=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function d2(e){return Math.round(e*1e5)/1e5}const Mg={textTransform:"uppercase"},Tg='"Roboto", "Helvetica", "Arial", sans-serif';function f2(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Tg,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,f=ee(n,u2),h=i/14,p=d||(g=>`${g/c*h}rem`),m=(g,y,v,_,S)=>E({fontFamily:r,fontWeight:g,fontSize:p(y),lineHeight:v},r===Tg?{letterSpacing:`${d2(_/y)}em`}:{},S,u),x={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(a,14,1.75,.4,Mg),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Mg),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xt(E({htmlFontSize:c,pxToRem:p,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const h2=.2,p2=.14,m2=.12;function We(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${h2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${p2})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${m2})`].join(",")}const g2=["none",We(0,2,1,-1,0,1,1,0,0,1,3,0),We(0,3,1,-2,0,2,2,0,0,1,5,0),We(0,3,3,-2,0,3,4,0,0,1,8,0),We(0,2,4,-1,0,4,5,0,0,1,10,0),We(0,3,5,-1,0,5,8,0,0,1,14,0),We(0,3,5,-1,0,6,10,0,0,1,18,0),We(0,4,5,-2,0,7,10,1,0,2,16,1),We(0,5,5,-3,0,8,10,1,0,3,14,2),We(0,5,6,-3,0,9,12,1,0,3,16,2),We(0,6,6,-3,0,10,14,1,0,4,18,3),We(0,6,7,-4,0,11,15,1,0,4,20,3),We(0,7,8,-4,0,12,17,2,0,5,22,4),We(0,7,8,-4,0,13,19,2,0,5,24,4),We(0,7,9,-4,0,14,21,2,0,5,26,4),We(0,8,9,-5,0,15,22,2,0,6,28,5),We(0,8,10,-5,0,16,24,2,0,6,30,5),We(0,8,11,-5,0,17,26,2,0,6,32,5),We(0,9,11,-5,0,18,28,2,0,7,34,6),We(0,9,12,-6,0,19,29,2,0,7,36,6),We(0,10,13,-6,0,20,31,3,0,8,38,7),We(0,10,13,-6,0,21,33,3,0,8,40,7),We(0,10,14,-6,0,22,35,3,0,8,42,7),We(0,11,14,-7,0,23,36,3,0,9,44,8),We(0,11,15,-7,0,24,38,3,0,9,46,8)],y2=g2,v2=["duration","easing","delay"],x2={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)"},b2={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Og(e){return`${Math.round(e)}ms`}function _2(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function S2(e){const t=E({},x2,e.easing),n=E({},b2,e.duration);return E({getAutoHeightDuration:_2,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return ee(o,v2),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof s=="string"?s:Og(s)} ${a} ${typeof l=="string"?l:Og(l)}`).join(",")}},e,{easing:t,duration:n})}const w2={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},k2=w2,C2=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function hp(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=ee(e,C2);if(e.vars)throw new Error(rr(18));const a=c2(r),l=tu(e);let c=Xt(l,{mixins:t2(l.breakpoints,n),palette:a,shadows:y2.slice(),typography:f2(a,o),transitions:S2(i),zIndex:E({},k2)});return c=Xt(c,s),c=t.reduce((u,d)=>Xt(u,d),c),c.unstable_sxConfig=E({},Zc,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(d){return eu({sx:d,theme:this})},c}function Ig(e){return String(parseFloat(e)).length===String(e).length}function E2(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Fr(e){return parseFloat(e)}function P2(e){return(t,n)=>{const r=E2(t);if(r===n)return t;let i=Fr(t);r!=="px"&&(r==="em"||r==="rem")&&(i=Fr(t)*Fr(e));let o=i;if(n!=="px")if(n==="em")o=i/Fr(e);else if(n==="rem")o=i/Fr(e);else return t;return parseFloat(o.toFixed(5))+n}}function R2({size:e,grid:t}){const n=e-e%t,r=n+t;return e-n{let c=t+a*l;o!==null&&(c=o(c)),s[`@media (min-width:${l}px)`]={[e]:`${Math.round(c*1e4)/1e4}${r}`}}),s}function O2(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:r=!1,factor:i=2,variants:o=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,s=E({},e);s.typography=E({},s.typography);const a=s.typography,l=P2(a.htmlFontSize),c=n.map(u=>s.breakpoints.values[u]);return o.forEach(u=>{const d=a[u],f=parseFloat(l(d.fontSize,"rem"));if(f<=1)return;const h=f,p=1+(h-1)/i;let{lineHeight:m}=d;if(!Ig(m)&&!r)throw new Error(rr(6));Ig(m)||(m=parseFloat(l(m,"rem"))/parseFloat(f));let x=null;r||(x=g=>R2({size:g,grid:M2({pixels:4,lineHeight:m,htmlFontSize:a.htmlFontSize})})),a[u]=E({},d,T2({cssProperty:"fontSize",min:p,max:h,unit:"rem",breakpoints:c,transform:x}))}),s}const I2=hp(),iu=I2;function ou(){const e=nu(iu);return e[fi]||e}function $e({props:e,name:t}){return Ox({props:e,name:t,defaultTheme:iu,themeId:fi})}const kn=e=>ds(e)&&e!=="classes",A2=ds,L2=Tx({themeId:fi,defaultTheme:iu,rootShouldForwardProp:kn}),ne=L2,$2=["theme"];function N2(e){let{theme:t}=e,n=ee(e,$2);const r=t[fi];return M.jsx(YE,E({},n,{themeId:r?fi:void 0,theme:r||t}))}const F2=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Ag=F2;function D2(e){return _e("MuiSvgIcon",e)}we("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const z2=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],B2=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${re(t)}`,`fontSize${re(n)}`]};return Me(i,D2,r)},j2=ne("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${re(n.color)}`],t[`fontSize${re(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,s,a,l,c,u,d,f,h,p;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:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:(d=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?d:{action:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.active,disabled:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[t.color]}}),Lx=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,h=ee(r,z2),p=k.isValidElement(i)&&i.type==="svg",m=E({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:p}),x={};u||(x.viewBox=f);const g=B2(m);return M.jsxs(j2,E({as:a,className:se(g.root,o),focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},x,h,p&&i.props,{ownerState:m,children:[p?i.props.children:i,d?M.jsx("title",{children:d}):null]}))});Lx.muiName="SvgIcon";const Lg=Lx;function ra(e,t){function n(r,i){return M.jsx(Lg,E({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=Lg.muiName,k.memo(k.forwardRef(n))}const W2={configure:e=>{Jh.configure(e)}},U2=Object.freeze(Object.defineProperty({__proto__:null,capitalize:re,createChainedFunction:Cf,createSvgIcon:ra,debounce:Xh,deprecatedPropType:lk,isMuiElement:ol,ownerDocument:Bt,ownerWindow:Tr,requirePropFactory:ck,setRef:Vl,unstable_ClassNameGenerator:W2,unstable_useEnhancedEffect:Or,unstable_useId:ex,unsupportedProp:fk,useControlled:Hl,useEventCallback:Zr,useForkRef:Et,useIsFocusVisible:tx},Symbol.toStringTag,{value:"Module"}));var Ne={};/** + */function _x(e,t){return Rf(e,t)}const CC=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},EC=["values","unit","step"],PC=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)=>E({},n,{[r.key]:r.val}),{})};function RC(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=ee(e,EC),o=PC(t),s=Object.keys(o);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function c(f,h){const p=s.indexOf(h);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(p!==-1&&typeof t[s[p]]=="number"?t[s[p]]:h)-r/100}${n})`}function u(f){return s.indexOf(f)+1`@media (min-width:${sp[e]}px)`};function fn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||bg;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||bg;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||sp).indexOf(a)!==-1){const l=o.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function Sx(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function wx(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function eD(e,...t){const n=Sx(e),r=[n,...t].reduce((i,o)=>Xt(i,o),{});return wx(Object.keys(n),r)}function OC(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((i,o)=>{o{e[i]!=null&&(n[i]=!0)}),n}function Hc({values:e,breakpoints:t,base:n}){const r=n||OC(e,t),i=Object.keys(r);if(i.length===0)return e;let o;return i.reduce((s,a,l)=>(Array.isArray(e)?(s[a]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[o],o=a):s[a]=e,s),{})}function Kc(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Gl(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Kc(e,n)||r,t&&(i=t(i,r,e)),i}function Te(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,c=Kc(l,r)||{};return fn(s,a,d=>{let f=Gl(c,i,d);return d===f&&typeof d=="string"&&(f=Gl(c,i,`${t}${d==="default"?"":re(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[t],o}function IC(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const AC={m:"margin",p:"padding"},LC={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_g={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$C=IC(e=>{if(e.length>2)if(_g[e])e=_g[e];else return[e];const[t,n]=e.split(""),r=AC[t],i=LC[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),ap=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],lp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ap,...lp];function ta(e,t,n,r){var i;const o=(i=Kc(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function kx(e){return ta(e,"spacing",8)}function na(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 NC(e,t){return n=>e.reduce((r,i)=>(r[i]=na(t,n),r),{})}function FC(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=$C(n),o=NC(i,r),s=e[n];return fn(e,s,o)}function Cx(e,t){const n=kx(e.theme);return Object.keys(e).map(r=>FC(e,t,r,n)).reduce(us,{})}function Qe(e){return Cx(e,ap)}Qe.propTypes={};Qe.filterProps=ap;function Je(e){return Cx(e,lp)}Je.propTypes={};Je.filterProps=lp;function DC(e=8){if(e.mui)return e;const t=kx({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Gc(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?us(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function In(e){return typeof e!="number"?e:`${e}px solid`}const zC=Te({prop:"border",themeKey:"borders",transform:In}),BC=Te({prop:"borderTop",themeKey:"borders",transform:In}),jC=Te({prop:"borderRight",themeKey:"borders",transform:In}),WC=Te({prop:"borderBottom",themeKey:"borders",transform:In}),UC=Te({prop:"borderLeft",themeKey:"borders",transform:In}),VC=Te({prop:"borderColor",themeKey:"palette"}),HC=Te({prop:"borderTopColor",themeKey:"palette"}),KC=Te({prop:"borderRightColor",themeKey:"palette"}),GC=Te({prop:"borderBottomColor",themeKey:"palette"}),YC=Te({prop:"borderLeftColor",themeKey:"palette"}),Yc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ta(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:na(t,r)});return fn(e,e.borderRadius,n)}return null};Yc.propTypes={};Yc.filterProps=["borderRadius"];Gc(zC,BC,jC,WC,UC,VC,HC,KC,GC,YC,Yc);const qc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ta(e.theme,"spacing",8),n=r=>({gap:na(t,r)});return fn(e,e.gap,n)}return null};qc.propTypes={};qc.filterProps=["gap"];const Xc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ta(e.theme,"spacing",8),n=r=>({columnGap:na(t,r)});return fn(e,e.columnGap,n)}return null};Xc.propTypes={};Xc.filterProps=["columnGap"];const Qc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ta(e.theme,"spacing",8),n=r=>({rowGap:na(t,r)});return fn(e,e.rowGap,n)}return null};Qc.propTypes={};Qc.filterProps=["rowGap"];const qC=Te({prop:"gridColumn"}),XC=Te({prop:"gridRow"}),QC=Te({prop:"gridAutoFlow"}),JC=Te({prop:"gridAutoColumns"}),ZC=Te({prop:"gridAutoRows"}),eE=Te({prop:"gridTemplateColumns"}),tE=Te({prop:"gridTemplateRows"}),nE=Te({prop:"gridTemplateAreas"}),rE=Te({prop:"gridArea"});Gc(qc,Xc,Qc,qC,XC,QC,JC,ZC,eE,tE,nE,rE);function Zi(e,t){return t==="grey"?t:e}const iE=Te({prop:"color",themeKey:"palette",transform:Zi}),oE=Te({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zi}),sE=Te({prop:"backgroundColor",themeKey:"palette",transform:Zi});Gc(iE,oE,sE);function Vt(e){return e<=1&&e!==0?`${e*100}%`:e}const aE=Te({prop:"width",transform:Vt}),cp=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||sp[n];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Vt(n)}};return fn(e,e.maxWidth,t)}return null};cp.filterProps=["maxWidth"];const lE=Te({prop:"minWidth",transform:Vt}),cE=Te({prop:"height",transform:Vt}),uE=Te({prop:"maxHeight",transform:Vt}),dE=Te({prop:"minHeight",transform:Vt});Te({prop:"size",cssProperty:"width",transform:Vt});Te({prop:"size",cssProperty:"height",transform:Vt});const fE=Te({prop:"boxSizing"});Gc(aE,cp,lE,cE,uE,dE,fE);const hE={border:{themeKey:"borders",transform:In},borderTop:{themeKey:"borders",transform:In},borderRight:{themeKey:"borders",transform:In},borderBottom:{themeKey:"borders",transform:In},borderLeft:{themeKey:"borders",transform:In},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Yc},color:{themeKey:"palette",transform:Zi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zi},backgroundColor:{themeKey:"palette",transform:Zi},p:{style:Je},pt:{style:Je},pr:{style:Je},pb:{style:Je},pl:{style:Je},px:{style:Je},py:{style:Je},padding:{style:Je},paddingTop:{style:Je},paddingRight:{style:Je},paddingBottom:{style:Je},paddingLeft:{style:Je},paddingX:{style:Je},paddingY:{style:Je},paddingInline:{style:Je},paddingInlineStart:{style:Je},paddingInlineEnd:{style:Je},paddingBlock:{style:Je},paddingBlockStart:{style:Je},paddingBlockEnd:{style:Je},m:{style:Qe},mt:{style:Qe},mr:{style:Qe},mb:{style:Qe},ml:{style:Qe},mx:{style:Qe},my:{style:Qe},margin:{style:Qe},marginTop:{style:Qe},marginRight:{style:Qe},marginBottom:{style:Qe},marginLeft:{style:Qe},marginX:{style:Qe},marginY:{style:Qe},marginInline:{style:Qe},marginInlineStart:{style:Qe},marginInlineEnd:{style:Qe},marginBlock:{style:Qe},marginBlockStart:{style:Qe},marginBlockEnd:{style:Qe},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:qc},rowGap:{style:Qc},columnGap:{style:Xc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Vt},maxWidth:{style:cp},minWidth:{transform:Vt},height:{transform:Vt},maxHeight:{transform:Vt},minHeight:{transform:Vt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Jc=hE;function pE(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function mE(e,t){return typeof e=="function"?e(t):e}function gE(){function e(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const f=Kc(i,c)||{};return d?d(s):fn(s,r,p=>{let m=Gl(f,u,p);return p===m&&typeof p=="string"&&(m=Gl(f,u,`${n}${p==="default"?"":re(p)}`,p)),l===!1?m:{[l]:m}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:Jc;function a(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=Sx(o.breakpoints),d=Object.keys(u);let f=u;return Object.keys(c).forEach(h=>{const p=mE(c[h],o);if(p!=null)if(typeof p=="object")if(s[h])f=us(f,e(h,p,o,s));else{const m=fn({theme:o},p,x=>({[h]:x}));pE(m,p)?f[h]=t({sx:p,theme:o}):f=us(f,m)}else f=us(f,e(h,p,o,s))}),wx(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const Ex=gE();Ex.filterProps=["sx"];const Zc=Ex,yE=["breakpoints","palette","spacing","shape"];function eu(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=ee(e,yE),a=RC(n),l=DC(i);let c=Xt({breakpoints:a,direction:"ltr",components:{},palette:E({mode:"light"},r),spacing:l,shape:E({},TC,o)},s);return c=t.reduce((u,d)=>Xt(u,d),c),c.unstable_sxConfig=E({},Jc,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(d){return Zc({sx:d,theme:this})},c}function vE(e){return Object.keys(e).length===0}function Px(e=null){const t=k.useContext(Vc);return!t||vE(t)?e:t}const xE=eu();function tu(e=xE){return Px(e)}function bE({styles:e,themeId:t,defaultTheme:n={}}){const r=tu(n),i=typeof e=="function"?e(t&&r[t]||r):e;return M.jsx(kC,{styles:i})}const _E=["sx"],SE=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Jc;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function up(e){const{sx:t}=e,n=ee(e,_E),{systemProps:r,otherProps:i}=SE(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return qr(a)?E({},r,a):r}:o=E({},r,t),E({},i,{sx:o})}function Rx(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ta!=="theme"&&a!=="sx"&&a!=="as"})(Zc);return k.forwardRef(function(l,c){const u=tu(n),d=up(l),{className:f,component:h="div"}=d,p=ee(d,wE);return M.jsx(o,E({as:h,ref:c,className:se(f,i?i(r):r),theme:t&&u[t]||u},p))})}const CE=["variant"];function Sg(e){return e.length===0}function Mx(e){const{variant:t}=e,n=ee(e,CE);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Sg(r)?e[i]:re(e[i]):r+=`${Sg(r)?i:re(i)}${re(e[i].toString())}`}),r}const EE=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function PE(e){return Object.keys(e).length===0}function RE(e){return typeof e=="string"&&e.charCodeAt(0)>96}const ME=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,TE=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const o=Mx(i.props);r[o]=i.style}),r},OE=(e,t,n,r)=>{var i;const{ownerState:o={}}=e,s=[],a=n==null||(i=n.components)==null||(i=i[r])==null?void 0:i.variants;return a&&a.forEach(l=>{let c=!0;Object.keys(l.props).forEach(u=>{o[u]!==l.props[u]&&e[u]!==l.props[u]&&(c=!1)}),c&&s.push(t[Mx(l.props)])}),s};function ds(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const IE=eu(),AE=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Io({defaultTheme:e,theme:t,themeId:n}){return PE(t)?e:t[n]||t}function LE(e){return e?(t,n)=>n[e]:null}function Tx(e={}){const{themeId:t,defaultTheme:n=IE,rootShouldForwardProp:r=ds,slotShouldForwardProp:i=ds}=e,o=s=>Zc(E({},s,{theme:Io(E({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{CC(s,_=>_.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:d,overridesResolver:f=LE(AE(c))}=a,h=ee(a,EE),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,m=d||!1;let x,g=ds;c==="Root"||c==="root"?g=r:c?g=i:RE(s)&&(g=void 0);const y=_x(s,E({shouldForwardProp:g,label:x},h)),v=(_,...S)=>{const R=S?S.map(P=>typeof P=="function"&&P.__emotion_real!==P?T=>P(E({},T,{theme:Io(E({},T,{defaultTheme:n,themeId:t}))})):P):[];let C=_;l&&f&&R.push(P=>{const T=Io(E({},P,{defaultTheme:n,themeId:t})),L=ME(l,T);if(L){const F={};return Object.entries(L).forEach(([$,N])=>{F[$]=typeof N=="function"?N(E({},P,{theme:T})):N}),f(P,F)}return null}),l&&!p&&R.push(P=>{const T=Io(E({},P,{defaultTheme:n,themeId:t}));return OE(P,TE(l,T),T,l)}),m||R.push(o);const b=R.length-S.length;if(Array.isArray(_)&&b>0){const P=new Array(b).fill("");C=[..._,...P],C.raw=[..._.raw,...P]}else typeof _=="function"&&_.__emotion_real!==_&&(C=P=>_(E({},P,{theme:Io(E({},P,{defaultTheme:n,themeId:t}))})));const w=y(C,...R);return s.muiName&&(w.muiName=s.muiName),w};return y.withConfig&&(v.withConfig=y.withConfig),v}}const $E=Tx(),NE=$E;function FE(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Xh(t.components[n].defaultProps,r)}function Ox({props:e,name:t,defaultTheme:n,themeId:r}){let i=tu(n);return r&&(i=i[r]||i),FE({theme:i,name:t,props:e})}function dp(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function DE(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,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function hi(e){if(e.type)return e;if(e.charAt(0)==="#")return hi(DE(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(rr(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=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(i)===-1)throw new Error(rr(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function nu(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):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 zE(e){e=hi(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(c,u=(c+n/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),nu({type:a,values:l})}function wg(e){e=hi(e);let t=e.type==="hsl"||e.type==="hsla"?hi(zE(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 BE(e,t){const n=wg(e),r=wg(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Gt(e,t){return e=hi(e),t=dp(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,nu(e)}function jE(e,t){if(e=hi(e),t=dp(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 nu(e)}function WE(e,t){if(e=hi(e),t=dp(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 nu(e)}const UE=k.createContext(null),Ix=UE;function Ax(){return k.useContext(Ix)}const VE=typeof Symbol=="function"&&Symbol.for,HE=VE?Symbol.for("mui.nested"):"__THEME_NESTED__";function KE(e,t){return typeof t=="function"?t(e):E({},e,t)}function GE(e){const{children:t,theme:n}=e,r=Ax(),i=k.useMemo(()=>{const o=r===null?n:KE(r,n);return o!=null&&(o[HE]=r!==null),o},[n,r]);return M.jsx(Ix.Provider,{value:i,children:t})}const kg={};function Cg(e,t,n,r=!1){return k.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const o=n(i),s=e?E({},t,{[e]:o}):o;return r?()=>s:s}return e?E({},t,{[e]:n}):E({},t,n)},[e,t,n,r])}function YE(e){const{children:t,theme:n,themeId:r}=e,i=Px(kg),o=Ax()||kg,s=Cg(r,i,n),a=Cg(r,o,n,!0);return M.jsx(GE,{theme:a,children:M.jsx(Vc.Provider,{value:s,children:t})})}const qE=["className","component","disableGutters","fixed","maxWidth","classes"],XE=eu(),QE=NE("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${re(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),JE=e=>Ox({props:e,name:"MuiContainer",defaultTheme:XE}),ZE=(e,t)=>{const n=l=>_e(t,l),{classes:r,fixed:i,disableGutters:o,maxWidth:s}=e,a={root:["root",s&&`maxWidth${re(String(s))}`,i&&"fixed",o&&"disableGutters"]};return Me(a,n,r)};function e2(e={}){const{createStyledComponent:t=QE,useThemeProps:n=JE,componentName:r="MuiContainer"}=e,i=t(({theme:s,ownerState:a})=>E({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,c)=>{const u=c,d=s.breakpoints.values[u];return d!==0&&(l[s.breakpoints.up(u)]={maxWidth:`${d}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>E({},a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}));return k.forwardRef(function(a,l){const c=n(a),{className:u,component:d="div",disableGutters:f=!1,fixed:h=!1,maxWidth:p="lg"}=c,m=ee(c,qE),x=E({},c,{component:d,disableGutters:f,fixed:h,maxWidth:p}),g=ZE(x,r);return M.jsx(i,E({as:d,ownerState:x,className:se(g.root,u),ref:l},m))})}function t2(e,t){return E({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const n2=["mode","contrastThreshold","tonalOffset"],Eg={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:$s.white,default:$s.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}},sd={text:{primary:$s.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:$s.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 Pg(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=WE(e.main,i):t==="dark"&&(e.dark=jE(e.main,o)))}function r2(e="light"){return e==="dark"?{main:Ci[200],light:Ci[50],dark:Ci[400]}:{main:Ci[700],light:Ci[400],dark:Ci[800]}}function i2(e="light"){return e==="dark"?{main:ki[200],light:ki[50],dark:ki[400]}:{main:ki[500],light:ki[300],dark:ki[700]}}function o2(e="light"){return e==="dark"?{main:wi[500],light:wi[300],dark:wi[700]}:{main:wi[700],light:wi[400],dark:wi[800]}}function s2(e="light"){return e==="dark"?{main:Ei[400],light:Ei[300],dark:Ei[700]}:{main:Ei[700],light:Ei[500],dark:Ei[900]}}function a2(e="light"){return e==="dark"?{main:Pi[400],light:Pi[300],dark:Pi[700]}:{main:Pi[800],light:Pi[500],dark:Pi[900]}}function l2(e="light"){return e==="dark"?{main:To[400],light:To[300],dark:To[700]}:{main:"#ed6c02",light:To[500],dark:To[900]}}function c2(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=ee(e,n2),o=e.primary||r2(t),s=e.secondary||i2(t),a=e.error||o2(t),l=e.info||s2(t),c=e.success||a2(t),u=e.warning||l2(t);function d(m){return BE(m,sd.text.primary)>=n?sd.text.primary:Eg.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=E({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(rr(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(rr(12,x?` (${x})`:"",JSON.stringify(m.main)));return Pg(m,"light",y,r),Pg(m,"dark",v,r),m.contrastText||(m.contrastText=d(m.main)),m},h={dark:sd,light:Eg};return Xt(E({common:E({},$s),mode:t,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:ak,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},h[t]),i)}const u2=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function d2(e){return Math.round(e*1e5)/1e5}const Rg={textTransform:"uppercase"},Mg='"Roboto", "Helvetica", "Arial", sans-serif';function f2(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Mg,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,f=ee(n,u2),h=i/14,p=d||(g=>`${g/c*h}rem`),m=(g,y,v,_,S)=>E({fontFamily:r,fontWeight:g,fontSize:p(y),lineHeight:v},r===Mg?{letterSpacing:`${d2(_/y)}em`}:{},S,u),x={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(a,14,1.75,.4,Rg),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Rg),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xt(E({htmlFontSize:c,pxToRem:p,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const h2=.2,p2=.14,m2=.12;function We(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${h2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${p2})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${m2})`].join(",")}const g2=["none",We(0,2,1,-1,0,1,1,0,0,1,3,0),We(0,3,1,-2,0,2,2,0,0,1,5,0),We(0,3,3,-2,0,3,4,0,0,1,8,0),We(0,2,4,-1,0,4,5,0,0,1,10,0),We(0,3,5,-1,0,5,8,0,0,1,14,0),We(0,3,5,-1,0,6,10,0,0,1,18,0),We(0,4,5,-2,0,7,10,1,0,2,16,1),We(0,5,5,-3,0,8,10,1,0,3,14,2),We(0,5,6,-3,0,9,12,1,0,3,16,2),We(0,6,6,-3,0,10,14,1,0,4,18,3),We(0,6,7,-4,0,11,15,1,0,4,20,3),We(0,7,8,-4,0,12,17,2,0,5,22,4),We(0,7,8,-4,0,13,19,2,0,5,24,4),We(0,7,9,-4,0,14,21,2,0,5,26,4),We(0,8,9,-5,0,15,22,2,0,6,28,5),We(0,8,10,-5,0,16,24,2,0,6,30,5),We(0,8,11,-5,0,17,26,2,0,6,32,5),We(0,9,11,-5,0,18,28,2,0,7,34,6),We(0,9,12,-6,0,19,29,2,0,7,36,6),We(0,10,13,-6,0,20,31,3,0,8,38,7),We(0,10,13,-6,0,21,33,3,0,8,40,7),We(0,10,14,-6,0,22,35,3,0,8,42,7),We(0,11,14,-7,0,23,36,3,0,9,44,8),We(0,11,15,-7,0,24,38,3,0,9,46,8)],y2=g2,v2=["duration","easing","delay"],x2={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)"},b2={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Tg(e){return`${Math.round(e)}ms`}function _2(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function S2(e){const t=E({},x2,e.easing),n=E({},b2,e.duration);return E({getAutoHeightDuration:_2,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return ee(o,v2),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof s=="string"?s:Tg(s)} ${a} ${typeof l=="string"?l:Tg(l)}`).join(",")}},e,{easing:t,duration:n})}const w2={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},k2=w2,C2=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function fp(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=ee(e,C2);if(e.vars)throw new Error(rr(18));const a=c2(r),l=eu(e);let c=Xt(l,{mixins:t2(l.breakpoints,n),palette:a,shadows:y2.slice(),typography:f2(a,o),transitions:S2(i),zIndex:E({},k2)});return c=Xt(c,s),c=t.reduce((u,d)=>Xt(u,d),c),c.unstable_sxConfig=E({},Jc,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(d){return Zc({sx:d,theme:this})},c}function Og(e){return String(parseFloat(e)).length===String(e).length}function E2(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Fr(e){return parseFloat(e)}function P2(e){return(t,n)=>{const r=E2(t);if(r===n)return t;let i=Fr(t);r!=="px"&&(r==="em"||r==="rem")&&(i=Fr(t)*Fr(e));let o=i;if(n!=="px")if(n==="em")o=i/Fr(e);else if(n==="rem")o=i/Fr(e);else return t;return parseFloat(o.toFixed(5))+n}}function R2({size:e,grid:t}){const n=e-e%t,r=n+t;return e-n{let c=t+a*l;o!==null&&(c=o(c)),s[`@media (min-width:${l}px)`]={[e]:`${Math.round(c*1e4)/1e4}${r}`}}),s}function O2(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:r=!1,factor:i=2,variants:o=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,s=E({},e);s.typography=E({},s.typography);const a=s.typography,l=P2(a.htmlFontSize),c=n.map(u=>s.breakpoints.values[u]);return o.forEach(u=>{const d=a[u],f=parseFloat(l(d.fontSize,"rem"));if(f<=1)return;const h=f,p=1+(h-1)/i;let{lineHeight:m}=d;if(!Og(m)&&!r)throw new Error(rr(6));Og(m)||(m=parseFloat(l(m,"rem"))/parseFloat(f));let x=null;r||(x=g=>R2({size:g,grid:M2({pixels:4,lineHeight:m,htmlFontSize:a.htmlFontSize})})),a[u]=E({},d,T2({cssProperty:"fontSize",min:p,max:h,unit:"rem",breakpoints:c,transform:x}))}),s}const I2=fp(),ru=I2;function iu(){const e=tu(ru);return e[fi]||e}function $e({props:e,name:t}){return Ox({props:e,name:t,defaultTheme:ru,themeId:fi})}const kn=e=>ds(e)&&e!=="classes",A2=ds,L2=Tx({themeId:fi,defaultTheme:ru,rootShouldForwardProp:kn}),ne=L2,$2=["theme"];function N2(e){let{theme:t}=e,n=ee(e,$2);const r=t[fi];return M.jsx(YE,E({},n,{themeId:r?fi:void 0,theme:r||t}))}const F2=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Ig=F2;function D2(e){return _e("MuiSvgIcon",e)}we("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const z2=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],B2=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${re(t)}`,`fontSize${re(n)}`]};return Me(i,D2,r)},j2=ne("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${re(n.color)}`],t[`fontSize${re(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,s,a,l,c,u,d,f,h,p;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:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:(d=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?d:{action:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.active,disabled:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[t.color]}}),Lx=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,h=ee(r,z2),p=k.isValidElement(i)&&i.type==="svg",m=E({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:p}),x={};u||(x.viewBox=f);const g=B2(m);return M.jsxs(j2,E({as:a,className:se(g.root,o),focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},x,h,p&&i.props,{ownerState:m,children:[p?i.props.children:i,d?M.jsx("title",{children:d}):null]}))});Lx.muiName="SvgIcon";const Ag=Lx;function ra(e,t){function n(r,i){return M.jsx(Ag,E({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=Ag.muiName,k.memo(k.forwardRef(n))}const W2={configure:e=>{Qh.configure(e)}},U2=Object.freeze(Object.defineProperty({__proto__:null,capitalize:re,createChainedFunction:kf,createSvgIcon:ra,debounce:qh,deprecatedPropType:lk,isMuiElement:ol,ownerDocument:Bt,ownerWindow:Tr,requirePropFactory:ck,setRef:Vl,unstable_ClassNameGenerator:W2,unstable_useEnhancedEffect:Or,unstable_useId:ex,unsupportedProp:fk,useControlled:Hl,useEventCallback:Zr,useForkRef:Et,useIsFocusVisible:tx},Symbol.toStringTag,{value:"Module"}));var Ne={};/** * @license React * react-is.production.min.js * @@ -58,7 +58,7 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var pp=Symbol.for("react.element"),mp=Symbol.for("react.portal"),su=Symbol.for("react.fragment"),au=Symbol.for("react.strict_mode"),lu=Symbol.for("react.profiler"),cu=Symbol.for("react.provider"),uu=Symbol.for("react.context"),V2=Symbol.for("react.server_context"),du=Symbol.for("react.forward_ref"),fu=Symbol.for("react.suspense"),hu=Symbol.for("react.suspense_list"),pu=Symbol.for("react.memo"),mu=Symbol.for("react.lazy"),H2=Symbol.for("react.offscreen"),$x;$x=Symbol.for("react.module.reference");function pn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case pp:switch(e=e.type,e){case su:case lu:case au:case fu:case hu:return e;default:switch(e=e&&e.$$typeof,e){case V2:case uu:case du:case mu:case pu:case cu:return e;default:return t}}case mp:return t}}}Ne.ContextConsumer=uu;Ne.ContextProvider=cu;Ne.Element=pp;Ne.ForwardRef=du;Ne.Fragment=su;Ne.Lazy=mu;Ne.Memo=pu;Ne.Portal=mp;Ne.Profiler=lu;Ne.StrictMode=au;Ne.Suspense=fu;Ne.SuspenseList=hu;Ne.isAsyncMode=function(){return!1};Ne.isConcurrentMode=function(){return!1};Ne.isContextConsumer=function(e){return pn(e)===uu};Ne.isContextProvider=function(e){return pn(e)===cu};Ne.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===pp};Ne.isForwardRef=function(e){return pn(e)===du};Ne.isFragment=function(e){return pn(e)===su};Ne.isLazy=function(e){return pn(e)===mu};Ne.isMemo=function(e){return pn(e)===pu};Ne.isPortal=function(e){return pn(e)===mp};Ne.isProfiler=function(e){return pn(e)===lu};Ne.isStrictMode=function(e){return pn(e)===au};Ne.isSuspense=function(e){return pn(e)===fu};Ne.isSuspenseList=function(e){return pn(e)===hu};Ne.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===su||e===lu||e===au||e===fu||e===hu||e===H2||typeof e=="object"&&e!==null&&(e.$$typeof===mu||e.$$typeof===pu||e.$$typeof===cu||e.$$typeof===uu||e.$$typeof===du||e.$$typeof===$x||e.getModuleId!==void 0)};Ne.typeOf=pn;function Tf(e,t){return Tf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Tf(e,t)}function Nx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Tf(e,t)}const $g={disabled:!1},Yl=Ht.createContext(null);var K2=function(t){return t.scrollTop},Yo="unmounted",Hr="exited",Kr="entering",Ii="entered",Of="exiting",or=function(e){Nx(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=Hr,o.appearStatus=Kr):l=Ii:r.unmountOnExit||r.mountOnEnter?l=Yo:l=Hr,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Yo?{status:Hr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==Kr&&s!==Ii&&(o=Kr):(s===Kr||s===Ii)&&(o=Of)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Kr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Ca.findDOMNode(this);s&&K2(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Hr&&this.setState({status:Yo})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[Ca.findDOMNode(this),a],c=l[0],u=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||$g.disabled){this.safeSetState({status:Ii},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Kr},function(){o.props.onEntering(c,u),o.onTransitionEnd(f,function(){o.safeSetState({status:Ii},function(){o.props.onEntered(c,u)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Ca.findDOMNode(this);if(!o||$g.disabled){this.safeSetState({status:Hr},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Of},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Hr},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Ca.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Yo)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=ee(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ht.createElement(Yl.Provider,{value:null},typeof s=="function"?s(i,a):Ht.cloneElement(Ht.Children.only(s),a))},t}(Ht.Component);or.contextType=Yl;or.propTypes={};function Ri(){}or.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ri,onEntering:Ri,onEntered:Ri,onExit:Ri,onExiting:Ri,onExited:Ri};or.UNMOUNTED=Yo;or.EXITED=Hr;or.ENTERING=Kr;or.ENTERED=Ii;or.EXITING=Of;const Fx=or;function G2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gp(e,t){var n=function(o){return t&&k.isValidElement(o)?t(o):o},r=Object.create(null);return e&&k.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function Y2(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in t){if(r[l])for(s=0;se.scrollTop;function ql(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}function eP(e){return _e("MuiPaper",e)}we("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 tP=["className","component","elevation","square","variant"],nP=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Me(o,eP,i)},rP=ne("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 E({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"&&E({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Gt("#fff",Ag(t.elevation))}, ${Gt("#fff",Ag(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),iP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,c=ee(r,tP),u=E({},r,{component:o,elevation:s,square:a,variant:l}),d=nP(u);return M.jsx(rP,E({as:o,ownerState:u,className:se(d.root,i),ref:n},c))}),zx=iP;function oP(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:c}=e,[u,d]=k.useState(!1),f=se(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},p=se(n.child,u&&n.childLeaving,r&&n.childPulsate);return!a&&!u&&d(!0),k.useEffect(()=>{if(!a&&l!=null){const m=setTimeout(l,c);return()=>{clearTimeout(m)}}},[l,a,c]),M.jsx("span",{className:f,style:h,children:M.jsx("span",{className:p})})}const sP=we("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),rn=sP,aP=["center","classes","className"];let gu=e=>e,Ng,Fg,Dg,zg;const If=550,lP=80,cP=sp(Ng||(Ng=gu` + */var hp=Symbol.for("react.element"),pp=Symbol.for("react.portal"),ou=Symbol.for("react.fragment"),su=Symbol.for("react.strict_mode"),au=Symbol.for("react.profiler"),lu=Symbol.for("react.provider"),cu=Symbol.for("react.context"),V2=Symbol.for("react.server_context"),uu=Symbol.for("react.forward_ref"),du=Symbol.for("react.suspense"),fu=Symbol.for("react.suspense_list"),hu=Symbol.for("react.memo"),pu=Symbol.for("react.lazy"),H2=Symbol.for("react.offscreen"),$x;$x=Symbol.for("react.module.reference");function pn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case hp:switch(e=e.type,e){case ou:case au:case su:case du:case fu:return e;default:switch(e=e&&e.$$typeof,e){case V2:case cu:case uu:case pu:case hu:case lu:return e;default:return t}}case pp:return t}}}Ne.ContextConsumer=cu;Ne.ContextProvider=lu;Ne.Element=hp;Ne.ForwardRef=uu;Ne.Fragment=ou;Ne.Lazy=pu;Ne.Memo=hu;Ne.Portal=pp;Ne.Profiler=au;Ne.StrictMode=su;Ne.Suspense=du;Ne.SuspenseList=fu;Ne.isAsyncMode=function(){return!1};Ne.isConcurrentMode=function(){return!1};Ne.isContextConsumer=function(e){return pn(e)===cu};Ne.isContextProvider=function(e){return pn(e)===lu};Ne.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===hp};Ne.isForwardRef=function(e){return pn(e)===uu};Ne.isFragment=function(e){return pn(e)===ou};Ne.isLazy=function(e){return pn(e)===pu};Ne.isMemo=function(e){return pn(e)===hu};Ne.isPortal=function(e){return pn(e)===pp};Ne.isProfiler=function(e){return pn(e)===au};Ne.isStrictMode=function(e){return pn(e)===su};Ne.isSuspense=function(e){return pn(e)===du};Ne.isSuspenseList=function(e){return pn(e)===fu};Ne.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ou||e===au||e===su||e===du||e===fu||e===H2||typeof e=="object"&&e!==null&&(e.$$typeof===pu||e.$$typeof===hu||e.$$typeof===lu||e.$$typeof===cu||e.$$typeof===uu||e.$$typeof===$x||e.getModuleId!==void 0)};Ne.typeOf=pn;function Mf(e,t){return Mf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Mf(e,t)}function Nx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mf(e,t)}const Lg={disabled:!1},Yl=Ht.createContext(null);var K2=function(t){return t.scrollTop},Yo="unmounted",Hr="exited",Kr="entering",Ii="entered",Tf="exiting",or=function(e){Nx(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=Hr,o.appearStatus=Kr):l=Ii:r.unmountOnExit||r.mountOnEnter?l=Yo:l=Hr,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Yo?{status:Hr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==Kr&&s!==Ii&&(o=Kr):(s===Kr||s===Ii)&&(o=Tf)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Kr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Ca.findDOMNode(this);s&&K2(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Hr&&this.setState({status:Yo})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[Ca.findDOMNode(this),a],c=l[0],u=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||Lg.disabled){this.safeSetState({status:Ii},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Kr},function(){o.props.onEntering(c,u),o.onTransitionEnd(f,function(){o.safeSetState({status:Ii},function(){o.props.onEntered(c,u)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Ca.findDOMNode(this);if(!o||Lg.disabled){this.safeSetState({status:Hr},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Tf},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Hr},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Ca.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Yo)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=ee(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ht.createElement(Yl.Provider,{value:null},typeof s=="function"?s(i,a):Ht.cloneElement(Ht.Children.only(s),a))},t}(Ht.Component);or.contextType=Yl;or.propTypes={};function Ri(){}or.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ri,onEntering:Ri,onEntered:Ri,onExit:Ri,onExiting:Ri,onExited:Ri};or.UNMOUNTED=Yo;or.EXITED=Hr;or.ENTERING=Kr;or.ENTERED=Ii;or.EXITING=Tf;const Fx=or;function G2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mp(e,t){var n=function(o){return t&&k.isValidElement(o)?t(o):o},r=Object.create(null);return e&&k.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function Y2(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in t){if(r[l])for(s=0;se.scrollTop;function ql(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}function eP(e){return _e("MuiPaper",e)}we("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 tP=["className","component","elevation","square","variant"],nP=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Me(o,eP,i)},rP=ne("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 E({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"&&E({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Gt("#fff",Ig(t.elevation))}, ${Gt("#fff",Ig(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),iP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,c=ee(r,tP),u=E({},r,{component:o,elevation:s,square:a,variant:l}),d=nP(u);return M.jsx(rP,E({as:o,ownerState:u,className:se(d.root,i),ref:n},c))}),zx=iP;function oP(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:c}=e,[u,d]=k.useState(!1),f=se(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},p=se(n.child,u&&n.childLeaving,r&&n.childPulsate);return!a&&!u&&d(!0),k.useEffect(()=>{if(!a&&l!=null){const m=setTimeout(l,c);return()=>{clearTimeout(m)}}},[l,a,c]),M.jsx("span",{className:f,style:h,children:M.jsx("span",{className:p})})}const sP=we("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),rn=sP,aP=["center","classes","className"];let mu=e=>e,$g,Ng,Fg,Dg;const Of=550,lP=80,cP=op($g||($g=mu` 0% { transform: scale(0); opacity: 0.1; @@ -68,7 +68,7 @@ Error generating stack: `+o.message+` transform: scale(1); opacity: 0.3; } -`)),uP=sp(Fg||(Fg=gu` +`)),uP=op(Ng||(Ng=mu` 0% { opacity: 1; } @@ -76,7 +76,7 @@ Error generating stack: `+o.message+` 100% { opacity: 0; } -`)),dP=sp(Dg||(Dg=gu` +`)),dP=op(Fg||(Fg=mu` 0% { transform: scale(1); } @@ -88,7 +88,7 @@ Error generating stack: `+o.message+` 100% { transform: scale(1); } -`)),fP=ne("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),hP=ne(oP,{name:"MuiTouchRipple",slot:"Ripple"})(zg||(zg=gu` +`)),fP=ne("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),hP=ne(oP,{name:"MuiTouchRipple",slot:"Ripple"})(Dg||(Dg=mu` opacity: 0; position: absolute; @@ -131,8 +131,8 @@ Error generating stack: `+o.message+` animation-iteration-count: infinite; animation-delay: 200ms; } -`),rn.rippleVisible,cP,If,({theme:e})=>e.transitions.easing.easeInOut,rn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,rn.child,rn.childLeaving,uP,If,({theme:e})=>e.transitions.easing.easeInOut,rn.childPulsate,dP,({theme:e})=>e.transitions.easing.easeInOut),pP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=ee(r,aP),[l,c]=k.useState([]),u=k.useRef(0),d=k.useRef(null);k.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=k.useRef(!1),h=k.useRef(0),p=k.useRef(null),m=k.useRef(null);k.useEffect(()=>()=>{h.current&&clearTimeout(h.current)},[]);const x=k.useCallback(_=>{const{pulsate:S,rippleX:R,rippleY:C,rippleSize:b,cb:w}=_;c(P=>[...P,M.jsx(hP,{classes:{ripple:se(o.ripple,rn.ripple),rippleVisible:se(o.rippleVisible,rn.rippleVisible),ripplePulsate:se(o.ripplePulsate,rn.ripplePulsate),child:se(o.child,rn.child),childLeaving:se(o.childLeaving,rn.childLeaving),childPulsate:se(o.childPulsate,rn.childPulsate)},timeout:If,pulsate:S,rippleX:R,rippleY:C,rippleSize:b},u.current)]),u.current+=1,d.current=w},[o]),g=k.useCallback((_={},S={},R=()=>{})=>{const{pulsate:C=!1,center:b=i||S.pulsate,fakeElement:w=!1}=S;if((_==null?void 0:_.type)==="mousedown"&&f.current){f.current=!1;return}(_==null?void 0:_.type)==="touchstart"&&(f.current=!0);const P=w?null:m.current,T=P?P.getBoundingClientRect():{width:0,height:0,left:0,top:0};let L,F,$;if(b||_===void 0||_.clientX===0&&_.clientY===0||!_.clientX&&!_.touches)L=Math.round(T.width/2),F=Math.round(T.height/2);else{const{clientX:N,clientY:D}=_.touches&&_.touches.length>0?_.touches[0]:_;L=Math.round(N-T.left),F=Math.round(D-T.top)}if(b)$=Math.sqrt((2*T.width**2+T.height**2)/3),$%2===0&&($+=1);else{const N=Math.max(Math.abs((P?P.clientWidth:0)-L),L)*2+2,D=Math.max(Math.abs((P?P.clientHeight:0)-F),F)*2+2;$=Math.sqrt(N**2+D**2)}_!=null&&_.touches?p.current===null&&(p.current=()=>{x({pulsate:C,rippleX:L,rippleY:F,rippleSize:$,cb:R})},h.current=setTimeout(()=>{p.current&&(p.current(),p.current=null)},lP)):x({pulsate:C,rippleX:L,rippleY:F,rippleSize:$,cb:R})},[i,x]),y=k.useCallback(()=>{g({},{pulsate:!0})},[g]),v=k.useCallback((_,S)=>{if(clearTimeout(h.current),(_==null?void 0:_.type)==="touchend"&&p.current){p.current(),p.current=null,h.current=setTimeout(()=>{v(_,S)});return}p.current=null,c(R=>R.length>0?R.slice(1):R),d.current=S},[]);return k.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),M.jsx(fP,E({className:se(rn.root,o.root,s),ref:m},a,{children:M.jsx(Z2,{component:null,exit:!0,children:l})}))}),mP=pP;function gP(e){return _e("MuiButtonBase",e)}const yP=we("MuiButtonBase",["root","disabled","focusVisible"]),vP=yP,xP=["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"],bP=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=Me({root:["root",t&&"disabled",n&&"focusVisible"]},gP,i);return n&&r&&(s.root+=` ${r}`),s},_P=ne("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"},[`&.${vP.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),SP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:h="a",onBlur:p,onClick:m,onContextMenu:x,onDragLeave:g,onFocus:y,onFocusVisible:v,onKeyDown:_,onKeyUp:S,onMouseDown:R,onMouseLeave:C,onMouseUp:b,onTouchEnd:w,onTouchMove:P,onTouchStart:T,tabIndex:L=0,TouchRippleProps:F,touchRippleRef:$,type:N}=r,D=ee(r,xP),A=k.useRef(null),O=k.useRef(null),I=Et(O,$),{isFocusVisibleRef:W,onFocus:q,onBlur:B,ref:X}=tx(),[H,Q]=k.useState(!1);c&&H&&Q(!1),k.useImperativeHandle(i,()=>({focusVisible:()=>{Q(!0),A.current.focus()}}),[]);const[Z,ce]=k.useState(!1);k.useEffect(()=>{ce(!0)},[]);const pe=Z&&!u&&!c;k.useEffect(()=>{H&&f&&!u&&Z&&O.current.pulsate()},[u,f,H,Z]);function U(J,dt,It=d){return Zr(G=>(dt&&dt(G),!It&&O.current&&O.current[J](G),!0))}const ae=U("start",R),te=U("stop",x),le=U("stop",g),Y=U("stop",b),oe=U("stop",J=>{H&&J.preventDefault(),C&&C(J)}),ie=U("start",T),me=U("stop",w),je=U("stop",P),De=U("stop",J=>{B(J),W.current===!1&&Q(!1),p&&p(J)},!1),qe=Zr(J=>{A.current||(A.current=J.currentTarget),q(J),W.current===!0&&(Q(!0),v&&v(J)),y&&y(J)}),Xe=()=>{const J=A.current;return l&&l!=="button"&&!(J.tagName==="A"&&J.href)},de=k.useRef(!1),ye=Zr(J=>{f&&!de.current&&H&&O.current&&J.key===" "&&(de.current=!0,O.current.stop(J,()=>{O.current.start(J)})),J.target===J.currentTarget&&Xe()&&J.key===" "&&J.preventDefault(),_&&_(J),J.target===J.currentTarget&&Xe()&&J.key==="Enter"&&!c&&(J.preventDefault(),m&&m(J))}),he=Zr(J=>{f&&J.key===" "&&O.current&&H&&!J.defaultPrevented&&(de.current=!1,O.current.stop(J,()=>{O.current.pulsate(J)})),S&&S(J),m&&J.target===J.currentTarget&&Xe()&&J.key===" "&&!J.defaultPrevented&&m(J)});let Se=l;Se==="button"&&(D.href||D.to)&&(Se=h);const ue={};Se==="button"?(ue.type=N===void 0?"button":N,ue.disabled=c):(!D.href&&!D.to&&(ue.role="button"),c&&(ue["aria-disabled"]=c));const Pt=Et(n,X,A),lt=E({},r,{centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:L,focusVisible:H}),ge=bP(lt);return M.jsxs(_P,E({as:Se,className:se(ge.root,a),ownerState:lt,onBlur:De,onClick:m,onContextMenu:te,onFocus:qe,onKeyDown:ye,onKeyUp:he,onMouseDown:ae,onMouseLeave:oe,onMouseUp:Y,onDragLeave:le,onTouchEnd:me,onTouchMove:je,onTouchStart:ie,ref:Pt,tabIndex:c?-1:L,type:N},ue,D,{children:[s,pe?M.jsx(mP,E({ref:I,center:o},F)):null]}))}),yu=SP;function wP(e){return _e("MuiIconButton",e)}const kP=we("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),CP=kP,EP=["edge","children","className","color","disabled","disableFocusRipple","size"],PP=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${re(r)}`,i&&`edge${re(i)}`,`size${re(o)}`]};return Me(s,wP,t)},RP=ne(yu,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${re(n.color)}`],n.edge&&t[`edge${re(n.edge)}`],t[`size${re(n.size)}`]]}})(({theme:e,ownerState:t})=>E({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return E({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&E({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":E({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${CP.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),MP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=r,d=ee(r,EP),f=E({},r,{edge:i,color:a,disabled:l,disableFocusRipple:c,size:u}),h=PP(f);return M.jsx(RP,E({className:se(h.root,s),centerRipple:!0,focusRipple:!c,disabled:l,ref:n,ownerState:f},d,{children:o}))}),Bg=MP;function TP(e){return _e("MuiTypography",e)}we("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const OP=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],IP=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,a={root:["root",o,e.align!=="inherit"&&`align${re(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Me(a,TP,s)},AP=ne("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${re(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>E({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})),jg={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},LP={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},$P=e=>LP[e]||e,NP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTypography"}),i=$P(r.color),o=dp(E({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:d=!1,variant:f="body1",variantMapping:h=jg}=o,p=ee(o,OP),m=E({},o,{align:s,color:i,className:a,component:l,gutterBottom:c,noWrap:u,paragraph:d,variant:f,variantMapping:h}),x=l||(d?"p":h[f]||jg[f])||"span",g=IP(m);return M.jsx(AP,E({as:x,ref:n,ownerState:m,className:se(g.root,a)},p))}),An=NP;function FP(e){return _e("MuiAppBar",e)}we("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const DP=["className","color","enableColorOnDark","position"],zP=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${re(t)}`,`position${re(n)}`]};return Me(i,FP,r)},Pa=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,BP=ne(zx,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${re(n.position)}`],t[`color${re(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return E({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&E({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&E({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&E({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Pa(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Pa(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Pa(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Pa(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),jP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:s=!1,position:a="fixed"}=r,l=ee(r,DP),c=E({},r,{color:o,position:a,enableColorOnDark:s}),u=zP(c);return M.jsx(BP,E({square:!0,component:"header",ownerState:c,elevation:4,className:se(u.root,i,a==="fixed"&&"mui-fixed"),ref:n},l))}),WP=jP;function Xl(e){return typeof e=="string"}function UP(e,t,n){return e===void 0||Xl(e)?t:E({},t,{ownerState:E({},t.ownerState,n)})}function Bx(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 VP(e,t,n){return typeof e=="function"?e(t,n):e}function Wg(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 HP(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const h=se(i==null?void 0:i.className,r==null?void 0:r.className,o,n==null?void 0:n.className),p=E({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=E({},n,i,r);return h.length>0&&(m.className=h),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:void 0}}const s=Bx(E({},i,r)),a=Wg(r),l=Wg(i),c=t(s),u=se(c==null?void 0:c.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=E({},c==null?void 0:c.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),f=E({},c,n,l,a);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}const KP=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function uo(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=ee(e,KP),a=o?{}:VP(r,i),{props:l,internalRef:c}=HP(E({},s,{externalSlotProps:a})),u=Et(c,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return UP(n,E({},l,{ref:u}),i)}const GP=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function YP(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 qP(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 XP(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||qP(e))}function QP(e){const t=[],n=[];return Array.from(e.querySelectorAll(GP)).forEach((r,i)=>{const o=YP(r);o===-1||!XP(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function JP(){return!0}function ZP(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=QP,isEnabled:s=JP,open:a}=e,l=k.useRef(!1),c=k.useRef(null),u=k.useRef(null),d=k.useRef(null),f=k.useRef(null),h=k.useRef(!1),p=k.useRef(null),m=Et(t.ref,p),x=k.useRef(null);k.useEffect(()=>{!a||!p.current||(h.current=!n)},[n,a]),k.useEffect(()=>{if(!a||!p.current)return;const v=Bt(p.current);return p.current.contains(v.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),h.current&&p.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),k.useEffect(()=>{if(!a||!p.current)return;const v=Bt(p.current),_=C=>{const{current:b}=p;if(b!==null){if(!v.hasFocus()||r||!s()||l.current){l.current=!1;return}if(!b.contains(v.activeElement)){if(C&&f.current!==C.target||v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!h.current)return;let T=[];if((v.activeElement===c.current||v.activeElement===u.current)&&(T=o(p.current)),T.length>0){var w,P;const L=!!((w=x.current)!=null&&w.shiftKey&&((P=x.current)==null?void 0:P.key)==="Tab"),F=T[0],$=T[T.length-1];typeof F!="string"&&typeof $!="string"&&(L?$.focus():F.focus())}else b.focus()}}},S=C=>{x.current=C,!(r||!s()||C.key!=="Tab")&&v.activeElement===p.current&&C.shiftKey&&(l.current=!0,u.current&&u.current.focus())};v.addEventListener("focusin",_),v.addEventListener("keydown",S,!0);const R=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&_(null)},50);return()=>{clearInterval(R),v.removeEventListener("focusin",_),v.removeEventListener("keydown",S,!0)}},[n,r,i,s,a,o]);const g=v=>{d.current===null&&(d.current=v.relatedTarget),h.current=!0,f.current=v.target;const _=t.props.onFocus;_&&_(v)},y=v=>{d.current===null&&(d.current=v.relatedTarget),h.current=!0};return M.jsxs(k.Fragment,{children:[M.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),k.cloneElement(t,{ref:m,onFocus:g}),M.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}function eR(e){return typeof e=="function"?e():e}const tR=k.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[s,a]=k.useState(null),l=Et(k.isValidElement(r)?r.ref:null,n);if(Or(()=>{o||a(eR(i)||document.body)},[i,o]),Or(()=>{if(s&&!o)return Vl(n,s),()=>{Vl(n,null)}},[n,s,o]),o){if(k.isValidElement(r)){const c={ref:l};return k.cloneElement(r,c)}return M.jsx(k.Fragment,{children:r})}return M.jsx(k.Fragment,{children:s&&Tc.createPortal(r,s)})});function nR(e){const t=Bt(e);return t.body===e?Tr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function fs(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ug(e){return parseInt(Tr(e).getComputedStyle(e).paddingRight,10)||0}function rR(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 Vg(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,s=>{const a=o.indexOf(s)===-1,l=!rR(s);a&&l&&fs(s,i)})}function ld(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function iR(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(nR(r)){const s=nx(Bt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ug(r)+s}px`;const a=Bt(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Ug(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Bt(r).body;else{const s=r.parentElement,a=Tr(r);o=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function oR(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class sR{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&&fs(t.modalRef,!1);const i=oR(n);Vg(n,t.mount,t.modalRef,i,!0);const o=ld(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=ld(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=iR(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=ld(this.containers,s=>s.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&fs(t.modalRef,n),Vg(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&fs(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function aR(e){return typeof e=="function"?e():e}function lR(e){return e?e.props.hasOwnProperty("in"):!1}const cR=new sR;function uR(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=cR,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:c,open:u,rootRef:d}=e,f=k.useRef({}),h=k.useRef(null),p=k.useRef(null),m=Et(p,d),[x,g]=k.useState(!u),y=lR(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const _=()=>Bt(h.current),S=()=>(f.current.modalRef=p.current,f.current.mount=h.current,f.current),R=()=>{i.mount(S(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},C=Zr(()=>{const D=aR(t)||_().body;i.add(S(),D),p.current&&R()}),b=k.useCallback(()=>i.isTopModal(S()),[i]),w=Zr(D=>{h.current=D,D&&(u&&b()?R():p.current&&fs(p.current,v))}),P=k.useCallback(()=>{i.remove(S(),v)},[v,i]);k.useEffect(()=>()=>{P()},[P]),k.useEffect(()=>{u?C():(!y||!o)&&P()},[u,P,y,o,C]);const T=D=>A=>{var O;(O=D.onKeyDown)==null||O.call(D,A),!(A.key!=="Escape"||!b())&&(n||(A.stopPropagation(),c&&c(A,"escapeKeyDown")))},L=D=>A=>{var O;(O=D.onClick)==null||O.call(D,A),A.target===A.currentTarget&&c&&c(A,"backdropClick")};return{getRootProps:(D={})=>{const A=Bx(e);delete A.onTransitionEnter,delete A.onTransitionExited;const O=E({},A,D);return E({role:"presentation"},O,{onKeyDown:T(O),ref:m})},getBackdropProps:(D={})=>{const A=D;return E({"aria-hidden":!0},A,{onClick:L(A),open:u})},getTransitionProps:()=>{const D=()=>{g(!1),s&&s()},A=()=>{g(!0),a&&a(),o&&P()};return{onEnter:Cf(D,l.props.onEnter),onExited:Cf(A,l.props.onExited)}},rootRef:m,portalRef:w,isTopModal:b,exited:x,hasTransition:y}}const dR=["onChange","maxRows","minRows","style","value"];function Ra(e){return parseInt(e,10)||0}const fR={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Hg(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const hR=k.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a}=t,l=ee(t,dR),{current:c}=k.useRef(a!=null),u=k.useRef(null),d=Et(n,u),f=k.useRef(null),h=k.useRef(0),[p,m]=k.useState({outerHeightStyle:0}),x=k.useCallback(()=>{const S=u.current,C=Tr(S).getComputedStyle(S);if(C.width==="0px")return{outerHeightStyle:0};const b=f.current;b.style.width=C.width,b.value=S.value||t.placeholder||"x",b.value.slice(-1)===` -`&&(b.value+=" ");const w=C.boxSizing,P=Ra(C.paddingBottom)+Ra(C.paddingTop),T=Ra(C.borderBottomWidth)+Ra(C.borderTopWidth),L=b.scrollHeight;b.value="x";const F=b.scrollHeight;let $=L;o&&($=Math.max(Number(o)*F,$)),i&&($=Math.min(Number(i)*F,$)),$=Math.max($,F);const N=$+(w==="border-box"?P+T:0),D=Math.abs($-L)<=1;return{outerHeightStyle:N,overflow:D}},[i,o,t.placeholder]),g=(S,R)=>{const{outerHeightStyle:C,overflow:b}=R;return h.current<20&&(C>0&&Math.abs((S.outerHeightStyle||0)-C)>1||S.overflow!==b)?(h.current+=1,{overflow:b,outerHeightStyle:C}):S},y=k.useCallback(()=>{const S=x();Hg(S)||m(R=>g(R,S))},[x]),v=()=>{const S=x();Hg(S)||Tc.flushSync(()=>{m(R=>g(R,S))})};k.useEffect(()=>{const S=()=>{h.current=0,u.current&&v()},R=Xh(()=>{h.current=0,u.current&&v()});let C;const b=u.current,w=Tr(b);return w.addEventListener("resize",R),typeof ResizeObserver<"u"&&(C=new ResizeObserver(S),C.observe(b)),()=>{R.clear(),w.removeEventListener("resize",R),C&&C.disconnect()}}),Or(()=>{y()}),k.useEffect(()=>{h.current=0},[a]);const _=S=>{h.current=0,c||y(),r&&r(S)};return M.jsxs(k.Fragment,{children:[M.jsx("textarea",E({value:a,onChange:_,ref:d,rows:o,style:E({height:p.outerHeightStyle,overflow:p.overflow?"hidden":void 0},s)},l)),M.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:E({},fR.shadow,s,{paddingTop:0,paddingBottom:0})})]})});function bo({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const pR=k.createContext(void 0),vp=pR;function vi(){return k.useContext(vp)}function mR(e){return M.jsx(bE,E({},e,{defaultTheme:iu,themeId:fi}))}function Kg(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ql(e,t=!1){return e&&(Kg(e.value)&&e.value!==""||t&&Kg(e.defaultValue)&&e.defaultValue!=="")}function gR(e){return e.startAdornment}function yR(e){return _e("MuiInputBase",e)}const vR=we("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),fo=vR,xR=["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"],vu=(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${re(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},xu=(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]},bR=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:h,type:p}=e,m={root:["root",`color${re(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",f&&f!=="medium"&&`size${re(f)}`,u&&"multiline",h&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",u&&"inputMultiline",f==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]};return Me(m,yR,t)},bu=ne("div",{name:"MuiInputBase",slot:"Root",overridesResolver:vu})(({theme:e,ownerState:t})=>E({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${fo.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&E({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),_u=ne("input",{name:"MuiInputBase",slot:"Input",overridesResolver:xu})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=E({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return E({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] + .${fo.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${fo.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"})}),_R=M.jsx(mR,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),SR=k.forwardRef(function(t,n){var r;const i=$e({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:s,autoFocus:a,className:l,components:c={},componentsProps:u={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:h,endAdornment:p,fullWidth:m=!1,id:x,inputComponent:g="input",inputProps:y={},inputRef:v,maxRows:_,minRows:S,multiline:R=!1,name:C,onBlur:b,onChange:w,onClick:P,onFocus:T,onKeyDown:L,onKeyUp:F,placeholder:$,readOnly:N,renderSuffix:D,rows:A,slotProps:O={},slots:I={},startAdornment:W,type:q="text",value:B}=i,X=ee(i,xR),H=y.value!=null?y.value:B,{current:Q}=k.useRef(H!=null),Z=k.useRef(),ce=k.useCallback(ge=>{},[]),pe=Et(Z,v,y.ref,ce),[U,ae]=k.useState(!1),te=vi(),le=bo({props:i,muiFormControl:te,states:["color","disabled","error","hiddenLabel","size","required","filled"]});le.focused=te?te.focused:U,k.useEffect(()=>{!te&&f&&U&&(ae(!1),b&&b())},[te,f,U,b]);const Y=te&&te.onFilled,oe=te&&te.onEmpty,ie=k.useCallback(ge=>{Ql(ge)?Y&&Y():oe&&oe()},[Y,oe]);Or(()=>{Q&&ie({value:H})},[H,ie,Q]);const me=ge=>{if(le.disabled){ge.stopPropagation();return}T&&T(ge),y.onFocus&&y.onFocus(ge),te&&te.onFocus?te.onFocus(ge):ae(!0)},je=ge=>{b&&b(ge),y.onBlur&&y.onBlur(ge),te&&te.onBlur?te.onBlur(ge):ae(!1)},De=(ge,...J)=>{if(!Q){const dt=ge.target||Z.current;if(dt==null)throw new Error(rr(1));ie({value:dt.value})}y.onChange&&y.onChange(ge,...J),w&&w(ge,...J)};k.useEffect(()=>{ie(Z.current)},[]);const qe=ge=>{Z.current&&ge.currentTarget===ge.target&&Z.current.focus(),P&&P(ge)};let Xe=g,de=y;R&&Xe==="input"&&(A?de=E({type:void 0,minRows:A,maxRows:A},de):de=E({type:void 0,maxRows:_,minRows:S},de),Xe=hR);const ye=ge=>{ie(ge.animationName==="mui-auto-fill-cancel"?Z.current:{value:"x"})};k.useEffect(()=>{te&&te.setAdornedStart(!!W)},[te,W]);const he=E({},i,{color:le.color||"primary",disabled:le.disabled,endAdornment:p,error:le.error,focused:le.focused,formControl:te,fullWidth:m,hiddenLabel:le.hiddenLabel,multiline:R,size:le.size,startAdornment:W,type:q}),Se=bR(he),ue=I.root||c.Root||bu,Pt=O.root||u.root||{},lt=I.input||c.Input||_u;return de=E({},de,(r=O.input)!=null?r:u.input),M.jsxs(k.Fragment,{children:[!h&&_R,M.jsxs(ue,E({},Pt,!Xl(ue)&&{ownerState:E({},he,Pt.ownerState)},{ref:n,onClick:qe},X,{className:se(Se.root,Pt.className,l,N&&"MuiInputBase-readOnly"),children:[W,M.jsx(vp.Provider,{value:null,children:M.jsx(lt,E({ownerState:he,"aria-invalid":le.error,"aria-describedby":o,autoComplete:s,autoFocus:a,defaultValue:d,disabled:le.disabled,id:x,onAnimationStart:ye,name:C,placeholder:$,readOnly:N,required:le.required,rows:A,value:H,onKeyDown:L,onKeyUp:F,type:q},de,!Xl(lt)&&{as:Xe,ownerState:E({},he,de.ownerState)},{ref:pe,className:se(Se.input,de.className,N&&"MuiInputBase-readOnly"),onBlur:je,onChange:De,onFocus:me}))}),p,D?D(E({},le,{startAdornment:W})):null]}))]})}),xp=SR;function wR(e){return _e("MuiInput",e)}const kR=E({},fo,we("MuiInput",["root","underline","input"])),Ao=kR;function CR(e){return _e("MuiOutlinedInput",e)}const ER=E({},fo,we("MuiOutlinedInput",["root","notchedOutline","input"])),ar=ER;function PR(e){return _e("MuiFilledInput",e)}const RR=E({},fo,we("MuiFilledInput",["root","underline","input"])),Dr=RR,MR=ra(M.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),TR=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],OR={entering:{opacity:1},entered:{opacity:1}},IR=k.forwardRef(function(t,n){const r=ou(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:h,onExited:p,onExiting:m,style:x,timeout:g=i,TransitionComponent:y=Fx}=t,v=ee(t,TR),_=k.useRef(null),S=Et(_,a.ref,n),R=$=>N=>{if($){const D=_.current;N===void 0?$(D):$(D,N)}},C=R(f),b=R(($,N)=>{Dx($);const D=ql({style:x,timeout:g,easing:l},{mode:"enter"});$.style.webkitTransition=r.transitions.create("opacity",D),$.style.transition=r.transitions.create("opacity",D),u&&u($,N)}),w=R(d),P=R(m),T=R($=>{const N=ql({style:x,timeout:g,easing:l},{mode:"exit"});$.style.webkitTransition=r.transitions.create("opacity",N),$.style.transition=r.transitions.create("opacity",N),h&&h($)}),L=R(p),F=$=>{o&&o(_.current,$)};return M.jsx(y,E({appear:s,in:c,nodeRef:_,onEnter:b,onEntered:w,onEntering:C,onExit:T,onExited:L,onExiting:P,addEndListener:F,timeout:g},v,{children:($,N)=>k.cloneElement(a,E({style:E({opacity:0,visibility:$==="exited"&&!c?"hidden":void 0},OR[$],x,a.props.style),ref:S},N))}))}),AR=IR;function LR(e){return _e("MuiBackdrop",e)}we("MuiBackdrop",["root","invisible"]);const $R=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],NR=e=>{const{classes:t,invisible:n}=e;return Me({root:["root",n&&"invisible"]},LR,t)},FR=ne("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>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"})),DR=k.forwardRef(function(t,n){var r,i,o;const s=$e({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:c="div",components:u={},componentsProps:d={},invisible:f=!1,open:h,slotProps:p={},slots:m={},TransitionComponent:x=AR,transitionDuration:g}=s,y=ee(s,$R),v=E({},s,{component:c,invisible:f}),_=NR(v),S=(r=p.root)!=null?r:d.root;return M.jsx(x,E({in:h,timeout:g},y,{children:M.jsx(FR,E({"aria-hidden":!0},S,{as:(i=(o=m.root)!=null?o:u.Root)!=null?i:c,className:se(_.root,l,S==null?void 0:S.className),ownerState:E({},v,S==null?void 0:S.ownerState),classes:_,ref:n,children:a}))}))}),zR=DR,BR=hp(),jR=kE({themeId:fi,defaultTheme:BR,defaultClassName:"MuiBox-root",generateClassName:Jh.generate}),jx=jR;function WR(e){return _e("MuiButton",e)}const UR=we("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Ma=UR,VR=k.createContext({}),HR=VR,KR=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],GR=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:o,classes:s}=e,a={root:["root",o,`${o}${re(t)}`,`size${re(i)}`,`${o}Size${re(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${re(i)}`],endIcon:["endIcon",`iconSize${re(i)}`]},l=Me(a,WR,s);return E({},s,l)},Wx=e=>E({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),YR=ne(yu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${re(n.color)}`],t[`size${re(n.size)}`],t[`${n.variant}Size${re(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return E({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":E({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":E({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Ma.focusVisible}`]:E({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Ma.disabled}`]:E({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Gt(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ma.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ma.disabled}`]:{boxShadow:"none"}}),qR=ne("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${re(n.size)}`]]}})(({ownerState:e})=>E({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Wx(e))),XR=ne("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${re(n.size)}`]]}})(({ownerState:e})=>E({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Wx(e))),QR=k.forwardRef(function(t,n){const r=k.useContext(HR),i=Qh(r,t),o=$e({props:i,name:"MuiButton"}),{children:s,color:a="primary",component:l="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:h,focusVisibleClassName:p,fullWidth:m=!1,size:x="medium",startIcon:g,type:y,variant:v="text"}=o,_=ee(o,KR),S=E({},o,{color:a,component:l,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:m,size:x,type:y,variant:v}),R=GR(S),C=g&&M.jsx(qR,{className:R.startIcon,ownerState:S,children:g}),b=h&&M.jsx(XR,{className:R.endIcon,ownerState:S,children:h});return M.jsxs(YR,E({ownerState:S,className:se(r.className,R.root,c),component:l,disabled:u,focusRipple:!f,focusVisibleClassName:se(R.focusVisible,p),ref:n,type:y},_,{classes:R,children:[C,s,b]}))}),Jl=QR;function JR(e){return _e("PrivateSwitchBase",e)}we("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ZR=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],eM=e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,o={root:["root",n&&"checked",r&&"disabled",i&&`edge${re(i)}`],input:["input"]};return Me(o,JR,t)},tM=ne(yu)(({ownerState:e})=>E({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),nM=ne("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),rM=k.forwardRef(function(t,n){const{autoFocus:r,checked:i,checkedIcon:o,className:s,defaultChecked:a,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:d,id:f,inputProps:h,inputRef:p,name:m,onBlur:x,onChange:g,onFocus:y,readOnly:v,required:_=!1,tabIndex:S,type:R,value:C}=t,b=ee(t,ZR),[w,P]=Hl({controlled:i,default:!!a,name:"SwitchBase",state:"checked"}),T=vi(),L=I=>{y&&y(I),T&&T.onFocus&&T.onFocus(I)},F=I=>{x&&x(I),T&&T.onBlur&&T.onBlur(I)},$=I=>{if(I.nativeEvent.defaultPrevented)return;const W=I.target.checked;P(W),g&&g(I,W)};let N=l;T&&typeof N>"u"&&(N=T.disabled);const D=R==="checkbox"||R==="radio",A=E({},t,{checked:w,disabled:N,disableFocusRipple:c,edge:u}),O=eM(A);return M.jsxs(tM,E({component:"span",className:se(O.root,s),centerRipple:!0,focusRipple:!c,disabled:N,tabIndex:null,role:void 0,onFocus:L,onBlur:F,ownerState:A,ref:n},b,{children:[M.jsx(nM,E({autoFocus:r,checked:i,defaultChecked:a,className:O.input,disabled:N,id:D?f:void 0,name:m,onChange:$,readOnly:v,ref:p,required:_,ownerState:A,tabIndex:S,type:R},R==="checkbox"&&C===void 0?{}:{value:C},h)),w?o:d]}))}),iM=rM,oM=ra(M.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),sM=ra(M.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),aM=ra(M.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function lM(e){return _e("MuiCheckbox",e)}const cM=we("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),cd=cM,uM=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],dM=e=>{const{classes:t,indeterminate:n,color:r,size:i}=e,o={root:["root",n&&"indeterminate",`color${re(r)}`,`size${re(i)}`]},s=Me(o,lM,t);return E({},t,s)},fM=ne(iM,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${re(n.color)}`]]}})(({theme:e,ownerState:t})=>E({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${cd.checked}, &.${cd.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${cd.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),hM=M.jsx(sM,{}),pM=M.jsx(oM,{}),mM=M.jsx(aM,{}),gM=k.forwardRef(function(t,n){var r,i;const o=$e({props:t,name:"MuiCheckbox"}),{checkedIcon:s=hM,color:a="primary",icon:l=pM,indeterminate:c=!1,indeterminateIcon:u=mM,inputProps:d,size:f="medium",className:h}=o,p=ee(o,uM),m=c?u:l,x=c?u:s,g=E({},o,{color:a,indeterminate:c,size:f}),y=dM(g);return M.jsx(fM,E({type:"checkbox",inputProps:E({"data-indeterminate":c},d),icon:k.cloneElement(m,{fontSize:(r=m.props.fontSize)!=null?r:f}),checkedIcon:k.cloneElement(x,{fontSize:(i=x.props.fontSize)!=null?i:f}),ownerState:g,ref:n,className:se(y.root,h)},p,{classes:y}))}),yM=gM,vM=e2({createStyledComponent:ne("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${re(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>$e({props:e,name:"MuiContainer"})}),bp=vM;function xM(e){return _e("MuiModal",e)}we("MuiModal",["root","hidden","backdrop"]);const bM=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],_M=e=>{const{open:t,exited:n,classes:r}=e;return Me({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},xM,r)},SM=ne("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})=>E({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),wM=ne(zR,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),kM=k.forwardRef(function(t,n){var r,i,o,s,a,l;const c=$e({name:"MuiModal",props:t}),{BackdropComponent:u=wM,BackdropProps:d,className:f,closeAfterTransition:h=!1,children:p,container:m,component:x,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:_=!1,disableEscapeKeyDown:S=!1,disablePortal:R=!1,disableRestoreFocus:C=!1,disableScrollLock:b=!1,hideBackdrop:w=!1,keepMounted:P=!1,onBackdropClick:T,open:L,slotProps:F,slots:$}=c,N=ee(c,bM),D=E({},c,{closeAfterTransition:h,disableAutoFocus:v,disableEnforceFocus:_,disableEscapeKeyDown:S,disablePortal:R,disableRestoreFocus:C,disableScrollLock:b,hideBackdrop:w,keepMounted:P}),{getRootProps:A,getBackdropProps:O,getTransitionProps:I,portalRef:W,isTopModal:q,exited:B,hasTransition:X}=uR(E({},D,{rootRef:n})),H=E({},D,{exited:B}),Q=_M(H),Z={};if(p.props.tabIndex===void 0&&(Z.tabIndex="-1"),X){const{onEnter:Y,onExited:oe}=I();Z.onEnter=Y,Z.onExited=oe}const ce=(r=(i=$==null?void 0:$.root)!=null?i:g.Root)!=null?r:SM,pe=(o=(s=$==null?void 0:$.backdrop)!=null?s:g.Backdrop)!=null?o:u,U=(a=F==null?void 0:F.root)!=null?a:y.root,ae=(l=F==null?void 0:F.backdrop)!=null?l:y.backdrop,te=uo({elementType:ce,externalSlotProps:U,externalForwardedProps:N,getSlotProps:A,additionalProps:{ref:n,as:x},ownerState:H,className:se(f,U==null?void 0:U.className,Q==null?void 0:Q.root,!H.open&&H.exited&&(Q==null?void 0:Q.hidden))}),le=uo({elementType:pe,externalSlotProps:ae,additionalProps:d,getSlotProps:Y=>O(E({},Y,{onClick:oe=>{T&&T(oe),Y!=null&&Y.onClick&&Y.onClick(oe)}})),className:se(ae==null?void 0:ae.className,d==null?void 0:d.className,Q==null?void 0:Q.backdrop),ownerState:H});return!P&&!L&&(!X||B)?null:M.jsx(tR,{ref:W,container:m,disablePortal:R,children:M.jsxs(ce,E({},te,{children:[!w&&u?M.jsx(pe,E({},le)):null,M.jsx(ZP,{disableEnforceFocus:_,disableAutoFocus:v,disableRestoreFocus:C,isEnabled:q,open:L,children:k.cloneElement(p,Z)})]}))})}),CM=kM;function tD(e){return _e("MuiDivider",e)}const EM=we("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Gg=EM,PM=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],RM=e=>{const{classes:t,disableUnderline:n}=e,i=Me({root:["root",!n&&"underline"],input:["input"]},PR,t);return E({},t,i)},MM=ne(bu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...vu(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return E({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,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:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${Dr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${Dr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a}},!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"},[`&.${Dr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Dr.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})`:i}`,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(.${Dr.disabled}, .${Dr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Dr.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&E({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),TM=ne(_u,{name:"MuiFilledInput",slot:"Input",overridesResolver:xu})(({theme:e,ownerState:t})=>E({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),Ux=k.forwardRef(function(t,n){var r,i,o,s;const a=$e({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:f=!1,slotProps:h,slots:p={},type:m="text"}=a,x=ee(a,PM),g=E({},a,{fullWidth:u,inputComponent:d,multiline:f,type:m}),y=RM(a),v={root:{ownerState:g},input:{ownerState:g}},_=h??c?Xt(h??c,v):v,S=(r=(i=p.root)!=null?i:l.Root)!=null?r:MM,R=(o=(s=p.input)!=null?s:l.Input)!=null?o:TM;return M.jsx(xp,E({slots:{root:S,input:R},componentsProps:_,fullWidth:u,inputComponent:d,multiline:f,ref:n,type:m},x,{classes:y}))});Ux.muiName="Input";const Vx=Ux;function OM(e){return _e("MuiFormControl",e)}we("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const IM=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],AM=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${re(n)}`,r&&"fullWidth"]};return Me(i,OM,t)},LM=ne("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>E({},t.root,t[`margin${re(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>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%"})),$M=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormControl"}),{children:i,className:o,color:s="primary",component:a="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:d=!1,hiddenLabel:f=!1,margin:h="none",required:p=!1,size:m="medium",variant:x="outlined"}=r,g=ee(r,IM),y=E({},r,{color:s,component:a,disabled:l,error:c,fullWidth:d,hiddenLabel:f,margin:h,required:p,size:m,variant:x}),v=AM(y),[_,S]=k.useState(()=>{let F=!1;return i&&k.Children.forEach(i,$=>{if(!ol($,["Input","Select"]))return;const N=ol($,["Select"])?$.props.input:$;N&&gR(N.props)&&(F=!0)}),F}),[R,C]=k.useState(()=>{let F=!1;return i&&k.Children.forEach(i,$=>{ol($,["Input","Select"])&&(Ql($.props,!0)||Ql($.props.inputProps,!0))&&(F=!0)}),F}),[b,w]=k.useState(!1);l&&b&&w(!1);const P=u!==void 0&&!l?u:b;let T;const L=k.useMemo(()=>({adornedStart:_,setAdornedStart:S,color:s,disabled:l,error:c,filled:R,focused:P,fullWidth:d,hiddenLabel:f,size:m,onBlur:()=>{w(!1)},onEmpty:()=>{C(!1)},onFilled:()=>{C(!0)},onFocus:()=>{w(!0)},registerEffect:T,required:p,variant:x}),[_,s,l,c,R,P,d,f,T,p,m,x]);return M.jsx(vp.Provider,{value:L,children:M.jsx(LM,E({as:a,ownerState:y,className:se(v.root,o),ref:n},g,{children:i}))})}),Af=$M;function NM(e){return _e("MuiFormHelperText",e)}const FM=we("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Yg=FM;var qg;const DM=["children","className","component","disabled","error","filled","focused","margin","required","variant"],zM=e=>{const{classes:t,contained:n,size:r,disabled:i,error:o,filled:s,focused:a,required:l}=e,c={root:["root",i&&"disabled",o&&"error",r&&`size${re(r)}`,n&&"contained",a&&"focused",s&&"filled",l&&"required"]};return Me(c,NM,t)},BM=ne("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${re(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>E({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Yg.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Yg.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),jM=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormHelperText"}),{children:i,className:o,component:s="p"}=r,a=ee(r,DM),l=vi(),c=bo({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=E({},r,{component:s,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),d=zM(u);return M.jsx(BM,E({as:s,ownerState:u,className:se(d.root,o),ref:n},a,{children:i===" "?qg||(qg=M.jsx("span",{className:"notranslate",children:"​"})):i}))}),WM=jM;function UM(e){return _e("MuiFormLabel",e)}const VM=we("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),hs=VM,HM=["children","className","color","component","disabled","error","filled","focused","required"],KM=e=>{const{classes:t,color:n,focused:r,disabled:i,error:o,filled:s,required:a}=e,l={root:["root",`color${re(n)}`,i&&"disabled",o&&"error",s&&"filled",r&&"focused",a&&"required"],asterisk:["asterisk",o&&"error"]};return Me(l,UM,t)},GM=ne("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>E({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>E({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${hs.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${hs.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${hs.error}`]:{color:(e.vars||e).palette.error.main}})),YM=ne("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${hs.error}`]:{color:(e.vars||e).palette.error.main}})),qM=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormLabel"}),{children:i,className:o,component:s="label"}=r,a=ee(r,HM),l=vi(),c=bo({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=E({},r,{color:c.color||"primary",component:s,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),d=KM(u);return M.jsxs(GM,E({as:s,ownerState:u,className:se(d.root,o),ref:n},a,{children:[i,c.required&&M.jsxs(YM,{ownerState:u,"aria-hidden":!0,className:d.asterisk,children:[" ","*"]})]}))}),XM=qM,QM=k.createContext(),Xg=QM;function JM(e){return _e("MuiGrid",e)}const ZM=[0,1,2,3,4,5,6,7,8,9,10],eT=["column-reverse","column","row-reverse","row"],tT=["nowrap","wrap-reverse","wrap"],Lo=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],zs=we("MuiGrid",["root","container","item","zeroMinWidth",...ZM.map(e=>`spacing-xs-${e}`),...eT.map(e=>`direction-xs-${e}`),...tT.map(e=>`wrap-xs-${e}`),...Lo.map(e=>`grid-xs-${e}`),...Lo.map(e=>`grid-sm-${e}`),...Lo.map(e=>`grid-md-${e}`),...Lo.map(e=>`grid-lg-${e}`),...Lo.map(e=>`grid-xl-${e}`)]),nT=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function eo(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function rT({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,i)=>{let o={};if(t[i]&&(n=t[i]),!n)return r;if(n===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=Kc({values:t.columns,breakpoints:e.breakpoints.values}),a=typeof s=="object"?s[i]:s;if(a==null)return r;const l=`${Math.round(n/a*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const u=e.spacing(t.columnSpacing);if(u!=="0px"){const d=`calc(${l} + ${eo(u)})`;c={flexBasis:d,maxWidth:d}}}o=E({flexBasis:l,flexGrow:0,maxWidth:l},c)}return e.breakpoints.values[i]===0?Object.assign(r,o):r[e.breakpoints.up(i)]=o,r},{})}function iT({theme:e,ownerState:t}){const n=Kc({values:t.direction,breakpoints:e.breakpoints.values});return fn({theme:e},n,r=>{const i={flexDirection:r};return r.indexOf("column")===0&&(i[`& > .${zs.item}`]={maxWidth:"none"}),i})}function Hx({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(i=>{n===""&&t[i]!==0&&(n=i)});const r=Object.keys(e).sort((i,o)=>e[i]-e[o]);return r.slice(0,r.indexOf(n))}function oT({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};if(n&&r!==0){const o=Kc({values:r,breakpoints:e.breakpoints.values});let s;typeof o=="object"&&(s=Hx({breakpoints:e.breakpoints.values,values:o})),i=fn({theme:e},o,(a,l)=>{var c;const u=e.spacing(a);return u!=="0px"?{marginTop:`-${eo(u)}`,[`& > .${zs.item}`]:{paddingTop:eo(u)}}:(c=s)!=null&&c.includes(l)?{}:{marginTop:0,[`& > .${zs.item}`]:{paddingTop:0}}})}return i}function sT({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};if(n&&r!==0){const o=Kc({values:r,breakpoints:e.breakpoints.values});let s;typeof o=="object"&&(s=Hx({breakpoints:e.breakpoints.values,values:o})),i=fn({theme:e},o,(a,l)=>{var c;const u=e.spacing(a);return u!=="0px"?{width:`calc(100% + ${eo(u)})`,marginLeft:`-${eo(u)}`,[`& > .${zs.item}`]:{paddingLeft:eo(u)}}:(c=s)!=null&&c.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${zs.item}`]:{paddingLeft:0}}})}return i}function aT(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(i=>{const o=e[i];Number(o)>0&&r.push(n[`spacing-${i}-${String(o)}`])}),r}const lT=ne("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:i,item:o,spacing:s,wrap:a,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=aT(s,c,t));const d=[];return c.forEach(f=>{const h=n[f];h&&d.push(t[`grid-${f}-${String(h)}`])}),[t.root,r&&t.container,o&&t.item,l&&t.zeroMinWidth,...u,i!=="row"&&t[`direction-xs-${String(i)}`],a!=="wrap"&&t[`wrap-xs-${String(a)}`],...d]}})(({ownerState:e})=>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}),iT,oT,sT,rT);function cT(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 i=e[r];if(Number(i)>0){const o=`spacing-${r}-${String(i)}`;n.push(o)}}),n}const uT=e=>{const{classes:t,container:n,direction:r,item:i,spacing:o,wrap:s,zeroMinWidth:a,breakpoints:l}=e;let c=[];n&&(c=cT(o,l));const u=[];l.forEach(f=>{const h=e[f];h&&u.push(`grid-${f}-${String(h)}`)});const d={root:["root",n&&"container",i&&"item",a&&"zeroMinWidth",...c,r!=="row"&&`direction-xs-${String(r)}`,s!=="wrap"&&`wrap-xs-${String(s)}`,...u]};return Me(d,JM,t)},dT=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiGrid"}),{breakpoints:i}=ou(),o=dp(r),{className:s,columns:a,columnSpacing:l,component:c="div",container:u=!1,direction:d="row",item:f=!1,rowSpacing:h,spacing:p=0,wrap:m="wrap",zeroMinWidth:x=!1}=o,g=ee(o,nT),y=h||p,v=l||p,_=k.useContext(Xg),S=u?a||12:_,R={},C=E({},g);i.keys.forEach(P=>{g[P]!=null&&(R[P]=g[P],delete C[P])});const b=E({},o,{columns:S,container:u,direction:d,item:f,rowSpacing:y,columnSpacing:v,wrap:m,zeroMinWidth:x,spacing:p},R,{breakpoints:i.keys}),w=uT(b);return M.jsx(Xg.Provider,{value:S,children:M.jsx(lT,E({ownerState:b,className:se(w.root,s),as:c,ref:n},C))})}),Hi=dT,fT=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Lf(e){return`scale(${e}, ${e**2})`}const hT={entering:{opacity:1,transform:Lf(1)},entered:{opacity:1,transform:"none"}},ud=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Kx=k.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:o,easing:s,in:a,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:f,onExiting:h,style:p,timeout:m="auto",TransitionComponent:x=Fx}=t,g=ee(t,fT),y=k.useRef(),v=k.useRef(),_=ou(),S=k.useRef(null),R=Et(S,o.ref,n),C=N=>D=>{if(N){const A=S.current;D===void 0?N(A):N(A,D)}},b=C(u),w=C((N,D)=>{Dx(N);const{duration:A,delay:O,easing:I}=ql({style:p,timeout:m,easing:s},{mode:"enter"});let W;m==="auto"?(W=_.transitions.getAutoHeightDuration(N.clientHeight),v.current=W):W=A,N.style.transition=[_.transitions.create("opacity",{duration:W,delay:O}),_.transitions.create("transform",{duration:ud?W:W*.666,delay:O,easing:I})].join(","),l&&l(N,D)}),P=C(c),T=C(h),L=C(N=>{const{duration:D,delay:A,easing:O}=ql({style:p,timeout:m,easing:s},{mode:"exit"});let I;m==="auto"?(I=_.transitions.getAutoHeightDuration(N.clientHeight),v.current=I):I=D,N.style.transition=[_.transitions.create("opacity",{duration:I,delay:A}),_.transitions.create("transform",{duration:ud?I:I*.666,delay:ud?A:A||I*.333,easing:O})].join(","),N.style.opacity=0,N.style.transform=Lf(.75),d&&d(N)}),F=C(f),$=N=>{m==="auto"&&(y.current=setTimeout(N,v.current||0)),r&&r(S.current,N)};return k.useEffect(()=>()=>{clearTimeout(y.current)},[]),M.jsx(x,E({appear:i,in:a,nodeRef:S,onEnter:w,onEntered:P,onEntering:b,onExit:L,onExited:F,onExiting:T,addEndListener:$,timeout:m==="auto"?null:m},g,{children:(N,D)=>k.cloneElement(o,E({style:E({opacity:0,transform:Lf(.75),visibility:N==="exited"&&!a?"hidden":void 0},hT[N],p,o.props.style),ref:R},D))}))});Kx.muiSupportAuto=!0;const pT=Kx,mT=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],gT=e=>{const{classes:t,disableUnderline:n}=e,i=Me({root:["root",!n&&"underline"],input:["input"]},wR,t);return E({},t,i)},yT=ne(bu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...vu(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})`),E({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"},[`&.${Ao.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ao.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(.${Ao.disabled}, .${Ao.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Ao.disabled}:before`]:{borderBottomStyle:"dotted"}})}),vT=ne(_u,{name:"MuiInput",slot:"Input",overridesResolver:xu})({}),Gx=k.forwardRef(function(t,n){var r,i,o,s;const a=$e({props:t,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:u,fullWidth:d=!1,inputComponent:f="input",multiline:h=!1,slotProps:p,slots:m={},type:x="text"}=a,g=ee(a,mT),y=gT(a),_={root:{ownerState:{disableUnderline:l}}},S=p??u?Xt(p??u,_):_,R=(r=(i=m.root)!=null?i:c.Root)!=null?r:yT,C=(o=(s=m.input)!=null?s:c.Input)!=null?o:vT;return M.jsx(xp,E({slots:{root:R,input:C},slotProps:S,fullWidth:d,inputComponent:f,multiline:h,ref:n,type:x},g,{classes:y}))});Gx.muiName="Input";const Yx=Gx;function xT(e){return _e("MuiInputLabel",e)}we("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const bT=["disableAnimation","margin","shrink","variant","className"],_T=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:o,variant:s,required:a}=e,l={root:["root",n&&"formControl",!o&&"animated",i&&"shrink",r&&r!=="normal"&&`size${re(r)}`,s],asterisk:[a&&"asterisk"]},c=Me(l,xT,t);return E({},t,c)},ST=ne(XM,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${hs.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>E({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"&&E({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&&E({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"&&E({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)"}))),wT=k.forwardRef(function(t,n){const r=$e({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:o,className:s}=r,a=ee(r,bT),l=vi();let c=o;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const u=bo({props:r,muiFormControl:l,states:["size","variant","required"]}),d=E({},r,{disableAnimation:i,formControl:l,shrink:c,size:u.size,variant:u.variant,required:u.required}),f=_T(d);return M.jsx(ST,E({"data-shrink":c,ownerState:d,ref:n,className:se(f.root,s)},a,{classes:f}))}),kT=wT,CT=k.createContext({}),Zl=CT;function ET(e){return _e("MuiList",e)}we("MuiList",["root","padding","dense","subheader"]);const PT=["children","className","component","dense","disablePadding","subheader"],RT=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Me({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},ET,t)},MT=ne("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})=>E({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),TT=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiList"}),{children:i,className:o,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:c}=r,u=ee(r,PT),d=k.useMemo(()=>({dense:a}),[a]),f=E({},r,{component:s,dense:a,disablePadding:l}),h=RT(f);return M.jsx(Zl.Provider,{value:d,children:M.jsxs(MT,E({as:s,className:se(h.root,o),ref:n,ownerState:f},u,{children:[c,i]}))})}),OT=TT;function nD(e){return _e("MuiListItemIcon",e)}const IT=we("MuiListItemIcon",["root","alignItemsFlexStart"]),Qg=IT;function AT(e){return _e("MuiListItemText",e)}const LT=we("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),ec=LT,$T=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],NT=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:o}=e;return Me({root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},AT,t)},FT=ne("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ec.primary}`]:t.primary},{[`& .${ec.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>E({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),DT=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemText"}),{children:i,className:o,disableTypography:s=!1,inset:a=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:d}=r,f=ee(r,$T),{dense:h}=k.useContext(Zl);let p=l??i,m=u;const x=E({},r,{disableTypography:s,inset:a,primary:!!p,secondary:!!m,dense:h}),g=NT(x);return p!=null&&p.type!==An&&!s&&(p=M.jsx(An,E({variant:h?"body2":"body1",className:g.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:p}))),m!=null&&m.type!==An&&!s&&(m=M.jsx(An,E({variant:"body2",className:g.secondary,color:"text.secondary",display:"block"},d,{children:m}))),M.jsxs(FT,E({className:se(g.root,o),ownerState:x,ref:n},f,{children:[p,m]}))}),zT=DT,BT=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function dd(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Jg(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function qx(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 $o(e,t,n,r,i,o){let s=!1,a=i(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!qx(a,o)||l)a=i(e,a,n);else return a.focus(),!0}return!1}const jT=k.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=t,f=ee(t,BT),h=k.useRef(null),p=k.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Or(()=>{i&&h.current.focus()},[i]),k.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(v,_)=>{const S=!h.current.style.width;if(v.clientHeight{const _=h.current,S=v.key,R=Bt(_).activeElement;if(S==="ArrowDown")v.preventDefault(),$o(_,R,c,l,dd);else if(S==="ArrowUp")v.preventDefault(),$o(_,R,c,l,Jg);else if(S==="Home")v.preventDefault(),$o(_,null,c,l,dd);else if(S==="End")v.preventDefault(),$o(_,null,c,l,Jg);else if(S.length===1){const C=p.current,b=S.toLowerCase(),w=performance.now();C.keys.length>0&&(w-C.lastTime>500?(C.keys=[],C.repeating=!0,C.previousKeyMatched=!0):C.repeating&&b!==C.keys[0]&&(C.repeating=!1)),C.lastTime=w,C.keys.push(b);const P=R&&!C.repeating&&qx(R,C);C.previousKeyMatched&&(P||$o(_,R,!1,l,dd,C))?v.preventDefault():C.previousKeyMatched=!1}u&&u(v)},x=Et(h,n);let g=-1;k.Children.forEach(s,(v,_)=>{if(!k.isValidElement(v)){g===_&&(g+=1,g>=s.length&&(g=-1));return}v.props.disabled||(d==="selectedMenu"&&v.props.selected||g===-1)&&(g=_),g===_&&(v.props.disabled||v.props.muiSkipListHighlight||v.type.muiSkipListHighlight)&&(g+=1,g>=s.length&&(g=-1))});const y=k.Children.map(s,(v,_)=>{if(_===g){const S={};return o&&(S.autoFocus=!0),v.props.tabIndex===void 0&&d==="selectedMenu"&&(S.tabIndex=0),k.cloneElement(v,S)}return v});return M.jsx(OT,E({role:"menu",ref:x,className:a,onKeyDown:m,tabIndex:i?0:-1},f,{children:y}))}),WT=jT;function UT(e){return _e("MuiPopover",e)}we("MuiPopover",["root","paper"]);const VT=["onEntering"],HT=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],KT=["slotProps"];function Zg(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function e0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function t0(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function fd(e){return typeof e=="function"?e():e}const GT=e=>{const{classes:t}=e;return Me({root:["root"],paper:["paper"]},UT,t)},YT=ne(CM,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Xx=ne(zx,{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}),qT=k.forwardRef(function(t,n){var r,i,o;const s=$e({props:t,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:f,className:h,container:p,elevation:m=8,marginThreshold:x=16,open:g,PaperProps:y={},slots:v,slotProps:_,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:R=pT,transitionDuration:C="auto",TransitionProps:{onEntering:b}={},disableScrollLock:w=!1}=s,P=ee(s.TransitionProps,VT),T=ee(s,HT),L=(r=_==null?void 0:_.paper)!=null?r:y,F=k.useRef(),$=Et(F,L.ref),N=E({},s,{anchorOrigin:c,anchorReference:d,elevation:m,marginThreshold:x,externalPaperSlotProps:L,transformOrigin:S,TransitionComponent:R,transitionDuration:C,TransitionProps:P}),D=GT(N),A=k.useCallback(()=>{if(d==="anchorPosition")return u;const Y=fd(l),ie=(Y&&Y.nodeType===1?Y:Bt(F.current).body).getBoundingClientRect();return{top:ie.top+Zg(ie,c.vertical),left:ie.left+e0(ie,c.horizontal)}},[l,c.horizontal,c.vertical,u,d]),O=k.useCallback(Y=>({vertical:Zg(Y,S.vertical),horizontal:e0(Y,S.horizontal)}),[S.horizontal,S.vertical]),I=k.useCallback(Y=>{const oe={width:Y.offsetWidth,height:Y.offsetHeight},ie=O(oe);if(d==="none")return{top:null,left:null,transformOrigin:t0(ie)};const me=A();let je=me.top-ie.vertical,De=me.left-ie.horizontal;const qe=je+oe.height,Xe=De+oe.width,de=Tr(fd(l)),ye=de.innerHeight-x,he=de.innerWidth-x;if(x!==null&&jeye){const Se=qe-ye;je-=Se,ie.vertical+=Se}if(x!==null&&Dehe){const Se=Xe-he;De-=Se,ie.horizontal+=Se}return{top:`${Math.round(je)}px`,left:`${Math.round(De)}px`,transformOrigin:t0(ie)}},[l,d,A,O,x]),[W,q]=k.useState(g),B=k.useCallback(()=>{const Y=F.current;if(!Y)return;const oe=I(Y);oe.top!==null&&(Y.style.top=oe.top),oe.left!==null&&(Y.style.left=oe.left),Y.style.transformOrigin=oe.transformOrigin,q(!0)},[I]);k.useEffect(()=>(w&&window.addEventListener("scroll",B),()=>window.removeEventListener("scroll",B)),[l,w,B]);const X=(Y,oe)=>{b&&b(Y,oe),B()},H=()=>{q(!1)};k.useEffect(()=>{g&&B()}),k.useImperativeHandle(a,()=>g?{updatePosition:()=>{B()}}:null,[g,B]),k.useEffect(()=>{if(!g)return;const Y=Xh(()=>{B()}),oe=Tr(l);return oe.addEventListener("resize",Y),()=>{Y.clear(),oe.removeEventListener("resize",Y)}},[l,g,B]);let Q=C;C==="auto"&&!R.muiSupportAuto&&(Q=void 0);const Z=p||(l?Bt(fd(l)).body:void 0),ce=(i=v==null?void 0:v.root)!=null?i:YT,pe=(o=v==null?void 0:v.paper)!=null?o:Xx,U=uo({elementType:pe,externalSlotProps:E({},L,{style:W?L.style:E({},L.style,{opacity:0})}),additionalProps:{elevation:m,ref:$},ownerState:N,className:se(D.paper,L==null?void 0:L.className)}),ae=uo({elementType:ce,externalSlotProps:(_==null?void 0:_.root)||{},externalForwardedProps:T,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:Z,open:g},ownerState:N,className:se(D.root,h)}),{slotProps:te}=ae,le=ee(ae,KT);return M.jsx(ce,E({},le,!Xl(ce)&&{slotProps:te,disableScrollLock:w},{children:M.jsx(R,E({appear:!0,in:g,onEntering:X,onExited:H,timeout:Q},P,{children:M.jsx(pe,E({},U,{children:f}))}))}))}),XT=qT;function QT(e){return _e("MuiMenu",e)}we("MuiMenu",["root","paper","list"]);const JT=["onEntering"],ZT=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],eO={vertical:"top",horizontal:"right"},tO={vertical:"top",horizontal:"left"},nO=e=>{const{classes:t}=e;return Me({root:["root"],paper:["paper"],list:["list"]},QT,t)},rO=ne(XT,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),iO=ne(Xx,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),oO=ne(WT,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),sO=k.forwardRef(function(t,n){var r,i;const o=$e({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:d,open:f,PaperProps:h={},PopoverClasses:p,transitionDuration:m="auto",TransitionProps:{onEntering:x}={},variant:g="selectedMenu",slots:y={},slotProps:v={}}=o,_=ee(o.TransitionProps,JT),S=ee(o,ZT),R=ou(),C=R.direction==="rtl",b=E({},o,{autoFocus:s,disableAutoFocusItem:c,MenuListProps:u,onEntering:x,PaperProps:h,transitionDuration:m,TransitionProps:_,variant:g}),w=nO(b),P=s&&!c&&f,T=k.useRef(null),L=(I,W)=>{T.current&&T.current.adjustStyleForScrollbar(I,R),x&&x(I,W)},F=I=>{I.key==="Tab"&&(I.preventDefault(),d&&d(I,"tabKeyDown"))};let $=-1;k.Children.map(a,(I,W)=>{k.isValidElement(I)&&(I.props.disabled||(g==="selectedMenu"&&I.props.selected||$===-1)&&($=W))});const N=(r=y.paper)!=null?r:iO,D=(i=v.paper)!=null?i:h,A=uo({elementType:y.root,externalSlotProps:v.root,ownerState:b,className:[w.root,l]}),O=uo({elementType:N,externalSlotProps:D,ownerState:b,className:w.paper});return M.jsx(rO,E({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?eO:tO,slots:{paper:N,root:y.root},slotProps:{root:A,paper:O},open:f,ref:n,transitionDuration:m,TransitionProps:E({onEntering:L},_),ownerState:b},S,{classes:p,children:M.jsx(oO,E({onKeyDown:F,actions:T,autoFocus:s&&($===-1||c),autoFocusItem:P,variant:g},u,{className:se(w.list,u.className),children:a}))}))}),aO=sO;function lO(e){return _e("MuiMenuItem",e)}const cO=we("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),No=cO,uO=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],dO=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},fO=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:o,classes:s}=e,l=Me({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},lO,s);return E({},s,l)},hO=ne(yu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:dO})(({theme:e,ownerState:t})=>E({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${No.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Gt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${No.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Gt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${No.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Gt(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})`:Gt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${No.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${No.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Gg.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Gg.inset}`]:{marginLeft:52},[`& .${ec.root}`]:{marginTop:0,marginBottom:0},[`& .${ec.inset}`]:{paddingLeft:36},[`& .${Qg.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&E({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Qg.root} svg`]:{fontSize:"1.25rem"}}))),pO=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:f}=r,h=ee(r,uO),p=k.useContext(Zl),m=k.useMemo(()=>({dense:s||p.dense||!1,disableGutters:l}),[p.dense,s,l]),x=k.useRef(null);Or(()=>{i&&x.current&&x.current.focus()},[i]);const g=E({},r,{dense:m.dense,divider:a,disableGutters:l}),y=fO(r),v=Et(x,n);let _;return r.disabled||(_=d!==void 0?d:-1),M.jsx(Zl.Provider,{value:m,children:M.jsx(hO,E({ref:v,role:u,tabIndex:_,component:o,focusVisibleClassName:se(y.focusVisible,c),className:se(y.root,f)},h,{ownerState:g,classes:y}))})}),Mi=pO;function mO(e){return _e("MuiNativeSelect",e)}const gO=we("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),_p=gO,yO=["className","disabled","error","IconComponent","inputRef","variant"],vO=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o,error:s}=e,a={select:["select",n,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${re(n)}`,o&&"iconOpen",r&&"disabled"]};return Me(a,mO,t)},Qx=({ownerState:e,theme:t})=>E({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":E({},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"},[`&.${_p.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}}),xO=ne("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:kn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${_p.multiple}`]:t.multiple}]}})(Qx),Jx=({ownerState:e,theme:t})=>E({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${_p.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),bO=ne("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${re(n.variant)}`],n.open&&t.iconOpen]}})(Jx),_O=k.forwardRef(function(t,n){const{className:r,disabled:i,error:o,IconComponent:s,inputRef:a,variant:l="standard"}=t,c=ee(t,yO),u=E({},t,{disabled:i,variant:l,error:o}),d=vO(u);return M.jsxs(k.Fragment,{children:[M.jsx(xO,E({ownerState:u,className:se(d.select,r),disabled:i,ref:a||n},c)),t.multiple?null:M.jsx(bO,{as:s,ownerState:u,className:d.icon})]})}),SO=_O;var n0;const wO=["children","classes","className","label","notched"],kO=ne("fieldset")({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%"}),CO=ne("legend")(({ownerState:e,theme:t})=>E({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&&E({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 EO(e){const{className:t,label:n,notched:r}=e,i=ee(e,wO),o=n!=null&&n!=="",s=E({},e,{notched:r,withLabel:o});return M.jsx(kO,E({"aria-hidden":!0,className:t,ownerState:s},i,{children:M.jsx(CO,{ownerState:s,children:o?M.jsx("span",{children:n}):n0||(n0=M.jsx("span",{className:"notranslate",children:"​"}))})}))}const PO=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],RO=e=>{const{classes:t}=e,r=Me({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},CR,t);return E({},t,r)},MO=ne(bu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:vu})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return E({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ar.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${ar.focused} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${ar.error} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ar.disabled} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&E({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),TO=ne(EO,{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}}),OO=ne(_u,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:xu})(({theme:e,ownerState:t})=>E({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),Zx=k.forwardRef(function(t,n){var r,i,o,s,a;const l=$e({props:t,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:d="input",label:f,multiline:h=!1,notched:p,slots:m={},type:x="text"}=l,g=ee(l,PO),y=RO(l),v=vi(),_=bo({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S=E({},l,{color:_.color||"primary",disabled:_.disabled,error:_.error,focused:_.focused,formControl:v,fullWidth:u,hiddenLabel:_.hiddenLabel,multiline:h,size:_.size,type:x}),R=(r=(i=m.root)!=null?i:c.Root)!=null?r:MO,C=(o=(s=m.input)!=null?s:c.Input)!=null?o:OO;return M.jsx(xp,E({slots:{root:R,input:C},renderSuffix:b=>M.jsx(TO,{ownerState:S,className:y.notchedOutline,label:f!=null&&f!==""&&_.required?a||(a=M.jsxs(k.Fragment,{children:[f," ","*"]})):f,notched:typeof p<"u"?p:!!(b.startAdornment||b.filled||b.focused)}),fullWidth:u,inputComponent:d,multiline:h,ref:n,type:x},g,{classes:E({},y,{notchedOutline:null})}))});Zx.muiName="Input";const Sp=Zx;function IO(e){return _e("MuiSelect",e)}const AO=we("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Fo=AO;var r0;const LO=["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"],$O=ne("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Fo.select}`]:t.select},{[`&.${Fo.select}`]:t[n.variant]},{[`&.${Fo.error}`]:t.error},{[`&.${Fo.multiple}`]:t.multiple}]}})(Qx,{[`&.${Fo.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),NO=ne("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${re(n.variant)}`],n.open&&t.iconOpen]}})(Jx),FO=ne("input",{shouldForwardProp:e=>A2(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 i0(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function DO(e){return e==null||typeof e=="string"&&!e.trim()}const zO=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o,error:s}=e,a={select:["select",n,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${re(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Me(a,IO,t)},BO=k.forwardRef(function(t,n){var r;const{"aria-describedby":i,"aria-label":o,autoFocus:s,autoWidth:a,children:l,className:c,defaultOpen:u,defaultValue:d,disabled:f,displayEmpty:h,error:p=!1,IconComponent:m,inputRef:x,labelId:g,MenuProps:y={},multiple:v,name:_,onBlur:S,onChange:R,onClose:C,onFocus:b,onOpen:w,open:P,readOnly:T,renderValue:L,SelectDisplayProps:F={},tabIndex:$,value:N,variant:D="standard"}=t,A=ee(t,LO),[O,I]=Hl({controlled:N,default:d,name:"Select"}),[W,q]=Hl({controlled:P,default:u,name:"Select"}),B=k.useRef(null),X=k.useRef(null),[H,Q]=k.useState(null),{current:Z}=k.useRef(P!=null),[ce,pe]=k.useState(),U=Et(n,x),ae=k.useCallback(G=>{X.current=G,G&&Q(G)},[]),te=H==null?void 0:H.parentNode;k.useImperativeHandle(U,()=>({focus:()=>{X.current.focus()},node:B.current,value:O}),[O]),k.useEffect(()=>{u&&W&&H&&!Z&&(pe(a?null:te.clientWidth),X.current.focus())},[H,a]),k.useEffect(()=>{s&&X.current.focus()},[s]),k.useEffect(()=>{if(!g)return;const G=Bt(X.current).getElementById(g);if(G){const ke=()=>{getSelection().isCollapsed&&X.current.focus()};return G.addEventListener("click",ke),()=>{G.removeEventListener("click",ke)}}},[g]);const le=(G,ke)=>{G?w&&w(ke):C&&C(ke),Z||(pe(a?null:te.clientWidth),q(G))},Y=G=>{G.button===0&&(G.preventDefault(),X.current.focus(),le(!0,G))},oe=G=>{le(!1,G)},ie=k.Children.toArray(l),me=G=>{const ke=ie.find(Re=>Re.props.value===G.target.value);ke!==void 0&&(I(ke.props.value),R&&R(G,ke))},je=G=>ke=>{let Re;if(ke.currentTarget.hasAttribute("tabindex")){if(v){Re=Array.isArray(O)?O.slice():[];const jn=O.indexOf(G.props.value);jn===-1?Re.push(G.props.value):Re.splice(jn,1)}else Re=G.props.value;if(G.props.onClick&&G.props.onClick(ke),O!==Re&&(I(Re),R)){const jn=ke.nativeEvent||ke,_i=new jn.constructor(jn.type,jn);Object.defineProperty(_i,"target",{writable:!0,value:{value:Re,name:_}}),R(_i,G)}v||le(!1,ke)}},De=G=>{T||[" ","ArrowUp","ArrowDown","Enter"].indexOf(G.key)!==-1&&(G.preventDefault(),le(!0,G))},qe=H!==null&&W,Xe=G=>{!qe&&S&&(Object.defineProperty(G,"target",{writable:!0,value:{value:O,name:_}}),S(G))};delete A["aria-invalid"];let de,ye;const he=[];let Se=!1;(Ql({value:O})||h)&&(L?de=L(O):Se=!0);const ue=ie.map(G=>{if(!k.isValidElement(G))return null;let ke;if(v){if(!Array.isArray(O))throw new Error(rr(2));ke=O.some(Re=>i0(Re,G.props.value)),ke&&Se&&he.push(G.props.children)}else ke=i0(O,G.props.value),ke&&Se&&(ye=G.props.children);return k.cloneElement(G,{"aria-selected":ke?"true":"false",onClick:je(G),onKeyUp:Re=>{Re.key===" "&&Re.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(Re)},role:"option",selected:ke,value:void 0,"data-value":G.props.value})});Se&&(v?he.length===0?de=null:de=he.reduce((G,ke,Re)=>(G.push(ke),Re{const{classes:t}=e;return t},wp={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>kn(e)&&e!=="variant",slot:"Root"},HO=ne(Yx,wp)(""),KO=ne(Sp,wp)(""),GO=ne(Vx,wp)(""),eb=k.forwardRef(function(t,n){const r=$e({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:o,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=MR,id:d,input:f,inputProps:h,label:p,labelId:m,MenuProps:x,multiple:g=!1,native:y=!1,onClose:v,onOpen:_,open:S,renderValue:R,SelectDisplayProps:C,variant:b="outlined"}=r,w=ee(r,WO),P=y?SO:jO,T=vi(),L=bo({props:r,muiFormControl:T,states:["variant","error"]}),F=L.variant||b,$=E({},r,{variant:F,classes:s}),N=VO($),D=ee(N,UO),A=f||{standard:M.jsx(HO,{ownerState:$}),outlined:M.jsx(KO,{label:p,ownerState:$}),filled:M.jsx(GO,{ownerState:$})}[F],O=Et(n,A.ref);return M.jsx(k.Fragment,{children:k.cloneElement(A,E({inputComponent:P,inputProps:E({children:o,error:L.error,IconComponent:u,variant:F,type:void 0,multiple:g},y?{id:d}:{autoWidth:i,defaultOpen:l,displayEmpty:c,labelId:m,MenuProps:x,onClose:v,onOpen:_,open:S,renderValue:R,SelectDisplayProps:E({id:d},C)},h,{classes:h?Xt(D,h.classes):D},f?f.props.inputProps:{})},g&&y&&F==="outlined"?{notched:!0}:{},{ref:O,className:se(A.props.className,a,N.root)},!f&&{variant:F},w))})});eb.muiName="Select";const $f=eb;function YO(e){return _e("MuiToolbar",e)}we("MuiToolbar",["root","gutters","regular","dense"]);const qO=["className","component","disableGutters","variant"],XO=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Me({root:["root",!n&&"gutters",r]},YO,t)},QO=ne("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>E({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),JO=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular"}=r,l=ee(r,qO),c=E({},r,{component:o,disableGutters:s,variant:a}),u=XO(c);return M.jsx(QO,E({as:o,className:se(u.root,i),ref:n,ownerState:c},l))}),ZO=JO;function eI(e){return _e("MuiTextField",e)}we("MuiTextField",["root"]);const tI=["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"],nI={standard:Yx,filled:Vx,outlined:Sp},rI=e=>{const{classes:t}=e;return Me({root:["root"]},eI,t)},iI=ne(Af,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),oI=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:s,className:a,color:l="primary",defaultValue:c,disabled:u=!1,error:d=!1,FormHelperTextProps:f,fullWidth:h=!1,helperText:p,id:m,InputLabelProps:x,inputProps:g,InputProps:y,inputRef:v,label:_,maxRows:S,minRows:R,multiline:C=!1,name:b,onBlur:w,onChange:P,onFocus:T,placeholder:L,required:F=!1,rows:$,select:N=!1,SelectProps:D,type:A,value:O,variant:I="outlined"}=r,W=ee(r,tI),q=E({},r,{autoFocus:o,color:l,disabled:u,error:d,fullWidth:h,multiline:C,required:F,select:N,variant:I}),B=rI(q),X={};I==="outlined"&&(x&&typeof x.shrink<"u"&&(X.notched=x.shrink),X.label=_),N&&((!D||!D.native)&&(X.id=void 0),X["aria-describedby"]=void 0);const H=ex(m),Q=p&&H?`${H}-helper-text`:void 0,Z=_&&H?`${H}-label`:void 0,ce=nI[I],pe=M.jsx(ce,E({"aria-describedby":Q,autoComplete:i,autoFocus:o,defaultValue:c,fullWidth:h,multiline:C,name:b,rows:$,maxRows:S,minRows:R,type:A,value:O,id:H,inputRef:v,onBlur:w,onChange:P,onFocus:T,placeholder:L,inputProps:g},X,y));return M.jsxs(iI,E({className:se(B.root,a),disabled:u,error:d,fullWidth:h,ref:n,required:F,color:l,variant:I,ownerState:q},W,{children:[_!=null&&_!==""&&M.jsx(kT,E({htmlFor:H,id:Z},x,{children:_})),N?M.jsx($f,E({"aria-describedby":Q,id:H,labelId:Z,value:O,input:pe},D,{children:s})):pe,p&&M.jsx(WM,E({id:Q},f,{children:p}))]}))}),sI=oI;var kp={},tb={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})(tb);var Cp=tb.exports,hd={};const aI=R_(U2);var o0;function Ep(){return o0||(o0=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=aI}(hd)),hd}var lI=Cp;Object.defineProperty(kp,"__esModule",{value:!0});var nb=kp.default=void 0,cI=lI(Ep()),uI=M,dI=(0,cI.default)((0,uI.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");nb=kp.default=dI;var Pp={},fI=Cp;Object.defineProperty(Pp,"__esModule",{value:!0});var rb=Pp.default=void 0,hI=fI(Ep()),pI=M,mI=(0,hI.default)((0,pI.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"}),"Language");rb=Pp.default=mI;function gI(){return M.jsx(jx,{sx:{flexGrow:1},children:M.jsx(WP,{position:"relative",color:"secondary",children:M.jsx(bp,{children:M.jsxs(ZO,{disableGutters:!0,children:[M.jsx(Bg,{size:"large",edge:"start",color:"primary","aria-label":"menu",children:M.jsx(rb,{fontSize:"large"})}),M.jsx(An,{variant:"string",component:"div",sx:{flexGrow:1},children:"NASA FIREBALL"}),M.jsx(Bg,{size:"large",color:"inherit","aria-label":"search",onClick:()=>{document.getElementById("search").scrollIntoView({behavior:"smooth"})},children:M.jsx(nb,{})})]})})})})}const yI="modulepreload",vI=function(e,t){return new URL(e,t).href},s0={},ib=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=vI(o,r),o in s0)return;s0[o]=!0;const s=o.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!r)for(let u=i.length-1;u>=0;u--){const d=i[u];if(d.href===o&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":yI,s||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),s)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})};const xI=""+new URL("Ourspaceship-Africa-2k-2-cbe3029e.png",import.meta.url).href,bI=Ht.lazy(()=>ib(()=>import("./Statistics-73485a50.js"),["./Statistics-73485a50.js","./InputAdornment-d5bf5eeb.js","./Statistics-f719e10b.css"],import.meta.url));function _I(){return M.jsxs("div",{className:"landing",children:[M.jsxs(bp,{className:"landing-container",children:[M.jsxs("div",{className:"text-box",children:[M.jsx(An,{variant:"h2",className:"text-title",children:"Meteors and Meteorites"}),M.jsx(An,{variant:"string",className:"text-paragraph",children:"Data on over 45k meteorites strikes and events research"})]}),M.jsx(Jl,{variant:"contained",className:"custom-Button-styling",children:"Meteorite Landings"}),M.jsx(Jl,{variant:"contained",sx:{margin:1,bgcolor:"secondary.main",borderWidth:.1,borderStyle:"solid",borderColor:"grey.800","&:hover":{bgcolor:"secondary.dark"}},className:"custom-Button-styling",children:"Near Earth Objects"}),M.jsx(bI,{})]}),M.jsx("div",{className:"image-container",children:M.jsx("img",{src:xI,alt:""})})]})}function SI(){return M.jsxs("div",{className:"Home",children:[M.jsx(gI,{}),M.jsx(_I,{})]})}/** +`),rn.rippleVisible,cP,Of,({theme:e})=>e.transitions.easing.easeInOut,rn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,rn.child,rn.childLeaving,uP,Of,({theme:e})=>e.transitions.easing.easeInOut,rn.childPulsate,dP,({theme:e})=>e.transitions.easing.easeInOut),pP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=ee(r,aP),[l,c]=k.useState([]),u=k.useRef(0),d=k.useRef(null);k.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=k.useRef(!1),h=k.useRef(0),p=k.useRef(null),m=k.useRef(null);k.useEffect(()=>()=>{h.current&&clearTimeout(h.current)},[]);const x=k.useCallback(_=>{const{pulsate:S,rippleX:R,rippleY:C,rippleSize:b,cb:w}=_;c(P=>[...P,M.jsx(hP,{classes:{ripple:se(o.ripple,rn.ripple),rippleVisible:se(o.rippleVisible,rn.rippleVisible),ripplePulsate:se(o.ripplePulsate,rn.ripplePulsate),child:se(o.child,rn.child),childLeaving:se(o.childLeaving,rn.childLeaving),childPulsate:se(o.childPulsate,rn.childPulsate)},timeout:Of,pulsate:S,rippleX:R,rippleY:C,rippleSize:b},u.current)]),u.current+=1,d.current=w},[o]),g=k.useCallback((_={},S={},R=()=>{})=>{const{pulsate:C=!1,center:b=i||S.pulsate,fakeElement:w=!1}=S;if((_==null?void 0:_.type)==="mousedown"&&f.current){f.current=!1;return}(_==null?void 0:_.type)==="touchstart"&&(f.current=!0);const P=w?null:m.current,T=P?P.getBoundingClientRect():{width:0,height:0,left:0,top:0};let L,F,$;if(b||_===void 0||_.clientX===0&&_.clientY===0||!_.clientX&&!_.touches)L=Math.round(T.width/2),F=Math.round(T.height/2);else{const{clientX:N,clientY:D}=_.touches&&_.touches.length>0?_.touches[0]:_;L=Math.round(N-T.left),F=Math.round(D-T.top)}if(b)$=Math.sqrt((2*T.width**2+T.height**2)/3),$%2===0&&($+=1);else{const N=Math.max(Math.abs((P?P.clientWidth:0)-L),L)*2+2,D=Math.max(Math.abs((P?P.clientHeight:0)-F),F)*2+2;$=Math.sqrt(N**2+D**2)}_!=null&&_.touches?p.current===null&&(p.current=()=>{x({pulsate:C,rippleX:L,rippleY:F,rippleSize:$,cb:R})},h.current=setTimeout(()=>{p.current&&(p.current(),p.current=null)},lP)):x({pulsate:C,rippleX:L,rippleY:F,rippleSize:$,cb:R})},[i,x]),y=k.useCallback(()=>{g({},{pulsate:!0})},[g]),v=k.useCallback((_,S)=>{if(clearTimeout(h.current),(_==null?void 0:_.type)==="touchend"&&p.current){p.current(),p.current=null,h.current=setTimeout(()=>{v(_,S)});return}p.current=null,c(R=>R.length>0?R.slice(1):R),d.current=S},[]);return k.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),M.jsx(fP,E({className:se(rn.root,o.root,s),ref:m},a,{children:M.jsx(Z2,{component:null,exit:!0,children:l})}))}),mP=pP;function gP(e){return _e("MuiButtonBase",e)}const yP=we("MuiButtonBase",["root","disabled","focusVisible"]),vP=yP,xP=["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"],bP=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=Me({root:["root",t&&"disabled",n&&"focusVisible"]},gP,i);return n&&r&&(s.root+=` ${r}`),s},_P=ne("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"},[`&.${vP.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),SP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:h="a",onBlur:p,onClick:m,onContextMenu:x,onDragLeave:g,onFocus:y,onFocusVisible:v,onKeyDown:_,onKeyUp:S,onMouseDown:R,onMouseLeave:C,onMouseUp:b,onTouchEnd:w,onTouchMove:P,onTouchStart:T,tabIndex:L=0,TouchRippleProps:F,touchRippleRef:$,type:N}=r,D=ee(r,xP),A=k.useRef(null),O=k.useRef(null),I=Et(O,$),{isFocusVisibleRef:W,onFocus:q,onBlur:B,ref:X}=tx(),[H,Q]=k.useState(!1);c&&H&&Q(!1),k.useImperativeHandle(i,()=>({focusVisible:()=>{Q(!0),A.current.focus()}}),[]);const[Z,ce]=k.useState(!1);k.useEffect(()=>{ce(!0)},[]);const pe=Z&&!u&&!c;k.useEffect(()=>{H&&f&&!u&&Z&&O.current.pulsate()},[u,f,H,Z]);function U(J,dt,It=d){return Zr(G=>(dt&&dt(G),!It&&O.current&&O.current[J](G),!0))}const ae=U("start",R),te=U("stop",x),le=U("stop",g),Y=U("stop",b),oe=U("stop",J=>{H&&J.preventDefault(),C&&C(J)}),ie=U("start",T),me=U("stop",w),je=U("stop",P),De=U("stop",J=>{B(J),W.current===!1&&Q(!1),p&&p(J)},!1),qe=Zr(J=>{A.current||(A.current=J.currentTarget),q(J),W.current===!0&&(Q(!0),v&&v(J)),y&&y(J)}),Xe=()=>{const J=A.current;return l&&l!=="button"&&!(J.tagName==="A"&&J.href)},de=k.useRef(!1),ye=Zr(J=>{f&&!de.current&&H&&O.current&&J.key===" "&&(de.current=!0,O.current.stop(J,()=>{O.current.start(J)})),J.target===J.currentTarget&&Xe()&&J.key===" "&&J.preventDefault(),_&&_(J),J.target===J.currentTarget&&Xe()&&J.key==="Enter"&&!c&&(J.preventDefault(),m&&m(J))}),he=Zr(J=>{f&&J.key===" "&&O.current&&H&&!J.defaultPrevented&&(de.current=!1,O.current.stop(J,()=>{O.current.pulsate(J)})),S&&S(J),m&&J.target===J.currentTarget&&Xe()&&J.key===" "&&!J.defaultPrevented&&m(J)});let Se=l;Se==="button"&&(D.href||D.to)&&(Se=h);const ue={};Se==="button"?(ue.type=N===void 0?"button":N,ue.disabled=c):(!D.href&&!D.to&&(ue.role="button"),c&&(ue["aria-disabled"]=c));const Pt=Et(n,X,A),lt=E({},r,{centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:L,focusVisible:H}),ge=bP(lt);return M.jsxs(_P,E({as:Se,className:se(ge.root,a),ownerState:lt,onBlur:De,onClick:m,onContextMenu:te,onFocus:qe,onKeyDown:ye,onKeyUp:he,onMouseDown:ae,onMouseLeave:oe,onMouseUp:Y,onDragLeave:le,onTouchEnd:me,onTouchMove:je,onTouchStart:ie,ref:Pt,tabIndex:c?-1:L,type:N},ue,D,{children:[s,pe?M.jsx(mP,E({ref:I,center:o},F)):null]}))}),gu=SP;function wP(e){return _e("MuiIconButton",e)}const kP=we("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),CP=kP,EP=["edge","children","className","color","disabled","disableFocusRipple","size"],PP=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${re(r)}`,i&&`edge${re(i)}`,`size${re(o)}`]};return Me(s,wP,t)},RP=ne(gu,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${re(n.color)}`],n.edge&&t[`edge${re(n.edge)}`],t[`size${re(n.size)}`]]}})(({theme:e,ownerState:t})=>E({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return E({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&E({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":E({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${CP.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),MP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=r,d=ee(r,EP),f=E({},r,{edge:i,color:a,disabled:l,disableFocusRipple:c,size:u}),h=PP(f);return M.jsx(RP,E({className:se(h.root,s),centerRipple:!0,focusRipple:!c,disabled:l,ref:n,ownerState:f},d,{children:o}))}),zg=MP;function TP(e){return _e("MuiTypography",e)}we("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const OP=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],IP=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,a={root:["root",o,e.align!=="inherit"&&`align${re(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Me(a,TP,s)},AP=ne("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${re(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>E({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})),Bg={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},LP={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},$P=e=>LP[e]||e,NP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTypography"}),i=$P(r.color),o=up(E({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:d=!1,variant:f="body1",variantMapping:h=Bg}=o,p=ee(o,OP),m=E({},o,{align:s,color:i,className:a,component:l,gutterBottom:c,noWrap:u,paragraph:d,variant:f,variantMapping:h}),x=l||(d?"p":h[f]||Bg[f])||"span",g=IP(m);return M.jsx(AP,E({as:x,ref:n,ownerState:m,className:se(g.root,a)},p))}),An=NP;function FP(e){return _e("MuiAppBar",e)}we("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const DP=["className","color","enableColorOnDark","position"],zP=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${re(t)}`,`position${re(n)}`]};return Me(i,FP,r)},Pa=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,BP=ne(zx,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${re(n.position)}`],t[`color${re(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return E({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&E({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&E({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&E({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Pa(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Pa(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Pa(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Pa(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),jP=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:s=!1,position:a="fixed"}=r,l=ee(r,DP),c=E({},r,{color:o,position:a,enableColorOnDark:s}),u=zP(c);return M.jsx(BP,E({square:!0,component:"header",ownerState:c,elevation:4,className:se(u.root,i,a==="fixed"&&"mui-fixed"),ref:n},l))}),WP=jP;function Xl(e){return typeof e=="string"}function UP(e,t,n){return e===void 0||Xl(e)?t:E({},t,{ownerState:E({},t.ownerState,n)})}function Bx(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 VP(e,t,n){return typeof e=="function"?e(t,n):e}function jg(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 HP(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const h=se(i==null?void 0:i.className,r==null?void 0:r.className,o,n==null?void 0:n.className),p=E({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=E({},n,i,r);return h.length>0&&(m.className=h),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:void 0}}const s=Bx(E({},i,r)),a=jg(r),l=jg(i),c=t(s),u=se(c==null?void 0:c.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=E({},c==null?void 0:c.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),f=E({},c,n,l,a);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}const KP=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function uo(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=ee(e,KP),a=o?{}:VP(r,i),{props:l,internalRef:c}=HP(E({},s,{externalSlotProps:a})),u=Et(c,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return UP(n,E({},l,{ref:u}),i)}const GP=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function YP(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 qP(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 XP(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||qP(e))}function QP(e){const t=[],n=[];return Array.from(e.querySelectorAll(GP)).forEach((r,i)=>{const o=YP(r);o===-1||!XP(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function JP(){return!0}function ZP(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=QP,isEnabled:s=JP,open:a}=e,l=k.useRef(!1),c=k.useRef(null),u=k.useRef(null),d=k.useRef(null),f=k.useRef(null),h=k.useRef(!1),p=k.useRef(null),m=Et(t.ref,p),x=k.useRef(null);k.useEffect(()=>{!a||!p.current||(h.current=!n)},[n,a]),k.useEffect(()=>{if(!a||!p.current)return;const v=Bt(p.current);return p.current.contains(v.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),h.current&&p.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),k.useEffect(()=>{if(!a||!p.current)return;const v=Bt(p.current),_=C=>{const{current:b}=p;if(b!==null){if(!v.hasFocus()||r||!s()||l.current){l.current=!1;return}if(!b.contains(v.activeElement)){if(C&&f.current!==C.target||v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!h.current)return;let T=[];if((v.activeElement===c.current||v.activeElement===u.current)&&(T=o(p.current)),T.length>0){var w,P;const L=!!((w=x.current)!=null&&w.shiftKey&&((P=x.current)==null?void 0:P.key)==="Tab"),F=T[0],$=T[T.length-1];typeof F!="string"&&typeof $!="string"&&(L?$.focus():F.focus())}else b.focus()}}},S=C=>{x.current=C,!(r||!s()||C.key!=="Tab")&&v.activeElement===p.current&&C.shiftKey&&(l.current=!0,u.current&&u.current.focus())};v.addEventListener("focusin",_),v.addEventListener("keydown",S,!0);const R=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&_(null)},50);return()=>{clearInterval(R),v.removeEventListener("focusin",_),v.removeEventListener("keydown",S,!0)}},[n,r,i,s,a,o]);const g=v=>{d.current===null&&(d.current=v.relatedTarget),h.current=!0,f.current=v.target;const _=t.props.onFocus;_&&_(v)},y=v=>{d.current===null&&(d.current=v.relatedTarget),h.current=!0};return M.jsxs(k.Fragment,{children:[M.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),k.cloneElement(t,{ref:m,onFocus:g}),M.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}function eR(e){return typeof e=="function"?e():e}const tR=k.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[s,a]=k.useState(null),l=Et(k.isValidElement(r)?r.ref:null,n);if(Or(()=>{o||a(eR(i)||document.body)},[i,o]),Or(()=>{if(s&&!o)return Vl(n,s),()=>{Vl(n,null)}},[n,s,o]),o){if(k.isValidElement(r)){const c={ref:l};return k.cloneElement(r,c)}return M.jsx(k.Fragment,{children:r})}return M.jsx(k.Fragment,{children:s&&Mc.createPortal(r,s)})});function nR(e){const t=Bt(e);return t.body===e?Tr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function fs(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Wg(e){return parseInt(Tr(e).getComputedStyle(e).paddingRight,10)||0}function rR(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 Ug(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,s=>{const a=o.indexOf(s)===-1,l=!rR(s);a&&l&&fs(s,i)})}function ad(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function iR(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(nR(r)){const s=nx(Bt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Wg(r)+s}px`;const a=Bt(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Wg(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Bt(r).body;else{const s=r.parentElement,a=Tr(r);o=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function oR(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class sR{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&&fs(t.modalRef,!1);const i=oR(n);Ug(n,t.mount,t.modalRef,i,!0);const o=ad(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=ad(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=iR(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=ad(this.containers,s=>s.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&fs(t.modalRef,n),Ug(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&fs(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function aR(e){return typeof e=="function"?e():e}function lR(e){return e?e.props.hasOwnProperty("in"):!1}const cR=new sR;function uR(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=cR,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:c,open:u,rootRef:d}=e,f=k.useRef({}),h=k.useRef(null),p=k.useRef(null),m=Et(p,d),[x,g]=k.useState(!u),y=lR(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const _=()=>Bt(h.current),S=()=>(f.current.modalRef=p.current,f.current.mount=h.current,f.current),R=()=>{i.mount(S(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},C=Zr(()=>{const D=aR(t)||_().body;i.add(S(),D),p.current&&R()}),b=k.useCallback(()=>i.isTopModal(S()),[i]),w=Zr(D=>{h.current=D,D&&(u&&b()?R():p.current&&fs(p.current,v))}),P=k.useCallback(()=>{i.remove(S(),v)},[v,i]);k.useEffect(()=>()=>{P()},[P]),k.useEffect(()=>{u?C():(!y||!o)&&P()},[u,P,y,o,C]);const T=D=>A=>{var O;(O=D.onKeyDown)==null||O.call(D,A),!(A.key!=="Escape"||!b())&&(n||(A.stopPropagation(),c&&c(A,"escapeKeyDown")))},L=D=>A=>{var O;(O=D.onClick)==null||O.call(D,A),A.target===A.currentTarget&&c&&c(A,"backdropClick")};return{getRootProps:(D={})=>{const A=Bx(e);delete A.onTransitionEnter,delete A.onTransitionExited;const O=E({},A,D);return E({role:"presentation"},O,{onKeyDown:T(O),ref:m})},getBackdropProps:(D={})=>{const A=D;return E({"aria-hidden":!0},A,{onClick:L(A),open:u})},getTransitionProps:()=>{const D=()=>{g(!1),s&&s()},A=()=>{g(!0),a&&a(),o&&P()};return{onEnter:kf(D,l.props.onEnter),onExited:kf(A,l.props.onExited)}},rootRef:m,portalRef:w,isTopModal:b,exited:x,hasTransition:y}}const dR=["onChange","maxRows","minRows","style","value"];function Ra(e){return parseInt(e,10)||0}const fR={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Vg(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const hR=k.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a}=t,l=ee(t,dR),{current:c}=k.useRef(a!=null),u=k.useRef(null),d=Et(n,u),f=k.useRef(null),h=k.useRef(0),[p,m]=k.useState({outerHeightStyle:0}),x=k.useCallback(()=>{const S=u.current,C=Tr(S).getComputedStyle(S);if(C.width==="0px")return{outerHeightStyle:0};const b=f.current;b.style.width=C.width,b.value=S.value||t.placeholder||"x",b.value.slice(-1)===` +`&&(b.value+=" ");const w=C.boxSizing,P=Ra(C.paddingBottom)+Ra(C.paddingTop),T=Ra(C.borderBottomWidth)+Ra(C.borderTopWidth),L=b.scrollHeight;b.value="x";const F=b.scrollHeight;let $=L;o&&($=Math.max(Number(o)*F,$)),i&&($=Math.min(Number(i)*F,$)),$=Math.max($,F);const N=$+(w==="border-box"?P+T:0),D=Math.abs($-L)<=1;return{outerHeightStyle:N,overflow:D}},[i,o,t.placeholder]),g=(S,R)=>{const{outerHeightStyle:C,overflow:b}=R;return h.current<20&&(C>0&&Math.abs((S.outerHeightStyle||0)-C)>1||S.overflow!==b)?(h.current+=1,{overflow:b,outerHeightStyle:C}):S},y=k.useCallback(()=>{const S=x();Vg(S)||m(R=>g(R,S))},[x]),v=()=>{const S=x();Vg(S)||Mc.flushSync(()=>{m(R=>g(R,S))})};k.useEffect(()=>{const S=()=>{h.current=0,u.current&&v()},R=qh(()=>{h.current=0,u.current&&v()});let C;const b=u.current,w=Tr(b);return w.addEventListener("resize",R),typeof ResizeObserver<"u"&&(C=new ResizeObserver(S),C.observe(b)),()=>{R.clear(),w.removeEventListener("resize",R),C&&C.disconnect()}}),Or(()=>{y()}),k.useEffect(()=>{h.current=0},[a]);const _=S=>{h.current=0,c||y(),r&&r(S)};return M.jsxs(k.Fragment,{children:[M.jsx("textarea",E({value:a,onChange:_,ref:d,rows:o,style:E({height:p.outerHeightStyle,overflow:p.overflow?"hidden":void 0},s)},l)),M.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:E({},fR.shadow,s,{paddingTop:0,paddingBottom:0})})]})});function bo({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const pR=k.createContext(void 0),yp=pR;function vi(){return k.useContext(yp)}function mR(e){return M.jsx(bE,E({},e,{defaultTheme:ru,themeId:fi}))}function Hg(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ql(e,t=!1){return e&&(Hg(e.value)&&e.value!==""||t&&Hg(e.defaultValue)&&e.defaultValue!=="")}function gR(e){return e.startAdornment}function yR(e){return _e("MuiInputBase",e)}const vR=we("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),fo=vR,xR=["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"],yu=(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${re(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},vu=(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]},bR=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:h,type:p}=e,m={root:["root",`color${re(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",f&&f!=="medium"&&`size${re(f)}`,u&&"multiline",h&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",u&&"inputMultiline",f==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]};return Me(m,yR,t)},xu=ne("div",{name:"MuiInputBase",slot:"Root",overridesResolver:yu})(({theme:e,ownerState:t})=>E({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${fo.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&E({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),bu=ne("input",{name:"MuiInputBase",slot:"Input",overridesResolver:vu})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=E({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return E({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] + .${fo.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${fo.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"})}),_R=M.jsx(mR,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),SR=k.forwardRef(function(t,n){var r;const i=$e({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:s,autoFocus:a,className:l,components:c={},componentsProps:u={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:h,endAdornment:p,fullWidth:m=!1,id:x,inputComponent:g="input",inputProps:y={},inputRef:v,maxRows:_,minRows:S,multiline:R=!1,name:C,onBlur:b,onChange:w,onClick:P,onFocus:T,onKeyDown:L,onKeyUp:F,placeholder:$,readOnly:N,renderSuffix:D,rows:A,slotProps:O={},slots:I={},startAdornment:W,type:q="text",value:B}=i,X=ee(i,xR),H=y.value!=null?y.value:B,{current:Q}=k.useRef(H!=null),Z=k.useRef(),ce=k.useCallback(ge=>{},[]),pe=Et(Z,v,y.ref,ce),[U,ae]=k.useState(!1),te=vi(),le=bo({props:i,muiFormControl:te,states:["color","disabled","error","hiddenLabel","size","required","filled"]});le.focused=te?te.focused:U,k.useEffect(()=>{!te&&f&&U&&(ae(!1),b&&b())},[te,f,U,b]);const Y=te&&te.onFilled,oe=te&&te.onEmpty,ie=k.useCallback(ge=>{Ql(ge)?Y&&Y():oe&&oe()},[Y,oe]);Or(()=>{Q&&ie({value:H})},[H,ie,Q]);const me=ge=>{if(le.disabled){ge.stopPropagation();return}T&&T(ge),y.onFocus&&y.onFocus(ge),te&&te.onFocus?te.onFocus(ge):ae(!0)},je=ge=>{b&&b(ge),y.onBlur&&y.onBlur(ge),te&&te.onBlur?te.onBlur(ge):ae(!1)},De=(ge,...J)=>{if(!Q){const dt=ge.target||Z.current;if(dt==null)throw new Error(rr(1));ie({value:dt.value})}y.onChange&&y.onChange(ge,...J),w&&w(ge,...J)};k.useEffect(()=>{ie(Z.current)},[]);const qe=ge=>{Z.current&&ge.currentTarget===ge.target&&Z.current.focus(),P&&P(ge)};let Xe=g,de=y;R&&Xe==="input"&&(A?de=E({type:void 0,minRows:A,maxRows:A},de):de=E({type:void 0,maxRows:_,minRows:S},de),Xe=hR);const ye=ge=>{ie(ge.animationName==="mui-auto-fill-cancel"?Z.current:{value:"x"})};k.useEffect(()=>{te&&te.setAdornedStart(!!W)},[te,W]);const he=E({},i,{color:le.color||"primary",disabled:le.disabled,endAdornment:p,error:le.error,focused:le.focused,formControl:te,fullWidth:m,hiddenLabel:le.hiddenLabel,multiline:R,size:le.size,startAdornment:W,type:q}),Se=bR(he),ue=I.root||c.Root||xu,Pt=O.root||u.root||{},lt=I.input||c.Input||bu;return de=E({},de,(r=O.input)!=null?r:u.input),M.jsxs(k.Fragment,{children:[!h&&_R,M.jsxs(ue,E({},Pt,!Xl(ue)&&{ownerState:E({},he,Pt.ownerState)},{ref:n,onClick:qe},X,{className:se(Se.root,Pt.className,l,N&&"MuiInputBase-readOnly"),children:[W,M.jsx(yp.Provider,{value:null,children:M.jsx(lt,E({ownerState:he,"aria-invalid":le.error,"aria-describedby":o,autoComplete:s,autoFocus:a,defaultValue:d,disabled:le.disabled,id:x,onAnimationStart:ye,name:C,placeholder:$,readOnly:N,required:le.required,rows:A,value:H,onKeyDown:L,onKeyUp:F,type:q},de,!Xl(lt)&&{as:Xe,ownerState:E({},he,de.ownerState)},{ref:pe,className:se(Se.input,de.className,N&&"MuiInputBase-readOnly"),onBlur:je,onChange:De,onFocus:me}))}),p,D?D(E({},le,{startAdornment:W})):null]}))]})}),vp=SR;function wR(e){return _e("MuiInput",e)}const kR=E({},fo,we("MuiInput",["root","underline","input"])),Ao=kR;function CR(e){return _e("MuiOutlinedInput",e)}const ER=E({},fo,we("MuiOutlinedInput",["root","notchedOutline","input"])),ar=ER;function PR(e){return _e("MuiFilledInput",e)}const RR=E({},fo,we("MuiFilledInput",["root","underline","input"])),Dr=RR,MR=ra(M.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),TR=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],OR={entering:{opacity:1},entered:{opacity:1}},IR=k.forwardRef(function(t,n){const r=iu(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:h,onExited:p,onExiting:m,style:x,timeout:g=i,TransitionComponent:y=Fx}=t,v=ee(t,TR),_=k.useRef(null),S=Et(_,a.ref,n),R=$=>N=>{if($){const D=_.current;N===void 0?$(D):$(D,N)}},C=R(f),b=R(($,N)=>{Dx($);const D=ql({style:x,timeout:g,easing:l},{mode:"enter"});$.style.webkitTransition=r.transitions.create("opacity",D),$.style.transition=r.transitions.create("opacity",D),u&&u($,N)}),w=R(d),P=R(m),T=R($=>{const N=ql({style:x,timeout:g,easing:l},{mode:"exit"});$.style.webkitTransition=r.transitions.create("opacity",N),$.style.transition=r.transitions.create("opacity",N),h&&h($)}),L=R(p),F=$=>{o&&o(_.current,$)};return M.jsx(y,E({appear:s,in:c,nodeRef:_,onEnter:b,onEntered:w,onEntering:C,onExit:T,onExited:L,onExiting:P,addEndListener:F,timeout:g},v,{children:($,N)=>k.cloneElement(a,E({style:E({opacity:0,visibility:$==="exited"&&!c?"hidden":void 0},OR[$],x,a.props.style),ref:S},N))}))}),AR=IR;function LR(e){return _e("MuiBackdrop",e)}we("MuiBackdrop",["root","invisible"]);const $R=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],NR=e=>{const{classes:t,invisible:n}=e;return Me({root:["root",n&&"invisible"]},LR,t)},FR=ne("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>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"})),DR=k.forwardRef(function(t,n){var r,i,o;const s=$e({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:c="div",components:u={},componentsProps:d={},invisible:f=!1,open:h,slotProps:p={},slots:m={},TransitionComponent:x=AR,transitionDuration:g}=s,y=ee(s,$R),v=E({},s,{component:c,invisible:f}),_=NR(v),S=(r=p.root)!=null?r:d.root;return M.jsx(x,E({in:h,timeout:g},y,{children:M.jsx(FR,E({"aria-hidden":!0},S,{as:(i=(o=m.root)!=null?o:u.Root)!=null?i:c,className:se(_.root,l,S==null?void 0:S.className),ownerState:E({},v,S==null?void 0:S.ownerState),classes:_,ref:n,children:a}))}))}),zR=DR,BR=fp(),jR=kE({themeId:fi,defaultTheme:BR,defaultClassName:"MuiBox-root",generateClassName:Qh.generate}),jx=jR;function WR(e){return _e("MuiButton",e)}const UR=we("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Ma=UR,VR=k.createContext({}),HR=VR,KR=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],GR=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:o,classes:s}=e,a={root:["root",o,`${o}${re(t)}`,`size${re(i)}`,`${o}Size${re(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${re(i)}`],endIcon:["endIcon",`iconSize${re(i)}`]},l=Me(a,WR,s);return E({},s,l)},Wx=e=>E({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),YR=ne(gu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${re(n.color)}`],t[`size${re(n.size)}`],t[`${n.variant}Size${re(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return E({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":E({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":E({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Ma.focusVisible}`]:E({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Ma.disabled}`]:E({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Gt(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ma.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ma.disabled}`]:{boxShadow:"none"}}),qR=ne("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${re(n.size)}`]]}})(({ownerState:e})=>E({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Wx(e))),XR=ne("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${re(n.size)}`]]}})(({ownerState:e})=>E({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Wx(e))),QR=k.forwardRef(function(t,n){const r=k.useContext(HR),i=Xh(r,t),o=$e({props:i,name:"MuiButton"}),{children:s,color:a="primary",component:l="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:h,focusVisibleClassName:p,fullWidth:m=!1,size:x="medium",startIcon:g,type:y,variant:v="text"}=o,_=ee(o,KR),S=E({},o,{color:a,component:l,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:m,size:x,type:y,variant:v}),R=GR(S),C=g&&M.jsx(qR,{className:R.startIcon,ownerState:S,children:g}),b=h&&M.jsx(XR,{className:R.endIcon,ownerState:S,children:h});return M.jsxs(YR,E({ownerState:S,className:se(r.className,R.root,c),component:l,disabled:u,focusRipple:!f,focusVisibleClassName:se(R.focusVisible,p),ref:n,type:y},_,{classes:R,children:[C,s,b]}))}),Kg=QR;function JR(e){return _e("PrivateSwitchBase",e)}we("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ZR=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],eM=e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,o={root:["root",n&&"checked",r&&"disabled",i&&`edge${re(i)}`],input:["input"]};return Me(o,JR,t)},tM=ne(gu)(({ownerState:e})=>E({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),nM=ne("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),rM=k.forwardRef(function(t,n){const{autoFocus:r,checked:i,checkedIcon:o,className:s,defaultChecked:a,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:d,id:f,inputProps:h,inputRef:p,name:m,onBlur:x,onChange:g,onFocus:y,readOnly:v,required:_=!1,tabIndex:S,type:R,value:C}=t,b=ee(t,ZR),[w,P]=Hl({controlled:i,default:!!a,name:"SwitchBase",state:"checked"}),T=vi(),L=I=>{y&&y(I),T&&T.onFocus&&T.onFocus(I)},F=I=>{x&&x(I),T&&T.onBlur&&T.onBlur(I)},$=I=>{if(I.nativeEvent.defaultPrevented)return;const W=I.target.checked;P(W),g&&g(I,W)};let N=l;T&&typeof N>"u"&&(N=T.disabled);const D=R==="checkbox"||R==="radio",A=E({},t,{checked:w,disabled:N,disableFocusRipple:c,edge:u}),O=eM(A);return M.jsxs(tM,E({component:"span",className:se(O.root,s),centerRipple:!0,focusRipple:!c,disabled:N,tabIndex:null,role:void 0,onFocus:L,onBlur:F,ownerState:A,ref:n},b,{children:[M.jsx(nM,E({autoFocus:r,checked:i,defaultChecked:a,className:O.input,disabled:N,id:D?f:void 0,name:m,onChange:$,readOnly:v,ref:p,required:_,ownerState:A,tabIndex:S,type:R},R==="checkbox"&&C===void 0?{}:{value:C},h)),w?o:d]}))}),iM=rM,oM=ra(M.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),sM=ra(M.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),aM=ra(M.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function lM(e){return _e("MuiCheckbox",e)}const cM=we("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),ld=cM,uM=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],dM=e=>{const{classes:t,indeterminate:n,color:r,size:i}=e,o={root:["root",n&&"indeterminate",`color${re(r)}`,`size${re(i)}`]},s=Me(o,lM,t);return E({},t,s)},fM=ne(iM,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${re(n.color)}`]]}})(({theme:e,ownerState:t})=>E({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Gt(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${ld.checked}, &.${ld.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${ld.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),hM=M.jsx(sM,{}),pM=M.jsx(oM,{}),mM=M.jsx(aM,{}),gM=k.forwardRef(function(t,n){var r,i;const o=$e({props:t,name:"MuiCheckbox"}),{checkedIcon:s=hM,color:a="primary",icon:l=pM,indeterminate:c=!1,indeterminateIcon:u=mM,inputProps:d,size:f="medium",className:h}=o,p=ee(o,uM),m=c?u:l,x=c?u:s,g=E({},o,{color:a,indeterminate:c,size:f}),y=dM(g);return M.jsx(fM,E({type:"checkbox",inputProps:E({"data-indeterminate":c},d),icon:k.cloneElement(m,{fontSize:(r=m.props.fontSize)!=null?r:f}),checkedIcon:k.cloneElement(x,{fontSize:(i=x.props.fontSize)!=null?i:f}),ownerState:g,ref:n,className:se(y.root,h)},p,{classes:y}))}),yM=gM,vM=e2({createStyledComponent:ne("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${re(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>$e({props:e,name:"MuiContainer"})}),xp=vM;function xM(e){return _e("MuiModal",e)}we("MuiModal",["root","hidden","backdrop"]);const bM=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],_M=e=>{const{open:t,exited:n,classes:r}=e;return Me({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},xM,r)},SM=ne("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})=>E({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),wM=ne(zR,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),kM=k.forwardRef(function(t,n){var r,i,o,s,a,l;const c=$e({name:"MuiModal",props:t}),{BackdropComponent:u=wM,BackdropProps:d,className:f,closeAfterTransition:h=!1,children:p,container:m,component:x,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:_=!1,disableEscapeKeyDown:S=!1,disablePortal:R=!1,disableRestoreFocus:C=!1,disableScrollLock:b=!1,hideBackdrop:w=!1,keepMounted:P=!1,onBackdropClick:T,open:L,slotProps:F,slots:$}=c,N=ee(c,bM),D=E({},c,{closeAfterTransition:h,disableAutoFocus:v,disableEnforceFocus:_,disableEscapeKeyDown:S,disablePortal:R,disableRestoreFocus:C,disableScrollLock:b,hideBackdrop:w,keepMounted:P}),{getRootProps:A,getBackdropProps:O,getTransitionProps:I,portalRef:W,isTopModal:q,exited:B,hasTransition:X}=uR(E({},D,{rootRef:n})),H=E({},D,{exited:B}),Q=_M(H),Z={};if(p.props.tabIndex===void 0&&(Z.tabIndex="-1"),X){const{onEnter:Y,onExited:oe}=I();Z.onEnter=Y,Z.onExited=oe}const ce=(r=(i=$==null?void 0:$.root)!=null?i:g.Root)!=null?r:SM,pe=(o=(s=$==null?void 0:$.backdrop)!=null?s:g.Backdrop)!=null?o:u,U=(a=F==null?void 0:F.root)!=null?a:y.root,ae=(l=F==null?void 0:F.backdrop)!=null?l:y.backdrop,te=uo({elementType:ce,externalSlotProps:U,externalForwardedProps:N,getSlotProps:A,additionalProps:{ref:n,as:x},ownerState:H,className:se(f,U==null?void 0:U.className,Q==null?void 0:Q.root,!H.open&&H.exited&&(Q==null?void 0:Q.hidden))}),le=uo({elementType:pe,externalSlotProps:ae,additionalProps:d,getSlotProps:Y=>O(E({},Y,{onClick:oe=>{T&&T(oe),Y!=null&&Y.onClick&&Y.onClick(oe)}})),className:se(ae==null?void 0:ae.className,d==null?void 0:d.className,Q==null?void 0:Q.backdrop),ownerState:H});return!P&&!L&&(!X||B)?null:M.jsx(tR,{ref:W,container:m,disablePortal:R,children:M.jsxs(ce,E({},te,{children:[!w&&u?M.jsx(pe,E({},le)):null,M.jsx(ZP,{disableEnforceFocus:_,disableAutoFocus:v,disableRestoreFocus:C,isEnabled:q,open:L,children:k.cloneElement(p,Z)})]}))})}),CM=kM;function tD(e){return _e("MuiDivider",e)}const EM=we("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Gg=EM,PM=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],RM=e=>{const{classes:t,disableUnderline:n}=e,i=Me({root:["root",!n&&"underline"],input:["input"]},PR,t);return E({},t,i)},MM=ne(xu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...yu(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return E({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,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:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${Dr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${Dr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a}},!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"},[`&.${Dr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Dr.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})`:i}`,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(.${Dr.disabled}, .${Dr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Dr.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&E({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),TM=ne(bu,{name:"MuiFilledInput",slot:"Input",overridesResolver:vu})(({theme:e,ownerState:t})=>E({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),Ux=k.forwardRef(function(t,n){var r,i,o,s;const a=$e({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:f=!1,slotProps:h,slots:p={},type:m="text"}=a,x=ee(a,PM),g=E({},a,{fullWidth:u,inputComponent:d,multiline:f,type:m}),y=RM(a),v={root:{ownerState:g},input:{ownerState:g}},_=h??c?Xt(h??c,v):v,S=(r=(i=p.root)!=null?i:l.Root)!=null?r:MM,R=(o=(s=p.input)!=null?s:l.Input)!=null?o:TM;return M.jsx(vp,E({slots:{root:S,input:R},componentsProps:_,fullWidth:u,inputComponent:d,multiline:f,ref:n,type:m},x,{classes:y}))});Ux.muiName="Input";const Vx=Ux;function OM(e){return _e("MuiFormControl",e)}we("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const IM=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],AM=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${re(n)}`,r&&"fullWidth"]};return Me(i,OM,t)},LM=ne("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>E({},t.root,t[`margin${re(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>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%"})),$M=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormControl"}),{children:i,className:o,color:s="primary",component:a="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:d=!1,hiddenLabel:f=!1,margin:h="none",required:p=!1,size:m="medium",variant:x="outlined"}=r,g=ee(r,IM),y=E({},r,{color:s,component:a,disabled:l,error:c,fullWidth:d,hiddenLabel:f,margin:h,required:p,size:m,variant:x}),v=AM(y),[_,S]=k.useState(()=>{let F=!1;return i&&k.Children.forEach(i,$=>{if(!ol($,["Input","Select"]))return;const N=ol($,["Select"])?$.props.input:$;N&&gR(N.props)&&(F=!0)}),F}),[R,C]=k.useState(()=>{let F=!1;return i&&k.Children.forEach(i,$=>{ol($,["Input","Select"])&&(Ql($.props,!0)||Ql($.props.inputProps,!0))&&(F=!0)}),F}),[b,w]=k.useState(!1);l&&b&&w(!1);const P=u!==void 0&&!l?u:b;let T;const L=k.useMemo(()=>({adornedStart:_,setAdornedStart:S,color:s,disabled:l,error:c,filled:R,focused:P,fullWidth:d,hiddenLabel:f,size:m,onBlur:()=>{w(!1)},onEmpty:()=>{C(!1)},onFilled:()=>{C(!0)},onFocus:()=>{w(!0)},registerEffect:T,required:p,variant:x}),[_,s,l,c,R,P,d,f,T,p,m,x]);return M.jsx(yp.Provider,{value:L,children:M.jsx(LM,E({as:a,ownerState:y,className:se(v.root,o),ref:n},g,{children:i}))})}),If=$M;function NM(e){return _e("MuiFormHelperText",e)}const FM=we("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Yg=FM;var qg;const DM=["children","className","component","disabled","error","filled","focused","margin","required","variant"],zM=e=>{const{classes:t,contained:n,size:r,disabled:i,error:o,filled:s,focused:a,required:l}=e,c={root:["root",i&&"disabled",o&&"error",r&&`size${re(r)}`,n&&"contained",a&&"focused",s&&"filled",l&&"required"]};return Me(c,NM,t)},BM=ne("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${re(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>E({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Yg.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Yg.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),jM=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormHelperText"}),{children:i,className:o,component:s="p"}=r,a=ee(r,DM),l=vi(),c=bo({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=E({},r,{component:s,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),d=zM(u);return M.jsx(BM,E({as:s,ownerState:u,className:se(d.root,o),ref:n},a,{children:i===" "?qg||(qg=M.jsx("span",{className:"notranslate",children:"​"})):i}))}),WM=jM;function UM(e){return _e("MuiFormLabel",e)}const VM=we("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),hs=VM,HM=["children","className","color","component","disabled","error","filled","focused","required"],KM=e=>{const{classes:t,color:n,focused:r,disabled:i,error:o,filled:s,required:a}=e,l={root:["root",`color${re(n)}`,i&&"disabled",o&&"error",s&&"filled",r&&"focused",a&&"required"],asterisk:["asterisk",o&&"error"]};return Me(l,UM,t)},GM=ne("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>E({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>E({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${hs.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${hs.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${hs.error}`]:{color:(e.vars||e).palette.error.main}})),YM=ne("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${hs.error}`]:{color:(e.vars||e).palette.error.main}})),qM=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormLabel"}),{children:i,className:o,component:s="label"}=r,a=ee(r,HM),l=vi(),c=bo({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=E({},r,{color:c.color||"primary",component:s,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),d=KM(u);return M.jsxs(GM,E({as:s,ownerState:u,className:se(d.root,o),ref:n},a,{children:[i,c.required&&M.jsxs(YM,{ownerState:u,"aria-hidden":!0,className:d.asterisk,children:[" ","*"]})]}))}),XM=qM,QM=k.createContext(),Xg=QM;function JM(e){return _e("MuiGrid",e)}const ZM=[0,1,2,3,4,5,6,7,8,9,10],eT=["column-reverse","column","row-reverse","row"],tT=["nowrap","wrap-reverse","wrap"],Lo=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],zs=we("MuiGrid",["root","container","item","zeroMinWidth",...ZM.map(e=>`spacing-xs-${e}`),...eT.map(e=>`direction-xs-${e}`),...tT.map(e=>`wrap-xs-${e}`),...Lo.map(e=>`grid-xs-${e}`),...Lo.map(e=>`grid-sm-${e}`),...Lo.map(e=>`grid-md-${e}`),...Lo.map(e=>`grid-lg-${e}`),...Lo.map(e=>`grid-xl-${e}`)]),nT=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function eo(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function rT({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,i)=>{let o={};if(t[i]&&(n=t[i]),!n)return r;if(n===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=Hc({values:t.columns,breakpoints:e.breakpoints.values}),a=typeof s=="object"?s[i]:s;if(a==null)return r;const l=`${Math.round(n/a*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const u=e.spacing(t.columnSpacing);if(u!=="0px"){const d=`calc(${l} + ${eo(u)})`;c={flexBasis:d,maxWidth:d}}}o=E({flexBasis:l,flexGrow:0,maxWidth:l},c)}return e.breakpoints.values[i]===0?Object.assign(r,o):r[e.breakpoints.up(i)]=o,r},{})}function iT({theme:e,ownerState:t}){const n=Hc({values:t.direction,breakpoints:e.breakpoints.values});return fn({theme:e},n,r=>{const i={flexDirection:r};return r.indexOf("column")===0&&(i[`& > .${zs.item}`]={maxWidth:"none"}),i})}function Hx({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(i=>{n===""&&t[i]!==0&&(n=i)});const r=Object.keys(e).sort((i,o)=>e[i]-e[o]);return r.slice(0,r.indexOf(n))}function oT({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};if(n&&r!==0){const o=Hc({values:r,breakpoints:e.breakpoints.values});let s;typeof o=="object"&&(s=Hx({breakpoints:e.breakpoints.values,values:o})),i=fn({theme:e},o,(a,l)=>{var c;const u=e.spacing(a);return u!=="0px"?{marginTop:`-${eo(u)}`,[`& > .${zs.item}`]:{paddingTop:eo(u)}}:(c=s)!=null&&c.includes(l)?{}:{marginTop:0,[`& > .${zs.item}`]:{paddingTop:0}}})}return i}function sT({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};if(n&&r!==0){const o=Hc({values:r,breakpoints:e.breakpoints.values});let s;typeof o=="object"&&(s=Hx({breakpoints:e.breakpoints.values,values:o})),i=fn({theme:e},o,(a,l)=>{var c;const u=e.spacing(a);return u!=="0px"?{width:`calc(100% + ${eo(u)})`,marginLeft:`-${eo(u)}`,[`& > .${zs.item}`]:{paddingLeft:eo(u)}}:(c=s)!=null&&c.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${zs.item}`]:{paddingLeft:0}}})}return i}function aT(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(i=>{const o=e[i];Number(o)>0&&r.push(n[`spacing-${i}-${String(o)}`])}),r}const lT=ne("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:i,item:o,spacing:s,wrap:a,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=aT(s,c,t));const d=[];return c.forEach(f=>{const h=n[f];h&&d.push(t[`grid-${f}-${String(h)}`])}),[t.root,r&&t.container,o&&t.item,l&&t.zeroMinWidth,...u,i!=="row"&&t[`direction-xs-${String(i)}`],a!=="wrap"&&t[`wrap-xs-${String(a)}`],...d]}})(({ownerState:e})=>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}),iT,oT,sT,rT);function cT(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 i=e[r];if(Number(i)>0){const o=`spacing-${r}-${String(i)}`;n.push(o)}}),n}const uT=e=>{const{classes:t,container:n,direction:r,item:i,spacing:o,wrap:s,zeroMinWidth:a,breakpoints:l}=e;let c=[];n&&(c=cT(o,l));const u=[];l.forEach(f=>{const h=e[f];h&&u.push(`grid-${f}-${String(h)}`)});const d={root:["root",n&&"container",i&&"item",a&&"zeroMinWidth",...c,r!=="row"&&`direction-xs-${String(r)}`,s!=="wrap"&&`wrap-xs-${String(s)}`,...u]};return Me(d,JM,t)},dT=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiGrid"}),{breakpoints:i}=iu(),o=up(r),{className:s,columns:a,columnSpacing:l,component:c="div",container:u=!1,direction:d="row",item:f=!1,rowSpacing:h,spacing:p=0,wrap:m="wrap",zeroMinWidth:x=!1}=o,g=ee(o,nT),y=h||p,v=l||p,_=k.useContext(Xg),S=u?a||12:_,R={},C=E({},g);i.keys.forEach(P=>{g[P]!=null&&(R[P]=g[P],delete C[P])});const b=E({},o,{columns:S,container:u,direction:d,item:f,rowSpacing:y,columnSpacing:v,wrap:m,zeroMinWidth:x,spacing:p},R,{breakpoints:i.keys}),w=uT(b);return M.jsx(Xg.Provider,{value:S,children:M.jsx(lT,E({ownerState:b,className:se(w.root,s),as:c,ref:n},C))})}),Hi=dT,fT=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Af(e){return`scale(${e}, ${e**2})`}const hT={entering:{opacity:1,transform:Af(1)},entered:{opacity:1,transform:"none"}},cd=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Kx=k.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:o,easing:s,in:a,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:f,onExiting:h,style:p,timeout:m="auto",TransitionComponent:x=Fx}=t,g=ee(t,fT),y=k.useRef(),v=k.useRef(),_=iu(),S=k.useRef(null),R=Et(S,o.ref,n),C=N=>D=>{if(N){const A=S.current;D===void 0?N(A):N(A,D)}},b=C(u),w=C((N,D)=>{Dx(N);const{duration:A,delay:O,easing:I}=ql({style:p,timeout:m,easing:s},{mode:"enter"});let W;m==="auto"?(W=_.transitions.getAutoHeightDuration(N.clientHeight),v.current=W):W=A,N.style.transition=[_.transitions.create("opacity",{duration:W,delay:O}),_.transitions.create("transform",{duration:cd?W:W*.666,delay:O,easing:I})].join(","),l&&l(N,D)}),P=C(c),T=C(h),L=C(N=>{const{duration:D,delay:A,easing:O}=ql({style:p,timeout:m,easing:s},{mode:"exit"});let I;m==="auto"?(I=_.transitions.getAutoHeightDuration(N.clientHeight),v.current=I):I=D,N.style.transition=[_.transitions.create("opacity",{duration:I,delay:A}),_.transitions.create("transform",{duration:cd?I:I*.666,delay:cd?A:A||I*.333,easing:O})].join(","),N.style.opacity=0,N.style.transform=Af(.75),d&&d(N)}),F=C(f),$=N=>{m==="auto"&&(y.current=setTimeout(N,v.current||0)),r&&r(S.current,N)};return k.useEffect(()=>()=>{clearTimeout(y.current)},[]),M.jsx(x,E({appear:i,in:a,nodeRef:S,onEnter:w,onEntered:P,onEntering:b,onExit:L,onExited:F,onExiting:T,addEndListener:$,timeout:m==="auto"?null:m},g,{children:(N,D)=>k.cloneElement(o,E({style:E({opacity:0,transform:Af(.75),visibility:N==="exited"&&!a?"hidden":void 0},hT[N],p,o.props.style),ref:R},D))}))});Kx.muiSupportAuto=!0;const pT=Kx,mT=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],gT=e=>{const{classes:t,disableUnderline:n}=e,i=Me({root:["root",!n&&"underline"],input:["input"]},wR,t);return E({},t,i)},yT=ne(xu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...yu(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})`),E({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"},[`&.${Ao.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ao.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(.${Ao.disabled}, .${Ao.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Ao.disabled}:before`]:{borderBottomStyle:"dotted"}})}),vT=ne(bu,{name:"MuiInput",slot:"Input",overridesResolver:vu})({}),Gx=k.forwardRef(function(t,n){var r,i,o,s;const a=$e({props:t,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:u,fullWidth:d=!1,inputComponent:f="input",multiline:h=!1,slotProps:p,slots:m={},type:x="text"}=a,g=ee(a,mT),y=gT(a),_={root:{ownerState:{disableUnderline:l}}},S=p??u?Xt(p??u,_):_,R=(r=(i=m.root)!=null?i:c.Root)!=null?r:yT,C=(o=(s=m.input)!=null?s:c.Input)!=null?o:vT;return M.jsx(vp,E({slots:{root:R,input:C},slotProps:S,fullWidth:d,inputComponent:f,multiline:h,ref:n,type:x},g,{classes:y}))});Gx.muiName="Input";const Yx=Gx;function xT(e){return _e("MuiInputLabel",e)}we("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const bT=["disableAnimation","margin","shrink","variant","className"],_T=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:o,variant:s,required:a}=e,l={root:["root",n&&"formControl",!o&&"animated",i&&"shrink",r&&r!=="normal"&&`size${re(r)}`,s],asterisk:[a&&"asterisk"]},c=Me(l,xT,t);return E({},t,c)},ST=ne(XM,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${hs.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>E({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"&&E({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&&E({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"&&E({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)"}))),wT=k.forwardRef(function(t,n){const r=$e({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:o,className:s}=r,a=ee(r,bT),l=vi();let c=o;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const u=bo({props:r,muiFormControl:l,states:["size","variant","required"]}),d=E({},r,{disableAnimation:i,formControl:l,shrink:c,size:u.size,variant:u.variant,required:u.required}),f=_T(d);return M.jsx(ST,E({"data-shrink":c,ownerState:d,ref:n,className:se(f.root,s)},a,{classes:f}))}),kT=wT,CT=k.createContext({}),Jl=CT;function ET(e){return _e("MuiList",e)}we("MuiList",["root","padding","dense","subheader"]);const PT=["children","className","component","dense","disablePadding","subheader"],RT=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Me({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},ET,t)},MT=ne("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})=>E({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),TT=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiList"}),{children:i,className:o,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:c}=r,u=ee(r,PT),d=k.useMemo(()=>({dense:a}),[a]),f=E({},r,{component:s,dense:a,disablePadding:l}),h=RT(f);return M.jsx(Jl.Provider,{value:d,children:M.jsxs(MT,E({as:s,className:se(h.root,o),ref:n,ownerState:f},u,{children:[c,i]}))})}),OT=TT;function nD(e){return _e("MuiListItemIcon",e)}const IT=we("MuiListItemIcon",["root","alignItemsFlexStart"]),Qg=IT;function AT(e){return _e("MuiListItemText",e)}const LT=we("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Zl=LT,$T=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],NT=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:o}=e;return Me({root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},AT,t)},FT=ne("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Zl.primary}`]:t.primary},{[`& .${Zl.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>E({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),DT=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemText"}),{children:i,className:o,disableTypography:s=!1,inset:a=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:d}=r,f=ee(r,$T),{dense:h}=k.useContext(Jl);let p=l??i,m=u;const x=E({},r,{disableTypography:s,inset:a,primary:!!p,secondary:!!m,dense:h}),g=NT(x);return p!=null&&p.type!==An&&!s&&(p=M.jsx(An,E({variant:h?"body2":"body1",className:g.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:p}))),m!=null&&m.type!==An&&!s&&(m=M.jsx(An,E({variant:"body2",className:g.secondary,color:"text.secondary",display:"block"},d,{children:m}))),M.jsxs(FT,E({className:se(g.root,o),ownerState:x,ref:n},f,{children:[p,m]}))}),zT=DT,BT=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function ud(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Jg(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function qx(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 $o(e,t,n,r,i,o){let s=!1,a=i(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!qx(a,o)||l)a=i(e,a,n);else return a.focus(),!0}return!1}const jT=k.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=t,f=ee(t,BT),h=k.useRef(null),p=k.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Or(()=>{i&&h.current.focus()},[i]),k.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(v,_)=>{const S=!h.current.style.width;if(v.clientHeight{const _=h.current,S=v.key,R=Bt(_).activeElement;if(S==="ArrowDown")v.preventDefault(),$o(_,R,c,l,ud);else if(S==="ArrowUp")v.preventDefault(),$o(_,R,c,l,Jg);else if(S==="Home")v.preventDefault(),$o(_,null,c,l,ud);else if(S==="End")v.preventDefault(),$o(_,null,c,l,Jg);else if(S.length===1){const C=p.current,b=S.toLowerCase(),w=performance.now();C.keys.length>0&&(w-C.lastTime>500?(C.keys=[],C.repeating=!0,C.previousKeyMatched=!0):C.repeating&&b!==C.keys[0]&&(C.repeating=!1)),C.lastTime=w,C.keys.push(b);const P=R&&!C.repeating&&qx(R,C);C.previousKeyMatched&&(P||$o(_,R,!1,l,ud,C))?v.preventDefault():C.previousKeyMatched=!1}u&&u(v)},x=Et(h,n);let g=-1;k.Children.forEach(s,(v,_)=>{if(!k.isValidElement(v)){g===_&&(g+=1,g>=s.length&&(g=-1));return}v.props.disabled||(d==="selectedMenu"&&v.props.selected||g===-1)&&(g=_),g===_&&(v.props.disabled||v.props.muiSkipListHighlight||v.type.muiSkipListHighlight)&&(g+=1,g>=s.length&&(g=-1))});const y=k.Children.map(s,(v,_)=>{if(_===g){const S={};return o&&(S.autoFocus=!0),v.props.tabIndex===void 0&&d==="selectedMenu"&&(S.tabIndex=0),k.cloneElement(v,S)}return v});return M.jsx(OT,E({role:"menu",ref:x,className:a,onKeyDown:m,tabIndex:i?0:-1},f,{children:y}))}),WT=jT;function UT(e){return _e("MuiPopover",e)}we("MuiPopover",["root","paper"]);const VT=["onEntering"],HT=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],KT=["slotProps"];function Zg(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function e0(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function t0(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function dd(e){return typeof e=="function"?e():e}const GT=e=>{const{classes:t}=e;return Me({root:["root"],paper:["paper"]},UT,t)},YT=ne(CM,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Xx=ne(zx,{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}),qT=k.forwardRef(function(t,n){var r,i,o;const s=$e({props:t,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:f,className:h,container:p,elevation:m=8,marginThreshold:x=16,open:g,PaperProps:y={},slots:v,slotProps:_,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:R=pT,transitionDuration:C="auto",TransitionProps:{onEntering:b}={},disableScrollLock:w=!1}=s,P=ee(s.TransitionProps,VT),T=ee(s,HT),L=(r=_==null?void 0:_.paper)!=null?r:y,F=k.useRef(),$=Et(F,L.ref),N=E({},s,{anchorOrigin:c,anchorReference:d,elevation:m,marginThreshold:x,externalPaperSlotProps:L,transformOrigin:S,TransitionComponent:R,transitionDuration:C,TransitionProps:P}),D=GT(N),A=k.useCallback(()=>{if(d==="anchorPosition")return u;const Y=dd(l),ie=(Y&&Y.nodeType===1?Y:Bt(F.current).body).getBoundingClientRect();return{top:ie.top+Zg(ie,c.vertical),left:ie.left+e0(ie,c.horizontal)}},[l,c.horizontal,c.vertical,u,d]),O=k.useCallback(Y=>({vertical:Zg(Y,S.vertical),horizontal:e0(Y,S.horizontal)}),[S.horizontal,S.vertical]),I=k.useCallback(Y=>{const oe={width:Y.offsetWidth,height:Y.offsetHeight},ie=O(oe);if(d==="none")return{top:null,left:null,transformOrigin:t0(ie)};const me=A();let je=me.top-ie.vertical,De=me.left-ie.horizontal;const qe=je+oe.height,Xe=De+oe.width,de=Tr(dd(l)),ye=de.innerHeight-x,he=de.innerWidth-x;if(x!==null&&jeye){const Se=qe-ye;je-=Se,ie.vertical+=Se}if(x!==null&&Dehe){const Se=Xe-he;De-=Se,ie.horizontal+=Se}return{top:`${Math.round(je)}px`,left:`${Math.round(De)}px`,transformOrigin:t0(ie)}},[l,d,A,O,x]),[W,q]=k.useState(g),B=k.useCallback(()=>{const Y=F.current;if(!Y)return;const oe=I(Y);oe.top!==null&&(Y.style.top=oe.top),oe.left!==null&&(Y.style.left=oe.left),Y.style.transformOrigin=oe.transformOrigin,q(!0)},[I]);k.useEffect(()=>(w&&window.addEventListener("scroll",B),()=>window.removeEventListener("scroll",B)),[l,w,B]);const X=(Y,oe)=>{b&&b(Y,oe),B()},H=()=>{q(!1)};k.useEffect(()=>{g&&B()}),k.useImperativeHandle(a,()=>g?{updatePosition:()=>{B()}}:null,[g,B]),k.useEffect(()=>{if(!g)return;const Y=qh(()=>{B()}),oe=Tr(l);return oe.addEventListener("resize",Y),()=>{Y.clear(),oe.removeEventListener("resize",Y)}},[l,g,B]);let Q=C;C==="auto"&&!R.muiSupportAuto&&(Q=void 0);const Z=p||(l?Bt(dd(l)).body:void 0),ce=(i=v==null?void 0:v.root)!=null?i:YT,pe=(o=v==null?void 0:v.paper)!=null?o:Xx,U=uo({elementType:pe,externalSlotProps:E({},L,{style:W?L.style:E({},L.style,{opacity:0})}),additionalProps:{elevation:m,ref:$},ownerState:N,className:se(D.paper,L==null?void 0:L.className)}),ae=uo({elementType:ce,externalSlotProps:(_==null?void 0:_.root)||{},externalForwardedProps:T,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:Z,open:g},ownerState:N,className:se(D.root,h)}),{slotProps:te}=ae,le=ee(ae,KT);return M.jsx(ce,E({},le,!Xl(ce)&&{slotProps:te,disableScrollLock:w},{children:M.jsx(R,E({appear:!0,in:g,onEntering:X,onExited:H,timeout:Q},P,{children:M.jsx(pe,E({},U,{children:f}))}))}))}),XT=qT;function QT(e){return _e("MuiMenu",e)}we("MuiMenu",["root","paper","list"]);const JT=["onEntering"],ZT=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],eO={vertical:"top",horizontal:"right"},tO={vertical:"top",horizontal:"left"},nO=e=>{const{classes:t}=e;return Me({root:["root"],paper:["paper"],list:["list"]},QT,t)},rO=ne(XT,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),iO=ne(Xx,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),oO=ne(WT,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),sO=k.forwardRef(function(t,n){var r,i;const o=$e({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:d,open:f,PaperProps:h={},PopoverClasses:p,transitionDuration:m="auto",TransitionProps:{onEntering:x}={},variant:g="selectedMenu",slots:y={},slotProps:v={}}=o,_=ee(o.TransitionProps,JT),S=ee(o,ZT),R=iu(),C=R.direction==="rtl",b=E({},o,{autoFocus:s,disableAutoFocusItem:c,MenuListProps:u,onEntering:x,PaperProps:h,transitionDuration:m,TransitionProps:_,variant:g}),w=nO(b),P=s&&!c&&f,T=k.useRef(null),L=(I,W)=>{T.current&&T.current.adjustStyleForScrollbar(I,R),x&&x(I,W)},F=I=>{I.key==="Tab"&&(I.preventDefault(),d&&d(I,"tabKeyDown"))};let $=-1;k.Children.map(a,(I,W)=>{k.isValidElement(I)&&(I.props.disabled||(g==="selectedMenu"&&I.props.selected||$===-1)&&($=W))});const N=(r=y.paper)!=null?r:iO,D=(i=v.paper)!=null?i:h,A=uo({elementType:y.root,externalSlotProps:v.root,ownerState:b,className:[w.root,l]}),O=uo({elementType:N,externalSlotProps:D,ownerState:b,className:w.paper});return M.jsx(rO,E({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?eO:tO,slots:{paper:N,root:y.root},slotProps:{root:A,paper:O},open:f,ref:n,transitionDuration:m,TransitionProps:E({onEntering:L},_),ownerState:b},S,{classes:p,children:M.jsx(oO,E({onKeyDown:F,actions:T,autoFocus:s&&($===-1||c),autoFocusItem:P,variant:g},u,{className:se(w.list,u.className),children:a}))}))}),aO=sO;function lO(e){return _e("MuiMenuItem",e)}const cO=we("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),No=cO,uO=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],dO=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},fO=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:o,classes:s}=e,l=Me({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},lO,s);return E({},s,l)},hO=ne(gu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:dO})(({theme:e,ownerState:t})=>E({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${No.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Gt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${No.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Gt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${No.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Gt(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})`:Gt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${No.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${No.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Gg.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Gg.inset}`]:{marginLeft:52},[`& .${Zl.root}`]:{marginTop:0,marginBottom:0},[`& .${Zl.inset}`]:{paddingLeft:36},[`& .${Qg.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&E({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Qg.root} svg`]:{fontSize:"1.25rem"}}))),pO=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:f}=r,h=ee(r,uO),p=k.useContext(Jl),m=k.useMemo(()=>({dense:s||p.dense||!1,disableGutters:l}),[p.dense,s,l]),x=k.useRef(null);Or(()=>{i&&x.current&&x.current.focus()},[i]);const g=E({},r,{dense:m.dense,divider:a,disableGutters:l}),y=fO(r),v=Et(x,n);let _;return r.disabled||(_=d!==void 0?d:-1),M.jsx(Jl.Provider,{value:m,children:M.jsx(hO,E({ref:v,role:u,tabIndex:_,component:o,focusVisibleClassName:se(y.focusVisible,c),className:se(y.root,f)},h,{ownerState:g,classes:y}))})}),Mi=pO;function mO(e){return _e("MuiNativeSelect",e)}const gO=we("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),bp=gO,yO=["className","disabled","error","IconComponent","inputRef","variant"],vO=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o,error:s}=e,a={select:["select",n,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${re(n)}`,o&&"iconOpen",r&&"disabled"]};return Me(a,mO,t)},Qx=({ownerState:e,theme:t})=>E({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":E({},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"},[`&.${bp.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}}),xO=ne("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:kn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${bp.multiple}`]:t.multiple}]}})(Qx),Jx=({ownerState:e,theme:t})=>E({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${bp.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),bO=ne("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${re(n.variant)}`],n.open&&t.iconOpen]}})(Jx),_O=k.forwardRef(function(t,n){const{className:r,disabled:i,error:o,IconComponent:s,inputRef:a,variant:l="standard"}=t,c=ee(t,yO),u=E({},t,{disabled:i,variant:l,error:o}),d=vO(u);return M.jsxs(k.Fragment,{children:[M.jsx(xO,E({ownerState:u,className:se(d.select,r),disabled:i,ref:a||n},c)),t.multiple?null:M.jsx(bO,{as:s,ownerState:u,className:d.icon})]})}),SO=_O;var n0;const wO=["children","classes","className","label","notched"],kO=ne("fieldset")({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%"}),CO=ne("legend")(({ownerState:e,theme:t})=>E({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&&E({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 EO(e){const{className:t,label:n,notched:r}=e,i=ee(e,wO),o=n!=null&&n!=="",s=E({},e,{notched:r,withLabel:o});return M.jsx(kO,E({"aria-hidden":!0,className:t,ownerState:s},i,{children:M.jsx(CO,{ownerState:s,children:o?M.jsx("span",{children:n}):n0||(n0=M.jsx("span",{className:"notranslate",children:"​"}))})}))}const PO=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],RO=e=>{const{classes:t}=e,r=Me({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},CR,t);return E({},t,r)},MO=ne(xu,{shouldForwardProp:e=>kn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:yu})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return E({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ar.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${ar.focused} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${ar.error} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ar.disabled} .${ar.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&E({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),TO=ne(EO,{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}}),OO=ne(bu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:vu})(({theme:e,ownerState:t})=>E({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),Zx=k.forwardRef(function(t,n){var r,i,o,s,a;const l=$e({props:t,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:d="input",label:f,multiline:h=!1,notched:p,slots:m={},type:x="text"}=l,g=ee(l,PO),y=RO(l),v=vi(),_=bo({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S=E({},l,{color:_.color||"primary",disabled:_.disabled,error:_.error,focused:_.focused,formControl:v,fullWidth:u,hiddenLabel:_.hiddenLabel,multiline:h,size:_.size,type:x}),R=(r=(i=m.root)!=null?i:c.Root)!=null?r:MO,C=(o=(s=m.input)!=null?s:c.Input)!=null?o:OO;return M.jsx(vp,E({slots:{root:R,input:C},renderSuffix:b=>M.jsx(TO,{ownerState:S,className:y.notchedOutline,label:f!=null&&f!==""&&_.required?a||(a=M.jsxs(k.Fragment,{children:[f," ","*"]})):f,notched:typeof p<"u"?p:!!(b.startAdornment||b.filled||b.focused)}),fullWidth:u,inputComponent:d,multiline:h,ref:n,type:x},g,{classes:E({},y,{notchedOutline:null})}))});Zx.muiName="Input";const _p=Zx;function IO(e){return _e("MuiSelect",e)}const AO=we("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Fo=AO;var r0;const LO=["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"],$O=ne("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Fo.select}`]:t.select},{[`&.${Fo.select}`]:t[n.variant]},{[`&.${Fo.error}`]:t.error},{[`&.${Fo.multiple}`]:t.multiple}]}})(Qx,{[`&.${Fo.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),NO=ne("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${re(n.variant)}`],n.open&&t.iconOpen]}})(Jx),FO=ne("input",{shouldForwardProp:e=>A2(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 i0(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function DO(e){return e==null||typeof e=="string"&&!e.trim()}const zO=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o,error:s}=e,a={select:["select",n,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${re(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Me(a,IO,t)},BO=k.forwardRef(function(t,n){var r;const{"aria-describedby":i,"aria-label":o,autoFocus:s,autoWidth:a,children:l,className:c,defaultOpen:u,defaultValue:d,disabled:f,displayEmpty:h,error:p=!1,IconComponent:m,inputRef:x,labelId:g,MenuProps:y={},multiple:v,name:_,onBlur:S,onChange:R,onClose:C,onFocus:b,onOpen:w,open:P,readOnly:T,renderValue:L,SelectDisplayProps:F={},tabIndex:$,value:N,variant:D="standard"}=t,A=ee(t,LO),[O,I]=Hl({controlled:N,default:d,name:"Select"}),[W,q]=Hl({controlled:P,default:u,name:"Select"}),B=k.useRef(null),X=k.useRef(null),[H,Q]=k.useState(null),{current:Z}=k.useRef(P!=null),[ce,pe]=k.useState(),U=Et(n,x),ae=k.useCallback(G=>{X.current=G,G&&Q(G)},[]),te=H==null?void 0:H.parentNode;k.useImperativeHandle(U,()=>({focus:()=>{X.current.focus()},node:B.current,value:O}),[O]),k.useEffect(()=>{u&&W&&H&&!Z&&(pe(a?null:te.clientWidth),X.current.focus())},[H,a]),k.useEffect(()=>{s&&X.current.focus()},[s]),k.useEffect(()=>{if(!g)return;const G=Bt(X.current).getElementById(g);if(G){const ke=()=>{getSelection().isCollapsed&&X.current.focus()};return G.addEventListener("click",ke),()=>{G.removeEventListener("click",ke)}}},[g]);const le=(G,ke)=>{G?w&&w(ke):C&&C(ke),Z||(pe(a?null:te.clientWidth),q(G))},Y=G=>{G.button===0&&(G.preventDefault(),X.current.focus(),le(!0,G))},oe=G=>{le(!1,G)},ie=k.Children.toArray(l),me=G=>{const ke=ie.find(Re=>Re.props.value===G.target.value);ke!==void 0&&(I(ke.props.value),R&&R(G,ke))},je=G=>ke=>{let Re;if(ke.currentTarget.hasAttribute("tabindex")){if(v){Re=Array.isArray(O)?O.slice():[];const jn=O.indexOf(G.props.value);jn===-1?Re.push(G.props.value):Re.splice(jn,1)}else Re=G.props.value;if(G.props.onClick&&G.props.onClick(ke),O!==Re&&(I(Re),R)){const jn=ke.nativeEvent||ke,_i=new jn.constructor(jn.type,jn);Object.defineProperty(_i,"target",{writable:!0,value:{value:Re,name:_}}),R(_i,G)}v||le(!1,ke)}},De=G=>{T||[" ","ArrowUp","ArrowDown","Enter"].indexOf(G.key)!==-1&&(G.preventDefault(),le(!0,G))},qe=H!==null&&W,Xe=G=>{!qe&&S&&(Object.defineProperty(G,"target",{writable:!0,value:{value:O,name:_}}),S(G))};delete A["aria-invalid"];let de,ye;const he=[];let Se=!1;(Ql({value:O})||h)&&(L?de=L(O):Se=!0);const ue=ie.map(G=>{if(!k.isValidElement(G))return null;let ke;if(v){if(!Array.isArray(O))throw new Error(rr(2));ke=O.some(Re=>i0(Re,G.props.value)),ke&&Se&&he.push(G.props.children)}else ke=i0(O,G.props.value),ke&&Se&&(ye=G.props.children);return k.cloneElement(G,{"aria-selected":ke?"true":"false",onClick:je(G),onKeyUp:Re=>{Re.key===" "&&Re.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(Re)},role:"option",selected:ke,value:void 0,"data-value":G.props.value})});Se&&(v?he.length===0?de=null:de=he.reduce((G,ke,Re)=>(G.push(ke),Re{const{classes:t}=e;return t},Sp={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>kn(e)&&e!=="variant",slot:"Root"},HO=ne(Yx,Sp)(""),KO=ne(_p,Sp)(""),GO=ne(Vx,Sp)(""),eb=k.forwardRef(function(t,n){const r=$e({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:o,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=MR,id:d,input:f,inputProps:h,label:p,labelId:m,MenuProps:x,multiple:g=!1,native:y=!1,onClose:v,onOpen:_,open:S,renderValue:R,SelectDisplayProps:C,variant:b="outlined"}=r,w=ee(r,WO),P=y?SO:jO,T=vi(),L=bo({props:r,muiFormControl:T,states:["variant","error"]}),F=L.variant||b,$=E({},r,{variant:F,classes:s}),N=VO($),D=ee(N,UO),A=f||{standard:M.jsx(HO,{ownerState:$}),outlined:M.jsx(KO,{label:p,ownerState:$}),filled:M.jsx(GO,{ownerState:$})}[F],O=Et(n,A.ref);return M.jsx(k.Fragment,{children:k.cloneElement(A,E({inputComponent:P,inputProps:E({children:o,error:L.error,IconComponent:u,variant:F,type:void 0,multiple:g},y?{id:d}:{autoWidth:i,defaultOpen:l,displayEmpty:c,labelId:m,MenuProps:x,onClose:v,onOpen:_,open:S,renderValue:R,SelectDisplayProps:E({id:d},C)},h,{classes:h?Xt(D,h.classes):D},f?f.props.inputProps:{})},g&&y&&F==="outlined"?{notched:!0}:{},{ref:O,className:se(A.props.className,a,N.root)},!f&&{variant:F},w))})});eb.muiName="Select";const Lf=eb;function YO(e){return _e("MuiToolbar",e)}we("MuiToolbar",["root","gutters","regular","dense"]);const qO=["className","component","disableGutters","variant"],XO=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Me({root:["root",!n&&"gutters",r]},YO,t)},QO=ne("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>E({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),JO=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular"}=r,l=ee(r,qO),c=E({},r,{component:o,disableGutters:s,variant:a}),u=XO(c);return M.jsx(QO,E({as:o,className:se(u.root,i),ref:n,ownerState:c},l))}),ZO=JO;function eI(e){return _e("MuiTextField",e)}we("MuiTextField",["root"]);const tI=["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"],nI={standard:Yx,filled:Vx,outlined:_p},rI=e=>{const{classes:t}=e;return Me({root:["root"]},eI,t)},iI=ne(If,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),oI=k.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:s,className:a,color:l="primary",defaultValue:c,disabled:u=!1,error:d=!1,FormHelperTextProps:f,fullWidth:h=!1,helperText:p,id:m,InputLabelProps:x,inputProps:g,InputProps:y,inputRef:v,label:_,maxRows:S,minRows:R,multiline:C=!1,name:b,onBlur:w,onChange:P,onFocus:T,placeholder:L,required:F=!1,rows:$,select:N=!1,SelectProps:D,type:A,value:O,variant:I="outlined"}=r,W=ee(r,tI),q=E({},r,{autoFocus:o,color:l,disabled:u,error:d,fullWidth:h,multiline:C,required:F,select:N,variant:I}),B=rI(q),X={};I==="outlined"&&(x&&typeof x.shrink<"u"&&(X.notched=x.shrink),X.label=_),N&&((!D||!D.native)&&(X.id=void 0),X["aria-describedby"]=void 0);const H=ex(m),Q=p&&H?`${H}-helper-text`:void 0,Z=_&&H?`${H}-label`:void 0,ce=nI[I],pe=M.jsx(ce,E({"aria-describedby":Q,autoComplete:i,autoFocus:o,defaultValue:c,fullWidth:h,multiline:C,name:b,rows:$,maxRows:S,minRows:R,type:A,value:O,id:H,inputRef:v,onBlur:w,onChange:P,onFocus:T,placeholder:L,inputProps:g},X,y));return M.jsxs(iI,E({className:se(B.root,a),disabled:u,error:d,fullWidth:h,ref:n,required:F,color:l,variant:I,ownerState:q},W,{children:[_!=null&&_!==""&&M.jsx(kT,E({htmlFor:H,id:Z},x,{children:_})),N?M.jsx(Lf,E({"aria-describedby":Q,id:H,labelId:Z,value:O,input:pe},D,{children:s})):pe,p&&M.jsx(WM,E({id:Q},f,{children:p}))]}))}),sI=oI;var wp={},tb={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})(tb);var kp=tb.exports,fd={};const aI=R_(U2);var o0;function Cp(){return o0||(o0=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=aI}(fd)),fd}var lI=kp;Object.defineProperty(wp,"__esModule",{value:!0});var nb=wp.default=void 0,cI=lI(Cp()),uI=M,dI=(0,cI.default)((0,uI.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");nb=wp.default=dI;var Ep={},fI=kp;Object.defineProperty(Ep,"__esModule",{value:!0});var rb=Ep.default=void 0,hI=fI(Cp()),pI=M,mI=(0,hI.default)((0,pI.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"}),"Language");rb=Ep.default=mI;function gI(){return M.jsx(jx,{sx:{flexGrow:1},children:M.jsx(WP,{position:"relative",color:"secondary",children:M.jsx(xp,{children:M.jsxs(ZO,{disableGutters:!0,children:[M.jsx(zg,{size:"large",edge:"start",color:"primary","aria-label":"menu",children:M.jsx(rb,{fontSize:"large"})}),M.jsx(An,{variant:"string",component:"div",sx:{flexGrow:1},children:"NASA FIREBALL"}),M.jsx(zg,{size:"large",color:"inherit","aria-label":"search",onClick:()=>{document.getElementById("search").scrollIntoView({behavior:"smooth"})},children:M.jsx(nb,{})})]})})})})}const yI="modulepreload",vI=function(e,t){return new URL(e,t).href},s0={},ib=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=vI(o,r),o in s0)return;s0[o]=!0;const s=o.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!r)for(let u=i.length-1;u>=0;u--){const d=i[u];if(d.href===o&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":yI,s||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),s)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})};const xI=""+new URL("Ourspaceship-Africa-2k-2-cbe3029e.png",import.meta.url).href,bI=Ht.lazy(()=>ib(()=>import("./Statistics-fda158fd.js"),["./Statistics-fda158fd.js","./InputAdornment-d032014f.js","./Statistics-f719e10b.css"],import.meta.url));function _I(){return M.jsxs("div",{className:"landing",children:[M.jsxs(xp,{className:"landing-container",children:[M.jsxs("div",{className:"text-box",children:[M.jsx(An,{variant:"h2",className:"text-title",children:"Meteors and Meteorites"}),M.jsx(An,{variant:"string",className:"text-paragraph",children:"Data on over 45k meteorites strikes and events research"})]}),M.jsx(bI,{})]}),M.jsx("div",{className:"image-container",children:M.jsx("img",{src:xI,alt:""})})]})}function SI(){return M.jsxs("div",{className:"Home",children:[M.jsx(gI,{}),M.jsx(_I,{})]})}/** * @remix-run/router v1.9.0 * * Copyright (c) Remix Software Inc. @@ -141,7 +141,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Bs(){return Bs=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function kI(){return Math.random().toString(36).substr(2,8)}function l0(e,t){return{usr:e.state,key:e.key,idx:t}}function Nf(e,t,n,r){return n===void 0&&(n=null),Bs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Su(t):t,{state:n,key:t&&t.key||r||kI()})}function ob(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 Su(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function CI(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=ti.Pop,l=null,c=u();c==null&&(c=0,s.replaceState(Bs({},s.state,{idx:c}),""));function u(){return(s.state||{idx:null}).idx}function d(){a=ti.Pop;let x=u(),g=x==null?null:x-c;c=x,l&&l({action:a,location:m.location,delta:g})}function f(x,g){a=ti.Push;let y=Nf(m.location,x,g);n&&n(y,x),c=u()+1;let v=l0(y,c),_=m.createHref(y);try{s.pushState(v,"",_)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(_)}o&&l&&l({action:a,location:m.location,delta:1})}function h(x,g){a=ti.Replace;let y=Nf(m.location,x,g);n&&n(y,x),c=u();let v=l0(y,c),_=m.createHref(y);s.replaceState(v,"",_),o&&l&&l({action:a,location:m.location,delta:0})}function p(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof x=="string"?x:ob(x);return Dn(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let m={get action(){return a},get location(){return e(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(a0,d),l=x,()=>{i.removeEventListener(a0,d),l=null}},createHref(x){return t(i,x)},createURL:p,encodeLocation(x){let g=p(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:h,go(x){return s.go(x)}};return m}var c0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(c0||(c0={}));function EI(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function PI(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Su(e):e;return{pathname:n?n.startsWith("/")?n:RI(n,t):t,search:II(r),hash:AI(i)}}function RI(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function pd(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 MI(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function TI(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Su(e):(i=Bs({},e),Dn(!i.pathname||!i.pathname.includes("?"),pd("?","pathname","search",i)),Dn(!i.pathname||!i.pathname.includes("#"),pd("#","pathname","hash",i)),Dn(!i.search||!i.search.includes("#"),pd("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(r||s==null)a=n;else{let d=t.length-1;if(s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=PI(i,a),c=s&&s!=="/"&&s.endsWith("/"),u=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const OI=e=>e.join("/").replace(/\/\/+/g,"/"),II=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,AI=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,sb=["post","put","patch","delete"];new Set(sb);const LI=["get",...sb];new Set(LI);/** + */function Bs(){return Bs=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function kI(){return Math.random().toString(36).substr(2,8)}function l0(e,t){return{usr:e.state,key:e.key,idx:t}}function $f(e,t,n,r){return n===void 0&&(n=null),Bs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?_u(t):t,{state:n,key:t&&t.key||r||kI()})}function ob(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 _u(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function CI(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=ti.Pop,l=null,c=u();c==null&&(c=0,s.replaceState(Bs({},s.state,{idx:c}),""));function u(){return(s.state||{idx:null}).idx}function d(){a=ti.Pop;let x=u(),g=x==null?null:x-c;c=x,l&&l({action:a,location:m.location,delta:g})}function f(x,g){a=ti.Push;let y=$f(m.location,x,g);n&&n(y,x),c=u()+1;let v=l0(y,c),_=m.createHref(y);try{s.pushState(v,"",_)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(_)}o&&l&&l({action:a,location:m.location,delta:1})}function h(x,g){a=ti.Replace;let y=$f(m.location,x,g);n&&n(y,x),c=u();let v=l0(y,c),_=m.createHref(y);s.replaceState(v,"",_),o&&l&&l({action:a,location:m.location,delta:0})}function p(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof x=="string"?x:ob(x);return Dn(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let m={get action(){return a},get location(){return e(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(a0,d),l=x,()=>{i.removeEventListener(a0,d),l=null}},createHref(x){return t(i,x)},createURL:p,encodeLocation(x){let g=p(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:h,go(x){return s.go(x)}};return m}var c0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(c0||(c0={}));function EI(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function PI(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?_u(e):e;return{pathname:n?n.startsWith("/")?n:RI(n,t):t,search:II(r),hash:AI(i)}}function RI(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function hd(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 MI(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function TI(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=_u(e):(i=Bs({},e),Dn(!i.pathname||!i.pathname.includes("?"),hd("?","pathname","search",i)),Dn(!i.pathname||!i.pathname.includes("#"),hd("#","pathname","hash",i)),Dn(!i.search||!i.search.includes("#"),hd("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(r||s==null)a=n;else{let d=t.length-1;if(s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=PI(i,a),c=s&&s!=="/"&&s.endsWith("/"),u=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const OI=e=>e.join("/").replace(/\/\/+/g,"/"),II=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,AI=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,sb=["post","put","patch","delete"];new Set(sb);const LI=["get",...sb];new Set(LI);/** * React Router v6.16.0 * * Copyright (c) Remix Software Inc. @@ -150,7 +150,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ff(){return Ff=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.pathnameBase)),s=k.useRef(!1);return cb(()=>{s.current=!0}),k.useCallback(function(l,c){if(c===void 0&&(c={}),!s.current)return;if(typeof l=="number"){n.go(l);return}let u=TI(l,JSON.parse(o),i,c.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:OI([t,u.pathname])),(c.replace?n.replace:n.push)(u,c.state,c)},[t,n,o,i,e])}var ub=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ub||{}),db=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(db||{});function FI(e){let t=k.useContext(ab);return t||Dn(!1),t}function DI(e){let t=k.useContext(Tp);return t||Dn(!1),t}function zI(e){let t=DI(),n=t.matches[t.matches.length-1];return n.route.id||Dn(!1),n.route.id}function BI(){let{router:e}=FI(ub.UseNavigateStable),t=zI(db.UseNavigateStable),n=k.useRef(!1);return cb(()=>{n.current=!0}),k.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Ff({fromRouteId:t},o)))},[e,t])}function jI(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ti.Pop,navigator:o,static:s=!1}=e;Op()&&Dn(!1);let a=t.replace(/^\/*/,"/"),l=k.useMemo(()=>({basename:a,navigator:o,static:s}),[a,o,s]);typeof r=="string"&&(r=Su(r));let{pathname:c="/",search:u="",hash:d="",state:f=null,key:h="default"}=r,p=k.useMemo(()=>{let m=EI(c,a);return m==null?null:{location:{pathname:m,search:u,hash:d,state:f,key:h},navigationType:i}},[a,c,u,d,f,h,i]);return p==null?null:k.createElement(Rp.Provider,{value:l},k.createElement(Mp.Provider,{children:n,value:p}))}new Promise(()=>{});/** + */function Nf(){return Nf=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.pathnameBase)),s=k.useRef(!1);return cb(()=>{s.current=!0}),k.useCallback(function(l,c){if(c===void 0&&(c={}),!s.current)return;if(typeof l=="number"){n.go(l);return}let u=TI(l,JSON.parse(o),i,c.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:OI([t,u.pathname])),(c.replace?n.replace:n.push)(u,c.state,c)},[t,n,o,i,e])}var ub=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ub||{}),db=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(db||{});function FI(e){let t=k.useContext(ab);return t||Dn(!1),t}function DI(e){let t=k.useContext(Mp);return t||Dn(!1),t}function zI(e){let t=DI(),n=t.matches[t.matches.length-1];return n.route.id||Dn(!1),n.route.id}function BI(){let{router:e}=FI(ub.UseNavigateStable),t=zI(db.UseNavigateStable),n=k.useRef(!1);return cb(()=>{n.current=!0}),k.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Nf({fromRouteId:t},o)))},[e,t])}function jI(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ti.Pop,navigator:o,static:s=!1}=e;Tp()&&Dn(!1);let a=t.replace(/^\/*/,"/"),l=k.useMemo(()=>({basename:a,navigator:o,static:s}),[a,o,s]);typeof r=="string"&&(r=_u(r));let{pathname:c="/",search:u="",hash:d="",state:f=null,key:h="default"}=r,p=k.useMemo(()=>{let m=EI(c,a);return m==null?null:{location:{pathname:m,search:u,hash:d,state:f,key:h},navigationType:i}},[a,c,u,d,f,h,i]);return p==null?null:k.createElement(Pp.Provider,{value:l},k.createElement(Rp.Provider,{children:n,value:p}))}new Promise(()=>{});/** * React Router DOM v6.16.0 * * Copyright (c) Remix Software Inc. @@ -159,9 +159,9 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Df(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function WI(e,t){let n=Df(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(o=>{n.append(i,o)})}),n}const UI="startTransition",u0=xl[UI];function VI(e){let{basename:t,children:n,future:r,window:i}=e,o=k.useRef();o.current==null&&(o.current=wI({window:i,v5Compat:!0}));let s=o.current,[a,l]=k.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},u=k.useCallback(d=>{c&&u0?u0(()=>l(d)):l(d)},[l,c]);return k.useLayoutEffect(()=>s.listen(u),[s,u]),k.createElement(jI,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s})}var d0;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(d0||(d0={}));var f0;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(f0||(f0={}));function fb(e){let t=k.useRef(Df(e)),n=k.useRef(!1),r=lb(),i=k.useMemo(()=>WI(r.search,n.current?null:t.current),[r.search]),o=$I(),s=k.useCallback((a,l)=>{const c=Df(typeof a=="function"?a(i):a);n.current=!0,o("?"+c,l)},[o,i]);return[i,s]}var Ip={},HI=Cp;Object.defineProperty(Ip,"__esModule",{value:!0});var hb=Ip.default=void 0,KI=HI(Ep()),GI=M,YI=(0,KI.default)((0,GI.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");hb=Ip.default=YI;const qI=48,XI=8,QI={PaperProps:{style:{maxHeight:qI*4.5+XI,width:250}}},JI=["0-100","100-1000","1000-10000","10000-100000","100000-1000000","1000000-10000000"];function ZI(){const[e,t]=k.useState("name"),[n,r]=k.useState(""),[i,o]=k.useState([""]),[s,a]=fb(""),l=u=>{const{target:{value:d}}=u;o(typeof d=="string"?d.split(","):d)},c=[];for(let u of s.entries())c.push(u);return M.jsxs(M.Fragment,{children:[M.jsxs(Hi,{container:!0,sx:{margin:"20px 0"},className:"grid-filter",children:[M.jsx(Af,{sx:{minWidth:120},size:"large",className:"filter-select",children:M.jsxs($f,{id:"demo-simple-select-helper",value:e,onChange:u=>t(u.target.value),sx:{borderTopRightRadius:0,borderBottomRightRadius:0},children:[M.jsx(Mi,{value:"name",children:M.jsx("em",{children:"Name"})}),M.jsx(Mi,{value:"id",children:"ID"}),M.jsx(Mi,{value:"recclass",children:"Recclass"}),M.jsx(Mi,{value:"mass-g",children:"Mass (g)"}),M.jsx(Mi,{value:"year",children:"Year"})]})}),M.jsx(Af,{sx:{minWidth:120},size:"large",className:"search-field filter-select",children:e!=="mass-g"?M.jsx(sI,{sx:{borderRadius:0,width:"100%"},variant:"outlined",placeholder:"Name, Year, Meteorite composition, and Mass range",value:n,onChange:u=>{r(u.target.value)}}):M.jsx($f,{labelId:"demo-multiple-checkbox-label",id:"demo-multiple-checkbox",multiple:!0,value:i,onChange:l,input:M.jsx(Sp,{}),renderValue:u=>u.join(", "),MenuProps:QI,children:JI.map(u=>M.jsxs(Mi,{value:u,children:[M.jsx(yM,{checked:i.indexOf(u)>-1}),M.jsx(zT,{primary:u})]},u))})}),M.jsx(Jl,{variant:"contained",size:"large",sx:{borderTopLeftRadius:0,borderBottomLeftRadius:0},onClick:()=>a(u=>(e!=="mass-g"&&n!==""?u.set(e,n):u.set(e,i),u)),children:"Search"})]}),M.jsxs(An,{variant:"string",children:["Filters: ",c.length]}),M.jsx(Jl,{variant:"text",size:"large",sx:{marginLeft:1},onClick:()=>a(u=>{u.delete(u.entries()),t("name"),r("")}),children:"Clear All"}),M.jsx("div",{children:M.jsx(Hi,{container:!0,children:c.map(([u,d])=>M.jsxs(jx,{sx:{bgcolor:"#eee",padding:"2px 10px",marginBottom:1,display:"flex",alignItems:"center",borderRadius:"5px",marginLeft:1},children:[M.jsxs(An,{variant:"string",color:"primary.main",children:[u,":"]}),M.jsx(An,{variant:"string",children:d}),M.jsx(hb,{onClick:()=>{s.delete(u),a(s)},sx:{fontSize:"16px",cursor:"pointer",marginLeft:1}})]},u))})})]})}const eA=k.lazy(()=>ib(()=>import("./MeteoritesTable-6bda29d2.js"),["./MeteoritesTable-6bda29d2.js","./InputAdornment-d5bf5eeb.js","./MeteoritesTable-db912a2b.css"],import.meta.url));function tA(){return M.jsx(bp,{sx:{padding:"70px auto",margin:"40px auto"},id:"search",children:M.jsxs(k.Suspense,{fallback:"Loading...",children:[M.jsx(ZI,{}),M.jsx(eA,{})]})})}function pb(e,t){return function(){return e.apply(t,arguments)}}const{toString:nA}=Object.prototype,{getPrototypeOf:Ap}=Object,wu=(e=>t=>{const n=nA.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Bn=e=>(e=e.toLowerCase(),t=>wu(t)===e),ku=e=>t=>typeof t===e,{isArray:_o}=Array,js=ku("undefined");function rA(e){return e!==null&&!js(e)&&e.constructor!==null&&!js(e.constructor)&&cn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mb=Bn("ArrayBuffer");function iA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&mb(e.buffer),t}const oA=ku("string"),cn=ku("function"),gb=ku("number"),Cu=e=>e!==null&&typeof e=="object",sA=e=>e===!0||e===!1,cl=e=>{if(wu(e)!=="object")return!1;const t=Ap(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},aA=Bn("Date"),lA=Bn("File"),cA=Bn("Blob"),uA=Bn("FileList"),dA=e=>Cu(e)&&cn(e.pipe),fA=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||cn(e.append)&&((t=wu(e))==="formdata"||t==="object"&&cn(e.toString)&&e.toString()==="[object FormData]"))},hA=Bn("URLSearchParams"),pA=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ia(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),_o(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const vb=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),xb=e=>!js(e)&&e!==vb;function zf(){const{caseless:e}=xb(this)&&this||{},t={},n=(r,i)=>{const o=e&&yb(t,i)||i;cl(t[o])&&cl(r)?t[o]=zf(t[o],r):cl(r)?t[o]=zf({},r):_o(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(ia(t,(i,o)=>{n&&cn(i)?e[o]=pb(i,n):e[o]=i},{allOwnKeys:r}),e),gA=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yA=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},vA=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ap(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},xA=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},bA=e=>{if(!e)return null;if(_o(e))return e;let t=e.length;if(!gb(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},_A=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ap(Uint8Array)),SA=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},wA=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},kA=Bn("HTMLFormElement"),CA=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),h0=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),EA=Bn("RegExp"),bb=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ia(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},PA=e=>{bb(e,(t,n)=>{if(cn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(cn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},RA=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return _o(e)?r(e):r(String(e).split(t)),n},MA=()=>{},TA=(e,t)=>(e=+e,Number.isFinite(e)?e:t),md="abcdefghijklmnopqrstuvwxyz",p0="0123456789",_b={DIGIT:p0,ALPHA:md,ALPHA_DIGIT:md+md.toUpperCase()+p0},OA=(e=16,t=_b.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function IA(e){return!!(e&&cn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const AA=e=>{const t=new Array(10),n=(r,i)=>{if(Cu(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=_o(r)?[]:{};return ia(r,(s,a)=>{const l=n(s,i+1);!js(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},LA=Bn("AsyncFunction"),$A=e=>e&&(Cu(e)||cn(e))&&cn(e.then)&&cn(e.catch),z={isArray:_o,isArrayBuffer:mb,isBuffer:rA,isFormData:fA,isArrayBufferView:iA,isString:oA,isNumber:gb,isBoolean:sA,isObject:Cu,isPlainObject:cl,isUndefined:js,isDate:aA,isFile:lA,isBlob:cA,isRegExp:EA,isFunction:cn,isStream:dA,isURLSearchParams:hA,isTypedArray:_A,isFileList:uA,forEach:ia,merge:zf,extend:mA,trim:pA,stripBOM:gA,inherits:yA,toFlatObject:vA,kindOf:wu,kindOfTest:Bn,endsWith:xA,toArray:bA,forEachEntry:SA,matchAll:wA,isHTMLForm:kA,hasOwnProperty:h0,hasOwnProp:h0,reduceDescriptors:bb,freezeMethods:PA,toObjectSet:RA,toCamelCase:CA,noop:MA,toFiniteNumber:TA,findKey:yb,global:vb,isContextDefined:xb,ALPHABET:_b,generateString:OA,isSpecCompliantForm:IA,toJSONObject:AA,isAsyncFn:LA,isThenable:$A};function ve(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}z.inherits(ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Sb=ve.prototype,wb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{wb[e]={value:e}});Object.defineProperties(ve,wb);Object.defineProperty(Sb,"isAxiosError",{value:!0});ve.from=(e,t,n,r,i,o)=>{const s=Object.create(Sb);return z.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ve.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const NA=null;function Bf(e){return z.isPlainObject(e)||z.isArray(e)}function kb(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function m0(e,t,n){return e?e.concat(t).map(function(i,o){return i=kb(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function FA(e){return z.isArray(e)&&!e.some(Bf)}const DA=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function Eu(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,x){return!z.isUndefined(x[m])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(z.isDate(p))return p.toISOString();if(!l&&z.isBlob(p))throw new ve("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(p)||z.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,x){let g=p;if(p&&!x&&typeof p=="object"){if(z.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(z.isArray(p)&&FA(p)||(z.isFileList(p)||z.endsWith(m,"[]"))&&(g=z.toArray(p)))return m=kb(m),g.forEach(function(v,_){!(z.isUndefined(v)||v===null)&&t.append(s===!0?m0([m],_,o):s===null?m:m+"[]",c(v))}),!1}return Bf(p)?!0:(t.append(m0(x,m,o),c(p)),!1)}const d=[],f=Object.assign(DA,{defaultVisitor:u,convertValue:c,isVisitable:Bf});function h(p,m){if(!z.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(p),z.forEach(p,function(g,y){(!(z.isUndefined(g)||g===null)&&i.call(t,g,z.isString(y)?y.trim():y,m,f))===!0&&h(g,m?m.concat(y):[y])}),d.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return h(e),t}function g0(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Lp(e,t){this._pairs=[],e&&Eu(e,this,t)}const Cb=Lp.prototype;Cb.append=function(t,n){this._pairs.push([t,n])};Cb.toString=function(t){const n=t?function(r){return t.call(this,r,g0)}:g0;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function zA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Eb(e,t,n){if(!t)return e;const r=n&&n.encode||zA,i=n&&n.serialize;let o;if(i?o=i(t,n):o=z.isURLSearchParams(t)?t.toString():new Lp(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class BA{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(r){r!==null&&t(r)})}}const y0=BA,Pb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jA=typeof URLSearchParams<"u"?URLSearchParams:Lp,WA=typeof FormData<"u"?FormData:null,UA=typeof Blob<"u"?Blob:null,VA=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),HA=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),bn={isBrowser:!0,classes:{URLSearchParams:jA,FormData:WA,Blob:UA},isStandardBrowserEnv:VA,isStandardBrowserWebWorkerEnv:HA,protocols:["http","https","file","blob","url","data"]};function KA(e,t){return Eu(e,new bn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return bn.isNode&&z.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function GA(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function YA(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return s=!s&&z.isArray(i)?i.length:s,l?(z.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!z.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&z.isArray(i[s])&&(i[s]=YA(i[s])),!a)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(r,i)=>{t(GA(r),i,n,0)}),n}return null}function qA(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const $p={transitional:Pb,adapter:bn.isNode?"http":"xhr",transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=z.isObject(t);if(o&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return i&&i?JSON.stringify(Rb(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return KA(t,this.formSerializer).toString();if((a=z.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Eu(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),qA(t)):t}],transformResponse:[function(t){const n=this.transitional||$p.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&z.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?ve.from(a,ve.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bn.classes.FormData,Blob:bn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],e=>{$p.headers[e]={}});const Np=$p,XA=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),QA=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&XA[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},v0=Symbol("internals");function Do(e){return e&&String(e).trim().toLowerCase()}function ul(e){return e===!1||e==null?e:z.isArray(e)?e.map(ul):String(e)}function JA(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const ZA=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gd(e,t,n,r,i){if(z.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!z.isString(t)){if(z.isString(r))return t.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(t)}}function eL(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function tL(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}class Pu{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,l,c){const u=Do(l);if(!u)throw new Error("header name must be a non-empty string");const d=z.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=ul(a))}const s=(a,l)=>z.forEach(a,(c,u)=>o(c,u,l));return z.isPlainObject(t)||t instanceof this.constructor?s(t,n):z.isString(t)&&(t=t.trim())&&!ZA(t)?s(QA(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Do(t),t){const r=z.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return JA(i);if(z.isFunction(n))return n.call(this,i,r);if(z.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Do(t),t){const r=z.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||gd(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=Do(s),s){const a=z.findKey(r,s);a&&(!n||gd(r,r[a],a,n))&&(delete r[a],i=!0)}}return z.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||gd(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return z.forEach(this,(i,o)=>{const s=z.findKey(r,o);if(s){n[s]=ul(i),delete n[o];return}const a=t?eL(o):String(o).trim();a!==o&&delete n[o],n[a]=ul(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[v0]=this[v0]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=Do(s);r[a]||(tL(i,s),r[a]=!0)}return z.isArray(t)?t.forEach(o):o(t),this}}Pu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Pu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});z.freezeMethods(Pu);const Jn=Pu;function yd(e,t){const n=this||Np,r=t||n,i=Jn.from(r.headers);let o=r.data;return z.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Mb(e){return!!(e&&e.__CANCEL__)}function oa(e,t,n){ve.call(this,e??"canceled",ve.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(oa,ve,{__CANCEL__:!0});function nL(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ve("Request failed with status code "+n.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const rL=bn.isStandardBrowserEnv?function(){return{write:function(n,r,i,o,s,a){const l=[];l.push(n+"="+encodeURIComponent(r)),z.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),z.isString(o)&&l.push("path="+o),z.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function iL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function oL(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Tb(e,t){return e&&!iL(t)?oL(e,t):t}const sL=bn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=z.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function aL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function lL(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[o];s||(s=c),n[i]=l,r[i]=c;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-s{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,l=r(a),c=o<=s;n=o;const u={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&c?(s-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}const cL=typeof XMLHttpRequest<"u",uL=cL&&function(e){return new Promise(function(n,r){let i=e.data;const o=Jn.from(e.headers).normalize(),s=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}z.isFormData(i)&&(bn.isStandardBrowserEnv||bn.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(h+":"+p))}const u=Tb(e.baseURL,e.url);c.open(e.method.toUpperCase(),Eb(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const h=Jn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:h,config:e,request:c};nL(function(g){n(g),l()},function(g){r(g),l()},m),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){c&&(r(new ve("Request aborted",ve.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new ve("Network Error",ve.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||Pb;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new ve(p,m.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,e,c)),c=null},bn.isStandardBrowserEnv){const h=(e.withCredentials||sL(u))&&e.xsrfCookieName&&rL.read(e.xsrfCookieName);h&&o.set(e.xsrfHeaderName,h)}i===void 0&&o.setContentType(null),"setRequestHeader"in c&&z.forEach(o.toJSON(),function(p,m){c.setRequestHeader(m,p)}),z.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&s!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",x0(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",x0(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=h=>{c&&(r(!h||h.type?new oa(null,e,c):h),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const f=aL(u);if(f&&bn.protocols.indexOf(f)===-1){r(new ve("Unsupported protocol "+f+":",ve.ERR_BAD_REQUEST,e));return}c.send(i||null)})},dl={http:NA,xhr:uL};z.forEach(dl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ob={getAdapter:e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let i=0;ie instanceof Jn?e.toJSON():e;function ho(e,t){t=t||{};const n={};function r(c,u,d){return z.isPlainObject(c)&&z.isPlainObject(u)?z.merge.call({caseless:d},c,u):z.isPlainObject(u)?z.merge({},u):z.isArray(u)?u.slice():u}function i(c,u,d){if(z.isUndefined(u)){if(!z.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function o(c,u){if(!z.isUndefined(u))return r(void 0,u)}function s(c,u){if(z.isUndefined(u)){if(!z.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u)=>i(_0(c),_0(u),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||i,f=d(e[u],t[u],u);z.isUndefined(f)&&d!==a||(n[u]=f)}),n}const Ib="1.5.0",Fp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const S0={};Fp.transitional=function(t,n,r){function i(o,s){return"[Axios v"+Ib+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(t===!1)throw new ve(i(s," has been removed"+(n?" in "+n:"")),ve.ERR_DEPRECATED);return n&&!S0[s]&&(S0[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function dL(e,t,n){if(typeof e!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new ve("option "+o+" must be "+l,ve.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ve("Unknown option "+o,ve.ERR_BAD_OPTION)}}const jf={assertOptions:dL,validators:Fp},lr=jf.validators;class tc{constructor(t){this.defaults=t,this.interceptors={request:new y0,response:new y0}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ho(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&jf.assertOptions(r,{silentJSONParsing:lr.transitional(lr.boolean),forcedJSONParsing:lr.transitional(lr.boolean),clarifyTimeoutError:lr.transitional(lr.boolean)},!1),i!=null&&(z.isFunction(i)?n.paramsSerializer={serialize:i}:jf.assertOptions(i,{encode:lr.function,serialize:lr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&z.merge(o.common,o[n.method]);o&&z.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=Jn.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,f;if(!l){const p=[b0.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,a){r.reason||(r.reason=new oa(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Dp(function(i){t=i}),cancel:t}}}const fL=Dp;function hL(e){return function(n){return e.apply(null,n)}}function pL(e){return z.isObject(e)&&e.isAxiosError===!0}const Wf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Wf).forEach(([e,t])=>{Wf[t]=e});const mL=Wf;function Ab(e){const t=new fl(e),n=pb(fl.prototype.request,t);return z.extend(n,fl.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Ab(ho(e,i))},n}const at=Ab(Np);at.Axios=fl;at.CanceledError=oa;at.CancelToken=fL;at.isCancel=Mb;at.VERSION=Ib;at.toFormData=Eu;at.AxiosError=ve;at.Cancel=at.CanceledError;at.all=function(t){return Promise.all(t)};at.spread=hL;at.isAxiosError=pL;at.mergeConfig=ho;at.AxiosHeaders=Jn;at.formToJSON=e=>Rb(z.isHTMLForm(e)?new FormData(e):e);at.getAdapter=Ob.getAdapter;at.HttpStatusCode=mL;at.default=at;const gL=at;var Lb={exports:{}};/* @license + */function Ff(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function WI(e,t){let n=Ff(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(o=>{n.append(i,o)})}),n}const UI="startTransition",u0=xl[UI];function VI(e){let{basename:t,children:n,future:r,window:i}=e,o=k.useRef();o.current==null&&(o.current=wI({window:i,v5Compat:!0}));let s=o.current,[a,l]=k.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},u=k.useCallback(d=>{c&&u0?u0(()=>l(d)):l(d)},[l,c]);return k.useLayoutEffect(()=>s.listen(u),[s,u]),k.createElement(jI,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s})}var d0;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(d0||(d0={}));var f0;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(f0||(f0={}));function fb(e){let t=k.useRef(Ff(e)),n=k.useRef(!1),r=lb(),i=k.useMemo(()=>WI(r.search,n.current?null:t.current),[r.search]),o=$I(),s=k.useCallback((a,l)=>{const c=Ff(typeof a=="function"?a(i):a);n.current=!0,o("?"+c,l)},[o,i]);return[i,s]}var Op={},HI=kp;Object.defineProperty(Op,"__esModule",{value:!0});var hb=Op.default=void 0,KI=HI(Cp()),GI=M,YI=(0,KI.default)((0,GI.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");hb=Op.default=YI;const qI=48,XI=8,QI={PaperProps:{style:{maxHeight:qI*4.5+XI,width:250}}},JI=["0-100","100-1000","1000-10000","10000-100000","100000-1000000","1000000-10000000"];function ZI(){const[e,t]=k.useState("name"),[n,r]=k.useState(""),[i,o]=k.useState([""]),[s,a]=fb(""),l=u=>{const{target:{value:d}}=u;o(typeof d=="string"?d.split(","):d)},c=[];for(let u of s.entries())c.push(u);return M.jsxs(M.Fragment,{children:[M.jsxs(Hi,{container:!0,sx:{margin:"20px 0"},className:"grid-filter",children:[M.jsx(If,{sx:{minWidth:120},size:"large",className:"filter-select",children:M.jsxs(Lf,{id:"demo-simple-select-helper",value:e,onChange:u=>t(u.target.value),sx:{borderTopRightRadius:0,borderBottomRightRadius:0},children:[M.jsx(Mi,{value:"name",children:M.jsx("em",{children:"Name"})}),M.jsx(Mi,{value:"id",children:"ID"}),M.jsx(Mi,{value:"recclass",children:"Recclass"}),M.jsx(Mi,{value:"mass-g",children:"Mass (g)"}),M.jsx(Mi,{value:"year",children:"Year"})]})}),M.jsx(If,{sx:{minWidth:120},size:"large",className:"search-field filter-select",children:e!=="mass-g"?M.jsx(sI,{sx:{borderRadius:0,width:"100%"},variant:"outlined",placeholder:"Name, Year, Meteorite composition, and Mass range",value:n,onChange:u=>{r(u.target.value)}}):M.jsx(Lf,{labelId:"demo-multiple-checkbox-label",id:"demo-multiple-checkbox",multiple:!0,value:i,onChange:l,input:M.jsx(_p,{}),renderValue:u=>u.join(", "),MenuProps:QI,children:JI.map(u=>M.jsxs(Mi,{value:u,children:[M.jsx(yM,{checked:i.indexOf(u)>-1}),M.jsx(zT,{primary:u})]},u))})}),M.jsx(Kg,{variant:"contained",size:"large",sx:{borderTopLeftRadius:0,borderBottomLeftRadius:0},onClick:()=>a(u=>(e!=="mass-g"&&n!==""?u.set(e,n):u.set(e,i),u)),children:"Search"})]}),M.jsxs(An,{variant:"string",children:["Filters: ",c.length]}),M.jsx(Kg,{variant:"text",size:"large",sx:{marginLeft:1},onClick:()=>a(u=>{u.delete(u.entries()),t("name"),r("")}),children:"Clear All"}),M.jsx("div",{children:M.jsx(Hi,{container:!0,children:c.map(([u,d])=>M.jsxs(jx,{sx:{bgcolor:"#eee",padding:"2px 10px",marginBottom:1,display:"flex",alignItems:"center",borderRadius:"5px",marginLeft:1},children:[M.jsxs(An,{variant:"string",color:"primary.main",children:[u,":"]}),M.jsx(An,{variant:"string",children:d}),M.jsx(hb,{onClick:()=>{s.delete(u),a(s)},sx:{fontSize:"16px",cursor:"pointer",marginLeft:1}})]},u))})})]})}const eA=k.lazy(()=>ib(()=>import("./MeteoritesTable-c64d2e27.js"),["./MeteoritesTable-c64d2e27.js","./InputAdornment-d032014f.js","./MeteoritesTable-db912a2b.css"],import.meta.url));function tA(){return M.jsx(xp,{sx:{padding:"70px auto",margin:"40px auto"},id:"search",children:M.jsxs(k.Suspense,{fallback:"Loading...",children:[M.jsx(ZI,{}),M.jsx(eA,{})]})})}function pb(e,t){return function(){return e.apply(t,arguments)}}const{toString:nA}=Object.prototype,{getPrototypeOf:Ip}=Object,Su=(e=>t=>{const n=nA.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Bn=e=>(e=e.toLowerCase(),t=>Su(t)===e),wu=e=>t=>typeof t===e,{isArray:_o}=Array,js=wu("undefined");function rA(e){return e!==null&&!js(e)&&e.constructor!==null&&!js(e.constructor)&&cn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mb=Bn("ArrayBuffer");function iA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&mb(e.buffer),t}const oA=wu("string"),cn=wu("function"),gb=wu("number"),ku=e=>e!==null&&typeof e=="object",sA=e=>e===!0||e===!1,cl=e=>{if(Su(e)!=="object")return!1;const t=Ip(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},aA=Bn("Date"),lA=Bn("File"),cA=Bn("Blob"),uA=Bn("FileList"),dA=e=>ku(e)&&cn(e.pipe),fA=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||cn(e.append)&&((t=Su(e))==="formdata"||t==="object"&&cn(e.toString)&&e.toString()==="[object FormData]"))},hA=Bn("URLSearchParams"),pA=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ia(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),_o(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const vb=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),xb=e=>!js(e)&&e!==vb;function Df(){const{caseless:e}=xb(this)&&this||{},t={},n=(r,i)=>{const o=e&&yb(t,i)||i;cl(t[o])&&cl(r)?t[o]=Df(t[o],r):cl(r)?t[o]=Df({},r):_o(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(ia(t,(i,o)=>{n&&cn(i)?e[o]=pb(i,n):e[o]=i},{allOwnKeys:r}),e),gA=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yA=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},vA=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ip(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},xA=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},bA=e=>{if(!e)return null;if(_o(e))return e;let t=e.length;if(!gb(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},_A=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ip(Uint8Array)),SA=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},wA=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},kA=Bn("HTMLFormElement"),CA=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),h0=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),EA=Bn("RegExp"),bb=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ia(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},PA=e=>{bb(e,(t,n)=>{if(cn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(cn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},RA=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return _o(e)?r(e):r(String(e).split(t)),n},MA=()=>{},TA=(e,t)=>(e=+e,Number.isFinite(e)?e:t),pd="abcdefghijklmnopqrstuvwxyz",p0="0123456789",_b={DIGIT:p0,ALPHA:pd,ALPHA_DIGIT:pd+pd.toUpperCase()+p0},OA=(e=16,t=_b.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function IA(e){return!!(e&&cn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const AA=e=>{const t=new Array(10),n=(r,i)=>{if(ku(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=_o(r)?[]:{};return ia(r,(s,a)=>{const l=n(s,i+1);!js(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},LA=Bn("AsyncFunction"),$A=e=>e&&(ku(e)||cn(e))&&cn(e.then)&&cn(e.catch),z={isArray:_o,isArrayBuffer:mb,isBuffer:rA,isFormData:fA,isArrayBufferView:iA,isString:oA,isNumber:gb,isBoolean:sA,isObject:ku,isPlainObject:cl,isUndefined:js,isDate:aA,isFile:lA,isBlob:cA,isRegExp:EA,isFunction:cn,isStream:dA,isURLSearchParams:hA,isTypedArray:_A,isFileList:uA,forEach:ia,merge:Df,extend:mA,trim:pA,stripBOM:gA,inherits:yA,toFlatObject:vA,kindOf:Su,kindOfTest:Bn,endsWith:xA,toArray:bA,forEachEntry:SA,matchAll:wA,isHTMLForm:kA,hasOwnProperty:h0,hasOwnProp:h0,reduceDescriptors:bb,freezeMethods:PA,toObjectSet:RA,toCamelCase:CA,noop:MA,toFiniteNumber:TA,findKey:yb,global:vb,isContextDefined:xb,ALPHABET:_b,generateString:OA,isSpecCompliantForm:IA,toJSONObject:AA,isAsyncFn:LA,isThenable:$A};function ve(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}z.inherits(ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Sb=ve.prototype,wb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{wb[e]={value:e}});Object.defineProperties(ve,wb);Object.defineProperty(Sb,"isAxiosError",{value:!0});ve.from=(e,t,n,r,i,o)=>{const s=Object.create(Sb);return z.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ve.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const NA=null;function zf(e){return z.isPlainObject(e)||z.isArray(e)}function kb(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function m0(e,t,n){return e?e.concat(t).map(function(i,o){return i=kb(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function FA(e){return z.isArray(e)&&!e.some(zf)}const DA=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function Cu(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,x){return!z.isUndefined(x[m])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(z.isDate(p))return p.toISOString();if(!l&&z.isBlob(p))throw new ve("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(p)||z.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,x){let g=p;if(p&&!x&&typeof p=="object"){if(z.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(z.isArray(p)&&FA(p)||(z.isFileList(p)||z.endsWith(m,"[]"))&&(g=z.toArray(p)))return m=kb(m),g.forEach(function(v,_){!(z.isUndefined(v)||v===null)&&t.append(s===!0?m0([m],_,o):s===null?m:m+"[]",c(v))}),!1}return zf(p)?!0:(t.append(m0(x,m,o),c(p)),!1)}const d=[],f=Object.assign(DA,{defaultVisitor:u,convertValue:c,isVisitable:zf});function h(p,m){if(!z.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(p),z.forEach(p,function(g,y){(!(z.isUndefined(g)||g===null)&&i.call(t,g,z.isString(y)?y.trim():y,m,f))===!0&&h(g,m?m.concat(y):[y])}),d.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return h(e),t}function g0(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ap(e,t){this._pairs=[],e&&Cu(e,this,t)}const Cb=Ap.prototype;Cb.append=function(t,n){this._pairs.push([t,n])};Cb.toString=function(t){const n=t?function(r){return t.call(this,r,g0)}:g0;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function zA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Eb(e,t,n){if(!t)return e;const r=n&&n.encode||zA,i=n&&n.serialize;let o;if(i?o=i(t,n):o=z.isURLSearchParams(t)?t.toString():new Ap(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class BA{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(r){r!==null&&t(r)})}}const y0=BA,Pb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jA=typeof URLSearchParams<"u"?URLSearchParams:Ap,WA=typeof FormData<"u"?FormData:null,UA=typeof Blob<"u"?Blob:null,VA=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),HA=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),bn={isBrowser:!0,classes:{URLSearchParams:jA,FormData:WA,Blob:UA},isStandardBrowserEnv:VA,isStandardBrowserWebWorkerEnv:HA,protocols:["http","https","file","blob","url","data"]};function KA(e,t){return Cu(e,new bn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return bn.isNode&&z.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function GA(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function YA(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return s=!s&&z.isArray(i)?i.length:s,l?(z.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!z.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&z.isArray(i[s])&&(i[s]=YA(i[s])),!a)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(r,i)=>{t(GA(r),i,n,0)}),n}return null}function qA(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Lp={transitional:Pb,adapter:bn.isNode?"http":"xhr",transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=z.isObject(t);if(o&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return i&&i?JSON.stringify(Rb(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return KA(t,this.formSerializer).toString();if((a=z.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Cu(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),qA(t)):t}],transformResponse:[function(t){const n=this.transitional||Lp.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&z.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?ve.from(a,ve.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bn.classes.FormData,Blob:bn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],e=>{Lp.headers[e]={}});const $p=Lp,XA=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),QA=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&XA[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},v0=Symbol("internals");function Do(e){return e&&String(e).trim().toLowerCase()}function ul(e){return e===!1||e==null?e:z.isArray(e)?e.map(ul):String(e)}function JA(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const ZA=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function md(e,t,n,r,i){if(z.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!z.isString(t)){if(z.isString(r))return t.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(t)}}function eL(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function tL(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}class Eu{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,l,c){const u=Do(l);if(!u)throw new Error("header name must be a non-empty string");const d=z.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=ul(a))}const s=(a,l)=>z.forEach(a,(c,u)=>o(c,u,l));return z.isPlainObject(t)||t instanceof this.constructor?s(t,n):z.isString(t)&&(t=t.trim())&&!ZA(t)?s(QA(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Do(t),t){const r=z.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return JA(i);if(z.isFunction(n))return n.call(this,i,r);if(z.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Do(t),t){const r=z.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||md(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=Do(s),s){const a=z.findKey(r,s);a&&(!n||md(r,r[a],a,n))&&(delete r[a],i=!0)}}return z.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||md(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return z.forEach(this,(i,o)=>{const s=z.findKey(r,o);if(s){n[s]=ul(i),delete n[o];return}const a=t?eL(o):String(o).trim();a!==o&&delete n[o],n[a]=ul(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[v0]=this[v0]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=Do(s);r[a]||(tL(i,s),r[a]=!0)}return z.isArray(t)?t.forEach(o):o(t),this}}Eu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Eu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});z.freezeMethods(Eu);const Jn=Eu;function gd(e,t){const n=this||$p,r=t||n,i=Jn.from(r.headers);let o=r.data;return z.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Mb(e){return!!(e&&e.__CANCEL__)}function oa(e,t,n){ve.call(this,e??"canceled",ve.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(oa,ve,{__CANCEL__:!0});function nL(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ve("Request failed with status code "+n.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const rL=bn.isStandardBrowserEnv?function(){return{write:function(n,r,i,o,s,a){const l=[];l.push(n+"="+encodeURIComponent(r)),z.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),z.isString(o)&&l.push("path="+o),z.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function iL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function oL(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Tb(e,t){return e&&!iL(t)?oL(e,t):t}const sL=bn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=z.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function aL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function lL(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[o];s||(s=c),n[i]=l,r[i]=c;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-s{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,l=r(a),c=o<=s;n=o;const u={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&c?(s-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}const cL=typeof XMLHttpRequest<"u",uL=cL&&function(e){return new Promise(function(n,r){let i=e.data;const o=Jn.from(e.headers).normalize(),s=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}z.isFormData(i)&&(bn.isStandardBrowserEnv||bn.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(h+":"+p))}const u=Tb(e.baseURL,e.url);c.open(e.method.toUpperCase(),Eb(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const h=Jn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:h,config:e,request:c};nL(function(g){n(g),l()},function(g){r(g),l()},m),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){c&&(r(new ve("Request aborted",ve.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new ve("Network Error",ve.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||Pb;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new ve(p,m.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,e,c)),c=null},bn.isStandardBrowserEnv){const h=(e.withCredentials||sL(u))&&e.xsrfCookieName&&rL.read(e.xsrfCookieName);h&&o.set(e.xsrfHeaderName,h)}i===void 0&&o.setContentType(null),"setRequestHeader"in c&&z.forEach(o.toJSON(),function(p,m){c.setRequestHeader(m,p)}),z.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&s!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",x0(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",x0(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=h=>{c&&(r(!h||h.type?new oa(null,e,c):h),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const f=aL(u);if(f&&bn.protocols.indexOf(f)===-1){r(new ve("Unsupported protocol "+f+":",ve.ERR_BAD_REQUEST,e));return}c.send(i||null)})},dl={http:NA,xhr:uL};z.forEach(dl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ob={getAdapter:e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let i=0;ie instanceof Jn?e.toJSON():e;function ho(e,t){t=t||{};const n={};function r(c,u,d){return z.isPlainObject(c)&&z.isPlainObject(u)?z.merge.call({caseless:d},c,u):z.isPlainObject(u)?z.merge({},u):z.isArray(u)?u.slice():u}function i(c,u,d){if(z.isUndefined(u)){if(!z.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function o(c,u){if(!z.isUndefined(u))return r(void 0,u)}function s(c,u){if(z.isUndefined(u)){if(!z.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u)=>i(_0(c),_0(u),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||i,f=d(e[u],t[u],u);z.isUndefined(f)&&d!==a||(n[u]=f)}),n}const Ib="1.5.0",Np={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Np[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const S0={};Np.transitional=function(t,n,r){function i(o,s){return"[Axios v"+Ib+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(t===!1)throw new ve(i(s," has been removed"+(n?" in "+n:"")),ve.ERR_DEPRECATED);return n&&!S0[s]&&(S0[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function dL(e,t,n){if(typeof e!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new ve("option "+o+" must be "+l,ve.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ve("Unknown option "+o,ve.ERR_BAD_OPTION)}}const Bf={assertOptions:dL,validators:Np},lr=Bf.validators;class ec{constructor(t){this.defaults=t,this.interceptors={request:new y0,response:new y0}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ho(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Bf.assertOptions(r,{silentJSONParsing:lr.transitional(lr.boolean),forcedJSONParsing:lr.transitional(lr.boolean),clarifyTimeoutError:lr.transitional(lr.boolean)},!1),i!=null&&(z.isFunction(i)?n.paramsSerializer={serialize:i}:Bf.assertOptions(i,{encode:lr.function,serialize:lr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&z.merge(o.common,o[n.method]);o&&z.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=Jn.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,f;if(!l){const p=[b0.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,a){r.reason||(r.reason=new oa(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Fp(function(i){t=i}),cancel:t}}}const fL=Fp;function hL(e){return function(n){return e.apply(null,n)}}function pL(e){return z.isObject(e)&&e.isAxiosError===!0}const jf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(jf).forEach(([e,t])=>{jf[t]=e});const mL=jf;function Ab(e){const t=new fl(e),n=pb(fl.prototype.request,t);return z.extend(n,fl.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Ab(ho(e,i))},n}const at=Ab($p);at.Axios=fl;at.CanceledError=oa;at.CancelToken=fL;at.isCancel=Mb;at.VERSION=Ib;at.toFormData=Cu;at.AxiosError=ve;at.Cancel=at.CanceledError;at.all=function(t){return Promise.all(t)};at.spread=hL;at.isAxiosError=pL;at.mergeConfig=ho;at.AxiosHeaders=Jn;at.formToJSON=e=>Rb(z.isHTMLForm(e)?new FormData(e):e);at.getAdapter=Ob.getAdapter;at.HttpStatusCode=mL;at.default=at;const gL=at;var Lb={exports:{}};/* @license Papa Parse v5.4.1 https://github.com/mholt/PapaParse @@ -175,21 +175,21 @@ License: MIT `:"\r"}(U,le)),T=!1,b.delimiter)C(b.delimiter)&&(b.delimiter=b.delimiter(U),B.meta.delimiter=b.delimiter);else{var Y=function(ie,me,je,De,qe){var Xe,de,ye,he;qe=qe||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var Se=0;Se=$)return G(!0)}else for(ue=A,A++;;){if((ue=I.indexOf(w,ue+1))===-1)return q||pe.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:ce.length,index:A}),dt();if(ue===B-1)return dt(I.substring(A,ue).replace(Se,w));if(w!==D||I[ue+1]!==D){if(w===D||ue===0||I[ue-1]!==D){ye!==-1&&ye=$)return G(!0);break}pe.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:ce.length,index:A}),ue++}}else ue++}return dt();function ge(Re){ce.push(Re),ae=A}function J(Re){var jn=0;if(Re!==-1){var _i=I.substring(ue+1,Re);_i&&_i.trim()===""&&(jn=_i.length)}return jn}function dt(Re){return q||(Re===void 0&&(Re=I.substring(A)),U.push(Re),A=B,ge(U),Z&&ke()),G()}function It(Re){A=Re,ge(U),U=[],he=I.indexOf(T,A)}function G(Re){return{data:ce,errors:pe,meta:{delimiter:P,linebreak:T,aborted:O,truncated:!!Re,cursor:ae+(W||0)}}}function ke(){F(G()),ce=[],pe=[]}},this.abort=function(){O=!0},this.getCharIndex=function(){return A}}function y(b){var w=b.data,P=s[w.workerId],T=!1;if(w.error)P.userError(w.error,w.file);else if(w.results&&w.results.data){var L={abort:function(){T=!0,v(w.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:_,resume:_};if(C(P.userStep)){for(var F=0;F{n(u.data),i(u.data)}})}function l(){const c={};if(o.get("name")&&(c.name=o.get("name")),o.get("id")&&(c.id=o.get("id")),o.get("recclass")&&(c.recclass=o.get("recclass")),o.get("mass (g)")&&(c["mass (g)"]=o.get("mass (g)")),o.get("year")&&(c.year=o.get("year")),o.get("mass-g")){const u=o.get("mass-g").replace(/,/g,"-").split("-").sort((d,f)=>d-f).map(Number);c["mass (g)"]={min:u[1],max:u[2]}}return t.filter(u=>Object.keys(c).every(d=>{var f,h;return typeof c[d]=="object"?u[d]>=c[d].min&&u[d]<=c[d].max:((f=u[d])==null?void 0:f.toLowerCase())===((h=c[d])==null?void 0:h.toLowerCase())}))}return k.useEffect(()=>{a()},[]),M.jsx($b.Provider,{value:{Meteorites:l,unfilteredData:r},children:e})}/*! +`);var A=0,O=!1;this.parse=function(I,W,q){if(typeof I!="string")throw new Error("Input must be a string");var B=I.length,X=P.length,H=T.length,Q=L.length,Z=C(F),ce=[],pe=[],U=[],ae=A=0;if(!I)return G();if(b.header&&!W){var te=I.split(T)[0].split(P),le=[],Y={},oe=!1;for(var ie in te){var me=te[ie];C(b.transformHeader)&&(me=b.transformHeader(me,ie));var je=me,De=Y[me]||0;for(0=$)return G(!0)}else for(ue=A,A++;;){if((ue=I.indexOf(w,ue+1))===-1)return q||pe.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:ce.length,index:A}),dt();if(ue===B-1)return dt(I.substring(A,ue).replace(Se,w));if(w!==D||I[ue+1]!==D){if(w===D||ue===0||I[ue-1]!==D){ye!==-1&&ye=$)return G(!0);break}pe.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:ce.length,index:A}),ue++}}else ue++}return dt();function ge(Re){ce.push(Re),ae=A}function J(Re){var jn=0;if(Re!==-1){var _i=I.substring(ue+1,Re);_i&&_i.trim()===""&&(jn=_i.length)}return jn}function dt(Re){return q||(Re===void 0&&(Re=I.substring(A)),U.push(Re),A=B,ge(U),Z&&ke()),G()}function It(Re){A=Re,ge(U),U=[],he=I.indexOf(T,A)}function G(Re){return{data:ce,errors:pe,meta:{delimiter:P,linebreak:T,aborted:O,truncated:!!Re,cursor:ae+(W||0)}}}function ke(){F(G()),ce=[],pe=[]}},this.abort=function(){O=!0},this.getCharIndex=function(){return A}}function y(b){var w=b.data,P=s[w.workerId],T=!1;if(w.error)P.userError(w.error,w.file);else if(w.results&&w.results.data){var L={abort:function(){T=!0,v(w.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:_,resume:_};if(C(P.userStep)){for(var F=0;F{n(u.data),i(u.data)}})}function l(){const c={};if(o.get("name")&&(c.name=o.get("name")),o.get("id")&&(c.id=o.get("id")),o.get("recclass")&&(c.recclass=o.get("recclass")),o.get("mass (g)")&&(c["mass (g)"]=o.get("mass (g)")),o.get("year")&&(c.year=o.get("year")),o.get("mass-g")){const u=o.get("mass-g").replace(/,/g,"-").split("-").sort((d,f)=>d-f).map(Number);c["mass (g)"]={min:u[1],max:u[2]}}return t.filter(u=>Object.keys(c).every(d=>{var f,h;return typeof c[d]=="object"?u[d]>=c[d].min&&u[d]<=c[d].max:((f=u[d])==null?void 0:f.toLowerCase())===((h=c[d])==null?void 0:h.toLowerCase())}))}return k.useEffect(()=>{a()},[]),M.jsx($b.Provider,{value:{Meteorites:l,unfilteredData:r},children:e})}/*! * @kurkle/color v0.3.2 * https://github.com/kurkle/color#readme * (c) 2023 Jukka Kurkela * Released under the MIT License - */function sa(e){return e+.5|0}const gr=(e,t,n)=>Math.max(Math.min(e,n),t);function qo(e){return gr(sa(e*2.55),0,255)}function Pr(e){return gr(sa(e*255),0,255)}function Gn(e){return gr(sa(e/2.55)/100,0,1)}function w0(e){return gr(sa(e*100),0,100)}const nn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Uf=[..."0123456789ABCDEF"],bL=e=>Uf[e&15],_L=e=>Uf[(e&240)>>4]+Uf[e&15],Ta=e=>(e&240)>>4===(e&15),SL=e=>Ta(e.r)&&Ta(e.g)&&Ta(e.b)&&Ta(e.a);function wL(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&nn[e[1]]*17,g:255&nn[e[2]]*17,b:255&nn[e[3]]*17,a:t===5?nn[e[4]]*17:255}:(t===7||t===9)&&(n={r:nn[e[1]]<<4|nn[e[2]],g:nn[e[3]]<<4|nn[e[4]],b:nn[e[5]]<<4|nn[e[6]],a:t===9?nn[e[7]]<<4|nn[e[8]]:255})),n}const kL=(e,t)=>e<255?t(e):"";function CL(e){var t=SL(e)?bL:_L;return e?"#"+t(e.r)+t(e.g)+t(e.b)+kL(e.a,t):void 0}const EL=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Nb(e,t,n){const r=t*Math.min(n,1-n),i=(o,s=(o+e/30)%12)=>n-r*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function PL(e,t,n){const r=(i,o=(i+e/60)%6)=>n-n*t*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function RL(e,t,n){const r=Nb(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function ML(e,t,n,r,i){return e===i?(t-n)/r+(t.5?u/(2-o-s):u/(o+s),l=ML(n,r,i,u,o),l=l*60+.5),[l|0,c||0,a]}function Bp(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Pr)}function jp(e,t,n){return Bp(Nb,e,t,n)}function TL(e,t,n){return Bp(RL,e,t,n)}function OL(e,t,n){return Bp(PL,e,t,n)}function Fb(e){return(e%360+360)%360}function IL(e){const t=EL.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?qo(+t[5]):Pr(+t[5]));const i=Fb(+t[2]),o=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=TL(i,o,s):t[1]==="hsv"?r=OL(i,o,s):r=jp(i,o,s),{r:r[0],g:r[1],b:r[2],a:n}}function AL(e,t){var n=zp(e);n[0]=Fb(n[0]+t),n=jp(n),e.r=n[0],e.g=n[1],e.b=n[2]}function LL(e){if(!e)return;const t=zp(e),n=t[0],r=w0(t[1]),i=w0(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${Gn(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const k0={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},C0={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function $L(){const e={},t=Object.keys(C0),n=Object.keys(k0);let r,i,o,s,a;for(r=0;r>16&255,o>>8&255,o&255]}return e}let Oa;function NL(e){Oa||(Oa=$L(),Oa.transparent=[0,0,0,0]);const t=Oa[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const FL=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function DL(e){const t=FL.exec(e);let n=255,r,i,o;if(t){if(t[7]!==r){const s=+t[7];n=t[8]?qo(s):gr(s*255,0,255)}return r=+t[1],i=+t[3],o=+t[5],r=255&(t[2]?qo(r):gr(r,0,255)),i=255&(t[4]?qo(i):gr(i,0,255)),o=255&(t[6]?qo(o):gr(o,0,255)),{r,g:i,b:o,a:n}}}function zL(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Gn(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const xd=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Ti=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function BL(e,t,n){const r=Ti(Gn(e.r)),i=Ti(Gn(e.g)),o=Ti(Gn(e.b));return{r:Pr(xd(r+n*(Ti(Gn(t.r))-r))),g:Pr(xd(i+n*(Ti(Gn(t.g))-i))),b:Pr(xd(o+n*(Ti(Gn(t.b))-o))),a:e.a+n*(t.a-e.a)}}function Ia(e,t,n){if(e){let r=zp(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=jp(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Db(e,t){return e&&Object.assign(t||{},e)}function E0(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Pr(e[3]))):(t=Db(e,{r:0,g:0,b:0,a:1}),t.a=Pr(t.a)),t}function jL(e){return e.charAt(0)==="r"?DL(e):IL(e)}class Ws{constructor(t){if(t instanceof Ws)return t;const n=typeof t;let r;n==="object"?r=E0(t):n==="string"&&(r=wL(t)||NL(t)||jL(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=Db(this._rgb);return t&&(t.a=Gn(t.a)),t}set rgb(t){this._rgb=E0(t)}rgbString(){return this._valid?zL(this._rgb):void 0}hexString(){return this._valid?CL(this._rgb):void 0}hslString(){return this._valid?LL(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,i=t.rgb;let o;const s=n===o?.5:n,a=2*s-1,l=r.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,r.r=255&c*r.r+o*i.r+.5,r.g=255&c*r.g+o*i.g+.5,r.b=255&c*r.b+o*i.b+.5,r.a=s*r.a+(1-s)*i.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=BL(this._rgb,t._rgb,n)),this}clone(){return new Ws(this.rgb)}alpha(t){return this._rgb.a=Pr(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=sa(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Ia(this._rgb,2,t),this}darken(t){return Ia(this._rgb,2,-t),this}saturate(t){return Ia(this._rgb,1,t),this}desaturate(t){return Ia(this._rgb,1,-t),this}rotate(t){return AL(this._rgb,t),this}}/*! + */function sa(e){return e+.5|0}const gr=(e,t,n)=>Math.max(Math.min(e,n),t);function qo(e){return gr(sa(e*2.55),0,255)}function Pr(e){return gr(sa(e*255),0,255)}function Gn(e){return gr(sa(e/2.55)/100,0,1)}function w0(e){return gr(sa(e*100),0,100)}const nn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Wf=[..."0123456789ABCDEF"],bL=e=>Wf[e&15],_L=e=>Wf[(e&240)>>4]+Wf[e&15],Ta=e=>(e&240)>>4===(e&15),SL=e=>Ta(e.r)&&Ta(e.g)&&Ta(e.b)&&Ta(e.a);function wL(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&nn[e[1]]*17,g:255&nn[e[2]]*17,b:255&nn[e[3]]*17,a:t===5?nn[e[4]]*17:255}:(t===7||t===9)&&(n={r:nn[e[1]]<<4|nn[e[2]],g:nn[e[3]]<<4|nn[e[4]],b:nn[e[5]]<<4|nn[e[6]],a:t===9?nn[e[7]]<<4|nn[e[8]]:255})),n}const kL=(e,t)=>e<255?t(e):"";function CL(e){var t=SL(e)?bL:_L;return e?"#"+t(e.r)+t(e.g)+t(e.b)+kL(e.a,t):void 0}const EL=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Nb(e,t,n){const r=t*Math.min(n,1-n),i=(o,s=(o+e/30)%12)=>n-r*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function PL(e,t,n){const r=(i,o=(i+e/60)%6)=>n-n*t*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function RL(e,t,n){const r=Nb(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function ML(e,t,n,r,i){return e===i?(t-n)/r+(t.5?u/(2-o-s):u/(o+s),l=ML(n,r,i,u,o),l=l*60+.5),[l|0,c||0,a]}function zp(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Pr)}function Bp(e,t,n){return zp(Nb,e,t,n)}function TL(e,t,n){return zp(RL,e,t,n)}function OL(e,t,n){return zp(PL,e,t,n)}function Fb(e){return(e%360+360)%360}function IL(e){const t=EL.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?qo(+t[5]):Pr(+t[5]));const i=Fb(+t[2]),o=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=TL(i,o,s):t[1]==="hsv"?r=OL(i,o,s):r=Bp(i,o,s),{r:r[0],g:r[1],b:r[2],a:n}}function AL(e,t){var n=Dp(e);n[0]=Fb(n[0]+t),n=Bp(n),e.r=n[0],e.g=n[1],e.b=n[2]}function LL(e){if(!e)return;const t=Dp(e),n=t[0],r=w0(t[1]),i=w0(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${Gn(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const k0={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},C0={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function $L(){const e={},t=Object.keys(C0),n=Object.keys(k0);let r,i,o,s,a;for(r=0;r>16&255,o>>8&255,o&255]}return e}let Oa;function NL(e){Oa||(Oa=$L(),Oa.transparent=[0,0,0,0]);const t=Oa[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const FL=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function DL(e){const t=FL.exec(e);let n=255,r,i,o;if(t){if(t[7]!==r){const s=+t[7];n=t[8]?qo(s):gr(s*255,0,255)}return r=+t[1],i=+t[3],o=+t[5],r=255&(t[2]?qo(r):gr(r,0,255)),i=255&(t[4]?qo(i):gr(i,0,255)),o=255&(t[6]?qo(o):gr(o,0,255)),{r,g:i,b:o,a:n}}}function zL(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Gn(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const vd=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Ti=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function BL(e,t,n){const r=Ti(Gn(e.r)),i=Ti(Gn(e.g)),o=Ti(Gn(e.b));return{r:Pr(vd(r+n*(Ti(Gn(t.r))-r))),g:Pr(vd(i+n*(Ti(Gn(t.g))-i))),b:Pr(vd(o+n*(Ti(Gn(t.b))-o))),a:e.a+n*(t.a-e.a)}}function Ia(e,t,n){if(e){let r=Dp(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=Bp(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Db(e,t){return e&&Object.assign(t||{},e)}function E0(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Pr(e[3]))):(t=Db(e,{r:0,g:0,b:0,a:1}),t.a=Pr(t.a)),t}function jL(e){return e.charAt(0)==="r"?DL(e):IL(e)}class Ws{constructor(t){if(t instanceof Ws)return t;const n=typeof t;let r;n==="object"?r=E0(t):n==="string"&&(r=wL(t)||NL(t)||jL(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=Db(this._rgb);return t&&(t.a=Gn(t.a)),t}set rgb(t){this._rgb=E0(t)}rgbString(){return this._valid?zL(this._rgb):void 0}hexString(){return this._valid?CL(this._rgb):void 0}hslString(){return this._valid?LL(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,i=t.rgb;let o;const s=n===o?.5:n,a=2*s-1,l=r.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,r.r=255&c*r.r+o*i.r+.5,r.g=255&c*r.g+o*i.g+.5,r.b=255&c*r.b+o*i.b+.5,r.a=s*r.a+(1-s)*i.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=BL(this._rgb,t._rgb,n)),this}clone(){return new Ws(this.rgb)}alpha(t){return this._rgb.a=Pr(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=sa(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Ia(this._rgb,2,t),this}darken(t){return Ia(this._rgb,2,-t),this}saturate(t){return Ia(this._rgb,1,t),this}desaturate(t){return Ia(this._rgb,1,-t),this}rotate(t){return AL(this._rgb,t),this}}/*! * Chart.js v4.4.0 * https://www.chartjs.org * (c) 2023 Chart.js Contributors * Released under the MIT License - */function Wn(){}const WL=(()=>{let e=0;return()=>e++})();function Ie(e){return e===null||typeof e>"u"}function Ke(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function be(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function ht(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Wt(e,t){return ht(e)?e:t}function Pe(e,t){return typeof e>"u"?t:e}const UL=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,zb=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Ze(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function Oe(e,t,n,r){let i,o,s;if(Ke(e))if(o=e.length,r)for(i=o-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function KL(e){const t=e.split("."),n=[];let r="";for(const i of t)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function GL(e){const t=KL(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function pi(e,t){return(P0[t]||(P0[t]=GL(t)))(e)}function Wp(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Vs=e=>typeof e<"u",Ir=e=>typeof e=="function",R0=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function YL(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const tt=Math.PI,Ve=2*tt,qL=Ve+tt,ic=Number.POSITIVE_INFINITY,XL=tt/180,rt=tt/2,zr=tt/4,M0=tt*2/3,yr=Math.log10,zn=Math.sign;function ms(e,t,n){return Math.abs(e-t)i-o).pop(),t}function Hs(e){return!isNaN(parseFloat(e))&&isFinite(e)}function JL(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function jb(e,t,n){let r,i,o;for(r=0,i=e.length;rl&&c=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function Vp(e,t,n){n=n||(s=>e[s]1;)o=i+r>>1,n(o)?i=o:r=o;return{lo:i,hi:r}}const ni=(e,t,n,r)=>Vp(e,n,r?i=>{const o=e[i][t];return oe[i][t]Vp(e,n,r=>e[r][t]>=n);function n5(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{const r="_onData"+Wp(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...o){const s=i.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[r]=="function"&&a[r](...o)}),s}})})}function I0(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(Ub.forEach(o=>{delete e[o]}),delete e._chartjs)}function Vb(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const Hb=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function Kb(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Hb.call(window,()=>{r=!1,e.apply(t,n)}))}}function i5(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const o5=e=>e==="start"?"left":e==="end"?"right":"center",A0=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2;function s5(e,t,n){const r=t.length;let i=0,o=r;if(e._sorted){const{iScale:s,_parsed:a}=e,l=s.axis,{min:c,max:u,minDefined:d,maxDefined:f}=s.getUserBounds();d&&(i=kt(Math.min(ni(a,l,c).lo,n?r:ni(t,l,s.getPixelForValue(c)).lo),0,r-1)),f?o=kt(Math.max(ni(a,s.axis,u,!0).hi+1,n?0:ni(t,l,s.getPixelForValue(u),!0).hi+1),i,r)-i:o=r-i}return{start:i,count:o}}function a5(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const o=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const Aa=e=>e===0||e===1,L0=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Ve/n)),$0=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Ve/n)+1,gs={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*rt)+1,easeOutSine:e=>Math.sin(e*rt),easeInOutSine:e=>-.5*(Math.cos(tt*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Aa(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Aa(e)?e:L0(e,.075,.3),easeOutElastic:e=>Aa(e)?e:$0(e,.075,.3),easeInOutElastic(e){return Aa(e)?e:e<.5?.5*L0(e*2,.1125,.45):.5+.5*$0(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-gs.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?gs.easeInBounce(e*2)*.5:gs.easeOutBounce(e*2-1)*.5+.5};function Hp(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function N0(e){return Hp(e)?e:new Ws(e)}function bd(e){return Hp(e)?e:new Ws(e).saturate(.5).darken(.1).hexString()}const l5=["x","y","borderWidth","radius","tension"],c5=["color","borderColor","backgroundColor"];function u5(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:c5},numbers:{type:"number",properties:l5}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function d5(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const F0=new Map;function f5(e,t){t=t||{};const n=e+JSON.stringify(t);let r=F0.get(n);return r||(r=new Intl.NumberFormat(e,t),F0.set(n,r)),r}function Ru(e,t,n){return f5(t,n).format(e)}const Gb={values(e){return Ke(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let i,o=e;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),o=h5(e,n)}const s=yr(Math.abs(o)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Ru(e,r,l)},logarithmic(e,t,n){if(e===0)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(yr(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?Gb.numeric.call(this,e,t,n):""}};function h5(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var Mu={formatters:Gb};function p5(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Mu.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const mi=Object.create(null),Hf=Object.create(null);function ys(e,t){if(!t)return e;const n=t.split(".");for(let r=0,i=n.length;rr.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,i)=>bd(i.backgroundColor),this.hoverBorderColor=(r,i)=>bd(i.borderColor),this.hoverColor=(r,i)=>bd(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return _d(this,t,n)}get(t){return ys(this,t)}describe(t,n){return _d(Hf,t,n)}override(t,n){return _d(mi,t,n)}route(t,n,r,i){const o=ys(this,t),s=ys(this,r),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=s[i];return be(l)?Object.assign({},c,l):Pe(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(n=>n(this))}}var it=new m5({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[u5,d5,p5]);function g5(e){return!e||Ie(e.size)||Ie(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function sc(e,t,n,r,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r}function y5(e,t,n,r){r=r||{};let i=r.data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},o=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let s=0;const a=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function Xn(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&o.strokeColor!=="";let l,c;for(e.save(),e.font=i.string,_5(e,o),l=0;l+e||0;function Kp(e,t){const n={},r=be(t),i=r?Object.keys(t):t,o=be(e)?r?s=>Pe(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of i)n[s]=P5(o(s));return n}function Xb(e){return Kp(e,{top:"y",right:"x",bottom:"y",left:"x"})}function to(e){return Kp(e,["topLeft","topRight","bottomLeft","bottomRight"])}function hn(e){const t=Xb(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Yt(e,t){e=e||{},t=t||it.font;let n=Pe(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=Pe(e.style,t.style);r&&!(""+r).match(C5)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:Pe(e.family,t.family),lineHeight:E5(Pe(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:Pe(e.weight,t.weight),string:""};return i.string=g5(i),i}function La(e,t,n,r){let i=!0,o,s,a;for(o=0,s=e.length;on&&a===0?0:a+l;return{min:s(r,-Math.abs(o)),max:s(i,o)}}function Nr(e,t){return Object.assign(Object.create(e),t)}function Gp(e,t=[""],n,r,i=()=>e[0]){const o=n||e;typeof r>"u"&&(r=e_("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:r,_getTarget:i,override:a=>Gp([a,...e],t,o,r)};return new Proxy(s,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return Jb(a,l,()=>N5(l,t,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return B0(a).includes(l)},ownKeys(a){return B0(a)},set(a,l,c){const u=a._storage||(a._storage=i());return a[l]=u[l]=c,delete a._keys,!0}})}function po(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Qb(e,r),setContext:o=>po(e,o,n,r),override:o=>po(e.override(o),t,n,r)};return new Proxy(i,{deleteProperty(o,s){return delete o[s],delete e[s],!0},get(o,s,a){return Jb(o,s,()=>T5(o,s,a))},getOwnPropertyDescriptor(o,s){return o._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(o,s,a){return e[s]=a,delete o[s],!0}})}function Qb(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Ir(n)?n:()=>n,isIndexable:Ir(r)?r:()=>r}}const M5=(e,t)=>e?e+Wp(t):t,Yp=(e,t)=>be(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Jb(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=n();return e[t]=r,r}function T5(e,t,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:s}=e;let a=r[t];return Ir(a)&&s.isScriptable(t)&&(a=O5(t,a,e,n)),Ke(a)&&a.length&&(a=I5(t,a,e,s.isIndexable)),Yp(t,a)&&(a=po(a,i,o&&o[t],s)),a}function O5(e,t,n,r){const{_proxy:i,_context:o,_subProxy:s,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=t(o,s||r);return a.delete(e),Yp(e,l)&&(l=qp(i._scopes,i,e,l)),l}function I5(e,t,n,r){const{_proxy:i,_context:o,_subProxy:s,_descriptors:a}=n;if(typeof o.index<"u"&&r(e))return t[o.index%t.length];if(be(t[0])){const l=t,c=i._scopes.filter(u=>u!==l);t=[];for(const u of l){const d=qp(c,i,e,u);t.push(po(d,o,s&&s[e],a))}}return t}function Zb(e,t,n){return Ir(e)?e(t,n):e}const A5=(e,t)=>e===!0?t:typeof e=="string"?pi(t,e):void 0;function L5(e,t,n,r,i){for(const o of t){const s=A5(n,o);if(s){e.add(s);const a=Zb(s._fallback,n,i);if(typeof a<"u"&&a!==n&&a!==r)return a}else if(s===!1&&typeof r<"u"&&n!==r)return null}return!1}function qp(e,t,n,r){const i=t._rootScopes,o=Zb(t._fallback,n,r),s=[...e,...i],a=new Set;a.add(r);let l=z0(a,s,n,o||n,r);return l===null||typeof o<"u"&&o!==n&&(l=z0(a,s,o,l,r),l===null)?!1:Gp(Array.from(a),[""],i,o,()=>$5(t,n,r))}function z0(e,t,n,r,i){for(;n;)n=L5(e,t,n,r,i);return n}function $5(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];return Ke(i)&&be(n)?n:i||{}}function N5(e,t,n,r){let i;for(const o of t)if(i=e_(M5(o,e),n),typeof i<"u")return Yp(e,i)?qp(n,r,e,i):i}function e_(e,t){for(const n of t){if(!n)continue;const r=n[e];if(typeof r<"u")return r}}function B0(e){let t=e._keys;return t||(t=e._keys=F5(e._scopes)),t}function F5(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(r);return Array.from(t)}const D5=Number.EPSILON||1e-14,mo=(e,t)=>te==="x"?"y":"x";function z5(e,t,n,r){const i=e.skip?t:e,o=t,s=n.skip?t:n,a=Vf(o,i),l=Vf(s,o);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=r*c,f=r*u;return{previous:{x:o.x-d*(s.x-i.x),y:o.y-d*(s.y-i.y)},next:{x:o.x+f*(s.x-i.x),y:o.y+f*(s.y-i.y)}}}function B5(e,t,n){const r=e.length;let i,o,s,a,l,c=mo(e,0);for(let u=0;u!c.skip)),t.cubicInterpolationMode==="monotone")W5(e,i);else{let c=r?e[e.length-1]:e[0];for(o=0,s=e.length;oe.ownerDocument.defaultView.getComputedStyle(e,null);function H5(e,t){return Tu(e).getPropertyValue(t)}const K5=["top","right","bottom","left"];function oi(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=K5[i];r[o]=parseFloat(e[t+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const G5=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Y5(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:o}=r;let s=!1,a,l;if(G5(i,o,e.target))a=i,l=o;else{const c=t.getBoundingClientRect();a=r.clientX-c.left,l=r.clientY-c.top,s=!0}return{x:a,y:l,box:s}}function Gr(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=Tu(n),o=i.boxSizing==="border-box",s=oi(i,"padding"),a=oi(i,"border","width"),{x:l,y:c,box:u}=Y5(e,n),d=s.left+(u&&a.left),f=s.top+(u&&a.top);let{width:h,height:p}=t;return o&&(h-=s.width+a.width,p-=s.height+a.height),{x:Math.round((l-d)/h*n.width/r),y:Math.round((c-f)/p*n.height/r)}}function q5(e,t,n){let r,i;if(t===void 0||n===void 0){const o=Xp(e);if(!o)t=e.clientWidth,n=e.clientHeight;else{const s=o.getBoundingClientRect(),a=Tu(o),l=oi(a,"border","width"),c=oi(a,"padding");t=s.width-c.width-l.width,n=s.height-c.height-l.height,r=cc(a.maxWidth,o,"clientWidth"),i=cc(a.maxHeight,o,"clientHeight")}}return{width:t,height:n,maxWidth:r||ic,maxHeight:i||ic}}const Na=e=>Math.round(e*10)/10;function X5(e,t,n,r){const i=Tu(e),o=oi(i,"margin"),s=cc(i.maxWidth,e,"clientWidth")||ic,a=cc(i.maxHeight,e,"clientHeight")||ic,l=q5(e,t,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const f=oi(i,"border","width"),h=oi(i,"padding");c-=h.width+f.width,u-=h.height+f.height}return c=Math.max(0,c-o.width),u=Math.max(0,r?c/r:u-o.height),c=Na(Math.min(c,s,l.maxWidth)),u=Na(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Na(c/2)),(t!==void 0||n!==void 0)&&r&&l.height&&u>l.height&&(u=l.height,c=Na(Math.floor(u*r))),{width:c,height:u}}function j0(e,t,n){const r=t||1,i=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||s.height!==i||s.width!==o?(e.currentDevicePixelRatio=r,s.height=i,s.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const Q5=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}();function W0(e,t){const n=H5(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Yr(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function J5(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r==="middle"?n<.5?e.y:t.y:r==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function Z5(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},s=Yr(e,i,n),a=Yr(i,o,n),l=Yr(o,t,n),c=Yr(s,a,n),u=Yr(a,l,n);return Yr(c,u,n)}const e$=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},t$=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Sd(e,t,n){return e?e$(t,n):t$()}function n$(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function r$(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function r_(e){return e==="angle"?{between:Ks,compare:ZL,normalize:vn}:{between:oc,compare:(t,n)=>t-n,normalize:t=>t}}function U0({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function i$(e,t,n){const{property:r,start:i,end:o}=n,{between:s,normalize:a}=r_(r),l=t.length;let{start:c,end:u,loop:d}=e,f,h;if(d){for(c+=l,u+=l,f=0,h=l;fl(i,v,g)&&a(i,v)!==0,S=()=>a(o,g)===0||l(o,v,g),R=()=>m||_(),C=()=>!m||S();for(let b=u,w=u;b<=d;++b)y=t[b%s],!y.skip&&(g=c(y[r]),g!==v&&(m=l(g,i,o),x===null&&R()&&(x=a(g,i)===0?b:w),x!==null&&C()&&(p.push(U0({start:x,end:b,loop:f,count:s,style:h})),x=null),w=b,v=g));return x!==null&&p.push(U0({start:x,end:d,loop:f,count:s,style:h})),p}function s$(e,t){const n=[],r=e.segments;for(let i=0;ii&&e[o%t].skip;)o--;return o%=t,{start:i,end:o}}function l$(e,t,n,r){const i=e.length,o=[];let s=t,a=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%i];c.skip||c.stop?a.skip||(r=!1,o.push({start:t%i,end:(l-1)%i,loop:r}),t=s=c.stop?l:null):(s=l,a.skip&&(t=l)),a=c}return s!==null&&o.push({start:t%i,end:s%i,loop:r}),o}function c$(e,t){const n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];const o=!!e._loop,{start:s,end:a}=a$(n,i,o,r);if(r===!0)return V0(e,[{start:s,end:a,loop:o}],n,t);const l=a{let e=0;return()=>e++})();function Ie(e){return e===null||typeof e>"u"}function Ke(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function be(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function ht(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Wt(e,t){return ht(e)?e:t}function Pe(e,t){return typeof e>"u"?t:e}const UL=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,zb=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Ze(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function Oe(e,t,n,r){let i,o,s;if(Ke(e))if(o=e.length,r)for(i=o-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function KL(e){const t=e.split("."),n=[];let r="";for(const i of t)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function GL(e){const t=KL(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function pi(e,t){return(P0[t]||(P0[t]=GL(t)))(e)}function jp(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Vs=e=>typeof e<"u",Ir=e=>typeof e=="function",R0=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function YL(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const tt=Math.PI,Ve=2*tt,qL=Ve+tt,rc=Number.POSITIVE_INFINITY,XL=tt/180,rt=tt/2,zr=tt/4,M0=tt*2/3,yr=Math.log10,zn=Math.sign;function ms(e,t,n){return Math.abs(e-t)i-o).pop(),t}function Hs(e){return!isNaN(parseFloat(e))&&isFinite(e)}function JL(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function jb(e,t,n){let r,i,o;for(r=0,i=e.length;rl&&c=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function Up(e,t,n){n=n||(s=>e[s]1;)o=i+r>>1,n(o)?i=o:r=o;return{lo:i,hi:r}}const ni=(e,t,n,r)=>Up(e,n,r?i=>{const o=e[i][t];return oe[i][t]Up(e,n,r=>e[r][t]>=n);function n5(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{const r="_onData"+jp(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...o){const s=i.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[r]=="function"&&a[r](...o)}),s}})})}function I0(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(Ub.forEach(o=>{delete e[o]}),delete e._chartjs)}function Vb(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const Hb=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function Kb(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Hb.call(window,()=>{r=!1,e.apply(t,n)}))}}function i5(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const o5=e=>e==="start"?"left":e==="end"?"right":"center",A0=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2;function s5(e,t,n){const r=t.length;let i=0,o=r;if(e._sorted){const{iScale:s,_parsed:a}=e,l=s.axis,{min:c,max:u,minDefined:d,maxDefined:f}=s.getUserBounds();d&&(i=kt(Math.min(ni(a,l,c).lo,n?r:ni(t,l,s.getPixelForValue(c)).lo),0,r-1)),f?o=kt(Math.max(ni(a,s.axis,u,!0).hi+1,n?0:ni(t,l,s.getPixelForValue(u),!0).hi+1),i,r)-i:o=r-i}return{start:i,count:o}}function a5(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const o=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const Aa=e=>e===0||e===1,L0=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Ve/n)),$0=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Ve/n)+1,gs={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*rt)+1,easeOutSine:e=>Math.sin(e*rt),easeInOutSine:e=>-.5*(Math.cos(tt*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Aa(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Aa(e)?e:L0(e,.075,.3),easeOutElastic:e=>Aa(e)?e:$0(e,.075,.3),easeInOutElastic(e){return Aa(e)?e:e<.5?.5*L0(e*2,.1125,.45):.5+.5*$0(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-gs.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?gs.easeInBounce(e*2)*.5:gs.easeOutBounce(e*2-1)*.5+.5};function Vp(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function N0(e){return Vp(e)?e:new Ws(e)}function xd(e){return Vp(e)?e:new Ws(e).saturate(.5).darken(.1).hexString()}const l5=["x","y","borderWidth","radius","tension"],c5=["color","borderColor","backgroundColor"];function u5(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:c5},numbers:{type:"number",properties:l5}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function d5(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const F0=new Map;function f5(e,t){t=t||{};const n=e+JSON.stringify(t);let r=F0.get(n);return r||(r=new Intl.NumberFormat(e,t),F0.set(n,r)),r}function Pu(e,t,n){return f5(t,n).format(e)}const Gb={values(e){return Ke(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let i,o=e;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),o=h5(e,n)}const s=yr(Math.abs(o)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Pu(e,r,l)},logarithmic(e,t,n){if(e===0)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(yr(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?Gb.numeric.call(this,e,t,n):""}};function h5(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var Ru={formatters:Gb};function p5(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ru.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const mi=Object.create(null),Vf=Object.create(null);function ys(e,t){if(!t)return e;const n=t.split(".");for(let r=0,i=n.length;rr.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,i)=>xd(i.backgroundColor),this.hoverBorderColor=(r,i)=>xd(i.borderColor),this.hoverColor=(r,i)=>xd(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return bd(this,t,n)}get(t){return ys(this,t)}describe(t,n){return bd(Vf,t,n)}override(t,n){return bd(mi,t,n)}route(t,n,r,i){const o=ys(this,t),s=ys(this,r),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=s[i];return be(l)?Object.assign({},c,l):Pe(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(n=>n(this))}}var it=new m5({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[u5,d5,p5]);function g5(e){return!e||Ie(e.size)||Ie(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function oc(e,t,n,r,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r}function y5(e,t,n,r){r=r||{};let i=r.data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},o=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let s=0;const a=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function Xn(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&o.strokeColor!=="";let l,c;for(e.save(),e.font=i.string,_5(e,o),l=0;l+e||0;function Hp(e,t){const n={},r=be(t),i=r?Object.keys(t):t,o=be(e)?r?s=>Pe(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of i)n[s]=P5(o(s));return n}function Xb(e){return Hp(e,{top:"y",right:"x",bottom:"y",left:"x"})}function to(e){return Hp(e,["topLeft","topRight","bottomLeft","bottomRight"])}function hn(e){const t=Xb(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Yt(e,t){e=e||{},t=t||it.font;let n=Pe(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=Pe(e.style,t.style);r&&!(""+r).match(C5)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:Pe(e.family,t.family),lineHeight:E5(Pe(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:Pe(e.weight,t.weight),string:""};return i.string=g5(i),i}function La(e,t,n,r){let i=!0,o,s,a;for(o=0,s=e.length;on&&a===0?0:a+l;return{min:s(r,-Math.abs(o)),max:s(i,o)}}function Nr(e,t){return Object.assign(Object.create(e),t)}function Kp(e,t=[""],n,r,i=()=>e[0]){const o=n||e;typeof r>"u"&&(r=e_("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:r,_getTarget:i,override:a=>Kp([a,...e],t,o,r)};return new Proxy(s,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return Jb(a,l,()=>N5(l,t,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return B0(a).includes(l)},ownKeys(a){return B0(a)},set(a,l,c){const u=a._storage||(a._storage=i());return a[l]=u[l]=c,delete a._keys,!0}})}function po(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Qb(e,r),setContext:o=>po(e,o,n,r),override:o=>po(e.override(o),t,n,r)};return new Proxy(i,{deleteProperty(o,s){return delete o[s],delete e[s],!0},get(o,s,a){return Jb(o,s,()=>T5(o,s,a))},getOwnPropertyDescriptor(o,s){return o._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(o,s,a){return e[s]=a,delete o[s],!0}})}function Qb(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Ir(n)?n:()=>n,isIndexable:Ir(r)?r:()=>r}}const M5=(e,t)=>e?e+jp(t):t,Gp=(e,t)=>be(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Jb(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=n();return e[t]=r,r}function T5(e,t,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:s}=e;let a=r[t];return Ir(a)&&s.isScriptable(t)&&(a=O5(t,a,e,n)),Ke(a)&&a.length&&(a=I5(t,a,e,s.isIndexable)),Gp(t,a)&&(a=po(a,i,o&&o[t],s)),a}function O5(e,t,n,r){const{_proxy:i,_context:o,_subProxy:s,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=t(o,s||r);return a.delete(e),Gp(e,l)&&(l=Yp(i._scopes,i,e,l)),l}function I5(e,t,n,r){const{_proxy:i,_context:o,_subProxy:s,_descriptors:a}=n;if(typeof o.index<"u"&&r(e))return t[o.index%t.length];if(be(t[0])){const l=t,c=i._scopes.filter(u=>u!==l);t=[];for(const u of l){const d=Yp(c,i,e,u);t.push(po(d,o,s&&s[e],a))}}return t}function Zb(e,t,n){return Ir(e)?e(t,n):e}const A5=(e,t)=>e===!0?t:typeof e=="string"?pi(t,e):void 0;function L5(e,t,n,r,i){for(const o of t){const s=A5(n,o);if(s){e.add(s);const a=Zb(s._fallback,n,i);if(typeof a<"u"&&a!==n&&a!==r)return a}else if(s===!1&&typeof r<"u"&&n!==r)return null}return!1}function Yp(e,t,n,r){const i=t._rootScopes,o=Zb(t._fallback,n,r),s=[...e,...i],a=new Set;a.add(r);let l=z0(a,s,n,o||n,r);return l===null||typeof o<"u"&&o!==n&&(l=z0(a,s,o,l,r),l===null)?!1:Kp(Array.from(a),[""],i,o,()=>$5(t,n,r))}function z0(e,t,n,r,i){for(;n;)n=L5(e,t,n,r,i);return n}function $5(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];return Ke(i)&&be(n)?n:i||{}}function N5(e,t,n,r){let i;for(const o of t)if(i=e_(M5(o,e),n),typeof i<"u")return Gp(e,i)?Yp(n,r,e,i):i}function e_(e,t){for(const n of t){if(!n)continue;const r=n[e];if(typeof r<"u")return r}}function B0(e){let t=e._keys;return t||(t=e._keys=F5(e._scopes)),t}function F5(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(r);return Array.from(t)}const D5=Number.EPSILON||1e-14,mo=(e,t)=>te==="x"?"y":"x";function z5(e,t,n,r){const i=e.skip?t:e,o=t,s=n.skip?t:n,a=Uf(o,i),l=Uf(s,o);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=r*c,f=r*u;return{previous:{x:o.x-d*(s.x-i.x),y:o.y-d*(s.y-i.y)},next:{x:o.x+f*(s.x-i.x),y:o.y+f*(s.y-i.y)}}}function B5(e,t,n){const r=e.length;let i,o,s,a,l,c=mo(e,0);for(let u=0;u!c.skip)),t.cubicInterpolationMode==="monotone")W5(e,i);else{let c=r?e[e.length-1]:e[0];for(o=0,s=e.length;oe.ownerDocument.defaultView.getComputedStyle(e,null);function H5(e,t){return Mu(e).getPropertyValue(t)}const K5=["top","right","bottom","left"];function oi(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=K5[i];r[o]=parseFloat(e[t+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const G5=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Y5(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:o}=r;let s=!1,a,l;if(G5(i,o,e.target))a=i,l=o;else{const c=t.getBoundingClientRect();a=r.clientX-c.left,l=r.clientY-c.top,s=!0}return{x:a,y:l,box:s}}function Gr(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=Mu(n),o=i.boxSizing==="border-box",s=oi(i,"padding"),a=oi(i,"border","width"),{x:l,y:c,box:u}=Y5(e,n),d=s.left+(u&&a.left),f=s.top+(u&&a.top);let{width:h,height:p}=t;return o&&(h-=s.width+a.width,p-=s.height+a.height),{x:Math.round((l-d)/h*n.width/r),y:Math.round((c-f)/p*n.height/r)}}function q5(e,t,n){let r,i;if(t===void 0||n===void 0){const o=qp(e);if(!o)t=e.clientWidth,n=e.clientHeight;else{const s=o.getBoundingClientRect(),a=Mu(o),l=oi(a,"border","width"),c=oi(a,"padding");t=s.width-c.width-l.width,n=s.height-c.height-l.height,r=lc(a.maxWidth,o,"clientWidth"),i=lc(a.maxHeight,o,"clientHeight")}}return{width:t,height:n,maxWidth:r||rc,maxHeight:i||rc}}const Na=e=>Math.round(e*10)/10;function X5(e,t,n,r){const i=Mu(e),o=oi(i,"margin"),s=lc(i.maxWidth,e,"clientWidth")||rc,a=lc(i.maxHeight,e,"clientHeight")||rc,l=q5(e,t,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const f=oi(i,"border","width"),h=oi(i,"padding");c-=h.width+f.width,u-=h.height+f.height}return c=Math.max(0,c-o.width),u=Math.max(0,r?c/r:u-o.height),c=Na(Math.min(c,s,l.maxWidth)),u=Na(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Na(c/2)),(t!==void 0||n!==void 0)&&r&&l.height&&u>l.height&&(u=l.height,c=Na(Math.floor(u*r))),{width:c,height:u}}function j0(e,t,n){const r=t||1,i=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||s.height!==i||s.width!==o?(e.currentDevicePixelRatio=r,s.height=i,s.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const Q5=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}();function W0(e,t){const n=H5(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Yr(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function J5(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r==="middle"?n<.5?e.y:t.y:r==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function Z5(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},s=Yr(e,i,n),a=Yr(i,o,n),l=Yr(o,t,n),c=Yr(s,a,n),u=Yr(a,l,n);return Yr(c,u,n)}const e$=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},t$=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function _d(e,t,n){return e?e$(t,n):t$()}function n$(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function r$(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function r_(e){return e==="angle"?{between:Ks,compare:ZL,normalize:vn}:{between:ic,compare:(t,n)=>t-n,normalize:t=>t}}function U0({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function i$(e,t,n){const{property:r,start:i,end:o}=n,{between:s,normalize:a}=r_(r),l=t.length;let{start:c,end:u,loop:d}=e,f,h;if(d){for(c+=l,u+=l,f=0,h=l;fl(i,v,g)&&a(i,v)!==0,S=()=>a(o,g)===0||l(o,v,g),R=()=>m||_(),C=()=>!m||S();for(let b=u,w=u;b<=d;++b)y=t[b%s],!y.skip&&(g=c(y[r]),g!==v&&(m=l(g,i,o),x===null&&R()&&(x=a(g,i)===0?b:w),x!==null&&C()&&(p.push(U0({start:x,end:b,loop:f,count:s,style:h})),x=null),w=b,v=g));return x!==null&&p.push(U0({start:x,end:d,loop:f,count:s,style:h})),p}function s$(e,t){const n=[],r=e.segments;for(let i=0;ii&&e[o%t].skip;)o--;return o%=t,{start:i,end:o}}function l$(e,t,n,r){const i=e.length,o=[];let s=t,a=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%i];c.skip||c.stop?a.skip||(r=!1,o.push({start:t%i,end:(l-1)%i,loop:r}),t=s=c.stop?l:null):(s=l,a.skip&&(t=l)),a=c}return s!==null&&o.push({start:t%i,end:s%i,loop:r}),o}function c$(e,t){const n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];const o=!!e._loop,{start:s,end:a}=a$(n,i,o,r);if(r===!0)return V0(e,[{start:s,end:a,loop:o}],n,t);const l=aa({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=Hb.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const o=r.items;let s=o.length-1,a=!1,l;for(;s>=0;--s)l=o[s],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),a=!0):(o[s]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,r,t,"progress")),o.length||(r.running=!1,this._notify(i,r,t,"complete"),r.initial=!1),n+=o.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Un=new f$;const K0="transparent",h$={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=N0(e||K0),i=r.valid&&N0(t||K0);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class p${constructor(t,n,r,i){const o=n[r];i=La([t.to,i,o,t.from]);const s=La([t.from,o,i]);this._active=!0,this._fn=t.fn||h$[t.type||typeof s],this._easing=gs[t.easing]||gs.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,s=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=La([t.to,n,i,t.from]),this._from=La([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,i=this._prop,o=this._from,s=this._loop,a=this._to;let l;if(this._active=o!==a&&(s||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let i=0;i{const o=t[i];if(!be(o))return;const s={};for(const a of n)s[a]=o[a];(Ke(o.properties)&&o.properties||[i]).forEach(a=>{(a===i||!r.has(a))&&r.set(a,s)})})}_animateOptions(t,n){const r=n.options,i=g$(t,r);if(!i)return[];const o=this._createAnimations(i,r);return r.$shared&&m$(t.options.$animations,r).then(()=>{t.options=r},()=>{}),o}_createAnimations(t,n){const r=this._properties,i=[],o=t.$animations||(t.$animations={}),s=Object.keys(n),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(t,n));continue}const u=n[c];let d=o[c];const f=r.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){t[c]=u;continue}o[c]=d=new p$(f,t,c,u),i.push(d)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return Un.add(this._chart,r),!0}}function m$(e,t){const n=[],r=Object.keys(t);for(let i=0;i0||!n&&o<0)return i.index}return null}function Q0(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:s,index:a}=r,l=o.axis,c=s.axis,u=b$(o,s,r),d=t.length;let f;for(let h=0;hn[r].axis===t).shift()}function w$(e,t){return Nr(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function k$(e,t,n){return Nr(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function zo(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const i of t){const o=i._stacks;if(!o||o[r]===void 0||o[r][n]===void 0)return;delete o[r][n],o[r]._visualValues!==void 0&&o[r]._visualValues[n]!==void 0&&delete o[r]._visualValues[n]}}}const kd=e=>e==="reset"||e==="none",J0=(e,t)=>t?e:Object.assign({},e),C$=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:o_(n,!0),values:null};class si{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=q0(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&zo(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(d,f,h,p)=>d==="x"?f:d==="r"?p:h,o=n.xAxisID=Pe(r.xAxisID,wd(t,"x")),s=n.yAxisID=Pe(r.yAxisID,wd(t,"y")),a=n.rAxisID=Pe(r.rAxisID,wd(t,"r")),l=n.indexAxis,c=n.iAxisID=i(l,o,s,a),u=n.vAxisID=i(l,s,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&I0(this._data,this),t._stacked&&zo(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(be(n))this._data=x$(n);else if(r!==n){if(r){I0(r,this);const i=this._cachedMeta;zo(i),i._parsed=[]}n&&Object.isExtensible(n)&&r5(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=q0(n.vScale,n),n.stack!==r.stack&&(i=!0,zo(n),n.stack=r.stack),this._resyncElements(t),(i||o!==n._stacked)&&Q0(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:i}=this,{iScale:o,_stacked:s}=r,a=o.axis;let l=t===0&&n===i.length?!0:r._sorted,c=t>0&&r._parsed[t-1],u,d,f;if(this._parsing===!1)r._parsed=i,r._sorted=!0,f=i;else{Ke(i[t])?f=this.parseArrayData(r,i,t,n):be(i[t])?f=this.parseObjectData(r,i,t,n):f=this.parsePrimitiveData(r,i,t,n);const h=()=>d[a]===null||c&&d[a]m||d=0;--f)if(!p()){this.updateRangeFromParsed(c,t,h,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let i,o,s;for(i=0,o=n.length;i=0&&tthis.getContext(r,i,n),m=c.resolveNamedOptions(f,h,p,d);return m.$shared&&(m.$shared=l,o[s]=Object.freeze(J0(m,l))),m}_resolveAnimations(t,n,r){const i=this.chart,o=this._cachedDataOpts,s=`animation-${n}`,a=o[s];if(a)return a;let l;if(i.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(t,r,n))}const c=new i_(i,l&&l.animations);return l&&l._cacheable&&(o[s]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||kd(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),i=this._sharedOptions,o=this.getSharedOptions(r),s=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,r),{sharedOptions:o,includeOptions:s}}updateElement(t,n,r,i){kd(i)?Object.assign(t,r):this._resolveAnimations(n,i).update(t,r)}updateSharedOptions(t,n,r){t&&!kd(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,i){t.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(t,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=r.length,o=n.length,s=Math.min(o,i);s&&this.parse(0,s),o>i?this._insertElements(i,o-i,t):o{for(c.length+=n,a=c.length-1;a>=s;a--)c[a]=c[a-n]};for(l(o),a=t;ai-o))}return e._cache.$bar}function P$(e){const t=e.iScale,n=E$(t,e.type);let r=t._length,i,o,s,a;const l=()=>{s===32767||s===-32768||(Vs(a)&&(r=Math.min(r,Math.abs(s-a)||r)),a=s)};for(i=0,o=n.length;i0?i[e-1]:null,a=eMath.abs(a)&&(l=a,c=s),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:i,end:o,min:s,max:a}}function s_(e,t,n,r){return Ke(e)?T$(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Z0(e,t,n,r){const i=e.iScale,o=e.vScale,s=i.getLabels(),a=i===o,l=[];let c,u,d,f;for(c=n,u=n+r;c=n?1:-1)}function I$(e){let t,n,r,i,o;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.basel.controller.options.grouped),o=r.options.stacked,s=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(Ie(u)||isNaN(u))return!0};for(const l of i)if(!(n!==void 0&&a(l))&&((o===!1||s.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&s.push(l.stack),l.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,r){const i=this._getStacks(t,r),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,i=[];let o,s;for(o=0,s=n.data.length;oKs(v,a,l,!0)?1:Math.max(_,_*n,S,S*n),p=(v,_,S)=>Ks(v,a,l,!0)?-1:Math.min(_,_*n,S,S*n),m=h(0,c,d),x=h(rt,u,f),g=p(tt,c,d),y=p(tt+rt,u,f);r=(m-g)/2,i=(x-y)/2,o=-(m+g)/2,s=-(x+y)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:s}}class Xo extends si{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let o=l=>+r[l];if(be(r[t])){const{key:l="value"}=this._parsing;o=c=>+pi(r[c],l)}let s,a;for(s=t,a=t+n;s0&&!isNaN(t)?Ve*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=Ru(n._parsed[t],r.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let n=0;const r=this.chart;let i,o,s,a,l;if(!t){for(i=0,o=r.data.datasets.length;it!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),V(Xo,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:i}}=t.legend.options;return n.labels.map((o,s)=>{const l=t.getDatasetMeta(0).controller.getStyle(s);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}});class pl extends si{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:i=[],_dataset:o}=n,s=this.chart._animationsDisabled;let{start:a,count:l}=s5(n,i,s);this._drawStart=a,this._drawCount=l,a5(n)&&(a=0,l=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(r,void 0,{animated:!s,options:c},t),this.updateElements(i,a,l,t)}updateElements(t,n,r,i){const o=i==="reset",{iScale:s,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:d}=this._getSharedOptions(n,i),f=s.axis,h=a.axis,{spanGaps:p,segment:m}=this.options,x=Hs(p)?p:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||o||i==="none",y=n+r,v=t.length;let _=n>0&&this.getParsed(n-1);for(let S=0;S=y){C.skip=!0;continue}const b=this.getParsed(S),w=Ie(b[h]),P=C[f]=s.getPixelForValue(b[f],S),T=C[h]=o||w?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,b,l):b[h],S);C.skip=isNaN(P)||isNaN(T)||w,C.stop=S>0&&Math.abs(b[f]-_[f])>x,m&&(C.parsed=b,C.raw=c.data[S]),d&&(C.options=u||this.resolveDataElementOptions(S,R.active?"active":i)),g||this.updateElement(R,S,C,i),_=b}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return r;const o=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,o,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}V(pl,"id","line"),V(pl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),V(pl,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class Gf extends Xo{}V(Gf,"id","pie"),V(Gf,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function jr(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Qp{constructor(t){V(this,"options");this.options=t||{}}static override(t){Object.assign(Qp.prototype,t)}init(){}formats(){return jr()}parse(){return jr()}format(){return jr()}add(){return jr()}diff(){return jr()}startOf(){return jr()}endOf(){return jr()}}var F$={_date:Qp};function D$(e,t,n,r){const{controller:i,data:o,_sorted:s}=e,a=i._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&s&&o.length){const l=a._reversePixels?t5:ni;if(r){if(i._sharedOptions){const c=o[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const d=l(o,t,n-u),f=l(o,t,n+u);return{lo:d.lo,hi:f.hi}}}}else return l(o,t,n)}return{lo:0,hi:o.length-1}}function aa(e,t,n,r,i){const o=e.getSortedVisibleDatasetMetas(),s=n[t];for(let a=0,l=o.length;a{l[s](t[n],i)&&(o.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(t.x,t.y,i))}),r&&!a?[]:o}var W$={evaluateInteractionItems:aa,modes:{index(e,t,n,r){const i=Gr(t,e),o=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?Ed(e,i,o,r,s):Pd(e,i,o,!1,r,s),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,n,r){const i=Gr(t,e),o=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?Ed(e,i,o,r,s):Pd(e,i,o,!1,r,s);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===t)}function ry(e,t){return e.filter(n=>a_.indexOf(n.pos)===-1&&n.box.axis===t)}function jo(e,t){return e.sort((n,r)=>{const i=t?r:n,o=t?n:r;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function U$(e){const t=[];let n,r,i,o,s,a;for(n=0,r=(e||[]).length;nc.box.fullSize),!0),r=jo(Bo(t,"left"),!0),i=jo(Bo(t,"right")),o=jo(Bo(t,"top"),!0),s=jo(Bo(t,"bottom")),a=ry(t,"x"),l=ry(t,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(l).concat(s).concat(a),chartArea:Bo(t,"chartArea"),vertical:r.concat(i).concat(l),horizontal:o.concat(s).concat(a)}}function iy(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function l_(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function G$(e,t,n,r){const{pos:i,box:o}=n,s=e.maxPadding;if(!be(i)){n.size&&(e[i]-=n.size);const d=r[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,e[i]+=n.size}o.getPadding&&l_(s,o.getPadding());const a=Math.max(0,t.outerWidth-iy(s,e,"left","right")),l=Math.max(0,t.outerHeight-iy(s,e,"top","bottom")),c=a!==e.w,u=l!==e.h;return e.w=a,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Y$(e){const t=e.maxPadding;function n(r){const i=Math.max(t[r]-e[r],0);return e[r]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function q$(e,t){const n=t.maxPadding;function r(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{o[s]=Math.max(t[s],n[s])}),o}return r(e?["left","right"]:["top","bottom"])}function Qo(e,t,n,r){const i=[];let o,s,a,l,c,u;for(o=0,s=e.length,c=0;o{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,x)=>x.box.options&&x.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/u,hBoxMaxHeight:s/2}),f=Object.assign({},i);l_(f,hn(r));const h=Object.assign({maxPadding:f,w:o,h:s,x:i.left,y:i.top},i),p=H$(l.concat(c),d);Qo(a.fullSize,h,d,p),Qo(l,h,d,p),Qo(c,h,d,p)&&Qo(l,h,d,p),Y$(h),oy(a.leftAndTop,h,d,p),h.x+=h.w,h.y+=h.h,oy(a.rightAndBottom,h,d,p),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},Oe(a.chartArea,m=>{const x=m.box;Object.assign(x,e.chartArea),x.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class c_{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,i){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(t){return!0}updateConfig(t){}}class X$ extends c_{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ml="$chartjs",Q$={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},sy=e=>e===null||e==="";function J$(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[ml]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",sy(i)){const o=W0(e,"width");o!==void 0&&(e.width=o)}if(sy(r))if(e.style.height==="")e.height=e.width/(t||2);else{const o=W0(e,"height");o!==void 0&&(e.height=o)}return e}const u_=Q5?{passive:!0}:!1;function Z$(e,t,n){e.addEventListener(t,n,u_)}function eN(e,t,n){e.canvas.removeEventListener(t,n,u_)}function tN(e,t){const n=Q$[e.type]||e.type,{x:r,y:i}=Gr(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:i!==void 0?i:null}}function uc(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function nN(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||uc(a.addedNodes,r),s=s&&!uc(a.removedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function rN(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||uc(a.removedNodes,r),s=s&&!uc(a.addedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const Gs=new Map;let ay=0;function d_(){const e=window.devicePixelRatio;e!==ay&&(ay=e,Gs.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function iN(e,t){Gs.size||window.addEventListener("resize",d_),Gs.set(e,t)}function oN(e){Gs.delete(e),Gs.size||window.removeEventListener("resize",d_)}function sN(e,t,n){const r=e.canvas,i=r&&Xp(r);if(!i)return;const o=Kb((a,l)=>{const c=i.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return s.observe(i),iN(e,o),s}function Rd(e,t,n){n&&n.disconnect(),t==="resize"&&oN(e)}function aN(e,t,n){const r=e.canvas,i=Kb(o=>{e.ctx!==null&&n(tN(o,e))},e);return Z$(r,t,i),i}class lN extends c_{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(J$(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[ml])return!1;const r=n[ml].initial;["height","width"].forEach(o=>{const s=r[o];Ie(s)?n.removeAttribute(o):n.setAttribute(o,s)});const i=r.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[ml],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),s={attach:nN,detach:rN,resize:sN}[n]||aN;i[n]=s(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),i=r[n];if(!i)return;({attach:Rd,detach:Rd,resize:Rd}[n]||eN)(t,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,i){return X5(t,n,r,i)}isAttached(t){const n=Xp(t);return!!(n&&n.isConnected)}}function cN(e){return!n_()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?X$:lN}var Ka;let xi=(Ka=class{constructor(){V(this,"x");V(this,"y");V(this,"active",!1);V(this,"options");V(this,"$animations")}tooltipPosition(t){const{x:n,y:r}=this.getProps(["x","y"],t);return{x:n,y:r}}hasValue(){return Hs(this.x)&&Hs(this.y)}getProps(t,n){const r=this.$animations;if(!n||!r)return this;const i={};return t.forEach(o=>{i[o]=r[o]&&r[o].active()?r[o]._to:this[o]}),i}},V(Ka,"defaults",{}),V(Ka,"defaultRoutes"),Ka);function uN(e,t){const n=e.options.ticks,r=dN(e),i=Math.min(n.maxTicksLimit||r,r),o=n.major.enabled?hN(t):[],s=o.length,a=o[0],l=o[s-1],c=[];if(s>i)return pN(t,c,o,s/i),c;const u=fN(o,t,i);if(s>0){let d,f;const h=s>1?Math.round((l-a)/(s-1)):null;for(za(t,c,u,Ie(h)?0:a-h,a),d=0,f=s-1;di)return l}return Math.max(i,1)}function hN(e){const t=[];let n,r;for(n=0,r=e.length;ne==="left"?"right":e==="right"?"left":e,ly=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,cy=(e,t)=>Math.min(t||e,e);function uy(e,t){const n=[],r=e.length/t,i=e.length;let o=0;for(;os+a)))return l}function vN(e,t){Oe(e,n=>{const r=n.gc,i=r.length/2;let o;if(i>t){for(o=0;or?r:n,r=i&&n>r?n:r,{min:Wt(n,Wt(r,n)),max:Wt(r,Wt(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ze(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:i,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=R5(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,h=kt(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/r:h/(r-1),d+6>a&&(a=h/(r-(t.offset?.5:1)),l=this.maxHeight-Wo(t.grid)-n.padding-dy(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),s=Up(Math.min(Math.asin(kt((u.highest.height+6)/a,-1,1)),Math.asin(kt(l/c,-1,1))-Math.asin(kt(f/c,-1,1)))),s=Math.max(i,Math.min(o,s))),this.labelRotation=s}afterCalculateLabelRotation(){Ze(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ze(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=dy(i,n.options.font);if(a?(t.width=this.maxWidth,t.height=Wo(o)+l):(t.height=this.maxHeight,t.width=Wo(o)+l),r.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),h=r.padding*2,p=Ln(this.labelRotation),m=Math.cos(p),x=Math.sin(p);if(a){const g=r.mirror?0:x*d.width+m*f.height;t.height=Math.min(this.maxHeight,t.height+g+h)}else{const g=r.mirror?0:m*d.width+x*f.height;t.width=Math.min(this.maxWidth,t.width+g+h)}this._calculatePadding(c,u,x,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,i){const{ticks:{align:o,padding:s},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,h=0;l?c?(f=i*t.width,h=r*n.height):(f=r*t.height,h=i*n.width):o==="start"?h=n.width:o==="end"?f=t.width:o!=="inner"&&(f=t.width/2,h=n.width/2),this.paddingLeft=Math.max((f-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((h-d+s)*this.width/(this.width-d),0)}else{let u=n.height/2,d=t.height/2;o==="start"?(u=0,d=t.height):o==="end"&&(u=n.height,d=0),this.paddingTop=u+s,this.paddingBottom=d+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ze(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n({width:s[w]||0,height:a[w]||0});return{first:b(0),last:b(n-1),widest:b(R),highest:b(C),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return e5(this._alignToPixels?Br(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&ta*i?a/r:l/i:l*i0}_computeGridLineItems(t){const n=this.axis,r=this.chart,i=this.options,{grid:o,position:s,border:a}=i,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=Wo(o),h=[],p=a.setContext(this.getContext()),m=p.display?p.width:0,x=m/2,g=function(D){return Br(r,D,m)};let y,v,_,S,R,C,b,w,P,T,L,F;if(s==="top")y=g(this.bottom),C=this.bottom-f,w=y-x,T=g(t.top)+x,F=t.bottom;else if(s==="bottom")y=g(this.top),T=t.top,F=g(t.bottom)-x,C=y+x,w=this.top+f;else if(s==="left")y=g(this.right),R=this.right-f,b=y-x,P=g(t.left)+x,L=t.right;else if(s==="right")y=g(this.left),P=t.left,L=g(t.right)-x,R=y+x,b=this.left+f;else if(n==="x"){if(s==="center")y=g((t.top+t.bottom)/2+.5);else if(be(s)){const D=Object.keys(s)[0],A=s[D];y=g(this.chart.scales[D].getPixelForValue(A))}T=t.top,F=t.bottom,C=y+x,w=C+f}else if(n==="y"){if(s==="center")y=g((t.left+t.right)/2);else if(be(s)){const D=Object.keys(s)[0],A=s[D];y=g(this.chart.scales[D].getPixelForValue(A))}R=y-x,b=R-f,P=t.left,L=t.right}const $=Pe(i.ticks.maxTicksLimit,d),N=Math.max(1,Math.ceil(d/$));for(v=0;vo.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,s;const a=(l,c,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(n.display)for(o=0,s=i.length;o{this.draw(o)}}]:[{z:r,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let o,s;for(o=0,s=n.length;o{const r=n.split("."),i=r.pop(),o=[e].concat(r).join("."),s=t[n].split("."),a=s.pop(),l=s.join(".");it.route(o,i,l,a)})}function CN(e){return"id"in e&&"defaults"in e}class EN{constructor(){this.controllers=new Ba(si,"datasets",!0),this.elements=new Ba(xi,"elements"),this.plugins=new Ba(Object,"plugins"),this.scales=new Ba(bi,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(i=>{const o=r||this._getRegistryForType(i);r||o.isForType(i)||o===this.plugins&&i.id?this._exec(t,o,i):Oe(i,s=>{const a=r||this._getRegistryForType(s);this._exec(t,a,s)})})}_exec(t,n,r){const i=Wp(t);Ze(r["before"+i],[],r),n[t](r),Ze(r["after"+i],[],r)}_getRegistryForType(t){for(let n=0;no.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,r),t,"stop"),this._notify(i(r,n),t,"start")}}function RN(e){const t={},n=[],r=Object.keys(Rn.plugins.items);for(let o=0;o1&&fy(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function hy(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function $N(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(n.length)return hy(e,"x",n[0])||hy(e,"y",n[0])}return{}}function NN(e,t){const n=mi[e.type]||{scales:{}},r=t.scales||{},i=Yf(e.type,t),o=Object.create(null);return Object.keys(r).forEach(s=>{const a=r[s];if(!be(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=qf(s,a,$N(s,e),it.scales[a.type]),c=AN(l,i),u=n.scales||{};o[s]=ps(Object.create(null),[{axis:l},a,u[l],u[c]])}),e.data.datasets.forEach(s=>{const a=s.type||e.type,l=s.indexAxis||Yf(a,t),u=(mi[a]||{}).scales||{};Object.keys(u).forEach(d=>{const f=IN(d,l),h=s[f+"AxisID"]||f;o[h]=o[h]||Object.create(null),ps(o[h],[{axis:f},r[h],u[d]])})}),Object.keys(o).forEach(s=>{const a=o[s];ps(a,[it.scales[a.type],it.scale])}),o}function f_(e){const t=e.options||(e.options={});t.plugins=Pe(t.plugins,{}),t.scales=NN(e,t)}function h_(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function FN(e){return e=e||{},e.data=h_(e.data),f_(e),e}const py=new Map,p_=new Set;function ja(e,t){let n=py.get(e);return n||(n=t(),py.set(e,n),p_.add(n)),n}const Uo=(e,t,n)=>{const r=pi(t,n);r!==void 0&&e.add(r)};class DN{constructor(t){this._config=FN(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=h_(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),f_(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ja(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return ja(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return ja(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return ja(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let i=r.get(t);return(!i||n)&&(i=new Map,r.set(t,i)),i}getOptionScopes(t,n,r){const{options:i,type:o}=this,s=this._cachedScopes(t,r),a=s.get(n);if(a)return a;const l=new Set;n.forEach(u=>{t&&(l.add(t),u.forEach(d=>Uo(l,t,d))),u.forEach(d=>Uo(l,i,d)),u.forEach(d=>Uo(l,mi[o]||{},d)),u.forEach(d=>Uo(l,it,d)),u.forEach(d=>Uo(l,Hf,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),p_.has(n)&&s.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,mi[n]||{},it.datasets[n]||{},{type:n},it,Hf]}resolveNamedOptions(t,n,r,i=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=my(this._resolverCache,t,i);let l=s;if(BN(s,n)){o.$shared=!1,r=Ir(r)?r():r;const c=this.createResolver(t,r,a);l=po(s,r,c)}for(const c of n)o[c]=l[c];return o}createResolver(t,n,r=[""],i){const{resolver:o}=my(this._resolverCache,t,r);return be(n)?po(o,n,void 0,i):o}}function my(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let o=r.get(i);return o||(o={resolver:Gp(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},r.set(i,o)),o}const zN=e=>be(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||Ir(e[n]),!1);function BN(e,t){const{isScriptable:n,isIndexable:r}=Qb(e);for(const i of t){const o=n(i),s=r(i),a=(s||o)&&e[i];if(o&&(Ir(a)||zN(a))||s&&Ke(a))return!0}return!1}var jN="4.4.0";const WN=["top","bottom","left","right","chartArea"];function gy(e,t){return e==="top"||e==="bottom"||WN.indexOf(e)===-1&&t==="x"}function yy(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function vy(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Ze(n&&n.onComplete,[e],t)}function UN(e){const t=e.chart,n=t.options.animation;Ze(n&&n.onProgress,[e],t)}function m_(e){return n_()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const gl={},xy=e=>{const t=m_(e);return Object.values(gl).filter(n=>n.canvas===t).pop()};function VN(e,t,n){const r=Object.keys(e);for(const i of r){const o=+i;if(o>=t){const s=e[i];delete e[i],(n>0||o>t)&&(e[o+n]=s)}}}function HN(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}function Wa(e,t,n){return e.options.clip?e[n]:t[n]}function KN(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:Wa(n,t,"left"),right:Wa(n,t,"right"),top:Wa(r,t,"top"),bottom:Wa(r,t,"bottom")}:t}var cr;let Ou=(cr=class{static register(...t){Rn.add(...t),by()}static unregister(...t){Rn.remove(...t),by()}constructor(t,n){const r=this.config=new DN(n),i=m_(t),o=xy(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||cN(i)),this.platform.updateConfig(r);const a=this.platform.acquireContext(i,s.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=WL(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new PN,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=i5(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],gl[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Un.listen(this,"complete",vy),Un.listen(this,"progress",UN),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:i,_aspectRatio:o}=this;return Ie(t)?n&&o?o:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Rn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():j0(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return D0(this.canvas,this.ctx),this}stop(){return Un.stop(this),this}resize(t,n){Un.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,t,n,o),a=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,j0(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),Ze(r.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Oe(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,i=Object.keys(r).reduce((s,a)=>(s[a]=!1,s),{});let o=[];n&&(o=o.concat(Object.keys(n).map(s=>{const a=n[s],l=qf(s,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Oe(o,s=>{const a=s.options,l=a.id,c=qf(l,a),u=Pe(a.type,s.dtype);(a.position===void 0||gy(a.position,c)!==gy(s.dposition))&&(a.position=s.dposition),i[l]=!0;let d=null;if(l in r&&r[l].type===u)d=r[l];else{const f=Rn.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),r[d.id]=d}d.init(a,t)}),Oe(i,(s,a)=>{s||delete r[a]}),Oe(r,s=>{Da.configure(this,s,s.options),Da.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((i,o)=>i.index-o.index),r>n){for(let i=n;in.length&&delete this._stacks,t.forEach((r,i)=>{n.filter(o=>o===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(yy("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Oe(this.scales,t=>{Da.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!R0(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:o}of n){const s=r==="_removeElements"?-o:o;VN(t,i,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=o=>new Set(t.filter(s=>s[0]===o).map((s,a)=>a+","+s.splice(1).join(","))),i=r(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Da.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Oe(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,i=!r.disabled,o=KN(t,this.chartArea),s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&Yb(n,{left:r.left===!1?0:o.left-r.left,right:r.right===!1?this.width:o.right+r.right,top:r.top===!1?0:o.top-r.top,bottom:r.bottom===!1?this.height:o.bottom+r.bottom}),t.controller.draw(),i&&qb(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return Xn(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,i){const o=W$.modes[n];return typeof o=="function"?o(this,t,r,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let i=r.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=Nr(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const i=r?"show":"hide",o=this.getDatasetMeta(t),s=o.controller._resolveAnimations(void 0,i);Vs(n)?(o.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(o,{visible:r}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Un.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,o,s),t[o]=s},i=(o,s,a)=>{o.offsetX=s,o.offsetY=a,this._eventHandler(o)};Oe(this.options.events,o=>r(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},i=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let s;const a=()=>{i("attach",a),this.attached=!0,this.resize(),r("resize",o),r("detach",s)};s=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),r("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){Oe(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},Oe(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const i=r?"set":"remove";let o,s,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[s],index:s}});!nc(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,r){const i=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),s=o(n,t),a=r?t:o(t,n);s.length&&this.updateHoverStyle(s,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const o=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(o||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:i=[],options:o}=this,s=n,a=this._getActiveElements(t,i,r,s),l=YL(t),c=HN(t,this._lastEvent,r,l);r&&(this._lastEvent=null,Ze(o.onHover,[t,a,this],this),l&&Ze(o.onClick,[t,a,this],this));const u=!nc(a,i);return(u||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,u}_getActiveElements(t,n,r,i){if(t.type==="mouseout")return[];if(!r)return n;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,i)}},V(cr,"defaults",it),V(cr,"instances",gl),V(cr,"overrides",mi),V(cr,"registry",Rn),V(cr,"version",jN),V(cr,"getChart",xy),cr);function by(){return Oe(Ou.instances,e=>e._plugins.invalidate())}function GN(e,t,n){const{startAngle:r,pixelMargin:i,x:o,y:s,outerRadius:a,innerRadius:l}=t;let c=i/a;e.beginPath(),e.arc(o,s,a,r-c,n+c),l>i?(c=i/l,e.arc(o,s,l,n+c,r-c,!0)):e.arc(o,s,i,n+rt,r-rt),e.closePath(),e.clip()}function YN(e){return Kp(e,["outerStart","outerEnd","innerStart","innerEnd"])}function qN(e,t,n,r){const i=YN(e.options.borderRadius),o=(n-t)/2,s=Math.min(o,r*t/2),a=l=>{const c=(n-Math.min(o,l))*r/2;return kt(l,0,Math.min(o,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:kt(i.innerStart,0,s),innerEnd:kt(i.innerEnd,0,s)}}function Oi(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function dc(e,t,n,r,i,o){const{x:s,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-c,0),f=u>0?u+r+n+c:0;let h=0;const p=i-l;if(r){const N=u>0?u-r:0,D=d>0?d-r:0,A=(N+D)/2,O=A!==0?p*A/(A+r):p;h=(p-O)/2}const m=Math.max(.001,p*d-n/tt)/d,x=(p-m)/2,g=l+x+h,y=i-x-h,{outerStart:v,outerEnd:_,innerStart:S,innerEnd:R}=qN(t,f,d,y-g),C=d-v,b=d-_,w=g+v/C,P=y-_/b,T=f+S,L=f+R,F=g+S/T,$=y-R/L;if(e.beginPath(),o){const N=(w+P)/2;if(e.arc(s,a,d,w,N),e.arc(s,a,d,N,P),_>0){const I=Oi(b,P,s,a);e.arc(I.x,I.y,_,P,y+rt)}const D=Oi(L,y,s,a);if(e.lineTo(D.x,D.y),R>0){const I=Oi(L,$,s,a);e.arc(I.x,I.y,R,y+rt,$+Math.PI)}const A=(y-R/f+(g+S/f))/2;if(e.arc(s,a,f,y-R/f,A,!0),e.arc(s,a,f,A,g+S/f,!0),S>0){const I=Oi(T,F,s,a);e.arc(I.x,I.y,S,F+Math.PI,g-rt)}const O=Oi(C,g,s,a);if(e.lineTo(O.x,O.y),v>0){const I=Oi(C,w,s,a);e.arc(I.x,I.y,v,g-rt,w)}}else{e.moveTo(s,a);const N=Math.cos(w)*d+s,D=Math.sin(w)*d+a;e.lineTo(N,D);const A=Math.cos(P)*d+s,O=Math.sin(P)*d+a;e.lineTo(A,O)}e.closePath()}function XN(e,t,n,r,i){const{fullCircles:o,startAngle:s,circumference:a}=t;let l=t.endAngle;if(o){dc(e,t,n,r,l,i);for(let c=0;c=Ve||Ks(s,l,c),x=oc(a,u+h,d+h);return m&&x}getCenterPoint(n){const{x:r,y:i,startAngle:o,endAngle:s,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:c,spacing:u}=this.options,d=(o+s)/2,f=(a+l+u+c)/2;return{x:r+Math.cos(d)*f,y:i+Math.sin(d)*f}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:r,circumference:i}=this,o=(r.offset||0)/4,s=(r.spacing||0)/2,a=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=i>Ve?Math.floor(i/Ve):0,i===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const l=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min(tt,i||0)),u=o*c;n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,XN(n,this,u,s,a),QN(n,this,u,s,a),n.restore()}}V(Jo,"id","arc"),V(Jo,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),V(Jo,"defaultRoutes",{backgroundColor:"backgroundColor"}),V(Jo,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function g_(e,t,n=t){e.lineCap=Pe(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Pe(n.borderDash,t.borderDash)),e.lineDashOffset=Pe(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Pe(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Pe(n.borderWidth,t.borderWidth),e.strokeStyle=Pe(n.borderColor,t.borderColor)}function JN(e,t,n){e.lineTo(n.x,n.y)}function ZN(e){return e.stepped?x5:e.tension||e.cubicInterpolationMode==="monotone"?b5:JN}function y_(e,t,n={}){const r=e.length,{start:i=0,end:o=r-1}=n,{start:s,end:a}=t,l=Math.max(i,s),c=Math.min(o,a),u=ia&&o>a;return{count:r,start:l,loop:t.loop,ilen:c(s+(c?a-_:_))%o,v=()=>{m!==x&&(e.lineTo(u,x),e.lineTo(u,m),e.lineTo(u,g))};for(l&&(h=i[y(0)],e.moveTo(h.x,h.y)),f=0;f<=a;++f){if(h=i[y(f)],h.skip)continue;const _=h.x,S=h.y,R=_|0;R===p?(Sx&&(x=S),u=(d*u+_)/++d):(v(),e.lineTo(_,S),p=R,d=0,m=x=S),g=S}v()}function Xf(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?tF:eF}function nF(e){return e.stepped?J5:e.tension||e.cubicInterpolationMode==="monotone"?Z5:Yr}function rF(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),g_(e,t.options),e.stroke(i)}function iF(e,t,n,r){const{segments:i,options:o}=t,s=Xf(t);for(const a of i)g_(e,o,a.style),e.beginPath(),s(e,t,a,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const oF=typeof Path2D=="function";function sF(e,t,n,r){oF&&!t.options.segment?rF(e,t,n,r):iF(e,t,n,r)}class Zo extends xi{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;V5(this._points,r,t,i,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=c$(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,i=t[n],o=this.points,s=s$(this,{property:n,start:i,end:i});if(!s.length)return;const a=[],l=nF(r);let c,u;for(c=0,u=s.length;ct!=="borderDash"&&t!=="fill"});function _y(e,t,n,r){const i=e.options,{[n]:o}=e.getProps([n],r);return Math.abs(t-o)a({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=Hb.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const o=r.items;let s=o.length-1,a=!1,l;for(;s>=0;--s)l=o[s],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),a=!0):(o[s]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,r,t,"progress")),o.length||(r.running=!1,this._notify(i,r,t,"complete"),r.initial=!1),n+=o.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Un=new f$;const K0="transparent",h$={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=N0(e||K0),i=r.valid&&N0(t||K0);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class p${constructor(t,n,r,i){const o=n[r];i=La([t.to,i,o,t.from]);const s=La([t.from,o,i]);this._active=!0,this._fn=t.fn||h$[t.type||typeof s],this._easing=gs[t.easing]||gs.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,s=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=La([t.to,n,i,t.from]),this._from=La([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,i=this._prop,o=this._from,s=this._loop,a=this._to;let l;if(this._active=o!==a&&(s||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let i=0;i{const o=t[i];if(!be(o))return;const s={};for(const a of n)s[a]=o[a];(Ke(o.properties)&&o.properties||[i]).forEach(a=>{(a===i||!r.has(a))&&r.set(a,s)})})}_animateOptions(t,n){const r=n.options,i=g$(t,r);if(!i)return[];const o=this._createAnimations(i,r);return r.$shared&&m$(t.options.$animations,r).then(()=>{t.options=r},()=>{}),o}_createAnimations(t,n){const r=this._properties,i=[],o=t.$animations||(t.$animations={}),s=Object.keys(n),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(t,n));continue}const u=n[c];let d=o[c];const f=r.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){t[c]=u;continue}o[c]=d=new p$(f,t,c,u),i.push(d)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return Un.add(this._chart,r),!0}}function m$(e,t){const n=[],r=Object.keys(t);for(let i=0;i0||!n&&o<0)return i.index}return null}function Q0(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:s,index:a}=r,l=o.axis,c=s.axis,u=b$(o,s,r),d=t.length;let f;for(let h=0;hn[r].axis===t).shift()}function w$(e,t){return Nr(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function k$(e,t,n){return Nr(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function zo(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const i of t){const o=i._stacks;if(!o||o[r]===void 0||o[r][n]===void 0)return;delete o[r][n],o[r]._visualValues!==void 0&&o[r]._visualValues[n]!==void 0&&delete o[r]._visualValues[n]}}}const wd=e=>e==="reset"||e==="none",J0=(e,t)=>t?e:Object.assign({},e),C$=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:o_(n,!0),values:null};class si{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=q0(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&zo(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(d,f,h,p)=>d==="x"?f:d==="r"?p:h,o=n.xAxisID=Pe(r.xAxisID,Sd(t,"x")),s=n.yAxisID=Pe(r.yAxisID,Sd(t,"y")),a=n.rAxisID=Pe(r.rAxisID,Sd(t,"r")),l=n.indexAxis,c=n.iAxisID=i(l,o,s,a),u=n.vAxisID=i(l,s,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&I0(this._data,this),t._stacked&&zo(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(be(n))this._data=x$(n);else if(r!==n){if(r){I0(r,this);const i=this._cachedMeta;zo(i),i._parsed=[]}n&&Object.isExtensible(n)&&r5(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=q0(n.vScale,n),n.stack!==r.stack&&(i=!0,zo(n),n.stack=r.stack),this._resyncElements(t),(i||o!==n._stacked)&&Q0(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:i}=this,{iScale:o,_stacked:s}=r,a=o.axis;let l=t===0&&n===i.length?!0:r._sorted,c=t>0&&r._parsed[t-1],u,d,f;if(this._parsing===!1)r._parsed=i,r._sorted=!0,f=i;else{Ke(i[t])?f=this.parseArrayData(r,i,t,n):be(i[t])?f=this.parseObjectData(r,i,t,n):f=this.parsePrimitiveData(r,i,t,n);const h=()=>d[a]===null||c&&d[a]m||d=0;--f)if(!p()){this.updateRangeFromParsed(c,t,h,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let i,o,s;for(i=0,o=n.length;i=0&&tthis.getContext(r,i,n),m=c.resolveNamedOptions(f,h,p,d);return m.$shared&&(m.$shared=l,o[s]=Object.freeze(J0(m,l))),m}_resolveAnimations(t,n,r){const i=this.chart,o=this._cachedDataOpts,s=`animation-${n}`,a=o[s];if(a)return a;let l;if(i.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(t,r,n))}const c=new i_(i,l&&l.animations);return l&&l._cacheable&&(o[s]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||wd(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),i=this._sharedOptions,o=this.getSharedOptions(r),s=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,r),{sharedOptions:o,includeOptions:s}}updateElement(t,n,r,i){wd(i)?Object.assign(t,r):this._resolveAnimations(n,i).update(t,r)}updateSharedOptions(t,n,r){t&&!wd(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,i){t.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(t,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=r.length,o=n.length,s=Math.min(o,i);s&&this.parse(0,s),o>i?this._insertElements(i,o-i,t):o{for(c.length+=n,a=c.length-1;a>=s;a--)c[a]=c[a-n]};for(l(o),a=t;ai-o))}return e._cache.$bar}function P$(e){const t=e.iScale,n=E$(t,e.type);let r=t._length,i,o,s,a;const l=()=>{s===32767||s===-32768||(Vs(a)&&(r=Math.min(r,Math.abs(s-a)||r)),a=s)};for(i=0,o=n.length;i0?i[e-1]:null,a=eMath.abs(a)&&(l=a,c=s),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:i,end:o,min:s,max:a}}function s_(e,t,n,r){return Ke(e)?T$(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Z0(e,t,n,r){const i=e.iScale,o=e.vScale,s=i.getLabels(),a=i===o,l=[];let c,u,d,f;for(c=n,u=n+r;c=n?1:-1)}function I$(e){let t,n,r,i,o;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.basel.controller.options.grouped),o=r.options.stacked,s=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(Ie(u)||isNaN(u))return!0};for(const l of i)if(!(n!==void 0&&a(l))&&((o===!1||s.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&s.push(l.stack),l.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,r){const i=this._getStacks(t,r),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,i=[];let o,s;for(o=0,s=n.data.length;oKs(v,a,l,!0)?1:Math.max(_,_*n,S,S*n),p=(v,_,S)=>Ks(v,a,l,!0)?-1:Math.min(_,_*n,S,S*n),m=h(0,c,d),x=h(rt,u,f),g=p(tt,c,d),y=p(tt+rt,u,f);r=(m-g)/2,i=(x-y)/2,o=-(m+g)/2,s=-(x+y)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:s}}class Xo extends si{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let o=l=>+r[l];if(be(r[t])){const{key:l="value"}=this._parsing;o=c=>+pi(r[c],l)}let s,a;for(s=t,a=t+n;s0&&!isNaN(t)?Ve*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=Pu(n._parsed[t],r.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let n=0;const r=this.chart;let i,o,s,a,l;if(!t){for(i=0,o=r.data.datasets.length;it!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),V(Xo,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:i}}=t.legend.options;return n.labels.map((o,s)=>{const l=t.getDatasetMeta(0).controller.getStyle(s);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}});class pl extends si{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:i=[],_dataset:o}=n,s=this.chart._animationsDisabled;let{start:a,count:l}=s5(n,i,s);this._drawStart=a,this._drawCount=l,a5(n)&&(a=0,l=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(r,void 0,{animated:!s,options:c},t),this.updateElements(i,a,l,t)}updateElements(t,n,r,i){const o=i==="reset",{iScale:s,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:d}=this._getSharedOptions(n,i),f=s.axis,h=a.axis,{spanGaps:p,segment:m}=this.options,x=Hs(p)?p:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||o||i==="none",y=n+r,v=t.length;let _=n>0&&this.getParsed(n-1);for(let S=0;S=y){C.skip=!0;continue}const b=this.getParsed(S),w=Ie(b[h]),P=C[f]=s.getPixelForValue(b[f],S),T=C[h]=o||w?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,b,l):b[h],S);C.skip=isNaN(P)||isNaN(T)||w,C.stop=S>0&&Math.abs(b[f]-_[f])>x,m&&(C.parsed=b,C.raw=c.data[S]),d&&(C.options=u||this.resolveDataElementOptions(S,R.active?"active":i)),g||this.updateElement(R,S,C,i),_=b}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return r;const o=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,o,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}V(pl,"id","line"),V(pl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),V(pl,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class Kf extends Xo{}V(Kf,"id","pie"),V(Kf,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function jr(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Xp{constructor(t){V(this,"options");this.options=t||{}}static override(t){Object.assign(Xp.prototype,t)}init(){}formats(){return jr()}parse(){return jr()}format(){return jr()}add(){return jr()}diff(){return jr()}startOf(){return jr()}endOf(){return jr()}}var F$={_date:Xp};function D$(e,t,n,r){const{controller:i,data:o,_sorted:s}=e,a=i._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&s&&o.length){const l=a._reversePixels?t5:ni;if(r){if(i._sharedOptions){const c=o[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const d=l(o,t,n-u),f=l(o,t,n+u);return{lo:d.lo,hi:f.hi}}}}else return l(o,t,n)}return{lo:0,hi:o.length-1}}function aa(e,t,n,r,i){const o=e.getSortedVisibleDatasetMetas(),s=n[t];for(let a=0,l=o.length;a{l[s](t[n],i)&&(o.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(t.x,t.y,i))}),r&&!a?[]:o}var W$={evaluateInteractionItems:aa,modes:{index(e,t,n,r){const i=Gr(t,e),o=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?Cd(e,i,o,r,s):Ed(e,i,o,!1,r,s),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,n,r){const i=Gr(t,e),o=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?Cd(e,i,o,r,s):Ed(e,i,o,!1,r,s);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===t)}function ry(e,t){return e.filter(n=>a_.indexOf(n.pos)===-1&&n.box.axis===t)}function jo(e,t){return e.sort((n,r)=>{const i=t?r:n,o=t?n:r;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function U$(e){const t=[];let n,r,i,o,s,a;for(n=0,r=(e||[]).length;nc.box.fullSize),!0),r=jo(Bo(t,"left"),!0),i=jo(Bo(t,"right")),o=jo(Bo(t,"top"),!0),s=jo(Bo(t,"bottom")),a=ry(t,"x"),l=ry(t,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(l).concat(s).concat(a),chartArea:Bo(t,"chartArea"),vertical:r.concat(i).concat(l),horizontal:o.concat(s).concat(a)}}function iy(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function l_(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function G$(e,t,n,r){const{pos:i,box:o}=n,s=e.maxPadding;if(!be(i)){n.size&&(e[i]-=n.size);const d=r[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,e[i]+=n.size}o.getPadding&&l_(s,o.getPadding());const a=Math.max(0,t.outerWidth-iy(s,e,"left","right")),l=Math.max(0,t.outerHeight-iy(s,e,"top","bottom")),c=a!==e.w,u=l!==e.h;return e.w=a,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Y$(e){const t=e.maxPadding;function n(r){const i=Math.max(t[r]-e[r],0);return e[r]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function q$(e,t){const n=t.maxPadding;function r(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{o[s]=Math.max(t[s],n[s])}),o}return r(e?["left","right"]:["top","bottom"])}function Qo(e,t,n,r){const i=[];let o,s,a,l,c,u;for(o=0,s=e.length,c=0;o{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,x)=>x.box.options&&x.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/u,hBoxMaxHeight:s/2}),f=Object.assign({},i);l_(f,hn(r));const h=Object.assign({maxPadding:f,w:o,h:s,x:i.left,y:i.top},i),p=H$(l.concat(c),d);Qo(a.fullSize,h,d,p),Qo(l,h,d,p),Qo(c,h,d,p)&&Qo(l,h,d,p),Y$(h),oy(a.leftAndTop,h,d,p),h.x+=h.w,h.y+=h.h,oy(a.rightAndBottom,h,d,p),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},Oe(a.chartArea,m=>{const x=m.box;Object.assign(x,e.chartArea),x.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class c_{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,i){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(t){return!0}updateConfig(t){}}class X$ extends c_{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ml="$chartjs",Q$={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},sy=e=>e===null||e==="";function J$(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[ml]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",sy(i)){const o=W0(e,"width");o!==void 0&&(e.width=o)}if(sy(r))if(e.style.height==="")e.height=e.width/(t||2);else{const o=W0(e,"height");o!==void 0&&(e.height=o)}return e}const u_=Q5?{passive:!0}:!1;function Z$(e,t,n){e.addEventListener(t,n,u_)}function eN(e,t,n){e.canvas.removeEventListener(t,n,u_)}function tN(e,t){const n=Q$[e.type]||e.type,{x:r,y:i}=Gr(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:i!==void 0?i:null}}function cc(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function nN(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||cc(a.addedNodes,r),s=s&&!cc(a.removedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function rN(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||cc(a.removedNodes,r),s=s&&!cc(a.addedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const Gs=new Map;let ay=0;function d_(){const e=window.devicePixelRatio;e!==ay&&(ay=e,Gs.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function iN(e,t){Gs.size||window.addEventListener("resize",d_),Gs.set(e,t)}function oN(e){Gs.delete(e),Gs.size||window.removeEventListener("resize",d_)}function sN(e,t,n){const r=e.canvas,i=r&&qp(r);if(!i)return;const o=Kb((a,l)=>{const c=i.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return s.observe(i),iN(e,o),s}function Pd(e,t,n){n&&n.disconnect(),t==="resize"&&oN(e)}function aN(e,t,n){const r=e.canvas,i=Kb(o=>{e.ctx!==null&&n(tN(o,e))},e);return Z$(r,t,i),i}class lN extends c_{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(J$(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[ml])return!1;const r=n[ml].initial;["height","width"].forEach(o=>{const s=r[o];Ie(s)?n.removeAttribute(o):n.setAttribute(o,s)});const i=r.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[ml],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),s={attach:nN,detach:rN,resize:sN}[n]||aN;i[n]=s(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),i=r[n];if(!i)return;({attach:Pd,detach:Pd,resize:Pd}[n]||eN)(t,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,i){return X5(t,n,r,i)}isAttached(t){const n=qp(t);return!!(n&&n.isConnected)}}function cN(e){return!n_()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?X$:lN}var Ka;let xi=(Ka=class{constructor(){V(this,"x");V(this,"y");V(this,"active",!1);V(this,"options");V(this,"$animations")}tooltipPosition(t){const{x:n,y:r}=this.getProps(["x","y"],t);return{x:n,y:r}}hasValue(){return Hs(this.x)&&Hs(this.y)}getProps(t,n){const r=this.$animations;if(!n||!r)return this;const i={};return t.forEach(o=>{i[o]=r[o]&&r[o].active()?r[o]._to:this[o]}),i}},V(Ka,"defaults",{}),V(Ka,"defaultRoutes"),Ka);function uN(e,t){const n=e.options.ticks,r=dN(e),i=Math.min(n.maxTicksLimit||r,r),o=n.major.enabled?hN(t):[],s=o.length,a=o[0],l=o[s-1],c=[];if(s>i)return pN(t,c,o,s/i),c;const u=fN(o,t,i);if(s>0){let d,f;const h=s>1?Math.round((l-a)/(s-1)):null;for(za(t,c,u,Ie(h)?0:a-h,a),d=0,f=s-1;di)return l}return Math.max(i,1)}function hN(e){const t=[];let n,r;for(n=0,r=e.length;ne==="left"?"right":e==="right"?"left":e,ly=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,cy=(e,t)=>Math.min(t||e,e);function uy(e,t){const n=[],r=e.length/t,i=e.length;let o=0;for(;os+a)))return l}function vN(e,t){Oe(e,n=>{const r=n.gc,i=r.length/2;let o;if(i>t){for(o=0;or?r:n,r=i&&n>r?n:r,{min:Wt(n,Wt(r,n)),max:Wt(r,Wt(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ze(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:i,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=R5(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,h=kt(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/r:h/(r-1),d+6>a&&(a=h/(r-(t.offset?.5:1)),l=this.maxHeight-Wo(t.grid)-n.padding-dy(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),s=Wp(Math.min(Math.asin(kt((u.highest.height+6)/a,-1,1)),Math.asin(kt(l/c,-1,1))-Math.asin(kt(f/c,-1,1)))),s=Math.max(i,Math.min(o,s))),this.labelRotation=s}afterCalculateLabelRotation(){Ze(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ze(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=dy(i,n.options.font);if(a?(t.width=this.maxWidth,t.height=Wo(o)+l):(t.height=this.maxHeight,t.width=Wo(o)+l),r.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),h=r.padding*2,p=Ln(this.labelRotation),m=Math.cos(p),x=Math.sin(p);if(a){const g=r.mirror?0:x*d.width+m*f.height;t.height=Math.min(this.maxHeight,t.height+g+h)}else{const g=r.mirror?0:m*d.width+x*f.height;t.width=Math.min(this.maxWidth,t.width+g+h)}this._calculatePadding(c,u,x,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,i){const{ticks:{align:o,padding:s},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,h=0;l?c?(f=i*t.width,h=r*n.height):(f=r*t.height,h=i*n.width):o==="start"?h=n.width:o==="end"?f=t.width:o!=="inner"&&(f=t.width/2,h=n.width/2),this.paddingLeft=Math.max((f-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((h-d+s)*this.width/(this.width-d),0)}else{let u=n.height/2,d=t.height/2;o==="start"?(u=0,d=t.height):o==="end"&&(u=n.height,d=0),this.paddingTop=u+s,this.paddingBottom=d+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ze(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n({width:s[w]||0,height:a[w]||0});return{first:b(0),last:b(n-1),widest:b(R),highest:b(C),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return e5(this._alignToPixels?Br(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&ta*i?a/r:l/i:l*i0}_computeGridLineItems(t){const n=this.axis,r=this.chart,i=this.options,{grid:o,position:s,border:a}=i,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=Wo(o),h=[],p=a.setContext(this.getContext()),m=p.display?p.width:0,x=m/2,g=function(D){return Br(r,D,m)};let y,v,_,S,R,C,b,w,P,T,L,F;if(s==="top")y=g(this.bottom),C=this.bottom-f,w=y-x,T=g(t.top)+x,F=t.bottom;else if(s==="bottom")y=g(this.top),T=t.top,F=g(t.bottom)-x,C=y+x,w=this.top+f;else if(s==="left")y=g(this.right),R=this.right-f,b=y-x,P=g(t.left)+x,L=t.right;else if(s==="right")y=g(this.left),P=t.left,L=g(t.right)-x,R=y+x,b=this.left+f;else if(n==="x"){if(s==="center")y=g((t.top+t.bottom)/2+.5);else if(be(s)){const D=Object.keys(s)[0],A=s[D];y=g(this.chart.scales[D].getPixelForValue(A))}T=t.top,F=t.bottom,C=y+x,w=C+f}else if(n==="y"){if(s==="center")y=g((t.left+t.right)/2);else if(be(s)){const D=Object.keys(s)[0],A=s[D];y=g(this.chart.scales[D].getPixelForValue(A))}R=y-x,b=R-f,P=t.left,L=t.right}const $=Pe(i.ticks.maxTicksLimit,d),N=Math.max(1,Math.ceil(d/$));for(v=0;vo.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,s;const a=(l,c,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(n.display)for(o=0,s=i.length;o{this.draw(o)}}]:[{z:r,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let o,s;for(o=0,s=n.length;o{const r=n.split("."),i=r.pop(),o=[e].concat(r).join("."),s=t[n].split("."),a=s.pop(),l=s.join(".");it.route(o,i,l,a)})}function CN(e){return"id"in e&&"defaults"in e}class EN{constructor(){this.controllers=new Ba(si,"datasets",!0),this.elements=new Ba(xi,"elements"),this.plugins=new Ba(Object,"plugins"),this.scales=new Ba(bi,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(i=>{const o=r||this._getRegistryForType(i);r||o.isForType(i)||o===this.plugins&&i.id?this._exec(t,o,i):Oe(i,s=>{const a=r||this._getRegistryForType(s);this._exec(t,a,s)})})}_exec(t,n,r){const i=jp(t);Ze(r["before"+i],[],r),n[t](r),Ze(r["after"+i],[],r)}_getRegistryForType(t){for(let n=0;no.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,r),t,"stop"),this._notify(i(r,n),t,"start")}}function RN(e){const t={},n=[],r=Object.keys(Rn.plugins.items);for(let o=0;o1&&fy(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function hy(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function $N(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(n.length)return hy(e,"x",n[0])||hy(e,"y",n[0])}return{}}function NN(e,t){const n=mi[e.type]||{scales:{}},r=t.scales||{},i=Gf(e.type,t),o=Object.create(null);return Object.keys(r).forEach(s=>{const a=r[s];if(!be(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=Yf(s,a,$N(s,e),it.scales[a.type]),c=AN(l,i),u=n.scales||{};o[s]=ps(Object.create(null),[{axis:l},a,u[l],u[c]])}),e.data.datasets.forEach(s=>{const a=s.type||e.type,l=s.indexAxis||Gf(a,t),u=(mi[a]||{}).scales||{};Object.keys(u).forEach(d=>{const f=IN(d,l),h=s[f+"AxisID"]||f;o[h]=o[h]||Object.create(null),ps(o[h],[{axis:f},r[h],u[d]])})}),Object.keys(o).forEach(s=>{const a=o[s];ps(a,[it.scales[a.type],it.scale])}),o}function f_(e){const t=e.options||(e.options={});t.plugins=Pe(t.plugins,{}),t.scales=NN(e,t)}function h_(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function FN(e){return e=e||{},e.data=h_(e.data),f_(e),e}const py=new Map,p_=new Set;function ja(e,t){let n=py.get(e);return n||(n=t(),py.set(e,n),p_.add(n)),n}const Uo=(e,t,n)=>{const r=pi(t,n);r!==void 0&&e.add(r)};class DN{constructor(t){this._config=FN(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=h_(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),f_(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ja(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return ja(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return ja(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return ja(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let i=r.get(t);return(!i||n)&&(i=new Map,r.set(t,i)),i}getOptionScopes(t,n,r){const{options:i,type:o}=this,s=this._cachedScopes(t,r),a=s.get(n);if(a)return a;const l=new Set;n.forEach(u=>{t&&(l.add(t),u.forEach(d=>Uo(l,t,d))),u.forEach(d=>Uo(l,i,d)),u.forEach(d=>Uo(l,mi[o]||{},d)),u.forEach(d=>Uo(l,it,d)),u.forEach(d=>Uo(l,Vf,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),p_.has(n)&&s.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,mi[n]||{},it.datasets[n]||{},{type:n},it,Vf]}resolveNamedOptions(t,n,r,i=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=my(this._resolverCache,t,i);let l=s;if(BN(s,n)){o.$shared=!1,r=Ir(r)?r():r;const c=this.createResolver(t,r,a);l=po(s,r,c)}for(const c of n)o[c]=l[c];return o}createResolver(t,n,r=[""],i){const{resolver:o}=my(this._resolverCache,t,r);return be(n)?po(o,n,void 0,i):o}}function my(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let o=r.get(i);return o||(o={resolver:Kp(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},r.set(i,o)),o}const zN=e=>be(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||Ir(e[n]),!1);function BN(e,t){const{isScriptable:n,isIndexable:r}=Qb(e);for(const i of t){const o=n(i),s=r(i),a=(s||o)&&e[i];if(o&&(Ir(a)||zN(a))||s&&Ke(a))return!0}return!1}var jN="4.4.0";const WN=["top","bottom","left","right","chartArea"];function gy(e,t){return e==="top"||e==="bottom"||WN.indexOf(e)===-1&&t==="x"}function yy(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function vy(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Ze(n&&n.onComplete,[e],t)}function UN(e){const t=e.chart,n=t.options.animation;Ze(n&&n.onProgress,[e],t)}function m_(e){return n_()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const gl={},xy=e=>{const t=m_(e);return Object.values(gl).filter(n=>n.canvas===t).pop()};function VN(e,t,n){const r=Object.keys(e);for(const i of r){const o=+i;if(o>=t){const s=e[i];delete e[i],(n>0||o>t)&&(e[o+n]=s)}}}function HN(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}function Wa(e,t,n){return e.options.clip?e[n]:t[n]}function KN(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:Wa(n,t,"left"),right:Wa(n,t,"right"),top:Wa(r,t,"top"),bottom:Wa(r,t,"bottom")}:t}var cr;let Tu=(cr=class{static register(...t){Rn.add(...t),by()}static unregister(...t){Rn.remove(...t),by()}constructor(t,n){const r=this.config=new DN(n),i=m_(t),o=xy(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||cN(i)),this.platform.updateConfig(r);const a=this.platform.acquireContext(i,s.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=WL(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new PN,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=i5(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],gl[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Un.listen(this,"complete",vy),Un.listen(this,"progress",UN),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:i,_aspectRatio:o}=this;return Ie(t)?n&&o?o:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Rn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():j0(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return D0(this.canvas,this.ctx),this}stop(){return Un.stop(this),this}resize(t,n){Un.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,t,n,o),a=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,j0(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),Ze(r.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Oe(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,i=Object.keys(r).reduce((s,a)=>(s[a]=!1,s),{});let o=[];n&&(o=o.concat(Object.keys(n).map(s=>{const a=n[s],l=Yf(s,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Oe(o,s=>{const a=s.options,l=a.id,c=Yf(l,a),u=Pe(a.type,s.dtype);(a.position===void 0||gy(a.position,c)!==gy(s.dposition))&&(a.position=s.dposition),i[l]=!0;let d=null;if(l in r&&r[l].type===u)d=r[l];else{const f=Rn.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),r[d.id]=d}d.init(a,t)}),Oe(i,(s,a)=>{s||delete r[a]}),Oe(r,s=>{Da.configure(this,s,s.options),Da.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((i,o)=>i.index-o.index),r>n){for(let i=n;in.length&&delete this._stacks,t.forEach((r,i)=>{n.filter(o=>o===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(yy("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Oe(this.scales,t=>{Da.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!R0(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:o}of n){const s=r==="_removeElements"?-o:o;VN(t,i,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=o=>new Set(t.filter(s=>s[0]===o).map((s,a)=>a+","+s.splice(1).join(","))),i=r(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Da.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Oe(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,i=!r.disabled,o=KN(t,this.chartArea),s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&Yb(n,{left:r.left===!1?0:o.left-r.left,right:r.right===!1?this.width:o.right+r.right,top:r.top===!1?0:o.top-r.top,bottom:r.bottom===!1?this.height:o.bottom+r.bottom}),t.controller.draw(),i&&qb(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return Xn(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,i){const o=W$.modes[n];return typeof o=="function"?o(this,t,r,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let i=r.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=Nr(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const i=r?"show":"hide",o=this.getDatasetMeta(t),s=o.controller._resolveAnimations(void 0,i);Vs(n)?(o.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(o,{visible:r}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Un.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,o,s),t[o]=s},i=(o,s,a)=>{o.offsetX=s,o.offsetY=a,this._eventHandler(o)};Oe(this.options.events,o=>r(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},i=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let s;const a=()=>{i("attach",a),this.attached=!0,this.resize(),r("resize",o),r("detach",s)};s=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),r("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){Oe(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},Oe(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const i=r?"set":"remove";let o,s,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[s],index:s}});!tc(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,r){const i=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),s=o(n,t),a=r?t:o(t,n);s.length&&this.updateHoverStyle(s,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const o=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(o||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:i=[],options:o}=this,s=n,a=this._getActiveElements(t,i,r,s),l=YL(t),c=HN(t,this._lastEvent,r,l);r&&(this._lastEvent=null,Ze(o.onHover,[t,a,this],this),l&&Ze(o.onClick,[t,a,this],this));const u=!tc(a,i);return(u||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,u}_getActiveElements(t,n,r,i){if(t.type==="mouseout")return[];if(!r)return n;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,i)}},V(cr,"defaults",it),V(cr,"instances",gl),V(cr,"overrides",mi),V(cr,"registry",Rn),V(cr,"version",jN),V(cr,"getChart",xy),cr);function by(){return Oe(Tu.instances,e=>e._plugins.invalidate())}function GN(e,t,n){const{startAngle:r,pixelMargin:i,x:o,y:s,outerRadius:a,innerRadius:l}=t;let c=i/a;e.beginPath(),e.arc(o,s,a,r-c,n+c),l>i?(c=i/l,e.arc(o,s,l,n+c,r-c,!0)):e.arc(o,s,i,n+rt,r-rt),e.closePath(),e.clip()}function YN(e){return Hp(e,["outerStart","outerEnd","innerStart","innerEnd"])}function qN(e,t,n,r){const i=YN(e.options.borderRadius),o=(n-t)/2,s=Math.min(o,r*t/2),a=l=>{const c=(n-Math.min(o,l))*r/2;return kt(l,0,Math.min(o,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:kt(i.innerStart,0,s),innerEnd:kt(i.innerEnd,0,s)}}function Oi(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function uc(e,t,n,r,i,o){const{x:s,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-c,0),f=u>0?u+r+n+c:0;let h=0;const p=i-l;if(r){const N=u>0?u-r:0,D=d>0?d-r:0,A=(N+D)/2,O=A!==0?p*A/(A+r):p;h=(p-O)/2}const m=Math.max(.001,p*d-n/tt)/d,x=(p-m)/2,g=l+x+h,y=i-x-h,{outerStart:v,outerEnd:_,innerStart:S,innerEnd:R}=qN(t,f,d,y-g),C=d-v,b=d-_,w=g+v/C,P=y-_/b,T=f+S,L=f+R,F=g+S/T,$=y-R/L;if(e.beginPath(),o){const N=(w+P)/2;if(e.arc(s,a,d,w,N),e.arc(s,a,d,N,P),_>0){const I=Oi(b,P,s,a);e.arc(I.x,I.y,_,P,y+rt)}const D=Oi(L,y,s,a);if(e.lineTo(D.x,D.y),R>0){const I=Oi(L,$,s,a);e.arc(I.x,I.y,R,y+rt,$+Math.PI)}const A=(y-R/f+(g+S/f))/2;if(e.arc(s,a,f,y-R/f,A,!0),e.arc(s,a,f,A,g+S/f,!0),S>0){const I=Oi(T,F,s,a);e.arc(I.x,I.y,S,F+Math.PI,g-rt)}const O=Oi(C,g,s,a);if(e.lineTo(O.x,O.y),v>0){const I=Oi(C,w,s,a);e.arc(I.x,I.y,v,g-rt,w)}}else{e.moveTo(s,a);const N=Math.cos(w)*d+s,D=Math.sin(w)*d+a;e.lineTo(N,D);const A=Math.cos(P)*d+s,O=Math.sin(P)*d+a;e.lineTo(A,O)}e.closePath()}function XN(e,t,n,r,i){const{fullCircles:o,startAngle:s,circumference:a}=t;let l=t.endAngle;if(o){uc(e,t,n,r,l,i);for(let c=0;c=Ve||Ks(s,l,c),x=ic(a,u+h,d+h);return m&&x}getCenterPoint(n){const{x:r,y:i,startAngle:o,endAngle:s,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:c,spacing:u}=this.options,d=(o+s)/2,f=(a+l+u+c)/2;return{x:r+Math.cos(d)*f,y:i+Math.sin(d)*f}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:r,circumference:i}=this,o=(r.offset||0)/4,s=(r.spacing||0)/2,a=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=i>Ve?Math.floor(i/Ve):0,i===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const l=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min(tt,i||0)),u=o*c;n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,XN(n,this,u,s,a),QN(n,this,u,s,a),n.restore()}}V(Jo,"id","arc"),V(Jo,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),V(Jo,"defaultRoutes",{backgroundColor:"backgroundColor"}),V(Jo,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function g_(e,t,n=t){e.lineCap=Pe(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Pe(n.borderDash,t.borderDash)),e.lineDashOffset=Pe(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Pe(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Pe(n.borderWidth,t.borderWidth),e.strokeStyle=Pe(n.borderColor,t.borderColor)}function JN(e,t,n){e.lineTo(n.x,n.y)}function ZN(e){return e.stepped?x5:e.tension||e.cubicInterpolationMode==="monotone"?b5:JN}function y_(e,t,n={}){const r=e.length,{start:i=0,end:o=r-1}=n,{start:s,end:a}=t,l=Math.max(i,s),c=Math.min(o,a),u=ia&&o>a;return{count:r,start:l,loop:t.loop,ilen:c(s+(c?a-_:_))%o,v=()=>{m!==x&&(e.lineTo(u,x),e.lineTo(u,m),e.lineTo(u,g))};for(l&&(h=i[y(0)],e.moveTo(h.x,h.y)),f=0;f<=a;++f){if(h=i[y(f)],h.skip)continue;const _=h.x,S=h.y,R=_|0;R===p?(Sx&&(x=S),u=(d*u+_)/++d):(v(),e.lineTo(_,S),p=R,d=0,m=x=S),g=S}v()}function qf(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?tF:eF}function nF(e){return e.stepped?J5:e.tension||e.cubicInterpolationMode==="monotone"?Z5:Yr}function rF(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),g_(e,t.options),e.stroke(i)}function iF(e,t,n,r){const{segments:i,options:o}=t,s=qf(t);for(const a of i)g_(e,o,a.style),e.beginPath(),s(e,t,a,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const oF=typeof Path2D=="function";function sF(e,t,n,r){oF&&!t.options.segment?rF(e,t,n,r):iF(e,t,n,r)}class Zo extends xi{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;V5(this._points,r,t,i,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=c$(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,i=t[n],o=this.points,s=s$(this,{property:n,start:i,end:i});if(!s.length)return;const a=[],l=nF(r);let c,u;for(c=0,u=s.length;ct!=="borderDash"&&t!=="fill"});function _y(e,t,n,r){const i=e.options,{[n]:o}=e.getProps([n],r);return Math.abs(t-o)-1?e.split(` -`):e}function fF(e,t){const{element:n,datasetIndex:r,index:i}=t,o=e.getDatasetMeta(r).controller,{label:s,value:a}=o.getLabelAndValue(i);return{chart:e,label:s,parsed:o.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Sy(e,t){const n=e.chart.ctx,{body:r,footer:i,title:o}=e,{boxWidth:s,boxHeight:a}=t,l=Yt(t.bodyFont),c=Yt(t.titleFont),u=Yt(t.footerFont),d=o.length,f=i.length,h=r.length,p=hn(t.padding);let m=p.height,x=0,g=r.reduce((_,S)=>_+S.before.length+S.lines.length+S.after.length,0);if(g+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),g){const _=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=h*_+(g-h)*l.lineHeight+(g-1)*t.bodySpacing}f&&(m+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let y=0;const v=function(_){x=Math.max(x,n.measureText(_).width+y)};return n.save(),n.font=c.string,Oe(e.title,v),n.font=l.string,Oe(e.beforeBody.concat(e.afterBody),v),y=t.displayColors?s+2+t.boxPadding:0,Oe(r,_=>{Oe(_.before,v),Oe(_.lines,v),Oe(_.after,v)}),y=0,n.font=u.string,Oe(e.footer,v),n.restore(),x+=p.width,{width:x,height:m}}function hF(e,t){const{y:n,height:r}=t;return ne.height-r/2?"bottom":"center"}function pF(e,t,n,r){const{x:i,width:o}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&i+o+s>t.width||e==="right"&&i-o-s<0)return!0}function mF(e,t,n,r){const{x:i,width:o}=n,{width:s,chartArea:{left:a,right:l}}=e;let c="center";return r==="center"?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=s-o/2&&(c="right"),pF(c,e,t,n)&&(c="center"),c}function wy(e,t,n){const r=n.yAlign||t.yAlign||hF(e,n);return{xAlign:n.xAlign||t.xAlign||mF(e,t,n,r),yAlign:r}}function gF(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function yF(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function ky(e,t,n,r){const{caretSize:i,caretPadding:o,cornerRadius:s}=e,{xAlign:a,yAlign:l}=n,c=i+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=to(s);let p=gF(t,a);const m=yF(t,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(u,f)+i:a==="right"&&(p+=Math.max(d,h)+i),{x:kt(p,0,r.width-t.width),y:kt(m,0,r.height-t.height)}}function Ua(e,t,n){const r=hn(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function Cy(e){return En([],Vn(e))}function vF(e,t,n){return Nr(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Ey(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const x_={beforeTitle:Wn,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex"u"?x_[t].call(n,r):i}class Qf extends xi{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,o=new i_(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=vF(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=At(r,"beforeTitle",this,t),o=At(r,"title",this,t),s=At(r,"afterTitle",this,t);let a=[];return a=En(a,Vn(i)),a=En(a,Vn(o)),a=En(a,Vn(s)),a}getBeforeBody(t,n){return Cy(At(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:r}=n,i=[];return Oe(t,o=>{const s={before:[],lines:[],after:[]},a=Ey(r,o);En(s.before,Vn(At(a,"beforeLabel",this,o))),En(s.lines,At(a,"label",this,o)),En(s.after,Vn(At(a,"afterLabel",this,o))),i.push(s)}),i}getAfterBody(t,n){return Cy(At(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:r}=n,i=At(r,"beforeFooter",this,t),o=At(r,"footer",this,t),s=At(r,"afterFooter",this,t);let a=[];return a=En(a,Vn(i)),a=En(a,Vn(o)),a=En(a,Vn(s)),a}_createItems(t){const n=this._active,r=this.chart.data,i=[],o=[],s=[];let a=[],l,c;for(l=0,c=n.length;lt.filter(u,d,f,r))),t.itemSort&&(a=a.sort((u,d)=>t.itemSort(u,d,r))),Oe(a,u=>{const d=Ey(t.callbacks,u);i.push(At(d,"labelColor",this,u)),o.push(At(d,"labelPointStyle",this,u)),s.push(At(d,"labelTextColor",this,u))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const r=this.options.setContext(this.getContext()),i=this._active;let o,s=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const a=es[r.position].call(this,i,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const l=this._size=Sy(this,r),c=Object.assign({},a,l),u=wy(this.chart,r,c),d=ky(r,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,i){const o=this.getCaretPosition(t,r,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(t,n,r){const{xAlign:i,yAlign:o}=this,{caretSize:s,cornerRadius:a}=r,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=to(a),{x:f,y:h}=t,{width:p,height:m}=n;let x,g,y,v,_,S;return o==="center"?(_=h+m/2,i==="left"?(x=f,g=x-s,v=_+s,S=_-s):(x=f+p,g=x+s,v=_-s,S=_+s),y=x):(i==="left"?g=f+Math.max(l,u)+s:i==="right"?g=f+p-Math.max(c,d)-s:g=this.caretX,o==="top"?(v=h,_=v-s,x=g-s,y=g+s):(v=h+m,_=v+s,x=g+s,y=g-s),S=v),{x1:x,x2:g,x3:y,y1:v,y2:_,y3:S}}drawTitle(t,n,r){const i=this.title,o=i.length;let s,a,l;if(o){const c=Sd(r.rtl,this.x,this.width);for(t.x=Ua(this,r.titleAlign,r),n.textAlign=c.textAlign(r.titleAlign),n.textBaseline="middle",s=Yt(r.titleFont),a=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,l=0;ly!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,lc(t,{x:m,y:p,w:c,h:l,radius:g}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),lc(t,{x,y:p+1,w:c-2,h:l-2,radius:g}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(m,p,c,l),t.strokeRect(m,p,c,l),t.fillStyle=s.backgroundColor,t.fillRect(x,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:i}=this,{bodySpacing:o,bodyAlign:s,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=r,d=Yt(r.bodyFont);let f=d.lineHeight,h=0;const p=Sd(r.rtl,this.x,this.width),m=function(b){n.fillText(b,p.x(t.x+h),t.y+f/2),t.y+=f+o},x=p.textAlign(s);let g,y,v,_,S,R,C;for(n.textAlign=s,n.textBaseline="middle",n.font=d.string,t.x=Ua(this,x,r),n.fillStyle=r.bodyColor,Oe(this.beforeBody,m),h=a&&x!=="right"?s==="center"?c/2+u:c+2+u:0,_=0,R=i.length;_0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,i=r&&r.x,o=r&&r.y;if(i||o){const s=es[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=Sy(this,t),l=Object.assign({},s,this._size),c=wy(n,t,l),u=ky(t,l,c,n);(i._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=hn(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(o,t,i,n),n$(t,n.textDirection),o.y+=s.top,this.drawTitle(o,t,n),this.drawBody(o,t,n),this.drawFooter(o,t,n),r$(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,i=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!nc(r,i),s=this._positionChanged(i,n);(o||s)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],s=this._getActiveElements(t,o,n,r),a=this._positionChanged(s,t),l=n||!nc(s,o)||a;return l&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,r,i){const o=this.options;if(t.type==="mouseout")return[];if(!i)return n;const s=this.chart.getElementsAtEventForMode(t,o.mode,o,r);return o.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:r,caretY:i,options:o}=this,s=es[o.position].call(this,t,n);return s!==!1&&(r!==s.x||i!==s.y)}}V(Qf,"positioners",es);var xF={id:"tooltip",_element:Qf,positioners:es,afterInit(e,t,n){n&&(e.tooltip=new Qf({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:x_},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const bF=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function _F(e,t,n,r){const i=e.indexOf(t);if(i===-1)return bF(e,t,n,r);const o=e.lastIndexOf(t);return i!==o?n:i}const SF=(e,t)=>e===null?null:kt(Math.round(e),0,t);function Py(e){const t=this.getLabels();return e>=0&&en.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}V(Jf,"id","category"),V(Jf,"defaults",{ticks:{callback:Py}});function wF(e,t){const n=[],{bounds:i,step:o,min:s,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=e,h=o||1,p=u-1,{min:m,max:x}=t,g=!Ie(s),y=!Ie(a),v=!Ie(c),_=(x-m)/(d+1);let S=T0((x-m)/p/h)*h,R,C,b,w;if(S<1e-14&&!g&&!y)return[{value:m},{value:x}];w=Math.ceil(x/S)-Math.floor(m/S),w>p&&(S=T0(w*S/p/h)*h),Ie(l)||(R=Math.pow(10,l),S=Math.ceil(S*R)/R),i==="ticks"?(C=Math.floor(m/S)*S,b=Math.ceil(x/S)*S):(C=m,b=x),g&&y&&o&&JL((a-s)/o,S/1e3)?(w=Math.round(Math.min((a-s)/S,u)),S=(a-s)/w,C=s,b=a):v?(C=g?s:C,b=y?a:b,w=c-1,S=(b-C)/w):(w=(b-C)/S,ms(w,Math.round(w),S/1e3)?w=Math.round(w):w=Math.ceil(w));const P=Math.max(O0(S),O0(C));R=Math.pow(10,Ie(l)?P:l),C=Math.round(C*R)/R,b=Math.round(b*R)/R;let T=0;for(g&&(f&&C!==s?(n.push({value:s}),Ca)break;n.push({value:L})}return y&&f&&b!==a?n.length&&ms(n[n.length-1].value,a,Ry(a,_,e))?n[n.length-1].value=a:n.push({value:a}):(!y||b===a)&&n.push({value:b}),n}function Ry(e,t,{horizontal:n,minRotation:r}){const i=Ln(r),o=(n?Math.sin(i):Math.cos(i))||.001,s=.75*t*(""+e).length;return Math.min(t/o,s)}class fc extends bi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Ie(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:i,max:o}=this;const s=l=>i=n?i:l,a=l=>o=r?o:l;if(t){const l=zn(i),c=zn(o);l<0&&c<0?a(0):l>0&&c>0&&s(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||s(i-l)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,s=wF(i,o);return t.bounds==="ticks"&&jb(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const i=(r-n)/Math.max(t.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return Ru(t,this.chart.options.locale,this.options.ticks.format)}}class Zf extends fc{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=ht(t)?t:0,this.max=ht(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=Ln(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}V(Zf,"id","linear"),V(Zf,"defaults",{ticks:{callback:Mu.formatters.numeric}});const Ys=e=>Math.floor(yr(e)),Wr=(e,t)=>Math.pow(10,Ys(e)+t);function My(e){return e/Math.pow(10,Ys(e))===1}function Ty(e,t,n){const r=Math.pow(10,n),i=Math.floor(e/r);return Math.ceil(t/r)-i}function kF(e,t){const n=t-e;let r=Ys(n);for(;Ty(e,t,r)>10;)r++;for(;Ty(e,t,r)<10;)r--;return Math.min(r,Ys(e))}function CF(e,{min:t,max:n}){t=Wt(e.min,t);const r=[],i=Ys(t);let o=kF(t,n),s=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=i>o?Math.pow(10,i):0,c=Math.round((t-l)*s)/s,u=Math.floor((t-l)/a/10)*a*10;let d=Math.floor((c-u)/Math.pow(10,o)),f=Wt(e.min,Math.round((l+u+d*Math.pow(10,o))*s)/s);for(;f=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,s=o>=0?1:s),f=Math.round((l+u+d*Math.pow(10,o))*s)/s;const h=Wt(e.max,f);return r.push({value:h,major:My(h),significand:d}),r}class Oy extends bi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const r=fc.prototype.parse.apply(this,[t,n]);if(r===0){this._zero=!0;return}return ht(r)&&r>0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=ht(t)?Math.max(0,t):null,this.max=ht(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!ht(this._userMin)&&(this.min=t===Wr(this.min,0)?Wr(this.min,-1):Wr(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,i=this.max;const o=a=>r=t?r:a,s=a=>i=n?i:a;r===i&&(r<=0?(o(1),s(10)):(o(Wr(r,-1)),s(Wr(i,1)))),r<=0&&o(Wr(i,-1)),i<=0&&s(Wr(r,1)),this.min=r,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=CF(n,this);return t.bounds==="ticks"&&jb(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":Ru(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=yr(t),this._valueRange=yr(this.max)-yr(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(yr(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}V(Oy,"id","logarithmic"),V(Oy,"defaults",{ticks:{callback:Mu.formatters.logarithmic,major:{enabled:!0}}});function eh(e){const t=e.ticks;if(t.display&&e.display){const n=hn(t.backdropPadding);return Pe(t.font&&t.font.size,it.font.size)+n.height}return 0}function EF(e,t,n){return n=Ke(n)?n:[n],{w:y5(e,t.string,n),h:n.length*t.lineHeight}}function Iy(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function PF(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],o=e._pointLabels.length,s=e.options.pointLabels,a=s.centerPointLabels?tt/o:0;for(let l=0;lt.r&&(a=(r.end-t.r)/o,e.r=Math.max(e.r,t.r+a)),i.startt.b&&(l=(i.end-t.b)/s,e.b=Math.max(e.b,t.b+l))}function MF(e,t,n){const r=e.drawingArea,{extra:i,additionalAngle:o,padding:s,size:a}=n,l=e.getPointPosition(t,r+i+s,o),c=Math.round(Up(vn(l.angle+rt))),u=LF(l.y,a.h,c),d=IF(c),f=AF(l.x,a.w,d);return{visible:!0,x:l.x,y:u,textAlign:d,left:f,top:u,right:f+a.w,bottom:u+a.h}}function TF(e,t){if(!t)return!0;const{left:n,top:r,right:i,bottom:o}=e;return!(Xn({x:n,y:r},t)||Xn({x:n,y:o},t)||Xn({x:i,y:r},t)||Xn({x:i,y:o},t))}function OF(e,t,n){const r=[],i=e._pointLabels.length,o=e.options,{centerPointLabels:s,display:a}=o.pointLabels,l={extra:eh(o)/2,additionalAngle:s?tt/i:0};let c;for(let u=0;u270||n<90)&&(e-=t),e}function $F(e,t,n){const{left:r,top:i,right:o,bottom:s}=n,{backdropColor:a}=t;if(!Ie(a)){const l=to(t.borderRadius),c=hn(t.backdropPadding);e.fillStyle=a;const u=r-c.left,d=i-c.top,f=o-r+c.width,h=s-i+c.height;Object.values(l).some(p=>p!==0)?(e.beginPath(),lc(e,{x:u,y:d,w:f,h,radius:l}),e.fill()):e.fillRect(u,d,f,h)}}function NF(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){const o=e._pointLabelItems[i];if(!o.visible)continue;const s=r.setContext(e.getPointLabelContext(i));$F(n,s,o);const a=Yt(s.font),{x:l,y:c,textAlign:u}=o;ac(n,e._pointLabels[i],l,c+a.lineHeight/2,a,{color:s.color,textAlign:u,textBaseline:"middle"})}}function b_(e,t,n,r){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,Ve);else{let o=e.getPointPosition(0,t);i.moveTo(o.x,o.y);for(let s=1;s{const i=Ze(this.options.pointLabels.callback,[n,r],this);return i||i===0?i:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?PF(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,i))}getIndexAngle(t){const n=Ve/(this._pointLabels.length||1),r=this.options.startAngle||0;return vn(t*n+Ln(r))}getDistanceFromCenterForValue(t){if(Ie(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(Ie(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(d!==0){l=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(d),h=i.setContext(f),p=o.setContext(f);FF(this,h,l,s,p)}}),r.display){for(t.save(),a=s-1;a>=0;a--){const u=r.setContext(this.getPointLabelContext(a)),{color:d,lineWidth:f}=u;!f||!d||(t.lineWidth=f,t.strokeStyle=d,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let o,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=r.setContext(this.getContext(l)),u=Yt(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,s=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const d=hn(c.backdropPadding);t.fillRect(-s/2-d.left,-o-u.size/2-d.top,s+d.width,u.size+d.height)}ac(t,a.label,0,-o,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}}V(Va,"id","radialLinear"),V(Va,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Mu.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),V(Va,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),V(Va,"descriptors",{angleLines:{_fallback:"grid"}});const Iu={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},$t=Object.keys(Iu);function Ay(e,t){return e-t}function Ly(e,t){if(Ie(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:o}=e._parseOpts;let s=t;return typeof r=="function"&&(s=r(s)),ht(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(i&&(s=i==="week"&&(Hs(o)||o===!0)?n.startOf(s,"isoWeek",o):n.startOf(s,i)),+s)}function $y(e,t,n,r){const i=$t.length;for(let o=$t.indexOf(e);o=$t.indexOf(n);o--){const s=$t[o];if(Iu[s].common&&e._adapter.diff(i,r,s)>=t-1)return s}return $t[n?$t.indexOf(n):0]}function BF(e){for(let t=$t.indexOf(e)+1,n=$t.length;t=t?n[r]:n[i];e[o]=!0}}function jF(e,t,n,r){const i=e._adapter,o=+i.startOf(t[0].value,r),s=t[t.length-1].value;let a,l;for(a=o;a<=s;a=+i.add(a,1,r))l=n[a],l>=0&&(t[l].major=!0);return t}function Fy(e,t,n){const r=[],i={},o=t.length;let s,a;for(s=0;s+t.value))}initOffsets(t=[]){let n=0,r=0,i,o;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?r=o:r=(o-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=kt(n,0,s),r=kt(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,i=this.options,o=i.time,s=o.unit||$y(o.minUnit,n,r,this._getLabelCapacity(n)),a=Pe(i.ticks.stepSize,1),l=s==="week"?o.isoWeekday:!1,c=Hs(l)||l===!0,u={};let d=n,f,h;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":s),t.diff(r,n,s)>1e5*a)throw new Error(n+" and "+r+" are too far apart with stepSize of "+a+" "+s);const p=i.ticks.source==="data"&&this.getDataTimestamps();for(f=d,h=0;f+m)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}format(t,n){const i=this.options.time.displayFormats,o=this._unit,s=n||i[o];return this._adapter.format(t,s)}_tickFormatFunction(t,n,r,i){const o=this.options,s=o.ticks.callback;if(s)return Ze(s,[t,n,r],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],d=c&&a[c],f=r[n],h=c&&d&&f&&f.major;return this._adapter.format(t,i||(h?d:u))}generateTickLabels(t){let n,r,i;for(n=0,r=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=ni(e,"pos",t)),{pos:o,time:a}=e[r],{pos:s,time:l}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=ni(e,"time",t)),{time:o,pos:a}=e[r],{time:s,pos:l}=e[i]);const c=s-o;return c?a+(l-a)*(t-o)/c:a}class Dy extends hc{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=Ha(n,this.min),this._tableRange=Ha(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,i=[],o=[];let s,a,l,c,u;for(s=0,a=t.length;s=n&&c<=r&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,a=i.length;si-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?t=this.normalize(n.concat(r)):t=n.length?n:r,t=this._cache.all=t,t}getDecimalForValue(t){return(Ha(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return Ha(this._table,r*this._tableRange+this._minPos,!0)}}V(Dy,"id","timeseries"),V(Dy,"defaults",hc.defaults);const __="label";function zy(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function WF(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function S_(e,t){e.labels=t}function w_(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:__;const r=[];e.datasets=t.map(i=>{const o=e.datasets.find(s=>s[n]===i[n]);return!o||!i.data||r.includes(o)?{...i}:(r.push(o),Object.assign(o,i),o)})}function UF(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:__;const n={labels:[],datasets:[]};return S_(n,e.labels),w_(n,e.datasets,t),n}function VF(e,t){const{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:o,type:s,data:a,options:l,plugins:c=[],fallbackContent:u,updateMode:d,...f}=e,h=k.useRef(null),p=k.useRef(),m=()=>{h.current&&(p.current=new Ou(h.current,{type:s,data:UF(a,o),options:l&&{...l},plugins:c}),zy(t,p.current))},x=()=>{zy(t,null),p.current&&(p.current.destroy(),p.current=null)};return k.useEffect(()=>{!i&&p.current&&l&&WF(p.current,l)},[i,l]),k.useEffect(()=>{!i&&p.current&&S_(p.current.config.data,a.labels)},[i,a.labels]),k.useEffect(()=>{!i&&p.current&&a.datasets&&w_(p.current.config.data,a.datasets,o)},[i,a.datasets]),k.useEffect(()=>{p.current&&(i?(x(),setTimeout(m)):p.current.update(d))},[i,l,a.labels,a.datasets,d]),k.useEffect(()=>{p.current&&(x(),setTimeout(m))},[s]),k.useEffect(()=>(m(),()=>x()),[]),Ht.createElement("canvas",Object.assign({ref:h,role:"img",height:n,width:r},f),u)}const HF=k.forwardRef(VF);function Jp(e,t){return Ou.register(t),k.forwardRef((n,r)=>Ht.createElement(HF,Object.assign({},n,{ref:r,type:e})))}const KF=Jp("line",pl),GF=Jp("bar",hl),YF=Jp("pie",Gf);Ou.register(Jf,Zf,yl,Zo,vl,Jo,xF);function qF(){const{Meteorites:e}=k.useContext($b),t={},n={},r={"0-100":0,"100-1000":0,"1000-10000":0,"10000-100000":0,"100000-1000000":0,"1000000-10000000":0},o={plugins:{tooltip:{enabled:!0,callbacks:{label:c=>{let u=c.dataset.label||"";return u&&(u+=": "),u+=c.parsed.y,u}}}}};e().sort((c,u)=>c.year-u.year).map(c=>{c.year in t?t[c.year]+=1:t[c.year]=1}),e().map(c=>{c.recclass in n?n[c.recclass]+=1:n[c.recclass]=1}),e().map(c=>{Object.keys(r).map(u=>{c["mass (g)"]>=Number(u.split("-")[0])&&c["mass (g)"]<=Number(u.split("-")[1])&&(r[u]+=1)})});const s={labels:Object.keys(t),datasets:[{data:Object.values(t),fill:!1,borderColor:"rgb(75, 192, 192)",tension:.1}]},a={labels:Object.keys(n),datasets:[{data:Object.values(n),fill:!1,backgroundColor:["rgb(75, 192, 192)","#eee"],tension:.1}]},l={labels:Object.keys(r),datasets:[{data:Object.values(r),fill:!1,borderColor:"rgb(75, 192, 192)",tension:.1}]};return M.jsxs(Hi,{container:!0,sx:{padding:1,alignItems:"center"},children:[M.jsx(Hi,{item:!0,xs:12,children:M.jsx(KF,{data:s,options:o,style:{width:"100%",height:"100%",margin:10}})}),M.jsx(Hi,{item:!0,xs:12,md:6,children:M.jsx(YF,{data:a,style:{width:"100%",height:"100%",margin:10}})}),M.jsx(Hi,{item:!0,xs:12,md:6,children:M.jsx(GF,{data:l,options:o,style:{width:"100%",height:"100%",margin:10}})})]})}function XF(){return M.jsx(qF,{})}const QF=hp({palette:{primary:{main:"#2A8B8D"},secondary:{main:"#222222"}},typography:{fontFamily:'"Manrope", sans-serif'}});function JF(){return M.jsxs(N2,{theme:O2(QF),children:[M.jsx(SI,{}),M.jsx(tA,{}),M.jsx(XF,{})]})}Od.createRoot(document.getElementById("root")).render(M.jsx(VI,{children:M.jsx(xL,{children:M.jsx(JF,{})})}));export{jE as $,$e as A,Ao as B,fo as C,ar as D,Dr as E,Gt as F,MR as G,uo as H,sp as I,yC as J,tD as K,vi as L,Bg as M,bo as N,Zl as O,zx as P,nD as Q,E2 as R,Fr as S,An as T,ou as U,tx as V,pT as W,UP as X,iM as Y,WE as Z,E as _,Kc as a,ZO as a0,$f as a1,Mi as a2,xp as a3,Xl as a4,Or as a5,WT as a6,zT as a7,ZP as a8,Xh as a9,Z2 as aA,VP as aB,Hi as aC,tR as aD,vp as aE,Tr as aa,Tc as ab,nu as ac,yM as ad,sI as ae,Af as af,Jl as ag,kT as ah,gL as ai,$b as aj,fb as ak,Nx as al,K2 as am,Ht as an,Fx as ao,zR as ap,CM as aq,AR as ar,Px as as,FE as at,xl as au,ol as av,yu as aw,P_ as ax,th as ay,OT as az,kx as b,tu as c,Xt as d,dp as e,ee as f,se as g,fn as h,na as i,M as j,Me as k,_e as l,eD as m,ra as n,Et as o,Zr as p,Bt as q,k as r,NE as s,ex as t,Ox as u,Hl as v,Vl as w,we as x,ne as y,re as z}; +`):e}function fF(e,t){const{element:n,datasetIndex:r,index:i}=t,o=e.getDatasetMeta(r).controller,{label:s,value:a}=o.getLabelAndValue(i);return{chart:e,label:s,parsed:o.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Sy(e,t){const n=e.chart.ctx,{body:r,footer:i,title:o}=e,{boxWidth:s,boxHeight:a}=t,l=Yt(t.bodyFont),c=Yt(t.titleFont),u=Yt(t.footerFont),d=o.length,f=i.length,h=r.length,p=hn(t.padding);let m=p.height,x=0,g=r.reduce((_,S)=>_+S.before.length+S.lines.length+S.after.length,0);if(g+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),g){const _=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=h*_+(g-h)*l.lineHeight+(g-1)*t.bodySpacing}f&&(m+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let y=0;const v=function(_){x=Math.max(x,n.measureText(_).width+y)};return n.save(),n.font=c.string,Oe(e.title,v),n.font=l.string,Oe(e.beforeBody.concat(e.afterBody),v),y=t.displayColors?s+2+t.boxPadding:0,Oe(r,_=>{Oe(_.before,v),Oe(_.lines,v),Oe(_.after,v)}),y=0,n.font=u.string,Oe(e.footer,v),n.restore(),x+=p.width,{width:x,height:m}}function hF(e,t){const{y:n,height:r}=t;return ne.height-r/2?"bottom":"center"}function pF(e,t,n,r){const{x:i,width:o}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&i+o+s>t.width||e==="right"&&i-o-s<0)return!0}function mF(e,t,n,r){const{x:i,width:o}=n,{width:s,chartArea:{left:a,right:l}}=e;let c="center";return r==="center"?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=s-o/2&&(c="right"),pF(c,e,t,n)&&(c="center"),c}function wy(e,t,n){const r=n.yAlign||t.yAlign||hF(e,n);return{xAlign:n.xAlign||t.xAlign||mF(e,t,n,r),yAlign:r}}function gF(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function yF(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function ky(e,t,n,r){const{caretSize:i,caretPadding:o,cornerRadius:s}=e,{xAlign:a,yAlign:l}=n,c=i+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=to(s);let p=gF(t,a);const m=yF(t,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(u,f)+i:a==="right"&&(p+=Math.max(d,h)+i),{x:kt(p,0,r.width-t.width),y:kt(m,0,r.height-t.height)}}function Ua(e,t,n){const r=hn(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function Cy(e){return En([],Vn(e))}function vF(e,t,n){return Nr(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Ey(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const x_={beforeTitle:Wn,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex"u"?x_[t].call(n,r):i}class Xf extends xi{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,o=new i_(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=vF(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=At(r,"beforeTitle",this,t),o=At(r,"title",this,t),s=At(r,"afterTitle",this,t);let a=[];return a=En(a,Vn(i)),a=En(a,Vn(o)),a=En(a,Vn(s)),a}getBeforeBody(t,n){return Cy(At(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:r}=n,i=[];return Oe(t,o=>{const s={before:[],lines:[],after:[]},a=Ey(r,o);En(s.before,Vn(At(a,"beforeLabel",this,o))),En(s.lines,At(a,"label",this,o)),En(s.after,Vn(At(a,"afterLabel",this,o))),i.push(s)}),i}getAfterBody(t,n){return Cy(At(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:r}=n,i=At(r,"beforeFooter",this,t),o=At(r,"footer",this,t),s=At(r,"afterFooter",this,t);let a=[];return a=En(a,Vn(i)),a=En(a,Vn(o)),a=En(a,Vn(s)),a}_createItems(t){const n=this._active,r=this.chart.data,i=[],o=[],s=[];let a=[],l,c;for(l=0,c=n.length;lt.filter(u,d,f,r))),t.itemSort&&(a=a.sort((u,d)=>t.itemSort(u,d,r))),Oe(a,u=>{const d=Ey(t.callbacks,u);i.push(At(d,"labelColor",this,u)),o.push(At(d,"labelPointStyle",this,u)),s.push(At(d,"labelTextColor",this,u))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const r=this.options.setContext(this.getContext()),i=this._active;let o,s=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const a=es[r.position].call(this,i,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const l=this._size=Sy(this,r),c=Object.assign({},a,l),u=wy(this.chart,r,c),d=ky(r,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,i){const o=this.getCaretPosition(t,r,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(t,n,r){const{xAlign:i,yAlign:o}=this,{caretSize:s,cornerRadius:a}=r,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=to(a),{x:f,y:h}=t,{width:p,height:m}=n;let x,g,y,v,_,S;return o==="center"?(_=h+m/2,i==="left"?(x=f,g=x-s,v=_+s,S=_-s):(x=f+p,g=x+s,v=_-s,S=_+s),y=x):(i==="left"?g=f+Math.max(l,u)+s:i==="right"?g=f+p-Math.max(c,d)-s:g=this.caretX,o==="top"?(v=h,_=v-s,x=g-s,y=g+s):(v=h+m,_=v+s,x=g+s,y=g-s),S=v),{x1:x,x2:g,x3:y,y1:v,y2:_,y3:S}}drawTitle(t,n,r){const i=this.title,o=i.length;let s,a,l;if(o){const c=_d(r.rtl,this.x,this.width);for(t.x=Ua(this,r.titleAlign,r),n.textAlign=c.textAlign(r.titleAlign),n.textBaseline="middle",s=Yt(r.titleFont),a=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,l=0;ly!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,ac(t,{x:m,y:p,w:c,h:l,radius:g}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),ac(t,{x,y:p+1,w:c-2,h:l-2,radius:g}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(m,p,c,l),t.strokeRect(m,p,c,l),t.fillStyle=s.backgroundColor,t.fillRect(x,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:i}=this,{bodySpacing:o,bodyAlign:s,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=r,d=Yt(r.bodyFont);let f=d.lineHeight,h=0;const p=_d(r.rtl,this.x,this.width),m=function(b){n.fillText(b,p.x(t.x+h),t.y+f/2),t.y+=f+o},x=p.textAlign(s);let g,y,v,_,S,R,C;for(n.textAlign=s,n.textBaseline="middle",n.font=d.string,t.x=Ua(this,x,r),n.fillStyle=r.bodyColor,Oe(this.beforeBody,m),h=a&&x!=="right"?s==="center"?c/2+u:c+2+u:0,_=0,R=i.length;_0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,i=r&&r.x,o=r&&r.y;if(i||o){const s=es[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=Sy(this,t),l=Object.assign({},s,this._size),c=wy(n,t,l),u=ky(t,l,c,n);(i._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=hn(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(o,t,i,n),n$(t,n.textDirection),o.y+=s.top,this.drawTitle(o,t,n),this.drawBody(o,t,n),this.drawFooter(o,t,n),r$(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,i=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!tc(r,i),s=this._positionChanged(i,n);(o||s)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],s=this._getActiveElements(t,o,n,r),a=this._positionChanged(s,t),l=n||!tc(s,o)||a;return l&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,r,i){const o=this.options;if(t.type==="mouseout")return[];if(!i)return n;const s=this.chart.getElementsAtEventForMode(t,o.mode,o,r);return o.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:r,caretY:i,options:o}=this,s=es[o.position].call(this,t,n);return s!==!1&&(r!==s.x||i!==s.y)}}V(Xf,"positioners",es);var xF={id:"tooltip",_element:Xf,positioners:es,afterInit(e,t,n){n&&(e.tooltip=new Xf({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:x_},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const bF=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function _F(e,t,n,r){const i=e.indexOf(t);if(i===-1)return bF(e,t,n,r);const o=e.lastIndexOf(t);return i!==o?n:i}const SF=(e,t)=>e===null?null:kt(Math.round(e),0,t);function Py(e){const t=this.getLabels();return e>=0&&en.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}V(Qf,"id","category"),V(Qf,"defaults",{ticks:{callback:Py}});function wF(e,t){const n=[],{bounds:i,step:o,min:s,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=e,h=o||1,p=u-1,{min:m,max:x}=t,g=!Ie(s),y=!Ie(a),v=!Ie(c),_=(x-m)/(d+1);let S=T0((x-m)/p/h)*h,R,C,b,w;if(S<1e-14&&!g&&!y)return[{value:m},{value:x}];w=Math.ceil(x/S)-Math.floor(m/S),w>p&&(S=T0(w*S/p/h)*h),Ie(l)||(R=Math.pow(10,l),S=Math.ceil(S*R)/R),i==="ticks"?(C=Math.floor(m/S)*S,b=Math.ceil(x/S)*S):(C=m,b=x),g&&y&&o&&JL((a-s)/o,S/1e3)?(w=Math.round(Math.min((a-s)/S,u)),S=(a-s)/w,C=s,b=a):v?(C=g?s:C,b=y?a:b,w=c-1,S=(b-C)/w):(w=(b-C)/S,ms(w,Math.round(w),S/1e3)?w=Math.round(w):w=Math.ceil(w));const P=Math.max(O0(S),O0(C));R=Math.pow(10,Ie(l)?P:l),C=Math.round(C*R)/R,b=Math.round(b*R)/R;let T=0;for(g&&(f&&C!==s?(n.push({value:s}),Ca)break;n.push({value:L})}return y&&f&&b!==a?n.length&&ms(n[n.length-1].value,a,Ry(a,_,e))?n[n.length-1].value=a:n.push({value:a}):(!y||b===a)&&n.push({value:b}),n}function Ry(e,t,{horizontal:n,minRotation:r}){const i=Ln(r),o=(n?Math.sin(i):Math.cos(i))||.001,s=.75*t*(""+e).length;return Math.min(t/o,s)}class dc extends bi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Ie(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:i,max:o}=this;const s=l=>i=n?i:l,a=l=>o=r?o:l;if(t){const l=zn(i),c=zn(o);l<0&&c<0?a(0):l>0&&c>0&&s(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||s(i-l)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,s=wF(i,o);return t.bounds==="ticks"&&jb(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const i=(r-n)/Math.max(t.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return Pu(t,this.chart.options.locale,this.options.ticks.format)}}class Jf extends dc{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=ht(t)?t:0,this.max=ht(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=Ln(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}V(Jf,"id","linear"),V(Jf,"defaults",{ticks:{callback:Ru.formatters.numeric}});const Ys=e=>Math.floor(yr(e)),Wr=(e,t)=>Math.pow(10,Ys(e)+t);function My(e){return e/Math.pow(10,Ys(e))===1}function Ty(e,t,n){const r=Math.pow(10,n),i=Math.floor(e/r);return Math.ceil(t/r)-i}function kF(e,t){const n=t-e;let r=Ys(n);for(;Ty(e,t,r)>10;)r++;for(;Ty(e,t,r)<10;)r--;return Math.min(r,Ys(e))}function CF(e,{min:t,max:n}){t=Wt(e.min,t);const r=[],i=Ys(t);let o=kF(t,n),s=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=i>o?Math.pow(10,i):0,c=Math.round((t-l)*s)/s,u=Math.floor((t-l)/a/10)*a*10;let d=Math.floor((c-u)/Math.pow(10,o)),f=Wt(e.min,Math.round((l+u+d*Math.pow(10,o))*s)/s);for(;f=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,s=o>=0?1:s),f=Math.round((l+u+d*Math.pow(10,o))*s)/s;const h=Wt(e.max,f);return r.push({value:h,major:My(h),significand:d}),r}class Oy extends bi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const r=dc.prototype.parse.apply(this,[t,n]);if(r===0){this._zero=!0;return}return ht(r)&&r>0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=ht(t)?Math.max(0,t):null,this.max=ht(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!ht(this._userMin)&&(this.min=t===Wr(this.min,0)?Wr(this.min,-1):Wr(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,i=this.max;const o=a=>r=t?r:a,s=a=>i=n?i:a;r===i&&(r<=0?(o(1),s(10)):(o(Wr(r,-1)),s(Wr(i,1)))),r<=0&&o(Wr(i,-1)),i<=0&&s(Wr(r,1)),this.min=r,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=CF(n,this);return t.bounds==="ticks"&&jb(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":Pu(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=yr(t),this._valueRange=yr(this.max)-yr(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(yr(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}V(Oy,"id","logarithmic"),V(Oy,"defaults",{ticks:{callback:Ru.formatters.logarithmic,major:{enabled:!0}}});function Zf(e){const t=e.ticks;if(t.display&&e.display){const n=hn(t.backdropPadding);return Pe(t.font&&t.font.size,it.font.size)+n.height}return 0}function EF(e,t,n){return n=Ke(n)?n:[n],{w:y5(e,t.string,n),h:n.length*t.lineHeight}}function Iy(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function PF(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],o=e._pointLabels.length,s=e.options.pointLabels,a=s.centerPointLabels?tt/o:0;for(let l=0;lt.r&&(a=(r.end-t.r)/o,e.r=Math.max(e.r,t.r+a)),i.startt.b&&(l=(i.end-t.b)/s,e.b=Math.max(e.b,t.b+l))}function MF(e,t,n){const r=e.drawingArea,{extra:i,additionalAngle:o,padding:s,size:a}=n,l=e.getPointPosition(t,r+i+s,o),c=Math.round(Wp(vn(l.angle+rt))),u=LF(l.y,a.h,c),d=IF(c),f=AF(l.x,a.w,d);return{visible:!0,x:l.x,y:u,textAlign:d,left:f,top:u,right:f+a.w,bottom:u+a.h}}function TF(e,t){if(!t)return!0;const{left:n,top:r,right:i,bottom:o}=e;return!(Xn({x:n,y:r},t)||Xn({x:n,y:o},t)||Xn({x:i,y:r},t)||Xn({x:i,y:o},t))}function OF(e,t,n){const r=[],i=e._pointLabels.length,o=e.options,{centerPointLabels:s,display:a}=o.pointLabels,l={extra:Zf(o)/2,additionalAngle:s?tt/i:0};let c;for(let u=0;u270||n<90)&&(e-=t),e}function $F(e,t,n){const{left:r,top:i,right:o,bottom:s}=n,{backdropColor:a}=t;if(!Ie(a)){const l=to(t.borderRadius),c=hn(t.backdropPadding);e.fillStyle=a;const u=r-c.left,d=i-c.top,f=o-r+c.width,h=s-i+c.height;Object.values(l).some(p=>p!==0)?(e.beginPath(),ac(e,{x:u,y:d,w:f,h,radius:l}),e.fill()):e.fillRect(u,d,f,h)}}function NF(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){const o=e._pointLabelItems[i];if(!o.visible)continue;const s=r.setContext(e.getPointLabelContext(i));$F(n,s,o);const a=Yt(s.font),{x:l,y:c,textAlign:u}=o;sc(n,e._pointLabels[i],l,c+a.lineHeight/2,a,{color:s.color,textAlign:u,textBaseline:"middle"})}}function b_(e,t,n,r){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,Ve);else{let o=e.getPointPosition(0,t);i.moveTo(o.x,o.y);for(let s=1;s{const i=Ze(this.options.pointLabels.callback,[n,r],this);return i||i===0?i:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?PF(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,i))}getIndexAngle(t){const n=Ve/(this._pointLabels.length||1),r=this.options.startAngle||0;return vn(t*n+Ln(r))}getDistanceFromCenterForValue(t){if(Ie(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(Ie(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(d!==0){l=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(d),h=i.setContext(f),p=o.setContext(f);FF(this,h,l,s,p)}}),r.display){for(t.save(),a=s-1;a>=0;a--){const u=r.setContext(this.getPointLabelContext(a)),{color:d,lineWidth:f}=u;!f||!d||(t.lineWidth=f,t.strokeStyle=d,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let o,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=r.setContext(this.getContext(l)),u=Yt(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,s=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const d=hn(c.backdropPadding);t.fillRect(-s/2-d.left,-o-u.size/2-d.top,s+d.width,u.size+d.height)}sc(t,a.label,0,-o,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}}V(Va,"id","radialLinear"),V(Va,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ru.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),V(Va,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),V(Va,"descriptors",{angleLines:{_fallback:"grid"}});const Ou={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},$t=Object.keys(Ou);function Ay(e,t){return e-t}function Ly(e,t){if(Ie(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:o}=e._parseOpts;let s=t;return typeof r=="function"&&(s=r(s)),ht(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(i&&(s=i==="week"&&(Hs(o)||o===!0)?n.startOf(s,"isoWeek",o):n.startOf(s,i)),+s)}function $y(e,t,n,r){const i=$t.length;for(let o=$t.indexOf(e);o=$t.indexOf(n);o--){const s=$t[o];if(Ou[s].common&&e._adapter.diff(i,r,s)>=t-1)return s}return $t[n?$t.indexOf(n):0]}function BF(e){for(let t=$t.indexOf(e)+1,n=$t.length;t=t?n[r]:n[i];e[o]=!0}}function jF(e,t,n,r){const i=e._adapter,o=+i.startOf(t[0].value,r),s=t[t.length-1].value;let a,l;for(a=o;a<=s;a=+i.add(a,1,r))l=n[a],l>=0&&(t[l].major=!0);return t}function Fy(e,t,n){const r=[],i={},o=t.length;let s,a;for(s=0;s+t.value))}initOffsets(t=[]){let n=0,r=0,i,o;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?r=o:r=(o-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=kt(n,0,s),r=kt(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,i=this.options,o=i.time,s=o.unit||$y(o.minUnit,n,r,this._getLabelCapacity(n)),a=Pe(i.ticks.stepSize,1),l=s==="week"?o.isoWeekday:!1,c=Hs(l)||l===!0,u={};let d=n,f,h;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":s),t.diff(r,n,s)>1e5*a)throw new Error(n+" and "+r+" are too far apart with stepSize of "+a+" "+s);const p=i.ticks.source==="data"&&this.getDataTimestamps();for(f=d,h=0;f+m)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}format(t,n){const i=this.options.time.displayFormats,o=this._unit,s=n||i[o];return this._adapter.format(t,s)}_tickFormatFunction(t,n,r,i){const o=this.options,s=o.ticks.callback;if(s)return Ze(s,[t,n,r],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],d=c&&a[c],f=r[n],h=c&&d&&f&&f.major;return this._adapter.format(t,i||(h?d:u))}generateTickLabels(t){let n,r,i;for(n=0,r=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=ni(e,"pos",t)),{pos:o,time:a}=e[r],{pos:s,time:l}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=ni(e,"time",t)),{time:o,pos:a}=e[r],{time:s,pos:l}=e[i]);const c=s-o;return c?a+(l-a)*(t-o)/c:a}class Dy extends fc{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=Ha(n,this.min),this._tableRange=Ha(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,i=[],o=[];let s,a,l,c,u;for(s=0,a=t.length;s=n&&c<=r&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,a=i.length;si-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?t=this.normalize(n.concat(r)):t=n.length?n:r,t=this._cache.all=t,t}getDecimalForValue(t){return(Ha(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return Ha(this._table,r*this._tableRange+this._minPos,!0)}}V(Dy,"id","timeseries"),V(Dy,"defaults",fc.defaults);const __="label";function zy(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function WF(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function S_(e,t){e.labels=t}function w_(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:__;const r=[];e.datasets=t.map(i=>{const o=e.datasets.find(s=>s[n]===i[n]);return!o||!i.data||r.includes(o)?{...i}:(r.push(o),Object.assign(o,i),o)})}function UF(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:__;const n={labels:[],datasets:[]};return S_(n,e.labels),w_(n,e.datasets,t),n}function VF(e,t){const{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:o,type:s,data:a,options:l,plugins:c=[],fallbackContent:u,updateMode:d,...f}=e,h=k.useRef(null),p=k.useRef(),m=()=>{h.current&&(p.current=new Tu(h.current,{type:s,data:UF(a,o),options:l&&{...l},plugins:c}),zy(t,p.current))},x=()=>{zy(t,null),p.current&&(p.current.destroy(),p.current=null)};return k.useEffect(()=>{!i&&p.current&&l&&WF(p.current,l)},[i,l]),k.useEffect(()=>{!i&&p.current&&S_(p.current.config.data,a.labels)},[i,a.labels]),k.useEffect(()=>{!i&&p.current&&a.datasets&&w_(p.current.config.data,a.datasets,o)},[i,a.datasets]),k.useEffect(()=>{p.current&&(i?(x(),setTimeout(m)):p.current.update(d))},[i,l,a.labels,a.datasets,d]),k.useEffect(()=>{p.current&&(x(),setTimeout(m))},[s]),k.useEffect(()=>(m(),()=>x()),[]),Ht.createElement("canvas",Object.assign({ref:h,role:"img",height:n,width:r},f),u)}const HF=k.forwardRef(VF);function Qp(e,t){return Tu.register(t),k.forwardRef((n,r)=>Ht.createElement(HF,Object.assign({},n,{ref:r,type:e})))}const KF=Qp("line",pl),GF=Qp("bar",hl),YF=Qp("pie",Kf);Tu.register(Qf,Jf,yl,Zo,vl,Jo,xF);function qF(){const{Meteorites:e}=k.useContext($b),t={},n={},r={"0-100":0,"100-1000":0,"1000-10000":0,"10000-100000":0,"100000-1000000":0,"1000000-10000000":0},o={plugins:{tooltip:{enabled:!0,callbacks:{label:c=>{let u=c.dataset.label||"";return u&&(u+=": "),u+=c.parsed.y,u}}}}};e().sort((c,u)=>c.year-u.year).map(c=>{c.year in t?t[c.year]+=1:t[c.year]=1}),e().map(c=>{c.recclass in n?n[c.recclass]+=1:n[c.recclass]=1}),e().map(c=>{Object.keys(r).map(u=>{c["mass (g)"]>=Number(u.split("-")[0])&&c["mass (g)"]<=Number(u.split("-")[1])&&(r[u]+=1)})});const s={labels:Object.keys(t),datasets:[{data:Object.values(t),fill:!1,borderColor:"rgb(75, 192, 192)",tension:.1}]},a={labels:Object.keys(n),datasets:[{data:Object.values(n),fill:!1,backgroundColor:["rgb(75, 192, 192)","#eee"],tension:.1}]},l={labels:Object.keys(r),datasets:[{data:Object.values(r),fill:!1,borderColor:"rgb(75, 192, 192)",tension:.1}]};return M.jsxs(Hi,{container:!0,sx:{padding:1,alignItems:"center"},children:[M.jsx(Hi,{item:!0,xs:12,children:M.jsx(KF,{data:s,options:o,style:{width:"100%",height:"100%",margin:10}})}),M.jsx(Hi,{item:!0,xs:12,md:6,children:M.jsx(YF,{data:a,style:{width:"100%",height:"100%",margin:10}})}),M.jsx(Hi,{item:!0,xs:12,md:6,children:M.jsx(GF,{data:l,options:o,style:{width:"100%",height:"100%",margin:10}})})]})}function XF(){return M.jsx(qF,{})}const QF=fp({palette:{primary:{main:"#2A8B8D"},secondary:{main:"#222222"}},typography:{fontFamily:'"Manrope", sans-serif'}});function JF(){return M.jsxs(N2,{theme:O2(QF),children:[M.jsx(SI,{}),M.jsx(tA,{}),M.jsx(XF,{})]})}Td.createRoot(document.getElementById("root")).render(M.jsx(VI,{children:M.jsx(xL,{children:M.jsx(JF,{})})}));export{jE as $,$e as A,Ao as B,fo as C,ar as D,Dr as E,Gt as F,MR as G,uo as H,op as I,yC as J,tD as K,vi as L,zg as M,bo as N,Jl as O,zx as P,nD as Q,E2 as R,Fr as S,An as T,iu as U,tx as V,pT as W,UP as X,iM as Y,WE as Z,E as _,Hc as a,ZO as a0,Lf as a1,Mi as a2,vp as a3,Xl as a4,Or as a5,WT as a6,zT as a7,ZP as a8,qh as a9,Z2 as aA,VP as aB,Hi as aC,tR as aD,yp as aE,Tr as aa,Mc as ab,tu as ac,yM as ad,sI as ae,If as af,Kg as ag,kT as ah,gL as ai,$b as aj,fb as ak,Nx as al,K2 as am,Ht as an,Fx as ao,zR as ap,CM as aq,AR as ar,Px as as,FE as at,xl as au,ol as av,gu as aw,P_ as ax,eh as ay,OT as az,kx as b,eu as c,Xt as d,up as e,ee as f,se as g,fn as h,na as i,M as j,Me as k,_e as l,eD as m,ra as n,Et as o,Zr as p,Bt as q,k as r,NE as s,ex as t,Ox as u,Hl as v,Vl as w,we as x,ne as y,re as z}; diff --git a/docs/index.html b/docs/index.html index 1ca9348..b48f535 100644 --- a/docs/index.html +++ b/docs/index.html @@ -12,8 +12,8 @@ rel="stylesheet" /> Nasa Fireball - - + +