import{r,j as s,m as g}from"./index-CqI-dFNO.js";import{P as _}from"./PageShell-DXT2c6S4.js";import{P as c}from"./PhotoLightbox-CPYWQFy4.js";import{M as p}from"./maximize-2-BR_9l4iR.js";import"./chevron-left-BWFm-udl.js";const d="/assets/1-6sl60PgR.jpg",j="/assets/10-B3hvPORg.jpg",u="/assets/11-Dje3p1j-.jpg",y="/assets/12-D3PTxgUk.jpg",m="/assets/13-RPk6hB3u.jpg",b="/assets/14-CiQERDnx.jpg",v="/assets/15-CbW5R1rN.jpg",h="/assets/16-C_Ieu4GO.jpg",x="/assets/17-Dif60un_.jpg",f="/assets/18-BrfyJFO7.jpg",P="/assets/19-C7t_MDDI.jpg",C="/assets/2-ZKUe88Hg.jpg",D="/assets/20-ChAUTCUm.jpg",I="/assets/21-Cih09-ZY.jpg",N="/assets/22-CD_l2TA_.jpg",w="/assets/23-CuU9-TjJ.jpg",O="/assets/3-WT5vjdql.jpg",S="/assets/4-DXSb5FpN.jpg",U="/assets/5-Dj6J3AJ2.jpg",E="/assets/6-BP6U2UWf.jpg",G="/assets/7-CK91o-SQ.jpg",T="/assets/8-Bn4peGoY.jpg",k="/assets/9-bKXD9Czx.jpg",n=Object.assign({"/src/assets/site/gallery/india/1.jpg":d,"/src/assets/site/gallery/india/10.jpg":j,"/src/assets/site/gallery/india/11.jpg":u,"/src/assets/site/gallery/india/12.jpg":y,"/src/assets/site/gallery/india/13.jpg":m,"/src/assets/site/gallery/india/14.jpg":b,"/src/assets/site/gallery/india/15.jpg":v,"/src/assets/site/gallery/india/16.jpg":h,"/src/assets/site/gallery/india/17.jpg":x,"/src/assets/site/gallery/india/18.jpg":f,"/src/assets/site/gallery/india/19.jpg":P,"/src/assets/site/gallery/india/2.jpg":C,"/src/assets/site/gallery/india/20.jpg":D,"/src/assets/site/gallery/india/21.jpg":I,"/src/assets/site/gallery/india/22.jpg":N,"/src/assets/site/gallery/india/23.jpg":w,"/src/assets/site/gallery/india/3.jpg":O,"/src/assets/site/gallery/india/4.jpg":S,"/src/assets/site/gallery/india/5.jpg":U,"/src/assets/site/gallery/india/6.jpg":E,"/src/assets/site/gallery/india/7.jpg":G,"/src/assets/site/gallery/india/8.jpg":T,"/src/assets/site/gallery/india/9.jpg":k});function A(e,i){const o=parseInt(e.replace(/\D/g,""),10),t=parseInt(i.replace(/\D/g,""),10);return o!==t?o-t:e.localeCompare(i)}const l=Object.keys(n).sort(A).map(e=>n[e]);function z(){const[e,i]=r.useState(null),o=r.useMemo(()=>l.map((t,a)=>({src:t,alt:`Photo Gallery India — photo ${a+1}`})),[]);return s.jsxs(_,{eyebrow:"Media",title:"Inter Unervicity Scientific Project & Presentation Skill Competation for Graduate Teams Conducted by Al Phonsa college Pala, Sponsored by DNAOFEXCELLENCE Group",width:"gallery",children:[s.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-3",children:l.map((t,a)=>s.jsx(g.button,{type:"button","aria-label":`Open photo ${a+1} of ${l.length}`,onClick:()=>i(a),whileHover:{y:-4},whileTap:{scale:.96},transition:{duration:.25,ease:"easeOut"},className:"glass-card group relative block overflow-hidden rounded-2xl p-2",children:s.jsxs("div",{className:"gold-frame relative overflow-hidden rounded-lg",children:[s.jsx("img",{src:t,alt:`Photo Gallery India — photo ${a+1}`,className:"aspect-[4/3] h-auto w-full object-cover transition-transform duration-500 ease-out group-hover:scale-110",loading:"lazy"}),s.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:s.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:s.jsx(p,{className:"h-4 w-4"})})})]})},a))}),e!==null&&s.jsx(c,{photos:o,initialIndex:e,onClose:()=>i(null)})]})}export{z as default};
