import{M as c}from"./MkUserInfo-Brwzwv5t.js";import{M as f}from"./MkPagination-DzUgufpZ.js";import{b as p,j as s,p as a,k as m,i as u,q as d,F as w,G as g,g as _,f as l}from"./vue-Cm77DuTi.js";import{_ as k}from"./app-QjDgb7aF.js";const y={class:"users"},B=p({__name:"follow-list",props:{user:{},type:{}},setup(e){const t=e,r={endpoint:"users/following",limit:20,params:l(()=>({userId:t.user.id}))},n={endpoint:"users/followers",limit:20,params:l(()=>({userId:t.user.id}))};return(I,M)=>(s(),a("div",null,[m(f,{ref:"list",pagination:e.type==="following"?r:n,class:"mk-following-or-followers"},{default:u(({items:i})=>[d("div",y,[(s(!0),a(w,null,g(i.map(o=>e.type==="following"?o.followee:o.follower),o=>(s(),_(c,{key:o.id,class:"user",user:o},null,8,["user"]))),128))])]),_:1},8,["pagination"])]))}}),P=k(B,[["__scopeId","data-v-8181f189"]]);export{P as X};
//# sourceMappingURL=follow-list-D-q6sDzu.js.map
