import{r as n,j as e,m as i}from"./index-CqI-dFNO.js";import{P as c}from"./PageShell-DXT2c6S4.js";import{P as m}from"./PhotoLightbox-CPYWQFy4.js";import{M as p}from"./maximize-2-BR_9l4iR.js";import"./chevron-left-BWFm-udl.js";const g="/assets/onceinalifetime2020-D_SB0Foz.jpg",u="/assets/upcoming10-PaWXAStx.jpg",d="/assets/upcoming12-DVocjlRR.jpg",t=[g,u,d];function v(){const[r,a]=n.useState(null),l=n.useMemo(()=>t.map((o,s)=>({src:o,alt:`Teenager's Excellence Program flyer ${s+1}`})),[]);return e.jsxs(c,{eyebrow:"Program",title:"Teenager's Excellence Program",width:"gallery",children:[e.jsx("div",{className:"grid items-start gap-6 sm:grid-cols-3",children:t.map((o,s)=>e.jsx(i.button,{type:"button","aria-label":`Open flyer ${s+1} of ${t.length}`,onClick:()=>a(s),whileHover:{y:-6},whileTap:{scale:.97},transition:{type:"spring",stiffness:300,damping:22},className:"glass-card group relative block overflow-hidden rounded-2xl p-1.5",children:e.jsxs("div",{className:"gold-frame relative overflow-hidden rounded-xl",children:[e.jsx("img",{src:o,alt:`Teenager's Excellence Program flyer ${s+1}`,className:"w-full object-cover transition-transform duration-500 ease-out group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-primary/0 opacity-0 transition-all duration-300 ease-out group-hover:bg-primary/35 group-hover:opacity-100",children:e.jsx("span",{className:"glass-mist flex h-10 w-10 scale-75 items-center justify-center rounded-full text-white transition-transform duration-300 ease-out group-hover:scale-100",children:e.jsx(p,{className:"h-4 w-4"})})})]})},s))}),r!==null&&e.jsx(m,{photos:l,initialIndex:r,onClose:()=>a(null)})]})}export{v as default};
