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