"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Pane = void 0;

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _propTypes = _interopRequireDefault(require("prop-types"));

var _color = _interopRequireDefault(require("../../../mixins/color"));

var _spacing = _interopRequireDefault(require("../../../mixins/spacing"));

var _border = _interopRequireDefault(require("../../../mixins/border"));

var _background = _interopRequireDefault(require("../../../mixins/background"));

var _visible = _interopRequireDefault(require("../../../mixins/visible"));

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

var Pane = _styledComponents["default"].div.withConfig({
  displayName: "src__Pane",
  componentId: "jeg95-0"
})(["", " ", ";", ";", ";", ";", ";"], function (_ref) {
  var containment = _ref.containment;
  return containment && "contain: ".concat(containment, ";");
}, _color["default"], _spacing["default"], _border["default"], _background["default"], _visible["default"]);

exports.Pane = Pane;
Pane.propTypes = _objectSpread({}, _color["default"].propTypes, {}, _border["default"].propTypes, {}, _spacing["default"].propTypes, {}, _background["default"].propTypes, {}, _visible["default"].propTypes, {
  containment: _propTypes["default"].string
});
Pane.displayName = 'Pane';
Pane.Constrained = (0, _styledComponents["default"])(Pane).withConfig({
  displayName: "src__Constrained",
  componentId: "jeg95-1"
})(["margin-left:auto;margin-right:auto;max-width:", "px;"], function (_ref2) {
  var theme = _ref2.theme;
  return theme.breakpoints.xl;
});
Pane.Constrained.propTypes = Pane.propTypes;
Pane.Constrained.displayName = 'Pane.Constrained';
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9jb21wb25lbnRzL1BhbmUvc3JjL2luZGV4LmpzIl0sIm5hbWVzIjpbIlBhbmUiLCJzdHlsZWQiLCJkaXYiLCJjb250YWlubWVudCIsImNvbG9yTWl4aW4iLCJzcGFjaW5nTWl4aW4iLCJib3JkZXJNaXhpbiIsImJhY2tncm91bmRNaXhpbiIsInZpc2libGVNaXhpbiIsInByb3BUeXBlcyIsIlByb3BUeXBlcyIsInN0cmluZyIsImRpc3BsYXlOYW1lIiwiQ29uc3RyYWluZWQiLCJ0aGVtZSIsImJyZWFrcG9pbnRzIiwieGwiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBRUE7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7Ozs7OztBQUVPLElBQU1BLElBQUksR0FBR0MsNkJBQU9DLEdBQVY7QUFBQTtBQUFBO0FBQUEsdUNBQ2I7QUFBQSxNQUFHQyxXQUFILFFBQUdBLFdBQUg7QUFBQSxTQUFxQkEsV0FBVyx1QkFBZ0JBLFdBQWhCLE1BQWhDO0FBQUEsQ0FEYSxFQUViQyxpQkFGYSxFQUdiQyxtQkFIYSxFQUliQyxrQkFKYSxFQUtiQyxzQkFMYSxFQU1iQyxtQkFOYSxDQUFWOzs7QUFTUFIsSUFBSSxDQUFDUyxTQUFMLHFCQUNLTCxrQkFBV0ssU0FEaEIsTUFFS0gsbUJBQVlHLFNBRmpCLE1BR0tKLG9CQUFhSSxTQUhsQixNQUlLRix1QkFBZ0JFLFNBSnJCLE1BS0tELG9CQUFhQyx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