import{d as f,aE as x,V as y,W as c,e as r,aF as b,G as h,i as e,c as C,f as n,a as D,g as E,aG as I,o as k,h as s,aH as V,j as g,aI as w}from"./index-BOEdKJ1D.js";import{u as F}from"./usePageTitle-BkurcLK2.js";const T=f({__name:"Event",async setup(B){let a,o;const u=x(),v=y(),l=c("eventDate"),_=c("eventId"),d=r(()=>I(l.value)),m=b({startDate:d,eventId:[_.value]}),t=([a,o]=h(()=>u.events.getFirstEvent(m.value)),a=await a,o(),a),p=r(()=>[{text:"Event Feed",to:v.events()},{text:t.eventLabel}]);return F(`Event: ${t.eventLabel}`),(G,L)=>{const i=E("p-layout-default");return e(t)?(k(),C(i,{key:0,class:"event"},{header:n(()=>[s(e(g),{crumbs:p.value},{actions:n(()=>[s(e(V),{event:e(t)},null,8,["event"])]),_:1},8,["crumbs"])]),default:n(()=>[s(e(w),{event:e(t)},null,8,["event"])]),_:1})):D("",!0)}}});export{T as default};
//# sourceMappingURL=Event-Bw5zjjwU.js.map
