<html>
<head>
    <script>
        function getUrlParams(hash, start) {
            const hashes = hash.slice(hash.indexOf(start) + 1).split("&");

            if (!hashes || hashes.length === 0 || hashes[0] === "") {
                return undefined;
            }

            const params = {};
            hashes.map((hash) => {
                const [key, val] = hash.split("=");
                params[key] = decodeURIComponent(val);
            });
            return params;
        }

        function h