"use strict";
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importStar(require("react"));
var context_1 = require("../context");
function IconResultEvaluationComponent(props, ref) {
    var prefixFromContext = (0, react_1.useContext)(context_1.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_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-result_evaluation").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 16 16", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 1.77777C9.75814 1.77777 11.1835 3.20309 11.1835 4.96123C11.1835 5.93422 10.747 6.80533 10.0591 7.38935L11.222 9.88113H13.4987C13.6522 9.88113 13.7994 9.94211 13.908 10.0507C14.0165 10.1592 14.0775 10.3064 14.0775 10.4599V13.6434C14.0775 13.7969 14.0165 13.9441 13.908 14.0527C13.7994 14.1612 13.6522 14.2222 13.4987 14.2222H2.5013C2.34779 14.2222 2.20056 14.1612 2.09202 14.0527C1.98347 13.9441 1.92249 13.7969 1.92249 13.6434V10.4599C1.92249 10.3064 1.98347 10.1592 2.09202 10.0507C2.20056 9.94211 2.34779 9.88113 2.5013 9.88113H4.77776L5.94088 7.38935C5.58812 7.09078 5.30476 6.71883 5.11057 6.29945C4.91638 5.88008 4.81604 5.42339 4.81654 4.96123C4.81654 3.20309 6.24187 1.77777 8 1.77777ZM12.9199 11.0388H3.08011V13.0646H12.9199V11.0388ZM8 2.93539C7.46272 2.93539 6.94744 3.14883 6.56752 3.52875C6.1876 3.90867 5.97416 4.42395 5.97416 4.96123C5.97416 5.53744 6.21466 6.07226 6.62967 6.45341L6.69015 6.50666C6.88354 6.67087 7.01763 6.89406 7.0718 7.1419C7.12597 7.38975 7.09722 7.64853 6.98998 7.87844L6.0552 9.88113H9.94481L9.01003 7.87844C8.90732 7.65819 8.87653 7.41119 8.92204 7.17246C8.96754 6.93373 9.08702 6.71537 9.26355 6.54833L9.30985 6.50666C9.53463 6.31682 9.71517 6.08013 9.83885 5.81317C9.96253 5.54622 10.0264 5.25545 10.0258 4.96123C10.0258 4.42395 9.81241 3.90867 9.43249 3.52875C9.05257 3.14883 8.53729 2.93539 8 2.93539Z" }));
}
var IconResultEvaluation = react_1.default.forwardRef(IconResultEvaluationComponent);
exports.default = IconResultEvaluation;
