import{a as l}from"./chunk-EAZHC6P4.mjs";import{a as f}from"./chunk-5LFWBHSF.mjs";import{MenuIcon as P}from"@baseapp-frontend/design-system/components/web/icons";import{Logo as x}from"@baseapp-frontend/design-system/components/web/logos";import w from"@mui/material/IconButton";import S from"@mui/material/Toolbar";import{jsx as i,jsxs as L}from"react/jsx-runtime";function c(o){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(o)}function m(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable})),t.push.apply(t,r)}return t}function n(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?m(Object(t),!0).forEach(function(r){h(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(t,r))})}return o}function h(o,e,t){return(e=j(e))in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function j(o){var e=O(o,"string");return c(e)=="symbol"?e:e+""}function O(o,e){if(c(o)!="object"||!o)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var r=t.call(o,e||"default");if(c(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}var A=function(e){var t=e.settings,r=e.children,s=e.onOpenNav,p=e.LogoIcon,u=e.LogoProps,a=e.AccountMenu,y=a===void 0?l:a,b=e.AccountMenuProps,g=e.ToolbarProps,v=t.themeLayout==="horizontal",d=t.themeLayout==="centered";return i(f,{themeLayout:t.themeLayout,children:L(S,n(n({sx:{height:1,px:{lg:5},justifyContent:"center",gap:2}},g),{},{children:[p&&(v||d)&&i(x,n(n({},u),{},{sx:n({display:{xs:"none",lg:"flex"}},u?.sx),children:i(p,{})})),i(w,{onClick:s,sx:{display:{xs:"flex",lg:"none"}},children:i(P,{})}),i(y,n(n({},b),{},{children:r}))]}))})},H=A;export{H as a};
//# sourceMappingURL=chunk-ZVMUBEOI.mjs.map