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 IconGitMergeComponent(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-git-merge").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M30.3332 13.0691L29 12.5979V18.7961L19.5186 10.4998L29 2.20361V8.6173L29.8011 8.77991C36.1909 10.077 41 15.7279 41 22.4998V34.3793L41.4993 34.6681C42.9964 35.5342 44 37.1504 44 38.9998C44 41.7613 41.7614 43.9998 39 43.9998C36.2386 43.9998 34 41.7613 34 38.9998C34 37.1504 35.0036 35.5342 36.5007 34.6681L37 34.3793V22.4998C37 18.1442 34.2159 14.4414 30.3332 13.0691ZM11.4993 13.3315L11 13.6204L11 34.3793L11.4993 34.6681C12.9964 35.5342 14 37.1504 14 38.9998C14 41.7613 11.7614 43.9998 9 43.9998C6.23858 43.9998 4 41.7613 4 38.9998C4 37.1504 5.00361 35.5342 6.50073 34.6681L7 34.3793L7 13.6204L6.50072 13.3315C5.00361 12.4655 4 10.8493 4 8.99985C4 6.23842 6.23858 3.99985 9 3.99985C11.7614 3.99985 14 6.23842 14 8.99985C14 10.8493 12.9964 12.4655 11.4993 13.3315Z" }));
}
var IconGitMerge = React.forwardRef(IconGitMergeComponent);
export default IconGitMerge;
