import React from 'react';
import { Path, Rect } from 'react-native-svg';
import type { IllustrationSvgProps } from '../types';
import BaseSvg from '../BaseSvg';

const Info = ({
  stroke,
  fill,
  testID,
  width,
  height,
}: IllustrationSvgProps) => {
  return (
    <BaseSvg width={width} height={height} testID={testID}>
      <Rect
        x="0.799805"
        y="11.3684"
        width="60.6316"
        height="60.6316"
        rx="20"
        fill={fill}
        stroke="transparent"
      />
      <Rect
        x="13.7998"
        y="2"
        width="56.6316"
        height="56.6316"
        rx="18"
        stroke={stroke}
        fill="transparent"
        strokeWidth="4"
      />
      <Path
        d="M49.1021 17.6145L49.1018 17.6137L49.0596 17.5759C46.6814 15.4509 43.6028 14.4854 40.3885 14.8514L40.3882 14.8515C37.9096 15.138 35.5658 16.2835 33.7948 18.0612C32.0167 19.8461 30.904 22.1971 30.6572 24.6761C30.4511 26.5531 30.7238 28.4444 31.4371 30.1375L31.4373 30.1379C32.1233 31.7564 33.2083 33.2013 34.5796 34.3203C35.389 35.0195 35.8306 35.9376 35.8306 36.902C35.8306 36.9343 35.8329 36.965 35.8345 36.9863C35.8363 37.0109 35.8371 37.023 35.8371 37.0325V41.2545C35.8371 43.4251 37.5993 45.2245 39.7811 45.2245H43.5657C45.7397 45.2245 47.5097 43.4394 47.5097 41.2675V41.2671L47.5032 37.0652C47.5032 36.0799 47.9445 35.1119 48.683 34.4765C51.2707 32.3271 52.7627 29.1914 52.7627 25.8745L52.7627 25.874C52.756 22.7112 51.4274 19.7113 49.1021 17.6145ZM46.9725 32.4155L46.9643 32.4223L46.9568 32.4298C46.9416 32.445 46.9297 32.4607 46.9206 32.475C46.0459 33.2353 45.4139 34.2392 45.0849 35.3722H43.0073V29.3904C43.6033 29.2588 44.0513 28.7269 44.0513 28.0926C44.0513 27.3553 43.4549 26.7588 42.7175 26.7588H40.6294C39.8921 26.7588 39.2957 27.3553 39.2957 28.0926C39.2957 28.7334 39.7442 29.2601 40.3397 29.3906V35.3722H38.2855C37.9624 34.166 37.2877 33.1393 36.3257 32.3112C36.3232 32.3078 36.3199 32.3035 36.3161 32.2987C36.3118 32.2936 36.306 32.2869 36.2988 32.2797L36.2905 32.2714L36.2815 32.2641C35.2398 31.4192 34.414 30.3202 33.8999 29.1016C33.3542 27.807 33.1566 26.4097 33.3095 24.958L33.3107 24.9462V24.9344V24.9327C33.7029 21.0834 36.8018 17.9543 40.6943 17.5033C43.1443 17.2234 45.4881 17.9548 47.2919 19.5684L47.2921 19.5685C49.0709 21.1567 50.0946 23.451 50.0948 25.8669C50.0884 28.3832 48.9577 30.7739 46.9725 32.4155ZM43.5658 42.5499H39.7812C39.0814 42.5499 38.5048 41.9573 38.5048 41.2475V38.0398H41.4386C41.456 38.0398 41.4767 38.0427 41.5191 38.0498L41.5242 38.0506C41.5603 38.0567 41.6154 38.0659 41.6735 38.0659C41.7318 38.0659 41.7887 38.0566 41.8258 38.0505L41.8296 38.0499C41.8748 38.0425 41.8944 38.0398 41.9084 38.0398H44.836L44.8421 41.2739C44.8421 41.274 44.8421 41.2741 44.8421 41.2743C44.8419 41.9788 44.2705 42.5499 43.5658 42.5499Z"
        fill={stroke}
      />
    </BaseSvg>
  );
};

export default Info;
