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

export const FormatNumberAnatomy = 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="M124.714 155.507V152.019L134.989 135.785H137.898V140.751H136.125L129.208 151.711V151.901H143.55V155.507H124.714ZM136.266 160V154.443L136.314 152.882V135.785H140.452V160H136.266ZM155.734 160.331C154.157 160.331 152.746 160.035 151.501 159.444C150.255 158.845 149.266 158.025 148.533 156.985C147.808 155.944 147.421 154.754 147.374 153.414H151.631C151.71 154.407 152.139 155.219 152.92 155.85C153.7 156.473 154.638 156.784 155.734 156.784C156.593 156.784 157.358 156.587 158.028 156.193C158.698 155.799 159.226 155.251 159.612 154.549C159.998 153.848 160.187 153.048 160.179 152.149C160.187 151.235 159.994 150.423 159.6 149.713C159.206 149.004 158.666 148.448 157.98 148.046C157.294 147.636 156.506 147.431 155.615 147.431C154.89 147.423 154.177 147.557 153.475 147.833C152.774 148.109 152.218 148.472 151.808 148.921L147.847 148.271L149.112 135.785H163.159V139.45H152.742L152.045 145.87H152.187C152.636 145.342 153.27 144.905 154.09 144.558C154.91 144.203 155.809 144.026 156.786 144.026C158.252 144.026 159.561 144.373 160.712 145.066C161.862 145.752 162.769 146.698 163.431 147.904C164.093 149.11 164.424 150.49 164.424 152.043C164.424 153.643 164.054 155.069 163.313 156.323C162.58 157.568 161.559 158.55 160.25 159.267C158.95 159.976 157.444 160.331 155.734 160.331ZM171.187 160.26C170.469 160.26 169.855 160.008 169.342 159.503C168.83 158.999 168.578 158.384 168.585 157.659C168.578 156.949 168.83 156.342 169.342 155.838C169.855 155.333 170.469 155.081 171.187 155.081C171.88 155.081 172.483 155.333 172.996 155.838C173.516 156.342 173.78 156.949 173.788 157.659C173.78 158.14 173.654 158.577 173.41 158.971C173.173 159.365 172.858 159.681 172.464 159.917C172.077 160.146 171.652 160.26 171.187 160.26ZM179.717 160L190.016 139.616V139.45H178.062V135.785H194.556V139.533L184.269 160H179.717ZM208.105 160.461C206.158 160.461 204.487 159.968 203.092 158.983C201.705 157.99 200.637 156.559 199.888 154.691C199.147 152.815 198.776 150.557 198.776 147.916C198.784 145.275 199.159 143.029 199.899 141.176C200.648 139.316 201.716 137.897 203.104 136.92C204.499 135.942 206.166 135.454 208.105 135.454C210.044 135.454 211.712 135.942 213.107 136.92C214.502 137.897 215.57 139.316 216.311 141.176C217.06 143.037 217.434 145.283 217.434 147.916C217.434 150.565 217.06 152.827 216.311 154.703C215.57 156.571 214.502 157.998 213.107 158.983C211.719 159.968 210.052 160.461 208.105 160.461ZM208.105 156.76C209.619 156.76 210.813 156.015 211.688 154.526C212.571 153.028 213.012 150.825 213.012 147.916C213.012 145.993 212.811 144.377 212.409 143.068C212.007 141.76 211.44 140.774 210.707 140.112C209.973 139.442 209.106 139.107 208.105 139.107C206.6 139.107 205.409 139.856 204.534 141.354C203.659 142.843 203.218 145.031 203.21 147.916C203.202 149.847 203.395 151.471 203.79 152.787C204.192 154.104 204.759 155.097 205.492 155.767C206.225 156.429 207.096 156.76 208.105 156.76ZM248.901 155.46V154.183C248.901 153.245 249.098 152.381 249.492 151.593C249.894 150.805 250.478 150.17 251.242 149.69C252.007 149.209 252.933 148.968 254.021 148.968C255.14 148.968 256.078 149.209 256.835 149.69C257.592 150.162 258.163 150.793 258.55 151.581C258.944 152.37 259.141 153.237 259.141 154.183V155.46C259.141 156.398 258.944 157.261 258.55 158.049C258.155 158.837 257.576 159.472 256.811 159.953C256.055 160.434 255.125 160.674 254.021 160.674C252.917 160.674 251.983 160.434 251.219 159.953C250.454 159.472 249.875 158.837 249.481 158.049C249.094 157.261 248.901 156.398 248.901 155.46ZM251.987 154.183V155.46C251.987 156.082 252.137 156.654 252.437 157.174C252.736 157.694 253.264 157.954 254.021 157.954C254.786 157.954 255.31 157.698 255.594 157.186C255.885 156.666 256.031 156.09 256.031 155.46V154.183C256.031 153.552 255.893 152.977 255.617 152.456C255.341 151.928 254.809 151.664 254.021 151.664C253.28 151.664 252.756 151.928 252.448 152.456C252.141 152.977 251.987 153.552 251.987 154.183ZM236.593 141.602V140.325C236.593 139.379 236.794 138.512 237.196 137.724C237.598 136.935 238.181 136.305 238.945 135.832C239.71 135.351 240.636 135.111 241.724 135.111C242.836 135.111 243.77 135.351 244.526 135.832C245.291 136.305 245.866 136.935 246.253 137.724C246.639 138.512 246.832 139.379 246.832 140.325V141.602C246.832 142.548 246.635 143.415 246.241 144.203C245.855 144.984 245.279 145.61 244.515 146.083C243.75 146.556 242.82 146.793 241.724 146.793C240.613 146.793 239.675 146.556 238.91 146.083C238.153 145.61 237.578 144.98 237.184 144.191C236.79 143.403 236.593 142.54 236.593 141.602ZM239.702 140.325V141.602C239.702 142.233 239.848 142.808 240.14 143.328C240.439 143.841 240.967 144.097 241.724 144.097C242.481 144.097 243.001 143.841 243.285 143.328C243.577 142.808 243.722 142.233 243.722 141.602V140.325C243.722 139.694 243.584 139.119 243.309 138.599C243.033 138.071 242.505 137.806 241.724 137.806C240.975 137.806 240.451 138.071 240.152 138.599C239.852 139.127 239.702 139.702 239.702 140.325ZM237.94 160L254.589 135.785H257.545L240.896 160H237.94Z"
        fill={palette[3]}
      />
      <path
        opacity={0.5}
        d="M244.691 205.27C243.313 205.27 242.13 204.967 241.142 204.362C240.16 203.757 239.402 202.922 238.869 201.855C238.342 200.783 238.078 199.549 238.078 198.154C238.078 196.752 238.348 195.515 238.887 194.443C239.426 193.365 240.186 192.527 241.169 191.928C242.157 191.323 243.325 191.02 244.673 191.02C245.793 191.02 246.784 191.227 247.646 191.64C248.515 192.048 249.207 192.626 249.722 193.374C250.237 194.117 250.53 194.985 250.602 195.98H247.494C247.368 195.315 247.068 194.761 246.595 194.318C246.128 193.868 245.502 193.644 244.718 193.644C244.053 193.644 243.469 193.823 242.966 194.183C242.463 194.536 242.07 195.045 241.789 195.71C241.513 196.375 241.375 197.172 241.375 198.1C241.375 199.04 241.513 199.849 241.789 200.526C242.064 201.197 242.451 201.715 242.948 202.08C243.451 202.439 244.041 202.619 244.718 202.619C245.197 202.619 245.625 202.529 246.002 202.35C246.386 202.164 246.706 201.897 246.964 201.55C247.221 201.203 247.398 200.78 247.494 200.283H250.602C250.524 201.26 250.237 202.125 249.74 202.88C249.243 203.628 248.566 204.215 247.709 204.641C246.853 205.06 245.847 205.27 244.691 205.27ZM253.273 205V191.2H256.382V193.545H256.543C256.831 192.754 257.307 192.137 257.972 191.694C258.637 191.245 259.43 191.02 260.353 191.02C261.287 191.02 262.075 191.248 262.716 191.703C263.362 192.152 263.818 192.766 264.081 193.545H264.225C264.53 192.778 265.045 192.167 265.77 191.712C266.501 191.251 267.366 191.02 268.367 191.02C269.636 191.02 270.673 191.422 271.475 192.224C272.278 193.027 272.679 194.198 272.679 195.737V205H269.418V196.24C269.418 195.384 269.19 194.758 268.735 194.362C268.28 193.961 267.723 193.761 267.064 193.761C266.279 193.761 265.665 194.006 265.222 194.497C264.785 194.982 264.566 195.614 264.566 196.393V205H261.377V196.105C261.377 195.393 261.161 194.824 260.73 194.398C260.305 193.973 259.748 193.761 259.059 193.761C258.592 193.761 258.166 193.88 257.783 194.12C257.4 194.354 257.094 194.686 256.867 195.117C256.639 195.542 256.525 196.04 256.525 196.609V205H253.273Z"
        fill={palette[3]}
      />
      <path
        opacity={0.5}
        d="M249.414 91.6H252.747V103.621C252.747 104.939 252.435 106.098 251.812 107.098C251.196 108.098 250.327 108.88 249.207 109.443C248.087 110 246.778 110.279 245.281 110.279C243.777 110.279 242.466 110 241.346 109.443C240.226 108.88 239.357 108.098 238.74 107.098C238.123 106.098 237.815 104.939 237.815 103.621V91.6H241.148V103.343C241.148 104.109 241.316 104.792 241.651 105.391C241.993 105.99 242.472 106.46 243.089 106.802C243.706 107.137 244.436 107.305 245.281 107.305C246.125 107.305 246.856 107.137 247.473 106.802C248.096 106.46 248.575 105.99 248.911 105.391C249.246 104.792 249.414 104.109 249.414 103.343V91.6ZM266.369 96.6582C266.286 95.8736 265.932 95.2626 265.309 94.8254C264.692 94.3882 263.89 94.1695 262.901 94.1695C262.207 94.1695 261.611 94.2743 261.114 94.484C260.616 94.6936 260.236 94.9781 259.973 95.3375C259.709 95.6969 259.574 96.1072 259.568 96.5684C259.568 96.9517 259.655 97.2841 259.829 97.5656C260.008 97.8471 260.251 98.0867 260.557 98.2844C260.862 98.476 261.2 98.6378 261.572 98.7695C261.943 98.9013 262.317 99.0121 262.695 99.102L264.42 99.5332C265.115 99.6949 265.782 99.9135 266.423 100.189C267.07 100.465 267.648 100.812 268.157 101.231C268.672 101.651 269.08 102.157 269.379 102.75C269.679 103.343 269.828 104.037 269.828 104.834C269.828 105.912 269.553 106.861 269.002 107.682C268.451 108.497 267.654 109.135 266.612 109.596C265.576 110.051 264.321 110.279 262.848 110.279C261.416 110.279 260.173 110.057 259.119 109.614C258.071 109.17 257.25 108.524 256.657 107.673C256.07 106.823 255.753 105.786 255.705 104.564H258.984C259.032 105.205 259.23 105.738 259.577 106.164C259.925 106.589 260.377 106.906 260.934 107.116C261.497 107.326 262.126 107.43 262.821 107.43C263.545 107.43 264.18 107.323 264.725 107.107C265.276 106.885 265.708 106.58 266.019 106.191C266.331 105.795 266.489 105.334 266.495 104.807C266.489 104.328 266.348 103.933 266.073 103.621C265.797 103.304 265.411 103.04 264.914 102.83C264.423 102.615 263.848 102.423 263.189 102.255L261.096 101.716C259.58 101.327 258.382 100.737 257.502 99.9465C256.627 99.1499 256.19 98.0927 256.19 96.775C256.19 95.6909 256.484 94.7415 257.071 93.927C257.664 93.1124 258.469 92.4805 259.487 92.0312C260.506 91.576 261.659 91.3484 262.946 91.3484C264.252 91.3484 265.396 91.576 266.378 92.0312C267.367 92.4805 268.142 93.1064 268.705 93.909C269.268 94.7056 269.559 95.622 269.577 96.6582H266.369ZM279.035 110H272.8V91.6H279.161C280.988 91.6 282.557 91.9684 283.869 92.7051C285.186 93.4358 286.199 94.487 286.905 95.8586C287.612 97.2302 287.966 98.8714 287.966 100.782C287.966 102.699 287.609 104.346 286.896 105.723C286.19 107.101 285.168 108.158 283.833 108.895C282.503 109.632 280.904 110 279.035 110ZM276.133 107.116H278.873C280.155 107.116 281.224 106.882 282.081 106.415C282.937 105.942 283.581 105.238 284.012 104.304C284.444 103.364 284.659 102.19 284.659 100.782C284.659 99.3745 284.444 98.2065 284.012 97.2781C283.581 96.3438 282.943 95.646 282.099 95.1848C281.26 94.7176 280.218 94.484 278.972 94.484H276.133V107.116Z"
        fill={palette[3]}
      />
    </svg>
  )
})
