1/* 2const seconds = 1000; 3const minutes = seconds * 60; 4const hours = minutes * 60; 5const days = hours * 24; 6 7let months = ["January", "February", "March", "April", "May", "June", 8 "July", "August", "September", "October", "November", "December"]; 9 10$(document).ready(function () { 11 12 if ($('#countdownTargetDate').length) { 13 let targetDate = $("#countdownTargetDate").attr('data-date'); 14 let targetHour = $("#countdownTargetHour").attr('data-hour'); 15 let targetMinute = $("#countdownTargetMinute").attr('data-minute'); 16 17 let targetTime = targetHour + ":" + targetMinute; 18 let targetDay = targetDate.substr(0, 2); 19 let targetMonth = parseInt(targetDate.substr(3, 2)); 20 let targetMonthString = months[targetMonth - 1]; 21 let targetYear = targetDate.substr(6, 4); 22 let stringedTarget = targetMonthString + " " + targetDay + ", " + targetYear + " " + targetTime; 23 let countDownDate = new Date(stringedTarget).getTime(); 24 25 let x = setInterval(function () { 26 27 let now = new Date().getTime(); 28 29 let distance = countDownDate - now; 30 31 $("#days").text(Math.floor(distance / (days))); 32 $("#hours").text(Math.floor((distance % (days)) / (hours))); 33 $("#minutes").text(Math.floor((distance % (hours)) / (minutes))); 34 $("#seconds").text(Math.floor((distance % (minutes)) / seconds)); 35 console.log(distance); 36 // If the count down has finished... 37 if (distance < 0) { 38 $('#countdown-text, #countdown-days, #countdown-hours, #countdown-minutes, #countdown-seconds').html(""); 39 clearInterval(x); 40 } 41 }, seconds); 42 } 43});*/
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.