import type { SVGProps } from "react";

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

/**
 * Tibet icon from flag category
 *
 * @example
 * <Tibet size={16} />
 * <Tibet size={32} className="text-primary" />
 */
export const Tibet = ({ size = 16, ...props }: TibetProps) => (
  <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_2615)">
<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="#F0F0F0"/>
<path d="M5.23657 2.08697C7.16243 0.770437 9.49109 0 12 0C14.509 0 16.8376 0.770437 18.7635 2.08697L12 2.60869L5.23657 2.08697Z" fill="#FFDA44"/>
<path d="M3.51534 20.4847L9.04856 14.9515L12 9.91304L14.9511 14.9512L20.4847 20.4847C22.6564 18.3132 24 15.3137 24 12C24 7.88152 21.9249 4.24805 18.7635 2.08698H5.23655C2.07511 4.24805 0 7.88152 0 12C0 15.3137 1.34363 18.3132 3.51534 20.4847Z" fill="#D80027"/>
<path d="M23.0884 16.5947L14.3148 12.9592L14.9507 14.9506L20.4846 20.4846C21.5896 19.3798 22.4801 18.0607 23.0884 16.5947Z" fill="#0052B4"/>
<path d="M24 12C24 10.3723 23.6756 8.82048 23.0884 7.40527L12 12H24Z" fill="#0052B4"/>
<path d="M20.4847 3.51535C19.9572 2.98801 19.3812 2.50927 18.7635 2.08698H16.1077L12 12L20.4847 3.51535Z" fill="#0052B4"/>
<path d="M12 2.08698H7.89227L12 12V2.08698Z" fill="#0052B4"/>
<path d="M3.51535 3.51535C2.41042 4.62019 1.51993 5.9393 0.911682 7.40523L12 12L3.51535 3.51535Z" fill="#0052B4"/>
<path d="M0 12C0 13.6277 0.324422 15.1795 0.911625 16.5947L12 12H0Z" fill="#0052B4"/>
<path d="M5.23657 21.913C7.16238 23.2296 9.49109 24 12 24C14.509 24 16.8376 23.2296 18.7635 21.913H5.23657Z" fill="#FFDA44"/>
<path d="M12 12L14.9514 14.9514C15.7068 14.196 16.1739 13.1526 16.1739 12C16.1739 9.69478 14.3052 7.82611 12 7.82611C9.69488 7.82611 7.82611 9.69478 7.82611 12C7.82611 13.1526 8.29327 14.196 9.04866 14.9514L12 12Z" fill="#FFDA44"/>
<path d="M13.8261 18C13.8261 19.0085 13.0085 19.3043 12 19.3043C10.9915 19.3043 10.1739 19.0085 10.1739 18C10.1739 16.9915 10.9915 16.1739 12 16.1739C13.0085 16.1739 13.8261 16.9915 13.8261 18Z" fill="#FFDA44"/>
<path d="M13.8261 18C13.8261 19.0085 13.0085 19.8261 12 19.8261C10.9915 19.8261 10.1739 19.0085 10.1739 18" fill="#0052B4"/>
</g>
<defs>
<clipPath id="clip0_43_2615">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
