/*
 * 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 = ["M2 2a.75.75 0 0 0-.75.75v3.525l1.013-1.012.133-.12q.167-.135.354-.224V3.5h4.5v9h-4.5v-1.422a1.7 1.7 0 0 1-.487-.34L1.25 9.724v3.525c0 .414.336.75.75.75h12a.75.75 0 0 0 .75-.75V9.725l-1.013 1.012a1.7 1.7 0 0 1-.487.342V12.5h-4.5v-9h4.5v1.42q.266.124.487.343l1.013 1.011V2.75A.75.75 0 0 0 14 2zm11.03 3.97a.75.75 0 0 0-1.06 1.06l.22.22H10.5a.75.75 0 0 0 0 1.5h1.69l-.22.22a.75.75 0 0 0 1.06 1.06l1.5-1.5a.75.75 0 0 0 0-1.06zm-9 0a.75.75 0 0 0-1.06 0l-1.5 1.5a.75.75 0 0 0 0 1.06l1.5 1.5a.75.75 0 0 0 1.06-1.06l-.22-.22H5.5a.75.75 0 0 0 0-1.5H3.81l.22-.22a.75.75 0 0 0 0-1.06"] as readonly string[];

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