/*
 * 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 = ["M7.027 1.419a1.25 1.25 0 0 1 .946 0l.147.071 6.752 3.859A.75.75 0 0 1 15.25 6v5a.75.75 0 0 1-1.5 0V7.292l-1.333.762v3.806c0 .241-.13.463-.34.581l-4.25 2.39a.67.67 0 0 1-.654 0l-4.25-2.39a.67.67 0 0 1-.34-.58V8.053l-1.695-.97a1.25 1.25 0 0 1 0-2.169L6.88 1.49zm1.093 9.09a1.25 1.25 0 0 1-1.24 0L3.917 8.816v2.655L7.5 13.484l3.583-2.014V8.815zM2.01 6 7.5 9.136 12.987 6 7.5 2.863z"] as readonly string[];

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