"use strict";

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

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

var _helper = require("./helper");

var _excluded = ["size", "color", "style"];

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

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) { _defineProperty(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; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

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 DEFAULT_STYLE = {
  display: 'block'
};

var KqJiankang = function KqJiankang(_ref) {
  var size = _ref.size,
      color = _ref.color,
      _style = _ref.style,
      rest = _objectWithoutProperties(_ref, _excluded);

  var style = _style ? _objectSpread(_objectSpread({}, DEFAULT_STYLE), _style) : DEFAULT_STYLE;
  return /*#__PURE__*/_react.default.createElement("svg", _objectSpread({
    viewBox: "0 0 1024 1024",
    width: size + 'px',
    height: size + 'px',
    style: style
  }, rest), /*#__PURE__*/_react.default.createElement("path", {
    d: "M731.78800001 21.34033333H330.08400001C168.975 21.34033333 37.89999999 152.41433332 37.89999999 313.52433333v99.579c0 15.77 12.782 28.554 28.55400001 28.55399999s28.554-12.785 28.554-28.55399999v-99.58c0-129.62000001 105.455-235.075 235.07599999-235.075h401.70400002c129.62000001 0 235.075 105.455 235.07499999 235.076v401.707c0 129.62000001-105.455 235.07-235.07499999 235.07H330.08400001c-129.62000001 0-235.07599999-105.45-235.07600001-235.07V595.85033333h116.12399999a28.552 28.552 0 0 0 26.01700001-16.786l26.01600001-57.51599999L370.51 782.96933332a28.55 28.55 0 0 0 27.4 17.69100001 28.561 28.561 0 0 0 26.116-19.54699999l138.99-419.02300001 58.463 206.88c3.474 12.29700001 14.70000001 20.791 27.47800001 20.79099999h224.62999999c15.771 0 28.55299999-12.782 28.55300001-28.55399999s-12.782-28.554-28.55400001-28.554H670.56400001l-77.88200001-275.606c-3.413-12.069-14.30000001-20.50000001-26.837-20.78-12.36400002-0.363-23.79600001 7.649-27.74500001 19.555l-144.02699999 434.19-103.22900001-251.397a28.542 28.542 0 0 0-25.90999999-17.701c-11.266-0.40399999-21.82400001 6.39699999-26.52 16.781l-45.703 101.047H28.576C12.80400001 538.74233333 0.01999999 551.52333333 0.01999999 567.29633333s12.783 28.554 28.55500001 28.554H37.89999999v119.381c0 161.10799999 131.07499999 292.178 292.18400002 292.17800001h401.704c161.113 0 292.183-131.07 292.18299999-292.17800001V313.52433333c0-161.11-131.07-292.184-292.18299999-292.184z",
    fill: (0, _helper.getIconColor)(color, 0, '#333333')
  }));
};

KqJiankang.defaultProps = {
  size: 18
};
var _default = KqJiankang;
exports.default = _default;