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 IconMenuHiagentComponent(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-hiagent").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", { d: "M6.27506 6.05332C6.56235 5.43776 7.43765 5.43776 7.72494 6.05332L9.10437 9.00902C9.18384 9.1793 9.3207 9.31616 9.49098 9.39563L12.4467 10.7751C13.0622 11.0623 13.0622 11.9377 12.4467 12.2249L9.49098 13.6044C9.3207 13.6838 9.18384 13.8207 9.10437 13.991L7.72494 16.9467C7.43765 17.5622 6.56235 17.5622 6.27506 16.9467L4.89563 13.991C4.81616 13.8207 4.6793 13.6838 4.50902 13.6044L1.55332 12.2249C.93776 11.9377.937759 11.0623 1.55332 10.7751L4.50902 9.39563C4.6793 9.31616 4.81616 9.1793 4.89563 9.00902L6.27506 6.05332zM14.9418 1.41523C15.1416.908742 15.8584.908742 16.0582 1.41523L16.6772 2.98479C16.7382 3.13943 16.8606 3.26183 17.0152 3.32282L18.5848 3.94184C19.0913 4.1416 19.0913 4.8584 18.5848 5.05816L17.0152 5.67718C16.8606 5.73817 16.7382 5.86058 16.6772 6.01521L16.0582 7.58477C15.8584 8.09126 15.1416 8.09126 14.9418 7.58477L14.3228 6.01521C14.2618 5.86057 14.1394 5.73817 13.9848 5.67718L12.4152 5.05816C11.9087 4.8584 11.9087 4.1416 12.4152 3.94184L13.9848 3.32282C14.1394 3.26183 14.2618 3.13942 14.3228 2.98479L14.9418 1.41523zM15.1279 12.9435C15.2611 12.6058 15.7389 12.6058 15.8721 12.9435L16.4262 14.3484C16.4669 14.4515 16.5485 14.5331 16.6516 14.5738L18.0565 15.1279C18.3942 15.2611 18.3942 15.7389 18.0565 15.8721L16.6516 16.4262C16.5485 16.4669 16.4669 16.5485 16.4262 16.6516L15.8721 18.0565C15.7389 18.3942 15.2611 18.3942 15.1279 18.0565L14.5738 16.6516C14.5331 16.5485 14.4515 16.4669 14.3484 16.4262L12.9435 15.8721C12.6058 15.7389 12.6058 15.2611 12.9435 15.1279L14.3484 14.5738C14.4515 14.5331 14.5331 14.4515 14.5738 14.3484L15.1279 12.9435z" }));
    }
    var IconMenuHiagent = react_1.default.forwardRef(IconMenuHiagentComponent);
    exports.default = IconMenuHiagent;
});
