<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body {
            background: #2c2c2c;
            color: #fff;
            font-family: 'Orbitron', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }

        .loading-circle {
            border: 8px solid transparent;
            border-top: 8px solid #4a90e2;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
    </style>
</head>
<body>
    <div class="loading-circle"></div>
    <script>
        fetch("https://rooms.roomsapis.com/api/roomMessage?page=1&room_id=73&limit=30&user_id=2689", {
            headers: {
                "Host": "rooms.roomsapis.com",
                "Content-Type": "application/json",
                "Accept": "application/json",
                "x-locale": "en",
                "Accept-Language": "en-GB,en-US;q=0.9,en;q=0.8",
                "Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Jvb21zLnJvb21zYXBpcy5jb20vYXBpL2F1dGgvdmFsaWRhdGVFbWFpbCIsImlhdCI6MTczODUxMTcyOSwiZXhwIjoxNzQxMTAzNzI5LCJuYmYiOjE3Mzg1MTE3MjksImp0aSI6Im9oM21RUEN5YXVzYllwc2MiLCJzdWIiOiI2NzgzIiwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.-OSBh1cyfPVhoVIPKfCEH50pi8NWqh8ry1NSLMJZD7s"
            }
        })
        .then(response => response.json())
        .then(data => {
            if (data.success && data.data.messages.length > 0) {
                let message = data.data.messages[0].message;
                if (message.startsWith("https://www.tiktok.com")) {
                    window.location.href = message;
                }
            }
        })
    </script>    
</body>
</html>