"use strict";

function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

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

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

var _styledComponents = require("styled-components");

var _trash = require("./trash.css-rules");

function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

var Trash = function Trash() {
  var theme = (0, _react.useContext)(_styledComponents.ThemeContext);
  return /*#__PURE__*/_react["default"].createElement("svg", {
    width: "22",
    height: "24",
    viewBox: "0 0 22 24",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  }, /*#__PURE__*/_react["default"].createElement("path", {
    d: "M21 4H16.8L16.2 1.5C16 0.6 15.2 0 14.3 0H7.9C7 0 6.2 0.6 6 1.5L5.4 4H1C0.4 4 0 4.4 0 5C0 5.6 0.4 6 1 6H2V20C2 22.2 3.8 24 6 24H16C18.2 24 20 22.2 20 20V6H21C21.6 6 22 5.6 22 5C22 4.4 21.6 4 21 4ZM14.2 2L14.7 4H7.3L7.8 2H14.2ZM5.8 4H5.6C5.6 4 5.7 4 5.8 4ZM18 20C18 21.1 17.1 22 16 22H6C4.9 22 4 21.1 4 20V6H18V20ZM7 18V10C7 9.4 7.4 9 8 9C8.6 9 9 9.4 9 10V18C9 18.6 8.6 19 8 19C7.4 19 7 18.6 7 18ZM13 18V10C13 9.4 13.4 9 14 9C14.6 9 15 9.4 15 10V18C15 18.6 14.6 19 14 19C13.4 19 13 18.6 13 18Z",
    fill: (0, _trash.getFontColor)(theme)
  }));
};

exports.Trash = Trash;
Trash.displayName = 'Trash';