import{__assign as t}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as e,jsx as o}from"react/jsx-runtime";import r from"lodash/get";import{makeStyles as a,Typography as n}from"@material-ui/core";import{FEED_ITEM_TYPES_BY_KEY as i}from"../../../constants/feed.js";var m=a((function(t){return{dateTimestamp:{color:t.palette.primary.text6,"& span":{color:t.palette.primary.contrastText}}}}));function p(a){var p,l=a.feedItem,s=m(),c=l.segment,d=l.context,u=l.type,f=c.includes("completion"),x=null===(p=d.app_annotation)||void 0===p?void 0:p.completionDate,v=u===r(i,"app_annotation.type");return f&&x&&v?e(n,t({className:s.dateTimestamp},{children:["Time: ",o("span",{children:x})]})):null}export{p as default};
