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 IconAccuracyComponent(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-Accuracy").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 18 18", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.125 7.5C16.3321 7.5 16.5 7.66789 16.5 7.875V15.75C16.5 16.1642 16.1642 16.5 15.75 16.5H7.875C7.66789 16.5 7.5 16.3321 7.5 16.125V15.375C7.5 15.1679 7.66789 15 7.875 15H15V7.875C15 7.66789 15.1679 7.5 15.375 7.5H16.125ZM13.125 1.5C13.5392 1.5 13.875 1.83579 13.875 2.25V13.125C13.875 13.5392 13.5392 13.875 13.125 13.875H2.25C1.83579 13.875 1.5 13.5392 1.5 13.125V2.25C1.5 1.83579 1.83579 1.5 2.25 1.5H13.125ZM12.375 3H3V12.375H12.375V3ZM10.2238 5.51516L10.7541 6.04549C10.9006 6.19194 10.9006 6.42938 10.7541 6.57582L7.04182 10.2881C6.89537 10.4346 6.65793 10.4346 6.51149 10.2881L4.39017 8.16682C4.24372 8.02037 4.24372 7.78293 4.39017 7.63649L4.9205 7.10615C5.06694 6.95971 5.30438 6.95971 5.45083 7.10615L6.77665 8.43198L9.69347 5.51516C9.83991 5.36872 10.0773 5.36872 10.2238 5.51516Z" }));
}
var IconAccuracy = React.forwardRef(IconAccuracyComponent);
export default IconAccuracy;
