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 __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;
};
import React, { useContext } from 'react';
import { Context } from '../context';
function IconWorkflowFullscreenComponent(props, ref) {
    var prefixFromContext = useContext(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.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-workflow_fullscreen").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 24 24" }, rest, { ref: ref }),
        React.createElement("path", { fillRule: "evenodd", d: "M2 3a1 1 0 0 1 1-1h4.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H4v3.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5V3Zm20 18a1 1 0 0 1-1 1h-4.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5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h-3.3a.7.7 0 0 1-.7-.7v-1a.7.7 0 0 1 .7-.7H21ZM16.5 4a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H21a1 1 0 0 1 1 1v4.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5V4h-3.5Z", clipRule: "evenodd" }));
}
var IconWorkflowFullscreen = React.forwardRef(IconWorkflowFullscreenComponent);
export default IconWorkflowFullscreen;
