1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,510106,e=>{"use strict";var t=e.i(719636);e.s(["useForkRef",()=>t.default])},229041,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(207670),o=e.i(519130),a=e.i(940799),i=e.i(75149),n=e.i(594425),s=e.i(942196),l=e.i(540672),c=e.i(319727);function d(e){return(0,c.default)("MuiListSubheader",e)}(0,l.default)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var p=e.i(843476);let h=(0,a.styled)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${(0,s.default)(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})((0,i.default)(({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:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),u=t.forwardRef(function(e,t){let a=(0,n.useDefaultProps)({props:e,name:"MuiListSubheader"}),{className:i,color:l="default",component:c="li",disableGutters:u=!1,disableSticky:v=!1,inset:m=!1,...g}=a,f={...a,color:l,component:c,disableGutters:u,disableSticky:v,inset:m},x=(e=>{let{classes:t,color:r,disableGutters:a,inset:i,disableSticky:n}=e,l={root:["root","default"!==r&&`color${(0,s.default)(r)}`,!a&&"gutters",i&&"inset",!n&&"sticky"]};return(0,o.default)(l,d,t)})(f);return(0,p.jsx)(h,{as:c,className:(0,r.default)(x.root,i),ref:t,ownerState:f,...g})});u&&(u.muiSkipListHighlight=!0),e.s(["default",0,u],229041)},43327,892118,e=>{"use strict";var t=e.i(550314);let r={root:(0,t.createClasses)("flag__icon__root"),img:(0,t.createClasses)("flag__icon__img")};var o=e.i(843476),a=e.i(632418),i=e.i(940799);function n({code:e,className:t,sx:i,...n}){if(!e)return null;let c=`/assets/icons/flags/${e?.toUpperCase()}.svg`,d=`https://purecatamphetamine.github.io/country-flag-icons/3x2/${e?.toUpperCase()}.svg`;return(0,o.jsx)(s,{className:(0,a.mergeClasses)([r.root,t]),sx:i,...n,children:(0,o.jsx)(l,{loading:"lazy",alt:e,src:c,onError:e=>{e.target.src=d},className:r.img})})}let s=(0,i.styled)("span")(({theme:e})=>({width:26,height:20,flexShrink:0,overflow:"hidden",borderRadius:"5px",alignItems:"center",display:"inline-flex",justifyContent:"center",backgroundColor:e.vars.palette.background.neutral})),l=(0,i.styled)("img")(()=>({width:"100%",height:"100%",maxWidth:"unset",objectFit:"cover"}));e.s(["FlagIcon",()=>n],892118),e.s([],43327)},997978,23849,e=>{"use strict";var t=e.i(843476),r=e.i(271645),o=e.i(632418),a=e.i(641044),i=e.i(210557),n=e.i(983738),s=e.i(804624);function l(e){if(!e)return 0;let t=parseFloat(e);return Number.isFinite(t)?t:0}function c(e,t,o){let[a,i]=(0,r.useState)(null),n=(0,r.useCallback)(()=>{let r;if(e&&o){if("popoverPaper"===t){let{top:t,left:o,width:a,height:i,marginTop:n,marginLeft:s,translate:c}=getComputedStyle(e),{translateX:d,translateY:p}=function(e){if(!e||"none"===e)return{translateX:0,translateY:0};let[t,r]=e.split(" ");return{translateX:l(t),translateY:l(r)}}(c);r={width:l(a),height:l(i),top:l(t)+l(n)+p,left:l(o)+l(s)+d}}else{let t=e.getBoundingClientRect();r={top:t.top,left:t.left,width:t.width,height:t.height}}i(r)}},[t,e,o]);return(0,r.useEffect)(()=>{if(!e||!o)return;n();let t=new ResizeObserver(n);return t.observe(e),window.addEventListener("resize",n,{passive:!0}),window.addEventListener("scroll",n,{capture:!0}),()=>{t.disconnect(),window.removeEventListener("resize",n),window.removeEventListener("scroll",n)}},[e,o,n]),a}let d={"top-left":{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}},"top-center":{anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},"top-right":{anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},"bottom-left":{anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"}},"bottom-center":{anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}},"bottom-right":{anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"}},"left-top":{anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}},"left-center":{anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}},"left-bottom":{anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}},"right-top":{anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"}},"right-center":{anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}},"right-bottom":{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"}}};function p(e){return"left"===e.horizontal?{...e,horizontal:"right"}:"right"===e.horizontal?{...e,horizontal:"left"}:e}var h=e.i(940799);function u(e,t=!1){return({top:{top:0,rotate:"135deg",translate:"0 -48%"},bottom:{bottom:0,rotate:"-45deg",translate:"0 48%"},left:t?{left:0,rotate:"-135deg",translate:"48% 0"}:{left:0,rotate:"45deg",translate:"-48% 0"},right:t?{right:0,rotate:"45deg",translate:"-48% 0"}:{right:0,rotate:"-135deg",translate:"48% 0"}})[e]??{}}let v=(0,h.styled)("span",{shouldForwardProp:e=>!["size","placement","anchorRect","paperRect","sx"].includes(e)})(({size:e=0,placement:t="top-right",anchorRect:r,paperRect:a,theme:i})=>{let n,s,l,c,d,p,h,v="rtl"===i.direction,{offsetX:m,offsetY:g}=(n=r.left-a.left+r.width/2,s=r.top-a.top+r.height/2,l=n-e/2,c=s-e/2,d=e/2,p=a.width-2*e,h=a.height-2*e,{offsetX:l=Math.max(d,Math.min(l,p)),offsetY:c=Math.max(d,Math.min(c,h))}),f=function({isRtl:e,placement:t,xRatio:r,yRatio:o,paperRatio:a}){if(!t)return null;let i=t.startsWith("top-"),n=t.startsWith("bottom-"),s=t.startsWith("left-"),l=t.startsWith("right-");if(i&&r>.6)return"cyan";if(n&&r<.4)return"red";if(s||l){let t=o>.6||a>=1.8,r=o<.4||a>=1.8;if(e){if(l&&t)return"red";if(s&&r)return"cyan"}else{if(l&&r)return"cyan";if(s&&t)return"red"}}return null}({isRtl:v,placement:t,xRatio:m/a.width,yRatio:g/a.height,paperRatio:Math.round(a.width/a.height*100)/100}),x={width:e,height:e,position:"absolute",borderBottomLeftRadius:v?0:e/4,borderBottomRightRadius:v?e/4:0,clipPath:"pol
1ygon(0% 0%, 100% 100%, 0% 100%)",backgroundColor:i.vars.palette.background.paper,border:`solid 1px ${(0,o.varAlpha)(i.vars.palette.grey["500Channel"],.12)}`,...i.applyStyles("dark",{border:`solid 1px ${(0,o.varAlpha)(i.vars.palette.common.blackChannel,.12)}`})},b={backgroundRepeat:"no-repeat",backgroundSize:`${3*e}px ${3*e}px`,..."cyan"===f&&{backgroundPosition:(0,o.noRtlFlip)("top right"),backgroundImage:`linear-gradient(45deg, ${(0,o.varAlpha)(i.vars.palette.info.mainChannel,.08)}, ${(0,o.varAlpha)(i.vars.palette.info.mainChannel,.08)})`},..."red"===f&&{backgroundPosition:(0,o.noRtlFlip)("bottom left"),backgroundImage:`linear-gradient(45deg, ${(0,o.varAlpha)(i.vars.palette.error.mainChannel,.08)}, ${(0,o.varAlpha)(i.vars.palette.error.mainChannel,.08)})`}};return{...x,...b,variants:[{props:e=>e.placement?.startsWith("top-"),style:{...u("top"),left:(0,o.noRtlFlip)(`${m}px`)}},{props:e=>e.placement?.startsWith("bottom-"),style:{...u("bottom"),left:(0,o.noRtlFlip)(`${m}px`)}},{props:e=>e.placement?.startsWith("left-"),style:{...u("left",v),top:`${g}px`}},{props:e=>e.placement?.startsWith("right-"),style:{...u("right",v),top:`${g}px`}}]}}),m=[8,2];function g({open:e,onClose:l,children:h,anchorEl:u,slotProps:g,...f}){let x="rtl"===(0,i.useTheme)().direction,{arrow:b,paper:y,...w}=g??{},k=b?.size??14,C=b?.placement??"top-right",j=y?.offset??m,{anchorOrigin:R,transformOrigin:z}=function(e,t=!1){let r=d[e];return t?{anchorOrigin:p(r.anchorOrigin),transformOrigin:p(r.transformOrigin)}:r}(C,x),P=(0,r.useRef)(null),I=c(P.current,"popoverPaper",e),_=c(u,"anchor",e),S=!b?.hide&&!!I&&!!_,F={...function(e,t,r){if(!e)return{};let[o,a]=t,i=r?-1:1,[n,s="center"]=e.split("-"),[l,c]={top:{left:[-o*i,a],center:[0,a],right:[o*i,a]},bottom:{left:[-o*i,-a],center:[0,-a],right:[o*i,-a]},left:{top:[a*i,-o],center:[a*i,0],bottom:[a*i,o]},right:{top:[-a*i,-o],center:[-a*i,0],bottom:[-a*i,o]}}[n]?.[s]||[0,0];return{translate:`${l}px ${c}px`}}(C,j,x),overflow:"inherit",[`& .${n.listClasses.root}`]:{minWidth:140},[`& .${s.menuItemClasses.root}`]:{gap:2}};return(0,t.jsxs)(a.default,{"aria-hidden":!e,open:!!e,anchorEl:u,onClose:l,anchorOrigin:R,transformOrigin:z,slotProps:{...w,paper:{...y,ref:(0,o.mergeRefs)([P,y?.ref]),sx:[F,...Array.isArray(y?.sx)?y.sx:[y?.sx]]}},...f,children:[S&&(0,t.jsx)(v,{size:k,placement:C,paperRect:I,anchorRect:_,sx:b?.sx}),h]})}e.s(["CustomPopover",()=>g],23849),e.s([],997978)},683240,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(207670),o=e.i(519130),a=e.i(940799),i=e.i(75149),n=e.i(594425),s=e.i(454624),l=e.i(843476);let c=(0,s.default)((0,l.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");var d=e.i(540672),p=e.i(319727);function h(e){return(0,p.default)("MuiAvatar",e)}(0,d.default)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var u=e.i(348106);let v=(0,a.styled)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})((0,i.default)(({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]})}}}]}))),m=(0,a.styled)("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),g=(0,a.styled)(c,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"}),f=t.forwardRef(function(e,a){let i=(0,n.useDefaultProps)({props:e,name:"MuiAvatar"}),{alt:s,children:c,className:d,component:p="div",slots:f={},slotProps:x={},imgProps:b,sizes:y,src:w,srcSet:k,variant:C="circular",...j}=i,R=null,z={...i,component:p,variant:C},P=function({crossOrigin:e,referrerPolicy:r,src:o,srcSet:a}){let[i,n]=t.useState(!1);return t.useEffect(()=>{if(!o&&!a)return;n(!1);let t=!0,i=new Image;return i.onload=()=>{t&&n("loaded")},i.onerror=()=>{t&&n("error")},i.crossOrigin=e,i.referrerPolicy=r,i.src=o,a&&(i.srcset=a),()=>{t=!1}},[e,r,o,a]),i}({...b,..."function"==typeof x.img?x.img(z):x.img,src:w,srcSet:k}),I=w||k,_=I&&"error"!==P;z.colorDefault=!_,delete z.ownerState;let S=(e=>{let{classes:t,variant:r,colorDefault:a}=e;return(0,o.default)({root:["root",r,a&&"colorDefault"],img:["img"],fallback:["fallback"]},h,t)})(z),[F,N]=(0,u.default)("root",{ref:a,className:(0,r.default)(S.root,d),elementType:v,externalForwardedProps:{slots:f,slotProps:x,component:p,...j},ownerState:z}),[L,$]=(0,u.default)("img",{className:S.img,elementType:m,externalForwardedProps:{slots:f,slotProps:{img:{...b,...x.img}}},additionalProps:{alt:s,src:w,srcSet:k,sizes:y},ownerState:z}),[A,M]=(0,u.default)("fallback",{className:S.fallback,elementType:g,externalForwardedProps:{slots:f,slotProps:x},shouldForwardComponentProp:!0,ownerState:z});return R=_?(0,l.jsx)(L,{...$}):c||0===c?c:I&&s?s[0]:(0,l.jsx)(A,{...M}),(0,l.jsx)(F,{...N,children:R})});e.s(["default",0,f],683240)},212401,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(207670),o=e.i(606586),a=e.i(552836),i=e.i(519130),n=e.i(940799),s=e.i(210557),l=e.i(75149),c=e.i(594425),d=e.i(795595),p=e.i(801226),h=e.i(510106),u=e.i(348106),v=e.i(540672),m=e.i(319727);function g(e){return(0,m.default)("MuiCollapse",e)}(0,v.default)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var f=e.i(843476);let x=(0,n.styled)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],"entered"===r.state&&t.entered,"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&t.hidden]}})((0,l.default)(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]}))),b=(0,n.styled)("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),y=(0,n.styled)("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),w=t.forwardRef(function(e,n){let l=(0,c.useDefaultProps)({props:e,name:"MuiCollapse"}),{addEndListener:v,children:m,className:w,collapsedSize:k="0px",component:C,easing:j,in:R,onEnter:z,onEntered:P,onEntering:I,onExit:_,onExited:S,onExiting:F,orientation:N="vertical",slots:L={},slotProps:$={},style:A,timeout:M=d.duration.standard,TransitionComponent:O=o.Transition,...E}=l,T={...l,orientation:N,collapsedSize:k},W=(e=>{let{orientation:t,classes:r}=e,o={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,i.default)(o,g,r)})(T),D=(0,s.useTheme)(),H=(0,a.default)(),B=t.useRef(null),V=t.useRef(),U="number"==typeof k?`${k}px`:k,X="horizontal"===N,Y=X?"width":"height",q=t.useRef(null),G=(0,h.useForkRef)(n,q),K=e=>t=>{if(e){let r=q.current;void 0===t?e(r):e(r,t)}},J=()=>B.current?B.current[X?"clientWidth":"clientHeight"]:0,Q=K((e,t)=>{B.current&&X&&(B.current.style.position="absolute"),e.style[Y]=U,z&&z(e,t)}),Z=K((e,t)=>{let r=J();B.current&&X&&(B.current.style.position="");let{duration:o,easing:a}=(0,p.getTransitionProps)({style:A,timeout:M,easing:j},{mode:"enter"});if("auto"===M){let t=D.transitions.getAutoHeightDuration(r);e.style.transitionDuration=`${t}ms`,V.current=t}else e.style.transitionDuration="string"==typeof o?o:`${o}ms`;e.style[Y]=`${r}px`,e.style.transitionTimingFunction=a,I&&I(e,t)}),ee=K((e,t)=>{e.style[Y]="auto",P&&P(e,t)}),et=K(e=>{e.style[Y]=`${J()}px`,_&&_(e)}
1),er=K(S),eo=K(e=>{let t=J(),{duration:r,easing:o}=(0,p.getTransitionProps)({style:A,timeout:M,easing:j},{mode:"exit"});if("auto"===M){let r=D.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${r}ms`,V.current=r}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[Y]=U,e.style.transitionTimingFunction=o,F&&F(e)}),ea={slots:L,slotProps:$,component:C},[ei,en]=(0,u.default)("root",{ref:G,className:(0,r.default)(W.root,w),elementType:x,externalForwardedProps:ea,ownerState:T,additionalProps:{style:{[X?"minWidth":"minHeight"]:U,...A}}}),[es,el]=(0,u.default)("wrapper",{ref:B,className:W.wrapper,elementType:b,externalForwardedProps:ea,ownerState:T}),[ec,ed]=(0,u.default)("wrapperInner",{className:W.wrapperInner,elementType:y,externalForwardedProps:ea,ownerState:T});return(0,f.jsx)(O,{in:R,onEnter:Q,onEntered:ee,onEntering:Z,onExit:et,onExited:er,onExiting:eo,addEndListener:e=>{"auto"===M&&H.start(V.current||0,e),v&&v(q.current,e)},nodeRef:q,timeout:"auto"===M?null:M,...E,children:(e,{ownerState:t,...o})=>{let a={...T,state:e};return(0,f.jsx)(ei,{...en,className:(0,r.default)(en.className,{entered:W.entered,exited:!R&&"0px"===U&&W.hidden}[e]),ownerState:a,...o,children:(0,f.jsx)(es,{...el,ownerState:a,children:(0,f.jsx)(ec,{...ed,ownerState:a,children:m})})})}})});w&&(w.muiSupportAuto=!0),e.s(["default",0,w],212401)},693981,853362,412020,133337,921026,586800,58128,707957,888770,757396,819300,e=>{"use strict";var t=e.i(843476),r=e.i(632418),o=e.i(210557),a=e.i(271645),i=e.i(720926);e.i(728407);var n=e.i(618566),s=e.i(869799),l=e.i(940799),c=e.i(154033);e.i(899068);var d=e.i(800103);e.i(333013);var p=e.i(585784);function h({path:e,icon:t,info:r,depth:o,render:i,hasChild:n,externalLink:s,enabledRootRedirect:l}){let c=e||"/",d=1===o,h=Number(o)>2,u=s?{href:c,target:"_blank",rel:"noopener noreferrer"}:{component:p.RouterLink,href:c},v=null;v=t&&i?.navIcon&&"string"==typeof t?i?.navIcon[t]:t;let m=null;if(r&&i?.navInfo&&Array.isArray(r)){let[e,t]=r,o=i.navInfo(t)[e];m=o?(0,a.cloneElement)(o):null}else m=r;return{subItem:!d,rootItem:d,subDeepItem:h,baseProps:n&&!l?{component:"div"}:u,renderIcon:v,renderInfo:m}}e.s(["createNavItem",()=>h],853362);var u=e.i(550314);let v={mini:(0,u.createClasses)("nav__section__mini"),vertical:(0,u.createClasses)("nav__section__vertical"),horizontal:(0,u.createClasses)("nav__section__horizontal"),li:(0,u.createClasses)("nav__li"),ul:(0,u.createClasses)("nav__ul"),subheader:(0,u.createClasses)("nav__subheader"),dropdown:{root:(0,u.createClasses)("nav__dropdown__root"),paper:(0,u.createClasses)("nav__dropdown__paper")},item:{root:(0,u.createClasses)("nav__item__root"),sub:(0,u.createClasses)("nav__item__sub"),icon:(0,u.createClasses)("nav__item__icon"),info:(0,u.createClasses)("nav__item__info"),texts:(0,u.createClasses)("nav__item__texts"),title:(0,u.createClasses)("nav__item__title"),arrow:(0,u.createClasses)("nav__item__arrow"),caption:(0,u.createClasses)("nav__item__caption")},state:{open:"--open",active:"--active",disabled:"--disabled"}};e.s(["navSectionClasses",0,v],412020);let m={dark:"#282F37",light:"#EDEFF2"};function g(e,t){let{vars:{palette:o}}=e;return{"--nav-item-color":o.text.secondary,"--nav-item-hover-bg":o.action.hover,"--nav-item-caption-color":o.text.disabled,"--nav-item-root-active-color":o.primary.main,"--nav-item-root-active-color-on-dark":o.primary.light,"--nav-item-root-active-bg":(0,r.varAlpha)(o.primary.mainChannel,.08),"--nav-item-root-active-hover-bg":(0,r.varAlpha)(o.primary.mainChannel,.16),"--nav-item-root-open-color":o.text.primary,"--nav-item-root-open-bg":o.action.hover,"--nav-item-sub-active-color":o.text.primary,"--nav-item-sub-active-bg":o.action.selected,"--nav-item-sub-open-color":o.text.primary,"--nav-item-sub-open-bg":o.action.hover,..."vertical"===t&&{"--nav-item-sub-active-bg":o.action.hover,"--nav-subheader-color":o.text.disabled,"--nav-subheader-hover-color":o.text.primary}}}let f={mini:function(e){let{shape:t}=e;return{...g(e,"mini"),"--nav-item-gap":"4px","--nav-item-radius":`${t.borderRadius}px`,"--nav-item-root-height":"56px","--nav-item-root-padding":"8px 4px 6px 4px","--nav-item-sub-height":"34px","--nav-item-sub-padding":"0 8px","--nav-icon-size":"22px","--nav-icon-root-margin":"0 0 6px 0","--nav-icon-sub-margin":"0 8px 0 0"}},vertical:function(e){let{shape:t}=e;return{...g(e,"vertical"),"--nav-item-gap":"4px","--nav-item-radius":`${t.borderRadius}px`,"--nav-item-pt":"4px","--nav-item-pr":"8px","--nav-item-pb":"4px","--nav-item-pl":"12px","--nav-item-root-height":"44px","--nav-item-sub-height":"36px","--nav-icon-size":"24px","--nav-icon-margin":"0 12px 0 0","--nav-bullet-size":"12px","--nav-bullet-light-color":m.light,"--nav-bullet-dark-color":m.dark}},horizontal:function(e){let{shape:t}=e;return{...g(e,"horizontal"),"--nav-item-gap":"6px","--nav-height":"56px","--nav-item-radius":`${.75*Number(t.borderRadius)}px`,"--nav-item-root-height":"32px","--nav-item-root-padding":"0 6px","--nav-item-sub-height":"34px","--nav-item-sub-padding":"0 8px","--nav-icon-size":"22px","--nav-icon-sub-margin":"0 8px 0 0","--nav-icon-root-margin":"0 8px 0 0"}}};
1e.s(["bulletColor",0,m,"navSectionCssVars",0,f],133337);let x={icon:{width:22,height:22,flexShrink:0,display:"inline-flex","& > :first-of-type:not(style):not(:first-of-type ~ *), & > style + *":{width:"100%",height:"100%"}},texts:{flex:"1 1 auto",display:"inline-flex",flexDirection:"column"},title:e=>({...e.mixins.maxLine({line:1}),flex:"1 1 auto"}),info:{fontSize:12,flexShrink:0,fontWeight:600,marginLeft:"6px",lineHeight:1.5,display:"inline-flex"},arrow:e=>({width:16,height:16,flexShrink:0,marginLeft:"6px",display:"inline-flex",..."rtl"===e.direction&&{transform:"scaleX(-1)"}}),captionIcon:{width:16,height:16},captionText:e=>({...e.mixins.maxLine({line:1}),...e.typography.caption}),disabled:{opacity:.48,pointerEvents:"none"}};function b({path:e,icon:o,info:a,title:i,caption:n,open:l,active:c,disabled:d,depth:p,render:u,hasChild:m,slotProps:g,className:f,externalLink:x,enabledRootRedirect:b,...y}){let P=h({path:e,icon:o,info:a,depth:p,render:u,hasChild:m,externalLink:x,enabledRootRedirect:b}),I={open:l,active:c,disabled:d,variant:P.rootItem?"rootItem":"subItem"};return(0,t.jsxs)(w,{"aria-label":i,...I,...P.baseProps,className:(0,r.mergeClasses)([v.item.root,f],{[v.state.open]:l,[v.state.active]:c,[v.state.disabled]:d}),sx:g?.sx,...y,children:[o&&(0,t.jsx)(k,{...I,className:v.item.icon,sx:g?.icon,children:P.renderIcon}),i&&(0,t.jsx)(C,{...I,className:v.item.title,sx:g?.title,children:i}),n&&(0,t.jsx)(s.default,{title:n,arrow:!0,placement:"right",children:(0,t.jsx)(j,{...I,icon:"eva:info-outline",className:v.item.caption,sx:g?.caption})}),a&&P.subItem&&(0,t.jsx)(R,{...I,className:v.item.info,sx:g?.info,children:P.renderInfo}),m&&(0,t.jsx)(z,{...I,icon:"eva:arrow-ios-forward-fill",className:v.item.arrow,sx:g?.arrow})]})}e.s(["navItemStyles",0,x],921026);let y=e=>!["open","active","disabled","variant","sx"].includes(e),w=(0,l.styled)(c.default,{shouldForwardProp:y})(({active:e,open:t,theme:r})=>({width:"100%",color:"var(--nav-item-color)",borderRadius:"var(--nav-item-radius)","&:hover":{backgroundColor:"var(--nav-item-hover-bg)"},variants:[{props:{variant:"rootItem"},style:{textAlign:"center",flexDirection:"column",minHeight:"var(--nav-item-root-height)",padding:"var(--nav-item-root-padding)",...t&&{color:"var(--nav-item-root-open-color)",backgroundColor:"var(--nav-item-root-open-bg)"},...e&&{color:"var(--nav-item-root-active-color)",backgroundColor:"var(--nav-item-root-active-bg)","&:hover":{backgroundColor:"var(--nav-item-root-active-hover-bg)"},...r.applyStyles("dark",{color:"var(--nav-item-root-active-color-on-dark)"})}}},{props:{variant:"subItem"},style:{minHeight:"var(--nav-item-sub-height)",padding:"var(--nav-item-sub-padding)",color:r.vars.palette.text.secondary,...t&&{color:"var(--nav-item-sub-open-color)",backgroundColor:"var(--nav-item-sub-open-bg)"},...e&&{color:"var(--nav-item-sub-active-color)",backgroundColor:"var(--nav-item-sub-active-bg)"}}},{props:{disabled:!0},style:x.disabled}]})),k=(0,l.styled)("span",{shouldForwardProp:y})(()=>({...x.icon,width:"var(--nav-icon-size)",height:"var(--nav-icon-size)",margin:"var(--nav-icon-root-margin)",variants:[{props:{variant:"subItem"},style:{margin:"var(--nav-icon-sub-margin)"}}]})),C=(0,l.styled)("span",{shouldForwardProp:y})(({active:e,theme:t})=>({...x.title(t),lineHeight:"16px",fontSize:t.typography.pxToRem(10),fontWeight:t.typography.fontWeightSemiBold,variants:[{props:{variant:"rootItem"},style:{...e&&{fontWeight:t.typography.fontWeightBold}}},{props:{variant:"subItem"},style:{...t.typography.body2,fontWeight:t.typography.fontWeightMedium,...e&&{fontWeight:t.typography.fontWeightSemiBold}}}]})),j=(0,l.styled)(d.Iconify,{shouldForwardProp:y})(({theme:e})=>({...x.captionIcon,color:"var(--nav-item-caption-color)",variants:[{props:{variant:"rootItem"},style:{top:11,left:6,position:"absolute"}}]})),R=(0,l.styled)("span",{shouldForwardProp:y})(({theme:e})=>({...x.info})),z=(0,l.styled)(d.Iconify,{shouldForwardProp:y})(({theme:e})=>({...x.arrow(e),variants:[{props:{variant:"rootItem"},style:{margin:0,top:11,right:6,position:"absolute"}},{props:{variant:"subItem"},style:{marginRight:e.spacing(-.5)}}]}));var P=e.i(212401);let I=(0,l.styled)(P.default,{shouldForwardProp:e=>!["depth","sx"].includes(e)})(({depth:e,theme:t})=>{let r={top:0,left:0,width:"2px",content:'""',position:"absolute",backgroundColor:"var(--nav-bullet-light-color)",bottom:"calc(var(--nav-item-sub-height) - 2px - var(--nav-bullet-size) / 2)",...t.applyStyles("dark",{backgroundColor:"var(--nav-bullet-dark-color)"})};return{...e&&{...e+1!==1&&{paddingLeft:"calc(var(--nav-item-pl) + var(--nav-icon-size) / 2)",[`& .${v.ul}`]:{position:"relative",paddingLeft:"var(--nav-bullet-size)","&::before":r}}}}});var _=e.i(641044),S=e.i(647650),S=S;let F=(0,l.styled)("div")(({theme:e})=>({minWidth:180,...e.mixins.paperStyles(e,{dropdown:!0})})),N=(0,l.styled)(_.default)(({open:e,theme:t})=>({pointerEvents:"none",[`& .${S.default.paper}`]:{boxShadow:"none",overflow:"unset",backdropFilter:"none",background:"transparent",padding:t.spacing(0,.75),...e&&{pointerEvents:"auto"}}})),L=(0,l.styled)("nav")``,$=(0,l.styled)(e=>(0,t.jsx)("li",{...e,className:(0,r.mergeClasses)([v.li,e.className])}),{shouldForwardProp:e=>!["disabled","sx"].includes(e)})(()=>({display:"inline-block",variants:[{props:{disabled:!0},style:{cursor:"not-allowed"}}]})),A=(0,l.styled)(e=>(0,t.jsx)("ul",{...e,className:(0,r.mergeClasses)([v.ul,e.className])}))(()=>({display:"flex",flexDirection:"column"}));
1var M=e.i(229041),O=e.i(45555);let E=(0,l.styled)(({open:e,children:o,className:a,...i})=>(0,t.jsxs)(M.default,{disableSticky:!0,component:"div",...i,className:(0,r.mergeClasses)([v.subheader,a]),children:[(0,t.jsx)(d.Iconify,{width:16,icon:e?"eva:arrow-ios-downward-fill":"eva:arrow-ios-forward-fill"}),o]}))(({theme:e})=>({...e.typography.overline,cursor:"pointer",alignItems:"center",position:"relative",gap:e.spacing(1),display:"inline-flex",alignSelf:"flex-start",color:"var(--nav-subheader-color)",padding:e.spacing(2,1,1,1.5),fontSize:e.typography.pxToRem(11),transition:e.transitions.create(["color","padding-left"],{duration:e.transitions.duration.standard}),[`& .${O.iconifyClasses.root}`]:{left:-4,opacity:0,position:"absolute",transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.standard})},"&:hover":{paddingLeft:e.spacing(2),color:"var(--nav-subheader-hover-color)",[`& .${O.iconifyClasses.root}`]:{opacity:1}}}));function T({data:e,depth:s,render:l,cssVars:c,slotProps:d,checkPermissions:p,enabledRootRedirect:h}){let u=(0,o.useTheme)(),m=(0,n.usePathname)(),g=e.path||"/",f=(0,r.isActiveLink)(m,g,e.deepMatch??!!e.children),{open:x,onOpen:y,onClose:w,anchorEl:k,elementRef:C}=(0,i.usePopoverHover)(),j="rtl"===u.direction,R=x?`${e.title}-popover`:void 0;(0,a.useEffect)(()=>{x&&w()},[m]);let z=(0,a.useCallback)(()=>{e.children&&y()},[e.children,y]);return e.allowedRoles&&p&&p(e.allowedRoles)?null:(0,t.jsxs)($,{disabled:e.disabled,children:[(0,t.jsx)(b,{ref:C,"aria-describedby":R,path:g,icon:e.icon,info:e.info,title:e.title,caption:e.caption,active:f,open:x,disabled:e.disabled,depth:s,render:l,hasChild:!!e.children,externalLink:(0,r.isExternalLink)(g),enabledRootRedirect:h,slotProps:1===s?d?.rootItem:d?.subItem,onMouseEnter:z,onMouseLeave:w}),!!e.children&&(0,t.jsx)(N,{disableScrollLock:!0,"aria-hidden":!x,id:R,open:x,anchorEl:k,anchorOrigin:{vertical:"center",horizontal:j?"left":"right"},transformOrigin:{vertical:"center",horizontal:j?"right":"left"},slotProps:{paper:{onMouseEnter:z,onMouseLeave:w,className:v.dropdown.root}},sx:{...c},children:(0,t.jsx)(F,{className:v.dropdown.paper,sx:d?.dropdown?.paper,children:(0,t.jsx)(W,{data:e.children,depth:s,render:l,cssVars:c,slotProps:d,checkPermissions:p,enabledRootRedirect:h})})})]})}function W({data:e,render:r,cssVars:o,depth:a=0,slotProps:i,checkPermissions:n,enabledRootRedirect:s}){return(0,t.jsx)(A,{sx:{gap:.5},children:e.map(e=>(0,t.jsx)(T,{data:e,render:r,depth:a+1,cssVars:o,slotProps:i,checkPermissions:n,enabledRootRedirect:s},e.title))})}function D({sx:e,data:a,render:i,className:n,slotProps:s,checkPermissions:l,enabledRootRedirect:c,cssVars:d,...p}){let h=(0,o.useTheme)(),u={...f.mini(h),...d};return(0,t.jsx)(L,{className:(0,r.mergeClasses)([v.mini,n]),sx:[{...u},...Array.isArray(e)?e:[e]],...p,children:(0,t.jsx)(A,{sx:{flex:"1 1 auto",gap:"var(--nav-item-gap)"},children:a.map(e=>(0,t.jsx)(H,{render:i,cssVars:u,items:e.items,slotProps:s,checkPermissions:l,enabledRootRedirect:c},e.subheader??e.items[0].title))})})}function H({items:e,render:r,cssVars:o,slotProps:a,checkPermissions:i,enabledRootRedirect:n}){return(0,t.jsx)($,{children:(0,t.jsx)(A,{sx:{gap:"var(--nav-item-gap)"},children:e.map(e=>(0,t.jsx)(T,{depth:1,data:e,render:r,cssVars:o,slotProps:a,checkPermissions:i,enabledRootRedirect:n},e.title))})})}function B({path:e,icon:o,info:a,title:i,caption:n,open:l,active:c,disabled:d,depth:p,render:u,hasChild:m,slotProps:g,className:f,externalLink:x,enabledRootRedirect:b,...y}){let w=h({path:e,icon:o,info:a,depth:p,render:u,hasChild:m,externalLink:x,enabledRootRedirect:b}),k={open:l,active:c,disabled:d,variant:w.rootItem?"rootItem":"subItem"};return(0,t.jsxs)(U,{"aria-label":i,...k,...w.baseProps,className:(0,r.mergeClasses)([v.item.root,f],{[v.state.open]:l,[v.state.active]:c,[v.state.disabled]:d}),sx:g?.sx,...y,children:[o&&(0,t.jsx)(X,{...k,className:v.item.icon,sx:g?.icon,children:w.renderIcon}),i&&(0,t.jsxs)(Y,{...k,className:v.item.texts,sx:g?.texts,children:[(0,t.jsx)(q,{...k,className:v.item.title,sx:g?.title,children:i}),n&&(0,t.jsx)(s.default,{title:n,placement:"top-start",children:(0,t.jsx)(G,{...k,className:v.item.caption,sx:g?.caption,children:n})})]}),a&&(0,t.jsx)(K,{...k,className:v.item.info,sx:g?.info,children:w.renderInfo}),m&&(0,t.jsx)(J,{...k,icon:l?"eva:arrow-ios-downward-fill":"eva:arrow-ios-forward-fill",className:v.item.arrow,sx:g?.arrow})]})}e.s(["NavSectionMini",()=>D],586800);let V=e=>!["open","active","disabled","variant","sx"].includes(e),U=(0,l.styled)(c.default,{shouldForwardProp:V})(({active:e,open:t,theme:r})=>{let o="\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' viewBox='0 0 14 14'%3E%3Cpath d='M1 1v4a8 8 0 0 0 8 8h4' stroke='%23efefef' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E\"",a={left:0,content:'""',position:"absolute",width:"var(--nav-bullet-size)",height:"var(--nav-bullet-size)",backgroundColor:"var(--nav-bullet-light-color)",mask:`url(${o}) no-repeat 50% 50%/100% auto`,WebkitMask:`url(${o}) no-repeat 50% 50%/100% auto`,transform:"rtl"===r.direction?"translate(calc(var(--nav-bullet-size) * 1), calc(var(--nav-bullet-size) * -0.4)) scaleX(-1)":"translate(calc(var(--nav-bullet-size) * -1), calc(var(--nav-bullet-size) * -0.4))",...r.applyStyles("dark",{backgroundColor:"var(--nav-bullet-dark-color)"})};return{width:"100%",paddingTop:"var(--nav-item-pt)",paddingLeft:"var(--nav-item-pl)",paddingRight:"var(--nav-item-pr)",paddingBottom:"var(--nav-item-pb)",borderRadius:"var(--nav-item-radius)",color:"var(--nav-item-color)","&:hover":{backgroundColor:"var(--nav-item-hover-bg)"},variants:[{props:{variant:"rootItem"},style:{minHeight:"var(--nav-item-root-height)",...t&&{color:"var(--nav-item-root-open-color)",backgroundColor:"var(--nav-item-root-open-bg)"},...e&&{color:"var(--nav-item-root-active-color)",backgroundColor:"var(--nav-item-root-active-bg)","&:hover":{backgroundColor:"var(--nav-item-root-active-hover-bg)"},...r.applyStyles("dark",{color:"var(--nav-item-root-active-color-on-dark)"})}}},{props:{variant:"subItem"},style:{minHeight:"var(--nav-item-sub-height)","&::before":a,...t&&{color:"var(--nav-item-sub-open-color)",backgroundColor:"var(--nav-item-sub-open-bg)"},...e&&{color:"var(--nav-item-sub-active-color)",backgroundColor:"var(--nav-item-sub-active-bg)"}}},{props:{disabled:!0},style:x.disabled}]}}),X=(0,l.styled)("span",{shouldForwardProp:V})(()=>({...x.icon,width:"var(--nav-icon-size)",height:"var(--nav-icon-size)",margin:"var(--nav-icon-margin)"})),Y=(0,l.styled)("span",{shouldForwardProp:V})(()=>({...x.texts})),q=(0,l.styled)("span",{shouldForwardProp:V})(({theme:e})=>({...x.title(e),...e.typography.body2,fontWeight:e.typography.fontWeightMedium,variants:[{props:{active:!0},style:{fontWeight:e.typography.fontWeightSemiBold}}]})),G=(0,l.styled)("span",{shouldForwardProp:V})(({theme:e})=>({...x.captionText(e),color:"var(--nav-item-caption-color)"})),K=(0,l.styled)("span",{shouldForwardProp:V})(({theme:e})=>({...x.info})),J=(0,l.styled)(d.Iconify,{shouldForwardProp:V})(({theme:e})=>({...x.arrow(e)}));function Q({data:e,depth:o,render:s,slotProps:l,checkPermissions:c,enabledRo
1otRedirect:d}){let p=(0,n.usePathname)(),h=(0,a.useRef)(null),u=e.path||"/",m=(0,r.isActiveLink)(p,u,e.deepMatch??!!e.children),{value:g,onFalse:f,onToggle:x}=(0,i.useBoolean)(m);(0,a.useEffect)(()=>{m||f()},[p]);let b=(0,a.useCallback)(()=>{e.children&&x()},[e.children,x]);return e.allowedRoles&&c&&c(e.allowedRoles)?null:(0,t.jsxs)($,{disabled:e.disabled,sx:{...!!e.children&&{[`& .${v.li}`]:{"&:first-of-type":{mt:"var(--nav-item-gap)"}}}},children:[(0,t.jsx)(B,{ref:h,path:u,icon:e.icon,info:e.info,title:e.title,caption:e.caption,open:g,active:m,disabled:e.disabled,depth:o,render:s,hasChild:!!e.children,externalLink:(0,r.isExternalLink)(u),enabledRootRedirect:d,slotProps:1===o?l?.rootItem:l?.subItem,onClick:b}),!!e.children&&(0,t.jsx)(I,{mountOnEnter:!0,unmountOnExit:!0,depth:o,in:g,"data-group":e.title,children:(0,t.jsx)(Z,{data:e.children,render:s,depth:o,slotProps:l,checkPermissions:c,enabledRootRedirect:d})})]})}function Z({data:e,render:r,depth:o=0,slotProps:a,checkPermissions:i,enabledRootRedirect:n}){return(0,t.jsx)(A,{sx:{gap:"var(--nav-item-gap)"},children:e.map(e=>(0,t.jsx)(Q,{data:e,render:r,depth:o+1,slotProps:a,checkPermissions:i,enabledRootRedirect:n},e.title))})}function ee({sx:e,data:a,render:i,className:n,slotProps:s,checkPermissions:l,enabledRootRedirect:c,cssVars:d,...p}){let h=(0,o.useTheme)(),u={...f.vertical(h),...d};return(0,t.jsx)(L,{className:(0,r.mergeClasses)([v.vertical,n]),sx:[{...u},...Array.isArray(e)?e:[e]],...p,children:(0,t.jsx)(A,{sx:{flex:"1 1 auto",gap:"var(--nav-item-gap)"},children:a.map(e=>(0,t.jsx)(et,{subheader:e.subheader,items:e.items,render:i,slotProps:s,checkPermissions:l,enabledRootRedirect:c},e.subheader??e.items[0].title))})})}function et({items:e,render:r,subheader:o,slotProps:a,checkPermissions:n,enabledRootRedirect:s}){let l=(0,i.useBoolean)(!0),c=()=>(0,t.jsx)(A,{sx:{gap:"var(--nav-item-gap)"},children:e.map(e=>(0,t.jsx)(Q,{data:e,render:r,depth:1,slotProps:a,checkPermissions:n,enabledRootRedirect:s},e.title))});return(0,t.jsx)($,{children:o?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(E,{"data-title":o,open:l.value,onClick:l.onToggle,sx:a?.subheader,children:o}),(0,t.jsx)(P.default,{in:l.value,children:c()})]}):c()})}e.s(["NavSectionVertical",()=>ee],58128);var S=S;function er({path:e,icon:o,info:a,title:i,caption:n,open:l,active:c,disabled:d,depth:p,render:u,hasChild:m,slotProps:g,className:f,externalLink:x,enabledRootRedirect:b,...y}){let w=h({path:e,icon:o,info:a,depth:p,render:u,hasChild:m,externalLink:x,enabledRootRedirect:b}),k={open:l,active:c,disabled:d,variant:w.rootItem?"rootItem":"subItem"};return(0,t.jsxs)(ea,{"aria-label":i,...k,...w.baseProps,className:(0,r.mergeClasses)([v.item.root,f],{[v.state.open]:l,[v.state.active]:c,[v.state.disabled]:d}),sx:g?.sx,...y,children:[o&&(0,t.jsx)(ei,{...k,className:v.item.icon,sx:g?.icon,children:w.renderIcon}),i&&(0,t.jsx)(en,{...k,className:v.item.title,sx:g?.title,children:i}),n&&(0,t.jsx)(s.default,{title:n,arrow:!0,children:(0,t.jsx)(es,{...k,icon:"eva:info-outline",className:v.item.caption,sx:g?.caption})}),a&&(0,t.jsx)(el,{...k,className:v.item.info,sx:g?.info,children:w.renderInfo}),m&&(0,t.jsx)(ec,{...k,icon:w.subItem?"eva:arrow-ios-forward-fill":"eva:arrow-ios-downward-fill",className:v.item.arrow,sx:g?.arrow})]})}let eo=e=>!["open","active","disabled","variant","sx"].includes(e),ea=(0,l.styled)(c.default,{shouldForwardProp:eo})(({active:e,open:t,theme:r})=>({width:"100%",flexShrink:0,color:"var(--nav-item-color)",borderRadius:"var(--nav-item-radius)","&:hover":{backgroundColor:"var(--nav-item-hover-bg)"},variants:[{props:{variant:"rootItem"},style:{padding:"var(--nav-item-root-padding)",minHeight:"var(--nav-item-root-height)",...t&&{color:"var(--nav-item-root-open-color)",backgroundColor:"var(--nav-item-root-open-bg)"},...e&&{color:"var(--nav-item-root-active-color)",backgroundColor:"var(--nav-item-root-active-bg)","&:hover":{backgroundColor:"var(--nav-item-root-active-hover-bg)"},...r.applyStyles("dark",{color:"var(--nav-item-root-active-color-on-dark)"})}}},{props:{variant:"subItem"},style:{padding:"var(--nav-item-sub-padding)",minHeight:"var(--nav-item-sub-height)",color:r.vars.palette.text.secondary,...t&&{color:"var(--nav-item-sub-open-color)",backgroundColor:"var(--nav-item-sub-open-bg)"},...e&&{color:"var(--nav-item-sub-active-color)",backgroundColor:"var(--nav-item-sub-active-bg)"}}},{props:{disabled:!0},style:x.disabled}]})),ei=(0,l.styled)("span",{shouldForwardProp:eo})(()=>({...x.icon,width:"var(--nav-icon-size)",height:"var(--nav-icon-size)",margin:"var(--nav-icon-root-margin)",variants:[{props:{variant:"subItem"},style:{margin:"var(--nav-icon-sub-margin)"}}]})),en=(0,l.styled)("span",{shouldForwardProp:eo})(({theme:e})=>({...x.title(e),...e.typography.body2,whiteSpace:"nowrap",fontWeight:e.typography.fontWeightMedium,variants:[{props:{active:!0},style:{fontWeight:e.typography.fontWeightSemiBold}}]})),es=(0,l.styled)(d.Iconify,{shouldForwardProp:eo})(({theme:e})=>({...x.captionIcon,color:"var(--nav-item-caption-color)",variants:[{props:{variant:"rootItem"},style:{marginLeft:e.spacing(.75)}}]})),el=(0,l.styled)("span",{shouldForwardProp:eo})(({theme:e})=>({...x.info})),ec=(0,l.styled)(d.Iconify,{shouldForwardProp:eo})(({theme:e})=>({...x.arrow(e),variants:[{props:{variant:"subItem"},style:{marginRight:e.spacing(-.5)}}]}));function ed({data:e,depth:s,render:l,cssVars:c,slotProps:d,checkPermissions:p,enabledRo
1otRedirect:h}){let u=(0,o.useTheme)(),m=(0,n.usePathname)(),g=e.path||"/",f=(0,r.isActiveLink)(m,g,e.deepMatch??!!e.children),{open:x,onOpen:b,onClose:y,anchorEl:w,elementRef:k}=(0,i.usePopoverHover)(),C="rtl"===u.direction,j=x?`${e.title}-popover`:void 0;(0,a.useEffect)(()=>{x&&y()},[m]);let R=(0,a.useCallback)(()=>{e.children&&b()},[e.children,b]);return e.allowedRoles&&p&&p(e.allowedRoles)?null:(0,t.jsxs)($,{disabled:e.disabled,children:[(0,t.jsx)(er,{ref:k,"aria-describedby":j,title:e.title,path:g,icon:e.icon,info:e.info,caption:e.caption,active:f,open:x,disabled:e.disabled,depth:s,render:l,hasChild:!!e.children,externalLink:(0,r.isExternalLink)(g),enabledRootRedirect:h,slotProps:1===s?d?.rootItem:d?.subItem,onMouseEnter:R,onMouseLeave:y}),!!e.children&&(0,t.jsx)(N,{disableScrollLock:!0,"aria-hidden":!x,id:j,open:x,anchorEl:w,anchorOrigin:1===s?{vertical:"bottom",horizontal:C?"right":"left"}:{vertical:"center",horizontal:C?"left":"right"},transformOrigin:1===s?{vertical:"top",horizontal:C?"right":"left"}:{vertical:"center",horizontal:C?"right":"left"},slotProps:{paper:{onMouseEnter:R,onMouseLeave:y,className:v.dropdown.root}},sx:{...c,[`& .${S.default.paper}`]:{...1===s&&{pt:1,ml:-.75}}},children:(0,t.jsx)(F,{className:v.dropdown.paper,sx:d?.dropdown?.paper,children:(0,t.jsx)(ep,{data:e.children,depth:s,render:l,cssVars:c,slotProps:d,checkPermissions:p,enabledRootRedirect:h})})})]})}function ep({data:e,render:r,cssVars:o,depth:a=0,slotProps:i,checkPermissions:n,enabledRootRedirect:s}){return(0,t.jsx)(A,{sx:{gap:.5},children:e.map(e=>(0,t.jsx)(ed,{data:e,render:r,depth:a+1,cssVars:o,slotProps:i,checkPermissions:n,enabledRootRedirect:s},e.title))})}e.i(463740);var eh=e.i(508714);function eu({sx:e,data:a,render:i,className:n,slotProps:s,checkPermissions:l,enabledRootRedirect:c,cssVars:d,...p}){let h=(0,o.useTheme)(),u={...f.horizontal(h),...d};return(0,t.jsx)(eh.Scrollbar,{sx:{height:1},slotProps:{contentSx:{height:1,display:"flex",alignItems:"center"}},children:(0,t.jsx)(L,{className:(0,r.mergeClasses)([v.horizontal,n]),sx:[()=>({...u,height:1,mx:"auto",display:"flex",alignItems:"center",minHeight:"var(--nav-height)"}),...Array.isArray(e)?e:[e]],...p,children:(0,t.jsx)(A,{sx:{flexDirection:"row",gap:"var(--nav-item-gap)"},children:a.map(e=>(0,t.jsx)(ev,{render:i,cssVars:u,items:e.items,slotProps:s,checkPermissions:l,enabledRootRedirect:c},e.subheader??e.items[0].title))})})})}function ev({items:e,render:r,cssVars:o,slotProps:a,checkPermissions:i,enabledRootRedirect:n}){return(0,t.jsx)($,{children:(0,t.jsx)(A,{sx:{flexDirection:"row",gap:"var(--nav-item-gap)"},children:e.map(e=>(0,t.jsx)(ed,{depth:1,data:e,render:r,cssVars:o,slotProps:a,checkPermissions:i,enabledRootRedirect:n},e.title))})})}e.s(["NavSectionHorizontal",()=>eu],707957),e.s([],693981);var em=e.i(443090);function eg({sx:e,...r}){return(0,t.jsx)(em.default,{sx:e,...r,children:(0,t.jsx)(d.Iconify,{icon:"custom:menu-duotone",width:24})})}e.s(["MenuButton",()=>eg],888770);var ef=e.i(819646),ex=e.i(683240),eb=e.i(836773),ey=e.i(481918),ew=e.i(828642),ek=e.i(126863),eC=e.i(961974),ej=e.i(337563),eR=e.i(410749);e.i(932966);var ez=e.i(114282);e.i(190118);var eP=e.i(33334);e.i(924079);var eI=e.i(846696);e.i(997978);var e_=e.i(23849);e.i(243303);var eS=e.i(511111);e.i(235620);var eF=e.i(207445),eN=e.i(689788);let eL=["username","email","displayName","display_name","name","nickname"];function e$(e,t){for(let t of eL){let r=function(e,t){let r=e?.[t];return"string"!=typeof r?"":r.trim()}(e,t);if(r)return r}return t}function eA({data:e=[],sx:r,...a}){let n=(0,o.useTheme)(),s=(0,eC.default)(n.breakpoints.down("sm")),{open:l,anchorEl:c,onClose:h,onOpen:u}=(0,i.usePopover)(),{user:v,checkUserSession:m}=(0,eF.useAuthContext)(),{t:g}=(0,ez.useTranslate)("dashboard"),{mode:f,setMode:x,colorScheme:b}=(0,ej.useColorScheme)(),y=g("nav.account.unknown"),w=e$(v,y),k=e$(v,y).charAt(0).toUpperCase(),C=(f??b)==="dark",j={px:1.25,py:1,width:1,display:"flex",alignItems:"center",borderRadius:1.25,textDecoration:"none",typography:"body2",color:"text.secondary",transition:e=>e.transitions.create(["background-color","color"],{duration:e.transitions.duration.shorter}),"& svg":{width:18,height:18},"&:hover":{color:"text.primary",bgcolor:"action.hover"},"&.Mui-focusVisible":{bgcolor:"transparent"}},R=async()=>{try{await (0,eN.signOut)(),await m?.(),h(),window.location.reload()}
1catch(e){console.error(e),eI.toast.error(g("nav.account.logoutFailed"))}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(em.default,{onClick:u,"aria-label":g("nav.account.menu"),sx:[{minWidth:0,maxWidth:{xs:44,sm:"none"},px:{xs:.75,sm:1},py:.5,borderRadius:2,bgcolor:"action.hover","&:hover":{bgcolor:"action.selected"}},...Array.isArray(r)?r:[r]],...a,children:[(0,t.jsx)(ex.default,{src:v?.photoURL,alt:w,sx:{width:28,height:28},children:k}),(0,t.jsx)(ek.default,{variant:"body2",noWrap:!0,title:w,sx:{display:{xs:"none",sm:"block"},ml:1,mr:.25,maxWidth:160,color:"text.primary"},children:w}),(0,t.jsx)(d.Iconify,{icon:"eva:arrow-ios-downward-fill",width:14,sx:{display:{xs:"none",sm:"inline-flex"}}})]}),(0,t.jsx)(e_.CustomPopover,{open:l,anchorEl:c,onClose:h,slotProps:{paper:{sx:{p:.75,mt:1,width:220,borderRadius:2,border:e=>`1px solid ${e.vars.palette.divider}`,boxShadow:e=>e.vars.customShadows.dropdown}}},children:(0,t.jsxs)(ey.default,{sx:{p:0,"& li":{p:0}},children:[e.filter(e=>!!e?.href).map(e=>(0,t.jsxs)(ew.default,{component:p.RouterLink,href:e.href||eR.paths.dashboard.root,target:e.target,rel:e.rel,onClick:h,sx:j,children:[e.icon,(0,t.jsx)(ef.default,{component:"span",sx:{ml:1.5},children:e.label}),e.info&&(0,t.jsx)(eP.Label,{color:"error",sx:{ml:"auto"},children:e.info})]},e.key??e.label)),s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eb.default,{sx:{my:.5}}),(0,t.jsxs)(ew.default,{component:"button",type:"button",onClick:()=>{x(C?"light":"dark"),h()},sx:j,children:[(0,t.jsx)(eS.ThemeModeIcon,{mode:C?"light":"dark",sx:{fontSize:18}}),(0,t.jsx)(ef.default,{component:"span",sx:{ml:1.5},children:g(C?"nav.account.switchToLight":"nav.account.switchToDark")})]})]}),(0,t.jsx)(eb.default,{sx:{my:.5}}),(0,t.jsxs)(ew.default,{component:"button",type:"button",onClick:R,sx:[j,{color:"error.main",border:0,bgcolor:"transparent",cursor:"pointer",textAlign:"left","&:hover":{bgcolor:"error.lighter",color:"error.dark"}}],children:[(0,t.jsx)(d.Iconify,{icon:"solar:forward-bold",width:18}),(0,t.jsx)(ef.default,{component:"span",sx:{ml:1.5},children:g("nav.account.logout")})]})]})})]})}e.s(["AccountPopover",()=>eA],757396);var eM=e.i(824511);e.i(43327);var eO=e.i(892118);e.i(317050);var eE=e.i(503843);function eT({data:e=[],sx:r,...o}){let{open:n,anchorEl:s,onClose:l,onOpen:c}=(0,i.usePopover)(),{onChangeLang:d,currentLang:p}=(0,ez.useTranslate)(),h=(0,a.useCallback)(e=>{d(e),l()},[d,l]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(em.default,{component:eM.m.button,whileTap:(0,eE.varTap)(.96),whileHover:(0,eE.varHover)(1.04),transition:(0,eE.transitionTap)(),"aria-label":"Languages button",onClick:c,sx:[e=>({p:0,width:40,height:40,...n&&{bgcolor:e.vars.palette.action.selected}}),...Array.isArray(r)?r:[r]],...o,children:(0,t.jsx)(eO.FlagIcon,{code:p.countryCode})}),(0,t.jsx)(e_.CustomPopover,{open:n,anchorEl:s,onClose:l,children:(0,t.jsx)(ey.default,{sx:{width:160,minHeight:72},children:e?.map(e=>(0,t.jsxs)(ew.default,{selected:e.value===p.value,onClick:()=>h(e.value),children:[(0,t.jsx)(eO.FlagIcon,{code:e.countryCode}),e.label]},e.value))})})]})}e.s(["LanguagePopover",()=>eT],819300)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.