1import{u as V}from"./CIXH8hzV.js";import{r as B,h as v,d as F,i as e,j as n,k as y,f as t,g as m,n as N,F as x,p as T,e as L,q as O,m as S,o as s,t as c,v as C}from"#entry";import{u as z}from"./TY3eDXuQ.js";import{_ as E}from"./CmY5mkph.js";import{_ as H}from"./DXVdRzkF.js";import{_ as I}from"./nfD8S0Gd.js";import{R as P}from"./D7rFuEkZ.js";import"./f6Rc8pYS.js";import"./BPpfR3aa.js";import"./DGU_sUJE.js";import"./D_0cNXAr.js";import"./gA5-mC8G.js";import"./Cpz3W-vy.js";const R=$=>{const i=v(()=>{const o={};for(const l of $.value||[])l.date&&(o[l.date]||=[],o[l.date]?.push(l));for(const l in o)o[l]?.sort((g,b)=>(g.startTime||"00:00").localeCompare(b.startTime||"00:00"));return o}),p=B(!1),D=v(()=>{if(p.value)return i.value;const o={};let l=0;const g=8;for(const[b,k]of Object.entries(i.value)){if(l>=g)break;const d=k.slice(0,g-l);o[b]=d,l+=d.length}return o}),A=v(()=>Object.values(i.value).reduce((o,l)=>o+l.length,0));return{groupedSessions:i,displayedGroupedSessions:D,totalSessions:A,showAllAgenda:p,toggleAgenda:()=>{p.value=!p.value}}},U={class:"layout-wrapper"},q={class:"p-4 sm:p-8 bg-white rounded-lg shadow-lg z-10 flex flex-col gap-8 mb-8"},G={class:"flex flex-col sm:flex-row gap-8"},J={class:"w-full sm:w-[376px]"},K={class:"w-full"},Q={key:0,class:"flex-1 mb-6"},W={key:1,class:"flex flex-wrap gap-3 mb-2 pb-4"},X=["onClick"],Y={key:2},Z={class:"sm:text-xl text-lg font-bold mb-6"},ee={class:"space-y-6"},te={class:"min-w-[250px] font-light sm:text-xl text-lg pb-2 sm:pb-0"},se={class:"flex-1"},oe={class:"font-semibold sm:text-lg text-base"},le={key:0,class:"text-gray-600 sm:text-lg text-base"},ne=["innerHTML"],ae={key:2,class:"text-gray-700 text-sm sm:mt-2 mt-1 flex flex-col gap-1"},re=["onClick"],ie={class:"font-bold"},ce={key:3,class:"flex gap-6"},Te=F({__name:"agenda",setup($){const i=S("event"),p=S("sessions"),D=S("speakers"),{formatDate:A,formatTime:h}=V(),{groupedSessions:o}=R(p),{openSpeaker:l}=z(),g=S("leadSponsors"),b=v(()=>new Map((D.value??[]).map(u=>[u.id,u]))),k=u=>(u.speakerIds??[]).map(a=>b.value.get(a)).filter(a=>!!a),d=B("all"),j=v(()=>Object.keys(o.value).sort()),M=v(()=>{if(d.value==="all")return o.value;const u=d.value;return o.value[u]?{[u]:o.value[u]}:o.value});return(u,a)=>(s(),e("div",U,[n("div",q,[n("section",G,[n("div",J,[y(E,{event:t(i),"sidebar-title":"Full Agenda"},null,8,["event"]),y(H,{"lead-sponsors":t(g)},null,8,["lead-sponsors"])]),n("div",K,[t(i).agendaDescription?(s(),e("div",Q,[y(P,{doc:t(i).agendaDescription},null,8,["doc"])])):m("",!0),t(j).length>1?(s(),e("div",W,[n("button",{class:N(["px-4 py-1 rounded-full font-semibold transition-colors cursor-pointer",t(d)==="all"?"bg-yellow-500 text-black":"bg-gray-100 text-gray-700 hover:bg-gray-200"]),onClick:a[0]||(a[0]=_=>d.value="all")}," All ",2),(s(!0),e(x,null,T(t(j),(_,w)=>(s(),e("button",{key:_,class:N(["px-4 py-1 rounded-full font-semibold transition-colors cursor-pointer",t(d)===_?"bg-yellow-500 text-black":"bg-gray-100 text-gray-700 hover:bg-gray-200"]),onClick:r=>d.value=_}," Day "+c(w+1),11,X))),128))])):m("",!0),t(p)&&t(p).length?(s(),e("div",Y,[(s(!0),e(x,null,T(t(M),(_,w)=>(s(),e("div",{key:w,class:"mb-8"},[n("h3",Z,c(t(A)(w)),1),n("div",ee,[(s(!0),e(x,null,T(_,r=>(s(),e("div",{key:r.id,class:"flex sm:flex-row flex-col sm:pb-2 pb-0"},[n("div",te,c(t(h)(r.startTime))+" "+c(t(h)(r.endTime)?`- ${t(h)(r.endTime)}`:""),1),n("div",se,[n("h4",oe,c(r.name),1),r.location?(s(),e("p",le,c(r.location),1)):m("",!0),r.description?(s(),e("div",{key:1,class:"text-gray-700 sm:mt-2 mt-1",innerHTML:r.description},null,8,ne)):m("",!0),k(r).length?(s(),e("ul",ae,[(s(!0),e(x,null,T(k(r),f=>(s(),e("li",{key:f.id,class:"flex items-start gap-2"},[a[2]||(a[2]=n("span",{"aria-hidden":"true",class:"select-none"},"-",-1)),n("button",{type:"button",class:"text-left text-neutral font-semibold hover:underline cursor-pointer",onClick:de=>t(l)(f)},[C(c(f.firstName)+" "+c(f.lastName),1),f.jobTitle?(s(),e(x,{key:0},[C(" , "+c(f.jobTitle),1)],64)):m("",!0),f.company?(s(),e(x,{key:1},[a[1]||(a[1]=C(" , ",-1)),n("span",ie,c(f.company),1)],64)):m("",!0)],8,re)]))),128))])):m("",!0)])]))),128))])]))),128))])):m("",!0),t(i).agendaPdfUrl?(s(),e("div",ce,[y(O,{href:t(i).agendaPdfUrl,target:"_blank",class:"flex items-center gap-2 border-2 border-yellow-500 bg-white text-black px-6 py-2 rounded-sm font-semibold hover:bg-yellow-50 transition-colors"},{default:L(()=>[y(I,{name:"general/download-01",class:"w-4 h-4"}),a[3]||(a[3]=C("Download Agenda ",-1))]),_:1},8,["href"])])):m("",!0)])])])]))}});
1export{Te 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.