import React from 'react';

import { SVG, IProps as IPropsSVG } from '..';

export interface IProps {
    readonly svg?: IPropsSVG
}

export const IconMarket = (props: IProps) => (
    <SVG {...props.svg}>
        <path
            fillRule="evenodd"
            d="M19.5 11.8885C19.1784 11.9615 18.8437 12 18.5 12C17.2409 12 16.0789 11.478 15.25 10.6132C14.4211 11.478 13.2591 12 12 12C10.7409 12 9.5789 11.478 8.75 10.6132C7.9211 11.478 6.75911 12 5.5 12C5.15631 12 4.82161 11.9615 4.5 11.8885V20.5C4.5 20.7748 4.72514 21 5.00118 21H8.5V17.4975C8.5 15.5665 10.0692 14 12 14C13.9331 14 15.5 15.5648 15.5 17.4975V21H18.9988C19.276 21 19.5 20.7762 19.5 20.5V11.8885ZM21.5 10.8542V20.5C21.5 21.881 20.3803 23 18.9988 23H5.00118C3.6205 23 2.5 21.8793 2.5 20.5V10.8542C1.57938 10.0302 1 8.83275 1 7.5C1 6.84335 1.3519 6.0035 1.98853 4.86269C2.10538 4.65329 2.23056 4.4372 2.36293 4.21565C2.63851 3.75442 2.93255 3.2903 3.2265 2.84498C3.32937 2.68915 3.425 2.54661 3.51105 2.42015C3.55986 2.34842 3.59612 2.29574 3.61788 2.26442C4.11243 1.53487 5.11839 1 5.99562 1H18.0044C18.8903 1 19.8986 1.53731 20.3778 2.25819C20.3989 2.2885 20.4367 2.34343 20.489 2.42015C20.575 2.54661 20.6706 2.68915 20.7735 2.84498C21.0675 3.2903 21.3615 3.75442 21.6371 4.21565C21.7694 4.4372 21.8946 4.65329 22.0115 4.86269C22.6481 6.0035 23 6.84335 23 7.5C23 8.83275 22.4206 10.0302 21.5 10.8542ZM13.5 17.4975C13.5 16.6699 12.8292 16 12 16C11.173 16 10.5 16.6718 10.5 17.4975V21H13.5V17.4975ZM5.27293 3.38729C5.24623 3.42587 5.21251 3.47481 5.16453 3.54532C5.0836 3.66426 4.99316 3.79905 4.89564 3.94678C4.61708 4.36879 4.3386 4.80834 4.07982 5.24146C3.95717 5.44674 3.8418 5.6459 3.735 5.83729C3.27493 6.66172 3 7.31786 3 7.5C3 8.88071 4.11929 10 5.5 10C6.53096 10 7.44467 9.37032 7.82179 8.42948C8.1574 7.59223 9.3426 7.59223 9.67821 8.42948C10.0553 9.37032 10.969 10 12 10C13.031 10 13.9447 9.37032 14.3218 8.42948C14.6574 7.59223 15.8426 7.59223 16.1782 8.42948C16.5553 9.37032 17.469 10 18.5 10C19.8807 10 21 8.88071 21 7.5C21 7.31786 20.7251 6.66172 20.265 5.83729C20.1582 5.6459 20.0428 5.44674 19.9202 5.24146C19.6614 4.80834 19.3829 4.36879 19.1044 3.94678C19.0068 3.79905 18.9164 3.66426 18.8355 3.54532C18.7875 3.47481 18.7538 3.42587 18.7246 3.38361C18.605 3.20382 18.2225 3 18.0044 3H5.99562C5.78176 3 5.3942 3.20671 5.27293 3.38729Z"
            clipRule="evenodd"
        />
    </SVG>
);

export default IconMarket;
