import type { SVGProps } from "react";

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

/**
 * St. Barthélemy — BLM icon from flag category
 *
 * @example
 * <BLM size={16} />
 * <BLM size={32} className="text-primary" />
 */
export const BLM = ({ size = 16, ...props }: BLMProps) => (
  <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_2519)">
<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="M21.426 9.65218H17.4782C17.4782 8.93182 16.8942 8.34784 16.1739 8.34784L15.1304 10.4348C15.1304 10.4348 16.2434 13.5652 16.2086 13.5652H17.513C18.2334 13.5652 18.8173 12.9813 18.8173 12.2609C19.5377 12.2609 20.1216 11.677 20.1216 10.9566H20.0782C20.7986 10.9565 21.426 10.3726 21.426 9.65218Z" fill="#ACABB1"/>
<path d="M2.57385 9.65218H6.52167C6.52167 8.93182 7.10565 8.34784 7.826 8.34784L8.8695 10.4348C8.8695 10.4348 7.75643 13.5652 7.79124 13.5652H6.48691C5.7665 13.5652 5.18257 12.9813 5.18257 12.2609C4.46217 12.2609 3.87823 11.677 3.87823 10.9566H3.92168C3.20127 10.9565 2.57385 10.3726 2.57385 9.65218Z" fill="#ACABB1"/>
<path d="M16.1739 16.6956V17.2173H7.82608V16.6956H5.73914V18.7826H7.82608V19.3043H16.1739V18.7826H18.2609V16.6956H16.1739Z" fill="#FFDA44"/>
<path d="M7.82605 8.34777V13.5651C7.82605 16.7601 11.9999 17.7391 11.9999 17.7391C11.9999 17.7391 16.1738 16.7601 16.1738 13.5651V8.34777L11.9999 7.82605L7.82605 8.34777Z" fill="#0052B4"/>
<path d="M7.82605 10.435H16.1738V13.5654H7.82605V10.435Z" fill="#D80027"/>
<path d="M14.0869 5.73911V6.52173L13.5652 6.78261L13.0434 6.26084V4.69562H10.9565V6.26084L10.4348 6.78261L9.913 6.52173V5.73911H7.82605V8.34779H16.1739V5.73911H14.0869Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_2519">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
