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 IconAgentChannelComponent(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_channel").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("g", { clipPath: "url(#svg_8d540b1045__clip0_35232_1102273)" },
                react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#4781FF', d: "M10.7158 4.64575V3.84692C10.7158 2.89941 9.94751 2.1311 9 2.1311C8.05249 2.1311 7.28418 2.89941 7.28418 3.84692V9.39966C7.28418 9.77245 6.98217 10.0754 6.60938 10.0754C6.23658 10.0754 5.93457 9.77245 5.93457 9.39966V3.84692C5.93457 2.15382 7.30691 0.781494 9 0.781494C10.6931 0.781494 12.0654 2.15382 12.0654 3.84692V4.64575C12.0654 5.01854 11.7634 5.32153 11.3906 5.32153C11.0178 5.32153 10.7158 5.01854 10.7158 4.64575Z" }),
                react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#FFB21A', d: "M5.93457 14.3647V13.5552C5.93474 13.1825 6.23669 12.8804 6.60938 12.8804C6.98206 12.8804 7.28401 13.1825 7.28418 13.5552V14.3647C7.28441 15.3121 8.05263 16.0796 9 16.0796C9.94737 16.0796 10.7156 15.3121 10.7158 14.3647V8.7876C10.7158 8.41481 11.0178 8.11279 11.3906 8.11279C11.7634 8.11279 12.0654 8.41481 12.0654 8.7876V14.3647C12.0652 16.0576 10.693 17.4302 9 17.4302C7.30704 17.4302 5.9348 16.0576 5.93457 14.3647Z" }),
                react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#F946B4', d: "M0.725195 9C0.725195 7.34777 1.99239 5.93457 3.64414 5.93457H4.39609L4.53184 5.94824C4.83937 6.01122 5.0709 6.28322 5.0709 6.60938C5.0709 6.93553 4.83937 7.20753 4.53184 7.27051L4.39609 7.28418H3.64414C2.81717 7.28418 2.0748 8.01162 2.0748 9C2.0748 9.98838 2.81717 10.7158 3.64414 10.7158H8.9L9.03574 10.7295C9.34345 10.7923 9.5748 11.0643 9.5748 11.3906C9.5748 11.7169 9.34345 11.9889 9.03574 12.0518L8.9 12.0654H3.64414C1.99239 12.0654 0.725195 10.6522 0.725195 9Z" }),
                react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#24CF4F', d: "M15.9752 9C15.9752 8.05367 15.2057 7.28418 14.2545 7.28418H8.68125C8.30846 7.28418 8.00645 6.98217 8.00645 6.60938C8.00645 6.23658 8.30846 5.93457 8.68125 5.93457H14.2545C15.9489 5.93457 17.3248 7.30572 17.3248 9C17.3248 10.6943 15.9489 12.0654 14.2545 12.0654H13.4889C13.1161 12.0654 12.8141 11.7634 12.8141 11.3906C12.8141 11.0178 13.1161 10.7158 13.4889 10.7158H14.2545C15.2057 10.7158 15.9752 9.94633 15.9752 9Z" })),
            react_1.default.createElement("defs", null,
                react_1.default.createElement("clipPath", { id: "svg_8d540b1045__clip0_35232_1102273" },
                    react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', transform: "translate(.5 .5)", d: "M0 0H17V17H0z" }))));
    }
    var IconAgentChannel = react_1.default.forwardRef(IconAgentChannelComponent);
    exports.default = IconAgentChannel;
});
