Loading
function(e,n,l){l.d(n,{A:()=>x}),l(321073);var t=l(777480),i=l(107563),s=l(994500),a=l(622543),r=l(570287),o=l(646444),d=l(913453),c=l(667049),u=l(837531),m=l(186272),p=l(518477),A=l(985018);function x(e){let{user:n,currentUser:l}=e,{mutualFriendsCount:x,mutualGuilds:g}=(0,d.A)(n),f=g?.length,h=(0,o.A)(n),v=(0,c.A)(n.id),j=(0,r.A)(n.id),I=[],N=n.id===l?.id,y=a.A.getFirstWishlistId(n.id),C=null!=y,b=C?a.A.getWishlistSettings(n.id,y):null,E=(C?i.A.getWishlistItems(y):[]).length>0,T=v.length>0;(N||T)&&I.push({text:A.intl.string(A.t.laViwx),section:p.RP.WIDGETS}),I.push({text:A.intl.string(A.t.chq59f),section:p.RP.ACTIVITY});let P=!1===n.nsfwAllowed,_=s.A.isFriend(n.id),R=b?.visibility===t.a.PUBLIC;return(N||!N&&E&&R&&j&&(!P||P&&_))&&I.push({text:A.intl.string(A.t["7lZ31J"]),section:p.RP.WISHLIST}),n.id!==l?.id&&h&&(I.push({text:(0,u.A)(x),section:p.RP.MUTUAL_FRIENDS}),I.push({text:(0,m.A)(f),section:p.RP.MUTUAL_GUILDS})),I}}