document.addEventListener("DOMContentLoaded",function(){var d=new Date("Jan 1, 2022").getTime(),i=setInterval(function(){var t=(new Date).getTime(),n=d-t,e='<div class="countdownlist-item"><div class="count-title">Days</div><div class="count-num">'+Math.floor(n/864e5)+'</div></div><div class="countdownlist-item"><div class="count-title">Hours</div><div class="count-num">'+Math.floor(n%864e5/36e5)+'</div></div><div class="countdownlist-item"><div class="count-title">Minutes</div><div class="count-num">'+Math.floor(n%36e5/6e4)+'</div></div><div class="countdownlist-item"><div class="count-title">Seconds</div><div class="count-num">'+Math.floor(n%6e4/1e3)+"</div></div>";document.getElementById("countdown").innerHTML=e,n<0&&(clearInterval(i),document.getElementById("countdown").innerHTML='<div class="countdown-endtxt">The countdown has ended!</div>')},1e3)});