"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));

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

var _context = require("../../config-provider/context");

var _classnames = _interopRequireDefault(require("classnames"));

var FoldFill = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
  var prefixCls = props.prefixCls,
      className = props.className,
      reset = (0, _objectWithoutProperties2.default)(props, ["prefixCls", "className"]);
  var iconPrefix = (0, _context.getPrefixClassName)('icon', prefixCls);
  return /*#__PURE__*/_react.default.createElement("span", Object.assign({
    className: (0, _classnames.default)("".concat(iconPrefix, " ").concat(iconPrefix, "-foldFill"), className),
    ref: ref
  }, reset), /*#__PURE__*/_react.default.createElement("svg", {
    width: "1em",
    height: "1em",
    viewBox: "0 0 16 16",
    xmlns: "http://www.w3.org/2000/svg"
  }, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("filter", {
    id: "prefix__a"
  }, /*#__PURE__*/_react.default.createElement("feColorMatrix", {
    in: "SourceGraphic",
    values: "0 0 0 0 0.120000 0 0 0 0 0.125000 0 0 0 0 0.150000 0 0 0 1.000000 0"
  }))), /*#__PURE__*/_react.default.createElement("g", {
    fill: "none",
    fillRule: "evenodd"
  }, /*#__PURE__*/_react.default.createElement("rect", {
    x: 0.5,
    y: 0.5,
    width: 15,
    height: 15,
    rx: 2,
    fill: "#FFF",
    stroke: "#E1E2E6"
  }), /*#__PURE__*/_react.default.createElement("g", {
    transform: "translate(2 2)",
    filter: "url(#prefix__a)"
  }, /*#__PURE__*/_react.default.createElement("path", {
    d: "M0 0h12v12H0z"
  }), /*#__PURE__*/_react.default.createElement("path", {
    fill: "currentColor",
    d: "M10.5 5.625v1h-9v-1z"
  })))));
});

FoldFill.displayName = "FoldFill";
var _default = FoldFill;
exports.default = _default;