1import{p as P}from"./CsUQ9yOb.js";import{d as S,e as A,C as N,w as T,c as x,k as i,t as e,n as s,B as t,A as f,F as y,r as _,a7 as Z,g as j,i as q,j as n,q as g}from"./BgjTzObi.js";import{b as E}from"./Bxf2H75l.js";import{u as F}from"./Bl3NT4-t.js";import{u as V}from"./DFvpjJ_C.js";const I={style:{margin:"0","padding-bottom":"29px","padding-top":"38px",color:"black"}},R={class:"program-heading",style:{"text-align":"center"}},J={key:0,src:"https://media.medici.tv/chopin/logos/edu-dark.svg",style:{margin:"0 auto 29px auto",width:"120px"},width:"120"},M={key:1,src:"https://media.medici.tv/chopin/logos/logo-medici.svg",style:{margin:"0 auto 29px auto",width:"120px"},width:"120"},O={style:{"margin-bottom":"6px","font-family":"'Libre Baskerville', serif","font-size":"15px","font-weight":"bold"}},U={style:{"font-size":"10px"}},Y={style:{display:"'flex'"}},$={style:{margin:"24px 0","font-family":"'Libre Baskerville', serif","font-size":"14px","text-align":"center","text-transform":"capitalize","font-weight":"bold"}},G={style:{"min-width":"70px","flex-shrink":"0"}},H={style:{"margin-bottom":"3px","font-family":"'Libre Baskerville', serif","font-size":"13px","font-weight":"bold"}},K={style:{"font-size":"11px"}},Q={style:{"margin-top":"10px","font-size":"10px"}},W={style:{"margin-left":"10px","border-left":"1px solid black","padding-left":"10px"}},X={style:{"margin-bottom":"10px",display:"flex","align-items":"center","flex-wrap":"nowrap"}},ee={key:0,style:{display:"block","border-radius":"9999px",background:"#dedede",padding:"0 12px","font-size":"11px","font-weight":"bold"}},te={key:1,style:{"margin-left":"19px",display:"flex","align-items":"center","font-size":"12px",color:"black","flex-wrap":"nowrap","white-space":"nowrap"}},oe={style:{"margin-bottom":"6px","font-size":"13px","font-weight":"bold"}},ie={style:{"font-size":"11px","font-style":"italic"}},se={key:0,style:{"margin-top":"10px","font-size":"10px"}},ne={style:{"margin-top":"24px","text-align":"center","font-size":"13px"}},ue=S({__name:"calendar-pdf",async setup(ae){let m,h;const b=Z().public.SITE||"b2c",{jsDateFormat:c}=V(),{getTimezone:k}=F(),{tr:r}=A(),v=N();E();const{data:w}=([m,h]=T(()=>j("calendar-pdf",()=>q("SearchAPI").searchCalendar({query:{limit:99,offset:0,release:"upcoming",is_live:"all",categories:["all"]}}))),m=await m,h(),m),u=v.query.tz||k(),z=x(()=>w.value?.movies.results||[]),D=new Date().getTime(),C=x(()=>z.value.reduce((p,a)=>{const l=a.date_publish,d=c(l,{year:"numeric",month:"long",timeZone:u});p[d]||(p[d]=[]);const o=c(l,{month:"short",day:"numeric",timeZone:u}),B=c(l,{year:"numeric",timeZone:u}),L=c(l,{hour:"numeric",minute:"numeric",timeZone:u});return p[d].push({location:P(a).location,...a,releaseDate:{date:o,year:B,time:L}}),p},{}));return(p,a)=>(n(),i("div",I,[e("div",R,[s(b)==="edu"?(n(),i("img",J)):(n(),i("img",M)),e("p",O,t(s(r)("calendarPdf.title","Coming soon on medici.tv")),1),e("p",U,[f(t(s(r)("calendarPdf.editedOn","Last updated "))+" ",1),e("span",Y,[e("span",null,t(s(c)(s(D),{month:"long",day:"numeric"})),1)])])]),(n(!0),i(y,null,_(s(C),(l,d)=>(n(),i("div",{key:d},[e("p",$,t(d),1),(n(!0),i(y,null,_(l,o=>(n(),i("div",{key:o.id,style:{position:"relative","margin-bottom":"19px",display:"flex","align-items":"stretch"}},[e("div",G,[e("p",H,t(o.releaseDate.date),1),e("p",K,t(o.releaseDate.year),1),e("p",Q,t(o.releaseDate.time),1)]),e("div",W,[e("div",X,[o.category?(n(),i("div",ee,t(s(r)(`movieCategories.${o.category}`)),1)):g("",!0),o.is_live?(n(),i("div",te,[a[0]||(a[0]=e("span",{style:{"margin-right":"3px",display:"block",width:"6px",height:"6px","border-radius":"9999px","background-color":"black","flex-shrink":"0"}},null,-1)),f(" "+t(s(r)("calendarPdf.live","Upcoming livestream")),1)])):g("",!0)]),e("div",oe,t(o.title),1),e("div",ie,t(o.subtitle),1),o.location?(n(),i("div",se,t(o.location),1)):g("",!0)])]))),128))]))),128)),e("div",ne,[e("p",null,[f(t(s(r)("calendarPdf.endNote.title","Schedule subject to change"))+" ",1),a[1]||(a[1]=e("br",null,null,-1)),f(" "+t(s(r)("calendarPdf.endNote.subtitle","Check back often on medici.tv for the most up-to-date information about our upcoming events!")),1)])])]))}});
1export{ue 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.