import type { SVGProps } from "react";

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

/**
 * Kiribati — KIR icon from flag category
 *
 * @example
 * <KIR size={16} />
 * <KIR size={32} className="text-primary" />
 */
export const KIR = ({ size = 16, ...props }: KIRProps) => (
  <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_1773)">
<path d="M0 12C0 5.37262 5.37262 0 12 0C18.6274 0 24 5.37262 24 12" fill="#D80027"/>
<path d="M16.1739 11.1599L14.4683 11.9621L15.3766 13.6139L13.5246 13.2596L13.29 15.1305L12 13.7544L10.71 15.1305L10.4754 13.2596L8.62341 13.6138L9.53161 11.9621L7.82611 11.1599L9.53161 10.3576L8.62341 8.70596L10.4753 9.06014L10.71 7.18936L12 8.56528L13.29 7.18936L13.5246 9.06014L15.3766 8.70596L14.4685 10.3577L16.1739 11.1599Z" fill="#FFDA44"/>
<path d="M15.1305 3.91303H12.7826C12.7826 3.48089 12.4322 3.1304 12 3.1304C11.5678 3.1304 11.2174 3.48084 11.2174 3.91303H8.86957C8.86957 4.34521 9.24607 4.69565 9.67826 4.69565H9.65215C9.65215 5.12784 10.0025 5.47828 10.4348 5.47828C10.4348 5.91046 10.7851 6.2609 11.2174 6.2609H12.7826C13.2147 6.2609 13.5652 5.91051 13.5652 5.47828C13.9974 5.47828 14.3478 5.12789 14.3478 4.69565H14.3217C14.754 4.69565 15.1305 4.34526 15.1305 3.91303Z" fill="#FFDA44"/>
<path d="M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12H24Z" fill="#F0F0F0"/>
<path d="M12 24C15.751 24 19.0995 22.2786 21.3001 19.5831C20.9043 19.3132 20.6905 18.877 19.9998 18.877C18.9998 18.877 18.9998 19.7913 17.9999 19.7913C16.9999 19.7913 16.9999 18.877 16 18.877C15 18.877 15 19.7913 13.9999 19.7913C12.9999 19.7913 12.9999 18.877 11.9998 18.877C10.9998 18.877 10.9998 19.7913 9.99986 19.7913C9.00002 19.7913 9.00002 18.877 8.00003 18.877C6.99996 18.877 6.99996 19.7913 5.99988 19.7913C4.9998 19.7913 4.9998 18.877 3.99972 18.877C3.30907 18.877 3.09536 19.3131 2.69974 19.583C4.90024 22.2786 8.24889 24 12 24Z" fill="#0052B4"/>
<path d="M21.9998 13.5305C20.9998 13.5305 20.9998 12.6161 19.9998 12.6161C18.9998 12.6161 18.9998 13.5305 17.9999 13.5305C17 13.5305 16.9999 12.6161 16 12.6161C15 12.6161 15 13.5305 14 13.5305C12.9999 13.5305 12.9999 12.6161 11.9998 12.6161C10.9998 12.6161 10.9998 13.5305 9.99988 13.5305C9.00003 13.5305 9.00003 12.6161 8.00005 12.6161C6.99997 12.6161 6.99997 13.5305 5.99989 13.5305C4.99981 13.5305 4.99981 12.6161 3.99974 12.6161C2.99989 12.6161 2.99989 13.5305 1.99991 13.5305C1.00531 13.5305 0.999548 12.6262 0.0155945 12.6165C0.0432976 13.1654 0.108829 13.7043 0.207923 14.2313C1.00499 14.3484 1.07478 15.1304 1.99995 15.1304C2.99994 15.1304 2.99994 14.2162 3.99978 14.2162C4.99986 14.2162 4.99986 15.1304 5.99994 15.1304C7.00002 15.1304 7.00002 14.2162 8.0001 14.2162C9.00008 14.2162 9.00008 15.1304 9.99992 15.1304C10.9999 15.1304 10.9999 14.2162 11.9998 14.2162C12.9999 14.2162 12.9999 15.1304 14 15.1304C15.0001 15.1304 15.0001 14.2162 16 14.2162C17 14.2162 17 15.1304 17.9999 15.1304C18.9999 15.1304 18.9999 14.2162 19.9999 14.2162C20.9999 14.2162 20.9999 15.1304 21.9999 15.1304C22.9251 15.1304 22.9949 14.3485 23.792 14.2313C23.8912 13.7043 23.9566 13.1655 23.9845 12.6166C23.0003 12.6263 22.9945 13.5305 21.9998 13.5305Z" fill="#0052B4"/>
<path d="M19.9998 15.7466C18.9998 15.7466 18.9998 16.6609 17.9999 16.6609C17 16.6609 16.9999 15.7466 16 15.7466C15 15.7466 15 16.6609 14 16.6609C12.9999 16.6609 12.9999 15.7466 11.9998 15.7466C10.9998 15.7466 10.9998 16.6609 9.99989 16.6609C9.00004 16.6609 9.00005 15.7466 8.00006 15.7466C6.99998 15.7466 6.99998 16.6609 5.9999 16.6609C4.99983 16.6609 4.99983 15.7466 3.99975 15.7466C2.9999 15.7466 2.9999 16.6609 1.99992 16.6609C1.2854 16.6609 1.08131 16.1942 0.658264 15.9276C0.939889 16.7413 1.30626 17.5154 1.7475 18.2389C1.82423 18.2531 1.90776 18.2609 1.99992 18.2609C2.9999 18.2609 2.9999 17.3467 3.99975 17.3467C4.99983 17.3467 4.99983 18.2609 5.9999 18.2609C6.99998 18.2609 6.99998 17.3467 8.00006 17.3467C9.00005 17.3467 9.00004 18.2609 9.99989 18.2609C10.9999 18.2609 10.9999 17.3467 11.9998 17.3467C12.9999 17.3467 12.9999 18.2609 14 18.2609C15 18.2609 15 17.3467 16 17.3467C17 17.3467 17 18.2609 17.9999 18.2609C18.9998 18.2609 18.9999 17.3467 19.9998 17.3467C20.9999 17.3467 20.9999 18.2609 21.9998 18.2609C22.0921 18.2609 22.1756 18.2531 22.2524 18.2389C22.6936 17.5154 23.0599 16.7413 23.3417 15.9277C22.9186 16.1941 22.7145 16.6609 21.9998 16.6609C20.9999 16.6609 20.9999 15.7466 19.9998 15.7466Z" fill="#0052B4"/>
<path d="M23.9628 11.052C23.0004 11.0747 22.9872 11.9653 21.9998 11.9653C20.9999 11.9653 20.9999 11.0509 19.9998 11.0509C18.9998 11.0509 18.9998 11.9653 17.9999 11.9653C17 11.9653 16.9999 11.0509 16 11.0509C15 11.0509 15 11.9653 14 11.9653C12.9999 11.9653 12.9999 11.0509 11.9998 11.0509C10.9998 11.0509 10.9998 11.9653 9.99989 11.9653C9.00005 11.9653 9.00005 11.0509 8.00006 11.0509C6.99998 11.0509 6.99998 11.9653 5.99991 11.9653C4.99983 11.9653 4.99983 11.0509 3.99975 11.0509C2.99991 11.0509 2.99991 11.9653 1.99992 11.9653C1.01278 11.9653 0.999422 11.0748 0.0371719 11.052C0.01275 11.3648 0 11.6809 0 12C0 12.2186 0.0061875 12.4358 0.0178594 12.6514C0.999563 12.6624 1.00608 13.5652 1.99997 13.5652C2.99995 13.5652 2.99995 12.651 3.9998 12.651C4.99988 12.651 4.99988 13.5652 5.99995 13.5652C7.00003 13.5652 7.00003 12.651 8.00011 12.651C9.00009 12.651 9.00009 13.5652 9.99994 13.5652C10.9999 13.5652 10.9999 12.651 11.9999 12.651C12.9999 12.651 12.9999 13.5652 14 13.5652C15.0001 13.5652 15.0001 12.651 16 12.651C17 12.651 17 13.5652 18 13.5652C18.9999 13.5652 18.9999 12.651 19.9999 12.651C21 12.651 21 13.5652 21.9999 13.5652C22.9939 13.5652 23.0004 12.6624 23.9823 12.6514C23.9938 12.4357 24 12.2186 24 12C24 11.6809 23.9872 11.3648 23.9628 11.052Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_1773">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
