Module 193663

1,420 characters · in 381faf2c40dd0284.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>m});var l=n(627968),i=n(64700),s=n(503698),r=n.n(s),a=n(936504),o=n(187322),c=n(939249),u=n(88686),d=n(174755),h=n(352139);let m=function(e){let{ref:t,avatar:n,name:s,nameplate:m,children:p,subText:f,decorators:g,onClick:x,hovered:A,selected:C,muted:E,to:I,avatarClassName:y,selectedClassName:S,innerClassName:v,wrapContent:N,highlighted:_,focusProps:T,...j}=e;j.className=r()(j.className,h.kL,{[h.wH]:C,[h.mr]:_,[S??""]:C,[h.vk]:!C&&(null!=I||null!=x)}),j["aria-selected"]=j["aria-selected"]??C;let b=i.useRef(null),R=(0,l.jsxs)("div",{className:r()(h.sn,{[h.EY]:null!=m}),children:[(0,l.jsx)(d.A,{nameplate:m,hovered:A,selected:C,content:b,placement:u.u.MEMBER_LIST}),(0,l.jsxs)("div",{ref:b,className:r()(v,h.Zp,{[h.SU]:!C&&E,[h.Ib]:N}),children:[(0,l.jsx)("div",{className:r()(h.my,y),children:n}),(0,l.jsxs)("div",{className:h.Qs,children:[(0,l.jsxs)("div",{className:h.BG,children:[(0,l.jsx)("div",{className:r()(h.UU,{[h.to]:N}),children:s}),g]}),null!=f?(0,l.jsx)("div",{className:h.Sv,children:f}):null]}),null!=p?(0,l.jsx)("div",{className:h.Y_,children:p}):null]})]});return null!=I?(0,l.jsx)(o.vN,{...T,children:(0,l.jsx)(a.N_,{to:I,onClick:x,...j,role:"listitem",ref:t,children:R})}):null!=x?(0,l.jsx)(c.D,{onClick:x,focusProps:T,...j,role:"listitem",innerRef:t,children:R}):(0,l.jsx)(o.vN,{...T,children:(0,l.jsx)("div",{...j,role:"listitem",ref:t,children:R})})}}