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;
};
(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "react", "../context"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var react_1 = __importStar(require("react"));
    var context_1 = require("../context");
    function IconAgentThinkingLanguageComponent(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 ? 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_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-agent_thinking-language").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_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#B44BFF', d: "M5.732 1.444a.85.85 0 0 1 1.075.538l.375 1.125c.018.056.03.112.037.169H10.5a.85.85 0 1 1 0 1.699h-.847a15.4 15.4 0 0 1-.405 1.21C8.863 7.19 8.24 8.488 7.307 9.462c.638.41 1.355.785 1.987 1.086.43.205.811.371 1.083.485.136.057.245.1.318.13l.083.034.021.007.005.002.04.018 1.128-2.566a.85.85 0 0 1 1.556 0l2.138 4.864.858 1.875a.851.851 0 0 1-1.547.707l-.63-1.38h-3.194l-.63 1.38a.851.851 0 0 1-1.546-.707l.857-1.875.325-.742-.094-.038a27.436 27.436 0 0 1-1.5-.66c-.776-.368-1.74-.873-2.574-1.455-.593.461-1.197.87-1.72 1.195a24.942 24.942 0 0 1-1.505.869l-.097.05-.026.013-.007.004-.003.001a.85.85 0 1 1-.765-1.518l.005-.002a.084.084 0 0 1 .02-.011l.083-.042.316-.171c.271-.15.65-.367 1.08-.635.419-.262.876-.569 1.324-.903a8.657 8.657 0 0 1-1.16-1.758 10.274 10.274 0 0 1-.562-1.354 6.085 6.085 0 0 1-.03-.091l-.007-.027-.002-.008-.001-.003-.001-.001v-.001a.85.85 0 0 1 1.634-.47v.003l.004.013.02.062a8.586 8.586 0 0 0 .464 1.113c.235.466.546.973.934 1.42.018-.018.038-.034.055-.052.718-.732 1.255-1.802 1.617-2.748.082-.212.152-.415.213-.6H2.25a.85.85 0 1 1 0-1.7h3.196l-.252-.756a.85.85 0 0 1 .538-1.075Zm6.177 11.582h1.682l-.84-1.913-.842 1.913Z" }));
    }
    var IconAgentThinkingLanguage = react_1.default.forwardRef(IconAgentThinkingLanguageComponent);
    exports.default = IconAgentThinkingLanguage;
});
