Module 875922

748 characters · in 30a277b9d32d70b1.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>A});var i=n(627968),l=n(64700),a=n(397927),r=n(308528),s=n(58149),o=n(231608),d=n(954571),c=n(652215),u=n(985018);function A(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{priorityMembers:n,partiedMembers:A}=e,h=l.useContext(d.AnalyticsContext),_=n.map(e=>{let{user:t}=e;return t.id}),m=1===A.length&&1===n.length,g=n.length-A.length>0;return(m||t)&&!g&&0!==_.length?(0,i.jsx)(a.Drp,{id:"message",action:function(){r.A.openPrivateChannel({recipientIds:_}).then(t=>s.Ay.trackWithMetadata(c.HAw.ACTIVITY_FEED_DM_VISITED,{source:{...h.location,object:c.ZSU.LIST_ITEM},channel_id:t,recipient_id:"string"==typeof _?_:_[0],af_recently_played:!1,...(0,o.o)(e)}))},label:u.intl.string(u.t["g33r/P"])}):null}}