import{X as w}from"./MkTimeline-nT4DjZRf.js";import{aB as B,f as C,i as E,a4 as M,n as x}from"./app-JmgyQoR0.js";import{b as D,a as n,c as t,w as P,D as r,g as l,h as o,i as c,j as d,l as T,q,t as z,u as H}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 N={class:"tl _block"},S=D({__name:"antenna-timeline",props:{antennaId:{}},setup(p){const m=B(),a=p;let e=n(null),u=n(),s=n();const _=t(()=>({t:h}));function f(){m.push(`/my/antennas/${a.antennaId}`)}function h(){s.value.focus()}P(()=>a.antennaId,async()=>{e.value=await C("antennas/show",{antennaId:a.antennaId})},{immediate:!0});const v=t(()=>e.value?[{icon:"ph-gear-six ph-bold ph-lg",text:E.ts.settings,handler:f}]:[]),k=t(()=>[]);return M(t(()=>e.value?{title:e.value.name,icon:"ph-flying-saucer ph-bold ph-lg"}:null)),(i,V)=>{const g=r("MkPageHeader"),y=r("MkStickyContainer"),b=l("hotkey"),I=l("size");return o(),c(y,null,{header:d(()=>[T(g,{actions:v.value,tabs:k.value},null,8,["actions","tabs"])]),default:d(()=>[q((o(),z("div",{ref_key:"rootEl",ref:u,class:"tqmomfks"},[H("div",N,[(o(),c(w,{ref_key:"tlEl",ref:s,key:i.antennaId,class:"tl",src:"antenna",antenna:i.antennaId,sound:!0},null,8,["antenna"]))])])),[[b,_.value,void 0,{global:!0}],[I,{min:[800]}]])]),_:1})}}}),Q=x(S,[["__scopeId","data-v-13aecd9d"]]);export{Q as default};
