import{a as f}from"./chunk-UYRA6EEC.mjs";import{a as u}from"./chunk-XMHXDIAL.mjs";import{a as p}from"./chunk-NLW76XUU.mjs";import{b as a}from"./chunk-TBBAFJWA.mjs";import{Logo as w}from"@baseapp-frontend/design-system/components/web/logos";import{useResponsive as N}from"@baseapp-frontend/design-system/hooks/web";import{hideScroll as P}from"@baseapp-frontend/design-system/styles/web";import D from"@mui/material/Box";import I from"@mui/material/Stack";import{jsx as n,jsxs as g}from"react/jsx-runtime";function i(e){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(e)}function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),o.push.apply(o,r)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?m(Object(o),!0).forEach(function(r){O(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function O(e,t,o){return(t=x(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function x(e){var t=S(e,"string");return i(t)=="symbol"?t:t+""}function S(e,t){if(i(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,t||"default");if(i(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var M=function(t){var o=t.navData,r=t.settings,s=t.setSettings,l=t.LogoIcon,b=t.openNav,y=t.onCloseNav,c=t.hideToggleButton,v=c===void 0?!1:c,d=N("down","lg");return d?n(p,{navData:o,openNav:b,onCloseNav:y}):g(D,{sx:{flexShrink:{lg:0},width:{lg:a.MINI},display:{xs:"none",lg:"flex"}},children:[!v&&n(u,{settings:r,setSettings:s,sx:{top:22,left:a.MINI-12}}),g(I,{sx:j({pb:2,height:1,position:"fixed",width:a.MINI,borderRight:function(h){return"solid 1px ".concat(h.palette.divider)}},P.x),children:[l&&n(w,{sx:{mx:"auto",my:2},children:n(l,{})}),n(f,{navData:o})]})]})},H=M;export{H as a};
//# sourceMappingURL=chunk-SGH6G2QP.mjs.map