/*
 * 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 .75a.75.75 0 0 1 .75.75v1.815l1.248-1.123a.75.75 0 0 1 1.004 1.116L8.75 5.334V7.25h1.916l2.026-2.252a.75.75 0 0 1 1.116 1.004L12.685 7.25H14.5a.75.75 0 0 1 0 1.5h-1.815l1.123 1.248a.75.75 0 0 1-1.116 1.004L10.666 8.75H8.75v1.915l2.252 2.027a.75.75 0 0 1-1.004 1.116L8.75 12.684V14.5a.75.75 0 0 1-1.5 0v-1.816l-1.248 1.124a.75.75 0 0 1-1.004-1.116l2.252-2.027V8.75H5.334l-2.026 2.252a.75.75 0 0 1-1.116-1.004L3.315 8.75H1.5a.75.75 0 0 1 0-1.5h1.815L2.192 6.002a.75.75 0 0 1 1.116-1.004L5.334 7.25H7.25V5.334L4.998 3.308a.75.75 0 0 1 1.004-1.116L7.25 3.315V1.5A.75.75 0 0 1 8 .75"] as readonly string[];

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