import{j as a}from"./client-By3tlFYA.js";import{c as d}from"./index-DkCxcZFY.js";import{a as m,av as c,a5 as f,bD as h,u as j,bE as g,h as p,bF as x}from"./useSelectableClick-C6FBaLSu.js";import{a9 as u}from"./status_quoted-DN_a2ko9.js";import{u as F,r as v,m as _}from"./index-TEHZzOO_.js";const D=({className:s,accountId:t,showDropdown:i=!1})=>{const n=u({hashtagAccountId:i?t:void 0}),e=m(r=>{const o=r.accounts.get(t);return o?o.note_emojified:""}),l=m(r=>{const o=r.accounts.get(t);return o==null?void 0:o.emojis});return e.length===0?null:a.jsx(c,{htmlString:e,extraEmojis:l,className:d(s,"translate"),...n})},H=({fields:s,emojis:t})=>{const i=F(),n=u();return s.size===0?null:a.jsx(a.Fragment,{children:s.map((e,l)=>{var r;return a.jsxs("dl",{className:d({verified:e.verified_at}),children:[a.jsx(c,{as:"dt",htmlString:e.name_emojified,extraEmojis:t,className:"translate",...n}),a.jsxs("dd",{className:"translate",title:(r=e.value_plain)!=null?r:"",children:[e.verified_at&&a.jsx("span",{title:i.formatMessage({id:"account.link_verified_on",defaultMessage:"Ownership of this link was checked on {date}"},{date:i.formatDate(e.verified_at,E)}),children:a.jsx(f,{id:"check",icon:h,className:"verified__mark"})})," ",a.jsx(c,{as:"span",htmlString:e.value_emojified,extraEmojis:t,...n})]})]},l)})})},E={month:"short",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit"},b=({accountId:s})=>{const t=j(),i=m(l=>s?g(l,s):null),{signedIn:n}=p(),e=i===null;return v.useEffect(()=>{e&&n&&s&&s!==_&&t(x({id:s}))},[t,s,e,n]),{familiarFollowers:e?[]:i,isLoading:e}};export{D as A,H as a,b as u};
//# sourceMappingURL=familiar_followers-BK2kEwku.js.map
