/* eslint-disable @typescript-eslint/ban-ts-comment */
// @ts-nocheck
import { useIcon } from 'hooks';
import React, { useMemo } from 'react';
import Svg, { Path, G, Defs, ClipPath, Rect } from 'react-native-svg';
import { IconProps } from './types';

export const Community: React.FC<IconProps> = ({ colorVariant = 'body', ...props }) => {
  const { getIconColor } = useIcon();
  const color = useMemo(() => getIconColor(colorVariant), [getIconColor, colorVariant]);
  return (
    <Svg width="18" height="18" viewBox="0 0 18 18" fill="none" {...props}>
      <G clipPath="url(#clip0_1256_4188)">
        <Path
          d="M14.6249 0.000488281C13.3841 0.000488281 12.375 1.00957 12.375 2.2504C12.375 3.49122 13.3841 4.5003 14.6249 4.5003C15.8657 4.5003 16.8748 3.49122 16.8748 2.2504C16.8748 1.00957 15.8657 0.000488281 14.6249 0.000488281ZM14.6249 3.37535C14.0039 3.37535 13.5 2.87024 13.5 2.2504C13.5 1.63055 14.0039 1.12544 14.6249 1.12544C15.2459 1.12544 15.7499 1.63055 15.7499 2.2504C15.7499 2.87024 15.2459 3.37535 14.6249 3.37535Z"
          fill={color}
        />
        <Path
          d="M17.9952 10.6158L17.4845 6.63795C17.4271 6.06084 16.9456 5.62549 16.3663 5.62549H15.7498C15.6002 5.62549 15.4573 5.68511 15.3516 5.78973L14.6249 6.51758L13.8981 5.79086C13.6788 5.57149 13.3222 5.57149 13.1028 5.79086C12.8834 6.01022 12.8834 6.36683 13.1028 6.5862L14.2277 7.71115C14.4471 7.93052 14.8037 7.93052 15.0231 7.71115L15.9782 6.75607L16.3685 6.76619L16.7983 10.1253H16.3123C16.0232 10.1253 15.7813 10.3447 15.7532 10.6315L15.2413 15.7501H14.0084L13.6653 12.319C13.6349 12.0096 13.348 11.7835 13.0499 11.815C12.7417 11.8453 12.5144 12.121 12.5471 12.4303L12.8902 15.8603C12.9475 16.4397 13.429 16.875 14.0084 16.875H15.2413C15.8218 16.875 16.3022 16.4397 16.3595 15.8626L16.8208 11.2502H17.4373C17.5992 11.2502 17.7522 11.1805 17.8591 11.059C17.9671 10.9386 18.0166 10.7766 17.9952 10.6158Z"
          fill={color}
        />
        <Path
          d="M3.3754 0.000488281C2.13457 0.000488281 1.12549 1.00957 1.12549 2.2504C1.12549 3.49122 2.13457 4.5003 3.3754 4.5003C4.61622 4.5003 5.6253 3.49122 5.6253 2.2504C5.6253 1.00957 4.61622 0.000488281 3.3754 0.000488281ZM3.3754 3.37535C2.75442 3.37535 2.25044 2.87024 2.25044 2.2504C2.25044 1.63055 2.75442 1.12544 3.3754 1.12544C3.99637 1.12544 4.50035 1.63055 4.50035 2.2504C4.50035 2.87024 3.99637 3.37535 3.3754 3.37535Z"
          fill={color}
        />
        <Path
          d="M4.95018 11.8161C4.64531 11.7869 4.3652 12.0107 4.33483 12.3201L3.99171 15.7501H2.75877L2.24691 10.6315C2.21879 10.3447 1.97692 10.1253 1.68781 10.1253H1.20183L1.63381 6.75044H2.01742L2.97813 7.71115C3.1975 7.93052 3.55411 7.93052 3.77347 7.71115L4.89843 6.5862C5.11779 6.36683 5.11779 6.01022 4.89843 5.79086C4.67906 5.57149 4.32245 5.57149 4.10309 5.79086L3.37524 6.51758L2.64852 5.78973C2.54277 5.68511 2.3999 5.62549 2.25029 5.62549H1.63381C1.05446 5.62549 0.57298 6.06084 0.516732 6.62332L0.00487791 10.6169C-0.0164962 10.7766 0.0330018 10.9386 0.140997 11.059C0.247868 11.1805 0.400862 11.2502 0.562855 11.2502H1.17933L1.64056 15.8614C1.69793 16.4397 2.17941 16.875 2.75877 16.875H3.99171C4.57219 16.875 5.05255 16.4397 5.10992 15.8626L5.45303 12.4314C5.48453 12.1221 5.25841 11.8465 4.95018 11.8161Z"
          fill={color}
        />
        <Path
          d="M8.99991 0.000488281C7.75908 0.000488281 6.75 1.00957 6.75 2.2504C6.75 3.49122 7.75908 4.5003 8.99991 4.5003C10.2407 4.5003 11.2498 3.49122 11.2498 2.2504C11.2498 1.00957 10.2407 0.000488281 8.99991 0.000488281ZM8.99991 3.37535C8.37893 3.37535 7.87495 2.87024 7.87495 2.2504C7.87495 1.63055 8.37893 1.12544 8.99991 1.12544C9.62088 1.12544 10.1249 1.63055 10.1249 2.2504C10.1249 2.87024 9.62088 3.37535 8.99991 3.37535Z"
          fill={color}
        />
        <Path
          d="M12.3706 10.6158L11.8599 6.63795C11.8025 6.06085 11.321 5.62549 10.7417 5.62549H10.1252C9.97557 5.62549 9.83271 5.68511 9.72696 5.78973L9.00024 6.51758L8.27352 5.78973C8.16777 5.68511 8.0249 5.62549 7.87529 5.62549H7.25881C6.67946 5.62549 6.19798 6.06085 6.14173 6.62332L5.62988 10.6169C5.6085 10.7767 5.658 10.9387 5.766 11.059C5.87287 11.1805 6.02586 11.2503 6.18785 11.2503H6.79421L7.26556 16.9864C7.32293 17.5646 7.80441 18 8.38376 18H9.61671C10.1972 18 10.6775 17.5646 10.736 16.9774L11.2063 11.2503H11.8126C11.9746 11.2503 12.1276 11.1805 12.2345 11.059C12.3425 10.9387 12.392 10.7767 12.3706 10.6158ZM10.6877 10.1253C10.3941 10.1253 10.1511 10.3503 10.1274 10.6417L9.61671 16.875L8.38489 16.8852L7.87304 10.6417C7.84941 10.3503 7.60642 10.1253 7.31281 10.1253H6.82683L7.25881 6.75044H7.64242L8.60313 7.71116C8.8225 7.93052 9.17911 7.93052 9.39847 7.71116L10.3536 6.75607L10.7439 6.76619L11.1736 10.1253H10.6877Z"
          fill={color}
        />
      </G>
      <Defs>
        <ClipPath id="clip0_1256_4188">
          <Rect width="18" height="18" fill="white" />
        </ClipPath>
      </Defs>
    </Svg>
  );
};
