import type { SVGProps } from "react";

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

/**
 * Marshall Islands — MHL icon from flag category
 *
 * @example
 * <MHL size={16} />
 * <MHL size={32} className="text-primary" />
 */
export const MHL = ({ size = 16, ...props }: MHLProps) => (
  <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_1917)">
<path d="M12 24C18.6274 24 24 18.6274 24 12C24 9.98611 23.5031 8.08847 22.6265 6.42188L11.9859 12.0141L17.5781 1.37353C15.9115 0.496875 14.0139 0 12 0C5.37262 0 0 5.37262 0 12C0 15.3137 1.34316 18.3137 3.51469 20.4853C5.68627 22.6569 8.68627 24 12 24Z" fill="#0052B4"/>
<path d="M22.6138 6.43496C22.0645 5.38946 21.3504 4.40785 20.4713 3.52876C19.5922 2.64967 18.6107 1.93553 17.5651 1.38629L3.50067 20.4993L22.6138 6.43496Z" fill="#F0F0F0"/>
<path d="M3.50067 20.4993L22.6138 6.43495C22.0645 5.38945 21.3504 4.40784 20.4713 3.52875L3.50067 20.4993Z" fill="#FF9811"/>
<path d="M10.4207 7.037L8.95519 7.72634L9.73561 9.14572L8.1442 8.84126L7.94255 10.4489L6.83405 9.26647L5.72555 10.4489L5.52398 8.84126L3.93258 9.14562L4.71291 7.7263L3.24741 7.037L4.71295 6.34761L3.93258 4.92833L5.52389 5.23269L5.72559 3.62506L6.83405 4.80748L7.94255 3.62506L8.1442 5.23269L9.73566 4.92833L8.95523 6.34765L10.4207 7.037Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_1917">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
