import type { IllustrationProps } from '../icon'
import { getIconAriaProps } from '../utils'

export default function BedPullOutIcon(props: IllustrationProps) {
  const ariaProps = getIconAriaProps(props)

  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width="51"
      height="32"
      viewBox="0 0 51 32"
      fill="none"
      {...props}
      {...ariaProps}
    >
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M24.9795 28.3871C24.9795 28.1806 24.9795 28.0774 24.8754 27.871H43.8183V31.7935H50.9999V0H43.8183V12.1806C43.0897 11.9742 42.2571 11.871 41.3203 11.7677C40.4877 8.25806 37.2611 5.57419 33.4101 5.57419H29.9754C25.9162 5.57419 22.5856 8.46452 21.9611 12.2839C20.7122 12.5935 19.2364 13.2201 18.1956 13.9427C15.5499 15.9023 15.0858 18.1071 14.7795 19.6129C14.6754 20.2323 14.6037 20.6993 14.5713 21.6774V27.871H17.7979C17.7979 27.9742 17.7719 28.0516 17.7458 28.129C17.7198 28.2065 17.6938 28.2839 17.6938 28.3871C17.6938 30.3484 19.3591 32 21.3366 32C23.3142 32 24.9795 30.3484 24.9795 28.3871ZM33.5142 7.53548H30.0795C27.3734 7.53548 25.0836 9.29032 24.355 11.6645C26.5407 11.3548 28.7264 11.3548 30.3918 11.3548H34.3469C36.1162 11.3548 37.7816 11.3548 39.2387 11.4581C38.302 9.1871 36.1162 7.53548 33.5142 7.53548ZM21.3366 29.9355C20.504 29.9355 19.7754 29.2129 19.7754 28.3871C19.7754 28.1806 19.7754 28.0774 19.8795 27.871H22.7938C22.8979 28.0774 22.8979 28.1806 22.8979 28.3871C22.8979 29.2129 22.2734 29.9355 21.3366 29.9355ZM16.653 25.8065H43.7142V23.7419H16.653V25.8065ZM43.8183 21.6774H16.653C16.653 15.071 21.5448 13.4194 30.2877 13.4194H34.2428C38.7183 13.4194 41.7367 13.6258 43.8183 14.2452V21.6774ZM45.8999 29.729H48.9183V2.06452H45.8999V29.729Z"
        fill="#26201E"
      />
    </svg>
  )
}
