/*
 * 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 = ["M10.97 1.22a.75.75 0 0 1 1.06 0l2.5 2.5q.05.05.09.107 0 .002.003.005.014.023.025.048.025.04.044.083a.75.75 0 0 1-.078.715 1 1 0 0 1-.084.102l-2.5 2.5a.75.75 0 0 1-1.06-1.06L12.19 5H6.999c-.69 0-1.249.56-1.249 1.25v1.5H7.5a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-.75.75h-5a.75.75 0 0 1-.75-.75v-5a.75.75 0 0 1 .75-.75h1.75v-1.5A2.75 2.75 0 0 1 6.999 3.5h5.19l-1.22-1.22a.75.75 0 0 1 0-1.06M3.25 12.75h3.5v-3.5h-3.5z"] as readonly string[];

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