import React from 'react';

import Svg, { Path } from 'react-native-svg';

import { IconProps } from './utils/base';

export const ZIP = ({ height, width, ...rest }: IconProps) => (
  <Svg width={width} height={height} viewBox='0 0 40 48' fill='none' {...rest}>
    <Path
      d='M0 4C0 1.79086 1.79086 0 4 0H28L40 12V44C40 46.2091 38.2091 48 36 48H4C1.79086 48 0 46.2091 0 44V4Z'
      fill='#E59E34'
    />
    <Path
      fillRule='evenodd'
      clipRule='evenodd'
      d='M11.7647 0H9.41174V2.4H11.7647V4.8H9.41174V7.2H11.7647V9.6H9.41174V12H11.7647V14.4H9.41174V16.8H11.7647V14.4H14.1176V12H11.7647V9.6H14.1176V7.2H11.7647V4.8H14.1176V2.4H11.7647V0ZM9.41174 20.4C9.41174 19.7373 9.93847 19.2 10.5882 19.2H12.9412C13.5909 19.2 14.1176 19.7373 14.1176 20.4V27.6C14.1176 28.2627 13.5909 28.8 12.9412 28.8H10.5882C9.93847 28.8 9.41174 28.2627 9.41174 27.6V20.4ZM10.5882 27.6V24H12.9412V27.6H10.5882Z'
      fill='white'
    />
    <Path opacity='0.5' d='M40 12L31 12C29.3431 12 28 10.6569 28 9V0L40 12Z' fill='white' />
    <Path
      d='M14.4688 40V39.3438L16.6602 36.6289V36.5586H14.5V35.6992H18.0078V36.4258L15.9414 39.0703V39.1406H18.0586V40H14.4688ZM19.1055 40V35.6992H20.2461V40H19.1055ZM19.6797 35.0391C19.5052 35.0391 19.3542 34.9779 19.2266 34.8555C19.099 34.7305 19.0352 34.5807 19.0352 34.4062C19.0352 34.2292 19.099 34.0794 19.2266 33.957C19.3542 33.832 19.5052 33.7695 19.6797 33.7695C19.8568 33.7695 20.0078 33.832 20.1328 33.957C20.2578 34.0794 20.3203 34.2292 20.3203 34.4062C20.3203 34.5807 20.2578 34.7305 20.1328 34.8555C20.0078 34.9779 19.8568 35.0391 19.6797 35.0391ZM21.3945 41.4258V35.6992H22.5352V36.3633H22.6055C22.681 36.2096 22.7799 36.0781 22.9023 35.9688C23.0273 35.8594 23.1732 35.776 23.3398 35.7188C23.5065 35.6589 23.6914 35.6289 23.8945 35.6289C24.2539 35.6289 24.5638 35.7188 24.8242 35.8984C25.0846 36.0781 25.2852 36.3333 25.4258 36.6641C25.569 36.9922 25.6406 37.3854 25.6406 37.8438V37.8516C25.6406 38.3125 25.5703 38.7083 25.4297 39.0391C25.2891 39.3698 25.0885 39.6237 24.8281 39.8008C24.5677 39.9779 24.2565 40.0664 23.8945 40.0664C23.6966 40.0664 23.513 40.0365 23.3438 39.9766C23.1771 39.9141 23.0299 39.8268 22.9023 39.7148C22.7773 39.6029 22.6784 39.4688 22.6055 39.3125H22.5352V41.4258H21.3945ZM23.5039 39.1211C23.707 39.1211 23.8802 39.0703 24.0234 38.9688C24.1693 38.8672 24.2812 38.7214 24.3594 38.5312C24.4401 38.3411 24.4805 38.1146 24.4805 37.8516V37.8438C24.4805 37.5807 24.4401 37.3542 24.3594 37.1641C24.2812 36.974 24.1693 36.8281 24.0234 36.7266C23.8802 36.625 23.707 36.5742 23.5039 36.5742C23.3034 36.5742 23.1289 36.625 22.9805 36.7266C22.8346 36.8281 22.7214 36.974 22.6406 37.1641C22.5625 37.3516 22.5234 37.5781 22.5234 37.8438V37.8516C22.5234 38.112 22.5638 38.3385 22.6445 38.5312C22.7253 38.7214 22.8385 38.8672 22.9844 38.9688C23.1328 39.0703 23.306 39.1211 23.5039 39.1211Z'
      fill='white'
    />
  </Svg>
);
