/*
 * 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 = ["M4 .249a.75.75 0 0 1 0 1.5H1.75v12.5H4a.75.75 0 0 1 0 1.5H1a.75.75 0 0 1-.75-.75v-14A.75.75 0 0 1 1 .249zm11 0a.75.75 0 0 1 .75.75v14a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1 0-1.5h2.25v-12.5H12a.75.75 0 0 1 0-1.5zM12.417 4.75a.75.75 0 0 1 .611 1.184l-.693.978A2.249 2.249 0 1 1 9.75 10.56a.75.75 0 0 1 1-1.118.75.75 0 1 0 .5-1.31h-.167a.75.75 0 0 1-.611-1.182l.495-.7h-.717a.75.75 0 0 1 0-1.5zm-8.665.19A.75.75 0 0 1 5 5.5v4.75a.75.75 0 0 1-1.5 0V7.17l-.252.225a.75.75 0 0 1-.996-1.122zm3.717-.186a1.917 1.917 0 0 1 1.754 2.32c-.058.263-.17.51-.33.726h.002L7.697 9.5h.72a.75.75 0 0 1 0 1.5H6.25a.75.75 0 0 1-.613-1.182l2.032-2.881.014-.02a.416.416 0 1 0-.726-.39.75.75 0 0 1-1.414-.5 1.92 1.92 0 0 1 1.926-1.273"] as readonly string[];

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