(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7581],{87189:(e,l,s)=>{Promise.resolve().then(s.bind(s,99276))},99276:(e,l,s)=>{"use strict";s.d(l,{default:()=>r});var a=s(95155),i=s(12115),n=s(73321),d=s(41605),t=s(35804);function r({children:e}){let[l,s]=(0,i.useState)(!1),o=(0,n.usePathname)();return(0,a.jsxs)("div",{className:"flex h-screen w-full overflow-hidden bg-[var(--bg-primary)]",children:[l&&(0,a.jsx)("div",{className:"fixed inset-0 z-40 bg-black/20 lg:hidden",onClick:()=>s(!1)}),(0,a.jsx)("div",{className:"hidden lg:flex",children:(0,a.jsx)(d.default,{isAdmin:!0})}),(0,a.jsx)("div",{className:`fixed inset-y-0 left-0 z-50 transform lg:hidden transition-transform duration-300 ease-in-out ${l?"translate-x-0":"-translate-x-full"}`,children:(0,a.jsx)(d.default,{isAdmin:!0,onClose:()=>s(!1)})}),(0,a.jsxs)("main",{className:"flex flex-col flex-1 h-full min-w-0 relative transition-colors duration-300 isolate overflow-hidden",children:[(0,a.jsx)(t.default,{onMenuClick:()=>s(!0)},o),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto custom-scrollbar p-6 lg:p-10",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto",children:e})})]})]})}}},e=>{e.O(0,[5730,7924,3242,8475,8500,131,6173,3795,7467,85,9208,8441,3794,7358],()=>e(e.s=87189)),_N_E=e.O()}]);