import{M as m}from"./MkPagination-urywMrXv.js";import{b as f,c as k,D as a,h as s,i as o,j as t,u as n,l as g,t as c,G as M,E as r,H as h,F as x}from"./vue-y3KLWBaS.js";import{n as v}from"./app-JmgyQoR0.js";const B={class:"pages-user-clips"},C={key:0,class:"description"},b=f({__name:"clips",props:{user:{}},setup(i){const p=i,l={endpoint:"users/clips",limit:20,params:k(()=>({userId:p.user.id}))};return(y,N)=>{const d=a("MkA"),_=a("MkSpacer");return s(),o(_,{"content-max":800},{default:t(()=>[n("div",B,[g(m,{ref:"list",pagination:l,class:"list"},{default:t(({items:u})=>[(s(!0),c(x,null,M(u,e=>(s(),o(d,{key:e.id,to:`/clips/${e.id}`,class:"item _panel _gap"},{default:t(()=>[n("b",null,r(e.name),1),e.description?(s(),c("div",C,r(e.description),1)):h("",!0)]),_:2},1032,["to"]))),128))]),_:1},512)])]),_:1})}}}),D=v(b,[["__scopeId","data-v-5b9523ae"]]);export{D as default};
