FezVrasta/popper.js

View on GitHub
website/public/tooltip.svg

Summary

Maintainability
Test Coverage
<svg width="700" height="215" viewBox="0 0 700 215" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0_109_206" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="15" width="700" height="200">
<path d="M0 15H700V165C700 192.614 677.614 215 650 215H0V15Z" fill="url(#paint0_linear_109_206)"/>
</mask>
<g mask="url(#mask0_109_206)">
<path d="M0 15H1000V215H0V15Z" fill="url(#paint1_linear_109_206)"/>
<g filter="url(#filter0_f_109_206)">
<ellipse cx="91" cy="234.5" rx="136" ry="117.5" fill="url(#paint2_linear_109_206)"/>
</g>
</g>
<path d="M76.9091 104.392V99.0909H104.761V104.392H93.9716V134H87.6989V104.392H76.9091ZM118.442 134.511C115.885 134.511 113.669 133.949 111.794 132.824C109.919 131.699 108.464 130.125 107.43 128.102C106.407 126.08 105.896 123.716 105.896 121.011C105.896 118.307 106.407 115.937 107.43 113.903C108.464 111.869 109.919 110.29 111.794 109.165C113.669 108.04 115.885 107.477 118.442 107.477C120.998 107.477 123.214 108.04 125.089 109.165C126.964 110.29 128.413 111.869 129.436 113.903C130.47 115.937 130.987 118.307 130.987 121.011C130.987 123.716 130.47 126.08 129.436 128.102C128.413 130.125 126.964 131.699 125.089 132.824C123.214 133.949 120.998 134.511 118.442 134.511ZM118.476 129.568C119.862 129.568 121.021 129.187 121.953 128.426C122.885 127.653 123.578 126.619 124.032 125.324C124.498 124.028 124.731 122.585 124.731 120.994C124.731 119.392 124.498 117.943 124.032 116.648C123.578 115.341 122.885 114.301 121.953 113.528C121.021 112.756 119.862 112.369 118.476 112.369C117.055 112.369 115.873 112.756 114.93 113.528C113.998 114.301 113.299 115.341 112.834 116.648C112.379 117.943 112.152 119.392 112.152 120.994C112.152 122.585 112.379 124.028 112.834 125.324C113.299 126.619 113.998 127.653 114.93 128.426C115.873 129.187 117.055 129.568 118.476 129.568ZM148.605 134.511C146.048 134.511 143.832 133.949 141.957 132.824C140.082 131.699 138.627 130.125 137.593 128.102C136.571 126.08 136.059 123.716 136.059 121.011C136.059 118.307 136.571 115.937 137.593 113.903C138.627 111.869 140.082 110.29 141.957 109.165C143.832 108.04 146.048 107.477 148.605 107.477C151.161 107.477 153.377 108.04 155.252 109.165C157.127 110.29 158.576 111.869 159.599 113.903C160.633 115.937 161.15 118.307 161.15 121.011C161.15 123.716 160.633 126.08 159.599 128.102C158.576 130.125 157.127 131.699 155.252 132.824C153.377 133.949 151.161 134.511 148.605 134.511ZM148.639 129.568C150.025 129.568 151.184 129.187 152.116 128.426C153.048 127.653 153.741 126.619 154.196 125.324C154.661 124.028 154.894 122.585 154.894 120.994C154.894 119.392 154.661 117.943 154.196 116.648C153.741 115.341 153.048 114.301 152.116 113.528C151.184 112.756 150.025 112.369 148.639 112.369C147.218 112.369 146.036 112.756 145.093 113.528C144.161 114.301 143.463 115.341 142.997 116.648C142.542 117.943 142.315 119.392 142.315 120.994C142.315 122.585 142.542 124.028 142.997 125.324C143.463 126.619 144.161 127.653 145.093 128.426C146.036 129.187 147.218 129.568 148.639 129.568ZM173.518 99.0909V134H167.347V99.0909H173.518ZM193.897 107.818V112.591H178.846V107.818H193.897ZM182.562 101.545H188.732V126.125C188.732 126.955 188.857 127.591 189.107 128.034C189.368 128.466 189.709 128.761 190.13 128.92C190.55 129.08 191.016 129.159 191.527 129.159C191.914 129.159 192.266 129.131 192.584 129.074C192.914 129.017 193.164 128.966 193.334 128.92L194.374 133.744C194.045 133.858 193.573 133.983 192.959 134.119C192.357 134.256 191.618 134.335 190.743 134.358C189.198 134.403 187.806 134.17 186.567 133.659C185.329 133.136 184.346 132.33 183.618 131.239C182.902 130.148 182.55 128.784 182.562 127.148V101.545ZM200.017 134V107.818H206.188V134H200.017ZM203.12 104.102C202.142 104.102 201.301 103.778 200.597 103.131C199.892 102.472 199.54 101.682 199.54 100.761C199.54 99.8295 199.892 99.0398 200.597 98.392C201.301 97.733 202.142 97.4034 203.12 97.4034C204.108 97.4034 204.949 97.733 205.642 98.392C206.347 99.0398 206.699 99.8295 206.699 100.761C206.699 101.682 206.347 102.472 205.642 103.131C204.949 103.778 204.108 104.102 203.12 104.102ZM213.493 143.818V107.818H219.561V112.148H219.919C220.237 111.511 220.686 110.835 221.266 110.119C221.845 109.392 222.629 108.773 223.618 108.261C224.607 107.739 225.868 107.477 227.402 107.477C229.425 107.477 231.249 107.994 232.874 109.028C234.51 110.051 235.805 111.568 236.76 113.58C237.726 115.58 238.209 118.034 238.209 120.943C238.209 123.818 237.737 126.261 236.794 128.273C235.851 130.284 234.567 131.818 232.942 132.875C231.317 133.932 229.476 134.46 227.419 134.46C225.919 134.46 224.675 134.21 223.686 133.71C222.697 133.21 221.902 132.608 221.3 131.903C220.709 131.187 220.249 130.511 219.919 129.875H219.663V143.818H213.493ZM219.544 120.909C219.544 122.602 219.783 124.085 220.26 125.358C220.749 126.631 221.447 127.625 222.357 128.341C223.277 129.045 224.391 129.398 225.697 129.398C227.061 129.398 228.203 129.034 229.124 128.307C230.044 127.568 230.737 126.562 231.203 125.29C231.68 124.006 231.919 122.545 231.919 120.909C231.919 119.284 231.686 117.841 231.22 116.58C230.754 115.318 230.061 114.33 229.141 113.614C228.22 112.898 227.072 112.54 225.697 112.54C224.379 112.54 223.26 112.886 222.34 113.58C221.419 114.273 220.72 115.244 220.243 116.494C219.777 117.744 219.544 119.216 219.544 120.909Z" fill="url(#paint3_linear_109_206)"/>
<rect x="405.974" y="121.846" width="1.44181" height="125" transform="rotate(120 405.974 121.846)" fill="url(#paint4_linear_109_206)"/>
<rect x="390.108" y="85.8141" width="0.872331" height="75.6282" transform="rotate(120 390.108 85.8141)" fill="url(#paint5_linear_109_206)"/>
<rect x="415.971" y="166.883" width="0.872331" height="75.6282" transform="rotate(120 415.971 166.883)" fill="url(#paint6_linear_109_206)"/>
<rect x="526" width="70" height="29" rx="9" fill="url(#paint7_linear_109_206)"/>
<path d="M559.154 19.4142C559.935 18.6332 561.201 18.6332 561.982 19.4142L569.586 27.0175C570.367 27.7986 570.367 29.0649 569.586 29.8459L562.846 36.5858C562.065 37.3668 560.799 37.3668 560.017 36.5858L552.414 28.9825C551.633 28.2014 551.633 26.9351 552.414 26.1541L559.154 19.4142Z" fill="url(#paint8_linear_109_206)"/>
<path d="M535.442 20V9.81818H539.518C540.267 9.81818 540.892 9.92921 541.393 10.1513C541.893 10.3733 542.269 10.6816 542.521 11.076C542.773 11.4671 542.899 11.9179 542.899 12.4283C542.899 12.826 542.819 13.1757 542.66 13.4773C542.501 13.7756 542.282 14.0208 542.004 14.2131C541.729 14.402 541.414 14.5362 541.059 14.6158V14.7152C541.447 14.7318 541.81 14.8411 542.148 15.0433C542.49 15.2455 542.766 15.5289 542.979 15.8935C543.191 16.2547 543.297 16.6856 543.297 17.1861C543.297 17.7263 543.162 18.2086 542.894 18.6328C542.629 19.0537 542.236 19.3868 541.716 19.6321C541.195 19.8774 540.554 20 539.792 20H535.442ZM537.594 18.2401H539.349C539.949 18.2401 540.387 18.1257 540.662 17.897C540.937 17.665 541.074 17.3568 541.074 16.9723C541.074 16.6906 541.006 16.442 540.871 16.2266C540.735 16.0111 540.541 15.8421 540.289 15.7195C540.04 15.5968 539.744 15.5355 539.399 15.5355H537.594V18.2401ZM537.594 14.0788H539.19C539.485 14.0788 539.747 14.0275 539.976 13.9247C540.208 13.8187 540.39 13.6695 540.523 13.4773C540.658 13.285 540.726 13.0547 540.726 12.7862C540.726 12.4183 540.595 12.1217 540.334 11.8963C540.075 11.6709 539.707 11.5582 539.23 11.5582H537.594V14.0788ZM546.835 20.1442C546.348 20.1442 545.914 20.0597 545.533 19.8906C545.152 19.7183 544.85 19.4647 544.628 19.13C544.409 18.7919 544.3 18.371 544.3 17.8672C544.3 17.4429 544.378 17.0866 544.533 16.7983C544.689 16.5099 544.901 16.2779 545.17 16.1023C545.438 15.9266 545.743 15.794 546.085 15.7045C546.429 15.6151 546.79 15.5521 547.168 15.5156C547.612 15.4692 547.97 15.4261 548.242 15.3864C548.514 15.3433 548.711 15.2803 548.834 15.1974C548.956 15.1146 549.018 14.992 549.018 14.8295V14.7997C549.018 14.4848 548.918 14.2412 548.719 14.0689C548.524 13.8965 548.246 13.8104 547.884 13.8104C547.503 13.8104 547.2 13.8949 546.974 14.0639C546.749 14.2296 546.6 14.4384 546.527 14.6903L544.568 14.5312C544.668 14.0672 544.863 13.6662 545.155 13.3281C545.446 12.9867 545.823 12.7249 546.283 12.5426C546.747 12.357 547.284 12.2642 547.894 12.2642C548.318 12.2642 548.724 12.3139 549.112 12.4134C549.503 12.5128 549.85 12.6669 550.151 12.8757C550.456 13.0845 550.696 13.353 550.872 13.6811C551.048 14.0059 551.136 14.3954 551.136 14.8494V20H549.127V18.9411H549.067C548.945 19.1797 548.781 19.3902 548.575 19.5724C548.37 19.7514 548.123 19.8923 547.835 19.995C547.546 20.0945 547.213 20.1442 546.835 20.1442ZM547.442 18.6825C547.753 18.6825 548.028 18.6212 548.267 18.4986C548.506 18.3726 548.693 18.2036 548.829 17.9915C548.965 17.7794 549.033 17.5391 549.033 17.2706V16.4602C548.966 16.5033 548.875 16.5431 548.759 16.5795C548.647 16.6127 548.519 16.6442 548.376 16.674C548.234 16.7005 548.091 16.7254 547.949 16.7486C547.806 16.7685 547.677 16.7867 547.561 16.8033C547.313 16.8397 547.095 16.8977 546.91 16.9773C546.724 17.0568 546.58 17.1645 546.477 17.3004C546.375 17.433 546.323 17.5987 546.323 17.7976C546.323 18.0859 546.428 18.3063 546.636 18.4588C546.848 18.608 547.117 18.6825 547.442 18.6825ZM554.897 9.81818V20H552.779V9.81818H554.897ZM558.711 9.81818V20H556.593V9.81818H558.711ZM563.858 20.1491C563.086 20.1491 562.418 19.9851 561.854 19.657C561.294 19.3255 560.862 18.8648 560.557 18.2749C560.252 17.6816 560.099 16.9938 560.099 16.2116C560.099 15.4228 560.252 14.7334 560.557 14.1435C560.862 13.5502 561.294 13.0895 561.854 12.7614C562.418 12.4299 563.086 12.2642 563.858 12.2642C564.63 12.2642 565.296 12.4299 565.857 12.7614C566.42 13.0895 566.854 13.5502 567.159 14.1435C567.464 14.7334 567.616 15.4228 567.616 16.2116C567.616 16.9938 567.464 17.6816 567.159 18.2749C566.854 18.8648 566.42 19.3255 565.857 19.657C565.296 19.9851 564.63 20.1491 563.858 20.1491ZM563.868 18.5085C564.219 18.5085 564.513 18.4091 564.748 18.2102C564.983 18.008 565.161 17.733 565.28 17.3849C565.402 17.0369 565.464 16.6409 565.464 16.1967C565.464 15.7526 565.402 15.3565 565.28 15.0085C565.161 14.6605 564.983 14.3854 564.748 14.1832C564.513 13.9811 564.219 13.88 563.868 13.88C563.513 13.88 563.215 13.9811 562.973 14.1832C562.734 14.3854 562.554 14.6605 562.431 15.0085C562.312 15.3565 562.252 15.7526 562.252 16.1967C562.252 16.6409 562.312 17.0369 562.431 17.3849C562.554 17.733 562.734 18.008 562.973 18.2102C563.215 18.4091 563.513 18.5085 563.868 18.5085ZM572.444 20.1491C571.672 20.1491 571.004 19.9851 570.44 19.657C569.88 19.3255 569.448 18.8648 569.143 18.2749C568.838 17.6816 568.685 16.9938 568.685 16.2116C568.685 15.4228 568.838 14.7334 569.143 14.1435C569.448 13.5502 569.88 13.0895 570.44 12.7614C571.004 12.4299 571.672 12.2642 572.444 12.2642C573.216 12.2642 573.882 12.4299 574.442 12.7614C575.006 13.0895 575.44 13.5502 575.745 14.1435C576.05 14.7334 576.202 15.4228 576.202 16.2116C576.202 16.9938 576.05 17.6816 575.745 18.2749C575.44 18.8648 575.006 19.3255 574.442 19.657C573.882 19.9851 573.216 20.1491 572.444 20.1491ZM572.454 18.5085C572.805 18.5085 573.098 18.4091 573.334 18.2102C573.569 18.008 573.746 17.733 573.866 17.3849C573.988 17.0369 574.05 16.6409 574.05 16.1967C574.05 15.7526 573.988 15.3565 573.866 15.0085C573.746 14.6605 573.569 14.3854 573.334 14.1832C573.098 13.9811 572.805 13.88 572.454 13.88C572.099 13.88 571.801 13.9811 571.559 14.1832C571.32 14.3854 571.14 14.6605 571.017 15.0085C570.898 15.3565 570.838 15.7526 570.838 16.1967C570.838 16.6409 570.898 17.0369 571.017 17.3849C571.14 17.733 571.32 18.008 571.559 18.2102C571.801 18.4091 572.099 18.5085 572.454 18.5085ZM579.697 15.5852V20H577.58V12.3636H579.598V13.7109H579.688C579.857 13.2668 580.14 12.9155 580.538 12.657C580.935 12.3951 581.418 12.2642 581.984 12.2642C582.515 12.2642 582.977 12.3802 583.371 12.6122C583.766 12.8442 584.072 13.1757 584.291 13.6065C584.51 14.0341 584.619 14.5445 584.619 15.1378V20H582.501V15.5156C582.505 15.0483 582.385 14.6837 582.143 14.4219C581.902 14.1567 581.568 14.0241 581.144 14.0241C580.859 14.0241 580.607 14.0855 580.388 14.2081C580.173 14.3307 580.004 14.5097 579.881 14.745C579.762 14.977 579.701 15.2571 579.697 15.5852Z" fill="#D81E1E"/>
<path d="M557.492 163.919C557.161 168.222 557.359 178.118 560.798 183.281C565.096 189.735 565.757 192.452 565.757 195" stroke="#4A668F" stroke-width="1.62162" stroke-linecap="round"/>
<path d="M556.676 160.541C556.988 160 557.768 160 558.081 160.541L560.187 164.189C560.499 164.73 560.109 165.405 559.485 165.405H555.272C554.648 165.405 554.258 164.73 554.57 164.189L556.676 160.541Z" fill="#3F546B"/>
<path d="M609.676 99.8649C608.324 129.303 583.563 156.917 557.628 162.027C531.523 157.257 510.365 128.469 509 98.9994C509 67.1448 534.749 45 561.041 45C587.332 45 611.141 67.9515 609.676 99.8649Z" fill="url(#paint9_radial_109_206)"/>
<circle cx="534.811" cy="108.108" r="8.51351" fill="#23456C" fill-opacity="0.5"/>
<circle cx="581.297" cy="108.108" r="8.51351" fill="#23456C" fill-opacity="0.4"/>
<ellipse cx="573.73" cy="100.946" rx="4.45946" ry="4.32432" fill="#222222"/>
<ellipse cx="542.378" cy="100.946" rx="4.45946" ry="4.32432" fill="#222222"/>
<mask id="mask1_109_206" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="550" y="106" width="16" height="12">
<path d="M550.591 107.515C550.591 107.068 550.954 106.705 551.402 106.705H565.121C565.569 106.705 565.932 107.068 565.932 107.515V116.462C565.932 116.91 565.569 117.273 565.121 117.273H551.402C550.954 117.273 550.591 116.91 550.591 116.462V107.515Z" fill="#C4C4C4"/>
</mask>
<g mask="url(#mask1_109_206)">
<path d="M565.932 107.216C565.932 111.452 562.498 114.886 558.261 114.886C554.025 114.886 550.591 111.452 550.591 107.216C550.591 102.98 554.025 99.5454 558.261 99.5454C562.498 99.5454 565.932 102.98 565.932 107.216Z" fill="#222222"/>
</g>
<defs>
<filter id="filter0_f_109_206" x="-145" y="17" width="472" height="435" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
<feGaussianBlur stdDeviation="50" result="effect1_foregroundBlur_109_206"/>
</filter>
<linearGradient id="paint0_linear_109_206" x1="350" y1="15" x2="350" y2="215" gradientUnits="userSpaceOnUse">
<stop stop-color="#381F2B"/>
<stop offset="1" stop-color="#1A1A43"/>
</linearGradient>
<linearGradient id="paint1_linear_109_206" x1="53.5" y1="162.573" x2="938.668" y2="139.901" gradientUnits="userSpaceOnUse">
<stop stop-color="#242849"/>
<stop offset="1" stop-color="#2F3846"/>
</linearGradient>
<linearGradient id="paint2_linear_109_206" x1="91" y1="117" x2="91" y2="352" gradientUnits="userSpaceOnUse">
<stop stop-color="#B9ADFF" stop-opacity="0.63"/>
<stop offset="0.380208" stop-color="#0771D3" stop-opacity="0.66"/>
<stop offset="1" stop-color="#4D233E" stop-opacity="0.98"/>
</linearGradient>
<linearGradient id="paint3_linear_109_206" x1="122.5" y1="175.943" x2="50.8229" y2="107.174" gradientUnits="userSpaceOnUse">
<stop stop-color="#F2E6FF"/>
<stop offset="1" stop-color="#56C2FF"/>
</linearGradient>
<linearGradient id="paint4_linear_109_206" x1="406.695" y1="121.846" x2="406.695" y2="246.846" gradientUnits="userSpaceOnUse">
<stop stop-color="#FF94AD"/>
<stop offset="1" stop-color="#FF7BB3" stop-opacity="0"/>
</linearGradient>
<linearGradient id="paint5_linear_109_206" x1="390.544" y1="85.8141" x2="390.544" y2="161.442" gradientUnits="userSpaceOnUse">
<stop stop-color="#7E7BFF"/>
<stop offset="1" stop-color="#FF7BD2" stop-opacity="0"/>
</linearGradient>
<linearGradient id="paint6_linear_109_206" x1="416.407" y1="166.883" x2="416.407" y2="242.511" gradientUnits="userSpaceOnUse">
<stop stop-color="#FFABB0"/>
<stop offset="1" stop-color="#E7A0CF" stop-opacity="0"/>
</linearGradient>
<linearGradient id="paint7_linear_109_206" x1="523.059" y1="-6.04167" x2="579.983" y2="23.7737" gradientUnits="userSpaceOnUse">
<stop offset="0.16882" stop-color="white"/>
<stop offset="0.781637" stop-color="#FFE3E3"/>
<stop offset="1" stop-color="#FFD9D9"/>
</linearGradient>
<linearGradient id="paint8_linear_109_206" x1="551.36" y1="27.1001" x2="571.769" y2="32.1696" gradientUnits="userSpaceOnUse">
<stop stop-color="#FFEAEA"/>
<stop offset="1" stop-color="#FFDEDE"/>
</linearGradient>
<radialGradient id="paint9_radial_109_206" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(536.5 112) rotate(-32.8687) scale(77.3886 67.5101)">
<stop stop-color="#7A79AE"/>
<stop offset="0.770833" stop-color="#4B6598"/>
<stop offset="1" stop-color="#FFD9D9"/>
</radialGradient>
</defs>
</svg>