/*
 * 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 = ["M5.25 12a1.25 1.25 0 1 0-2.5 0 1.25 1.25 0 0 0 2.5 0M12 10a.5.5 0 0 0-.5-.5.5.5 0 0 0-.5.5v.5h1zm-2 3.25h3V12h-3zM13.25 4a1.25 1.25 0 1 0-2.5 0 1.25 1.25 0 0 0 2.5 0m.25 6.5h.25a.75.75 0 0 1 .75.75V14a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 8.5 14v-2.75a.75.75 0 0 1 .75-.75h.25V10a2 2 0 0 1 2-2 2 2 0 0 1 2 2zM14.75 4a2.75 2.75 0 0 1-5.384.79A5.25 5.25 0 0 0 4.79 9.365a2.749 2.749 0 1 1-1.539-.01V2a.75.75 0 0 1 1.5 0v3.758q.223-.277.477-.531a6.75 6.75 0 0 1 4.12-1.946 2.747 2.747 0 0 1 4.597-1.225A2.75 2.75 0 0 1 14.75 4"] as readonly string[];

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