import {
  NAV_PADDING_DOWN_TO_LG,
  NAV_PADDING_UP_TO_LG,
  NAV_WIDTH
} from "./chunk-H2T3FU4G.mjs";

// tmp-babel/navigations/web/NavigationLayout/MainContainer/styled.js
import { Box } from "@mui/material";
import { styled } from "@mui/material/styles";
function _typeof(o) {
  "@babel/helpers - typeof";
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
    return typeof o2;
  } : function(o2) {
    return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
  }, _typeof(o);
}
function _defineProperty(e, r, t) {
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e;
}
function _toPropertyKey(t) {
  var i = _toPrimitive(t, "string");
  return "symbol" == _typeof(i) ? i : i + "";
}
function _toPrimitive(t, r) {
  if ("object" != _typeof(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != _typeof(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}
var CommonContainer = styled(Box)(function(_ref) {
  var theme = _ref.theme;
  return _defineProperty({
    backgroundColor: theme.palette.background["default"],
    paddingLeft: theme.spacing(1.5),
    paddingRight: theme.spacing(1.5)
  }, theme.breakpoints.up("lg"), {
    paddingLeft: theme.spacing(5),
    paddingRight: theme.spacing(5)
  });
});
var NavHorizontalContainer = styled(CommonContainer)(function(_ref3) {
  var theme = _ref3.theme;
  return _defineProperty(_defineProperty({
    display: "flex",
    flexDirection: "column",
    minHeight: 1,
    paddingBottom: NAV_PADDING_DOWN_TO_LG.horizontal.bottom,
    paddingTop: NAV_PADDING_DOWN_TO_LG.horizontal.top
  }, theme.breakpoints.up("lg"), {
    paddingTop: NAV_PADDING_DOWN_TO_LG.horizontal.top,
    paddingBottom: NAV_PADDING_UP_TO_LG.horizontal.bottom
  }), theme.breakpoints.down("sm"), {
    paddingBottom: 0
  });
});
var NavCenteredContainer = styled(NavHorizontalContainer)(function(_ref5) {
  var theme = _ref5.theme;
  return _defineProperty(_defineProperty({
    paddingTop: NAV_PADDING_DOWN_TO_LG.centered.top,
    paddingBottom: NAV_PADDING_DOWN_TO_LG.centered.bottom
  }, theme.breakpoints.up("lg"), {
    paddingTop: NAV_PADDING_UP_TO_LG.centered.top,
    paddingBottom: NAV_PADDING_UP_TO_LG.centered.bottom
  }), theme.breakpoints.down("sm"), {
    paddingBottom: 0
  });
});
var NavVerticalContainer = styled(CommonContainer, {
  shouldForwardProp: function shouldForwardProp(prop) {
    return prop !== "isNavMini";
  }
})(function(_ref7) {
  var theme = _ref7.theme, _ref7$isNavMini = _ref7.isNavMini, isNavMini = _ref7$isNavMini === void 0 ? false : _ref7$isNavMini;
  return _defineProperty(_defineProperty({
    display: "flex",
    flexDirection: "column",
    flexGrow: 1,
    minHeight: 1,
    paddingTop: NAV_PADDING_DOWN_TO_LG.vertical.top,
    paddingBottom: NAV_PADDING_DOWN_TO_LG.vertical.bottom,
    paddingLeft: 0,
    paddingRight: 0
  }, theme.breakpoints.up("lg"), {
    paddingTop: NAV_PADDING_UP_TO_LG.vertical.top,
    paddingBottom: NAV_PADDING_UP_TO_LG.vertical.bottom,
    paddingLeft: theme.spacing(2),
    paddingRight: theme.spacing(2),
    width: isNavMini ? "calc(100% - ".concat(NAV_WIDTH.MINI, "px)") : "calc(100% - ".concat(NAV_WIDTH.VERTICAL, "px)")
  }), theme.breakpoints.down("sm"), {
    paddingBottom: 0
  });
});

export {
  CommonContainer,
  NavHorizontalContainer,
  NavCenteredContainer,
  NavVerticalContainer
};
//# sourceMappingURL=chunk-O6TO4PGB.mjs.map