import{a as l}from"./chunk-OLZUO2YV.mjs";import{a as h}from"./chunk-UN2FC72M.mjs";import{a as N}from"./chunk-6ML57OEW.mjs";import{a as L}from"./chunk-WR6W66MH.mjs";import{a as P}from"./chunk-525WNRSS.mjs";import{a as s}from"./chunk-ZVMUBEOI.mjs";import{useBoolean as T}from"@baseapp-frontend/utils";import M from"@mui/material/Box";import{jsx as e,Fragment as m,jsxs as i}from"react/jsx-runtime";var C=function(t){var c=t.navData,o=t.settings,d=t.setSettings,r=t.LogoIcon,a=t.LogoProps,u=t.AccountMenu,v=t.AccountMenuProps,p=t.ToolbarProps,g=t.children,n=T(),x=o?.themeLayout==="centered",A=o?.themeLayout==="horizontal",f=o?.themeLayout==="mini";return x?i(m,{children:[e(s,{settings:o,LogoIcon:r,LogoProps:a,onOpenNav:n.onTrue,AccountMenu:u,AccountMenuProps:v,ToolbarProps:p,children:e(N,{navData:c,openNav:n.value,onCloseNav:n.onFalse})}),e(l,{isNavCentered:!0,children:g})]}):A?i(m,{children:[e(s,{settings:o,LogoIcon:r,LogoProps:a,onOpenNav:n.onTrue,AccountMenu:u,AccountMenuProps:v,ToolbarProps:p}),e(L,{navData:c,openNav:n.value,onCloseNav:n.onFalse}),e(l,{isNavHorizontal:!0,children:g})]}):f?i(m,{children:[e(s,{settings:o,LogoIcon:r,LogoProps:a,onOpenNav:n.onTrue,AccountMenu:u,AccountMenuProps:v,ToolbarProps:p}),i(M,{sx:{minHeight:1,display:"flex",flexDirection:{xs:"column",lg:"row"}},children:[e(P,{navData:c,openNav:n.value,onCloseNav:n.onFalse,LogoIcon:r,LogoProps:a,settings:o,setSettings:d}),e(l,{isNavMini:!0,children:g})]})]}):i(m,{children:[e(s,{settings:o,LogoIcon:r,LogoProps:a,onOpenNav:n.onTrue,AccountMenu:u,AccountMenuProps:v,ToolbarProps:p}),i(M,{sx:{minHeight:1,display:"flex",flexDirection:{xs:"column",lg:"row"}},children:[e(h,{navData:c,settings:o,setSettings:d,LogoIcon:r,LogoProps:a,openNav:n.value,onCloseNav:n.onFalse}),e(l,{children:g})]})]})},w=C;export{w as a};
//# sourceMappingURL=chunk-F6MBTPXZ.mjs.map