import type { SVGProps } from "react";

export interface DZAProps extends SVGProps<SVGSVGElement> {
  /**
   * Icon size (width and height)
   * @default 16
   */
  size?: number | string;
}

/**
 * Algeria — DZA icon from flag category
 *
 * @example
 * <DZA size={16} />
 * <DZA size={32} className="text-primary" />
 */
export const DZA = ({ size = 16, ...props }: DZAProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <g clipPath="url(#clip0_43_797)">
<path d="M12 0C18.6274 0 24 5.37262 24 12C24 18.6274 18.6274 24 12 24C12 23.4783 10.4348 12 10.4348 12L12 0Z" fill="#F0F0F0"/>
<path d="M12 24C5.37262 24 0 18.6274 0 12C0 5.37262 5.37262 0 12 0" fill="#496E2D"/>
<path d="M14.5783 9.69824L13.5938 11.055L11.9992 10.5379L12.9854 11.8935L12.0009 13.2503L13.5948 12.7314L14.581 14.087L14.58 12.4107L16.1739 11.8917L14.5794 11.3746L14.5783 9.69824Z" fill="#D80027"/>
<path d="M12.9955 15.3913C11.1226 15.3913 9.6042 13.8729 9.6042 12C9.6042 10.127 11.1226 8.60867 12.9955 8.60867C13.5795 8.60867 14.129 8.75633 14.6087 9.0163C13.8561 8.28032 12.8269 7.82605 11.6912 7.82605C9.38594 7.82605 7.51727 9.69477 7.51727 11.9999C7.51727 14.3051 9.38599 16.1738 11.6912 16.1738C12.8269 16.1738 13.8561 15.7196 14.6087 14.9836C14.129 15.2436 13.5795 15.3913 12.9955 15.3913Z" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_797">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
