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