"use strict";

exports.__esModule = true;
exports.default = CommentsObjectSkeleton;

var _react = _interopRequireDefault(require("react"));

var _Card = _interopRequireDefault(require("@mui/material/Card"));

var _CardContent = _interopRequireDefault(require("@mui/material/CardContent"));

var _List = _interopRequireDefault(require("@mui/material/List"));

var _styles = require("@mui/material/styles");

var _CommentObject = _interopRequireDefault(require("../CommentObject"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const PREFIX = 'SCCommentsObjectSkeleton';
const classes = {
  list: `${PREFIX}-list`
};
const Root = (0, _styles.styled)(_Card.default)(({
  theme
}) => ({
  maxWidth: 700,
  [`& .${classes.list}`]: {
    marginLeft: -16,
    marginRight: -16
  }
}));

function CommentsObjectSkeleton(props) {
  return /*#__PURE__*/_react.default.createElement(Root, props, /*#__PURE__*/_react.default.createElement(_CardContent.default, null, /*#__PURE__*/_react.default.createElement(_List.default, {
    className: classes.list
  }, [...Array(4)].map((category, index) => /*#__PURE__*/_react.default.createElement(_CommentObject.default, {
    key: index,
    elevation: 0
  })))));
}