import { createComponent } from "./create-component"

export const EmptyStateAnatomy = createComponent((props) => {
  const { palette, ...rest } = props
  return (
    <svg
      width={400}
      height={300}
      viewBox="0 0 400 300"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...rest}
    >
      <path
        d="M113.673 174.636V195H110.849L100.499 180.065H100.31V195H97.2372V174.636H100.081L110.442 189.591H110.631V174.636H113.673ZM124.35 195.308C122.918 195.308 121.668 194.98 120.601 194.324C119.534 193.668 118.705 192.75 118.115 191.57C117.525 190.39 117.23 189.011 117.23 187.433C117.23 185.849 117.525 184.464 118.115 183.277C118.705 182.09 119.534 181.169 120.601 180.513C121.668 179.857 122.918 179.528 124.35 179.528C125.782 179.528 127.031 179.857 128.098 180.513C129.166 181.169 129.994 182.09 130.584 183.277C131.174 184.464 131.469 185.849 131.469 187.433C131.469 189.011 131.174 190.39 130.584 191.57C129.994 192.75 129.166 193.668 128.098 194.324C127.031 194.98 125.782 195.308 124.35 195.308ZM124.36 192.812C125.288 192.812 126.057 192.567 126.667 192.077C127.276 191.586 127.727 190.933 128.019 190.118C128.317 189.303 128.466 188.404 128.466 187.423C128.466 186.449 128.317 185.554 128.019 184.739C127.727 183.917 127.276 183.257 126.667 182.76C126.057 182.263 125.288 182.014 124.36 182.014C123.425 182.014 122.65 182.263 122.033 182.76C121.423 183.257 120.969 183.917 120.671 184.739C120.379 185.554 120.233 186.449 120.233 187.423C120.233 188.404 120.379 189.303 120.671 190.118C120.969 190.933 121.423 191.586 122.033 192.077C122.65 192.567 123.425 192.812 124.36 192.812ZM149.466 179.727V182.114H140.836V179.727H149.466ZM143.202 195V177.957C143.202 177.003 143.411 176.211 143.828 175.581C144.246 174.945 144.8 174.471 145.489 174.159C146.178 173.841 146.927 173.682 147.736 173.682C148.333 173.682 148.843 173.732 149.267 173.831C149.692 173.924 150.007 174.01 150.212 174.089L149.516 176.496C149.377 176.456 149.198 176.41 148.979 176.357C148.76 176.297 148.495 176.267 148.184 176.267C147.461 176.267 146.944 176.446 146.632 176.804C146.328 177.162 146.175 177.679 146.175 178.355V195H143.202ZM158.365 195.308C156.934 195.308 155.684 194.98 154.617 194.324C153.55 193.668 152.721 192.75 152.131 191.57C151.541 190.39 151.246 189.011 151.246 187.433C151.246 185.849 151.541 184.464 152.131 183.277C152.721 182.09 153.55 181.169 154.617 180.513C155.684 179.857 156.934 179.528 158.365 179.528C159.797 179.528 161.047 179.857 162.114 180.513C163.181 181.169 164.01 182.09 164.6 183.277C165.19 184.464 165.485 185.849 165.485 187.433C165.485 189.011 165.19 190.39 164.6 191.57C164.01 192.75 163.181 193.668 162.114 194.324C161.047 194.98 159.797 195.308 158.365 195.308ZM158.375 192.812C159.303 192.812 160.072 192.567 160.682 192.077C161.292 191.586 161.743 190.933 162.034 190.118C162.333 189.303 162.482 188.404 162.482 187.423C162.482 186.449 162.333 185.554 162.034 184.739C161.743 183.917 161.292 183.257 160.682 182.76C160.072 182.263 159.303 182.014 158.375 182.014C157.441 182.014 156.665 182.263 156.049 182.76C155.439 183.257 154.985 183.917 154.686 184.739C154.395 185.554 154.249 186.449 154.249 187.423C154.249 188.404 154.395 189.303 154.686 190.118C154.985 190.933 155.439 191.586 156.049 192.077C156.665 192.567 157.441 192.812 158.375 192.812ZM171.776 174.636V195H168.803V174.636H171.776ZM181.493 195.298C180.26 195.298 179.16 194.983 178.192 194.354C177.231 193.717 176.475 192.812 175.925 191.639C175.382 190.459 175.11 189.044 175.11 187.393C175.11 185.743 175.385 184.331 175.935 183.158C176.492 181.984 177.254 181.086 178.222 180.463C179.19 179.84 180.287 179.528 181.513 179.528C182.461 179.528 183.223 179.688 183.8 180.006C184.383 180.317 184.834 180.682 185.152 181.099C185.477 181.517 185.729 181.885 185.908 182.203H186.087V174.636H189.06V195H186.157V192.624H185.908C185.729 192.948 185.471 193.32 185.132 193.737C184.801 194.155 184.344 194.519 183.76 194.831C183.177 195.143 182.421 195.298 181.493 195.298ZM182.15 192.763C183.005 192.763 183.727 192.537 184.317 192.087C184.914 191.629 185.364 190.996 185.669 190.188C185.981 189.379 186.137 188.437 186.137 187.364C186.137 186.303 185.984 185.375 185.679 184.58C185.374 183.784 184.927 183.164 184.337 182.72C183.747 182.276 183.018 182.054 182.15 182.054C181.255 182.054 180.509 182.286 179.912 182.75C179.316 183.214 178.865 183.847 178.56 184.649C178.262 185.451 178.113 186.356 178.113 187.364C178.113 188.384 178.265 189.303 178.57 190.118C178.875 190.933 179.326 191.58 179.922 192.057C180.525 192.527 181.268 192.763 182.15 192.763ZM199.886 195.308C198.381 195.308 197.085 194.987 195.998 194.344C194.917 193.694 194.082 192.783 193.492 191.609C192.909 190.429 192.617 189.047 192.617 187.463C192.617 185.899 192.909 184.52 193.492 183.327C194.082 182.134 194.904 181.202 195.958 180.533C197.019 179.863 198.258 179.528 199.677 179.528C200.539 179.528 201.374 179.671 202.183 179.956C202.991 180.241 203.717 180.688 204.36 181.298C205.003 181.908 205.51 182.7 205.881 183.675C206.253 184.643 206.438 185.819 206.438 187.205V188.259H194.298V186.031H203.525C203.525 185.249 203.366 184.556 203.048 183.953C202.729 183.343 202.282 182.863 201.705 182.511C201.135 182.16 200.466 181.984 199.697 181.984C198.862 181.984 198.132 182.19 197.509 182.601C196.893 183.005 196.415 183.536 196.077 184.192C195.746 184.841 195.58 185.547 195.58 186.31V188.05C195.58 189.071 195.759 189.939 196.117 190.655C196.482 191.371 196.989 191.918 197.638 192.295C198.288 192.667 199.047 192.852 199.915 192.852C200.479 192.852 200.993 192.773 201.457 192.614C201.921 192.448 202.322 192.203 202.66 191.878C202.998 191.553 203.256 191.152 203.435 190.675L206.249 191.182C206.024 192.01 205.62 192.736 205.036 193.359C204.46 193.976 203.734 194.456 202.859 194.801C201.99 195.139 200.999 195.308 199.886 195.308ZM209.737 195V179.727H212.61V182.153H212.77C213.048 181.331 213.538 180.685 214.241 180.214C214.95 179.737 215.752 179.499 216.647 179.499C216.833 179.499 217.052 179.505 217.304 179.518C217.562 179.532 217.764 179.548 217.91 179.568V182.412C217.791 182.379 217.579 182.342 217.274 182.303C216.969 182.256 216.664 182.233 216.359 182.233C215.656 182.233 215.03 182.382 214.48 182.68C213.936 182.972 213.505 183.38 213.187 183.903C212.869 184.42 212.71 185.01 212.71 185.673V195H209.737ZM235.162 179.727V182.114H226.531V179.727H235.162ZM228.897 195V177.957C228.897 177.003 229.106 176.211 229.524 175.581C229.941 174.945 230.495 174.471 231.184 174.159C231.874 173.841 232.623 173.682 233.431 173.682C234.028 173.682 234.538 173.732 234.963 173.831C235.387 173.924 235.702 174.01 235.907 174.089L235.211 176.496C235.072 176.456 234.893 176.41 234.674 176.357C234.456 176.297 234.19 176.267 233.879 176.267C233.156 176.267 232.639 176.446 232.328 176.804C232.023 177.162 231.87 177.679 231.87 178.355V195H228.897ZM244.061 195.308C242.629 195.308 241.379 194.98 240.312 194.324C239.245 193.668 238.416 192.75 237.826 191.57C237.236 190.39 236.941 189.011 236.941 187.433C236.941 185.849 237.236 184.464 237.826 183.277C238.416 182.09 239.245 181.169 240.312 180.513C241.379 179.857 242.629 179.528 244.061 179.528C245.493 179.528 246.742 179.857 247.809 180.513C248.877 181.169 249.705 182.09 250.295 183.277C250.885 184.464 251.18 185.849 251.18 187.433C251.18 189.011 250.885 190.39 250.295 191.57C249.705 192.75 248.877 193.668 247.809 194.324C246.742 194.98 245.493 195.308 244.061 195.308ZM244.071 192.812C244.999 192.812 245.768 192.567 246.377 192.077C246.987 191.586 247.438 190.933 247.73 190.118C248.028 189.303 248.177 188.404 248.177 187.423C248.177 186.449 248.028 185.554 247.73 184.739C247.438 183.917 246.987 183.257 246.377 182.76C245.768 182.263 244.999 182.014 244.071 182.014C243.136 182.014 242.36 182.263 241.744 182.76C241.134 183.257 240.68 183.917 240.382 184.739C240.09 185.554 239.944 186.449 239.944 187.423C239.944 188.404 240.09 189.303 240.382 190.118C240.68 190.933 241.134 191.586 241.744 192.077C242.36 192.567 243.136 192.812 244.071 192.812ZM264.173 188.666V179.727H267.156V195H264.233V192.355H264.074C263.723 193.17 263.159 193.85 262.384 194.393C261.615 194.93 260.657 195.199 259.51 195.199C258.529 195.199 257.661 194.983 256.905 194.553C256.156 194.115 255.566 193.469 255.135 192.614C254.711 191.759 254.499 190.701 254.499 189.442V179.727H257.472V189.084C257.472 190.125 257.76 190.953 258.337 191.57C258.913 192.186 259.662 192.494 260.584 192.494C261.141 192.494 261.694 192.355 262.244 192.077C262.801 191.798 263.262 191.377 263.626 190.814C263.998 190.25 264.18 189.535 264.173 188.666ZM274.124 185.932V195H271.151V179.727H274.005V182.213H274.194C274.545 181.404 275.095 180.755 275.844 180.264C276.6 179.774 277.551 179.528 278.698 179.528C279.739 179.528 280.65 179.747 281.432 180.185C282.214 180.616 282.821 181.259 283.252 182.114C283.683 182.969 283.898 184.026 283.898 185.286V195H280.925V185.643C280.925 184.536 280.637 183.671 280.06 183.048C279.483 182.419 278.691 182.104 277.684 182.104C276.994 182.104 276.381 182.253 275.844 182.551C275.314 182.849 274.893 183.287 274.581 183.864C274.276 184.434 274.124 185.123 274.124 185.932ZM293.603 195.298C292.37 195.298 291.269 194.983 290.301 194.354C289.34 193.717 288.585 192.812 288.034 191.639C287.491 190.459 287.219 189.044 287.219 187.393C287.219 185.743 287.494 184.331 288.044 183.158C288.601 181.984 289.364 181.086 290.331 180.463C291.299 179.84 292.396 179.528 293.623 179.528C294.57 179.528 295.333 179.688 295.909 180.006C296.493 180.317 296.944 180.682 297.262 181.099C297.587 181.517 297.838 181.885 298.017 182.203H298.196V174.636H301.169V195H298.266V192.624H298.017C297.838 192.948 297.58 193.32 297.242 193.737C296.91 194.155 296.453 194.519 295.87 194.831C295.286 195.143 294.531 195.298 293.603 195.298ZM294.259 192.763C295.114 192.763 295.837 192.537 296.426 192.087C297.023 191.629 297.474 190.996 297.779 190.188C298.09 189.379 298.246 188.437 298.246 187.364C298.246 186.303 298.094 185.375 297.789 184.58C297.484 183.784 297.036 183.164 296.446 182.72C295.856 182.276 295.127 182.054 294.259 182.054C293.364 182.054 292.618 182.286 292.022 182.75C291.425 183.214 290.974 183.847 290.669 184.649C290.371 185.451 290.222 186.356 290.222 187.364C290.222 188.384 290.374 189.303 290.679 190.118C290.984 190.933 291.435 191.58 292.032 192.057C292.635 192.527 293.377 192.763 294.259 192.763Z"
        fill={palette[3]}
      />
      <path
        d="M199 121.75V134.75"
        stroke={palette[2]}
        strokeWidth={3.25}
        strokeMiterlimit={10}
        strokeLinecap="square"
      />
      <path
        d="M205.5 128.25H192.5"
        stroke={palette[2]}
        strokeWidth={3.25}
        strokeMiterlimit={10}
        strokeLinecap="square"
      />
      <path
        d="M218.5 146.125H179.5C178.207 146.125 176.967 145.611 176.053 144.697C175.139 143.783 174.625 142.543 174.625 141.25V102.25H192.5L197.375 110.375H223.375V141.25C223.375 142.543 222.861 143.783 221.947 144.697C221.033 145.611 219.793 146.125 218.5 146.125Z"
        stroke={palette[2]}
        strokeWidth={3.25}
        strokeMiterlimit={10}
        strokeLinecap="square"
      />
    </svg>
  )
})
