"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 IconAgentMicrophoneCloseComponent(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-agent_microphone_close").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 42 42", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { d: "M3.83591 3.83603C4.61696 3.05498 5.88298 3.05498 6.66403 3.83603L38.164 35.336L38.3017 35.4874C38.9425 36.2729 38.8963 37.4319 38.164 38.1642C37.4318 38.8964 36.2728 38.9426 35.4873 38.3018L35.3359 38.1642L3.83591 6.66416C3.05486 5.88311 3.05486 4.61708 3.83591 3.83603Z" }),
        react_1.default.createElement("path", { d: "M7.875 18.125C8.97957 18.125 9.875 19.0204 9.875 20.125C9.875 26.2692 14.8558 31.25 21 31.25C22.0305 31.25 23.0252 31.1107 23.9678 30.8506C25.0325 30.5567 26.1339 31.1814 26.4277 32.2461C26.7216 33.3108 26.0969 34.4121 25.0322 34.7061C24.3714 34.8884 23.6926 35.0256 23 35.1172V38.5C23 39.6046 22.1046 40.5 21 40.5C19.8954 40.5 19 39.6046 19 38.5V35.1182C11.5921 34.1395 5.875 27.8003 5.875 20.125C5.875 19.0204 6.77043 18.125 7.875 18.125ZM22.0791 27.0283C21.7287 27.0906 21.3683 27.125 21 27.125C17.6172 27.125 14.875 24.3827 14.875 21V19.8242L22.0791 27.0283ZM34.125 18.125C35.2296 18.125 36.125 19.0204 36.125 20.125C36.125 22.1064 35.7432 24.0036 35.0469 25.7432L34.9609 25.9297C34.491 26.8276 33.4075 27.2412 32.4463 26.8564C31.4211 26.4458 30.9226 25.2822 31.333 24.2568L31.5137 23.7734C31.9094 22.6327 32.125 21.4059 32.125 20.125C32.125 19.0204 33.0204 18.125 34.125 18.125ZM26.5078 23.6797C25.9083 24.9096 24.9096 25.9083 23.6797 26.5078L14.875 17.7031V12.0469L26.5078 23.6797ZM21 3.5C24.3827 3.5 27.125 6.24226 27.125 9.625V21C27.125 21.3683 27.0906 21.7287 27.0283 22.0791L14.875 9.92578V9.625C14.875 6.24226 17.6172 3.5 21 3.5Z" }));
}
var IconAgentMicrophoneClose = react_1.default.forwardRef(IconAgentMicrophoneCloseComponent);
exports.default = IconAgentMicrophoneClose;
