@pautena/react-design-system 0.18.0 → 0.18.1

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.
package/dist/index.cjs.js CHANGED
@@ -233,7 +233,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
233
233
  `));let Ve;if(O){if(!Array.isArray(W))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":Ao(2));Ve=W.some(ot=>sd(ot,Ce.props.value)),Ve&&je&&Se.push(Ce.props.children)}else Ve=sd(W,Ce.props.value),Ve&&je&&(ye=Ce.props.children);return Ve&&(Me=!0),g.cloneElement(Ce,{"aria-selected":Ve?"true":"false",onClick:le(Ce),onKeyUp:ot=>{ot.key===" "&&ot.preventDefault(),Ce.props.onKeyUp&&Ce.props.onKeyUp(ot)},role:"option",selected:Ve,value:void 0,"data-value":Ce.props.value})});process.env.NODE_ENV!=="production"&&g.useEffect(()=>{if(!Me&&!O&&W!==""){const Ce=ue.map(Ve=>Ve.props.value);console.warn([`MUI: You have provided an out-of-range value \`${W}\` for the select ${w?`(name="${w}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${Ce.filter(Ve=>Ve!=null).map(Ve=>`\`${Ve}\``).join(", ")||'""'}.`].join(`
234
234
  `))}},[Me,ue,O,w,W]),je&&(O?Se.length===0?se=null:se=Se.reduce((Ce,Ve,ot)=>(Ce.push(Ve),ot<Se.length-1&&Ce.push(", "),Ce),[]):se=ye);let et=_;!i&&Q&&z&&(et=L.clientWidth);let Ge;typeof M<"u"?Ge=M:Ge=f?null:0;const Ne=$.id||(w?`mui-component-select-${w}`:void 0),Ee={...o,variant:Y,value:W,open:fe,error:y},dt=A0(Ee),Qe={...T.PaperProps,...(tt=T.slotProps)==null?void 0:tt.paper},ct=Wt();return d.jsxs(g.Fragment,{children:[d.jsx(I0,{as:"div",ref:ne,tabIndex:Ge,role:"combobox","aria-controls":fe?ct:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":fe?"true":"false","aria-haspopup":"listbox","aria-label":s,"aria-labelledby":[v,Ne].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":j?"true":void 0,"aria-invalid":y?"true":void 0,onKeyDown:re,onMouseDown:f||x?null:J,onBlur:I,onFocus:R,...$,ownerState:Ee,className:ae($.className,dt.select,c),id:Ne,children:N0(se)?rd||(rd=d.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):se}),d.jsx($0,{"aria-invalid":y,value:Array.isArray(W)?W.join(","):W,name:w,ref:ee,"aria-hidden":!0,onChange:X,tabIndex:-1,disabled:f,className:dt.nativeInput,autoFocus:a,required:j,...G,ownerState:Ee}),d.jsx(M0,{as:b,className:dt.icon,ownerState:Ee}),d.jsx(Hl,{id:`menu-${w||""}`,anchorEl:L,open:fe,onClose:ie,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...T,slotProps:{...T.slotProps,list:{"aria-labelledby":v,role:"listbox","aria-multiselectable":O?"true":void 0,disableListWrap:!0,id:ct,...T.MenuListProps},paper:{...Qe,style:{minWidth:et,...Qe!=null?Qe.style:null}}},children:Oe})]})});process.env.NODE_ENV!=="production"&&(Df.propTypes={"aria-describedby":t.string,"aria-label":t.string,autoFocus:t.bool,autoWidth:t.bool,children:t.node,classes:t.object,className:t.string,defaultOpen:t.bool,defaultValue:t.any,disabled:t.bool,displayEmpty:t.bool,error:t.bool,IconComponent:t.elementType.isRequired,inputRef:rt,labelId:t.string,MenuProps:t.object,multiple:t.bool,name:t.string,onBlur:t.func,onChange:t.func,onClose:t.func,onFocus:t.func,onOpen:t.func,open:t.bool,readOnly:t.bool,renderValue:t.func,required:t.bool,SelectDisplayProps:t.object,tabIndex:t.oneOfType([t.number,t.string]),type:t.any,value:t.any,variant:t.oneOf(["standard","outlined","filled"])});const jf=qe(d.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),V0=e=>{const{classes:o}=e,r=he({root:["root"]},Ef,o);return{...o,...r}},Yl={name:"MuiSelect",overridesResolver:(e,o)=>o.root,shouldForwardProp:e=>Bt(e)&&e!=="variant",slot:"Root"},F0=F(ti,Yl)(""),L0=F(Es,Yl)(""),B0=F(oi,Yl)(""),dr=g.forwardRef(function(o,n){const r=we({name:"MuiSelect",props:o}),{autoWidth:s=!1,children:a,classes:i={},className:l,defaultOpen:c=!1,displayEmpty:u=!1,IconComponent:p=jf,id:f,input:m,inputProps:y,label:b,labelId:h,MenuProps:v,multiple:T=!1,native:O=!1,onClose:w,onOpen:C,open:S,renderValue:P,SelectDisplayProps:R,variant:k="outlined",...D}=r,x=O?kf:Df,E=po(),j=$n({props:r,muiFormControl:E,states:["variant","error"]}),$=j.variant||k,M={...r,variant:$,classes:i},N=V0(M),{root:V,...Y}=N,G=m||{standard:d.jsx(F0,{ownerState:M}),outlined:d.jsx(L0,{label:b,ownerState:M}),filled:d.jsx(B0,{ownerState:M})}[$],W=Xe(n,fn(G));return d.jsx(g.Fragment,{children:g.cloneElement(G,{inputComponent:x,inputProps:{children:a,error:j.error,IconComponent:p,variant:$,type:void 0,multiple:T,...O?{id:f}:{autoWidth:s,defaultOpen:c,displayEmpty:u,labelId:h,MenuProps:v,onClose:w,onOpen:C,open:S,renderValue:P,SelectDisplayProps:{id:f,...R}},...y,classes:y?At(Y,y.classes):Y,...m?m.props.inputProps:{}},...(T&&O||u)&&$==="outlined"?{notched:!0}:{},ref:W,className:ae(G.props.className,l,N.root),...!m&&{variant:$},...D})})});process.env.NODE_ENV!=="production"&&(dr.propTypes={autoWidth:t.bool,children:t.node,classes:t.object,className:t.string,defaultOpen:t.bool,defaultValue:t.any,displayEmpty:t.bool,IconComponent:t.elementType,id:t.string,input:t.element,inputProps:t.object,label:t.node,labelId:t.string,MenuProps:t.object,multiple:t.bool,native:t.bool,onChange:t.func,onClose:t.func,onOpen:t.func,open:t.bool,renderValue:t.func,SelectDisplayProps:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),value:t.oneOfType([t.oneOf([""]),t.any]),variant:t.oneOf(["filled","outlined","standard"])});dr.muiName="Select";function z0(e){return be("MuiTextField",e)}ge("MuiTextField",["root"]);const _0={standard:ti,filled:oi,outlined:Es},W0=e=>{const{classes:o}=e;return he({root:["root"]},z0,o)},U0=F(Dn,{name:"MuiTextField",slot:"Root",overridesResolver:(e,o)=>o.root})({}),uo=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:i,className:l,color:c="primary",defaultValue:u,disabled:p=!1,error:f=!1,FormHelperTextProps:m,fullWidth:y=!1,helperText:b,id:h,InputLabelProps:v,inputProps:T,InputProps:O,inputRef:w,label:C,maxRows:S,minRows:P,multiline:R=!1,name:k,onBlur:D,onChange:x,onFocus:E,placeholder:j,required:$=!1,rows:M,select:N=!1,SelectProps:V,slots:Y={},slotProps:G={},type:W,value:B,variant:H="outlined",...ce}=r,ee={...r,autoFocus:a,color:c,disabled:p,error:f,fullWidth:y,multiline:R,required:$,select:N,variant:H},Z=W0(ee);process.env.NODE_ENV!=="production"&&N&&!i&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const z=Wt(h),q=b&&z?`${z}-helper-text`:void 0,Q=C&&z?`${z}-label`:void 0,_=_0[H],K={slots:Y,slotProps:{input:O,inputLabel:v,htmlInput:T,formHelperText:m,select:V,...G}},te={},ne=K.slotProps.inputLabel;H==="outlined"&&(ne&&typeof ne.shrink<"u"&&(te.notched=ne.shrink),te.label=C),N&&((!V||!V.native)&&(te.id=void 0),te["aria-describedby"]=void 0);const[L,U]=$e("input",{elementType:_,externalForwardedProps:K,additionalProps:te,ownerState:ee}),[J,ie]=$e("inputLabel",{elementType:En,externalForwardedProps:K,ownerState:ee}),[ue,X]=$e("htmlInput",{elementType:"input",externalForwardedProps:K,ownerState:ee}),[le,re]=$e("formHelperText",{elementType:ni,externalForwardedProps:K,ownerState:ee}),[fe,I]=$e("select",{elementType:dr,externalForwardedProps:K,ownerState:ee}),se=d.jsx(L,{"aria-describedby":q,autoComplete:s,autoFocus:a,defaultValue:u,fullWidth:y,multiline:R,name:k,rows:M,maxRows:S,minRows:P,type:W,value:B,id:z,inputRef:w,onBlur:D,onChange:x,onFocus:E,placeholder:j,inputProps:X,slots:{input:Y.htmlInput?ue:void 0},...U});return d.jsxs(U0,{className:ae(Z.root,l),disabled:p,error:f,fullWidth:y,ref:n,required:$,color:c,variant:H,ownerState:ee,...ce,children:[C!=null&&C!==""&&d.jsx(J,{htmlFor:z,id:Q,...ie,children:C}),N?d.jsx(fe,{"aria-describedby":q,id:z,labelId:Q,value:B,input:se,...I,children:i}):se,b&&d.jsx(le,{id:q,...re,children:b})]})});process.env.NODE_ENV!=="production"&&(uo.propTypes={autoComplete:t.string,autoFocus:t.bool,children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["primary","secondary","error","info","success","warning"]),t.string]),defaultValue:t.any,disabled:t.bool,error:t.bool,FormHelperTextProps:t.object,fullWidth:t.bool,helperText:t.node,id:t.string,InputLabelProps:t.object,inputProps:t.object,InputProps:t.object,inputRef:rt,label:t.node,margin:t.oneOf(["dense","none","normal"]),maxRows:t.oneOfType([t.number,t.string]),minRows:t.oneOfType([t.number,t.string]),multiline:t.bool,name:t.string,onBlur:t.func,onChange:t.func,onFocus:t.func,placeholder:t.string,required:t.bool,rows:t.oneOfType([t.number,t.string]),select:t.bool,SelectProps:t.object,size:t.oneOfType([t.oneOf(["medium","small"]),t.string]),slotProps:t.shape({formHelperText:t.oneOfType([t.func,t.object]),htmlInput:t.oneOfType([t.func,t.object]),input:t.oneOfType([t.func,t.object]),inputLabel:t.oneOfType([t.func,t.object]),select:t.oneOfType([t.func,t.object])}),slots:t.shape({formHelperText:t.elementType,htmlInput:t.elementType,input:t.elementType,inputLabel:t.elementType,select:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),type:t.string,value:t.any,variant:t.oneOf(["filled","outlined","standard"])});const If=({open:e,title:o,loading:n,disabled:r,confirmText:s="Confirm",cancelText:a="Cancel",passphrase:i,children:l,onConfirm:c,onCancel:u})=>{const[p,f]=ke.useState(""),m=!i||p===i;return d.jsxs(Wl,{title:o,loading:n,disabled:n||r,disableAccept:!m,open:e,onClose:u,acceptable:!0,cancelable:!0,callCloseWhenCancel:!1,acceptText:s,cancelText:a,onCancel:u,onAccept:c,children:[l,i&&d.jsx(uo,{size:"small",fullWidth:!0,value:p,onChange:y=>f(y.target.value),placeholder:i})]})},H0=({open:e,title:o,loading:n,disabled:r,submitText:s="Submit",cancelText:a="Cancel",children:i,onSubmit:l,onCancel:c})=>{const u=p=>{p.preventDefault(),l(nf(p))};return d.jsx(Wl,{component:"form",componentProps:{onSubmit:u},title:o,loading:n,disabled:n||r,open:e,onClose:c,callCloseWhenCancel:!1,cancelable:!0,acceptable:!0,cancelText:a,onCancel:c,acceptText:s,acceptType:"submit",children:i})},Mf=(e=!1)=>{const[o,n]=ke.useState(e);return{isOpen:o,open:()=>n(!0),close:()=>n(!1),setIsOpen:n}};function q0(e){return be("MuiListSubheader",e)}ge("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const Y0=e=>{const{classes:o,color:n,disableGutters:r,inset:s,disableSticky:a}=e,i={root:["root",n!=="default"&&`color${oe(n)}`,!r&&"gutters",s&&"inset",!a&&"sticky"]};return he(i,q0,o)},G0=F("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color!=="default"&&o[`color${oe(n.color)}`],!n.disableGutters&&o.gutters,n.inset&&o.inset,!n.disableSticky&&o.sticky]}})(xe(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:o})=>!o.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:o})=>o.inset,style:{paddingLeft:72}},{props:({ownerState:o})=>!o.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),ms=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiListSubheader"}),{className:s,color:a="default",component:i="li",disableGutters:l=!1,disableSticky:c=!1,inset:u=!1,...p}=r,f={...r,color:a,component:i,disableGutters:l,disableSticky:c,inset:u},m=Y0(f);return d.jsx(G0,{as:i,className:ae(m.root,s),ref:n,ownerState:f,...p})});ms&&(ms.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(ms.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOf(["default","inherit","primary"]),component:t.elementType,disableGutters:t.bool,disableSticky:t.bool,inset:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const Gl=ke.createContext(void 0),$f=new Error("DrawerContext.Provider is required and was undefined"),Lo=()=>{const e=ke.useContext(Gl);if(e===void 0)throw $f;return e},Nf=240,ad=e=>({width:Nf,[e.breakpoints.down("sm")]:{width:1},transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden"}),id=e=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:`calc(${e.spacing(7)} + 1px)`,[e.breakpoints.up("sm")]:{width:`calc(${e.spacing(8)} + 1px)`}}),K0={temporary:"close",mini:"collapse",persistent:"close"},X0={temporary:["close","open"],mini:["collapse","open"],persistent:["close","open"]},Af=({children:e,initialState:o,variant:n="temporary",size:r="medium",drawerWidth:s=Nf,clipped:a=!0,selectedItemId:i,LinkComponent:l=Sn.Link,onStateChange:c=()=>null})=>{const[u,p]=ke.useState(o||K0[n]),f=m=>{c(m),p(m)};return d.jsx(Gl.Provider,{value:{state:u,size:r,variant:n,selectedItemId:i,clipped:a,drawerWidth:s,LinkComponent:l,switchState:()=>f(X0[n][u==="open"?0:1]),collapse:()=>f("collapse"),close:()=>f("close"),open:()=>f("open"),setState:p},children:e})},Vf=({sx:e,...o})=>{const{size:n}=Lo(),{typography:r}=Sn.useTheme();return d.jsx(ms,{...o,sx:{lineHeight:n==="small"?r.pxToRem(40):void 0,...e}})};function Q0(e,o,n){const r=o.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=io(o);let i;if(o.fakeTransform)i=o.fakeTransform;else{const u=a.getComputedStyle(o);i=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let l=0,c=0;if(i&&i!=="none"&&typeof i=="string"){const u=i.split("(")[1].split(")")[0].split(",");l=parseInt(u[4],10),c=parseInt(u[5],10)}return e==="left"?s?`translateX(${s.right+l-r.left}px)`:`translateX(${a.innerWidth+l-r.left}px)`:e==="right"?s?`translateX(-${r.right-s.left-l}px)`:`translateX(-${r.left+r.width-l}px)`:e==="up"?s?`translateY(${s.bottom+c-r.top}px)`:`translateY(${a.innerHeight+c-r.top}px)`:s?`translateY(-${r.top-s.top+r.height-c}px)`:`translateY(-${r.top+r.height-c}px)`}function Ff(e){return typeof e=="function"?e():e}function ta(e,o,n){const r=Ff(n),s=Q0(e,o,r);s&&(o.style.webkitTransform=s,o.style.transform=s)}const Lf=g.forwardRef(function(o,n){const r=lt(),s={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:l=!0,children:c,container:u,direction:p="down",easing:f=s,in:m,onEnter:y,onEntered:b,onEntering:h,onExit:v,onExited:T,onExiting:O,style:w,timeout:C=a,TransitionComponent:S=eo,...P}=o,R=g.useRef(null),k=Xe(fn(c),R,n),D=G=>W=>{G&&(W===void 0?G(R.current):G(R.current,W))},x=D((G,W)=>{ta(p,G,u),Ol(G),y&&y(G,W)}),E=D((G,W)=>{const B=cn({timeout:C,style:w,easing:f},{mode:"enter"});G.style.webkitTransition=r.transitions.create("-webkit-transform",{...B}),G.style.transition=r.transitions.create("transform",{...B}),G.style.webkitTransform="none",G.style.transform="none",h&&h(G,W)}),j=D(b),$=D(O),M=D(G=>{const W=cn({timeout:C,style:w,easing:f},{mode:"exit"});G.style.webkitTransition=r.transitions.create("-webkit-transform",W),G.style.transition=r.transitions.create("transform",W),ta(p,G,u),v&&v(G)}),N=D(G=>{G.style.webkitTransition="",G.style.transition="",T&&T(G)}),V=G=>{i&&i(R.current,G)},Y=g.useCallback(()=>{R.current&&ta(p,R.current,u)},[p,u]);return g.useEffect(()=>{if(m||p==="down"||p==="right")return;const G=Ts(()=>{R.current&&ta(p,R.current,u)}),W=io(R.current);return W.addEventListener("resize",G),()=>{G.clear(),W.removeEventListener("resize",G)}},[p,m,u]),g.useEffect(()=>{m||Y()},[m,Y]),d.jsx(S,{nodeRef:R,onEnter:x,onEntered:j,onEntering:E,onExit:M,onExited:N,onExiting:$,addEndListener:V,appear:l,in:m,timeout:C,...P,children:(G,{ownerState:W,...B})=>g.cloneElement(c,{ref:k,style:{visibility:G==="exited"&&!m?"hidden":void 0,...w,...c.props.style},...B})})});process.env.NODE_ENV!=="production"&&(Lf.propTypes={addEndListener:t.func,appear:t.bool,children:pn.isRequired,container:ao(t.oneOfType([Vo,t.func]),e=>{if(e.open){const o=Ff(e.container);if(o&&o.nodeType===1){const n=o.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `container` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
235
235
  `))}else if(!o||typeof o.getBoundingClientRect!="function"||o.contextElement!=null&&o.contextElement.nodeType!==1)return new Error(["MUI: The `container` prop provided to the component is invalid.","It should be an HTML element instance."].join(`
236
- `))}return null}),direction:t.oneOf(["down","left","right","up"]),easing:t.oneOfType([t.shape({enter:t.string,exit:t.string}),t.string]),in:t.bool,onEnter:t.func,onEntered:t.func,onEntering:t.func,onExit:t.func,onExited:t.func,onExiting:t.func,style:t.object,timeout:t.oneOfType([t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})])});function Z0(e){return be("MuiDrawer",e)}const ld=ge("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),Bf=(e,o)=>{const{ownerState:n}=e;return[o.root,(n.variant==="permanent"||n.variant==="persistent")&&o.docked,o.modal]},J0=e=>{const{classes:o,anchor:n,variant:r}=e,s={root:["root",`anchor${oe(n)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${oe(n)}`,r!=="temporary"&&`paperAnchorDocked${oe(n)}`]};return he(s,Z0,o)},eS=F(Ka,{name:"MuiDrawer",slot:"Root",overridesResolver:Bf})(xe(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),tS=F("div",{shouldForwardProp:Bt,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Bf})({flex:"0 0 auto"}),oS=F(zt,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.paper,o[`paperAnchor${oe(n.anchor)}`],n.variant!=="temporary"&&o[`paperAnchorDocked${oe(n.anchor)}`]]}})(xe(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:o})=>o.anchor==="left"&&o.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:o})=>o.anchor==="top"&&o.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:o})=>o.anchor==="right"&&o.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:o})=>o.anchor==="bottom"&&o.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),zf={left:"right",right:"left",top:"down",bottom:"up"};function nS(e){return["left","right"].includes(e)}function rS({direction:e},o){return e==="rtl"&&nS(o)?zf[o]:o}const _f=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiDrawer"}),s=lt(),a=kt(),i={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:l="left",BackdropProps:c,children:u,className:p,elevation:f=16,hideBackdrop:m=!1,ModalProps:{BackdropProps:y,...b}={},onClose:h,open:v=!1,PaperProps:T={},SlideProps:O,TransitionComponent:w,transitionDuration:C=i,variant:S="temporary",slots:P={},slotProps:R={},...k}=r,D=g.useRef(!1);g.useEffect(()=>{D.current=!0},[]);const x=rS({direction:a?"rtl":"ltr"},l),j={...r,anchor:l,elevation:f,open:v,variant:S,...k},$=J0(j),M={slots:{transition:w,...P},slotProps:{paper:T,transition:O,...R,backdrop:Cl(R.backdrop||{...c,...y},{transitionDuration:C})}},[N,V]=$e("root",{ref:n,elementType:eS,className:ae($.root,$.modal,p),shouldForwardComponentProp:!0,ownerState:j,externalForwardedProps:{...M,...k,...b},additionalProps:{open:v,onClose:h,hideBackdrop:m,slots:{backdrop:M.slots.backdrop},slotProps:{backdrop:M.slotProps.backdrop}}}),[Y,G]=$e("paper",{elementType:oS,shouldForwardComponentProp:!0,className:ae($.paper,T.className),ownerState:j,externalForwardedProps:M,additionalProps:{elevation:S==="temporary"?f:0,square:!0}}),[W,B]=$e("docked",{elementType:tS,ref:n,className:ae($.root,$.docked,p),ownerState:j,externalForwardedProps:M,additionalProps:k}),[H,ce]=$e("transition",{elementType:Lf,ownerState:j,externalForwardedProps:M,additionalProps:{in:v,direction:zf[x],timeout:C,appear:D.current}}),ee=d.jsx(Y,{...G,children:u});if(S==="permanent")return d.jsx(W,{...B,children:ee});const Z=d.jsx(H,{...ce,children:ee});return S==="persistent"?d.jsx(W,{...B,children:Z}):d.jsx(N,{...V,children:Z})});process.env.NODE_ENV!=="production"&&(_f.propTypes={anchor:t.oneOf(["bottom","left","right","top"]),BackdropProps:t.object,children:t.node,classes:t.object,className:t.string,elevation:Tn,hideBackdrop:t.bool,ModalProps:t.object,onClose:t.func,open:t.bool,PaperProps:t.object,SlideProps:t.object,slotProps:t.shape({backdrop:t.oneOfType([t.func,t.object]),docked:t.oneOfType([t.func,t.object]),paper:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),transition:t.oneOfType([t.func,t.object])}),slots:t.shape({backdrop:t.elementType,docked:t.elementType,paper:t.elementType,root:t.elementType,transition:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),transitionDuration:t.oneOfType([t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})]),variant:t.oneOf(["permanent","persistent","temporary"])});function sS(e){return be("MuiDivider",e)}const cd=ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),aS=e=>{const{absolute:o,children:n,classes:r,flexItem:s,light:a,orientation:i,textAlign:l,variant:c}=e;return he({root:["root",o&&"absolute",c,a&&"light",i==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&i==="vertical"&&"withChildrenVertical",l==="right"&&i!=="vertical"&&"textAlignRight",l==="left"&&i!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",i==="vertical"&&"wrapperVertical"]},sS,r)},iS=F("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.absolute&&o.absolute,o[n.variant],n.light&&o.light,n.orientation==="vertical"&&o.vertical,n.flexItem&&o.flexItem,n.children&&o.withChildren,n.children&&n.orientation==="vertical"&&o.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&o.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&o.textAlignLeft]}})(xe(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Ie(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:o})=>!!o.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:o})=>o.children&&o.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:o})=>o.orientation==="vertical"&&o.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:o})=>o.textAlign==="right"&&o.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:o})=>o.textAlign==="left"&&o.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),lS=F("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.wrapper,n.orientation==="vertical"&&o.wrapperVertical]}})(xe(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),pr=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiDivider"}),{absolute:s=!1,children:a,className:i,orientation:l="horizontal",component:c=a||l==="vertical"?"div":"hr",flexItem:u=!1,light:p=!1,role:f=c!=="hr"?"separator":void 0,textAlign:m="center",variant:y="fullWidth",...b}=r,h={...r,absolute:s,component:c,flexItem:u,light:p,orientation:l,role:f,textAlign:m,variant:y},v=aS(h);return d.jsx(iS,{as:c,className:ae(v.root,i),role:f,ref:n,ownerState:h,"aria-orientation":f==="separator"&&(c!=="hr"||l==="vertical")?l:void 0,...b,children:a?d.jsx(lS,{className:v.wrapper,ownerState:h,children:a}):null})});pr&&(pr.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(pr.propTypes={absolute:t.bool,children:t.node,classes:t.object,className:t.string,component:t.elementType,flexItem:t.bool,light:t.bool,orientation:t.oneOf(["horizontal","vertical"]),role:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),textAlign:t.oneOf(["center","left","right"]),variant:t.oneOfType([t.oneOf(["fullWidth","inset","middle"]),t.string])});const Wf=qe(d.jsx("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft"),Kl=F("div")(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:e.spacing(0,1),...e.mixins.toolbar})),cS={temporary:!0,mini:!0,persistent:!0},uS={temporary:"temporary",mini:"permanent",persistent:"persistent"},ud=()=>({}),dS={mini:(e,o)=>({boxSizing:"border-box",[`& .${qy.root}`]:{zIndex:o.zIndex.drawer-1}}),temporary:ud,persistent:ud},Uf=({children:e,...o})=>{const n=lt(),{state:r,switchState:s,clipped:a,close:i,drawerWidth:l,variant:c}=Lo(),u={width:l,flexShrink:0,whiteSpace:"nowrap",...r==="open"&&{...ad(n),[`& .${ld.paper}`]:ad(n)},...r!=="open"&&{...id(n),[`& .${ld.paper}`]:id(n)},...dS[c](r,n)};return d.jsxs(_f,{open:r==="open",variant:uS[c],role:"menu","aria-hidden":r==="close",onClose:i,sx:u,...o,children:[d.jsx(Kl,{children:!a&&cS[c]&&d.jsx(Mt,{onClick:s,children:d.jsx(Wf,{})})}),d.jsx(pr,{}),e]})};function pS(e){return be("MuiListItemIcon",e)}const dd=ge("MuiListItemIcon",["root","alignItemsFlexStart"]),fS=e=>{const{alignItems:o,classes:n}=e;return he({root:["root",o==="flex-start"&&"alignItemsFlexStart"]},pS,n)},mS=F("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.alignItems==="flex-start"&&o.alignItemsFlexStart]}})(xe(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Xl=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiListItemIcon"}),{className:s,...a}=r,i=g.useContext(so),l={...r,alignItems:i.alignItems},c=fS(l);return d.jsx(mS,{className:ae(c.root,s),ownerState:l,ref:n,...a})});process.env.NODE_ENV!=="production"&&(Xl.propTypes={children:t.node,classes:t.object,className:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const Ql=(e,o)=>({color:o?e.palette.primary.main:void 0,fontWeight:o?e.typography.fontWeightBold:e.typography.fontWeightMedium}),hS=qe(d.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight"),bS=qe(d.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function gS(e){return be("MuiAvatar",e)}ge("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const yS=e=>{const{classes:o,variant:n,colorDefault:r}=e;return he({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},gS,o)},vS=F("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],n.colorDefault&&o.colorDefault]}})(xe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),xS=F("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,o)=>o.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),CS=F(bS,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,o)=>o.fallback})({width:"75%",height:"75%"});function TS({crossOrigin:e,referrerPolicy:o,src:n,srcSet:r}){const[s,a]=g.useState(!1);return g.useEffect(()=>{if(!n&&!r)return;a(!1);let i=!0;const l=new Image;return l.onload=()=>{i&&a("loaded")},l.onerror=()=>{i&&a("error")},l.crossOrigin=e,l.referrerPolicy=o,l.src=n,r&&(l.srcset=r),()=>{i=!1}},[e,o,n,r]),s}const Hf=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiAvatar"}),{alt:s,children:a,className:i,component:l="div",slots:c={},slotProps:u={},imgProps:p,sizes:f,src:m,srcSet:y,variant:b="circular",...h}=r;let v=null;const T={...r,component:l,variant:b},O=TS({...p,...typeof u.img=="function"?u.img(T):u.img,src:m,srcSet:y}),w=m||y,C=w&&O!=="error";T.colorDefault=!C,delete T.ownerState;const S=yS(T),[P,R]=$e("img",{className:S.img,elementType:xS,externalForwardedProps:{slots:c,slotProps:{img:{...p,...u.img}}},additionalProps:{alt:s,src:m,srcSet:y,sizes:f},ownerState:T});return C?v=d.jsx(P,{...R}):a||a===0?v=a:w&&s?v=s[0]:v=d.jsx(CS,{ownerState:T,className:S.fallback}),d.jsx(vS,{as:l,className:ae(S.root,i),ref:n,...h,ownerState:T,children:v})});process.env.NODE_ENV!=="production"&&(Hf.propTypes={alt:t.string,children:t.node,classes:t.object,className:t.string,component:t.elementType,imgProps:t.object,sizes:t.string,slotProps:t.shape({img:t.oneOfType([t.func,t.object])}),slots:t.shape({img:t.elementType}),src:t.string,srcSet:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["circular","rounded","square"]),t.string])});function wS(e){return be("MuiListItemAvatar",e)}ge("MuiListItemAvatar",["root","alignItemsFlexStart"]);const SS=e=>{const{alignItems:o,classes:n}=e;return he({root:["root",o==="flex-start"&&"alignItemsFlexStart"]},wS,n)},OS=F("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.alignItems==="flex-start"&&o.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}),qf=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiListItemAvatar"}),{className:s,...a}=r,i=g.useContext(so),l={...r,alignItems:i.alignItems},c=SS(l);return d.jsx(OS,{className:ae(c.root,s),ownerState:l,ref:n,...a})});process.env.NODE_ENV!=="production"&&(qf.propTypes={children:t.node,classes:t.object,className:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const pd={minWidth:0,justifyContent:"center",marginRight:"auto"},RS=({text:e,icon:o,avatar:n,label:r,bullet:s,href:a,selected:i,level:l,sx:c})=>{const{state:u,size:p}=Lo(),f=lt(),{color:m,fontWeight:y}=Ql(f,i),{LinkComponent:b}=Lo();return d.jsxs(Ya,{dense:p==="small",LinkComponent:b,"aria-label":e,href:a,selected:i,sx:{...c,borderRadius:2,pl:u==="open"?f.spacing(2+1.5*l):void 0,...u==="collapse"&&{px:2.5,justifyContent:"center"}},children:[o&&d.jsx(Xl,{sx:{color:m,...u==="collapse"&&l===0&&pd},children:o}),n&&d.jsx(qf,{sx:{...u==="collapse"&&l===0&&pd},children:d.jsx(Hf,{alt:n.alt,src:n.src,sx:{...p==="small"&&{width:24,height:24},...u==="collapse"&&{width:30,height:30}}})}),d.jsx(Ps,{disableTypography:!0,primary:e,sx:{color:m,fontWeight:y,opacity:u==="collapse"&&l===0?0:void 0}}),r&&u==="open"&&d.jsx(Ca,{text:r.text,variant:r.variant,sx:{ml:2}}),s&&u==="open"&&d.jsx(lf,{variant:s.variant,sx:{ml:2}})]})},Yf=({item:e,level:o=0})=>{const{selectedItemId:n,state:r}=Lo();if(e.kind==="collapsable"){const{id:s,text:a,icon:i,items:l}=e,c=l.some(u=>u.id===n);return d.jsx(PS,{selected:s===n||c,text:a,icon:i,items:l,level:o})}else{if(e.kind==="header")return r==="open"&&d.jsx(Vf,{role:"heading",children:e.text});{const{id:s,text:a,icon:i,avatar:l,label:c,bullet:u,href:p}=e;return d.jsx(RS,{selected:s===n,text:a,icon:i,avatar:l,label:c,bullet:u,href:p,level:o})}}},PS=({text:e,icon:o,selected:n,items:r,level:s,sx:a={}})=>{const{state:i,size:l}=Lo(),c=ke.useRef(null),{palette:u,spacing:p,transitions:f}=lt(),[m,y]=ke.useState(!1),{color:b,fontWeight:h}=Ql(lt(),n),[v,T]=ke.useState(!0);ke.useEffect(()=>{m&&i==="collapse"&&(T(!1),setTimeout(()=>{T(!0)},f.duration.leavingScreen))},[i]);const O=d.jsx(Rs,{component:"div",disablePadding:!0,children:r.map(C=>d.jsx(Yf,{level:s+1,item:C},C.id))}),w=i==="collapse"&&s===0?{position:"absolute",right:-3}:{};return d.jsxs(d.Fragment,{children:[d.jsxs(Ya,{ref:c,selected:n,"aria-label":e,onClick:()=>y(C=>!C),dense:l==="small",sx:{...a,borderRadius:2,pl:i==="open"?p(2+1.5*s):void 0,backgroundColor:m?u.action.hover:void 0,...i==="collapse"&&{px:2.5,justifyContent:"center"}},children:[o&&d.jsx(Xl,{sx:{color:b,justifyContent:"center"},children:o}),d.jsx(Ps,{disableTypography:!0,primary:e,sx:{color:b,fontWeight:h,opacity:i==="collapse"&&s===0?0:void 0}}),m&&i==="open"?d.jsx(_p,{sx:[{color:b,ml:2,fontSize:20},w]}):d.jsx(hS,{sx:[{color:b,ml:2,fontSize:20},w]})]}),i==="open"?d.jsx(sr,{in:m,timeout:"auto",unmountOnExit:!0,"aria-label":`${e} collapse submenu`,children:O}):v&&d.jsx(Ul,{open:m,slotProps:{paper:{elevation:0,variant:"outlined"}},"aria-label":`${e} popover submenu`,anchorEl:c.current,onClose:()=>y(!1),anchorOrigin:{vertical:"top",horizontal:"right"},children:O})]})},Gf=({navigation:e})=>{const{state:o,size:n}=Lo(),{spacing:r}=Sn.useTheme();return d.jsx(Sn.List,{sx:{paddingTop:n==="small"?r(0):void 0,paddingX:r(n==="small"?.5:1)},children:e.map(s=>d.jsx(Yf,{item:s},s.id))})};function kS(e){return be("MuiAppBar",e)}ge("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const ES=e=>{const{color:o,position:n,classes:r}=e,s={root:["root",`color${oe(o)}`,`position${oe(n)}`]};return he(s,kS,r)},fd=(e,o)=>e?`${e==null?void 0:e.replace(")","")}, ${o})`:o,DS=F(zt,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`position${oe(n.position)}`],o[`color${oe(n.color)}`]]}})(xe(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(gt(["contrastText"])).map(([o])=>({props:{color:o},style:{"--AppBar-background":(e.vars??e).palette[o].main,"--AppBar-color":(e.vars??e).palette[o].contrastText}})),{props:o=>o.enableColorOnDark===!0&&!["inherit","transparent"].includes(o.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:o=>o.enableColorOnDark===!1&&!["inherit","transparent"].includes(o.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?fd(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?fd(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),Kf=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:i=!1,position:l="fixed",...c}=r,u={...r,color:a,position:l,enableColorOnDark:i},p=ES(u);return d.jsx(DS,{square:!0,component:"header",ownerState:u,elevation:4,className:ae(p.root,s,l==="fixed"&&"mui-fixed"),ref:n,...c})});process.env.NODE_ENV!=="production"&&(Kf.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["default","inherit","primary","secondary","transparent","error","info","success","warning"]),t.string]),enableColorOnDark:t.bool,position:t.oneOf(["absolute","fixed","relative","static","sticky"]),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function jS(e){return be("MuiToolbar",e)}ge("MuiToolbar",["root","gutters","regular","dense"]);const IS=e=>{const{classes:o,disableGutters:n,variant:r}=e;return he({root:["root",!n&&"gutters",r]},jS,o)},MS=F("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,!n.disableGutters&&o.gutters,o[n.variant]]}})(xe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:o})=>!o.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),Xf=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:i=!1,variant:l="regular",...c}=r,u={...r,component:a,disableGutters:i,variant:l},p=IS(u);return d.jsx(MS,{as:a,className:ae(p.root,s),ref:n,ownerState:u,...c})});process.env.NODE_ENV!=="production"&&(Xf.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,disableGutters:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["dense","regular"]),t.string])});const $S=qe(d.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),NS=qe(d.jsx("path",{d:"M3 18h13v-2H3zm0-5h10v-2H3zm0-7v2h13V6zm18 9.59L17.42 12 21 8.41 19.59 7l-5 5 5 5z"}),"MenuOpen"),AS=F(Kf)(({theme:e})=>({borderWidth:0,borderBottomWidth:1,borderStyle:"solid",borderColor:e.palette.divider,boxShadow:"none",zIndex:e.zIndex.drawer+1})),VS={temporary:!1,mini:!0,persistent:!0},FS={temporary:()=>!0,mini:e=>e!=="open",persistent:()=>!0},Qf=({title:e,sx:o,children:n,...r})=>{const s=lt(),{state:a,variant:i,switchState:l,drawerWidth:c,clipped:u}=Lo(),p=VS[i]&&!u&&{transition:s.transitions.create(["width","margin"],{easing:s.transitions.easing.sharp,duration:s.transitions.duration.leavingScreen}),...a==="open"&&{marginLeft:c,width:`calc(100% - ${c}px)`,transition:s.transitions.create(["width","margin"],{easing:s.transitions.easing.sharp,duration:s.transitions.duration.enteringScreen})}}||{};return d.jsx(AS,{position:u?"fixed":void 0,...r,sx:{...o,...p,zIndex:f=>f.zIndex.drawer+(u?1:0)},children:d.jsxs(Xf,{children:[d.jsx(Mt,{color:"inherit","aria-label":"open drawer",onClick:l,edge:"start",sx:{marginRight:s.spacing(2),display:u||FS[i](a)?void 0:"none"},children:a==="open"?i==="mini"?d.jsx(NS,{}):d.jsx(Wf,{}):d.jsx($S,{})}),e&&d.jsx(Fe,{variant:"h6",component:"h1",role:"heading","aria-level":1,noWrap:!0,children:e}),n]})})},LS={temporary:!1,mini:!0,persistent:!0},BS=F("div")(({theme:e})=>{const{spacing:o}=lt(),{drawerWidth:n,state:r,variant:s}=Lo();return{marginLeft:LS[s]?r==="open"?n:r==="collapse"?o(8):0:0,transition:e.transitions.create("margin",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen})}}),Zf=({children:e})=>d.jsxs(BS,{children:[d.jsx(Kl,{}),e]}),Zl=()=>d.jsx(He,{width:1,height:1,display:"flex",justifyContent:"center",alignItems:"center",children:d.jsx(ko,{})});function zS(e){return be("MuiLinearProgress",e)}const _S=ge("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]),Zi=4,Ji=$t.keyframes`
236
+ `))}return null}),direction:t.oneOf(["down","left","right","up"]),easing:t.oneOfType([t.shape({enter:t.string,exit:t.string}),t.string]),in:t.bool,onEnter:t.func,onEntered:t.func,onEntering:t.func,onExit:t.func,onExited:t.func,onExiting:t.func,style:t.object,timeout:t.oneOfType([t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})])});function Z0(e){return be("MuiDrawer",e)}const ld=ge("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),Bf=(e,o)=>{const{ownerState:n}=e;return[o.root,(n.variant==="permanent"||n.variant==="persistent")&&o.docked,o.modal]},J0=e=>{const{classes:o,anchor:n,variant:r}=e,s={root:["root",`anchor${oe(n)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${oe(n)}`,r!=="temporary"&&`paperAnchorDocked${oe(n)}`]};return he(s,Z0,o)},eS=F(Ka,{name:"MuiDrawer",slot:"Root",overridesResolver:Bf})(xe(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),tS=F("div",{shouldForwardProp:Bt,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Bf})({flex:"0 0 auto"}),oS=F(zt,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.paper,o[`paperAnchor${oe(n.anchor)}`],n.variant!=="temporary"&&o[`paperAnchorDocked${oe(n.anchor)}`]]}})(xe(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:o})=>o.anchor==="left"&&o.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:o})=>o.anchor==="top"&&o.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:o})=>o.anchor==="right"&&o.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:o})=>o.anchor==="bottom"&&o.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),zf={left:"right",right:"left",top:"down",bottom:"up"};function nS(e){return["left","right"].includes(e)}function rS({direction:e},o){return e==="rtl"&&nS(o)?zf[o]:o}const _f=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiDrawer"}),s=lt(),a=kt(),i={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:l="left",BackdropProps:c,children:u,className:p,elevation:f=16,hideBackdrop:m=!1,ModalProps:{BackdropProps:y,...b}={},onClose:h,open:v=!1,PaperProps:T={},SlideProps:O,TransitionComponent:w,transitionDuration:C=i,variant:S="temporary",slots:P={},slotProps:R={},...k}=r,D=g.useRef(!1);g.useEffect(()=>{D.current=!0},[]);const x=rS({direction:a?"rtl":"ltr"},l),j={...r,anchor:l,elevation:f,open:v,variant:S,...k},$=J0(j),M={slots:{transition:w,...P},slotProps:{paper:T,transition:O,...R,backdrop:Cl(R.backdrop||{...c,...y},{transitionDuration:C})}},[N,V]=$e("root",{ref:n,elementType:eS,className:ae($.root,$.modal,p),shouldForwardComponentProp:!0,ownerState:j,externalForwardedProps:{...M,...k,...b},additionalProps:{open:v,onClose:h,hideBackdrop:m,slots:{backdrop:M.slots.backdrop},slotProps:{backdrop:M.slotProps.backdrop}}}),[Y,G]=$e("paper",{elementType:oS,shouldForwardComponentProp:!0,className:ae($.paper,T.className),ownerState:j,externalForwardedProps:M,additionalProps:{elevation:S==="temporary"?f:0,square:!0}}),[W,B]=$e("docked",{elementType:tS,ref:n,className:ae($.root,$.docked,p),ownerState:j,externalForwardedProps:M,additionalProps:k}),[H,ce]=$e("transition",{elementType:Lf,ownerState:j,externalForwardedProps:M,additionalProps:{in:v,direction:zf[x],timeout:C,appear:D.current}}),ee=d.jsx(Y,{...G,children:u});if(S==="permanent")return d.jsx(W,{...B,children:ee});const Z=d.jsx(H,{...ce,children:ee});return S==="persistent"?d.jsx(W,{...B,children:Z}):d.jsx(N,{...V,children:Z})});process.env.NODE_ENV!=="production"&&(_f.propTypes={anchor:t.oneOf(["bottom","left","right","top"]),BackdropProps:t.object,children:t.node,classes:t.object,className:t.string,elevation:Tn,hideBackdrop:t.bool,ModalProps:t.object,onClose:t.func,open:t.bool,PaperProps:t.object,SlideProps:t.object,slotProps:t.shape({backdrop:t.oneOfType([t.func,t.object]),docked:t.oneOfType([t.func,t.object]),paper:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),transition:t.oneOfType([t.func,t.object])}),slots:t.shape({backdrop:t.elementType,docked:t.elementType,paper:t.elementType,root:t.elementType,transition:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),transitionDuration:t.oneOfType([t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})]),variant:t.oneOf(["permanent","persistent","temporary"])});function sS(e){return be("MuiDivider",e)}const cd=ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),aS=e=>{const{absolute:o,children:n,classes:r,flexItem:s,light:a,orientation:i,textAlign:l,variant:c}=e;return he({root:["root",o&&"absolute",c,a&&"light",i==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&i==="vertical"&&"withChildrenVertical",l==="right"&&i!=="vertical"&&"textAlignRight",l==="left"&&i!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",i==="vertical"&&"wrapperVertical"]},sS,r)},iS=F("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.absolute&&o.absolute,o[n.variant],n.light&&o.light,n.orientation==="vertical"&&o.vertical,n.flexItem&&o.flexItem,n.children&&o.withChildren,n.children&&n.orientation==="vertical"&&o.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&o.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&o.textAlignLeft]}})(xe(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Ie(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:o})=>!!o.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:o})=>o.children&&o.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:o})=>o.orientation==="vertical"&&o.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:o})=>o.textAlign==="right"&&o.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:o})=>o.textAlign==="left"&&o.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),lS=F("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.wrapper,n.orientation==="vertical"&&o.wrapperVertical]}})(xe(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),pr=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiDivider"}),{absolute:s=!1,children:a,className:i,orientation:l="horizontal",component:c=a||l==="vertical"?"div":"hr",flexItem:u=!1,light:p=!1,role:f=c!=="hr"?"separator":void 0,textAlign:m="center",variant:y="fullWidth",...b}=r,h={...r,absolute:s,component:c,flexItem:u,light:p,orientation:l,role:f,textAlign:m,variant:y},v=aS(h);return d.jsx(iS,{as:c,className:ae(v.root,i),role:f,ref:n,ownerState:h,"aria-orientation":f==="separator"&&(c!=="hr"||l==="vertical")?l:void 0,...b,children:a?d.jsx(lS,{className:v.wrapper,ownerState:h,children:a}):null})});pr&&(pr.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(pr.propTypes={absolute:t.bool,children:t.node,classes:t.object,className:t.string,component:t.elementType,flexItem:t.bool,light:t.bool,orientation:t.oneOf(["horizontal","vertical"]),role:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),textAlign:t.oneOf(["center","left","right"]),variant:t.oneOfType([t.oneOf(["fullWidth","inset","middle"]),t.string])});const Wf=qe(d.jsx("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft"),Kl=F("div")(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:e.spacing(0,1),...e.mixins.toolbar})),cS={temporary:!0,mini:!0,persistent:!0},uS={temporary:"temporary",mini:"permanent",persistent:"persistent"},ud=()=>({}),dS={mini:(e,o)=>({boxSizing:"border-box",[`& .${qy.root}`]:{zIndex:o.zIndex.drawer-1}}),temporary:ud,persistent:ud},Uf=({children:e,...o})=>{const n=lt(),{state:r,switchState:s,clipped:a,close:i,drawerWidth:l,variant:c}=Lo(),u={width:l,flexShrink:0,whiteSpace:"nowrap",...r==="open"&&{...ad(n),[`& .${ld.paper}`]:ad(n)},...r!=="open"&&{...id(n),[`& .${ld.paper}`]:id(n)},...dS[c](r,n)};return d.jsxs(_f,{open:r==="open",variant:uS[c],role:"menu","aria-hidden":r==="close",onClose:i,sx:u,...o,children:[d.jsx(Kl,{children:!a&&cS[c]&&d.jsx(Mt,{onClick:s,children:d.jsx(Wf,{})})}),d.jsx(pr,{}),e]})};function pS(e){return be("MuiListItemIcon",e)}const dd=ge("MuiListItemIcon",["root","alignItemsFlexStart"]),fS=e=>{const{alignItems:o,classes:n}=e;return he({root:["root",o==="flex-start"&&"alignItemsFlexStart"]},pS,n)},mS=F("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.alignItems==="flex-start"&&o.alignItemsFlexStart]}})(xe(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Xl=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiListItemIcon"}),{className:s,...a}=r,i=g.useContext(so),l={...r,alignItems:i.alignItems},c=fS(l);return d.jsx(mS,{className:ae(c.root,s),ownerState:l,ref:n,...a})});process.env.NODE_ENV!=="production"&&(Xl.propTypes={children:t.node,classes:t.object,className:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const Ql=(e,o)=>({color:o?e.palette.primary.main:void 0,fontWeight:o?e.typography.fontWeightBold:e.typography.fontWeightMedium}),hS=qe(d.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight"),bS=qe(d.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function gS(e){return be("MuiAvatar",e)}ge("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const yS=e=>{const{classes:o,variant:n,colorDefault:r}=e;return he({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},gS,o)},vS=F("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],n.colorDefault&&o.colorDefault]}})(xe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),xS=F("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,o)=>o.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),CS=F(bS,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,o)=>o.fallback})({width:"75%",height:"75%"});function TS({crossOrigin:e,referrerPolicy:o,src:n,srcSet:r}){const[s,a]=g.useState(!1);return g.useEffect(()=>{if(!n&&!r)return;a(!1);let i=!0;const l=new Image;return l.onload=()=>{i&&a("loaded")},l.onerror=()=>{i&&a("error")},l.crossOrigin=e,l.referrerPolicy=o,l.src=n,r&&(l.srcset=r),()=>{i=!1}},[e,o,n,r]),s}const Hf=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiAvatar"}),{alt:s,children:a,className:i,component:l="div",slots:c={},slotProps:u={},imgProps:p,sizes:f,src:m,srcSet:y,variant:b="circular",...h}=r;let v=null;const T={...r,component:l,variant:b},O=TS({...p,...typeof u.img=="function"?u.img(T):u.img,src:m,srcSet:y}),w=m||y,C=w&&O!=="error";T.colorDefault=!C,delete T.ownerState;const S=yS(T),[P,R]=$e("img",{className:S.img,elementType:xS,externalForwardedProps:{slots:c,slotProps:{img:{...p,...u.img}}},additionalProps:{alt:s,src:m,srcSet:y,sizes:f},ownerState:T});return C?v=d.jsx(P,{...R}):a||a===0?v=a:w&&s?v=s[0]:v=d.jsx(CS,{ownerState:T,className:S.fallback}),d.jsx(vS,{as:l,className:ae(S.root,i),ref:n,...h,ownerState:T,children:v})});process.env.NODE_ENV!=="production"&&(Hf.propTypes={alt:t.string,children:t.node,classes:t.object,className:t.string,component:t.elementType,imgProps:t.object,sizes:t.string,slotProps:t.shape({img:t.oneOfType([t.func,t.object])}),slots:t.shape({img:t.elementType}),src:t.string,srcSet:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["circular","rounded","square"]),t.string])});function wS(e){return be("MuiListItemAvatar",e)}ge("MuiListItemAvatar",["root","alignItemsFlexStart"]);const SS=e=>{const{alignItems:o,classes:n}=e;return he({root:["root",o==="flex-start"&&"alignItemsFlexStart"]},wS,n)},OS=F("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.alignItems==="flex-start"&&o.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}),qf=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiListItemAvatar"}),{className:s,...a}=r,i=g.useContext(so),l={...r,alignItems:i.alignItems},c=SS(l);return d.jsx(OS,{className:ae(c.root,s),ownerState:l,ref:n,...a})});process.env.NODE_ENV!=="production"&&(qf.propTypes={children:t.node,classes:t.object,className:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const pd={minWidth:0,justifyContent:"center",marginRight:"auto"},RS=({text:e,icon:o,avatar:n,label:r,bullet:s,href:a,selected:i,level:l,sx:c})=>{const{state:u,size:p}=Lo(),f=lt(),{color:m,fontWeight:y}=Ql(f,i),{LinkComponent:b}=Lo();return d.jsxs(Ya,{dense:p==="small",LinkComponent:b,"aria-label":e,href:a,selected:i,sx:{...c,borderRadius:2,pl:u==="open"?f.spacing(2+1.5*l):void 0,...u==="collapse"&&{px:2.5,justifyContent:"center"}},children:[o&&d.jsx(Xl,{sx:{color:m,...u==="collapse"&&l===0&&pd},children:o}),n&&d.jsx(qf,{sx:{...u==="collapse"&&l===0&&pd},children:d.jsx(Hf,{alt:n.alt,src:n.src,sx:{...p==="small"&&{width:24,height:24},...u==="collapse"&&{width:30,height:30}}})}),d.jsx(Ps,{disableTypography:!0,primary:e,sx:{color:m,fontWeight:y,opacity:u==="collapse"&&l===0?0:void 0}}),r&&u==="open"&&d.jsx(Ca,{text:r.text,variant:r.variant,sx:{ml:2}}),s&&u==="open"&&d.jsx(lf,{variant:s.variant,sx:{ml:2}})]})},Yf=({item:e,level:o=0})=>{const{selectedItemId:n,state:r}=Lo();if(e.kind==="collapsable"){const{id:s,text:a,icon:i,items:l}=e,c=l.some(u=>u.id===n);return d.jsx(PS,{selected:s===n||c,text:a,icon:i,items:l,level:o})}else{if(e.kind==="header")return r==="open"&&d.jsx(Vf,{role:"heading",children:e.text});{const{id:s,text:a,icon:i,avatar:l,label:c,bullet:u,href:p}=e;return d.jsx(RS,{selected:s===n,text:a,icon:i,avatar:l,label:c,bullet:u,href:p,level:o})}}},PS=({text:e,icon:o,selected:n,items:r,level:s,sx:a={}})=>{const{state:i,size:l}=Lo(),c=ke.useRef(null),{palette:u,spacing:p,transitions:f}=lt(),[m,y]=ke.useState(!1),{color:b,fontWeight:h}=Ql(lt(),n),[v,T]=ke.useState(!0);ke.useEffect(()=>{m&&i==="collapse"&&(T(!1),setTimeout(()=>{T(!0)},f.duration.leavingScreen))},[i]);const O=d.jsx(Rs,{component:"div",disablePadding:!0,children:r.map(C=>d.jsx(Yf,{level:s+1,item:C},C.id))}),w=i==="collapse"&&s===0?{position:"absolute",right:-3}:{};return d.jsxs(d.Fragment,{children:[d.jsxs(Ya,{ref:c,selected:n,"aria-label":e,onClick:()=>y(C=>!C),dense:l==="small",sx:{...a,borderRadius:2,pl:i==="open"?p(2+1.5*s):void 0,backgroundColor:m?u.action.hover:void 0,...i==="collapse"&&{px:2.5,justifyContent:"center"}},children:[o&&d.jsx(Xl,{sx:{color:b,justifyContent:"center"},children:o}),d.jsx(Ps,{disableTypography:!0,primary:e,sx:{color:b,fontWeight:h,opacity:i==="collapse"&&s===0?0:void 0}}),m&&i==="open"?d.jsx(_p,{sx:[{color:b,ml:2,fontSize:20},w]}):d.jsx(hS,{sx:[{color:b,ml:2,fontSize:20},w]})]}),i==="open"?d.jsx(sr,{in:m,timeout:"auto",unmountOnExit:!0,"aria-label":`${e} collapse submenu`,children:O}):v&&d.jsx(Ul,{open:m,slotProps:{paper:{elevation:0,variant:"outlined"}},"aria-label":`${e} popover submenu`,anchorEl:c.current,onClose:()=>y(!1),anchorOrigin:{vertical:"top",horizontal:"right"},children:O})]})},Gf=({navigation:e})=>{const{size:o}=Lo(),{spacing:n}=Sn.useTheme();return d.jsx(Sn.List,{sx:{paddingTop:o==="small"?n(.5):void 0,paddingX:n(o==="small"?.5:1)},children:e.map(r=>d.jsx(Yf,{item:r},r.id))})};function kS(e){return be("MuiAppBar",e)}ge("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const ES=e=>{const{color:o,position:n,classes:r}=e,s={root:["root",`color${oe(o)}`,`position${oe(n)}`]};return he(s,kS,r)},fd=(e,o)=>e?`${e==null?void 0:e.replace(")","")}, ${o})`:o,DS=F(zt,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`position${oe(n.position)}`],o[`color${oe(n.color)}`]]}})(xe(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(gt(["contrastText"])).map(([o])=>({props:{color:o},style:{"--AppBar-background":(e.vars??e).palette[o].main,"--AppBar-color":(e.vars??e).palette[o].contrastText}})),{props:o=>o.enableColorOnDark===!0&&!["inherit","transparent"].includes(o.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:o=>o.enableColorOnDark===!1&&!["inherit","transparent"].includes(o.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?fd(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?fd(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),Kf=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:i=!1,position:l="fixed",...c}=r,u={...r,color:a,position:l,enableColorOnDark:i},p=ES(u);return d.jsx(DS,{square:!0,component:"header",ownerState:u,elevation:4,className:ae(p.root,s,l==="fixed"&&"mui-fixed"),ref:n,...c})});process.env.NODE_ENV!=="production"&&(Kf.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["default","inherit","primary","secondary","transparent","error","info","success","warning"]),t.string]),enableColorOnDark:t.bool,position:t.oneOf(["absolute","fixed","relative","static","sticky"]),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function jS(e){return be("MuiToolbar",e)}ge("MuiToolbar",["root","gutters","regular","dense"]);const IS=e=>{const{classes:o,disableGutters:n,variant:r}=e;return he({root:["root",!n&&"gutters",r]},jS,o)},MS=F("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,!n.disableGutters&&o.gutters,o[n.variant]]}})(xe(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:o})=>!o.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),Xf=g.forwardRef(function(o,n){const r=we({props:o,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:i=!1,variant:l="regular",...c}=r,u={...r,component:a,disableGutters:i,variant:l},p=IS(u);return d.jsx(MS,{as:a,className:ae(p.root,s),ref:n,ownerState:u,...c})});process.env.NODE_ENV!=="production"&&(Xf.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,disableGutters:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["dense","regular"]),t.string])});const $S=qe(d.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),NS=qe(d.jsx("path",{d:"M3 18h13v-2H3zm0-5h10v-2H3zm0-7v2h13V6zm18 9.59L17.42 12 21 8.41 19.59 7l-5 5 5 5z"}),"MenuOpen"),AS=F(Kf)(({theme:e})=>({borderWidth:0,borderBottomWidth:1,borderStyle:"solid",borderColor:e.palette.divider,boxShadow:"none",zIndex:e.zIndex.drawer+1})),VS={temporary:!1,mini:!0,persistent:!0},FS={temporary:()=>!0,mini:e=>e!=="open",persistent:()=>!0},Qf=({title:e,sx:o,children:n,...r})=>{const s=lt(),{state:a,variant:i,switchState:l,drawerWidth:c,clipped:u}=Lo(),p=VS[i]&&!u&&{transition:s.transitions.create(["width","margin"],{easing:s.transitions.easing.sharp,duration:s.transitions.duration.leavingScreen}),...a==="open"&&{marginLeft:c,width:`calc(100% - ${c}px)`,transition:s.transitions.create(["width","margin"],{easing:s.transitions.easing.sharp,duration:s.transitions.duration.enteringScreen})}}||{};return d.jsx(AS,{position:u?"fixed":void 0,...r,sx:{...o,...p,zIndex:f=>f.zIndex.drawer+(u?1:0)},children:d.jsxs(Xf,{children:[d.jsx(Mt,{color:"inherit","aria-label":"open drawer",onClick:l,edge:"start",sx:{marginRight:s.spacing(2),display:u||FS[i](a)?void 0:"none"},children:a==="open"?i==="mini"?d.jsx(NS,{}):d.jsx(Wf,{}):d.jsx($S,{})}),e&&d.jsx(Fe,{variant:"h6",component:"h1",role:"heading","aria-level":1,noWrap:!0,children:e}),n]})})},LS={temporary:!1,mini:!0,persistent:!0},BS=F("div")(({theme:e})=>{const{spacing:o}=lt(),{drawerWidth:n,state:r,variant:s}=Lo();return{marginLeft:LS[s]?r==="open"?n:r==="collapse"?o(8):0:0,transition:e.transitions.create("margin",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen})}}),Zf=({children:e})=>d.jsxs(BS,{children:[d.jsx(Kl,{}),e]}),Zl=()=>d.jsx(He,{width:1,height:1,display:"flex",justifyContent:"center",alignItems:"center",children:d.jsx(ko,{})});function zS(e){return be("MuiLinearProgress",e)}const _S=ge("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]),Zi=4,Ji=$t.keyframes`
237
237
  0% {
238
238
  left: -35%;
239
239
  right: 100%;