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 IconVectorModelComponent(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-vector-model").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 14 14" }, rest, { ref: ref }),
        React.createElement("path", { fillRule: "evenodd", d: "M13.417 2.625A2.042 2.042 0 0 0 9.53 1.75H4.47a2.042 2.042 0 1 0-2.72 2.72v5.06a2.042 2.042 0 1 0 2.72 2.72h5.06a2.042 2.042 0 1 0 2.72-2.72V4.47a2.042 2.042 0 0 0 1.167-1.845Zm-2.917 8.75a.875.875 0 1 1 1.75 0 .875.875 0 0 1-1.75 0ZM2.625 10.5a.875.875 0 1 0 0 1.75.875.875 0 0 0 0-1.75Zm2.02-7.583h4.709a2.043 2.043 0 0 0 1.73 1.729v4.708a2.043 2.043 0 0 0-1.73 1.73H4.646a2.043 2.043 0 0 0-1.73-1.73V4.646a2.043 2.043 0 0 0 1.73-1.73ZM7 4.375a2.625 2.625 0 1 1 0 5.25 2.625 2.625 0 0 1 0-5.25ZM5.54 7a1.458 1.458 0 1 1 2.917 0A1.458 1.458 0 0 1 5.54 7Zm5.834-5.25a.875.875 0 1 0 0 1.75.875.875 0 0 0 0-1.75Zm-9.625.875a.875.875 0 1 1 1.75 0 .875.875 0 0 1-1.75 0Z", clipRule: "evenodd" }));
}
var IconVectorModel = React.forwardRef(IconVectorModelComponent);
export default IconVectorModel;
