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 IconPromptRolePlayingComponent(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-prompt_role-playing").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
        React.createElement("path", { d: "M8.014.5a.6.6 0 0 1 .6.6v.868a3.434 3.434 0 0 1 2.781 2.78h1.93a.6.6 0 0 1 0 1.198h-1.93a3.434 3.434 0 0 1-2.59 2.74c3.255.368 5.828 2.982 5.828 6.217a.6.6 0 0 1-.6.6H2a.6.6 0 0 1-.6-.6c0-3.235 2.572-5.849 5.828-6.216a3.434 3.434 0 0 1-2.59-2.74h-1.93a.6.6 0 1 1 0-1.2h1.93A3.433 3.433 0 0 1 7.415 1.97V1.1a.6.6 0 0 1 .6-.599Zm.002 9.34c-2.804 0-5.06 1.976-5.377 4.464h10.755c-.316-2.488-2.574-4.464-5.378-4.464Zm-2.125 1.28a.6.6 0 0 1 .6.599v1.416a.6.6 0 0 1-1.2 0v-1.416a.6.6 0 0 1 .6-.6Zm4.246 0a.6.6 0 0 1 .6.599v1.416a.6.6 0 0 1-1.2 0v-1.416a.6.6 0 0 1 .6-.6Zm-4.27-5.173a2.232 2.232 0 0 0 4.298 0H5.868Zm2.15-2.832A2.232 2.232 0 0 0 5.87 4.747h4.296a2.232 2.232 0 0 0-2.148-1.632Z" }));
}
var IconPromptRolePlaying = React.forwardRef(IconPromptRolePlayingComponent);
export default IconPromptRolePlaying;
