try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="55f6a02b-6526-4235-9120-5fdb642c0507",e._sentryDebugIdIdentifier="sentry-dbid-55f6a02b-6526-4235-9120-5fdb642c0507")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[893],{16175:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var l=s(95155),i=s(1633),a=s(52927);function n(e){let{children:t,className:s,variants:n=a.tE}=e;return(0,l.jsx)(i.P.div,{className:s,variants:n,children:t})}},24700:(e,t,s)=>{"use strict";s.d(t,{default:()=>x});var l=s(95155),i=s(12115),a=s(6874),n=s.n(a),r=s(29706),c=s(32941),d=s(61537),o=s(16175);function x(e){let{projects:t}=e,[s,a]=(0,i.useState)("All"),x=["All",...Array.from(new Set(t.map(e=>e.category).filter(Boolean)))],m="All"===s?t:t.filter(e=>e.category===s),h=m.filter(e=>!0===e.featured),u=m.filter(e=>!0!==e.featured);return(0,l.jsx)(c.mc,{children:(0,l.jsxs)(d.A,{children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("div",{className:"flex flex-wrap gap-2 mb-8 justify-center",children:x.map(e=>(0,l.jsx)("button",{onClick:()=>a(e),className:"px-4 py-2 rounded-md text-sm font-medium ".concat(s===e?"bg-accent text-text-primary":"bg-surface-600 text-text-secondary hover:bg-surface-500 hover:text-text-primary"),children:e},e))})}),(0,l.jsxs)("div",{className:"relative",children:[h.length>0&&(0,l.jsxs)("div",{className:"mb-12",children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("h3",{className:"text-xl font-display text-white mb-6 text-center",children:"Featured Projects"})}),(0,l.jsx)("div",{className:"grid md:grid-cols-2 gap-6",children:h.map(e=>{let t=new Date(e.createdAt).getFullYear().toString();return(0,l.jsx)(o.A,{children:(0,l.jsxs)(n(),{href:"/projects/".concat(e.id),className:"group relative overflow-hidden rounded",children:[(0,l.jsxs)("div",{className:"aspect-cinema relative overflow-hidden",children:[(0,l.jsx)(r.default,{src:e.thumbnail,alt:e.title,fill:!0,className:"object-cover",placeholderText:"Project Thumbnail"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-70"})]}),(0,l.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-5 z-10 pointer-events-none",children:[(0,l.jsxs)("p",{className:"text-accent text-xs font-medium mb-1",children:[e.category||"Project"," • ",t]}),(0,l.jsx)("h3",{className:"text-white text-xl font-bold",children:e.title})]}),(0,l.jsx)("div",{className:"absolute top-3 left-3",children:(0,l.jsx)("span",{className:"badge badge-accent text-xs",children:"FEATURED"})})]})},e.id)})})]}),u.length>0&&(0,l.jsxs)("div",{children:[h.length>0&&(0,l.jsx)(o.A,{children:(0,l.jsx)("h3",{className:"text-xl font-display text-white mb-6 text-center",children:"All Projects"})}),(0,l.jsx)("div",{className:"grid md:grid-cols-3 gap-4",children:u.map(e=>{let t=new Date(e.createdAt).getFullYear().toString();return(0,l.jsx)(o.A,{children:(0,l.jsxs)(n(),{href:"/projects/".concat(e.id),className:"group relative overflow-hidden rounded",children:[(0,l.jsxs)("div",{className:"aspect-cinema relative overflow-hidden",children:[(0,l.jsx)(r.default,{src:e.thumbnail,alt:e.title,fill:!0,className:"object-cover",placeholderText:"Project Thumbnail"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-70"})]}),(0,l.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-4 z-10 pointer-events-none",children:[(0,l.jsxs)("p",{className:"text-accent text-xs font-medium mb-1",children:[e.category||"Project"," • ",t]}),(0,l.jsx)("h3",{className:"text-white text-lg font-bold",children:e.title})]})]})},e.id)})})]})]})]})})}},28445:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,6874,23)),Promise.resolve().then(s.bind(s,24700)),Promise.resolve().then(s.bind(s,29706))},29706:(e,t,s)=>{"use strict";s.d(t,{default:()=>n});var l=s(95155),i=s(66766),a=s(12115);function n(e){let{src:t,alt:s="Image",placeholderText:n="Image Coming Soon",placeholderSize:r,...c}=e,[d,o]=(0,a.useState)(!1),{width:x,height:m,fill:h,sizes:u}=c,f=(0,a.useMemo)(()=>{let e="number"==typeof x?x:(null==r?void 0:r.width)||1200,t="number"==typeof m?m:(null==r?void 0:r.height)||(h?675:800),s=encodeURIComponent(n);return"https://placehold.co/".concat(e,"x").concat(t,"/111113/CCCCCC.png?text=").concat(s)},[x,m,h,r,n]),g=!t||""===t.trim()||d?f:t,p="string"==typeof g&&g.includes("placehold.co"),b="string"==typeof g&&g.startsWith("/images/");return(0,l.jsx)(i.default,{...c,src:g,alt:s,sizes:null!=u?u:h?"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw":void 0,unoptimized:p||b,onError:()=>o(!0)})}},32941:(e,t,s)=>{"use strict";s.d(t,{mc:()=>n,wn:()=>a,xA:()=>r,zY:()=>i});var l=s(95155);function i(e){let{title:t,subtitle:s,actions:i}=e;return(0,l.jsx)("div",{className:"mb-6",children:(0,l.jsxs)("div",{className:"flex items-start justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{className:"text-3xl font-display tracking-tight text-white mb-2",children:t}),s&&(0,l.jsx)("p",{className:"text-text-muted text-base max-w-3xl",children:s})]}),i&&(0,l.jsx)("div",{className:"flex items-center gap-2",children:i})]})})}function a(e){let{children:t,className:s=""}=e;return(0,l.jsx)("section",{className:"section-spacing ".concat(s),children:t})}function n(e){let{children:t,className:s=""}=e;return(0,l.jsx)("div",{className:"w-full px-4 sm:px-6 lg:px-8 ".concat(s),children:t})}function r(e){let{children:t,cols:s=3,gap:i="md",className:a=""}=e;return(0,l.jsx)("div",{className:"grid ".concat({1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}[s]," ").concat({sm:"gap-3",md:"gap-4",lg:"gap-6"}[i]," ").concat(a),children:t})}s(12115)},52927:(e,t,s)=>{"use strict";s.d(t,{bK:()=>i,tE:()=>l});let l={hidden:{opacity:0,y:24,filter:"blur(2px)"},show:{opacity:1,y:0,filter:"blur(0px)",transition:{duration:.6,ease:[.2,.8,.2,1]}}},i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.12;return{hidden:{},show:{transition:{delayChildren:e,staggerChildren:t}}}}},61537:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var l=s(95155),i=s(1633),a=s(52927);function n(e){let{children:t,className:s,delay:n=0,stagger:r=.12,initial:c="hidden",variants:d}=e;return(0,l.jsx)(i.P.section,{className:s,variants:null!=d?d:(0,a.bK)(n,r),initial:c,whileInView:"show",viewport:{once:!0,amount:.15,margin:"0px 0px -10% 0px"},children:t})}}},e=>{e.O(0,[6874,6766,1633,4850,8441,2691,7358],()=>e(e.s=28445)),_N_E=e.O()}]);