locust 2.32.3.dev9__py3-none-any.whl → 2.32.3.dev13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -139,7 +139,7 @@ ${j.current.stack}
139
139
  }
140
140
  `),mi.rippleVisible,wre,RT,({theme:e})=>e.transitions.easing.easeInOut,mi.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,mi.child,mi.childLeaving,Cre,RT,({theme:e})=>e.transitions.easing.easeInOut,mi.childPulsate,Tre,({theme:e})=>e.transitions.easing.easeInOut),kre=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:o}=n,s=ge(n,bre),[l,u]=O.useState([]),c=O.useRef(0),f=O.useRef(null);O.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=O.useRef(!1),h=O.useRef(0),p=O.useRef(null),v=O.useRef(null);O.useEffect(()=>()=>{h.current&&clearTimeout(h.current)},[]);const g=O.useCallback(S=>{const{pulsate:_,rippleX:b,rippleY:w,rippleSize:C,cb:A}=S;u(T=>[...T,P.jsx(Mre,{classes:{ripple:ye(a.ripple,mi.ripple),rippleVisible:ye(a.rippleVisible,mi.rippleVisible),ripplePulsate:ye(a.ripplePulsate,mi.ripplePulsate),child:ye(a.child,mi.child),childLeaving:ye(a.childLeaving,mi.childLeaving),childPulsate:ye(a.childPulsate,mi.childPulsate)},timeout:RT,pulsate:_,rippleX:b,rippleY:w,rippleSize:C},c.current)]),c.current+=1,f.current=A},[a]),m=O.useCallback((S={},_={},b=()=>{})=>{const{pulsate:w=!1,center:C=i||_.pulsate,fakeElement:A=!1}=_;if((S==null?void 0:S.type)==="mousedown"&&d.current){d.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(d.current=!0);const T=A?null:v.current,M=T?T.getBoundingClientRect():{width:0,height:0,left:0,top:0};let k,I,R;if(C||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)k=Math.round(M.width/2),I=Math.round(M.height/2);else{const{clientX:L,clientY:N}=S.touches&&S.touches.length>0?S.touches[0]:S;k=Math.round(L-M.left),I=Math.round(N-M.top)}if(C)R=Math.sqrt((2*M.width**2+M.height**2)/3),R%2===0&&(R+=1);else{const L=Math.max(Math.abs((T?T.clientWidth:0)-k),k)*2+2,N=Math.max(Math.abs((T?T.clientHeight:0)-I),I)*2+2;R=Math.sqrt(L**2+N**2)}S!=null&&S.touches?p.current===null&&(p.current=()=>{g({pulsate:w,rippleX:k,rippleY:I,rippleSize:R,cb:b})},h.current=setTimeout(()=>{p.current&&(p.current(),p.current=null)},_re)):g({pulsate:w,rippleX:k,rippleY:I,rippleSize:R,cb:b})},[i,g]),y=O.useCallback(()=>{m({},{pulsate:!0})},[m]),x=O.useCallback((S,_)=>{if(clearTimeout(h.current),(S==null?void 0:S.type)==="touchend"&&p.current){p.current(),p.current=null,h.current=setTimeout(()=>{x(S,_)});return}p.current=null,u(b=>b.length>0?b.slice(1):b),f.current=_},[]);return O.useImperativeHandle(r,()=>({pulsate:y,start:m,stop:x}),[y,m,x]),P.jsx(Are,B({className:ye(mi.root,a.root,o),ref:v},s,{children:P.jsx(vk,{component:null,exit:!0,children:l})}))});function Ire(e){return ze("MuiButtonBase",e)}const Pre=Fe("MuiButtonBase",["root","disabled","focusVisible"]),Dre=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Rre=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,o=Be({root:["root",t&&"disabled",r&&"focusVisible"]},Ire,i);return r&&n&&(o.root+=` ${n}`),o},Lre=se("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Pre.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Uu=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:o,className:s,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:h="a",onBlur:p,onClick:v,onContextMenu:g,onDragLeave:m,onFocus:y,onFocusVisible:x,onKeyDown:S,onKeyUp:_,onMouseDown:b,onMouseLeave:w,onMouseUp:C,onTouchEnd:A,onTouchMove:T,onTouchStart:M,tabIndex:k=0,TouchRippleProps:I,touchRippleRef:R,type:L}=n,N=ge(n,Dre),$=O.useRef(null),z=O.useRef(null),V=sr(z,R),{isFocusVisibleRef:E,onFocus:G,onBlur:W,ref:F}=gx(),[Y,J]=O.useState(!1);u&&Y&&J(!1),O.useImperativeHandle(i,()=>({focusVisible:()=>{J(!0),$.current.focus()}}),[]);const[j,ee]=O.useState(!1);O.useEffect(()=>{ee(!0)},[]);const Q=j&&!c&&!u;O.useEffect(()=>{Y&&d&&!c&&j&&z.current.pulsate()},[c,d,Y,j]);function te(he,pt,Qt=f){return Ji(_e=>(pt&&pt(_e),!Qt&&z.current&&z.current[he](_e),!0))}const ae=te("start",b),K=te("stop",g),ne=te("stop",m),me=te("stop",C),pe=te("stop",he=>{Y&&he.preventDefault(),w&&w(he)}),Me=te("start",M),je=te("stop",A),Ue=te("stop",T),rt=te("stop",he=>{W(he),E.current===!1&&J(!1),p&&p(he)},!1),ot=Ji(he=>{$.current||($.current=he.currentTarget),G(he),E.current===!0&&(J(!0),x&&x(he)),y&&y(he)}),st=()=>{const he=$.current;return l&&l!=="button"&&!(he.tagName==="A"&&he.href)},Xe=O.useRef(!1),Vt=Ji(he=>{d&&!Xe.current&&Y&&z.current&&he.key===" "&&(Xe.current=!0,z.current.stop(he,()=>{z.current.start(he)})),he.target===he.currentTarget&&st()&&he.key===" "&&he.preventDefault(),S&&S(he),he.target===he.currentTarget&&st()&&he.key==="Enter"&&!u&&(he.preventDefault(),v&&v(he))}),Tt=Ji(he=>{d&&he.key===" "&&z.current&&Y&&!he.defaultPrevented&&(Xe.current=!1,z.current.stop(he,()=>{z.current.pulsate(he)})),_&&_(he),v&&he.target===he.currentTarget&&st()&&he.key===" "&&!he.defaultPrevented&&v(he)});let lt=l;lt==="button"&&(N.href||N.to)&&(lt=h);const X={};lt==="button"?(X.type=L===void 0?"button":L,X.disabled=u):(!N.href&&!N.to&&(X.role="button"),u&&(X["aria-disabled"]=u));const ie=sr(r,F,$),Pe=B({},n,{centerRipple:a,component:l,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:k,focusVisible:Y}),be=Rre(Pe);return P.jsxs(Lre,B({as:lt,className:ye(be.root,s),ownerState:Pe,onBlur:rt,onClick:v,onContextMenu:K,onFocus:ot,onKeyDown:Vt,onKeyUp:Tt,onMouseDown:ae,onMouseLeave:pe,onMouseUp:me,onDragLeave:ne,onTouchEnd:je,onTouchMove:Ue,onTouchStart:Me,ref:ie,tabIndex:u?-1:k,type:L},X,N,{children:[o,Q?P.jsx(kre,B({ref:V,center:a},I)):null]}))});function Ere(e){return ze("MuiAccordionSummary",e)}const of=Fe("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),Ore=["children","className","expandIcon","focusVisibleClassName","onClick"],Nre=e=>{const{classes:t,expanded:r,disabled:n,disableGutters:i}=e;return Be({root:["root",r&&"expanded",n&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",r&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",r&&"expanded"]},Ere,t)},zre=se(Uu,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{const r={duration:e.transitions.duration.shortest};return B({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],r),[`&.${of.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${of.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${of.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{[`&.${of.expanded}`]:{minHeight:64}})}),Bre=se("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>B({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${of.expanded}`]:{margin:"20px 0"}})),Fre=se("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${of.expanded}`]:{transform:"rotate(180deg)"}})),yk=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiAccordionSummary"}),{children:i,className:a,expandIcon:o,focusVisibleClassName:s,onClick:l}=n,u=ge(n,Ore),{disabled:c=!1,disableGutters:f,expanded:d,toggle:h}=O.useContext(Z6),p=m=>{h&&h(m),l&&l(m)},v=B({},n,{expanded:d,disabled:c,disableGutters:f}),g=Nre(v);return P.jsxs(zre,B({focusRipple:!1,disableRipple:!0,disabled:c,component:"div","aria-expanded":d,className:ye(g.root,a),focusVisibleClassName:ye(g.focusVisible,s),onClick:p,ref:r,ownerState:v},u,{children:[P.jsx(Bre,{className:g.content,ownerState:v,children:i}),o&&P.jsx(Fre,{className:g.expandIconWrapper,ownerState:v,children:o})]}))});function $re(e){return ze("MuiAlert",e)}const ML=Fe("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Vre(e){return ze("MuiIconButton",e)}const Gre=Fe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Hre=["edge","children","className","color","disabled","disableFocusRipple","size"],Wre=e=>{const{classes:t,disabled:r,color:n,edge:i,size:a}=e,o={root:["root",r&&"disabled",n!=="default"&&`color${xe(n)}`,i&&`edge${xe(i)}`,`size${xe(a)}`]};return Be(o,Vre,t)},jre=se(Uu,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${xe(r.color)}`],r.edge&&t[`edge${xe(r.edge)}`],t[`size${xe(r.size)}`]]}})(({theme:e,ownerState:t})=>B({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Xt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return B({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&B({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":B({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Xt(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Gre.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),cd=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiIconButton"}),{edge:i=!1,children:a,className:o,color:s="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=n,f=ge(n,Hre),d=B({},n,{edge:i,color:s,disabled:l,disableFocusRipple:u,size:c}),h=Wre(d);return P.jsx(jre,B({className:ye(h.root,o),centerRipple:!0,focusRipple:!u,disabled:l,ref:r,ownerState:d},f,{children:a}))}),Ure=Fn(P.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Yre=Fn(P.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Xre=Fn(P.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),qre=Fn(P.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Zre=Fn(P.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Kre=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],Qre=e=>{const{variant:t,color:r,severity:n,classes:i}=e,a={root:["root",`${t}${xe(r||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Be(a,$re,i)},Jre=se(rl,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${xe(r.color||r.severity)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?av:ov,n=e.palette.mode==="light"?ov:av,i=t.color||t.severity;return B({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&t.variant==="standard"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:r(e.palette[i].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${i}StandardBg`]:n(e.palette[i].light,.9),[`& .${ML.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}},i&&t.variant==="outlined"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:r(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${ML.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}},i&&t.variant==="filled"&&B({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${i}FilledColor`],backgroundColor:e.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main,color:e.palette.getContrastText(e.palette[i].main)}))}),ene=se("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),tne=se("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),kL=se("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),IL={success:P.jsx(Ure,{fontSize:"inherit"}),warning:P.jsx(Yre,{fontSize:"inherit"}),error:P.jsx(Xre,{fontSize:"inherit"}),info:P.jsx(qre,{fontSize:"inherit"})},sf=O.forwardRef(function(t,r){var n,i,a,o,s,l;const u=$e({props:t,name:"MuiAlert"}),{action:c,children:f,className:d,closeText:h="Close",color:p,components:v={},componentsProps:g={},icon:m,iconMapping:y=IL,onClose:x,role:S="alert",severity:_="success",slotProps:b={},slots:w={},variant:C="standard"}=u,A=ge(u,Kre),T=B({},u,{color:p,severity:_,variant:C}),M=Qre(T),k=(n=(i=w.closeButton)!=null?i:v.CloseButton)!=null?n:cd,I=(a=(o=w.closeIcon)!=null?o:v.CloseIcon)!=null?a:Zre,R=(s=b.closeButton)!=null?s:g.closeButton,L=(l=b.closeIcon)!=null?l:g.closeIcon;return P.jsxs(Jre,B({role:S,elevation:0,ownerState:T,className:ye(M.root,d),ref:r},A,{children:[m!==!1?P.jsx(ene,{ownerState:T,className:M.icon,children:m||y[_]||IL[_]}):null,P.jsx(tne,{ownerState:T,className:M.message,children:f}),c!=null?P.jsx(kL,{ownerState:T,className:M.action,children:c}):null,c==null&&x?P.jsx(kL,{ownerState:T,className:M.action,children:P.jsx(k,B({size:"small","aria-label":h,title:h,color:"inherit",onClick:x},R,{children:P.jsx(I,B({fontSize:"small"},L))}))}):null]}))});function rne(e){return ze("MuiTypography",e)}Fe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const nne=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],ine=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:a,classes:o}=e,s={root:["root",a,e.align!=="inherit"&&`align${xe(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return Be(s,rne,o)},ane=se("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${xe(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>B({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),PL={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},one={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},sne=e=>one[e]||e,dt=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTypography"}),i=sne(n.color),a=ck(B({},n,{color:i})),{align:o="inherit",className:s,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:f=!1,variant:d="body1",variantMapping:h=PL}=a,p=ge(a,nne),v=B({},a,{align:o,color:i,className:s,component:l,gutterBottom:u,noWrap:c,paragraph:f,variant:d,variantMapping:h}),g=l||(f?"p":h[d]||PL[d])||"span",m=ine(v);return P.jsx(ane,B({as:g,ref:r,ownerState:v,className:ye(m.root,s)},p))});function lne(e){return ze("MuiAppBar",e)}Fe("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const une=["className","color","enableColorOnDark","position"],cne=e=>{const{color:t,position:r,classes:n}=e,i={root:["root",`color${xe(t)}`,`position${xe(r)}`]};return Be(i,lne,n)},Jg=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,fne=se(rl,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${xe(r.position)}`],t[`color${xe(r.color)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return B({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&B({},t.color==="default"&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&B({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&B({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Jg(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Jg(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Jg(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Jg(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),dne=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiAppBar"}),{className:i,color:a="primary",enableColorOnDark:o=!1,position:s="fixed"}=n,l=ge(n,une),u=B({},n,{color:a,position:s,enableColorOnDark:o}),c=cne(u);return P.jsx(fne,B({square:!0,component:"header",ownerState:u,elevation:4,className:ye(c.root,i,s==="fixed"&&"mui-fixed"),ref:r},l))});function Gf(e){return typeof e=="string"}function Eh(e,t,r){return e===void 0||Gf(e)?t:B({},t,{ownerState:B({},t.ownerState,r)})}const hne={disableDefaultClasses:!1},pne=O.createContext(hne);function vne(e){const{disableDefaultClasses:t}=O.useContext(pne);return r=>t?"":e(r)}function K6(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function gne(e,t,r){return typeof e=="function"?e(t,r):e}function DL(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function mne(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:i,className:a}=e;if(!t){const h=ye(i==null?void 0:i.className,n==null?void 0:n.className,a,r==null?void 0:r.className),p=B({},r==null?void 0:r.style,i==null?void 0:i.style,n==null?void 0:n.style),v=B({},r,i,n);return h.length>0&&(v.className=h),Object.keys(p).length>0&&(v.style=p),{props:v,internalRef:void 0}}const o=K6(B({},i,n)),s=DL(n),l=DL(i),u=t(o),c=ye(u==null?void 0:u.className,r==null?void 0:r.className,a,i==null?void 0:i.className,n==null?void 0:n.className),f=B({},u==null?void 0:u.style,r==null?void 0:r.style,i==null?void 0:i.style,n==null?void 0:n.style),d=B({},u,r,l,s);return c.length>0&&(d.className=c),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}const yne=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function fa(e){var t;const{elementType:r,externalSlotProps:n,ownerState:i,skipResolvingSlotProps:a=!1}=e,o=ge(e,yne),s=a?{}:gne(n,i),{props:l,internalRef:u}=mne(B({},o,{externalSlotProps:s})),c=sr(u,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return Eh(r,B({},l,{ref:c}),i)}const xne=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Sne(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function bne(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function _ne(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||bne(e))}function wne(e){const t=[],r=[];return Array.from(e.querySelectorAll(xne)).forEach((n,i)=>{const a=Sne(n);a===-1||!_ne(n)||(a===0?t.push(n):r.push({documentOrder:i,tabIndex:a,node:n}))}),r.sort((n,i)=>n.tabIndex===i.tabIndex?n.documentOrder-i.documentOrder:n.tabIndex-i.tabIndex).map(n=>n.node).concat(t)}function Cne(){return!0}function Tne(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:a=wne,isEnabled:o=Cne,open:s}=e,l=O.useRef(!1),u=O.useRef(null),c=O.useRef(null),f=O.useRef(null),d=O.useRef(null),h=O.useRef(!1),p=O.useRef(null),v=sr(t.ref,p),g=O.useRef(null);O.useEffect(()=>{!s||!p.current||(h.current=!r)},[r,s]),O.useEffect(()=>{if(!s||!p.current)return;const x=zr(p.current);return p.current.contains(x.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),h.current&&p.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),O.useEffect(()=>{if(!s||!p.current)return;const x=zr(p.current),S=w=>{g.current=w,!(n||!o()||w.key!=="Tab")&&x.activeElement===p.current&&w.shiftKey&&(l.current=!0,c.current&&c.current.focus())},_=()=>{const w=p.current;if(w===null)return;if(!x.hasFocus()||!o()||l.current){l.current=!1;return}if(w.contains(x.activeElement)||n&&x.activeElement!==u.current&&x.activeElement!==c.current)return;if(x.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!h.current)return;let C=[];if((x.activeElement===u.current||x.activeElement===c.current)&&(C=a(p.current)),C.length>0){var A,T;const M=!!((A=g.current)!=null&&A.shiftKey&&((T=g.current)==null?void 0:T.key)==="Tab"),k=C[0],I=C[C.length-1];typeof k!="string"&&typeof I!="string"&&(M?I.focus():k.focus())}else w.focus()};x.addEventListener("focusin",_),x.addEventListener("keydown",S,!0);const b=setInterval(()=>{x.activeElement&&x.activeElement.tagName==="BODY"&&_()},50);return()=>{clearInterval(b),x.removeEventListener("focusin",_),x.removeEventListener("keydown",S,!0)}},[r,n,i,o,s,a]);const m=x=>{f.current===null&&(f.current=x.relatedTarget),h.current=!0,d.current=x.target;const S=t.props.onFocus;S&&S(x)},y=x=>{f.current===null&&(f.current=x.relatedTarget),h.current=!0};return P.jsxs(O.Fragment,{children:[P.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),O.cloneElement(t,{ref:v,onFocus:m}),P.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}var Ln="top",Li="bottom",Ei="right",En="left",xk="auto",tg=[Ln,Li,Ei,En],Hf="start",sv="end",Ane="clippingParents",Q6="viewport",Ud="popper",Mne="reference",RL=tg.reduce(function(e,t){return e.concat([t+"-"+Hf,t+"-"+sv])},[]),J6=[].concat(tg,[xk]).reduce(function(e,t){return e.concat([t,t+"-"+Hf,t+"-"+sv])},[]),kne="beforeRead",Ine="read",Pne="afterRead",Dne="beforeMain",Rne="main",Lne="afterMain",Ene="beforeWrite",One="write",Nne="afterWrite",zne=[kne,Ine,Pne,Dne,Rne,Lne,Ene,One,Nne];function Za(e){return e?(e.nodeName||"").toLowerCase():null}function ri(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ou(e){var t=ri(e).Element;return e instanceof t||e instanceof Element}function Ii(e){var t=ri(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Sk(e){if(typeof ShadowRoot>"u")return!1;var t=ri(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Bne(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!Ii(a)||!Za(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function Fne(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=o.reduce(function(l,u){return l[u]="",l},{});!Ii(i)||!Za(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}const $ne={name:"applyStyles",enabled:!0,phase:"write",fn:Bne,effect:Fne,requires:["computeStyles"]};function Ha(e){return e.split("-")[0]}var pu=Math.max,R0=Math.min,Wf=Math.round;function LT(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function eG(){return!/^((?!chrome|android).)*safari/i.test(LT())}function jf(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&Ii(e)&&(i=e.offsetWidth>0&&Wf(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Wf(n.height)/e.offsetHeight||1);var o=Ou(e)?ri(e):window,s=o.visualViewport,l=!eG()&&r,u=(n.left+(l&&s?s.offsetLeft:0))/i,c=(n.top+(l&&s?s.offsetTop:0))/a,f=n.width/i,d=n.height/a;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function bk(e){var t=jf(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function tG(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Sk(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Eo(e){return ri(e).getComputedStyle(e)}function Vne(e){return["table","td","th"].indexOf(Za(e))>=0}function nl(e){return((Ou(e)?e.ownerDocument:e.document)||window.document).documentElement}function Gx(e){return Za(e)==="html"?e:e.assignedSlot||e.parentNode||(Sk(e)?e.host:null)||nl(e)}function LL(e){return!Ii(e)||Eo(e).position==="fixed"?null:e.offsetParent}function Gne(e){var t=/firefox/i.test(LT()),r=/Trident/i.test(LT());if(r&&Ii(e)){var n=Eo(e);if(n.position==="fixed")return null}var i=Gx(e);for(Sk(i)&&(i=i.host);Ii(i)&&["html","body"].indexOf(Za(i))<0;){var a=Eo(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function rg(e){for(var t=ri(e),r=LL(e);r&&Vne(r)&&Eo(r).position==="static";)r=LL(r);return r&&(Za(r)==="html"||Za(r)==="body"&&Eo(r).position==="static")?t:r||Gne(e)||t}function _k(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function up(e,t,r){return pu(e,R0(t,r))}function Hne(e,t,r){var n=up(e,t,r);return n>r?r:n}function rG(){return{top:0,right:0,bottom:0,left:0}}function nG(e){return Object.assign({},rG(),e)}function iG(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Wne=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,nG(typeof t!="number"?t:iG(t,tg))};function jne(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,s=Ha(r.placement),l=_k(s),u=[En,Ei].indexOf(s)>=0,c=u?"height":"width";if(!(!a||!o)){var f=Wne(i.padding,r),d=bk(a),h=l==="y"?Ln:En,p=l==="y"?Li:Ei,v=r.rects.reference[c]+r.rects.reference[l]-o[l]-r.rects.popper[c],g=o[l]-r.rects.reference[l],m=rg(a),y=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,x=v/2-g/2,S=f[h],_=y-d[c]-f[p],b=y/2-d[c]/2+x,w=up(S,b,_),C=l;r.modifiersData[n]=(t={},t[C]=w,t.centerOffset=w-b,t)}}function Une(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||tG(t.elements.popper,i)&&(t.elements.arrow=i))}const Yne={name:"arrow",enabled:!0,phase:"main",fn:jne,effect:Une,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Uf(e){return e.split("-")[1]}var Xne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qne(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Wf(r*i)/i||0,y:Wf(n*i)/i||0}}function EL(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=o.x,h=d===void 0?0:d,p=o.y,v=p===void 0?0:p,g=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var m=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),x=En,S=Ln,_=window;if(u){var b=rg(r),w="clientHeight",C="clientWidth";if(b===ri(r)&&(b=nl(r),Eo(b).position!=="static"&&s==="absolute"&&(w="scrollHeight",C="scrollWidth")),b=b,i===Ln||(i===En||i===Ei)&&a===sv){S=Li;var A=f&&b===_&&_.visualViewport?_.visualViewport.height:b[w];v-=A-n.height,v*=l?1:-1}if(i===En||(i===Ln||i===Li)&&a===sv){x=Ei;var T=f&&b===_&&_.visualViewport?_.visualViewport.width:b[C];h-=T-n.width,h*=l?1:-1}}var M=Object.assign({position:s},u&&Xne),k=c===!0?qne({x:h,y:v},ri(r)):{x:h,y:v};if(h=k.x,v=k.y,l){var I;return Object.assign({},M,(I={},I[S]=y?"0":"",I[x]=m?"0":"",I.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",I))}return Object.assign({},M,(t={},t[S]=y?v+"px":"",t[x]=m?h+"px":"",t.transform="",t))}function Zne(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,o=a===void 0?!0:a,s=r.roundOffsets,l=s===void 0?!0:s,u={placement:Ha(t.placement),variation:Uf(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,EL(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,EL(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Kne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zne,data:{}};var em={passive:!0};function Qne(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,s=o===void 0?!0:o,l=ri(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(c){c.addEventListener("scroll",r.update,em)}),s&&l.addEventListener("resize",r.update,em),function(){a&&u.forEach(function(c){c.removeEventListener("scroll",r.update,em)}),s&&l.removeEventListener("resize",r.update,em)}}const Jne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qne,data:{}};var eie={left:"right",right:"left",bottom:"top",top:"bottom"};function Iy(e){return e.replace(/left|right|bottom|top/g,function(t){return eie[t]})}var tie={start:"end",end:"start"};function OL(e){return e.replace(/start|end/g,function(t){return tie[t]})}function wk(e){var t=ri(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Ck(e){return jf(nl(e)).left+wk(e).scrollLeft}function rie(e,t){var r=ri(e),n=nl(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=eG();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+Ck(e),y:l}}function nie(e){var t,r=nl(e),n=wk(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=pu(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=pu(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+Ck(e),l=-n.scrollTop;return Eo(i||r).direction==="rtl"&&(s+=pu(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function Tk(e){var t=Eo(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function aG(e){return["html","body","#document"].indexOf(Za(e))>=0?e.ownerDocument.body:Ii(e)&&Tk(e)?e:aG(Gx(e))}function cp(e,t){var r;t===void 0&&(t=[]);var n=aG(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=ri(n),o=i?[a].concat(a.visualViewport||[],Tk(n)?n:[]):n,s=t.concat(o);return i?s:s.concat(cp(Gx(o)))}function ET(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function iie(e,t){var r=jf(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function NL(e,t,r){return t===Q6?ET(rie(e,r)):Ou(t)?iie(t,r):ET(nie(nl(e)))}function aie(e){var t=cp(Gx(e)),r=["absolute","fixed"].indexOf(Eo(e).position)>=0,n=r&&Ii(e)?rg(e):e;return Ou(n)?t.filter(function(i){return Ou(i)&&tG(i,n)&&Za(i)!=="body"}):[]}function oie(e,t,r,n){var i=t==="clippingParents"?aie(e):[].concat(t),a=[].concat(i,[r]),o=a[0],s=a.reduce(function(l,u){var c=NL(e,u,n);return l.top=pu(c.top,l.top),l.right=R0(c.right,l.right),l.bottom=R0(c.bottom,l.bottom),l.left=pu(c.left,l.left),l},NL(e,o,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function oG(e){var t=e.reference,r=e.element,n=e.placement,i=n?Ha(n):null,a=n?Uf(n):null,o=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(i){case Ln:l={x:o,y:t.y-r.height};break;case Li:l={x:o,y:t.y+t.height};break;case Ei:l={x:t.x+t.width,y:s};break;case En:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?_k(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(a){case Hf:l[u]=l[u]-(t[c]/2-r[c]/2);break;case sv:l[u]=l[u]+(t[c]/2-r[c]/2);break}}return l}function lv(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,o=a===void 0?e.strategy:a,s=r.boundary,l=s===void 0?Ane:s,u=r.rootBoundary,c=u===void 0?Q6:u,f=r.elementContext,d=f===void 0?Ud:f,h=r.altBoundary,p=h===void 0?!1:h,v=r.padding,g=v===void 0?0:v,m=nG(typeof g!="number"?g:iG(g,tg)),y=d===Ud?Mne:Ud,x=e.rects.popper,S=e.elements[p?y:d],_=oie(Ou(S)?S:S.contextElement||nl(e.elements.popper),l,c,o),b=jf(e.elements.reference),w=oG({reference:b,element:x,strategy:"absolute",placement:i}),C=ET(Object.assign({},x,w)),A=d===Ud?C:b,T={top:_.top-A.top+m.top,bottom:A.bottom-_.bottom+m.bottom,left:_.left-A.left+m.left,right:A.right-_.right+m.right},M=e.modifiersData.offset;if(d===Ud&&M){var k=M[i];Object.keys(T).forEach(function(I){var R=[Ei,Li].indexOf(I)>=0?1:-1,L=[Ln,Li].indexOf(I)>=0?"y":"x";T[I]+=k[L]*R})}return T}function sie(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,u=l===void 0?J6:l,c=Uf(n),f=c?s?RL:RL.filter(function(p){return Uf(p)===c}):tg,d=f.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,v){return p[v]=lv(e,{placement:v,boundary:i,rootBoundary:a,padding:o})[Ha(v)],p},{});return Object.keys(h).sort(function(p,v){return h[p]-h[v]})}function lie(e){if(Ha(e)===xk)return[];var t=Iy(e);return[OL(e),t,OL(t)]}function uie(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!0:o,l=r.fallbackPlacements,u=r.padding,c=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.flipVariations,p=h===void 0?!0:h,v=r.allowedAutoPlacements,g=t.options.placement,m=Ha(g),y=m===g,x=l||(y||!p?[Iy(g)]:lie(g)),S=[g].concat(x).reduce(function(Y,J){return Y.concat(Ha(J)===xk?sie(t,{placement:J,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):J)},[]),_=t.rects.reference,b=t.rects.popper,w=new Map,C=!0,A=S[0],T=0;T<S.length;T++){var M=S[T],k=Ha(M),I=Uf(M)===Hf,R=[Ln,Li].indexOf(k)>=0,L=R?"width":"height",N=lv(t,{placement:M,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),$=R?I?Ei:En:I?Li:Ln;_[L]>b[L]&&($=Iy($));var z=Iy($),V=[];if(a&&V.push(N[k]<=0),s&&V.push(N[$]<=0,N[z]<=0),V.every(function(Y){return Y})){A=M,C=!1;break}w.set(M,V)}if(C)for(var E=p?3:1,G=function(J){var j=S.find(function(ee){var Q=w.get(ee);if(Q)return Q.slice(0,J).every(function(te){return te})});if(j)return A=j,"break"},W=E;W>0;W--){var F=G(W);if(F==="break")break}t.placement!==A&&(t.modifiersData[n]._skip=!0,t.placement=A,t.reset=!0)}}const cie={name:"flip",enabled:!0,phase:"main",fn:uie,requiresIfExists:["offset"],data:{_skip:!1}};function zL(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function BL(e){return[Ln,Ei,Li,En].some(function(t){return e[t]>=0})}function fie(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=lv(t,{elementContext:"reference"}),s=lv(t,{altBoundary:!0}),l=zL(o,n),u=zL(s,i,a),c=BL(l),f=BL(u);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const die={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:fie};function hie(e,t,r){var n=Ha(e),i=[En,Ln].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[En,Ei].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function pie(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=J6.reduce(function(c,f){return c[f]=hie(f,t.rects,a),c},{}),s=o[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=o}const vie={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:pie};function gie(e){var t=e.state,r=e.name;t.modifiersData[r]=oG({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const mie={name:"popperOffsets",enabled:!0,phase:"read",fn:gie,data:{}};function yie(e){return e==="x"?"y":"x"}function xie(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!1:o,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,f=r.padding,d=r.tether,h=d===void 0?!0:d,p=r.tetherOffset,v=p===void 0?0:p,g=lv(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),m=Ha(t.placement),y=Uf(t.placement),x=!y,S=_k(m),_=yie(S),b=t.modifiersData.popperOffsets,w=t.rects.reference,C=t.rects.popper,A=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,T=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(b){if(a){var I,R=S==="y"?Ln:En,L=S==="y"?Li:Ei,N=S==="y"?"height":"width",$=b[S],z=$+g[R],V=$-g[L],E=h?-C[N]/2:0,G=y===Hf?w[N]:C[N],W=y===Hf?-C[N]:-w[N],F=t.elements.arrow,Y=h&&F?bk(F):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:rG(),j=J[R],ee=J[L],Q=up(0,w[N],Y[N]),te=x?w[N]/2-E-Q-j-T.mainAxis:G-Q-j-T.mainAxis,ae=x?-w[N]/2+E+Q+ee+T.mainAxis:W+Q+ee+T.mainAxis,K=t.elements.arrow&&rg(t.elements.arrow),ne=K?S==="y"?K.clientTop||0:K.clientLeft||0:0,me=(I=M==null?void 0:M[S])!=null?I:0,pe=$+te-me-ne,Me=$+ae-me,je=up(h?R0(z,pe):z,$,h?pu(V,Me):V);b[S]=je,k[S]=je-$}if(s){var Ue,rt=S==="x"?Ln:En,ot=S==="x"?Li:Ei,st=b[_],Xe=_==="y"?"height":"width",Vt=st+g[rt],Tt=st-g[ot],lt=[Ln,En].indexOf(m)!==-1,X=(Ue=M==null?void 0:M[_])!=null?Ue:0,ie=lt?Vt:st-w[Xe]-C[Xe]-X+T.altAxis,Pe=lt?st+w[Xe]+C[Xe]-X-T.altAxis:Tt,be=h&&lt?Hne(ie,st,Pe):up(h?ie:Vt,st,h?Pe:Tt);b[_]=be,k[_]=be-st}t.modifiersData[n]=k}}const Sie={name:"preventOverflow",enabled:!0,phase:"main",fn:xie,requiresIfExists:["offset"]};function bie(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function _ie(e){return e===ri(e)||!Ii(e)?wk(e):bie(e)}function wie(e){var t=e.getBoundingClientRect(),r=Wf(t.width)/e.offsetWidth||1,n=Wf(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Cie(e,t,r){r===void 0&&(r=!1);var n=Ii(t),i=Ii(t)&&wie(t),a=nl(t),o=jf(e,i,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Za(t)!=="body"||Tk(a))&&(s=_ie(t)),Ii(t)?(l=jf(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Ck(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function Tie(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&i(l)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function Aie(e){var t=Tie(e);return zne.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Mie(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function kie(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var FL={placement:"bottom",modifiers:[],strategy:"absolute"};function $L(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Iie(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?FL:i;return function(s,l,u){u===void 0&&(u=a);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},FL,a),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},f=[],d=!1,h={state:c,setOptions:function(m){var y=typeof m=="function"?m(c.options):m;v(),c.options=Object.assign({},a,c.options,y),c.scrollParents={reference:Ou(s)?cp(s):s.contextElement?cp(s.contextElement):[],popper:cp(l)};var x=Aie(kie([].concat(n,c.options.modifiers)));return c.orderedModifiers=x.filter(function(S){return S.enabled}),p(),h.update()},forceUpdate:function(){if(!d){var m=c.elements,y=m.reference,x=m.popper;if($L(y,x)){c.rects={reference:Cie(y,rg(x),c.options.strategy==="fixed"),popper:bk(x)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(T){return c.modifiersData[T.name]=Object.assign({},T.data)});for(var S=0;S<c.orderedModifiers.length;S++){if(c.reset===!0){c.reset=!1,S=-1;continue}var _=c.orderedModifiers[S],b=_.fn,w=_.options,C=w===void 0?{}:w,A=_.name;typeof b=="function"&&(c=b({state:c,options:C,name:A,instance:h})||c)}}}},update:Mie(function(){return new Promise(function(g){h.forceUpdate(),g(c)})}),destroy:function(){v(),d=!0}};if(!$L(s,l))return h;h.setOptions(u).then(function(g){!d&&u.onFirstUpdate&&u.onFirstUpdate(g)});function p(){c.orderedModifiers.forEach(function(g){var m=g.name,y=g.options,x=y===void 0?{}:y,S=g.effect;if(typeof S=="function"){var _=S({state:c,name:m,instance:h,options:x}),b=function(){};f.push(_||b)}})}function v(){f.forEach(function(g){return g()}),f=[]}return h}}var Pie=[Jne,mie,Kne,$ne,vie,cie,Sie,Yne,die],Die=Iie({defaultModifiers:Pie});function Rie(e){return typeof e=="function"?e():e}const sG=O.forwardRef(function(t,r){const{children:n,container:i,disablePortal:a=!1}=t,[o,s]=O.useState(null),l=sr(O.isValidElement(n)?n.ref:null,r);if(ua(()=>{a||s(Rie(i)||document.body)},[i,a]),ua(()=>{if(o&&!a)return k0(r,o),()=>{k0(r,null)}},[r,o,a]),a){if(O.isValidElement(n)){const u={ref:l};return O.cloneElement(n,u)}return P.jsx(O.Fragment,{children:n})}return P.jsx(O.Fragment,{children:o&&ex.createPortal(n,o)})});function Lie(e){return ze("MuiPopper",e)}Fe("MuiPopper",["root"]);const Eie=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Oie=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Nie(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function OT(e){return typeof e=="function"?e():e}function zie(e){return e.nodeType!==void 0}const Bie=()=>Be({root:["root"]},vne(Lie)),Fie={},$ie=O.forwardRef(function(t,r){var n;const{anchorEl:i,children:a,direction:o,disablePortal:s,modifiers:l,open:u,placement:c,popperOptions:f,popperRef:d,slotProps:h={},slots:p={},TransitionProps:v}=t,g=ge(t,Eie),m=O.useRef(null),y=sr(m,r),x=O.useRef(null),S=sr(x,d),_=O.useRef(S);ua(()=>{_.current=S},[S]),O.useImperativeHandle(d,()=>x.current,[]);const b=Nie(c,o),[w,C]=O.useState(b),[A,T]=O.useState(OT(i));O.useEffect(()=>{x.current&&x.current.forceUpdate()}),O.useEffect(()=>{i&&T(OT(i))},[i]),ua(()=>{if(!A||!u)return;const L=z=>{C(z.placement)};let N=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:z})=>{L(z)}}];l!=null&&(N=N.concat(l)),f&&f.modifiers!=null&&(N=N.concat(f.modifiers));const $=Die(A,m.current,B({placement:b},f,{modifiers:N}));return _.current($),()=>{$.destroy(),_.current(null)}},[A,s,l,u,f,b]);const M={placement:w};v!==null&&(M.TransitionProps=v);const k=Bie(),I=(n=p.root)!=null?n:"div",R=fa({elementType:I,externalSlotProps:h.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:k.root});return P.jsx(I,B({},R,{children:typeof a=="function"?a(M):a}))}),Vie=O.forwardRef(function(t,r){const{anchorEl:n,children:i,container:a,direction:o="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:d=Fie,popperRef:h,style:p,transition:v=!1,slotProps:g={},slots:m={}}=t,y=ge(t,Oie),[x,S]=O.useState(!0),_=()=>{S(!1)},b=()=>{S(!0)};if(!l&&!c&&(!v||x))return null;let w;if(a)w=a;else if(n){const T=OT(n);w=T&&zie(T)?zr(T).body:zr(null).body}const C=!c&&l&&(!v||x)?"none":void 0,A=v?{in:c,onEnter:_,onExited:b}:void 0;return P.jsx(sG,{disablePortal:s,container:w,children:P.jsx($ie,B({anchorEl:n,direction:o,disablePortal:s,modifiers:u,ref:r,open:v?!x:c,placement:f,popperOptions:d,popperRef:h,slotProps:g,slots:m},y,{style:B({position:"fixed",top:0,left:0,display:C},p),TransitionProps:A,children:i}))})});function Gie(e){const t=zr(e);return t.body===e?qa(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function fp(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function VL(e){return parseInt(qa(e).getComputedStyle(e).paddingRight,10)||0}function Hie(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function GL(e,t,r,n,i){const a=[t,r,...n];[].forEach.call(e.children,o=>{const s=a.indexOf(o)===-1,l=!Hie(o);s&&l&&fp(o,i)})}function Pb(e,t){let r=-1;return e.some((n,i)=>t(n)?(r=i,!0):!1),r}function Wie(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(Gie(n)){const o=v6(zr(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${VL(n)+o}px`;const s=zr(n).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${VL(l)+o}px`})}let a;if(n.parentNode instanceof DocumentFragment)a=zr(n).body;else{const o=n.parentElement,s=qa(n);a=(o==null?void 0:o.nodeName)==="HTML"&&s.getComputedStyle(o).overflowY==="scroll"?o:n}r.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{r.forEach(({value:a,el:o,property:s})=>{a?o.style.setProperty(s,a):o.style.removeProperty(s)})}}function jie(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class Uie{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&fp(t.modalRef,!1);const i=jie(r);GL(r,t.mount,t.modalRef,i,!0);const a=Pb(this.containers,o=>o.container===r);return a!==-1?(this.containers[a].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:i}),n)}mount(t,r){const n=Pb(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[n];i.restore||(i.restore=Wie(i,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const i=Pb(this.containers,o=>o.modals.indexOf(t)!==-1),a=this.containers[i];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(n,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&fp(t.modalRef,r),GL(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(i,1);else{const o=a.modals[a.modals.length-1];o.modalRef&&fp(o.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Yie(e){return typeof e=="function"?e():e}function Xie(e){return e?e.props.hasOwnProperty("in"):!1}const qie=new Uie;function Zie(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:i=qie,closeAfterTransition:a=!1,onTransitionEnter:o,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:f}=e,d=O.useRef({}),h=O.useRef(null),p=O.useRef(null),v=sr(p,f),[g,m]=O.useState(!c),y=Xie(l);let x=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(x=!1);const S=()=>zr(h.current),_=()=>(d.current.modalRef=p.current,d.current.mount=h.current,d.current),b=()=>{i.mount(_(),{disableScrollLock:n}),p.current&&(p.current.scrollTop=0)},w=Ji(()=>{const N=Yie(t)||S().body;i.add(_(),N),p.current&&b()}),C=O.useCallback(()=>i.isTopModal(_()),[i]),A=Ji(N=>{h.current=N,N&&(c&&C()?b():p.current&&fp(p.current,x))}),T=O.useCallback(()=>{i.remove(_(),x)},[x,i]);O.useEffect(()=>()=>{T()},[T]),O.useEffect(()=>{c?w():(!y||!a)&&T()},[c,T,y,a,w]);const M=N=>$=>{var z;(z=N.onKeyDown)==null||z.call(N,$),!($.key!=="Escape"||!C())&&(r||($.stopPropagation(),u&&u($,"escapeKeyDown")))},k=N=>$=>{var z;(z=N.onClick)==null||z.call(N,$),$.target===$.currentTarget&&u&&u($,"backdropClick")};return{getRootProps:(N={})=>{const $=K6(e);delete $.onTransitionEnter,delete $.onTransitionExited;const z=B({},$,N);return B({role:"presentation"},z,{onKeyDown:M(z),ref:v})},getBackdropProps:(N={})=>{const $=N;return B({"aria-hidden":!0},$,{onClick:k($),open:c})},getTransitionProps:()=>{const N=()=>{m(!1),o&&o()},$=()=>{m(!0),s&&s(),a&&T()};return{onEnter:CT(N,l==null?void 0:l.props.onEnter),onExited:CT($,l==null?void 0:l.props.onExited)}},rootRef:v,portalRef:A,isTopModal:C,exited:g,hasTransition:y}}const Kie=["onChange","maxRows","minRows","style","value"];function tm(e){return parseInt(e,10)||0}const Qie={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function HL(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const Jie=O.forwardRef(function(t,r){const{onChange:n,maxRows:i,minRows:a=1,style:o,value:s}=t,l=ge(t,Kie),{current:u}=O.useRef(s!=null),c=O.useRef(null),f=sr(r,c),d=O.useRef(null),h=O.useRef(0),[p,v]=O.useState({outerHeightStyle:0}),g=O.useCallback(()=>{const _=c.current,w=qa(_).getComputedStyle(_);if(w.width==="0px")return{outerHeightStyle:0};const C=d.current;C.style.width=w.width,C.value=_.value||t.placeholder||"x",C.value.slice(-1)===`
141
141
  `&&(C.value+=" ");const A=w.boxSizing,T=tm(w.paddingBottom)+tm(w.paddingTop),M=tm(w.borderBottomWidth)+tm(w.borderTopWidth),k=C.scrollHeight;C.value="x";const I=C.scrollHeight;let R=k;a&&(R=Math.max(Number(a)*I,R)),i&&(R=Math.min(Number(i)*I,R)),R=Math.max(R,I);const L=R+(A==="border-box"?T+M:0),N=Math.abs(R-k)<=1;return{outerHeightStyle:L,overflow:N}},[i,a,t.placeholder]),m=(_,b)=>{const{outerHeightStyle:w,overflow:C}=b;return h.current<20&&(w>0&&Math.abs((_.outerHeightStyle||0)-w)>1||_.overflow!==C)?(h.current+=1,{overflow:C,outerHeightStyle:w}):_},y=O.useCallback(()=>{const _=g();HL(_)||v(b=>m(b,_))},[g]),x=()=>{const _=g();HL(_)||ex.flushSync(()=>{v(b=>m(b,_))})};O.useEffect(()=>{const _=()=>{h.current=0,c.current&&x()},b=Zv(()=>{h.current=0,c.current&&x()});let w;const C=c.current,A=qa(C);return A.addEventListener("resize",b),typeof ResizeObserver<"u"&&(w=new ResizeObserver(_),w.observe(C)),()=>{b.clear(),A.removeEventListener("resize",b),w&&w.disconnect()}}),ua(()=>{y()}),O.useEffect(()=>{h.current=0},[s]);const S=_=>{h.current=0,u||y(),n&&n(_)};return P.jsxs(O.Fragment,{children:[P.jsx("textarea",B({value:s,onChange:S,ref:f,rows:a,style:B({height:p.outerHeightStyle,overflow:p.overflow?"hidden":void 0},o)},l)),P.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:d,tabIndex:-1,style:B({},Qie.shadow,o,{paddingTop:0,paddingBottom:0})})]})}),eae=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],tae=se(Vie,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),lG=O.forwardRef(function(t,r){var n;const i=uk(),a=$e({props:t,name:"MuiPopper"}),{anchorEl:o,component:s,components:l,componentsProps:u,container:c,disablePortal:f,keepMounted:d,modifiers:h,open:p,placement:v,popperOptions:g,popperRef:m,transition:y,slots:x,slotProps:S}=a,_=ge(a,eae),b=(n=x==null?void 0:x.root)!=null?n:l==null?void 0:l.Root,w=B({anchorEl:o,container:c,disablePortal:f,keepMounted:d,modifiers:h,open:p,placement:v,popperOptions:g,popperRef:m,transition:y},_);return P.jsx(tae,B({as:s,direction:i==null?void 0:i.direction,slots:{root:b},slotProps:S??u},w,{ref:r}))});function il({props:e,states:t,muiFormControl:r}){return t.reduce((n,i)=>(n[i]=e[i],r&&typeof e[i]>"u"&&(n[i]=r[i]),n),{})}const Hx=O.createContext(void 0);function ao(){return O.useContext(Hx)}function uG(e){return P.jsx(Oee,B({},e,{defaultTheme:$x,themeId:Ru}))}function WL(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function L0(e,t=!1){return e&&(WL(e.value)&&e.value!==""||t&&WL(e.defaultValue)&&e.defaultValue!=="")}function rae(e){return e.startAdornment}function nae(e){return ze("MuiInputBase",e)}const Yf=Fe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),iae=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Wx=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${xe(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},jx=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},aae=e=>{const{classes:t,color:r,disabled:n,error:i,endAdornment:a,focused:o,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:f,size:d,startAdornment:h,type:p}=e,v={root:["root",`color${xe(r)}`,n&&"disabled",i&&"error",l&&"fullWidth",o&&"focused",s&&"formControl",d&&d!=="medium"&&`size${xe(d)}`,c&&"multiline",h&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",n&&"disabled",p==="search"&&"inputTypeSearch",c&&"inputMultiline",d==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",a&&"inputAdornedEnd",f&&"readOnly"]};return Be(v,nae,t)},Ux=se("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Wx})(({theme:e,ownerState:t})=>B({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Yf.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&B({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Yx=se("input",{name:"MuiInputBase",slot:"Input",overridesResolver:jx})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=B({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return B({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Yf.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Yf.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),oae=P.jsx(uG,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Ak=O.forwardRef(function(t,r){var n;const i=$e({props:t,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:o,autoFocus:s,className:l,components:u={},componentsProps:c={},defaultValue:f,disabled:d,disableInjectingGlobalStyles:h,endAdornment:p,fullWidth:v=!1,id:g,inputComponent:m="input",inputProps:y={},inputRef:x,maxRows:S,minRows:_,multiline:b=!1,name:w,onBlur:C,onChange:A,onClick:T,onFocus:M,onKeyDown:k,onKeyUp:I,placeholder:R,readOnly:L,renderSuffix:N,rows:$,slotProps:z={},slots:V={},startAdornment:E,type:G="text",value:W}=i,F=ge(i,iae),Y=y.value!=null?y.value:W,{current:J}=O.useRef(Y!=null),j=O.useRef(),ee=O.useCallback(be=>{},[]),Q=sr(j,x,y.ref,ee),[te,ae]=O.useState(!1),K=ao(),ne=il({props:i,muiFormControl:K,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ne.focused=K?K.focused:te,O.useEffect(()=>{!K&&d&&te&&(ae(!1),C&&C())},[K,d,te,C]);const me=K&&K.onFilled,pe=K&&K.onEmpty,Me=O.useCallback(be=>{L0(be)?me&&me():pe&&pe()},[me,pe]);ua(()=>{J&&Me({value:Y})},[Y,Me,J]);const je=be=>{if(ne.disabled){be.stopPropagation();return}M&&M(be),y.onFocus&&y.onFocus(be),K&&K.onFocus?K.onFocus(be):ae(!0)},Ue=be=>{C&&C(be),y.onBlur&&y.onBlur(be),K&&K.onBlur?K.onBlur(be):ae(!1)},rt=(be,...he)=>{if(!J){const pt=be.target||j.current;if(pt==null)throw new Error(Ws(1));Me({value:pt.value})}y.onChange&&y.onChange(be,...he),A&&A(be,...he)};O.useEffect(()=>{Me(j.current)},[]);const ot=be=>{j.current&&be.currentTarget===be.target&&j.current.focus(),T&&T(be)};let st=m,Xe=y;b&&st==="input"&&($?Xe=B({type:void 0,minRows:$,maxRows:$},Xe):Xe=B({type:void 0,maxRows:S,minRows:_},Xe),st=Jie);const Vt=be=>{Me(be.animationName==="mui-auto-fill-cancel"?j.current:{value:"x"})};O.useEffect(()=>{K&&K.setAdornedStart(!!E)},[K,E]);const Tt=B({},i,{color:ne.color||"primary",disabled:ne.disabled,endAdornment:p,error:ne.error,focused:ne.focused,formControl:K,fullWidth:v,hiddenLabel:ne.hiddenLabel,multiline:b,size:ne.size,startAdornment:E,type:G}),lt=aae(Tt),X=V.root||u.Root||Ux,ie=z.root||c.root||{},Pe=V.input||u.Input||Yx;return Xe=B({},Xe,(n=z.input)!=null?n:c.input),P.jsxs(O.Fragment,{children:[!h&&oae,P.jsxs(X,B({},ie,!Gf(X)&&{ownerState:B({},Tt,ie.ownerState)},{ref:r,onClick:ot},F,{className:ye(lt.root,ie.className,l,L&&"MuiInputBase-readOnly"),children:[E,P.jsx(Hx.Provider,{value:null,children:P.jsx(Pe,B({ownerState:Tt,"aria-invalid":ne.error,"aria-describedby":a,autoComplete:o,autoFocus:s,defaultValue:f,disabled:ne.disabled,id:g,onAnimationStart:Vt,name:w,placeholder:R,readOnly:L,required:ne.required,rows:$,value:Y,onKeyDown:k,onKeyUp:I,type:G},Xe,!Gf(Pe)&&{as:st,ownerState:B({},Tt,Xe.ownerState)},{ref:Q,className:ye(lt.input,Xe.className,L&&"MuiInputBase-readOnly"),onBlur:Ue,onChange:rt,onFocus:je}))}),p,N?N(B({},ne,{startAdornment:E})):null]}))]})});function sae(e){return ze("MuiInput",e)}const Yd=B({},Yf,Fe("MuiInput",["root","underline","input"]));function lae(e){return ze("MuiOutlinedInput",e)}const Xo=B({},Yf,Fe("MuiOutlinedInput",["root","notchedOutline","input"]));function uae(e){return ze("MuiFilledInput",e)}const ll=B({},Yf,Fe("MuiFilledInput",["root","underline","input"])),cae=Fn(P.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),fae=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],dae={entering:{opacity:1},entered:{opacity:1}},hae=O.forwardRef(function(t,r){const n=ju(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:o=!0,children:s,easing:l,in:u,onEnter:c,onEntered:f,onEntering:d,onExit:h,onExited:p,onExiting:v,style:g,timeout:m=i,TransitionComponent:y=pa}=t,x=ge(t,fae),S=O.useRef(null),_=sr(S,s.ref,r),b=R=>L=>{if(R){const N=S.current;L===void 0?R(N):R(N,L)}},w=b(d),C=b((R,L)=>{X6(R);const N=Vf({style:g,timeout:m,easing:l},{mode:"enter"});R.style.webkitTransition=n.transitions.create("opacity",N),R.style.transition=n.transitions.create("opacity",N),c&&c(R,L)}),A=b(f),T=b(v),M=b(R=>{const L=Vf({style:g,timeout:m,easing:l},{mode:"exit"});R.style.webkitTransition=n.transitions.create("opacity",L),R.style.transition=n.transitions.create("opacity",L),h&&h(R)}),k=b(p),I=R=>{a&&a(S.current,R)};return P.jsx(y,B({appear:o,in:u,nodeRef:S,onEnter:C,onEntered:A,onEntering:w,onExit:M,onExited:k,onExiting:T,addEndListener:I,timeout:m},x,{children:(R,L)=>O.cloneElement(s,B({style:B({opacity:0,visibility:R==="exited"&&!u?"hidden":void 0},dae[R],g,s.props.style),ref:_},L))}))});function pae(e){return ze("MuiBackdrop",e)}Fe("MuiBackdrop",["root","invisible"]);const vae=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],gae=e=>{const{classes:t,invisible:r}=e;return Be({root:["root",r&&"invisible"]},pae,t)},mae=se("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>B({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),yae=O.forwardRef(function(t,r){var n,i,a;const o=$e({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:u="div",components:c={},componentsProps:f={},invisible:d=!1,open:h,slotProps:p={},slots:v={},TransitionComponent:g=hae,transitionDuration:m}=o,y=ge(o,vae),x=B({},o,{component:u,invisible:d}),S=gae(x),_=(n=p.root)!=null?n:f.root;return P.jsx(g,B({in:h,timeout:m},y,{children:P.jsx(mae,B({"aria-hidden":!0},_,{as:(i=(a=v.root)!=null?a:c.Root)!=null?i:u,className:ye(S.root,l,_==null?void 0:_.className),ownerState:B({},x,_==null?void 0:_.ownerState),classes:S,ref:r,children:s}))}))}),xae=hk(),Pt=Fee({themeId:Ru,defaultTheme:xae,defaultClassName:"MuiBox-root",generateClassName:qM.generate});function Sae(e){return ze("MuiButton",e)}const rm=Fe("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),bae=O.createContext({}),_ae=O.createContext(void 0),wae=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Cae=e=>{const{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,classes:o}=e,s={root:["root",a,`${a}${xe(t)}`,`size${xe(i)}`,`${a}Size${xe(i)}`,t==="inherit"&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${xe(i)}`],endIcon:["endIcon",`iconSize${xe(i)}`]},l=Be(s,Sae,o);return B({},o,l)},cG=e=>B({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Tae=se(Uu,{shouldForwardProp:e=>io(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${xe(r.color)}`],t[`size${xe(r.size)}`],t[`${r.variant}Size${xe(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],a=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return B({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":B({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Xt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Xt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Xt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":B({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${rm.focusVisible}`]:B({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${rm.disabled}`]:B({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Xt(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${rm.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${rm.disabled}`]:{boxShadow:"none"}}),Aae=se("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${xe(r.size)}`]]}})(({ownerState:e})=>B({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},cG(e))),Mae=se("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${xe(r.size)}`]]}})(({ownerState:e})=>B({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},cG(e))),Ka=O.forwardRef(function(t,r){const n=O.useContext(bae),i=O.useContext(_ae),a=XM(n,t),o=$e({props:a,name:"MuiButton"}),{children:s,color:l="primary",component:u="button",className:c,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:h=!1,endIcon:p,focusVisibleClassName:v,fullWidth:g=!1,size:m="medium",startIcon:y,type:x,variant:S="text"}=o,_=ge(o,wae),b=B({},o,{color:l,component:u,disabled:f,disableElevation:d,disableFocusRipple:h,fullWidth:g,size:m,type:x,variant:S}),w=Cae(b),C=y&&P.jsx(Aae,{className:w.startIcon,ownerState:b,children:y}),A=p&&P.jsx(Mae,{className:w.endIcon,ownerState:b,children:p}),T=i||"";return P.jsxs(Tae,B({ownerState:b,className:ye(n.className,w.root,c,T),component:u,disabled:f,focusRipple:!h,focusVisibleClassName:ye(w.focusVisible,v),ref:r,type:x},_,{classes:w,children:[C,s,A]}))});function kae(e){return ze("PrivateSwitchBase",e)}Fe("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Iae=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Pae=e=>{const{classes:t,checked:r,disabled:n,edge:i}=e,a={root:["root",r&&"checked",n&&"disabled",i&&`edge${xe(i)}`],input:["input"]};return Be(a,kae,t)},Dae=se(Uu)(({ownerState:e})=>B({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),Rae=se("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),fG=O.forwardRef(function(t,r){const{autoFocus:n,checked:i,checkedIcon:a,className:o,defaultChecked:s,disabled:l,disableFocusRipple:u=!1,edge:c=!1,icon:f,id:d,inputProps:h,inputRef:p,name:v,onBlur:g,onChange:m,onFocus:y,readOnly:x,required:S=!1,tabIndex:_,type:b,value:w}=t,C=ge(t,Iae),[A,T]=Bf({controlled:i,default:!!s,name:"SwitchBase",state:"checked"}),M=ao(),k=V=>{y&&y(V),M&&M.onFocus&&M.onFocus(V)},I=V=>{g&&g(V),M&&M.onBlur&&M.onBlur(V)},R=V=>{if(V.nativeEvent.defaultPrevented)return;const E=V.target.checked;T(E),m&&m(V,E)};let L=l;M&&typeof L>"u"&&(L=M.disabled);const N=b==="checkbox"||b==="radio",$=B({},t,{checked:A,disabled:L,disableFocusRipple:u,edge:c}),z=Pae($);return P.jsxs(Dae,B({component:"span",className:ye(z.root,o),centerRipple:!0,focusRipple:!u,disabled:L,tabIndex:null,role:void 0,onFocus:k,onBlur:I,ownerState:$,ref:r},C,{children:[P.jsx(Rae,B({autoFocus:n,checked:i,defaultChecked:s,className:z.input,disabled:L,id:N?d:void 0,name:v,onChange:R,readOnly:x,ref:p,required:S,ownerState:$,tabIndex:_,type:b},b==="checkbox"&&w===void 0?{}:{value:w},h)),A?a:f]}))}),Lae=Fn(P.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Eae=Fn(P.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Oae=Fn(P.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Nae(e){return ze("MuiCheckbox",e)}const Db=Fe("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),zae=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Bae=e=>{const{classes:t,indeterminate:r,color:n,size:i}=e,a={root:["root",r&&"indeterminate",`color${xe(n)}`,`size${xe(i)}`]},o=Be(a,Nae,t);return B({},t,o)},Fae=se(fG,{shouldForwardProp:e=>io(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,r.color!=="default"&&t[`color${xe(r.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.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Xt(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Db.checked}, &.${Db.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Db.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),$ae=P.jsx(Eae,{}),Vae=P.jsx(Lae,{}),Gae=P.jsx(Oae,{}),NT=O.forwardRef(function(t,r){var n,i;const a=$e({props:t,name:"MuiCheckbox"}),{checkedIcon:o=$ae,color:s="primary",icon:l=Vae,indeterminate:u=!1,indeterminateIcon:c=Gae,inputProps:f,size:d="medium",className:h}=a,p=ge(a,zae),v=u?c:l,g=u?c:o,m=B({},a,{color:s,indeterminate:u,size:d}),y=Bae(m);return P.jsx(Fae,B({type:"checkbox",inputProps:B({"data-indeterminate":u},f),icon:O.cloneElement(v,{fontSize:(n=v.props.fontSize)!=null?n:d}),checkedIcon:O.cloneElement(g,{fontSize:(i=g.props.fontSize)!=null?i:d}),ownerState:m,ref:r,className:ye(y.root,h)},p,{classes:y}))}),ng=cte({createStyledComponent:se("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`maxWidth${xe(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>$e({props:e,name:"MuiContainer"})}),Hae=(e,t)=>B({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Wae=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}}),jae=(e,t=!1)=>{var r;const n={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,s])=>{var l;n[e.getColorSchemeSelector(o).replace(/\s*&/,"")]={colorScheme:(l=s.palette)==null?void 0:l.mode}});let i=B({html:Hae(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:B({margin:0},Wae(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},n);const a=(r=e.components)==null||(r=r.MuiCssBaseline)==null?void 0:r.styleOverrides;return a&&(i=[i,a]),i};function dG(e){const t=$e({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:n=!1}=t;return P.jsxs(O.Fragment,{children:[P.jsx(uG,{styles:i=>jae(i,n)}),r]})}function Uae(e){return ze("MuiModal",e)}Fe("MuiModal",["root","hidden","backdrop"]);const Yae=["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"],Xae=e=>{const{open:t,exited:r,classes:n}=e;return Be({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Uae,n)},qae=se("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.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"})),Zae=se(yae,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),hG=O.forwardRef(function(t,r){var n,i,a,o,s,l;const u=$e({name:"MuiModal",props:t}),{BackdropComponent:c=Zae,BackdropProps:f,className:d,closeAfterTransition:h=!1,children:p,container:v,component:g,components:m={},componentsProps:y={},disableAutoFocus:x=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:_=!1,disablePortal:b=!1,disableRestoreFocus:w=!1,disableScrollLock:C=!1,hideBackdrop:A=!1,keepMounted:T=!1,onBackdropClick:M,open:k,slotProps:I,slots:R}=u,L=ge(u,Yae),N=B({},u,{closeAfterTransition:h,disableAutoFocus:x,disableEnforceFocus:S,disableEscapeKeyDown:_,disablePortal:b,disableRestoreFocus:w,disableScrollLock:C,hideBackdrop:A,keepMounted:T}),{getRootProps:$,getBackdropProps:z,getTransitionProps:V,portalRef:E,isTopModal:G,exited:W,hasTransition:F}=Zie(B({},N,{rootRef:r})),Y=B({},N,{exited:W}),J=Xae(Y),j={};if(p.props.tabIndex===void 0&&(j.tabIndex="-1"),F){const{onEnter:me,onExited:pe}=V();j.onEnter=me,j.onExited=pe}const ee=(n=(i=R==null?void 0:R.root)!=null?i:m.Root)!=null?n:qae,Q=(a=(o=R==null?void 0:R.backdrop)!=null?o:m.Backdrop)!=null?a:c,te=(s=I==null?void 0:I.root)!=null?s:y.root,ae=(l=I==null?void 0:I.backdrop)!=null?l:y.backdrop,K=fa({elementType:ee,externalSlotProps:te,externalForwardedProps:L,getSlotProps:$,additionalProps:{ref:r,as:g},ownerState:Y,className:ye(d,te==null?void 0:te.className,J==null?void 0:J.root,!Y.open&&Y.exited&&(J==null?void 0:J.hidden))}),ne=fa({elementType:Q,externalSlotProps:ae,additionalProps:f,getSlotProps:me=>z(B({},me,{onClick:pe=>{M&&M(pe),me!=null&&me.onClick&&me.onClick(pe)}})),className:ye(ae==null?void 0:ae.className,f==null?void 0:f.className,J==null?void 0:J.backdrop),ownerState:Y});return!T&&!k&&(!F||W)?null:P.jsx(sG,{ref:E,container:v,disablePortal:b,children:P.jsxs(ee,B({},K,{children:[!A&&c?P.jsx(Q,B({},ne)):null,P.jsx(Tne,{disableEnforceFocus:S,disableAutoFocus:x,disableRestoreFocus:w,isEnabled:G,open:k,children:O.cloneElement(p,j)})]}))})});function Kae(e){return ze("MuiDivider",e)}Fe("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Qae=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Jae=e=>{const{absolute:t,children:r,classes:n,flexItem:i,light:a,orientation:o,textAlign:s,variant:l}=e;return Be({root:["root",t&&"absolute",l,a&&"light",o==="vertical"&&"vertical",i&&"flexItem",r&&"withChildren",r&&o==="vertical"&&"withChildrenVertical",s==="right"&&o!=="vertical"&&"textAlignRight",s==="left"&&o!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",o==="vertical"&&"wrapperVertical"]},Kae,n)},eoe=se("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.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)`:Xt(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%"}})),toe=se("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.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)`})),Bc=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiDivider"}),{absolute:i=!1,children:a,className:o,component:s=a?"div":"hr",flexItem:l=!1,light:u=!1,orientation:c="horizontal",role:f=s!=="hr"?"separator":void 0,textAlign:d="center",variant:h="fullWidth"}=n,p=ge(n,Qae),v=B({},n,{absolute:i,component:s,flexItem:l,light:u,orientation:c,role:f,textAlign:d,variant:h}),g=Jae(v);return P.jsx(eoe,B({as:s,className:ye(g.root,o),role:f,ref:r,ownerState:v},p,{children:a?P.jsx(toe,{className:g.wrapper,ownerState:v,children:a}):null}))});Bc.muiSkipListHighlight=!0;const roe=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],noe=e=>{const{classes:t,disableUnderline:r}=e,i=Be({root:["root",!r&&"underline"],input:["input"]},uae,t);return B({},t,i)},ioe=se(Ux,{shouldForwardProp:e=>io(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Wx(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n=e.palette.mode==="light",i=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return B({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,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:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${ll.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${ll.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.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"},[`&.${ll.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ll.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ll.disabled}, .${ll.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${ll.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}))}),aoe=se(Yx,{name:"MuiFilledInput",slot:"Input",overridesResolver:jx})(({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.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),Mk=O.forwardRef(function(t,r){var n,i,a,o;const s=$e({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:f="input",multiline:d=!1,slotProps:h,slots:p={},type:v="text"}=s,g=ge(s,roe),m=B({},s,{fullWidth:c,inputComponent:f,multiline:d,type:v}),y=noe(s),x={root:{ownerState:m},input:{ownerState:m}},S=h??u?Rn(h??u,x):x,_=(n=(i=p.root)!=null?i:l.Root)!=null?n:ioe,b=(a=(o=p.input)!=null?o:l.Input)!=null?a:aoe;return P.jsx(Ak,B({slots:{root:_,input:b},componentsProps:S,fullWidth:c,inputComponent:f,multiline:d,ref:r,type:v},g,{classes:y}))});Mk.muiName="Input";function ooe(e){return ze("MuiFormControl",e)}Fe("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const soe=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],loe=e=>{const{classes:t,margin:r,fullWidth:n}=e,i={root:["root",r!=="none"&&`margin${xe(r)}`,n&&"fullWidth"]};return Be(i,ooe,t)},uoe=se("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>B({},t.root,t[`margin${xe(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%"})),kk=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiFormControl"}),{children:i,className:a,color:o="primary",component:s="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:f=!1,hiddenLabel:d=!1,margin:h="none",required:p=!1,size:v="medium",variant:g="outlined"}=n,m=ge(n,soe),y=B({},n,{color:o,component:s,disabled:l,error:u,fullWidth:f,hiddenLabel:d,margin:h,required:p,size:v,variant:g}),x=loe(y),[S,_]=O.useState(()=>{let I=!1;return i&&O.Children.forEach(i,R=>{if(!op(R,["Input","Select"]))return;const L=op(R,["Select"])?R.props.input:R;L&&rae(L.props)&&(I=!0)}),I}),[b,w]=O.useState(()=>{let I=!1;return i&&O.Children.forEach(i,R=>{op(R,["Input","Select"])&&(L0(R.props,!0)||L0(R.props.inputProps,!0))&&(I=!0)}),I}),[C,A]=O.useState(!1);l&&C&&A(!1);const T=c!==void 0&&!l?c:C;let M;const k=O.useMemo(()=>({adornedStart:S,setAdornedStart:_,color:o,disabled:l,error:u,filled:b,focused:T,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{A(!1)},onEmpty:()=>{w(!1)},onFilled:()=>{w(!0)},onFocus:()=>{A(!0)},registerEffect:M,required:p,variant:g}),[S,o,l,u,b,T,f,d,M,p,v,g]);return P.jsx(Hx.Provider,{value:k,children:P.jsx(uoe,B({as:s,ownerState:y,className:ye(x.root,a),ref:r},m,{children:i}))})}),pG=yte({createStyledComponent:se("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>$e({props:e,name:"MuiStack"})});function coe(e){return ze("MuiFormControlLabel",e)}const Oh=Fe("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),foe=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],doe=e=>{const{classes:t,disabled:r,labelPlacement:n,error:i,required:a}=e,o={root:["root",r&&"disabled",`labelPlacement${xe(n)}`,i&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",i&&"error"]};return Be(o,coe,t)},hoe=se("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Oh.label}`]:t.label},t.root,t[`labelPlacement${xe(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>B({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Oh.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},{[`& .${Oh.label}`]:{[`&.${Oh.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),poe=se("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Oh.error}`]:{color:(e.vars||e).palette.error.main}})),vG=O.forwardRef(function(t,r){var n,i;const a=$e({props:t,name:"MuiFormControlLabel"}),{className:o,componentsProps:s={},control:l,disabled:u,disableTypography:c,label:f,labelPlacement:d="end",required:h,slotProps:p={}}=a,v=ge(a,foe),g=ao(),m=(n=u??l.props.disabled)!=null?n:g==null?void 0:g.disabled,y=h??l.props.required,x={disabled:m,required:y};["checked","name","onChange","value","inputRef"].forEach(A=>{typeof l.props[A]>"u"&&typeof a[A]<"u"&&(x[A]=a[A])});const S=il({props:a,muiFormControl:g,states:["error"]}),_=B({},a,{disabled:m,labelPlacement:d,required:y,error:S.error}),b=doe(_),w=(i=p.typography)!=null?i:s.typography;let C=f;return C!=null&&C.type!==dt&&!c&&(C=P.jsx(dt,B({component:"span"},w,{className:ye(b.label,w==null?void 0:w.className),children:C}))),P.jsxs(hoe,B({className:ye(b.root,o),ownerState:_,ref:r},v,{children:[O.cloneElement(l,x),y?P.jsxs(pG,{direction:"row",alignItems:"center",children:[C,P.jsxs(poe,{ownerState:_,"aria-hidden":!0,className:b.asterisk,children:[" ","*"]})]}):C]}))});function voe(e){return ze("MuiFormGroup",e)}Fe("MuiFormGroup",["root","row","error"]);const goe=["className","row"],moe=e=>{const{classes:t,row:r,error:n}=e;return Be({root:["root",r&&"row",n&&"error"]},voe,t)},yoe=se("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.row&&t.row]}})(({ownerState:e})=>B({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})),gG=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiFormGroup"}),{className:i,row:a=!1}=n,o=ge(n,goe),s=ao(),l=il({props:n,muiFormControl:s,states:["error"]}),u=B({},n,{row:a,error:l.error}),c=moe(u);return P.jsx(yoe,B({className:ye(c.root,i),ownerState:u,ref:r},o))});function xoe(e){return ze("MuiFormHelperText",e)}const jL=Fe("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var UL;const Soe=["children","className","component","disabled","error","filled","focused","margin","required","variant"],boe=e=>{const{classes:t,contained:r,size:n,disabled:i,error:a,filled:o,focused:s,required:l}=e,u={root:["root",i&&"disabled",a&&"error",n&&`size${xe(n)}`,r&&"contained",s&&"focused",o&&"filled",l&&"required"]};return Be(u,xoe,t)},_oe=se("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${xe(r.size)}`],r.contained&&t.contained,r.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,[`&.${jL.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${jL.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),woe=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiFormHelperText"}),{children:i,className:a,component:o="p"}=n,s=ge(n,Soe),l=ao(),u=il({props:n,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),c=B({},n,{component:o,contained:u.variant==="filled"||u.variant==="outlined",variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=boe(c);return P.jsx(_oe,B({as:o,ownerState:c,className:ye(f.root,a),ref:r},s,{children:i===" "?UL||(UL=P.jsx("span",{className:"notranslate",children:"​"})):i}))});function Coe(e){return ze("MuiFormLabel",e)}const dp=Fe("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Toe=["children","className","color","component","disabled","error","filled","focused","required"],Aoe=e=>{const{classes:t,color:r,focused:n,disabled:i,error:a,filled:o,required:s}=e,l={root:["root",`color${xe(r)}`,i&&"disabled",a&&"error",o&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]};return Be(l,Coe,t)},Moe=se("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",[`&.${dp.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${dp.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${dp.error}`]:{color:(e.vars||e).palette.error.main}})),koe=se("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${dp.error}`]:{color:(e.vars||e).palette.error.main}})),Ioe=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiFormLabel"}),{children:i,className:a,component:o="label"}=n,s=ge(n,Toe),l=ao(),u=il({props:n,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),c=B({},n,{color:u.color||"primary",component:o,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=Aoe(c);return P.jsxs(Moe,B({as:o,ownerState:c,className:ye(f.root,a),ref:r},s,{children:[i,u.required&&P.jsxs(koe,{ownerState:c,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),Poe=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function zT(e){return`scale(${e}, ${e**2})`}const Doe={entering:{opacity:1,transform:zT(1)},entered:{opacity:1,transform:"none"}},Rb=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),E0=O.forwardRef(function(t,r){const{addEndListener:n,appear:i=!0,children:a,easing:o,in:s,onEnter:l,onEntered:u,onEntering:c,onExit:f,onExited:d,onExiting:h,style:p,timeout:v="auto",TransitionComponent:g=pa}=t,m=ge(t,Poe),y=O.useRef(),x=O.useRef(),S=ju(),_=O.useRef(null),b=sr(_,a.ref,r),w=L=>N=>{if(L){const $=_.current;N===void 0?L($):L($,N)}},C=w(c),A=w((L,N)=>{X6(L);const{duration:$,delay:z,easing:V}=Vf({style:p,timeout:v,easing:o},{mode:"enter"});let E;v==="auto"?(E=S.transitions.getAutoHeightDuration(L.clientHeight),x.current=E):E=$,L.style.transition=[S.transitions.create("opacity",{duration:E,delay:z}),S.transitions.create("transform",{duration:Rb?E:E*.666,delay:z,easing:V})].join(","),l&&l(L,N)}),T=w(u),M=w(h),k=w(L=>{const{duration:N,delay:$,easing:z}=Vf({style:p,timeout:v,easing:o},{mode:"exit"});let V;v==="auto"?(V=S.transitions.getAutoHeightDuration(L.clientHeight),x.current=V):V=N,L.style.transition=[S.transitions.create("opacity",{duration:V,delay:$}),S.transitions.create("transform",{duration:Rb?V:V*.666,delay:Rb?$:$||V*.333,easing:z})].join(","),L.style.opacity=0,L.style.transform=zT(.75),f&&f(L)}),I=w(d),R=L=>{v==="auto"&&(y.current=setTimeout(L,x.current||0)),n&&n(_.current,L)};return O.useEffect(()=>()=>{clearTimeout(y.current)},[]),P.jsx(g,B({appear:i,in:s,nodeRef:_,onEnter:A,onEntered:T,onEntering:C,onExit:k,onExited:I,onExiting:M,addEndListener:R,timeout:v==="auto"?null:v},m,{children:(L,N)=>O.cloneElement(a,B({style:B({opacity:0,transform:zT(.75),visibility:L==="exited"&&!s?"hidden":void 0},Doe[L],p,a.props.style),ref:b},N))}))});E0.muiSupportAuto=!0;const Roe=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Loe=e=>{const{classes:t,disableUnderline:r}=e,i=Be({root:["root",!r&&"underline"],input:["input"]},sae,t);return B({},t,i)},Eoe=se(Ux,{shouldForwardProp:e=>io(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Wx(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`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"},[`&.${Yd.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Yd.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${n}`,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(.${Yd.disabled}, .${Yd.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Yd.disabled}:before`]:{borderBottomStyle:"dotted"}})}),Ooe=se(Yx,{name:"MuiInput",slot:"Input",overridesResolver:jx})({}),Ik=O.forwardRef(function(t,r){var n,i,a,o;const s=$e({props:t,name:"MuiInput"}),{disableUnderline:l,components:u={},componentsProps:c,fullWidth:f=!1,inputComponent:d="input",multiline:h=!1,slotProps:p,slots:v={},type:g="text"}=s,m=ge(s,Roe),y=Loe(s),S={root:{ownerState:{disableUnderline:l}}},_=p??c?Rn(p??c,S):S,b=(n=(i=v.root)!=null?i:u.Root)!=null?n:Eoe,w=(a=(o=v.input)!=null?o:u.Input)!=null?a:Ooe;return P.jsx(Ak,B({slots:{root:b,input:w},slotProps:_,fullWidth:f,inputComponent:d,multiline:h,ref:r,type:g},m,{classes:y}))});Ik.muiName="Input";function Noe(e){return ze("MuiInputAdornment",e)}const YL=Fe("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var XL;const zoe=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Boe=(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${xe(r.position)}`],r.disablePointerEvents===!0&&t.disablePointerEvents,t[r.variant]]},Foe=e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:n,position:i,size:a,variant:o}=e,s={root:["root",r&&"disablePointerEvents",i&&`position${xe(i)}`,o,n&&"hiddenLabel",a&&`size${xe(a)}`]};return Be(s,Noe,t)},$oe=se("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Boe})(({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"&&{[`&.${YL.positionStart}&:not(.${YL.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),Voe=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiInputAdornment"}),{children:i,className:a,component:o="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:u,variant:c}=n,f=ge(n,zoe),d=ao()||{};let h=c;c&&d.variant,d&&!h&&(h=d.variant);const p=B({},n,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:s,position:u,variant:h}),v=Foe(p);return P.jsx(Hx.Provider,{value:null,children:P.jsx($oe,B({as:o,ownerState:p,className:ye(v.root,a),ref:r},f,{children:typeof i=="string"&&!l?P.jsx(dt,{color:"text.secondary",children:i}):P.jsxs(O.Fragment,{children:[u==="start"?XL||(XL=P.jsx("span",{className:"notranslate",children:"​"})):null,i]})}))})});function Goe(e){return ze("MuiInputLabel",e)}Fe("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Hoe=["disableAnimation","margin","shrink","variant","className"],Woe=e=>{const{classes:t,formControl:r,size:n,shrink:i,disableAnimation:a,variant:o,required:s}=e,l={root:["root",r&&"formControl",!a&&"animated",i&&"shrink",n&&n!=="normal"&&`size${xe(n)}`,o],asterisk:[s&&"asterisk"]},u=Be(l,Goe,t);return B({},t,u)},joe=se(Ioe,{shouldForwardProp:e=>io(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${dp.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,t[r.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)"}))),Xx=O.forwardRef(function(t,r){const n=$e({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:a,className:o}=n,s=ge(n,Hoe),l=ao();let u=a;typeof u>"u"&&l&&(u=l.filled||l.focused||l.adornedStart);const c=il({props:n,muiFormControl:l,states:["size","variant","required"]}),f=B({},n,{disableAnimation:i,formControl:l,shrink:u,size:c.size,variant:c.variant,required:c.required}),d=Woe(f);return P.jsx(joe,B({"data-shrink":u,ownerState:f,ref:r,className:ye(d.root,o)},s,{classes:d}))});function Uoe(e){return ze("MuiLink",e)}const Yoe=Fe("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),mG={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Xoe=e=>mG[e]||e,qoe=({theme:e,ownerState:t})=>{const r=Xoe(t.color),n=$f(e,`palette.${r}`,!1)||t.color,i=$f(e,`palette.${r}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:Xt(n,.4)},Zoe=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Koe=e=>{const{classes:t,component:r,focusVisible:n,underline:i}=e,a={root:["root",`underline${xe(i)}`,r==="button"&&"button",n&&"focusVisible"]};return Be(a,Uoe,t)},Qoe=se(dt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${xe(r.underline)}`],r.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:qoe({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"},[`&.${Yoe.focusVisible}`]:{outline:"auto"}})),Lr=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiLink"}),{className:i,color:a="primary",component:o="a",onBlur:s,onFocus:l,TypographyClasses:u,underline:c="always",variant:f="inherit",sx:d}=n,h=ge(n,Zoe),{isFocusVisibleRef:p,onBlur:v,onFocus:g,ref:m}=gx(),[y,x]=O.useState(!1),S=sr(r,m),_=A=>{v(A),p.current===!1&&x(!1),s&&s(A)},b=A=>{g(A),p.current===!0&&x(!0),l&&l(A)},w=B({},n,{color:a,component:o,focusVisible:y,underline:c,variant:f}),C=Koe(w);return P.jsx(Qoe,B({color:a,className:ye(C.root,i),classes:u,component:o,onBlur:_,onFocus:b,ref:S,ownerState:w,variant:f,sx:[...Object.keys(mG).includes(a)?[]:[{color:a}],...Array.isArray(d)?d:[d]]},h))}),hp=O.createContext({});function Joe(e){return ze("MuiList",e)}Fe("MuiList",["root","padding","dense","subheader"]);const ese=["children","className","component","dense","disablePadding","subheader"],tse=e=>{const{classes:t,disablePadding:r,dense:n,subheader:i}=e;return Be({root:["root",!r&&"padding",n&&"dense",i&&"subheader"]},Joe,t)},rse=se("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>B({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),yG=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiList"}),{children:i,className:a,component:o="ul",dense:s=!1,disablePadding:l=!1,subheader:u}=n,c=ge(n,ese),f=O.useMemo(()=>({dense:s}),[s]),d=B({},n,{component:o,dense:s,disablePadding:l}),h=tse(d);return P.jsx(hp.Provider,{value:f,children:P.jsxs(rse,B({as:o,className:ye(h.root,a),ref:r,ownerState:d},c,{children:[u,i]}))})});function nse(e){return ze("MuiListItem",e)}const Fc=Fe("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),ise=Fe("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function ase(e){return ze("MuiListItemSecondaryAction",e)}Fe("MuiListItemSecondaryAction",["root","disableGutters"]);const ose=["className"],sse=e=>{const{disableGutters:t,classes:r}=e;return Be({root:["root",t&&"disableGutters"]},ase,r)},lse=se("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})(({ownerState:e})=>B({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),xG=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiListItemSecondaryAction"}),{className:i}=n,a=ge(n,ose),o=O.useContext(hp),s=B({},n,{disableGutters:o.disableGutters}),l=sse(s);return P.jsx(lse,B({className:ye(l.root,i),ownerState:s,ref:r},a))});xG.muiName="ListItemSecondaryAction";const use=["className"],cse=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],fse=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]},dse=e=>{const{alignItems:t,button:r,classes:n,dense:i,disabled:a,disableGutters:o,disablePadding:s,divider:l,hasSecondaryAction:u,selected:c}=e;return Be({root:["root",i&&"dense",!o&&"gutters",!s&&"padding",l&&"divider",a&&"disabled",r&&"button",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction",c&&"selected"],container:["container"]},nse,n)},hse=se("div",{name:"MuiListItem",slot:"Root",overridesResolver:fse})(({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&&{[`& > .${ise.root}`]:{paddingRight:48}},{[`&.${Fc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Fc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Fc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Fc.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"}},[`&.${Fc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Xt(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})`:Xt(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),pse=se("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),dc=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiListItem"}),{alignItems:i="center",autoFocus:a=!1,button:o=!1,children:s,className:l,component:u,components:c={},componentsProps:f={},ContainerComponent:d="li",ContainerProps:{className:h}={},dense:p=!1,disabled:v=!1,disableGutters:g=!1,disablePadding:m=!1,divider:y=!1,focusVisibleClassName:x,secondaryAction:S,selected:_=!1,slotProps:b={},slots:w={}}=n,C=ge(n.ContainerProps,use),A=ge(n,cse),T=O.useContext(hp),M=O.useMemo(()=>({dense:p||T.dense||!1,alignItems:i,disableGutters:g}),[i,T.dense,p,g]),k=O.useRef(null);ua(()=>{a&&k.current&&k.current.focus()},[a]);const I=O.Children.toArray(s),R=I.length&&op(I[I.length-1],["ListItemSecondaryAction"]),L=B({},n,{alignItems:i,autoFocus:a,button:o,dense:M.dense,disabled:v,disableGutters:g,disablePadding:m,divider:y,hasSecondaryAction:R,selected:_}),N=dse(L),$=sr(k,r),z=w.root||c.Root||hse,V=b.root||f.root||{},E=B({className:ye(N.root,V.className,l),disabled:v},A);let G=u||"li";return o&&(E.component=u||"div",E.focusVisibleClassName=ye(Fc.focusVisible,x),G=Uu),R?(G=!E.component&&!u?"div":G,d==="li"&&(G==="li"?G="div":E.component==="li"&&(E.component="div")),P.jsx(hp.Provider,{value:M,children:P.jsxs(pse,B({as:d,className:ye(N.container,h),ref:$,ownerState:L},C,{children:[P.jsx(z,B({},V,!Gf(z)&&{as:G,ownerState:B({},L,V.ownerState)},E,{children:I})),I.pop()]}))})):P.jsx(hp.Provider,{value:M,children:P.jsxs(z,B({},V,{as:G,ref:$},!Gf(z)&&{ownerState:B({},L,V.ownerState)},E,{children:[I,S&&P.jsx(xG,{children:S})]}))})}),vse=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Lb(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function qL(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function SG(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function Xd(e,t,r,n,i,a){let o=!1,s=i(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}const l=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!SG(s,a)||l)s=i(e,s,r);else return s.focus(),!0}return!1}const gse=O.forwardRef(function(t,r){const{actions:n,autoFocus:i=!1,autoFocusItem:a=!1,children:o,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:f="selectedMenu"}=t,d=ge(t,vse),h=O.useRef(null),p=O.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ua(()=>{i&&h.current.focus()},[i]),O.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(x,S)=>{const _=!h.current.style.width;if(x.clientHeight<h.current.clientHeight&&_){const b=`${v6(zr(x))}px`;h.current.style[S.direction==="rtl"?"paddingLeft":"paddingRight"]=b,h.current.style.width=`calc(100% + ${b})`}return h.current}}),[]);const v=x=>{const S=h.current,_=x.key,b=zr(S).activeElement;if(_==="ArrowDown")x.preventDefault(),Xd(S,b,u,l,Lb);else if(_==="ArrowUp")x.preventDefault(),Xd(S,b,u,l,qL);else if(_==="Home")x.preventDefault(),Xd(S,null,u,l,Lb);else if(_==="End")x.preventDefault(),Xd(S,null,u,l,qL);else if(_.length===1){const w=p.current,C=_.toLowerCase(),A=performance.now();w.keys.length>0&&(A-w.lastTime>500?(w.keys=[],w.repeating=!0,w.previousKeyMatched=!0):w.repeating&&C!==w.keys[0]&&(w.repeating=!1)),w.lastTime=A,w.keys.push(C);const T=b&&!w.repeating&&SG(b,w);w.previousKeyMatched&&(T||Xd(S,b,!1,l,Lb,w))?x.preventDefault():w.previousKeyMatched=!1}c&&c(x)},g=sr(h,r);let m=-1;O.Children.forEach(o,(x,S)=>{if(!O.isValidElement(x)){m===S&&(m+=1,m>=o.length&&(m=-1));return}x.props.disabled||(f==="selectedMenu"&&x.props.selected||m===-1)&&(m=S),m===S&&(x.props.disabled||x.props.muiSkipListHighlight||x.type.muiSkipListHighlight)&&(m+=1,m>=o.length&&(m=-1))});const y=O.Children.map(o,(x,S)=>{if(S===m){const _={};return a&&(_.autoFocus=!0),x.props.tabIndex===void 0&&f==="selectedMenu"&&(_.tabIndex=0),O.cloneElement(x,_)}return x});return P.jsx(yG,B({role:"menu",ref:g,className:s,onKeyDown:v,tabIndex:i?0:-1},d,{children:y}))});function mse(e){return ze("MuiPopover",e)}Fe("MuiPopover",["root","paper"]);const yse=["onEntering"],xse=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Sse=["slotProps"];function ZL(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function KL(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function QL(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Eb(e){return typeof e=="function"?e():e}const bse=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"]},mse,t)},_se=se(hG,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),bG=se(rl,{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}),_G=O.forwardRef(function(t,r){var n,i,a;const o=$e({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:f="anchorEl",children:d,className:h,container:p,elevation:v=8,marginThreshold:g=16,open:m,PaperProps:y={},slots:x,slotProps:S,transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:b=E0,transitionDuration:w="auto",TransitionProps:{onEntering:C}={},disableScrollLock:A=!1}=o,T=ge(o.TransitionProps,yse),M=ge(o,xse),k=(n=S==null?void 0:S.paper)!=null?n:y,I=O.useRef(),R=sr(I,k.ref),L=B({},o,{anchorOrigin:u,anchorReference:f,elevation:v,marginThreshold:g,externalPaperSlotProps:k,transformOrigin:_,TransitionComponent:b,transitionDuration:w,TransitionProps:T}),N=bse(L),$=O.useCallback(()=>{if(f==="anchorPosition")return c;const me=Eb(l),Me=(me&&me.nodeType===1?me:zr(I.current).body).getBoundingClientRect();return{top:Me.top+ZL(Me,u.vertical),left:Me.left+KL(Me,u.horizontal)}},[l,u.horizontal,u.vertical,c,f]),z=O.useCallback(me=>({vertical:ZL(me,_.vertical),horizontal:KL(me,_.horizontal)}),[_.horizontal,_.vertical]),V=O.useCallback(me=>{const pe={width:me.offsetWidth,height:me.offsetHeight},Me=z(pe);if(f==="none")return{top:null,left:null,transformOrigin:QL(Me)};const je=$();let Ue=je.top-Me.vertical,rt=je.left-Me.horizontal;const ot=Ue+pe.height,st=rt+pe.width,Xe=qa(Eb(l)),Vt=Xe.innerHeight-g,Tt=Xe.innerWidth-g;if(g!==null&&Ue<g){const lt=Ue-g;Ue-=lt,Me.vertical+=lt}else if(g!==null&&ot>Vt){const lt=ot-Vt;Ue-=lt,Me.vertical+=lt}if(g!==null&&rt<g){const lt=rt-g;rt-=lt,Me.horizontal+=lt}else if(st>Tt){const lt=st-Tt;rt-=lt,Me.horizontal+=lt}return{top:`${Math.round(Ue)}px`,left:`${Math.round(rt)}px`,transformOrigin:QL(Me)}},[l,f,$,z,g]),[E,G]=O.useState(m),W=O.useCallback(()=>{const me=I.current;if(!me)return;const pe=V(me);pe.top!==null&&(me.style.top=pe.top),pe.left!==null&&(me.style.left=pe.left),me.style.transformOrigin=pe.transformOrigin,G(!0)},[V]);O.useEffect(()=>(A&&window.addEventListener("scroll",W),()=>window.removeEventListener("scroll",W)),[l,A,W]);const F=(me,pe)=>{C&&C(me,pe),W()},Y=()=>{G(!1)};O.useEffect(()=>{m&&W()}),O.useImperativeHandle(s,()=>m?{updatePosition:()=>{W()}}:null,[m,W]),O.useEffect(()=>{if(!m)return;const me=Zv(()=>{W()}),pe=qa(l);return pe.addEventListener("resize",me),()=>{me.clear(),pe.removeEventListener("resize",me)}},[l,m,W]);let J=w;w==="auto"&&!b.muiSupportAuto&&(J=void 0);const j=p||(l?zr(Eb(l)).body:void 0),ee=(i=x==null?void 0:x.root)!=null?i:_se,Q=(a=x==null?void 0:x.paper)!=null?a:bG,te=fa({elementType:Q,externalSlotProps:B({},k,{style:E?k.style:B({},k.style,{opacity:0})}),additionalProps:{elevation:v,ref:R},ownerState:L,className:ye(N.paper,k==null?void 0:k.className)}),ae=fa({elementType:ee,externalSlotProps:(S==null?void 0:S.root)||{},externalForwardedProps:M,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:j,open:m},ownerState:L,className:ye(N.root,h)}),{slotProps:K}=ae,ne=ge(ae,Sse);return P.jsx(ee,B({},ne,!Gf(ee)&&{slotProps:K,disableScrollLock:A},{children:P.jsx(b,B({appear:!0,in:m,onEntering:F,onExited:Y,timeout:J},T,{children:P.jsx(Q,B({},te,{children:d}))}))}))});function wse(e){return ze("MuiMenu",e)}Fe("MuiMenu",["root","paper","list"]);const Cse=["onEntering"],Tse=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Ase={vertical:"top",horizontal:"right"},Mse={vertical:"top",horizontal:"left"},kse=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"],list:["list"]},wse,t)},Ise=se(_G,{shouldForwardProp:e=>io(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pse=se(bG,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Dse=se(gse,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Rse=O.forwardRef(function(t,r){var n,i;const a=$e({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:s,className:l,disableAutoFocusItem:u=!1,MenuListProps:c={},onClose:f,open:d,PaperProps:h={},PopoverClasses:p,transitionDuration:v="auto",TransitionProps:{onEntering:g}={},variant:m="selectedMenu",slots:y={},slotProps:x={}}=a,S=ge(a.TransitionProps,Cse),_=ge(a,Tse),b=ju(),w=b.direction==="rtl",C=B({},a,{autoFocus:o,disableAutoFocusItem:u,MenuListProps:c,onEntering:g,PaperProps:h,transitionDuration:v,TransitionProps:S,variant:m}),A=kse(C),T=o&&!u&&d,M=O.useRef(null),k=(V,E)=>{M.current&&M.current.adjustStyleForScrollbar(V,b),g&&g(V,E)},I=V=>{V.key==="Tab"&&(V.preventDefault(),f&&f(V,"tabKeyDown"))};let R=-1;O.Children.map(s,(V,E)=>{O.isValidElement(V)&&(V.props.disabled||(m==="selectedMenu"&&V.props.selected||R===-1)&&(R=E))});const L=(n=y.paper)!=null?n:Pse,N=(i=x.paper)!=null?i:h,$=fa({elementType:y.root,externalSlotProps:x.root,ownerState:C,className:[A.root,l]}),z=fa({elementType:L,externalSlotProps:N,ownerState:C,className:A.paper});return P.jsx(Ise,B({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?Ase:Mse,slots:{paper:L,root:y.root},slotProps:{root:$,paper:z},open:d,ref:r,transitionDuration:v,TransitionProps:B({onEntering:k},S),ownerState:C},_,{classes:p,children:P.jsx(Dse,B({onKeyDown:I,actions:M,autoFocus:o&&(R===-1||u),autoFocusItem:T,variant:m},c,{className:ye(A.list,c.className),children:s}))}))});function Lse(e){return ze("MuiNativeSelect",e)}const Pk=Fe("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Ese=["className","disabled","error","IconComponent","inputRef","variant"],Ose=e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:a,error:o}=e,s={select:["select",r,n&&"disabled",i&&"multiple",o&&"error"],icon:["icon",`icon${xe(r)}`,a&&"iconOpen",n&&"disabled"]};return Be(s,Lse,t)},wG=({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"},[`&.${Pk.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}}),Nse=se("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:io,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Pk.multiple}`]:t.multiple}]}})(wG),CG=({ownerState:e,theme:t})=>B({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Pk.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),zse=se("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${xe(r.variant)}`],r.open&&t.iconOpen]}})(CG),Bse=O.forwardRef(function(t,r){const{className:n,disabled:i,error:a,IconComponent:o,inputRef:s,variant:l="standard"}=t,u=ge(t,Ese),c=B({},t,{disabled:i,variant:l,error:a}),f=Ose(c);return P.jsxs(O.Fragment,{children:[P.jsx(Nse,B({ownerState:c,className:ye(f.select,n),disabled:i,ref:s||r},u)),t.multiple?null:P.jsx(zse,{as:o,ownerState:c,className:f.icon})]})});var JL;const Fse=["children","classes","className","label","notched"],$se=se("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Vse=se("legend")(({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 Gse(e){const{className:t,label:r,notched:n}=e,i=ge(e,Fse),a=r!=null&&r!=="",o=B({},e,{notched:n,withLabel:a});return P.jsx($se,B({"aria-hidden":!0,className:t,ownerState:o},i,{children:P.jsx(Vse,{ownerState:o,children:a?P.jsx("span",{children:r}):JL||(JL=P.jsx("span",{className:"notranslate",children:"​"}))})}))}const Hse=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Wse=e=>{const{classes:t}=e,n=Be({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},lae,t);return B({},t,n)},jse=se(Ux,{shouldForwardProp:e=>io(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Wx})(({theme:e,ownerState:t})=>{const r=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 .${Xo.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Xo.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${Xo.focused} .${Xo.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Xo.error} .${Xo.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Xo.disabled} .${Xo.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"}))}),Use=se(Gse,{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}}),Yse=se(Yx,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:jx})(({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})),qx=O.forwardRef(function(t,r){var n,i,a,o,s;const l=$e({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:f="input",label:d,multiline:h=!1,notched:p,slots:v={},type:g="text"}=l,m=ge(l,Hse),y=Wse(l),x=ao(),S=il({props:l,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),_=B({},l,{color:S.color||"primary",disabled:S.disabled,error:S.error,focused:S.focused,formControl:x,fullWidth:c,hiddenLabel:S.hiddenLabel,multiline:h,size:S.size,type:g}),b=(n=(i=v.root)!=null?i:u.Root)!=null?n:jse,w=(a=(o=v.input)!=null?o:u.Input)!=null?a:Yse;return P.jsx(Ak,B({slots:{root:b,input:w},renderSuffix:C=>P.jsx(Use,{ownerState:_,className:y.notchedOutline,label:d!=null&&d!==""&&S.required?s||(s=P.jsxs(O.Fragment,{children:[d," ","*"]})):d,notched:typeof p<"u"?p:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:c,inputComponent:f,multiline:h,ref:r,type:g},m,{classes:B({},y,{notchedOutline:null})}))});qx.muiName="Input";function Xse(e){return ze("MuiSelect",e)}const qd=Fe("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var eE;const qse=["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"],Zse=se("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${qd.select}`]:t.select},{[`&.${qd.select}`]:t[r.variant]},{[`&.${qd.error}`]:t.error},{[`&.${qd.multiple}`]:t.multiple}]}})(wG,{[`&.${qd.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Kse=se("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${xe(r.variant)}`],r.open&&t.iconOpen]}})(CG),Qse=se("input",{shouldForwardProp:e=>Vte(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 tE(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Jse(e){return e==null||typeof e=="string"&&!e.trim()}const ele=e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:a,error:o}=e,s={select:["select",r,n&&"disabled",i&&"multiple",o&&"error"],icon:["icon",`icon${xe(r)}`,a&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return Be(s,Xse,t)},tle=O.forwardRef(function(t,r){var n;const{"aria-describedby":i,"aria-label":a,autoFocus:o,autoWidth:s,children:l,className:u,defaultOpen:c,defaultValue:f,disabled:d,displayEmpty:h,error:p=!1,IconComponent:v,inputRef:g,labelId:m,MenuProps:y={},multiple:x,name:S,onBlur:_,onChange:b,onClose:w,onFocus:C,onOpen:A,open:T,readOnly:M,renderValue:k,SelectDisplayProps:I={},tabIndex:R,value:L,variant:N="standard"}=t,$=ge(t,qse),[z,V]=Bf({controlled:L,default:f,name:"Select"}),[E,G]=Bf({controlled:T,default:c,name:"Select"}),W=O.useRef(null),F=O.useRef(null),[Y,J]=O.useState(null),{current:j}=O.useRef(T!=null),[ee,Q]=O.useState(),te=sr(r,g),ae=O.useCallback(_e=>{F.current=_e,_e&&J(_e)},[]),K=Y==null?void 0:Y.parentNode;O.useImperativeHandle(te,()=>({focus:()=>{F.current.focus()},node:W.current,value:z}),[z]),O.useEffect(()=>{c&&E&&Y&&!j&&(Q(s?null:K.clientWidth),F.current.focus())},[Y,s]),O.useEffect(()=>{o&&F.current.focus()},[o]),O.useEffect(()=>{if(!m)return;const _e=zr(F.current).getElementById(m);if(_e){const it=()=>{getSelection().isCollapsed&&F.current.focus()};return _e.addEventListener("click",it),()=>{_e.removeEventListener("click",it)}}},[m]);const ne=(_e,it)=>{_e?A&&A(it):w&&w(it),j||(Q(s?null:K.clientWidth),G(_e))},me=_e=>{_e.button===0&&(_e.preventDefault(),F.current.focus(),ne(!0,_e))},pe=_e=>{ne(!1,_e)},Me=O.Children.toArray(l),je=_e=>{const it=Me.find(At=>At.props.value===_e.target.value);it!==void 0&&(V(it.props.value),b&&b(_e,it))},Ue=_e=>it=>{let At;if(it.currentTarget.hasAttribute("tabindex")){if(x){At=Array.isArray(z)?z.slice():[];const de=z.indexOf(_e.props.value);de===-1?At.push(_e.props.value):At.splice(de,1)}else At=_e.props.value;if(_e.props.onClick&&_e.props.onClick(it),z!==At&&(V(At),b)){const de=it.nativeEvent||it,De=new de.constructor(de.type,de);Object.defineProperty(De,"target",{writable:!0,value:{value:At,name:S}}),b(De,_e)}x||ne(!1,it)}},rt=_e=>{M||[" ","ArrowUp","ArrowDown","Enter"].indexOf(_e.key)!==-1&&(_e.preventDefault(),ne(!0,_e))},ot=Y!==null&&E,st=_e=>{!ot&&_&&(Object.defineProperty(_e,"target",{writable:!0,value:{value:z,name:S}}),_(_e))};delete $["aria-invalid"];let Xe,Vt;const Tt=[];let lt=!1;(L0({value:z})||h)&&(k?Xe=k(z):lt=!0);const X=Me.map(_e=>{if(!O.isValidElement(_e))return null;let it;if(x){if(!Array.isArray(z))throw new Error(Ws(2));it=z.some(At=>tE(At,_e.props.value)),it&&lt&&Tt.push(_e.props.children)}else it=tE(z,_e.props.value),it&&lt&&(Vt=_e.props.children);return O.cloneElement(_e,{"aria-selected":it?"true":"false",onClick:Ue(_e),onKeyUp:At=>{At.key===" "&&At.preventDefault(),_e.props.onKeyUp&&_e.props.onKeyUp(At)},role:"option",selected:it,value:void 0,"data-value":_e.props.value})});lt&&(x?Tt.length===0?Xe=null:Xe=Tt.reduce((_e,it,At)=>(_e.push(it),At<Tt.length-1&&_e.push(", "),_e),[]):Xe=Vt);let ie=ee;!s&&j&&Y&&(ie=K.clientWidth);let Pe;typeof R<"u"?Pe=R:Pe=d?null:0;const be=I.id||(S?`mui-component-select-${S}`:void 0),he=B({},t,{variant:N,value:z,open:ot,error:p}),pt=ele(he),Qt=B({},y.PaperProps,(n=y.slotProps)==null?void 0:n.paper);return P.jsxs(O.Fragment,{children:[P.jsx(Zse,B({ref:ae,tabIndex:Pe,role:"button","aria-disabled":d?"true":void 0,"aria-expanded":ot?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[m,be].filter(Boolean).join(" ")||void 0,"aria-describedby":i,onKeyDown:rt,onMouseDown:d||M?null:me,onBlur:st,onFocus:C},I,{ownerState:he,className:ye(I.className,pt.select,u),id:be,children:Jse(Xe)?eE||(eE=P.jsx("span",{className:"notranslate",children:"​"})):Xe})),P.jsx(Qse,B({"aria-invalid":p,value:Array.isArray(z)?z.join(","):z,name:S,ref:W,"aria-hidden":!0,onChange:je,tabIndex:-1,disabled:d,className:pt.nativeInput,autoFocus:o,ownerState:he},$)),P.jsx(Kse,{as:v,className:pt.icon,ownerState:he}),P.jsx(Rse,B({id:`menu-${S||""}`,anchorEl:K,open:ot,onClose:pe,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},y,{MenuListProps:B({"aria-labelledby":m,role:"listbox",disableListWrap:!0},y.MenuListProps),slotProps:{paper:B({},Qt,{style:B({minWidth:ie},Qt!=null?Qt.style:null)})},children:X}))]})}),rle=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],nle=["root"],ile=e=>{const{classes:t}=e;return t},Dk={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>io(e)&&e!=="variant",slot:"Root"},ale=se(Ik,Dk)(""),ole=se(qx,Dk)(""),sle=se(Mk,Dk)(""),Rk=O.forwardRef(function(t,r){const n=$e({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:a,classes:o={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=cae,id:f,input:d,inputProps:h,label:p,labelId:v,MenuProps:g,multiple:m=!1,native:y=!1,onClose:x,onOpen:S,open:_,renderValue:b,SelectDisplayProps:w,variant:C="outlined"}=n,A=ge(n,rle),T=y?Bse:tle,M=ao(),k=il({props:n,muiFormControl:M,states:["variant","error"]}),I=k.variant||C,R=B({},n,{variant:I,classes:o}),L=ile(R),N=ge(L,nle),$=d||{standard:P.jsx(ale,{ownerState:R}),outlined:P.jsx(ole,{label:p,ownerState:R}),filled:P.jsx(sle,{ownerState:R})}[I],z=sr(r,$.ref);return P.jsx(O.Fragment,{children:O.cloneElement($,B({inputComponent:T,inputProps:B({children:a,error:k.error,IconComponent:c,variant:I,type:void 0,multiple:m},y?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:u,labelId:v,MenuProps:g,onClose:x,onOpen:S,open:_,renderValue:b,SelectDisplayProps:B({id:f},w)},h,{classes:h?Rn(N,h.classes):N},d?d.props.inputProps:{})},m&&y&&I==="outlined"?{notched:!0}:{},{ref:z,className:ye($.props.className,s,L.root)},!d&&{variant:I},A))})});Rk.muiName="Select";function lle(e){return ze("MuiTooltip",e)}const ys=Fe("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),ule=["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 cle(e){return Math.round(e*1e5)/1e5}const fle=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:i,placement:a}=e,o={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${xe(a.split("-")[0])}`],arrow:["arrow"]};return Be(o,lle,t)},dle=se(lG,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>B({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${ys.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${ys.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${ys.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"] .${ys.arrow}`]:B({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),hle=se("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${xe(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>B({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Xt(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:`${cle(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${ys.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"})),[`.${ys.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"})),[`.${ys.popper}[data-popper-placement*="top"] &`]:B({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${ys.popper}[data-popper-placement*="bottom"] &`]:B({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),ple=se("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Xt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let nm=!1,Ob=null,Zd={x:0,y:0};function im(e,t){return r=>{t&&t(r),e(r)}}const TG=O.forwardRef(function(t,r){var n,i,a,o,s,l,u,c,f,d,h,p,v,g,m,y,x,S,_;const b=$e({props:t,name:"MuiTooltip"}),{arrow:w=!1,children:C,components:A={},componentsProps:T={},describeChild:M=!1,disableFocusListener:k=!1,disableHoverListener:I=!1,disableInteractive:R=!1,disableTouchListener:L=!1,enterDelay:N=100,enterNextDelay:$=0,enterTouchDelay:z=700,followCursor:V=!1,id:E,leaveDelay:G=0,leaveTouchDelay:W=1500,onClose:F,onOpen:Y,open:J,placement:j="bottom",PopperComponent:ee,PopperProps:Q={},slotProps:te={},slots:ae={},title:K,TransitionComponent:ne=E0,TransitionProps:me}=b,pe=ge(b,ule),Me=O.isValidElement(C)?C:P.jsx("span",{children:C}),je=ju(),Ue=je.direction==="rtl",[rt,ot]=O.useState(),[st,Xe]=O.useState(null),Vt=O.useRef(!1),Tt=R||V,lt=O.useRef(),X=O.useRef(),ie=O.useRef(),Pe=O.useRef(),[be,he]=Bf({controlled:J,default:!1,name:"Tooltip",state:"open"});let pt=be;const Qt=YM(E),_e=O.useRef(),it=O.useCallback(()=>{_e.current!==void 0&&(document.body.style.WebkitUserSelect=_e.current,_e.current=void 0),clearTimeout(Pe.current)},[]);O.useEffect(()=>()=>{clearTimeout(lt.current),clearTimeout(X.current),clearTimeout(ie.current),it()},[it]);const At=ct=>{clearTimeout(Ob),nm=!0,he(!0),Y&&!pt&&Y(ct)},de=Ji(ct=>{clearTimeout(Ob),Ob=setTimeout(()=>{nm=!1},800+G),he(!1),F&&pt&&F(ct),clearTimeout(lt.current),lt.current=setTimeout(()=>{Vt.current=!1},je.transitions.duration.shortest)}),De=ct=>{Vt.current&&ct.type!=="touchstart"||(rt&&rt.removeAttribute("title"),clearTimeout(X.current),clearTimeout(ie.current),N||nm&&$?X.current=setTimeout(()=>{At(ct)},nm?$:N):At(ct))},qe=ct=>{clearTimeout(X.current),clearTimeout(ie.current),ie.current=setTimeout(()=>{de(ct)},G)},{isFocusVisibleRef:mt,onBlur:wr,onFocus:ma,ref:ic}=gx(),[,Pg]=O.useState(!1),Pd=ct=>{wr(ct),mt.current===!1&&(Pg(!1),qe(ct))},ac=ct=>{rt||ot(ct.currentTarget),ma(ct),mt.current===!0&&(Pg(!0),De(ct))},dD=ct=>{Vt.current=!0;const $n=Me.props;$n.onTouchStart&&$n.onTouchStart(ct)},hD=De,pD=qe,MY=ct=>{dD(ct),clearTimeout(ie.current),clearTimeout(lt.current),it(),_e.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Pe.current=setTimeout(()=>{document.body.style.WebkitUserSelect=_e.current,De(ct)},z)},kY=ct=>{Me.props.onTouchEnd&&Me.props.onTouchEnd(ct),it(),clearTimeout(ie.current),ie.current=setTimeout(()=>{de(ct)},W)};O.useEffect(()=>{if(!pt)return;function ct($n){($n.key==="Escape"||$n.key==="Esc")&&de($n)}return document.addEventListener("keydown",ct),()=>{document.removeEventListener("keydown",ct)}},[de,pt]);const IY=sr(Me.ref,ic,ot,r);!K&&K!==0&&(pt=!1);const WS=O.useRef(),PY=ct=>{const $n=Me.props;$n.onMouseMove&&$n.onMouseMove(ct),Zd={x:ct.clientX,y:ct.clientY},WS.current&&WS.current.update()},Dd={},jS=typeof K=="string";M?(Dd.title=!pt&&jS&&!I?K:null,Dd["aria-describedby"]=pt?Qt:null):(Dd["aria-label"]=jS?K:null,Dd["aria-labelledby"]=pt&&!jS?Qt:null);const Vi=B({},Dd,pe,Me.props,{className:ye(pe.className,Me.props.className),onTouchStart:dD,ref:IY},V?{onMouseMove:PY}:{}),Rd={};L||(Vi.onTouchStart=MY,Vi.onTouchEnd=kY),I||(Vi.onMouseOver=im(hD,Vi.onMouseOver),Vi.onMouseLeave=im(pD,Vi.onMouseLeave),Tt||(Rd.onMouseOver=hD,Rd.onMouseLeave=pD)),k||(Vi.onFocus=im(ac,Vi.onFocus),Vi.onBlur=im(Pd,Vi.onBlur),Tt||(Rd.onFocus=ac,Rd.onBlur=Pd));const DY=O.useMemo(()=>{var ct;let $n=[{name:"arrow",enabled:!!st,options:{element:st,padding:4}}];return(ct=Q.popperOptions)!=null&&ct.modifiers&&($n=$n.concat(Q.popperOptions.modifiers)),B({},Q.popperOptions,{modifiers:$n})},[st,Q]),Ld=B({},b,{isRtl:Ue,arrow:w,disableInteractive:Tt,placement:j,PopperComponentProp:ee,touch:Vt.current}),US=fle(Ld),vD=(n=(i=ae.popper)!=null?i:A.Popper)!=null?n:dle,gD=(a=(o=(s=ae.transition)!=null?s:A.Transition)!=null?o:ne)!=null?a:E0,mD=(l=(u=ae.tooltip)!=null?u:A.Tooltip)!=null?l:hle,yD=(c=(f=ae.arrow)!=null?f:A.Arrow)!=null?c:ple,RY=Eh(vD,B({},Q,(d=te.popper)!=null?d:T.popper,{className:ye(US.popper,Q==null?void 0:Q.className,(h=(p=te.popper)!=null?p:T.popper)==null?void 0:h.className)}),Ld),LY=Eh(gD,B({},me,(v=te.transition)!=null?v:T.transition),Ld),EY=Eh(mD,B({},(g=te.tooltip)!=null?g:T.tooltip,{className:ye(US.tooltip,(m=(y=te.tooltip)!=null?y:T.tooltip)==null?void 0:m.className)}),Ld),OY=Eh(yD,B({},(x=te.arrow)!=null?x:T.arrow,{className:ye(US.arrow,(S=(_=te.arrow)!=null?_:T.arrow)==null?void 0:S.className)}),Ld);return P.jsxs(O.Fragment,{children:[O.cloneElement(Me,Vi),P.jsx(vD,B({as:ee??lG,placement:j,anchorEl:V?{getBoundingClientRect:()=>({top:Zd.y,left:Zd.x,right:Zd.x,bottom:Zd.y,width:0,height:0})}:rt,popperRef:WS,open:rt?pt:!1,id:Qt,transition:!0},Rd,RY,{popperOptions:DY,children:({TransitionProps:ct})=>P.jsx(gD,B({timeout:je.transitions.duration.shorter},ct,LY,{children:P.jsxs(mD,B({},EY,{children:[K,w?P.jsx(yD,B({},OY,{ref:Xe})):null]}))}))}))]})});function vle(e){return ze("MuiSwitch",e)}const rn=Fe("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),gle=["className","color","edge","size","sx"],mle=e=>{const{classes:t,edge:r,size:n,color:i,checked:a,disabled:o}=e,s={root:["root",r&&`edge${xe(r)}`,`size${xe(n)}`],switchBase:["switchBase",`color${xe(i)}`,a&&"checked",o&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Be(s,vle,t);return B({},t,l)},yle=se("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${xe(r.edge)}`],t[`size${xe(r.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,[`& .${rn.thumb}`]:{width:16,height:16},[`& .${rn.switchBase}`]:{padding:4,[`&.${rn.checked}`]:{transform:"translateX(16px)"}}})),xle=se(fG,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${rn.input}`]:t.input},r.color!=="default"&&t[`color${xe(r.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}),[`&.${rn.checked}`]:{transform:"translateX(20px)"},[`&.${rn.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${rn.checked} + .${rn.track}`]:{opacity:.5},[`&.${rn.disabled} + .${rn.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${rn.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})`:Xt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${rn.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})`:Xt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${rn.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?ov(e.palette[t.color].main,.62):av(e.palette[t.color].main,.55)}`}},[`&.${rn.checked} + .${rn.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),Sle=se("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}`})),ble=se("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%"})),_le=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiSwitch"}),{className:i,color:a="primary",edge:o=!1,size:s="medium",sx:l}=n,u=ge(n,gle),c=B({},n,{color:a,edge:o,size:s}),f=mle(c),d=P.jsx(ble,{className:f.thumb,ownerState:c});return P.jsxs(yle,{className:ye(f.root,i),sx:l,ownerState:c,children:[P.jsx(xle,B({type:"checkbox",icon:d,checkedIcon:d,ref:r,ownerState:c},u,{classes:B({},f,{root:f.switchBase})})),P.jsx(Sle,{className:f.track,ownerState:c})]})});function wle(e){return ze("MuiTab",e)}const ul=Fe("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Cle=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Tle=e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:i,icon:a,label:o,selected:s,disabled:l}=e,u={root:["root",a&&o&&"labelIcon",`textColor${xe(r)}`,n&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return Be(u,wle,t)},Ale=se(Uu,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${xe(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>B({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${ul.iconWrapper}`]:B({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${ul.selected}`]:{opacity:1},[`&.${ul.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ul.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${ul.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ul.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${ul.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),Mle=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTab"}),{className:i,disabled:a=!1,disableFocusRipple:o=!1,fullWidth:s,icon:l,iconPosition:u="top",indicator:c,label:f,onChange:d,onClick:h,onFocus:p,selected:v,selectionFollowsFocus:g,textColor:m="inherit",value:y,wrapped:x=!1}=n,S=ge(n,Cle),_=B({},n,{disabled:a,disableFocusRipple:o,selected:v,icon:!!l,iconPosition:u,label:!!f,fullWidth:s,textColor:m,wrapped:x}),b=Tle(_),w=l&&f&&O.isValidElement(l)?O.cloneElement(l,{className:ye(b.iconWrapper,l.props.className)}):l,C=T=>{!v&&d&&d(T,y),h&&h(T)},A=T=>{g&&!v&&d&&d(T,y),p&&p(T)};return P.jsxs(Ale,B({focusRipple:!o,className:ye(b.root,i),ref:r,role:"tab","aria-selected":v,disabled:a,onClick:C,onFocus:A,ownerState:_,tabIndex:v?0:-1},S,{children:[u==="top"||u==="start"?P.jsxs(O.Fragment,{children:[w,f]}):P.jsxs(O.Fragment,{children:[f,w]}),c]}))}),AG=O.createContext();function kle(e){return ze("MuiTable",e)}Fe("MuiTable",["root","stickyHeader"]);const Ile=["className","component","padding","size","stickyHeader"],Ple=e=>{const{classes:t,stickyHeader:r}=e;return Be({root:["root",r&&"stickyHeader"]},kle,t)},Dle=se("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.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"})),rE="table",MG=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTable"}),{className:i,component:a=rE,padding:o="normal",size:s="medium",stickyHeader:l=!1}=n,u=ge(n,Ile),c=B({},n,{component:a,padding:o,size:s,stickyHeader:l}),f=Ple(c),d=O.useMemo(()=>({padding:o,size:s,stickyHeader:l}),[o,s,l]);return P.jsx(AG.Provider,{value:d,children:P.jsx(Dle,B({as:a,role:a===rE?null:"table",ref:r,className:ye(f.root,i),ownerState:c},u))})}),Zx=O.createContext();function Rle(e){return ze("MuiTableBody",e)}Fe("MuiTableBody",["root"]);const Lle=["className","component"],Ele=e=>{const{classes:t}=e;return Be({root:["root"]},Rle,t)},Ole=se("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Nle={variant:"body"},nE="tbody",kG=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTableBody"}),{className:i,component:a=nE}=n,o=ge(n,Lle),s=B({},n,{component:a}),l=Ele(s);return P.jsx(Zx.Provider,{value:Nle,children:P.jsx(Ole,B({className:ye(l.root,i),as:a,ref:r,role:a===nE?null:"rowgroup",ownerState:s},o))})});function zle(e){return ze("MuiTableCell",e)}const Ble=Fe("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Fle=["align","className","component","padding","scope","size","sortDirection","variant"],$le=e=>{const{classes:t,variant:r,align:n,padding:i,size:a,stickyHeader:o}=e,s={root:["root",r,o&&"stickyHeader",n!=="inherit"&&`align${xe(n)}`,i!=="normal"&&`padding${xe(i)}`,`size${xe(a)}`]};return Be(s,zle,t)},Vle=se("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${xe(r.size)}`],r.padding!=="normal"&&t[`padding${xe(r.padding)}`],r.align!=="inherit"&&t[`align${xe(r.align)}`],r.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
142
- ${e.palette.mode==="light"?ov(Xt(e.palette.divider,1),.88):av(Xt(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",[`&.${Ble.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})),Yl=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTableCell"}),{align:i="inherit",className:a,component:o,padding:s,scope:l,size:u,sortDirection:c,variant:f}=n,d=ge(n,Fle),h=O.useContext(AG),p=O.useContext(Zx),v=p&&p.variant==="head";let g;o?g=o:g=v?"th":"td";let m=l;g==="td"?m=void 0:!m&&v&&(m="col");const y=f||p&&p.variant,x=B({},n,{align:i,component:g,padding:s||(h&&h.padding?h.padding:"normal"),size:u||(h&&h.size?h.size:"medium"),sortDirection:c,stickyHeader:y==="head"&&h&&h.stickyHeader,variant:y}),S=$le(x);let _=null;return c&&(_=c==="asc"?"ascending":"descending"),P.jsx(Vle,B({as:g,ref:r,className:ye(S.root,a),"aria-sort":_,scope:m,ownerState:x},d))});function Gle(e){return ze("MuiTableContainer",e)}Fe("MuiTableContainer",["root"]);const Hle=["className","component"],Wle=e=>{const{classes:t}=e;return Be({root:["root"]},Gle,t)},jle=se("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),IG=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTableContainer"}),{className:i,component:a="div"}=n,o=ge(n,Hle),s=B({},n,{component:a}),l=Wle(s);return P.jsx(jle,B({ref:r,as:a,className:ye(l.root,i),ownerState:s},o))});function Ule(e){return ze("MuiTableHead",e)}Fe("MuiTableHead",["root"]);const Yle=["className","component"],Xle=e=>{const{classes:t}=e;return Be({root:["root"]},Ule,t)},qle=se("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),Zle={variant:"head"},iE="thead",PG=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTableHead"}),{className:i,component:a=iE}=n,o=ge(n,Yle),s=B({},n,{component:a}),l=Xle(s);return P.jsx(Zx.Provider,{value:Zle,children:P.jsx(qle,B({as:a,className:ye(l.root,i),ref:r,role:a===iE?null:"rowgroup",ownerState:s},o))})});function Kle(e){return ze("MuiToolbar",e)}Fe("MuiToolbar",["root","gutters","regular","dense"]);const Qle=["className","component","disableGutters","variant"],Jle=e=>{const{classes:t,disableGutters:r,variant:n}=e;return Be({root:["root",!r&&"gutters",n]},Kle,t)},eue=se("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.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),tue=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiToolbar"}),{className:i,component:a="div",disableGutters:o=!1,variant:s="regular"}=n,l=ge(n,Qle),u=B({},n,{component:a,disableGutters:o,variant:s}),c=Jle(u);return P.jsx(eue,B({as:a,className:ye(c.root,i),ref:r,ownerState:u},l))}),rue=Fn(P.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),nue=Fn(P.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function iue(e){return ze("MuiTableRow",e)}const aE=Fe("MuiTableRow",["root","selected","hover","head","footer"]),aue=["className","component","hover","selected"],oue=e=>{const{classes:t,selected:r,hover:n,head:i,footer:a}=e;return Be({root:["root",r&&"selected",n&&"hover",i&&"head",a&&"footer"]},iue,t)},sue=se("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${aE.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${aE.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Xt(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}))`:Xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),oE="tr",O0=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTableRow"}),{className:i,component:a=oE,hover:o=!1,selected:s=!1}=n,l=ge(n,aue),u=O.useContext(Zx),c=B({},n,{component:a,hover:o,selected:s,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),f=oue(c);return P.jsx(sue,B({as:a,ref:r,className:ye(f.root,i),role:a===oE?null:"row",ownerState:c},l))});function lue(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function uue(e,t,r,n={},i=()=>{}){const{ease:a=lue,duration:o=300}=n;let s=null;const l=t[e];let u=!1;const c=()=>{u=!0},f=d=>{if(u){i(new Error("Animation cancelled"));return}s===null&&(s=d);const h=Math.min(1,(d-s)/o);if(t[e]=a(h)*(r-l)+l,h>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===r?(i(new Error("Element already at target position")),c):(requestAnimationFrame(f),c)}const cue=["onChange"],fue={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function due(e){const{onChange:t}=e,r=ge(e,cue),n=O.useRef(),i=O.useRef(null),a=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return ua(()=>{const o=Zv(()=>{const l=n.current;a(),l!==n.current&&t(n.current)}),s=qa(i.current);return s.addEventListener("resize",o),()=>{o.clear(),s.removeEventListener("resize",o)}},[t]),O.useEffect(()=>{a(),t(n.current)},[t]),P.jsx("div",B({style:fue,ref:i},r))}function hue(e){return ze("MuiTabScrollButton",e)}const pue=Fe("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),vue=["className","slots","slotProps","direction","orientation","disabled"],gue=e=>{const{classes:t,orientation:r,disabled:n}=e;return Be({root:["root",r,n&&"disabled"]},hue,t)},mue=se(Uu,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>B({width:40,flexShrink:0,opacity:.8,[`&.${pue.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),yue=O.forwardRef(function(t,r){var n,i;const a=$e({props:t,name:"MuiTabScrollButton"}),{className:o,slots:s={},slotProps:l={},direction:u}=a,c=ge(a,vue),d=ju().direction==="rtl",h=B({isRtl:d},a),p=gue(h),v=(n=s.StartScrollButtonIcon)!=null?n:rue,g=(i=s.EndScrollButtonIcon)!=null?i:nue,m=fa({elementType:v,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:h}),y=fa({elementType:g,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:h});return P.jsx(mue,B({component:"div",className:ye(p.root,o),ref:r,role:null,ownerState:h,tabIndex:null},c,{children:u==="left"?P.jsx(v,B({},m)):P.jsx(g,B({},y))}))});function xue(e){return ze("MuiTabs",e)}const Nb=Fe("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Sue=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],sE=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,lE=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,am=(e,t,r)=>{let n=!1,i=r(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const a=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||a)i=r(e,i);else{i.focus();return}}},bue=e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:a,centered:o,scrollButtonsHideMobile:s,classes:l}=e;return Be({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",o&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},xue,l)},_ue=se("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Nb.scrollButtons}`]:t.scrollButtons},{[`& .${Nb.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>B({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Nb.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),wue=se("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>B({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),Cue=se("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>B({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Tue=se("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>B({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Aue=se(due)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),uE={},Mue=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTabs"}),i=ju(),a=i.direction==="rtl",{"aria-label":o,"aria-labelledby":s,action:l,centered:u=!1,children:c,className:f,component:d="div",allowScrollButtonsMobile:h=!1,indicatorColor:p="primary",onChange:v,orientation:g="horizontal",ScrollButtonComponent:m=yue,scrollButtons:y="auto",selectionFollowsFocus:x,slots:S={},slotProps:_={},TabIndicatorProps:b={},TabScrollButtonProps:w={},textColor:C="primary",value:A,variant:T="standard",visibleScrollbar:M=!1}=n,k=ge(n,Sue),I=T==="scrollable",R=g==="vertical",L=R?"scrollTop":"scrollLeft",N=R?"top":"left",$=R?"bottom":"right",z=R?"clientHeight":"clientWidth",V=R?"height":"width",E=B({},n,{component:d,allowScrollButtonsMobile:h,indicatorColor:p,orientation:g,vertical:R,scrollButtons:y,textColor:C,variant:T,visibleScrollbar:M,fixed:!I,hideScrollbar:I&&!M,scrollableX:I&&!R,scrollableY:I&&R,centered:u&&!I,scrollButtonsHideMobile:!h}),G=bue(E),W=fa({elementType:S.StartScrollButtonIcon,externalSlotProps:_.startScrollButtonIcon,ownerState:E}),F=fa({elementType:S.EndScrollButtonIcon,externalSlotProps:_.endScrollButtonIcon,ownerState:E}),[Y,J]=O.useState(!1),[j,ee]=O.useState(uE),[Q,te]=O.useState(!1),[ae,K]=O.useState(!1),[ne,me]=O.useState(!1),[pe,Me]=O.useState({overflow:"hidden",scrollbarWidth:0}),je=new Map,Ue=O.useRef(null),rt=O.useRef(null),ot=()=>{const de=Ue.current;let De;if(de){const mt=de.getBoundingClientRect();De={clientWidth:de.clientWidth,scrollLeft:de.scrollLeft,scrollTop:de.scrollTop,scrollLeftNormalized:OQ(de,i.direction),scrollWidth:de.scrollWidth,top:mt.top,bottom:mt.bottom,left:mt.left,right:mt.right}}let qe;if(de&&A!==!1){const mt=rt.current.children;if(mt.length>0){const wr=mt[je.get(A)];qe=wr?wr.getBoundingClientRect():null}}return{tabsMeta:De,tabMeta:qe}},st=Ji(()=>{const{tabsMeta:de,tabMeta:De}=ot();let qe=0,mt;if(R)mt="top",De&&de&&(qe=De.top-de.top+de.scrollTop);else if(mt=a?"right":"left",De&&de){const ma=a?de.scrollLeftNormalized+de.clientWidth-de.scrollWidth:de.scrollLeft;qe=(a?-1:1)*(De[mt]-de[mt]+ma)}const wr={[mt]:qe,[V]:De?De[V]:0};if(isNaN(j[mt])||isNaN(j[V]))ee(wr);else{const ma=Math.abs(j[mt]-wr[mt]),ic=Math.abs(j[V]-wr[V]);(ma>=1||ic>=1)&&ee(wr)}}),Xe=(de,{animation:De=!0}={})=>{De?uue(L,Ue.current,de,{duration:i.transitions.duration.standard}):Ue.current[L]=de},Vt=de=>{let De=Ue.current[L];R?De+=de:(De+=de*(a?-1:1),De*=a&&g6()==="reverse"?-1:1),Xe(De)},Tt=()=>{const de=Ue.current[z];let De=0;const qe=Array.from(rt.current.children);for(let mt=0;mt<qe.length;mt+=1){const wr=qe[mt];if(De+wr[z]>de){mt===0&&(De=de);break}De+=wr[z]}return De},lt=()=>{Vt(-1*Tt())},X=()=>{Vt(Tt())},ie=O.useCallback(de=>{Me({overflow:null,scrollbarWidth:de})},[]),Pe=()=>{const de={};de.scrollbarSizeListener=I?P.jsx(Aue,{onChange:ie,className:ye(G.scrollableX,G.hideScrollbar)}):null;const qe=I&&(y==="auto"&&(Q||ae)||y===!0);return de.scrollButtonStart=qe?P.jsx(m,B({slots:{StartScrollButtonIcon:S.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:W},orientation:g,direction:a?"right":"left",onClick:lt,disabled:!Q},w,{className:ye(G.scrollButtons,w.className)})):null,de.scrollButtonEnd=qe?P.jsx(m,B({slots:{EndScrollButtonIcon:S.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:F},orientation:g,direction:a?"left":"right",onClick:X,disabled:!ae},w,{className:ye(G.scrollButtons,w.className)})):null,de},be=Ji(de=>{const{tabsMeta:De,tabMeta:qe}=ot();if(!(!qe||!De)){if(qe[N]<De[N]){const mt=De[L]+(qe[N]-De[N]);Xe(mt,{animation:de})}else if(qe[$]>De[$]){const mt=De[L]+(qe[$]-De[$]);Xe(mt,{animation:de})}}}),he=Ji(()=>{I&&y!==!1&&me(!ne)});O.useEffect(()=>{const de=Zv(()=>{Ue.current&&st()}),De=qa(Ue.current);De.addEventListener("resize",de);let qe;return typeof ResizeObserver<"u"&&(qe=new ResizeObserver(de),Array.from(rt.current.children).forEach(mt=>{qe.observe(mt)})),()=>{de.clear(),De.removeEventListener("resize",de),qe&&qe.disconnect()}},[st]),O.useEffect(()=>{const de=Array.from(rt.current.children),De=de.length;if(typeof IntersectionObserver<"u"&&De>0&&I&&y!==!1){const qe=de[0],mt=de[De-1],wr={root:Ue.current,threshold:.99},ma=ac=>{te(!ac[0].isIntersecting)},ic=new IntersectionObserver(ma,wr);ic.observe(qe);const Pg=ac=>{K(!ac[0].isIntersecting)},Pd=new IntersectionObserver(Pg,wr);return Pd.observe(mt),()=>{ic.disconnect(),Pd.disconnect()}}},[I,y,ne,c==null?void 0:c.length]),O.useEffect(()=>{J(!0)},[]),O.useEffect(()=>{st()}),O.useEffect(()=>{be(uE!==j)},[be,j]),O.useImperativeHandle(l,()=>({updateIndicator:st,updateScrollButtons:he}),[st,he]);const pt=P.jsx(Tue,B({},b,{className:ye(G.indicator,b.className),ownerState:E,style:B({},j,b.style)}));let Qt=0;const _e=O.Children.map(c,de=>{if(!O.isValidElement(de))return null;const De=de.props.value===void 0?Qt:de.props.value;je.set(De,Qt);const qe=De===A;return Qt+=1,O.cloneElement(de,B({fullWidth:T==="fullWidth",indicator:qe&&!Y&&pt,selected:qe,selectionFollowsFocus:x,onChange:v,textColor:C,value:De},Qt===1&&A===!1&&!de.props.tabIndex?{tabIndex:0}:{}))}),it=de=>{const De=rt.current,qe=zr(De).activeElement;if(qe.getAttribute("role")!=="tab")return;let wr=g==="horizontal"?"ArrowLeft":"ArrowUp",ma=g==="horizontal"?"ArrowRight":"ArrowDown";switch(g==="horizontal"&&a&&(wr="ArrowRight",ma="ArrowLeft"),de.key){case wr:de.preventDefault(),am(De,qe,lE);break;case ma:de.preventDefault(),am(De,qe,sE);break;case"Home":de.preventDefault(),am(De,null,sE);break;case"End":de.preventDefault(),am(De,null,lE);break}},At=Pe();return P.jsxs(_ue,B({className:ye(G.root,f),ownerState:E,ref:r,as:d},k,{children:[At.scrollButtonStart,At.scrollbarSizeListener,P.jsxs(wue,{className:G.scroller,ownerState:E,style:{overflow:pe.overflow,[R?`margin${a?"Left":"Right"}`:"marginBottom"]:M?void 0:-pe.scrollbarWidth},ref:Ue,children:[P.jsx(Cue,{"aria-label":o,"aria-labelledby":s,"aria-orientation":g==="vertical"?"vertical":null,className:G.flexContainer,ownerState:E,onKeyDown:it,ref:rt,role:"tablist",children:_e}),Y&&pt]}),At.scrollButtonEnd]}))});function kue(e){return ze("MuiTextField",e)}Fe("MuiTextField",["root"]);const Iue=["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"],Pue={standard:Ik,filled:Mk,outlined:qx},Due=e=>{const{classes:t}=e;return Be({root:["root"]},kue,t)},Rue=se(kk,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Xf=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:a=!1,children:o,className:s,color:l="primary",defaultValue:u,disabled:c=!1,error:f=!1,FormHelperTextProps:d,fullWidth:h=!1,helperText:p,id:v,InputLabelProps:g,inputProps:m,InputProps:y,inputRef:x,label:S,maxRows:_,minRows:b,multiline:w=!1,name:C,onBlur:A,onChange:T,onFocus:M,placeholder:k,required:I=!1,rows:R,select:L=!1,SelectProps:N,type:$,value:z,variant:V="outlined"}=n,E=ge(n,Iue),G=B({},n,{autoFocus:a,color:l,disabled:c,error:f,fullWidth:h,multiline:w,required:I,select:L,variant:V}),W=Due(G),F={};V==="outlined"&&(g&&typeof g.shrink<"u"&&(F.notched=g.shrink),F.label=S),L&&((!N||!N.native)&&(F.id=void 0),F["aria-describedby"]=void 0);const Y=YM(v),J=p&&Y?`${Y}-helper-text`:void 0,j=S&&Y?`${Y}-label`:void 0,ee=Pue[V],Q=P.jsx(ee,B({"aria-describedby":J,autoComplete:i,autoFocus:a,defaultValue:u,fullWidth:h,multiline:w,name:C,rows:R,maxRows:_,minRows:b,type:$,value:z,id:Y,inputRef:x,onBlur:A,onChange:T,onFocus:M,placeholder:k,inputProps:m},F,y));return P.jsxs(Rue,B({className:ye(W.root,s),disabled:c,error:f,fullWidth:h,ref:r,required:I,color:l,variant:V,ownerState:G},E,{children:[S!=null&&S!==""&&P.jsx(Xx,B({htmlFor:Y,id:j},g,{children:S})),L?P.jsx(Rk,B({"aria-describedby":J,id:Y,labelId:j,value:z,input:Q},N,{children:o})):Q,p&&P.jsx(woe,B({id:J},d,{children:p}))]}))});function DG(){return P.jsxs("svg",{clipRule:"evenodd",fillRule:"evenodd",height:"35",strokeLinejoin:"round",strokeMiterlimit:"2",version:"1.1",viewBox:"0 0 183 35",width:"183",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[P.jsx("title",{children:"Locust"}),P.jsx("path",{d:"M36.694,18.975L48.943,6.626L47.341,5.012L35.092,17.361L36.694,18.975Z",fill:"rgb(184,238,75)"}),P.jsx("path",{d:"M40.954,20.093L53.03,8.017L51.416,6.403L39.34,18.479L40.954,20.093Z",fill:"rgb(184,238,75)"}),P.jsx("rect",{fill:"rgb(184,238,75)",height:"7.152",width:"2.459",x:"37.215",y:"17.411"}),P.jsx("path",{d:"M14.632,4.173L11.279,5.804L10.932,5.973L4.446,30.826L10.881,30.826L15.383,13.594L32.616,30.826L41.285,30.826L14.632,4.173Z",fill:"rgb(184,238,75)",fillRule:"nonzero"}),P.jsx("path",{d:"M4.722,26.007L3.683,29.988L0,29.988L0,28.176L4.722,26.007ZM27.385,15.595L39.945,9.824L43.705,9.824L47.464,13.583L47.464,19.963L43.819,23.608L39.201,18.928L38.025,20.088L47.793,29.988L41.778,29.988L27.385,15.595ZM14.232,21.637L19.644,19.151L27.609,27.116L20.962,29.988L12.05,29.988L14.232,21.637Z",fill:"rgb(184,238,75)"}),P.jsx("path",{d:"M64.001,30L64.001,11.009L68.501,11.009L68.501,26.224L79.443,26.224L79.443,30L64.001,30ZM90.405,30.633C84.211,30.633 79.983,26.473 79.983,20.505C79.983,14.536 84.211,10.376 90.405,10.376C96.623,10.376 100.85,14.536 100.85,20.505C100.85,26.473 96.623,30.633 90.405,30.633ZM90.405,26.722C93.796,26.722 96.374,24.235 96.374,20.505C96.374,16.774 93.796,14.287 90.405,14.287C87.037,14.287 84.437,16.774 84.437,20.505C84.437,24.235 87.037,26.722 90.405,26.722ZM112.638,30.633C106.488,30.633 102.238,26.473 102.238,20.505C102.238,14.536 106.488,10.376 112.638,10.376C116.798,10.376 121.071,12.23 121.997,17.814L117.679,17.814C116.865,15.372 114.989,14.287 112.638,14.287C109.269,14.287 106.692,16.842 106.692,20.505C106.692,24.144 109.269,26.722 112.638,26.722C114.989,26.722 116.865,25.637 117.679,23.172L121.997,23.172C121.071,28.779 116.843,30.633 112.638,30.633ZM132.77,30.633C126.914,30.633 123.613,27.875 123.613,22.087L123.613,11.009L128.158,11.009L128.158,21.974C128.158,25.004 129.672,26.835 132.77,26.835C135.867,26.835 137.404,25.004 137.404,21.974L137.404,11.009L141.926,11.009L141.926,22.087C141.926,27.875 138.625,30.633 132.77,30.633ZM152.22,30.633C146.432,30.633 143.38,28.576 143.403,24.122L147.472,24.122C147.63,25.908 149.1,27.038 152.22,27.061C155.159,27.061 156.764,26.066 156.764,24.574C156.764,23.263 155.702,22.607 153.441,22.223L151.089,21.816C147.495,21.183 143.923,20.233 143.923,16.096C143.923,12.501 146.952,10.376 152.265,10.376C157.216,10.376 160.653,12.117 160.698,16.819L156.651,16.819C156.357,15.101 155.023,13.948 152.175,13.948C149.597,13.948 148.241,14.83 148.241,16.299C148.241,17.452 149.168,18.176 151.112,18.538L153.169,18.899C156.787,19.555 161.241,20.165 161.241,24.71C161.241,28.485 158.143,30.633 152.22,30.633ZM180.394,11.009L180.394,14.785L173.272,14.785L173.272,30L168.751,30L168.751,14.785L161.652,14.785L161.652,11.009L180.394,11.009Z",fill:"currentcolor"})]})}const Lue=Fn(P.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility"),Eue=Fn(P.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");function RG({name:e="password",label:t="Password",defaultValue:r}){const[n,i]=O.useState(!1),a=()=>i(!n);return P.jsxs(kk,{variant:"outlined",children:[P.jsx(Xx,{htmlFor:`${t}-${e}-field`,children:t}),P.jsx(qx,{defaultValue:r,endAdornment:P.jsx(Voe,{position:"end",children:P.jsx(cd,{edge:"end",onClick:a,children:n?P.jsx(Eue,{}):P.jsx(Lue,{})})}),id:`${t}-${e}-field`,label:t,name:e,type:n?"text":"password"})]})}function Lk({label:e,name:t,options:r,multiple:n=!1,defaultValue:i,size:a="medium",sx:o,...s}){return P.jsxs(kk,{size:a,sx:o,children:[P.jsx(Xx,{htmlFor:t,shrink:!0,children:e}),P.jsx(Rk,{...s,defaultValue:s.value?void 0:i||n&&r||r[0],id:t,label:e,multiple:n,name:t,native:!0,children:r.map((l,u)=>P.jsx("option",{value:l,children:l},`option-${l}-${u}`))})]})}function Oue(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Nue=/[ \t\n\f\r]/g;function zue(e){return typeof e=="object"?e.type==="text"?cE(e.value):!1:cE(e)}function cE(e){return e.replace(Nue,"")===""}class ig{constructor(t,r,n){this.property=t,this.normal=r,n&&(this.space=n)}}ig.prototype.property={};ig.prototype.normal={};ig.prototype.space=null;function LG(e,t){const r={},n={};let i=-1;for(;++i<e.length;)Object.assign(r,e[i].property),Object.assign(n,e[i].normal);return new ig(r,n,t)}function BT(e){return e.toLowerCase()}class zi{constructor(t,r){this.property=t,this.attribute=r}}zi.prototype.space=null;zi.prototype.boolean=!1;zi.prototype.booleanish=!1;zi.prototype.overloadedBoolean=!1;zi.prototype.number=!1;zi.prototype.commaSeparated=!1;zi.prototype.spaceSeparated=!1;zi.prototype.commaOrSpaceSeparated=!1;zi.prototype.mustUseProperty=!1;zi.prototype.defined=!1;let Bue=0;const et=Yu(),cr=Yu(),EG=Yu(),ue=Yu(),zt=Yu(),Sf=Yu(),Gn=Yu();function Yu(){return 2**++Bue}const FT=Object.freeze(Object.defineProperty({__proto__:null,boolean:et,booleanish:cr,commaOrSpaceSeparated:Gn,commaSeparated:Sf,number:ue,overloadedBoolean:EG,spaceSeparated:zt},Symbol.toStringTag,{value:"Module"})),zb=Object.keys(FT);class Ek extends zi{constructor(t,r,n,i){let a=-1;if(super(t,r),fE(this,"space",i),typeof n=="number")for(;++a<zb.length;){const o=zb[a];fE(this,zb[a],(n&FT[o])===FT[o])}}}Ek.prototype.defined=!0;function fE(e,t,r){r&&(e[t]=r)}const Fue={}.hasOwnProperty;function fd(e){const t={},r={};let n;for(n in e.properties)if(Fue.call(e.properties,n)){const i=e.properties[n],a=new Ek(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[BT(n)]=n,r[BT(a.attribute)]=n}return new ig(t,r,e.space)}const OG=fd({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),NG=fd({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function zG(e,t){return t in e?e[t]:t}function BG(e,t){return zG(e,t.toLowerCase())}const FG=fd({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:BG,properties:{xmlns:null,xmlnsXLink:null}}),$G=fd({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:cr,ariaAutoComplete:null,ariaBusy:cr,ariaChecked:cr,ariaColCount:ue,ariaColIndex:ue,ariaColSpan:ue,ariaControls:zt,ariaCurrent:null,ariaDescribedBy:zt,ariaDetails:null,ariaDisabled:cr,ariaDropEffect:zt,ariaErrorMessage:null,ariaExpanded:cr,ariaFlowTo:zt,ariaGrabbed:cr,ariaHasPopup:null,ariaHidden:cr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:zt,ariaLevel:ue,ariaLive:null,ariaModal:cr,ariaMultiLine:cr,ariaMultiSelectable:cr,ariaOrientation:null,ariaOwns:zt,ariaPlaceholder:null,ariaPosInSet:ue,ariaPressed:cr,ariaReadOnly:cr,ariaRelevant:null,ariaRequired:cr,ariaRoleDescription:zt,ariaRowCount:ue,ariaRowIndex:ue,ariaRowSpan:ue,ariaSelected:cr,ariaSetSize:ue,ariaSort:null,ariaValueMax:ue,ariaValueMin:ue,ariaValueNow:ue,ariaValueText:null,role:null}}),$ue=fd({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:BG,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Sf,acceptCharset:zt,accessKey:zt,action:null,allow:null,allowFullScreen:et,allowPaymentRequest:et,allowUserMedia:et,alt:null,as:null,async:et,autoCapitalize:null,autoComplete:zt,autoFocus:et,autoPlay:et,blocking:zt,capture:et,charSet:null,checked:et,cite:null,className:zt,cols:ue,colSpan:null,content:null,contentEditable:cr,controls:et,controlsList:zt,coords:ue|Sf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:et,defer:et,dir:null,dirName:null,disabled:et,download:EG,draggable:cr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:et,formTarget:null,headers:zt,height:ue,hidden:et,high:ue,href:null,hrefLang:null,htmlFor:zt,httpEquiv:zt,id:null,imageSizes:null,imageSrcSet:null,inert:et,inputMode:null,integrity:null,is:null,isMap:et,itemId:null,itemProp:zt,itemRef:zt,itemScope:et,itemType:zt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:et,low:ue,manifest:null,max:null,maxLength:ue,media:null,method:null,min:null,minLength:ue,multiple:et,muted:et,name:null,nonce:null,noModule:et,noValidate:et,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:et,optimum:ue,pattern:null,ping:zt,placeholder:null,playsInline:et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:et,referrerPolicy:null,rel:zt,required:et,reversed:et,rows:ue,rowSpan:ue,sandbox:zt,scope:null,scoped:et,seamless:et,selected:et,shape:null,size:ue,sizes:null,slot:null,span:ue,spellCheck:cr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ue,step:null,style:null,tabIndex:ue,target:null,title:null,translate:null,type:null,typeMustMatch:et,useMap:null,value:cr,width:ue,wrap:null,align:null,aLink:null,archive:zt,axis:null,background:null,bgColor:null,border:ue,borderColor:null,bottomMargin:ue,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:et,declare:et,event:null,face:null,frame:null,frameBorder:null,hSpace:ue,leftMargin:ue,link:null,longDesc:null,lowSrc:null,marginHeight:ue,marginWidth:ue,noResize:et,noHref:et,noShade:et,noWrap:et,object:null,profile:null,prompt:null,rev:null,rightMargin:ue,rules:null,scheme:null,scrolling:cr,standby:null,summary:null,text:null,topMargin:ue,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ue,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:et,disableRemotePlayback:et,prefix:null,property:null,results:ue,security:null,unselectable:null}}),Vue=fd({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:zG,properties:{about:Gn,accentHeight:ue,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ue,amplitude:ue,arabicForm:null,ascent:ue,attributeName:null,attributeType:null,azimuth:ue,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ue,by:null,calcMode:null,capHeight:ue,className:zt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ue,diffuseConstant:ue,direction:null,display:null,dur:null,divisor:ue,dominantBaseline:null,download:et,dx:null,dy:null,edgeMode:null,editable:null,elevation:ue,enableBackground:null,end:null,event:null,exponent:ue,externalResourcesRequired:null,fill:null,fillOpacity:ue,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Sf,g2:Sf,glyphName:Sf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ue,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ue,horizOriginX:ue,horizOriginY:ue,id:null,ideographic:ue,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ue,k:ue,k1:ue,k2:ue,k3:ue,k4:ue,kernelMatrix:Gn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ue,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ue,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ue,overlineThickness:ue,paintOrder:null,panose1:null,path:null,pathLength:ue,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:zt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ue,pointsAtY:ue,pointsAtZ:ue,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Gn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Gn,rev:Gn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Gn,requiredFeatures:Gn,requiredFonts:Gn,requiredFormats:Gn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ue,specularExponent:ue,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ue,strikethroughThickness:ue,string:null,stroke:null,strokeDashArray:Gn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ue,strokeOpacity:ue,strokeWidth:null,style:null,surfaceScale:ue,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Gn,tabIndex:ue,tableValues:null,target:null,targetX:ue,targetY:ue,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Gn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ue,underlineThickness:ue,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ue,values:null,vAlphabetic:ue,vMathematical:ue,vectorEffect:null,vHanging:ue,vIdeographic:ue,version:null,vertAdvY:ue,vertOriginX:ue,vertOriginY:ue,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ue,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Gue=/^data[-\w.:]+$/i,dE=/-[a-z]/g,Hue=/[A-Z]/g;function Wue(e,t){const r=BT(t);let n=t,i=zi;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Gue.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(dE,Uue);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!dE.test(a)){let o=a.replace(Hue,jue);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Ek}return new i(n,t)}function jue(e){return"-"+e.toLowerCase()}function Uue(e){return e.charAt(1).toUpperCase()}const Yue={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Xue=LG([NG,OG,FG,$G,$ue],"html"),VG=LG([NG,OG,FG,$G,Vue],"svg");function que(e){return e.join(" ").trim()}var Ok={exports:{}},hE=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Zue=/\n/g,Kue=/^\s*/,Que=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Jue=/^:\s*/,ece=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,tce=/^[;\s]*/,rce=/^\s+|\s+$/g,nce=`
142
+ ${e.palette.mode==="light"?ov(Xt(e.palette.divider,1),.88):av(Xt(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",[`&.${Ble.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})),Yl=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTableCell"}),{align:i="inherit",className:a,component:o,padding:s,scope:l,size:u,sortDirection:c,variant:f}=n,d=ge(n,Fle),h=O.useContext(AG),p=O.useContext(Zx),v=p&&p.variant==="head";let g;o?g=o:g=v?"th":"td";let m=l;g==="td"?m=void 0:!m&&v&&(m="col");const y=f||p&&p.variant,x=B({},n,{align:i,component:g,padding:s||(h&&h.padding?h.padding:"normal"),size:u||(h&&h.size?h.size:"medium"),sortDirection:c,stickyHeader:y==="head"&&h&&h.stickyHeader,variant:y}),S=$le(x);let _=null;return c&&(_=c==="asc"?"ascending":"descending"),P.jsx(Vle,B({as:g,ref:r,className:ye(S.root,a),"aria-sort":_,scope:m,ownerState:x},d))});function Gle(e){return ze("MuiTableContainer",e)}Fe("MuiTableContainer",["root"]);const Hle=["className","component"],Wle=e=>{const{classes:t}=e;return Be({root:["root"]},Gle,t)},jle=se("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),IG=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTableContainer"}),{className:i,component:a="div"}=n,o=ge(n,Hle),s=B({},n,{component:a}),l=Wle(s);return P.jsx(jle,B({ref:r,as:a,className:ye(l.root,i),ownerState:s},o))});function Ule(e){return ze("MuiTableHead",e)}Fe("MuiTableHead",["root"]);const Yle=["className","component"],Xle=e=>{const{classes:t}=e;return Be({root:["root"]},Ule,t)},qle=se("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),Zle={variant:"head"},iE="thead",PG=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTableHead"}),{className:i,component:a=iE}=n,o=ge(n,Yle),s=B({},n,{component:a}),l=Xle(s);return P.jsx(Zx.Provider,{value:Zle,children:P.jsx(qle,B({as:a,className:ye(l.root,i),ref:r,role:a===iE?null:"rowgroup",ownerState:s},o))})});function Kle(e){return ze("MuiToolbar",e)}Fe("MuiToolbar",["root","gutters","regular","dense"]);const Qle=["className","component","disableGutters","variant"],Jle=e=>{const{classes:t,disableGutters:r,variant:n}=e;return Be({root:["root",!r&&"gutters",n]},Kle,t)},eue=se("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.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),tue=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiToolbar"}),{className:i,component:a="div",disableGutters:o=!1,variant:s="regular"}=n,l=ge(n,Qle),u=B({},n,{component:a,disableGutters:o,variant:s}),c=Jle(u);return P.jsx(eue,B({as:a,className:ye(c.root,i),ref:r,ownerState:u},l))}),rue=Fn(P.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),nue=Fn(P.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function iue(e){return ze("MuiTableRow",e)}const aE=Fe("MuiTableRow",["root","selected","hover","head","footer"]),aue=["className","component","hover","selected"],oue=e=>{const{classes:t,selected:r,hover:n,head:i,footer:a}=e;return Be({root:["root",r&&"selected",n&&"hover",i&&"head",a&&"footer"]},iue,t)},sue=se("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${aE.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${aE.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Xt(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}))`:Xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),oE="tr",O0=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTableRow"}),{className:i,component:a=oE,hover:o=!1,selected:s=!1}=n,l=ge(n,aue),u=O.useContext(Zx),c=B({},n,{component:a,hover:o,selected:s,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),f=oue(c);return P.jsx(sue,B({as:a,ref:r,className:ye(f.root,i),role:a===oE?null:"row",ownerState:c},l))});function lue(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function uue(e,t,r,n={},i=()=>{}){const{ease:a=lue,duration:o=300}=n;let s=null;const l=t[e];let u=!1;const c=()=>{u=!0},f=d=>{if(u){i(new Error("Animation cancelled"));return}s===null&&(s=d);const h=Math.min(1,(d-s)/o);if(t[e]=a(h)*(r-l)+l,h>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===r?(i(new Error("Element already at target position")),c):(requestAnimationFrame(f),c)}const cue=["onChange"],fue={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function due(e){const{onChange:t}=e,r=ge(e,cue),n=O.useRef(),i=O.useRef(null),a=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return ua(()=>{const o=Zv(()=>{const l=n.current;a(),l!==n.current&&t(n.current)}),s=qa(i.current);return s.addEventListener("resize",o),()=>{o.clear(),s.removeEventListener("resize",o)}},[t]),O.useEffect(()=>{a(),t(n.current)},[t]),P.jsx("div",B({style:fue,ref:i},r))}function hue(e){return ze("MuiTabScrollButton",e)}const pue=Fe("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),vue=["className","slots","slotProps","direction","orientation","disabled"],gue=e=>{const{classes:t,orientation:r,disabled:n}=e;return Be({root:["root",r,n&&"disabled"]},hue,t)},mue=se(Uu,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>B({width:40,flexShrink:0,opacity:.8,[`&.${pue.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),yue=O.forwardRef(function(t,r){var n,i;const a=$e({props:t,name:"MuiTabScrollButton"}),{className:o,slots:s={},slotProps:l={},direction:u}=a,c=ge(a,vue),d=ju().direction==="rtl",h=B({isRtl:d},a),p=gue(h),v=(n=s.StartScrollButtonIcon)!=null?n:rue,g=(i=s.EndScrollButtonIcon)!=null?i:nue,m=fa({elementType:v,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:h}),y=fa({elementType:g,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:h});return P.jsx(mue,B({component:"div",className:ye(p.root,o),ref:r,role:null,ownerState:h,tabIndex:null},c,{children:u==="left"?P.jsx(v,B({},m)):P.jsx(g,B({},y))}))});function xue(e){return ze("MuiTabs",e)}const Nb=Fe("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Sue=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],sE=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,lE=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,am=(e,t,r)=>{let n=!1,i=r(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const a=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||a)i=r(e,i);else{i.focus();return}}},bue=e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:a,centered:o,scrollButtonsHideMobile:s,classes:l}=e;return Be({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",o&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},xue,l)},_ue=se("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Nb.scrollButtons}`]:t.scrollButtons},{[`& .${Nb.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>B({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Nb.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),wue=se("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>B({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),Cue=se("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>B({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Tue=se("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>B({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Aue=se(due)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),uE={},Mue=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTabs"}),i=ju(),a=i.direction==="rtl",{"aria-label":o,"aria-labelledby":s,action:l,centered:u=!1,children:c,className:f,component:d="div",allowScrollButtonsMobile:h=!1,indicatorColor:p="primary",onChange:v,orientation:g="horizontal",ScrollButtonComponent:m=yue,scrollButtons:y="auto",selectionFollowsFocus:x,slots:S={},slotProps:_={},TabIndicatorProps:b={},TabScrollButtonProps:w={},textColor:C="primary",value:A,variant:T="standard",visibleScrollbar:M=!1}=n,k=ge(n,Sue),I=T==="scrollable",R=g==="vertical",L=R?"scrollTop":"scrollLeft",N=R?"top":"left",$=R?"bottom":"right",z=R?"clientHeight":"clientWidth",V=R?"height":"width",E=B({},n,{component:d,allowScrollButtonsMobile:h,indicatorColor:p,orientation:g,vertical:R,scrollButtons:y,textColor:C,variant:T,visibleScrollbar:M,fixed:!I,hideScrollbar:I&&!M,scrollableX:I&&!R,scrollableY:I&&R,centered:u&&!I,scrollButtonsHideMobile:!h}),G=bue(E),W=fa({elementType:S.StartScrollButtonIcon,externalSlotProps:_.startScrollButtonIcon,ownerState:E}),F=fa({elementType:S.EndScrollButtonIcon,externalSlotProps:_.endScrollButtonIcon,ownerState:E}),[Y,J]=O.useState(!1),[j,ee]=O.useState(uE),[Q,te]=O.useState(!1),[ae,K]=O.useState(!1),[ne,me]=O.useState(!1),[pe,Me]=O.useState({overflow:"hidden",scrollbarWidth:0}),je=new Map,Ue=O.useRef(null),rt=O.useRef(null),ot=()=>{const de=Ue.current;let De;if(de){const mt=de.getBoundingClientRect();De={clientWidth:de.clientWidth,scrollLeft:de.scrollLeft,scrollTop:de.scrollTop,scrollLeftNormalized:OQ(de,i.direction),scrollWidth:de.scrollWidth,top:mt.top,bottom:mt.bottom,left:mt.left,right:mt.right}}let qe;if(de&&A!==!1){const mt=rt.current.children;if(mt.length>0){const wr=mt[je.get(A)];qe=wr?wr.getBoundingClientRect():null}}return{tabsMeta:De,tabMeta:qe}},st=Ji(()=>{const{tabsMeta:de,tabMeta:De}=ot();let qe=0,mt;if(R)mt="top",De&&de&&(qe=De.top-de.top+de.scrollTop);else if(mt=a?"right":"left",De&&de){const ma=a?de.scrollLeftNormalized+de.clientWidth-de.scrollWidth:de.scrollLeft;qe=(a?-1:1)*(De[mt]-de[mt]+ma)}const wr={[mt]:qe,[V]:De?De[V]:0};if(isNaN(j[mt])||isNaN(j[V]))ee(wr);else{const ma=Math.abs(j[mt]-wr[mt]),ic=Math.abs(j[V]-wr[V]);(ma>=1||ic>=1)&&ee(wr)}}),Xe=(de,{animation:De=!0}={})=>{De?uue(L,Ue.current,de,{duration:i.transitions.duration.standard}):Ue.current[L]=de},Vt=de=>{let De=Ue.current[L];R?De+=de:(De+=de*(a?-1:1),De*=a&&g6()==="reverse"?-1:1),Xe(De)},Tt=()=>{const de=Ue.current[z];let De=0;const qe=Array.from(rt.current.children);for(let mt=0;mt<qe.length;mt+=1){const wr=qe[mt];if(De+wr[z]>de){mt===0&&(De=de);break}De+=wr[z]}return De},lt=()=>{Vt(-1*Tt())},X=()=>{Vt(Tt())},ie=O.useCallback(de=>{Me({overflow:null,scrollbarWidth:de})},[]),Pe=()=>{const de={};de.scrollbarSizeListener=I?P.jsx(Aue,{onChange:ie,className:ye(G.scrollableX,G.hideScrollbar)}):null;const qe=I&&(y==="auto"&&(Q||ae)||y===!0);return de.scrollButtonStart=qe?P.jsx(m,B({slots:{StartScrollButtonIcon:S.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:W},orientation:g,direction:a?"right":"left",onClick:lt,disabled:!Q},w,{className:ye(G.scrollButtons,w.className)})):null,de.scrollButtonEnd=qe?P.jsx(m,B({slots:{EndScrollButtonIcon:S.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:F},orientation:g,direction:a?"left":"right",onClick:X,disabled:!ae},w,{className:ye(G.scrollButtons,w.className)})):null,de},be=Ji(de=>{const{tabsMeta:De,tabMeta:qe}=ot();if(!(!qe||!De)){if(qe[N]<De[N]){const mt=De[L]+(qe[N]-De[N]);Xe(mt,{animation:de})}else if(qe[$]>De[$]){const mt=De[L]+(qe[$]-De[$]);Xe(mt,{animation:de})}}}),he=Ji(()=>{I&&y!==!1&&me(!ne)});O.useEffect(()=>{const de=Zv(()=>{Ue.current&&st()}),De=qa(Ue.current);De.addEventListener("resize",de);let qe;return typeof ResizeObserver<"u"&&(qe=new ResizeObserver(de),Array.from(rt.current.children).forEach(mt=>{qe.observe(mt)})),()=>{de.clear(),De.removeEventListener("resize",de),qe&&qe.disconnect()}},[st]),O.useEffect(()=>{const de=Array.from(rt.current.children),De=de.length;if(typeof IntersectionObserver<"u"&&De>0&&I&&y!==!1){const qe=de[0],mt=de[De-1],wr={root:Ue.current,threshold:.99},ma=ac=>{te(!ac[0].isIntersecting)},ic=new IntersectionObserver(ma,wr);ic.observe(qe);const Pg=ac=>{K(!ac[0].isIntersecting)},Pd=new IntersectionObserver(Pg,wr);return Pd.observe(mt),()=>{ic.disconnect(),Pd.disconnect()}}},[I,y,ne,c==null?void 0:c.length]),O.useEffect(()=>{J(!0)},[]),O.useEffect(()=>{st()}),O.useEffect(()=>{be(uE!==j)},[be,j]),O.useImperativeHandle(l,()=>({updateIndicator:st,updateScrollButtons:he}),[st,he]);const pt=P.jsx(Tue,B({},b,{className:ye(G.indicator,b.className),ownerState:E,style:B({},j,b.style)}));let Qt=0;const _e=O.Children.map(c,de=>{if(!O.isValidElement(de))return null;const De=de.props.value===void 0?Qt:de.props.value;je.set(De,Qt);const qe=De===A;return Qt+=1,O.cloneElement(de,B({fullWidth:T==="fullWidth",indicator:qe&&!Y&&pt,selected:qe,selectionFollowsFocus:x,onChange:v,textColor:C,value:De},Qt===1&&A===!1&&!de.props.tabIndex?{tabIndex:0}:{}))}),it=de=>{const De=rt.current,qe=zr(De).activeElement;if(qe.getAttribute("role")!=="tab")return;let wr=g==="horizontal"?"ArrowLeft":"ArrowUp",ma=g==="horizontal"?"ArrowRight":"ArrowDown";switch(g==="horizontal"&&a&&(wr="ArrowRight",ma="ArrowLeft"),de.key){case wr:de.preventDefault(),am(De,qe,lE);break;case ma:de.preventDefault(),am(De,qe,sE);break;case"Home":de.preventDefault(),am(De,null,sE);break;case"End":de.preventDefault(),am(De,null,lE);break}},At=Pe();return P.jsxs(_ue,B({className:ye(G.root,f),ownerState:E,ref:r,as:d},k,{children:[At.scrollButtonStart,At.scrollbarSizeListener,P.jsxs(wue,{className:G.scroller,ownerState:E,style:{overflow:pe.overflow,[R?`margin${a?"Left":"Right"}`:"marginBottom"]:M?void 0:-pe.scrollbarWidth},ref:Ue,children:[P.jsx(Cue,{"aria-label":o,"aria-labelledby":s,"aria-orientation":g==="vertical"?"vertical":null,className:G.flexContainer,ownerState:E,onKeyDown:it,ref:rt,role:"tablist",children:_e}),Y&&pt]}),At.scrollButtonEnd]}))});function kue(e){return ze("MuiTextField",e)}Fe("MuiTextField",["root"]);const Iue=["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"],Pue={standard:Ik,filled:Mk,outlined:qx},Due=e=>{const{classes:t}=e;return Be({root:["root"]},kue,t)},Rue=se(kk,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Xf=O.forwardRef(function(t,r){const n=$e({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:a=!1,children:o,className:s,color:l="primary",defaultValue:u,disabled:c=!1,error:f=!1,FormHelperTextProps:d,fullWidth:h=!1,helperText:p,id:v,InputLabelProps:g,inputProps:m,InputProps:y,inputRef:x,label:S,maxRows:_,minRows:b,multiline:w=!1,name:C,onBlur:A,onChange:T,onFocus:M,placeholder:k,required:I=!1,rows:R,select:L=!1,SelectProps:N,type:$,value:z,variant:V="outlined"}=n,E=ge(n,Iue),G=B({},n,{autoFocus:a,color:l,disabled:c,error:f,fullWidth:h,multiline:w,required:I,select:L,variant:V}),W=Due(G),F={};V==="outlined"&&(g&&typeof g.shrink<"u"&&(F.notched=g.shrink),F.label=S),L&&((!N||!N.native)&&(F.id=void 0),F["aria-describedby"]=void 0);const Y=YM(v),J=p&&Y?`${Y}-helper-text`:void 0,j=S&&Y?`${Y}-label`:void 0,ee=Pue[V],Q=P.jsx(ee,B({"aria-describedby":J,autoComplete:i,autoFocus:a,defaultValue:u,fullWidth:h,multiline:w,name:C,rows:R,maxRows:_,minRows:b,type:$,value:z,id:Y,inputRef:x,onBlur:A,onChange:T,onFocus:M,placeholder:k,inputProps:m},F,y));return P.jsxs(Rue,B({className:ye(W.root,s),disabled:c,error:f,fullWidth:h,ref:r,required:I,color:l,variant:V,ownerState:G},E,{children:[S!=null&&S!==""&&P.jsx(Xx,B({htmlFor:Y,id:j},g,{children:S})),L?P.jsx(Rk,B({"aria-describedby":J,id:Y,labelId:j,value:z,input:Q},N,{children:o})):Q,p&&P.jsx(woe,B({id:J},d,{children:p}))]}))});function DG(){return P.jsxs("svg",{clipRule:"evenodd",fillRule:"evenodd",height:"35",strokeLinejoin:"round",strokeMiterlimit:"2",version:"1.1",viewBox:"0 0 183 35",width:"183",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[P.jsx("title",{children:"Locust"}),P.jsx("path",{d:"M36.694,18.975L48.943,6.626L47.341,5.012L35.092,17.361L36.694,18.975Z",fill:"rgb(184,238,75)"}),P.jsx("path",{d:"M40.954,20.093L53.03,8.017L51.416,6.403L39.34,18.479L40.954,20.093Z",fill:"rgb(184,238,75)"}),P.jsx("rect",{fill:"rgb(184,238,75)",height:"7.152",width:"2.459",x:"37.215",y:"17.411"}),P.jsx("path",{d:"M14.632,4.173L11.279,5.804L10.932,5.973L4.446,30.826L10.881,30.826L15.383,13.594L32.616,30.826L41.285,30.826L14.632,4.173Z",fill:"rgb(184,238,75)",fillRule:"nonzero"}),P.jsx("path",{d:"M4.722,26.007L3.683,29.988L0,29.988L0,28.176L4.722,26.007ZM27.385,15.595L39.945,9.824L43.705,9.824L47.464,13.583L47.464,19.963L43.819,23.608L39.201,18.928L38.025,20.088L47.793,29.988L41.778,29.988L27.385,15.595ZM14.232,21.637L19.644,19.151L27.609,27.116L20.962,29.988L12.05,29.988L14.232,21.637Z",fill:"rgb(184,238,75)"}),P.jsx("path",{d:"M64.001,30L64.001,11.009L68.501,11.009L68.501,26.224L79.443,26.224L79.443,30L64.001,30ZM90.405,30.633C84.211,30.633 79.983,26.473 79.983,20.505C79.983,14.536 84.211,10.376 90.405,10.376C96.623,10.376 100.85,14.536 100.85,20.505C100.85,26.473 96.623,30.633 90.405,30.633ZM90.405,26.722C93.796,26.722 96.374,24.235 96.374,20.505C96.374,16.774 93.796,14.287 90.405,14.287C87.037,14.287 84.437,16.774 84.437,20.505C84.437,24.235 87.037,26.722 90.405,26.722ZM112.638,30.633C106.488,30.633 102.238,26.473 102.238,20.505C102.238,14.536 106.488,10.376 112.638,10.376C116.798,10.376 121.071,12.23 121.997,17.814L117.679,17.814C116.865,15.372 114.989,14.287 112.638,14.287C109.269,14.287 106.692,16.842 106.692,20.505C106.692,24.144 109.269,26.722 112.638,26.722C114.989,26.722 116.865,25.637 117.679,23.172L121.997,23.172C121.071,28.779 116.843,30.633 112.638,30.633ZM132.77,30.633C126.914,30.633 123.613,27.875 123.613,22.087L123.613,11.009L128.158,11.009L128.158,21.974C128.158,25.004 129.672,26.835 132.77,26.835C135.867,26.835 137.404,25.004 137.404,21.974L137.404,11.009L141.926,11.009L141.926,22.087C141.926,27.875 138.625,30.633 132.77,30.633ZM152.22,30.633C146.432,30.633 143.38,28.576 143.403,24.122L147.472,24.122C147.63,25.908 149.1,27.038 152.22,27.061C155.159,27.061 156.764,26.066 156.764,24.574C156.764,23.263 155.702,22.607 153.441,22.223L151.089,21.816C147.495,21.183 143.923,20.233 143.923,16.096C143.923,12.501 146.952,10.376 152.265,10.376C157.216,10.376 160.653,12.117 160.698,16.819L156.651,16.819C156.357,15.101 155.023,13.948 152.175,13.948C149.597,13.948 148.241,14.83 148.241,16.299C148.241,17.452 149.168,18.176 151.112,18.538L153.169,18.899C156.787,19.555 161.241,20.165 161.241,24.71C161.241,28.485 158.143,30.633 152.22,30.633ZM180.394,11.009L180.394,14.785L173.272,14.785L173.272,30L168.751,30L168.751,14.785L161.652,14.785L161.652,11.009L180.394,11.009Z",fill:"currentcolor"})]})}const Lue=Fn(P.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility"),Eue=Fn(P.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");function RG({name:e="password",label:t="Password",defaultValue:r,isRequired:n}){const[i,a]=O.useState(!1),o=()=>a(!i);return P.jsxs(kk,{variant:"outlined",children:[P.jsx(Xx,{htmlFor:`${t}-${e}-field`,children:t}),P.jsx(qx,{defaultValue:r,endAdornment:P.jsx(Voe,{position:"end",children:P.jsx(cd,{edge:"end",onClick:o,children:i?P.jsx(Eue,{}):P.jsx(Lue,{})})}),id:`${t}-${e}-field`,label:t,name:e,required:n,type:i?"text":"password"})]})}function Lk({label:e,name:t,options:r,multiple:n=!1,defaultValue:i,size:a="medium",sx:o,...s}){return P.jsxs(kk,{size:a,sx:o,children:[P.jsx(Xx,{htmlFor:t,shrink:!0,children:e}),P.jsx(Rk,{...s,defaultValue:s.value?void 0:i||n&&r||r[0],id:t,label:e,multiple:n,name:t,native:!0,children:r.map((l,u)=>P.jsx("option",{value:l,children:l},`option-${l}-${u}`))})]})}function Oue(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Nue=/[ \t\n\f\r]/g;function zue(e){return typeof e=="object"?e.type==="text"?cE(e.value):!1:cE(e)}function cE(e){return e.replace(Nue,"")===""}class ig{constructor(t,r,n){this.property=t,this.normal=r,n&&(this.space=n)}}ig.prototype.property={};ig.prototype.normal={};ig.prototype.space=null;function LG(e,t){const r={},n={};let i=-1;for(;++i<e.length;)Object.assign(r,e[i].property),Object.assign(n,e[i].normal);return new ig(r,n,t)}function BT(e){return e.toLowerCase()}class zi{constructor(t,r){this.property=t,this.attribute=r}}zi.prototype.space=null;zi.prototype.boolean=!1;zi.prototype.booleanish=!1;zi.prototype.overloadedBoolean=!1;zi.prototype.number=!1;zi.prototype.commaSeparated=!1;zi.prototype.spaceSeparated=!1;zi.prototype.commaOrSpaceSeparated=!1;zi.prototype.mustUseProperty=!1;zi.prototype.defined=!1;let Bue=0;const et=Yu(),cr=Yu(),EG=Yu(),ue=Yu(),zt=Yu(),Sf=Yu(),Gn=Yu();function Yu(){return 2**++Bue}const FT=Object.freeze(Object.defineProperty({__proto__:null,boolean:et,booleanish:cr,commaOrSpaceSeparated:Gn,commaSeparated:Sf,number:ue,overloadedBoolean:EG,spaceSeparated:zt},Symbol.toStringTag,{value:"Module"})),zb=Object.keys(FT);class Ek extends zi{constructor(t,r,n,i){let a=-1;if(super(t,r),fE(this,"space",i),typeof n=="number")for(;++a<zb.length;){const o=zb[a];fE(this,zb[a],(n&FT[o])===FT[o])}}}Ek.prototype.defined=!0;function fE(e,t,r){r&&(e[t]=r)}const Fue={}.hasOwnProperty;function fd(e){const t={},r={};let n;for(n in e.properties)if(Fue.call(e.properties,n)){const i=e.properties[n],a=new Ek(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[BT(n)]=n,r[BT(a.attribute)]=n}return new ig(t,r,e.space)}const OG=fd({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),NG=fd({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function zG(e,t){return t in e?e[t]:t}function BG(e,t){return zG(e,t.toLowerCase())}const FG=fd({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:BG,properties:{xmlns:null,xmlnsXLink:null}}),$G=fd({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:cr,ariaAutoComplete:null,ariaBusy:cr,ariaChecked:cr,ariaColCount:ue,ariaColIndex:ue,ariaColSpan:ue,ariaControls:zt,ariaCurrent:null,ariaDescribedBy:zt,ariaDetails:null,ariaDisabled:cr,ariaDropEffect:zt,ariaErrorMessage:null,ariaExpanded:cr,ariaFlowTo:zt,ariaGrabbed:cr,ariaHasPopup:null,ariaHidden:cr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:zt,ariaLevel:ue,ariaLive:null,ariaModal:cr,ariaMultiLine:cr,ariaMultiSelectable:cr,ariaOrientation:null,ariaOwns:zt,ariaPlaceholder:null,ariaPosInSet:ue,ariaPressed:cr,ariaReadOnly:cr,ariaRelevant:null,ariaRequired:cr,ariaRoleDescription:zt,ariaRowCount:ue,ariaRowIndex:ue,ariaRowSpan:ue,ariaSelected:cr,ariaSetSize:ue,ariaSort:null,ariaValueMax:ue,ariaValueMin:ue,ariaValueNow:ue,ariaValueText:null,role:null}}),$ue=fd({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:BG,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Sf,acceptCharset:zt,accessKey:zt,action:null,allow:null,allowFullScreen:et,allowPaymentRequest:et,allowUserMedia:et,alt:null,as:null,async:et,autoCapitalize:null,autoComplete:zt,autoFocus:et,autoPlay:et,blocking:zt,capture:et,charSet:null,checked:et,cite:null,className:zt,cols:ue,colSpan:null,content:null,contentEditable:cr,controls:et,controlsList:zt,coords:ue|Sf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:et,defer:et,dir:null,dirName:null,disabled:et,download:EG,draggable:cr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:et,formTarget:null,headers:zt,height:ue,hidden:et,high:ue,href:null,hrefLang:null,htmlFor:zt,httpEquiv:zt,id:null,imageSizes:null,imageSrcSet:null,inert:et,inputMode:null,integrity:null,is:null,isMap:et,itemId:null,itemProp:zt,itemRef:zt,itemScope:et,itemType:zt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:et,low:ue,manifest:null,max:null,maxLength:ue,media:null,method:null,min:null,minLength:ue,multiple:et,muted:et,name:null,nonce:null,noModule:et,noValidate:et,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:et,optimum:ue,pattern:null,ping:zt,placeholder:null,playsInline:et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:et,referrerPolicy:null,rel:zt,required:et,reversed:et,rows:ue,rowSpan:ue,sandbox:zt,scope:null,scoped:et,seamless:et,selected:et,shape:null,size:ue,sizes:null,slot:null,span:ue,spellCheck:cr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ue,step:null,style:null,tabIndex:ue,target:null,title:null,translate:null,type:null,typeMustMatch:et,useMap:null,value:cr,width:ue,wrap:null,align:null,aLink:null,archive:zt,axis:null,background:null,bgColor:null,border:ue,borderColor:null,bottomMargin:ue,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:et,declare:et,event:null,face:null,frame:null,frameBorder:null,hSpace:ue,leftMargin:ue,link:null,longDesc:null,lowSrc:null,marginHeight:ue,marginWidth:ue,noResize:et,noHref:et,noShade:et,noWrap:et,object:null,profile:null,prompt:null,rev:null,rightMargin:ue,rules:null,scheme:null,scrolling:cr,standby:null,summary:null,text:null,topMargin:ue,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ue,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:et,disableRemotePlayback:et,prefix:null,property:null,results:ue,security:null,unselectable:null}}),Vue=fd({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:zG,properties:{about:Gn,accentHeight:ue,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ue,amplitude:ue,arabicForm:null,ascent:ue,attributeName:null,attributeType:null,azimuth:ue,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ue,by:null,calcMode:null,capHeight:ue,className:zt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ue,diffuseConstant:ue,direction:null,display:null,dur:null,divisor:ue,dominantBaseline:null,download:et,dx:null,dy:null,edgeMode:null,editable:null,elevation:ue,enableBackground:null,end:null,event:null,exponent:ue,externalResourcesRequired:null,fill:null,fillOpacity:ue,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Sf,g2:Sf,glyphName:Sf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ue,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ue,horizOriginX:ue,horizOriginY:ue,id:null,ideographic:ue,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ue,k:ue,k1:ue,k2:ue,k3:ue,k4:ue,kernelMatrix:Gn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ue,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ue,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ue,overlineThickness:ue,paintOrder:null,panose1:null,path:null,pathLength:ue,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:zt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ue,pointsAtY:ue,pointsAtZ:ue,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Gn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Gn,rev:Gn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Gn,requiredFeatures:Gn,requiredFonts:Gn,requiredFormats:Gn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ue,specularExponent:ue,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ue,strikethroughThickness:ue,string:null,stroke:null,strokeDashArray:Gn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ue,strokeOpacity:ue,strokeWidth:null,style:null,surfaceScale:ue,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Gn,tabIndex:ue,tableValues:null,target:null,targetX:ue,targetY:ue,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Gn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ue,underlineThickness:ue,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ue,values:null,vAlphabetic:ue,vMathematical:ue,vectorEffect:null,vHanging:ue,vIdeographic:ue,version:null,vertAdvY:ue,vertOriginX:ue,vertOriginY:ue,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ue,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Gue=/^data[-\w.:]+$/i,dE=/-[a-z]/g,Hue=/[A-Z]/g;function Wue(e,t){const r=BT(t);let n=t,i=zi;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Gue.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(dE,Uue);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!dE.test(a)){let o=a.replace(Hue,jue);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Ek}return new i(n,t)}function jue(e){return"-"+e.toLowerCase()}function Uue(e){return e.charAt(1).toUpperCase()}const Yue={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Xue=LG([NG,OG,FG,$G,$ue],"html"),VG=LG([NG,OG,FG,$G,Vue],"svg");function que(e){return e.join(" ").trim()}var Ok={exports:{}},hE=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Zue=/\n/g,Kue=/^\s*/,Que=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Jue=/^:\s*/,ece=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,tce=/^[;\s]*/,rce=/^\s+|\s+$/g,nce=`
143
143
  `,pE="/",vE="*",Xl="",ice="comment",ace="declaration",oce=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function i(p){var v=p.match(Zue);v&&(r+=v.length);var g=p.lastIndexOf(nce);n=~g?p.length-g:n+p.length}function a(){var p={line:r,column:n};return function(v){return v.position=new o(p),u(),v}}function o(p){this.start=p,this.end={line:r,column:n},this.source=t.source}o.prototype.content=e;function s(p){var v=new Error(t.source+":"+r+":"+n+": "+p);if(v.reason=p,v.filename=t.source,v.line=r,v.column=n,v.source=e,!t.silent)throw v}function l(p){var v=p.exec(e);if(v){var g=v[0];return i(g),e=e.slice(g.length),v}}function u(){l(Kue)}function c(p){var v;for(p=p||[];v=f();)v!==!1&&p.push(v);return p}function f(){var p=a();if(!(pE!=e.charAt(0)||vE!=e.charAt(1))){for(var v=2;Xl!=e.charAt(v)&&(vE!=e.charAt(v)||pE!=e.charAt(v+1));)++v;if(v+=2,Xl===e.charAt(v-1))return s("End of comment missing");var g=e.slice(2,v-2);return n+=2,i(g),e=e.slice(v),n+=2,p({type:ice,comment:g})}}function d(){var p=a(),v=l(Que);if(v){if(f(),!l(Jue))return s("property missing ':'");var g=l(ece),m=p({type:ace,property:gE(v[0].replace(hE,Xl)),value:g?gE(g[0].replace(hE,Xl)):Xl});return l(tce),m}}function h(){var p=[];c(p);for(var v;v=d();)v!==!1&&(p.push(v),c(p));return p}return u(),h()};function gE(e){return e?e.replace(rce,Xl):Xl}var sce=oce;function GG(e,t){var r=null;if(!e||typeof e!="string")return r;for(var n,i=sce(e),a=typeof t=="function",o,s,l=0,u=i.length;l<u;l++)n=i[l],o=n.property,s=n.value,a?t(o,s,n):s&&(r||(r={}),r[o]=s);return r}Ok.exports=GG;Ok.exports.default=GG;var lce=Ok.exports;const uce=z1(lce),HG=WG("end"),Nk=WG("start");function WG(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function cce(e){const t=Nk(e),r=HG(e);if(t&&r)return{start:t,end:r}}function pp(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?mE(e.position):"start"in e||"end"in e?mE(e):"line"in e||"column"in e?$T(e):""}function $T(e){return yE(e&&e.line)+":"+yE(e&&e.column)}function mE(e){return $T(e&&e.start)+"-"+$T(e&&e.end)}function yE(e){return e&&typeof e=="number"?e:1}class yn extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},o=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?a.ruleId=n:(a.source=n.slice(0,l),a.ruleId=n.slice(l+1))}if(!a.place&&a.ancestors&&a.ancestors){const l=a.ancestors[a.ancestors.length-1];l&&(a.place=l.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=pp(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}yn.prototype.file="";yn.prototype.name="";yn.prototype.reason="";yn.prototype.message="";yn.prototype.stack="";yn.prototype.column=void 0;yn.prototype.line=void 0;yn.prototype.ancestors=void 0;yn.prototype.cause=void 0;yn.prototype.fatal=void 0;yn.prototype.place=void 0;yn.prototype.ruleId=void 0;yn.prototype.source=void 0;const zk={}.hasOwnProperty,fce=new Map,dce=/[A-Z]/g,hce=/-([a-z])/g,pce=new Set(["table","tbody","thead","tfoot","tr"]),vce=new Set(["td","th"]);function gce(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=yce(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=mce(r,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?VG:Xue,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=jG(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function jG(e,t,r){if(t.type==="element"||t.type==="root"){const n=e.schema;let i=n;t.type==="element"&&t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(i=VG,e.schema=i),e.ancestors.push(t);let a=xce(e,t);const o=Sce(e,e.ancestors);let s=e.Fragment;if(e.ancestors.pop(),t.type==="element")if(a&&pce.has(t.tagName)&&(a=a.filter(function(l){return typeof l=="string"?!zue(l):!0})),zk.call(e.components,t.tagName)){const l=t.tagName;s=e.components[l],typeof s!="string"&&s!==e.Fragment&&e.passNode&&(o.node=t)}else s=t.tagName;if(a.length>0){const l=a.length>1?a:a[0];l&&(o.children=l)}return e.schema=n,e.create(t,s,o,r)}if(t.type==="text")return t.value}function mce(e,t,r){return n;function n(i,a,o,s){const u=Array.isArray(o.children)?r:t;return s?u(a,o,s):u(a,o)}}function yce(e,t){return r;function r(n,i,a,o){const s=Array.isArray(a.children),l=Nk(n);return t(i,a,o,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function xce(e,t){const r=[];let n=-1;const i=e.passKeys?new Map:fce;for(;++n<t.children.length;){const a=t.children[n];let o;if(e.passKeys&&a.type==="element"){const l=i.get(a.tagName)||0;o=a.tagName+"-"+l,i.set(a.tagName,l+1)}const s=jG(e,a,o);s!==void 0&&r.push(s)}return r}function Sce(e,t){const r=t[t.length-1],n={};let i;if("properties"in r&&r.properties){let a;for(i in r.properties)if(i!=="children"&&zk.call(r.properties,i)){const o=bce(e,t,i,r.properties[i]);if(o){const[s,l]=o;e.tableCellAlignToStyle&&s==="align"&&typeof l=="string"&&vce.has(r.tagName)?a=l:n[s]=l}}if(a){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}}return n}function bce(e,t,r,n){const i=Wue(e.schema,r);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?Oue(n):que(n)),i.property==="style"){let a=typeof n=="object"?n:_ce(e,t,String(n));return e.stylePropertyNameCase==="css"&&(a=wce(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&i.space?Yue[i.property]||i.property:i.attribute,n]}}function _ce(e,t,r){const n={};try{uce(r,i)}catch(a){if(!e.ignoreInvalidStyle){const o=a,s=new yn("Cannot parse `style` attribute",{ancestors:t,cause:o,source:"hast-util-to-jsx-runtime",ruleId:"style"});throw s.file=e.filePath||void 0,s.url="https://github.com/syntax-tree/hast-util-to-jsx-runtime#cannot-parse-style-attribute",s}}return n;function i(a,o){let s=a;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace(hce,Tce)),n[s]=o}}function wce(e){const t={};let r;for(r in e)zk.call(e,r)&&(t[Cce(r)]=e[r]);return t}function Cce(e){let t=e.replace(dce,Ace);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Tce(e,t){return t.toUpperCase()}function Ace(e){return"-"+e.toLowerCase()}const Bb={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Mce={};function kce(e,t){const r=Mce,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return UG(e,n,i)}function UG(e,t,r){if(Ice(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return xE(e.children,t,r)}return Array.isArray(e)?xE(e,t,r):""}function xE(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=UG(e[i],t,r);return n.join("")}function Ice(e){return!!(e&&typeof e=="object")}const SE=document.createElement("i");function Bk(e){const t="&"+e+";";SE.innerHTML=t;const r=SE.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function Qa(e,t,r,n){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),e.splice(...o);else for(r&&e.splice(t,r);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function bi(e,t){return e.length>0?(Qa(e,e.length,0,t),e):t}const bE={}.hasOwnProperty;function Pce(e){const t={};let r=-1;for(;++r<e.length;)Dce(t,e[r]);return t}function Dce(e,t){let r;for(r in t){const i=(bE.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let o;if(a)for(o in a){bE.call(i,o)||(i[o]=[]);const s=a[o];Rce(i[o],Array.isArray(s)?s:s?[s]:[])}}}function Rce(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);Qa(e,0,0,n)}function YG(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCharCode(r)}function bf(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Lce=al(new RegExp("\\p{P}","u")),La=al(/[A-Za-z]/),Yn=al(/[\dA-Za-z]/),Ece=al(/[#-'*+\--9=?A-Z^-~]/);function VT(e){return e!==null&&(e<32||e===127)}const GT=al(/\d/),Oce=al(/[\dA-Fa-f]/),XG=al(/[!-/:-@[-`{-~]/);function We(e){return e!==null&&e<-2}function On(e){return e!==null&&(e<0||e===32)}function wt(e){return e===-2||e===-1||e===32}function Nce(e){return XG(e)||Lce(e)}const zce=al(/\s/);function al(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function dd(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const a=e.charCodeAt(r);let o="";if(a===37&&Yn(e.charCodeAt(r+1))&&Yn(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(r+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(n,r),encodeURIComponent(o)),n=r+i+1,o=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}function Ft(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(l){return wt(l)?(e.enter(r),s(l)):t(l)}function s(l){return wt(l)&&a++<i?(e.consume(l),s):(e.exit(r),t(l))}}const Bce={tokenize:Fce};function Fce(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ft(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return We(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),o)}}const $ce={tokenize:Vce},_E={tokenize:Gce};function Vce(e){const t=this,r=[];let n=0,i,a,o;return s;function s(x){if(n<r.length){const S=r[n];return t.containerState=S[1],e.attempt(S[0].continuation,l,u)(x)}return u(x)}function l(x){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&y();const S=t.events.length;let _=S,b;for(;_--;)if(t.events[_][0]==="exit"&&t.events[_][1].type==="chunkFlow"){b=t.events[_][1].end;break}m(n);let w=S;for(;w<t.events.length;)t.events[w][1].end=Object.assign({},b),w++;return Qa(t.events,_+1,0,t.events.slice(S)),t.events.length=w,u(x)}return s(x)}function u(x){if(n===r.length){if(!i)return d(x);if(i.currentConstruct&&i.currentConstruct.concrete)return p(x);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(_E,c,f)(x)}function c(x){return i&&y(),m(n),d(x)}function f(x){return t.parser.lazy[t.now().line]=n!==r.length,o=t.now().offset,p(x)}function d(x){return t.containerState={},e.attempt(_E,h,p)(x)}function h(x){return n++,r.push([t.currentConstruct,t.containerState]),d(x)}function p(x){if(x===null){i&&y(),m(0),e.consume(x);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),v(x)}function v(x){if(x===null){g(e.exit("chunkFlow"),!0),m(0),e.consume(x);return}return We(x)?(e.consume(x),g(e.exit("chunkFlow")),n=0,t.interrupt=void 0,s):(e.consume(x),v)}function g(x,S){const _=t.sliceStream(x);if(S&&_.push(null),x.previous=a,a&&(a.next=x),a=x,i.defineSkip(x.start),i.write(_),t.parser.lazy[x.start.line]){let b=i.events.length;for(;b--;)if(i.events[b][1].start.offset<o&&(!i.events[b][1].end||i.events[b][1].end.offset>o))return;const w=t.events.length;let C=w,A,T;for(;C--;)if(t.events[C][0]==="exit"&&t.events[C][1].type==="chunkFlow"){if(A){T=t.events[C][1].end;break}A=!0}for(m(n),b=w;b<t.events.length;)t.events[b][1].end=Object.assign({},T),b++;Qa(t.events,C+1,0,t.events.slice(w)),t.events.length=b}}function m(x){let S=r.length;for(;S-- >x;){const _=r[S];t.containerState=_[1],_[0].exit.call(t,e)}r.length=x}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Gce(e,t,r){return Ft(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wE(e){if(e===null||On(e)||zce(e))return 1;if(Nce(e))return 2}function Fk(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const HT={name:"attention",tokenize:Wce,resolveAll:Hce};function Hce(e,t){let r=-1,n,i,a,o,s,l,u,c;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[r][1].start);CE(f,-l),CE(d,l),o={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[r][1].start),end:d},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},o.start),e[r][1].start=Object.assign({},s.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=bi(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=bi(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=bi(u,Fk(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=bi(u,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(c=2,u=bi(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):c=0,Qa(e,n-1,r-n+3,u),r=n+u.length-c-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Wce(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=wE(n);let a;return o;function o(l){return a=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===a)return e.consume(l),s;const u=e.exit("attentionSequence"),c=wE(l),f=!c||c===2&&i||r.includes(l),d=!i||i===2&&c||r.includes(n);return u._open=!!(a===42?f:f&&(i||!d)),u._close=!!(a===42?d:d&&(c||!f)),t(l)}}function CE(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const jce={name:"autolink",tokenize:Uce};function Uce(e,t,r){let n=0;return i;function i(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(h){return La(h)?(e.consume(h),o):u(h)}function o(h){return h===43||h===45||h===46||Yn(h)?(n=1,s(h)):u(h)}function s(h){return h===58?(e.consume(h),n=0,l):(h===43||h===45||h===46||Yn(h))&&n++<32?(e.consume(h),s):(n=0,u(h))}function l(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||VT(h)?r(h):(e.consume(h),l)}function u(h){return h===64?(e.consume(h),c):Ece(h)?(e.consume(h),u):r(h)}function c(h){return Yn(h)?f(h):r(h)}function f(h){return h===46?(e.consume(h),n=0,c):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):d(h)}function d(h){if((h===45||Yn(h))&&n++<63){const p=h===45?d:f;return e.consume(h),p}return r(h)}}const Kx={tokenize:Yce,partial:!0};function Yce(e,t,r){return n;function n(a){return wt(a)?Ft(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||We(a)?t(a):r(a)}}const qG={name:"blockQuote",tokenize:Xce,continuation:{tokenize:qce},exit:Zce};function Xce(e,t,r){const n=this;return i;function i(o){if(o===62){const s=n.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return r(o)}function a(o){return wt(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function qce(e,t,r){const n=this;return i;function i(o){return wt(o)?Ft(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(qG,t,r)(o)}}function Zce(e){e.exit("blockQuote")}const ZG={name:"characterEscape",tokenize:Kce};function Kce(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return XG(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const KG={name:"characterReference",tokenize:Qce};function Qce(e,t,r){const n=this;let i=0,a,o;return s;function s(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,o=Yn,c(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=Oce,c):(e.enter("characterReferenceValue"),a=7,o=GT,c(f))}function c(f){if(f===59&&i){const d=e.exit("characterReferenceValue");return o===Yn&&!Bk(n.sliceSerialize(d))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&i++<a?(e.consume(f),c):r(f)}}const TE={tokenize:efe,partial:!0},AE={name:"codeFenced",tokenize:Jce,concrete:!0};function Jce(e,t,r){const n=this,i={tokenize:_,partial:!0};let a=0,o=0,s;return l;function l(b){return u(b)}function u(b){const w=n.events[n.events.length-1];return a=w&&w[1].type==="linePrefix"?w[2].sliceSerialize(w[1],!0).length:0,s=b,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(b)}function c(b){return b===s?(o++,e.consume(b),c):o<3?r(b):(e.exit("codeFencedFenceSequence"),wt(b)?Ft(e,f,"whitespace")(b):f(b))}function f(b){return b===null||We(b)?(e.exit("codeFencedFence"),n.interrupt?t(b):e.check(TE,v,S)(b)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(b))}function d(b){return b===null||We(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(b)):wt(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ft(e,h,"whitespace")(b)):b===96&&b===s?r(b):(e.consume(b),d)}function h(b){return b===null||We(b)?f(b):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||We(b)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(b)):b===96&&b===s?r(b):(e.consume(b),p)}function v(b){return e.attempt(i,S,g)(b)}function g(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),m}function m(b){return a>0&&wt(b)?Ft(e,y,"linePrefix",a+1)(b):y(b)}function y(b){return b===null||We(b)?e.check(TE,v,S)(b):(e.enter("codeFlowValue"),x(b))}function x(b){return b===null||We(b)?(e.exit("codeFlowValue"),y(b)):(e.consume(b),x)}function S(b){return e.exit("codeFenced"),t(b)}function _(b,w,C){let A=0;return T;function T(L){return b.enter("lineEnding"),b.consume(L),b.exit("lineEnding"),M}function M(L){return b.enter("codeFencedFence"),wt(L)?Ft(b,k,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):k(L)}function k(L){return L===s?(b.enter("codeFencedFenceSequence"),I(L)):C(L)}function I(L){return L===s?(A++,b.consume(L),I):A>=o?(b.exit("codeFencedFenceSequence"),wt(L)?Ft(b,R,"whitespace")(L):R(L)):C(L)}function R(L){return L===null||We(L)?(b.exit("codeFencedFence"),w(L)):C(L)}}}function efe(e,t,r){const n=this;return i;function i(o){return o===null?r(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}const Fb={name:"codeIndented",tokenize:rfe},tfe={tokenize:nfe,partial:!0};function rfe(e,t,r){const n=this;return i;function i(u){return e.enter("codeIndented"),Ft(e,a,"linePrefix",5)(u)}function a(u){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(u):r(u)}function o(u){return u===null?l(u):We(u)?e.attempt(tfe,o,l)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||We(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),s)}function l(u){return e.exit("codeIndented"),t(u)}}function nfe(e,t,r){const n=this;return i;function i(o){return n.parser.lazy[n.now().line]?r(o):We(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Ft(e,a,"linePrefix",5)(o)}function a(o){const s=n.events[n.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):We(o)?i(o):r(o)}}const ife={name:"codeText",tokenize:sfe,resolve:afe,previous:ofe};function afe(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function ofe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function sfe(e,t,r){let n=0,i,a;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),s(f)}function s(f){return f===96?(e.consume(f),n++,s):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?r(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(a=e.enter("codeTextSequence"),i=0,c(f)):We(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||We(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),u)}function c(f){return f===96?(e.consume(f),i++,c):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",u(f))}}function QG(e){const t={};let r=-1,n,i,a,o,s,l,u;for(;++r<e.length;){for(;r in t;)r=t[r];if(n=e[r],r&&n[1].type==="chunkFlow"&&e[r-1][1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,a=0,a<l.length&&l[a][1].type==="lineEndingBlank"&&(a+=2),a<l.length&&l[a][1].type==="content"))for(;++a<l.length&&l[a][1].type!=="content";)l[a][1].type==="chunkText"&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,lfe(e,r)),r=t[r],u=!0);else if(n[1]._container){for(a=r,i=void 0;a--&&(o=e[a],o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);i&&(n[1].end=Object.assign({},e[i][1].start),s=e.slice(i,r),s.unshift(n),Qa(e,i,r-i+1,s))}}return!u}function lfe(e,t){const r=e[t][1],n=e[t][2];let i=t-1;const a=[],o=r._tokenizer||n.parser[r.contentType](r.start),s=o.events,l=[],u={};let c,f,d=-1,h=r,p=0,v=0;const g=[v];for(;h;){for(;e[++i][1]!==h;);a.push(i),h._tokenizer||(c=n.sliceStream(h),h.next||c.push(null),f&&o.defineSkip(h.start),h._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),h._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=r;++d<s.length;)s[d][0]==="exit"&&s[d-1][0]==="enter"&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(v=d+1,g.push(v),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(o.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),d=g.length;d--;){const m=s.slice(g[d],g[d+1]),y=a.pop();l.unshift([y,y+m.length-1]),Qa(e,y,2,m)}for(d=-1;++d<l.length;)u[p+l[d][0]]=p+l[d][1],p+=l[d][1]-l[d][0]-1;return u}const ufe={tokenize:dfe,resolve:ffe},cfe={tokenize:hfe,partial:!0};function ffe(e){return QG(e),e}function dfe(e,t){let r;return n;function n(s){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):We(s)?e.check(cfe,o,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function hfe(e,t,r){const n=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Ft(e,a,"linePrefix")}function a(o){if(o===null||We(o))return r(o);const s=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(n.parser.constructs.flow,r,t)(o)}}function JG(e,t,r,n,i,a,o,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return f;function f(m){return m===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(m),e.exit(a),d):m===null||m===32||m===41||VT(m)?r(m):(e.enter(n),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),v(m))}function d(m){return m===62?(e.enter(a),e.consume(m),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===62?(e.exit("chunkString"),e.exit(s),d(m)):m===null||m===60||We(m)?r(m):(e.consume(m),m===92?p:h)}function p(m){return m===60||m===62||m===92?(e.consume(m),h):h(m)}function v(m){return!c&&(m===null||m===41||On(m))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(n),t(m)):c<u&&m===40?(e.consume(m),c++,v):m===41?(e.consume(m),c--,v):m===null||m===32||m===40||VT(m)?r(m):(e.consume(m),m===92?g:v)}function g(m){return m===40||m===41||m===92?(e.consume(m),v):v(m)}}function eH(e,t,r,n,i,a){const o=this;let s=0,l;return u;function u(h){return e.enter(n),e.enter(i),e.consume(h),e.exit(i),e.enter(a),c}function c(h){return s>999||h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?r(h):h===93?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(n),t):We(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||We(h)||s++>999?(e.exit("chunkString"),c(h)):(e.consume(h),l||(l=!wt(h)),h===92?d:f)}function d(h){return h===91||h===92||h===93?(e.consume(h),s++,f):f(h)}}function tH(e,t,r,n,i,a){let o;return s;function s(d){return d===34||d===39||d===40?(e.enter(n),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,l):r(d)}function l(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(n),t):(e.enter(a),u(d))}function u(d){return d===o?(e.exit(a),l(o)):d===null?r(d):We(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Ft(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||We(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(e.consume(d),c):c(d)}}function vp(e,t){let r;return n;function n(i){return We(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):wt(i)?Ft(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}const pfe={name:"definition",tokenize:gfe},vfe={tokenize:mfe,partial:!0};function gfe(e,t,r){const n=this;let i;return a;function a(h){return e.enter("definition"),o(h)}function o(h){return eH.call(n,e,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function s(h){return i=bf(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),l):r(h)}function l(h){return On(h)?vp(e,u)(h):u(h)}function u(h){return JG(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function c(h){return e.attempt(vfe,f,f)(h)}function f(h){return wt(h)?Ft(e,d,"whitespace")(h):d(h)}function d(h){return h===null||We(h)?(e.exit("definition"),n.parser.defined.push(i),t(h)):r(h)}}function mfe(e,t,r){return n;function n(s){return On(s)?vp(e,i)(s):r(s)}function i(s){return tH(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return wt(s)?Ft(e,o,"whitespace")(s):o(s)}function o(s){return s===null||We(s)?t(s):r(s)}}const yfe={name:"hardBreakEscape",tokenize:xfe};function xfe(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return We(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const Sfe={name:"headingAtx",tokenize:_fe,resolve:bfe};function bfe(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},Qa(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function _fe(e,t,r){let n=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&n++<6?(e.consume(c),o):c===null||On(c)?(e.exit("atxHeadingSequence"),s(c)):r(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||We(c)?(e.exit("atxHeading"),t(c)):wt(c)?Ft(e,s,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||On(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),u)}}const wfe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ME=["pre","script","style","textarea"],Cfe={name:"htmlFlow",tokenize:kfe,resolveTo:Mfe,concrete:!0},Tfe={tokenize:Pfe,partial:!0},Afe={tokenize:Ife,partial:!0};function Mfe(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function kfe(e,t,r){const n=this;let i,a,o,s,l;return u;function u(F){return c(F)}function c(F){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(F),f}function f(F){return F===33?(e.consume(F),d):F===47?(e.consume(F),a=!0,v):F===63?(e.consume(F),i=3,n.interrupt?t:E):La(F)?(e.consume(F),o=String.fromCharCode(F),g):r(F)}function d(F){return F===45?(e.consume(F),i=2,h):F===91?(e.consume(F),i=5,s=0,p):La(F)?(e.consume(F),i=4,n.interrupt?t:E):r(F)}function h(F){return F===45?(e.consume(F),n.interrupt?t:E):r(F)}function p(F){const Y="CDATA[";return F===Y.charCodeAt(s++)?(e.consume(F),s===Y.length?n.interrupt?t:k:p):r(F)}function v(F){return La(F)?(e.consume(F),o=String.fromCharCode(F),g):r(F)}function g(F){if(F===null||F===47||F===62||On(F)){const Y=F===47,J=o.toLowerCase();return!Y&&!a&&ME.includes(J)?(i=1,n.interrupt?t(F):k(F)):wfe.includes(o.toLowerCase())?(i=6,Y?(e.consume(F),m):n.interrupt?t(F):k(F)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(F):a?y(F):x(F))}return F===45||Yn(F)?(e.consume(F),o+=String.fromCharCode(F),g):r(F)}function m(F){return F===62?(e.consume(F),n.interrupt?t:k):r(F)}function y(F){return wt(F)?(e.consume(F),y):T(F)}function x(F){return F===47?(e.consume(F),T):F===58||F===95||La(F)?(e.consume(F),S):wt(F)?(e.consume(F),x):T(F)}function S(F){return F===45||F===46||F===58||F===95||Yn(F)?(e.consume(F),S):_(F)}function _(F){return F===61?(e.consume(F),b):wt(F)?(e.consume(F),_):x(F)}function b(F){return F===null||F===60||F===61||F===62||F===96?r(F):F===34||F===39?(e.consume(F),l=F,w):wt(F)?(e.consume(F),b):C(F)}function w(F){return F===l?(e.consume(F),l=null,A):F===null||We(F)?r(F):(e.consume(F),w)}function C(F){return F===null||F===34||F===39||F===47||F===60||F===61||F===62||F===96||On(F)?_(F):(e.consume(F),C)}function A(F){return F===47||F===62||wt(F)?x(F):r(F)}function T(F){return F===62?(e.consume(F),M):r(F)}function M(F){return F===null||We(F)?k(F):wt(F)?(e.consume(F),M):r(F)}function k(F){return F===45&&i===2?(e.consume(F),N):F===60&&i===1?(e.consume(F),$):F===62&&i===4?(e.consume(F),G):F===63&&i===3?(e.consume(F),E):F===93&&i===5?(e.consume(F),V):We(F)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Tfe,W,I)(F)):F===null||We(F)?(e.exit("htmlFlowData"),I(F)):(e.consume(F),k)}function I(F){return e.check(Afe,R,W)(F)}function R(F){return e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),L}function L(F){return F===null||We(F)?I(F):(e.enter("htmlFlowData"),k(F))}function N(F){return F===45?(e.consume(F),E):k(F)}function $(F){return F===47?(e.consume(F),o="",z):k(F)}function z(F){if(F===62){const Y=o.toLowerCase();return ME.includes(Y)?(e.consume(F),G):k(F)}return La(F)&&o.length<8?(e.consume(F),o+=String.fromCharCode(F),z):k(F)}function V(F){return F===93?(e.consume(F),E):k(F)}function E(F){return F===62?(e.consume(F),G):F===45&&i===2?(e.consume(F),E):k(F)}function G(F){return F===null||We(F)?(e.exit("htmlFlowData"),W(F)):(e.consume(F),G)}function W(F){return e.exit("htmlFlow"),t(F)}}function Ife(e,t,r){const n=this;return i;function i(o){return We(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):r(o)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function Pfe(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Kx,t,r)}}const Dfe={name:"htmlText",tokenize:Rfe};function Rfe(e,t,r){const n=this;let i,a,o;return s;function s(E){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(E),l}function l(E){return E===33?(e.consume(E),u):E===47?(e.consume(E),_):E===63?(e.consume(E),x):La(E)?(e.consume(E),C):r(E)}function u(E){return E===45?(e.consume(E),c):E===91?(e.consume(E),a=0,p):La(E)?(e.consume(E),y):r(E)}function c(E){return E===45?(e.consume(E),h):r(E)}function f(E){return E===null?r(E):E===45?(e.consume(E),d):We(E)?(o=f,$(E)):(e.consume(E),f)}function d(E){return E===45?(e.consume(E),h):f(E)}function h(E){return E===62?N(E):E===45?d(E):f(E)}function p(E){const G="CDATA[";return E===G.charCodeAt(a++)?(e.consume(E),a===G.length?v:p):r(E)}function v(E){return E===null?r(E):E===93?(e.consume(E),g):We(E)?(o=v,$(E)):(e.consume(E),v)}function g(E){return E===93?(e.consume(E),m):v(E)}function m(E){return E===62?N(E):E===93?(e.consume(E),m):v(E)}function y(E){return E===null||E===62?N(E):We(E)?(o=y,$(E)):(e.consume(E),y)}function x(E){return E===null?r(E):E===63?(e.consume(E),S):We(E)?(o=x,$(E)):(e.consume(E),x)}function S(E){return E===62?N(E):x(E)}function _(E){return La(E)?(e.consume(E),b):r(E)}function b(E){return E===45||Yn(E)?(e.consume(E),b):w(E)}function w(E){return We(E)?(o=w,$(E)):wt(E)?(e.consume(E),w):N(E)}function C(E){return E===45||Yn(E)?(e.consume(E),C):E===47||E===62||On(E)?A(E):r(E)}function A(E){return E===47?(e.consume(E),N):E===58||E===95||La(E)?(e.consume(E),T):We(E)?(o=A,$(E)):wt(E)?(e.consume(E),A):N(E)}function T(E){return E===45||E===46||E===58||E===95||Yn(E)?(e.consume(E),T):M(E)}function M(E){return E===61?(e.consume(E),k):We(E)?(o=M,$(E)):wt(E)?(e.consume(E),M):A(E)}function k(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(e.consume(E),i=E,I):We(E)?(o=k,$(E)):wt(E)?(e.consume(E),k):(e.consume(E),R)}function I(E){return E===i?(e.consume(E),i=void 0,L):E===null?r(E):We(E)?(o=I,$(E)):(e.consume(E),I)}function R(E){return E===null||E===34||E===39||E===60||E===61||E===96?r(E):E===47||E===62||On(E)?A(E):(e.consume(E),R)}function L(E){return E===47||E===62||On(E)?A(E):r(E)}function N(E){return E===62?(e.consume(E),e.exit("htmlTextData"),e.exit("htmlText"),t):r(E)}function $(E){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),z}function z(E){return wt(E)?Ft(e,V,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):V(E)}function V(E){return e.enter("htmlTextData"),o(E)}}const $k={name:"labelEnd",tokenize:Bfe,resolveTo:zfe,resolveAll:Nfe},Lfe={tokenize:Ffe},Efe={tokenize:$fe},Ofe={tokenize:Vfe};function Nfe(e){let t=-1;for(;++t<e.length;){const r=e[t][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(e.splice(t+1,r.type==="labelImage"?4:2),r.type="data",t++)}return e}function zfe(e,t){let r=e.length,n=0,i,a,o,s;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(o=r);const l={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},c={type:"labelText",start:Object.assign({},e[a+n+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[["enter",l,t],["enter",u,t]],s=bi(s,e.slice(a+1,a+n+3)),s=bi(s,[["enter",c,t]]),s=bi(s,Fk(t.parser.constructs.insideSpan.null,e.slice(a+n+4,o-3),t)),s=bi(s,[["exit",c,t],e[o-2],e[o-1],["exit",u,t]]),s=bi(s,e.slice(o+1)),s=bi(s,[["exit",l,t]]),Qa(e,a,e.length,s),e}function Bfe(e,t,r){const n=this;let i=n.events.length,a,o;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return s;function s(d){return a?a._inactive?f(d):(o=n.parser.defined.includes(bf(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),l):r(d)}function l(d){return d===40?e.attempt(Lfe,c,o?c:f)(d):d===91?e.attempt(Efe,c,o?u:f)(d):o?c(d):f(d)}function u(d){return e.attempt(Ofe,c,f)(d)}function c(d){return t(d)}function f(d){return a._balanced=!0,r(d)}}function Ffe(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return On(f)?vp(e,a)(f):a(f)}function a(f){return f===41?c(f):JG(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return On(f)?vp(e,l)(f):c(f)}function s(f){return r(f)}function l(f){return f===34||f===39||f===40?tH(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function u(f){return On(f)?vp(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function $fe(e,t,r){const n=this;return i;function i(s){return eH.call(n,e,a,o,"reference","referenceMarker","referenceString")(s)}function a(s){return n.parser.defined.includes(bf(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(s):r(s)}function o(s){return r(s)}}function Vfe(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const Gfe={name:"labelStartImage",tokenize:Hfe,resolveAll:$k.resolveAll};function Hfe(e,t,r){const n=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):r(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const Wfe={name:"labelStartLink",tokenize:jfe,resolveAll:$k.resolveAll};function jfe(e,t,r){const n=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const $b={name:"lineEnding",tokenize:Ufe};function Ufe(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Ft(e,t,"linePrefix")}}const Py={name:"thematicBreak",tokenize:Yfe};function Yfe(e,t,r){let n=0,i;return a;function a(u){return e.enter("thematicBreak"),o(u)}function o(u){return i=u,s(u)}function s(u){return u===i?(e.enter("thematicBreakSequence"),l(u)):n>=3&&(u===null||We(u))?(e.exit("thematicBreak"),t(u)):r(u)}function l(u){return u===i?(e.consume(u),n++,l):(e.exit("thematicBreakSequence"),wt(u)?Ft(e,s,"whitespace")(u):s(u))}}const _n={name:"list",tokenize:Zfe,continuation:{tokenize:Kfe},exit:Jfe},Xfe={tokenize:ede,partial:!0},qfe={tokenize:Qfe,partial:!0};function Zfe(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(h){const p=n.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!n.containerState.marker||h===n.containerState.marker:GT(h)){if(n.containerState.type||(n.containerState.type=p,e.enter(p,{_container:!0})),p==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(Py,r,u)(h):u(h);if(!n.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(h)}return r(h)}function l(h){return GT(h)&&++o<10?(e.consume(h),l):(!n.interrupt||o<2)&&(n.containerState.marker?h===n.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),u(h)):r(h)}function u(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||h,e.check(Kx,n.interrupt?r:c,e.attempt(Xfe,d,f))}function c(h){return n.containerState.initialBlankLine=!0,a++,d(h)}function f(h){return wt(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),d):r(h)}function d(h){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function Kfe(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Kx,i,a);function i(s){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Ft(e,t,"listItemIndent",n.containerState.size+1)(s)}function a(s){return n.containerState.furtherBlankLines||!wt(s)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(s)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(qfe,t,o)(s))}function o(s){return n.containerState._closeFlow=!0,n.interrupt=void 0,Ft(e,e.attempt(_n,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Qfe(e,t,r){const n=this;return Ft(e,i,"listItemIndent",n.containerState.size+1);function i(a){const o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?t(a):r(a)}}function Jfe(e){e.exit(this.containerState.type)}function ede(e,t,r){const n=this;return Ft(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=n.events[n.events.length-1];return!wt(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const kE={name:"setextUnderline",tokenize:rde,resolveTo:tde};function tde(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const o={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=o,e.push(["exit",o,t]),e}function rde(e,t,r){const n=this;let i;return a;function a(u){let c=n.events.length,f;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){f=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),i=u,o(u)):r(u)}function o(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),wt(u)?Ft(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||We(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}const nde={tokenize:ide};function ide(e){const t=this,r=e.attempt(Kx,n,e.attempt(this.parser.constructs.flowInitial,i,Ft(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ufe,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const ade={resolveAll:nH()},ode=rH("string"),sde=rH("text");function rH(e){return{tokenize:t,resolveAll:nH(e==="text"?lde:void 0)};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,o,s);return o;function o(c){return u(c)?a(c):s(c)}function s(c){if(c===null){r.consume(c);return}return r.enter("data"),r.consume(c),l}function l(c){return u(c)?(r.exit("data"),a(c)):(r.consume(c),l)}function u(c){if(c===null)return!0;const f=i[c];let d=-1;if(f)for(;++d<f.length;){const h=f[d];if(!h.previous||h.previous.call(n,n.previous))return!0}return!1}}}function nH(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function lde(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,o=-1,s=0,l;for(;a--;){const u=i[a];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(u===-2)l=!0,s++;else if(u!==-1){a++;break}}if(s){const u={type:r===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-s,offset:n.end.offset-s,_index:n.start._index+a,_bufferIndex:a?o:n.start._bufferIndex+o},end:Object.assign({},n.end)};n.end=Object.assign({},u.start),n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}function ude(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let o=[],s=[];const l={consume:y,enter:x,exit:S,attempt:w(_),check:w(b),interrupt:w(b,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:d,now:p,defineSkip:v,write:f};let c=t.tokenize.call(u,l);return t.resolveAll&&a.push(t),u;function f(M){return o=bi(o,M),g(),o[o.length-1]!==null?[]:(C(t,0),u.events=Fk(a,u.events,u),u.events)}function d(M,k){return fde(h(M),k)}function h(M){return cde(o,M)}function p(){const{line:M,column:k,offset:I,_index:R,_bufferIndex:L}=n;return{line:M,column:k,offset:I,_index:R,_bufferIndex:L}}function v(M){i[M.line]=M.column,T()}function g(){let M;for(;n._index<o.length;){const k=o[n._index];if(typeof k=="string")for(M=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===M&&n._bufferIndex<k.length;)m(k.charCodeAt(n._bufferIndex));else m(k)}}function m(M){c=c(M)}function y(M){We(M)?(n.line++,n.column=1,n.offset+=M===-3?2:1,T()):M!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=M}function x(M,k){const I=k||{};return I.type=M,I.start=p(),u.events.push(["enter",I,u]),s.push(I),I}function S(M){const k=s.pop();return k.end=p(),u.events.push(["exit",k,u]),k}function _(M,k){C(M,k.from)}function b(M,k){k.restore()}function w(M,k){return I;function I(R,L,N){let $,z,V,E;return Array.isArray(R)?W(R):"tokenize"in R?W([R]):G(R);function G(j){return ee;function ee(Q){const te=Q!==null&&j[Q],ae=Q!==null&&j.null,K=[...Array.isArray(te)?te:te?[te]:[],...Array.isArray(ae)?ae:ae?[ae]:[]];return W(K)(Q)}}function W(j){return $=j,z=0,j.length===0?N:F(j[z])}function F(j){return ee;function ee(Q){return E=A(),V=j,j.partial||(u.currentConstruct=j),j.name&&u.parser.constructs.disable.null.includes(j.name)?J():j.tokenize.call(k?Object.assign(Object.create(u),k):u,l,Y,J)(Q)}}function Y(j){return M(V,E),L}function J(j){return E.restore(),++z<$.length?F($[z]):N}}}function C(M,k){M.resolveAll&&!a.includes(M)&&a.push(M),M.resolve&&Qa(u.events,k,u.events.length-k,M.resolve(u.events.slice(k),u)),M.resolveTo&&(u.events=M.resolveTo(u.events,u))}function A(){const M=p(),k=u.previous,I=u.currentConstruct,R=u.events.length,L=Array.from(s);return{restore:N,from:R};function N(){n=M,u.previous=k,u.currentConstruct=I,u.events.length=R,s=L,T()}}function T(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function cde(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(r===i)o=[e[r].slice(n,a)];else{if(o=e.slice(r,i),n>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(n):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function fde(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
144
144
  `;break}case-3:{o=`\r
145
145
  `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,n.push(o)}return n.join("")}const dde={42:_n,43:_n,45:_n,48:_n,49:_n,50:_n,51:_n,52:_n,53:_n,54:_n,55:_n,56:_n,57:_n,62:qG},hde={91:pfe},pde={[-2]:Fb,[-1]:Fb,32:Fb},vde={35:Sfe,42:Py,45:[kE,Py],60:Cfe,61:kE,95:Py,96:AE,126:AE},gde={38:KG,92:ZG},mde={[-5]:$b,[-4]:$b,[-3]:$b,33:Gfe,38:KG,42:HT,60:[jce,Dfe],91:Wfe,92:[yfe,ZG],93:$k,95:HT,96:ife},yde={null:[HT,ade]},xde={null:[42,95]},Sde={null:[]},bde=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:xde,contentInitial:hde,disable:Sde,document:dde,flow:vde,flowInitial:pde,insideSpan:yde,string:gde,text:mde},Symbol.toStringTag,{value:"Module"}));function _de(e){const r=Pce([bde,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:r,content:i(Bce),document:i($ce),flow:i(nde),string:i(ode),text:i(sde)};return n;function i(a){return o;function o(s){return ude(n,a,s)}}}function wde(e){for(;!QG(e););return e}const IE=/[\0\t\n\r]/g;function Cde(){let e=1,t="",r=!0,n;return i;function i(a,o,s){const l=[];let u,c,f,d,h;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),f=0,t="",r&&(a.charCodeAt(0)===65279&&f++,r=void 0);f<a.length;){if(IE.lastIndex=f,u=IE.exec(a),d=u&&u.index!==void 0?u.index:a.length,h=a.charCodeAt(d),!u){t=a.slice(f);break}if(h===10&&f===d&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),f<d&&(l.push(a.slice(f,d)),e+=d-f),h){case 0:{l.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,l.push(-2);e++<c;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:n=!0,e=1}f=d+1}return s&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const Tde=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ade(e){return e.replace(Tde,Mde)}function Mde(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return YG(r.slice(a?2:1),a?16:10)}return Bk(r)||e}const iH={}.hasOwnProperty;function kde(e,t,r){return typeof t!="string"&&(r=t,t=void 0),Ide(r)(wde(_de(r).document().write(Cde()(e,t,!0))))}function Ide(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(rt),autolinkProtocol:A,autolinkEmail:A,atxHeading:a(pe),blockQuote:a(te),characterEscape:A,characterReference:A,codeFenced:a(ae),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(ae,o),codeText:a(K,o),codeTextData:A,data:A,codeFlowValue:A,definition:a(ne),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(me),hardBreakEscape:a(Me),hardBreakTrailing:a(Me),htmlFlow:a(je,o),htmlFlowData:A,htmlText:a(je,o),htmlTextData:A,image:a(Ue),label:o,link:a(rt),listItem:a(st),listItemValue:d,listOrdered:a(ot,f),listUnordered:a(ot),paragraph:a(Xe),reference:F,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(pe),strong:a(Vt),thematicBreak:a(lt)},exit:{atxHeading:l(),atxHeadingSequence:_,autolink:l(),autolinkEmail:Q,autolinkProtocol:ee,blockQuote:l(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:J,characterReferenceMarkerNumeric:J,characterReferenceValue:j,codeFenced:l(g),codeFencedFence:v,codeFencedFenceInfo:h,codeFencedFenceMeta:p,codeFlowValue:T,codeIndented:l(m),codeText:l(L),codeTextData:T,data:T,definition:l(),definitionDestinationString:S,definitionLabelString:y,definitionTitleString:x,emphasis:l(),hardBreakEscape:l(k),hardBreakTrailing:l(k),htmlFlow:l(I),htmlFlowData:T,htmlText:l(R),htmlTextData:T,image:l($),label:V,labelText:z,lineEnding:M,link:l(N),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Y,resourceDestinationString:E,resourceTitleString:G,resource:W,setextHeading:l(C),setextHeadingLineSequence:w,setextHeadingText:b,strong:l(),thematicBreak:l()}};aH(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(X){let ie={type:"root",children:[]};const Pe={stack:[ie],tokenStack:[],config:t,enter:s,exit:u,buffer:o,resume:c,data:r},be=[];let he=-1;for(;++he<X.length;)if(X[he][1].type==="listOrdered"||X[he][1].type==="listUnordered")if(X[he][0]==="enter")be.push(he);else{const pt=be.pop();he=i(X,pt,he)}for(he=-1;++he<X.length;){const pt=t[X[he][0]];iH.call(pt,X[he][1].type)&&pt[X[he][1].type].call(Object.assign({sliceSerialize:X[he][2].sliceSerialize},Pe),X[he][1])}if(Pe.tokenStack.length>0){const pt=Pe.tokenStack[Pe.tokenStack.length-1];(pt[1]||PE).call(Pe,void 0,pt[0])}for(ie.position={start:qo(X.length>0?X[0][1].start:{line:1,column:1,offset:0}),end:qo(X.length>0?X[X.length-2][1].end:{line:1,column:1,offset:0})},he=-1;++he<t.transforms.length;)ie=t.transforms[he](ie)||ie;return ie}function i(X,ie,Pe){let be=ie-1,he=-1,pt=!1,Qt,_e,it,At;for(;++be<=Pe;){const de=X[be];switch(de[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{de[0]==="enter"?he++:he--,At=void 0;break}case"lineEndingBlank":{de[0]==="enter"&&(Qt&&!At&&!he&&!it&&(it=be),At=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:At=void 0}if(!he&&de[0]==="enter"&&de[1].type==="listItemPrefix"||he===-1&&de[0]==="exit"&&(de[1].type==="listUnordered"||de[1].type==="listOrdered")){if(Qt){let De=be;for(_e=void 0;De--;){const qe=X[De];if(qe[1].type==="lineEnding"||qe[1].type==="lineEndingBlank"){if(qe[0]==="exit")continue;_e&&(X[_e][1].type="lineEndingBlank",pt=!0),qe[1].type="lineEnding",_e=De}else if(!(qe[1].type==="linePrefix"||qe[1].type==="blockQuotePrefix"||qe[1].type==="blockQuotePrefixWhitespace"||qe[1].type==="blockQuoteMarker"||qe[1].type==="listItemIndent"))break}it&&(!_e||it<_e)&&(Qt._spread=!0),Qt.end=Object.assign({},_e?X[_e][1].start:de[1].end),X.splice(_e||be,0,["exit",Qt,de[2]]),be++,Pe++}if(de[1].type==="listItemPrefix"){const De={type:"listItem",_spread:!1,start:Object.assign({},de[1].start),end:void 0};Qt=De,X.splice(be,0,["enter",De,de[2]]),be++,Pe++,it=void 0,At=!0}}}return X[ie][1]._spread=pt,Pe}function a(X,ie){return Pe;function Pe(be){s.call(this,X(be),be),ie&&ie.call(this,be)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(X,ie,Pe){this.stack[this.stack.length-1].children.push(X),this.stack.push(X),this.tokenStack.push([ie,Pe]),X.position={start:qo(ie.start),end:void 0}}function l(X){return ie;function ie(Pe){X&&X.call(this,Pe),u.call(this,Pe)}}function u(X,ie){const Pe=this.stack.pop(),be=this.tokenStack.pop();if(be)be[0].type!==X.type&&(ie?ie.call(this,X,be[0]):(be[1]||PE).call(this,X,be[0]));else throw new Error("Cannot close `"+X.type+"` ("+pp({start:X.start,end:X.end})+"): it’s not open");Pe.position.end=qo(X.end)}function c(){return kce(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(X){if(this.data.expectingFirstListItemValue){const ie=this.stack[this.stack.length-2];ie.start=Number.parseInt(this.sliceSerialize(X),10),this.data.expectingFirstListItemValue=void 0}}function h(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.lang=X}function p(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.meta=X}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.value=X.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function m(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.value=X.replace(/(\r?\n|\r)$/g,"")}function y(X){const ie=this.resume(),Pe=this.stack[this.stack.length-1];Pe.label=ie,Pe.identifier=bf(this.sliceSerialize(X)).toLowerCase()}function x(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.title=X}function S(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.url=X}function _(X){const ie=this.stack[this.stack.length-1];if(!ie.depth){const Pe=this.sliceSerialize(X).length;ie.depth=Pe}}function b(){this.data.setextHeadingSlurpLineEnding=!0}function w(X){const ie=this.stack[this.stack.length-1];ie.depth=this.sliceSerialize(X).codePointAt(0)===61?1:2}function C(){this.data.setextHeadingSlurpLineEnding=void 0}function A(X){const Pe=this.stack[this.stack.length-1].children;let be=Pe[Pe.length-1];(!be||be.type!=="text")&&(be=Tt(),be.position={start:qo(X.start),end:void 0},Pe.push(be)),this.stack.push(be)}function T(X){const ie=this.stack.pop();ie.value+=this.sliceSerialize(X),ie.position.end=qo(X.end)}function M(X){const ie=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Pe=ie.children[ie.children.length-1];Pe.position.end=qo(X.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ie.type)&&(A.call(this,X),T.call(this,X))}function k(){this.data.atHardBreak=!0}function I(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.value=X}function R(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.value=X}function L(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.value=X}function N(){const X=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";X.type+="Reference",X.referenceType=ie,delete X.url,delete X.title}else delete X.identifier,delete X.label;this.data.referenceType=void 0}function $(){const X=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";X.type+="Reference",X.referenceType=ie,delete X.url,delete X.title}else delete X.identifier,delete X.label;this.data.referenceType=void 0}function z(X){const ie=this.sliceSerialize(X),Pe=this.stack[this.stack.length-2];Pe.label=Ade(ie),Pe.identifier=bf(ie).toLowerCase()}function V(){const X=this.stack[this.stack.length-1],ie=this.resume(),Pe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Pe.type==="link"){const be=X.children;Pe.children=be}else Pe.alt=ie}function E(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.url=X}function G(){const X=this.resume(),ie=this.stack[this.stack.length-1];ie.title=X}function W(){this.data.inReference=void 0}function F(){this.data.referenceType="collapsed"}function Y(X){const ie=this.resume(),Pe=this.stack[this.stack.length-1];Pe.label=ie,Pe.identifier=bf(this.sliceSerialize(X)).toLowerCase(),this.data.referenceType="full"}function J(X){this.data.characterReferenceType=X.type}function j(X){const ie=this.sliceSerialize(X),Pe=this.data.characterReferenceType;let be;Pe?(be=YG(ie,Pe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):be=Bk(ie);const he=this.stack.pop();he.value+=be,he.position.end=qo(X.end)}function ee(X){T.call(this,X);const ie=this.stack[this.stack.length-1];ie.url=this.sliceSerialize(X)}function Q(X){T.call(this,X);const ie=this.stack[this.stack.length-1];ie.url="mailto:"+this.sliceSerialize(X)}function te(){return{type:"blockquote",children:[]}}function ae(){return{type:"code",lang:null,meta:null,value:""}}function K(){return{type:"inlineCode",value:""}}function ne(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function me(){return{type:"emphasis",children:[]}}function pe(){return{type:"heading",depth:0,children:[]}}function Me(){return{type:"break"}}function je(){return{type:"html",value:""}}function Ue(){return{type:"image",title:null,url:"",alt:null}}function rt(){return{type:"link",title:null,url:"",children:[]}}function ot(X){return{type:"list",ordered:X.type==="listOrdered",start:null,spread:X._spread,children:[]}}function st(X){return{type:"listItem",spread:X._spread,checked:null,children:[]}}function Xe(){return{type:"paragraph",children:[]}}function Vt(){return{type:"strong",children:[]}}function Tt(){return{type:"text",value:""}}function lt(){return{type:"thematicBreak"}}}function qo(e){return{line:e.line,column:e.column,offset:e.offset}}function aH(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?aH(e,n):Pde(e,n)}}function Pde(e,t){let r;for(r in t)if(iH.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function PE(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+pp({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+pp({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+pp({start:t.start,end:t.end})+") is still open")}function Dde(e){const t=this;t.parser=r;function r(n){return kde(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Rde(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function Lde(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
@@ -152,7 +152,7 @@ ${j.current.stack}
152
152
  `});++n<e.length;)n&&r.push({type:"text",value:`
153
153
  `}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
154
154
  `}),r}function BE(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function FE(e,t){const r=bhe(e,t),n=r.one(e,void 0),i=che(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
155
- `},i),a}function Ahe(e,t){return e&&"run"in e?async function(r,n){const i=FE(r,t);await e.run(i,n)}:function(r){return FE(r,t||e)}}function $E(e){if(e)throw e}var Dy=Object.prototype.hasOwnProperty,pH=Object.prototype.toString,VE=Object.defineProperty,GE=Object.getOwnPropertyDescriptor,HE=function(t){return typeof Array.isArray=="function"?Array.isArray(t):pH.call(t)==="[object Array]"},WE=function(t){if(!t||pH.call(t)!=="[object Object]")return!1;var r=Dy.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&Dy.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var i;for(i in t);return typeof i>"u"||Dy.call(t,i)},jE=function(t,r){VE&&r.name==="__proto__"?VE(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},UE=function(t,r){if(r==="__proto__")if(Dy.call(t,r)){if(GE)return GE(t,r).value}else return;return t[r]},Mhe=function e(){var t,r,n,i,a,o,s=arguments[0],l=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l<u;++l)if(t=arguments[l],t!=null)for(r in t)n=UE(s,r),i=UE(t,r),s!==i&&(c&&i&&(WE(i)||(a=HE(i)))?(a?(a=!1,o=n&&HE(n)?n:[]):o=n&&WE(n)?n:{},jE(s,{name:r,newValue:e(c,o,i)})):typeof i<"u"&&jE(s,{name:r,newValue:i}));return s};const Vb=z1(Mhe);function jT(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function khe(){const e=[],t={run:r,use:n};return t;function r(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(l,...u){const c=e[++a];let f=-1;if(l){o(l);return}for(;++f<i.length;)(u[f]===null||u[f]===void 0)&&(u[f]=i[f]);i=u,c?Ihe(c,s)(...u):o(null,...u)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Ihe(e,t){let r;return n;function n(...o){const s=e.length>o.length;let l;s&&o.push(i);try{l=e.apply(this,o)}catch(u){const c=u;if(s&&r)throw c;return i(c)}s||(l instanceof Promise?l.then(a,i):l instanceof Error?i(l):a(l))}function i(o,...s){r||(r=!0,t(o,...s))}function a(o){i(null,o)}}const Ma={basename:Phe,dirname:Dhe,extname:Rhe,join:Lhe,sep:"/"};function Phe(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ag(e);let r=0,n=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(n=i):(s=-1,n=o));return r===n?n=o:n<0&&(n=e.length),e.slice(r,n)}function Dhe(e){if(ag(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Rhe(e){ag(e);let t=e.length,r=-1,n=0,i=-1,a=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){n=t+1;break}continue}r<0&&(o=!0,r=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)}function Lhe(...e){let t=-1,r;for(;++t<e.length;)ag(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":Ehe(r)}function Ehe(e){ag(e);const t=e.codePointAt(0)===47;let r=Ohe(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function Ohe(e,t){let r="",n=0,i=-1,a=0,o=-1,s,l;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),i=o,a=0;continue}}else if(r.length>0){r="",n=0,i=o,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(i+1,o):r=e.slice(i+1,o),n=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return r}function ag(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Nhe={cwd:zhe};function zhe(){return"/"}function UT(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Bhe(e){if(typeof e=="string")e=new URL(e);else if(!UT(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Fhe(e)}function Fhe(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Gb=["history","path","basename","stem","extname","dirname"];class vH{constructor(t){let r;t?UT(t)?r={path:t}:typeof t=="string"||$he(t)?r={value:t}:r=t:r={},this.cwd=Nhe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Gb.length;){const a=Gb[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)Gb.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Ma.basename(this.path):void 0}set basename(t){Wb(t,"basename"),Hb(t,"basename"),this.path=Ma.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ma.dirname(this.path):void 0}set dirname(t){YE(this.basename,"dirname"),this.path=Ma.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ma.extname(this.path):void 0}set extname(t){if(Hb(t,"extname"),YE(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ma.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){UT(t)&&(t=Bhe(t)),Wb(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ma.basename(this.path,this.extname):void 0}set stem(t){Wb(t,"stem"),Hb(t,"stem"),this.path=Ma.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const i=this.message(t,r,n);throw i.fatal=!0,i}info(t,r,n){const i=this.message(t,r,n);return i.fatal=void 0,i}message(t,r,n){const i=new yn(t,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Hb(e,t){if(e&&e.includes(Ma.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ma.sep+"`")}function Wb(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function YE(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function $he(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Vhe=function(e){const n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};Object.setPrototypeOf(a,n);const o=Object.getOwnPropertyNames(i);for(const s of o){const l=Object.getOwnPropertyDescriptor(i,s);l&&Object.defineProperty(a,s,l)}return a},Ghe={}.hasOwnProperty;class jk extends Vhe{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=khe()}copy(){const t=new jk;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(Vb(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Yb("data",this.frozen),this.namespace[t]=r,this):Ghe.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Yb("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const i=r.call(t,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=lm(t),n=this.parser||this.Parser;return jb("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),jb("process",this.parser||this.Parser),Ub("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,o){const s=lm(t),l=n.parse(s);n.run(l,s,function(c,f,d){if(c||!f||!d)return u(c);const h=f,p=n.stringify(h,d);jhe(p)?d.value=p:d.result=p,u(c,d)});function u(c,f){c||!f?o(c):a?a(f):r(void 0,f)}}}processSync(t){let r=!1,n;return this.freeze(),jb("processSync",this.parser||this.Parser),Ub("processSync",this.compiler||this.Compiler),this.process(t,i),qE("processSync","process",r),n;function i(a,o){r=!0,$E(a),n=o}}run(t,r,n){XE(t),this.freeze();const i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(o,s){const l=lm(r);i.run(t,l,u);function u(c,f,d){const h=f||t;c?s(c):o?o(h):n(void 0,h,d)}}}runSync(t,r){let n=!1,i;return this.run(t,r,a),qE("runSync","run",n),i;function a(o,s){$E(o),i=s,n=!0}}stringify(t,r){this.freeze();const n=lm(r),i=this.compiler||this.Compiler;return Ub("stringify",i),XE(t),i(t,n)}use(t,...r){const n=this.attachers,i=this.namespace;if(Yb("use",this.frozen),t!=null)if(typeof t=="function")l(t,r);else if(typeof t=="object")Array.isArray(t)?s(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(u){if(typeof u=="function")l(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[c,...f]=u;l(c,f)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(u.plugins),u.settings&&(i.settings=Vb(!0,i.settings,u.settings))}function s(u){let c=-1;if(u!=null)if(Array.isArray(u))for(;++c<u.length;){const f=u[c];a(f)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function l(u,c){let f=-1,d=-1;for(;++f<n.length;)if(n[f][0]===u){d=f;break}if(d===-1)n.push([u,...c]);else if(c.length>0){let[h,...p]=c;const v=n[d][1];jT(v)&&jT(h)&&(h=Vb(!0,v,h)),n[d]=[u,h,...p]}}}}const Hhe=new jk().freeze();function jb(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ub(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Yb(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function XE(e){if(!jT(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function qE(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function lm(e){return Whe(e)?e:new vH(e)}function Whe(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function jhe(e){return typeof e=="string"||Uhe(e)}function Uhe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Yhe="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ZE=[],KE={allowDangerousHtml:!0},Xhe=/^(https?|ircs?|mailto|xmpp)$/i,qhe=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Zhe(e){const t=e.allowedElements,r=e.allowElement,n=e.children||"",i=e.className,a=e.components,o=e.disallowedElements,s=e.rehypePlugins||ZE,l=e.remarkPlugins||ZE,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...KE}:KE,c=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Khe,h=Hhe().use(Dde).use(l).use(Ahe,u).use(s),p=new vH;typeof n=="string"&&(p.value=n);for(const y of qhe)Object.hasOwn(e,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+Yhe+y.id,void 0);const v=h.parse(p);let g=h.runSync(v,p);return i&&(g={type:"element",tagName:"div",properties:{className:i},children:g.type==="root"?g.children:[g]}),hH(g,m),gce(g,{Fragment:P.Fragment,components:a,ignoreInvalidStyle:!0,jsx:P.jsx,jsxs:P.jsxs,passKeys:!0,passNode:!0});function m(y,x,S){if(y.type==="raw"&&S&&typeof x=="number")return c?S.children.splice(x,1):S.children[x]={type:"text",value:y.value},x;if(y.type==="element"){let _;for(_ in Bb)if(Object.hasOwn(Bb,_)&&Object.hasOwn(y.properties,_)){const b=y.properties[_],w=Bb[_];(w===null||w.includes(y.tagName))&&(y.properties[_]=d(String(b||""),_,y))}}if(y.type==="element"){let _=t?!t.includes(y.tagName):o?o.includes(y.tagName):!1;if(!_&&r&&typeof x=="number"&&(_=!r(y,x,S)),_&&S&&typeof x=="number")return f&&y.children?S.children.splice(x,1,...y.children):S.children.splice(x,1),x}}}function Khe(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||r>-1&&t>r||n>-1&&t>n||Xhe.test(e.slice(0,t))?e:""}function F0({content:e}){return P.jsx(Zhe,{components:{a:Lr},skipHtml:!1,children:e})}function gH({name:e,label:t,defaultValue:r,choices:n,isSecret:i}){return n?P.jsx(Lk,{defaultValue:r,label:t,name:e,options:n,sx:{width:"100%"}}):typeof r=="boolean"?P.jsx(vG,{control:P.jsx(NT,{defaultChecked:r}),label:P.jsx(F0,{content:t}),name:e}):i?P.jsx(RG,{defaultValue:r,label:t,name:e}):P.jsx(Xf,{defaultValue:r,label:t,name:e,sx:{width:"100%"},type:"text"})}var Uk={},mH={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(mH);var Xu=mH.exports,Xb={};const Qhe=FY(Xte);var QE;function qu(){return QE||(QE=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Qhe}(Xb)),Xb}var Jhe=Xu;Object.defineProperty(Uk,"__esModule",{value:!0});var yH=Uk.default=void 0,epe=Jhe(qu()),tpe=P,rpe=(0,epe.default)((0,tpe.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6z"}),"Brightness4");yH=Uk.default=rpe;var Yk={},npe=Xu;Object.defineProperty(Yk,"__esModule",{value:!0});var xH=Yk.default=void 0,ipe=npe(qu()),ape=P,ope=(0,ipe.default)((0,ape.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm0-10c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}),"Brightness7");xH=Yk.default=ope;const Wa={DARK:"dark",LIGHT:"light"},spe=localStorage.theme===Wa.DARK||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?Wa.DARK:Wa.LIGHT,si=t6,lpe=c6;function xo(e,t){const r=lpe();return O.useCallback(n=>{r(e(n))},[e,r])}const upe={isDarkMode:!1},SH=Si({name:"theme",initialState:upe,reducers:{setIsDarkMode:(e,{payload:t})=>{e.isDarkMode=t}}}),cpe=SH.actions,bH=SH.reducer;function _H(){const e=si(({theme:{isDarkMode:n}})=>n),t=xo(cpe.setIsDarkMode);O.useEffect(()=>{t(spe===Wa.DARK)},[]);const r=()=>{localStorage.theme=e?Wa.LIGHT:Wa.DARK,t(!e)};return P.jsx(cd,{color:"inherit",onClick:r,children:e?P.jsx(xH,{}):P.jsx(yH,{})})}const fpe=e=>hk({palette:{mode:e,primary:{main:"#15803d"},success:{main:"#00C853"}},components:{MuiCssBaseline:{styleOverrides:{":root":{"--footer-height":"40px"},p:{margin:0}}}}});function wH(){const e=si(({theme:{isDarkMode:r}})=>r);return O.useMemo(()=>fpe(e?Wa.DARK:Wa.LIGHT),[e])}function dpe({authProviders:e,customForm:t,error:r,info:n,usernamePasswordCallback:i}){const a=wH();return P.jsxs(U6,{theme:a,children:[P.jsx(dG,{}),P.jsx(Pt,{sx:{position:"absolute",top:4,right:4},children:P.jsx(_H,{})}),P.jsxs(Pt,{component:"main",sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",display:"flex",flexDirection:"column",rowGap:4,boxShadow:24,borderRadius:4,width:400,border:"3px solid black",p:4},children:[P.jsx(Pt,{sx:{display:"flex",justifyContent:"center",columnGap:2},children:P.jsx(DG,{})}),i&&!t&&P.jsx("form",{action:i,method:"POST",children:P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:2},children:[P.jsx(Xf,{label:"Username",name:"username"}),P.jsx(RG,{}),n&&P.jsx(sf,{severity:"info",children:P.jsx(F0,{content:n})}),r&&P.jsx(sf,{severity:"error",children:r}),P.jsx(Ka,{size:"large",type:"submit",variant:"contained",children:"Login"})]})}),t&&P.jsx("form",{action:t.callbackUrl,method:"POST",children:P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:2},children:[t.inputs.map((o,s)=>P.jsx(gH,{...o},`custom-form-input-${s}`)),n&&P.jsx(sf,{severity:"info",children:P.jsx(F0,{content:n})}),r&&P.jsx(sf,{severity:"error",children:r}),P.jsx(Ka,{size:"large",type:"submit",variant:"contained",children:t.submitButtonText||"Login"})]})}),e&&P.jsx(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:1},children:e.map(({label:o,callbackUrl:s,iconUrl:l},u)=>P.jsxs(cd,{href:s,sx:{display:"flex",justifyContent:"center",alignItems:"center",columnGap:2,borderRadius:2,borderWidth:"1px",borderStyle:"solid",borderColor:"primary"},children:[P.jsx("img",{height:"32",src:l}),P.jsx(dt,{height:"32",variant:"button",children:o})]},`auth-provider-${u}`))})]})]})}var Xk={},hpe=Xu;Object.defineProperty(Xk,"__esModule",{value:!0});var CH=Xk.default=void 0,ppe=hpe(qu()),vpe=P,gpe=(0,ppe.default)((0,vpe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");CH=Xk.default=gpe;function eS({open:e,onClose:t,children:r}){return P.jsx(hG,{onClose:t,open:e,children:P.jsxs(ng,{maxWidth:"md",sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxHeight:"90vh",overflowY:"auto",display:"flex",flexDirection:"column",rowGap:2,bgcolor:"background.paper",boxShadow:24,borderRadius:4,border:"3px solid black",p:4},children:[P.jsx(cd,{color:"inherit",onClick:t,sx:{position:"absolute",top:1,right:1},children:P.jsx(CH,{})}),r]})})}function mpe(){const[e,t]=O.useState(!1),r=si(({swarm:n})=>n.version);return P.jsxs(P.Fragment,{children:[P.jsx(Pt,{sx:{display:"flex",justifyContent:"flex-end"},children:P.jsx(Ka,{color:"inherit",onClick:()=>t(!0),variant:"text",children:"About"})}),P.jsxs(eS,{onClose:()=>t(!1),open:e,children:[P.jsxs("div",{children:[P.jsx(dt,{component:"h2",mb:1,variant:"h4",children:"About"}),P.jsxs(dt,{component:"p",variant:"subtitle1",children:["Locust is free and open source software released under the"," ",P.jsx(Lr,{href:"https://github.com/locustio/locust/blob/master/LICENSE",children:"MIT License"})]}),P.jsxs(dt,{component:"p",sx:{mt:2},variant:"subtitle1",children:["It was originally developed by Carl Byström and"," ",P.jsx(Lr,{href:"https://twitter.com/jonatanheyman",children:"Jonatan Heyman"}),". Since 2019, it is primarily maintained by ",P.jsx(Lr,{href:"https://github.com/cyberw",children:"Lars Holmberg"}),"."]}),P.jsxs(dt,{component:"p",sx:{mt:2},variant:"subtitle1",children:["Many thanks to all our wonderful"," ",P.jsx(Lr,{href:"https://github.com/locustio/locust/graphs/contributors",children:"contributors"}),"!"]})]}),P.jsxs("div",{children:[P.jsx(dt,{component:"h2",mb:1,variant:"h4",children:"Need help getting started?"}),P.jsx(Lr,{href:"https://locust.cloud",children:"Locust Cloud"})," gives you access to hosted, easily scalable, and distributed load generation, as well as advanced reporting — all while preserving the flexible “it’s just Python” approach to load test scripting that Locust provides"]}),P.jsxs("div",{children:[P.jsx(dt,{component:"h2",mb:1,variant:"h4",children:"Version"}),P.jsx(Lr,{href:`https://github.com/locustio/locust/releases/tag/${r}`,children:r})]}),P.jsxs("div",{children:[P.jsx(dt,{component:"h2",mb:1,variant:"h4",children:"Links"}),P.jsx(dt,{component:"p",variant:"subtitle1",children:P.jsx(Lr,{href:"https://github.com/locustio/locust",children:"GitHub"})}),P.jsx(dt,{component:"p",variant:"subtitle1",children:P.jsx(Lr,{href:"https://docs.locust.io/en/stable",children:"Documentation"})}),P.jsx(dt,{component:"p",variant:"subtitle1",children:P.jsx(Lr,{href:"https://medium.com/locust-cloud",children:"Blog"})})]})]})]})}function ype(){return P.jsx(ng,{maxWidth:"xl",sx:{display:"flex",height:"var(--footer-height)",alignItems:"center",justifyContent:"flex-end"},children:P.jsx(mpe,{})})}const TH=e=>(Array.isArray(e)?e.length:Object.keys(e).length)===0;function xpe(e,t){return{...e,...t}}const Spe=e=>{const t=new URLSearchParams;for(const[r,n]of Object.entries(e))if(Array.isArray(n))for(const i of n)t.append(r,i);else t.append(r,n);return t},tS=(e,t)=>Object.entries(t).reduce((r,[n,i])=>({...r,[n]:[...r[n]||[],i]}),e),qr={READY:"ready",RUNNING:"running",STOPPED:"stopped",SPAWNING:"spawning",CLEANUP:"cleanup",STOPPING:"stopping",MISSING:"missing"},ja=window.templateArgs?af(window.templateArgs):{};var xF;ja.isReport&&{...ja,charts:(xF=ja.history)==null||xF.reduce((e,{currentResponseTimePercentiles:t,...r})=>tS(e,{...t,...r}),{})};function bpe({isDistributed:e,state:t,host:r,totalRps:n,failRatio:i,userCount:a,workerCount:o}){return P.jsxs(Pt,{sx:{display:"flex",columnGap:2},children:[P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column"},children:[P.jsx(dt,{variant:"button",children:"Host"}),P.jsx(TG,{title:r,children:P.jsx(dt,{noWrap:!0,sx:{overflow:"hidden",textOverflow:"ellipsis",maxWidth:"400px"},children:r})})]}),P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column"},children:[P.jsx(dt,{variant:"button",children:"Status"}),P.jsx(dt,{variant:"button",children:t})]}),(t===qr.RUNNING||t===qr.SPAWNING)&&P.jsxs(P.Fragment,{children:[P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[P.jsx(dt,{variant:"button",children:"Users"}),P.jsx(dt,{noWrap:!0,variant:"button",children:a})]})]}),e&&P.jsxs(P.Fragment,{children:[P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[P.jsx(dt,{variant:"button",children:"Workers"}),P.jsx(dt,{noWrap:!0,variant:"button",children:o})]})]}),P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[P.jsx(dt,{variant:"button",children:"RPS"}),P.jsx(dt,{noWrap:!0,variant:"button",children:n})]}),P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[P.jsx(dt,{variant:"button",children:"Failures"}),P.jsx(dt,{noWrap:!0,variant:"button",children:`${i}%`})]})]})}const _pe=({swarm:{isDistributed:e,state:t,host:r,workerCount:n},ui:{totalRps:i,failRatio:a,userCount:o}})=>({isDistributed:e,state:t,host:r,totalRps:i,failRatio:a,userCount:o,workerCount:n}),wpe=ai(_pe)(bpe);var qk={},Cpe=Xu;Object.defineProperty(qk,"__esModule",{value:!0});var rS=qk.default=void 0,Tpe=Cpe(qu()),Ape=P,Mpe=(0,Tpe.default)((0,Ape.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");rS=qk.default=Mpe;const kpe="input, select, textarea",Ipe=e=>e instanceof HTMLInputElement&&e.getAttribute("data-type")==="number"?Number(e.value):e instanceof HTMLInputElement&&e.type==="checkbox"?e.checked:e instanceof HTMLSelectElement&&e.multiple?Array.from(e.selectedOptions).map(t=>t.value):e.value;function AH({children:e,onSubmit:t,onChange:r}){const n=O.useCallback(async i=>{i.preventDefault();const o=[...i.target.querySelectorAll(kpe)].reduce((s,l)=>({...s,[l.name]:Ipe(l)}),{});t(o)},[t]);return P.jsx("form",{onChange:r,onSubmit:n,children:e})}function JE({defaultValue:e,...t}){const[r,n]=O.useState(e||""),i=a=>{t.onChange&&t.onChange(a),!((a.target.value.match(/\./g)||[]).length>1)&&n(a.target.value.replace(/[^0-9.]/g,""))};return O.useEffect(()=>{e&&n(e)},[e]),P.jsx(Xf,{...t,onChange:i,value:r})}function Ppe({extraOptions:e}){return P.jsxs(gk,{children:[P.jsx(yk,{expandIcon:P.jsx(rS,{}),children:P.jsx(dt,{children:"Custom parameters"})}),P.jsx(mk,{children:P.jsx(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:4},children:Object.entries(e).map(([t,r],n)=>O.createElement(gH,{...r,key:`valid-parameter-${n}`,label:r.helpText?`${wT(t)} (${r.helpText})`:wT(t),name:t}))})})]})}var Zk={},Dpe=Xu;Object.defineProperty(Zk,"__esModule",{value:!0});var MH=Zk.default=void 0,Rpe=Dpe(qu()),Lpe=P,Epe=(0,Rpe.default)((0,Lpe.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");MH=Zk.default=Epe;var kH=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(kH||{});function Ope(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Npe(e){return new RegExp("(^|:)//").test(e)}var zpe=e=>e.replace(/\/$/,""),Bpe=e=>e.replace(/^\//,"");function Fpe(e,t){if(!e)return t;if(!t)return e;if(Npe(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=zpe(e),t=Bpe(t),`${e}${r}${t}`}var eO=e=>[].concat(...e);function $pe(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Vpe(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var tO=Xa;function IH(e,t){if(e===t||!(tO(e)&&tO(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const a=Array.isArray(t)?[]:{};for(const o of r)a[o]=IH(e[o],t[o]),i&&(i=e[o]===a[o]);return i?e:a}var rO=(...e)=>fetch(...e),Gpe=e=>e.status>=200&&e.status<=299,Hpe=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function nO(e){if(!Xa(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Wpe({baseUrl:e,prepareHeaders:t=f=>f,fetchFn:r=rO,paramsSerializer:n,isJsonContentType:i=Hpe,jsonContentType:a="application/json",jsonReplacer:o,timeout:s,responseHandler:l,validateStatus:u,...c}={}){return typeof fetch>"u"&&r===rO&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(d,h)=>{const{signal:p,getState:v,extra:g,endpoint:m,forced:y,type:x}=h;let S,{url:_,headers:b=new Headers(c.headers),params:w=void 0,responseHandler:C=l??"json",validateStatus:A=u??Gpe,timeout:T=s,...M}=typeof d=="string"?{url:d}:d,k={...c,signal:p,...M};b=new Headers(nO(b)),k.headers=await t(b,{getState:v,extra:g,endpoint:m,forced:y,type:x})||b;const I=W=>typeof W=="object"&&(Xa(W)||Array.isArray(W)||typeof W.toJSON=="function");if(!k.headers.has("content-type")&&I(k.body)&&k.headers.set("content-type",a),I(k.body)&&i(k.headers)&&(k.body=JSON.stringify(k.body,o)),w){const W=~_.indexOf("?")?"&":"?",F=n?n(w):new URLSearchParams(nO(w));_+=W+F}_=Fpe(e,_);const R=new Request(_,k);S={request:new Request(_,k)};let N,$=!1,z=T&&setTimeout(()=>{$=!0,h.abort()},T);try{N=await r(R)}catch(W){return{error:{status:$?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(W)},meta:S}}finally{z&&clearTimeout(z)}const V=N.clone();S.response=V;let E,G="";try{let W;if(await Promise.all([f(N,C).then(F=>E=F,F=>W=F),V.text().then(F=>G=F,()=>{})]),W)throw W}catch(W){return{error:{status:"PARSING_ERROR",originalStatus:N.status,data:G,error:String(W)},meta:S}}return A(N,E)?{data:E,meta:S}:{error:{status:N.status,data:E},meta:S}};async function f(d,h){if(typeof h=="function")return h(d);if(h==="content-type"&&(h=i(d.headers)?"json":"text"),h==="json"){const p=await d.text();return p.length?JSON.parse(p):null}return d.text()}}var iO=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Kk=un("__rtkq/focused"),PH=un("__rtkq/unfocused"),Qk=un("__rtkq/online"),DH=un("__rtkq/offline");function RH(e){return e.type==="query"}function jpe(e){return e.type==="mutation"}function Jk(e,t,r,n,i,a){return Upe(e)?e(t,r,n,i).map(YT).map(a):Array.isArray(e)?e.map(YT).map(a):[]}function Upe(e){return typeof e=="function"}function YT(e){return typeof e=="string"?{type:e}:e}function aO(e){return e!=null}function _f(e){let t=0;for(const r in e)t++;return t}function Ype(e,t){return e.catch(t)}var uv=Symbol("forceQueryFn"),XT=e=>typeof e[uv]=="function";function Xpe({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const a=new Map,o=new Map,{unsubscribeQueryResult:s,removeMutationResult:l,updateSubscriptionOptions:u}=n.internalActions;return{buildInitiateQuery:p,buildInitiateMutation:v,getRunningQueryThunk:c,getRunningMutationThunk:f,getRunningQueriesThunk:d,getRunningMutationsThunk:h};function c(g,m){return y=>{var _;const x=i.endpointDefinitions[g],S=e({queryArgs:m,endpointDefinition:x,endpointName:g});return(_=a.get(y))==null?void 0:_[S]}}function f(g,m){return y=>{var x;return(x=o.get(y))==null?void 0:x[m]}}function d(){return g=>Object.values(a.get(g)||{}).filter(aO)}function h(){return g=>Object.values(o.get(g)||{}).filter(aO)}function p(g,m){const y=(x,{subscribe:S=!0,forceRefetch:_,subscriptionOptions:b,[uv]:w,...C}={})=>(A,T)=>{var W;const M=e({queryArgs:x,endpointDefinition:m,endpointName:g}),k=t({...C,type:"query",subscribe:S,forceRefetch:_,subscriptionOptions:b,endpointName:g,originalArgs:x,queryCacheKey:M,[uv]:w}),I=n.endpoints[g].select(x),R=A(k),L=I(T()),{requestId:N,abort:$}=R,z=L.requestId!==N,V=(W=a.get(A))==null?void 0:W[M],E=()=>I(T()),G=Object.assign(w?R.then(E):z&&!V?Promise.resolve(L):Promise.all([V,R]).then(E),{arg:x,requestId:N,subscriptionOptions:b,queryCacheKey:M,abort:$,async unwrap(){const F=await G;if(F.isError)throw F.error;return F.data},refetch:()=>A(y(x,{subscribe:!1,forceRefetch:!0})),unsubscribe(){S&&A(s({queryCacheKey:M,requestId:N}))},updateSubscriptionOptions(F){G.subscriptionOptions=F,A(u({endpointName:g,requestId:N,queryCacheKey:M,options:F}))}});if(!V&&!z&&!w){const F=a.get(A)||{};F[M]=G,a.set(A,F),G.then(()=>{delete F[M],_f(F)||a.delete(A)})}return G};return y}function v(g){return(m,{track:y=!0,fixedCacheKey:x}={})=>(S,_)=>{const b=r({type:"mutation",endpointName:g,originalArgs:m,track:y,fixedCacheKey:x}),w=S(b),{requestId:C,abort:A,unwrap:T}=w,M=Ype(w.unwrap().then(L=>({data:L})),L=>({error:L})),k=()=>{S(l({requestId:C,fixedCacheKey:x}))},I=Object.assign(M,{arg:w.arg,requestId:C,abort:A,unwrap:T,reset:k}),R=o.get(S)||{};return o.set(S,R),R[C]=I,I.then(()=>{delete R[C],_f(R)||o.delete(S)}),x&&(R[x]=I,I.then(()=>{R[x]===I&&(delete R[x],_f(R)||o.delete(S))})),I}}}function oO(e){return e}function qpe({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:a}){const o=(y,x,S,_)=>(b,w)=>{const C=r[y],A=n({queryArgs:x,endpointDefinition:C,endpointName:y});if(b(i.internalActions.queryResultPatched({queryCacheKey:A,patches:S})),!_)return;const T=i.endpoints[y].select(x)(w()),M=Jk(C.providesTags,T.data,void 0,x,{},a);b(i.internalActions.updateProvidedBy({queryCacheKey:A,providedTags:M}))},s=(y,x,S,_=!0)=>(b,w)=>{const A=i.endpoints[y].select(x)(w());let T={patches:[],inversePatches:[],undo:()=>b(i.util.patchQueryData(y,x,T.inversePatches,_))};if(A.status==="uninitialized")return T;let M;if("data"in A)if(la(A.data)){const[k,I,R]=GV(A.data,S);T.patches.push(...I),T.inversePatches.push(...R),M=k}else M=S(A.data),T.patches.push({op:"replace",path:[],value:M}),T.inversePatches.push({op:"replace",path:[],value:A.data});return T.patches.length===0||b(i.util.patchQueryData(y,x,T.patches,_)),T},l=(y,x,S)=>_=>_(i.endpoints[y].initiate(x,{subscribe:!1,forceRefetch:!0,[uv]:()=>({data:S})})),u=async(y,{signal:x,abort:S,rejectWithValue:_,fulfillWithValue:b,dispatch:w,getState:C,extra:A})=>{const T=r[y.endpointName];try{let M=oO,k;const I={signal:x,abort:S,dispatch:w,getState:C,extra:A,endpoint:y.endpointName,type:y.type,forced:y.type==="query"?c(y,C()):void 0},R=y.type==="query"?y[uv]:void 0;if(R?k=R():T.query?(k=await t(T.query(y.originalArgs),I,T.extraOptions),T.transformResponse&&(M=T.transformResponse)):k=await T.queryFn(y.originalArgs,I,T.extraOptions,L=>t(L,I,T.extraOptions)),typeof process<"u",k.error)throw new iO(k.error,k.meta);return b(await M(k.data,k.meta,y.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:k.meta,[nf]:!0})}catch(M){let k=M;if(k instanceof iO){let I=oO;T.query&&T.transformErrorResponse&&(I=T.transformErrorResponse);try{return _(await I(k.value,k.meta,y.originalArgs),{baseQueryMeta:k.meta,[nf]:!0})}catch(R){k=R}}throw typeof process<"u",console.error(k),k}};function c(y,x){var C,A,T;const S=(A=(C=x[e])==null?void 0:C.queries)==null?void 0:A[y.queryCacheKey],_=(T=x[e])==null?void 0:T.config.refetchOnMountOrArgChange,b=S==null?void 0:S.fulfilledTimeStamp,w=y.forceRefetch??(y.subscribe&&_);return w?w===!0||(Number(new Date)-Number(b))/1e3>=w:!1}const f=FR(`${e}/executeQuery`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[nf]:!0}},condition(y,{getState:x}){var T,M,k;const S=x(),_=(M=(T=S[e])==null?void 0:T.queries)==null?void 0:M[y.queryCacheKey],b=_==null?void 0:_.fulfilledTimeStamp,w=y.originalArgs,C=_==null?void 0:_.originalArgs,A=r[y.endpointName];return XT(y)?!0:(_==null?void 0:_.status)==="pending"?!1:c(y,S)||RH(A)&&((k=A==null?void 0:A.forceRefetch)!=null&&k.call(A,{currentArg:w,previousArg:C,endpointState:_,state:S}))?!0:!b},dispatchConditionRejection:!0}),d=FR(`${e}/executeMutation`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[nf]:!0}}}),h=y=>"force"in y,p=y=>"ifOlderThan"in y,v=(y,x,S)=>(_,b)=>{const w=h(S)&&S.force,C=p(S)&&S.ifOlderThan,A=(M=!0)=>{const k={forceRefetch:M,isPrefetch:!0};return i.endpoints[y].initiate(x,k)},T=i.endpoints[y].select(x)(b());if(w)_(A());else if(C){const M=T==null?void 0:T.fulfilledTimeStamp;if(!M){_(A());return}(Number(new Date)-Number(new Date(M)))/1e3>=C&&_(A())}else _(A(!1))};function g(y){return x=>{var S,_;return((_=(S=x==null?void 0:x.meta)==null?void 0:S.arg)==null?void 0:_.endpointName)===y}}function m(y,x){return{matchPending:ap(FM(y),g(x)),matchFulfilled:ap(Hs(y),g(x)),matchRejected:ap(zf(y),g(x))}}return{queryThunk:f,mutationThunk:d,prefetch:v,updateQueryData:s,upsertQueryData:l,patchQueryData:o,buildMatchThunkActions:m}}function LH(e,t,r,n){return Jk(r[e.meta.arg.endpointName][t],Hs(e)?e.payload:void 0,ix(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function um(e,t,r){const n=e[t];n&&r(n)}function cv(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function sO(e,t,r){const n=e[cv(t)];n&&r(n)}var Qd={};function Zpe({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:a,hasRehydrationInfo:o},assertTagType:s,config:l}){const u=un(`${e}/resetApiState`),c=Si({name:`${e}/queries`,initialState:Qd,reducers:{removeQueryResult:{reducer(x,{payload:{queryCacheKey:S}}){delete x[S]},prepare:Gd()},queryResultPatched:{reducer(x,{payload:{queryCacheKey:S,patches:_}}){um(x,S,b=>{b.data=LR(b.data,_.concat())})},prepare:Gd()}},extraReducers(x){x.addCase(t.pending,(S,{meta:_,meta:{arg:b}})=>{var C;const w=XT(b);S[C=b.queryCacheKey]??(S[C]={status:"uninitialized",endpointName:b.endpointName}),um(S,b.queryCacheKey,A=>{A.status="pending",A.requestId=w&&A.requestId?A.requestId:_.requestId,b.originalArgs!==void 0&&(A.originalArgs=b.originalArgs),A.startedTimeStamp=_.startedTimeStamp})}).addCase(t.fulfilled,(S,{meta:_,payload:b})=>{um(S,_.arg.queryCacheKey,w=>{if(w.requestId!==_.requestId&&!XT(_.arg))return;const{merge:C}=n[_.arg.endpointName];if(w.status="fulfilled",C)if(w.data!==void 0){const{fulfilledTimeStamp:A,arg:T,baseQueryMeta:M,requestId:k}=_;let I=Yv(w.data,R=>C(R,b,{arg:T.originalArgs,baseQueryMeta:M,fulfilledTimeStamp:A,requestId:k}));w.data=I}else w.data=b;else w.data=n[_.arg.endpointName].structuralSharing??!0?IH(sa(w.data)?xZ(w.data):w.data,b):b;delete w.error,w.fulfilledTimeStamp=_.fulfilledTimeStamp})}).addCase(t.rejected,(S,{meta:{condition:_,arg:b,requestId:w},error:C,payload:A})=>{um(S,b.queryCacheKey,T=>{if(!_){if(T.requestId!==w)return;T.status="rejected",T.error=A??C}})}).addMatcher(o,(S,_)=>{const{queries:b}=a(_);for(const[w,C]of Object.entries(b))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&(S[w]=C)})}}),f=Si({name:`${e}/mutations`,initialState:Qd,reducers:{removeMutationResult:{reducer(x,{payload:S}){const _=cv(S);_ in x&&delete x[_]},prepare:Gd()}},extraReducers(x){x.addCase(r.pending,(S,{meta:_,meta:{requestId:b,arg:w,startedTimeStamp:C}})=>{w.track&&(S[cv(_)]={requestId:b,status:"pending",endpointName:w.endpointName,startedTimeStamp:C})}).addCase(r.fulfilled,(S,{payload:_,meta:b})=>{b.arg.track&&sO(S,b,w=>{w.requestId===b.requestId&&(w.status="fulfilled",w.data=_,w.fulfilledTimeStamp=b.fulfilledTimeStamp)})}).addCase(r.rejected,(S,{payload:_,error:b,meta:w})=>{w.arg.track&&sO(S,w,C=>{C.requestId===w.requestId&&(C.status="rejected",C.error=_??b)})}).addMatcher(o,(S,_)=>{const{mutations:b}=a(_);for(const[w,C]of Object.entries(b))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&w!==(C==null?void 0:C.requestId)&&(S[w]=C)})}}),d=Si({name:`${e}/invalidation`,initialState:Qd,reducers:{updateProvidedBy:{reducer(x,S){var w,C;const{queryCacheKey:_,providedTags:b}=S.payload;for(const A of Object.values(x))for(const T of Object.values(A)){const M=T.indexOf(_);M!==-1&&T.splice(M,1)}for(const{type:A,id:T}of b){const M=(w=x[A]??(x[A]={}))[C=T||"__internal_without_id"]??(w[C]=[]);M.includes(_)||M.push(_)}},prepare:Gd()}},extraReducers(x){x.addCase(c.actions.removeQueryResult,(S,{payload:{queryCacheKey:_}})=>{for(const b of Object.values(S))for(const w of Object.values(b)){const C=w.indexOf(_);C!==-1&&w.splice(C,1)}}).addMatcher(o,(S,_)=>{var w,C;const{provided:b}=a(_);for(const[A,T]of Object.entries(b))for(const[M,k]of Object.entries(T)){const I=(w=S[A]??(S[A]={}))[C=M||"__internal_without_id"]??(w[C]=[]);for(const R of k)I.includes(R)||I.push(R)}}).addMatcher(Ro(Hs(t),ix(t)),(S,_)=>{const b=LH(_,"providesTags",n,s),{queryCacheKey:w}=_.meta.arg;d.caseReducers.updateProvidedBy(S,d.actions.updateProvidedBy({queryCacheKey:w,providedTags:b}))})}}),h=Si({name:`${e}/subscriptions`,initialState:Qd,reducers:{updateSubscriptionOptions(x,S){},unsubscribeQueryResult(x,S){},internal_getRTKQSubscriptions(){}}}),p=Si({name:`${e}/internalSubscriptions`,initialState:Qd,reducers:{subscriptionsUpdated:{reducer(x,S){return LR(x,S.payload)},prepare:Gd()}}}),v=Si({name:`${e}/config`,initialState:{online:$pe(),focused:Vpe(),middlewareRegistered:!1,...l},reducers:{middlewareRegistered(x,{payload:S}){x.middlewareRegistered=x.middlewareRegistered==="conflict"||i!==S?"conflict":!0}},extraReducers:x=>{x.addCase(Qk,S=>{S.online=!0}).addCase(DH,S=>{S.online=!1}).addCase(Kk,S=>{S.focused=!0}).addCase(PH,S=>{S.focused=!1}).addMatcher(o,S=>({...S}))}}),g=tx({queries:c.reducer,mutations:f.reducer,provided:d.reducer,subscriptions:p.reducer,config:v.reducer}),m=(x,S)=>g(u.match(S)?void 0:x,S),y={...v.actions,...c.actions,...h.actions,...p.actions,...f.actions,...d.actions,resetApiState:u};return{reducer:m,actions:y}}var nu=Symbol.for("RTKQ/skipToken"),EH={status:"uninitialized"},lO=Yv(EH,()=>{}),uO=Yv(EH,()=>{});function Kpe({serializeQueryArgs:e,reducerPath:t,createSelector:r}){const n=f=>lO,i=f=>uO;return{buildQuerySelector:s,buildMutationSelector:l,selectInvalidatedBy:u,selectCachedArgsForQuery:c};function a(f){return{...f,...Ope(f.status)}}function o(f){return f[t]}function s(f,d){return h=>{const p=e({queryArgs:h,endpointDefinition:d,endpointName:f});return r(h===nu?n:m=>{var y,x;return((x=(y=o(m))==null?void 0:y.queries)==null?void 0:x[p])??lO},a)}}function l(){return f=>{let d;return typeof f=="object"?d=cv(f)??nu:d=f,r(d===nu?i:v=>{var g,m;return((m=(g=o(v))==null?void 0:g.mutations)==null?void 0:m[d])??uO},a)}}function u(f,d){const h=f[t],p=new Set;for(const v of d.map(YT)){const g=h.provided[v.type];if(!g)continue;let m=(v.id!==void 0?g[v.id]:eO(Object.values(g)))??[];for(const y of m)p.add(y)}return eO(Array.from(p.values()).map(v=>{const g=h.queries[v];return g?[{queryCacheKey:v,endpointName:g.endpointName,originalArgs:g.originalArgs}]:[]}))}function c(f,d){return Object.values(f[t].queries).filter(h=>(h==null?void 0:h.endpointName)===d&&h.status!=="uninitialized").map(h=>h.originalArgs)}}var pc=WeakMap?new WeakMap:void 0,cO=({endpointName:e,queryArgs:t})=>{let r="";const n=pc==null?void 0:pc.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(a,o)=>(o=typeof o=="bigint"?{$bigint:o.toString()}:o,o=Xa(o)?Object.keys(o).sort().reduce((s,l)=>(s[l]=o[l],s),{}):o,o));Xa(t)&&(pc==null||pc.set(t,i)),r=i}return`${e}(${r})`};function Qpe(...e){return function(r){const n=ev(u=>{var c;return(c=r.extractRehydrationInfo)==null?void 0:c.call(r,u,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(u){let c=cO;if("serializeQueryArgs"in u.endpointDefinition){const f=u.endpointDefinition.serializeQueryArgs;c=d=>{const h=f(d);return typeof h=="string"?h:cO({...d,queryArgs:h})}}else r.serializeQueryArgs&&(c=r.serializeQueryArgs);return c(u)},tagTypes:[...r.tagTypes||[]]},a={endpointDefinitions:{},batch(u){u()},apiUid:BM(),extractRehydrationInfo:n,hasRehydrationInfo:ev(u=>n(u)!=null)},o={injectEndpoints:l,enhanceEndpoints({addTagTypes:u,endpoints:c}){if(u)for(const f of u)i.tagTypes.includes(f)||i.tagTypes.push(f);if(c)for(const[f,d]of Object.entries(c))typeof d=="function"?d(a.endpointDefinitions[f]):Object.assign(a.endpointDefinitions[f]||{},d);return o}},s=e.map(u=>u.init(o,i,a));function l(u){const c=u.endpoints({query:f=>({...f,type:"query"}),mutation:f=>({...f,type:"mutation"})});for(const[f,d]of Object.entries(c)){if(u.overrideExisting!==!0&&f in a.endpointDefinitions){if(u.overrideExisting==="throw")throw new Error(Zr(39));typeof process<"u";continue}a.endpointDefinitions[f]=d;for(const h of s)h.injectEndpoint(f,d)}return o}return o.injectEndpoints({endpoints:r.endpoints})}}function Jpe(e){for(let t in e)return!1;return!0}var eve=2147483647/1e3-1,tve=({reducerPath:e,api:t,queryThunk:r,context:n,internalState:i})=>{const{removeQueryResult:a,unsubscribeQueryResult:o}=t.internalActions,s=Ro(o.match,r.fulfilled,r.rejected);function l(d){const h=i.currentSubscriptions[d];return!!h&&!Jpe(h)}const u={},c=(d,h,p)=>{var v;if(s(d)){const g=h.getState()[e],{queryCacheKey:m}=o.match(d)?d.payload:d.meta.arg;f(m,(v=g.queries[m])==null?void 0:v.endpointName,h,g.config)}if(t.util.resetApiState.match(d))for(const[g,m]of Object.entries(u))m&&clearTimeout(m),delete u[g];if(n.hasRehydrationInfo(d)){const g=h.getState()[e],{queries:m}=n.extractRehydrationInfo(d);for(const[y,x]of Object.entries(m))f(y,x==null?void 0:x.endpointName,h,g.config)}};function f(d,h,p,v){const g=n.endpointDefinitions[h],m=(g==null?void 0:g.keepUnusedDataFor)??v.keepUnusedDataFor;if(m===1/0)return;const y=Math.max(0,Math.min(m,eve));if(!l(d)){const x=u[d];x&&clearTimeout(x),u[d]=setTimeout(()=>{l(d)||p.dispatch(a({queryCacheKey:d})),delete u[d]},y*1e3)}}return c},rve=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:a,assertTagType:o,refetchQuery:s,internalState:l})=>{const{removeQueryResult:u}=a.internalActions,c=Ro(Hs(n),ix(n)),f=Ro(Hs(n,i),zf(n,i));let d=[];const h=(g,m)=>{c(g)?v(LH(g,"invalidatesTags",r,o),m):f(g)?v([],m):a.util.invalidateTags.match(g)&&v(Jk(g.payload,void 0,void 0,void 0,void 0,o),m)};function p(g){var m,y;for(const x in g.queries)if(((m=g.queries[x])==null?void 0:m.status)==="pending")return!0;for(const x in g.mutations)if(((y=g.mutations[x])==null?void 0:y.status)==="pending")return!0;return!1}function v(g,m){const y=m.getState(),x=y[e];if(d.push(...g),x.config.invalidationBehavior==="delayed"&&p(x))return;const S=d;if(d=[],S.length===0)return;const _=a.util.selectInvalidatedBy(y,S);t.batch(()=>{const b=Array.from(_.values());for(const{queryCacheKey:w}of b){const C=x.queries[w],A=l.currentSubscriptions[w]??{};C&&(_f(A)===0?m.dispatch(u({queryCacheKey:w})):C.status!=="uninitialized"&&m.dispatch(s(C,w)))}})}return h},nve=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const a={},o=(d,h)=>{(r.internalActions.updateSubscriptionOptions.match(d)||r.internalActions.unsubscribeQueryResult.match(d))&&l(d.payload,h),(t.pending.match(d)||t.rejected.match(d)&&d.meta.condition)&&l(d.meta.arg,h),(t.fulfilled.match(d)||t.rejected.match(d)&&!d.meta.condition)&&s(d.meta.arg,h),r.util.resetApiState.match(d)&&c()};function s({queryCacheKey:d},h){const p=h.getState()[e],v=p.queries[d],g=i.currentSubscriptions[d];if(!v||v.status==="uninitialized")return;const{lowestPollingInterval:m,skipPollingIfUnfocused:y}=f(g);if(!Number.isFinite(m))return;const x=a[d];x!=null&&x.timeout&&(clearTimeout(x.timeout),x.timeout=void 0);const S=Date.now()+m;a[d]={nextPollTimestamp:S,pollingInterval:m,timeout:setTimeout(()=>{(p.config.focused||!y)&&h.dispatch(n(v,d)),s({queryCacheKey:d},h)},m)}}function l({queryCacheKey:d},h){const v=h.getState()[e].queries[d],g=i.currentSubscriptions[d];if(!v||v.status==="uninitialized")return;const{lowestPollingInterval:m}=f(g);if(!Number.isFinite(m)){u(d);return}const y=a[d],x=Date.now()+m;(!y||x<y.nextPollTimestamp)&&s({queryCacheKey:d},h)}function u(d){const h=a[d];h!=null&&h.timeout&&clearTimeout(h.timeout),delete a[d]}function c(){for(const d of Object.keys(a))u(d)}function f(d={}){let h=!1,p=Number.POSITIVE_INFINITY;for(let v in d)d[v].pollingInterval&&(p=Math.min(d[v].pollingInterval,p),h=d[v].skipPollingIfUnfocused||h);return{lowestPollingInterval:p,skipPollingIfUnfocused:h}}return o},ive=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:a}=r.internalActions,o=(l,u)=>{Kk.match(l)&&s(u,"refetchOnFocus"),Qk.match(l)&&s(u,"refetchOnReconnect")};function s(l,u){const c=l.getState()[e],f=c.queries,d=i.currentSubscriptions;t.batch(()=>{for(const h of Object.keys(d)){const p=f[h],v=d[h];if(!v||!p)continue;(Object.values(v).some(m=>m[u]===!0)||Object.values(v).every(m=>m[u]===void 0)&&c.config[u])&&(_f(v)===0?l.dispatch(a({queryCacheKey:h})):p.status!=="uninitialized"&&l.dispatch(n(p,h)))}})}return o},fO=new Error("Promise never resolved before cacheEntryRemoved."),ave=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:a})=>{const o=ST(n),s=ST(i),l=Hs(n,i),u={},c=(h,p,v)=>{const g=f(h);if(n.pending.match(h)){const m=v[t].queries[g],y=p.getState()[t].queries[g];!m&&y&&d(h.meta.arg.endpointName,h.meta.arg.originalArgs,g,p,h.meta.requestId)}else if(i.pending.match(h))p.getState()[t].mutations[g]&&d(h.meta.arg.endpointName,h.meta.arg.originalArgs,g,p,h.meta.requestId);else if(l(h)){const m=u[g];m!=null&&m.valueResolved&&(m.valueResolved({data:h.payload,meta:h.meta.baseQueryMeta}),delete m.valueResolved)}else if(e.internalActions.removeQueryResult.match(h)||e.internalActions.removeMutationResult.match(h)){const m=u[g];m&&(delete u[g],m.cacheEntryRemoved())}else if(e.util.resetApiState.match(h))for(const[m,y]of Object.entries(u))delete u[m],y.cacheEntryRemoved()};function f(h){return o(h)?h.meta.arg.queryCacheKey:s(h)?h.meta.arg.fixedCacheKey??h.meta.requestId:e.internalActions.removeQueryResult.match(h)?h.payload.queryCacheKey:e.internalActions.removeMutationResult.match(h)?cv(h.payload):""}function d(h,p,v,g,m){const y=r.endpointDefinitions[h],x=y==null?void 0:y.onCacheEntryAdded;if(!x)return;let S={};const _=new Promise(M=>{S.cacheEntryRemoved=M}),b=Promise.race([new Promise(M=>{S.valueResolved=M}),_.then(()=>{throw fO})]);b.catch(()=>{}),u[v]=S;const w=e.endpoints[h].select(y.type==="query"?p:v),C=g.dispatch((M,k,I)=>I),A={...g,getCacheEntry:()=>w(g.getState()),requestId:m,extra:C,updateCachedData:y.type==="query"?M=>g.dispatch(e.util.updateQueryData(h,p,M)):void 0,cacheDataLoaded:b,cacheEntryRemoved:_},T=x(p,A);Promise.resolve(T).catch(M=>{if(M!==fO)throw M})}return c},ove=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=FM(r,n),a=zf(r,n),o=Hs(r,n),s={};return(u,c)=>{var f,d;if(i(u)){const{requestId:h,arg:{endpointName:p,originalArgs:v}}=u.meta,g=t.endpointDefinitions[p],m=g==null?void 0:g.onQueryStarted;if(m){const y={},x=new Promise((w,C)=>{y.resolve=w,y.reject=C});x.catch(()=>{}),s[h]=y;const S=e.endpoints[p].select(g.type==="query"?v:h),_=c.dispatch((w,C,A)=>A),b={...c,getCacheEntry:()=>S(c.getState()),requestId:h,extra:_,updateCachedData:g.type==="query"?w=>c.dispatch(e.util.updateQueryData(p,v,w)):void 0,queryFulfilled:x};m(v,b)}}else if(o(u)){const{requestId:h,baseQueryMeta:p}=u.meta;(f=s[h])==null||f.resolve({data:u.payload,meta:p}),delete s[h]}else if(a(u)){const{requestId:h,rejectedWithValue:p,baseQueryMeta:v}=u.meta;(d=s[h])==null||d.reject({error:u.payload??u.error,isUnhandledError:!p,meta:v}),delete s[h]}}},sve=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},lve=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,a=null;const{updateSubscriptionOptions:o,unsubscribeQueryResult:s}=e.internalActions,l=(h,p)=>{var g,m,y;if(o.match(p)){const{queryCacheKey:x,requestId:S,options:_}=p.payload;return(g=h==null?void 0:h[x])!=null&&g[S]&&(h[x][S]=_),!0}if(s.match(p)){const{queryCacheKey:x,requestId:S}=p.payload;return h[x]&&delete h[x][S],!0}if(e.internalActions.removeQueryResult.match(p))return delete h[p.payload.queryCacheKey],!0;if(t.pending.match(p)){const{meta:{arg:x,requestId:S}}=p,_=h[m=x.queryCacheKey]??(h[m]={});return _[`${S}_running`]={},x.subscribe&&(_[S]=x.subscriptionOptions??_[S]??{}),!0}let v=!1;if(t.fulfilled.match(p)||t.rejected.match(p)){const x=h[p.meta.arg.queryCacheKey]||{},S=`${p.meta.requestId}_running`;v||(v=!!x[S]),delete x[S]}if(t.rejected.match(p)){const{meta:{condition:x,arg:S,requestId:_}}=p;if(x&&S.subscribe){const b=h[y=S.queryCacheKey]??(h[y]={});b[_]=S.subscriptionOptions??b[_]??{},v=!0}}return v},u=()=>r.currentSubscriptions,d={getSubscriptions:u,getSubscriptionCount:h=>{const v=u()[h]??{};return _f(v)},isRequestSubscribed:(h,p)=>{var g;const v=u();return!!((g=v==null?void 0:v[h])!=null&&g[p])}};return(h,p)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(h))return i=r.currentSubscriptions={},a=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(h))return[!1,d];const v=l(r.currentSubscriptions,h);let g=!0;if(v){a||(a=setTimeout(()=>{const x=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,S]=GV(i,()=>x);p.next(e.internalActions.subscriptionsUpdated(S)),i=x,a=null},500));const m=typeof h.type=="string"&&!!h.type.startsWith(n),y=t.rejected.match(h)&&h.meta.condition&&!!h.meta.arg.subscribe;g=!m&&!y}return[g,!1]}};function uve(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:a}=i,o={invalidateTags:un(`${t}/invalidateTags`)},s=f=>f.type.startsWith(`${t}/`),l=[sve,tve,rve,nve,ave,ove];return{middleware:f=>{let d=!1;const p={...e,internalState:{currentSubscriptions:{}},refetchQuery:c,isThisApiSliceAction:s},v=l.map(y=>y(p)),g=lve(p),m=ive(p);return y=>x=>{if(!OV(x))return y(x);d||(d=!0,f.dispatch(n.internalActions.middlewareRegistered(a)));const S={...f,next:y},_=f.getState(),[b,w]=g(x,S,_);let C;if(b?C=y(x):C=w,f.getState()[t]&&(m(x,S,_),s(x)||i.hasRehydrationInfo(x)))for(let A of v)A(x,S,_);return C}},actions:o};function c(f,d,h={}){return r({type:"query",endpointName:f.endpointName,originalArgs:f.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d,...h})}}function Zo(e,...t){return Object.assign(e,...t)}var dO=Symbol(),cve=({createSelector:e=zM}={})=>({name:dO,init(t,{baseQuery:r,tagTypes:n,reducerPath:i,serializeQueryArgs:a,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:l,refetchOnReconnect:u,invalidationBehavior:c},f){kZ();const d=z=>(typeof process<"u",z);Object.assign(t,{reducerPath:i,endpoints:{},internalActions:{onOnline:Qk,onOffline:DH,onFocus:Kk,onFocusLost:PH},util:{}});const{queryThunk:h,mutationThunk:p,patchQueryData:v,updateQueryData:g,upsertQueryData:m,prefetch:y,buildMatchThunkActions:x}=qpe({baseQuery:r,reducerPath:i,context:f,api:t,serializeQueryArgs:a,assertTagType:d}),{reducer:S,actions:_}=Zpe({context:f,queryThunk:h,mutationThunk:p,reducerPath:i,assertTagType:d,config:{refetchOnFocus:l,refetchOnReconnect:u,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:i,invalidationBehavior:c}});Zo(t.util,{patchQueryData:v,updateQueryData:g,upsertQueryData:m,prefetch:y,resetApiState:_.resetApiState}),Zo(t.internalActions,_);const{middleware:b,actions:w}=uve({reducerPath:i,context:f,queryThunk:h,mutationThunk:p,api:t,assertTagType:d});Zo(t.util,w),Zo(t,{reducer:S,middleware:b});const{buildQuerySelector:C,buildMutationSelector:A,selectInvalidatedBy:T,selectCachedArgsForQuery:M}=Kpe({serializeQueryArgs:a,reducerPath:i,createSelector:e});Zo(t.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:M});const{buildInitiateQuery:k,buildInitiateMutation:I,getRunningMutationThunk:R,getRunningMutationsThunk:L,getRunningQueriesThunk:N,getRunningQueryThunk:$}=Xpe({queryThunk:h,mutationThunk:p,api:t,serializeQueryArgs:a,context:f});return Zo(t.util,{getRunningMutationThunk:R,getRunningMutationsThunk:L,getRunningQueryThunk:$,getRunningQueriesThunk:N}),{name:dO,injectEndpoint(z,V){var G;const E=t;(G=E.endpoints)[z]??(G[z]={}),RH(V)?Zo(E.endpoints[z],{name:z,select:C(z,V),initiate:k(z,V)},x(h,z)):jpe(V)&&Zo(E.endpoints[z],{name:z,select:A(),initiate:I(z)},x(p,z))}}}});function fve(e){return e.type==="query"}function dve(e){return e.type==="mutation"}function cm(e,...t){return Object.assign(e,...t)}function qb(e){return e.replace(e[0],e[0].toUpperCase())}var vc=WeakMap?new WeakMap:void 0,hve=({endpointName:e,queryArgs:t})=>{let r="";const n=vc==null?void 0:vc.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(a,o)=>(o=typeof o=="bigint"?{$bigint:o.toString()}:o,o=Xa(o)?Object.keys(o).sort().reduce((s,l)=>(s[l]=o[l],s),{}):o,o));Xa(t)&&(vc==null||vc.set(t,i)),r=i}return`${e}(${r})`},Zb=Symbol();function hO(e,t,r,n){const i=O.useMemo(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),a=O.useRef(i);return O.useEffect(()=>{a.current.serialized!==i.serialized&&(a.current=i)},[i]),a.current.serialized===i.serialized?a.current.queryArgs:e}function Kb(e){const t=O.useRef(e);return O.useEffect(()=>{Ns(t.current,e)||(t.current=e)},[e]),Ns(t.current,e)?t.current:e}var pve=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",vve=pve(),gve=()=>typeof navigator<"u"&&navigator.product==="ReactNative",mve=gve(),yve=()=>vve||mve?O.useLayoutEffect:O.useEffect,xve=yve(),Sve=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:kH.pending}:e;function bve({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:a,createSelector:o},serializeQueryArgs:s,context:l}){const u=a?p=>p():O.useEffect;return{buildQueryHooks:d,buildMutationHook:h,usePrefetch:f};function c(p,v,g){if(v!=null&&v.endpointName&&p.isUninitialized){const{endpointName:b}=v,w=l.endpointDefinitions[b];s({queryArgs:v.originalArgs,endpointDefinition:w,endpointName:b})===s({queryArgs:g,endpointDefinition:w,endpointName:b})&&(v=void 0)}let m=p.isSuccess?p.data:v==null?void 0:v.data;m===void 0&&(m=p.data);const y=m!==void 0,x=p.isLoading,S=(!v||v.isLoading||v.isUninitialized)&&!y&&x,_=p.isSuccess||x&&y;return{...p,data:m,currentData:p.data,isFetching:x,isLoading:S,isSuccess:_}}function f(p,v){const g=r(),m=Kb(v);return O.useCallback((y,x)=>g(e.util.prefetch(p,y,{...m,...x})),[p,g,m])}function d(p){const v=(y,{refetchOnReconnect:x,refetchOnFocus:S,refetchOnMountOrArgChange:_,skip:b=!1,pollingInterval:w=0,skipPollingIfUnfocused:C=!1}={})=>{const{initiate:A}=e.endpoints[p],T=r(),M=O.useRef(void 0);if(!M.current){const E=T(e.internalActions.internal_getRTKQSubscriptions());M.current=E}const k=hO(b?nu:y,hve,l.endpointDefinitions[p],p),I=Kb({refetchOnReconnect:x,refetchOnFocus:S,pollingInterval:w,skipPollingIfUnfocused:C}),R=O.useRef(!1),L=O.useRef(void 0);let{queryCacheKey:N,requestId:$}=L.current||{},z=!1;N&&$&&(z=M.current.isRequestSubscribed(N,$));const V=!z&&R.current;return u(()=>{R.current=z}),u(()=>{V&&(L.current=void 0)},[V]),u(()=>{var W;const E=L.current;if(typeof process<"u",k===nu){E==null||E.unsubscribe(),L.current=void 0;return}const G=(W=L.current)==null?void 0:W.subscriptionOptions;if(!E||E.arg!==k){E==null||E.unsubscribe();const F=T(A(k,{subscriptionOptions:I,forceRefetch:_}));L.current=F}else I!==G&&E.updateSubscriptionOptions(I)},[T,A,_,k,I,V]),O.useEffect(()=>()=>{var E;(E=L.current)==null||E.unsubscribe(),L.current=void 0},[]),O.useMemo(()=>({refetch:()=>{var E;if(!L.current)throw new Error(Zr(38));return(E=L.current)==null?void 0:E.refetch()}}),[])},g=({refetchOnReconnect:y,refetchOnFocus:x,pollingInterval:S=0,skipPollingIfUnfocused:_=!1}={})=>{const{initiate:b}=e.endpoints[p],w=r(),[C,A]=O.useState(Zb),T=O.useRef(void 0),M=Kb({refetchOnReconnect:y,refetchOnFocus:x,pollingInterval:S,skipPollingIfUnfocused:_});u(()=>{var L,N;const R=(L=T.current)==null?void 0:L.subscriptionOptions;M!==R&&((N=T.current)==null||N.updateSubscriptionOptions(M))},[M]);const k=O.useRef(M);u(()=>{k.current=M},[M]);const I=O.useCallback(function(R,L=!1){let N;return t(()=>{var $;($=T.current)==null||$.unsubscribe(),T.current=N=w(b(R,{subscriptionOptions:k.current,forceRefetch:!L})),A(R)}),N},[w,b]);return O.useEffect(()=>()=>{var R;(R=T==null?void 0:T.current)==null||R.unsubscribe()},[]),O.useEffect(()=>{C!==Zb&&!T.current&&I(C,!0)},[C,I]),O.useMemo(()=>[I,C],[I,C])},m=(y,{skip:x=!1,selectFromResult:S}={})=>{const{select:_}=e.endpoints[p],b=hO(x?nu:y,s,l.endpointDefinitions[p],p),w=O.useRef(void 0),C=O.useMemo(()=>o([_(b),(I,R)=>R,I=>b],c,{memoizeOptions:{resultEqualityCheck:Ns}}),[_,b]),A=O.useMemo(()=>S?o([C],S,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,S]),T=n(I=>A(I,w.current),Ns),M=i(),k=C(M.getState(),w.current);return xve(()=>{w.current=k},[k]),T};return{useQueryState:m,useQuerySubscription:v,useLazyQuerySubscription:g,useLazyQuery(y){const[x,S]=g(y),_=m(S,{...y,skip:S===Zb}),b=O.useMemo(()=>({lastArg:S}),[S]);return O.useMemo(()=>[x,_,b],[x,_,b])},useQuery(y,x){const S=v(y,x),_=m(y,{selectFromResult:y===nu||x!=null&&x.skip?void 0:Sve,...x}),{data:b,status:w,isLoading:C,isSuccess:A,isError:T,error:M}=_;return O.useDebugValue({data:b,status:w,isLoading:C,isSuccess:A,isError:T,error:M}),O.useMemo(()=>({..._,...S}),[_,S])}}}function h(p){return({selectFromResult:v,fixedCacheKey:g}={})=>{const{select:m,initiate:y}=e.endpoints[p],x=r(),[S,_]=O.useState();O.useEffect(()=>()=>{S!=null&&S.arg.fixedCacheKey||S==null||S.reset()},[S]);const b=O.useCallback(function(G){const W=x(y(G,{fixedCacheKey:g}));return _(W),W},[x,y,g]),{requestId:w}=S||{},C=O.useMemo(()=>m({fixedCacheKey:g,requestId:S==null?void 0:S.requestId}),[g,S,m]),A=O.useMemo(()=>v?o([C],v):C,[v,C]),T=n(A,Ns),M=g==null?S==null?void 0:S.arg.originalArgs:void 0,k=O.useCallback(()=>{t(()=>{S&&_(void 0),g&&x(e.internalActions.removeMutationResult({requestId:w,fixedCacheKey:g}))})},[x,g,S,w]),{endpointName:I,data:R,status:L,isLoading:N,isSuccess:$,isError:z,error:V}=T;O.useDebugValue({endpointName:I,data:R,status:L,isLoading:N,isSuccess:$,isError:z,error:V});const E=O.useMemo(()=>({...T,originalArgs:M,reset:k}),[T,M,k]);return O.useMemo(()=>[b,E],[b,E])}}}var _ve=Symbol(),wve=({batch:e=mQ,hooks:t={useDispatch:c6,useSelector:t6,useStore:u6},createSelector:r=zM,unstable__sideEffectsInRender:n=!1,...i}={})=>({name:_ve,init(a,{serializeQueryArgs:o},s){const l=a,{buildQueryHooks:u,buildMutationHook:c,usePrefetch:f}=bve({api:a,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:n,createSelector:r},serializeQueryArgs:o,context:s});return cm(l,{usePrefetch:f}),cm(s,{batch:e}),{injectEndpoint(d,h){if(fve(h)){const{useQuery:p,useLazyQuery:v,useLazyQuerySubscription:g,useQueryState:m,useQuerySubscription:y}=u(d);cm(l.endpoints[d],{useQuery:p,useLazyQuery:v,useLazyQuerySubscription:g,useQueryState:m,useQuerySubscription:y}),a[`use${qb(d)}Query`]=p,a[`useLazy${qb(d)}Query`]=v}else if(dve(h)){const p=c(d);cm(l.endpoints[d],{useMutation:p}),a[`use${qb(d)}Mutation`]=p}}}}}),Cve=Qpe(cve(),wve());const $0=Cve({baseQuery:Wpe(),endpoints:e=>({getStats:e.query({query:()=>"stats/requests",transformResponse:af}),getTasks:e.query({query:()=>"tasks",transformResponse:af}),getExceptions:e.query({query:()=>"exceptions",transformResponse:af}),getLogs:e.query({query:()=>"logs",transformResponse:af}),startSwarm:e.mutation({query:t=>({url:"swarm",method:"POST",body:Spe(qR(t)),headers:{"content-type":"application/x-www-form-urlencoded"}})}),updateUserSettings:e.mutation({query:t=>({url:"user",method:"POST",body:qR(t)})})})}),{useGetStatsQuery:Tve,useGetTasksQuery:Ave,useGetExceptionsQuery:Mve,useGetLogsQuery:kve,useStartSwarmMutation:Ive,useUpdateUserSettingsMutation:Pve}=$0;function og(e,{payload:t}){return xpe(e,t)}const Dve=ja,OH=Si({name:"swarm",initialState:Dve,reducers:{setSwarm:og}}),eI=OH.actions,Rve=OH.reducer;function Lve({availableTasks:e,userToEdit:t,handleEditUser:r}){const{tasks:n,...i}=t.userClass;return P.jsx(AH,{onSubmit:r,children:P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:4,my:2},children:[P.jsx(dt,{children:`${t.userClassName} Settings`}),P.jsx(Lk,{defaultValue:n,label:"Tasks",multiple:!0,name:"tasks",options:e}),Object.entries(i).map(([a,o])=>P.jsx(Xf,{defaultValue:o,inputProps:{"data-type":typeof o=="number"?"number":"text"},label:wT(a),name:a},`user-to-edit-${a}`)),P.jsx(Ka,{size:"large",type:"submit",variant:"contained",children:"Save"})]})})}function Eve({availableUserClasses:e,availableUserTasks:t,selectedUserClasses:r,setSelectedUserClasses:n,setSwarm:i,users:a}){const[o,s]=O.useState(!1),[l,u]=O.useState(),[c]=Pve(),f=g=>{l&&(i({users:{...a,[l.userClassName]:g}}),c({...g,userClassName:l.userClassName}),s(!1))},d=g=>()=>r.includes(g)?n(r.filter(m=>m!==g)):n(r.concat(g)),h=r.length,p=e.length,v=g=>g.target.checked?n(e):n([]);return P.jsxs(P.Fragment,{children:[P.jsx(Pt,{sx:{position:"relative",border:"1px",borderColor:"divider",borderStyle:"solid",padding:2,borderRadius:1},children:P.jsxs(Pt,{sx:{maxHeight:"30vh",overflow:"auto"},children:[P.jsx(Xx,{shrink:!0,sx:{position:"absolute",backgroundColor:"background.paper",width:"fit-content",top:"0",marginTop:"-5px",padding:"0 5px"},children:"User Classes"}),P.jsx(gG,{children:P.jsx(IG,{component:rl,children:P.jsxs(MG,{children:[P.jsx(PG,{children:P.jsx(O0,{children:P.jsx(Yl,{colSpan:4,padding:"checkbox",children:P.jsx(NT,{checked:p>0&&h===p,indeterminate:h>0&&h<p,onChange:v})})})}),P.jsx(kG,{children:Object.entries(a).map(([g,m])=>P.jsxs(O0,{hover:!0,children:[P.jsx(Yl,{onClick:d(g),padding:"checkbox",children:P.jsx(NT,{checked:r.includes(g)})}),P.jsx(Yl,{children:g}),P.jsx(Yl,{children:P.jsx(dt,{variant:"subtitle2",children:m.host})}),P.jsx(Yl,{align:"right",children:P.jsx(cd,{onClick:()=>{s(!o),u({userClass:m,userClassName:g})},children:P.jsx(MH,{})})})]},`user-class-${g}`))})]})})})]})}),P.jsx(eS,{onClose:()=>s(!1),open:o,children:l&&P.jsx(Lve,{availableTasks:t[l.userClassName],handleEditUser:f,userToEdit:l})})]})}const Ove={setSwarm:eI.setSwarm},Nve=({swarm:{availableUserTasks:e,users:t}})=>({availableUserTasks:e,users:t}),zve=ai(Nve,Ove)(Eve);function Bve({availableShapeClasses:e,availableUserClasses:t,host:r,extraOptions:n,hideCommonOptions:i,shapeUseCommonOptions:a,numUsers:o,userCount:s,overrideHostWarning:l,runTime:u,setSwarm:c,showUserclassPicker:f,spawnRate:d,alert:h,isDisabled:p=!1,isEditSwarm:v=!1,onFormChange:g,onFormSubmit:m}){const[y]=Ive(),[x,S]=O.useState(""),[_,b]=O.useState(t),w=async T=>{const{data:M}=await y({...T,...f&&_?{userClasses:_}:{}});M&&M.success?c({state:qr.RUNNING,host:T.host||r,runTime:T.runTime,spawnRate:T.spawnRate,userCount:T.userCount}):S(M?M.message:"An unknown error occured."),m&&m(T)},C=T=>{x&&S(""),g&&g(T)},A=T=>{if(!a){const M=T.target.value!==e[0];c({hideCommonOptions:M})}};return P.jsxs(ng,{maxWidth:"md",sx:{my:2},children:[P.jsx(dt,{component:"h2",noWrap:!0,variant:"h6",children:v?"Edit running load test":"Start new load test"}),!v&&f&&P.jsx(Pt,{marginBottom:2,marginTop:2,children:P.jsx(zve,{availableUserClasses:t,selectedUserClasses:_,setSelectedUserClasses:b})}),P.jsx(AH,{onChange:C,onSubmit:w,children:P.jsxs(Pt,{sx:{marginBottom:2,marginTop:2,display:"flex",flexDirection:"column",rowGap:4},children:[!v&&f&&P.jsx(Lk,{label:"Shape Class",name:"shapeClass",onChange:A,options:e}),P.jsx(JE,{defaultValue:i&&"0"||s||o||1,disabled:!!i,label:"Number of users (peak concurrency)",name:"userCount",required:!0,title:i?"Disabled for tests using LoadTestShape class":""}),P.jsx(JE,{defaultValue:i&&"0"||d||1,disabled:!!i,label:"Ramp up (users started/second)",name:"spawnRate",required:!0,title:i?"Disabled for tests using LoadTestShape class":""}),!v&&P.jsxs(P.Fragment,{children:[P.jsx(Xf,{defaultValue:r,label:`Host ${l?"(setting this will override the host for the User classes)":""}`,name:"host"}),P.jsxs(gk,{children:[P.jsx(yk,{expandIcon:P.jsx(rS,{}),children:P.jsx(dt,{children:"Advanced options"})}),P.jsx(mk,{children:P.jsx(Xf,{defaultValue:u,disabled:!!i,label:"Run time (e.g. 20, 20s, 3m, 2h, 1h20m, 3h30m10s, etc.)",name:"runTime",sx:{width:"100%"},title:i?"Disabled for tests using LoadTestShape class":""})})]})]}),!TH(n)&&P.jsx(Ppe,{extraOptions:n}),h&&!x&&P.jsx(sf,{severity:h.level||"info",children:h.message}),x&&P.jsx(sf,{severity:"error",children:x}),P.jsx(Ka,{disabled:p,size:"large",type:"submit",variant:"contained",children:v?"Update":"Start"})]})})]})}const Fve=({swarm:{availableShapeClasses:e,availableUserClasses:t,extraOptions:r,hideCommonOptions:n,shapeUseCommonOptions:i,host:a,numUsers:o,userCount:s,overrideHostWarning:l,runTime:u,spawnRate:c,showUserclassPicker:f}})=>({availableShapeClasses:e,availableUserClasses:t,extraOptions:r,hideCommonOptions:n,shapeUseCommonOptions:i,host:a,overrideHostWarning:l,showUserclassPicker:f,numUsers:o,userCount:s,runTime:u,spawnRate:c}),$ve={setSwarm:eI.setSwarm},tI=ai(Fve,$ve)(Bve);function Vve(e){const[t,r]=O.useState(!1),{hideCommonOptions:n}=si(({swarm:i})=>i);return P.jsxs(P.Fragment,{children:[P.jsx(TG,{title:n?"Disabled for tests using LoadTestShape class":"",children:P.jsx(Pt,{children:P.jsx(Ka,{color:"secondary",disabled:!!n,onClick:()=>r(!0),sx:{minHeight:"100%"},type:"button",variant:"contained",children:"Edit"})})}),P.jsx(eS,{onClose:()=>r(!1),open:t,children:P.jsx(tI,{...e,isEditSwarm:!0,onFormSubmit:()=>r(!1)})})]})}function Gve(e){const[t,r]=O.useState(!1);return P.jsxs(P.Fragment,{children:[P.jsx(Ka,{color:"success",onClick:()=>r(!0),type:"button",variant:"contained",children:"New"}),P.jsx(eS,{onClose:()=>r(!1),open:t,children:P.jsx(tI,{...e})})]})}function Hve(){const e=()=>{fetch("stats/reset")};return P.jsx(Ka,{color:"warning",onClick:e,type:"button",variant:"contained",children:"Reset"})}function Wve(){const[e,t]=O.useState(!1);O.useEffect(()=>{t(!1)},[]);const r=()=>{fetch("stop"),t(!0)};return P.jsx(Ka,{color:"error",disabled:e,onClick:r,type:"button",variant:"contained",children:e?"Loading":"Stop"})}function jve(){const e=si(({swarm:t})=>t.state);return e===qr.READY?null:P.jsxs(Pt,{sx:{display:"flex",columnGap:2,marginY:"auto",height:"50px"},children:[e===qr.STOPPED?P.jsx(Gve,{}):P.jsxs(P.Fragment,{children:[P.jsx(Vve,{}),P.jsx(Wve,{})]}),P.jsx(Hve,{})]})}function Uve(){return P.jsx(dne,{position:"static",children:P.jsx(ng,{maxWidth:"xl",children:P.jsxs(tue,{disableGutters:!0,sx:{display:"flex",justifyContent:"space-between",columnGap:2},children:[P.jsx(Lr,{color:"inherit",href:"/",sx:{display:"flex",alignItems:"center"},underline:"none",children:P.jsx(DG,{})}),P.jsxs(Pt,{sx:{display:"flex",columnGap:6},children:[P.jsx(wpe,{}),P.jsx(jve,{}),P.jsx(_H,{})]})]})})})}function Yve({children:e}){return P.jsxs(P.Fragment,{children:[P.jsxs(Pt,{sx:{minHeight:"calc(100vh - var(--footer-height))"},children:[P.jsx(Uve,{}),P.jsx("main",{children:e})]}),P.jsx(ype,{})]})}const NH=e=>e.includes("WARNING")||e.includes("ERROR")||e.includes("CRITICAL"),zH="logViewer";function fv(e,t,{shouldRunInterval:r,immediate:n}={shouldRunInterval:!0,immediate:!1}){const i=O.useRef(e);O.useEffect(()=>{i.current=e},[e]),O.useEffect(()=>{if(!r)return;n&&i.current();const a=setInterval(()=>i.current(),t);return()=>{clearInterval(a)}},[t,r])}const Xve={},BH=Si({name:"notification",initialState:Xve,reducers:{setNotification:og}}),FH=BH.actions,qve=BH.reducer;function Zve(e,{key:t,shouldNotify:r}){const n=xo(FH.setNotification),i=si(({url:{query:o}})=>o&&o.tab),a=`${t}Notification`;O.useEffect(()=>{e.length>0&&e.length<localStorage[a]&&(localStorage[a]=e.length),e.length>(localStorage[a]||0)&&(!i||i!==t)&&(!r||r&&r(a))&&(n({[t]:!0}),localStorage[a]=e.length)},[e])}const Kve={master:[],workers:{}},$H=Si({name:"logViewer",initialState:Kve,reducers:{setLogs:og}}),Qve=$H.actions,Jve=$H.reducer,VH=e=>e.reduce((t,r)=>t.concat(Array.isArray(r)?VH(r):r),[]),ege={master:[],workers:{}};function tge(){const e=si(({swarm:l})=>l),t=xo(Qve.setLogs),{data:r,refetch:n}=kve(),i=r||ege,a=O.useMemo(()=>VH(Object.values(i.workers)),[i.workers]),o=O.useMemo(()=>[...i.master].concat(a),[i.master,i.workers]),s=O.useCallback(l=>o.slice(localStorage[l]).some(NH),[o]);return fv(n,5e3,{shouldRunInterval:e.state===qr.SPAWNING||e.state==qr.RUNNING}),Zve(o,{key:zH,shouldNotify:s}),O.useEffect(()=>{t(i)},[i]),i}var rI={},rge=Xu;Object.defineProperty(rI,"__esModule",{value:!0});var nI=rI.default=void 0,nge=rge(qu()),pO=P,ige=(0,nge.default)([(0,pO.jsx)("circle",{cx:"12",cy:"19",r:"2"},"0"),(0,pO.jsx)("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh");nI=rI.default=ige;function age(e,t){const r=t?-1:1;return function(n,i){const a=n[e],o=i[e];return a<o?r*-1:a>o?r*1:0}}function oge(e,{hasTotalRow:t=!1,defaultSortKey:r="name"}={hasTotalRow:!1,defaultSortKey:"name"}){const[n,i]=O.useState(e),[a,o]=O.useState(!1),s=O.useRef(),l=c=>{const d=(t?e.slice(0,-1):[...e]).sort(age(c,c===s.current&&!a));i(t?[...d,...e.slice(-1)]:d)},u=O.useCallback(c=>{s.current||(s.current=r);const f=c.target.getAttribute("data-sortkey");if(f===s.current)if(a){o(!1),s.current=void 0,l(r);return}else o(!0);else a&&o(!1);l(f),s.current=f},[s,e,a]);return O.useEffect(()=>{e.length&&l(s.current||r)},[e]),{onTableHeadClick:u,sortedRows:n,currentSortField:s.current}}const Nh=(e,t=0)=>{const r=Math.pow(10,t);return Math.round(e*r)/r};function sge({content:e,formatter:t,round:r,markdown:n}){return t?t(e):r?Nh(e,r):n?P.jsx(F0,{content:e}):e}function sg({rows:e,structure:t,hasTotalRow:r,defaultSortKey:n}){const{onTableHeadClick:i,sortedRows:a,currentSortField:o}=oge(e,{hasTotalRow:r,defaultSortKey:n});return P.jsx(IG,{component:rl,sx:{overflowX:"visible"},children:P.jsxs(MG,{children:[P.jsx(PG,{sx:{position:"sticky",top:0,zIndex:2,backgroundColor:"background.paper"},children:P.jsx(O0,{children:t.map(({title:s,key:l})=>P.jsx(Yl,{"data-sortkey":l,onClick:i,sx:{cursor:"pointer",color:o===l?"primary.main":"text.primary"},children:s},`table-head-${l}`))})}),P.jsx(kG,{children:a.map((s,l)=>P.jsx(O0,{children:t.map(({key:u,...c},f)=>P.jsx(Yl,{children:P.jsx(sge,{content:s[u],...c})},`table-row=${f}`))},`${s.name}-${l}`))})]})})}function lge({rows:e,tableStructure:t}){return t?P.jsx(sg,{rows:e,structure:t}):null}const uge=({swarm:{extendedTables:e},ui:{extendedStats:t},url:{query:r}})=>{const n=r&&r.tab&&e&&e.find(({key:a})=>a===r.tab),i=r&&r.tab&&t&&t.find(({key:a})=>a===r.tab);return{tableStructure:n?n.structure.map(({key:a,...o})=>({key:d6(a),...o})):null,rows:i?i.data:[]}},cge=ai(uge)(lge),fge=[{key:"count",title:"# occurrences"},{key:"msg",title:"Message",markdown:!0},{key:"traceback",title:"Traceback",markdown:!0}];function dge({exceptions:e}){return P.jsx(sg,{rows:e,structure:fge})}const hge=({ui:{exceptions:e}})=>({exceptions:e}),pge=ai(hge)(dge);var SF;const vge={totalRps:0,failRatio:0,startTime:"",stats:[],errors:[],exceptions:[],charts:(SF=ja.history)==null?void 0:SF.reduce(tS,{}),ratios:{},userCount:0};var bF;const gge=(bF=ja.percentilesToChart)==null?void 0:bF.reduce((e,t)=>({...e,[`responseTimePercentile${t}`]:{value:null}}),{}),mge=e=>tS(e,{...gge,currentRps:{value:null},currentFailPerSec:{value:null},totalAvgResponseTime:{value:null},userCount:{value:null},time:""}),GH=Si({name:"ui",initialState:vge,reducers:{setUi:og,updateCharts:(e,{payload:t})=>({...e,charts:tS(e.charts,t)}),updateChartMarkers:(e,{payload:t})=>({...e,charts:{...mge(e.charts),markers:e.charts.markers?[...e.charts.markers,t]:[(e.charts.time||[""])[0],t]}})}}),gp=GH.actions,yge=GH.reducer,xge=e=>{const t=new URL(window.location.href);for(const[r,n]of Object.entries(e))t.searchParams.set(r,n);window.history.pushState(null,"",t)},Sge=()=>window.location.search?xQ(window.location.search):null,bge={query:Sge()},HH=Si({name:"url",initialState:bge,reducers:{setUrl:og}}),_ge=HH.actions,wge=HH.reducer,Cge=tx({[$0.reducerPath]:$0.reducer,logViewer:Jve,notification:qve,swarm:Rve,theme:bH,ui:yge,url:wge}),Tge=YV({reducer:Cge,middleware:e=>e().concat($0.middleware)});/*! *****************************************************************************
155
+ `},i),a}function Ahe(e,t){return e&&"run"in e?async function(r,n){const i=FE(r,t);await e.run(i,n)}:function(r){return FE(r,t||e)}}function $E(e){if(e)throw e}var Dy=Object.prototype.hasOwnProperty,pH=Object.prototype.toString,VE=Object.defineProperty,GE=Object.getOwnPropertyDescriptor,HE=function(t){return typeof Array.isArray=="function"?Array.isArray(t):pH.call(t)==="[object Array]"},WE=function(t){if(!t||pH.call(t)!=="[object Object]")return!1;var r=Dy.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&Dy.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var i;for(i in t);return typeof i>"u"||Dy.call(t,i)},jE=function(t,r){VE&&r.name==="__proto__"?VE(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},UE=function(t,r){if(r==="__proto__")if(Dy.call(t,r)){if(GE)return GE(t,r).value}else return;return t[r]},Mhe=function e(){var t,r,n,i,a,o,s=arguments[0],l=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l<u;++l)if(t=arguments[l],t!=null)for(r in t)n=UE(s,r),i=UE(t,r),s!==i&&(c&&i&&(WE(i)||(a=HE(i)))?(a?(a=!1,o=n&&HE(n)?n:[]):o=n&&WE(n)?n:{},jE(s,{name:r,newValue:e(c,o,i)})):typeof i<"u"&&jE(s,{name:r,newValue:i}));return s};const Vb=z1(Mhe);function jT(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function khe(){const e=[],t={run:r,use:n};return t;function r(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(l,...u){const c=e[++a];let f=-1;if(l){o(l);return}for(;++f<i.length;)(u[f]===null||u[f]===void 0)&&(u[f]=i[f]);i=u,c?Ihe(c,s)(...u):o(null,...u)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Ihe(e,t){let r;return n;function n(...o){const s=e.length>o.length;let l;s&&o.push(i);try{l=e.apply(this,o)}catch(u){const c=u;if(s&&r)throw c;return i(c)}s||(l instanceof Promise?l.then(a,i):l instanceof Error?i(l):a(l))}function i(o,...s){r||(r=!0,t(o,...s))}function a(o){i(null,o)}}const Ma={basename:Phe,dirname:Dhe,extname:Rhe,join:Lhe,sep:"/"};function Phe(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ag(e);let r=0,n=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(n=i):(s=-1,n=o));return r===n?n=o:n<0&&(n=e.length),e.slice(r,n)}function Dhe(e){if(ag(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Rhe(e){ag(e);let t=e.length,r=-1,n=0,i=-1,a=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){n=t+1;break}continue}r<0&&(o=!0,r=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)}function Lhe(...e){let t=-1,r;for(;++t<e.length;)ag(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":Ehe(r)}function Ehe(e){ag(e);const t=e.codePointAt(0)===47;let r=Ohe(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function Ohe(e,t){let r="",n=0,i=-1,a=0,o=-1,s,l;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),i=o,a=0;continue}}else if(r.length>0){r="",n=0,i=o,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(i+1,o):r=e.slice(i+1,o),n=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return r}function ag(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Nhe={cwd:zhe};function zhe(){return"/"}function UT(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Bhe(e){if(typeof e=="string")e=new URL(e);else if(!UT(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Fhe(e)}function Fhe(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Gb=["history","path","basename","stem","extname","dirname"];class vH{constructor(t){let r;t?UT(t)?r={path:t}:typeof t=="string"||$he(t)?r={value:t}:r=t:r={},this.cwd=Nhe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Gb.length;){const a=Gb[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)Gb.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Ma.basename(this.path):void 0}set basename(t){Wb(t,"basename"),Hb(t,"basename"),this.path=Ma.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ma.dirname(this.path):void 0}set dirname(t){YE(this.basename,"dirname"),this.path=Ma.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ma.extname(this.path):void 0}set extname(t){if(Hb(t,"extname"),YE(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ma.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){UT(t)&&(t=Bhe(t)),Wb(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ma.basename(this.path,this.extname):void 0}set stem(t){Wb(t,"stem"),Hb(t,"stem"),this.path=Ma.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const i=this.message(t,r,n);throw i.fatal=!0,i}info(t,r,n){const i=this.message(t,r,n);return i.fatal=void 0,i}message(t,r,n){const i=new yn(t,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Hb(e,t){if(e&&e.includes(Ma.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ma.sep+"`")}function Wb(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function YE(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function $he(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Vhe=function(e){const n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};Object.setPrototypeOf(a,n);const o=Object.getOwnPropertyNames(i);for(const s of o){const l=Object.getOwnPropertyDescriptor(i,s);l&&Object.defineProperty(a,s,l)}return a},Ghe={}.hasOwnProperty;class jk extends Vhe{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=khe()}copy(){const t=new jk;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(Vb(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Yb("data",this.frozen),this.namespace[t]=r,this):Ghe.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Yb("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const i=r.call(t,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=lm(t),n=this.parser||this.Parser;return jb("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),jb("process",this.parser||this.Parser),Ub("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,o){const s=lm(t),l=n.parse(s);n.run(l,s,function(c,f,d){if(c||!f||!d)return u(c);const h=f,p=n.stringify(h,d);jhe(p)?d.value=p:d.result=p,u(c,d)});function u(c,f){c||!f?o(c):a?a(f):r(void 0,f)}}}processSync(t){let r=!1,n;return this.freeze(),jb("processSync",this.parser||this.Parser),Ub("processSync",this.compiler||this.Compiler),this.process(t,i),qE("processSync","process",r),n;function i(a,o){r=!0,$E(a),n=o}}run(t,r,n){XE(t),this.freeze();const i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(o,s){const l=lm(r);i.run(t,l,u);function u(c,f,d){const h=f||t;c?s(c):o?o(h):n(void 0,h,d)}}}runSync(t,r){let n=!1,i;return this.run(t,r,a),qE("runSync","run",n),i;function a(o,s){$E(o),i=s,n=!0}}stringify(t,r){this.freeze();const n=lm(r),i=this.compiler||this.Compiler;return Ub("stringify",i),XE(t),i(t,n)}use(t,...r){const n=this.attachers,i=this.namespace;if(Yb("use",this.frozen),t!=null)if(typeof t=="function")l(t,r);else if(typeof t=="object")Array.isArray(t)?s(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(u){if(typeof u=="function")l(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[c,...f]=u;l(c,f)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(u.plugins),u.settings&&(i.settings=Vb(!0,i.settings,u.settings))}function s(u){let c=-1;if(u!=null)if(Array.isArray(u))for(;++c<u.length;){const f=u[c];a(f)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function l(u,c){let f=-1,d=-1;for(;++f<n.length;)if(n[f][0]===u){d=f;break}if(d===-1)n.push([u,...c]);else if(c.length>0){let[h,...p]=c;const v=n[d][1];jT(v)&&jT(h)&&(h=Vb(!0,v,h)),n[d]=[u,h,...p]}}}}const Hhe=new jk().freeze();function jb(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ub(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Yb(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function XE(e){if(!jT(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function qE(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function lm(e){return Whe(e)?e:new vH(e)}function Whe(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function jhe(e){return typeof e=="string"||Uhe(e)}function Uhe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Yhe="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ZE=[],KE={allowDangerousHtml:!0},Xhe=/^(https?|ircs?|mailto|xmpp)$/i,qhe=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Zhe(e){const t=e.allowedElements,r=e.allowElement,n=e.children||"",i=e.className,a=e.components,o=e.disallowedElements,s=e.rehypePlugins||ZE,l=e.remarkPlugins||ZE,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...KE}:KE,c=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Khe,h=Hhe().use(Dde).use(l).use(Ahe,u).use(s),p=new vH;typeof n=="string"&&(p.value=n);for(const y of qhe)Object.hasOwn(e,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+Yhe+y.id,void 0);const v=h.parse(p);let g=h.runSync(v,p);return i&&(g={type:"element",tagName:"div",properties:{className:i},children:g.type==="root"?g.children:[g]}),hH(g,m),gce(g,{Fragment:P.Fragment,components:a,ignoreInvalidStyle:!0,jsx:P.jsx,jsxs:P.jsxs,passKeys:!0,passNode:!0});function m(y,x,S){if(y.type==="raw"&&S&&typeof x=="number")return c?S.children.splice(x,1):S.children[x]={type:"text",value:y.value},x;if(y.type==="element"){let _;for(_ in Bb)if(Object.hasOwn(Bb,_)&&Object.hasOwn(y.properties,_)){const b=y.properties[_],w=Bb[_];(w===null||w.includes(y.tagName))&&(y.properties[_]=d(String(b||""),_,y))}}if(y.type==="element"){let _=t?!t.includes(y.tagName):o?o.includes(y.tagName):!1;if(!_&&r&&typeof x=="number"&&(_=!r(y,x,S)),_&&S&&typeof x=="number")return f&&y.children?S.children.splice(x,1,...y.children):S.children.splice(x,1),x}}}function Khe(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||r>-1&&t>r||n>-1&&t>n||Xhe.test(e.slice(0,t))?e:""}function F0({content:e}){return P.jsx(Zhe,{components:{a:Lr},skipHtml:!1,children:e})}function gH({name:e,label:t,defaultValue:r,choices:n,isSecret:i,isRequired:a}){return n?P.jsx(Lk,{defaultValue:r,label:t,name:e,options:n,required:a,sx:{width:"100%"}}):typeof r=="boolean"?P.jsx(vG,{control:P.jsx(NT,{defaultChecked:r,required:a}),label:P.jsx(F0,{content:t}),name:e}):i?P.jsx(RG,{defaultValue:r,isRequired:a,label:t,name:e}):P.jsx(Xf,{defaultValue:r,label:t,name:e,required:a,sx:{width:"100%"},type:"text"})}var Uk={},mH={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(mH);var Xu=mH.exports,Xb={};const Qhe=FY(Xte);var QE;function qu(){return QE||(QE=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Qhe}(Xb)),Xb}var Jhe=Xu;Object.defineProperty(Uk,"__esModule",{value:!0});var yH=Uk.default=void 0,epe=Jhe(qu()),tpe=P,rpe=(0,epe.default)((0,tpe.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6z"}),"Brightness4");yH=Uk.default=rpe;var Yk={},npe=Xu;Object.defineProperty(Yk,"__esModule",{value:!0});var xH=Yk.default=void 0,ipe=npe(qu()),ape=P,ope=(0,ipe.default)((0,ape.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm0-10c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}),"Brightness7");xH=Yk.default=ope;const Wa={DARK:"dark",LIGHT:"light"},spe=localStorage.theme===Wa.DARK||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?Wa.DARK:Wa.LIGHT,si=t6,lpe=c6;function xo(e,t){const r=lpe();return O.useCallback(n=>{r(e(n))},[e,r])}const upe={isDarkMode:!1},SH=Si({name:"theme",initialState:upe,reducers:{setIsDarkMode:(e,{payload:t})=>{e.isDarkMode=t}}}),cpe=SH.actions,bH=SH.reducer;function _H(){const e=si(({theme:{isDarkMode:n}})=>n),t=xo(cpe.setIsDarkMode);O.useEffect(()=>{t(spe===Wa.DARK)},[]);const r=()=>{localStorage.theme=e?Wa.LIGHT:Wa.DARK,t(!e)};return P.jsx(cd,{color:"inherit",onClick:r,children:e?P.jsx(xH,{}):P.jsx(yH,{})})}const fpe=e=>hk({palette:{mode:e,primary:{main:"#15803d"},success:{main:"#00C853"}},components:{MuiCssBaseline:{styleOverrides:{":root":{"--footer-height":"40px"},p:{margin:0}}}}});function wH(){const e=si(({theme:{isDarkMode:r}})=>r);return O.useMemo(()=>fpe(e?Wa.DARK:Wa.LIGHT),[e])}function dpe({authProviders:e,customForm:t,error:r,info:n,usernamePasswordCallback:i}){const a=wH();return P.jsxs(U6,{theme:a,children:[P.jsx(dG,{}),P.jsx(Pt,{sx:{position:"absolute",top:4,right:4},children:P.jsx(_H,{})}),P.jsxs(Pt,{component:"main",sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",display:"flex",flexDirection:"column",rowGap:4,boxShadow:24,borderRadius:4,width:400,border:"3px solid black",p:4},children:[P.jsx(Pt,{sx:{display:"flex",justifyContent:"center",columnGap:2},children:P.jsx(DG,{})}),i&&!t&&P.jsx("form",{action:i,method:"POST",children:P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:2},children:[P.jsx(Xf,{label:"Username",name:"username"}),P.jsx(RG,{}),n&&P.jsx(sf,{severity:"info",children:P.jsx(F0,{content:n})}),r&&P.jsx(sf,{severity:"error",children:r}),P.jsx(Ka,{size:"large",type:"submit",variant:"contained",children:"Login"})]})}),t&&P.jsx("form",{action:t.callbackUrl,method:"POST",children:P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:2},children:[t.inputs.map((o,s)=>P.jsx(gH,{...o},`custom-form-input-${s}`)),n&&P.jsx(sf,{severity:"info",children:P.jsx(F0,{content:n})}),r&&P.jsx(sf,{severity:"error",children:r}),P.jsx(Ka,{size:"large",type:"submit",variant:"contained",children:t.submitButtonText||"Login"})]})}),e&&P.jsx(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:1},children:e.map(({label:o,callbackUrl:s,iconUrl:l},u)=>P.jsxs(cd,{href:s,sx:{display:"flex",justifyContent:"center",alignItems:"center",columnGap:2,borderRadius:2,borderWidth:"1px",borderStyle:"solid",borderColor:"primary"},children:[P.jsx("img",{height:"32",src:l}),P.jsx(dt,{height:"32",variant:"button",children:o})]},`auth-provider-${u}`))})]})]})}var Xk={},hpe=Xu;Object.defineProperty(Xk,"__esModule",{value:!0});var CH=Xk.default=void 0,ppe=hpe(qu()),vpe=P,gpe=(0,ppe.default)((0,vpe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");CH=Xk.default=gpe;function eS({open:e,onClose:t,children:r}){return P.jsx(hG,{onClose:t,open:e,children:P.jsxs(ng,{maxWidth:"md",sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxHeight:"90vh",overflowY:"auto",display:"flex",flexDirection:"column",rowGap:2,bgcolor:"background.paper",boxShadow:24,borderRadius:4,border:"3px solid black",p:4},children:[P.jsx(cd,{color:"inherit",onClick:t,sx:{position:"absolute",top:1,right:1},children:P.jsx(CH,{})}),r]})})}function mpe(){const[e,t]=O.useState(!1),r=si(({swarm:n})=>n.version);return P.jsxs(P.Fragment,{children:[P.jsx(Pt,{sx:{display:"flex",justifyContent:"flex-end"},children:P.jsx(Ka,{color:"inherit",onClick:()=>t(!0),variant:"text",children:"About"})}),P.jsxs(eS,{onClose:()=>t(!1),open:e,children:[P.jsxs("div",{children:[P.jsx(dt,{component:"h2",mb:1,variant:"h4",children:"About"}),P.jsxs(dt,{component:"p",variant:"subtitle1",children:["Locust is free and open source software released under the"," ",P.jsx(Lr,{href:"https://github.com/locustio/locust/blob/master/LICENSE",children:"MIT License"})]}),P.jsxs(dt,{component:"p",sx:{mt:2},variant:"subtitle1",children:["It was originally developed by Carl Byström and"," ",P.jsx(Lr,{href:"https://twitter.com/jonatanheyman",children:"Jonatan Heyman"}),". Since 2019, it is primarily maintained by ",P.jsx(Lr,{href:"https://github.com/cyberw",children:"Lars Holmberg"}),"."]}),P.jsxs(dt,{component:"p",sx:{mt:2},variant:"subtitle1",children:["Many thanks to all our wonderful"," ",P.jsx(Lr,{href:"https://github.com/locustio/locust/graphs/contributors",children:"contributors"}),"!"]})]}),P.jsxs("div",{children:[P.jsx(dt,{component:"h2",mb:1,variant:"h4",children:"Need help getting started?"}),P.jsx(Lr,{href:"https://locust.cloud",children:"Locust Cloud"})," gives you access to hosted, easily scalable, and distributed load generation, as well as advanced reporting — all while preserving the flexible “it’s just Python” approach to load test scripting that Locust provides"]}),P.jsxs("div",{children:[P.jsx(dt,{component:"h2",mb:1,variant:"h4",children:"Version"}),P.jsx(Lr,{href:`https://github.com/locustio/locust/releases/tag/${r}`,children:r})]}),P.jsxs("div",{children:[P.jsx(dt,{component:"h2",mb:1,variant:"h4",children:"Links"}),P.jsx(dt,{component:"p",variant:"subtitle1",children:P.jsx(Lr,{href:"https://github.com/locustio/locust",children:"GitHub"})}),P.jsx(dt,{component:"p",variant:"subtitle1",children:P.jsx(Lr,{href:"https://docs.locust.io/en/stable",children:"Documentation"})}),P.jsx(dt,{component:"p",variant:"subtitle1",children:P.jsx(Lr,{href:"https://medium.com/locust-cloud",children:"Blog"})})]})]})]})}function ype(){return P.jsx(ng,{maxWidth:"xl",sx:{display:"flex",height:"var(--footer-height)",alignItems:"center",justifyContent:"flex-end"},children:P.jsx(mpe,{})})}const TH=e=>(Array.isArray(e)?e.length:Object.keys(e).length)===0;function xpe(e,t){return{...e,...t}}const Spe=e=>{const t=new URLSearchParams;for(const[r,n]of Object.entries(e))if(Array.isArray(n))for(const i of n)t.append(r,i);else t.append(r,n);return t},tS=(e,t)=>Object.entries(t).reduce((r,[n,i])=>({...r,[n]:[...r[n]||[],i]}),e),qr={READY:"ready",RUNNING:"running",STOPPED:"stopped",SPAWNING:"spawning",CLEANUP:"cleanup",STOPPING:"stopping",MISSING:"missing"},ja=window.templateArgs?af(window.templateArgs):{};var xF;ja.isReport&&{...ja,charts:(xF=ja.history)==null||xF.reduce((e,{currentResponseTimePercentiles:t,...r})=>tS(e,{...t,...r}),{})};function bpe({isDistributed:e,state:t,host:r,totalRps:n,failRatio:i,userCount:a,workerCount:o}){return P.jsxs(Pt,{sx:{display:"flex",columnGap:2},children:[P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column"},children:[P.jsx(dt,{variant:"button",children:"Host"}),P.jsx(TG,{title:r,children:P.jsx(dt,{noWrap:!0,sx:{overflow:"hidden",textOverflow:"ellipsis",maxWidth:"400px"},children:r})})]}),P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column"},children:[P.jsx(dt,{variant:"button",children:"Status"}),P.jsx(dt,{variant:"button",children:t})]}),(t===qr.RUNNING||t===qr.SPAWNING)&&P.jsxs(P.Fragment,{children:[P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[P.jsx(dt,{variant:"button",children:"Users"}),P.jsx(dt,{noWrap:!0,variant:"button",children:a})]})]}),e&&P.jsxs(P.Fragment,{children:[P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[P.jsx(dt,{variant:"button",children:"Workers"}),P.jsx(dt,{noWrap:!0,variant:"button",children:o})]})]}),P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[P.jsx(dt,{variant:"button",children:"RPS"}),P.jsx(dt,{noWrap:!0,variant:"button",children:n})]}),P.jsx(Bc,{flexItem:!0,orientation:"vertical"}),P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[P.jsx(dt,{variant:"button",children:"Failures"}),P.jsx(dt,{noWrap:!0,variant:"button",children:`${i}%`})]})]})}const _pe=({swarm:{isDistributed:e,state:t,host:r,workerCount:n},ui:{totalRps:i,failRatio:a,userCount:o}})=>({isDistributed:e,state:t,host:r,totalRps:i,failRatio:a,userCount:o,workerCount:n}),wpe=ai(_pe)(bpe);var qk={},Cpe=Xu;Object.defineProperty(qk,"__esModule",{value:!0});var rS=qk.default=void 0,Tpe=Cpe(qu()),Ape=P,Mpe=(0,Tpe.default)((0,Ape.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");rS=qk.default=Mpe;const kpe="input, select, textarea",Ipe=e=>e instanceof HTMLInputElement&&e.getAttribute("data-type")==="number"?Number(e.value):e instanceof HTMLInputElement&&e.type==="checkbox"?e.checked:e instanceof HTMLSelectElement&&e.multiple?Array.from(e.selectedOptions).map(t=>t.value):e.value;function AH({children:e,onSubmit:t,onChange:r}){const n=O.useCallback(async i=>{i.preventDefault();const o=[...i.target.querySelectorAll(kpe)].reduce((s,l)=>({...s,[l.name]:Ipe(l)}),{});t(o)},[t]);return P.jsx("form",{onChange:r,onSubmit:n,children:e})}function JE({defaultValue:e,...t}){const[r,n]=O.useState(e||""),i=a=>{t.onChange&&t.onChange(a),!((a.target.value.match(/\./g)||[]).length>1)&&n(a.target.value.replace(/[^0-9.]/g,""))};return O.useEffect(()=>{e&&n(e)},[e]),P.jsx(Xf,{...t,onChange:i,value:r})}function Ppe({extraOptions:e}){return P.jsxs(gk,{children:[P.jsx(yk,{expandIcon:P.jsx(rS,{}),children:P.jsx(dt,{children:"Custom parameters"})}),P.jsx(mk,{children:P.jsx(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:4},children:Object.entries(e).map(([t,r],n)=>O.createElement(gH,{...r,key:`valid-parameter-${n}`,label:r.helpText?`${wT(t)} (${r.helpText})`:wT(t),name:t}))})})]})}var Zk={},Dpe=Xu;Object.defineProperty(Zk,"__esModule",{value:!0});var MH=Zk.default=void 0,Rpe=Dpe(qu()),Lpe=P,Epe=(0,Rpe.default)((0,Lpe.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");MH=Zk.default=Epe;var kH=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(kH||{});function Ope(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Npe(e){return new RegExp("(^|:)//").test(e)}var zpe=e=>e.replace(/\/$/,""),Bpe=e=>e.replace(/^\//,"");function Fpe(e,t){if(!e)return t;if(!t)return e;if(Npe(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=zpe(e),t=Bpe(t),`${e}${r}${t}`}var eO=e=>[].concat(...e);function $pe(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Vpe(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var tO=Xa;function IH(e,t){if(e===t||!(tO(e)&&tO(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const a=Array.isArray(t)?[]:{};for(const o of r)a[o]=IH(e[o],t[o]),i&&(i=e[o]===a[o]);return i?e:a}var rO=(...e)=>fetch(...e),Gpe=e=>e.status>=200&&e.status<=299,Hpe=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function nO(e){if(!Xa(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Wpe({baseUrl:e,prepareHeaders:t=f=>f,fetchFn:r=rO,paramsSerializer:n,isJsonContentType:i=Hpe,jsonContentType:a="application/json",jsonReplacer:o,timeout:s,responseHandler:l,validateStatus:u,...c}={}){return typeof fetch>"u"&&r===rO&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(d,h)=>{const{signal:p,getState:v,extra:g,endpoint:m,forced:y,type:x}=h;let S,{url:_,headers:b=new Headers(c.headers),params:w=void 0,responseHandler:C=l??"json",validateStatus:A=u??Gpe,timeout:T=s,...M}=typeof d=="string"?{url:d}:d,k={...c,signal:p,...M};b=new Headers(nO(b)),k.headers=await t(b,{getState:v,extra:g,endpoint:m,forced:y,type:x})||b;const I=W=>typeof W=="object"&&(Xa(W)||Array.isArray(W)||typeof W.toJSON=="function");if(!k.headers.has("content-type")&&I(k.body)&&k.headers.set("content-type",a),I(k.body)&&i(k.headers)&&(k.body=JSON.stringify(k.body,o)),w){const W=~_.indexOf("?")?"&":"?",F=n?n(w):new URLSearchParams(nO(w));_+=W+F}_=Fpe(e,_);const R=new Request(_,k);S={request:new Request(_,k)};let N,$=!1,z=T&&setTimeout(()=>{$=!0,h.abort()},T);try{N=await r(R)}catch(W){return{error:{status:$?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(W)},meta:S}}finally{z&&clearTimeout(z)}const V=N.clone();S.response=V;let E,G="";try{let W;if(await Promise.all([f(N,C).then(F=>E=F,F=>W=F),V.text().then(F=>G=F,()=>{})]),W)throw W}catch(W){return{error:{status:"PARSING_ERROR",originalStatus:N.status,data:G,error:String(W)},meta:S}}return A(N,E)?{data:E,meta:S}:{error:{status:N.status,data:E},meta:S}};async function f(d,h){if(typeof h=="function")return h(d);if(h==="content-type"&&(h=i(d.headers)?"json":"text"),h==="json"){const p=await d.text();return p.length?JSON.parse(p):null}return d.text()}}var iO=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Kk=un("__rtkq/focused"),PH=un("__rtkq/unfocused"),Qk=un("__rtkq/online"),DH=un("__rtkq/offline");function RH(e){return e.type==="query"}function jpe(e){return e.type==="mutation"}function Jk(e,t,r,n,i,a){return Upe(e)?e(t,r,n,i).map(YT).map(a):Array.isArray(e)?e.map(YT).map(a):[]}function Upe(e){return typeof e=="function"}function YT(e){return typeof e=="string"?{type:e}:e}function aO(e){return e!=null}function _f(e){let t=0;for(const r in e)t++;return t}function Ype(e,t){return e.catch(t)}var uv=Symbol("forceQueryFn"),XT=e=>typeof e[uv]=="function";function Xpe({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const a=new Map,o=new Map,{unsubscribeQueryResult:s,removeMutationResult:l,updateSubscriptionOptions:u}=n.internalActions;return{buildInitiateQuery:p,buildInitiateMutation:v,getRunningQueryThunk:c,getRunningMutationThunk:f,getRunningQueriesThunk:d,getRunningMutationsThunk:h};function c(g,m){return y=>{var _;const x=i.endpointDefinitions[g],S=e({queryArgs:m,endpointDefinition:x,endpointName:g});return(_=a.get(y))==null?void 0:_[S]}}function f(g,m){return y=>{var x;return(x=o.get(y))==null?void 0:x[m]}}function d(){return g=>Object.values(a.get(g)||{}).filter(aO)}function h(){return g=>Object.values(o.get(g)||{}).filter(aO)}function p(g,m){const y=(x,{subscribe:S=!0,forceRefetch:_,subscriptionOptions:b,[uv]:w,...C}={})=>(A,T)=>{var W;const M=e({queryArgs:x,endpointDefinition:m,endpointName:g}),k=t({...C,type:"query",subscribe:S,forceRefetch:_,subscriptionOptions:b,endpointName:g,originalArgs:x,queryCacheKey:M,[uv]:w}),I=n.endpoints[g].select(x),R=A(k),L=I(T()),{requestId:N,abort:$}=R,z=L.requestId!==N,V=(W=a.get(A))==null?void 0:W[M],E=()=>I(T()),G=Object.assign(w?R.then(E):z&&!V?Promise.resolve(L):Promise.all([V,R]).then(E),{arg:x,requestId:N,subscriptionOptions:b,queryCacheKey:M,abort:$,async unwrap(){const F=await G;if(F.isError)throw F.error;return F.data},refetch:()=>A(y(x,{subscribe:!1,forceRefetch:!0})),unsubscribe(){S&&A(s({queryCacheKey:M,requestId:N}))},updateSubscriptionOptions(F){G.subscriptionOptions=F,A(u({endpointName:g,requestId:N,queryCacheKey:M,options:F}))}});if(!V&&!z&&!w){const F=a.get(A)||{};F[M]=G,a.set(A,F),G.then(()=>{delete F[M],_f(F)||a.delete(A)})}return G};return y}function v(g){return(m,{track:y=!0,fixedCacheKey:x}={})=>(S,_)=>{const b=r({type:"mutation",endpointName:g,originalArgs:m,track:y,fixedCacheKey:x}),w=S(b),{requestId:C,abort:A,unwrap:T}=w,M=Ype(w.unwrap().then(L=>({data:L})),L=>({error:L})),k=()=>{S(l({requestId:C,fixedCacheKey:x}))},I=Object.assign(M,{arg:w.arg,requestId:C,abort:A,unwrap:T,reset:k}),R=o.get(S)||{};return o.set(S,R),R[C]=I,I.then(()=>{delete R[C],_f(R)||o.delete(S)}),x&&(R[x]=I,I.then(()=>{R[x]===I&&(delete R[x],_f(R)||o.delete(S))})),I}}}function oO(e){return e}function qpe({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:a}){const o=(y,x,S,_)=>(b,w)=>{const C=r[y],A=n({queryArgs:x,endpointDefinition:C,endpointName:y});if(b(i.internalActions.queryResultPatched({queryCacheKey:A,patches:S})),!_)return;const T=i.endpoints[y].select(x)(w()),M=Jk(C.providesTags,T.data,void 0,x,{},a);b(i.internalActions.updateProvidedBy({queryCacheKey:A,providedTags:M}))},s=(y,x,S,_=!0)=>(b,w)=>{const A=i.endpoints[y].select(x)(w());let T={patches:[],inversePatches:[],undo:()=>b(i.util.patchQueryData(y,x,T.inversePatches,_))};if(A.status==="uninitialized")return T;let M;if("data"in A)if(la(A.data)){const[k,I,R]=GV(A.data,S);T.patches.push(...I),T.inversePatches.push(...R),M=k}else M=S(A.data),T.patches.push({op:"replace",path:[],value:M}),T.inversePatches.push({op:"replace",path:[],value:A.data});return T.patches.length===0||b(i.util.patchQueryData(y,x,T.patches,_)),T},l=(y,x,S)=>_=>_(i.endpoints[y].initiate(x,{subscribe:!1,forceRefetch:!0,[uv]:()=>({data:S})})),u=async(y,{signal:x,abort:S,rejectWithValue:_,fulfillWithValue:b,dispatch:w,getState:C,extra:A})=>{const T=r[y.endpointName];try{let M=oO,k;const I={signal:x,abort:S,dispatch:w,getState:C,extra:A,endpoint:y.endpointName,type:y.type,forced:y.type==="query"?c(y,C()):void 0},R=y.type==="query"?y[uv]:void 0;if(R?k=R():T.query?(k=await t(T.query(y.originalArgs),I,T.extraOptions),T.transformResponse&&(M=T.transformResponse)):k=await T.queryFn(y.originalArgs,I,T.extraOptions,L=>t(L,I,T.extraOptions)),typeof process<"u",k.error)throw new iO(k.error,k.meta);return b(await M(k.data,k.meta,y.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:k.meta,[nf]:!0})}catch(M){let k=M;if(k instanceof iO){let I=oO;T.query&&T.transformErrorResponse&&(I=T.transformErrorResponse);try{return _(await I(k.value,k.meta,y.originalArgs),{baseQueryMeta:k.meta,[nf]:!0})}catch(R){k=R}}throw typeof process<"u",console.error(k),k}};function c(y,x){var C,A,T;const S=(A=(C=x[e])==null?void 0:C.queries)==null?void 0:A[y.queryCacheKey],_=(T=x[e])==null?void 0:T.config.refetchOnMountOrArgChange,b=S==null?void 0:S.fulfilledTimeStamp,w=y.forceRefetch??(y.subscribe&&_);return w?w===!0||(Number(new Date)-Number(b))/1e3>=w:!1}const f=FR(`${e}/executeQuery`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[nf]:!0}},condition(y,{getState:x}){var T,M,k;const S=x(),_=(M=(T=S[e])==null?void 0:T.queries)==null?void 0:M[y.queryCacheKey],b=_==null?void 0:_.fulfilledTimeStamp,w=y.originalArgs,C=_==null?void 0:_.originalArgs,A=r[y.endpointName];return XT(y)?!0:(_==null?void 0:_.status)==="pending"?!1:c(y,S)||RH(A)&&((k=A==null?void 0:A.forceRefetch)!=null&&k.call(A,{currentArg:w,previousArg:C,endpointState:_,state:S}))?!0:!b},dispatchConditionRejection:!0}),d=FR(`${e}/executeMutation`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[nf]:!0}}}),h=y=>"force"in y,p=y=>"ifOlderThan"in y,v=(y,x,S)=>(_,b)=>{const w=h(S)&&S.force,C=p(S)&&S.ifOlderThan,A=(M=!0)=>{const k={forceRefetch:M,isPrefetch:!0};return i.endpoints[y].initiate(x,k)},T=i.endpoints[y].select(x)(b());if(w)_(A());else if(C){const M=T==null?void 0:T.fulfilledTimeStamp;if(!M){_(A());return}(Number(new Date)-Number(new Date(M)))/1e3>=C&&_(A())}else _(A(!1))};function g(y){return x=>{var S,_;return((_=(S=x==null?void 0:x.meta)==null?void 0:S.arg)==null?void 0:_.endpointName)===y}}function m(y,x){return{matchPending:ap(FM(y),g(x)),matchFulfilled:ap(Hs(y),g(x)),matchRejected:ap(zf(y),g(x))}}return{queryThunk:f,mutationThunk:d,prefetch:v,updateQueryData:s,upsertQueryData:l,patchQueryData:o,buildMatchThunkActions:m}}function LH(e,t,r,n){return Jk(r[e.meta.arg.endpointName][t],Hs(e)?e.payload:void 0,ix(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function um(e,t,r){const n=e[t];n&&r(n)}function cv(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function sO(e,t,r){const n=e[cv(t)];n&&r(n)}var Qd={};function Zpe({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:a,hasRehydrationInfo:o},assertTagType:s,config:l}){const u=un(`${e}/resetApiState`),c=Si({name:`${e}/queries`,initialState:Qd,reducers:{removeQueryResult:{reducer(x,{payload:{queryCacheKey:S}}){delete x[S]},prepare:Gd()},queryResultPatched:{reducer(x,{payload:{queryCacheKey:S,patches:_}}){um(x,S,b=>{b.data=LR(b.data,_.concat())})},prepare:Gd()}},extraReducers(x){x.addCase(t.pending,(S,{meta:_,meta:{arg:b}})=>{var C;const w=XT(b);S[C=b.queryCacheKey]??(S[C]={status:"uninitialized",endpointName:b.endpointName}),um(S,b.queryCacheKey,A=>{A.status="pending",A.requestId=w&&A.requestId?A.requestId:_.requestId,b.originalArgs!==void 0&&(A.originalArgs=b.originalArgs),A.startedTimeStamp=_.startedTimeStamp})}).addCase(t.fulfilled,(S,{meta:_,payload:b})=>{um(S,_.arg.queryCacheKey,w=>{if(w.requestId!==_.requestId&&!XT(_.arg))return;const{merge:C}=n[_.arg.endpointName];if(w.status="fulfilled",C)if(w.data!==void 0){const{fulfilledTimeStamp:A,arg:T,baseQueryMeta:M,requestId:k}=_;let I=Yv(w.data,R=>C(R,b,{arg:T.originalArgs,baseQueryMeta:M,fulfilledTimeStamp:A,requestId:k}));w.data=I}else w.data=b;else w.data=n[_.arg.endpointName].structuralSharing??!0?IH(sa(w.data)?xZ(w.data):w.data,b):b;delete w.error,w.fulfilledTimeStamp=_.fulfilledTimeStamp})}).addCase(t.rejected,(S,{meta:{condition:_,arg:b,requestId:w},error:C,payload:A})=>{um(S,b.queryCacheKey,T=>{if(!_){if(T.requestId!==w)return;T.status="rejected",T.error=A??C}})}).addMatcher(o,(S,_)=>{const{queries:b}=a(_);for(const[w,C]of Object.entries(b))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&(S[w]=C)})}}),f=Si({name:`${e}/mutations`,initialState:Qd,reducers:{removeMutationResult:{reducer(x,{payload:S}){const _=cv(S);_ in x&&delete x[_]},prepare:Gd()}},extraReducers(x){x.addCase(r.pending,(S,{meta:_,meta:{requestId:b,arg:w,startedTimeStamp:C}})=>{w.track&&(S[cv(_)]={requestId:b,status:"pending",endpointName:w.endpointName,startedTimeStamp:C})}).addCase(r.fulfilled,(S,{payload:_,meta:b})=>{b.arg.track&&sO(S,b,w=>{w.requestId===b.requestId&&(w.status="fulfilled",w.data=_,w.fulfilledTimeStamp=b.fulfilledTimeStamp)})}).addCase(r.rejected,(S,{payload:_,error:b,meta:w})=>{w.arg.track&&sO(S,w,C=>{C.requestId===w.requestId&&(C.status="rejected",C.error=_??b)})}).addMatcher(o,(S,_)=>{const{mutations:b}=a(_);for(const[w,C]of Object.entries(b))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&w!==(C==null?void 0:C.requestId)&&(S[w]=C)})}}),d=Si({name:`${e}/invalidation`,initialState:Qd,reducers:{updateProvidedBy:{reducer(x,S){var w,C;const{queryCacheKey:_,providedTags:b}=S.payload;for(const A of Object.values(x))for(const T of Object.values(A)){const M=T.indexOf(_);M!==-1&&T.splice(M,1)}for(const{type:A,id:T}of b){const M=(w=x[A]??(x[A]={}))[C=T||"__internal_without_id"]??(w[C]=[]);M.includes(_)||M.push(_)}},prepare:Gd()}},extraReducers(x){x.addCase(c.actions.removeQueryResult,(S,{payload:{queryCacheKey:_}})=>{for(const b of Object.values(S))for(const w of Object.values(b)){const C=w.indexOf(_);C!==-1&&w.splice(C,1)}}).addMatcher(o,(S,_)=>{var w,C;const{provided:b}=a(_);for(const[A,T]of Object.entries(b))for(const[M,k]of Object.entries(T)){const I=(w=S[A]??(S[A]={}))[C=M||"__internal_without_id"]??(w[C]=[]);for(const R of k)I.includes(R)||I.push(R)}}).addMatcher(Ro(Hs(t),ix(t)),(S,_)=>{const b=LH(_,"providesTags",n,s),{queryCacheKey:w}=_.meta.arg;d.caseReducers.updateProvidedBy(S,d.actions.updateProvidedBy({queryCacheKey:w,providedTags:b}))})}}),h=Si({name:`${e}/subscriptions`,initialState:Qd,reducers:{updateSubscriptionOptions(x,S){},unsubscribeQueryResult(x,S){},internal_getRTKQSubscriptions(){}}}),p=Si({name:`${e}/internalSubscriptions`,initialState:Qd,reducers:{subscriptionsUpdated:{reducer(x,S){return LR(x,S.payload)},prepare:Gd()}}}),v=Si({name:`${e}/config`,initialState:{online:$pe(),focused:Vpe(),middlewareRegistered:!1,...l},reducers:{middlewareRegistered(x,{payload:S}){x.middlewareRegistered=x.middlewareRegistered==="conflict"||i!==S?"conflict":!0}},extraReducers:x=>{x.addCase(Qk,S=>{S.online=!0}).addCase(DH,S=>{S.online=!1}).addCase(Kk,S=>{S.focused=!0}).addCase(PH,S=>{S.focused=!1}).addMatcher(o,S=>({...S}))}}),g=tx({queries:c.reducer,mutations:f.reducer,provided:d.reducer,subscriptions:p.reducer,config:v.reducer}),m=(x,S)=>g(u.match(S)?void 0:x,S),y={...v.actions,...c.actions,...h.actions,...p.actions,...f.actions,...d.actions,resetApiState:u};return{reducer:m,actions:y}}var nu=Symbol.for("RTKQ/skipToken"),EH={status:"uninitialized"},lO=Yv(EH,()=>{}),uO=Yv(EH,()=>{});function Kpe({serializeQueryArgs:e,reducerPath:t,createSelector:r}){const n=f=>lO,i=f=>uO;return{buildQuerySelector:s,buildMutationSelector:l,selectInvalidatedBy:u,selectCachedArgsForQuery:c};function a(f){return{...f,...Ope(f.status)}}function o(f){return f[t]}function s(f,d){return h=>{const p=e({queryArgs:h,endpointDefinition:d,endpointName:f});return r(h===nu?n:m=>{var y,x;return((x=(y=o(m))==null?void 0:y.queries)==null?void 0:x[p])??lO},a)}}function l(){return f=>{let d;return typeof f=="object"?d=cv(f)??nu:d=f,r(d===nu?i:v=>{var g,m;return((m=(g=o(v))==null?void 0:g.mutations)==null?void 0:m[d])??uO},a)}}function u(f,d){const h=f[t],p=new Set;for(const v of d.map(YT)){const g=h.provided[v.type];if(!g)continue;let m=(v.id!==void 0?g[v.id]:eO(Object.values(g)))??[];for(const y of m)p.add(y)}return eO(Array.from(p.values()).map(v=>{const g=h.queries[v];return g?[{queryCacheKey:v,endpointName:g.endpointName,originalArgs:g.originalArgs}]:[]}))}function c(f,d){return Object.values(f[t].queries).filter(h=>(h==null?void 0:h.endpointName)===d&&h.status!=="uninitialized").map(h=>h.originalArgs)}}var pc=WeakMap?new WeakMap:void 0,cO=({endpointName:e,queryArgs:t})=>{let r="";const n=pc==null?void 0:pc.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(a,o)=>(o=typeof o=="bigint"?{$bigint:o.toString()}:o,o=Xa(o)?Object.keys(o).sort().reduce((s,l)=>(s[l]=o[l],s),{}):o,o));Xa(t)&&(pc==null||pc.set(t,i)),r=i}return`${e}(${r})`};function Qpe(...e){return function(r){const n=ev(u=>{var c;return(c=r.extractRehydrationInfo)==null?void 0:c.call(r,u,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(u){let c=cO;if("serializeQueryArgs"in u.endpointDefinition){const f=u.endpointDefinition.serializeQueryArgs;c=d=>{const h=f(d);return typeof h=="string"?h:cO({...d,queryArgs:h})}}else r.serializeQueryArgs&&(c=r.serializeQueryArgs);return c(u)},tagTypes:[...r.tagTypes||[]]},a={endpointDefinitions:{},batch(u){u()},apiUid:BM(),extractRehydrationInfo:n,hasRehydrationInfo:ev(u=>n(u)!=null)},o={injectEndpoints:l,enhanceEndpoints({addTagTypes:u,endpoints:c}){if(u)for(const f of u)i.tagTypes.includes(f)||i.tagTypes.push(f);if(c)for(const[f,d]of Object.entries(c))typeof d=="function"?d(a.endpointDefinitions[f]):Object.assign(a.endpointDefinitions[f]||{},d);return o}},s=e.map(u=>u.init(o,i,a));function l(u){const c=u.endpoints({query:f=>({...f,type:"query"}),mutation:f=>({...f,type:"mutation"})});for(const[f,d]of Object.entries(c)){if(u.overrideExisting!==!0&&f in a.endpointDefinitions){if(u.overrideExisting==="throw")throw new Error(Zr(39));typeof process<"u";continue}a.endpointDefinitions[f]=d;for(const h of s)h.injectEndpoint(f,d)}return o}return o.injectEndpoints({endpoints:r.endpoints})}}function Jpe(e){for(let t in e)return!1;return!0}var eve=2147483647/1e3-1,tve=({reducerPath:e,api:t,queryThunk:r,context:n,internalState:i})=>{const{removeQueryResult:a,unsubscribeQueryResult:o}=t.internalActions,s=Ro(o.match,r.fulfilled,r.rejected);function l(d){const h=i.currentSubscriptions[d];return!!h&&!Jpe(h)}const u={},c=(d,h,p)=>{var v;if(s(d)){const g=h.getState()[e],{queryCacheKey:m}=o.match(d)?d.payload:d.meta.arg;f(m,(v=g.queries[m])==null?void 0:v.endpointName,h,g.config)}if(t.util.resetApiState.match(d))for(const[g,m]of Object.entries(u))m&&clearTimeout(m),delete u[g];if(n.hasRehydrationInfo(d)){const g=h.getState()[e],{queries:m}=n.extractRehydrationInfo(d);for(const[y,x]of Object.entries(m))f(y,x==null?void 0:x.endpointName,h,g.config)}};function f(d,h,p,v){const g=n.endpointDefinitions[h],m=(g==null?void 0:g.keepUnusedDataFor)??v.keepUnusedDataFor;if(m===1/0)return;const y=Math.max(0,Math.min(m,eve));if(!l(d)){const x=u[d];x&&clearTimeout(x),u[d]=setTimeout(()=>{l(d)||p.dispatch(a({queryCacheKey:d})),delete u[d]},y*1e3)}}return c},rve=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:a,assertTagType:o,refetchQuery:s,internalState:l})=>{const{removeQueryResult:u}=a.internalActions,c=Ro(Hs(n),ix(n)),f=Ro(Hs(n,i),zf(n,i));let d=[];const h=(g,m)=>{c(g)?v(LH(g,"invalidatesTags",r,o),m):f(g)?v([],m):a.util.invalidateTags.match(g)&&v(Jk(g.payload,void 0,void 0,void 0,void 0,o),m)};function p(g){var m,y;for(const x in g.queries)if(((m=g.queries[x])==null?void 0:m.status)==="pending")return!0;for(const x in g.mutations)if(((y=g.mutations[x])==null?void 0:y.status)==="pending")return!0;return!1}function v(g,m){const y=m.getState(),x=y[e];if(d.push(...g),x.config.invalidationBehavior==="delayed"&&p(x))return;const S=d;if(d=[],S.length===0)return;const _=a.util.selectInvalidatedBy(y,S);t.batch(()=>{const b=Array.from(_.values());for(const{queryCacheKey:w}of b){const C=x.queries[w],A=l.currentSubscriptions[w]??{};C&&(_f(A)===0?m.dispatch(u({queryCacheKey:w})):C.status!=="uninitialized"&&m.dispatch(s(C,w)))}})}return h},nve=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const a={},o=(d,h)=>{(r.internalActions.updateSubscriptionOptions.match(d)||r.internalActions.unsubscribeQueryResult.match(d))&&l(d.payload,h),(t.pending.match(d)||t.rejected.match(d)&&d.meta.condition)&&l(d.meta.arg,h),(t.fulfilled.match(d)||t.rejected.match(d)&&!d.meta.condition)&&s(d.meta.arg,h),r.util.resetApiState.match(d)&&c()};function s({queryCacheKey:d},h){const p=h.getState()[e],v=p.queries[d],g=i.currentSubscriptions[d];if(!v||v.status==="uninitialized")return;const{lowestPollingInterval:m,skipPollingIfUnfocused:y}=f(g);if(!Number.isFinite(m))return;const x=a[d];x!=null&&x.timeout&&(clearTimeout(x.timeout),x.timeout=void 0);const S=Date.now()+m;a[d]={nextPollTimestamp:S,pollingInterval:m,timeout:setTimeout(()=>{(p.config.focused||!y)&&h.dispatch(n(v,d)),s({queryCacheKey:d},h)},m)}}function l({queryCacheKey:d},h){const v=h.getState()[e].queries[d],g=i.currentSubscriptions[d];if(!v||v.status==="uninitialized")return;const{lowestPollingInterval:m}=f(g);if(!Number.isFinite(m)){u(d);return}const y=a[d],x=Date.now()+m;(!y||x<y.nextPollTimestamp)&&s({queryCacheKey:d},h)}function u(d){const h=a[d];h!=null&&h.timeout&&clearTimeout(h.timeout),delete a[d]}function c(){for(const d of Object.keys(a))u(d)}function f(d={}){let h=!1,p=Number.POSITIVE_INFINITY;for(let v in d)d[v].pollingInterval&&(p=Math.min(d[v].pollingInterval,p),h=d[v].skipPollingIfUnfocused||h);return{lowestPollingInterval:p,skipPollingIfUnfocused:h}}return o},ive=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:a}=r.internalActions,o=(l,u)=>{Kk.match(l)&&s(u,"refetchOnFocus"),Qk.match(l)&&s(u,"refetchOnReconnect")};function s(l,u){const c=l.getState()[e],f=c.queries,d=i.currentSubscriptions;t.batch(()=>{for(const h of Object.keys(d)){const p=f[h],v=d[h];if(!v||!p)continue;(Object.values(v).some(m=>m[u]===!0)||Object.values(v).every(m=>m[u]===void 0)&&c.config[u])&&(_f(v)===0?l.dispatch(a({queryCacheKey:h})):p.status!=="uninitialized"&&l.dispatch(n(p,h)))}})}return o},fO=new Error("Promise never resolved before cacheEntryRemoved."),ave=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:a})=>{const o=ST(n),s=ST(i),l=Hs(n,i),u={},c=(h,p,v)=>{const g=f(h);if(n.pending.match(h)){const m=v[t].queries[g],y=p.getState()[t].queries[g];!m&&y&&d(h.meta.arg.endpointName,h.meta.arg.originalArgs,g,p,h.meta.requestId)}else if(i.pending.match(h))p.getState()[t].mutations[g]&&d(h.meta.arg.endpointName,h.meta.arg.originalArgs,g,p,h.meta.requestId);else if(l(h)){const m=u[g];m!=null&&m.valueResolved&&(m.valueResolved({data:h.payload,meta:h.meta.baseQueryMeta}),delete m.valueResolved)}else if(e.internalActions.removeQueryResult.match(h)||e.internalActions.removeMutationResult.match(h)){const m=u[g];m&&(delete u[g],m.cacheEntryRemoved())}else if(e.util.resetApiState.match(h))for(const[m,y]of Object.entries(u))delete u[m],y.cacheEntryRemoved()};function f(h){return o(h)?h.meta.arg.queryCacheKey:s(h)?h.meta.arg.fixedCacheKey??h.meta.requestId:e.internalActions.removeQueryResult.match(h)?h.payload.queryCacheKey:e.internalActions.removeMutationResult.match(h)?cv(h.payload):""}function d(h,p,v,g,m){const y=r.endpointDefinitions[h],x=y==null?void 0:y.onCacheEntryAdded;if(!x)return;let S={};const _=new Promise(M=>{S.cacheEntryRemoved=M}),b=Promise.race([new Promise(M=>{S.valueResolved=M}),_.then(()=>{throw fO})]);b.catch(()=>{}),u[v]=S;const w=e.endpoints[h].select(y.type==="query"?p:v),C=g.dispatch((M,k,I)=>I),A={...g,getCacheEntry:()=>w(g.getState()),requestId:m,extra:C,updateCachedData:y.type==="query"?M=>g.dispatch(e.util.updateQueryData(h,p,M)):void 0,cacheDataLoaded:b,cacheEntryRemoved:_},T=x(p,A);Promise.resolve(T).catch(M=>{if(M!==fO)throw M})}return c},ove=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=FM(r,n),a=zf(r,n),o=Hs(r,n),s={};return(u,c)=>{var f,d;if(i(u)){const{requestId:h,arg:{endpointName:p,originalArgs:v}}=u.meta,g=t.endpointDefinitions[p],m=g==null?void 0:g.onQueryStarted;if(m){const y={},x=new Promise((w,C)=>{y.resolve=w,y.reject=C});x.catch(()=>{}),s[h]=y;const S=e.endpoints[p].select(g.type==="query"?v:h),_=c.dispatch((w,C,A)=>A),b={...c,getCacheEntry:()=>S(c.getState()),requestId:h,extra:_,updateCachedData:g.type==="query"?w=>c.dispatch(e.util.updateQueryData(p,v,w)):void 0,queryFulfilled:x};m(v,b)}}else if(o(u)){const{requestId:h,baseQueryMeta:p}=u.meta;(f=s[h])==null||f.resolve({data:u.payload,meta:p}),delete s[h]}else if(a(u)){const{requestId:h,rejectedWithValue:p,baseQueryMeta:v}=u.meta;(d=s[h])==null||d.reject({error:u.payload??u.error,isUnhandledError:!p,meta:v}),delete s[h]}}},sve=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},lve=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,a=null;const{updateSubscriptionOptions:o,unsubscribeQueryResult:s}=e.internalActions,l=(h,p)=>{var g,m,y;if(o.match(p)){const{queryCacheKey:x,requestId:S,options:_}=p.payload;return(g=h==null?void 0:h[x])!=null&&g[S]&&(h[x][S]=_),!0}if(s.match(p)){const{queryCacheKey:x,requestId:S}=p.payload;return h[x]&&delete h[x][S],!0}if(e.internalActions.removeQueryResult.match(p))return delete h[p.payload.queryCacheKey],!0;if(t.pending.match(p)){const{meta:{arg:x,requestId:S}}=p,_=h[m=x.queryCacheKey]??(h[m]={});return _[`${S}_running`]={},x.subscribe&&(_[S]=x.subscriptionOptions??_[S]??{}),!0}let v=!1;if(t.fulfilled.match(p)||t.rejected.match(p)){const x=h[p.meta.arg.queryCacheKey]||{},S=`${p.meta.requestId}_running`;v||(v=!!x[S]),delete x[S]}if(t.rejected.match(p)){const{meta:{condition:x,arg:S,requestId:_}}=p;if(x&&S.subscribe){const b=h[y=S.queryCacheKey]??(h[y]={});b[_]=S.subscriptionOptions??b[_]??{},v=!0}}return v},u=()=>r.currentSubscriptions,d={getSubscriptions:u,getSubscriptionCount:h=>{const v=u()[h]??{};return _f(v)},isRequestSubscribed:(h,p)=>{var g;const v=u();return!!((g=v==null?void 0:v[h])!=null&&g[p])}};return(h,p)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(h))return i=r.currentSubscriptions={},a=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(h))return[!1,d];const v=l(r.currentSubscriptions,h);let g=!0;if(v){a||(a=setTimeout(()=>{const x=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,S]=GV(i,()=>x);p.next(e.internalActions.subscriptionsUpdated(S)),i=x,a=null},500));const m=typeof h.type=="string"&&!!h.type.startsWith(n),y=t.rejected.match(h)&&h.meta.condition&&!!h.meta.arg.subscribe;g=!m&&!y}return[g,!1]}};function uve(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:a}=i,o={invalidateTags:un(`${t}/invalidateTags`)},s=f=>f.type.startsWith(`${t}/`),l=[sve,tve,rve,nve,ave,ove];return{middleware:f=>{let d=!1;const p={...e,internalState:{currentSubscriptions:{}},refetchQuery:c,isThisApiSliceAction:s},v=l.map(y=>y(p)),g=lve(p),m=ive(p);return y=>x=>{if(!OV(x))return y(x);d||(d=!0,f.dispatch(n.internalActions.middlewareRegistered(a)));const S={...f,next:y},_=f.getState(),[b,w]=g(x,S,_);let C;if(b?C=y(x):C=w,f.getState()[t]&&(m(x,S,_),s(x)||i.hasRehydrationInfo(x)))for(let A of v)A(x,S,_);return C}},actions:o};function c(f,d,h={}){return r({type:"query",endpointName:f.endpointName,originalArgs:f.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d,...h})}}function Zo(e,...t){return Object.assign(e,...t)}var dO=Symbol(),cve=({createSelector:e=zM}={})=>({name:dO,init(t,{baseQuery:r,tagTypes:n,reducerPath:i,serializeQueryArgs:a,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:l,refetchOnReconnect:u,invalidationBehavior:c},f){kZ();const d=z=>(typeof process<"u",z);Object.assign(t,{reducerPath:i,endpoints:{},internalActions:{onOnline:Qk,onOffline:DH,onFocus:Kk,onFocusLost:PH},util:{}});const{queryThunk:h,mutationThunk:p,patchQueryData:v,updateQueryData:g,upsertQueryData:m,prefetch:y,buildMatchThunkActions:x}=qpe({baseQuery:r,reducerPath:i,context:f,api:t,serializeQueryArgs:a,assertTagType:d}),{reducer:S,actions:_}=Zpe({context:f,queryThunk:h,mutationThunk:p,reducerPath:i,assertTagType:d,config:{refetchOnFocus:l,refetchOnReconnect:u,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:i,invalidationBehavior:c}});Zo(t.util,{patchQueryData:v,updateQueryData:g,upsertQueryData:m,prefetch:y,resetApiState:_.resetApiState}),Zo(t.internalActions,_);const{middleware:b,actions:w}=uve({reducerPath:i,context:f,queryThunk:h,mutationThunk:p,api:t,assertTagType:d});Zo(t.util,w),Zo(t,{reducer:S,middleware:b});const{buildQuerySelector:C,buildMutationSelector:A,selectInvalidatedBy:T,selectCachedArgsForQuery:M}=Kpe({serializeQueryArgs:a,reducerPath:i,createSelector:e});Zo(t.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:M});const{buildInitiateQuery:k,buildInitiateMutation:I,getRunningMutationThunk:R,getRunningMutationsThunk:L,getRunningQueriesThunk:N,getRunningQueryThunk:$}=Xpe({queryThunk:h,mutationThunk:p,api:t,serializeQueryArgs:a,context:f});return Zo(t.util,{getRunningMutationThunk:R,getRunningMutationsThunk:L,getRunningQueryThunk:$,getRunningQueriesThunk:N}),{name:dO,injectEndpoint(z,V){var G;const E=t;(G=E.endpoints)[z]??(G[z]={}),RH(V)?Zo(E.endpoints[z],{name:z,select:C(z,V),initiate:k(z,V)},x(h,z)):jpe(V)&&Zo(E.endpoints[z],{name:z,select:A(),initiate:I(z)},x(p,z))}}}});function fve(e){return e.type==="query"}function dve(e){return e.type==="mutation"}function cm(e,...t){return Object.assign(e,...t)}function qb(e){return e.replace(e[0],e[0].toUpperCase())}var vc=WeakMap?new WeakMap:void 0,hve=({endpointName:e,queryArgs:t})=>{let r="";const n=vc==null?void 0:vc.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(a,o)=>(o=typeof o=="bigint"?{$bigint:o.toString()}:o,o=Xa(o)?Object.keys(o).sort().reduce((s,l)=>(s[l]=o[l],s),{}):o,o));Xa(t)&&(vc==null||vc.set(t,i)),r=i}return`${e}(${r})`},Zb=Symbol();function hO(e,t,r,n){const i=O.useMemo(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),a=O.useRef(i);return O.useEffect(()=>{a.current.serialized!==i.serialized&&(a.current=i)},[i]),a.current.serialized===i.serialized?a.current.queryArgs:e}function Kb(e){const t=O.useRef(e);return O.useEffect(()=>{Ns(t.current,e)||(t.current=e)},[e]),Ns(t.current,e)?t.current:e}var pve=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",vve=pve(),gve=()=>typeof navigator<"u"&&navigator.product==="ReactNative",mve=gve(),yve=()=>vve||mve?O.useLayoutEffect:O.useEffect,xve=yve(),Sve=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:kH.pending}:e;function bve({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:a,createSelector:o},serializeQueryArgs:s,context:l}){const u=a?p=>p():O.useEffect;return{buildQueryHooks:d,buildMutationHook:h,usePrefetch:f};function c(p,v,g){if(v!=null&&v.endpointName&&p.isUninitialized){const{endpointName:b}=v,w=l.endpointDefinitions[b];s({queryArgs:v.originalArgs,endpointDefinition:w,endpointName:b})===s({queryArgs:g,endpointDefinition:w,endpointName:b})&&(v=void 0)}let m=p.isSuccess?p.data:v==null?void 0:v.data;m===void 0&&(m=p.data);const y=m!==void 0,x=p.isLoading,S=(!v||v.isLoading||v.isUninitialized)&&!y&&x,_=p.isSuccess||x&&y;return{...p,data:m,currentData:p.data,isFetching:x,isLoading:S,isSuccess:_}}function f(p,v){const g=r(),m=Kb(v);return O.useCallback((y,x)=>g(e.util.prefetch(p,y,{...m,...x})),[p,g,m])}function d(p){const v=(y,{refetchOnReconnect:x,refetchOnFocus:S,refetchOnMountOrArgChange:_,skip:b=!1,pollingInterval:w=0,skipPollingIfUnfocused:C=!1}={})=>{const{initiate:A}=e.endpoints[p],T=r(),M=O.useRef(void 0);if(!M.current){const E=T(e.internalActions.internal_getRTKQSubscriptions());M.current=E}const k=hO(b?nu:y,hve,l.endpointDefinitions[p],p),I=Kb({refetchOnReconnect:x,refetchOnFocus:S,pollingInterval:w,skipPollingIfUnfocused:C}),R=O.useRef(!1),L=O.useRef(void 0);let{queryCacheKey:N,requestId:$}=L.current||{},z=!1;N&&$&&(z=M.current.isRequestSubscribed(N,$));const V=!z&&R.current;return u(()=>{R.current=z}),u(()=>{V&&(L.current=void 0)},[V]),u(()=>{var W;const E=L.current;if(typeof process<"u",k===nu){E==null||E.unsubscribe(),L.current=void 0;return}const G=(W=L.current)==null?void 0:W.subscriptionOptions;if(!E||E.arg!==k){E==null||E.unsubscribe();const F=T(A(k,{subscriptionOptions:I,forceRefetch:_}));L.current=F}else I!==G&&E.updateSubscriptionOptions(I)},[T,A,_,k,I,V]),O.useEffect(()=>()=>{var E;(E=L.current)==null||E.unsubscribe(),L.current=void 0},[]),O.useMemo(()=>({refetch:()=>{var E;if(!L.current)throw new Error(Zr(38));return(E=L.current)==null?void 0:E.refetch()}}),[])},g=({refetchOnReconnect:y,refetchOnFocus:x,pollingInterval:S=0,skipPollingIfUnfocused:_=!1}={})=>{const{initiate:b}=e.endpoints[p],w=r(),[C,A]=O.useState(Zb),T=O.useRef(void 0),M=Kb({refetchOnReconnect:y,refetchOnFocus:x,pollingInterval:S,skipPollingIfUnfocused:_});u(()=>{var L,N;const R=(L=T.current)==null?void 0:L.subscriptionOptions;M!==R&&((N=T.current)==null||N.updateSubscriptionOptions(M))},[M]);const k=O.useRef(M);u(()=>{k.current=M},[M]);const I=O.useCallback(function(R,L=!1){let N;return t(()=>{var $;($=T.current)==null||$.unsubscribe(),T.current=N=w(b(R,{subscriptionOptions:k.current,forceRefetch:!L})),A(R)}),N},[w,b]);return O.useEffect(()=>()=>{var R;(R=T==null?void 0:T.current)==null||R.unsubscribe()},[]),O.useEffect(()=>{C!==Zb&&!T.current&&I(C,!0)},[C,I]),O.useMemo(()=>[I,C],[I,C])},m=(y,{skip:x=!1,selectFromResult:S}={})=>{const{select:_}=e.endpoints[p],b=hO(x?nu:y,s,l.endpointDefinitions[p],p),w=O.useRef(void 0),C=O.useMemo(()=>o([_(b),(I,R)=>R,I=>b],c,{memoizeOptions:{resultEqualityCheck:Ns}}),[_,b]),A=O.useMemo(()=>S?o([C],S,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,S]),T=n(I=>A(I,w.current),Ns),M=i(),k=C(M.getState(),w.current);return xve(()=>{w.current=k},[k]),T};return{useQueryState:m,useQuerySubscription:v,useLazyQuerySubscription:g,useLazyQuery(y){const[x,S]=g(y),_=m(S,{...y,skip:S===Zb}),b=O.useMemo(()=>({lastArg:S}),[S]);return O.useMemo(()=>[x,_,b],[x,_,b])},useQuery(y,x){const S=v(y,x),_=m(y,{selectFromResult:y===nu||x!=null&&x.skip?void 0:Sve,...x}),{data:b,status:w,isLoading:C,isSuccess:A,isError:T,error:M}=_;return O.useDebugValue({data:b,status:w,isLoading:C,isSuccess:A,isError:T,error:M}),O.useMemo(()=>({..._,...S}),[_,S])}}}function h(p){return({selectFromResult:v,fixedCacheKey:g}={})=>{const{select:m,initiate:y}=e.endpoints[p],x=r(),[S,_]=O.useState();O.useEffect(()=>()=>{S!=null&&S.arg.fixedCacheKey||S==null||S.reset()},[S]);const b=O.useCallback(function(G){const W=x(y(G,{fixedCacheKey:g}));return _(W),W},[x,y,g]),{requestId:w}=S||{},C=O.useMemo(()=>m({fixedCacheKey:g,requestId:S==null?void 0:S.requestId}),[g,S,m]),A=O.useMemo(()=>v?o([C],v):C,[v,C]),T=n(A,Ns),M=g==null?S==null?void 0:S.arg.originalArgs:void 0,k=O.useCallback(()=>{t(()=>{S&&_(void 0),g&&x(e.internalActions.removeMutationResult({requestId:w,fixedCacheKey:g}))})},[x,g,S,w]),{endpointName:I,data:R,status:L,isLoading:N,isSuccess:$,isError:z,error:V}=T;O.useDebugValue({endpointName:I,data:R,status:L,isLoading:N,isSuccess:$,isError:z,error:V});const E=O.useMemo(()=>({...T,originalArgs:M,reset:k}),[T,M,k]);return O.useMemo(()=>[b,E],[b,E])}}}var _ve=Symbol(),wve=({batch:e=mQ,hooks:t={useDispatch:c6,useSelector:t6,useStore:u6},createSelector:r=zM,unstable__sideEffectsInRender:n=!1,...i}={})=>({name:_ve,init(a,{serializeQueryArgs:o},s){const l=a,{buildQueryHooks:u,buildMutationHook:c,usePrefetch:f}=bve({api:a,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:n,createSelector:r},serializeQueryArgs:o,context:s});return cm(l,{usePrefetch:f}),cm(s,{batch:e}),{injectEndpoint(d,h){if(fve(h)){const{useQuery:p,useLazyQuery:v,useLazyQuerySubscription:g,useQueryState:m,useQuerySubscription:y}=u(d);cm(l.endpoints[d],{useQuery:p,useLazyQuery:v,useLazyQuerySubscription:g,useQueryState:m,useQuerySubscription:y}),a[`use${qb(d)}Query`]=p,a[`useLazy${qb(d)}Query`]=v}else if(dve(h)){const p=c(d);cm(l.endpoints[d],{useMutation:p}),a[`use${qb(d)}Mutation`]=p}}}}}),Cve=Qpe(cve(),wve());const $0=Cve({baseQuery:Wpe(),endpoints:e=>({getStats:e.query({query:()=>"stats/requests",transformResponse:af}),getTasks:e.query({query:()=>"tasks",transformResponse:af}),getExceptions:e.query({query:()=>"exceptions",transformResponse:af}),getLogs:e.query({query:()=>"logs",transformResponse:af}),startSwarm:e.mutation({query:t=>({url:"swarm",method:"POST",body:Spe(qR(t)),headers:{"content-type":"application/x-www-form-urlencoded"}})}),updateUserSettings:e.mutation({query:t=>({url:"user",method:"POST",body:qR(t)})})})}),{useGetStatsQuery:Tve,useGetTasksQuery:Ave,useGetExceptionsQuery:Mve,useGetLogsQuery:kve,useStartSwarmMutation:Ive,useUpdateUserSettingsMutation:Pve}=$0;function og(e,{payload:t}){return xpe(e,t)}const Dve=ja,OH=Si({name:"swarm",initialState:Dve,reducers:{setSwarm:og}}),eI=OH.actions,Rve=OH.reducer;function Lve({availableTasks:e,userToEdit:t,handleEditUser:r}){const{tasks:n,...i}=t.userClass;return P.jsx(AH,{onSubmit:r,children:P.jsxs(Pt,{sx:{display:"flex",flexDirection:"column",rowGap:4,my:2},children:[P.jsx(dt,{children:`${t.userClassName} Settings`}),P.jsx(Lk,{defaultValue:n,label:"Tasks",multiple:!0,name:"tasks",options:e}),Object.entries(i).map(([a,o])=>P.jsx(Xf,{defaultValue:o,inputProps:{"data-type":typeof o=="number"?"number":"text"},label:wT(a),name:a},`user-to-edit-${a}`)),P.jsx(Ka,{size:"large",type:"submit",variant:"contained",children:"Save"})]})})}function Eve({availableUserClasses:e,availableUserTasks:t,selectedUserClasses:r,setSelectedUserClasses:n,setSwarm:i,users:a}){const[o,s]=O.useState(!1),[l,u]=O.useState(),[c]=Pve(),f=g=>{l&&(i({users:{...a,[l.userClassName]:g}}),c({...g,userClassName:l.userClassName}),s(!1))},d=g=>()=>r.includes(g)?n(r.filter(m=>m!==g)):n(r.concat(g)),h=r.length,p=e.length,v=g=>g.target.checked?n(e):n([]);return P.jsxs(P.Fragment,{children:[P.jsx(Pt,{sx:{position:"relative",border:"1px",borderColor:"divider",borderStyle:"solid",padding:2,borderRadius:1},children:P.jsxs(Pt,{sx:{maxHeight:"30vh",overflow:"auto"},children:[P.jsx(Xx,{shrink:!0,sx:{position:"absolute",backgroundColor:"background.paper",width:"fit-content",top:"0",marginTop:"-5px",padding:"0 5px"},children:"User Classes"}),P.jsx(gG,{children:P.jsx(IG,{component:rl,children:P.jsxs(MG,{children:[P.jsx(PG,{children:P.jsx(O0,{children:P.jsx(Yl,{colSpan:4,padding:"checkbox",children:P.jsx(NT,{checked:p>0&&h===p,indeterminate:h>0&&h<p,onChange:v})})})}),P.jsx(kG,{children:Object.entries(a).map(([g,m])=>P.jsxs(O0,{hover:!0,children:[P.jsx(Yl,{onClick:d(g),padding:"checkbox",children:P.jsx(NT,{checked:r.includes(g)})}),P.jsx(Yl,{children:g}),P.jsx(Yl,{children:P.jsx(dt,{variant:"subtitle2",children:m.host})}),P.jsx(Yl,{align:"right",children:P.jsx(cd,{onClick:()=>{s(!o),u({userClass:m,userClassName:g})},children:P.jsx(MH,{})})})]},`user-class-${g}`))})]})})})]})}),P.jsx(eS,{onClose:()=>s(!1),open:o,children:l&&P.jsx(Lve,{availableTasks:t[l.userClassName],handleEditUser:f,userToEdit:l})})]})}const Ove={setSwarm:eI.setSwarm},Nve=({swarm:{availableUserTasks:e,users:t}})=>({availableUserTasks:e,users:t}),zve=ai(Nve,Ove)(Eve);function Bve({availableShapeClasses:e,availableUserClasses:t,host:r,extraOptions:n,hideCommonOptions:i,shapeUseCommonOptions:a,numUsers:o,userCount:s,overrideHostWarning:l,runTime:u,setSwarm:c,showUserclassPicker:f,spawnRate:d,alert:h,isDisabled:p=!1,isEditSwarm:v=!1,onFormChange:g,onFormSubmit:m}){const[y]=Ive(),[x,S]=O.useState(""),[_,b]=O.useState(t),w=async T=>{const{data:M}=await y({...T,...f&&_?{userClasses:_}:{}});M&&M.success?c({state:qr.RUNNING,host:T.host||r,runTime:T.runTime,spawnRate:T.spawnRate,userCount:T.userCount}):S(M?M.message:"An unknown error occured."),m&&m(T)},C=T=>{x&&S(""),g&&g(T)},A=T=>{if(!a){const M=T.target.value!==e[0];c({hideCommonOptions:M})}};return P.jsxs(ng,{maxWidth:"md",sx:{my:2},children:[P.jsx(dt,{component:"h2",noWrap:!0,variant:"h6",children:v?"Edit running load test":"Start new load test"}),!v&&f&&P.jsx(Pt,{marginBottom:2,marginTop:2,children:P.jsx(zve,{availableUserClasses:t,selectedUserClasses:_,setSelectedUserClasses:b})}),P.jsx(AH,{onChange:C,onSubmit:w,children:P.jsxs(Pt,{sx:{marginBottom:2,marginTop:2,display:"flex",flexDirection:"column",rowGap:4},children:[!v&&f&&P.jsx(Lk,{label:"Shape Class",name:"shapeClass",onChange:A,options:e}),P.jsx(JE,{defaultValue:i&&"0"||s||o||1,disabled:!!i,label:"Number of users (peak concurrency)",name:"userCount",required:!0,title:i?"Disabled for tests using LoadTestShape class":""}),P.jsx(JE,{defaultValue:i&&"0"||d||1,disabled:!!i,label:"Ramp up (users started/second)",name:"spawnRate",required:!0,title:i?"Disabled for tests using LoadTestShape class":""}),!v&&P.jsxs(P.Fragment,{children:[P.jsx(Xf,{defaultValue:r,label:`Host ${l?"(setting this will override the host for the User classes)":""}`,name:"host"}),P.jsxs(gk,{children:[P.jsx(yk,{expandIcon:P.jsx(rS,{}),children:P.jsx(dt,{children:"Advanced options"})}),P.jsx(mk,{children:P.jsx(Xf,{defaultValue:u,disabled:!!i,label:"Run time (e.g. 20, 20s, 3m, 2h, 1h20m, 3h30m10s, etc.)",name:"runTime",sx:{width:"100%"},title:i?"Disabled for tests using LoadTestShape class":""})})]})]}),!TH(n)&&P.jsx(Ppe,{extraOptions:n}),h&&!x&&P.jsx(sf,{severity:h.level||"info",children:h.message}),x&&P.jsx(sf,{severity:"error",children:x}),P.jsx(Ka,{disabled:p,size:"large",type:"submit",variant:"contained",children:v?"Update":"Start"})]})})]})}const Fve=({swarm:{availableShapeClasses:e,availableUserClasses:t,extraOptions:r,hideCommonOptions:n,shapeUseCommonOptions:i,host:a,numUsers:o,userCount:s,overrideHostWarning:l,runTime:u,spawnRate:c,showUserclassPicker:f}})=>({availableShapeClasses:e,availableUserClasses:t,extraOptions:r,hideCommonOptions:n,shapeUseCommonOptions:i,host:a,overrideHostWarning:l,showUserclassPicker:f,numUsers:o,userCount:s,runTime:u,spawnRate:c}),$ve={setSwarm:eI.setSwarm},tI=ai(Fve,$ve)(Bve);function Vve(e){const[t,r]=O.useState(!1),{hideCommonOptions:n}=si(({swarm:i})=>i);return P.jsxs(P.Fragment,{children:[P.jsx(TG,{title:n?"Disabled for tests using LoadTestShape class":"",children:P.jsx(Pt,{children:P.jsx(Ka,{color:"secondary",disabled:!!n,onClick:()=>r(!0),sx:{minHeight:"100%"},type:"button",variant:"contained",children:"Edit"})})}),P.jsx(eS,{onClose:()=>r(!1),open:t,children:P.jsx(tI,{...e,isEditSwarm:!0,onFormSubmit:()=>r(!1)})})]})}function Gve(e){const[t,r]=O.useState(!1);return P.jsxs(P.Fragment,{children:[P.jsx(Ka,{color:"success",onClick:()=>r(!0),type:"button",variant:"contained",children:"New"}),P.jsx(eS,{onClose:()=>r(!1),open:t,children:P.jsx(tI,{...e})})]})}function Hve(){const e=()=>{fetch("stats/reset")};return P.jsx(Ka,{color:"warning",onClick:e,type:"button",variant:"contained",children:"Reset"})}function Wve(){const[e,t]=O.useState(!1);O.useEffect(()=>{t(!1)},[]);const r=()=>{fetch("stop"),t(!0)};return P.jsx(Ka,{color:"error",disabled:e,onClick:r,type:"button",variant:"contained",children:e?"Loading":"Stop"})}function jve(){const e=si(({swarm:t})=>t.state);return e===qr.READY?null:P.jsxs(Pt,{sx:{display:"flex",columnGap:2,marginY:"auto",height:"50px"},children:[e===qr.STOPPED?P.jsx(Gve,{}):P.jsxs(P.Fragment,{children:[P.jsx(Vve,{}),P.jsx(Wve,{})]}),P.jsx(Hve,{})]})}function Uve(){return P.jsx(dne,{position:"static",children:P.jsx(ng,{maxWidth:"xl",children:P.jsxs(tue,{disableGutters:!0,sx:{display:"flex",justifyContent:"space-between",columnGap:2},children:[P.jsx(Lr,{color:"inherit",href:"/",sx:{display:"flex",alignItems:"center"},underline:"none",children:P.jsx(DG,{})}),P.jsxs(Pt,{sx:{display:"flex",columnGap:6},children:[P.jsx(wpe,{}),P.jsx(jve,{}),P.jsx(_H,{})]})]})})})}function Yve({children:e}){return P.jsxs(P.Fragment,{children:[P.jsxs(Pt,{sx:{minHeight:"calc(100vh - var(--footer-height))"},children:[P.jsx(Uve,{}),P.jsx("main",{children:e})]}),P.jsx(ype,{})]})}const NH=e=>e.includes("WARNING")||e.includes("ERROR")||e.includes("CRITICAL"),zH="logViewer";function fv(e,t,{shouldRunInterval:r,immediate:n}={shouldRunInterval:!0,immediate:!1}){const i=O.useRef(e);O.useEffect(()=>{i.current=e},[e]),O.useEffect(()=>{if(!r)return;n&&i.current();const a=setInterval(()=>i.current(),t);return()=>{clearInterval(a)}},[t,r])}const Xve={},BH=Si({name:"notification",initialState:Xve,reducers:{setNotification:og}}),FH=BH.actions,qve=BH.reducer;function Zve(e,{key:t,shouldNotify:r}){const n=xo(FH.setNotification),i=si(({url:{query:o}})=>o&&o.tab),a=`${t}Notification`;O.useEffect(()=>{e.length>0&&e.length<localStorage[a]&&(localStorage[a]=e.length),e.length>(localStorage[a]||0)&&(!i||i!==t)&&(!r||r&&r(a))&&(n({[t]:!0}),localStorage[a]=e.length)},[e])}const Kve={master:[],workers:{}},$H=Si({name:"logViewer",initialState:Kve,reducers:{setLogs:og}}),Qve=$H.actions,Jve=$H.reducer,VH=e=>e.reduce((t,r)=>t.concat(Array.isArray(r)?VH(r):r),[]),ege={master:[],workers:{}};function tge(){const e=si(({swarm:l})=>l),t=xo(Qve.setLogs),{data:r,refetch:n}=kve(),i=r||ege,a=O.useMemo(()=>VH(Object.values(i.workers)),[i.workers]),o=O.useMemo(()=>[...i.master].concat(a),[i.master,i.workers]),s=O.useCallback(l=>o.slice(localStorage[l]).some(NH),[o]);return fv(n,5e3,{shouldRunInterval:e.state===qr.SPAWNING||e.state==qr.RUNNING}),Zve(o,{key:zH,shouldNotify:s}),O.useEffect(()=>{t(i)},[i]),i}var rI={},rge=Xu;Object.defineProperty(rI,"__esModule",{value:!0});var nI=rI.default=void 0,nge=rge(qu()),pO=P,ige=(0,nge.default)([(0,pO.jsx)("circle",{cx:"12",cy:"19",r:"2"},"0"),(0,pO.jsx)("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh");nI=rI.default=ige;function age(e,t){const r=t?-1:1;return function(n,i){const a=n[e],o=i[e];return a<o?r*-1:a>o?r*1:0}}function oge(e,{hasTotalRow:t=!1,defaultSortKey:r="name"}={hasTotalRow:!1,defaultSortKey:"name"}){const[n,i]=O.useState(e),[a,o]=O.useState(!1),s=O.useRef(),l=c=>{const d=(t?e.slice(0,-1):[...e]).sort(age(c,c===s.current&&!a));i(t?[...d,...e.slice(-1)]:d)},u=O.useCallback(c=>{s.current||(s.current=r);const f=c.target.getAttribute("data-sortkey");if(f===s.current)if(a){o(!1),s.current=void 0,l(r);return}else o(!0);else a&&o(!1);l(f),s.current=f},[s,e,a]);return O.useEffect(()=>{e.length&&l(s.current||r)},[e]),{onTableHeadClick:u,sortedRows:n,currentSortField:s.current}}const Nh=(e,t=0)=>{const r=Math.pow(10,t);return Math.round(e*r)/r};function sge({content:e,formatter:t,round:r,markdown:n}){return t?t(e):r?Nh(e,r):n?P.jsx(F0,{content:e}):e}function sg({rows:e,structure:t,hasTotalRow:r,defaultSortKey:n}){const{onTableHeadClick:i,sortedRows:a,currentSortField:o}=oge(e,{hasTotalRow:r,defaultSortKey:n});return P.jsx(IG,{component:rl,sx:{overflowX:"visible"},children:P.jsxs(MG,{children:[P.jsx(PG,{sx:{position:"sticky",top:0,zIndex:2,backgroundColor:"background.paper"},children:P.jsx(O0,{children:t.map(({title:s,key:l})=>P.jsx(Yl,{"data-sortkey":l,onClick:i,sx:{cursor:"pointer",color:o===l?"primary.main":"text.primary"},children:s},`table-head-${l}`))})}),P.jsx(kG,{children:a.map((s,l)=>P.jsx(O0,{children:t.map(({key:u,...c},f)=>P.jsx(Yl,{children:P.jsx(sge,{content:s[u],...c})},`table-row=${f}`))},`${s.name}-${l}`))})]})})}function lge({rows:e,tableStructure:t}){return t?P.jsx(sg,{rows:e,structure:t}):null}const uge=({swarm:{extendedTables:e},ui:{extendedStats:t},url:{query:r}})=>{const n=r&&r.tab&&e&&e.find(({key:a})=>a===r.tab),i=r&&r.tab&&t&&t.find(({key:a})=>a===r.tab);return{tableStructure:n?n.structure.map(({key:a,...o})=>({key:d6(a),...o})):null,rows:i?i.data:[]}},cge=ai(uge)(lge),fge=[{key:"count",title:"# occurrences"},{key:"msg",title:"Message",markdown:!0},{key:"traceback",title:"Traceback",markdown:!0}];function dge({exceptions:e}){return P.jsx(sg,{rows:e,structure:fge})}const hge=({ui:{exceptions:e}})=>({exceptions:e}),pge=ai(hge)(dge);var SF;const vge={totalRps:0,failRatio:0,startTime:"",stats:[],errors:[],exceptions:[],charts:(SF=ja.history)==null?void 0:SF.reduce(tS,{}),ratios:{},userCount:0};var bF;const gge=(bF=ja.percentilesToChart)==null?void 0:bF.reduce((e,t)=>({...e,[`responseTimePercentile${t}`]:{value:null}}),{}),mge=e=>tS(e,{...gge,currentRps:{value:null},currentFailPerSec:{value:null},totalAvgResponseTime:{value:null},userCount:{value:null},time:""}),GH=Si({name:"ui",initialState:vge,reducers:{setUi:og,updateCharts:(e,{payload:t})=>({...e,charts:tS(e.charts,t)}),updateChartMarkers:(e,{payload:t})=>({...e,charts:{...mge(e.charts),markers:e.charts.markers?[...e.charts.markers,t]:[(e.charts.time||[""])[0],t]}})}}),gp=GH.actions,yge=GH.reducer,xge=e=>{const t=new URL(window.location.href);for(const[r,n]of Object.entries(e))t.searchParams.set(r,n);window.history.pushState(null,"",t)},Sge=()=>window.location.search?xQ(window.location.search):null,bge={query:Sge()},HH=Si({name:"url",initialState:bge,reducers:{setUrl:og}}),_ge=HH.actions,wge=HH.reducer,Cge=tx({[$0.reducerPath]:$0.reducer,logViewer:Jve,notification:qve,swarm:Rve,theme:bH,ui:yge,url:wge}),Tge=YV({reducer:Cge,middleware:e=>e().concat($0.middleware)});/*! *****************************************************************************
156
156
  Copyright (c) Microsoft Corporation.
157
157
 
158
158
  Permission to use, copy, modify, and/or distribute this software for any