import type { SVGProps } from "react";

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

/**
 * Papua New Guinea — PNG icon from flag category
 *
 * @example
 * <PNG size={16} />
 * <PNG size={32} className="text-primary" />
 */
export const PNG = ({ size = 16, ...props }: PNGProps) => (
  <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_2204)">
<path d="M20.4853 20.4853C15.799 25.1715 8.20108 25.1715 3.5147 20.4853C-1.17158 15.799 -1.17158 8.20097 3.51475 3.51464C8.20103 -1.17164 15.0611 -0.433783 19.7474 4.25254C24.4337 8.93883 25.1716 15.799 20.4853 20.4853Z" fill="black"/>
<path d="M3.51477 3.51467C8.20105 -1.17161 15.799 -1.17152 20.4853 3.51472C25.1716 8.201 25.1716 15.799 20.4853 20.4853" fill="#A2001D"/>
<path d="M9.17067 16.174L9.36492 16.7718H9.99356L9.48497 17.1413L9.67926 17.7392L9.17067 17.3697L8.66208 17.7392L8.85633 17.1413L8.34778 16.7718H8.97637L9.17067 16.174Z" fill="#F0F0F0"/>
<path d="M7.56519 10.4348L7.88905 11.4313H8.93671L8.08907 12.0471L8.41284 13.0435L7.56519 12.4277L6.7176 13.0435L7.04141 12.0471L6.19373 11.4313H7.24148L7.56519 10.4348Z" fill="#F0F0F0"/>
<path d="M7.56519 17.7392L7.88896 18.7357H8.93671L8.08898 19.3514L8.41284 20.3479L7.56519 19.732L6.7176 20.3479L7.04132 19.3514L6.19373 18.7357H7.24133L7.56519 17.7392Z" fill="#F0F0F0"/>
<path d="M10.6285 13.0436L10.9524 14.04H12L11.1524 14.6558L11.4761 15.6523L10.6285 15.0364L9.78091 15.6523L10.1047 14.6558L9.25708 14.04H10.3048L10.6285 13.0436Z" fill="#F0F0F0"/>
<path d="M4.50184 13.0436L4.8257 14.04H5.87331L5.02572 14.6558L5.34943 15.6523L4.50184 15.0364L3.6542 15.6523L3.97806 14.6558L3.13037 14.04H4.17807L4.50184 13.0436Z" fill="#F0F0F0"/>
<path d="M20.0883 8.88569C19.552 8.34939 18.8551 8.03256 18.1063 7.97814L20.3478 6.23472C19.4551 5.34199 18.2586 4.93881 17.091 5.02408C16.9512 4.52177 16.6847 4.0473 16.2897 3.65228L15.4043 5.42313C15.3462 5.31728 15.2727 5.21767 15.183 5.128C14.6735 4.61861 13.8477 4.61861 13.3383 5.128C12.829 5.63739 12.8289 6.46324 13.3383 6.97263C13.428 7.0623 13.5277 7.13584 13.6335 7.19397L11.8627 8.07939C12.2578 8.47455 12.7326 8.74122 13.2352 8.88091C13.1496 10.0485 13.5524 11.2448 14.4452 12.1376L16.4036 9.61956C16.5509 9.47449 16.7455 9.39438 16.9525 9.39438C17.1616 9.39438 17.3581 9.47575 17.5059 9.62364C17.6537 9.77144 17.7351 9.96799 17.7351 10.177C17.7351 10.3861 17.6537 10.5826 17.5059 10.7304L18.2438 11.4683C18.5886 11.1234 18.7786 10.6648 18.7786 10.177C18.7786 9.77796 18.6513 9.39855 18.4163 9.08486C18.7587 9.17631 19.0824 9.35547 19.3505 9.62364C20.1643 10.4373 20.1643 11.7614 19.3505 12.575L20.0884 13.3129C20.6797 12.7217 21.0053 11.9356 21.0053 11.0994C21.0052 10.2631 20.6795 9.47697 20.0883 8.88569Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_2204">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
