module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},63021,(a,b,c)=>{b.exports=a.x("@prisma/client-2c3a283f134fdcb6",()=>require("@prisma/client-2c3a283f134fdcb6"))},96835,a=>{"use strict";var b=a.i(63021);let c=globalThis.prisma??new b.PrismaClient({log:["error"]});async function d(){return c.siteContent.findUnique({where:{id:"main"}})}async function e(){return c.galleryImage.findMany({orderBy:{sortOrder:"asc"}})}a.s(["getGalleryImages",0,e,"getSiteContent",0,d],96835)},10585,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},68611,a=>{"use strict";let b={src:a.i(10585).default,width:256,height:256};a.s(["default",0,b])},71768,a=>{"use strict";var b=a.i(7997),c=a.i(3236),d=a.i(32776);async function e({images:a,locale:f}){let g=await (0,d.getTranslations)("gallery");return 0===a.length?(0,b.jsx)("p",{className:"mt-8 text-center text-muted",children:g("empty")}):(0,b.jsx)("ul",{className:"mt-10 grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:a.map(a=>{let d=function(a,b){switch(b){case"ar":return a.altAr||a.altEn;case"ru":return a.altRu||a.altEn;case"it":return a.altIt||a.altEn;default:return a.altEn}}(a,f)||g("imageAltFallback");return(0,b.jsx)("li",{className:"group overflow-hidden rounded-xl border border-border bg-card shadow-[inset_0_0_0_1px_rgba(201,162,39,0.08)]",children:(0,b.jsx)("div",{className:"relative aspect-[4/3] w-full bg-background",children:(0,b.jsx)(c.default,{src:a.url,alt:d,fill:!0,sizes:"(max-width: 768px) 100vw, 33vw",className:"object-cover transition duration-500 group-hover:scale-105",unoptimized:!0})})},a.id)})})}var f=a.i(96835);async function g({params:a}){let{locale:c}=await a,h=await (0,d.getTranslations)("gallery"),i=await (0,f.getGalleryImages)();return(0,b.jsxs)("div",{className:"mx-auto max-w-6xl px-4 py-12 md:px-6 md:py-16",children:[(0,b.jsx)("h1",{className:"font-[family-name:var(--font-display)] text-4xl text-foreground",children:h("title")}),(0,b.jsx)("p",{className:"mt-3 max-w-2xl text-muted",children:h("subtitle")}),(0,b.jsx)(e,{images:i,locale:c})]})}a.s(["default",0,g],71768)},46882,a=>{a.n(a.i(71768))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__0kb91j1._.js.map