/*
 * 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 = ["M8 1.424a2.5 2.5 0 0 1 2.5 2.5v.283c.39.35.707.781.924 1.267l.826-.365V4a.75.75 0 0 1 1.5 0v1.6a.75.75 0 0 1-.447.685l-1.555.686.002.029v.75h2a.75.75 0 0 1 0 1.5h-2v.504q-.002.43-.095.834l1.648.726a.75.75 0 0 1 .447.686v1.75a.75.75 0 0 1-1.5 0v-1.26l-1.217-.537A3.74 3.74 0 0 1 8 13.5a3.74 3.74 0 0 1-3.033-1.547l-1.217.536v1.261a.75.75 0 0 1-1.5 0V12a.75.75 0 0 1 .448-.687l1.646-.725a3.8 3.8 0 0 1-.094-.838v-.5h-2a.75.75 0 0 1 0-1.5h2V7l.001-.03-1.554-.685A.75.75 0 0 1 2.25 5.6V4a.75.75 0 0 1 1.5 0v1.11l.825.364c.217-.486.534-.918.925-1.268v-.282a2.5 2.5 0 0 1 2.5-2.5M8 4.75A2.25 2.25 0 0 0 5.75 7v2.75a2.25 2.25 0 0 0 4.5.004V7q0-.193-.031-.376A2.25 2.25 0 0 0 8 4.75"] as readonly string[];

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