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 IconOverviewAPIComponent(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-overview_API").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 52 52" }, rest, { ref: ref }),
            react_1.default.createElement("rect", { width: "52", height: "52", fill: useCurrentColor ? 'currentColor' : '#F7ECFF', rx: "12" }),
            react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#C16DFF', d: "M25.475 9.922a1.3 1.3 0 0 1 1.31 0l3.414 1.992c.4.233.645.66.645 1.123v4.006a1.3 1.3 0 0 1-.645 1.123l-3.414 1.992a1.3 1.3 0 0 1-1.31 0l-3.414-1.992a1.3 1.3 0 0 1-.645-1.123v-4.006c0-.463.245-.89.645-1.123l3.414-1.992ZM13.42 29.542a1.3 1.3 0 0 1 1.31 0l3.414 1.991c.399.233.645.661.645 1.123v4.007a1.3 1.3 0 0 1-.645 1.123l-3.415 1.992a1.3 1.3 0 0 1-1.31 0l-3.414-1.992a1.3 1.3 0 0 1-.645-1.123v-4.007c0-.462.246-.89.645-1.122l3.414-1.992Zm23.84 0a1.3 1.3 0 0 1 1.31 0l3.415 1.991c.4.233.645.661.645 1.123v4.007a1.3 1.3 0 0 1-.645 1.123l-3.414 1.992a1.3 1.3 0 0 1-1.31 0l-3.415-1.992a1.3 1.3 0 0 1-.645-1.123v-4.007c0-.462.246-.89.645-1.122l3.415-1.992Z", opacity: ".5" }),
            react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : 'url(#svg_cda5e68c87__svg_c81fdf6630__a)', d: "M24.244 14.75a3.5 3.5 0 0 1 3.5 0l8.932 5.157a3.5 3.5 0 0 1 1.75 3.031v10.314a3.5 3.5 0 0 1-1.75 3.03l-8.932 5.158a3.5 3.5 0 0 1-3.5 0l-8.932-5.157a3.5 3.5 0 0 1-1.75-3.031V22.938a3.5 3.5 0 0 1 1.75-3.03l8.932-5.158Z" }),
            react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "m21.956 26.159-1.654 5.331h-1.758l2.494-6.75h1.114l-.196 1.419Zm1.37 5.331-1.659-5.331-.214-1.419h1.128l2.508 6.75h-1.762Zm-.064-2.517v1.256h-3.483v-1.256h3.483Zm5.034.227h-1.688v-1.256h1.688c.23 0 .416-.04.559-.116a.707.707 0 0 0 .312-.32c.069-.14.103-.296.103-.469 0-.185-.034-.357-.103-.514a.83.83 0 0 0-.312-.38c-.143-.1-.33-.149-.56-.149h-1.071v5.494h-1.637v-6.75h2.709c.544 0 1.011.099 1.403.297.394.198.697.47.909.816a2.2 2.2 0 0 1 .317 1.177c0 .436-.106.816-.317 1.14a2.105 2.105 0 0 1-.91.76c-.39.18-.858.27-1.402.27Zm5.248-4.46v6.75h-1.631v-6.75h1.631Z" }),
            react_1.default.createElement("defs", null,
                react_1.default.createElement("linearGradient", { id: "svg_cda5e68c87__svg_c81fdf6630__a", x1: "25.994", x2: "25.994", y1: "13.74", y2: "42.45", gradientUnits: "userSpaceOnUse" },
                    react_1.default.createElement("stop", { stopColor: "#C16DFF" }),
                    react_1.default.createElement("stop", { offset: "1", stopColor: "#B044FF" }))));
    }
    var IconOverviewAPI = react_1.default.forwardRef(IconOverviewAPIComponent);
    exports.default = IconOverviewAPI;
});
