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 IconUserVariableComponent(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-user_variable").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 18 18" }, rest, { ref: ref }),
        React.createElement("path", { d: "M14.625 1.5C15.6605 1.5 16.5 2.33947 16.5 3.375V14.625C16.5 15.6605 15.6605 16.5 14.625 16.5H3.375C2.33947 16.5 1.5 15.6605 1.5 14.625V3.375C1.5 2.33947 2.33947 1.5 3.375 1.5H14.625ZM6 5.25C5.58579 5.25 5.25 5.58579 5.25 6V7.125C5.25 7.53921 5.58579 7.875 6 7.875C6.41421 7.875 6.75 7.53921 6.75 7.125V6.75H8.25V12C7.83579 12 7.5 12.3358 7.5 12.75C7.5 13.1642 7.83579 13.5 8.25 13.5H9.75C10.1642 13.5 10.5 13.1642 10.5 12.75C10.5 12.3358 10.1642 12 9.75 12V6.75H11.25V7.125C11.25 7.53921 11.5858 7.875 12 7.875C12.4142 7.875 12.75 7.53921 12.75 7.125V6C12.75 5.58579 12.4142 5.25 12 5.25H6Z" }));
}
var IconUserVariable = React.forwardRef(IconUserVariableComponent);
export default IconUserVariable;
