1import{b as w,a as u,w as y,c as i,z as s,g as n,h as t,j as m,s as b,C as p,T as B,l as C}from"./BI8qgwQJ.js";import{ar as M,i as d,C as x,c2 as E}from"./app-BAclpbpz.js";import{X as P}from"./C-bRYFkt.js";import"./BTqQ_sdn.js";import"./CXkSqP7Z.js";import"./x_ujydb4.js";import"./Cyjh9VK6.js";const $={class:"_spacer",style:{"--MI_SPACER-w":"1000px"}},A={key:0},j=w({__name:"following",props:{acct:{}},setup(v){const o=v,e=u(null),r=u(null);function l(){o.acct!=null&&(e.value=null,x("users/show",E(o.acct)).then(a=>{e.value=a}).catch(a=>{r.value=a}))}y(()=>o.acct,l,{immediate:!0});const _=i(()=>[]),f=i(()=>[]);return M(()=>({title:d.ts.user,icon:"ph-user ph-bold ph-lg",...e.value?{title:e.value.name?`${e.value.name} (@${e.value.username})`:`@${e.value.username}`,subtitle:d.ts.following,userName:e.value,avatar:e.value}:{}})),(a,c)=>{const h=s("MkError"),k=s("MkLoading"),g=s("PageWithHeader");return t(),n(g,{actions:_.value,displayBackButton:!0,tabs:f.value},{default:m(()=>[b("div",$,[p(B,{name:"fade",mode:"out-in"},{default:m(()=>[e.value?(t(),C("div",A,[p(P,{user:e.value,type:"following"},null,8,["user"])])):r.value?(t(),n(h,{key:1,onRetry:c[0]||(c[0]=L=>l())})):(t(),n(k,{key:2}))]),_:1})])]),_:1},8,["actions","tabs"])}}});export{j as default};
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.