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

const ToOfficeIcon = ({ className, onClick }: ToOfficeIconType) => {
  return (
    <svg
      width="40"
      height="40"
      viewBox="0 0 40 40"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      onClick={onClick}
    >
      <path
        d="M32.8862 14.3524C32.5626 14.3524 32.3002 14.6148 32.3002 14.9384V22.4674C32.3002 22.791 32.5626 23.0534 32.8862 23.0534C33.2098 23.0534 33.4721 22.791 33.4721 22.4674V14.9384C33.4721 14.6148 33.2098 14.3524 32.8862 14.3524Z"
        fill="#333333"
      />
      <path
        d="M35.5476 36.2917C35.6162 36.1123 35.6537 35.9177 35.6537 35.7144C35.6537 35.1594 35.4483 34.6514 35.1095 34.2626C35.4433 33.9653 35.6537 33.5324 35.6537 33.0513C35.6537 32.4963 35.4483 31.9883 35.1095 31.5995C35.4433 31.3021 35.6537 30.8692 35.6537 30.3881C35.6537 29.9446 35.5226 29.5311 35.2969 29.1845C36.0279 28.8727 36.5415 28.1469 36.5415 27.3034C36.5415 25.5815 35.1406 24.1807 33.4188 24.1807H22.7262C21.0044 24.1807 19.6036 25.5816 19.6036 27.3034C19.6036 28.1469 20.1172 28.8727 20.8481 29.1845C20.6225 29.5311 20.4913 29.9446 20.4913 30.3881C20.4913 30.8692 20.7019 31.3021 21.0356 31.5994C20.6968 31.9882 20.4913 32.4962 20.4913 33.0512C20.4913 33.5323 20.7019 33.9652 21.0356 34.2625C20.6968 34.6514 20.4913 35.1593 20.4913 35.7143C20.4913 35.9176 20.5289 36.1122 20.5974 36.2917C20.014 36.5378 19.6036 37.1155 19.6036 37.7874C19.6036 39.0074 20.5962 39.9999 21.8162 39.9999H28.0206C28.3442 39.9999 28.6065 39.7376 28.6065 39.414C28.6065 39.0904 28.3442 38.8281 28.0206 38.8281H21.8162C21.2423 38.8281 20.7755 38.3612 20.7755 37.7874C20.7755 37.5389 20.9776 37.3368 21.226 37.3368H34.919C35.1675 37.3368 35.3697 37.5389 35.3697 37.7874C35.3697 38.3612 34.9028 38.8281 34.329 38.8281H30.7374C30.4138 38.8281 30.1515 39.0904 30.1515 39.414C30.1515 39.7376 30.4138 39.9999 30.7374 39.9999H34.329C35.549 39.9999 36.5415 39.0074 36.5415 37.7874C36.5415 37.1156 36.131 36.5378 35.5476 36.2917ZM27.3543 33.5018C27.4515 33.2725 27.5052 33.0205 27.5052 32.7562C27.5052 32.345 27.8397 32.0106 28.2508 32.0106H33.4412C34.0151 32.0106 34.4819 32.4774 34.4819 33.0513C34.4819 33.2997 34.2798 33.5018 34.0314 33.5018H27.3543ZM22.7262 25.3526H33.4189C34.4946 25.3526 35.3697 26.2278 35.3697 27.3034C35.3697 27.7842 34.9784 28.1755 34.4976 28.1755H27.1966C26.873 28.1755 26.6107 28.4378 26.6107 28.7614C26.6107 29.085 26.873 29.3474 27.1966 29.3474H33.4412C34.0151 29.3474 34.4819 29.8142 34.4819 30.3881C34.4819 30.6365 34.2798 30.8386 34.0314 30.8386H28.2509C27.1936 30.8386 26.3334 31.6989 26.3334 32.7561C26.3334 33.1673 25.9989 33.5017 25.5878 33.5017C25.1767 33.5017 24.8422 33.1673 24.8422 32.7561C24.8422 31.6988 23.9819 30.8386 22.9247 30.8386H22.114C21.8655 30.8386 21.6633 30.6365 21.6633 30.388C21.6633 29.8142 22.1302 29.3473 22.704 29.3473H24.4929C24.8165 29.3473 25.0788 29.0849 25.0788 28.7613C25.0788 28.4378 24.8165 28.1754 24.4929 28.1754H21.6477C21.1669 28.1754 20.7756 27.7842 20.7756 27.3033C20.7755 26.2277 21.6505 25.3526 22.7262 25.3526ZM22.1138 33.5018C21.8654 33.5018 21.6632 33.2997 21.6632 33.0513C21.6632 32.4774 22.1301 32.0106 22.7039 32.0106H22.9245C23.3357 32.0106 23.6701 32.3451 23.6701 32.7562C23.6701 33.0205 23.7239 33.2725 23.8211 33.5018H22.1138ZM22.1138 36.165C21.8654 36.165 21.6632 35.9629 21.6632 35.7144C21.6632 35.1406 22.1301 34.6737 22.7039 34.6737H33.4412C34.0151 34.6737 34.4819 35.1406 34.4819 35.7144C34.4819 35.9628 34.2798 36.165 34.0314 36.165H22.1138Z"
        fill="#333333"
      />
      <path
        d="M7.09314 15.5122C7.41673 15.5122 7.67908 15.2498 7.67908 14.9262V10.7312C7.67908 9.2232 8.90673 7.99633 10.4156 7.99633H29.5637C31.0726 7.99633 32.3002 9.2232 32.3002 10.7312V12.2041C32.3002 12.5277 32.5626 12.79 32.8862 12.79C33.2098 12.79 33.4721 12.5277 33.4721 12.2041V10.7312C33.4721 8.57703 31.7188 6.82445 29.5637 6.82445H27.2221V3.9068C27.2221 1.75258 25.4688 0 23.3137 0H16.6656C14.5105 0 12.7572 1.75258 12.7572 3.9068V6.82445H10.4156C8.26048 6.82445 6.5072 8.57703 6.5072 10.7312V14.9262C6.5072 15.2498 6.76955 15.5122 7.09314 15.5122ZM23.7053 6.82445H16.274V3.86859C16.274 3.60937 16.4852 3.39844 16.7447 3.39844H23.2346C23.4942 3.39844 23.7053 3.60937 23.7053 3.86859V6.82445ZM13.9291 3.9068C13.9291 2.39875 15.1567 1.17187 16.6656 1.17187H23.3137C24.8226 1.17187 26.0502 2.39875 26.0502 3.9068V6.82445H24.8772V3.86859C24.8772 2.9632 24.1403 2.22656 23.2346 2.22656H16.7447C15.839 2.22656 15.1021 2.9632 15.1021 3.86859V6.82437H13.9291V3.9068Z"
        fill="#333333"
      />
      <path
        d="M17.8284 24.1807H16.2098V18.5167C16.2098 18.1931 15.9475 17.9307 15.6239 17.9307H13.8661V15.3917C13.8661 15.0681 13.6037 14.8057 13.2801 14.8057H10.9364C10.6128 14.8057 10.3505 15.0681 10.3505 15.3917V16.3682H8.59265C8.26906 16.3682 8.00671 16.6306 8.00671 16.9542V17.9307H6.2489C5.92531 17.9307 5.66296 18.1931 5.66296 18.5167V24.1807H4.04437C3.87546 24.1807 3.71476 24.2536 3.60351 24.3807C3.49226 24.5078 3.44124 24.6767 3.46359 24.8442L3.83382 27.6207C3.87656 27.9414 4.17148 28.1667 4.49202 28.1241C4.81281 28.0814 5.03812 27.7866 4.99538 27.4659L4.71359 25.3527H17.1591L15.4943 37.8383C15.4191 38.4026 14.933 38.8281 14.3636 38.8281H7.50913C6.93984 38.8281 6.45374 38.4026 6.37851 37.8383L5.34968 30.1225C5.30687 29.8017 5.0121 29.5763 4.69148 29.6192C4.3707 29.6619 4.14538 29.9567 4.18812 30.2774L5.21695 37.9931C5.36952 39.1373 6.35491 40 7.50913 40H14.3636C15.5178 40 16.5034 39.1373 16.6559 37.9931L18.4091 24.8441C18.4315 24.6767 18.3805 24.5078 18.2692 24.3806C18.158 24.2536 17.9973 24.1807 17.8284 24.1807ZM6.83484 19.1026H8.00671V24.1807H6.83484V19.1026ZM9.17859 17.5401H10.3505V24.1807H9.17859V17.5401ZM11.5223 15.9776H12.6942V24.1807H11.5223V15.9776ZM13.8661 24.1807V19.1026H15.038V24.1807H13.8661Z"
        fill="#333333"
      />
      <path
        d="M13.8661 32.0903C13.8661 30.4749 12.5519 29.1606 10.9364 29.1606C9.32093 29.1606 8.00671 30.4749 8.00671 32.0903C8.00671 33.7058 9.32093 35.02 10.9364 35.02C12.5519 35.02 13.8661 33.7058 13.8661 32.0903ZM9.17859 32.0903C9.17859 31.121 9.9671 30.3325 10.9364 30.3325C11.9057 30.3325 12.6942 31.121 12.6942 32.0903C12.6942 33.0596 11.9057 33.8481 10.9364 33.8481C9.9671 33.8481 9.17859 33.0596 9.17859 32.0903Z"
        fill="#333333"
      />
    </svg>
  );
};

export default ToOfficeIcon;
