/*
 * 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 = ["M7.25 7.25a.54.54 0 0 1 .58-.121l6.887 2.698a.5.5 0 0 1-.025.94L12.5 11.5l2 2a.707.707 0 0 1-1 1l-2-2-.733 2.193a.5.5 0 0 1-.94.024L7.13 7.829a.54.54 0 0 1 .121-.579M2.5 8.75a.75.75 0 0 1 .75.75v3.25H6.5a.75.75 0 0 1 0 1.5h-4a.75.75 0 0 1-.75-.75v-4a.75.75 0 0 1 .75-.75m4-7a.75.75 0 0 1 0 1.5H3.25V6.5a.75.75 0 0 1-1.5 0v-4a.75.75 0 0 1 .75-.75zm7 0a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0V3.25H9.5a.75.75 0 0 1 0-1.5z"] as readonly string[];

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