"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 KqShouye = function KqShouye(_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: "M511.537 0v54.465993a100.462986 100.462986 0 0 1 65.535991 24.741996 64.026991 64.026991 0 0 0 12.315998 12.453998l357.042952 390.226947 1.106999 1.134a33.459995 33.459995 0 0 1-1.604999 45.581994 28.126996 28.126996 0 0 1-19.981998 7.527999h-30.968995a54.409993 54.409993 0 0 0-54.326993 54.465992v323.057956c0 30.829996-23.634997 55.876992-52.693993 55.876992H614.129986v-298.979959a54.409993 54.409993 0 0 0-54.327993-54.465992H449.737009a54.409993 54.409993 0 0 0-54.326993 54.465992v298.979959H224.872039c-29.058996 0-52.693993-25.045997-52.693993-55.904992V590.599919a54.409993 54.409993 0 0 0-54.326992-54.465992H97.426057a30.415996 30.415996 0 0 1-29.419996-31.909996 29.279996 29.279996 0 0 1 7.859999-21.199997l1.107999-1.134L438.44601 87.149988a98.607987 98.607987 0 0 1 73.06299-32.657995V0m0 0a153.129979 153.129979 0 0 0-112.971984 50.064993L37.176065 445.024939a83.441989 83.441989 0 0 0-23.329997 59.252992 84.769988 84.769988 0 0 0 83.634989 86.319988h20.147997v323.058956c0 60.775992 48.072993 110.342985 107.021985 110.342985h189.439974a35.618995 35.618995 0 0 0 35.701996-36.753995V670.553908h110.092984v316.691957a35.645995 35.645995 0 0 0 34.483996 36.725995l1.218 0.028h192.373973c58.948992 0 107.020985-49.566993 107.020986-110.342985V590.598919h31.024995a81.919989 81.919989 0 0 0 58.948992-23.966996 87.814988 87.814988 0 0 0 1.577-121.496984l-361.49995-395.096946a12.287998 12.287998 0 0 1-6.032-6.503999A154.789979 154.789979 0 0 0 511.73 0h-0.166z",
    fill: (0, _helper.getIconColor)(color, 0, '#333333')
  }));
};

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