var module_193660827523 = (function() { {#function updateCountdown() { // Set the correct target date in UTC: November 12, 2025, 12 PM UTC const targetDate = new Date(Date.UTC(2025, 09, 28, 11, 0, 0)).getTime(); // Month is 0-based (9 = October) const now = new Date().getTime(); let timeLeft = targetDate - now; if (timeLeft <= 0) { document.getElementById("days").innerText = "00"; document.getElementById("hours").innerText = "00"; document.getElementById("minutes").innerText = "00"; document.getElementById("seconds").innerText = "00"; return; } const days = Math.floor(timeLeft / (1000 * 60 * 60 * 24)).toString().padStart(2, '0'); const hours = Math.floor((timeLeft % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)).toString().padStart(2, '0'); const minutes = Math.floor((timeLeft % (1000 * 60 * 60)) / (1000 * 60)).toString().padStart(2, '0'); const seconds = Math.floor((timeLeft % (1000 * 60)) / 1000).toString().padStart(2, '0'); document.getElementById("days").innerText = days; document.getElementById("hours").innerText = hours; document.getElementById("minutes").innerText = minutes; document.getElementById("seconds").innerText = seconds; } function startCountdown() { updateCountdown(); // Initial call setInterval(updateCountdown, 1000); // Update every second } // Run as soon as DOM is ready (faster than window.onload) document.addEventListener("DOMContentLoaded", startCountdown); })();