"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importStar(require("react"));
var context_1 = require("../context");
function IconSankeyDiagramComponent(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-sankey-diagram").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 140 140" }, rest, { ref: ref }),
        react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#EAEDF1', d: "M26.892 16.486c28.897 0 45.16 14.21 57.203 25.633 12.47 11.827 18.195 17.475 29.013 17.475v29.73c-24.793 0-39.216-15.906-49.472-25.633-10.682-10.13-19.722-17.475-36.744-17.475v-29.73Z", opacity: ".7" }),
        react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#EAEDF1', d: "M113.108 16.486c-14.367 0-25.154 7.345-33.464 16.978-8.155 9.455-14.53 21.8-20.176 33.248-5.847 11.856-10.872 22.637-16.59 30.651-5.73 8.031-10.763 11.285-15.986 11.285v14.865c12.581 0 21.488-8.266 28.088-17.515 6.61-9.267 12.305-21.527 17.82-32.71 5.717-11.593 11.35-22.29 18.1-30.115 6.597-7.647 13.616-11.822 22.208-11.822V16.486Z", opacity: ".7" }),
        react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#EAEDF1', d: "M26.892 65.54c25.928 0 40.384 12.494 52.088 23.594 11.916 11.302 19.816 19.514 34.128 19.514v14.865c-21.299 0-33.547-13.341-44.357-23.594-11.022-10.453-21.868-19.514-41.86-19.514V65.54Z", opacity: ".5" }),
        react_1.default.createElement("rect", { width: "8.919", height: "110", x: "15", y: "14.999", fill: useCurrentColor ? 'currentColor' : '#DDE2E9', rx: "2" }),
        react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#DDE2E9', d: "M17 33a2 2 0 0 1-2-2V17a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-2Zm0 28a2 2 0 0 1-2-2V45a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-2Zm0 28a2 2 0 0 1-2-2V73a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-2Z" }),
        react_1.default.createElement("rect", { width: "8.919", height: "110", x: "116.081", y: "14.999", fill: useCurrentColor ? 'currentColor' : '#DDE2E9', rx: "2" }),
        react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#DDE2E9', d: "M118.081 33a2 2 0 0 1-2-2V17a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-2Zm0 28a2 2 0 0 1-2-2V45a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-2Zm0 28a2 2 0 0 1-2-2V73a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-2Z" }));
}
var IconSankeyDiagram = react_1.default.forwardRef(IconSankeyDiagramComponent);
exports.default = IconSankeyDiagram;
