"use strict";

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

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

var _i18n = require("../i18n");

var _SvgIcon = _interopRequireDefault(require("./SvgIcon"));

var _classnames = _interopRequireDefault(require("classnames"));

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

function _extends() { _extends = Object.assign || 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); }

var defaultProps = {
  className: '',
  viewBox: '0 0 20 20'
};

function PlusCircleIcon(props) {
  var iconCssClasses = (0, _classnames.default)('ds-c-icon--plus-circle', props.className);
  return /*#__PURE__*/_react.default.createElement(_SvgIcon.default, _extends({
    title: (0, _i18n.t)('icons.add')
  }, defaultProps, props, {
    className: iconCssClasses
  }), /*#__PURE__*/_react.default.createElement("g", {
    stroke: "none",
    strokeWidth: "1",
    fill: "none",
    fillRule: "evenodd"
  }, /*#__PURE__*/_react.default.createElement("g", {
    transform: "translate(-47.000000, -360.000000)"
  }, /*#__PURE__*/_react.default.createElement("g", {
    transform: "translate(49.000000, 362.000000)"
  }, /*#__PURE__*/_react.default.createElement("circle", {
    className: "ds-c-icon--plus-circle__circle",
    stroke: "currentColor",
    strokeWidth: "2",
    fill: "#FFFFFF",
    cx: "8",
    cy: "8",
    r: "9"
  }), /*#__PURE__*/_react.default.createElement("g", {
    className: "ds-c-icon--plus-circle__group",
    transform: "translate(2.823529, 2.823529)",
    fill: "currentColor"
  }, /*#__PURE__*/_react.default.createElement("rect", {
    x: "4.4",
    y: "0",
    width: "1.55294118",
    height: "10.3529412",
    rx: "0.776470588"
  }), /*#__PURE__*/_react.default.createElement("path", {
    d: "M5.17647059,-4.70734562e-14 C5.60530345,-4.71522316e-14 5.95294118,0.347637724 5.95294118,0.776470588 L5.95294118,9.57647059 C5.95294118,10.0053035 5.60530345,10.3529412 5.17647059,10.3529412 C4.74763772,10.3529412 4.4,10.0053035 4.4,9.57647059 L4.4,4.53287291 L4.4,0.776470588 C4.4,0.347637724 4.74763772,-4.69946809e-14 5.17647059,-4.70734562e-14 Z",
    transform: "translate(5.176471, 5.176471) rotate(-270.000000) translate(-5.176471, -5.176471) "
  }))))));
}

var _default = PlusCircleIcon;
exports.default = _default;