import React from 'react';

import { IconProps, RootPath, RootSvg } from './utils/base';

export const TAR: React.FC<IconProps> = (props) => (
  <RootSvg
    height={props.height || 40}
    viewBox={props.viewBox || '0 0 34 40'}
    width={props.width || 34}
    {...props}
  >
    <RootPath
      d='M0 4a4 4 0 014-4h19.333l10 10v26a4 4 0 01-4 4H4a4 4 0 01-4-4V4z'
      pathFill='#F5F5F5'
    />
    <RootPath d='M0 28h33.333v8a4 4 0 01-4 4H4a4 4 0 01-4-4v-8z' pathFill='#A8A8A8' />
    <RootPath
      d='M26.691 9.99a3.307 3.307 0 01-3.307-3.307V.058L33.33 9.99H26.69z'
      pathFill='#DBDBDB'
    />
    <RootPath
      d='M8.7 32.487v-1.153H7.645v1.153h-.64v.707h.64v2.269c0 .193.033.35.097.469.065.119.151.21.26.275.115.064.244.106.387.126.15.025.305.038.47.038.103 0 .21-.003.319-.008.11-.005.208-.015.298-.03v-.818a1.47 1.47 0 01-.328.03c-.178 0-.297-.03-.357-.09s-.09-.178-.09-.357v-1.904h.775v-.707H8.7zm1.233 1.183c.014-.248.076-.454.186-.618.109-.163.248-.295.416-.394.169-.1.357-.169.566-.208.213-.045.426-.067.64-.067.193 0 .389.015.587.044.199.025.38.077.543.157.164.079.298.19.402.334.104.14.156.325.156.558v2.002c0 .173.01.34.03.498a.9.9 0 00.104.357h-1.071a2.402 2.402 0 01-.052-.178 2.547 2.547 0 01-.022-.194 1.378 1.378 0 01-.596.365 2.39 2.39 0 01-.699.104 1.89 1.89 0 01-.513-.067 1.177 1.177 0 01-.417-.208 1.006 1.006 0 01-.283-.357 1.247 1.247 0 01-.096-.514c0-.218.037-.396.111-.535.08-.144.179-.258.298-.343.124-.084.263-.146.416-.186.16-.044.318-.079.477-.104.158-.025.315-.044.468-.06.154-.014.29-.036.41-.066a.747.747 0 00.282-.127c.07-.06.102-.144.097-.253a.51.51 0 00-.06-.268.35.35 0 00-.148-.156.484.484 0 00-.216-.074 1.414 1.414 0 00-.26-.023c-.209 0-.373.045-.492.134-.119.09-.188.239-.208.447H9.933zm2.44.781a.514.514 0 01-.171.097 2.992 2.992 0 01-.454.09c-.084.009-.169.021-.253.036-.08.015-.159.035-.238.06a.7.7 0 00-.2.104.459.459 0 00-.187.402c0 .094.017.173.052.238a.43.43 0 00.141.156c.06.035.13.06.209.074.08.015.161.023.245.023.209 0 .37-.035.484-.105a.709.709 0 00.253-.245.775.775 0 00.097-.298c.014-.099.022-.178.022-.238v-.394zm1.876-1.964v3.846h1.057V34.6c0-.174.017-.335.052-.484.035-.149.092-.278.171-.387a.867.867 0 01.328-.267c.133-.065.297-.097.49-.097.065 0 .132.005.201.015.07.005.13.012.179.022v-.982a.824.824 0 00-.23-.037c-.135 0-.264.02-.388.06-.124.039-.24.096-.35.17-.108.07-.205.157-.29.26-.084.1-.15.209-.2.328h-.015v-.714h-1.005zm2.254 2.7v1.146h1.168v-1.145h-1.168zm3.819.239a.749.749 0 01-.677-.372 1.24 1.24 0 01-.142-.365 2.366 2.366 0 01-.037-.417c0-.143.015-.28.045-.409.035-.134.087-.25.156-.35a.84.84 0 01.268-.245c.11-.06.238-.09.387-.09.174 0 .317.033.431.098a.77.77 0 01.276.26c.07.109.119.236.148.38.03.138.045.287.045.446 0 .139-.02.273-.06.401-.034.125-.089.236-.163.335a.826.826 0 01-.283.238.84.84 0 01-.394.09zm1.905.662v-3.601h-1.005V33h-.015a1.144 1.144 0 00-.483-.476 1.464 1.464 0 00-.663-.141c-.267 0-.505.052-.714.156a1.52 1.52 0 00-.513.424 1.883 1.883 0 00-.32.61 2.44 2.44 0 00-.104.714c0 .263.03.514.09.752.064.233.163.439.297.617.134.174.305.313.513.417.208.1.456.149.744.149.233 0 .454-.047.662-.142.213-.099.377-.25.491-.453h.015v.505c.005.273-.062.499-.2.678-.135.178-.35.267-.648.267-.188 0-.355-.04-.498-.119-.144-.074-.241-.21-.29-.409h-1.05c.015.218.075.404.179.558.109.159.243.288.402.387.163.1.342.171.535.216.199.05.392.074.58.074.442 0 .794-.06 1.057-.178.263-.12.464-.266.603-.44a1.24 1.24 0 00.268-.55c.044-.198.067-.374.067-.528zm.612-.55v.795h3.534v-.796H24.23l2.002-2.254v-.796h-3.244v.796h1.852l-2 2.254z'
      pathFill='#FFFFFF'
    />
    <RootPath
      d='M8 .207C8 .093 8.093 0 8.207 0h1.24c.114 0 .206.093.206.207v1.24a.207.207 0 01-.206.206h-1.24A.207.207 0 018 1.447V.207zM8 14.88c0-.457.37-.827.827-.827h1.653c.457 0 .827.37.827.827v4.96c0 .457-.37.827-.827.827H8.827A.827.827 0 018 19.84v-4.96zm.827 2.48v2.48h1.653v-2.48H8.827zM9.86 1.653a.207.207 0 00-.207.207V3.1c0 .114.093.207.207.207h1.24a.207.207 0 00.207-.207V1.86a.207.207 0 00-.207-.207H9.86zM8.207 3.307A.207.207 0 008 3.513v1.24c0 .114.093.207.207.207h1.24a.207.207 0 00.206-.207v-1.24a.207.207 0 00-.206-.206h-1.24zM9.86 4.96a.207.207 0 00-.207.207v1.24c0 .114.093.206.207.206h1.24a.207.207 0 00.207-.206v-1.24a.207.207 0 00-.207-.207H9.86zM8.207 6.613A.207.207 0 008 6.82v1.24c0 .114.093.207.207.207h1.24a.207.207 0 00.206-.207V6.82a.207.207 0 00-.206-.207h-1.24zM9.86 8.267a.207.207 0 00-.207.206v1.24c0 .114.093.207.207.207h1.24a.207.207 0 00.207-.207v-1.24a.207.207 0 00-.207-.206H9.86zM8.207 9.92a.207.207 0 00-.207.207v1.24c0 .114.093.206.207.206h1.24a.207.207 0 00.206-.206v-1.24a.207.207 0 00-.206-.207h-1.24zm1.653 1.653a.207.207 0 00-.207.207v1.24c0 .114.093.207.207.207h1.24a.207.207 0 00.207-.207v-1.24a.207.207 0 00-.207-.207H9.86z'
      pathFill='#CFCFCF'
    />
  </RootSvg>
);
