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 { jsx as _jsx } from "react/jsx-runtime";
// DO NOT EDIT IT MANUALLY
import * as React from 'react';
const SvgMinimizeWindow = React.forwardRef((_a, ref) => {
    var { size = 24 } = _a, props = __rest(_a, ["size"]);
    props.width = undefined;
    props.height = undefined;
    const testId = 'icon-minimize-window';
    const style = {};
    const isCustomSize = typeof size === 'number';
    if (isCustomSize) {
        style.width = size + 'px';
        style.height = size + 'px';
        if (!props.style)
            props.style = {};
        props.style.width = size + 'px';
        props.style.height = size + 'px';
    }
    return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId, ref: ref }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M12 4v.76h5.699l.771.77.77.769v5.941h-7v7H6.301l-.771-.77-.77-.769V12H3.24v6.3l1.23 1.23 1.23 1.23h15.06V5.7l-1.23-1.23-1.23-1.23H12zM4.98 5l-.519.52L6.82 7.88l2.36 2.36H7v1.52h4.76V7h-1.52v2.18L7.89 6.83C6.597 5.537 5.531 4.48 5.519 4.48c-.011 0-.254.234-.539.52m14.26 11.5v2.74h-5.48v-5.48h5.48z' }) })));
});
export default SvgMinimizeWindow;
