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 IconDataSetBosComponent(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-data_set_bos").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 20 20", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("rect", { x: "2", y: "2", width: "16", height: "16", rx: "4", fill: useCurrentColor ? 'currentColor' : '#DEE8FF' }),
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.83233 14.5041C5.33656 14.5041 4.12399 13.2915 4.12399 11.7957C4.12399 10.3 5.33656 9.0874 6.83233 9.0874C8.32808 9.0874 9.54066 10.3 9.54066 11.7957C9.54066 11.8173 9.55801 11.8349 9.57954 11.8349H10.3341C10.6333 11.8349 10.8758 12.0774 10.8758 12.3766V13.9624C10.8758 14.2616 10.6333 14.5041 10.3341 14.5041H6.905L6.90453 14.5036L6.90406 14.5032C6.88022 14.5038 6.85631 14.5041 6.83233 14.5041Z", fill: useCurrentColor ? 'currentColor' : '#97BCFF' }),
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.88892 14.4958C7.56574 14.3531 5.72574 12.4238 5.72574 10.0647C5.72574 7.6127 7.71346 5.625 10.1654 5.625C12.4177 5.625 14.2782 7.30212 14.5663 9.47564C15.3518 9.94978 15.877 10.8116 15.877 11.796C15.877 13.2917 14.6645 14.5043 13.1687 14.5043H10.1681C10.1672 14.5043 10.1663 14.5043 10.1654 14.5043C10.1645 14.5043 10.1636 14.5043 10.1627 14.5043H10.1047C10.032 14.5043 9.9601 14.5014 9.88892 14.4958Z", fill: useCurrentColor ? 'currentColor' : 'url(#svg_b22b200c1a__svg_4f036ff871__paint0_linear_2778_68386)' }),
            react_1.default.createElement("mask", { id: "svg_b22b200c1a__a", style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "5", y: "5", width: "11", height: "10" },
                react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.88885 14.4958C7.56567 14.3531 5.72565 12.4238 5.72565 10.0647C5.72565 7.6127 7.71334 5.625 10.1653 5.625C12.4176 5.625 14.2781 7.30212 14.5662 9.47564C15.3517 9.94978 15.877 10.8116 15.877 11.796C15.877 13.2917 14.6644 14.5043 13.1686 14.5043H10.1679C10.1671 14.5043 10.1662 14.5043 10.1653 14.5043C10.1644 14.5043 10.1635 14.5043 10.1627 14.5043H10.1046C10.032 14.5043 9.96002 14.5014 9.88885 14.4958Z", fill: useCurrentColor ? 'currentColor' : 'url(#svg_b22b200c1a__svg_4f036ff871__paint1_linear_2778_68386)' })),
            react_1.default.createElement("g", { filter: "url(#svg_b22b200c1a__svg_4f036ff871__filter0_d_2778_68386)", mask: "url(#svg_b22b200c1a__a)" },
                react_1.default.createElement("path", { d: "M12.9118 11.6601C12.9971 11.7454 12.9367 11.8912 12.816 11.8912H11.655C11.5951 11.8912 11.5466 11.9397 11.5466 11.9996V13.4997C11.5713 14.0583 12.025 14.5035 12.581 14.5035C12.5938 14.5035 12.6067 14.5032 12.6194 14.5027V14.5037H11.5445L10.1802 14.5033C9.58189 14.5033 9.09682 14.0182 9.09682 13.42V11.9996C9.09682 11.9397 9.04836 11.8912 8.98852 11.8912H7.85878C7.73812 11.8912 7.67771 11.7454 7.76302 11.6601L10.1459 9.27804C10.2517 9.17229 10.4231 9.17229 10.5289 9.27804L12.9118 11.6601Z", fill: useCurrentColor ? 'currentColor' : '#fff' })),
            react_1.default.createElement("defs", null,
                react_1.default.createElement("linearGradient", { id: "svg_b22b200c1a__svg_4f036ff871__paint0_linear_2778_68386", x1: "10.802", y1: "5.942", x2: "10.802", y2: "14.504", gradientUnits: "userSpaceOnUse" },
                    react_1.default.createElement("stop", { stopColor: "#528CFF" }),
                    react_1.default.createElement("stop", { offset: "1", stopColor: "#1664FF" })),
                react_1.default.createElement("linearGradient", { id: "svg_b22b200c1a__svg_4f036ff871__paint1_linear_2778_68386", x1: "10.992", y1: "5.625", x2: "10.992", y2: "14.291", gradientUnits: "userSpaceOnUse" },
                    react_1.default.createElement("stop", { stopColor: "#353D51" }),
                    react_1.default.createElement("stop", { offset: "1", stopColor: "#818A9C" })),
                react_1.default.createElement("filter", { id: "svg_b22b200c1a__svg_4f036ff871__filter0_d_2778_68386", x: "2.389", y: "5.198", width: "15.897", height: "15.973", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" },
                    react_1.default.createElement("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
                    react_1.default.createElement("feColorMatrix", { in: "SourceAlpha", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
                    react_1.default.createElement("feOffset", { dy: "1.333" }),
                    react_1.default.createElement("feGaussianBlur", { stdDeviation: "2.667" }),
                    react_1.default.createElement("feComposite", { in2: "hardAlpha", operator: "out" }),
                    react_1.default.createElement("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" }),
                    react_1.default.createElement("feBlend", { in2: "BackgroundImageFix", result: "effect1_dropShadow_2778_68386" }),
                    react_1.default.createElement("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_2778_68386", result: "shape" }))));
    }
    var IconDataSetBos = react_1.default.forwardRef(IconDataSetBosComponent);
    exports.default = IconDataSetBos;
});
