/*
 * 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.25 1.5A2.248 2.248 0 0 1 13 5.868v4.263A2.248 2.248 0 1 1 10.13 13H5.87A2.249 2.249 0 1 1 3 10.13V5.869A2.248 2.248 0 0 1 3.75 1.5a2.25 2.25 0 0 1 2.192 1.75h4.116A2.25 2.25 0 0 1 12.25 1.5m-8.5 10a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m8.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5M5.764 4.75c-.259.52-.711.923-1.264 1.118v4.263c.639.226 1.143.73 1.37 1.369h4.26a2.25 2.25 0 0 1 1.37-1.37V5.869a2.25 2.25 0 0 1-1.264-1.118zM3.75 3a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m8.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"] as readonly string[];

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