interface ToRoomIconType {
  className?: string;
  onClick?: () => void;
}

const ToRoomIconIcon = ({ className, onClick }: ToRoomIconType) => {
  return (
    <svg
      width="40"
      height="40"
      viewBox="0 0 40 40"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      onClick={onClick}
    >
      <mask
        id="mask0_2336_2896"
        style={{ maskType: "luminance" }}
        maskUnits="userSpaceOnUse"
        x="0"
        y="0"
        width="40"
        height="40"
      >
        <path d="M0 3.8147e-06H40V40H0V3.8147e-06Z" fill="white" />
      </mask>
      <g mask="url(#mask0_2336_2896)">
        <path
          d="M9.54614 39.4141H20.5915H24.2579"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M2.22656 8.08705V39.1015C2.22656 39.2742 2.36641 39.414 2.53906 39.414H6.81359"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M24.5703 21.7578V0.898439C24.5703 0.725783 24.4305 0.58594 24.2578 0.58594H2.53906C2.36641 0.58594 2.22656 0.725783 2.22656 0.898439V5.32547"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M22.2266 21.7578V3.24219C22.2266 3.06953 22.0867 2.92969 21.9141 2.92969H4.88281C4.71016 2.92969 4.57031 3.06953 4.57031 3.24219V36.7578C4.57031 36.9305 4.71016 37.0703 4.88281 37.0703H19.0234"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M25.264 21.6689C25.4701 20.783 26.2259 18.4022 28.3984 18.4022C30.5782 18.4022 31.3318 20.7988 31.5349 21.6777"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M20.4982 15.625H22.2266V17.9688H20.4982"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M17.8055 17.9688H14.5703V37.0703H12.2266V17.9688H4.57031V15.625H12.2266V2.92969H14.5703V15.625H17.8055"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M19.1797 20C18.5325 20 18.0078 19.4753 18.0078 18.8281V14.7656C18.0078 14.1184 18.5325 13.5938 19.1797 13.5938C19.8269 13.5938 20.3516 14.1184 20.3516 14.7656V18.8281C20.3516 19.4753 19.8269 20 19.1797 20Z"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M36.2053 39.4141H20.5916C19.7255 39.4141 19.0234 38.712 19.0234 37.8459V23.3259C19.0234 22.4599 19.7255 21.7578 20.5916 21.7578H36.2053C37.0714 21.7578 37.7734 22.4599 37.7734 23.3259V37.8459C37.7734 38.712 37.0714 39.4141 36.2053 39.4141Z"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M32.8047 29.5107C33.2805 30.2916 33.5547 31.2089 33.5547 32.1901V32.8152H23.2422V32.1901C23.2422 29.3425 25.5506 27.0339 28.3984 27.0339C29.2826 27.0339 30.1148 27.2564 30.842 27.6485"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M21.5234 32.8152H35.2734"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M28.3984 27.0339V25.8212"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M33.0644 35.0027H23.7324C23.4367 35.0027 23.171 34.8217 23.0628 34.5464L22.3828 32.8152H34.414L33.7339 34.5464C33.6258 34.8217 33.3602 35.0027 33.0644 35.0027Z"
          stroke="#333333"
          strokeMiterlimit="10"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
      </g>
    </svg>
  );
};

export default ToRoomIconIcon;
