"use strict";
const defineProperty = require("../../../../../../../@babel_runtime@7.19.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
const React = require("react");
const context = require("../context.js");
const emotionReactJsxRuntime_browser_esm = require("../../../../../../../@emotion_react@11.10.4_3toe27fv7etiytxb5kxc7fxaw4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");
const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
const React__default = /* @__PURE__ */ _interopDefaultLegacy(React);
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 IconFilePdfComponent(iconProps, ref) {
  var _useContext = React.useContext(context.IconContext), _useContext$prefixCls = _useContext.prefixCls, prefixCls = _useContext$prefixCls === void 0 ? "arco" : _useContext$prefixCls;
  var spin = iconProps.spin, className = iconProps.className;
  var props = _objectSpread(_objectSpread({
    "aria-hidden": true,
    focusable: false,
    ref
  }, iconProps), {}, {
    className: "".concat(className ? className + " " : "").concat(prefixCls, "-icon ").concat(prefixCls, "-icon-file-pdf")
  });
  if (spin) {
    props.className = "".concat(props.className, " ").concat(prefixCls, "-icon-loading");
  }
  delete props.spin;
  delete props.isIcon;
  return /* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsxs("svg", {
    fill: "none",
    stroke: "currentColor",
    strokeWidth: "4",
    viewBox: "0 0 48 48",
    ...props,
    children: [/* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx("path", {
      d: "M11 42h26a2 2 0 0 0 2-2V13.828a2 2 0 0 0-.586-1.414l-5.828-5.828A2 2 0 0 0 31.172 6H11a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2Z"
    }), /* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx("path", {
      d: "M22.305 21.028c.874 1.939 3.506 6.265 4.903 8.055 1.747 2.237 3.494 2.685 4.368 2.237.873-.447 1.21-4.548-7.425-2.685-7.523 1.623-7.424 3.58-6.988 4.476.728 1.193 2.522 2.627 5.678-6.266C25.699 18.79 24.489 17 23.277 17c-1.409 0-2.538.805-.972 4.028Z"
    })]
  });
}
var IconFilePdf = /* @__PURE__ */ React__default.default.forwardRef(IconFilePdfComponent);
IconFilePdf.defaultProps = {
  isIcon: true
};
IconFilePdf.displayName = "IconFilePdf";
const IconFilePdf$1 = IconFilePdf;
module.exports = IconFilePdf$1;
//# sourceMappingURL=index.js.map
