import { FC } from 'react'

import { SvgIcon, SvgIconProps } from '@mui/material'

const UnarchiveIcon: FC<SvgIconProps> = ({ sx, ...props }) => (
  <SvgIcon sx={{ fontSize: 18, color: 'action.active', ...sx }} {...props}>
    <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
      <path
        d="M14.0003 0.871666H11.4994C11.1544 0.871666 10.8744 1.15167 10.8744 1.49667C10.8744 1.84167 11.1544 2.12167 11.4994 2.12167H14.0003C15.0353 2.12167 15.8769 2.96333 15.8769 3.9975V10.875H12.8486C12.2911 10.875 11.7903 11.185 11.5436 11.6817L11.1711 12.4275C11.1353 12.4983 11.0636 12.5433 10.9836 12.5433H7.01276C6.93276 12.5433 6.86193 12.4992 6.82609 12.4275L6.45276 11.68C6.20359 11.1842 5.70443 10.8758 5.14943 10.8758H2.12026V3.99833C2.12026 2.96333 2.96193 2.1225 3.99609 2.1225H6.49693C6.84193 2.1225 7.12193 1.8425 7.12193 1.4975C7.12193 1.1525 6.84193 0.872499 6.49693 0.872499H3.99693C2.27359 0.872499 0.871094 2.275 0.871094 3.99833V14.0017C0.871094 15.725 2.27359 17.1283 3.99693 17.1283H14.0003C15.7236 17.1283 17.1269 15.725 17.1269 14.0017V3.99833C17.1269 2.27417 15.7236 0.871666 14.0003 0.871666ZM15.8769 14.0017C15.8769 15.0367 15.0353 15.8783 14.0003 15.8783H3.99693C2.96193 15.8783 2.12109 15.0367 2.12109 14.0017V12.1258H5.14859C5.22693 12.1258 5.30026 12.1717 5.33526 12.24L5.70776 12.9867C5.95609 13.485 6.45609 13.7942 7.01276 13.7942H10.9836C11.5403 13.7942 12.0403 13.485 12.2886 12.9875L12.6619 12.2408C12.6969 12.17 12.7686 12.1258 12.8486 12.1258H15.8769V14.0017Z"
        fill="currentColor"
      />
      <path
        d="M5.87276 5.83417C5.87276 5.99417 5.93359 6.15417 6.05609 6.27583C6.30026 6.52 6.69609 6.52 6.94026 6.27583L8.37359 4.84167V9.73417C8.37359 10.0792 8.65359 10.3592 8.99859 10.3592C9.34359 10.3592 9.62359 10.0792 9.62359 9.73417V4.84167L11.0578 6.27583C11.3019 6.52 11.6978 6.52 11.9419 6.27583C12.0636 6.15417 12.1253 5.99417 12.1253 5.83417C12.1253 5.67417 12.0644 5.51417 11.9419 5.3925L9.44026 2.89083C9.42026 2.87083 9.39443 2.8625 9.37276 2.84583C9.33026 2.8125 9.28859 2.7775 9.23776 2.75667C9.16193 2.725 9.08026 2.7075 8.99859 2.7075C8.91693 2.7075 8.83609 2.72417 8.75943 2.75583C8.68859 2.785 8.62526 2.82917 8.57026 2.88167C8.56609 2.885 8.56109 2.88667 8.55693 2.89L6.05526 5.3925C5.93359 5.51417 5.87276 5.67417 5.87276 5.83417Z"
        fill="currentColor"
      />
    </svg>
  </SvgIcon>
)

export default UnarchiveIcon
