import{c as m,r as x,u as p,j as e,m as r,Q as h,_ as u,T as f}from"./index-CqI-dFNO.js";import{P as y}from"./PageShell-DXT2c6S4.js";import{P as j}from"./PhotoLightbox-CPYWQFy4.js";import"./chevron-left-BWFm-udl.js";/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const w=m("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const b=m("FileImage",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]]);function v({items:s}){const[t,a]=x.useState(null),n=p(),g=s.map(i=>({src:i.originalLetter,alt:`Original letter from ${i.name}`}));return e.jsxs(e.Fragment,{children:[e.jsxs(r.div,{initial:n?void 0:{opacity:0,y:24},whileInView:n?void 0:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"mb-10 max-w-2xl",children:[e.jsx("span",{className:"text-sm font-semibold uppercase tracking-[0.2em] text-accent-emerald",children:"Testimonials"}),e.jsx("h2",{className:"mt-4 font-bagel text-3xl text-primary sm:text-4xl",children:"Words from those we walked with"})]}),e.jsx("div",{className:"space-y-6 sm:space-y-7",children:s.map((i,c)=>e.jsx(r.figure,{initial:n?void 0:{opacity:0,y:22},whileInView:n?void 0:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{type:"spring",stiffness:190,damping:24,delay:n?0:Math.min(c,2)*.08},className:"glass-card group rounded-2xl border border-transparent p-5 transition-colors duration-300 hover:border-accent-gold/60 sm:p-7 lg:p-9",children:e.jsxs("div",{className:"flex flex-col gap-5 md:flex-row md:gap-8 lg:gap-10",children:[e.jsxs("figcaption",{className:"flex shrink-0 flex-row items-center gap-4 md:w-48 md:flex-col md:items-start md:gap-3 lg:w-56",children:[i.portrait?e.jsx("img",{src:i.portrait,alt:i.name,loading:"lazy",width:112,height:112,className:"h-16 w-16 shrink-0 rounded-full object-cover object-top ring-2 ring-accent-gold/60 ring-offset-2 ring-offset-card md:h-24 md:w-24 lg:h-28 lg:w-28"}):e.jsx("span",{"aria-hidden":"true",className:"flex h-16 w-16 shrink-0 items-center justify-center rounded-full bg-primary/90 font-display text-xl font-bold text-primary-foreground ring-2 ring-accent-gold/50 ring-offset-2 ring-offset-card md:h-24 md:w-24 md:text-2xl lg:h-28 lg:w-28",children:N(i.name)}),e.jsxs("span",{className:"min-w-0 md:mt-1",children:[e.jsx("span",{className:"block font-display text-base font-bold leading-tight text-primary sm:text-lg",children:i.name}),e.jsx("span",{"aria-hidden":"true",className:"mt-2 hidden h-px w-12 bg-gradient-to-r from-accent-gold/80 to-transparent md:block"}),e.jsx("span",{className:"mt-1.5 block space-y-0.5 md:mt-2.5",children:i.details.map((l,o)=>e.jsx("span",{className:"block text-[11px] uppercase leading-[1.55] tracking-[0.05em] text-muted-foreground sm:text-[11.5px] sm:tracking-[0.06em]",children:l},o))})]})]}),e.jsx("div",{"aria-hidden":"true",className:"hidden w-px shrink-0 bg-gradient-to-b from-accent-gold/35 via-border to-transparent md:block"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx(h,{"aria-hidden":"true",className:"h-7 w-7 shrink-0 text-accent-gold/70"}),e.jsx("blockquote",{className:"mt-4 text-[14.5px] leading-[1.7] tracking-[0.003em] text-card-foreground sm:text-[15.5px] sm:leading-[1.8]",children:i.body.map((l,o)=>e.jsx("p",{className:o===0?"text-[15px] font-medium leading-[1.65] text-primary sm:text-base sm:leading-[1.75]":"mt-3 indent-5 sm:mt-4 sm:indent-6",children:l},o))}),e.jsxs("button",{type:"button",onClick:()=>a(c),className:"mt-6 inline-flex items-center gap-2 rounded-full border border-border px-4 py-2 text-xs font-semibold text-muted-foreground transition-colors duration-300 hover:border-accent-gold hover:text-primary",children:[e.jsx(b,{className:"h-3.5 w-3.5"}),"View original letter"]})]})]})},i.name))}),t!==null&&e.jsx(j,{photos:g,initialIndex:t,onClose:()=>a(null)})]})}function N(s){return s.split(/\s+/).filter(Boolean).slice(0,2).map(t=>{var a;return((a=t[0])==null?void 0:a.toUpperCase())??""}).join("")}const k="/assets/img1-C7Md9hBK.jpg",d="/assets/img2-DPVrOjXO.jpg",I="/assets/img3-s5BzGt4a.jpg",S="/assets/img4-DVSf6lnk.jpg",T="/assets/img5-B0ZhJssn.jpg",A="/assets/img6-DykrK3kr.jpg",E="/assets/img7-DXd7Bucp.jpg",P="/assets/img13-DNAV_AxM.jpg",V="/assets/img14-DbdbtJ1u.jpg",L="/assets/img15-CE4wuLXW.jpg",C="/assets/trophy-BtoEA4HF.jpg",D=[{src:k,caption:null,videoId:null},{src:d,caption:null,videoId:null},{src:d,caption:null,videoId:null},{src:I,caption:"Listen Sound",videoId:"AE84Uzs_LNg"},{src:S,caption:"Listen Sound",videoId:"AE84Uzs_LNg"},{src:T,caption:null,videoId:null},{src:A,caption:null,videoId:null},{src:P,caption:"Listen Sound",videoId:"XitEHuuFJAc"},{src:V,caption:null,videoId:null},{src:L,caption:null,videoId:null}],M=[{src:E,caption:'Award of "DNA Excellent Teenager Trophy" to Ms. Veena Vishambharan By Hon. ISC President'},{src:C,caption:"Award of Inter UAE G.K Quiz Competition Trophy to Abu Dhabi Indian School. (The Full Competition covered and broadcasted by TV Channels from 2 to 15 Dec 2011.)"}];function F(){const s=p();return e.jsxs(y,{eyebrow:"Media",title:"IMPRESSIONS Of Previous Particpant Students",width:"gallery",children:[e.jsx(v,{items:u}),e.jsx("div",{className:"grid grid-cols-2 items-start gap-4 sm:grid-cols-3 md:grid-cols-4",children:D.map((t,a)=>{const n=e.jsx("img",{src:t.src,alt:t.caption??`Teenager's Excellence Program photo ${a+1}`,loading:"lazy",className:"mx-auto h-[150px] w-[150px] object-cover"});return e.jsxs(r.div,{initial:s?void 0:{opacity:0,y:16},whileInView:s?void 0:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{type:"spring",stiffness:200,damping:24,delay:s?0:a%4*.05},className:"rounded-2xl glass-card p-3 text-center",children:[t.videoId?e.jsxs("a",{href:`https://www.youtube.com/watch?v=${t.videoId}`,target:"_blank",rel:"noreferrer",className:"gold-frame group relative mx-auto block w-[150px] overflow-hidden rounded-lg",children:[n,e.jsx("span",{className:"absolute inset-0 flex items-center justify-center bg-primary/0 transition-colors duration-300 group-hover:bg-primary/40",children:e.jsx(w,{className:"h-9 w-9 text-white opacity-0 transition-opacity duration-300 group-hover:opacity-100"})})]}):e.jsx("span",{className:"gold-frame mx-auto block w-[150px] overflow-hidden rounded-lg",children:n}),t.caption&&e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:t.caption})]},a)})}),e.jsxs("div",{children:[e.jsxs(r.div,{initial:s?void 0:{opacity:0,y:20},whileInView:s?void 0:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55},className:"mb-8 max-w-2xl",children:[e.jsx("span",{className:"text-sm font-semibold uppercase tracking-[0.2em] text-accent-emerald",children:"Recognition"}),e.jsx("h2",{className:"mt-3 font-bagel text-2xl text-primary sm:text-3xl",children:"Awards & Trophies"})]}),e.jsx("div",{className:"grid gap-6 sm:grid-cols-2",children:M.map((t,a)=>e.jsxs(r.figure,{initial:s?void 0:{opacity:0,y:20},whileInView:s?void 0:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{type:"spring",stiffness:190,damping:24,delay:s?0:a*.08},className:"glass-card group flex flex-col overflow-hidden rounded-2xl border border-transparent p-5 transition-colors duration-300 hover:border-accent-gold/60 sm:flex-row sm:items-center sm:gap-6 sm:p-6",children:[e.jsx("span",{className:"gold-frame block shrink-0 overflow-hidden rounded-xl sm:w-52",children:e.jsx("img",{src:t.src,alt:t.caption,loading:"lazy",className:"h-48 w-full object-cover transition-transform duration-500 ease-out group-hover:scale-105 sm:h-40"})}),e.jsxs("figcaption",{className:"mt-4 sm:mt-0",children:[e.jsx(f,{"aria-hidden":"true",className:"mb-2 h-5 w-5 text-accent-gold"}),e.jsx("p",{className:"text-[15px] leading-relaxed text-card-foreground",children:t.caption})]})]},t.caption))})]})]})}export{F as default};
