Greasy Fork is available in English.

RustClash.com - Roulette - Show Last 200

This script will show last 200 roulette results.

// ==UserScript==
// @name         RustClash.com - Roulette - Show Last 200
// @namespace    https://gge.gg
// @version      0.1.2
// @description  This script will show last 200 roulette results.
// @author       SomeGuy
// @match        https://rustclash.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=clash.gg
// @grant        none
// @license      WTFPL
// ==/UserScript==

(function() {
    'use strict';

    async function fetchData() {
        if (window.location.href.indexOf("roulette") === -1) {
            return;
        }
        const response = await fetch("/api/roulette/current");
        const clashTriple = await response.json();

        const jackpot = parseFloat(clashTriple.jackpot / 100).toFixed(2);
        const history = clashTriple.history;

        const numberCounts = {};
        history.forEach(number => {
            numberCounts[number] = (numberCounts[number] || 0) + 1;
        });

        const green = numberCounts[0] || 0;
        const blueBait = numberCounts[4] || 0;
        const yellowBait = numberCounts[11] || 0;

        let blue = 0;
        let yellow = 0;
        for (let number in numberCounts) {
            if (number == 0) {
                // already counted in green
            } else if (number == 4) {
                // already counted in blueBait
            } else if (number == 11) {
                // already counted in yellowBait
            } else if (number > 7) {
                yellow += numberCounts[number];
            } else {
                blue += numberCounts[number];
            }
        }

        function findFirstZeroPosition(arr) {
            return arr.indexOf(0);
        }

        const position = findFirstZeroPosition(history);

        const arrayR = {
            green: green,
            blueBait: blueBait,
            yellowBait: yellowBait,
            yellow: yellow,
            blue: blue,
            jackpot: jackpot,
            lastgreen: position
        };

        const tripleHistory = JSON.stringify(history);

        const last100 = `🟩 **Green**: \`${green}\`\r\n 🟦 **Blue**: \`${blue}\`\r\n 🔵 **Blue Bait**: \`${blueBait}\`\r\n 🟨 **Yellow**: \`${yellow}\`\r\n 🟡 **Yellow** Bait: \`${yellowBait}\``;
        const jackpotText = `💚 **Jackpot value**: \`${jackpot}\`\r\n`;
        const green1 = history[0];
        const green2 = history[1];
        let icon_number_style = `display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    --tw-bg-opacity: 1;
    background-color: rgb(34 197 94 / var(--tw-bg-opacity));
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
    --tw-gradient-from: #2c3034 var(--tw-gradient-from-position);
    --tw-gradient-to: #1f2225 var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from),var(--tw-gradient-to);
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 9999px;margin-right: 1rem;`;
        let icon_style_blue = `display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    --tw-bg-opacity: 1;
    background-color: rgb(34 197 94 / var(--tw-bg-opacity));
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
    --tw-gradient-from: #93c5fd var(
    --tw-gradient-from-position);
    --tw-gradient-to: #60a5fa var(
    --tw-gradient-to-position);
    --tw-gradient-stops: var(
    --tw-gradient-from),var(--tw-gradient-to);
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 9999px;`;
        let icon_style_yellow = `    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    --tw-bg-opacity: 1;
    background-color: rgb(34 197 94 / var(--tw-bg-opacity));
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
    --tw-gradient-from: #f87171 var(--tw-gradient-from-position);
    --tw-gradient-to: #ef4444 var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from),var(--tw-gradient-to);
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 9999px;`;
        let icon_style_green = `    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    --tw-bg-opacity: 1;
    background-color: rgb(34 197 94 / var(--tw-bg-opacity));
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
    --tw-gradient-from: #4ade80 var(--tw-gradient-from-position);
    --tw-gradient-to: #22c55e var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from),var(--tw-gradient-to);
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 9999px;`;
        let svg_blue = `<div style="${icon_style_blue}"><svg data-v-08fa816e="" fill="none" viewBox="0 0 78 110" height="110" width="78" xmlns="http://www.w3.org/2000/svg" class="css-l89uz7"><path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M11.4998 58.3044C7.45027 56.5046 -0.513815 49.3954 0.0261231 35.357C0.701045 17.809 17.5743 2.28582 30.3979 0.261054C43.2214 -1.76371 57.3947 8.36012 63.469 17.809C64.3689 17.809 66.4387 18.6189 67.5186 21.8585C68.0119 23.3386 68.8659 24.9088 69.751 26.5363C71.2876 29.3616 72.9179 32.3593 72.9179 35.357C72.9179 37.1196 72.824 38.5064 72.7412 39.7278V39.7279V39.728C72.6022 41.7803 72.4948 43.3653 72.9179 45.4808C73.5929 48.8554 74.9427 53.5799 76.9675 55.6047C78.9922 57.6294 77.6424 71.8028 76.2926 79.2269C75.2127 85.1662 75.3927 89.3507 75.6176 90.7006C75.6176 92.0504 75.2127 95.425 73.5929 98.1247C71.5681 101.499 68.8684 104.199 51.9954 108.249C38.4969 111.488 26.5733 105.549 22.2988 102.174C21.8488 101.049 20.544 96.5049 18.9242 87.326C15.8839 78.6395 14.4274 71.5369 13.2957 66.018C12.6687 62.9608 12.1414 60.3895 11.4998 58.3044ZM74.2678 81.9265V74.5024C74.8808 74.5024 76.6071 72.2756 76.9189 71.3612C76.8971 71.5292 76.8685 71.7666 76.8339 72.0537L76.8333 72.0588L76.833 72.0613L76.833 72.0615C76.6028 73.9718 76.1102 78.0593 75.6176 78.5519C75.3788 78.7908 75.3513 78.9064 75.278 79.2142C75.1856 79.6023 75.0205 80.2957 74.2678 81.9265ZM76.9675 71.1278C76.9675 71.0204 76.9504 71.1181 76.9189 71.3612C76.9504 71.2688 76.9675 71.1897 76.9675 71.1278ZM70.8932 78.5519C70.8932 81.2516 71.0282 86.651 71.5681 86.651C72.243 86.651 73.5929 84.6262 73.5929 83.9513V76.5272C73.5929 75.9872 71.7931 77.652 70.8932 78.5519ZM25.6734 79.9018C25.4484 81.2516 25.2684 84.2213 26.3483 85.3011C27.6981 86.651 29.048 88.0008 29.7229 88.0008C30.2629 88.0008 29.9479 83.9513 29.7229 81.9265L25.6734 79.9018ZM31.7477 82.6014C31.5227 85.3011 31.7477 90.9705 34.4474 92.0504C37.822 91.3754 38.272 90.2506 38.4969 88.6757V84.6262C37.597 83.7263 34.9873 82.0615 31.7477 82.6014ZM40.5217 92.0504L39.8468 84.6262C43.6263 84.0863 47.2709 84.8512 48.6208 85.3011C48.6208 85.9323 48.7519 86.8258 48.8916 87.7772L48.8916 87.7773C49.2 89.878 49.5498 92.2608 48.6208 92.7253C45.3811 95.425 41.8715 93.4002 40.5217 92.0504ZM51.3204 84.6262V93.4002C51.5454 94.0751 52.4003 95.29 54.0201 94.75C54.6235 94.5489 55.2868 94.4677 55.9922 94.3813H55.9922C57.6539 94.1777 59.5491 93.9455 61.4443 92.0504C60.9943 89.8006 60.0944 84.8962 60.0944 83.2764C57.8447 83.2764 52.9403 83.5463 51.3204 84.6262ZM63.469 90.7005C62.9291 90.1606 62.7941 85.0762 62.7941 82.6014C63.3341 82.0615 67.5186 80.5767 69.5433 79.9018C69.9933 82.3765 70.4432 88.0008 69.5433 89.3507C68.1935 91.3754 64.144 91.3754 63.469 90.7005ZM23.6486 78.552C23.6486 79.6768 23.7836 81.9266 24.3236 81.9266C24.3236 81.9266 24.9985 79.6768 24.9985 78.552H23.6486ZM29.7229 92.7253L27.0233 87.3259L29.7229 89.3507V92.7253ZM31.0728 90.7006C30.8478 91.8254 30.8028 94.3451 32.4226 95.425C33.8544 96.3795 33.9362 96.3216 34.1 96.2058C34.1678 96.1578 34.2497 96.0999 34.4474 96.0999C34.9873 96.0999 34.6724 94.3001 34.4474 93.4002L31.0728 90.7006ZM37.822 96.7748C35.6623 93.5352 37.822 92.2754 39.1718 92.0504C39.1718 93.6702 41.8715 94.9751 43.2214 95.425V99.4745C42.3215 99.9245 39.8468 98.7996 37.822 96.7748ZM46.596 95.425V100.149L52.6703 100.824V96.7748C51.7364 96.3457 49.7539 95.2049 49.2957 94.0752C47.9458 94.0752 47.3049 94.5043 46.596 95.425ZM55.37 100.149L54.6951 96.0999C56.7198 95.2 61.4443 94.7501 61.4443 94.7501C61.4443 94.7501 61.6692 97.8997 61.4443 98.7996C60.3644 99.3396 56.9448 99.9245 55.37 100.149ZM68.1935 92.0504C67.0686 92.5003 64.5489 93.2653 63.469 92.7253V98.1247C65.2688 97.2248 68.8684 95.29 68.8684 94.7501L68.1935 92.0504ZM70.2183 94.0752V90.7006C70.7582 90.7006 72.243 88.4508 72.918 87.3259V90.7006C72.918 91.2405 71.1182 93.1753 70.2183 94.0752ZM73.5929 85.9761V89.3507C74.7177 86.876 74.9427 84.8962 74.9427 83.2764C74.7136 83.8873 74.609 84.3323 74.5284 84.6748C74.3716 85.3413 74.3062 85.6194 73.5929 85.9761ZM65.4935 53.5799C61.174 57.3594 63.2438 60.1041 64.8186 61.004L66.1684 61.6789C69.3286 63.259 71.2556 61.551 72.9119 60.083C73.3781 59.6699 73.8228 59.2757 74.2675 58.9792C75.8873 57.8994 73.5926 53.1299 72.2428 50.8802C71.7928 50.2053 69.813 49.8003 65.4935 53.5799ZM24.9983 65.0535C24.4584 68.8331 30.1727 68.8781 33.0974 68.4282L43.2211 67.7532C45.2459 67.3033 49.2954 65.5935 49.2954 62.3539C49.2954 59.1142 46.5957 58.3043 45.2459 58.3043H32.4223C25.9459 58.3043 25.6843 60.1687 25.0773 64.4939C25.0518 64.6761 25.0256 64.8626 24.9983 65.0535ZM24.3236 31.9824C27.2483 27.9328 35.7973 20.1037 46.596 21.1836C51.5952 21.6835 54.0023 21.2577 55.6345 20.969C58.4094 20.4782 58.9443 20.3835 66.1688 25.9081C74.2678 31.3074 56.0449 34.0071 43.2214 35.357C34.4474 36.0319 25.9434 36.3019 24.3236 31.9824Z"></path></svg></div>`;
        let svg_blue_bait = `<div style="${icon_style_blue}"><svg fill="none" viewBox="0 0 125 129" height="129" width="125" xmlns="http://www.w3.org/2000/svg" data-v-08fa816e="" class="css-l89uz7"><path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M110.701 56.7186L110.688 56.8275C111.293 57.9023 111.799 58.9267 112.22 59.9015C112.989 60.8281 113.665 62.092 113.2 62.3987C113.186 62.4079 113.174 62.4179 113.161 62.4287C113.482 63.4546 113.703 64.4151 113.847 65.3115C114.045 65.7824 114.226 66.2264 114.318 66.5703C114.508 67.2791 114.402 67.5404 114.283 67.8367C114.195 68.0532 114.1 68.2884 114.108 68.7307C114.113 69.046 114.197 69.3879 114.284 69.7408C114.485 70.5603 114.701 71.4394 113.981 72.1838C113.737 72.4366 113.471 72.71 113.198 72.9753C113.055 73.377 112.915 73.7244 112.796 74.0185L112.796 74.0186L112.732 74.1786C111.975 76.0647 106.399 88.4997 103.706 94.4814C100.701 103.878 87.7597 120.952 60.0365 114.073C27.3719 105.968 20.8003 93.2074 16.5821 85.0169L16.5821 85.0168C16.3252 84.518 16.077 84.0361 15.8322 83.5733C12.1817 76.6714 15.5958 70.9603 17.402 67.9388C17.7058 67.4306 17.9641 66.9985 18.1357 66.6496C19.0891 64.7109 23.0015 53.0721 24.8386 47.4951C27.7033 34.6291 38.046 30.3674 44.9463 30.2719C46.3742 30.1905 47.8025 30.1306 49.2328 30.0978C48.9057 29.5433 48.691 28.8677 48.7813 28.1103C48.9433 26.7518 47.7292 24.1841 46.8615 23.8906C45.9938 23.597 45.5993 22.1247 46.1382 21.1913C46.6772 20.2578 46.5457 19.7671 46.3485 19.0309C46.2801 18.7757 46.1253 18.67 45.9768 18.5686C45.6968 18.3776 45.4389 18.2015 45.8225 17.0678C46.0903 16.276 46.6483 15.954 47.1322 15.6748C47.7088 15.342 48.1803 15.07 47.93 14.136C47.6194 12.977 48.1149 13.0389 48.7716 13.121C49.0881 13.1606 49.4421 13.2048 49.7614 13.1193C50.2249 12.9951 50.6044 12.7761 51.005 12.545C51.4529 12.2866 51.9271 12.0129 52.5747 11.8394C53.1602 11.6825 53.5821 11.8091 54.0232 11.9414C54.5065 12.0863 55.0128 12.2382 55.7824 12.0319C56.7778 11.7652 56.906 11.8511 57.2489 12.081C57.4131 12.1911 57.6267 12.3343 58.0084 12.4875C59.1872 12.9607 60.0549 13.2542 60.5457 13.1227C60.6616 13.0917 60.7838 13.0296 60.9128 12.9641C61.3303 12.7521 61.8191 12.5038 62.3949 13.1532C63.1487 14.0033 64.1479 14.7876 64.6387 14.6561C64.8288 14.6051 65.0045 14.7949 65.2198 15.0274C65.5601 15.3951 65.9993 15.8695 66.7509 15.6681C67.6038 15.4396 67.7855 16.0264 67.9216 16.4657C67.9812 16.6584 68.0321 16.8227 68.127 16.8775C68.2182 16.9302 68.4037 16.9123 68.6348 16.8901C69.1916 16.8367 70.0131 16.7578 70.4189 17.5784C70.993 18.7396 76.0194 20.8119 76.5102 20.6804C76.7801 20.608 77.2688 21.3522 77.7575 22.0964L77.7576 22.0965C78.1574 22.7054 78.5573 23.3142 78.8373 23.4759C78.9969 23.5681 79.2924 23.7796 79.656 24.0399L79.656 24.04C80.7096 24.7943 82.3348 25.9578 82.8821 25.8112C83.2177 25.7213 83.302 25.9173 83.4417 26.2424C83.6085 26.6304 83.8543 27.2022 84.7008 27.6909C85.2151 27.9879 85.683 28.326 86.1031 28.6297C86.9538 29.2445 87.6088 29.7179 88.0576 29.4216C88.3928 29.2002 88.5243 29.691 88.6887 30.3045C88.8531 30.918 89.0504 31.6541 89.5171 31.9236C89.8175 32.097 90.1959 32.3585 90.5875 32.629C91.4125 33.199 92.2956 33.8091 92.6285 33.72C92.8193 33.6688 92.924 34.0384 93.0683 34.5475C93.2952 35.3479 93.6199 36.4934 94.5306 36.8924C96.0205 37.5452 96.8882 37.8387 97.1336 37.773C97.2229 37.749 97.508 38.1956 97.8915 38.796C98.5611 39.8448 99.5306 41.3631 100.28 41.664C100.923 41.922 101.035 42.2438 101.178 42.6501C101.296 42.989 101.435 43.3866 101.919 43.8549C102.303 44.2261 102.774 44.5399 103.235 44.8468C104.053 45.3911 104.838 45.914 105.048 46.6985C105.377 47.9255 106.639 49.6913 107.507 49.9849C108.054 50.1701 108.349 51.3653 108.587 52.329C108.725 52.8928 108.845 53.3773 108.984 53.5342C109.028 53.5841 109.087 53.6481 109.156 53.7236C109.679 54.2916 110.797 55.508 110.755 56.2159C110.746 56.3651 110.724 56.5359 110.701 56.7185L110.701 56.7186ZM51.4724 34.2274C51.4412 33.7427 51.3409 33.2765 51.1915 32.8512C40.9697 31.8459 26.1409 33.8546 33.3608 48.9893C43.1499 69.5096 78.7898 75.9185 83.1066 76.0514C83.92 76.0765 84.9391 76.1626 86.1025 76.2609C91.0686 76.6806 98.6637 77.3225 104.11 74.3834C104.017 74.3134 103.92 74.236 103.82 74.1565C103.402 73.8232 102.937 73.4524 102.478 73.4249C102.179 73.4069 101.771 73.5279 101.341 73.6553C100.618 73.8697 99.8337 74.1023 99.4022 73.7231C99.1923 73.5386 99.0387 73.2901 98.8828 73.038C98.5279 72.4639 98.1616 71.8712 97.0927 71.9749C95.5546 72.124 94.7527 72.0759 93.3767 70.8665C92.4285 70.0332 91.963 70.0696 91.3208 70.1198C91.0311 70.1424 90.7053 70.1679 90.2829 70.1175C89.5618 70.0315 89.3568 69.659 89.0807 69.1574C88.8366 68.714 88.5369 68.1697 87.7761 67.6331C86.46 66.7048 86.0938 66.735 85.4425 66.7887C85.2914 66.8012 85.1249 66.8149 84.9277 66.8182C84.4221 66.8268 84.4731 66.6248 84.5487 66.3254C84.6296 66.0046 84.7389 65.572 84.2221 65.1663C83.7326 64.7821 83.0708 64.6965 82.4997 64.6227C81.9049 64.5458 81.4085 64.4817 81.3078 64.1061C81.2363 63.8392 81.238 63.5873 81.2395 63.3574C81.2421 62.9533 81.2443 62.6174 80.8476 62.3884C80.4204 62.1417 79.4151 62.05 78.6467 61.9799C78.2956 61.9479 77.994 61.9204 77.8195 61.8847C77.4856 61.8164 77.4814 61.565 77.4746 61.1628L77.4746 61.1628C77.4701 60.8947 77.4645 60.5596 77.3593 60.167C77.0963 59.1854 75.7378 59.0234 75.0016 59.2207C74.2654 59.4179 73.6913 58.2567 73.7394 57.4548C73.7786 56.8026 72.3133 56.3795 71.2981 56.0863C71.0651 56.019 70.8557 55.9586 70.6938 55.9038C70.1445 55.718 70.1589 55.2758 70.1767 54.7273C70.187 54.4093 70.1985 54.0555 70.102 53.6953C69.9484 53.1221 69.0029 52.9405 68.1057 52.7682L68.1057 52.7682C67.4665 52.6454 66.852 52.5273 66.5657 52.2758C66.4781 52.1988 66.4027 52.1356 66.3384 52.0816C66.1662 51.9373 66.0727 51.8588 66.0344 51.7592C65.989 51.6407 66.0217 51.4922 66.0933 51.1671C66.1158 51.0649 66.1422 50.9452 66.1712 50.8034C66.399 49.6904 62.7968 48.0255 61.9949 47.9774C61.613 47.9545 61.6614 47.7566 61.7478 47.4036C61.8428 47.0155 61.9836 46.4398 61.6485 45.7031C61.1904 44.6962 59.8272 44.3361 58.8613 44.081C58.478 43.9797 58.1572 43.895 57.9804 43.7929C57.5757 43.5593 57.4749 42.7992 57.3635 41.9587C57.3036 41.5069 57.2406 41.0318 57.1256 40.6029C56.9408 39.9132 56.4156 39.8133 55.8571 39.7072C55.422 39.6245 54.9668 39.5379 54.6367 39.1657C54.1951 38.6677 53.7701 37.8946 53.418 37.2541C53.169 36.8013 52.9565 36.4147 52.8004 36.2386C52.7088 36.1354 52.5882 36.0398 52.4569 35.9358C52.048 35.6119 51.5355 35.2059 51.4724 34.2274ZM32.4246 73.1578C32.4749 70.1097 32.7923 64.8224 35.0024 63.3631C37.4409 63.4034 37.1358 65.3926 36.6784 66.3822C36.8604 83.2408 53.6977 87.8332 49.8619 83.2252C46.7932 79.5388 48.4671 74.784 49.6876 72.8674C51.8068 76.2453 60.0086 80.1183 65.6544 82.7844L65.6544 82.7844C68.0726 83.9263 70.0218 84.8467 70.8233 85.412C71.9378 86.1981 71.9168 86.6853 71.8933 87.2303C71.8605 87.9921 71.8228 88.8669 74.8759 90.8289C80.1128 94.1944 82.3017 97.5096 81.5508 101.179C80.7999 104.848 65.3426 103.788 62.0777 102.929C60.5392 102.524 59.02 103.269 57.406 104.06C55.5949 104.949 53.6643 105.896 51.4528 105.342C48.3449 104.564 49.5847 102.142 50.5807 100.196C50.925 99.5238 51.2402 98.9081 51.3367 98.4368C51.5453 97.4171 49.4046 96.6252 46.984 95.7298C45.0494 95.0141 42.9361 94.2324 41.7007 93.2153C40.5968 92.3066 40.4568 90.6614 40.3062 88.8934C40.0776 86.2073 39.8248 83.2375 36.1308 82.1357C33.0681 81.2223 31.5586 82.0603 30.6152 82.584C29.6717 83.1078 29.2943 83.3172 28.496 81.1468C27.5701 78.6295 29.0223 77.3702 30.4157 76.162C31.425 75.2867 32.4035 74.4383 32.4246 73.1578ZM72.912 94.8234C73.2112 95.9404 72.5484 97.0885 71.4314 97.3877C70.3145 97.687 69.1664 97.0242 68.8671 95.9072C68.5679 94.7903 69.2307 93.6422 70.3476 93.3429C71.4646 93.0437 72.6127 93.7065 72.912 94.8234Z"></path></svg></div>`
        let svg_yellow = `<div style="${icon_style_yellow}"><svg data-v-08fa816e="" fill="none" viewBox="0 0 78 110" height="110" width="78" xmlns="http://www.w3.org/2000/svg" class="css-l89uz7"><path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M11.4998 58.3044C7.45027 56.5046 -0.513815 49.3954 0.0261231 35.357C0.701045 17.809 17.5743 2.28582 30.3979 0.261054C43.2214 -1.76371 57.3947 8.36012 63.469 17.809C64.3689 17.809 66.4387 18.6189 67.5186 21.8585C68.0119 23.3386 68.8659 24.9088 69.751 26.5363C71.2876 29.3616 72.9179 32.3593 72.9179 35.357C72.9179 37.1196 72.824 38.5064 72.7412 39.7278V39.7279V39.728C72.6022 41.7803 72.4948 43.3653 72.9179 45.4808C73.5929 48.8554 74.9427 53.5799 76.9675 55.6047C78.9922 57.6294 77.6424 71.8028 76.2926 79.2269C75.2127 85.1662 75.3927 89.3507 75.6176 90.7006C75.6176 92.0504 75.2127 95.425 73.5929 98.1247C71.5681 101.499 68.8684 104.199 51.9954 108.249C38.4969 111.488 26.5733 105.549 22.2988 102.174C21.8488 101.049 20.544 96.5049 18.9242 87.326C15.8839 78.6395 14.4274 71.5369 13.2957 66.018C12.6687 62.9608 12.1414 60.3895 11.4998 58.3044ZM74.2678 81.9265V74.5024C74.8808 74.5024 76.6071 72.2756 76.9189 71.3612C76.8971 71.5292 76.8685 71.7666 76.8339 72.0537L76.8333 72.0588L76.833 72.0613L76.833 72.0615C76.6028 73.9718 76.1102 78.0593 75.6176 78.5519C75.3788 78.7908 75.3513 78.9064 75.278 79.2142C75.1856 79.6023 75.0205 80.2957 74.2678 81.9265ZM76.9675 71.1278C76.9675 71.0204 76.9504 71.1181 76.9189 71.3612C76.9504 71.2688 76.9675 71.1897 76.9675 71.1278ZM70.8932 78.5519C70.8932 81.2516 71.0282 86.651 71.5681 86.651C72.243 86.651 73.5929 84.6262 73.5929 83.9513V76.5272C73.5929 75.9872 71.7931 77.652 70.8932 78.5519ZM25.6734 79.9018C25.4484 81.2516 25.2684 84.2213 26.3483 85.3011C27.6981 86.651 29.048 88.0008 29.7229 88.0008C30.2629 88.0008 29.9479 83.9513 29.7229 81.9265L25.6734 79.9018ZM31.7477 82.6014C31.5227 85.3011 31.7477 90.9705 34.4474 92.0504C37.822 91.3754 38.272 90.2506 38.4969 88.6757V84.6262C37.597 83.7263 34.9873 82.0615 31.7477 82.6014ZM40.5217 92.0504L39.8468 84.6262C43.6263 84.0863 47.2709 84.8512 48.6208 85.3011C48.6208 85.9323 48.7519 86.8258 48.8916 87.7772L48.8916 87.7773C49.2 89.878 49.5498 92.2608 48.6208 92.7253C45.3811 95.425 41.8715 93.4002 40.5217 92.0504ZM51.3204 84.6262V93.4002C51.5454 94.0751 52.4003 95.29 54.0201 94.75C54.6235 94.5489 55.2868 94.4677 55.9922 94.3813H55.9922C57.6539 94.1777 59.5491 93.9455 61.4443 92.0504C60.9943 89.8006 60.0944 84.8962 60.0944 83.2764C57.8447 83.2764 52.9403 83.5463 51.3204 84.6262ZM63.469 90.7005C62.9291 90.1606 62.7941 85.0762 62.7941 82.6014C63.3341 82.0615 67.5186 80.5767 69.5433 79.9018C69.9933 82.3765 70.4432 88.0008 69.5433 89.3507C68.1935 91.3754 64.144 91.3754 63.469 90.7005ZM23.6486 78.552C23.6486 79.6768 23.7836 81.9266 24.3236 81.9266C24.3236 81.9266 24.9985 79.6768 24.9985 78.552H23.6486ZM29.7229 92.7253L27.0233 87.3259L29.7229 89.3507V92.7253ZM31.0728 90.7006C30.8478 91.8254 30.8028 94.3451 32.4226 95.425C33.8544 96.3795 33.9362 96.3216 34.1 96.2058C34.1678 96.1578 34.2497 96.0999 34.4474 96.0999C34.9873 96.0999 34.6724 94.3001 34.4474 93.4002L31.0728 90.7006ZM37.822 96.7748C35.6623 93.5352 37.822 92.2754 39.1718 92.0504C39.1718 93.6702 41.8715 94.9751 43.2214 95.425V99.4745C42.3215 99.9245 39.8468 98.7996 37.822 96.7748ZM46.596 95.425V100.149L52.6703 100.824V96.7748C51.7364 96.3457 49.7539 95.2049 49.2957 94.0752C47.9458 94.0752 47.3049 94.5043 46.596 95.425ZM55.37 100.149L54.6951 96.0999C56.7198 95.2 61.4443 94.7501 61.4443 94.7501C61.4443 94.7501 61.6692 97.8997 61.4443 98.7996C60.3644 99.3396 56.9448 99.9245 55.37 100.149ZM68.1935 92.0504C67.0686 92.5003 64.5489 93.2653 63.469 92.7253V98.1247C65.2688 97.2248 68.8684 95.29 68.8684 94.7501L68.1935 92.0504ZM70.2183 94.0752V90.7006C70.7582 90.7006 72.243 88.4508 72.918 87.3259V90.7006C72.918 91.2405 71.1182 93.1753 70.2183 94.0752ZM73.5929 85.9761V89.3507C74.7177 86.876 74.9427 84.8962 74.9427 83.2764C74.7136 83.8873 74.609 84.3323 74.5284 84.6748C74.3716 85.3413 74.3062 85.6194 73.5929 85.9761ZM65.4935 53.5799C61.174 57.3594 63.2438 60.1041 64.8186 61.004L66.1684 61.6789C69.3286 63.259 71.2556 61.551 72.9119 60.083C73.3781 59.6699 73.8228 59.2757 74.2675 58.9792C75.8873 57.8994 73.5926 53.1299 72.2428 50.8802C71.7928 50.2053 69.813 49.8003 65.4935 53.5799ZM24.9983 65.0535C24.4584 68.8331 30.1727 68.8781 33.0974 68.4282L43.2211 67.7532C45.2459 67.3033 49.2954 65.5935 49.2954 62.3539C49.2954 59.1142 46.5957 58.3043 45.2459 58.3043H32.4223C25.9459 58.3043 25.6843 60.1687 25.0773 64.4939C25.0518 64.6761 25.0256 64.8626 24.9983 65.0535ZM24.3236 31.9824C27.2483 27.9328 35.7973 20.1037 46.596 21.1836C51.5952 21.6835 54.0023 21.2577 55.6345 20.969C58.4094 20.4782 58.9443 20.3835 66.1688 25.9081C74.2678 31.3074 56.0449 34.0071 43.2214 35.357C34.4474 36.0319 25.9434 36.3019 24.3236 31.9824Z"></path></svg></div>`;
        let svg_yellow_bait = `<div style="${icon_style_yellow}"><svg fill="none" viewBox="0 0 125 129" height="129" width="125" xmlns="http://www.w3.org/2000/svg" data-v-08fa816e="" class="css-l89uz7"><path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M110.701 56.7186L110.688 56.8275C111.293 57.9023 111.799 58.9267 112.22 59.9015C112.989 60.8281 113.665 62.092 113.2 62.3987C113.186 62.4079 113.174 62.4179 113.161 62.4287C113.482 63.4546 113.703 64.4151 113.847 65.3115C114.045 65.7824 114.226 66.2264 114.318 66.5703C114.508 67.2791 114.402 67.5404 114.283 67.8367C114.195 68.0532 114.1 68.2884 114.108 68.7307C114.113 69.046 114.197 69.3879 114.284 69.7408C114.485 70.5603 114.701 71.4394 113.981 72.1838C113.737 72.4366 113.471 72.71 113.198 72.9753C113.055 73.377 112.915 73.7244 112.796 74.0185L112.796 74.0186L112.732 74.1786C111.975 76.0647 106.399 88.4997 103.706 94.4814C100.701 103.878 87.7597 120.952 60.0365 114.073C27.3719 105.968 20.8003 93.2074 16.5821 85.0169L16.5821 85.0168C16.3252 84.518 16.077 84.0361 15.8322 83.5733C12.1817 76.6714 15.5958 70.9603 17.402 67.9388C17.7058 67.4306 17.9641 66.9985 18.1357 66.6496C19.0891 64.7109 23.0015 53.0721 24.8386 47.4951C27.7033 34.6291 38.046 30.3674 44.9463 30.2719C46.3742 30.1905 47.8025 30.1306 49.2328 30.0978C48.9057 29.5433 48.691 28.8677 48.7813 28.1103C48.9433 26.7518 47.7292 24.1841 46.8615 23.8906C45.9938 23.597 45.5993 22.1247 46.1382 21.1913C46.6772 20.2578 46.5457 19.7671 46.3485 19.0309C46.2801 18.7757 46.1253 18.67 45.9768 18.5686C45.6968 18.3776 45.4389 18.2015 45.8225 17.0678C46.0903 16.276 46.6483 15.954 47.1322 15.6748C47.7088 15.342 48.1803 15.07 47.93 14.136C47.6194 12.977 48.1149 13.0389 48.7716 13.121C49.0881 13.1606 49.4421 13.2048 49.7614 13.1193C50.2249 12.9951 50.6044 12.7761 51.005 12.545C51.4529 12.2866 51.9271 12.0129 52.5747 11.8394C53.1602 11.6825 53.5821 11.8091 54.0232 11.9414C54.5065 12.0863 55.0128 12.2382 55.7824 12.0319C56.7778 11.7652 56.906 11.8511 57.2489 12.081C57.4131 12.1911 57.6267 12.3343 58.0084 12.4875C59.1872 12.9607 60.0549 13.2542 60.5457 13.1227C60.6616 13.0917 60.7838 13.0296 60.9128 12.9641C61.3303 12.7521 61.8191 12.5038 62.3949 13.1532C63.1487 14.0033 64.1479 14.7876 64.6387 14.6561C64.8288 14.6051 65.0045 14.7949 65.2198 15.0274C65.5601 15.3951 65.9993 15.8695 66.7509 15.6681C67.6038 15.4396 67.7855 16.0264 67.9216 16.4657C67.9812 16.6584 68.0321 16.8227 68.127 16.8775C68.2182 16.9302 68.4037 16.9123 68.6348 16.8901C69.1916 16.8367 70.0131 16.7578 70.4189 17.5784C70.993 18.7396 76.0194 20.8119 76.5102 20.6804C76.7801 20.608 77.2688 21.3522 77.7575 22.0964L77.7576 22.0965C78.1574 22.7054 78.5573 23.3142 78.8373 23.4759C78.9969 23.5681 79.2924 23.7796 79.656 24.0399L79.656 24.04C80.7096 24.7943 82.3348 25.9578 82.8821 25.8112C83.2177 25.7213 83.302 25.9173 83.4417 26.2424C83.6085 26.6304 83.8543 27.2022 84.7008 27.6909C85.2151 27.9879 85.683 28.326 86.1031 28.6297C86.9538 29.2445 87.6088 29.7179 88.0576 29.4216C88.3928 29.2002 88.5243 29.691 88.6887 30.3045C88.8531 30.918 89.0504 31.6541 89.5171 31.9236C89.8175 32.097 90.1959 32.3585 90.5875 32.629C91.4125 33.199 92.2956 33.8091 92.6285 33.72C92.8193 33.6688 92.924 34.0384 93.0683 34.5475C93.2952 35.3479 93.6199 36.4934 94.5306 36.8924C96.0205 37.5452 96.8882 37.8387 97.1336 37.773C97.2229 37.749 97.508 38.1956 97.8915 38.796C98.5611 39.8448 99.5306 41.3631 100.28 41.664C100.923 41.922 101.035 42.2438 101.178 42.6501C101.296 42.989 101.435 43.3866 101.919 43.8549C102.303 44.2261 102.774 44.5399 103.235 44.8468C104.053 45.3911 104.838 45.914 105.048 46.6985C105.377 47.9255 106.639 49.6913 107.507 49.9849C108.054 50.1701 108.349 51.3653 108.587 52.329C108.725 52.8928 108.845 53.3773 108.984 53.5342C109.028 53.5841 109.087 53.6481 109.156 53.7236C109.679 54.2916 110.797 55.508 110.755 56.2159C110.746 56.3651 110.724 56.5359 110.701 56.7185L110.701 56.7186ZM51.4724 34.2274C51.4412 33.7427 51.3409 33.2765 51.1915 32.8512C40.9697 31.8459 26.1409 33.8546 33.3608 48.9893C43.1499 69.5096 78.7898 75.9185 83.1066 76.0514C83.92 76.0765 84.9391 76.1626 86.1025 76.2609C91.0686 76.6806 98.6637 77.3225 104.11 74.3834C104.017 74.3134 103.92 74.236 103.82 74.1565C103.402 73.8232 102.937 73.4524 102.478 73.4249C102.179 73.4069 101.771 73.5279 101.341 73.6553C100.618 73.8697 99.8337 74.1023 99.4022 73.7231C99.1923 73.5386 99.0387 73.2901 98.8828 73.038C98.5279 72.4639 98.1616 71.8712 97.0927 71.9749C95.5546 72.124 94.7527 72.0759 93.3767 70.8665C92.4285 70.0332 91.963 70.0696 91.3208 70.1198C91.0311 70.1424 90.7053 70.1679 90.2829 70.1175C89.5618 70.0315 89.3568 69.659 89.0807 69.1574C88.8366 68.714 88.5369 68.1697 87.7761 67.6331C86.46 66.7048 86.0938 66.735 85.4425 66.7887C85.2914 66.8012 85.1249 66.8149 84.9277 66.8182C84.4221 66.8268 84.4731 66.6248 84.5487 66.3254C84.6296 66.0046 84.7389 65.572 84.2221 65.1663C83.7326 64.7821 83.0708 64.6965 82.4997 64.6227C81.9049 64.5458 81.4085 64.4817 81.3078 64.1061C81.2363 63.8392 81.238 63.5873 81.2395 63.3574C81.2421 62.9533 81.2443 62.6174 80.8476 62.3884C80.4204 62.1417 79.4151 62.05 78.6467 61.9799C78.2956 61.9479 77.994 61.9204 77.8195 61.8847C77.4856 61.8164 77.4814 61.565 77.4746 61.1628L77.4746 61.1628C77.4701 60.8947 77.4645 60.5596 77.3593 60.167C77.0963 59.1854 75.7378 59.0234 75.0016 59.2207C74.2654 59.4179 73.6913 58.2567 73.7394 57.4548C73.7786 56.8026 72.3133 56.3795 71.2981 56.0863C71.0651 56.019 70.8557 55.9586 70.6938 55.9038C70.1445 55.718 70.1589 55.2758 70.1767 54.7273C70.187 54.4093 70.1985 54.0555 70.102 53.6953C69.9484 53.1221 69.0029 52.9405 68.1057 52.7682L68.1057 52.7682C67.4665 52.6454 66.852 52.5273 66.5657 52.2758C66.4781 52.1988 66.4027 52.1356 66.3384 52.0816C66.1662 51.9373 66.0727 51.8588 66.0344 51.7592C65.989 51.6407 66.0217 51.4922 66.0933 51.1671C66.1158 51.0649 66.1422 50.9452 66.1712 50.8034C66.399 49.6904 62.7968 48.0255 61.9949 47.9774C61.613 47.9545 61.6614 47.7566 61.7478 47.4036C61.8428 47.0155 61.9836 46.4398 61.6485 45.7031C61.1904 44.6962 59.8272 44.3361 58.8613 44.081C58.478 43.9797 58.1572 43.895 57.9804 43.7929C57.5757 43.5593 57.4749 42.7992 57.3635 41.9587C57.3036 41.5069 57.2406 41.0318 57.1256 40.6029C56.9408 39.9132 56.4156 39.8133 55.8571 39.7072C55.422 39.6245 54.9668 39.5379 54.6367 39.1657C54.1951 38.6677 53.7701 37.8946 53.418 37.2541C53.169 36.8013 52.9565 36.4147 52.8004 36.2386C52.7088 36.1354 52.5882 36.0398 52.4569 35.9358C52.048 35.6119 51.5355 35.2059 51.4724 34.2274ZM32.4246 73.1578C32.4749 70.1097 32.7923 64.8224 35.0024 63.3631C37.4409 63.4034 37.1358 65.3926 36.6784 66.3822C36.8604 83.2408 53.6977 87.8332 49.8619 83.2252C46.7932 79.5388 48.4671 74.784 49.6876 72.8674C51.8068 76.2453 60.0086 80.1183 65.6544 82.7844L65.6544 82.7844C68.0726 83.9263 70.0218 84.8467 70.8233 85.412C71.9378 86.1981 71.9168 86.6853 71.8933 87.2303C71.8605 87.9921 71.8228 88.8669 74.8759 90.8289C80.1128 94.1944 82.3017 97.5096 81.5508 101.179C80.7999 104.848 65.3426 103.788 62.0777 102.929C60.5392 102.524 59.02 103.269 57.406 104.06C55.5949 104.949 53.6643 105.896 51.4528 105.342C48.3449 104.564 49.5847 102.142 50.5807 100.196C50.925 99.5238 51.2402 98.9081 51.3367 98.4368C51.5453 97.4171 49.4046 96.6252 46.984 95.7298C45.0494 95.0141 42.9361 94.2324 41.7007 93.2153C40.5968 92.3066 40.4568 90.6614 40.3062 88.8934C40.0776 86.2073 39.8248 83.2375 36.1308 82.1357C33.0681 81.2223 31.5586 82.0603 30.6152 82.584C29.6717 83.1078 29.2943 83.3172 28.496 81.1468C27.5701 78.6295 29.0223 77.3702 30.4157 76.162C31.425 75.2867 32.4035 74.4383 32.4246 73.1578ZM72.912 94.8234C73.2112 95.9404 72.5484 97.0885 71.4314 97.3877C70.3145 97.687 69.1664 97.0242 68.8671 95.9072C68.5679 94.7903 69.2307 93.6422 70.3476 93.3429C71.4646 93.0437 72.6127 93.7065 72.912 94.8234Z"></path></svg></div>`
        let svg_green = `<div style="${icon_style_green}"><svg width="130" height="109" viewBox="0 0 130 109" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-l89uz7"><path fill-rule="evenodd" clip-rule="evenodd" d="M87.9845 32.8861L85.9979 35.8279L88.12 38.6735L94.2146 46.8458L95.1375 48.0832L96.5973 48.5851L113.804 54.5001L96.5978 60.4149L95.138 60.9167L94.2151 62.1541L88.1206 70.3262L85.9984 73.1718L87.9851 76.1136L91.6842 81.5912L87.6811 78.8877L83.727 76.2175L80.8747 80.0422L65.5161 100.636L49.5391 79.2126L46.6867 75.3878L42.7326 78.0581L37.501 81.5911L42.078 74.8137L44.0646 71.8719L41.9425 69.0263L37.4543 63.008L36.5314 61.7705L35.0715 61.2686L15.3809 54.5001L35.072 47.7313L36.5319 47.2295L37.4547 45.992L41.9431 39.9734L44.0652 37.1278L42.0786 34.186L37.5016 27.4085L42.7332 30.9415L46.6873 33.6118L49.5396 29.787L65.5161 8.3637L80.8741 28.9574L83.7265 32.7821L87.6805 30.1119L91.6836 27.4085L87.9845 32.8861ZM129.185 54.5001L121.495 51.8565L98.2228 43.8567L92.1282 35.6843L102.776 19.918L110.266 8.82611L99.1742 16.3167L84.8822 25.9683L68.6347 4.18184L65.5161 0L62.3974 4.18186L45.5315 26.7979L30.0111 16.3166L18.9192 8.82605L26.4098 19.918L37.9349 36.9843L33.4466 43.0029L7.69046 51.8565L0 54.5001L7.69047 57.1437L33.4461 65.9971L37.9344 72.0154L26.409 89.0818L18.9184 100.174L30.0104 92.6831L45.5309 82.2017L62.3974 104.818L65.5161 109L68.6347 104.818L84.8828 83.0313L99.1749 92.6831L110.267 100.174L102.776 89.0818L92.1287 73.3153L98.2232 65.1433L121.495 57.1437L129.185 54.5001ZM88.625 53.937L66.0925 22.3916L43.5604 53.937L66.0925 85.482L88.625 53.937Z"></path></svg></div>`;
        if (green1 === 0 && green2 === 0) {
            console.log("DOUBLE!");
        }

        const date = new Date().toLocaleString("en-US", {
            month: '2-digit',
            day: '2-digit',
            year: 'numeric',
            hour: '2-digit',
            minute: '2-digit',
            second: '2-digit'
        });
        const allDivs = Array.from(document.querySelectorAll('div'));
        const targetDivIndex = allDivs.findIndex(div => div.textContent.trim() === 'Triple Green Bonus');

        const existingDiv = document.getElementById('someguy');

        if (!existingDiv && targetDivIndex !== -1 && allDivs[targetDivIndex + 3]) {
            const newDiv = document.createElement('div');
            newDiv.id = 'someguy';
            Object.assign(newDiv.style, {
                display: 'flex',
                alignItems: 'center',
                marginBottom: '1rem',
                gap: '5px'
            });
            newDiv.innerHTML = `${svg_green} <div style="${icon_number_style}">${green}</div> ${svg_blue} <div style="${icon_number_style}">${blue}</div> ${svg_blue_bait} <div style="${icon_number_style}">${blueBait}</div> ${svg_yellow} <div style="${icon_number_style}">${yellow}</div>  ${svg_yellow_bait}  <div style="${icon_number_style}">${yellowBait}</div>`; // Add this if you want initial content

            allDivs[targetDivIndex - 13].insertAdjacentElement('afterbegin', newDiv);
        }
        else if (existingDiv) {
            existingDiv.innerHTML = `${svg_green} <div style="${icon_number_style}">${green}</div> ${svg_blue} <div style="${icon_number_style}">${blue}</div> ${svg_blue_bait} <div style="${icon_number_style}">${blueBait}</div> ${svg_yellow} <div style="${icon_number_style}">${yellow}</div>  ${svg_yellow_bait}  <div style="${icon_number_style}">${yellowBait}</div>`;
        }
    }
    setTimeout(fetchData, 1000);
    setInterval(fetchData, 5000);
})();