/*
 * 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 = ["M13.5 2.25a1.25 1.25 0 0 1 1.25 1.25v9a1.25 1.25 0 0 1-1.25 1.25H4.283a1.25 1.25 0 0 1-1.071-.606H3.21L.356 8.386a.75.75 0 0 1 0-.772l2.855-4.758a1.3 1.3 0 0 1 .457-.444l.144-.07c.15-.06.31-.092.471-.092zM1.874 8l2.55 4.25h8.826v-8.5H4.424zM9.47 5.97a.75.75 0 0 1 1.06 1.06L9.56 8l.97.97a.75.75 0 1 1-1.06 1.06l-.97-.97-.97.97a.75.75 0 0 1-1.06-1.06L7.44 8l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97z"] as readonly string[];

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