<!DOCTYPE html>
<html lang="pt-br">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Bruno Lindo!</title>
    <style>
        body {
            background-color: #000000;
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            overflow: hidden;
            position: relative;
        }
        
        .container {
            position: relative;
            text-align: center; /* Centraliza os elementos filhos */
        }
        
        .login-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            backdrop-filter: blur(10px);
            /* Adiciona um efeito de desfoque */
            background-color: rgba(0, 0, 0, 0.727);
            /* Cor de fundo combinando */
        }
        
        .login-container h2 {
            color: #ffffff;
            /* Altera a cor do texto para branco */
            margin-bottom: 20px;
        }
        
        .login-container input {
            width: 100%;
            margin-bottom: 10px;
            padding: 10px;
            border-radius: 4px;
            border: 1px solid #8b0000;
            /* Cor da borda */
            background-color: #4d0000;
            /* Cor de fundo */
            color: #ffffff;
            /* Cor do texto */
            box-sizing: border-box;
        }
        
        .login-container button {
            width: 100%;
            padding: 10px;
            border-radius: 4px;
            border: none;
            background-color: #cc0000;
            /* Cor do botão */
            color: #ffffff;
            /* Cor do texto do botão */
            cursor: pointer;
        }
        
        .login-container button {
            width: 100%;
            padding: 10px;
            border-radius: 4px;
            border: none;
            background-color: #cc0000;
            color: #ffffff;
            cursor: pointer;
            margin-bottom: 10px; /* Adiciona margem inferior de 10px */
        }

        
        .loader {
            border: 6px solid transparent;
            border-top: 6px solid #cc0000;
            /* Cor do spinner */
            border-radius: 50%;
            width: 30px;
            height: 30px;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        
        /* Estilo para o modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.6);
            padding-top: 100px;
            text-align: center;
        }

        .modal-content {
            background-color: #333;
            color: white;
            padding: 20px;
            border-radius: 10px;
            width: 300px;
            margin: auto;
        }

        .modal-button {
            padding: 10px;
            background-color: #cc0000;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .modal-button:hover {
            background-color: #990000;
        }
        
    </style>
    <link rel="preload" as="image" href="https://brunomod431.000webhostapp.com/fundo.jpg">
</head>
<body>
    <!-- Modal de alerta -->
    <div id="myModal" class="modal">
        <div class="modal-content">
            <p id="modalMessage"></p>
            <button class="modal-button" onclick="closeModal()">Fechar</button>
        </div>
    </div>
    
    <div class="container">
        <div class="loading-overlay">
            <div class="loader"></div>
        </div>
        <div class="login-container">
                <!-- Mova os botões aqui -->
                <button onclick="antena1()">Antena Big</button>
                
                <button onclick="aimscope()">Aim Scope</button>
                
                <button onclick="aimmira()">Aim Mira</button>
                
                <button onclick="norecoil()">No Recoil</button>
                
                <button onclick="camera()">Camera</button>
                
                <button onclick="white()">White</button>
        </div>
        <img src="https://brunomod431.000webhostapp.com/fundo.jpg" width="590" height="920" onload="setTimeout(function() { document.querySelector('.loading-overlay').style.display = 'none'; }, 500);" disableContextMenu draggable="false">
    </div>

    <!-- Não há mais código JavaScript para verificar erro -->

    <!-- Não remova -->
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.min.js"></script>
    <script>
        //Função de ajuste do layout
        setLayoutAction(function(w, h) {
            var width = 420; //Largura
            var height = 1280; //Tamanho padrão
            if (w < h) {
                height = 920; //Altura //Desista da altura da exibição do modo de tela vertical
            }
            width = Math.min(width, w); //Adaptação às janelas flutuantes do iPad, a largura máxima não excede
            height = Math.min(height, h); //Adaptando equipamentos antigos, a altura máxima não é excedida
            var x = (w - width) / 2;
            var y = (h - height) / 2;
            if (w < h) {
                y = Math.max(0, y);
                height = Math.min(height, h - y);
            }
            setWindowRect(x, y, width, height);
        });

        // Seu JavaScript aqui
               new Vue({
            el: '#app',
            data: {
                horizon: 1.2,
            },
            watch: {
                horizon(newVal) {
                    this.editHorizon(newVal);
                }
            },
            methods: {
                editHorizon(newHorizon) {
                    al174.setHorizon(newHorizon);
                },
                refreshProcList() {
                    var procs = vzbm.getProcList();
                    var game;
                    var name;
                    for (var i = 0; i < vzbm.getProcList().length; i++) {
                        if (vzbm.getProcList()[i].name == "freefireth") {
                            game = vzbm.getProcList()[i];
                            vzbm.setTargetProc(game.pid);
                            name = game.name;
                            vzbm.clearResults();
                        }
                    }
                    if (name == "freefireth") {} else {
                        showModal("Antes de injetar as funções Seu Free Fire precisa estar aberto, iremos abrir o Free Fire após 5 segundos!");
                        
                        // Definindo o tempo de 5 segundos (5000 milissegundos)
                        setTimeout(function() {
                            window.location.href = 'freefire://';  // Tenta abrir o app via deep link
                        }, 5000);

                        // this.refreshProcList();
                    }
                }
            },
            mounted() {
                this.refreshProcList();
                //document.body.addEventListener('touchstart', function() {});
                if (typeof vzbm != 'undefined') {
                    setWindowDrag(0, 0, 400, 70);
                    setWindowRect(60, 60, 370, 70);
                }
            }
        });
        
        function showModal(message) {
            document.getElementById('modalMessage').innerText = message;
            document.getElementById('myModal').style.display = 'block';
        }

        function closeModal() {
            document.getElementById('myModal').style.display = 'none';
        }
        
    function antena1() {
         vzbm.clearResults();
         vzbm.getProcList('freefireth'); //Obtém o array do processo, os elementos do array possuem atributos pid (número do processo), nome (nome do processo)
         // Supondo que 'vzbm' seja um objeto definido em algum lugar
         //vzbm.clearResults();
         vzbm.searchNumber('3.2404066e-7', 'F32', '0x100000000', '0x160000000');
         vzbm.searchNearby("1", 'F32', '0x20');
         vzbm.searchNumber("1", 'F32', '0x100000000', '0x160000000');
         vzbm.editAll("200", 'F32');
         vzbm.clearResults();
         vzbm.searchNumber('-0.39830258489', 'F32', '0x100000000', '0x160000000');
         vzbm.searchNearby("1", 'F32', '0x20');
         vzbm.searchNumber("1", 'F32', '0x100000000', '0x160000000');
         vzbm.editAll("200", 'F32');
         showModal("Antena ativado!");
        //  alert("Antena ativado!");
    }

    function aimscope() {
         // Lógica da outra função aqui
         vzbm.clearResults();
         vzbm.searchNumber('1057048494', 'U32', '0x100000000', '0x200000000');
         vzbm.searchNearby("1054951342", 'U32', '0x100');
         vzbm.searchNearby("1053273620", 'U32', '0x100');
         vzbm.editAll("-2000", 'U32');
         showModal("Aim Lock ativado!");
         vzbm.clearResults();
    }

    function aimmira() {
         // Lógica da outra função aqui
         vzbm.clearResults();
         vzbm.searchNumber('0.09', 'F32', '0x0', '0x20000000000');
         vzbm.editAll("180", 'F32');
         showModal("Aim Mira ativado!");
         vzbm.clearResults();
    }

    function norecoil() {
         // Lógica da outra função aqui
         vzbm.clearResults();
         vzbm.searchNumber('1016018816', 'U32', '0x100000000', '0x160000000');
         vzbm.searchNearby("001601", 'U32', '0x10');
         vzbm.clearResults();
         vzbm.searchNumber('1016018816', 'U32', '0x100000000', '0x160000000');
         vzbm.editAll("001601", 'U32');
         showModal("No Recoil ativado!");
         vzbm.clearResults();
    }
    
    function norecoilteste() {
         // Lógica da outra função aqui
         vzbm.clearResults();
         vzbm.searchNumber('0.01748251915', 'U32', '0x0', '0x20000000000');
         vzbm.editAll("-2.2958874e-41", 'U32');
         vzbm.clearResults();
         vzbm.searchNumber('1016018816', 'U32', '0x0', '0x20000000000');
         vzbm.editAll("0006018816", 'U32');
         showModal("No Recoil ativado!");
         vzbm.clearResults();
    }
    
    function camera() {
         vzbm.clearResults();
         vzbm.searchNumber('3.14159274101', 'F32', '0x100000000', '0x20000000000');
         vzbm.editAll("5", 'F32');

         showModal("Camera ativado!");
         vzbm.clearResults();  
    }
    
    function white() {
         vzbm.clearResults();
         vzbm.searchNumber('0.75', 'F32', '0x0', '0x20000000000');
         vzbm.editAll("7", 'F32');
         vzbm.clearResults();
         vzbm.searchNumber('0.23000000417', 'F32', '0x0', '0x20000000000');
         vzbm.editAll("999", 'F32');
         showModal("White ativado!");
         vzbm.clearResults();  
    }
    </script>
</body>

</html>
