"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 _chunk26XD5FGJjs = require('./chunk-26XD5FGJ.js');var _chunkHHU6YSERjs = require('./chunk-HHU6YSER.js');var _chunkRGECN4R7js = require('./chunk-RGECN4R7.js');var _chunkJYVHHROZjs = require('./chunk-JYVHHROZ.js');var _logos = require('@baseapp-frontend/design-system/components/web/logos');var _scrollbars = require('@baseapp-frontend/design-system/components/web/scrollbars');var _web = require('@baseapp-frontend/design-system/hooks/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(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,r)}return o}function c(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){S(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 S(e,t,o){return(t=w(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function w(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 V=function(t){var o=t.settings,r=t.setSettings,a=t.navData,p=t.LogoIcon,l=t.LogoProps,d=t.openNav,h=t.onCloseNav,u=t.hideToggleButton,x=u===void 0?!1:u,j=_web.useResponsive.call(void 0, "down","lg");return j?_jsxruntime.jsx.call(void 0, _chunkHHU6YSERjs.a,{navData:a,openNav:d,onCloseNav:h}):_jsxruntime.jsxs.call(void 0, _Box2.default,{sx:{flexShrink:{lg:0},width:{lg:_chunkJYVHHROZjs.b.VERTICAL},display:{xs:"none",lg:"flex"}},children:[!x&&_jsxruntime.jsx.call(void 0, _chunk26XD5FGJjs.a,{settings:o,setSettings:r}),_jsxruntime.jsx.call(void 0, _Stack2.default,{sx:{height:1,position:"fixed",width:_chunkJYVHHROZjs.b.VERTICAL,borderRight:function(O){return"solid 1px ".concat(O.palette.divider)}},children:_jsxruntime.jsxs.call(void 0, _scrollbars.Scrollbar,{sx:{height:1,"& .simplebar-content":{height:1,display:"flex",flexDirection:"column"}},children:[p&&_jsxruntime.jsx.call(void 0, _logos.Logo,c(c({},l),{},{sx:c({mt:3,ml:4,mb:1},_optionalChain([l, 'optionalAccess', _ => _.sx])),children:_jsxruntime.jsx.call(void 0, p,{})})),_jsxruntime.jsx.call(void 0, _chunkRGECN4R7js.a,{navData:a}),_jsxruntime.jsx.call(void 0, _Box2.default,{sx:{flexGrow:1}})]})})]})},W= exports.a =V;exports.a = W;
//# sourceMappingURL=chunk-VK24SFLB.js.map