import React from 'react';
import type MdIconProps from './icon.model';

export const MdIconHelp: React.FunctionComponent<MdIconProps> = ({
  className,
  large = false,
  ...otherProps
}: MdIconProps) => {
  if (large) {
    return (
      <svg
        xmlns="http://www.w3.org/2000/svg"
        viewBox="0 -960 960 960"
        fill="currentColor"
        className={className}
        {...otherProps}
      >
        <path d="M484.02-260.46q13.29 0 22.56-9.49 9.27-9.48 9.27-22.76 0-12.91-9.3-22.37-9.29-9.46-22.57-9.46-13.29 0-22.75 9.48-9.46 9.49-9.46 22.39 0 13.28 9.48 22.75 9.49 9.46 22.77 9.46ZM456.31-398h45.54q.38-24.46 7.65-44.04 7.27-19.58 37.04-44.88 29.84-26.39 42.46-49.85 12.61-23.46 12.61-51.66 0-49.42-32.34-79.88-32.35-30.46-83.65-30.46-44.39 0-78.62 22.77-34.23 22.77-50.46 59.62l41.84 16.15q11.39-26.85 32.43-41.77 21.04-14.92 51.81-14.92 36.69 0 57.3 20.04 20.62 20.03 20.62 49.42 0 21.61-12.23 40.15T513-508.92q-29.23 26-42.96 51.3-13.73 25.31-13.73 59.62Zm23.76 298q-78.22 0-147.4-29.92t-120.99-81.71q-51.81-51.79-81.75-120.94Q100-401.71 100-479.93q0-78.84 29.92-148.21t81.71-120.68q51.79-51.31 120.94-81.25Q401.71-860 479.93-860q78.84 0 148.21 29.92t120.68 81.21q51.31 51.29 81.25 120.63Q860-558.9 860-480.07q0 78.22-29.92 147.4t-81.21 120.99q-51.29 51.81-120.63 81.75Q558.9-100 480.07-100Zm-.07-45.39q139.69 0 237.15-97.76 97.46-97.77 97.46-236.85 0-139.69-97.46-237.15-97.46-97.46-237.15-97.46-139.08 0-236.85 97.46-97.76 97.46-97.76 237.15 0 139.08 97.76 236.85 97.77 97.76 236.85 97.76ZM480-480Z" />
      </svg>
    );
  }

  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      viewBox="0 -960 960 960"
      fill="currentColor"
      className={className}
      {...otherProps}
    >
      <path d="M481.56-255.39q16.13 0 27.44-11.32 11.31-11.33 11.31-27.47 0-16.13-11.33-27.44-11.33-11.3-27.46-11.3-16.13 0-27.44 11.33-11.31 11.33-11.31 27.46 0 16.13 11.33 27.44 11.33 11.3 27.46 11.3Zm-28.33-142.23h55.31q.77-33.53 7.65-47.69 6.89-14.15 27.27-34.3 35.39-34.39 47.92-57.24 12.54-22.84 12.54-49.27 0-50.65-33.61-84.19-33.62-33.53-86.31-33.53-44.08 0-78.88 23.73-34.81 23.73-49.81 63.96l50.38 21.61q11.31-29.92 31-43.31 19.69-13.38 44.54-13.38 31.46 0 50.42 17.92 18.97 17.93 18.97 46.23 0 23.39-15.12 40.81-15.11 17.42-34.11 35.19-30.39 28.54-39.27 50.2-8.89 21.65-8.89 63.26ZM480.07-116q-74.84 0-141.21-28.42t-116.18-78.21q-49.81-49.79-78.25-116.13Q116-405.1 116-479.93q0-75.84 28.42-141.71t78.21-115.68q49.79-49.81 116.13-78.25Q405.1-844 479.93-844q75.84 0 141.71 28.42t115.68 78.21q49.81 49.79 78.25 115.63Q844-555.9 844-480.07q0 74.84-28.42 141.21t-78.21 116.18q-49.79 49.81-115.63 78.25Q555.9-116 480.07-116Zm-.07-52q130 0 221-91t91-221q0-130-91-221t-221-91q-130 0-221 91t-91 221q0 130 91 221t221 91Zm0-312Z" />
    </svg>
  );
};

export default MdIconHelp;
