1import{d as w,a as p,w as y,c,B as a,f as o,g as l,h as n,k as s,T as b,q as C}from"./vue-tSx3lnP8.js";import{aU as $,c as x,a as B,e as S,F as E}from"./app-CCl49sF4.js";import{X as L}from"./follow-list-DgpDeXaG.js";import"./MkUserInfo-oZI-6H82.js";import"./MkNumber.vue_vue_type_script_setup_true_lang-D52CBfsj.js";import"./MkPagination-CAPpZebZ.js";import"./info-DLbPkRH3.js";const P={key:0},R=w({__name:"following",props:{acct:{}},setup(d){const r=d,e=p(null),u=p(null);function i(){r.acct!=null&&(e.value=null,S("users/show",E.acct.parse(r.acct)).then(t=>{e.value=t}).catch(t=>{u.value=t}))}y(()=>r.acct,i,{immediate:!0});const f=c(()=>[]),k=c(()=>[]);return $(c(()=>e.value?{icon:`${x("ph-user")}`,title:e.value.name?`${e.value.name} (@${e.value.username})`:`@${e.value.username}`,subtitle:B.ts.following,userName:e.value,avatar:e.value}:null)),(t,m)=>{const v=a("MkPageHeader"),_=a("MkError"),h=a("MkLoading"),M=a("MkSpacer"),g=a("MkStickyContainer");return o(),l(g,null,{header:n(()=>[s(v,{actions:f.value,tabs:k.value},null,8,["actions","tabs"])]),default:n(()=>[s(M,{"content-max":1e3},{default:n(()=>[s(b,{name:"fade",mode:"out-in"},{default:n(()=>[e.value?(o(),C("div",P,[s(L,{user:e.value,type:"following"},null,8,["user"])])):u.value?(o(),l(_,{key:1,onRetry:m[0]||(m[0]=T=>i())})):(o(),l(h,{key:2}))]),_:1})]),_:1})]),_:1})}}});
1export{R 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.