import{M as u}from"./MkPagination-DzUgufpZ.js";import{M as f}from"./MkNote-RPFbRjy2.js";import{_ as k}from"./MkReactionIcon.vue_vue_type_script_setup_true_lang-D23mNn1N.js";import{b as M,E as s,j as t,g as r,i as n,k as o,p as c,F as v,G as g,q as h,f as x}from"./vue-Cm77DuTi.js";import{_ as j}from"./app-QjDgb7aF.js";import"./MkReactionsViewer-D75lmVQ0.js";import"./share-available-Drgr3YiT.js";import"./get-note-summary-DlGmePWF.js";import"./charts-3gEHPHRq.js";import"./media-DuCIZ-3n.js";const y=["to"],A={class:"header"},B=M({__name:"reactions",props:{user:{}},setup(a){const i=a,m={endpoint:"users/reactions",limit:20,params:x(()=>({userId:i.user.id}))};return(b,C)=>{const p=s("MkAvatar"),l=s("MkTime"),_=s("MkSpacer");return t(),r(_,{"content-max":800},{default:n(()=>[o(u,{ref:"list",pagination:m},{default:n(({items:d})=>[(t(!0),c(v,null,g(d,e=>(t(),c("div",{key:e.id,to:`/clips/${e.id}`,class:"item _panel _gap afdcfbfb"},[h("div",A,[o(p,{class:"avatar",user:a.user},null,8,["user"]),o(k,{class:"reaction",reaction:e.type,"custom-emojis":e.note.emojis,"no-style":!0},null,8,["reaction","custom-emojis"]),o(l,{time:e.createdAt,class:"createdAt"},null,8,["time"])]),(t(),r(f,{key:e.id,note:e.note},null,8,["note"]))],8,y))),128))]),_:1},512)]),_:1})}}}),G=j(B,[["__scopeId","data-v-e22388a6"]]);export{G as default};
//# sourceMappingURL=reactions-DLqiSrfy.js.map
