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

const MdSettingsIcon: React.FunctionComponent<MdIconProps> = ({ className, ...otherProps }: MdIconProps) => {
  // eslint-disable-next-line no-console
  console.warn('MdSettingsIcon is deprecated and will be removed in a future release. Use MdIconSettings instead.');

  return (
    <svg
      viewBox="0 0 20 20"
      version="1.1"
      xmlns="http://www.w3.org/2000/svg"
      xmlnsXlink="http://www.w3.org/1999/xlink"
      className={className}
      {...otherProps}
    >
      <g>
        <path
          d="M17.18,8.55l-.09,0-1.58-.45a5.89,5.89,0,0,0-.24-.58L16.06,6a.36.36,0,0,0,0-.09.76.76,0,0,0-.16-.81L14.85,4.06a.74.74,0,0,0-.8-.16l-.09,0-1.43.79-.59-.25-.45-1.57,0-.08a.75.75,0,0,0-.7-.46H9.23a.73.73,0,0,0-.68.45.36.36,0,0,0,0,.09L8.06,4.48c-.18.07-.36.14-.54.23l-1.46-.8L6,3.87A.78.78,0,0,0,5.16,4L4,5.16A.75.75,0,0,0,3.88,6l0,.07.8,1.46A4.25,4.25,0,0,0,4.5,8l-1.59.47-.09,0a.74.74,0,0,0-.45.69v1.57a.74.74,0,0,0,.45.7l.09,0,1.6.47a3,3,0,0,0,.2.49l-.8,1.46,0,.07a.77.77,0,0,0,.16.83L5.16,16a.78.78,0,0,0,.81.17l.09,0,1.46-.79.49.2.47,1.59a.42.42,0,0,0,0,.1.75.75,0,0,0,.69.44h1.58a.75.75,0,0,0,.69-.44.3.3,0,0,0,0-.1L12,15.5a3.25,3.25,0,0,0,.54-.23l1.43.8.08,0a.74.74,0,0,0,.82-.16l1.08-1.08a.79.79,0,0,0,.17-.81L16.06,14l-.79-1.43c.09-.2.17-.39.24-.59l1.58-.45.09,0a.73.73,0,0,0,.45-.68V9.24A.74.74,0,0,0,17.18,8.55Zm-.55,2L15,11.05a.5.5,0,0,0-.34.34,4.5,4.5,0,0,1-.38.91.48.48,0,0,0,0,.48l.83,1.5-.82.82-1.5-.83a.48.48,0,0,0-.48,0,4.9,4.9,0,0,1-.86.36.49.49,0,0,0-.33.34l-.49,1.66H9.39L8.9,15a.51.51,0,0,0-.33-.34,4.56,4.56,0,0,1-.82-.34.5.5,0,0,0-.24-.06.53.53,0,0,0-.24.06l-1.53.83-.86-.86.83-1.53a.51.51,0,0,0,0-.48,5.77,5.77,0,0,1-.34-.81A.48.48,0,0,0,5,11.11l-1.67-.5V9.38L5,8.89a.49.49,0,0,0,.34-.33,5.31,5.31,0,0,1,.34-.81.51.51,0,0,0,0-.48L4.88,5.74l.86-.86,1.53.83a.51.51,0,0,0,.48,0,4.9,4.9,0,0,1,.86-.36A.5.5,0,0,0,9,5l.47-1.64h1.16L11.05,5a.47.47,0,0,0,.34.34,5.2,5.2,0,0,1,.91.39.51.51,0,0,0,.48,0l1.5-.84.82.82-.84,1.5a.53.53,0,0,0,0,.49,4.07,4.07,0,0,1,.38.91A.51.51,0,0,0,15,9l1.65.47Z"
          fill="currentColor"
        />
        <path
          d="M10,7.46A2.54,2.54,0,1,0,12.54,10,2.54,2.54,0,0,0,10,7.46Zm0,4.08A1.54,1.54,0,1,1,11.54,10,1.54,1.54,0,0,1,10,11.54Z"
          fill="currentColor"
        />
      </g>
    </svg>
  );
};

export default MdSettingsIcon;
