var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
import React, { useContext } from 'react';
import { Context } from '../context';
function IconTemplate1Component(props, ref) {
    var prefixFromContext = useContext(Context).prefix;
    var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
    var prefix = prefixFromProps || prefixFromContext || 'hiagent';
    var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
    return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-template_1").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 14 14", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.86089 0.875C9.17084 0.875 9.46806 0.998344 9.68694 1.21781L11.9094 3.4462C12.1275 3.6649 12.25 3.96117 12.25 4.27005V12.5417C12.25 12.8638 11.9888 13.125 11.6667 13.125H2.33333C2.01117 13.125 1.75 12.8638 1.75 12.5417V1.45833C1.75 1.13617 2.01117 0.875 2.33333 0.875H8.86089ZM8.51375 2.04167H2.91667V11.9583H11.0833V4.61708C11.0833 4.46267 11.0221 4.31456 10.9131 4.20521L8.92683 2.21313C8.81739 2.10336 8.66875 2.04167 8.51375 2.04167ZM7.29167 8.16667C7.45275 8.16667 7.58333 8.29725 7.58333 8.45833V9.04167C7.58333 9.20275 7.45275 9.33333 7.29167 9.33333H4.66667C4.50558 9.33333 4.375 9.20275 4.375 9.04167V8.45833C4.375 8.29725 4.50558 8.16667 4.66667 8.16667H7.29167ZM9.33333 5.25C9.49442 5.25 9.625 5.38058 9.625 5.54167V6.125C9.625 6.28608 9.49442 6.41667 9.33333 6.41667H4.66667C4.50558 6.41667 4.375 6.28608 4.375 6.125V5.54167C4.375 5.38058 4.50558 5.25 4.66667 5.25H9.33333Z" }));
}
var IconTemplate1 = React.forwardRef(IconTemplate1Component);
export default IconTemplate1;
