import{d as f,g as C,h as b,W as c,i as r,aG as x,J as h,m as e,c as y,j as n,a as E,k as I,aH as k,o as D,l as s,aI as g,K as w,aJ as B}from"./index-DgpKcZLs.js";import{u as J}from"./usePageTitle-CgS480GG.js";const V=f({__name:"Event",async setup(W){let a,o;const l=C(),u=b(),v=c("eventDate"),_=c("eventId"),m=r(()=>k(v.value)),d=x({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 J(`Event: ${t.eventLabel}`),(F,K)=>{const i=I("p-layout-default");return e(t)?(D(),y(i,{key:0,class:"event"},{header:n(()=>[s(e(w),{crumbs:p.value},{actions:n(()=>[s(e(g),{event:e(t)},null,8,["event"])]),_:1},8,["crumbs"])]),default:n(()=>[s(e(B),{event:e(t)},null,8,["event"])]),_:1})):E("",!0)}}});export{V as default};
//# sourceMappingURL=Event-BWZ21oqu.js.map
