Loading
function(t,e,l){var n=l(582128),i=l(855986),r=l(287809),a=l(403362);let u=[];l.d(e,{},{A:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,l=(0,i.yK)([r.default],()=>{let e=t.participants.map(t=>r.default.getUser(t)).filter(a.Vq),l=e.find(e=>e.id===t.author_id),n=e.filter(e=>e.id!==t.author_id);return null==l?u:[...n,l]},[t]),d=n.useMemo(()=>l.slice(-e),[e,l]),s=d[d.length-1],h=d[d.length-2],c=Math.max(l.length-1,0);return{orderedParticipants:l,displayParticipants:d,participant1:s,participant2:h,numOtherParticipants:c}}})}