/*
 * 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.5zM5.625 4c1.152 0 2.125.911 2.125 2.083 0 1.138-.15 2.244-.646 3.194-.51.977-1.352 1.72-2.595 2.177a.75.75 0 0 1-.518-1.408c.927-.34 1.461-.847 1.783-1.463q.108-.211.189-.446c-.11.017-.223.03-.338.03-1.152 0-2.125-.912-2.125-2.084S4.473 4 5.625 4m4.75 0c1.152 0 2.125.911 2.125 2.083 0 1.138-.15 2.244-.646 3.194-.51.977-1.352 1.72-2.595 2.177a.75.75 0 0 1-.518-1.408c.927-.34 1.461-.847 1.783-1.463q.108-.211.189-.446a2 2 0 0 1-.338.03c-1.152 0-2.125-.912-2.125-2.084S9.223 4 10.375 4"] as readonly string[];

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