"use strict";var e=require("@material-ui/core"),t=require("../../../constants/feed.js"),r=require("react/jsx-runtime"),o=[t.FEED_ITEM_TYPES_BY_KEY.post.type,t.FEED_ITEM_TYPES_BY_KEY.app_annotation.type,t.FEED_ITEM_TYPES_BY_KEY.geosteering_comments.type,t.FEED_ITEM_TYPES.TRACES_MEMO,t.FEED_ITEM_TYPES.DEPTH_COMMENTS],a=e.makeStyles((function(e){return{assetRoot:{color:e.palette.grey[400],whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",marginRight:4,fontWeight:700,letterSpacing:.25},postTitle:{color:"#fff"}}}));module.exports=function(t){var s=t.feedItem,i=t.userFullName,E=t.typeLabel,n=a(),l=o.includes(s.type)?i:E;return r.jsx(e.Typography,{variant:"body2",className:n.assetRoot,children:r.jsx("span",{"data-testid":"".concat("FeedPo","_postTitle"),className:n.postTitle,children:l})})};
//# sourceMappingURL=TypeAndAssetTitle.js.map
