1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4845],{2338:function(e,t,r){r.d(t,{J:function(){return f}});var a=r(5893),i=r(1664),s=r.n(i),l=r(5675),n=r.n(l),o=r(2417),c=r(5912),d=r(56),u=r(8384),x=r(7294),h=r(6509),m=r(8215),p=r(6204),g=r(1163);function f(e){let{title:t,description:r,primaryCta:i,backgroundImage:l}=e,f=(0,x.useRef)(null),b=(0,m.d)(),{t:w,localizePath:v}=(0,p.Z)(),y=(0,g.useRouter)(),{scrollYProgress:j}=(0,c.v)({target:f,offset:["start end","end start"]}),N=(0,d.H)(j,[0,1],b?["0%","0%"]:["-5%","5%"]),k=(null==i?void 0:i.text)||w("cta.beginJourney"),E=(null==i?void 0:i.link)||"/contact",z=t||(0,a.jsxs)(a.Fragment,{children:[w("aboutPage.ctaTitle1")," ",(0,a.jsx)("br",{}),w("aboutPage.ctaTitle2")]}),C=r||w("aboutPage.ctaDesc"),P=y?y.pathname:"",F="/assets/cta/cta2.webp";"/"===P||P.startsWith("/services")?F=
1"/assets/cta/cta1.webp":(P.startsWith("/about")||P.startsWith("/gallery"))
1&&(F="/assets/cta/cta2.webp");let I=l||F;return(0,a.jsxs)("section",{ref:f,className:"py-24 md:py-32 relative overflow-hidden flex items-center bg-[#1A1A1A]",children:[(0,a.jsxs)(u.E.div,{style:{y:N},className:"absolute inset-0 z-0 scale-105",children:[(0,a.jsx)(n(),{src:I,alt:"Refined Interior Background",fill:!0,className:"object-cover opacity-60",priority:!0}),(0,a.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(45, 34, 26, 0.35), rgba(45, 34, 26, 0.1), transparent)"}}),(0,a.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(45, 34, 26, 0.35) 0%, transparent 35%)"}}),(0,a.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to bottom, rgba(45, 34, 26, 0.1) 0%, transparent 25%)"}})]}),(0,a.jsx)("div",{className:"container mx-auto px-4 relative z-20",children:(0,a.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-white/[0.08] rounded-[40px] md:rounded-[60px] border border-white/20 shadow-2xl",style:{backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",transform:"translate3d(0, 0, 0)",backfaceVisibility:"hidden",willChange:"backdrop-filter"}}),(0,a.jsxs)(u.E.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,ease:"easeOut"},className:"relative z-10 p-10 md:p-16 text-center",children:[(0,a.jsx)(u.E.span,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"inline-block text-white/60 text-xs md:text-sm tracking-[0.4em] uppercase mb-8 font-light",children:w("cta.badge")}),(0,a.jsx)("h2",{className:"text-3xl md:text-4xl lg:text-6xl font-mirage text-white mb-6 leading-[1.1] tracking-tight",children:z}),(0,a.jsx)("p",{className:"text-lg md:text-xl font-light text-white/70 mb-10 max-w-xl mx-auto leading-relaxed",children:C}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-6 justify-center items-center",children:[(0,a.jsx)(o.z,{size:"lg",className:"h-14 md:h-16 px-10 text-base md:text-lg rounded-full backdrop-blur-md border transition-all duration-500 overflow-hidden relative group/btn bg-white/10 text-white border-white/20 hover:bg-white hover:text-foreground shadow-[0_0_20px_rgba(255,255,255,0.1)] hover:shadow-[0_0_30px_rgba(255,255,255,0.2)]",asChild:!0,children:(0,a.jsxs)(s(),{href:v(E),className:"flex items-center gap-3 relative z-10",children:[(0,a.jsxs)("span",{className:"relative",children:[k,(0,a.jsx)("span",{className:"absolute -bottom-1 left-0 w-0 h-px bg-current transition-all duration-500 group-hover/btn:w-full"})]}),(0,a.jsx)(h.Z,{className:"w-5 h-5 group-hover/btn:translate-x-1 transition-transform"})]})}),(0,a.jsxs)(s(),{href:v("/services"),className:"text-white font-light tracking-wide hover:text-white/70 transition-colors flex flex-col items-center group/link text-sm md:text-base",children:[(0,a.jsx)("span",{className:"mb-1",children:w("cta.exploreServices")}),(0,a.jsx)("div",{className:"h-px w-0 group-hover/link:w-full bg-white/40 transition-all duration-500"})]})]})]})]})})})]})}},8215:function(e,t,r){r.d(t,{d:function(){return i}});var a=r(7294);function i(){let[e,t]=a.useState(!0);return a.useEffect(()=>{let e=window.matchMedia("(max-width: ".concat(767,"px)")),r=()=>{t(window.innerWidth<768)};return e.addEventListener("change",r),t(window.innerWidth<768),()=>e.removeEventListener("change",r)},[]),e}},4845:function(e,t,r){r.r(t),r.d(t,{__N_SSG:function(){return j},default:function(){return N}});var a=r(5893),i=r(7294),s=r(8384),l=r(3114),n=r(483);let o=(0,n.Z)("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);var c=r(5297),d=r(4079),u=r(4995);function x(e){let{title:t,description:r}=e;return(0,a.jsx)("section",{className:"bg-background pt-24 pb-0 md:pt-28 md:pb-0 block",children:(0,a.jsx)("div",{className:"container mx-auto px-6 relative z-10",children:(0,a.jsxs)("div",{className:"max-w-4xl mx-auto text-center",children:[(0,a.jsx)(s.E.div,{initial:{opacity:0,y:30}
1,animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},children:(0,a.jsx)("h1",{className:"text-3xl sm:text-5xl md:text-6xl lg:text-[4.5rem] mb-6 font-mirage leading-[1.05] tracking-tight text-[#231811]",children:t})}),(0,a.jsx)(s.E.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4,ease:"easeOut"},className:"text-lg md:text-xl leading-relaxed font-light mb-0 max-w-2xl mx-auto text-foreground/75",children:r})]})})})}var h=r(2338),m=r(3465),p=r(6204),g=r(1201),f=r(5806),b=r(5649);let w=(0,n.Z)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);function v(e){let{project:t,onClick:r}=e,{language:l}=(0,p.Z)(),[n,o]=(0,i.useState)(0),[c,x]=(0,i.useState)(!1),h=t.images&&t.images.length>0?t.images:[],m=("es"===l?t.titleEs:t.title)||t.titleEs||t.title||"Proyecto",g=("es"===l?t.descriptionEs:t.description)||t.descriptionEs||t.description||"";return(0,i.useEffect)(()=>{if(h.length<=1||c)return;let e=setInterval(()=>{o(e=>(e+1)%h.length)},4e3);return()=>clearInterval(e)},[h.length,c]),(0,a.jsxs)(s.E.div,{layout:!0,initial:{opacity:0,y:30},animate:{opacity:1,y:0},exit:{opacity:0,scale:.95},transition:{duration:.5,ease:"easeOut"},onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),onClick:r,className:"group relative aspect-[3/4] w-full rounded-[28px] overflow-hidden bg-black/50 border border-white/10 shadow-2xl cursor-pointer",children:[h.map((e,t)=>(0,a.jsx)(s.E.img,{src:e.src,alt:m,onError:()=>{(0,f.se)(e.id,e.storagePath,e.src)},initial:!1,animate:{opacity:t===n?1:0,scale:t===n?1:1.04},transition:{duration:.5,ease:"easeInOut"},className:"absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 ease-out z-0 ".concat(t===n?"pointer-events-auto":"pointer-events-none")},e.id||t)),0===h.length&&(0,a.jsx)("img",{src:"/assets/our-services/1.webp",alt:m,className:"absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 ease-out z-0"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/30 via-transparent to-black/90 z-10 pointer-events-none"}),(0,a.jsx)("div",{className:"absolute top-4 right-4 flex justify-end items-center z-20 pointer-events-none",children:(0,a.jsxs)("span",{className:"px-3 py-1 rounded-full bg-black/60 backdrop-blur-md border border-white/15 text-[10px] text-white/80 font-light flex items-center gap-1.5 shadow-md",children:[(0,a.jsx)(b.Z,{className:"w-3 h-3 text-[#6F724E]"}),h.length," ",1===h.length?"foto":"fotos"]})}),h.length>1&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),o(e=>(e-1+h.length)%h.length)},"aria-label":"Anterior foto",className:"absolute left-3 top-1/2 -translate-y-1/2 w-9 h-9 rounded-full bg-black/60 hover:bg-black/90 border border-white/20 text-white flex items-center justify-center transition-all duration-300 opacity-0 group-hover:opacity-100 z-30 focus:outline-none hover:scale-110 shadow-lg",children:(0,a.jsx)(d.Z,{className:"w-5 h-5"})}),(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),o(e=>(e+1)%h.length)},"aria-label":"Siguiente foto",className:"absolute right-3 top-1/2 -translate-y-1/2 w-9 h-9 rounded-full bg-black/60 hover:bg-black/90 border border-white/20 text-white flex items-center justify-center transition-all duration-300 opacity-0 group-hover:opacity-100 z-30 focus:outline-none hover:scale-110 shadow-lg",children:(0,a.jsx)(u.Z,{className:"w-5 h-5"})})]}),(0,a.jsxs)("div",{className:"absolute bottom-0 inset-x-0 p-5 md:p-6 z-20 flex flex-col justify-end gap-2.5 pointer-events-none",children:[(0,a.jsxs)("div",{className:"flex justify-between items-end gap-3 pointer-events-auto",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("h3",{className:"text-xl md:text-2xl font-mirage text-white leading-tight tracking-wide group-hover:text-[#8B9163] transition-colors duration-300 line-clamp-3 drop-shadow-lg break-words",children:m}),g&&(0,a.jsx)("p",{className:"text-xs text-white/80 font-light mt-1 line-clamp-1 leading-relaxed drop-shadow",children:g})]}),(0,a.jsx)("div",{className:"w-9 h-9 rounded-full bg-white/10 border border-white/20 backdrop-blur-md flex items-center justify-center text-white group-hover:bg-[#6F724E] group-hover:border-[#6F724E] transition-all duration-300 flex-shrink-0 shadow-md",children:(0,a.jsx)(w,{className:"w-4 h-4 transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform"})})]}),h.length>1&&(0,a.jsx)("div",{className:"flex items-center justify-center gap-1.5 pt-1 pointer-events-none",children:h.map((e,t)=>(0,a.jsx)("span",{className:"h-1.5 rounded-full transition-all duration-300 ".concat(t===n?"w-6 bg-white shadow-md shadow-white/50":"w-1.5 bg-white/40")},t))})]})]})}function y(e){let{project:t,onClose:r}=e,{language:n}=(0,p.Z)(),[x,h]=(0,i.useState)(null);if((0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&(null!==x?h(null):r())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[x,r]),(0,i.useEffect)(()=>(t?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[t]),!t)return null;let m=("es"===n?t.titleEs:t.title)||t.titleEs||t.title||"Proyecto",g=("es"===n?t.descriptionEs:t.description)||t.descriptionEs||t.description||"",b=t.images||[],w=null!==x?b[x]:null;return(0,a.jsx)(l.M,{children:(0,a.jsxs)("div",{className:"fixed inset-0 z-50 overflow-y-auto bg-[#1C130D]/95 backdrop-blur-xl flex flex-col justify-between",children:[(0,a.jsxs)("div",{className:"sticky top-0 z-30 bg-[#1C130D]/90 backdrop-blur-md px-6 md:px-12 py-6 border-b border-white/10 flex justify-between items-start md:items-center",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-1",children:[(0,a.jsx)("span",{className:"px-3 py-0.5 rounded-full bg-[#6F724E]/20 border border-[#6F724E]/40 text-[10px] uppercase tracking-[0.2em] text-[#6F724E] font-medium",children:"commercial"===t.category?"Comercial":"Residencial"}),(0,a.jsxs)("span",{className:"text-xs text-white/40 font-light",children:[b.length," fotograf\xeda",1===b.length?"":"s"]})]}),(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-mirage text-white tracking-wide",children:m}),g&&(0,a.jsx)("p",{className:"text-xs md:text-sm text-white/70 font-light mt-1.5 max-w-3xl leading-relaxed",children:g})]}),(0,a.jsx)("button",{onClick:r,className:"w-12 h-12 rounded-full bg-white/5 hover:bg-white/15 border border-white/10 flex items-center justify-center transition-all duration-300 group focus:outline-none flex-shrink-0 ml-4","aria-label":"Cerrar modal",children:(0,a.jsx)(c.Z,{className:"w-5 h-5 text-white/70 group-hover:text-white group-hover:rotate-90 transition-all duration-300"})})]}),(0,a.jsx)("div",{className:"flex-1 max-w-7xl mx-auto w-full px-6 md:px-12 py-10",children:(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6",children:b.map((e,t)=>(0,a.jsxs)(s.E.div,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{duration:.4,delay:.05*t},onClick:()=>h(t),className:"group relative aspect-[4/3] rounded-[20px] overflow-hidden bg-black/40 border border-white/10 cursor-pointer shadow-lg",children:[(0,a.jsx)("img",{src:e.src,alt:e.title||m,onError:()=>{(0,f.se)(e.id,e.storagePath,e.src)},className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 ease-out",loading:"lazy"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-[#231811]/40 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center backdrop-blur-[2px]",children:(0,a.jsx)("div",{className:"w-12 h-12 rounded-full bg-white/10 border border-white/20 backdrop-blur-md flex items-center justify-center text-white transform scale-90 group-hover:scale-100 transition-transform",children:(0,a.jsx)(o,{className:"w-5 h-5"})})})]},e.id||t))})}),(0,a.jsxs)("div",{className:"px-6 md:px-12 py-6 border-t border-white/10 text-center text-xs text-white/40 font-light",children:[m," â Iara Interiors"]}),(0,a.jsx)(l.M,{children:null!==x&&w&&(0,a.jsxs)(s.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:()=>h(null),className:"fixed inset-0 z-60 bg-[#1C130D]/98 backdrop-blur-2xl flex flex-col justify-between p-6 md:p-12 cursor-zoom-out",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center w-full relative z-20",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-mirage text-white tracking-wide",children:m}),(0,a.jsxs)("span",{className:"text-xs text-white/50 font-light",children:["Foto ",x+1," de ",b.length]})]}),(0,a.jsx)("button",{onClick:()=>h(null),className:"w-10 h-10 rounded-full bg-white/10 hover:bg-white/20 border border-white/10 flex items-center justify-center transition-all duration-300",children:(0,a.jsx)(c.Z,{className:"w-5 h-5 text-white"})})]}),(0,a.jsxs)("div",{className:"flex-1 flex items-center justify-between w-full max-w-6xl mx-auto my-6 relative",children:[b.length>1&&(0,a.jsx)("button",{onClick:e=>{null==e||e.stopPropagation(),null!==x&&b.length>0&&h((x-1+b.length)%b.length)},className:"w-12 h-12 rounded-full bg-white/10 hover:bg-white/20 border border-white/15 flex items-center justify-center transition-all text-white absolute left-0 md:relative z-30",children:(0,a.jsx)(d.Z,{className:"w-6 h-6"})}),(0,a.jsx)("div",{className:"flex-1 h-[65vh] flex items-center justify-center p-4",children:(0,a.jsx)("img",{src:w.src,alt:m,className:"max-w-full max-h-[60vh] object-contain rounded-2xl shadow-2xl cursor-default",onClick:e=>e.stopPropagation()})}),b.length>1&&(0,a.jsx)("button",{onClick:e=>{null==e||e.stopPropagation(),null!==x&&b.length>0&&h((x+1)%b.length)},className:"w-12 h-12 rounded-full bg-white/10 hover:bg-white/20 border border-white/15 flex items-center justify-center transition-all text-white absolute right-0 md:relative z-30",children:(0,a.jsx)(u.Z,{className:"w-6 h-6"})})]}),(0,a.jsx)("div",{className:"text-center text-xs text-white/40 font-light",children:"Presione ESC o haga clic afuera para cerrar"})]})})]})})}var j=!0;function N(e){let{images:t}=e,{t:r,language:n}=(0,p.Z)(),[b,w]=(0,i.useState)("residential"),[j,N]=(0,i.useState)(null),[k,E]=(0,i.useState)(null),[z,C]=(0,i.useState)(t&&t.length>0?t:g.I),[P,F]=(0,i.useState)([]),[I,S]=(0,i.useState)(!0);(0,i.useEffect)(()=>{let e=(0,f.KU)(e=>{C(e||[]),S(!1)}),t=(0,f.QI)(e=>{F(e||[])});return()=>{"function"==typeof e&&e(),"function"==typeof t&&t()}},[]),(0,i.useEffect)(()=>(null!==j?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[j]),(0,i.useEffect)(()=>{null===j||z[j]||N(null)},[j,z]);let A=new Set;P.forEach(e=>{e.images&&e.images.forEach(e=>{e.src&&A.add(e.src)})});let O=z.filter(e=>e&&e.src&&"string"==typeof e.src&&""!==e.src.trim()&&!A.has(e.src)).filter(e=>e.category===b),Z=[...P.filter(e=>e.category===b).map(e=>({type:"project",data:e,id:"proj-".concat(e.id),sortOrder:void 0!==e.sortOrder?e.sortOrder:Number.MAX_SAFE_INTEGER,createdAt:e.createdAt||0})),...O.map(e=>({type:"image",data:e,id:"img-".concat(e.id),sortOrder:void 0!==e.sortOrder?e.sortOrder:Number.MAX_SAFE_INTEGER,createdAt:e.createdAt||0}))].sort((e,t)=>e.sortOrder!==t.sortOrder?e.sortOrder-t.sortOrder:t.createdAt-e.createdAt),_=e=>{if(null==e||e.stopPropagation(),null!==j&&O.length>0){let e=z[j];if(!e)return;let t=(O.findIndex(t=>t.id===e.id)+1)%O.length,r=z.findIndex(e=>e.id===O[t].id);-1!==r&&N(r)}},M=e=>{if(null==e||e.stopPropagation(),null!==j&&O.length>0){let e=z[j];if(!e)return;let t=(O.findIndex(t=>t.id===e.id)-1+O.length)%O.length,r=z.findIndex(e=>e.id===O[t].id);-1!==r&&N(r)}};(0,i.useEffect)(()=>{let e=e=>{null!==j&&("Escape"===e.key&&N(null),"ArrowRight"===e.key&&_(),"ArrowLeft"===e.key&&M())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[j,O]);let L=null!==j?z[j]:null;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.H,{title:r("galleryPage.seoTitle"),description:r("galleryPage.seoDesc"),path:"/gallery",language:n}),(0,a.jsxs)("main",{className:"bg-background text-foreground overflow-x-hidden",children:[(0,a.jsx)(x,{title:r("galleryPage.heroTitle"),description:r("galleryPage.heroDesc")}),(0,a.jsxs)("section",{className:"pt-10 pb-24 px-6 md:px-12 max-w-7xl mx-auto",children:[(0,a.jsx)("div",{className:"flex flex-wrap justify-center items-center gap-4 md:gap-8 mb-16",children:[{key:"residential",labelKey:"galleryPage.filterResidential"},{key:"commercial",labelKey:"galleryPage.filterCommercial"}].map(e=>{let t=b===e.key;return(0,a.jsxs)("button",{onClick:()=>w(e.key),className:"relative px-6 py-3 text-sm tracking-[0.2em] uppercase font-light transition-colors duration-500 focus:outline-none ".concat(t?"text-white font-normal":"text-foreground
1/60 hover:text-[#6F724E]"),children:[(0,a.jsx)("span",{className:"relative z-10",children:r(e.labelKey)}),t&&(0,a.jsx)(s.E.div,{layoutId:"gallery-tab-active",className:"absolute inset-0 bg-[#6F724E] rounded-full z-0 shadow-md shadow-[#6F724E]/10",transition:{type:"spring",stiffness:380,damping:30}})]},e.key)})}),I&&(0,a.jsx)("div",{className:"columns-1 sm:columns-2 lg:columns-3 gap-6 space-y-6",children:[1,2,3,4,5,6].map(e=>(0,a.jsx)("div",{className:"aspect-[3/4] rounded-[24px] bg-white/5 animate-pulse border border-white/10"},e))}),!I&&(0,a.jsx)(a.Fragment,{children:0===Z.length?(0,a.jsx)("div",{className:"text-center py-20 bg-white/5 border border-white/10 rounded-[32px] p-12",children:(0,a.jsx)("p",{className:"text-sm uppercase tracking-widest text-white/60 font-light",children:"No hay fotograf\xedas ni colecciones disponibles en esta categor\xeda por el momento."})}):(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 items-start",children:(0,a.jsx)(l.M,{mode:"popLayout",children:Z.map(e=>{if("project"===e.type){let t=e.data;return(0,a.jsx)(s.E.div,{layout:!0,initial:{opacity:0,y:30},animate:{opacity:1,y:0},exit:{opacity:0,scale:.9,y:20},transition:{duration:.6,ease:"easeOut"},className:"w-full",children:(0,a.jsx)(v,{project:t,onClick:()=>E(t)})},e.id)}let t=e.data,r=z.findIndex(e=>e.id===t.id),i=("es"===n?t.titleEs:t.title)||t.titleEs||t.title||"";return("es"===n?t.descriptionEs:t.description)||t.descriptionEs||t.description,(0,a.jsx)(s.E.div,{layout:!0,initial:{opacity:0,y:30},animate:{opacity:1,y:0},exit:{opacity:0,scale:.9,y:20},transition:{duration:.6,ease:"easeOut"},onClick:()=>N(r),className:"w-full relative aspect-[3/4] overflow-hidden rounded-[28px] group cursor-pointer bg-transparent border-0 border-none shadow-none",children:(0,a.jsxs)("div",{className:"relative aspect-[3/4] w-full h-full overflow-hidden border-0 border-none rounded-[28px]",children:[(0,a.jsx)("img",{src:t.src,alt:i||"Gallery image",onError:()=>{(0,f.se)(t.id,t.storagePath,t.src)},className:"w-full h-full object-cover transform scale-100 group-hover:scale-105 transition-transform duration-[1200ms] ease-out border-0 border-none rounded-[28px]",loading:"lazy"}),(0,a.jsxs)("div",{className:"absolute inset-0 bg-[#231811]/40 opacity-0 group-hover:opacity-100 transition-opacity duration-500 ease-in-out flex flex-col justify-end p-8 z-10 backdrop-blur-[2px] rounded-[28px]",children:[!1,(0,a.jsx)("div",{className:"absolute top-6 right-6 w-10 h-10 rounded-full bg-white/10 border border-white/20 backdrop-blur-md flex items-center justify-center opacity-0 group-hover:opacity-100 transform translate-y-[-10px] group-hover:translate-y-0 transition-all duration-500",children:(0,a.jsx)(o,{className:"w-4 h-4 text-white font-light"})})]})]})},e.id)})})})})]}),(0,a.jsx)(y,{project:k,onClose:()=>E(null)}),(0,a.jsx)(h.J,{}),(0,a.jsx)(l.M,{children:null!==j&&L&&(0,a.jsxs)(s.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:()=>N(null),className:"fixed inset-0 z-50 bg-[#1C130D]/95 backdrop-blur-2xl flex flex-col justify-between p-6 md:p-12 cursor-zoom-out",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center w-full relative z-20",children:[(0,a.jsx)("div",{}),(0,a.jsx)("button",{onClick:()=>N(null),className:"w-12 h-12 rounded-full bg-white/5 hover:bg-white/15 border border-white/10 flex items-center justify-center transition-all duration-300 group focus:outline-none",children:(0,a.jsx)(c.Z,{className:"w-5 h-5 text-white/70 group-hover:text-white group-hover:rotate-90 transition-all duration-300"})})]}),(0,a.jsxs)("div",{className:"flex-1 flex items-center justify-between w-full max-w-6xl mx-auto my-6 md:my-10 relative",children:[(0,a.jsx)("button",{onClick:M,className:"w-14 h-14 rounded-full bg-white/5 hover:bg-white/10 border border-white/10 flex items-center justify-center transition-all duration-300 group focus:outline-none absolute left-0 md:relative z-20 hover:scale-105",children:(0,a.jsx)(d.Z,{className:"w-6 h-6 text-white/70 group-hover:text-white"})}),(0,a.jsx)("div",{className:"flex-1 h-[60vh] md:h-[70vh] flex items-center justify-center p-4 relative z-10",children:(0,a.jsx)(l.M,{mode:"wait",children:(0,a.jsx)(s.E.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.4},className:"relative max-w-full max-h-full aspect-auto shadow-2xl rounded-[32px] overflow-hidden border-0 border-none bg-transparent",children:(0,a.jsx)("img",{src:L.src,alt:("es"===n?L.titleEs:L.title)||"Gallery image",className:"max-w-full max-h-[55vh] md:max-h-[65vh] object-contain cursor-default border-0 border-none outline-none",onClick:e=>e.stopPropagation()})},j)})}),(0,a.jsx)("button",{onClick:_,className:"w-14 h-14 rounded-full bg-white/5 hover:bg-white/10 border border-white/10 flex items-center justify-center transition-all duration-300 group focus:outline-none absolute right-0 md:relative z-20 hover:scale-105",children:(0,a.jsx)(u.Z,{className:"w-6 h-6 text-white/70 group-hover:text-white"})})]}),(0,a.jsxs)("div",{className:"w-full text-center relative z-20 max-w-2xl mx-auto",children:[!1,(0,a.jsxs)("div",{className:"mt-4 text-xs text-white/40 font-light tracking-widest",children:[j+1," / ",z.length]})]})]})})]})]})}}}]);
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.