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