/*
 * 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.586 1.25c.448 0 .878.17 1.205.483l-1.028 1.03q-.017.016-.033.034a.24.24 0 0 0-.144-.047H3a.25.25 0 0 0-.25.25v4.586q.002.106.07.174l5.534 5.534a.21.21 0 0 0 .303.006 951 951 0 0 0 4.612-4.623.246.246 0 0 0-.001-.349l-1.563-1.562.032-.029c.28-.28.443-.632.493-.997q.253-.02.494-.077l1.604 1.605c.682.681.683 1.782.005 2.465a949 949 0 0 1-4.62 4.633 1.71 1.71 0 0 1-2.42-.011L1.76 8.82a1.74 1.74 0 0 1-.51-1.234V3c0-.966.784-1.75 1.75-1.75zM12 .25a2.25 2.25 0 0 1 0 4.5h-1.19l.22.22a.75.75 0 1 1-1.06 1.06l-1.5-1.5a.75.75 0 0 1 0-1.06l1.5-1.5a.75.75 0 1 1 1.06 1.06l-.22.22H12a.75.75 0 0 0 .077-1.496l-.154-.008A.75.75 0 0 1 12 .25M5 4a1 1 0 1 1 0 2 1 1 0 0 1 0-2"] as readonly string[];

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