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 IconMenuConversationComponent(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-menu-conversation").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 20 20" }, rest, { ref: ref }),
            react_1.default.createElement("path", { fillRule: "evenodd", d: "M10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10C18 12.1217 17.1571 14.1566 15.6569 15.6569C14.1566 17.1571 12.1217 18 10 18H2.7619C2.55984 18 2.36604 17.9197 2.22316 17.7768C2.08027 17.634 2 17.4402 2 17.2381V10C2 5.58095 5.58095 2 10 2ZM10.381 10.7619H6.57143C6.47039 10.7619 6.3735 10.802 6.30205 10.8735C6.23061 10.9449 6.19048 11.0418 6.19048 11.1429V11.9048C6.19048 12.115 6.36114 12.2857 6.57143 12.2857H10.381C10.482 12.2857 10.5789 12.2456 10.6503 12.1741C10.7218 12.1027 10.7619 12.0058 10.7619 11.9048V11.1429C10.7619 11.0418 10.7218 10.9449 10.6503 10.8735C10.5789 10.802 10.482 10.7619 10.381 10.7619ZM13.4286 7.71429H6.57143C6.47039 7.71429 6.3735 7.75442 6.30205 7.82586C6.23061 7.89731 6.19048 7.9942 6.19048 8.09524V8.85714C6.19048 9.06743 6.36114 9.2381 6.57143 9.2381H13.4286C13.5296 9.2381 13.6265 9.19796 13.6979 9.12652C13.7694 9.05507 13.8095 8.95818 13.8095 8.85714V8.09524C13.8095 7.9942 13.7694 7.89731 13.6979 7.82586C13.6265 7.75442 13.5296 7.71429 13.4286 7.71429Z", clipRule: "evenodd" }));
    }
    var IconMenuConversation = react_1.default.forwardRef(IconMenuConversationComponent);
    exports.default = IconMenuConversation;
});
