import * as React from "react";
import type { IconProps, IconMetadata, IconComponent } from "../../types";

export const C: IconComponent = React.forwardRef<SVGSVGElement, IconProps>(
  function C(
    {
      color = "currentColor",
      fill,
      size = 24,
      strokeWidth,
      strokeLinecap,
      strokeLinejoin,
      strokeDasharray,
      opacity,
      className,
      ...props
    },
    forwardedRef,
  ) {
    return (
      <svg
        width={size}
        height={size}
        viewBox="0 0 24 24"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        className={className}
        strokeWidth={strokeWidth}
        strokeLinecap={strokeLinecap}
        strokeLinejoin={strokeLinejoin}
        strokeDasharray={strokeDasharray}
        opacity={opacity}
        {...props}
        ref={forwardedRef}
      >
        <g clipPath="url(#undefined-clip0_2066_1142)">
          <path
            d="M21.7328 17.9661C21.8976 17.6768 22 17.3508 22 17.0581V6.89667C22 6.604 21.8977 6.27809 21.7329 5.98877L11.5 11.9774L21.7328 17.9661Z"
            fill="#00599c"
          />
          <path
            d="M12.4093 23.7352L21.0907 18.6546C21.3408 18.5082 21.5681 18.2555 21.7328 17.9661L11.5 11.9774L1.26717 17.9661C1.43187 18.2555 1.6593 18.5083 1.90931 18.6546L10.5907 23.7352C11.0908 24.0279 11.9092 24.0279 12.4093 23.7352Z"
            fill="#004482"
          />
          <path
            d="M21.7329 5.98866C21.5681 5.69927 21.3407 5.44654 21.0907 5.30017L12.4093 0.219548C11.9092 -0.0731826 11.0908 -0.0731826 10.5907 0.219548L1.90931 5.30017C1.40916 5.59283 1 6.3113 1 6.8967V17.058C1 17.3507 1.10232 17.6767 1.26717 17.9661L11.5 11.9774L21.7329 5.98866Z"
            fill="#659ad2"
          />
          <path
            d="M11.5 19.073C7.64019 19.073 4.5 15.8899 4.5 11.9774C4.5 8.06481 7.64019 4.88171 11.5 4.88171C13.9906 4.88171 16.3135 6.24032 17.5619 8.42731L14.5325 10.2043C13.9077 9.10961 12.7456 8.42954 11.5 8.42954C9.57006 8.42954 8 10.0211 8 11.9774C8 13.9336 9.57006 15.5252 11.5 15.5252C12.7457 15.5252 13.9078 14.8451 14.5327 13.7502L17.5621 15.5271C16.3137 17.7143 13.9908 19.073 11.5 19.073Z"
            fill="#fff"
          />
        </g>
        <defs>
          <clipPath id="undefined-clip0_2066_1142">
            <path fill="#fff" transform="translate(1)" d="M0 0H21V24H0z" />
          </clipPath>
        </defs>
      </svg>
    );
  },
);

C.displayName = "C";

C.metadata = {
  name: "C",
  category: "icon/language",
  tags: ["icon"],
  description: "C icon from icon/language category",
  type: ["stroke", "icon"],
} as IconMetadata;

export default C;
