import * as React from 'react'
import Svg, { Path } from 'react-native-svg'
import Colors, { ColorValue } from 'src/styles/colors'

function TouchID({ color = Colors.contentPrimary }: { color?: ColorValue }) {
  return (
    <Svg testID="TouchIDBiometryIcon" width={24} height={24} fill="none">
      <Path
        d="M14.488.354c-1.68-.42-3.45-.48-5.171-.108a.246.246 0 1 0 .104.482c1.648-.356 3.346-.297 4.962.108 3.863.968 7.078 3.872 8.303 7.666.473 1.467.674 3.03.715 4.667a.246.246 0 0 0 .492-.012c-.04-1.66-.244-3.263-.73-4.778-1.271-3.972-4.632-7.017-8.675-8.025ZM8.066 1.1a.246.246 0 1 0-.131-.476c-1.8.497-4.333 2.213-5.898 4.505l-.002.003C.661 7.203-.2 9.806.04 12.332a17.024 17.024 0 0 0 .252 1.39c.204.969.409 1.942.25 2.93a.246.246 0 0 0 .486.079c.167-1.033-.04-2.041-.247-3.05-.096-.465-.192-.931-.25-1.4-.227-2.387.588-4.876 1.914-6.875C3.951 3.201 6.39 1.562 8.066 1.099Z"
        fill={color}
      />
      <Path
        d="M11.3 1.65a10.115 10.115 0 0 1 8.264 3.493.246.246 0 0 1-.373.32 9.622 9.622 0 0 0-7.866-3.32c-3.722.18-7.207 2.704-8.49 6.242a.246.246 0 0 1-.463-.168C3.722 4.49 7.382 1.84 11.3 1.65ZM20.315 6.22a.246.246 0 0 0-.409.274c1.152 1.715 1.628 3.581 1.816 5.795a.246.246 0 1 0 .491-.041c-.192-2.263-.683-4.22-1.898-6.029ZM22.048 13.294a.246.246 0 0 1 .262.23c.093 1.487.094 3.168-.07 4.41a.247.247 0 0 1-.49-.065c.159-1.197.16-2.843.068-4.314a.246.246 0 0 1 .23-.261ZM2.463 9.579a.246.246 0 0 0-.479-.116 9.967 9.967 0 0 0-.278 2.289c-.004.794.144 1.569.292 2.344.121.634.242 1.269.28 1.914.05.847-.128 1.696-.436 2.504a.246.246 0 0 0 .46.175c.327-.853.524-1.773.469-2.708-.038-.64-.16-1.272-.28-1.902-.148-.77-.296-1.538-.292-2.325a9.474 9.474 0 0 1 .264-2.175Z"
        fill={color}
      />
      <Path
        d="M8.93 4.103c.05.126-.01.27-.137.32-2.555 1.026-4.473 3.341-4.865 6.071-.163 1.141.013 2.27.19 3.4.1.637.199 1.273.237 1.91.084 1.383-.073 2.902-.973 4.285a.246.246 0 0 1-.413-.27c.82-1.259.975-2.657.895-3.985-.04-.647-.139-1.29-.237-1.933-.177-1.154-.354-2.306-.187-3.476.418-2.916 2.461-5.372 5.17-6.46.125-.05.269.011.32.138ZM17.58 5.506c-2.015-1.888-4.936-2.547-7.59-1.965a.246.246 0 1 0 .105.482c2.514-.552 5.264.077 7.149 1.842 1.588 1.488 2.51 3.653 2.752 6.014a.246.246 0 0 0 .49-.05c-.25-2.452-1.212-4.737-2.905-6.323ZM20.435 13.003a.246.246 0 0 1 .27.22c.234 2.278.133 4.74-.22 7.12a.246.246 0 1 1-.488-.072c.349-2.348.447-4.767.218-6.998a.246.246 0 0 1 .22-.27Z"
        fill={color}
      />
      <Path
        d="M11.843 5.008C8.067 5.008 5 8.021 5 11.746c0 .398.035.787.102 1.166a.246.246 0 0 0 .486-.086 6.177 6.177 0 0 1-.095-1.08c0-3.445 2.84-6.245 6.351-6.245a6.39 6.39 0 0 1 4.15 1.517.246.246 0 0 0 .319-.375 6.882 6.882 0 0 0-4.469-1.635ZM16.864 7.561a.246.246 0 0 1 .349.008c1.087 1.134 1.435 2.916 1.666 4.412.26 1.685.299 3.329.299 4.09a.246.246 0 1 1-.493 0c0-.749-.04-2.365-.293-4.015-.214-1.389-.523-3.09-1.535-4.146a.246.246 0 0 1 .007-.349ZM19.115 17.483a.246.246 0 1 0-.491-.039c-.121 1.518-.28 3.034-.6 4.435a.246.246 0 1 0 .48.11c.33-1.438.49-2.984.611-4.506ZM5.498 13.82a.246.246 0 0 1 .29.194c.52 2.646.16 5.05-1.22 7.155a.246.246 0 0 1-.411-.27c1.298-1.981 1.647-4.25 1.147-6.79a.246.246 0 0 1 .194-.29Z"
        fill={color}
      />
      <Path
        d="M11.843 6.612c-2.451 0-4.856 1.897-5.101 4.282-.108 1.044.043 2.072.194 3.101.132.899.264 1.797.224 2.707-.092 2.082-.702 3.8-1.752 5.216a.246.246 0 1 0 .396.293c1.113-1.501 1.753-3.316 1.848-5.487.04-.906-.092-1.802-.224-2.697-.151-1.024-.303-2.047-.196-3.083.216-2.095 2.372-3.84 4.611-3.84 1.045 0 3.747.566 4.607 3.366.538 1.755.685 4.13.555 6.437-.13 2.307-.537 4.513-1.082 5.928a.246.246 0 0 0 .46.177c.57-1.48.982-3.742 1.114-6.077.132-2.335-.013-4.776-.576-6.61-.954-3.108-3.946-3.713-5.078-3.713Z"
        fill={color}
      />
      <Path
        d="M8.05 21.17a.246.246 0 0 1 .073.34c-.153.234-.288.48-.422.725s-.269.49-.422.724a.246.246 0 0 1-.413-.269c.153-.234.288-.48.422-.724.135-.245.269-.49.422-.725a.246.246 0 0 1 .34-.072ZM10.161 9.17a.246.246 0 0 0-.274-.41c-.976.653-1.575 1.55-1.575 2.865 0 .783.14 1.423.281 2.08.213.982.358 1.962.332 2.97a9.04 9.04 0 0 1-.732 3.412.246.246 0 1 0 .452.195c.487-1.128.74-2.31.772-3.594.027-1.048-.121-2.067-.342-3.088-.142-.66-.27-1.248-.27-1.975 0-1.127.496-1.88 1.356-2.455ZM11.123 8.304a3.575 3.575 0 0 1 2.933.705c1.447 1.17 1.639 3.306 1.795 5.037l.008.088c.201 2.23-.03 4.397-.494 6.573a.246.246 0 1 1-.482-.103c.458-2.143.68-4.258.485-6.426l-.02-.218v-.001c-.138-1.564-.312-3.523-1.602-4.567a3.083 3.083 0 0 0-2.525-.605.246.246 0 0 1-.098-.483ZM15.017 21.933a.246.246 0 1 0-.478-.121 5.953 5.953 0 0 1-.67 1.6.246.246 0 1 0 .424.252 6.444 6.444 0 0 0 .724-1.73ZM13.812 18.357a.246.246 0 0 1 .216.274c-.233 1.966-.759 3.72-1.602 5.242a.247.247 0 0 1-.43-.239c.806-1.456 1.316-3.146 1.542-5.061a.246.246 0 0 1 .274-.216Z"
        fill={color}
      />
      <Path
        d="M13.761 11.496c-.17-.913-.954-1.611-1.905-1.611-1.288 0-2.192 1.298-1.874 2.506.54 2.132.628 4.187.263 6.166v.002c-.317 1.776-.925 3.375-1.754 4.73a.246.246 0 1 0 .42.257c.863-1.41 1.492-3.067 1.819-4.9.378-2.056.284-4.183-.27-6.377v-.003c-.24-.903.426-1.889 1.395-1.889.7 0 1.29.515 1.421 1.208.359 2.08.546 4.01.413 5.671a.246.246 0 1 0 .491.04c.138-1.723-.057-3.7-.418-5.797l-.001-.003ZM11.12 22.169c.121.062.169.21.107.332l-.653 1.27a.246.246 0 0 1-.439-.225l.653-1.27a.246.246 0 0 1 .332-.107Z"
        fill={color}
      />
      <Path
        d="M12.039 11.733a.246.246 0 1 0-.48.113c.831 3.538.717 6.644-.295 9.29a.246.246 0 0 0 .46.176c1.055-2.759 1.163-5.97.315-9.579Z"
        fill={color}
      />
    </Svg>
  )
}

export default TouchID
