1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-MSa8avpS.js","assets/index-DY-sP-Wx.css"])))=>i.map(i=>d[i]); 2import{_ as D,u as E,r as j,b as e,o as s,g as l,h as w,e as k,a as B,c as u,l as r,H as f,f as v,t as S,I as V,J as H}from"./index-MSa8avpS.js";import{i as g}from"./isSameDay-DfFWwP97.js";const F={key:0,class:"event-dates"},I={class:"event-dates__dates"},M={__name:"ProjectEventDates",props:{project:{type:Object,required:!0},showStartDate:{type:Boolean,default:!0},showEndDate:{type:Boolean,default:!0},dateFormat:{type:String,default:"EEEE, dd MMMM yyyy"}},setup(t){const _=V(()=>H(()=>import("./index-MSa8avpS.js").then(d=>d.bV),__vite__mapDeps([0,1]))),{t:y}=E(),n=t.project?.event_start_date?new Date(t.project.event_start_date):null,o=t.project?.event_end_date?new Date(t.project.event_end_date):null,m=t.project?.show_event_time?`${t.dateFormat} HH:mm`:t.dateFormat,i=n&&o&&g(n,o),a=t.showStartDate&&!!n,c=t.showEndDate&&!!o&&!(i&&!t.project?.show_event_time),p=i&&a?"HH:mm":m;return(d,N)=>{const h=j("fa-icon");return e(a)||e(c)?(s(),l("p",F,[w(d.$slots,"icon",{},()=>[k(h,{class:"color--primary icon event-dates__icon",icon:["fal","calendar-clock"]})],!0),B("span",I,[e(a)?(s(),u(e(_),{key:0,class:"event-dates__date",timestamp:e(n),filter:e(m)},null,8,["timestamp","filter"])):r("",!0),e(a)&&e(c)?(s(),l(f,{key:1},[v(" - ")],64)):e(a)?r("",!0):(s(),l(f,{key:2},[v(S(e(y)("literal.ends_on")),1)],64)),e(c)?(s(),u(e(_),{key:3,class:"event-dates__date",timestamp:e(o),filter:e(p)},null,8,["timestamp","filter"])):r("",!0)])])):r("",!0)}}},x=D(M,[["__scopeId","data-v-6c79f84e"]]);export{x as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.