var _excluded = ["fill", "stroke"];
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; }
import React from 'react';
import styled from 'styled-components';
import { getColor, IconBase } from '../IconBase';
var StyledPath = styled.path.withConfig({
  displayName: "UrgentMessage__StyledPath",
  componentId: "sc-15ujtfn-0"
})(["", ""], function (p) {
  var strokeColor = getColor(p.theme, p.theme.color.text, p.strokeColorFn);
  return "fill: ".concat(strokeColor, ";");
});
export var UrgentMessage = function UrgentMessage(_ref) {
  var fill = _ref.fill,
    stroke = _ref.stroke,
    props = _objectWithoutProperties(_ref, _excluded);
  return React.createElement(IconBase, _extends({}, props, {
    viewBox: "0 0 89 65"
  }), React.createElement("g", {
    fill: "none",
    fillRule: "evenodd",
    clipRule: "evenodd"
  }, React.createElement(StyledPath, {
    strokeColorFn: fill || function (t) {
      return getColor(t, t.color.text);
    },
    d: "M.625 11.75H55v3.75H7.601L40 43.04l17.927-15.238 2.66 2.66-8.606 7.315L75.625 58.27V34.25h3.75v30H.625v-52.5zm3.75 46.519l23.644-20.492L4.375 17.68v40.589zM30.91 40.234L7.526 60.5h64.948L49.09 40.234 40 47.961l-9.09-7.727z"
  }), React.createElement(StyledPath, {
    strokeColorFn: stroke || function (t) {
      return getColor(t, t.color.negative);
    },
    d: "M80.152.5H67.348L58.75 9.098v12.804l8.598 8.598h12.804l8.598-8.598V9.098L80.152.5zM71.875 8v9.375h3.75V8h-3.75zm0 15v-3.75h3.75V23h-3.75z"
  })));
};
UrgentMessage.displayName = 'OldIcon.UrgentMessage';