import { iconVariants } from '../../variants'

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

export default function SafetyBoxIcon({
  className,
  size = 24,
  color,
  ...props
}: IconProps) {
  const classNames = iconVariants({ className, color })
  const ariaProps = getIconAriaProps(props)

  return (
    <svg
      className={classNames}
      xmlns="http://www.w3.org/2000/svg"
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      {...props}
      {...ariaProps}
    >
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M4.92582 18.7339C4.39621 18.7339 3.94284 18.5454 3.5657 18.1682C3.18857 17.7911 3 17.3377 3 16.8081V4.68827C3 4.15866 3.18857 3.70529 3.5657 3.32815C3.94284 2.95102 4.39621 2.76245 4.92582 2.76245H19.0999C19.6295 2.76245 20.0828 2.95102 20.46 3.32815C20.8371 3.70529 21.0257 4.15866 21.0257 4.68827V16.8081C21.0257 17.3377 20.8371 17.7911 20.46 18.1682C20.0828 18.5454 19.6295 18.7339 19.0999 18.7339V19.7995C19.0999 20.0649 19.0057 20.2917 18.8174 20.48C18.6291 20.6683 18.4023 20.7625 18.1369 20.7625C17.8716 20.7625 17.6448 20.6683 17.4565 20.48C17.2682 20.2917 17.174 20.0649 17.174 19.7995V18.7339H6.85164V19.7995C6.85164 20.0649 6.75749 20.2917 6.56919 20.48C6.38088 20.6683 6.15407 20.7625 5.88873 20.7625C5.62339 20.7625 5.39658 20.6683 5.20827 20.48C5.01997 20.2917 4.92582 20.0649 4.92582 19.7995V18.7339ZM4.92582 4.68827V16.8081H19.0999V14.3431H18.0728C17.8074 14.3431 17.5806 14.2489 17.3923 14.0606C17.204 13.8723 17.1098 13.6455 17.1098 13.3802C17.1098 13.1148 17.204 12.888 17.3923 12.6997C17.5806 12.5114 17.8074 12.4173 18.0728 12.4173H19.0999V9.07917H18.0728C17.8074 9.07917 17.5806 8.98501 17.3923 8.79671C17.204 8.60841 17.1098 8.38159 17.1098 8.11626C17.1098 7.85092 17.204 7.6241 17.3923 7.4358C17.5806 7.2475 17.8074 7.15335 18.0728 7.15335H19.0999V4.68827H4.92582Z"
        fill="#26201E"
      />
      <path
        d="M13.5633 11.2715C13.9505 10.8843 14.1441 10.4189 14.1441 9.87515C14.1441 9.33141 13.9505 8.86596 13.5633 8.47877C13.1761 8.09157 12.7106 7.89797 12.1669 7.89797C11.6232 7.89797 11.1577 8.09157 10.7705 8.47877C10.3833 8.86596 10.1897 9.33141 10.1897 9.87515C10.1897 10.4189 10.3833 10.8843 10.7705 11.2715C10.9158 11.4168 11.0545 11.5252 11.2218 11.6159V12.6612C11.2218 12.9265 11.316 13.1533 11.5043 13.3416C11.6926 13.5299 11.9194 13.6241 12.1847 13.6241C12.4501 13.6241 12.6769 13.5299 12.8652 13.3416C13.0535 13.1533 13.1476 12.9265 13.1476 12.6612V11.5956C13.3037 11.5072 13.4267 11.4081 13.5633 11.2715Z"
        fill="#26201E"
      />
    </svg>
  )
}
