"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useNavigationItemMap = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty.js"));
const constructor_items_1 = require("../../../../../constructor-items.js");
const innerContext_1 = require("../../../../../context/innerContext/index.js");
const useNavigationItemMap = () => {
    const { navItemMap } = React.useContext(innerContext_1.InnerContext);
    return (0, isEmpty_1.default)(navItemMap) ? constructor_items_1.navItemMap : navItemMap;
};
exports.useNavigationItemMap = useNavigationItemMap;
//# sourceMappingURL=useNavigationItemMap.js.map
