/*
 * 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 12V4a.583.583 0 0 0-.583-.583H4a.75.75 0 0 1 0-1.5h.667c.49 0 .96.172 1.333.483.373-.31.844-.483 1.333-.483H8a.75.75 0 1 1 0 1.5h-.667A.583.583 0 0 0 6.75 4v8a.585.585 0 0 0 .583.584H8a.75.75 0 0 1 0 1.5h-.667c-.49 0-.96-.173-1.333-.484-.373.31-.844.484-1.333.484H4a.75.75 0 0 1 0-1.5h.667A.584.584 0 0 0 5.25 12m-2-7.5a.75.75 0 0 1 0 1.5h-1v4h1a.75.75 0 0 1 0 1.5H1.5a.75.75 0 0 1-.75-.75v-5.5a.75.75 0 0 1 .75-.75zm11.25 0a.75.75 0 0 1 .75.75v5.5a.75.75 0 0 1-.75.75h-6a.75.75 0 0 1 0-1.5h5.25V6H8.5a.75.75 0 0 1 0-1.5z"] as readonly string[];

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