import{X as g}from"./MkTimeline-nT4DjZRf.js";import{aB as b,f as I,i as y,a4 as w,n as B}from"./app-JmgyQoR0.js";import{b as C,a as s,w as E,c as a,D as l,g as M,h as i,i as r,j as n,l as x,q,t as D,u as P}from"./vue-y3KLWBaS.js";import"./MkNotes-Z5KXbZLG.js";import"./MkNote-Y7yPCL5J.js";import"./MkReactionsViewer-iZKN4Via.js";import"./MkReactionIcon.vue_vue_type_script_setup_true_lang-MnLL2GJr.js";import"./share-available-LNRVMfAE.js";import"./get-note-summary-7eDLQp-L.js";import"./MkDateSeparatedList.vue_vue_type_style_index_0_lang-bpwwzSpi.js";import"./MkPagination-urywMrXv.js";const T={class:"tl _block"},j=C({__name:"user-list-timeline",props:{listId:{}},setup(c){const p=b(),t=c;let e=s(null),d=s(),m=s();E(()=>t.listId,async()=>{e.value=await I("users/lists/show",{listId:t.listId})},{immediate:!0});function u(){p.push(`/my/lists/${t.listId}`)}const _=a(()=>e.value?[{icon:"ph-gear-six ph-bold ph-lg",text:y.ts.settings,handler:u}]:[]),h=a(()=>[]);return w(a(()=>e.value?{title:e.value.name,icon:"ph-list-bullets ph-bold ph-lg"}:null)),(o,z)=>{const f=l("MkPageHeader"),k=l("MkStickyContainer"),v=M("size");return i(),r(k,null,{header:n(()=>[x(f,{actions:_.value,tabs:h.value},null,8,["actions","tabs"])]),default:n(()=>[q((i(),D("div",{ref_key:"rootEl",ref:m,class:"eqqrhokj"},[P("div",T,[(i(),r(g,{ref_key:"tlEl",ref:d,key:o.listId,class:"tl",src:"list",list:o.listId,sound:!0},null,8,["list"]))])])),[[v,{min:[800]}]])]),_:1})}}}),J=B(j,[["__scopeId","data-v-a234204f"]]);export{J as default};
