1import{d as v,a as C,G as w,y as M,u as N,c as o,b as n,e as B,f as V,g as t,F as u,r as g,i as h,_ as $,K as L,o as s,h as q,t as A,j as f,s as D}from"./uv7Rk5x0.js";import{u as F,_ as P}from"./DUDTDUz0.js";import{u as R}from"./CAiHakSa.js";const j={class:"px-4 pb-24"},E={class:"py-4 flex items-center gap-2 text-sm"},G={key:0,class:"py-12 text-center text-sm text-on-surface-variant"},H={key:1,class:"py-12 text-center text-sm text-on-surface-variant"},I={key:0,class:"mb-8"},J={class:"space-y-3"},K={key:1},S={class:"space-y-3"},Q=v({__name:"meetings",async setup(T){let m,d;const y=C(),r=D(()=>y.params.cohort_id),{cohort:a,fetchCohort:_}=R(r),{upcoming:c,past:l,loading:b,fetchMeetings:p}=F(r);return[m,d]=w(async()=>L(()=>`hub2-m-cohort-meetings-${r.value}`,async()=>(await _(),await p(),!0),"$_3edg4PZCo")),await m,d(),M(async()=>{await _(),await p()}),N(()=>({title:a.value?`Meetings · ${a.value.title||a.value.course_title||"Cohort"} · xquare hub`:"Meetings · xquare hub"})),(U,e)=>{const k=$,x=P;return s(),o("div",j,[n("div",E,[B(k,{to:`/m/cohorts/${t(r)}`,class:"inline-flex items-center gap-1 text-on-surface-variant"},{default:V(()=>[e[0]||(e[0]=n("span",{class:"material-symbols-outlined icon-sm","aria-hidden":"true"},"chevron_left",-1)),q(" "+A(t(a)?.title||t(a)?.course_title||"Cohort"),1)]),_:1},8,["to"])]),e[3]||(e[3]=n("h1",{class:"text-xl font-black text-on-surface mb-1"},"Meetings",-1)),e[4]||(e[4]=n("p",{class:"text-xs text-on-surface-variant mb-6"}," Join online sessions or get directions to onsite ones. ",-1)),t(b)&&!t(c).length&&!t(l).length?(s(),o("section",G,"Loadingâ¦")):!t(c).length&&!t(l).length?(s(),o("section",H,"No meetings scheduled.")):(s(),o(u,{key:2},[t(c).length?(s(),o("section",I,[e[1]||(e[1]=n("h2",{class:"text-xs font-extrabold uppercase tracking-widest text-outline mb-2"},"Upcoming",-1)),n("div",J,[(s(!0),o(u,null,g(t(c),i=>(s(),f(x,{key:i.id,meeting:i},null,8,["meeting"]))),128))])])):h("",!0),t(l).length?(s(),o("section",K,[e[2]||(e[2]=n("h2",{class:"text-xs font-extrabold uppercase tracking-widest text-outline mb-2"},"Past",-1)),n("div",S,[(s(!0),o(u,null,g(t(l),i=>(s(),f(x,{key:i.id,meeting:i,compact:""},null,8,["meeting"]))),128))])])):h("",!0)],64))])}}});export{Q 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.