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