/*
 * 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 1.999a.75.75 0 0 1 .75.751v9.5H14a.75.75 0 0 1 0 1.5H2a.75.75 0 0 1-.75-.75V2.75A.75.75 0 0 1 2 1.999m3.75 4.834c.368 0 .667.299.667.667v3a.667.667 0 0 1-.667.667H4.5a.667.667 0 0 1-.667-.667v-3c0-.368.299-.667.667-.667zm8.25-4c.368 0 .667.299.667.667v7a.667.667 0 0 1-.667.667h-1.25a.667.667 0 0 1-.667-.667v-7c0-.368.299-.667.667-.667zm-5.75 2.25c.368 0 .667.299.667.667v.75a.667.667 0 0 1-.667.667H7.5a.667.667 0 0 1-.667-.667v-.75c0-.368.299-.667.667-.667zm2.5-2.25c.368 0 .667.299.667.667v.75a.667.667 0 0 1-.667.667H10a.667.667 0 0 1-.667-.667V3.5c0-.368.299-.667.667-.667z"] as readonly string[];

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