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

export const ActionBarAnatomy = 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}
    >
      <rect
        x={68.4898}
        y={117}
        width={263.877}
        height={67}
        rx={5.79592}
        fill={palette[2]}
      />
      <path
        d="M96.5936 160.778C95.2281 160.778 94.0084 160.543 92.9345 160.072C91.8673 159.602 91.0221 158.949 90.399 158.114C89.7825 157.272 89.4511 156.297 89.4047 155.19H92.5268C92.5666 155.794 92.7688 156.317 93.1334 156.761C93.5046 157.199 93.9885 157.537 94.5851 157.776C95.1817 158.014 95.8445 158.134 96.5737 158.134C97.3758 158.134 98.0851 157.994 98.7015 157.716C99.3246 157.437 99.8119 157.05 100.163 156.553C100.515 156.049 100.69 155.469 100.69 154.812C100.69 154.13 100.515 153.53 100.163 153.013C99.8185 152.489 99.3114 152.078 98.6419 151.78C97.979 151.482 97.1769 151.332 96.2356 151.332H94.5155V148.827H96.2356C96.9913 148.827 97.6542 148.691 98.2243 148.419C98.801 148.147 99.2517 147.769 99.5765 147.286C99.9013 146.795 100.064 146.222 100.064 145.565C100.064 144.936 99.9212 144.389 99.6362 143.925C99.3578 143.454 98.9601 143.086 98.443 142.821C97.9326 142.556 97.3294 142.423 96.6334 142.423C95.9705 142.423 95.3507 142.546 94.774 142.791C94.2039 143.03 93.7399 143.375 93.3819 143.825C93.024 144.269 92.8317 144.803 92.8052 145.426H89.8322C89.8654 144.326 90.1902 143.358 90.8067 142.523C91.4298 141.687 92.2517 141.035 93.2726 140.564C94.2934 140.093 95.4269 139.858 96.6731 139.858C97.979 139.858 99.1059 140.113 100.054 140.624C101.008 141.127 101.744 141.8 102.261 142.642C102.785 143.484 103.043 144.405 103.037 145.406C103.043 146.546 102.725 147.514 102.082 148.31C101.446 149.105 100.597 149.639 99.5368 149.911V150.07C100.889 150.275 101.936 150.812 102.679 151.68C103.428 152.549 103.799 153.626 103.792 154.912C103.799 156.032 103.488 157.036 102.858 157.925C102.235 158.813 101.383 159.512 100.302 160.023C99.2219 160.527 97.9856 160.778 96.5936 160.778ZM126.637 148.956L123.942 149.433C123.83 149.089 123.651 148.76 123.405 148.449C123.167 148.137 122.842 147.882 122.431 147.683C122.02 147.484 121.506 147.385 120.89 147.385C120.048 147.385 119.345 147.574 118.782 147.952C118.218 148.323 117.937 148.804 117.937 149.393C117.937 149.904 118.126 150.315 118.503 150.626C118.881 150.938 119.491 151.193 120.333 151.392L122.759 151.949C124.164 152.274 125.212 152.774 125.901 153.45C126.591 154.126 126.935 155.005 126.935 156.085C126.935 157 126.67 157.815 126.14 158.531C125.616 159.241 124.884 159.797 123.942 160.202C123.008 160.606 121.924 160.808 120.691 160.808C118.981 160.808 117.585 160.444 116.505 159.714C115.424 158.979 114.761 157.935 114.516 156.582L117.39 156.145C117.569 156.894 117.937 157.461 118.493 157.845C119.05 158.223 119.776 158.412 120.671 158.412C121.645 158.412 122.424 158.21 123.008 157.805C123.591 157.394 123.883 156.894 123.883 156.304C123.883 155.827 123.704 155.426 123.346 155.101C122.994 154.776 122.454 154.531 121.725 154.365L119.14 153.798C117.715 153.473 116.661 152.956 115.978 152.247C115.302 151.538 114.964 150.64 114.964 149.553C114.964 148.651 115.216 147.862 115.719 147.186C116.223 146.51 116.919 145.983 117.807 145.605C118.696 145.221 119.713 145.028 120.86 145.028C122.51 145.028 123.81 145.386 124.758 146.102C125.706 146.812 126.332 147.763 126.637 148.956ZM136.786 160.808C135.282 160.808 133.986 160.487 132.899 159.844C131.818 159.194 130.983 158.283 130.393 157.109C129.81 155.929 129.518 154.547 129.518 152.963C129.518 151.399 129.81 150.02 130.393 148.827C130.983 147.634 131.805 146.702 132.859 146.033C133.919 145.363 135.159 145.028 136.578 145.028C137.439 145.028 138.275 145.171 139.083 145.456C139.892 145.741 140.618 146.188 141.261 146.798C141.904 147.408 142.411 148.2 142.782 149.175C143.153 150.143 143.339 151.319 143.339 152.705V153.759H131.198V151.531H140.426C140.426 150.749 140.267 150.056 139.948 149.453C139.63 148.843 139.183 148.363 138.606 148.011C138.036 147.66 137.366 147.484 136.597 147.484C135.762 147.484 135.033 147.69 134.41 148.101C133.794 148.505 133.316 149.036 132.978 149.692C132.647 150.341 132.481 151.047 132.481 151.81V153.55C132.481 154.571 132.66 155.439 133.018 156.155C133.383 156.871 133.89 157.418 134.539 157.795C135.189 158.167 135.948 158.352 136.816 158.352C137.38 158.352 137.893 158.273 138.357 158.114C138.821 157.948 139.222 157.703 139.561 157.378C139.899 157.053 140.157 156.652 140.336 156.175L143.15 156.682C142.925 157.51 142.52 158.236 141.937 158.859C141.36 159.476 140.634 159.956 139.759 160.301C138.891 160.639 137.9 160.808 136.786 160.808ZM149.611 140.136V160.5H146.638V140.136H149.611ZM160.193 160.808C158.688 160.808 157.392 160.487 156.305 159.844C155.224 159.194 154.389 158.283 153.799 157.109C153.216 155.929 152.924 154.547 152.924 152.963C152.924 151.399 153.216 150.02 153.799 148.827C154.389 147.634 155.211 146.702 156.265 146.033C157.326 145.363 158.565 145.028 159.984 145.028C160.846 145.028 161.681 145.171 162.49 145.456C163.298 145.741 164.024 146.188 164.667 146.798C165.31 147.408 165.817 148.2 166.188 149.175C166.56 150.143 166.745 151.319 166.745 152.705V153.759H154.605V151.531H163.832C163.832 150.749 163.673 150.056 163.355 149.453C163.036 148.843 162.589 148.363 162.012 148.011C161.442 147.66 160.773 147.484 160.004 147.484C159.169 147.484 158.439 147.69 157.816 148.101C157.2 148.505 156.722 149.036 156.384 149.692C156.053 150.341 155.887 151.047 155.887 151.81V153.55C155.887 154.571 156.066 155.439 156.424 156.155C156.789 156.871 157.296 157.418 157.946 157.795C158.595 158.167 159.354 158.352 160.222 158.352C160.786 158.352 161.3 158.273 161.764 158.114C162.228 157.948 162.629 157.703 162.967 157.378C163.305 157.053 163.563 156.652 163.742 156.175L166.556 156.682C166.331 157.51 165.927 158.236 165.343 158.859C164.767 159.476 164.041 159.956 163.166 160.301C162.297 160.639 161.306 160.808 160.193 160.808ZM176.477 160.808C174.999 160.808 173.726 160.473 172.659 159.804C171.598 159.128 170.783 158.196 170.213 157.01C169.643 155.823 169.358 154.464 169.358 152.933C169.358 151.382 169.649 150.013 170.233 148.827C170.816 147.634 171.638 146.702 172.699 146.033C173.759 145.363 175.009 145.028 176.447 145.028C177.607 145.028 178.641 145.244 179.55 145.675C180.458 146.099 181.19 146.696 181.747 147.464C182.31 148.233 182.645 149.132 182.751 150.159H179.858C179.699 149.443 179.334 148.827 178.764 148.31C178.201 147.793 177.445 147.534 176.497 147.534C175.668 147.534 174.943 147.753 174.319 148.19C173.703 148.621 173.222 149.238 172.878 150.04C172.533 150.835 172.361 151.777 172.361 152.864C172.361 153.977 172.53 154.938 172.868 155.747C173.206 156.556 173.683 157.182 174.3 157.626C174.923 158.071 175.655 158.293 176.497 158.293C177.06 158.293 177.571 158.19 178.028 157.984C178.492 157.772 178.88 157.471 179.192 157.08C179.51 156.688 179.732 156.218 179.858 155.668H182.751C182.645 156.655 182.324 157.537 181.787 158.312C181.25 159.088 180.531 159.698 179.629 160.142C178.734 160.586 177.684 160.808 176.477 160.808ZM193.06 145.227V147.614H184.718V145.227H193.06ZM186.955 141.568H189.928V156.016C189.928 156.592 190.014 157.027 190.186 157.318C190.359 157.603 190.581 157.799 190.852 157.905C191.131 158.004 191.432 158.054 191.757 158.054C191.996 158.054 192.205 158.037 192.384 158.004C192.563 157.971 192.702 157.945 192.801 157.925L193.338 160.381C193.166 160.447 192.921 160.513 192.602 160.58C192.284 160.652 191.887 160.692 191.409 160.699C190.627 160.712 189.898 160.573 189.222 160.281C188.546 159.99 187.999 159.539 187.581 158.929C187.164 158.319 186.955 157.554 186.955 156.632V141.568ZM202.767 160.808C201.262 160.808 199.966 160.487 198.879 159.844C197.799 159.194 196.963 158.283 196.373 157.109C195.79 155.929 195.498 154.547 195.498 152.963C195.498 151.399 195.79 150.02 196.373 148.827C196.963 147.634 197.785 146.702 198.839 146.033C199.9 145.363 201.14 145.028 202.558 145.028C203.42 145.028 204.255 145.171 205.064 145.456C205.872 145.741 206.598 146.188 207.241 146.798C207.884 147.408 208.391 148.2 208.763 149.175C209.134 150.143 209.319 151.319 209.319 152.705V153.759H197.179V151.531H206.406C206.406 150.749 206.247 150.056 205.929 149.453C205.611 148.843 205.163 148.363 204.586 148.011C204.016 147.66 203.347 147.484 202.578 147.484C201.743 147.484 201.014 147.69 200.39 148.101C199.774 148.505 199.297 149.036 198.959 149.692C198.627 150.341 198.461 151.047 198.461 151.81V153.55C198.461 154.571 198.64 155.439 198.998 156.155C199.363 156.871 199.87 157.418 200.52 157.795C201.169 158.167 201.928 158.352 202.797 158.352C203.36 158.352 203.874 158.273 204.338 158.114C204.802 157.948 205.203 157.703 205.541 157.378C205.879 157.053 206.138 156.652 206.317 156.175L209.131 156.682C208.905 157.51 208.501 158.236 207.917 158.859C207.341 159.476 206.615 159.956 205.74 160.301C204.872 160.639 203.881 160.808 202.767 160.808ZM218.335 160.798C217.102 160.798 216.002 160.483 215.034 159.854C214.073 159.217 213.317 158.312 212.767 157.139C212.224 155.959 211.952 154.544 211.952 152.893C211.952 151.243 212.227 149.831 212.777 148.658C213.334 147.484 214.096 146.586 215.064 145.963C216.032 145.34 217.129 145.028 218.355 145.028C219.303 145.028 220.066 145.188 220.642 145.506C221.226 145.817 221.676 146.182 221.995 146.599C222.319 147.017 222.571 147.385 222.75 147.703H222.929V140.136H225.902V160.5H222.999V158.124H222.75C222.571 158.448 222.313 158.82 221.975 159.237C221.643 159.655 221.186 160.019 220.602 160.331C220.019 160.643 219.263 160.798 218.335 160.798ZM218.992 158.263C219.847 158.263 220.569 158.037 221.159 157.587C221.756 157.129 222.207 156.496 222.512 155.688C222.823 154.879 222.979 153.937 222.979 152.864C222.979 151.803 222.826 150.875 222.521 150.08C222.217 149.284 221.769 148.664 221.179 148.22C220.589 147.776 219.86 147.554 218.992 147.554C218.097 147.554 217.351 147.786 216.754 148.25C216.158 148.714 215.707 149.347 215.402 150.149C215.104 150.951 214.955 151.856 214.955 152.864C214.955 153.884 215.107 154.803 215.412 155.618C215.717 156.433 216.168 157.08 216.764 157.557C217.368 158.027 218.11 158.263 218.992 158.263Z"
        fill={palette[15]}
      />
      <line x1={250.827} y1={131} x2={250.827} y2={170} stroke={palette[3]} />
      <rect
        x={272.327}
        y={131.215}
        width={41.2035}
        height={38.57}
        rx={5.79592}
        fill={palette[3]}
      />
      <path
        d="M285.605 156.229C285.427 156.4 285.326 156.632 285.327 156.873C285.327 157.115 285.427 157.346 285.605 157.517C285.783 157.688 286.025 157.784 286.277 157.784C286.529 157.784 286.771 157.688 286.949 157.517L292.816 151.895C292.83 151.881 292.848 151.87 292.867 151.862C292.886 151.855 292.907 151.851 292.928 151.851C292.949 151.851 292.969 151.855 292.988 151.862C293.008 151.87 293.025 151.881 293.04 151.895L298.907 157.518C298.995 157.603 299.1 157.67 299.215 157.716C299.33 157.761 299.454 157.785 299.578 157.785C299.703 157.785 299.827 157.761 299.942 157.716C300.057 157.67 300.162 157.603 300.25 157.518C300.339 157.434 300.409 157.334 300.457 157.223C300.504 157.113 300.529 156.994 300.529 156.875C300.529 156.755 300.504 156.637 300.457 156.526C300.409 156.416 300.339 156.315 300.251 156.231L294.385 150.607C294.37 150.593 294.358 150.576 294.35 150.557C294.342 150.539 294.338 150.519 294.338 150.499C294.338 150.479 294.342 150.46 294.35 150.441C294.358 150.423 294.37 150.406 294.385 150.392L300.252 144.77C300.43 144.599 300.53 144.367 300.53 144.125C300.53 143.884 300.43 143.652 300.251 143.481C300.073 143.311 299.831 143.215 299.579 143.215C299.327 143.215 299.085 143.311 298.907 143.482L293.04 149.103C293.025 149.117 293.008 149.128 292.988 149.136C292.969 149.144 292.949 149.148 292.928 149.148C292.907 149.148 292.886 149.144 292.867 149.136C292.848 149.128 292.83 149.117 292.816 149.103L286.949 143.482C286.861 143.398 286.756 143.331 286.641 143.285C286.525 143.239 286.402 143.215 286.277 143.215C286.025 143.215 285.783 143.311 285.605 143.482C285.427 143.653 285.327 143.884 285.327 144.126C285.326 144.367 285.427 144.599 285.605 144.77L291.471 150.392C291.486 150.406 291.497 150.423 291.505 150.441C291.513 150.46 291.517 150.479 291.517 150.499C291.517 150.519 291.513 150.539 291.505 150.557C291.497 150.576 291.486 150.593 291.471 150.607L285.605 156.229Z"
        fill={palette[15]}
      />
    </svg>
  )
})
