1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DNVC4UWt.js","./CT7wXifU.js","./framework.CIcGVNlr.css","./Dod35yxe.js","./Dwlu1gaY.js","./B9SPuWlS.js","./vuetify.FuW0wTD1.css","./D6trejea.js","./vendor-maps.BmfcjYDA.css","./entry.4lNXg1uM.css","./VideoPlayer.DhBjDDCo.css"])))=>i.map(i=>d[i]); 2import{z as le,a as ne,_ as M}from"#entry";import{_ as ie}from"./RL7IgsZW.js";import{aP as ue,aI as ce,aH as re,al as t,ac as de,ag as u,r as y,y as s,aQ as n,p as V,aE as L,q as d,o as l,ay as h,D as S}from"./CT7wXifU.js";import{t as _e,h as me}from"./BO7bjt2u.js";import{u as pe}from"./CSQgM3SS.js";import{aD as g,aC as ve,t as _,_ as T,q as R}from"./B9SPuWlS.js";import fe from"./BO_wHg7V.js";import{u as ye}from"./CM0ZkYwi.js";import{u as he}from"./DOsPU9u1.js";import{_ as ge}from"./D6trejea.js";import"./CUCeyMWA.js";import"./Cp2c5yTg.js";const De={key:0,class:"video-box"},ke={class:"countdown-box2 mx-auto"},we={class:"center-box"},be={class:"time-box v-line"},Ae={class:"zoom-logo mx-auto"},xe={key:0,class:"mt-5"},Ce="YYYY-MM-DD HH:mm:ss",Ie={__name:"[slug]",async setup(Ee){let c,D;const Y=S(()=>M(()=>import("./DNVC4UWt.js").then(a=>a.v),__vite__mapDeps([0,1,2]),import.meta.url).then(a=>a.Countdown)),O=S(()=>M(()=>import("./Dod35yxe.js"),__vite__mapDeps([3,1,2,4,5,6,7,8,9,10]),import.meta.url)),B=g().public,{titleFromAPI:F,descriptionFromAPI:H,headlineFromAPI:Pe,cssText:j}=([c,D]=ue(()=>_e()),c=await c,D(),c);le(me(F,H,j,B));const{formatDate:k,isoWeekday:q,setIsoWeekday:w,addDays:z}=ye(),{getUser:W}=he(),{postApiCalls:$,secureEndpoint:U}=pe(),b=ce(),A=re(),{$toast:Ne}=ve(),m=ne(),p=t(null),x=t(null),Z=t("Profile"),C=t(""),I=t(k(new Date,"YYYY-MM-DD HH:mm:ss")),v=t({}),e=t({}),G=t(!1),E=t(""),f=t(!1),P=t(!1);de(async()=>{P.value=!0});const N={Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6,Sunday:7},r=A.params.slug.split("-");x.value=r[r.length-1],p.value=r[r.length-3];const Q=Object.keys(N),J=m.locations.find(a=>a.id===Number(x.value));
2if(Q.forEach(a=>{J.day_schedules[a].forEach(o=>{o.id==p.value&&(e.value=o)})}),Object.keys(e.value).length>0){f.value=m.organization.require_login_for_virtual_classes,Z.value=e.value.name,C.value=`${g().public.AMAZONAWS_IMAGE_URL}videoPlay_700.png`,e.value.media_detail&&(v.value={name:`${g().public.AMAZONAWS_VIDEO_URL}${e.value.media_detail.uuid}_700.mp4`});const a=N[e.value.day_of_week],o=q();let i;o<=a?i=w(new Date,a):i=w(z(new Date,7),a);const[ae,te,se]=e.value.start_time.split(":").map(Number),oe=new Date(i.getFullYear(),i.getMonth(),i.getDate(),ae,te,se||0);I.value=k(oe,Ce)}else b.push("/");function K(){f.value?m.auth.loggedIn?(E.value=W().id,X()):b.push({name:"login",query:{redirect:A.fullPath}}):window.open(e.value.link,"_blank")}async function X(){G.value=!1,await ee(),window.open(e.value.link,"_blank")}async function ee(){try{const a=await $(U.ATTENDANCE,{contact:E.value.toString(),schedule:p.value})}catch(a){console.error(a)}}return(a,o)=>{const i=ie;return u(),y("div",null,[s(fe,{header:e.value.name},null,8,["header"]),s(_,{fluid:"",class:"beginner-level text-center"},{default:n(()=>[s(_,null,{default:n(()=>[s(T,null,{default:n(()=>[e.value.media_detail?(u(),V(R,{key:0,cols:"12"},{default:n(()=>[e.value.media_detail.media_type&&e.value.media_detail.media_type==="video"?(u(),y("div",De,[s(L(O),{media:v.value?v.value:"",style:{"z-index":"1"}},null,8,["media"])])):d("",!0)]),_:1})):d("",!0)]),_:1})]),_:1})]),_:1}),s(_,{fluid:"",class:"class-begins text-center"},{default:n(()=>[s(_,null,{default:n(()=>[o[0]||(o[0]=l("h3",{class:"mb-3"},"Class Begins at:",-1)),l("div",ke,[P.value?(u(),V(L(Y),{key:0,deadline:I.value},null,8,["deadline"])):d("",!0)]),l("div",we,[s(T,null,{default:n(()=>[s(R,{cols:"12"},{default:n(()=>[l("div",be,[l("h2",null,h(e.value.pretty_start_time),1),l("h4",null,h(e.value.day_of_week)+"s",1)])]),_:1})]),_:1})]),o[1]||(o[1]=l("p",null,"Click the logo below at the time above to join the class LIVE",-1)),l("div",Ae,[l("a",{onClick:K},[s(i,{src:C.value,class:"logo",width:"100%",fetchpriority:"low",style:{"object-fit":"contain"}},null,8,["src"])])]),f.value?d("",!0):(u(),y("p",xe,"Meeting ID "+h(e.value.link),1))]),_:1})]),_:1})])}}},qe=ge(Ie,[["__scopeId","data-v-093413a1"]]);export{qe 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.