PageSourceSearch

https://www.awmi.net/wp-content/themes/awmi-net-2018/js/header-menu.js?ver=1.0.6

js awmi.net collected 2026-10-01 11:24:37 UTC 1,477 bytes, 31 lines download raw bytes

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">&nbsp;Days </span>  ${hours}<span class="date-text">&nbsp;Hours </span>  ${minutes}<span class="date-text">&nbsp;Minutes </span>  ${seconds}<span class="date-text">&nbsp;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.