import { useIcon } from 'hooks';
import React, { useMemo } from 'react';
import Svg, { Path } from 'react-native-svg';
import { IconProps } from './types';

export const OrganizationAdmin: React.FC<IconProps> = ({ colorVariant = 'body', ...props }) => {
  const { getIconColor } = useIcon();
  const color = useMemo(() => getIconColor(colorVariant), [getIconColor, colorVariant]);

  return (
    <Svg width="17" height="19" viewBox="0 0 17 19" fill="none" {...props}>
      <Path
        d="M12.75 17C11.3025 17 10.125 15.8225 10.125 14.375C10.125 12.9275 11.3025 11.75 12.75 11.75C14.1975 11.75 15.375 12.9275 15.375 14.375C15.375 15.8225 14.1975 17 12.75 17ZM12.75 12.875C11.9228 12.875 11.25 13.5478 11.25 14.375C11.25 15.2023 11.9228 15.875 12.75 15.875C13.5773 15.875 14.25 15.2023 14.25 14.375C14.25 13.5478 13.5773 12.875 12.75 12.875Z"
        fill={color}
      />
      <Path
        d="M12.75 18.5C12.4395 18.5 12.1875 18.248 12.1875 17.9375V16.4375C12.1875 16.127 12.4395 15.875 12.75 15.875C13.0605 15.875 13.3125 16.127 13.3125 16.4375V17.9375C13.3125 18.248 13.0605 18.5 12.75 18.5Z"
        fill={color}
      />
      <Path
        d="M12.75 12.875C12.4395 12.875 12.1875 12.623 12.1875 12.3125V10.8125C12.1875 10.502 12.4395 10.25 12.75 10.25C13.0605 10.25 13.3125 10.502 13.3125 10.8125V12.3125C13.3125 12.623 13.0605 12.875 12.75 12.875Z"
        fill={color}
      />
      <Path
        d="M14.5351 13.9106C14.3408 13.9106 14.1518 13.8101 14.0476 13.6294C13.8923 13.3601 13.9846 13.0166 14.2531 12.8606L15.5505 12.1105C15.819 11.9553 16.1633 12.0476 16.3193 12.3161C16.4746 12.5852 16.3823 12.9288 16.1139 13.0849L14.8164 13.8348C14.7278 13.8866 14.6311 13.9106 14.5351 13.9106Z"
        fill={color}
      />
      <Path
        d="M9.66836 16.7156C9.47418 16.7156 9.28508 16.615 9.18084 16.4343C9.02566 16.165 9.11781 15.8215 9.38643 15.6655L10.6839 14.9156C10.9524 14.7596 11.2967 14.8526 11.4527 15.121C11.6079 15.3903 11.5156 15.7338 11.2471 15.8898L9.94961 16.6398C9.86035 16.6915 9.76367 16.7156 9.66836 16.7156Z"
        fill={color}
      />
      <Path
        d="M10.9652 13.9106C10.8699 13.9106 10.7724 13.8866 10.6839 13.8348L9.38643 13.0849C9.11781 12.9288 9.02566 12.5852 9.18084 12.3161C9.33685 12.0476 9.68113 11.9553 9.94961 12.1105L11.2471 12.8606C11.5156 13.0166 11.6079 13.3601 11.4527 13.6294C11.3476 13.8101 11.1587 13.9106 10.9652 13.9106Z"
        fill={color}
      />
      <Path
        d="M15.8318 16.7153C15.7366 16.7153 15.6391 16.6912 15.5505 16.6395L14.2531 15.8895C13.9846 15.7335 13.8923 15.39 14.0476 15.1207C14.2036 14.8523 14.5478 14.76 14.8164 14.9153L16.1139 15.6652C16.3823 15.8213 16.4746 16.1647 16.3193 16.434C16.2151 16.6147 16.0261 16.7153 15.8318 16.7153Z"
        fill={color}
      />
      <Path
        d="M6.75005 7.99995C4.68228 7.99995 3 6.31781 3 4.25005C3 2.18228 4.68228 0.5 6.75005 0.5C8.81781 0.5 10.5001 2.18228 10.5001 4.25005C10.5001 6.31781 8.81781 7.99995 6.75005 7.99995ZM6.75005 1.625C5.3026 1.625 4.125 2.80246 4.125 4.25005C4.125 5.69749 5.3026 6.87495 6.75005 6.87495C8.19749 6.87495 9.37509 5.69749 9.37509 4.25005C9.37509 2.80246 8.19749 1.625 6.75005 1.625Z"
        fill={color}
      />
      <Path
        d="M7.49995 16.25H0.5625C0.251999 16.25 0 15.998 0 15.6875V13.0625C0 11.0982 1.59824 9.5 3.56245 9.5H9.93755C10.248 9.5 10.5 9.752 10.5 10.0625C10.5 10.373 10.248 10.625 9.93755 10.625H3.56245C2.21855 10.625 1.125 11.7186 1.125 13.0625V15.125H7.49995C7.81046 15.125 8.06245 15.377 8.06245 15.6875C8.06245 15.998 7.81046 16.25 7.49995 16.25Z"
        fill={color}
      />
    </Svg>
  );
};
