"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.CheckMarkCircle = void 0;
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _IconBase = require("../IconBase");
var _excluded = ["fill", "stroke"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
var StyledPath = _styledComponents.default.path.withConfig({
  displayName: "CheckMarkCircle__StyledPath",
  componentId: "sc-1p0vtqh-0"
})(["", ""], function (p) {
  var strokeColor = (0, _IconBase.getColor)(p.theme, p.theme.color.svgStokeLight, p.strokeColorFn);
  return "fill: ".concat(strokeColor, ";");
});
var CheckMarkCircle = exports.CheckMarkCircle = function CheckMarkCircle(_ref) {
  var fill = _ref.fill,
    stroke = _ref.stroke,
    props = _objectWithoutProperties(_ref, _excluded);
  return _react.default.createElement(_IconBase.IconBase, _extends({}, props, {
    viewBox: "0 0 24 24"
  }), _react.default.createElement("g", {
    fill: "none",
    fillRule: "evenodd"
  }, _react.default.createElement(StyledPath, {
    d: "M12 23.87c6.627 0 12-5.315 12-11.87C24 5.445 18.627.13 12 .13S0 5.445 0 12c0 6.555 5.373 11.87 12 11.87z",
    strokeColorFn: fill || function () {
      return '#28282A';
    }
  }), _react.default.createElement(StyledPath, {
    d: "M16.474 8.87l.933.927L11 16.174l-3.88-3.861.933-.928L11 14.318z",
    strokeColorFn: stroke || function () {
      return '#FFF';
    }
  })));
};
CheckMarkCircle.displayName = 'OldIcon.CheckMarkCircle';