"use strict";

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

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

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

var _checkIcon = require("./check-icon.proptypes");

var _checkIcon2 = require("./check-icon.css-rules");

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

var _CheckIcon = function _CheckIcon(_ref) {
  var theme = _ref.theme,
      _ref$size = _ref.size,
      size = _ref$size === void 0 ? 'lg' : _ref$size,
      _ref$inverted = _ref.inverted,
      inverted = _ref$inverted === void 0 ? false : _ref$inverted;
  return _react["default"].createElement("svg", {
    width: (0, _checkIcon2.getSize)({
      size: size
    }),
    height: (0, _checkIcon2.getSize)({
      size: size
    }),
    viewBox: "0 0 51 51",
    version: "1.1"
  }, _react["default"].createElement("g", {
    stroke: "none",
    strokeWidth: "1",
    fill: "none",
    fillRule: "evenodd"
  }, _react["default"].createElement("g", {
    transform: "translate(-694.000000, -202.000000)",
    stroke: (0, _checkIcon2.getStrokeColor)({
      theme: theme,
      inverted: inverted
    }),
    fill: (0, _checkIcon2.getFillColor)({
      theme: theme,
      inverted: inverted
    })
  }, _react["default"].createElement("g", {
    transform: "translate(694.000000, 202.000000)"
  }, _react["default"].createElement("g", {
    transform: "translate(0.089998, 0.089998)"
  }, _react["default"].createElement("path", {
    d: "M1.15500009,25.410002 C1.15500009,38.8076679 12.0132469,49.6650039 25.410002,49.6650039 C38.8076679,49.6650039 49.6650039,38.8067571 49.6650039,25.410002 C49.6650039,12.0123361 38.8067571,1.15500009 25.410002,1.15500009 C12.0123361,1.15500009 1.15500009,12.0132469 1.15500009,25.410002 Z",
    strokeWidth: "2"
  }), _react["default"].createElement("polyline", {
    strokeWidth: "4.62000036",
    points: "16.1700013 25.5912264 22.2216652 32.3400025 34.6500027 18.4800014"
  }))))));
};

var CheckIcon = (0, _styledComponents.withTheme)(_CheckIcon);
exports.CheckIcon = CheckIcon;
CheckIcon.displayName = 'CheckIcon';
CheckIcon.propTypes = _checkIcon.checkIconPropTypes;