"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _chunkUQXHNZJWjs = require('./chunk-UQXHNZJW.js');


var _chunkBULDV55Zjs = require('./chunk-BULDV55Z.js');

// tmp-babel/navigations/web/NavCentered/index.js
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
var _scrollbars = require('@baseapp-frontend/design-system/components/web/scrollbars');
var _web = require('@baseapp-frontend/design-system/hooks/web');
var _jsxruntime = require('react/jsx-runtime');
var NavCentered = function NavCentered2(_ref) {
  var navData = _ref.navData, openNav = _ref.openNav, onCloseNav = _ref.onCloseNav;
  var lgDown = _web.useResponsive.call(void 0, "down", "lg");
  if (lgDown) {
    return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, {
      children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBULDV55Zjs.VerticalDrawer_default, {
        navData,
        openNav,
        onCloseNav
      }), /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {})]
    });
  }
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _scrollbars.Scrollbar, {
    sx: {
      "& .simplebar-content": {
        display: "flex"
      }
    },
    children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQXHNZJWjs.NavSectionHorizontal_default, {
      navData,
      hasTabLayout: true
    })
  });
};
var NavCentered_default = /* @__PURE__ */ _react.memo.call(void 0, NavCentered);



exports.NavCentered_default = NavCentered_default;
//# sourceMappingURL=chunk-2KOG3UOW.js.map