import Svg, {Path} from 'react-native-svg'

import {type Props, useCommonSVGProps} from './common'
import {createSinglePathSVG} from './TEMPLATE'

export const Mark = createSinglePathSVG({
  path: 'M374.473 57.7173C367.666 50.7995 357.119 49.1209 348.441 53.1659C347.173 53.7567 342.223 56.0864 334.796 59.8613C326.32 64.1696 314.568 70.3869 301.394 78.0596C275.444 93.1728 242.399 114.83 218.408 139.477C185.983 172.786 158.719 225.503 140.029 267.661C130.506 289.144 122.878 308.661 117.629 322.81C116.301 326.389 115.124 329.63 114.104 332.478C87.1783 336.42 64.534 341.641 47.5078 348.101C37.6493 351.84 28.3222 356.491 21.0573 362.538C13.8818 368.511 6.00003 378.262 6.00003 391.822C6.00014 403.222 11.8738 411.777 17.4566 417.235C23.0009 422.655 29.9593 426.793 36.871 430.062C50.8097 436.653 69.5275 441.988 90.8362 446.249C133.828 454.846 192.21 460 256.001 460C319.79 460 378.172 454.846 421.164 446.249C442.472 441.988 461.19 436.653 475.129 430.062C482.041 426.793 488.999 422.655 494.543 417.235C500.039 411.862 505.817 403.489 505.996 392.353L506 391.822L505.995 391.188C505.754 377.959 498.012 368.417 490.945 362.534C483.679 356.485 474.35 351.835 464.491 348.095C446.749 341.366 422.906 335.982 394.476 331.987C393.6 330.57 392.633 328.995 391.595 327.273C386.477 318.777 379.633 306.842 372.737 293.115C358.503 264.781 345.757 232.098 344.756 206.636C343.87 184.121 351.638 154.087 360.819 127.789C365.27 115.041 369.795 103.877 373.207 95.9072C374.909 91.9309 376.325 88.7712 377.302 86.6328C377.79 85.5645 378.167 84.7524 378.416 84.2224C378.54 83.9579 378.632 83.7635 378.69 83.643C378.718 83.5829 378.739 83.5411 378.75 83.5181C378.753 83.5108 378.756 83.5049 378.757 83.5015C382.909 74.8634 381.196 64.5488 374.473 57.7173Z',
})

export function Full(
  props: Omit<Props, 'fill' | 'size' | 'height'> & {
    markFill?: Props['fill']
    textFill?: Props['fill']
  },
) {
  const {fill, size, style, gradient, ...rest} = useCommonSVGProps(props)
  const ratio = 123 / 641

  return (
    <Svg
      fill="none"
      {...rest}
      viewBox="0 0 641 123"
      width={size}
      height={size * ratio}
      style={[style]}>
      {gradient}
      <Path
        fill={props.markFill ?? fill}
        fillRule="evenodd"
        clipRule="evenodd"
        d="M95.803 5.74658C94.033 3.94786 91.291 3.51141 89.0346 4.56316C88.705 4.71679 87.4179 5.32255 85.487 6.30408C83.2833 7.4243 80.2277 9.04088 76.8025 11.0359C70.0556 14.9655 61.4639 20.5968 55.226 27.0052C46.7956 35.6661 39.7068 49.3734 34.8476 60.335C32.3714 65.9207 30.3883 70.9954 29.0235 74.6746C28.6783 75.6051 28.3721 76.4477 28.1071 77.1883C21.1063 78.2133 15.2188 79.5709 10.792 81.2504C8.22882 82.2228 5.80378 83.432 3.9149 85.0043C2.04927 86.5573 7.87818e-07 89.0928 7.87818e-07 92.6186C2.98221e-05 95.5828 1.52718 97.8072 2.97872 99.2262C4.42023 100.636 6.22941 101.712 8.02646 102.561C11.6505 104.275 16.5172 105.663 22.0574 106.77C33.2353 109.006 48.4147 110.346 65.0001 110.346C81.5855 110.346 96.7647 109.006 107.943 106.77C113.483 105.663 118.349 104.275 121.974 102.561C123.771 101.712 125.58 100.636 127.021 99.2262C128.45 97.8293 129.952 95.6521 129.999 92.7568L130 92.6186L129.999 92.4538C129.936 89.014 127.923 86.5329 126.086 85.0033C124.196 83.4305 121.771 82.2213 119.208 81.249C114.595 79.4993 108.396 78.0993 101.004 77.0607C100.776 76.6921 100.524 76.2827 100.255 75.835C98.9239 73.6259 97.1446 70.5227 95.3515 66.9533C91.6507 59.5861 88.3368 51.0879 88.0765 44.4677C87.8463 38.6133 89.8658 30.8041 92.253 23.9662C93.4101 20.6516 94.5868 17.7487 95.4738 15.6765C95.9163 14.6426 96.2845 13.821 96.5385 13.265C96.6653 12.9873 96.7635 12.7761 96.8282 12.6383C96.8604 12.5695 96.8844 12.519 96.8993 12.4876C96.9067 12.472 96.9121 12.4611 96.915 12.4552C96.9159 12.4533 96.9164 12.4517 96.9169 12.4508C97.9964 10.2048 97.5508 7.52289 95.803 5.74658Z"
      />
      <Path
        fill={props.textFill ?? fill}
        fillRule="evenodd"
        clipRule="evenodd"
        d="M169.591 99.9167L147 19.8695H162.595L177.018 78.6933H177.76L193.16 19.8695H207.348L222.787 78.7323H223.49L237.913 19.8695H253.508L230.917 99.9167H216.611L200.586 43.7508H199.961L183.897 99.9167H169.591ZM262.938 99.9167V39.8813H277.087V99.9167H262.938ZM270.051 31.3606C267.81 31.3606 265.882 30.618 264.266 29.1328C262.651 27.6214 261.843 25.8105 261.843 23.6999C261.843 21.5632 262.651 19.7522 264.266 18.267C265.882 16.7557 267.81 16 270.051 16C272.318 16 274.246 16.7557 275.836 18.267C277.451 19.7522 278.259 21.5632 278.259 23.6999C278.259 25.8105 277.451 27.6214 275.836 29.1328C274.246 30.618 272.318 31.3606 270.051 31.3606ZM321.615 39.8813V50.8252H287.102V39.8813H321.615ZM295.623 25.4978H309.772V81.8592C309.772 83.7613 310.058 85.2205 310.632 86.2368C311.231 87.2269 312.013 87.9044 312.977 88.2692C313.941 88.634 315.009 88.8164 316.182 88.8164C317.068 88.8164 317.876 88.7513 318.605 88.621C319.361 88.4907 319.934 88.3734 320.325 88.2692L322.709 99.3304C321.954 99.591 320.872 99.8776 319.465 100.19C318.084 100.503 316.39 100.685 314.384 100.738C310.84 100.842 307.648 100.308 304.808 99.135C301.968 97.9364 299.714 96.0863 298.046 93.5849C296.405 91.0834 295.597 87.9565 295.623 84.2043V25.4978ZM358.99 101.089C352.997 101.089 347.851 99.7734 343.552 97.1416C339.278 94.5099 335.982 90.8749 333.663 86.2368C331.37 81.5726 330.223 76.2048 330.223 70.1335C330.223 64.0362 331.396 58.6554 333.741 53.9912C336.086 49.3009 339.395 45.6529 343.669 43.0472C347.968 40.4155 353.049 39.0996 358.912 39.0996C363.785 39.0996 368.097 39.9985 371.849 41.7965C375.628 43.5684 378.637 46.0829 380.878 49.34C383.119 52.5711 384.396 56.3493 384.709 60.6748H371.185C370.638 57.7825 369.335 55.3722 367.276 53.444C365.244 51.4897 362.521 50.5126 359.108 50.5126C356.215 50.5126 353.675 51.2943 351.486 52.8577C349.297 54.3951 347.59 56.6099 346.366 59.5022C345.167 62.3946 344.568 65.8602 344.568 69.899C344.568 73.99 345.167 77.5077 346.366 80.4521C347.564 83.3705 349.245 85.6244 351.408 87.2139C353.597 88.7773 356.163 89.559 359.108 89.559C361.192 89.559 363.055 89.1682 364.697 88.3865C366.364 87.5787 367.759 86.4192 368.879 84.9079C369.999 83.3965 370.768 81.5595 371.185 79.3968H384.709C384.37 83.6441 383.119 87.4093 380.956 90.6925C378.794 93.9497 375.849 96.5032 372.123 98.3533C368.397 100.177 364.019 101.089 358.99 101.089ZM410.476 64.7397V99.9167H396.327V19.8695H410.163V50.0826H410.867C412.274 46.6952 414.45 44.0244 417.394 42.0701C420.364 40.0897 424.143 39.0996 428.729 39.0996C432.898 39.0996 436.533 39.9725 439.634 41.7183C442.734 43.4641 445.132 46.0177 446.825 49.3791C448.545 52.7404 449.405 56.8444 449.405 61.691V99.9167H435.256V63.8798C435.256 59.841 434.214 56.7011 432.129 54.4602C430.071 52.1932 427.178 51.0598 423.452 51.0598C420.951 51.0598 418.71 51.607 416.73 52.7014C414.775 53.7697 413.238 55.3201 412.117 57.3525C411.023 59.385 410.476 61.8474 410.476 64.7397ZM511.277 55.75L498.379 57.1571C498.014 55.8543 497.376 54.6296 496.464 53.4831C495.578 52.3366 494.379 51.4115 492.868 50.708C491.357 50.0044 489.507 49.6527 487.318 49.6527C484.374 49.6527 481.898 50.2911 479.892 51.5679C477.911 52.8447 476.934 54.4993 476.96 56.5317C476.934 58.2776 477.573 59.6977 478.876 60.7921C480.204 61.8865 482.393 62.7854 485.442 63.489L495.682 65.6778C501.363 66.9024 505.584 68.8437 508.346 71.5015C511.134 74.1593 512.541 77.6379 512.567 81.9374C512.541 85.7156 511.434 89.0509 509.245 91.9433C507.082 94.8095 504.073 97.0504 500.216 98.666C496.36 100.282 491.93 101.089 486.927 101.089C479.579 101.089 473.664 99.5519 469.182 96.4772C464.701 93.3764 462.03 89.064 461.17 83.5399L474.967 82.211C475.592 84.9209 476.921 86.9664 478.954 88.3474C480.986 89.7284 483.631 90.4189 486.888 90.4189C490.249 90.4189 492.946 89.7284 494.979 88.3474C497.037 86.9664 498.067 85.2596 498.067 83.2272C498.067 81.5074 497.402 80.0873 496.073 78.9668C494.77 77.8464 492.738 76.9865 489.976 76.3872L479.735 74.2375C473.977 73.0389 469.717 71.0195 466.954 68.1792C464.192 65.313 462.824 61.691 462.85 57.3134C462.824 53.6133 463.828 50.4083 465.86 47.6984C467.919 44.9624 470.772 42.8518 474.42 41.3665C478.094 39.8552 482.328 39.0996 487.123 39.0996C494.158 39.0996 499.695 40.5979 503.734 43.5944C507.799 46.591 510.313 50.6428 511.277 55.75ZM537.133 81.0775L537.094 63.9971H539.36L560.936 39.8813H577.469L550.93 69.43H547.998L537.133 81.0775ZM524.234 99.9167V19.8695H538.383V99.9167H524.234ZM561.913 99.9167L542.37 72.5959L551.907 62.6291L578.837 99.9167H561.913ZM596.337 122.43C594.409 122.43 592.624 122.274 590.983 121.961C589.367 121.674 588.077 121.336 587.113 120.945L590.396 109.923C592.455 110.522 594.292 110.809 595.908 110.783C597.523 110.756 598.943 110.248 600.168 109.258C601.419 108.294 602.474 106.679 603.334 104.412L604.545 101.167L582.775 39.8813H597.784L611.62 85.2205H612.245L626.121 39.8813H641.169L617.131 107.187C616.011 110.366 614.525 113.089 612.675 115.356C610.825 117.649 608.558 119.394 605.874 120.593C603.217 121.818 600.038 122.43 596.337 122.43Z"
      />
    </Svg>
  )
}
