import{jsx as t}from"react/jsx-runtime";import{makeStyles as e,Tooltip as i,IconButton as o,Badge as r}from"@material-ui/core";import{AvatarComponent as a}from"../../Avatar/index.js";import{BadgeIcon as l}from"../../../componentsV2/BadgeComment/BadgeIcon.js";import{isNativeDetected as m,isMobileDetected as p}from"../../../utils/mobileDetect.js";var n=m||p,s=e((function(t){return{icon:{padding:0,"&:hover":{"& .MuiBadge-root .MuiBadge-badge svg path":{"&:first-of-type":{fill:t.palette.primary.light}},"& .MuiAvatar-root":{outline:"1px solid ".concat(t.palette.primary.light)}},marginTop:4},badge:{top:2,right:6,"&:hover":{"& svg path":{"&:first-of-type":{fill:t.palette.primary.light}}}},tooltip:{marginTop:8}}})),d=function(e){var m=e.displayName,p=void 0===m?"":m,d=e.imgSrc,c=e.size,g=void 0===c?24:c,f=s();return t(i,{title:!n&&"Add Comment",placement:"bottom",classes:{tooltip:f.tooltip},children:t(o,{classes:{root:f.icon},children:t(r,{classes:{badge:f.badge},badgeContent:t(l,{}),children:t(a,{displayName:p,size:g,imgSrc:d})})})})};export{d as default};
//# sourceMappingURL=index.js.map
