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 IconAdvancedReviewComponent(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 ? false : _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-advanced-review").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 18 18" }, rest, { ref: ref }),
        React.createElement("g", { clipPath: "url(#svg_608c24eaa2__svg_27f26b0d63__clip0_19572_973247)" },
            React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#FBA832', fillRule: "evenodd", d: "M14.2018 3.79821L12.9609 1.7108C12.6318 1.15719 11.9776 0.886203 11.3534 1.04496L9 1.64356L6.64655 1.04496C6.02238 0.886203 5.36817 1.15719 5.03908 1.7108L3.79821 3.79821L1.7108 5.03908C1.15719 5.36817 0.886203 6.02238 1.04496 6.64655L1.64356 9L1.04496 11.3534C0.886203 11.9776 1.15719 12.6318 1.7108 12.9609L3.79821 14.2018L5.03908 16.2892C5.36817 16.8428 6.02238 17.1138 6.64655 16.955L9 16.3564L11.3534 16.955C11.9776 17.1138 12.6318 16.8428 12.9609 16.2892L14.2018 14.2018L16.2892 12.9609C16.8428 12.6318 17.1138 11.9776 16.955 11.3534L16.3564 9L16.955 6.64655C17.1138 6.02238 16.8428 5.36817 16.2892 5.03908L14.2018 3.79821ZM11.453 6.42138C11.7683 6.07155 12.3156 6.02873 12.6754 6.32573C13.0352 6.62274 13.0714 7.1471 12.7561 7.49694L8.78174 11.9071C8.62191 12.0845 8.40245 12.1829 8.17801 12.1982C7.91388 12.2438 7.63334 12.1721 7.42823 11.981L4.97343 9.69427C4.6329 9.37706 4.62926 8.85108 4.96528 8.51946C5.30131 8.18784 5.84976 8.17615 6.19028 8.49336L8.0362 10.2129L11.453 6.42138Z", clipRule: "evenodd" })),
        React.createElement("defs", null,
            React.createElement("clipPath", { id: "svg_608c24eaa2__svg_27f26b0d63__clip0_19572_973247" },
                React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M0 0H18V18H0z" }))));
}
var IconAdvancedReview = React.forwardRef(IconAdvancedReviewComponent);
export default IconAdvancedReview;
