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 IconMenuPromptComponent(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-prompt").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: "M13.3171 5.95538C13.9195 5.35288 14.8968 5.35288 15.4993 5.95538L17.383 7.83907C17.9855 8.44156 17.9855 9.41885 17.383 10.0213L9.7384 17.6677C9.52486 17.8804 9.23513 18 8.93389 18H6.50795C6.19776 18 5.90028 17.8768 5.68095 17.6574C5.46162 17.4381 5.3384 17.1406 5.3384 16.8304V14.4054C5.3384 14.1041 5.4589 13.8144 5.67243 13.6009L13.3171 5.95538ZM6.04456 2.00105C6.35732 1.98333 6.63819 2.19243 6.71173 2.49722C6.91552 3.34515 7.22386 3.81651 7.64029 4.18333C8.08153 4.5714 8.66453 4.86468 9.53018 5.3006L9.61081 5.34136C9.72075 5.39662 9.81274 5.48197 9.87605 5.58748C9.93937 5.69299 9.9714 5.81432 9.96843 5.93733C9.96546 6.06034 9.9276 6.17998 9.85927 6.28231C9.79094 6.38465 9.69494 6.46546 9.58246 6.51534C8.26139 7.10366 7.66776 7.6654 7.34701 8.12082C7.19839 8.33681 7.07474 8.56895 6.97843 8.81281C6.9553 8.86876 6.93256 8.92488 6.9102 8.98115C6.83497 9.1802 6.7492 9.37511 6.65326 9.56504C6.58926 9.68523 6.48911 9.78226 6.36696 9.84243C6.24481 9.90259 6.10684 9.92284 5.97255 9.90031C5.83826 9.87778 5.71445 9.81362 5.61862 9.71688C5.52279 9.62015 5.45979 9.49575 5.43852 9.36126C5.32599 8.66395 4.88387 7.96665 4.30795 7.42441C3.7152 6.86621 3.11004 6.58888 2.78399 6.57028C2.62428 6.56153 2.47342 6.49416 2.36032 6.38108C2.24721 6.26799 2.1798 6.11715 2.17102 5.95745C2.16224 5.79775 2.2127 5.64042 2.31273 5.51562C2.41276 5.39082 2.55532 5.30731 2.7131 5.28111C3.42015 5.1615 4.07492 4.73089 4.58084 4.16915C5.09474 3.59855 5.3827 2.97302 5.43497 2.56722C5.45406 2.41626 5.52554 2.2768 5.63695 2.17316C5.74836 2.06953 5.89262 2.00919 6.04456 2.00105Z", clipRule: "evenodd" }));
    }
    var IconMenuPrompt = react_1.default.forwardRef(IconMenuPromptComponent);
    exports.default = IconMenuPrompt;
});
