import{a as d}from"./chunk-JVDS5UXJ.mjs";import{Box as g,Typography as u,useTheme as x}from"@mui/material";import{jsx as i}from"react/jsx-runtime";var f={"comments.add_comment":"Created a comment","comments.change_comment":"Edited a comment","comments.delete_comment":"Deleted a comment","comments.reply_comment":"Replied to a comment","comments.pin_comment":"Pinned a comment","baseapp_reactions.add_reaction":"Added a reaction"},_=function(m){var n,e,t=m.log,s=m.sx,r=x();if(!(t!=null&&t.verb))return null;var c=function(o,l){var a;return l?d(o,l):(a=f[o])!==null&&a!==void 0?a:o},p=(n=(e=t.events)===null||e===void 0||(e=e.edges)===null||e===void 0||(e=e[0])===null||e===void 0||(e=e.node)===null||e===void 0?void 0:e.diff)!==null&&n!==void 0?n:null,v=c(t.verb,p);return i(g,{sx:s,display:"flex",alignItems:"center",borderLeft:"1px solid ".concat(r.palette.text.disabled),marginLeft:"20px",children:i(u,{ml:"30px",lineHeight:"22px",color:r.palette.text.secondary,variant:"body2",children:v})})},M=_;export{M as a};
//# sourceMappingURL=chunk-KUQQDALL.mjs.map