From b4378c659651476fe251e1608aed4a0c83689483 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 12:14:14 -0400 Subject: [PATCH] Bump react-router-dom from 6.26.0 to 6.26.1 in /ui (#463) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- jhub_apps/static/js/index.js | 6 +++--- ui/package-lock.json | 26 +++++++++++++------------- ui/package.json | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/jhub_apps/static/js/index.js b/jhub_apps/static/js/index.js index 5ae1def7..29b3c79b 100644 --- a/jhub_apps/static/js/index.js +++ b/jhub_apps/static/js/index.js @@ -155,7 +155,7 @@ Error generating stack: `+s.message+` animation: ${0} 1.4s ease-in-out infinite; `),fE)),mE=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:i=!1,size:a=40,style:l,thickness:c=3.6,value:u=0,variant:d="indeterminate"}=r,p=ce(r,cE),y=b({},r,{color:s,disableShrink:i,size:a,thickness:c,value:u,variant:d}),h=dE(y),P={},x={},A={};if(d==="determinate"){const v=2*Math.PI*(($o-c)/2);P.strokeDasharray=v.toFixed(3),A["aria-valuenow"]=Math.round(u),P.strokeDashoffset=`${((100-u)/100*v).toFixed(3)}px`,x.transform="rotate(-90deg)"}return f.jsx(pE,b({className:le(h.root,o),style:b({width:a,height:a},x,l),ownerState:y,ref:n,role:"progressbar"},A,p,{children:f.jsx(vE,{className:h.svg,ownerState:y,viewBox:`${$o/2} ${$o/2} ${$o} ${$o}`,children:f.jsx(hE,{className:h.circle,style:P,ownerState:y,cx:$o,cy:$o,r:($o-c)/2,fill:"none",strokeWidth:c})})}))}),ng=mE,AE=(e,t)=>b({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),PE=e=>b({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),gE=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([i,a])=>{var l;r[e.getColorSchemeSelector(i).replace(/\s*&/,"")]={colorScheme:(l=a.palette)==null?void 0:l.mode}});let o=b({html:AE(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:b({margin:0},PE(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const s=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return s&&(o=[o,s]),o};function yE(e){const t=Re({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return f.jsxs(g.Fragment,{children:[f.jsx(Z2,{styles:o=>gE(o,r)}),n]})}function bE(e){return De("MuiModal",e)}Se("MuiModal",["root","hidden","backdrop"]);const xE=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],wE=e=>{const{open:t,exited:n,classes:r}=e;return Te({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},bE,r)},HE=_("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>b({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),jE=_(Q2,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),zE=g.forwardRef(function(t,n){var r,o,s,i,a,l;const c=Re({name:"MuiModal",props:t}),{BackdropComponent:u=jE,BackdropProps:d,className:p,closeAfterTransition:y=!1,children:h,container:P,component:x,components:A={},componentsProps:v={},disableAutoFocus:m=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:j=!1,disablePortal:z=!1,disableRestoreFocus:H=!1,disableScrollLock:O=!1,hideBackdrop:D=!1,keepMounted:S=!1,onBackdropClick:I,open:R,slotProps:M,slots:W}=c,N=ce(c,xE),Z=b({},c,{closeAfterTransition:y,disableAutoFocus:m,disableEnforceFocus:w,disableEscapeKeyDown:j,disablePortal:z,disableRestoreFocus:H,disableScrollLock:O,hideBackdrop:D,keepMounted:S}),{getRootProps:J,getBackdropProps:T,getTransitionProps:B,portalRef:K,isTopModal:fe,exited:E,hasTransition:ee}=BS(b({},Z,{rootRef:n})),G=b({},Z,{exited:E}),ie=wE(G),re={};if(h.props.tabIndex===void 0&&(re.tabIndex="-1"),ee){const{onEnter:be,onExited:Ie}=B();re.onEnter=be,re.onExited=Ie}const me=(r=(o=W==null?void 0:W.root)!=null?o:A.Root)!=null?r:HE,ue=(s=(i=W==null?void 0:W.backdrop)!=null?i:A.Backdrop)!=null?s:u,se=(a=M==null?void 0:M.root)!=null?a:v.root,de=(l=M==null?void 0:M.backdrop)!=null?l:v.backdrop,He=Ls({elementType:me,externalSlotProps:se,externalForwardedProps:N,getSlotProps:J,additionalProps:{ref:n,as:x},ownerState:G,className:le(p,se==null?void 0:se.className,ie==null?void 0:ie.root,!G.open&&G.exited&&(ie==null?void 0:ie.hidden))}),we=Ls({elementType:ue,externalSlotProps:de,additionalProps:d,getSlotProps:be=>T(b({},be,{onClick:Ie=>{I&&I(Ie),be!=null&&be.onClick&&be.onClick(Ie)}})),className:le(de==null?void 0:de.className,d==null?void 0:d.className,ie==null?void 0:ie.backdrop),ownerState:G});return!S&&!R&&(!ee||E)?null:f.jsx(M2,{ref:K,container:P,disablePortal:z,children:f.jsxs(me,b({},He,{children:[!D&&u?f.jsx(ue,b({},we)):null,f.jsx(DS,{disableEnforceFocus:w,disableAutoFocus:m,disableRestoreFocus:H,isEnabled:fe,open:R,children:g.cloneElement(h,re)})]}))})}),rg=zE;function OE(e){return De("MuiDialog",e)}const CE=Se("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Ah=CE,DE=g.createContext({}),e9=DE,SE=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],TE=_(Q2,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),RE=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:s}=e,i={root:["root"],container:["container",`scroll${te(n)}`],paper:["paper",`paperScroll${te(n)}`,`paperWidth${te(String(r))}`,o&&"paperFullWidth",s&&"paperFullScreen"]};return Te(i,OE,t)},kE=_(rg,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),EE=_("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${te(n.scroll)}`]]}})(({ownerState:e})=>b({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"}})),ME=_(hr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${te(n.scroll)}`],t[`paperWidth${te(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>b({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)`,[`&.${Ah.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}`,[`&.${Ah.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,[`&.${Ah.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),LE=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiDialog"}),o=Pr(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":a,BackdropComponent:l,BackdropProps:c,children:u,className:d,disableEscapeKeyDown:p=!1,fullScreen:y=!1,fullWidth:h=!1,maxWidth:P="sm",onBackdropClick:x,onClose:A,open:v,PaperComponent:m=hr,PaperProps:w={},scroll:j="paper",TransitionComponent:z=U2,transitionDuration:H=s,TransitionProps:O}=r,D=ce(r,SE),S=b({},r,{disableEscapeKeyDown:p,fullScreen:y,fullWidth:h,maxWidth:P,scroll:j}),I=RE(S),R=g.useRef(),M=J=>{R.current=J.target===J.currentTarget},W=J=>{R.current&&(R.current=null,x&&x(J),A&&A(J,"backdropClick"))},N=xo(a),Z=g.useMemo(()=>({titleId:N}),[N]);return f.jsx(kE,b({className:le(I.root,d),closeAfterTransition:!0,components:{Backdrop:TE},componentsProps:{backdrop:b({transitionDuration:H,as:l},c)},disableEscapeKeyDown:p,onClose:A,open:v,ref:n,onClick:W,ownerState:S},D,{children:f.jsx(z,b({appear:!0,in:v,timeout:H,role:"presentation"},O,{children:f.jsx(EE,{className:le(I.container),onMouseDown:M,ownerState:S,children:f.jsx(ME,b({as:m,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":N},w,{className:le(I.paper,w.className),ownerState:S,children:f.jsx(e9.Provider,{value:Z,children:u})}))})}))}))}),Ul=LE;function XE(e){return De("MuiDialogContent",e)}Se("MuiDialogContent",["root","dividers"]);function NE(e){return De("MuiDialogTitle",e)}const BE=Se("MuiDialogTitle",["root"]),VE=BE,IE=["className","dividers"],WE=e=>{const{classes:t,dividers:n}=e;return Te({root:["root",n&&"dividers"]},XE,t)},JE=_("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>b({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}`}:{[`.${VE.root} + &`]:{paddingTop:0}})),FE=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiDialogContent"}),{className:o,dividers:s=!1}=r,i=ce(r,IE),a=b({},r,{dividers:s}),l=WE(a);return f.jsx(JE,b({className:le(l.root,o),ownerState:a,ref:n},i))}),_u=FE,YE=["className","id"],qE=e=>{const{classes:t}=e;return Te({root:["root"]},NE,t)},ZE=_(Ue,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),GE=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiDialogTitle"}),{className:o,id:s}=r,i=ce(r,YE),a=r,l=qE(a),{titleId:c=s}=g.useContext(e9);return f.jsx(ZE,b({component:"h2",className:le(l.root,o),ownerState:a,ref:n,variant:"h6",id:s??c},i))}),$u=GE;function UE(e){return De("MuiDivider",e)}const QE=Se("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Fb=QE,KE=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],_E=e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:s,orientation:i,textAlign:a,variant:l}=e;return Te({root:["root",t&&"absolute",l,s&&"light",i==="vertical"&&"vertical",o&&"flexItem",n&&"withChildren",n&&i==="vertical"&&"withChildrenVertical",a==="right"&&i!=="vertical"&&"textAlignRight",a==="left"&&i!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",i==="vertical"&&"wrapperVertical"]},UE,r)},$E=_("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>b({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Ze(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>b({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>b({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>b({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>b({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),e6=_("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>b({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),t9=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiDivider"}),{absolute:o=!1,children:s,className:i,component:a=s?"div":"hr",flexItem:l=!1,light:c=!1,orientation:u="horizontal",role:d=a!=="hr"?"separator":void 0,textAlign:p="center",variant:y="fullWidth"}=r,h=ce(r,KE),P=b({},r,{absolute:o,component:a,flexItem:l,light:c,orientation:u,role:d,textAlign:p,variant:y}),x=_E(P);return f.jsx($E,b({as:a,className:le(x.root,i),role:d,ref:n,ownerState:P},h,{children:s?f.jsx(e6,{className:x.wrapper,ownerState:P,children:s}):null}))});t9.muiSkipListHighlight=!0;const Gc=t9,t6=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function n6(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),s=bo(t);let i;if(t.fakeTransform)i=t.fakeTransform;else{const c=s.getComputedStyle(t);i=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let a=0,l=0;if(i&&i!=="none"&&typeof i=="string"){const c=i.split("(")[1].split(")")[0].split(",");a=parseInt(c[4],10),l=parseInt(c[5],10)}return e==="left"?o?`translateX(${o.right+a-r.left}px)`:`translateX(${s.innerWidth+a-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${s.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function r6(e){return typeof e=="function"?e():e}function ef(e,t,n){const r=r6(n),o=n6(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const o6=g.forwardRef(function(t,n){const r=Pr(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:l,container:c,direction:u="down",easing:d=o,in:p,onEnter:y,onEntered:h,onEntering:P,onExit:x,onExited:A,onExiting:v,style:m,timeout:w=s,TransitionComponent:j=JP}=t,z=ce(t,t6),H=g.useRef(null),O=Ht(l.ref,H,n),D=T=>B=>{T&&(B===void 0?T(H.current):T(H.current,B))},S=D((T,B)=>{ef(u,T,c),qP(T),y&&y(T,B)}),I=D((T,B)=>{const K=Za({timeout:w,style:m,easing:d},{mode:"enter"});T.style.webkitTransition=r.transitions.create("-webkit-transform",b({},K)),T.style.transition=r.transitions.create("transform",b({},K)),T.style.webkitTransform="none",T.style.transform="none",P&&P(T,B)}),R=D(h),M=D(v),W=D(T=>{const B=Za({timeout:w,style:m,easing:d},{mode:"exit"});T.style.webkitTransition=r.transitions.create("-webkit-transform",B),T.style.transition=r.transitions.create("transform",B),ef(u,T,c),x&&x(T)}),N=D(T=>{T.style.webkitTransition="",T.style.transition="",A&&A(T)}),Z=T=>{i&&i(H.current,T)},J=g.useCallback(()=>{H.current&&ef(u,H.current,c)},[u,c]);return g.useEffect(()=>{if(p||u==="down"||u==="right")return;const T=dp(()=>{H.current&&ef(u,H.current,c)}),B=bo(H.current);return B.addEventListener("resize",T),()=>{T.clear(),B.removeEventListener("resize",T)}},[u,p,c]),g.useEffect(()=>{p||J()},[p,J]),f.jsx(j,b({nodeRef:H,onEnter:S,onEntered:R,onEntering:I,onExit:W,onExited:N,onExiting:M,addEndListener:Z,appear:a,in:p,timeout:w},z,{children:(T,B)=>g.cloneElement(l,b({ref:O,style:b({visibility:T==="exited"&&!p?"hidden":void 0},m,l.props.style)},B))}))}),s6=o6;function i6(e){return De("MuiDrawer",e)}Se("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const a6=["BackdropProps"],l6=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],n9=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},c6=e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${te(n)}`,r!=="temporary"&&`paperAnchorDocked${te(n)}`]};return Te(o,i6,t)},u6=_(rg,{name:"MuiDrawer",slot:"Root",overridesResolver:n9})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),Yb=_("div",{shouldForwardProp:pn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:n9})({flex:"0 0 auto"}),f6=_(hr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${te(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${te(n.anchor)}`]]}})(({theme:e,ownerState:t})=>b({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),r9={left:"right",right:"left",top:"down",bottom:"up"};function d6(e){return["left","right"].indexOf(e)!==-1}function p6(e,t){return e.direction==="rtl"&&d6(t)?r9[t]:t}const v6=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiDrawer"}),o=Pr(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:a,children:l,className:c,elevation:u=16,hideBackdrop:d=!1,ModalProps:{BackdropProps:p}={},onClose:y,open:h=!1,PaperProps:P={},SlideProps:x,TransitionComponent:A=s6,transitionDuration:v=s,variant:m="temporary"}=r,w=ce(r.ModalProps,a6),j=ce(r,l6),z=g.useRef(!1);g.useEffect(()=>{z.current=!0},[]);const H=p6(o,i),D=b({},r,{anchor:i,elevation:u,open:h,variant:m},j),S=c6(D),I=f.jsx(f6,b({elevation:m==="temporary"?u:0,square:!0},P,{className:le(S.paper,P.className),ownerState:D,children:l}));if(m==="permanent")return f.jsx(Yb,b({className:le(S.root,S.docked,c),ownerState:D,ref:n},j,{children:I}));const R=f.jsx(A,b({in:h,direction:r9[H],timeout:v,appear:z.current},x,{children:I}));return m==="persistent"?f.jsx(Yb,b({className:le(S.root,S.docked,c),ownerState:D,ref:n},j,{children:R})):f.jsx(u6,b({BackdropProps:b({},a,p,{transitionDuration:v}),className:le(S.root,S.modal,c),open:h,ownerState:D,onClose:y,hideBackdrop:d,ref:n},j,w,{children:R}))}),h6=v6,m6=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],A6=e=>{const{classes:t,disableUnderline:n}=e,o=Te({root:["root",!n&&"underline"],input:["input"]},XR,t);return b({},t,o)},P6=_(Up,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Zp(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=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 b({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s,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:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s}},[`&.${lr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s},[`&.${lr.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"},[`&.${lr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${lr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${lr.disabled}, .${lr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${lr.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&b({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),g6=_(Qp,{name:"MuiFilledInput",slot:"Input",overridesResolver:Gp})(({theme:e,ownerState:t})=>b({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),o9=g.forwardRef(function(t,n){var r,o,s,i;const a=Re({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:p=!1,slotProps:y,slots:h={},type:P="text"}=a,x=ce(a,m6),A=b({},a,{fullWidth:u,inputComponent:d,multiline:p,type:P}),v=A6(a),m={root:{ownerState:A},input:{ownerState:A}},w=y??c?Gn(m,y??c):m,j=(r=(o=h.root)!=null?o:l.Root)!=null?r:P6,z=(s=(i=h.input)!=null?i:l.Input)!=null?s:g6;return f.jsx(Kp,b({slots:{root:j,input:z},componentsProps:w,fullWidth:u,inputComponent:d,multiline:p,ref:n,type:P},x,{classes:v}))});o9.muiName="Input";const s9=o9;function y6(e){return De("MuiFormControl",e)}Se("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const b6=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],x6=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${te(n)}`,r&&"fullWidth"]};return Te(o,y6,t)},w6=_("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>b({},t.root,t[`margin${te(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>b({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%"})),H6=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiFormControl"}),{children:o,className:s,color:i="primary",component:a="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:d=!1,hiddenLabel:p=!1,margin:y="none",required:h=!1,size:P="medium",variant:x="outlined"}=r,A=ce(r,b6),v=b({},r,{color:i,component:a,disabled:l,error:c,fullWidth:d,hiddenLabel:p,margin:y,required:h,size:P,variant:x}),m=x6(v),[w,j]=g.useState(()=>{let M=!1;return o&&g.Children.forEach(o,W=>{if(!oc(W,["Input","Select"]))return;const N=oc(W,["Select"])?W.props.input:W;N&&zR(N.props)&&(M=!0)}),M}),[z,H]=g.useState(()=>{let M=!1;return o&&g.Children.forEach(o,W=>{oc(W,["Input","Select"])&&(Ad(W.props,!0)||Ad(W.props.inputProps,!0))&&(M=!0)}),M}),[O,D]=g.useState(!1);l&&O&&D(!1);const S=u!==void 0&&!l?u:O;let I;const R=g.useMemo(()=>({adornedStart:w,setAdornedStart:j,color:i,disabled:l,error:c,filled:z,focused:S,fullWidth:d,hiddenLabel:p,size:P,onBlur:()=>{D(!1)},onEmpty:()=>{H(!1)},onFilled:()=>{H(!0)},onFocus:()=>{D(!0)},registerEffect:I,required:h,variant:x}),[w,i,l,c,z,S,d,p,I,h,P,x]);return f.jsx(qp.Provider,{value:R,children:f.jsx(w6,b({as:a,ownerState:v,className:le(m.root,s),ref:n},A,{children:o}))})}),Ro=H6,j6=bz({createStyledComponent:_("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Re({props:e,name:"MuiStack"})}),Ho=j6;function z6(e){return De("MuiFormControlLabel",e)}const O6=Se("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Ql=O6,C6=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],D6=e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:s}=e,i={root:["root",n&&"disabled",`labelPlacement${te(r)}`,o&&"error",s&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return Te(i,z6,t)},S6=_("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ql.label}`]:t.label},t.root,t[`labelPlacement${te(n.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>b({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Ql.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${Ql.label}`]:{[`&.${Ql.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),T6=_("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Ql.error}`]:{color:(e.vars||e).palette.error.main}})),R6=g.forwardRef(function(t,n){var r,o;const s=Re({props:t,name:"MuiFormControlLabel"}),{className:i,componentsProps:a={},control:l,disabled:c,disableTypography:u,label:d,labelPlacement:p="end",required:y,slotProps:h={}}=s,P=ce(s,C6),x=jo(),A=(r=c??l.props.disabled)!=null?r:x==null?void 0:x.disabled,v=y??l.props.required,m={disabled:A,required:v};["checked","name","onChange","value","inputRef"].forEach(D=>{typeof l.props[D]>"u"&&typeof s[D]<"u"&&(m[D]=s[D])});const w=Ws({props:s,muiFormControl:x,states:["error"]}),j=b({},s,{disabled:A,labelPlacement:p,required:v,error:w.error}),z=D6(j),H=(o=h.typography)!=null?o:a.typography;let O=d;return O!=null&&O.type!==Ue&&!u&&(O=f.jsx(Ue,b({component:"span"},H,{className:le(z.label,H==null?void 0:H.className),children:O}))),f.jsxs(S6,b({className:le(z.root,i),ownerState:j,ref:n},P,{children:[g.cloneElement(l,m),v?f.jsxs(Ho,{display:"block",children:[O,f.jsxs(T6,{ownerState:j,"aria-hidden":!0,className:z.asterisk,children:[" ","*"]})]}):O]}))}),ri=R6;function k6(e){return De("MuiFormGroup",e)}Se("MuiFormGroup",["root","row","error"]);const E6=["className","row"],M6=e=>{const{classes:t,row:n,error:r}=e;return Te({root:["root",n&&"row",r&&"error"]},k6,t)},L6=_("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})(({ownerState:e})=>b({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})),X6=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiFormGroup"}),{className:o,row:s=!1}=r,i=ce(r,E6),a=jo(),l=Ws({props:r,muiFormControl:a,states:["error"]}),c=b({},r,{row:s,error:l.error}),u=M6(c);return f.jsx(L6,b({className:le(u.root,o),ownerState:c,ref:n},i))}),N6=X6;function B6(e){return De("MuiFormHelperText",e)}const V6=Se("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),qb=V6;var Zb;const I6=["children","className","component","disabled","error","filled","focused","margin","required","variant"],W6=e=>{const{classes:t,contained:n,size:r,disabled:o,error:s,filled:i,focused:a,required:l}=e,c={root:["root",o&&"disabled",s&&"error",r&&`size${te(r)}`,n&&"contained",a&&"focused",i&&"filled",l&&"required"]};return Te(c,B6,t)},J6=_("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${te(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>b({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${qb.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${qb.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),F6=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiFormHelperText"}),{children:o,className:s,component:i="p"}=r,a=ce(r,I6),l=jo(),c=Ws({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=b({},r,{component:i,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=W6(u);return f.jsx(J6,b({as:i,ownerState:u,className:le(d.root,s),ref:n},a,{children:o===" "?Zb||(Zb=f.jsx("span",{className:"notranslate",children:"​"})):o}))}),Sf=F6;function Y6(e){return De("MuiFormLabel",e)}const q6=Se("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Ac=q6,Z6=["children","className","color","component","disabled","error","filled","focused","required"],G6=e=>{const{classes:t,color:n,focused:r,disabled:o,error:s,filled:i,required:a}=e,l={root:["root",`color${te(n)}`,o&&"disabled",s&&"error",i&&"filled",r&&"focused",a&&"required"],asterisk:["asterisk",s&&"error"]};return Te(l,Y6,t)},U6=_("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>b({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>b({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Ac.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Ac.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ac.error}`]:{color:(e.vars||e).palette.error.main}})),Q6=_("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Ac.error}`]:{color:(e.vars||e).palette.error.main}})),K6=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiFormLabel"}),{children:o,className:s,component:i="label"}=r,a=ce(r,Z6),l=jo(),c=Ws({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=b({},r,{color:c.color||"primary",component:i,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),d=G6(u);return f.jsxs(U6,b({as:i,ownerState:u,className:le(d.root,s),ref:n},a,{children:[o,c.required&&f.jsxs(Q6,{ownerState:u,"aria-hidden":!0,className:d.asterisk,children:[" ","*"]})]}))}),Tf=K6,_6=g.createContext(),Gb=_6;function $6(e){return De("MuiGrid",e)}const eM=[0,1,2,3,4,5,6,7,8,9,10],tM=["column-reverse","column","row-reverse","row"],nM=["nowrap","wrap-reverse","wrap"],Ol=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Uc=Se("MuiGrid",["root","container","item","zeroMinWidth",...eM.map(e=>`spacing-xs-${e}`),...tM.map(e=>`direction-xs-${e}`),...nM.map(e=>`wrap-xs-${e}`),...Ol.map(e=>`grid-xs-${e}`),...Ol.map(e=>`grid-sm-${e}`),...Ol.map(e=>`grid-md-${e}`),...Ol.map(e=>`grid-lg-${e}`),...Ol.map(e=>`grid-xl-${e}`)]),rM=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function ya(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function oM({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,o)=>{let s={};if(t[o]&&(n=t[o]),!n)return r;if(n===!0)s={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=pi({values:t.columns,breakpoints:e.breakpoints.values}),a=typeof i=="object"?i[o]:i;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} + ${ya(u)})`;c={flexBasis:d,maxWidth:d}}}s=b({flexBasis:l,flexGrow:0,maxWidth:l},c)}return e.breakpoints.values[o]===0?Object.assign(r,s):r[e.breakpoints.up(o)]=s,r},{})}function sM({theme:e,ownerState:t}){const n=pi({values:t.direction,breakpoints:e.breakpoints.values});return nr({theme:e},n,r=>{const o={flexDirection:r};return r.indexOf("column")===0&&(o[`& > .${Uc.item}`]={maxWidth:"none"}),o})}function i9({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(o=>{n===""&&t[o]!==0&&(n=o)});const r=Object.keys(e).sort((o,s)=>e[o]-e[s]);return r.slice(0,r.indexOf(n))}function iM({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&r!==0){const s=pi({values:r,breakpoints:e.breakpoints.values});let i;typeof s=="object"&&(i=i9({breakpoints:e.breakpoints.values,values:s})),o=nr({theme:e},s,(a,l)=>{var c;const u=e.spacing(a);return u!=="0px"?{marginTop:`-${ya(u)}`,[`& > .${Uc.item}`]:{paddingTop:ya(u)}}:(c=i)!=null&&c.includes(l)?{}:{marginTop:0,[`& > .${Uc.item}`]:{paddingTop:0}}})}return o}function aM({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&r!==0){const s=pi({values:r,breakpoints:e.breakpoints.values});let i;typeof s=="object"&&(i=i9({breakpoints:e.breakpoints.values,values:s})),o=nr({theme:e},s,(a,l)=>{var c;const u=e.spacing(a);return u!=="0px"?{width:`calc(100% + ${ya(u)})`,marginLeft:`-${ya(u)}`,[`& > .${Uc.item}`]:{paddingLeft:ya(u)}}:(c=i)!=null&&c.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${Uc.item}`]:{paddingLeft:0}}})}return o}function lM(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(o=>{const s=e[o];Number(s)>0&&r.push(n[`spacing-${o}-${String(s)}`])}),r}const cM=_("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:s,spacing:i,wrap:a,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=lM(i,c,t));const d=[];return c.forEach(p=>{const y=n[p];y&&d.push(t[`grid-${p}-${String(y)}`])}),[t.root,r&&t.container,s&&t.item,l&&t.zeroMinWidth,...u,o!=="row"&&t[`direction-xs-${String(o)}`],a!=="wrap"&&t[`wrap-xs-${String(a)}`],...d]}})(({ownerState:e})=>b({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}),sM,iM,aM,oM);function uM(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const o=e[r];if(Number(o)>0){const s=`spacing-${r}-${String(o)}`;n.push(s)}}),n}const fM=e=>{const{classes:t,container:n,direction:r,item:o,spacing:s,wrap:i,zeroMinWidth:a,breakpoints:l}=e;let c=[];n&&(c=uM(s,l));const u=[];l.forEach(p=>{const y=e[p];y&&u.push(`grid-${p}-${String(y)}`)});const d={root:["root",n&&"container",o&&"item",a&&"zeroMinWidth",...c,r!=="row"&&`direction-xs-${String(r)}`,i!=="wrap"&&`wrap-xs-${String(i)}`,...u]};return Te(d,$6,t)},dM=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiGrid"}),{breakpoints:o}=Pr(),s=cp(r),{className:i,columns:a,columnSpacing:l,component:c="div",container:u=!1,direction:d="row",item:p=!1,rowSpacing:y,spacing:h=0,wrap:P="wrap",zeroMinWidth:x=!1}=s,A=ce(s,rM),v=y||h,m=l||h,w=g.useContext(Gb),j=u?a||12:w,z={},H=b({},A);o.keys.forEach(S=>{A[S]!=null&&(z[S]=A[S],delete H[S])});const O=b({},s,{columns:j,container:u,direction:d,item:p,rowSpacing:v,columnSpacing:m,wrap:P,zeroMinWidth:x,spacing:h},z,{breakpoints:o.keys}),D=fM(O);return f.jsx(Gb.Provider,{value:j,children:f.jsx(cM,b({ownerState:O,className:le(D.root,i),as:c,ref:n},H))})}),yo=dM,pM=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ym(e){return`scale(${e}, ${e**2})`}const vM={entering:{opacity:1,transform:Ym(1)},entered:{opacity:1,transform:"none"}},Ph=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),a9=g.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:s,easing:i,in:a,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:p,onExiting:y,style:h,timeout:P="auto",TransitionComponent:x=JP}=t,A=ce(t,pM),v=_s(),m=g.useRef(),w=Pr(),j=g.useRef(null),z=Ht(j,s.ref,n),H=N=>Z=>{if(N){const J=j.current;Z===void 0?N(J):N(J,Z)}},O=H(u),D=H((N,Z)=>{qP(N);const{duration:J,delay:T,easing:B}=Za({style:h,timeout:P,easing:i},{mode:"enter"});let K;P==="auto"?(K=w.transitions.getAutoHeightDuration(N.clientHeight),m.current=K):K=J,N.style.transition=[w.transitions.create("opacity",{duration:K,delay:T}),w.transitions.create("transform",{duration:Ph?K:K*.666,delay:T,easing:B})].join(","),l&&l(N,Z)}),S=H(c),I=H(y),R=H(N=>{const{duration:Z,delay:J,easing:T}=Za({style:h,timeout:P,easing:i},{mode:"exit"});let B;P==="auto"?(B=w.transitions.getAutoHeightDuration(N.clientHeight),m.current=B):B=Z,N.style.transition=[w.transitions.create("opacity",{duration:B,delay:J}),w.transitions.create("transform",{duration:Ph?B:B*.666,delay:Ph?J:J||B*.333,easing:T})].join(","),N.style.opacity=0,N.style.transform=Ym(.75),d&&d(N)}),M=H(p),W=N=>{P==="auto"&&v.start(m.current||0,N),r&&r(j.current,N)};return f.jsx(x,b({appear:o,in:a,nodeRef:j,onEnter:D,onEntered:S,onEntering:O,onExit:R,onExited:M,onExiting:I,addEndListener:W,timeout:P==="auto"?null:P},A,{children:(N,Z)=>g.cloneElement(s,b({style:b({opacity:0,transform:Ym(.75),visibility:N==="exited"&&!a?"hidden":void 0},vM[N],h,s.props.style),ref:z},Z))}))});a9.muiSupportAuto=!0;const Pd=a9;function hM(e,t,n,r,o){const[s,i]=g.useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return rr(()=>{let a=!0;if(!n)return;const l=n(e),c=()=>{a&&i(l.matches)};return c(),l.addListener(c),()=>{a=!1,l.removeListener(c)}},[e,n]),s}const l9=g.useSyncExternalStore;function mM(e,t,n,r,o){const s=g.useCallback(()=>t,[t]),i=g.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(r!==null){const{matches:u}=r(e);return()=>u}return s},[s,e,r,o,n]),[a,l]=g.useMemo(()=>{if(n===null)return[s,()=>()=>{}];const u=n(e);return[()=>u.matches,d=>(u.addListener(d),()=>{u.removeListener(d)})]},[s,n,e]);return l9(l,a,i)}function AM(e,t={}){const n=ap(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:s=r?window.matchMedia:null,ssrMatchMedia:i=null,noSsr:a=!1}=bw({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(l9!==void 0?mM:hM)(l,o,s,i,a)}const PM=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],gM=e=>{const{classes:t,disableUnderline:n}=e,o=Te({root:["root",!n&&"underline"],input:["input"]},kR,t);return b({},t,o)},yM=_(Up,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Zp(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})`),b({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"},[`&.${us.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${us.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(.${us.disabled}, .${us.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${us.disabled}:before`]:{borderBottomStyle:"dotted"}})}),bM=_(Qp,{name:"MuiInput",slot:"Input",overridesResolver:Gp})({}),c9=g.forwardRef(function(t,n){var r,o,s,i;const a=Re({props:t,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:u,fullWidth:d=!1,inputComponent:p="input",multiline:y=!1,slotProps:h,slots:P={},type:x="text"}=a,A=ce(a,PM),v=gM(a),w={root:{ownerState:{disableUnderline:l}}},j=h??u?Gn(h??u,w):w,z=(r=(o=P.root)!=null?o:c.Root)!=null?r:yM,H=(s=(i=P.input)!=null?i:c.Input)!=null?s:bM;return f.jsx(Kp,b({slots:{root:z,input:H},slotProps:j,fullWidth:d,inputComponent:p,multiline:y,ref:n,type:x},A,{classes:v}))});c9.muiName="Input";const u9=c9;function xM(e){return De("MuiInputAdornment",e)}const wM=Se("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),Ub=wM;var Qb;const HM=["children","className","component","disablePointerEvents","disableTypography","position","variant"],jM=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${te(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},zM=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:s,variant:i}=e,a={root:["root",n&&"disablePointerEvents",o&&`position${te(o)}`,i,r&&"hiddenLabel",s&&`size${te(s)}`]};return Te(a,xM,t)},OM=_("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:jM})(({theme:e,ownerState:t})=>b({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${Ub.positionStart}&:not(.${Ub.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),CM=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiInputAdornment"}),{children:o,className:s,component:i="div",disablePointerEvents:a=!1,disableTypography:l=!1,position:c,variant:u}=r,d=ce(r,HM),p=jo()||{};let y=u;u&&p.variant,p&&!y&&(y=p.variant);const h=b({},r,{hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:a,position:c,variant:y}),P=zM(h);return f.jsx(qp.Provider,{value:null,children:f.jsx(OM,b({as:i,ownerState:h,className:le(P.root,s),ref:n},d,{children:typeof o=="string"&&!l?f.jsx(Ue,{color:"text.secondary",children:o}):f.jsxs(g.Fragment,{children:[c==="start"?Qb||(Qb=f.jsx("span",{className:"notranslate",children:"​"})):null,o]})}))})}),og=CM;function DM(e){return De("MuiInputLabel",e)}Se("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const SM=["disableAnimation","margin","shrink","variant","className"],TM=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:s,variant:i,required:a}=e,l={root:["root",n&&"formControl",!s&&"animated",o&&"shrink",r&&r!=="normal"&&`size${te(r)}`,i],asterisk:[a&&"asterisk"]},c=Te(l,DM,t);return b({},t,c)},RM=_(Tf,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ac.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(({theme:e,ownerState:t})=>b({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"&&b({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&&b({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"&&b({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)"}))),kM=g.forwardRef(function(t,n){const r=Re({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:s,className:i}=r,a=ce(r,SM),l=jo();let c=s;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const u=Ws({props:r,muiFormControl:l,states:["size","variant","required","focused"]}),d=b({},r,{disableAnimation:o,formControl:l,shrink:c,size:u.size,variant:u.variant,required:u.required,focused:u.focused}),p=TM(d);return f.jsx(RM,b({"data-shrink":c,ownerState:d,ref:n,className:le(p.root,i)},a,{classes:p}))}),qm=kM;function EM(e){return De("MuiLink",e)}const MM=Se("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),LM=MM,f9={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},XM=e=>f9[e]||e,NM=({theme:e,ownerState:t})=>{const n=XM(t.color),r=Xa(e,`palette.${n}`,!1)||t.color,o=Xa(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Ze(r,.4)},BM=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],VM=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,s={root:["root",`underline${te(o)}`,n==="button"&&"button",r&&"focusVisible"]};return Te(s,EM,t)},IM=_(Ue,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${te(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>b({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&b({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:NM({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${LM.focusVisible}`]:{outline:"auto"}})),WM=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiLink"}),{className:o,color:s="primary",component:i="a",onBlur:a,onFocus:l,TypographyClasses:c,underline:u="always",variant:d="inherit",sx:p}=r,y=ce(r,BM),{isFocusVisibleRef:h,onBlur:P,onFocus:x,ref:A}=vp(),[v,m]=g.useState(!1),w=Ht(n,A),j=D=>{P(D),h.current===!1&&m(!1),a&&a(D)},z=D=>{x(D),h.current===!0&&m(!0),l&&l(D)},H=b({},r,{color:s,component:i,focusVisible:v,underline:u,variant:d}),O=VM(H);return f.jsx(IM,b({color:s,className:le(O.root,o),classes:c,component:i,onBlur:j,onFocus:z,ref:w,ownerState:H,variant:d,sx:[...Object.keys(f9).includes(s)?[]:[{color:s}],...Array.isArray(p)?p:[p]]},y))}),Kl=WM,JM=g.createContext({}),Qr=JM;function FM(e){return De("MuiList",e)}Se("MuiList",["root","padding","dense","subheader"]);const YM=["children","className","component","dense","disablePadding","subheader"],qM=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Te({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},FM,t)},ZM=_("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>b({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),GM=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiList"}),{children:o,className:s,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:c}=r,u=ce(r,YM),d=g.useMemo(()=>({dense:a}),[a]),p=b({},r,{component:i,dense:a,disablePadding:l}),y=qM(p);return f.jsx(Qr.Provider,{value:d,children:f.jsxs(ZM,b({as:i,className:le(y.root,s),ref:n,ownerState:p},u,{children:[c,o]}))})}),Zm=GM;function UM(e){return De("MuiListItem",e)}const QM=Se("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Ui=QM;function KM(e){return De("MuiListItemButton",e)}const _M=Se("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Qi=_M,$M=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],eL=(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]},tL=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:s,divider:i,selected:a}=e,c=Te({root:["root",r&&"dense",!s&&"gutters",i&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},KM,n);return b({},n,c)},nL=_(Xs,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:eL})(({theme:e,ownerState:t})=>b({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Qi.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Qi.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Qi.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ze(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})`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Qi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Qi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),rL=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:s=!1,component:i="div",children:a,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:d,selected:p=!1,className:y}=r,h=ce(r,$M),P=g.useContext(Qr),x=g.useMemo(()=>({dense:l||P.dense||!1,alignItems:o,disableGutters:c}),[o,P.dense,l,c]),A=g.useRef(null);rr(()=>{s&&A.current&&A.current.focus()},[s]);const v=b({},r,{alignItems:o,dense:x.dense,disableGutters:c,divider:u,selected:p}),m=tL(v),w=Ht(A,n);return f.jsx(Qr.Provider,{value:x,children:f.jsx(nL,b({ref:w,href:h.href||h.to,component:(h.href||h.to)&&i==="div"?"button":i,focusVisibleClassName:le(m.focusVisible,d),ownerState:v,className:le(m.root,y)},h,{classes:m,children:a}))})}),d9=rL;function oL(e){return De("MuiListItemSecondaryAction",e)}Se("MuiListItemSecondaryAction",["root","disableGutters"]);const sL=["className"],iL=e=>{const{disableGutters:t,classes:n}=e;return Te({root:["root",t&&"disableGutters"]},oL,n)},aL=_("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>b({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),p9=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiListItemSecondaryAction"}),{className:o}=r,s=ce(r,sL),i=g.useContext(Qr),a=b({},r,{disableGutters:i.disableGutters}),l=iL(a);return f.jsx(aL,b({className:le(l.root,o),ownerState:a,ref:n},s))});p9.muiName="ListItemSecondaryAction";const lL=p9,cL=["className"],uL=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],fL=(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]},dL=e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:s,disableGutters:i,disablePadding:a,divider:l,hasSecondaryAction:c,selected:u}=e;return Te({root:["root",o&&"dense",!i&&"gutters",!a&&"padding",l&&"divider",s&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},UM,r)},pL=_("div",{name:"MuiListItem",slot:"Root",overridesResolver:fL})(({theme:e,ownerState:t})=>b({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&b({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Qi.root}`]:{paddingRight:48}},{[`&.${Ui.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ui.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ui.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ui.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"}},[`&.${Ui.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ze(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})`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),vL=_("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),hL=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiListItem"}),{alignItems:o="center",autoFocus:s=!1,button:i=!1,children:a,className:l,component:c,components:u={},componentsProps:d={},ContainerComponent:p="li",ContainerProps:{className:y}={},dense:h=!1,disabled:P=!1,disableGutters:x=!1,disablePadding:A=!1,divider:v=!1,focusVisibleClassName:m,secondaryAction:w,selected:j=!1,slotProps:z={},slots:H={}}=r,O=ce(r.ContainerProps,cL),D=ce(r,uL),S=g.useContext(Qr),I=g.useMemo(()=>({dense:h||S.dense||!1,alignItems:o,disableGutters:x}),[o,S.dense,h,x]),R=g.useRef(null);rr(()=>{s&&R.current&&R.current.focus()},[s]);const M=g.Children.toArray(a),W=M.length&&oc(M[M.length-1],["ListItemSecondaryAction"]),N=b({},r,{alignItems:o,autoFocus:s,button:i,dense:I.dense,disabled:P,disableGutters:x,disablePadding:A,divider:v,hasSecondaryAction:W,selected:j}),Z=dL(N),J=Ht(R,n),T=H.root||u.Root||pL,B=z.root||d.root||{},K=b({className:le(Z.root,B.className,l),disabled:P},D);let fe=c||"li";return i&&(K.component=c||"div",K.focusVisibleClassName=le(Ui.focusVisible,m),fe=Xs),W?(fe=!K.component&&!c?"div":fe,p==="li"&&(fe==="li"?fe="div":K.component==="li"&&(K.component="div")),f.jsx(Qr.Provider,{value:I,children:f.jsxs(vL,b({as:p,className:le(Z.container,y),ref:J,ownerState:N},O,{children:[f.jsx(T,b({},B,!zi(T)&&{as:fe,ownerState:b({},N,B.ownerState)},K,{children:M})),M.pop()]}))})):f.jsx(Qr.Provider,{value:I,children:f.jsxs(T,b({},B,{as:fe,ref:J},!zi(T)&&{ownerState:b({},N,B.ownerState)},K,{children:[M,w&&f.jsx(lL,{children:w})]}))})}),Cl=hL;function mL(e){return De("MuiListItemIcon",e)}const AL=Se("MuiListItemIcon",["root","alignItemsFlexStart"]),Kb=AL,PL=["className"],gL=e=>{const{alignItems:t,classes:n}=e;return Te({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},mL,n)},yL=_("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>b({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),bL=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiListItemIcon"}),{className:o}=r,s=ce(r,PL),i=g.useContext(Qr),a=b({},r,{alignItems:i.alignItems}),l=gL(a);return f.jsx(yL,b({className:le(l.root,o),ownerState:a,ref:n},s))}),xL=bL;function wL(e){return De("MuiListItemText",e)}const HL=Se("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),gd=HL,jL=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],zL=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:s}=e;return Te({root:["root",n&&"inset",s&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},wL,t)},OL=_("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${gd.primary}`]:t.primary},{[`& .${gd.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>b({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),CL=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiListItemText"}),{children:o,className:s,disableTypography:i=!1,inset:a=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:d}=r,p=ce(r,jL),{dense:y}=g.useContext(Qr);let h=l??o,P=u;const x=b({},r,{disableTypography:i,inset:a,primary:!!h,secondary:!!P,dense:y}),A=zL(x);return h!=null&&h.type!==Ue&&!i&&(h=f.jsx(Ue,b({variant:y?"body2":"body1",className:A.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:h}))),P!=null&&P.type!==Ue&&!i&&(P=f.jsx(Ue,b({variant:"body2",className:A.secondary,color:"text.secondary",display:"block"},d,{children:P}))),f.jsxs(OL,b({className:le(A.root,s),ownerState:x,ref:n},p,{children:[h,P]}))}),ua=CL,DL=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function gh(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function _b(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function v9(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 Dl(e,t,n,r,o,s){let i=!1,a=o(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(i)return!1;i=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!v9(a,s)||l)a=o(e,a,n);else return a.focus(),!0}return!1}const SL=g.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:s=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=t,p=ce(t,DL),y=g.useRef(null),h=g.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});rr(()=>{o&&y.current.focus()},[o]),g.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(m,w)=>{const j=!y.current.style.width;if(m.clientHeight{const w=y.current,j=m.key,z=an(w).activeElement;if(j==="ArrowDown")m.preventDefault(),Dl(w,z,c,l,gh);else if(j==="ArrowUp")m.preventDefault(),Dl(w,z,c,l,_b);else if(j==="Home")m.preventDefault(),Dl(w,null,c,l,gh);else if(j==="End")m.preventDefault(),Dl(w,null,c,l,_b);else if(j.length===1){const H=h.current,O=j.toLowerCase(),D=performance.now();H.keys.length>0&&(D-H.lastTime>500?(H.keys=[],H.repeating=!0,H.previousKeyMatched=!0):H.repeating&&O!==H.keys[0]&&(H.repeating=!1)),H.lastTime=D,H.keys.push(O);const S=z&&!H.repeating&&v9(z,H);H.previousKeyMatched&&(S||Dl(w,z,!1,l,gh,H))?m.preventDefault():H.previousKeyMatched=!1}u&&u(m)},x=Ht(y,n);let A=-1;g.Children.forEach(i,(m,w)=>{if(!g.isValidElement(m)){A===w&&(A+=1,A>=i.length&&(A=-1));return}m.props.disabled||(d==="selectedMenu"&&m.props.selected||A===-1)&&(A=w),A===w&&(m.props.disabled||m.props.muiSkipListHighlight||m.type.muiSkipListHighlight)&&(A+=1,A>=i.length&&(A=-1))});const v=g.Children.map(i,(m,w)=>{if(w===A){const j={};return s&&(j.autoFocus=!0),m.props.tabIndex===void 0&&d==="selectedMenu"&&(j.tabIndex=0),g.cloneElement(m,j)}return m});return f.jsx(Zm,b({role:"menu",ref:x,className:a,onKeyDown:P,tabIndex:o?0:-1},p,{children:v}))}),TL=SL;function RL(e){return De("MuiPopover",e)}Se("MuiPopover",["root","paper"]);const kL=["onEntering"],EL=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],ML=["slotProps"];function $b(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function ex(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function tx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function yh(e){return typeof e=="function"?e():e}const LL=e=>{const{classes:t}=e;return Te({root:["root"],paper:["paper"]},RL,t)},XL=_(rg,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),h9=_(hr,{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}),NL=g.forwardRef(function(t,n){var r,o,s;const i=Re({props:t,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:p,className:y,container:h,elevation:P=8,marginThreshold:x=16,open:A,PaperProps:v={},slots:m,slotProps:w,transformOrigin:j={vertical:"top",horizontal:"left"},TransitionComponent:z=Pd,transitionDuration:H="auto",TransitionProps:{onEntering:O}={},disableScrollLock:D=!1}=i,S=ce(i.TransitionProps,kL),I=ce(i,EL),R=(r=w==null?void 0:w.paper)!=null?r:v,M=g.useRef(),W=Ht(M,R.ref),N=b({},i,{anchorOrigin:c,anchorReference:d,elevation:P,marginThreshold:x,externalPaperSlotProps:R,transformOrigin:j,TransitionComponent:z,transitionDuration:H,TransitionProps:S}),Z=LL(N),J=g.useCallback(()=>{if(d==="anchorPosition")return u;const be=yh(l),Ee=(be&&be.nodeType===1?be:an(M.current).body).getBoundingClientRect();return{top:Ee.top+$b(Ee,c.vertical),left:Ee.left+ex(Ee,c.horizontal)}},[l,c.horizontal,c.vertical,u,d]),T=g.useCallback(be=>({vertical:$b(be,j.vertical),horizontal:ex(be,j.horizontal)}),[j.horizontal,j.vertical]),B=g.useCallback(be=>{const Ie={width:be.offsetWidth,height:be.offsetHeight},Ee=T(Ie);if(d==="none")return{top:null,left:null,transformOrigin:tx(Ee)};const ge=J();let nt=ge.top-Ee.vertical,C=ge.left-Ee.horizontal;const V=nt+Ie.height,Y=C+Ie.width,F=bo(yh(l)),Q=F.innerHeight-x,U=F.innerWidth-x;if(x!==null&&ntQ){const oe=V-Q;nt-=oe,Ee.vertical+=oe}if(x!==null&&CU){const oe=Y-U;C-=oe,Ee.horizontal+=oe}return{top:`${Math.round(nt)}px`,left:`${Math.round(C)}px`,transformOrigin:tx(Ee)}},[l,d,J,T,x]),[K,fe]=g.useState(A),E=g.useCallback(()=>{const be=M.current;if(!be)return;const Ie=B(be);Ie.top!==null&&(be.style.top=Ie.top),Ie.left!==null&&(be.style.left=Ie.left),be.style.transformOrigin=Ie.transformOrigin,fe(!0)},[B]);g.useEffect(()=>(D&&window.addEventListener("scroll",E),()=>window.removeEventListener("scroll",E)),[l,D,E]);const ee=(be,Ie)=>{O&&O(be,Ie),E()},G=()=>{fe(!1)};g.useEffect(()=>{A&&E()}),g.useImperativeHandle(a,()=>A?{updatePosition:()=>{E()}}:null,[A,E]),g.useEffect(()=>{if(!A)return;const be=dp(()=>{E()}),Ie=bo(l);return Ie.addEventListener("resize",be),()=>{be.clear(),Ie.removeEventListener("resize",be)}},[l,A,E]);let ie=H;H==="auto"&&!z.muiSupportAuto&&(ie=void 0);const re=h||(l?an(yh(l)).body:void 0),me=(o=m==null?void 0:m.root)!=null?o:XL,ue=(s=m==null?void 0:m.paper)!=null?s:h9,se=Ls({elementType:ue,externalSlotProps:b({},R,{style:K?R.style:b({},R.style,{opacity:0})}),additionalProps:{elevation:P,ref:W},ownerState:N,className:le(Z.paper,R==null?void 0:R.className)}),de=Ls({elementType:me,externalSlotProps:(w==null?void 0:w.root)||{},externalForwardedProps:I,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:re,open:A},ownerState:N,className:le(Z.root,y)}),{slotProps:He}=de,we=ce(de,ML);return f.jsx(me,b({},we,!zi(me)&&{slotProps:He,disableScrollLock:D},{children:f.jsx(z,b({appear:!0,in:A,onEntering:ee,onExited:G,timeout:ie},S,{children:f.jsx(ue,b({},se,{children:p}))}))}))}),BL=NL;function VL(e){return De("MuiMenu",e)}Se("MuiMenu",["root","paper","list"]);const IL=["onEntering"],WL=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],JL={vertical:"top",horizontal:"right"},FL={vertical:"top",horizontal:"left"},YL=e=>{const{classes:t}=e;return Te({root:["root"],paper:["paper"],list:["list"]},VL,t)},qL=_(BL,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ZL=_(h9,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),GL=_(TL,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),UL=g.forwardRef(function(t,n){var r,o;const s=Re({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:d,open:p,PaperProps:y={},PopoverClasses:h,transitionDuration:P="auto",TransitionProps:{onEntering:x}={},variant:A="selectedMenu",slots:v={},slotProps:m={}}=s,w=ce(s.TransitionProps,IL),j=ce(s,WL),z=Pr(),H=z.direction==="rtl",O=b({},s,{autoFocus:i,disableAutoFocusItem:c,MenuListProps:u,onEntering:x,PaperProps:y,transitionDuration:P,TransitionProps:w,variant:A}),D=YL(O),S=i&&!c&&p,I=g.useRef(null),R=(B,K)=>{I.current&&I.current.adjustStyleForScrollbar(B,z),x&&x(B,K)},M=B=>{B.key==="Tab"&&(B.preventDefault(),d&&d(B,"tabKeyDown"))};let W=-1;g.Children.map(a,(B,K)=>{g.isValidElement(B)&&(B.props.disabled||(A==="selectedMenu"&&B.props.selected||W===-1)&&(W=K))});const N=(r=v.paper)!=null?r:ZL,Z=(o=m.paper)!=null?o:y,J=Ls({elementType:v.root,externalSlotProps:m.root,ownerState:O,className:[D.root,l]}),T=Ls({elementType:N,externalSlotProps:Z,ownerState:O,className:D.paper});return f.jsx(qL,b({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:H?"right":"left"},transformOrigin:H?JL:FL,slots:{paper:N,root:v.root},slotProps:{root:J,paper:T},open:p,ref:n,transitionDuration:P,TransitionProps:b({onEntering:R},w),ownerState:O},j,{classes:h,children:f.jsx(GL,b({onKeyDown:M,actions:I,autoFocus:i&&(W===-1||c),autoFocusItem:S,variant:A},u,{className:le(D.list,u.className),children:a}))}))}),Qc=UL;function QL(e){return De("MuiMenuItem",e)}const KL=Se("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Sl=KL,_L=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],$L=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},eX=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:s,classes:i}=e,l=Te({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",s&&"selected"]},QL,i);return b({},i,l)},tX=_(Xs,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:$L})(({theme:e,ownerState:t})=>b({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Sl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Sl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Sl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ze(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})`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Sl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Sl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Fb.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Fb.inset}`]:{marginLeft:52},[`& .${gd.root}`]:{marginTop:0,marginBottom:0},[`& .${gd.inset}`]:{paddingLeft:36},[`& .${Kb.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&b({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Kb.root} svg`]:{fontSize:"1.25rem"}}))),nX=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:s="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:p}=r,y=ce(r,_L),h=g.useContext(Qr),P=g.useMemo(()=>({dense:i||h.dense||!1,disableGutters:l}),[h.dense,i,l]),x=g.useRef(null);rr(()=>{o&&x.current&&x.current.focus()},[o]);const A=b({},r,{dense:P.dense,divider:a,disableGutters:l}),v=eX(r),m=Ht(x,n);let w;return r.disabled||(w=d!==void 0?d:-1),f.jsx(Qr.Provider,{value:P,children:f.jsx(tX,b({ref:m,role:u,tabIndex:w,component:s,focusVisibleClassName:le(v.focusVisible,c),className:le(v.root,p)},y,{ownerState:A,classes:v}))})}),vo=nX;function rX(e){return De("MuiNativeSelect",e)}const oX=Se("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),sg=oX,sX=["className","disabled","error","IconComponent","inputRef","variant"],iX=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:s,error:i}=e,a={select:["select",n,r&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${te(n)}`,s&&"iconOpen",r&&"disabled"]};return Te(a,rX,t)},m9=({ownerState:e,theme:t})=>b({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":b({},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"},[`&.${sg.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}}),aX=_("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:pn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${sg.multiple}`]:t.multiple}]}})(m9),A9=({ownerState:e,theme:t})=>b({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${sg.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),lX=_("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${te(n.variant)}`],n.open&&t.iconOpen]}})(A9),cX=g.forwardRef(function(t,n){const{className:r,disabled:o,error:s,IconComponent:i,inputRef:a,variant:l="standard"}=t,c=ce(t,sX),u=b({},t,{disabled:o,variant:l,error:s}),d=iX(u);return f.jsxs(g.Fragment,{children:[f.jsx(aX,b({ownerState:u,className:le(d.select,r),disabled:o,ref:a||n},c)),t.multiple?null:f.jsx(lX,{as:i,ownerState:u,className:d.icon})]})}),uX=cX;var nx;const fX=["children","classes","className","label","notched"],dX=_("fieldset",{shouldForwardProp:pn})({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%"}),pX=_("legend",{shouldForwardProp:pn})(({ownerState:e,theme:t})=>b({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&&b({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 vX(e){const{className:t,label:n,notched:r}=e,o=ce(e,fX),s=n!=null&&n!=="",i=b({},e,{notched:r,withLabel:s});return f.jsx(dX,b({"aria-hidden":!0,className:t,ownerState:i},o,{children:f.jsx(pX,{ownerState:i,children:s?f.jsx("span",{children:n}):nx||(nx=f.jsx("span",{className:"notranslate",children:"​"}))})}))}const hX=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],mX=e=>{const{classes:t}=e,r=Te({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},MR,t);return b({},t,r)},AX=_(Up,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Zp})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return b({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${oo.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${oo.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${oo.focused} .${oo.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${oo.error} .${oo.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${oo.disabled} .${oo.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&b({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),PX=_(vX,{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}}),gX=_(Qp,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Gp})(({theme:e,ownerState:t})=>b({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})),P9=g.forwardRef(function(t,n){var r,o,s,i,a;const l=Re({props:t,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:d="input",label:p,multiline:y=!1,notched:h,slots:P={},type:x="text"}=l,A=ce(l,hX),v=mX(l),m=jo(),w=Ws({props:l,muiFormControl:m,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),j=b({},l,{color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:m,fullWidth:u,hiddenLabel:w.hiddenLabel,multiline:y,size:w.size,type:x}),z=(r=(o=P.root)!=null?o:c.Root)!=null?r:AX,H=(s=(i=P.input)!=null?i:c.Input)!=null?s:gX;return f.jsx(Kp,b({slots:{root:z,input:H},renderSuffix:O=>f.jsx(PX,{ownerState:j,className:v.notchedOutline,label:p!=null&&p!==""&&w.required?a||(a=f.jsxs(g.Fragment,{children:[p," ","*"]})):p,notched:typeof h<"u"?h:!!(O.startAdornment||O.filled||O.focused)}),fullWidth:u,inputComponent:d,multiline:y,ref:n,type:x},A,{classes:b({},v,{notchedOutline:null})}))});P9.muiName="Input";const g9=P9,yX=yn(f.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),bX=yn(f.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),xX=yn(f.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),wX=yn(f.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),HX=_("span",{shouldForwardProp:pn})({position:"relative",display:"flex"}),jX=_(xX)({transform:"scale(1)"}),zX=_(wX)(({theme:e,ownerState:t})=>b({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}));function y9(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=b({},e,{checked:t});return f.jsxs(HX,{className:n.root,ownerState:o,children:[f.jsx(jX,{fontSize:r,className:n.background,ownerState:o}),f.jsx(zX,{fontSize:r,className:n.dot,ownerState:o})]})}const OX=g.createContext(void 0),b9=OX;function CX(){return g.useContext(b9)}function DX(e){return De("MuiRadio",e)}const rx=Se("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),SX=["checked","checkedIcon","color","icon","name","onChange","size","className"],TX=e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${te(n)}`,r!=="medium"&&`size${te(r)}`]};return b({},t,Te(o,DX,t))},RX=_(tg,{shouldForwardProp:e=>pn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${te(n.size)}`],t[`color${te(n.color)}`]]}})(({theme:e,ownerState:t})=>b({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ze(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${rx.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${rx.disabled}`]:{color:(e.vars||e).palette.action.disabled}}));function kX(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const ox=f.jsx(y9,{checked:!0}),sx=f.jsx(y9,{}),EX=g.forwardRef(function(t,n){var r,o;const s=Re({props:t,name:"MuiRadio"}),{checked:i,checkedIcon:a=ox,color:l="primary",icon:c=sx,name:u,onChange:d,size:p="medium",className:y}=s,h=ce(s,SX),P=b({},s,{color:l,size:p}),x=TX(P),A=CX();let v=i;const m=Wf(d,A&&A.onChange);let w=u;return A&&(typeof v>"u"&&(v=kX(A.value,s.value)),typeof w>"u"&&(w=A.name)),f.jsx(RX,b({type:"radio",icon:g.cloneElement(c,{fontSize:(r=sx.props.fontSize)!=null?r:p}),checkedIcon:g.cloneElement(a,{fontSize:(o=ox.props.fontSize)!=null?o:p}),ownerState:P,classes:x,name:w,checked:v,onChange:m,ref:n,className:le(x.root,y)},h))}),Gm=EX,MX=["actions","children","defaultValue","name","onChange","value"],LX=g.forwardRef(function(t,n){const{actions:r,children:o,defaultValue:s,name:i,onChange:a,value:l}=t,c=ce(t,MX),u=g.useRef(null),[d,p]=Vo({controlled:l,default:s,name:"RadioGroup"});g.useImperativeHandle(r,()=>({focus:()=>{let x=u.current.querySelector("input:not(:disabled):checked");x||(x=u.current.querySelector("input:not(:disabled)")),x&&x.focus()}}),[]);const y=Ht(n,u),h=xo(i),P=g.useMemo(()=>({name:h,onChange(x){p(x.target.value),a&&a(x,x.target.value)},value:d}),[h,a,p,d]);return f.jsx(b9.Provider,{value:P,children:f.jsx(N6,b({role:"radiogroup",ref:y},c,{children:o}))})}),Um=LX;function XX(e){return De("MuiSelect",e)}const Tl=Se("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var ix;const NX=["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"],BX=_("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Tl.select}`]:t.select},{[`&.${Tl.select}`]:t[n.variant]},{[`&.${Tl.error}`]:t.error},{[`&.${Tl.multiple}`]:t.multiple}]}})(m9,{[`&.${Tl.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),VX=_("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${te(n.variant)}`],n.open&&t.iconOpen]}})(A9),IX=_("input",{shouldForwardProp:e=>Zz(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 ax(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function WX(e){return e==null||typeof e=="string"&&!e.trim()}const JX=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:s,error:i}=e,a={select:["select",n,r&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${te(n)}`,s&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Te(a,XX,t)},FX=g.forwardRef(function(t,n){var r;const{"aria-describedby":o,"aria-label":s,autoFocus:i,autoWidth:a,children:l,className:c,defaultOpen:u,defaultValue:d,disabled:p,displayEmpty:y,error:h=!1,IconComponent:P,inputRef:x,labelId:A,MenuProps:v={},multiple:m,name:w,onBlur:j,onChange:z,onClose:H,onFocus:O,onOpen:D,open:S,readOnly:I,renderValue:R,SelectDisplayProps:M={},tabIndex:W,value:N,variant:Z="standard"}=t,J=ce(t,NX),[T,B]=Vo({controlled:N,default:d,name:"Select"}),[K,fe]=Vo({controlled:S,default:u,name:"Select"}),E=g.useRef(null),ee=g.useRef(null),[G,ie]=g.useState(null),{current:re}=g.useRef(S!=null),[me,ue]=g.useState(),se=Ht(n,x),de=g.useCallback(je=>{ee.current=je,je&&ie(je)},[]),He=G==null?void 0:G.parentNode;g.useImperativeHandle(se,()=>({focus:()=>{ee.current.focus()},node:E.current,value:T}),[T]),g.useEffect(()=>{u&&K&&G&&!re&&(ue(a?null:He.clientWidth),ee.current.focus())},[G,a]),g.useEffect(()=>{i&&ee.current.focus()},[i]),g.useEffect(()=>{if(!A)return;const je=an(ee.current).getElementById(A);if(je){const Ge=()=>{getSelection().isCollapsed&&ee.current.focus()};return je.addEventListener("click",Ge),()=>{je.removeEventListener("click",Ge)}}},[A]);const we=(je,Ge)=>{je?D&&D(Ge):H&&H(Ge),re||(ue(a?null:He.clientWidth),fe(je))},be=je=>{je.button===0&&(je.preventDefault(),ee.current.focus(),we(!0,je))},Ie=je=>{we(!1,je)},Ee=g.Children.toArray(l),ge=je=>{const Ge=Ee.find(X=>X.props.value===je.target.value);Ge!==void 0&&(B(Ge.props.value),z&&z(je,Ge))},nt=je=>Ge=>{let X;if(Ge.currentTarget.hasAttribute("tabindex")){if(m){X=Array.isArray(T)?T.slice():[];const L=T.indexOf(je.props.value);L===-1?X.push(je.props.value):X.splice(L,1)}else X=je.props.value;if(je.props.onClick&&je.props.onClick(Ge),T!==X&&(B(X),z)){const L=Ge.nativeEvent||Ge,ae=new L.constructor(L.type,L);Object.defineProperty(ae,"target",{writable:!0,value:{value:X,name:w}}),z(ae,je)}m||we(!1,Ge)}},C=je=>{I||[" ","ArrowUp","ArrowDown","Enter"].indexOf(je.key)!==-1&&(je.preventDefault(),we(!0,je))},V=G!==null&&K,Y=je=>{!V&&j&&(Object.defineProperty(je,"target",{writable:!0,value:{value:T,name:w}}),j(je))};delete J["aria-invalid"];let F,Q;const U=[];let oe=!1;(Ad({value:T})||y)&&(R?F=R(T):oe=!0);const ke=Ee.map(je=>{if(!g.isValidElement(je))return null;let Ge;if(m){if(!Array.isArray(T))throw new Error(ks(2));Ge=T.some(X=>ax(X,je.props.value)),Ge&&oe&&U.push(je.props.children)}else Ge=ax(T,je.props.value),Ge&&oe&&(Q=je.props.children);return g.cloneElement(je,{"aria-selected":Ge?"true":"false",onClick:nt(je),onKeyUp:X=>{X.key===" "&&X.preventDefault(),je.props.onKeyUp&&je.props.onKeyUp(X)},role:"option",selected:Ge,value:void 0,"data-value":je.props.value})});oe&&(m?U.length===0?F=null:F=U.reduce((je,Ge,X)=>(je.push(Ge),X{const{classes:t}=e;return t},ig={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>pn(e)&&e!=="variant",slot:"Root"},UX=_(u9,ig)(""),QX=_(g9,ig)(""),KX=_(s9,ig)(""),x9=g.forwardRef(function(t,n){const r=Re({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:s,classes:i={},className:a,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=G2,id:d,input:p,inputProps:y,label:h,labelId:P,MenuProps:x,multiple:A=!1,native:v=!1,onClose:m,onOpen:w,open:j,renderValue:z,SelectDisplayProps:H,variant:O="outlined"}=r,D=ce(r,qX),S=v?uX:YX,I=jo(),R=Ws({props:r,muiFormControl:I,states:["variant","error"]}),M=R.variant||O,W=b({},r,{variant:M,classes:i}),N=GX(W),Z=ce(N,ZX),J=p||{standard:f.jsx(UX,{ownerState:W}),outlined:f.jsx(QX,{label:h,ownerState:W}),filled:f.jsx(KX,{ownerState:W})}[M],T=Ht(n,J.ref);return f.jsx(g.Fragment,{children:g.cloneElement(J,b({inputComponent:S,inputProps:b({children:s,error:R.error,IconComponent:u,variant:M,type:void 0,multiple:A},v?{id:d}:{autoWidth:o,defaultOpen:l,displayEmpty:c,labelId:P,MenuProps:x,onClose:m,onOpen:w,open:j,renderValue:z,SelectDisplayProps:b({id:d},H)},y,{classes:y?Gn(Z,y.classes):Z},p?p.props.inputProps:{})},(A&&v||c)&&M==="outlined"?{notched:!0}:{},{ref:T,className:le(J.props.className,a,N.root)},!p&&{variant:M},D))})});x9.muiName="Select";const yd=x9;function _X(e){return De("MuiSnackbarContent",e)}Se("MuiSnackbarContent",["root","message","action"]);const $X=["action","className","message","role"],eN=e=>{const{classes:t}=e;return Te({root:["root"],action:["action"],message:["message"]},_X,t)},tN=_(hr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Jj(e.palette.background.default,t);return b({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),nN=_("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),rN=_("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),oN=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiSnackbarContent"}),{action:o,className:s,message:i,role:a="alert"}=r,l=ce(r,$X),c=r,u=eN(c);return f.jsxs(tN,b({role:a,square:!0,elevation:6,className:le(u.root,s),ownerState:c,ref:n},l,{children:[f.jsx(nN,{className:u.message,ownerState:c,children:i}),o?f.jsx(rN,{className:u.action,ownerState:c,children:o}):null]}))}),sN=oN;function iN(e){return De("MuiSnackbar",e)}Se("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const aN=["onEnter","onExited"],lN=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],cN=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${te(n.vertical)}${te(n.horizontal)}`]};return Te(r,iN,t)},lx=_("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${te(n.anchorOrigin.vertical)}${te(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return b({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:b({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),uN=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiSnackbar"}),o=Pr(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:i,anchorOrigin:{vertical:a,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:d,ClickAwayListenerProps:p,ContentProps:y,disableWindowBlurListener:h=!1,message:P,open:x,TransitionComponent:A=Pd,transitionDuration:v=s,TransitionProps:{onEnter:m,onExited:w}={}}=r,j=ce(r.TransitionProps,aN),z=ce(r,lN),H=b({},r,{anchorOrigin:{vertical:a,horizontal:l},autoHideDuration:c,disableWindowBlurListener:h,TransitionComponent:A,transitionDuration:v}),O=cN(H),{getRootProps:D,onClickAway:S}=tR(b({},H)),[I,R]=g.useState(!0),M=Ls({elementType:lx,getSlotProps:D,externalForwardedProps:z,ownerState:H,additionalProps:{ref:n},className:[O.root,d]}),W=Z=>{R(!0),w&&w(Z)},N=(Z,J)=>{R(!1),m&&m(Z,J)};return!x&&I?null:f.jsx(E2,b({onClickAway:S},p,{children:f.jsx(lx,b({},M,{children:f.jsx(A,b({appear:!0,in:x,timeout:v,direction:a==="top"?"down":"up",onEnter:N,onExited:W},j,{children:u||f.jsx(sN,b({message:P,action:i},y))}))}))}))}),fN=uN;function dN(e){return De("MuiTooltip",e)}const pN=Se("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),bs=pN,vN=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function hN(e){return Math.round(e*1e5)/1e5}const mN=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:s}=e,i={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${te(s.split("-")[0])}`],arrow:["arrow"]};return Te(i,dN,t)},AN=_(Yp,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>b({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${bs.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${bs.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${bs.arrow}`]:b({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${bs.arrow}`]:b({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),PN=_("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${te(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>b({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Ze(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${hN(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${bs.popper}[data-popper-placement*="left"] &`]:b({transformOrigin:"right center"},t.isRtl?b({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):b({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${bs.popper}[data-popper-placement*="right"] &`]:b({transformOrigin:"left center"},t.isRtl?b({marginRight:"14px"},t.touch&&{marginRight:"24px"}):b({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${bs.popper}[data-popper-placement*="top"] &`]:b({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${bs.popper}[data-popper-placement*="bottom"] &`]:b({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),gN=_("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Ze(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let tf=!1;const cx=new uu;let Rl={x:0,y:0};function nf(e,t){return n=>{t&&t(n),e(n)}}const yN=g.forwardRef(function(t,n){var r,o,s,i,a,l,c,u,d,p,y,h,P,x,A,v,m,w,j;const z=Re({props:t,name:"MuiTooltip"}),{arrow:H=!1,children:O,components:D={},componentsProps:S={},describeChild:I=!1,disableFocusListener:R=!1,disableHoverListener:M=!1,disableInteractive:W=!1,disableTouchListener:N=!1,enterDelay:Z=100,enterNextDelay:J=0,enterTouchDelay:T=700,followCursor:B=!1,id:K,leaveDelay:fe=0,leaveTouchDelay:E=1500,onClose:ee,onOpen:G,open:ie,placement:re="bottom",PopperComponent:me,PopperProps:ue={},slotProps:se={},slots:de={},title:He,TransitionComponent:we=Pd,TransitionProps:be}=z,Ie=ce(z,vN),Ee=g.isValidElement(O)?O:f.jsx("span",{children:O}),ge=Pr(),nt=ge.direction==="rtl",[C,V]=g.useState(),[Y,F]=g.useState(null),Q=g.useRef(!1),U=W||B,oe=_s(),ke=_s(),Je=_s(),tt=_s(),[Xe,he]=Vo({controlled:ie,default:!1,name:"Tooltip",state:"open"});let Qe=Xe;const mt=xo(K),jt=g.useRef(),je=On(()=>{jt.current!==void 0&&(document.body.style.WebkitUserSelect=jt.current,jt.current=void 0),tt.clear()});g.useEffect(()=>je,[je]);const Ge=Ye=>{cx.clear(),tf=!0,he(!0),G&&!Qe&&G(Ye)},X=On(Ye=>{cx.start(800+fe,()=>{tf=!1}),he(!1),ee&&Qe&&ee(Ye),oe.start(ge.transitions.duration.shortest,()=>{Q.current=!1})}),L=Ye=>{Q.current&&Ye.type!=="touchstart"||(C&&C.removeAttribute("title"),ke.clear(),Je.clear(),Z||tf&&J?ke.start(tf?J:Z,()=>{Ge(Ye)}):Ge(Ye))},ae=Ye=>{ke.clear(),Je.start(fe,()=>{X(Ye)})},{isFocusVisibleRef:Ae,onBlur:ve,onFocus:xe,ref:Me}=vp(),[,Ne]=g.useState(!1),Le=Ye=>{ve(Ye),Ae.current===!1&&(Ne(!1),ae(Ye))},qe=Ye=>{C||V(Ye.currentTarget),xe(Ye),Ae.current===!0&&(Ne(!0),L(Ye))},ft=Ye=>{Q.current=!0;const bn=Ee.props;bn.onTouchStart&&bn.onTouchStart(Ye)},Nt=L,Ot=ae,hn=Ye=>{ft(Ye),Je.clear(),oe.clear(),je(),jt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",tt.start(T,()=>{document.body.style.WebkitUserSelect=jt.current,L(Ye)})},Ut=Ye=>{Ee.props.onTouchEnd&&Ee.props.onTouchEnd(Ye),je(),Je.start(E,()=>{X(Ye)})};g.useEffect(()=>{if(!Qe)return;function Ye(bn){(bn.key==="Escape"||bn.key==="Esc")&&X(bn)}return document.addEventListener("keydown",Ye),()=>{document.removeEventListener("keydown",Ye)}},[X,Qe]);const Ct=Ht(Ee.ref,Me,V,n);!He&&He!==0&&(Qe=!1);const bt=g.useRef(),tn=Ye=>{const bn=Ee.props;bn.onMouseMove&&bn.onMouseMove(Ye),Rl={x:Ye.clientX,y:Ye.clientY},bt.current&&bt.current.update()},Vn={},Ys=typeof He=="string";I?(Vn.title=!Qe&&Ys&&!M?He:null,Vn["aria-describedby"]=Qe?mt:null):(Vn["aria-label"]=Ys?He:null,Vn["aria-labelledby"]=Qe&&!Ys?mt:null);const Dn=b({},Vn,Ie,Ee.props,{className:le(Ie.className,Ee.props.className),onTouchStart:ft,ref:Ct},B?{onMouseMove:tn}:{}),Co={};N||(Dn.onTouchStart=hn,Dn.onTouchEnd=Ut),M||(Dn.onMouseOver=nf(Nt,Dn.onMouseOver),Dn.onMouseLeave=nf(Ot,Dn.onMouseLeave),U||(Co.onMouseOver=Nt,Co.onMouseLeave=Ot)),R||(Dn.onFocus=nf(qe,Dn.onFocus),Dn.onBlur=nf(Le,Dn.onBlur),U||(Co.onFocus=qe,Co.onBlur=Le));const Li=g.useMemo(()=>{var Ye;let bn=[{name:"arrow",enabled:!!Y,options:{element:Y,padding:4}}];return(Ye=ue.popperOptions)!=null&&Ye.modifiers&&(bn=bn.concat(ue.popperOptions.modifiers)),b({},ue.popperOptions,{modifiers:bn})},[Y,ue]),Lr=b({},z,{isRtl:nt,arrow:H,disableInteractive:U,placement:re,PopperComponentProp:me,touch:Q.current}),Xr=mN(Lr),Do=(r=(o=de.popper)!=null?o:D.Popper)!=null?r:AN,ne=(s=(i=(a=de.transition)!=null?a:D.Transition)!=null?i:we)!=null?s:Pd,q=(l=(c=de.tooltip)!=null?c:D.Tooltip)!=null?l:PN,Pe=(u=(d=de.arrow)!=null?d:D.Arrow)!=null?u:gN,Be=Gl(Do,b({},ue,(p=se.popper)!=null?p:S.popper,{className:le(Xr.popper,ue==null?void 0:ue.className,(y=(h=se.popper)!=null?h:S.popper)==null?void 0:y.className)}),Lr),pt=Gl(ne,b({},be,(P=se.transition)!=null?P:S.transition),Lr),Bt=Gl(q,b({},(x=se.tooltip)!=null?x:S.tooltip,{className:le(Xr.tooltip,(A=(v=se.tooltip)!=null?v:S.tooltip)==null?void 0:A.className)}),Lr),qt=Gl(Pe,b({},(m=se.arrow)!=null?m:S.arrow,{className:le(Xr.arrow,(w=(j=se.arrow)!=null?j:S.arrow)==null?void 0:w.className)}),Lr);return f.jsxs(g.Fragment,{children:[g.cloneElement(Ee,Dn),f.jsx(Do,b({as:me??Yp,placement:re,anchorEl:B?{getBoundingClientRect:()=>({top:Rl.y,left:Rl.x,right:Rl.x,bottom:Rl.y,width:0,height:0})}:C,popperRef:bt,open:C?Qe:!1,id:mt,transition:!0},Co,Be,{popperOptions:Li,children:({TransitionProps:Ye})=>f.jsx(ne,b({timeout:ge.transitions.duration.shorter},Ye,pt,{children:f.jsxs(q,b({},Bt,{children:[He,H?f.jsx(Pe,b({},qt,{ref:F})):null]}))}))}))]})}),ag=yN;function bN(e){return De("MuiSwitch",e)}const xN=Se("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Sn=xN,wN=["className","color","edge","size","sx"],HN=e=>{const{classes:t,edge:n,size:r,color:o,checked:s,disabled:i}=e,a={root:["root",n&&`edge${te(n)}`,`size${te(r)}`],switchBase:["switchBase",`color${te(o)}`,s&&"checked",i&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Te(a,bN,t);return b({},t,l)},jN=_("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${te(n.edge)}`],t[`size${te(n.size)}`]]}})(({ownerState:e})=>b({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${Sn.thumb}`]:{width:16,height:16},[`& .${Sn.switchBase}`]:{padding:4,[`&.${Sn.checked}`]:{transform:"translateX(16px)"}}})),zN=_(tg,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${Sn.input}`]:t.input},n.color!=="default"&&t[`color${te(n.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Sn.checked}`]:{transform:"translateX(20px)"},[`&.${Sn.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Sn.checked} + .${Sn.track}`]:{opacity:.5},[`&.${Sn.disabled} + .${Sn.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Sn.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>b({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ze(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Sn.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ze(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Sn.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?Ba(e.palette[t.color].main,.62):Na(e.palette[t.color].main,.55)}`}},[`&.${Sn.checked} + .${Sn.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),ON=_("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),CN=_("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),DN=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiSwitch"}),{className:o,color:s="primary",edge:i=!1,size:a="medium",sx:l}=r,c=ce(r,wN),u=b({},r,{color:s,edge:i,size:a}),d=HN(u),p=f.jsx(CN,{className:d.thumb,ownerState:u});return f.jsxs(jN,{className:le(d.root,o),sx:l,ownerState:u,children:[f.jsx(zN,b({type:"checkbox",icon:p,checkedIcon:p,ref:n,ownerState:u},c,{classes:b({},d,{root:d.switchBase})})),f.jsx(ON,{className:d.track,ownerState:u})]})}),w9=DN,SN=g.createContext(),H9=SN;function TN(e){return De("MuiTable",e)}Se("MuiTable",["root","stickyHeader"]);const RN=["className","component","padding","size","stickyHeader"],kN=e=>{const{classes:t,stickyHeader:n}=e;return Te({root:["root",n&&"stickyHeader"]},TN,t)},EN=_("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>b({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":b({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),ux="table",MN=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiTable"}),{className:o,component:s=ux,padding:i="normal",size:a="medium",stickyHeader:l=!1}=r,c=ce(r,RN),u=b({},r,{component:s,padding:i,size:a,stickyHeader:l}),d=kN(u),p=g.useMemo(()=>({padding:i,size:a,stickyHeader:l}),[i,a,l]);return f.jsx(H9.Provider,{value:p,children:f.jsx(EN,b({as:s,role:s===ux?null:"table",ref:n,className:le(d.root,o),ownerState:u},c))})}),j9=MN,LN=g.createContext(),Pu=LN;function XN(e){return De("MuiTableBody",e)}Se("MuiTableBody",["root"]);const NN=["className","component"],BN=e=>{const{classes:t}=e;return Te({root:["root"]},XN,t)},VN=_("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),IN={variant:"body"},fx="tbody",WN=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiTableBody"}),{className:o,component:s=fx}=r,i=ce(r,NN),a=b({},r,{component:s}),l=BN(a);return f.jsx(Pu.Provider,{value:IN,children:f.jsx(VN,b({className:le(l.root,o),as:s,ref:n,role:s===fx?null:"rowgroup",ownerState:a},i))})}),z9=WN;function JN(e){return De("MuiTableCell",e)}const FN=Se("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),YN=FN,qN=["align","className","component","padding","scope","size","sortDirection","variant"],ZN=e=>{const{classes:t,variant:n,align:r,padding:o,size:s,stickyHeader:i}=e,a={root:["root",n,i&&"stickyHeader",r!=="inherit"&&`align${te(r)}`,o!=="normal"&&`padding${te(o)}`,`size${te(s)}`]};return Te(a,JN,t)},GN=_("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${te(n.size)}`],n.padding!=="normal"&&t[`padding${te(n.padding)}`],n.align!=="inherit"&&t[`align${te(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>b({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid ${e.palette.mode==="light"?Ba(Ze(e.palette.divider,1),.88):Na(Ze(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${YN.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),UN=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiTableCell"}),{align:o="inherit",className:s,component:i,padding:a,scope:l,size:c,sortDirection:u,variant:d}=r,p=ce(r,qN),y=g.useContext(H9),h=g.useContext(Pu),P=h&&h.variant==="head";let x;i?x=i:x=P?"th":"td";let A=l;x==="td"?A=void 0:!A&&P&&(A="col");const v=d||h&&h.variant,m=b({},r,{align:o,component:x,padding:a||(y&&y.padding?y.padding:"normal"),size:c||(y&&y.size?y.size:"medium"),sortDirection:u,stickyHeader:v==="head"&&y&&y.stickyHeader,variant:v}),w=ZN(m);let j=null;return u&&(j=u==="asc"?"ascending":"descending"),f.jsx(GN,b({as:x,ref:n,className:le(w.root,s),"aria-sort":j,scope:A,ownerState:m},p))}),kn=UN;function QN(e){return De("MuiTableContainer",e)}Se("MuiTableContainer",["root"]);const KN=["className","component"],_N=e=>{const{classes:t}=e;return Te({root:["root"]},QN,t)},$N=_("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),eB=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiTableContainer"}),{className:o,component:s="div"}=r,i=ce(r,KN),a=b({},r,{component:s}),l=_N(a);return f.jsx($N,b({ref:n,as:s,className:le(l.root,o),ownerState:a},i))}),O9=eB;function tB(e){return De("MuiTableFooter",e)}Se("MuiTableFooter",["root"]);const nB=["className","component"],rB=e=>{const{classes:t}=e;return Te({root:["root"]},tB,t)},oB=_("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),sB={variant:"footer"},dx="tfoot",iB=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiTableFooter"}),{className:o,component:s=dx}=r,i=ce(r,nB),a=b({},r,{component:s}),l=rB(a);return f.jsx(Pu.Provider,{value:sB,children:f.jsx(oB,b({as:s,className:le(l.root,o),ref:n,role:s===dx?null:"rowgroup",ownerState:a},i))})}),aB=iB;function lB(e){return De("MuiTableHead",e)}Se("MuiTableHead",["root"]);const cB=["className","component"],uB=e=>{const{classes:t}=e;return Te({root:["root"]},lB,t)},fB=_("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),dB={variant:"head"},px="thead",pB=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiTableHead"}),{className:o,component:s=px}=r,i=ce(r,cB),a=b({},r,{component:s}),l=uB(a);return f.jsx(Pu.Provider,{value:dB,children:f.jsx(fB,b({as:s,className:le(l.root,o),ref:n,role:s===px?null:"rowgroup",ownerState:a},i))})}),vB=pB;function hB(e){return De("MuiToolbar",e)}Se("MuiToolbar",["root","gutters","regular","dense"]);const mB=["className","component","disableGutters","variant"],AB=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Te({root:["root",!n&&"gutters",r]},hB,t)},PB=_("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>b({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),gB=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiToolbar"}),{className:o,component:s="div",disableGutters:i=!1,variant:a="regular"}=r,l=ce(r,mB),c=b({},r,{component:s,disableGutters:i,variant:a}),u=AB(c);return f.jsx(PB,b({as:s,className:le(u.root,o),ref:n,ownerState:c},l))}),C9=gB,yB=yn(f.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),bB=yn(f.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),xB=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],wB=g.forwardRef(function(t,n){var r,o,s,i,a,l,c,u;const{backIconButtonProps:d,count:p,disabled:y=!1,getItemAriaLabel:h,nextIconButtonProps:P,onPageChange:x,page:A,rowsPerPage:v,showFirstButton:m,showLastButton:w,slots:j={},slotProps:z={}}=t,H=ce(t,xB),O=Pr(),D=se=>{x(se,0)},S=se=>{x(se,A-1)},I=se=>{x(se,A+1)},R=se=>{x(se,Math.max(0,Math.ceil(p/v)-1))},M=(r=j.firstButton)!=null?r:Zn,W=(o=j.lastButton)!=null?o:Zn,N=(s=j.nextButton)!=null?s:Zn,Z=(i=j.previousButton)!=null?i:Zn,J=(a=j.firstButtonIcon)!=null?a:yX,T=(l=j.lastButtonIcon)!=null?l:bX,B=(c=j.nextButtonIcon)!=null?c:bB,K=(u=j.previousButtonIcon)!=null?u:yB,fe=O.direction==="rtl"?W:M,E=O.direction==="rtl"?N:Z,ee=O.direction==="rtl"?Z:N,G=O.direction==="rtl"?M:W,ie=O.direction==="rtl"?z.lastButton:z.firstButton,re=O.direction==="rtl"?z.nextButton:z.previousButton,me=O.direction==="rtl"?z.previousButton:z.nextButton,ue=O.direction==="rtl"?z.firstButton:z.lastButton;return f.jsxs("div",b({ref:n},H,{children:[m&&f.jsx(fe,b({onClick:D,disabled:y||A===0,"aria-label":h("first",A),title:h("first",A)},ie,{children:O.direction==="rtl"?f.jsx(T,b({},z.lastButtonIcon)):f.jsx(J,b({},z.firstButtonIcon))})),f.jsx(E,b({onClick:S,disabled:y||A===0,color:"inherit","aria-label":h("previous",A),title:h("previous",A)},re??d,{children:O.direction==="rtl"?f.jsx(B,b({},z.nextButtonIcon)):f.jsx(K,b({},z.previousButtonIcon))})),f.jsx(ee,b({onClick:I,disabled:y||(p!==-1?A>=Math.ceil(p/v)-1:!1),color:"inherit","aria-label":h("next",A),title:h("next",A)},me??P,{children:O.direction==="rtl"?f.jsx(K,b({},z.previousButtonIcon)):f.jsx(B,b({},z.nextButtonIcon))})),w&&f.jsx(G,b({onClick:R,disabled:y||A>=Math.ceil(p/v)-1,"aria-label":h("last",A),title:h("last",A)},ue,{children:O.direction==="rtl"?f.jsx(J,b({},z.firstButtonIcon)):f.jsx(T,b({},z.lastButtonIcon))}))]}))}),HB=wB;function jB(e){return De("MuiTablePagination",e)}const zB=Se("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Pc=zB;var vx;const OB=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],CB=_(kn,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),DB=_(C9,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>b({[`& .${Pc.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${Pc.actions}`]:{flexShrink:0,marginLeft:20}})),SB=_("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),TB=_("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>b({},e.typography.body2,{flexShrink:0})),RB=_(yd,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>b({[`& .${Pc.selectIcon}`]:t.selectIcon,[`& .${Pc.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Pc.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),kB=_(vo,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),EB=_("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>b({},e.typography.body2,{flexShrink:0}));function MB({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function LB(e){return`Go to ${e} page`}const XB=e=>{const{classes:t}=e;return Te({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},jB,t)},NB=g.forwardRef(function(t,n){var r;const o=Re({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=HB,backIconButtonProps:i,className:a,colSpan:l,component:c=kn,count:u,disabled:d=!1,getItemAriaLabel:p=LB,labelDisplayedRows:y=MB,labelRowsPerPage:h="Rows per page:",nextIconButtonProps:P,onPageChange:x,onRowsPerPageChange:A,page:v,rowsPerPage:m,rowsPerPageOptions:w=[10,25,50,100],SelectProps:j={},showFirstButton:z=!1,showLastButton:H=!1,slotProps:O={},slots:D={}}=o,S=ce(o,OB),I=o,R=XB(I),M=(r=O==null?void 0:O.select)!=null?r:j,W=M.native?"option":kB;let N;(c===kn||c==="td")&&(N=l||1e3);const Z=xo(M.id),J=xo(M.labelId),T=()=>u===-1?(v+1)*m:m===-1?u:Math.min(u,(v+1)*m);return f.jsx(CB,b({colSpan:N,ref:n,as:c,ownerState:I,className:le(R.root,a)},S,{children:f.jsxs(DB,{className:R.toolbar,children:[f.jsx(SB,{className:R.spacer}),w.length>1&&f.jsx(TB,{className:R.selectLabel,id:J,children:h}),w.length>1&&f.jsx(RB,b({variant:"standard"},!M.variant&&{input:vx||(vx=f.jsx(Kp,{}))},{value:m,onChange:A,id:Z,labelId:J},M,{classes:b({},M.classes,{root:le(R.input,R.selectRoot,(M.classes||{}).root),select:le(R.select,(M.classes||{}).select),icon:le(R.selectIcon,(M.classes||{}).icon)}),disabled:d,children:w.map(B=>g.createElement(W,b({},!zi(W)&&{ownerState:I},{className:R.menuItem,key:B.label?B.label:B,value:B.value?B.value:B}),B.label?B.label:B))})),f.jsx(EB,{className:R.displayedRows,children:y({from:u===0?0:v*m+1,to:T(),count:u===-1?-1:u,page:v})}),f.jsx(s,{className:R.actions,backIconButtonProps:i,count:u,nextIconButtonProps:P,onPageChange:x,page:v,rowsPerPage:m,showFirstButton:z,showLastButton:H,slotProps:O.actions,slots:D.actions,getItemAriaLabel:p,disabled:d})]})}))}),BB=NB;function VB(e){return De("MuiTableRow",e)}const IB=Se("MuiTableRow",["root","selected","hover","head","footer"]),hx=IB,WB=["className","component","hover","selected"],JB=e=>{const{classes:t,selected:n,hover:r,head:o,footer:s}=e;return Te({root:["root",n&&"selected",r&&"hover",o&&"head",s&&"footer"]},VB,t)},FB=_("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${hx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${hx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ze(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),mx="tr",YB=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiTableRow"}),{className:o,component:s=mx,hover:i=!1,selected:a=!1}=r,l=ce(r,WB),c=g.useContext(Pu),u=b({},r,{component:s,hover:i,selected:a,head:c&&c.variant==="head",footer:c&&c.variant==="footer"}),d=JB(u);return f.jsx(FB,b({as:s,ref:n,className:le(d.root,o),role:s===mx?null:"row",ownerState:u},l))}),bd=YB;function qB(e){return De("MuiTextField",e)}Se("MuiTextField",["root"]);const ZB=["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"],GB={standard:u9,filled:s9,outlined:g9},UB=e=>{const{classes:t}=e;return Te({root:["root"]},qB,t)},QB=_(Ro,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),KB=g.forwardRef(function(t,n){const r=Re({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:s=!1,children:i,className:a,color:l="primary",defaultValue:c,disabled:u=!1,error:d=!1,FormHelperTextProps:p,fullWidth:y=!1,helperText:h,id:P,InputLabelProps:x,inputProps:A,InputProps:v,inputRef:m,label:w,maxRows:j,minRows:z,multiline:H=!1,name:O,onBlur:D,onChange:S,onFocus:I,placeholder:R,required:M=!1,rows:W,select:N=!1,SelectProps:Z,type:J,value:T,variant:B="outlined"}=r,K=ce(r,ZB),fe=b({},r,{autoFocus:s,color:l,disabled:u,error:d,fullWidth:y,multiline:H,required:M,select:N,variant:B}),E=UB(fe),ee={};B==="outlined"&&(x&&typeof x.shrink<"u"&&(ee.notched=x.shrink),ee.label=w),N&&((!Z||!Z.native)&&(ee.id=void 0),ee["aria-describedby"]=void 0);const G=xo(P),ie=h&&G?`${G}-helper-text`:void 0,re=w&&G?`${G}-label`:void 0,me=GB[B],ue=f.jsx(me,b({"aria-describedby":ie,autoComplete:o,autoFocus:s,defaultValue:c,fullWidth:y,multiline:H,name:O,rows:W,maxRows:j,minRows:z,type:J,value:T,id:G,inputRef:m,onBlur:D,onChange:S,onFocus:I,placeholder:R,inputProps:A},ee,v));return f.jsxs(QB,b({className:le(E.root,a),disabled:u,error:d,fullWidth:y,ref:n,required:M,color:l,variant:B,ownerState:fe},K,{children:[w!=null&&w!==""&&f.jsx(qm,b({htmlFor:G,id:re},x,{children:w})),N?f.jsx(yd,b({"aria-describedby":ie,id:G,labelId:re,value:T,input:ue},Z,{children:i})):ue,h&&f.jsx(Sf,b({id:ie},p,{children:h}))]}))}),Rs=KB,$t="/hub",$p="/services/japps",lg=["Environments"],_B=["Any","Owned by me","Shared with me"],$B=["Recently modified","Name: A-Z","Name: Z-A"],eV=["Running","Ready","Pending","Unknown"],cg="startAppId";var cl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},_a=typeof window>"u"||"Deno"in globalThis;function xr(){}function tV(e,t){return typeof e=="function"?e(t):e}function Qm(e){return typeof e=="number"&&e>=0&&e!==1/0}function D9(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ba(e,t){return typeof e=="function"?e(t):e}function qr(e,t){return typeof e=="function"?e(t):e}function Ax(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==ug(i,t.options))return!1}else if(!Kc(t.queryKey,i))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function Px(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ci(t.options.mutationKey)!==Ci(s))return!1}else if(!Kc(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function ug(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ci)(e)}function Ci(e){return JSON.stringify(e,(t,n)=>Km(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Kc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Kc(e[n],t[n])):!1}function S9(e,t){if(e===t)return e;const n=gx(e)&&gx(t);if(n||Km(e)&&Km(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,a=n?[]:{};let l=0;for(let c=0;c{setTimeout(t,e)})}function _m(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?S9(e,t):t}function rV(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function oV(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var T9=Symbol();function R9(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===T9?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var ii,fs,wa,D1,sV=(D1=class extends cl{constructor(){super();We(this,ii);We(this,fs);We(this,wa);ze(this,wa,t=>{if(!_a&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){k(this,fs)||this.setEventListener(k(this,wa))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,fs))==null||t.call(this),ze(this,fs,void 0))}setEventListener(t){var n;ze(this,wa,t),(n=k(this,fs))==null||n.call(this),ze(this,fs,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){k(this,ii)!==t&&(ze(this,ii,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof k(this,ii)=="boolean"?k(this,ii):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ii=new WeakMap,fs=new WeakMap,wa=new WeakMap,D1),fg=new sV,Ha,ds,ja,S1,iV=(S1=class extends cl{constructor(){super();We(this,Ha,!0);We(this,ds);We(this,ja);ze(this,ja,t=>{if(!_a&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){k(this,ds)||this.setEventListener(k(this,ja))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,ds))==null||t.call(this),ze(this,ds,void 0))}setEventListener(t){var n;ze(this,ja,t),(n=k(this,ds))==null||n.call(this),ze(this,ds,t(this.setOnline.bind(this)))}setOnline(t){k(this,Ha)!==t&&(ze(this,Ha,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return k(this,Ha)}},Ha=new WeakMap,ds=new WeakMap,ja=new WeakMap,S1),wd=new iV;function aV(e){return Math.min(1e3*2**e,3e4)}function k9(e){return(e??"online")==="online"?wd.isOnline():!0}var E9=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function bh(e){return e instanceof E9}function M9(e){let t=!1,n=0,r=!1,o,s,i;const a=new Promise((A,v)=>{s=A,i=v}),l=A=>{var v;r||(h(new E9(A)),(v=e.abort)==null||v.call(e))},c=()=>{t=!0},u=()=>{t=!1},d=()=>fg.isFocused()&&(e.networkMode==="always"||wd.isOnline())&&e.canRun(),p=()=>k9(e.networkMode)&&e.canRun(),y=A=>{var v;r||(r=!0,(v=e.onSuccess)==null||v.call(e,A),o==null||o(),s(A))},h=A=>{var v;r||(r=!0,(v=e.onError)==null||v.call(e,A),o==null||o(),i(A))},P=()=>new Promise(A=>{var v;o=m=>{(r||d())&&A(m)},(v=e.onPause)==null||v.call(e)}).then(()=>{var A;o=void 0,r||(A=e.onContinue)==null||A.call(e)}),x=()=>{if(r)return;let A;const v=n===0?e.initialPromise:void 0;try{A=v??e.fn()}catch(m){A=Promise.reject(m)}Promise.resolve(A).then(y).catch(m=>{var O;if(r)return;const w=e.retry??(_a?0:3),j=e.retryDelay??aV,z=typeof j=="function"?j(n,m):j,H=w===!0||typeof w=="number"&&nd()?void 0:P()).then(()=>{t?h(m):x()})})};return{promise:a,cancel:l,continue:()=>(o==null||o(),a),cancelRetry:c,continueRetry:u,canStart:p,start:()=>(p()?x():P().then(x),a)}}function lV(){let e=[],t=0,n=p=>{p()},r=p=>{p()},o=p=>setTimeout(p,0);const s=p=>{o=p},i=p=>{let y;t++;try{y=p()}finally{t--,t||c()}return y},a=p=>{t?e.push(p):o(()=>{n(p)})},l=p=>(...y)=>{a(()=>{p(...y)})},c=()=>{const p=e;e=[],p.length&&o(()=>{r(()=>{p.forEach(y=>{n(y)})})})};return{batch:i,batchCalls:l,schedule:a,setNotifyFunction:p=>{n=p},setBatchNotifyFunction:p=>{r=p},setScheduler:s}}var on=lV(),ai,T1,L9=(T1=class{constructor(){We(this,ai)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Qm(this.gcTime)&&ze(this,ai,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(_a?1/0:5*60*1e3))}clearGcTimeout(){k(this,ai)&&(clearTimeout(k(this,ai)),ze(this,ai,void 0))}},ai=new WeakMap,T1),za,Oa,br,jn,tu,li,Jr,ko,R1,cV=(R1=class extends L9{constructor(t){super();We(this,Jr);We(this,za);We(this,Oa);We(this,br);We(this,jn);We(this,tu);We(this,li);ze(this,li,!1),ze(this,tu,t.defaultOptions),this.setOptions(t.options),this.observers=[],ze(this,br,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ze(this,za,uV(this.options)),this.state=t.state??k(this,za),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=k(this,jn))==null?void 0:t.promise}setOptions(t){this.options={...k(this,tu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&k(this,br).remove(this)}setData(t,n){const r=_m(this.state.data,t,this.options);return $e(this,Jr,ko).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){$e(this,Jr,ko).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=k(this,jn))==null?void 0:r.promise;return(o=k(this,jn))==null||o.cancel(t),n?n.then(xr).catch(xr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(k(this,za))}isActive(){return this.observers.some(t=>qr(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!D9(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=k(this,jn))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=k(this,jn))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),k(this,br).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(k(this,jn)&&(k(this,li)?k(this,jn).cancel({revert:!0}):k(this,jn).cancelRetry()),this.scheduleGc()),k(this,br).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||$e(this,Jr,ko).call(this,{type:"invalidate"})}fetch(t,n){var l,c,u;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(k(this,jn))return k(this,jn).continueRetry(),k(this,jn).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,o=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(ze(this,li,!0),r.signal)})},s=()=>{const d=R9(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return o(p),ze(this,li,!1),this.options.persister?this.options.persister(d,p,this):d(p)},i={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};o(i),(l=this.options.behavior)==null||l.onFetch(i,this),ze(this,Oa,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=i.fetchOptions)==null?void 0:c.meta))&&$e(this,Jr,ko).call(this,{type:"fetch",meta:(u=i.fetchOptions)==null?void 0:u.meta});const a=d=>{var p,y,h,P;bh(d)&&d.silent||$e(this,Jr,ko).call(this,{type:"error",error:d}),bh(d)||((y=(p=k(this,br).config).onError)==null||y.call(p,d,this),(P=(h=k(this,br).config).onSettled)==null||P.call(h,this.state.data,d,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return ze(this,jn,M9({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var p,y,h,P;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}this.setData(d),(y=(p=k(this,br).config).onSuccess)==null||y.call(p,d,this),(P=(h=k(this,br).config).onSettled)==null||P.call(h,d,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:a,onFail:(d,p)=>{$e(this,Jr,ko).call(this,{type:"failed",failureCount:d,error:p})},onPause:()=>{$e(this,Jr,ko).call(this,{type:"pause"})},onContinue:()=>{$e(this,Jr,ko).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),k(this,jn).start()}},za=new WeakMap,Oa=new WeakMap,br=new WeakMap,jn=new WeakMap,tu=new WeakMap,li=new WeakMap,Jr=new WeakSet,ko=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...X9(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return bh(o)&&o.revert&&k(this,Oa)?{...k(this,Oa),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),on.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),k(this,br).notify({query:this,type:"updated",action:t})})},R1);function X9(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:k9(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function uV(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var so,k1,fV=(k1=class extends cl{constructor(t={}){super();We(this,so);this.config=t,ze(this,so,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??ug(o,n);let i=this.get(s);return i||(i=new cV({cache:this,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){k(this,so).has(t.queryHash)||(k(this,so).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=k(this,so).get(t.queryHash);n&&(t.destroy(),n===t&&k(this,so).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){on.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return k(this,so).get(t)}getAll(){return[...k(this,so).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ax(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Ax(t,r)):n}notify(t){on.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){on.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){on.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},so=new WeakMap,k1),io,Tn,ci,ao,ns,E1,dV=(E1=class extends L9{constructor(t){super();We(this,ao);We(this,io);We(this,Tn);We(this,ci);this.mutationId=t.mutationId,ze(this,Tn,t.mutationCache),ze(this,io,[]),this.state=t.state||N9(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){k(this,io).includes(t)||(k(this,io).push(t),this.clearGcTimeout(),k(this,Tn).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ze(this,io,k(this,io).filter(n=>n!==t)),this.scheduleGc(),k(this,Tn).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){k(this,io).length||(this.state.status==="pending"?this.scheduleGc():k(this,Tn).remove(this))}continue(){var t;return((t=k(this,ci))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,i,a,l,c,u,d,p,y,h,P,x,A,v,m,w,j,z,H;ze(this,ci,M9({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(O,D)=>{$e(this,ao,ns).call(this,{type:"failed",failureCount:O,error:D})},onPause:()=>{$e(this,ao,ns).call(this,{type:"pause"})},onContinue:()=>{$e(this,ao,ns).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>k(this,Tn).canRun(this)}));const n=this.state.status==="pending",r=!k(this,ci).canStart();try{if(!n){$e(this,ao,ns).call(this,{type:"pending",variables:t,isPaused:r}),await((s=(o=k(this,Tn).config).onMutate)==null?void 0:s.call(o,t,this));const D=await((a=(i=this.options).onMutate)==null?void 0:a.call(i,t));D!==this.state.context&&$e(this,ao,ns).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const O=await k(this,ci).start();return await((c=(l=k(this,Tn).config).onSuccess)==null?void 0:c.call(l,O,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,O,t,this.state.context)),await((y=(p=k(this,Tn).config).onSettled)==null?void 0:y.call(p,O,null,this.state.variables,this.state.context,this)),await((P=(h=this.options).onSettled)==null?void 0:P.call(h,O,null,t,this.state.context)),$e(this,ao,ns).call(this,{type:"success",data:O}),O}catch(O){try{throw await((A=(x=k(this,Tn).config).onError)==null?void 0:A.call(x,O,t,this.state.context,this)),await((m=(v=this.options).onError)==null?void 0:m.call(v,O,t,this.state.context)),await((j=(w=k(this,Tn).config).onSettled)==null?void 0:j.call(w,void 0,O,this.state.variables,this.state.context,this)),await((H=(z=this.options).onSettled)==null?void 0:H.call(z,void 0,O,t,this.state.context)),O}finally{$e(this,ao,ns).call(this,{type:"error",error:O})}}finally{k(this,Tn).runNext(this)}}},io=new WeakMap,Tn=new WeakMap,ci=new WeakMap,ao=new WeakSet,ns=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),on.batch(()=>{k(this,io).forEach(r=>{r.onMutationUpdate(t)}),k(this,Tn).notify({mutation:this,type:"updated",action:t})})},E1);function N9(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var sr,nu,M1,pV=(M1=class extends cl{constructor(t={}){super();We(this,sr);We(this,nu);this.config=t,ze(this,sr,new Map),ze(this,nu,Date.now())}build(t,n,r){const o=new dV({mutationCache:this,mutationId:++Cu(this,nu)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){const n=rf(t),r=k(this,sr).get(n)??[];r.push(t),k(this,sr).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=rf(t);if(k(this,sr).has(n)){const o=(r=k(this,sr).get(n))==null?void 0:r.filter(s=>s!==t);o&&(o.length===0?k(this,sr).delete(n):k(this,sr).set(n,o))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=k(this,sr).get(rf(t)))==null?void 0:r.find(o=>o.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=k(this,sr).get(rf(t)))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){on.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...k(this,sr).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Px(n,r))}findAll(t={}){return this.getAll().filter(n=>Px(t,n))}notify(t){on.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return on.batch(()=>Promise.all(t.map(n=>n.continue().catch(xr))))}},sr=new WeakMap,nu=new WeakMap,M1);function rf(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function vV(e){return{onFetch:(t,n)=>{const r=async()=>{var h,P,x,A,v;const o=t.options,s=(x=(P=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:P.fetchMore)==null?void 0:x.direction,i=((A=t.state.data)==null?void 0:A.pages)||[],a=((v=t.state.data)==null?void 0:v.pageParams)||[],l={pages:[],pageParams:[]};let c=!1;const u=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(t.signal.aborted?c=!0:t.signal.addEventListener("abort",()=>{c=!0}),t.signal)})},d=R9(t.options,t.fetchOptions),p=async(m,w,j)=>{if(c)return Promise.reject();if(w==null&&m.pages.length)return Promise.resolve(m);const z={queryKey:t.queryKey,pageParam:w,direction:j?"backward":"forward",meta:t.options.meta};u(z);const H=await d(z),{maxPages:O}=t.options,D=j?oV:rV;return{pages:D(m.pages,H,O),pageParams:D(m.pageParams,w,O)}};let y;if(s&&i.length){const m=s==="backward",w=m?hV:bx,j={pages:i,pageParams:a},z=w(o,j);y=await p(j,z,m)}else{y=await p(l,a[0]??o.initialPageParam);const m=e??i.length;for(let w=1;w{var o,s;return(s=(o=t.options).persister)==null?void 0:s.call(o,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function bx(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function hV(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Wt,ps,vs,Ca,Da,hs,Sa,Ta,L1,mV=(L1=class{constructor(e={}){We(this,Wt);We(this,ps);We(this,vs);We(this,Ca);We(this,Da);We(this,hs);We(this,Sa);We(this,Ta);ze(this,Wt,e.queryCache||new fV),ze(this,ps,e.mutationCache||new pV),ze(this,vs,e.defaultOptions||{}),ze(this,Ca,new Map),ze(this,Da,new Map),ze(this,hs,0)}mount(){Cu(this,hs)._++,k(this,hs)===1&&(ze(this,Sa,fg.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,Wt).onFocus())})),ze(this,Ta,wd.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,Wt).onOnline())})))}unmount(){var e,t;Cu(this,hs)._--,k(this,hs)===0&&((e=k(this,Sa))==null||e.call(this),ze(this,Sa,void 0),(t=k(this,Ta))==null||t.call(this),ze(this,Ta,void 0))}isFetching(e){return k(this,Wt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return k(this,ps).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=k(this,Wt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=k(this,Wt).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(ba(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return k(this,Wt).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=k(this,Wt).get(r.queryHash),s=o==null?void 0:o.state.data,i=tV(t,s);if(i!==void 0)return k(this,Wt).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return on.batch(()=>k(this,Wt).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=k(this,Wt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=k(this,Wt);on.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=k(this,Wt),r={type:"active",...e};return on.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=on.batch(()=>k(this,Wt).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(xr).catch(xr)}invalidateQueries(e={},t={}){return on.batch(()=>{if(k(this,Wt).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=on.batch(()=>k(this,Wt).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(xr)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(xr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=k(this,Wt).build(this,t);return n.isStaleByTime(ba(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(xr).catch(xr)}fetchInfiniteQuery(e){return e.behavior=vV(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(xr).catch(xr)}resumePausedMutations(){return wd.isOnline()?k(this,ps).resumePausedMutations():Promise.resolve()}getQueryCache(){return k(this,Wt)}getMutationCache(){return k(this,ps)}getDefaultOptions(){return k(this,vs)}setDefaultOptions(e){ze(this,vs,e)}setQueryDefaults(e,t){k(this,Ca).set(Ci(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...k(this,Ca).values()];let n={};return t.forEach(r=>{Kc(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){k(this,Da).set(Ci(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...k(this,Da).values()];let n={};return t.forEach(r=>{Kc(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...k(this,vs).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ug(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===T9&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...k(this,vs).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){k(this,Wt).clear(),k(this,ps).clear()}},Wt=new WeakMap,ps=new WeakMap,vs=new WeakMap,Ca=new WeakMap,Da=new WeakMap,hs=new WeakMap,Sa=new WeakMap,Ta=new WeakMap,L1),Wn,it,ru,Rn,ui,Ra,lo,ou,ka,Ea,fi,di,ms,Ma,At,_l,$m,eA,tA,nA,rA,oA,sA,B9,X1,AV=(X1=class extends cl{constructor(t,n){super();We(this,At);We(this,Wn);We(this,it);We(this,ru);We(this,Rn);We(this,ui);We(this,Ra);We(this,lo);We(this,ou);We(this,ka);We(this,Ea);We(this,fi);We(this,di);We(this,ms);We(this,Ma,new Set);this.options=n,ze(this,Wn,t),ze(this,lo,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(k(this,it).addObserver(this),xx(k(this,it),this.options)?$e(this,At,_l).call(this):this.updateResult(),$e(this,At,nA).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return iA(k(this,it),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return iA(k(this,it),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,$e(this,At,rA).call(this),$e(this,At,oA).call(this),k(this,it).removeObserver(this)}setOptions(t,n){const r=this.options,o=k(this,it);if(this.options=k(this,Wn).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof qr(this.options.enabled,k(this,it))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");$e(this,At,sA).call(this),k(this,it).setOptions(this.options),r._defaulted&&!xd(this.options,r)&&k(this,Wn).getQueryCache().notify({type:"observerOptionsUpdated",query:k(this,it),observer:this});const s=this.hasListeners();s&&wx(k(this,it),o,this.options,r)&&$e(this,At,_l).call(this),this.updateResult(n),s&&(k(this,it)!==o||qr(this.options.enabled,k(this,it))!==qr(r.enabled,k(this,it))||ba(this.options.staleTime,k(this,it))!==ba(r.staleTime,k(this,it)))&&$e(this,At,$m).call(this);const i=$e(this,At,eA).call(this);s&&(k(this,it)!==o||qr(this.options.enabled,k(this,it))!==qr(r.enabled,k(this,it))||i!==k(this,ms))&&$e(this,At,tA).call(this,i)}getOptimisticResult(t){const n=k(this,Wn).getQueryCache().build(k(this,Wn),t),r=this.createResult(n,t);return gV(this,r)&&(ze(this,Rn,r),ze(this,Ra,this.options),ze(this,ui,k(this,it).state)),r}getCurrentResult(){return k(this,Rn)}trackResult(t,n){const r={};return Object.keys(t).forEach(o=>{Object.defineProperty(r,o,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(o),n==null||n(o),t[o])})}),r}trackProp(t){k(this,Ma).add(t)}getCurrentQuery(){return k(this,it)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=k(this,Wn).defaultQueryOptions(t),r=k(this,Wn).getQueryCache().build(k(this,Wn),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return $e(this,At,_l).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),k(this,Rn)))}createResult(t,n){var H;const r=k(this,it),o=this.options,s=k(this,Rn),i=k(this,ui),a=k(this,Ra),c=t!==r?t.state:k(this,ru),{state:u}=t;let d={...u},p=!1,y;if(n._optimisticResults){const O=this.hasListeners(),D=!O&&xx(t,n),S=O&&wx(t,r,n,o);(D||S)&&(d={...d,...X9(u.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:h,errorUpdatedAt:P,status:x}=d;if(n.select&&d.data!==void 0)if(s&&d.data===(i==null?void 0:i.data)&&n.select===k(this,ou))y=k(this,ka);else try{ze(this,ou,n.select),y=n.select(d.data),y=_m(s==null?void 0:s.data,y,n),ze(this,ka,y),ze(this,lo,null)}catch(O){ze(this,lo,O)}else y=d.data;if(n.placeholderData!==void 0&&y===void 0&&x==="pending"){let O;if(s!=null&&s.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))O=s.data;else if(O=typeof n.placeholderData=="function"?n.placeholderData((H=k(this,Ea))==null?void 0:H.state.data,k(this,Ea)):n.placeholderData,n.select&&O!==void 0)try{O=n.select(O),ze(this,lo,null)}catch(D){ze(this,lo,D)}O!==void 0&&(x="success",y=_m(s==null?void 0:s.data,O,n),p=!0)}k(this,lo)&&(h=k(this,lo),y=k(this,ka),P=Date.now(),x="error");const A=d.fetchStatus==="fetching",v=x==="pending",m=x==="error",w=v&&A,j=y!==void 0;return{status:x,fetchStatus:d.fetchStatus,isPending:v,isSuccess:x==="success",isError:m,isInitialLoading:w,isLoading:w,data:y,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:P,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>c.dataUpdateCount||d.errorUpdateCount>c.errorUpdateCount,isFetching:A,isRefetching:A&&!v,isLoadingError:m&&!j,isPaused:d.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:m&&j,isStale:dg(t,n),refetch:this.refetch}}updateResult(t){const n=k(this,Rn),r=this.createResult(k(this,it),this.options);if(ze(this,ui,k(this,it).state),ze(this,Ra,this.options),k(this,ui).data!==void 0&&ze(this,Ea,k(this,it)),xd(r,n))return;ze(this,Rn,r);const o={},s=()=>{if(!n)return!0;const{notifyOnChangeProps:i}=this.options,a=typeof i=="function"?i():i;if(a==="all"||!a&&!k(this,Ma).size)return!0;const l=new Set(a??k(this,Ma));return this.options.throwOnError&&l.add("error"),Object.keys(k(this,Rn)).some(c=>{const u=c;return k(this,Rn)[u]!==n[u]&&l.has(u)})};(t==null?void 0:t.listeners)!==!1&&s()&&(o.listeners=!0),$e(this,At,B9).call(this,{...o,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&$e(this,At,nA).call(this)}},Wn=new WeakMap,it=new WeakMap,ru=new WeakMap,Rn=new WeakMap,ui=new WeakMap,Ra=new WeakMap,lo=new WeakMap,ou=new WeakMap,ka=new WeakMap,Ea=new WeakMap,fi=new WeakMap,di=new WeakMap,ms=new WeakMap,Ma=new WeakMap,At=new WeakSet,_l=function(t){$e(this,At,sA).call(this);let n=k(this,it).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(xr)),n},$m=function(){$e(this,At,rA).call(this);const t=ba(this.options.staleTime,k(this,it));if(_a||k(this,Rn).isStale||!Qm(t))return;const r=D9(k(this,Rn).dataUpdatedAt,t)+1;ze(this,fi,setTimeout(()=>{k(this,Rn).isStale||this.updateResult()},r))},eA=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(k(this,it)):this.options.refetchInterval)??!1},tA=function(t){$e(this,At,oA).call(this),ze(this,ms,t),!(_a||qr(this.options.enabled,k(this,it))===!1||!Qm(k(this,ms))||k(this,ms)===0)&&ze(this,di,setInterval(()=>{(this.options.refetchIntervalInBackground||fg.isFocused())&&$e(this,At,_l).call(this)},k(this,ms)))},nA=function(){$e(this,At,$m).call(this),$e(this,At,tA).call(this,$e(this,At,eA).call(this))},rA=function(){k(this,fi)&&(clearTimeout(k(this,fi)),ze(this,fi,void 0))},oA=function(){k(this,di)&&(clearInterval(k(this,di)),ze(this,di,void 0))},sA=function(){const t=k(this,Wn).getQueryCache().build(k(this,Wn),this.options);if(t===k(this,it))return;const n=k(this,it);ze(this,it,t),ze(this,ru,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},B9=function(t){on.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(k(this,Rn))}),k(this,Wn).getQueryCache().notify({query:k(this,it),type:"observerResultsUpdated"})})},X1);function PV(e,t){return qr(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function xx(e,t){return PV(e,t)||e.state.data!==void 0&&iA(e,t,t.refetchOnMount)}function iA(e,t,n){if(qr(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&dg(e,t)}return!1}function wx(e,t,n,r){return(e!==t||qr(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&dg(e,n)}function dg(e,t){return qr(t.enabled,e)!==!1&&e.isStaleByTime(ba(t.staleTime,e))}function gV(e,t){return!xd(e.getCurrentResult(),t)}var As,Ps,Jn,Lo,Wo,Rf,aA,N1,yV=(N1=class extends cl{constructor(n,r){super();We(this,Wo);We(this,As);We(this,Ps);We(this,Jn);We(this,Lo);ze(this,As,n),this.setOptions(r),this.bindMethods(),$e(this,Wo,Rf).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var o;const r=this.options;this.options=k(this,As).defaultMutationOptions(n),xd(this.options,r)||k(this,As).getMutationCache().notify({type:"observerOptionsUpdated",mutation:k(this,Jn),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&Ci(r.mutationKey)!==Ci(this.options.mutationKey)?this.reset():((o=k(this,Jn))==null?void 0:o.state.status)==="pending"&&k(this,Jn).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=k(this,Jn))==null||n.removeObserver(this)}onMutationUpdate(n){$e(this,Wo,Rf).call(this),$e(this,Wo,aA).call(this,n)}getCurrentResult(){return k(this,Ps)}reset(){var n;(n=k(this,Jn))==null||n.removeObserver(this),ze(this,Jn,void 0),$e(this,Wo,Rf).call(this),$e(this,Wo,aA).call(this)}mutate(n,r){var o;return ze(this,Lo,r),(o=k(this,Jn))==null||o.removeObserver(this),ze(this,Jn,k(this,As).getMutationCache().build(k(this,As),this.options)),k(this,Jn).addObserver(this),k(this,Jn).execute(n)}},As=new WeakMap,Ps=new WeakMap,Jn=new WeakMap,Lo=new WeakMap,Wo=new WeakSet,Rf=function(){var r;const n=((r=k(this,Jn))==null?void 0:r.state)??N9();ze(this,Ps,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},aA=function(n){on.batch(()=>{var r,o,s,i,a,l,c,u;if(k(this,Lo)&&this.hasListeners()){const d=k(this,Ps).variables,p=k(this,Ps).context;(n==null?void 0:n.type)==="success"?((o=(r=k(this,Lo)).onSuccess)==null||o.call(r,n.data,d,p),(i=(s=k(this,Lo)).onSettled)==null||i.call(s,n.data,null,d,p)):(n==null?void 0:n.type)==="error"&&((l=(a=k(this,Lo)).onError)==null||l.call(a,n.error,d,p),(u=(c=k(this,Lo)).onSettled)==null||u.call(c,void 0,n.error,d,p))}this.listeners.forEach(d=>{d(k(this,Ps))})})},N1),V9=g.createContext(void 0),ev=e=>{const t=g.useContext(V9);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},bV=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),f.jsx(V9.Provider,{value:e,children:t})),I9=g.createContext(!1),xV=()=>g.useContext(I9);I9.Provider;function wV(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var HV=g.createContext(wV()),jV=()=>g.useContext(HV);function W9(e,t){return typeof e=="function"?e(...t):!!e}function zV(){}var OV=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},CV=e=>{g.useEffect(()=>{e.clearReset()},[e])},DV=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&W9(n,[e.error,r]),SV=e=>{e.suspense&&(typeof e.staleTime!="number"&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},TV=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,RV=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function kV(e,t,n){var c,u,d,p;const r=ev(n),o=xV(),s=jV(),i=r.defaultQueryOptions(e);(u=(c=r.getDefaultOptions().queries)==null?void 0:c._experimental_beforeQuery)==null||u.call(c,i),i._optimisticResults=o?"isRestoring":"optimistic",SV(i),OV(i,s),CV(s);const[a]=g.useState(()=>new t(r,i)),l=a.getOptimisticResult(i);if(g.useSyncExternalStore(g.useCallback(y=>{const h=o?()=>{}:a.subscribe(on.batchCalls(y));return a.updateResult(),h},[a,o]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),g.useEffect(()=>{a.setOptions(i,{listeners:!1})},[i,a]),TV(i,l))throw RV(i,a,s);if(DV({result:l,errorResetBoundary:s,throwOnError:i.throwOnError,query:r.getQueryCache().get(i.queryHash)}))throw l.error;return(p=(d=r.getDefaultOptions().queries)==null?void 0:d._experimental_afterQuery)==null||p.call(d,i,l),i.notifyOnChangeProps?l:a.trackResult(l)}function Ln(e,t){return kV(e,AV,t)}function $a(e,t){const n=ev(t),[r]=g.useState(()=>new yV(n,e));g.useEffect(()=>{r.setOptions(e)},[r,e]);const o=g.useSyncExternalStore(g.useCallback(i=>r.subscribe(on.batchCalls(i)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=g.useCallback((i,a)=>{r.mutate(i,a).catch(zV)},[r]);if(o.error&&W9(r.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:s,mutateAsync:o.mutate}}var lA={},Hx=Wp;lA.createRoot=Hx.createRoot,lA.hydrateRoot=Hx.hydrateRoot;/** - * @remix-run/router v1.19.0 + * @remix-run/router v1.19.1 * * Copyright (c) Remix Software Inc. * @@ -164,7 +164,7 @@ Error generating stack: `+s.message+` * * @license MIT */function _c(){return _c=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function J9(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function MV(){return Math.random().toString(36).substr(2,8)}function zx(e,t){return{usr:e.state,key:e.key,idx:t}}function cA(e,t,n,r){return n===void 0&&(n=null),_c({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ul(t):t,{state:n,key:t&&t.key||r||MV()})}function F9(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 ul(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 LV(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,a=xs.Pop,l=null,c=u();c==null&&(c=0,i.replaceState(_c({},i.state,{idx:c}),""));function u(){return(i.state||{idx:null}).idx}function d(){a=xs.Pop;let x=u(),A=x==null?null:x-c;c=x,l&&l({action:a,location:P.location,delta:A})}function p(x,A){a=xs.Push;let v=cA(P.location,x,A);n&&n(v,x),c=u()+1;let m=zx(v,c),w=P.createHref(v);try{i.pushState(m,"",w)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;o.location.assign(w)}s&&l&&l({action:a,location:P.location,delta:1})}function y(x,A){a=xs.Replace;let v=cA(P.location,x,A);n&&n(v,x),c=u();let m=zx(v,c),w=P.createHref(v);i.replaceState(m,"",w),s&&l&&l({action:a,location:P.location,delta:0})}function h(x){let A=o.location.origin!=="null"?o.location.origin:o.location.href,v=typeof x=="string"?x:F9(x);return v=v.replace(/ $/,"%20"),ln(A,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,A)}let P={get action(){return a},get location(){return e(o,i)},listen(x){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(jx,d),l=x,()=>{o.removeEventListener(jx,d),l=null}},createHref(x){return t(o,x)},createURL:h,encodeLocation(x){let A=h(x);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:p,replace:y,go(x){return i.go(x)}};return P}var Ox;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ox||(Ox={}));function XV(e,t,n){return n===void 0&&(n="/"),NV(e,t,n,!1)}function NV(e,t,n,r){let o=typeof t=="string"?ul(t):t,s=Z9(o.pathname||"/",n);if(s==null)return null;let i=Y9(e);BV(i);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};l.relativePath.startsWith("/")&&(ln(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Ai([r,l.relativePath]),u=n.concat(l);s.children&&s.children.length>0&&(ln(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Y9(s.children,t,u,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:qV(c,s.index),routesMeta:u})};return e.forEach((s,i)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))o(s,i);else for(let l of q9(s.path))o(s,i,l)}),t}function q9(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=q9(r.join("/")),a=[];return a.push(...i.map(l=>l===""?s:[s,l].join("/"))),o&&a.push(...i),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function BV(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:ZV(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const VV=/^:[\w-]+$/,IV=3,WV=2,JV=1,FV=10,YV=-2,Cx=e=>e==="*";function qV(e,t){let n=e.split("/"),r=n.length;return n.some(Cx)&&(r+=YV),t&&(r+=WV),n.filter(o=>!Cx(o)).reduce((o,s)=>o+(VV.test(s)?IV:s===""?JV:FV),r)}function ZV(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function GV(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,o={},s="/",i=[];for(let a=0;a{let{paramName:p,isOptional:y}=u;if(p==="*"){let P=a[d]||"";i=s.slice(0,s.length-P.length).replace(/(.)\/+$/,"$1")}const h=a[d];return y&&!h?c[p]=void 0:c[p]=(h||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:i,pattern:e}}function UV(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),J9(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function QV(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return J9(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Z9(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 KV(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?ul(e):e;return{pathname:n?n.startsWith("/")?n:_V(n,t):t,search:rI(r),hash:oI(o)}}function _V(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function xh(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 $V(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function eI(e,t){let n=$V(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function tI(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=ul(e):(o=_c({},e),ln(!o.pathname||!o.pathname.includes("?"),xh("?","pathname","search",o)),ln(!o.pathname||!o.pathname.includes("#"),xh("#","pathname","hash",o)),ln(!o.search||!o.search.includes("#"),xh("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,a;if(i==null)a=n;else{let d=t.length-1;if(!r&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),d-=1;o.pathname=p.join("/")}a=d>=0?t[d]:"/"}let l=KV(o,a),c=i&&i!=="/"&&i.endsWith("/"),u=(s||i===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const Ai=e=>e.join("/").replace(/\/\/+/g,"/"),nI=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rI=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,oI=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function sI(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const G9=["post","put","patch","delete"];new Set(G9);const iI=["get",...G9];new Set(iI);/** - * React Router v6.26.0 + * React Router v6.26.1 * * Copyright (c) Remix Software Inc. * @@ -173,7 +173,7 @@ Error generating stack: `+s.message+` * * @license MIT */function $c(){return $c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),g.useCallback(function(c,u){if(u===void 0&&(u={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let d=tI(c,JSON.parse(i),s,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Ai([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,i,s,e])}function cI(e,t){return uI(e,t)}function uI(e,t,n,r){rv()||ln(!1);let{navigator:o}=g.useContext(tv),{matches:s}=g.useContext(fl),i=s[s.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let c=vg(),u;if(t){var d;let x=typeof t=="string"?ul(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||ln(!1),u=x}else u=c;let p=u.pathname||"/",y=p;if(l!=="/"){let x=l.replace(/^\//,"").split("/");y="/"+p.replace(/^\//,"").split("/").slice(x.length).join("/")}let h=XV(e,{pathname:y}),P=hI(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:Ai([l,o.encodeLocation?o.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:Ai([l,o.encodeLocation?o.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),s,n,r);return t&&P?g.createElement(nv.Provider,{value:{location:$c({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:xs.Pop}},P):P}function fI(){let e=gI(),t=sI(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),n?g.createElement("pre",{style:o},n):null,null)}const dI=g.createElement(fI,null);class pI extends g.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?g.createElement(fl.Provider,{value:this.props.routeContext},g.createElement(U9.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vI(e){let{routeContext:t,match:n,children:r}=e,o=g.useContext(pg);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),g.createElement(fl.Provider,{value:t},r)}function hI(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let u=i.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);u>=0||ln(!1),i=i.slice(0,Math.min(i.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((u,d,p)=>{let y,h=!1,P=null,x=null;n&&(y=a&&d.route.id?a[d.route.id]:void 0,P=d.route.errorElement||dI,l&&(c<0&&p===0?(bI("route-fallback",!1),h=!0,x=null):c===p&&(h=!0,x=d.route.hydrateFallbackElement||null)));let A=t.concat(i.slice(0,p+1)),v=()=>{let m;return y?m=P:h?m=x:d.route.Component?m=g.createElement(d.route.Component,null):d.route.element?m=d.route.element:m=u,g.createElement(vI,{match:d,routeContext:{outlet:u,matches:A,isDataRoute:n!=null},children:m})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?g.createElement(pI,{location:n.location,revalidation:n.revalidation,component:P,error:y,children:v(),routeContext:{outlet:null,matches:A,isDataRoute:!0}}):v()},null)}var K9=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(K9||{}),Hd=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}(Hd||{});function mI(e){let t=g.useContext(pg);return t||ln(!1),t}function AI(e){let t=g.useContext(aI);return t||ln(!1),t}function PI(e){let t=g.useContext(fl);return t||ln(!1),t}function _9(e){let t=PI(),n=t.matches[t.matches.length-1];return n.route.id||ln(!1),n.route.id}function gI(){var e;let t=g.useContext(U9),n=AI(Hd.UseRouteError),r=_9(Hd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function yI(){let{router:e}=mI(K9.UseNavigateStable),t=_9(Hd.UseNavigateStable),n=g.useRef(!1);return Q9(()=>{n.current=!0}),g.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,$c({fromRouteId:t},s)))},[e,t])}const Sx={};function bI(e,t,n){!t&&!Sx[e]&&(Sx[e]=!0)}function rs(e){ln(!1)}function xI(e){let{basename:t="/",children:n=null,location:r,navigationType:o=xs.Pop,navigator:s,static:i=!1,future:a}=e;rv()&&ln(!1);let l=t.replace(/^\/*/,"/"),c=g.useMemo(()=>({basename:l,navigator:s,static:i,future:$c({v7_relativeSplatPath:!1},a)}),[l,a,s,i]);typeof r=="string"&&(r=ul(r));let{pathname:u="/",search:d="",hash:p="",state:y=null,key:h="default"}=r,P=g.useMemo(()=>{let x=Z9(u,l);return x==null?null:{location:{pathname:x,search:d,hash:p,state:y,key:h},navigationType:o}},[l,u,d,p,y,h,o]);return P==null?null:g.createElement(tv.Provider,{value:c},g.createElement(nv.Provider,{children:n,value:P}))}function wI(e){let{children:t,location:n}=e;return cI(uA(t),n)}new Promise(()=>{});function uA(e,t){t===void 0&&(t=[]);let n=[];return g.Children.forEach(e,(r,o)=>{if(!g.isValidElement(r))return;let s=[...t,o];if(r.type===g.Fragment){n.push.apply(n,uA(r.props.children,s));return}r.type!==rs&&ln(!1),!r.props.index||!r.props.children||ln(!1);let i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=uA(r.props.children,s)),n.push(i)}),n}/** - * React Router DOM v6.26.0 + * React Router DOM v6.26.1 * * Copyright (c) Remix Software Inc. * diff --git a/ui/package-lock.json b/ui/package-lock.json index 888590c8..1340f9fb 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -20,7 +20,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "7.52.2", - "react-router-dom": "6.26.0", + "react-router-dom": "6.26.1", "recoil": "0.7.7" }, "devDependencies": { @@ -1522,9 +1522,9 @@ } }, "node_modules/@remix-run/router": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.0.tgz", - "integrity": "sha512-zDICCLKEwbVYTS6TjYaWtHXxkdoUvD/QXvyVZjGCsWz5vyH7aFeONlPffPdW+Y/t6KT0MgXb2Mfjun9YpWN1dA==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.1.tgz", + "integrity": "sha512-S45oynt/WH19bHbIXjtli6QmwNYvaz+vtnubvNpNDvUOoA/OWh6j1OikIP3G+v5GHdxyC6EXoChG3HgYGEUfcg==", "engines": { "node": ">=14.0.0" } @@ -6067,11 +6067,11 @@ } }, "node_modules/react-router": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.0.tgz", - "integrity": "sha512-wVQq0/iFYd3iZ9H2l3N3k4PL8EEHcb0XlU2Na8nEwmiXgIUElEH6gaJDtUQxJ+JFzmIXaQjfdpcGWaM6IoQGxg==", + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.1.tgz", + "integrity": "sha512-kIwJveZNwp7teQRI5QmwWo39A5bXRyqpH0COKKmPnyD2vBvDwgFXSqDUYtt1h+FEyfnE8eXr7oe0MxRzVwCcvQ==", "dependencies": { - "@remix-run/router": "1.19.0" + "@remix-run/router": "1.19.1" }, "engines": { "node": ">=14.0.0" @@ -6081,12 +6081,12 @@ } }, "node_modules/react-router-dom": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.0.tgz", - "integrity": "sha512-RRGUIiDtLrkX3uYcFiCIxKFWMcWQGMojpYZfcstc63A1+sSnVgILGIm9gNUA6na3Fm1QuPGSBQH2EMbAZOnMsQ==", + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.1.tgz", + "integrity": "sha512-veut7m41S1fLql4pLhxeSW3jlqs+4MtjRLj0xvuCEXsxusJCbs6I8yn9BxzzDX2XDgafrccY6hwjmd/bL54tFw==", "dependencies": { - "@remix-run/router": "1.19.0", - "react-router": "6.26.0" + "@remix-run/router": "1.19.1", + "react-router": "6.26.1" }, "engines": { "node": ">=14.0.0" diff --git a/ui/package.json b/ui/package.json index 9441b4ba..f9c2f5d6 100644 --- a/ui/package.json +++ b/ui/package.json @@ -29,7 +29,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "7.52.2", - "react-router-dom": "6.26.0", + "react-router-dom": "6.26.1", "recoil": "0.7.7" }, "devDependencies": {