import { FC } from 'react'

import { SvgIcon, SvgIconProps } from '@mui/material'

const FlagIcon: FC<SvgIconProps> = ({ sx, ...props }) => (
  <SvgIcon sx={{ fontSize: 24, color: 'grey.600', ...sx }} {...props}>
    <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M5.00002 3.18C5.41423 3.18 5.75002 3.51579 5.75002 3.93V21C5.75002 21.4142 5.41423 21.75 5.00002 21.75C4.58581 21.75 4.25002 21.4142 4.25002 21V3.93C4.25002 3.51579 4.58581 3.18 5.00002 3.18Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M19 3.25C19.4142 3.25 19.75 3.58579 19.75 4V14.02C19.75 14.4342 19.4142 14.77 19 14.77C18.5858 14.77 18.25 14.4342 18.25 14.02V4C18.25 3.58579 18.5858 3.25 19 3.25Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M5.00002 14L4.52072 13.4231C4.20213 13.6878 4.15844 14.1607 4.42315 14.4793C4.68353 14.7927 5.14532 14.8401 5.46357 14.5896L5.46627 14.5877C5.47589 14.5811 5.50027 14.5651 5.54116 14.5425C5.62275 14.4973 5.77159 14.4249 6.00218 14.3482C6.46301 14.1951 7.25693 14.023 8.50002 14.023C9.65013 14.023 10.6177 14.3972 11.7246 14.8341C11.7387 14.8397 11.7528 14.8452 11.7669 14.8508C12.837 15.2733 14.0443 15.75 15.5 15.75C16.9077 15.75 17.8883 15.4875 18.5402 15.1963C18.8651 15.0512 19.104 14.9009 19.2701 14.7773C19.353 14.7156 19.4174 14.6608 19.4649 14.6171C19.4887 14.5952 19.5083 14.5761 19.5238 14.5603C19.5316 14.5524 19.5384 14.5454 19.5442 14.5392L19.5522 14.5306L19.5556 14.5268L19.5572 14.525L19.558 14.5242C19.558 14.5242 19.5587 14.5234 19 14.023L19.5587 14.5234C19.8351 14.2148 19.8089 13.7407 19.5004 13.4643C19.1965 13.1921 18.732 13.2134 18.454 13.5088C18.454 13.5088 18.4515 13.5112 18.4496 13.5129C18.4391 13.5226 18.4146 13.5442 18.3745 13.574C18.2945 13.6336 18.1505 13.7276 17.9285 13.8267C17.4868 14.024 16.7173 14.25 15.5 14.25C14.3499 14.25 13.3823 13.8758 12.2754 13.4389L12.2332 13.4222C11.1631 12.9997 9.95574 12.523 8.50002 12.523C7.11811 12.523 6.16203 12.7144 5.52911 12.9248C5.21282 13.0299 4.97885 13.1392 4.81435 13.2303C4.73219 13.2758 4.6677 13.3166 4.61922 13.3498C4.59499 13.3664 4.57481 13.381 4.55845 13.3934C4.55027 13.3995 4.54306 13.4051 4.53678 13.4101L4.52806 13.4171L4.52422 13.4202L4.52243 13.4217L4.52157 13.4224C4.52157 13.4224 4.52072 13.4231 5.00002 14Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M5.53344 4.45923C5.24857 4.74772 4.78396 4.75789 4.48667 4.47879C4.18469 4.19527 4.16972 3.72064 4.45323 3.41865L5.00002 3.932C4.45323 3.41865 4.45399 3.41784 4.45399 3.41784L4.45478 3.41701L4.45641 3.41529L4.45995 3.41159L4.46809 3.40322C4.474 3.39721 4.48089 3.39036 4.48876 3.38274C4.50452 3.36748 4.52425 3.34912 4.54817 3.32813C4.59604 3.28614 4.66058 3.23376 4.74352 3.17487C4.90969 3.05687 5.14804 2.9139 5.47167 2.77601C6.12073 2.49948 7.09704 2.25 8.50002 2.25C9.95574 2.25 11.1631 2.7267 12.2332 3.14922L12.2754 3.16589C13.3823 3.60284 14.3499 3.977 15.5 3.977C16.7431 3.977 17.537 3.80493 17.9979 3.65178C18.2284 3.57514 18.3773 3.50271 18.4589 3.45752C18.4998 3.43487 18.5241 3.41885 18.5338 3.41226L18.5365 3.41041C18.8547 3.15993 19.3165 3.20731 19.5769 3.52071C19.8416 3.8393 19.7979 4.31216 19.4793 4.57687L19 4C19.4793 4.57687 19.4785 4.57757 19.4785 4.57757L19.4776 4.57828L19.4758 4.57975L19.472 4.58289L19.4633 4.58988C19.457 4.59486 19.4498 4.60046 19.4416 4.60663C19.4252 4.61899 19.405 4.63363 19.3808 4.65021C19.3323 4.68338 19.2678 4.72416 19.1857 4.76967C19.0212 4.86079 18.7872 4.97011 18.4709 5.07522C17.838 5.28557 16.8819 5.477 15.5 5.477C14.0443 5.477 12.837 5.0003 11.7669 4.57778C11.7528 4.57222 11.7387 4.56666 11.7246 4.56112C10.6177 4.12416 9.65013 3.75 8.50002 3.75C7.278 3.75 6.50431 3.96652 6.05962 4.15599C5.83637 4.2511 5.69191 4.34113 5.61198 4.39788C5.57188 4.42636 5.54755 4.4468 5.53732 4.45578C5.53566 4.45723 5.53344 4.45923 5.53344 4.45923Z"
        fill="currentColor"
      />
    </svg>
  </SvgIcon>
)

export default FlagIcon
