/*
 * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import * as React from "react";
import type { SVGIconProps } from "../../../svgIconProps";
import { SvgIconContainerNext } from "../../svgIconContainerNext";

const PATHS = ["M12 1.5a2.748 2.748 0 0 1 .718 5.401 6.75 6.75 0 0 1-6.067 6.067A2.748 2.748 0 1 1 3.25 9.606V6.893A2.748 2.748 0 0 1 4 1.5a2.748 2.748 0 0 1 .75 5.393v2.713a2.75 2.75 0 0 1 1.883 1.854 5.25 5.25 0 0 0 4.577-4.577A2.75 2.75 0 0 1 12 1.5M4 11a1.25 1.25 0 1 0 0 2.5A1.25 1.25 0 0 0 4 11m0-8a1.25 1.25 0 1 0 0 2.5A1.25 1.25 0 0 0 4 3m8 0a1.25 1.25 0 1 0 0 2.5A1.25 1.25 0 0 0 12 3"] as readonly string[];

export const GitBranchIcon: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
    return (
        <SvgIconContainerNext iconName="git-branch" ref={ref} {...props}>
            {PATHS.map((d, i) => (
                <path key={i} d={d} />
            ))}
        </SvgIconContainerNext>
    );
});
GitBranchIcon.displayName = "Blueprint6.Icon.Next.GitBranchIcon";
export default GitBranchIcon;
