/*
 * 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 = ["M2.853 12.25h9.604L14.361 8h-9.83zM2.5 9.06l.688-1.744a1.25 1.25 0 0 1 .442-.58l.082-.055A1.25 1.25 0 0 1 4.36 6.5H12V5.25H7.75a.75.75 0 0 1-.45-.15L5.5 3.75h-3zm11-2.56h1.25l.148.008q.146.018.286.07l.135.06.128.074q.123.083.224.192l.093.115.08.125q.071.13.111.272l.03.145.014.147a1.25 1.25 0 0 1-.09.506l-2.281 5.092a.75.75 0 0 1-.685.444H1.75A.75.75 0 0 1 1 13V3.5a1.25 1.25 0 0 1 1.25-1.25h3.333c.27 0 .534.087.75.25L8 3.75h4.25c.29 0 .57.1.792.283l.092.083.083.092c.182.222.283.501.283.792z"] as readonly string[];

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