1/* Header menu JS */ 2 3/* Functions */ 4 5const charisCountdownTimer = () => { 6 const charisCountdown = document.getElementById("countdown"); 7 const charisCountdownDate = new Date("Dec 6, 2022 18:00:00").getTime(); 8 9 let countInterval = setInterval(() => { 10 const currentDate = new Date().getTime(); 11 const distance = charisCountdownDate - currentDate; 12 13 const days = Math.floor(distance / (1000 * 60 * 60 * 24)); 14 const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 15 const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 16 const seconds = Math.floor((distance % (1000 * 60)) / 1000); 17 18 charisCountdown.innerHTML = `<span class="charis-countdown-timer-span">${days}<span class="date-text"> Days </span> ${hours}<span class="date-text"> Hours </span> ${minutes}<span class="date-text"> Minutes </span> ${seconds}<span class="date-text"> Seconds</span></span>`; 19 20 if (distance < 0) { 21 let linkWrapper = document.querySelector(".charis-countdown-link-wrapper"); 22 linkWrapper ? linkWrapper.classList.remove("inactive") : null; 23 clearInterval(countInterval); 24 charisCountdown.innerHTML = `<span class="charis-countdown-expired"><a href="/chariscampus/?SOURCE=30W22G009&utm_source=awmi.net&utm_medium=referral&utm_campaign=campusreveal-22&utm_content=top-banner">Click to watch the video!</a></span>`; 25 } 26 }, 1000); 27}; 28 29/* Call stack */ 30 31// charisCountdownTimer();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.