import{d as f,aF as x,V as y,W as c,f as r,aG as b,K as h,k as e,c as C,g as n,a as D,h as k,aH as E,o as I,j as s,aI as V,U as g,aJ as w}from"./index-BqDjVCF_.js";import{u as F}from"./usePageTitle-CZh_IXm2.js";const U=f({__name:"Event",async setup(j){let a,o;const l=x(),u=y(),v=c("eventDate"),_=c("eventId"),m=r(()=>E(v.value)),d=b({startDate:m,eventId:[_.value]}),t=([a,o]=h(()=>l.events.getFirstEvent(d.value)),a=await a,o(),a),p=r(()=>[{text:"Event Feed",to:u.events()},{text:t.eventLabel}]);return F(`Event: ${t.eventLabel}`),(z,B)=>{const i=k("p-layout-default");return e(t)?(I(),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{U as default};
//# sourceMappingURL=Event-DO4wnpeO.js.map
