"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkFOL4ADLLjs = require('./chunk-FOL4ADLL.js');var _chunk26XD5FGJjs = require('./chunk-26XD5FGJ.js');var _chunkHHU6YSERjs = require('./chunk-HHU6YSER.js');var _chunkJYVHHROZjs = require('./chunk-JYVHHROZ.js');var _logos = require('@baseapp-frontend/design-system/components/web/logos');var _web = require('@baseapp-frontend/design-system/hooks/web');var _web3 = require('@baseapp-frontend/design-system/styles/web');var _Box = require('@mui/material/Box'); var _Box2 = _interopRequireDefault(_Box);var _Stack = require('@mui/material/Stack'); var _Stack2 = _interopRequireDefault(_Stack);var _jsxruntime = require('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 b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(p){return Object.getOwnPropertyDescriptor(e,p).enumerable})),o.push.apply(o,r)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?b(Object(o),!0).forEach(function(r){O(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function O(e,t,o){return(t=S(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function S(e){var t=P(e,"string");return i(t)=="symbol"?t:t+""}function P(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 T=function(t){var o=t.navData,r=t.settings,p=t.setSettings,u=t.LogoIcon,s=t.LogoProps,y=t.openNav,d=t.onCloseNav,c=t.hideToggleButton,h=c===void 0?!1:c,j=_web.useResponsive.call(void 0, "down","lg");return j?_jsxruntime.jsx.call(void 0, _chunkHHU6YSERjs.a,{navData:o,openNav:y,onCloseNav:d}):_jsxruntime.jsxs.call(void 0, _Box2.default,{sx:{flexShrink:{lg:0},width:{lg:_chunkJYVHHROZjs.b.MINI},display:{xs:"none",lg:"flex"}},children:[!h&&_jsxruntime.jsx.call(void 0, _chunk26XD5FGJjs.a,{settings:r,setSettings:p,sx:{top:22,left:_chunkJYVHHROZjs.b.MINI-12}}),_jsxruntime.jsxs.call(void 0, _Stack2.default,{sx:l({pb:2,height:1,position:"fixed",width:_chunkJYVHHROZjs.b.MINI,borderRight:function(x){return"solid 1px ".concat(x.palette.divider)}},_web3.hideScroll.x),children:[u&&_jsxruntime.jsx.call(void 0, _logos.Logo,l(l({},s),{},{sx:l({mx:"auto",my:2},_optionalChain([s, 'optionalAccess', _ => _.sx])),children:_jsxruntime.jsx.call(void 0, u,{})})),_jsxruntime.jsx.call(void 0, _chunkFOL4ADLLjs.a,{navData:o})]})]})},W= exports.a =T;exports.a = W;
//# sourceMappingURL=chunk-EOCTF5NR.js.map