import{X as v}from"./MkTimeline-BHgihgS6.js";import{ax as b,d as g,aA as I,b as x,_ as y}from"./app-QjDgb7aF.js";import{b as w,w as E,f as a,E as l,A as C,j as i,g as r,i as n,l as M,p as B,q,k as A,a as o}from"./vue-Cm77DuTi.js";import"./MkNotes-DrVlMmnc.js";import"./MkNote-RPFbRjy2.js";import"./MkReactionsViewer-D75lmVQ0.js";import"./MkReactionIcon.vue_vue_type_script_setup_true_lang-D23mNn1N.js";import"./share-available-Drgr3YiT.js";import"./get-note-summary-DlGmePWF.js";import"./MkDateSeparatedList.vue_vue_type_style_index_0_lang-87CjANkN.js";import"./MkPagination-DzUgufpZ.js";import"./charts-3gEHPHRq.js";import"./media-DuCIZ-3n.js";const P={class:"tl _block"},T=w({__name:"user-list-timeline",props:{listId:{}},setup(t){const c=b(),s=t;let e=o(null),d=o(),m=o();E(()=>s.listId,async()=>{e.value=await g("users/lists/show",{listId:s.listId})},{immediate:!0});function p(){c.push(`/my/lists/${s.listId}`)}const u=a(()=>e.value?[{icon:"ph-gear-six ph-bold ph-lg",text:x.ts.settings,handler:p}]:[]),_=a(()=>[]);return I(a(()=>e.value?{title:e.value.name,icon:"ph-list-bullets ph-bold ph-lg"}:null)),(j,z)=>{const h=l("MkPageHeader"),f=l("MkStickyContainer"),k=C("size");return i(),r(f,null,{header:n(()=>[A(h,{actions:u.value,tabs:_.value},null,8,["actions","tabs"])]),default:n(()=>[M((i(),B("div",{ref_key:"rootEl",ref:m,class:"eqqrhokj"},[q("div",P,[(i(),r(v,{ref_key:"tlEl",ref:d,key:t.listId,class:"tl",src:"list",list:t.listId,sound:!0},null,8,["list"]))])])),[[k,{min:[800]}]])]),_:1})}}}),O=y(T,[["__scopeId","data-v-898aac05"]]);export{O as default};
//# sourceMappingURL=user-list-timeline-lD-lO8I0.js.map
