
        }

        function closeKudosModal() {
            document.getElementById('kudosModal').style.display = 'none';
        }

        function sendKudos(e) {
            e.preventDefault();
            const receiver = document.getElementById('kudosReceiver').value;
            const linkUrl = document.getElementById('kudosLink').value.trim();
            const commentText = document.getElementById('kudosComment').value.trim();
            const userUsername = "{{ request.user.username|default:'' }}