import type { SVGProps } from "react";

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

/**
 * Northern Mariana Islands — MNP icon from flag category
 *
 * @example
 * <MNP size={16} />
 * <MNP size={32} className="text-primary" />
 */
export const MNP = ({ size = 16, ...props }: MNPProps) => (
  <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_2148)">
<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="#338AF3"/>
<path d="M11.6217 19.5558C11.2983 19.5401 11.0306 19.3299 10.9257 19.0445C10.7405 19.286 10.4223 19.4076 10.1087 19.3267C9.79461 19.2459 9.575 18.986 9.52958 18.6845C9.29895 18.8837 8.96295 18.938 8.67237 18.7956C8.38123 18.6526 8.21848 18.3536 8.23517 18.0494C7.96962 18.1986 7.62945 18.1841 7.37328 17.9858C7.11762 17.7875 7.01797 17.4625 7.09517 17.1677C6.80506 17.2605 6.47534 17.1781 6.26403 16.9324C6.05272 16.6872 6.02033 16.3485 6.155 16.0757C5.85237 16.108 5.54562 15.9609 5.38803 15.6781C5.22992 15.3953 5.26648 15.0567 5.45375 14.8161C5.15061 14.7869 4.8793 14.5808 4.78226 14.272C4.68472 13.9631 4.78906 13.6386 5.02123 13.4408C4.73009 13.351 4.50678 13.0943 4.47392 12.7725C4.44106 12.4506 4.60803 12.1548 4.87461 12.0076C4.60798 11.8615 4.43998 11.5657 4.47181 11.2443H4.47233C4.50415 10.9219 4.72747 10.6647 5.01805 10.5739C4.78587 10.3767 4.6805 10.0527 4.77701 9.74375C4.87353 9.43437 5.14428 9.22775 5.44747 9.19747C5.26015 8.95747 5.22261 8.61879 5.37964 8.33558C5.53667 8.05278 5.84347 7.90512 6.14661 7.93695C6.01095 7.66409 6.04278 7.32547 6.25358 7.07923C6.46386 6.83351 6.79358 6.75054 7.0842 6.84237C7.00592 6.54809 7.10506 6.22254 7.36072 6.02379C7.61586 5.82495 7.95603 5.80981 8.22158 5.95798C8.20437 5.65386 8.36661 5.35484 8.65723 5.21136C8.94734 5.06839 9.28386 5.12164 9.51495 5.3209C9.5593 5.0194 9.77895 4.75854 10.0925 4.67708C10.4055 4.5957 10.7238 4.71622 10.9095 4.95725C11.0144 4.67187 11.2815 4.46108 11.605 4.4449C11.928 4.42826 12.2149 4.60976 12.3485 4.88272C12.5082 4.62392 12.8118 4.47054 13.1316 4.51906C13.452 4.56706 13.6977 4.80284 13.7739 5.09769C13.9826 4.87536 14.3113 4.78723 14.615 4.89884C14.9191 5.01101 15.1122 5.2917 15.1268 5.59639C15.3756 5.42112 15.7158 5.40073 15.9908 5.57187C16.2657 5.7425 16.3977 6.05604 16.3508 6.35708C16.6299 6.23553 16.967 6.28404 17.2017 6.50628C17.4365 6.72908 17.5033 7.06245 17.3969 7.34783C17.6948 7.28469 18.0152 7.39948 18.2009 7.66503C18.3866 7.93006 18.3851 8.27023 18.2239 8.52851C18.528 8.5264 18.8187 8.70383 18.9475 9.00069C19.0759 9.29806 19.0054 9.63148 18.7952 9.85217C19.0941 9.91165 19.343 10.1438 19.4087 10.461C19.4739 10.7782 19.3377 11.0897 19.0879 11.2635C19.3675 11.382 19.5647 11.659 19.5652 11.9825V11.9929V11.9997C19.5652 12.3231 19.3691 12.6007 19.0894 12.7202C19.3399 12.893 19.4771 13.2044 19.4119 13.5216C19.3472 13.8388 19.0988 14.0715 18.7999 14.132C19.0107 14.3522 19.0821 14.6851 18.9543 14.983C18.8265 15.2804 18.5359 15.4583 18.2312 15.4567C18.3929 15.715 18.3955 16.0552 18.2103 16.3207C18.0251 16.5864 17.7053 16.7022 17.4073 16.6395C17.5143 16.9244 17.448 17.2583 17.2138 17.4816C16.979 17.7045 16.6425 17.7535 16.3633 17.633C16.4108 17.9335 16.2793 18.2476 16.0049 18.4192C15.7304 18.5909 15.3903 18.571 15.1409 18.3963C15.1268 18.701 14.9348 18.9822 14.6312 19.0949C14.3276 19.2076 14.6312 19.0949 14.6307 19.0949C14.327 19.2071 13.9983 19.1195 13.7891 18.8977C13.714 19.193 13.4688 19.4293 13.1484 19.4784C12.8286 19.5269 12.5244 19.3746 12.3642 19.1158C12.2369 19.3782 11.9677 19.5567 11.6609 19.5567C11.6479 19.5568 11.6348 19.5563 11.6217 19.5558Z" fill="#F3F3F3"/>
<path d="M12 17.2174C14.8815 17.2174 17.2174 14.8815 17.2174 12C17.2174 9.11855 14.8815 6.78265 12 6.78265C9.11855 6.78265 6.78265 9.11855 6.78265 12C6.78265 14.8815 9.11855 17.2174 12 17.2174Z" fill="#338AF3"/>
<path d="M13.142 10.229C13.3983 10.0389 13.5652 9.735 13.5652 9.39131V8.8696C13.5652 8.29327 13.0981 7.82611 12.5217 7.82611H11.4783C10.902 7.82611 10.4348 8.29327 10.4348 8.8696V9.39131C10.4348 9.735 10.6017 10.0389 10.858 10.229L9.91309 19.8261C9.91309 19.8261 10.4348 20.3479 12.0001 20.3479C13.5653 20.3479 14.087 19.8261 14.087 19.8261L13.142 10.229Z" fill="#BDBCC1"/>
<path d="M11.9999 7.82611L12.9064 10.616H15.8401L13.4668 12.3405L14.3732 15.1305L11.9999 13.4062L9.62657 15.1305L10.5332 12.3405L8.15985 10.616H11.0934L11.9999 7.82611Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_2148">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
