/*
 * 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.75 13h4.5V9.5h-4.5zM9.5 4.5a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1 0-1.5zm2.25 8.5H13V5.06L10.94 3H3v10h1.25V9.25c0-.332.132-.65.366-.884l.092-.083A1.25 1.25 0 0 1 5.5 8h5c.29 0 .57.101.792.283l.092.083.083.092c.182.222.283.502.283.792zm2.75.25a1.25 1.25 0 0 1-1.25 1.25H2.75a1.25 1.25 0 0 1-1.25-1.25V2.75A1.25 1.25 0 0 1 2.75 1.5h8.294l.123.006c.245.024.477.121.668.277l.092.082v.001l2.207 2.207c.235.234.366.552.366.883z"] as readonly string[];

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