import type { SVGProps } from "react";

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

/**
 * BLR icon from flag category
 *
 * @example
 * <BLR size={16} />
 * <BLR size={32} className="text-primary" />
 */
export const BLR = ({ size = 16, ...props }: BLRProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <g clipPath="url(#clip0_blr)">
<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="#FCFCFC"/>
<path d="M4.9565 11.1304L3.65216 8.76402L4.9565 6.43475L6.26085 8.76402L4.9565 11.1304Z" fill="#A2001D"/>
<path d="M2.3478 11.1304L1.04346 8.76402L2.3478 6.43475L3.65214 8.76402L2.3478 11.1304Z" fill="#A2001D"/>
<path d="M4.9565 17.5652L3.65216 15.1988L4.9565 12.8696L6.26085 15.1988L4.9565 17.5652Z" fill="#A2001D"/>
<path d="M2.3478 17.5652L1.04346 15.1988L2.3478 12.8696L3.65214 15.1988L2.3478 17.5652Z" fill="#A2001D"/>
<path d="M6.26083 2.3293L5.89155 1.66986C5.22921 2.0623 4.60797 2.51666 4.03558 3.02497L4.95649 4.69564L6.26083 2.3293Z" fill="#A2001D"/>
<path d="M4.95647 19.3043L4.02582 20.9663C4.59769 21.4753 5.21851 21.9304 5.88057 22.3236L6.26086 21.6336L4.95647 19.3043Z" fill="#A2001D"/>
<path d="M7.30432 15.1304V23.0459C8.74662 23.6598 10.3335 24 12 24C17.1596 24 21.5581 20.7435 23.2536 16.1739L7.30432 15.1304Z" fill="#6DA544"/>
<path d="M23.2536 16.1739C23.736 14.8739 24 13.4678 24 12C24 5.37263 18.6274 0 12 0C10.3336 0 8.74662 0.339984 7.30432 0.953813V16.1739H23.2536V16.1739Z" fill="#A2001D"/>
</g>
<defs>
<clipPath id="clip0_blr">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
