<!DOCTYPE html>
<html class="dark">

<head>
    <style>
        :root {
            --background: rgb(22 22 22);
            --color: white;
            --primary-color: rgb(81, 246, 212);
            --some-color: rgb(81, 246, 212);
            --serials: #111111;
            --scroll-hide: rgba(255, 255, 255, 0.1);
            --spoof-boxes: rgb(81, 246, 212);
        }

        .light {
            --background: white;
            --color: black;
            --some-color: rgb(255, 255, 0);
            --serials: rgb(81, 246, 212);
            --scroll-hide: rgba(0, 0, 0, 0.1);
        }

        * {
            box-sizing: border-box;
            user-select: none;
            -webkit-user-drag: none;
            user-drag: none;
        }

        html {
            scroll-behavior: smooth;
            border-radius: 10px;
            background: transparent;
            margin: 0;
            padding: 0;
        }

        body {
            overflow: hidden;
            margin: 0;
            box-sizing: border-box;
            font-family: sans-serif;
            background: var(--background);
            color: var(--color);
            letter-spacing: 1px;
            transition: background 0.3s ease, color 0.3s ease;
        }

        a {
            text-decoration: none;
            color: var(--color);
        }

        h1 {
            font-size: 1.8rem;
        }


        .container {
            background-position: center;
            background-repeat: no-repeat;
            background: var(--background);
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            padding: 1.5rem;
        }

        .main-container {
            background: transparent;
            position: relative;
            width: 22.2rem;
        }

        .form-container {
            background: transparent;
            border: 1px solid hsla(0, 0%, 65%, 0.158);
            box-shadow: 0 0 36px 1px rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            backdrop-filter: blur(20px);
            position: relative;
            z-index: 99;
            padding: 2.5rem;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            -ms-border-radius: 10px;
            -o-border-radius: 10px;
            align-content: center;
            transition: all 0.6s ease-in-out;
        }

        .card-container {
            background: transparent;
            border: 1px solid hsla(0, 0%, 65%, 0.158);
            box-shadow: 0 0 36px 1px rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            backdrop-filter: blur(20px);
            position: relative;
            z-index: 99;
            padding: 2.5rem;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            -ms-border-radius: 10px;
            -o-border-radius: 10px;
            align-content: center;
            transition: all 0.6s ease-in-out;
            transition: transform 0.3s ease;
            filter: blur(3px);
        }

        .card-container:hover {
            transform: scale(1.01);
            filter: none;
        }

        /* .card-label {
            filter: blur(3px);
        }

        .card-label:hover {
            filter: none;
        } */

        .main-container input {
            display: block;
            padding: 14.5px;
            width: 100%;
            margin: 2rem 0;
            color: var(--color);
            outline: none;
            background-color: #9191911f;
            border: none;
            border-radius: 5px;
            font-weight: 500;
            letter-spacing: 0.8px;
            backdrop-filter: blur(15px);
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            -ms-border-radius: 5px;
            -o-border-radius: 5px;
        }

        .main-container input:focus {
            box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.2);
            animation: wobble 0.3s ease-in;
            -webkit-animation: wobble 0.3s ease-in;
        }

        .main-container button {
            background-color: var(--primary-color);
            opacity: 0.8;
            color: var(--color);
            display: block;
            padding: 13px;
            border-radius: 5px;
            outline: none;
            font-size: 18px;
            letter-spacing: 1.5px;
            font-weight: bold;
            width: 100%;
            cursor: pointer;
            transition: all 0.1s ease-in-out;
            border: none;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            -ms-border-radius: 5px;
            -o-border-radius: 5px;
            -webkit-transition: all 0.1s ease-in-out;
            -moz-transition: all 0.1s ease-in-out;
            -ms-transition: all 0.1s ease-in-out;
            -o-transition: all 0.1s ease-in-out;
        }

        .main-container button:hover {
            box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.15);
            transform: scale(1.02);
            -webkit-transform: scale(1.02);
        }

        .circle-container {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 16rem;
            height: 16rem;
            transform: translate(-50%, -50%);
            animation: rotate 10s linear infinite;
        }

        .circle {
            width: 8rem;
            height: 8rem;
            background: var(--primary-color);
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform-origin: 50% 50%;
        }

        .circle-one {
            transform: translate(-50%, -50%) rotate(0deg) translateY(-12rem);
        }

        .circle-two {
            transform: translate(-50%, -50%) rotate(180deg) translateY(-12rem);
        }

        .illustration {
            position: absolute;
            top: 0%;
            right: 1px;
            width: 100%;
        }

        .register-forget {
            margin: 1rem 0;
            display: flex;
            justify-content: space-between;
        }

        .opacity {
            opacity: 0.8;
        }

        .theme-btn-container {
            position: absolute;
            left: 0;
            bottom: 2rem;
        }

        .theme-btn {
            cursor: pointer;
            transition: all 0.3s ease-in;
        }

        .theme-btn:hover {
            width: 40px !important;
        }

        html .trigger {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            background: #111111;
            background-image: url("https://jssecrets.com/wp-content/uploads/2023/01/sun.svg");
            background-size: 28px;
            background-position: center center;
            background-repeat: no-repeat;
            position: absolute;
            right: 3%;
            bottom: 6%;
            z-index: 9999;
            transform-style: preserve-3d;
            transition: all 0.5s ease-out;
        }

        html .trigger::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: #111111;
            transform: translateZ(-1px);
            transition: all 0.5s ease-out;
        }

        html.light .trigger {
            background-image: url("https://jssecrets.com/wp-content/uploads/2023/01/moon.svg");
        }

        #formCont {
            transition: padding 0.6s ease, height 0.6s ease;
        }

        @keyframes toBlack {
            0% {
                background-color: #f5f5f5;
            }

            90% {
                background-color: #f5f5f5;
            }

            100% {
                background-color: #111111;
            }
        }

        @keyframes rotate {
            0% {
                transform: translate(-50%, -50%) rotate(0deg);
            }

            100% {
                transform: translate(-50%, -50%) rotate(360deg);
            }
        }

        @keyframes wobble {
            0% {
                transform: scale(1.025);
                -webkit-transform: scale(1.025);
                -moz-transform: scale(1.025);
                -ms-transform: scale(1.025);
                -o-transform: scale(1.025);
            }

            25% {
                transform: scale(1);
                -webkit-transform: scale(1);
                -moz-transform: scale(1);
                -ms-transform: scale(1);
                -o-transform: scale(1);
            }

            75% {
                transform: scale(1.025);
                -webkit-transform: scale(1.025);
                -moz-transform: scale(1.025);
                -ms-transform: scale(1.025);
                -o-transform: scale(1.025);
            }

            100% {
                transform: scale(1);
                -webkit-transform: scale(1);
                -moz-transform: scale(1);
                -ms-transform: scale(1);
                -o-transform: scale(1);
            }
        }

        #serialsContent::-webkit-scrollbar {
            width: 8px;
            border-radius: 10px;
        }

        #serialsContent::-webkit-scrollbar-track {
            background: var(--scroll-hide);
            border-radius: 10px;
        }

        #serialsContent::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
        }

        #serialsContent::-webkit-scrollbar-thumb:hover {
            background: var(--some-color);
        }

        #serialsContent {
            scrollbar-width: thin;
            scrollbar-color: var(--primary-color) var(--scroll-hide);
            transition: padding 0.6s ease, height 0.6s ease;
        }

        #note {
            position: absolute;
            bottom: 5%;
            left: 10%;
            right: 10%;
            border-radius: 10px;
            background: var(--serials);
            color: var(--color);
            text-align: center;
            line-height: 2.5;
            overflow: hidden;
            -webkit-box-shadow: 0 0 5px black;
            -moz-box-shadow: 0 0 5px black;
            box-shadow: 0 0 5px black;
            transform: translateY(70px);
            animation: slideDown 2.5s 1.0s 1 ease forwards;
            user-select: all;
            transition: padding 0.6s ease, height 0.6s ease;
        }

        @keyframes slideDown {

            0%,
            100% {
                transform: translateY(70px);
            }

            10%,
            90% {
                transform: translateY(0px);
            }
        }
    </style>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>

<body class="dark">
    <div style="border-radius: 30%;
        z-index: 9999;
        width: 25px;
        height: 25px;
        background: transparent;
        color: red;
        right: 0.6%;
        top: 1%;
        align-content: center;
        text-align: center;
        font-size: large;
        position: absolute;
        cursor: pointer;" onclick="exit()">✖</div>

    <div id="circles" class="circle-container" style="display: block;">
        <div class="circle circle-one"></div>
        <div class="circle circle-two"></div>
    </div>
    <section id="cont" class="container" style="max-width: none;">
        <div id="mainCont" class="main-container">
            <div id="formCont" class="form-container"
                style="display: flex; flex-direction: column; align-items: stretch;">
                <div class="opacity" id="mainLabel" style="text-align: center; font-size: 1.8rem;">DotWare Temp</div>
                <div id="loginContent" style="margin-top: 1rem;">
                    <input id="key" type="password" placeholder="Key" />
                    <i id="toggleEye" class="fa fa-eye"
                        style="font-size: 25px; position: absolute; right: 50px; top: 47%; cursor: pointer;"></i>
                    <button class="opacity" style="text-align: center;" onclick="sendLoginInfo()">LOGIN</button>
                </div>

                <div style="display: flex; justify-content: space-between; max-height: 108%; font-family: monospace;">
                    <div id="serialsContent"
                        style="margin-right: 12px; overflow-x: hidden; overflow-y: auto; height: -webkit-fill-available; display: none; max-width: max-content; margin-bottom: 1rem; font-size: small;">
                        <!-- Motherboard -->
                        <div id="motherboardCard" class="card-container"
                            style="background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Motherboard</b></div>
                            <div id="motherboardModelLabel" class="card-label">Model: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="motherboardSerialLabel" class="card-label">Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="motherboardUUIDLabel" class="card-label">UUID: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                        </div>

                        <!-- DISKS -->
                        <div id="disk0Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Disk 0</b></div>
                            <div id="disk0ModelLabel" class="card-label">Model: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="disk0SerialLabel" class="card-label">Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                        </div>
                        <div id="disk1Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Disk 1</b></div>
                            <div id="disk1ModelLabel" class="card-label">Model: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="disk1SerialLabel" class="card-label">Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                        </div>
                        <div id="disk2Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Disk 2</b></div>
                            <div id="disk2ModelLabel" class="card-label">Model: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="disk2SerialLabel" class="card-label">Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                        </div>
                        <div id="disk3Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Disk 3</b></div>
                            <div id="disk3ModelLabel" class="card-label">Model: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="disk3SerialLabel" class="card-label">Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                        </div>
                        <div id="disk4Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Disk 4</b></div>
                            <div id="disk4ModelLabel" class="card-label">Model: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="disk4SerialLabel" class="card-label">Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                        </div>
                        <div id="disk5Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Disk 5</b></div>
                            <div id="disk5ModelLabel" class="card-label">Model: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="disk5SerialLabel" class="card-label">Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                        </div>
                        <div id="disk6Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Disk 6</b></div>
                            <div id="disk6ModelLabel" class="card-label">Model: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="disk6SerialLabel" class="card-label">Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                        </div>
                        <div id="disk7Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Disk 7</b></div>
                            <div id="disk7ModelLabel" class="card-label">Model: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                            <div id="disk7SerialLabel" class="card-label">Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX</div>
                        </div>

                        <!-- MAC -->
                        <div id="networkAdapter0Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Network Adapter 0</b></div>
                            <div id="networkAdapter0ModelLabel" class="card-label">Name: XXXXXXXXXXXXXXXXXXXXXXXXXX
                            </div>
                            <div id="networkAdapter0MACLabel" class="card-label">MAC: 00-00-00-00-00-00</div>
                        </div>
                        <div id="networkAdapter1Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Network Adapter 1</b></div>
                            <div id="networkAdapter1ModelLabel" class="card-label">Name: XXXXXXXXXXXXXXXXXXXXXXXXXX
                            </div>
                            <div id="networkAdapter1MACLabel" class="card-label">MAC: 00-00-00-00-00-00</div>
                        </div>
                        <div id="networkAdapter2Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Network Adapter 2</b></div>
                            <div id="networkAdapter2ModelLabel" class="card-label">Name: XXXXXXXXXXXXXXXXXXXXXXXXXX
                            </div>
                            <div id="networkAdapter2MACLabel" class="card-label">MAC: 00-00-00-00-00-00</div>
                        </div>
                        <div id="networkAdapter3Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Network Adapter 3</b></div>
                            <div id="networkAdapter3ModelLabel" class="card-label">Name: XXXXXXXXXXXXXXXXXXXXXXXXXX
                            </div>
                            <div id="networkAdapter3MACLabel" class="card-label">MAC: 00-00-00-00-00-00</div>
                        </div>
                        <div id="networkAdapter4Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Network Adapter 4</b></div>
                            <div id="networkAdapter4ModelLabel" class="card-label">Name: XXXXXXXXXXXXXXXXXXXXXXXXXX
                            </div>
                            <div id="networkAdapter4MACLabel" class="card-label">MAC: 00-00-00-00-00-00</div>
                        </div>
                        <div id="networkAdapter5Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Network Adapter 5</b></div>
                            <div id="networkAdapter5ModelLabel" class="card-label">Name: XXXXXXXXXXXXXXXXXXXXXXXXXX
                            </div>
                            <div id="networkAdapter5MACLabel" class="card-label">MAC: 00-00-00-00-00-00</div>
                        </div>
                        <div id="networkAdapter6Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Network Adapter 6</b></div>
                            <div id="networkAdapter6ModelLabel" class="card-label">Name: XXXXXXXXXXXXXXXXXXXXXXXXXX
                            </div>
                            <div id="networkAdapter6MACLabel" class="card-label">MAC: 00-00-00-00-00-00</div>
                        </div>
                        <div id="networkAdapter7Card" class="card-container"
                            style="display: none; background: var(--serials); padding: 1rem; margin-right: 3px; margin-bottom: 5px;">
                            <div><b>Network Adapter 7</b></div>
                            <div id="networkAdapter7ModelLabel" class="card-label">Name: XXXXXXXXXXXXXXXXXXXXXXXXXX
                            </div>
                            <div id="networkAdapter7MACLabel" class="card-label">MAC: 00-00-00-00-00-00</div>
                        </div>
                    </div>

                    <div id="spoofContent" style="display: none; margin-right: 1rem; text-align: -webkit-center;">
                        <div style="display: flex; flex-direction: column; gap: 15px; margin-bottom: 5px;">
                            <!-- Motherboard -->
                            <div onclick="toggleMotherboard()"
                                style="padding: 0.3rem; border-radius: 8px; background: var(--serials); border: 1px solid hsla(0, 0%, 65%, 0.158); text-align: left; display: flex; align-items: center; justify-content: space-between;">
                                <div>
                                    <div class="card-label" style="line-height: 25px;">Motherboard</div>
                                    <div style="color: gray; font-size: small;">Spoof the motherboard's identifiers.
                                    </div>
                                </div>
                                <button id="motherboardCheckBox"
                                    style="-webkit-transform: scale(1.00); opacity: 1; font-size: small; cursor: default; width: 1rem; height: 1rem; background: var(--serials); color: red; display: flex; align-items: center; justify-content: center;">✖</button>
                            </div>

                            <!-- Disk -->
                            <div onclick="toggleDisks()"
                                style="padding: 0.3rem; border-radius: 8px; background: var(--serials); border: 1px solid hsla(0, 0%, 65%, 0.158); text-align: left; display: flex; align-items: center; justify-content: space-between;">
                                <div>
                                    <div class="card-label" style="line-height: 25px;">Disk</div>
                                    <div style="color: gray; font-size: small;">Spoof all disks serial number.</div>
                                </div>
                                <button id="disksCheckBox"
                                    style="-webkit-transform: scale(1.00); opacity: 1; font-size: small; cursor: default; width: 1rem; height: 1rem; background: var(--serials); color: red; display: flex; align-items: center; justify-content: center;">✖</button>
                            </div>

                            <!-- Network -->
                            <div onclick="toggleNetwork()"
                                style="padding: 0.3rem; border-radius: 8px; background: var(--serials); border: 1px solid hsla(0, 0%, 65%, 0.158); text-align: left; display: flex; align-items: center; justify-content: space-between;">
                                <div>
                                    <div class="card-label" style="line-height: 25px;">Network</div>
                                    <div style="color: gray; font-size: small;">Spoof everything related to network.
                                    </div>
                                </div>
                                <button id="macsCheckBox"
                                    style="-webkit-transform: scale(1.00); opacity: 1; font-size: small; cursor: default; width: 1rem; height: 1rem; background: var(--serials); color: red; display: flex; align-items: center; justify-content: center;">✖</button>
                            </div>

                            <!-- SEED -->
                            <div
                                style="padding: 0.3rem; border-radius: 8px; background: var(--serials); border: 1px solid hsla(0, 0%, 65%, 0.158); text-align: left; display: flex; align-items: center;">
                                <div class="card-label" style="line-height: 25px; margin-right: 5px;">Seed</div>
                                <input id="seedInput" type="text" placeholder="Random"
                                    style="color: gray; font-size: medium; margin: 0; width:;">
                                <button id="randomSeedButton"
                                    style="-webkit-transform: scale(1.00); opacity: 1; font-size: small; cursor: pointer; width: 1rem; height: 1rem; background: var(--serials); color: red; display: flex; align-items: center; justify-content: center;">🎲</button>
                            </div>
                        </div>
                        <button style="font-weight: normal;
                            letter-spacing: normal;
                            -webkit-transition: none;
                            transition: none;
                            transform: none;
                            -webkit-transform: none;
                            width: 80%;
                            opacity: 1;
                            background: #111111;
                            color: white;
                            text-align: center;
                            margin-top: 10px;
                            border-radius: 10px;
                            justify-self: center;" onclick="startCleaning()">CLEAN</button>
                        <button style="font-weight: normal;
                            letter-spacing: normal;
                            -webkit-transition: none;
                            transition: none;
                            transform: none;
                            -webkit-transform: none;
                            width: 80%;
                            opacity: 1;
                            background: #111111;
                            color: white;
                            text-align: center;
                            margin-top: 10px;
                            border-radius: 10px;
                            justify-self: center;" onclick="startSpoofing()">SPOOF</button>
                    </div>
                </div>
            </div>
        </div>

        <div id="note" style="display: none; z-index: 9999;"></div>
    </section>

    <div class="trigger" onclick="document.documentElement.classList.toggle('light')"></div>

    <script>
        var Properties = {
            seed: "Random",
            bSpoofMotherboard: false,
            bSpoofDisk: false,
            bSpoofNetwork: false
        }

        window.onload = function () {
            //setLoginStatus(true);
        };

        function exit() {
            window.chrome.webview.postMessage({ type: "function", name: "exit" });
        }

        function showMessage(message, type = "") {
            let color = "";
            if (type == "success") {
                color = "green";
            }
            else if (type == "error") {
                color = "red";
            }
            else if (type == "warning") {
                color = "yellow";
            }

            document.getElementById("note").style.transform = 'translateY(70px)';
            document.getElementById("note").style.display = 'block';
            document.getElementById("note").innerText = message;
            document.getElementById("note").style.color = color;
            setTimeout(function () {
                document.getElementById("note").style.transform = 'translateY(0px)';
                document.getElementById("note").style.display = 'none';
                document.getElementById("note").innerText = "";
            }, 3500);
        }

        function startCleaning() {
            window.chrome.webview.postMessage({ type: "function", name: "clean" });
        }

        function startSpoofing() {
            window.chrome.webview.postMessage({ type: "function", name: "spoof", properties: Properties });
        }

        function sendLoginInfo() {
            window.chrome.webview.postMessage({ type: "function", name: "login", key: document.getElementById('key').value });
        }

        function toggleMotherboard() {
            Properties.bSpoofMotherboard = !Properties.bSpoofMotherboard;
            if (Properties.bSpoofMotherboard) {
                document.getElementById("motherboardCheckBox").innerText = "✓";
                document.getElementById("motherboardCheckBox").style.color = 'green';
                document.getElementById("motherboardCheckBox").style.fontSize = '';
            }
            else {
                document.getElementById("motherboardCheckBox").innerText = "✖";
                document.getElementById("motherboardCheckBox").style.color = 'red';
                document.getElementById("motherboardCheckBox").style.fontSize = 'small';
            }
        }

        function toggleDisks() {
            Properties.bSpoofDisk = !Properties.bSpoofDisk;
            if (Properties.bSpoofDisk) {
                document.getElementById("disksCheckBox").innerText = "✓";
                document.getElementById("disksCheckBox").style.color = 'green';
                document.getElementById("disksCheckBox").style.fontSize = '';
            }
            else {
                document.getElementById("disksCheckBox").innerText = "✖";
                document.getElementById("disksCheckBox").style.color = 'red';
                document.getElementById("disksCheckBox").style.fontSize = 'small';
            }
        }

        function toggleNetwork() {
            Properties.bSpoofNetwork = !Properties.bSpoofNetwork;
            if (Properties.bSpoofNetwork) {
                document.getElementById("macsCheckBox").innerText = "✓";
                document.getElementById("macsCheckBox").style.color = 'green';
                document.getElementById("macsCheckBox").style.fontSize = '';
            }
            else {
                document.getElementById("macsCheckBox").innerText = "✖";
                document.getElementById("macsCheckBox").style.color = 'red';
                document.getElementById("macsCheckBox").style.fontSize = 'small';
            }
        }

        function setLoginStatus(status) {
            if (status === true) {
                document.getElementById("formCont").style.padding = "1rem";
                document.getElementById("mainLabel").innerText = "Loading..";
                document.getElementById("loginContent").style.display = "none";

                setTimeout(function () {
                    document.getElementById("formCont").style.height = "26rem";
                    document.getElementById("cont").style.justifyContent = "left";
                    document.getElementById("cont").style.backgroundImage = 'url("https://cdn.discordapp.com/attachments/995777267793940520/1287232027833270293/icon.png?ex=66f0cbbf&is=66ef7a3f&hm=f4081aa56a4bd620078f1688a6c84b1c0e39e6a1fe7cbfefcc40e58dc432c837")';
                    document.getElementById("cont").style.backgroundRepeat = "no-repeat";
                    document.getElementById("cont").style.backgroundPosition = "center";
                    document.getElementById("mainCont").style.width = "-webkit-fill-available";
                    document.getElementById("formCont").style.width = "-webkit-fill-available";
                    document.getElementById("mainLabel").style.display = "none";
                    document.getElementById("serialsContent").style.display = "block";
                    document.getElementById("spoofContent").style.display = "block";
                    document.getElementById("circles").style.display = "none";

                }, 2000);

                Properties.seed = "1"
                for (let i = 0; i < 9; i++) {
                    Properties.seed += Math.floor(Math.random() * 10).toString();
                }
                document.getElementById("seedInput").value = Properties.seed;

                document.getElementById("randomSeedButton").onclick = function () {
                    Properties.seed = "1"
                    for (let i = 0; i < 9; i++) {
                        Properties.seed += Math.floor(Math.random() * 10).toString();
                    }

                    document.getElementById("seedInput").value = Properties.seed;
                }

                document.getElementById("seedInput").oninput = function () {
                    document.getElementById("seedInput").value = document.getElementById("seedInput").value.replace(/[^0-9]/g, '')

                    const seedValue = document.getElementById("seedInput").value;
                    if (seedValue !== "" && seedValue.length !== 10) {
                        showMessage("The seed must be exactly 10 characters long.", "warning");
                    } else {
                        Properties.seed = seedValue;
                    }
                };
            }
        }

        function setMotherboardInfo(motherboardModel, motherboardUUID, motherboardSerial) {
            var changed = false;
            if (motherboardModel && motherboardModel != "") {
                if (document.getElementById("motherboardModelLabel").innerText != "Model: XXXXXXXXXXXXXXXXXXXXXXXXXX") {
                    if (document.getElementById("motherboardModelLabel").innerText != "Model: " + motherboardModel) {
                        if (Properties.bSpoofMotherboard) {
                            document.getElementById("motherboardModelLabel").style.color = "green";
                            changed = true;
                        }
                    }
                }
                document.getElementById("motherboardModelLabel").innerText = "Model: " + motherboardModel;
            }

            if (motherboardUUID && motherboardUUID != "") {
                if (document.getElementById("motherboardUUIDLabel").innerText != "UUID: XXXXXXXXXXXXXXXXXXXXXXXXXX") {
                    if (document.getElementById("motherboardUUIDLabel").innerText != "UUID: " + motherboardUUID) {
                        if (Properties.bSpoofMotherboard) {
                            document.getElementById("motherboardUUIDLabel").style.color = "green";
                            changed = true;
                        }
                    }
                }
                document.getElementById("motherboardUUIDLabel").innerText = "UUID: " + motherboardUUID;
            }

            if (motherboardSerial && motherboardSerial != "") {
                if (document.getElementById("motherboardSerialLabel").innerText != "Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX") {
                    if (document.getElementById("motherboardSerialLabel").innerText != "Serial: " + motherboardSerial) {
                        if (Properties.bSpoofMotherboard) {
                            document.getElementById("motherboardSerialLabel").style.color = "green";
                            changed = true;
                        }
                    }
                }
                document.getElementById("motherboardSerialLabel").innerText = "Serial: " + motherboardSerial;
            }

            if (changed) {
                document.getElementById("motherboardCard").style.filter = "none";
                setTimeout(function () {
                    document.getElementById("motherboardCard").style.filter = "";
                }, 5000);
            }
        }

        function setDiskInfo(name, model, serial) {
            if (name && name != "" && model && serial != "") {
                document.getElementById(name + "Card").style.display = "block";
                if (document.getElementById(name + "SerialLabel").innerText != "Serial: XXXXXXXXXXXXXXXXXXXXXXXXXX") {
                    if (document.getElementById(name + "SerialLabel").innerText != "Serial: " + serial) {
                        if (Properties.bSpoofDisk) {
                            document.getElementById(name + "SerialLabel").style.color = "green";
                            document.getElementById(name + "Card").style.filter = "none";
                            setTimeout(function () {
                                document.getElementById(name + "Card").style.filter = "";
                            }, 5000);
                        }
                    }
                }
                document.getElementById(name + "ModelLabel").innerText = "Model: " + model;
                document.getElementById(name + "SerialLabel").innerText = "Serial: " + serial;
            }
        }

        function setNetworkdAdapterInfo(name, model, mac) {
            if (name && name != "" && model && mac != "") {
                document.getElementById(name + "Card").style.display = "block";
                if (document.getElementById(name + "MACLabel").innerText != "MAC: 00-00-00-00-00-00") {
                    if (document.getElementById(name + "MACLabel").innerText != "MAC: " + mac) {
                        if (Properties.bSpoofNetwork) {
                            document.getElementById(name + "MACLabel").style.color = "green";
                            document.getElementById(name + "Card").style.filter = "none";
                            setTimeout(function () {
                                document.getElementById(name + "Card").style.filter = "";
                            }, 5000);
                        }
                    }
                }
                document.getElementById(name + "ModelLabel").innerText = "Name: " + model;
                document.getElementById(name + "MACLabel").innerText = "MAC: " + mac;
            }
        }

        document.getElementById('toggleEye').addEventListener('click', function () {
            const passwordInput = document.getElementById('key');
            const eyeIcon = document.getElementById('toggleEye');

            if (passwordInput.type === 'password') {
                passwordInput.type = 'text';
                eyeIcon.classList.remove('fa-eye');
                eyeIcon.classList.add('fa-eye-slash');
            } else {
                passwordInput.type = 'password';
                eyeIcon.classList.remove('fa-eye-slash');
                eyeIcon.classList.add('fa-eye');
            }
        });
    </script>
</body>

</html>