module.exports=[49901,a=>{"use strict";a.s(["AdminLogoutButton",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call AdminLogoutButton() from the server but AdminLogoutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/AdminLogoutButton.tsx <module evaluation>","AdminLogoutButton")},4807,a=>{"use strict";a.s(["AdminLogoutButton",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call AdminLogoutButton() from the server but AdminLogoutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/AdminLogoutButton.tsx","AdminLogoutButton")},70672,a=>{"use strict";a.i(49901);var b=a.i(4807);a.n(b)},64860,a=>{"use strict";var b=a.i(7997),c=a.i(70672),d=a.i(76109),e=a.i(32776);async function f(){let a=await (0,e.getTranslations)("admin.nav"),f=[{href:"/admin",label:a("overview")},{href:"/admin/content",label:a("content")},{href:"/admin/gallery",label:a("gallery")},{href:"/admin/reservations",label:a("reservations")}];return(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-4 border-b border-border bg-card/40 px-4 py-4 md:px-6",children:[(0,b.jsx)("nav",{className:"flex flex-wrap gap-2",children:f.map(({href:a,label:c})=>(0,b.jsx)(d.Link,{href:a,className:"rounded-md px-3 py-2 text-sm text-foreground/90 hover:bg-background hover:text-gold",children:c},a))}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)(d.Link,{href:"/",className:"text-sm text-muted hover:text-gold",children:"← Site"}),(0,b.jsx)(c.AdminLogoutButton,{})]})]})}var g=a.i(9307);async function h({children:a,params:c}){let{locale:d}=await c;return await (0,g.requireAdmin)(d),(0,b.jsxs)("div",{className:"min-h-[60vh]",children:[(0,b.jsx)(f,{}),(0,b.jsx)("div",{className:"mx-auto max-w-6xl px-4 py-10 md:px-6",children:a})]})}a.s(["default",0,h],64860)},20768,a=>{a.n(a.i(64860))}];

//# sourceMappingURL=src_0wt29vw._.js.map