1document.addEventListener('DOMContentLoaded',function(){'use strict';var WCSmartCouponCountdown={init:function(){this.bindCountdowns()},bindCountdowns:function(){var timers=document.querySelectorAll('.sc-smart-coupon-countdown');if(!timers.length){return} 2timers.forEach(function(timer){var expiry=parseInt(timer.getAttribute('data-expiry'),10);if(!expiry){return} 3function updateTimer(){var now=new Date().getTime();var distance=expiry-now;if(distance<=0){timer.style.display='none';var expiredText=timer.nextElementSibling;if(expiredText&&expiredText.classList.contains('sc-expired-text')){expiredText.style.display='block'} 4return} 5var days=Math.floor(distance/(1000*60*60*24));var hours=Math.floor((distance%(1000*60*60*24))/(1000*60*60));var minutes=Math.floor((distance%(1000*60*60))/(1000*60));var seconds=Math.floor((distance%(1000*60))/1000);var d=timer.querySelector('.sc-timer-days');var h=timer.querySelector('.sc-timer-hours');var m=timer.querySelector('.sc-timer-minutes');var s=timer.querySelector('.sc-timer-seconds');if(d)d.textContent=String(days).padStart(2,'0');if(h)h.textContent=String(hours).padStart(2,'0');if(m)m.textContent=String(minutes).padStart(2,'0');if(s)s.textContent=String(seconds).padStart(2,'0');requestAnimationFrame(updateTimer)} 6updateTimer()})}};WCSmartCouponCountdown.init()}) 7;
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.