import React from "react";

// Icon paths
export const icons = {
  minus: (
    <>
      <path d="M0 7H14" stroke={`#1A1817`} />
    </>
  ),
  add: (
    <>
      <path d="M0 7H14" stroke="#1A1817" />
      <path d="M7 0V14" stroke="#1A1817" />
    </>
  ),
  arrow: (
    <>
      <path d="M6.69775 13.9167L1.08317 7.5L6.69775 1.08333" stroke="#1A1817" />
    </>
  ),
  arrowRight: (
    <>
      {/* <path d="M12.1953 1L6.69531 5.8125L1.19531 1" stroke="#1A1817" /> */}
      <path
        d="M1.0835 1.08331L6.69808 7.49998L1.0835 13.9166"
        stroke="#1A1817"
      ></path>
    </>
  ),
  wishlist: (
    <>
      <path
        d="M2.41447 11.46L2.40878 11.4544L2.40419 11.4502C-0.136587 8.94345 -0.134729 4.88741 2.40976 2.38296L2.40984 2.38289C4.95942 -0.12763 9.09844 -0.12763 11.648 2.38289L11.9987 2.72818L12.3495 2.38304C14.9015 -0.127762 19.0407 -0.127548 21.5902 2.38289L21.5902 2.38296C24.1361 4.88875 24.1366 8.94778 21.5917 11.4542C21.5912 11.4547 21.5907 11.4552 21.5902 11.4556L21.5149 11.5285L21.5149 11.5285L21.5117 11.5316L12 20.8957L2.41447 11.46Z"
        stroke="#1A1817"
      />
    </>
  ),
  user: (
    <>
      <path
        d="M22.4878 23.122C22.4878 23.6069 22.0947 24 21.6098 24C21.1248 24 20.7317 23.6069 20.7317 23.122C20.7317 18.4343 16.9316 14.6341 12.2439 14.6341C7.55622 14.6341 3.7561 18.4343 3.7561 23.122C3.7561 23.6069 3.36298 24 2.87805 24C2.39312 24 2 23.6069 2 23.122C2 17.4644 6.58635 12.878 12.2439 12.878C17.9015 12.878 22.4878 17.4644 22.4878 23.122ZM12.2439 12.2927C8.84937 12.2927 6.09756 9.54087 6.09756 6.14634C6.09756 2.75181 8.84937 0 12.2439 0C15.6384 0 18.3902 2.75181 18.3902 6.14634C18.3902 9.54087 15.6384 12.2927 12.2439 12.2927ZM12.2439 10.5366C14.6686 10.5366 16.6341 8.57101 16.6341 6.14634C16.6341 3.72168 14.6686 1.7561 12.2439 1.7561C9.81924 1.7561 7.85366 3.72168 7.85366 6.14634C7.85366 8.57101 9.81924 10.5366 12.2439 10.5366Z"
        fill="#1A1817"
      />
    </>
  ),
  success: (
    <>
      <path
        d="M0.5 7C0.5 3.13401 3.63401 0 7.5 0V0C11.366 0 14.5 3.13401 14.5 7V7C14.5 10.866 11.366 14 7.5 14V14C3.63401 14 0.5 10.866 0.5 7V7Z"
        fill="black"
      />
      <path
        d="M3.4165 7.25374L6.01182 9.84906L11.5832 4.27771"
        stroke="#FFFFFF"
        strokeWidth="2"
      />
    </>
  ),
  start: (
    <>
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M12 18.324L19.416 22.8L17.448 14.364L24 8.688L15.372 7.956L12 0L8.628 7.956L0 8.688L6.552 14.364L4.584 22.8L12 18.324Z"
        fill="#333333"
      />
    </>
  ),
  start2: (
    <>
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M12 18.324L19.416 22.8L17.448 14.364L24 8.688L15.372 7.956L12 0L8.628 7.956L0 8.688L6.552 14.364L4.584 22.8L12 18.324Z"
        fill="#B8B8B8"
        fillOpacity="0.5"
      />
    </>
  ),
  pause: (
    <>
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM7 8H11V17H7V8ZM17 8H13V17H17V8Z"
        fill="white"
      />
    </>
  ),
  menu: (
    <>
      <path d="M0 6H24" stroke="#1A1817" />
      <path d="M0 12H24" stroke="#1A1817" />
      <path d="M0 18H24" stroke="#1A1817" />
    </>
  ),
  error: (
    <>
      <path
        d="M0.280273 7.5C0.280273 3.63401 3.41428 0.5 7.28027 0.5C11.1463 0.5 14.2803 3.63401 14.2803 7.5C14.2803 11.366 11.1463 14.5 7.28027 14.5C3.41428 14.5 0.280273 11.366 0.280273 7.5Z"
        fill="#EC0000"
      />
      <path d="M7.28027 2.5V8.5" stroke="white" strokeWidth="2" />
      <circle cx="7.28027" cy="11" r="0.5" fill="white" stroke="white" />
    </>
  ),
  close: (
    <>
      <path
        d="M24.9999 0.5L1.33984 24.16L24.9999 0.5Z"
        stroke="#1A1817"
        strokeMiterlimit="10"
        strokeLinecap="round"
      />
      <path
        d="M24.66 24.16L1 0.5L24.66 24.16Z"
        stroke="#1A1817"
        strokeMiterlimit="10"
        strokeLinecap="round"
      />
    </>
  ),
  useradd: (
    <>
      <path d="M1.18 11.9c-.4-.17-.8-.36-1.18-.58.06-1.44 3.02-2.74 3.82-2.87.25-.04.26-.73.26-.73s-.74-.73-.9-1.7c-.43 0-.7-1.05-.27-1.42l-.01-.14c-.07-.67-.31-2.88 2.18-2.88 2.48 0 2.24 2.2 2.17 2.88l-.01.14c.43.37.16 1.41-.27 1.41-.16.98-.9 1.71-.9 1.71s.01.69.26.73c.8.13 3.82 1.46 3.82 2.91v.24a10.63 10.63 0 0 1-8.97.3ZM11.5 2.16c.28 0 .5.22.5.5v1.5h1.5a.5.5 0 0 1 0 1H12v1.5a.5.5 0 0 1-1 0v-1.5H9.5a.5.5 0 1 1 0-1H11v-1.5c0-.28.22-.5.5-.5Z" />
    </>
  ),
  bag: (
    <>
      <path
        d="M16.9963 15.5595L15.9506 3.95337C15.9282 3.69571 15.7078 3.50061 15.4501 3.50061H12.1745C12.1446 1.56442 10.5386 0 8.56668 0C6.59473 0 4.98878 1.56442 4.9589 3.50061H1.68323C1.42179 3.50061 1.20518 3.69571 1.18277 3.95337L0.137036 15.5595C0.137036 15.5742 0.133301 15.589 0.133301 15.6037C0.133301 16.9252 1.36204 18 2.87462 18H14.2587C15.7713 18 17.0001 16.9252 17.0001 15.6037C17.0001 15.589 17.0001 15.5742 16.9963 15.5595ZM8.56668 0.993865C9.98216 0.993865 11.1362 2.11288 11.1661 3.50061H5.96729C5.99717 2.11288 7.15121 0.993865 8.56668 0.993865ZM14.2587 17.0061H2.87462C1.92599 17.0061 1.15663 16.3877 1.14169 15.6258L2.1426 4.49816H4.95517V6.00736C4.95517 6.28344 5.17925 6.50429 5.45936 6.50429C5.73947 6.50429 5.96355 6.28344 5.96355 6.00736V4.49816H11.1661V6.00736C11.1661 6.28344 11.3902 6.50429 11.6703 6.50429C11.9504 6.50429 12.1745 6.28344 12.1745 6.00736V4.49816H14.987L15.9917 15.6258C15.9767 16.3877 15.2036 17.0061 14.2587 17.0061Z"
        fill="#1A1817"
      />
    </>
  ),
  search: (
    <>
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M7.24561 13.114C10.5593 13.114 13.2456 10.4277 13.2456 7.11403C13.2456 3.80032 10.5593 1.11403 7.24561 1.11403C3.9319 1.11403 1.24561 3.80032 1.24561 7.11403C1.24561 10.4277 3.9319 13.114 7.24561 13.114ZM7.24561 14.114C11.1116 14.114 14.2456 10.98 14.2456 7.11403C14.2456 3.24804 11.1116 0.114029 7.24561 0.114029C3.37961 0.114029 0.245605 3.24804 0.245605 7.11403C0.245605 10.98 3.37961 14.114 7.24561 14.114Z"
        fill="#1A1817"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M11.6323 11.4969C11.8275 11.3016 12.1441 11.3016 12.3394 11.4969L15.8749 15.0324C16.0702 15.2277 16.0702 15.5443 15.8749 15.7395C15.6797 15.9348 15.3631 15.9348 15.1678 15.7395L11.6323 12.204C11.437 12.0087 11.437 11.6921 11.6323 11.4969Z"
        fill="#1A1817"
      />
    </>
  ),
} as const;

export type IconKey = keyof typeof icons;
