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 IconInvisibleComponent(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-invisible").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        React.createElement("path", { d: "M24 30c-1.314 0-2.6-.104-3.848-.302l-.996 3.717a1 1 0 01-1.225.708l-1.932-.518a1 1 0 01-.707-1.225l.975-3.64a22.221 22.221 0 01-4.553-2.14l-3.178 3.178a1 1 0 01-1.414 0l-1.415-1.414a1 1 0 010-1.414l2.8-2.8a18.109 18.109 0 01-3.563-4.577l-.14-.27-.17-.34a1 1 0 01.191-1.14l.293-.29c.056-.054.107-.102.153-.143l.718-.652c.102-.095.197-.183.288-.27l.193-.193a.898.898 0 011.41.163l.052.1C10.422 22.123 16.386 26 24 26c7.296 0 13.399-3.773 15.848-8.952.067-.14.14-.31.219-.508a.85.85 0 011.303-.36l.086.075 1.664 1.664a1 1 0 01.188 1.152l-.212.419c-.1.19-.187.352-.264.485a18.302 18.302 0 01-3.606 4.422l2.552 2.553a1 1 0 010 1.414l-1.414 1.414a1 1 0 01-1.414 0l-2.984-2.984a22.294 22.294 0 01-4.233 1.946l.976 3.64A1 1 0 0132 33.605l-1.931.518a1 1 0 01-1.225-.708l-.996-3.717A24.539 24.539 0 0124 30z" }));
}
var IconInvisible = React.forwardRef(IconInvisibleComponent);
export default IconInvisible;
