/* priority-critical-icon.tsx generated by @compiled/babel-plugin v0.39.1 */
"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
require("./priority-critical-icon.compiled.css");
var React = _interopRequireWildcard(require("react"));
var _runtime = require("@compiled/react/runtime");
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
var _platformFeatureFlagsReact = require("@atlaskit/platform-feature-flags-react");
var _priorityIcon = require("./priority-icon");
var _excluded = ["label", "testId"];
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
var style = {
  span: "_1e0c1o8l _1o9zidpf",
  svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
};
var PriorityCriticalIconLegacy = function PriorityCriticalIconLegacy(_ref) {
  var label = _ref.label,
    testId = _ref.testId,
    props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
  return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
    role: label ? 'img' : undefined,
    "aria-label": label,
    "aria-hidden": label ? undefined : true,
    "data-testid": testId
  }, props, {
    className: (0, _runtime.ax)([style.span])
  }), /*#__PURE__*/React.createElement("svg", {
    width: "24",
    height: "24",
    viewBox: "0 0 24 24",
    role: "presentation",
    className: (0, _runtime.ax)([style.svg])
  }, /*#__PURE__*/React.createElement("path", {
    d: "M4.671 7.165l6.643-3.946a1.372 1.372 0 011.403.002l6.614 3.944c.415.247.669.695.669 1.178v11.253a1.372 1.372 0 01-2.074 1.179l-5.91-3.52-5.944 3.526A1.372 1.372 0 014 19.6V8.345c0-.484.255-.933.671-1.18z",
    fill: "#FF5630"
  })));
};
PriorityCriticalIconLegacy.displayName = 'PriorityCriticalIcon';
var _default_1 = (0, _platformFeatureFlagsReact.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityCriticalIcon', [{
  d: 'M4.671 7.165l6.643-3.946a1.372 1.372 0 011.403.002l6.614 3.944c.415.247.669.695.669 1.178v11.253a1.372 1.372 0 01-2.074 1.179l-5.91-3.52-5.944 3.526A1.372 1.372 0 014 19.6V8.345c0-.484.255-.933.671-1.18z',
  fill: '#FF5630'
}]), PriorityCriticalIconLegacy);
var _default = exports.default = _default_1;