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 IconModelVoiceComponent(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-model_voice").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 14 14", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7 0C10.866 0 14 3.134 14 7C14 10.866 10.866 14 7 14C3.134 14 0 10.866 0 7C0 3.134 3.134 0 7 0ZM6.99992 1.27277C3.83684 1.27277 1.27265 3.83695 1.27265 7.00004C1.27265 10.1631 3.83684 12.7273 6.99992 12.7273C10.163 12.7273 12.7271 10.1631 12.7271 7.00004C12.7271 3.83695 10.163 1.27277 6.99992 1.27277ZM7.31803 4.1364C7.49375 4.1364 7.63621 4.27886 7.63621 4.45458V9.54549C7.63621 9.72122 7.49375 9.86367 7.31803 9.86367H6.68167C6.50594 9.86367 6.36348 9.72122 6.36348 9.54549V4.45458C6.36348 4.27886 6.50594 4.1364 6.68167 4.1364H7.31803ZM4.45439 5.40917C4.63012 5.40917 4.77257 5.55162 4.77257 5.72735V8.2728C4.77257 8.44853 4.63012 8.59099 4.45439 8.59099H3.81803C3.6423 8.59099 3.49985 8.44853 3.49985 8.2728V5.72735C3.49985 5.55162 3.6423 5.40917 3.81803 5.40917H4.45439ZM10.1817 5.40917C10.3574 5.40917 10.4998 5.55162 10.4998 5.72735V8.2728C10.4998 8.44853 10.3574 8.59099 10.1817 8.59099H9.5453C9.36958 8.59099 9.22712 8.44853 9.22712 8.2728V5.72735C9.22712 5.55162 9.36958 5.40917 9.5453 5.40917H10.1817Z" }));
    }
    var IconModelVoice = react_1.default.forwardRef(IconModelVoiceComponent);
    exports.default = IconModelVoice;
});
