1import{a as d,r as x,j as e}from"./index-Ptngm0is.js";import{u as g}from"./useSEO-qNbE4ydB.js";import{I as h,a as p,S as i,c as m,G as u}from"./IDLayout-DLLeKw8M.js";import{X as y}from"./responsiveImages-BZB7onO5.js";import{C as b}from"./chevron-left-B5MSAP-j.js";import{C as f}from"./chevron-right-BM0YLFaP.js";function N(){const{language:n}=d(),t=n==="id"?"id":"en",c=h[t],s=u[t],[a,r]=x.useState(null);return g({title:t==="id"?"Galeri â Pet To Nature Indonesia":"Gallery â Pet To Nature Indonesia",description:c.gallerySubtitle,region:"id",language:t,canonicalPath:"/id/gallery"}),e.jsxs(p,{"data-loc":"client/src/pages/id/IDGallery.tsx:28",children:[e.jsxs("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:30",className:"fixed left-4 top-1/2 -translate-y-1/2 z-40 hidden lg:flex flex-col gap-3",children:[e.jsx("a",{"data-loc":"client/src/pages/id/IDGallery.tsx:31",href:i.facebook,target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-full bg-[#1877F2] flex items-center justify-center text-white shadow-md hover:scale-110 transition-transform","aria-label":"Facebook",children:e.jsx("svg",{"data-loc":"client/src/pages/id/IDGallery.tsx:32",viewBox:"0 0 24 24",className:"w-5 h-5 fill-current",children:e.jsx("path",{"data-loc":"client/src/pages/id/IDGallery.tsx:32",d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})}),e.jsx("a",{"data-loc":"client/src/pages/id/IDGallery.tsx:34",href:i.youtube,target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-full bg-[#FF0000] flex items-center justify-center text-white shadow-md hover:scale-110 transition-transform","aria-label":"YouTube",children:e.jsx("svg",{"data-loc":"client/src/pages/id/IDGallery.tsx:35",viewBox:"0 0 24 24",className:"w-5 h-5 fill-current",children:e.jsx("path",{"data-loc":"client/src/pages/id/IDGallery.tsx:35",d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}),e.jsx("a",{"data-loc":"client/src/pages/id/IDGallery.tsx:37",href:i.instagram,target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-full bg-gradient-to-br from-[#F58529] via-[#DD2A7B] to-[#8134AF] flex items-center justify-center text-white shadow-md hover:scale-110 transition-transform","aria-label":"Instagram",children:e.jsx("svg",{"data-loc":"client/src/pages/id/IDGallery.tsx:38",viewBox:"0 0 24 24",className:"w-5 h-5 fill-current",children:e.jsx("path",{"data-loc":"client/src/pages/id/IDGallery.tsx:38",d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})})]}),e.jsxs("section",{"data-loc":"client/src/pages/id/IDGallery.tsx:43",className:"relative overflow-hidden",children:[e.jsx("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:44",className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${m.heroBg})`}}),e.jsx("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:45",className:"absolute inset-0 bg-[#34542A]/85"}),e.jsxs("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:46",className:"relative container py-16 md:py-20 text-center",children:[e.jsx("h1",{"data-loc":"client/src/pages/id/IDGallery.tsx:47",className:"font-display text-4xl md:text-5xl text-[#F7F4EE] mb-4",children:c.galleryTitle}),e.jsx("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:48",className:"w-16 h-0.5 bg-[#7CA248] mx-auto mb-4"}),e.jsx("p",{"data-loc":"client/src/pages/id/IDGallery.tsx:49",className:"font-body text-lg text-[#F7F4EE]/80 max-w-2xl mx-auto",children:c.gallerySubtitle})]})]}),e.jsx("section",{"data-loc":"client/src/pages/id/IDGallery.tsx:54",className:"py-16 bg-[#F7F4EE]",children:e.jsx("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:55",className:"container",children:e.jsx("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:56",className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:s.map((l,o)=>e.jsxs("button",{"data-loc":"client/src/pages/id/IDGallery.tsx:58",onClick:()=>r(o),className:"group rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all aspect-square relative",children:[e.jsx("img",{"data-loc":"client/src/pages/id/IDGallery.tsx:63",src:l.src,alt:l.alt,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"}),e.jsx("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:69",className:"absolute inset-0 bg-black/0 group-hover:bg-black/20 transition-colors flex items-end p-3",children:e.jsx("span",{"data-loc":"client/src/pages/id/IDGallery.tsx:70",className:"font-body text-xs text-white opacity-0 group-hover:opacity-100 transition-opacity bg-black/50 px-2 py-1 rounded",children:l.alt})})]},o))})})}),a!==null&&e.jsxs("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:82",className:"fixed inset-0 z-[100] bg-black/90 flex items-center justify-center p-4",onClick:()=>r(null),children:[e.jsx("button",{"data-loc":"client/src/pages/id/IDGallery.tsx:86",onClick:()=>r(null),className:"absolute top-6 right-6 text-white/80 hover:text-white z-10","aria-label":t==="id"?"Tutup":"Close",children:e.jsx(y,{"data-loc":"client/src/pages/id/IDGallery.tsx:91",size:32})}),e.jsx("div",{"data-loc":"client/src/pages/id/IDGallery.tsx:95",className:"absolute bottom-6 left-1/2 -translate-x-1/2 text-center z-10",children:e.jsxs("p",{"data-loc":"client/src/pages/id/IDGallery.tsx:96",className:"font-body text-sm text-white/80 bg-black/50 px-4 py-2 rounded-lg",children:[s[a].alt," (",a+1,"/",s.length,")"]})}),e.jsx("img",{"data-loc":"client/src/pages/id/IDGallery.tsx:101",src:s[a].src,alt:s[a].alt,className:"max-w-full max-h-[85vh] object-contain rounded-lg",onClick:l=>l.stopPropagation()}),a>0&&e.jsx("button",{"data-loc":"client/src/pages/id/IDGallery.tsx:110",onClick:l=>{l.stopPropagation(),r(a-1)},className:"absolute left-4 top-1/2 -translate-y-1/2 bg-white/20 hover:bg-white/40 text-white rounded-full w-12 h-12 flex items-center justify-center transition-colors","aria-label":t==="id"?"Sebelumnya":"Previous",children:e.jsx(b,{"data-loc":"client/src/pages/id/IDGallery.tsx:115",size:24})}),a<s.length-1&&e.jsx("button",{"data-loc":"client/src/pages/id/IDGallery.tsx:119",onClick:l=>{l.stopPropagation(),r(a+1)},className:"absolute right-4 top-1/2 -translate-y-1/2 bg-white/20 hover:bg-white/40 text-white rounded-full w-12 h-12 flex items-center justify-center transition-colors","aria-label":t==="id"?"Berikutnya":"Next",children:e.jsx(f,{"data-loc":"client/src/pages/id/IDGallery.tsx:124",size:24})})]})]})}export{N 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.