import React from "react";

export const OldestIcon: React.SFC<React.SVGProps<SVGSVGElement>> = props => {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width="32"
      height="32"
      viewBox="0 0 32 32"
      fill="none"
      data-testid="oldestIcon"
      {...props}
    >
      <g clipPath="url(#clip0)">
        <path
          d="M21.7371 9.57449L16.1774 15.075L17.5385 16.4145L22.1301 11.864V24.7745H24.0473V11.864L28.6389 16.4145L30 15.075L24.0473 9.17549L23.0887 8.22549L21.7371 9.57449Z"
          fill="#3E933A"
        />
        <path
          d="M12.8223 20.9745L9.66858 17.8395V12.7H11.5857V17.0605L14.1835 19.6255L12.8223 20.9745Z"
          fill="black"
        />
        <path
          d="M18.2479 20.2525C16.925 22.542 14.4327 24.1 11.5858 24.1C10.9243 24.1 10.2821 24.005 9.66861 23.853C8.45122 23.5395 7.35844 22.941 6.45738 22.1335C6.42862 22.105 6.39028 22.0765 6.36152 22.048C6.23691 21.934 6.12188 21.82 6.00685 21.6965C5.9685 21.649 5.93016 21.611 5.88223 21.5635C5.77679 21.4495 5.67135 21.3355 5.57549 21.212C5.52756 21.155 5.48922 21.098 5.45087 21.041C5.3646 20.9175 5.26874 20.8035 5.18247 20.68C5.1633 20.6515 5.15371 20.623 5.13454 20.5945C4.98117 20.3665 4.84697 20.1195 4.72236 19.8725C4.66484 19.7585 4.60733 19.6445 4.5594 19.5305C4.52105 19.4355 4.48271 19.3405 4.44437 19.2455C4.39644 19.122 4.34851 18.9985 4.31017 18.875C4.28141 18.78 4.25265 18.685 4.2239 18.59C4.18555 18.457 4.14721 18.3145 4.11845 18.1815C4.09928 18.096 4.08011 18.001 4.06094 17.906C4.03218 17.754 4.01301 17.5925 3.98425 17.4405C3.97467 17.3645 3.96508 17.2885 3.95549 17.203C3.92674 16.9845 3.91715 16.747 3.91715 16.5C3.91715 12.3105 7.35844 8.9 11.5858 8.9C11.8733 8.9 12.1609 8.919 12.4389 8.957C12.5252 8.9665 12.6018 8.976 12.6785 8.995C12.8798 9.0235 13.0907 9.0615 13.2824 9.109C13.3591 9.128 13.4454 9.147 13.5221 9.166C13.7426 9.223 13.963 9.2895 14.1739 9.3655C14.2218 9.3845 14.2698 9.394 14.3081 9.413C14.5669 9.508 14.8066 9.622 15.0462 9.7455C15.6405 10.0495 16.1965 10.4295 16.695 10.876L18.152 9.6125C17.596 9.09 16.973 8.6435 16.3115 8.2635L16.3211 8.254C16.2828 8.235 16.2444 8.216 16.2061 8.197C15.8993 8.026 15.583 7.8645 15.2475 7.7315C15.2379 7.7315 15.2283 7.722 15.2188 7.722C14.8737 7.5795 14.5094 7.4655 14.1452 7.361C14.0589 7.342 13.9822 7.323 13.8959 7.2945C13.6084 7.228 13.3208 7.1615 13.0236 7.1235C12.9182 7.1045 12.8223 7.095 12.7169 7.076C12.3622 7.0285 11.9788 7 11.5858 7C6.29442 7 2 11.256 2 16.5C2 16.8135 2.01917 17.1175 2.04793 17.412C2.05751 17.507 2.07669 17.6115 2.08627 17.7065C2.11503 17.906 2.14379 18.1055 2.18213 18.305C2.2013 18.419 2.23006 18.533 2.25882 18.6375C2.29716 18.818 2.34509 18.989 2.39302 19.1695C2.43136 19.2835 2.46012 19.3975 2.49846 19.5115C2.55597 19.6825 2.61349 19.844 2.68059 20.0055C2.72852 20.1195 2.76686 20.224 2.82438 20.338C2.90106 20.4995 2.97775 20.661 3.05443 20.813C3.10236 20.9175 3.15988 21.022 3.21739 21.117C3.31325 21.2785 3.40911 21.44 3.51455 21.6015C3.57206 21.687 3.61999 21.7725 3.67751 21.858C3.82129 22.067 3.98425 22.276 4.14721 22.4755C4.16638 22.4945 4.18555 22.523 4.20472 22.5515C4.38685 22.77 4.57857 22.979 4.77987 23.1785C4.84697 23.2545 4.92366 23.3115 5.00034 23.3875C5.13454 23.511 5.26874 23.644 5.41253 23.758C5.50839 23.834 5.59466 23.91 5.69052 23.9765C5.82472 24.081 5.95892 24.1855 6.10271 24.2805C6.20815 24.3565 6.31359 24.423 6.41903 24.4895C6.56282 24.575 6.69702 24.6605 6.84081 24.746C6.95584 24.8125 7.06128 24.8695 7.17631 24.9265C7.32968 25.0025 7.47347 25.0785 7.62684 25.145C7.74187 25.1925 7.8569 25.2495 7.97193 25.297C8.13489 25.3635 8.30743 25.4205 8.47997 25.4775C8.58542 25.5155 8.70045 25.5535 8.80589 25.5915C9.02636 25.658 9.25642 25.715 9.48648 25.7625C10.1575 25.9145 10.8572 26 11.5858 26C14.9695 26 17.9411 24.2615 19.6474 21.6395L18.2479 20.2525Z"
          fill="black"
        />
      </g>
      <defs>
        <clipPath id="clip0">
          <rect x="2" y="7" width="28" height="19" fill="white" />
        </clipPath>
      </defs>
    </svg>
  );
};
