1import{r as n,j as o}from"./vendor-wagmi-CRHMQcRy.js";import{K as m,C as u}from"./index-CjDX1y09.js";import{M as x}from"./ManageChannelUserDropdown-CMH0WxEQ.js";import{B as l}from"./BaseUserListItem-C0xGtBNO.js";import{u as p}from"./useUserChannelRole-D0qYbPi3.js";function g({channelKey:s,channelUser:r,Action:e,skipSeperator:a}){const t=p(s),i=n.useMemo(()=>{if(e!==void 0)return e;if(t==="owner"||t==="moderator")return o.jsx(x,{channelKey:s,channelUser:r,children:o.jsx("div",{className:"flex-none",children:o.jsx(m,{size:24,className:"text-muted hover:brightness-110"})})})},[e,s,r,t]);return o.jsx(l,{user:r.user,withDetailsPopover:!0,Badge:o.jsx(u,{relation:r.relation}),Action:i,skipSeperator:a})}export{g as C};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.