/*
 * 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 = ["M14.25 10.5a.75.75 0 0 1 0 1.5h-1.19l2.22 2.22a.75.75 0 1 1-1.06 1.06L12 13.06v1.19a.75.75 0 0 1-1.5 0v-3a.8.8 0 0 1 .055-.282l.004-.01a.75.75 0 0 1 .262-.323 1 1 0 0 1 .137-.076l.01-.004a1 1 0 0 1 .115-.034 1 1 0 0 1 .167-.021zM3.977 6.22a.75.75 0 0 1 1.061 1.06L3.166 9.153l.001.001a2.25 2.25 0 0 0 .013 3.17 2.25 2.25 0 0 0 3.169.013l1.87-1.874a.75.75 0 0 1 1.062 1.06L7.405 13.4l-.005.005a3.75 3.75 0 0 1-5.302-5.303l.004-.004zm5.243-1a.75.75 0 1 1 1.06 1.06l-4 4a.75.75 0 1 1-1.06-1.06zm1.528-4.2a3.751 3.751 0 0 1 2.658 6.38l-.005.005-1.878 1.876a.75.75 0 0 1-1.06-1.061l1.874-1.872a2.25 2.25 0 0 0-3.183-3.181L7.28 5.038a.751.751 0 0 1-1.06-1.061l1.879-1.875.004-.004a3.75 3.75 0 0 1 2.645-1.078"] as readonly string[];

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