"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkEAL6I5F6js = require('./chunk-EAL6I5F6.js');var _chunkJYVHHROZjs = require('./chunk-JYVHHROZ.js');var _react = require('react');var _logos = require('@baseapp-frontend/design-system/components/web/logos');var _scrollbars = require('@baseapp-frontend/design-system/components/web/scrollbars');var _Box = require('@mui/material/Box'); var _Box2 = _interopRequireDefault(_Box);var _Drawer = require('@mui/material/Drawer'); var _Drawer2 = _interopRequireDefault(_Drawer);var _navigation = require('next/navigation');var _jsxruntime = require('react/jsx-runtime');var u=function(r){var m=r.navData,a=r.LogoIcon,t=r.openNav,e=r.onCloseNav,s=_navigation.usePathname.call(void 0, );return _react.useEffect.call(void 0, function(){t&&e()},[s]),_jsxruntime.jsx.call(void 0, _Drawer2.default,{open:t,onClose:e,PaperProps:{sx:{width:_chunkJYVHHROZjs.b.VERTICAL,height:"100% !important"}},children:_jsxruntime.jsxs.call(void 0, _scrollbars.Scrollbar,{sx:{height:1,"& .simplebar-content":{height:1,display:"flex",flexDirection:"column"}},children:[a&&_jsxruntime.jsx.call(void 0, _logos.Logo,{sx:{mt:3,ml:4,mb:1},children:_jsxruntime.jsx.call(void 0, a,{})}),_jsxruntime.jsx.call(void 0, _chunkEAL6I5F6js.a,{navData:m}),_jsxruntime.jsx.call(void 0, _Box2.default,{sx:{flexGrow:1}})]})})},b= exports.a =u;exports.a = b;
//# sourceMappingURL=chunk-76XIEENH.js.map