/*
 * 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 = ["M8 1a2.248 2.248 0 0 1 .75 4.368V7.5h4.75a.75.75 0 0 1 .75.75v2.63a2.248 2.248 0 0 1-.75 4.37 2.25 2.25 0 0 1-.75-4.37V9h-4v1.88A2.248 2.248 0 0 1 8 15.25a2.25 2.25 0 0 1-.75-4.37V9h-4v1.88a2.248 2.248 0 0 1-.75 4.37 2.25 2.25 0 0 1-.75-4.37V8.25a.75.75 0 0 1 .75-.75h4.75V5.368A2.248 2.248 0 0 1 8 1M2.5 12.25a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m5.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m5.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5M8 2.5A.75.75 0 1 0 8 4a.75.75 0 0 0 0-1.5"] as readonly string[];

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