1import{W as $,s as f,S as A,M as L,E as N,p as V,a as B}from"./SiteFooter-Dk_m_oj0.js";import{d as k,s as F,x as T,g,b as o,T as I,w as _,D,o as n,c as m,a as t,t as i,f as v,E as x,k as y,i as w,y as M,h as G,_ as R,F as E,j as U,u as c,q as W}from"./index-h2vKHaG7.js";import{P as j}from"./PosterTile-DIu9-w8h.js";const q=["aria-label"],z=["disabled"],H=["src","width","height","alt"],K={class:"lb__cap"},Y={class:"lb__year"},J={key:0,class:"lb__note"},O={class:"lb__count"},Q=["disabled"],X=k({__name:"PosterLightbox",props:{posters:{},modelValue:{}},emits:["update:modelValue"],setup(s,{emit:u}){const a=s,h=u,e=y(()=>a.modelValue==null?null:a.posters[a.modelValue]??null);function d(){h("update:modelValue",null)}function p(r){if(a.modelValue==null)return;const l=a.modelValue+r;l<0||l>=a.posters.length||h("update:modelValue",l)}function b(r){r.key==="Escape"?d():r.key==="ArrowLeft"?p(-1):r.key==="ArrowRight"&&p(1)}F(()=>a.modelValue,r=>{const l=r!=null;document.body.style.overflow=l?"hidden":"",l?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)}),T(()=>{document.body.style.overflow="",window.removeEventListener("keydown",b)});const P=y(()=>a.modelValue===0),S=y(()=>a.modelValue===a.posters.length-1);return(r,l)=>(n(),g(D,{to:"body"},[o(I,{name:"lb"},{default:_(()=>[e.value?(n(),m("div",{key:0,class:"lb",role:"dialog","aria-modal":"true","aria-label":`Vale Earth Fair ${e.value.year} poster`,onClick:x(d,["self"])},[t("button",{type:"button",class:"lb__close","aria-label":"Close",onClick:d},"â"),t("button",{type:"button",class:"lb__nav lb__nav--prev","aria-label":"Previous poster",disabled:P.value,onClick:l[0]||(l[0]=C=>p(-1))}," â¹ ",8,z),t("figure",{class:"lb__figure",onClick:x(d,["self"])},[t("img",{class:"lb__img",src:e.value.full,width:e.value.width,height:e.value.height,alt:`Vale Earth Fair ${e.value.year} poster`},null,8,H),t("figcaption",K,[t("span",Y,i(e.value.year),1),e.value.note?(n(),m("span",J,i(e.value.note),1)):v("",!0),t("span",O,i(s.modelValue+1)+" / "+i(s.posters.length),1)])]),t("button",{type:"button",class:"lb__nav lb__nav--next","aria-label":"Next poster",disabled:S.value,onClick:l[1]||(l[1]=C=>p(1))}," ⺠",8,Q)],8,q)):v("",!0)]),_:1})]))}}),Z=w(X,[["__scopeId","data-v-91aaeb8e"]]),ee={class:"gallery","data-screen-label":"Poster gallery"},te={key:1,class:"gallery__lede"},ae={class:"gallery__grid"},se=k({__name:"PosterGallery",props:{posters:{},heading:{},lede:{}},setup(s){const u=M(null);return(a,h)=>(n(),m("section",ee,[o($,null,{default:_(()=>[s.heading?(n(),g(R,{key:0,size:"sm",tracking:"wide",flush:"",class:"gallery__head"},{default:_(()=>[G(i(s.heading),1)]),_:1})):v("",!0),s.lede?(n(),m("p",te,i(s.lede),1)):v("",!0),t("div",ae,[(n(!0),m(E,null,U(s.posters,(e,d)=>(n(),g(j,{key:e.year,year:e.year,thumb:e.thumb,note:e.note,angle:d%2===0?-.6:.6,onSelect:p=>u.value=d},null,8,["year","thumb","note","angle","onSelect"]))),128))])]),_:1}),o(Z,{modelValue:u.value,"onUpdate:modelValue":h[0]||(h[0]=e=>u.value=e),posters:s.posters},null,8,["modelValue","posters"])]))}}),le=w(se,[["__scopeId","data-v-902ea139"]]),oe={class:"intro"},ne={class:"col"},re={class:"lede"},ie=k({__name:"PosterArchiveView",setup(s){return(u,a)=>(n(),m(E,null,[t("main",null,[o(A,{"date-kicker":c(f).venue,date:c(f).dateDisplay,time:c(f).time},{stamp:_(()=>[o(N,{number:50,unit:"YEARS"})]),nav:_(()=>[o(L)]),_:1},8,["date-kicker","date","time"]),t("section",oe,[o($,null,{default:_(()=>[t("div",ne,[t("h1",null,i(c(V).heading),1),t("p",re,i(c(V).lede),1)])]),_:1})]),o(le,{posters:c(W)},null,8,["posters"])]),o(B)],64))}}),_e=w(ie,[["__scopeId","data-v-ed8e4d83"]]);export{_e 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.