import{useCurrentProfile as a}from"@baseapp-frontend/authentication";import{AvatarWithPlaceholder as u}from"@baseapp-frontend/design-system/components/web/avatars";import{Box as l,Typography as i}from"@mui/material";import{jsx as o,jsxs as t}from"react/jsx-runtime";var f=function(){var e,n=a(),r=n.currentProfile;return r?t(l,{sx:{m:1.5,mb:0,px:1,py:.75,gap:1.5},display:"flex",alignItems:"center",children:[o(u,{width:40,height:40,src:(e=r?.image)!==null&&e!==void 0?e:"",alt:"Current profile avatar",color:"secondary"}),t(l,{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",children:[o(i,{component:"p",variant:"subtitle2",noWrap:!0,children:r.name}),r?.urlPath&&o(i,{variant:"body2",sx:{color:"text.secondary"},noWrap:!0,children:r.urlPath})]})]}):null},x=f;export{x as a};
//# sourceMappingURL=chunk-SXU3PXPJ.mjs.map