1!function(t){"use strict";var e=1e3,n=3600,s=86400,i=7*s,o=30*s,a=365*s;function r(t){if(t instanceof Date)return new Date(t.getTime());if(!t)return null;var e=new Date(t);return Number.isNaN(e.getTime())?null:e}function l(s,i){var o,a,l,u=(o={labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"]},{labels:(a=t.WPEMS&&t.WPEMS.l18n?t.WPEMS.l18n:{}).labels||o.labels,labels1:a.labels1||o.labels1});this.element=s,this.options=i||{},this.labels=this.options.labels||u.labels,this.labels1=this.options.labels1||u.labels1,this.until=r(this.options.until)||r(s.getAttribute("data-time"))||new Date,this.until=new Date(this.until.getTime()-function(e){return void 0!==e.gmtOffset?parseFloat(e.gmtOffset)||0:void 0!==e.gmt_offset?parseFloat(e.gmt_offset)||0:t.WPEMS&&void 0!==t.WPEMS.gmt_offset&&parseFloat(t.WPEMS.gmt_offset)||0}(this.options)*n*e),this.serverOffset=(l=r(this.options.serverSync))?l.getTime()-Date.now():0,this.timer=null,this.start()}l.prototype.remainingSeconds=function(){return Math.max(0,Math.floor((this.until.getTime()-(Date.now()+this.serverOffset))/e))},l.prototype.labelFor=function(t,e){return(1===e?this.labels1:this.labels)[t]||""},l.prototype.render=function(){var t=function(t){var e=Math.max(0,t),r=Math.floor(e/a);e-=r*a;var l=Math.floor(e/o);e-=l*o;var u=Math.floor(e/i);e-=u*i;var h=Math.floor(e/s);e-=h*s;var c=Math.floor(e/n);e-=c*n;var f=Math.floor(e/60);return[r,l,u,h,c,f,e-=60*f]}(this.remainingSeconds()),e=document.createDocumentFragment();this.element.setAttribute("data-seconds-left",String(this.remainingSeconds())),this.element.textContent="",function(t){var e=t.findIndex(function(t){return t>0});return-1===e&&(e=t.length-1),t.slice(e).map(function(t,n){return{index:e+n,value:t}})}(t).forEach(function(t){var n=document.createElement("span"),s=document.createElement("span"),i=document.createElement("span");n.className="countdown-section",s.className="countdown-amount",i.className="countdown-period",s.textContent=String(t.value),i.textContent=this.labelFor(t.index,t.value),n.appendChild(s),n.appendChild(i),e.appendChild(n)},this),this.element.appendChild(e)},l.prototype.start=function(){var n=this;this.stop(),this.render(),this.timer=t.setInterval(function(){n.render(),0===n.remainingSeconds()&&n.stop()},e)},l.prototype.stop=function(){this.timer&&(t.clearInterval(this.timer),this.timer=null)},t.WPEMSCountdown=l}(window);
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.