1(self.webpackChunkfoxpad=self.webpackChunkfoxpad||[]).push([[1468],{1468(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>p});var i=n(1821);n(7744);const s={class:"countdown-timer"},a={class:"timer"},r=["textContent"],l={class:"timer"},o=["textContent"],d={class:"timer"},m=["textContent"],c={class:"timer"},u=["textContent"],p={name:"CountdownTimer",props:{expiry:{type:[Number,String],required:!0}},data:()=>({remainingTime:{days:"00",hours:"00",minutes:"00",seconds:"00"},expiryTimestamp:null}),created(){if("string"==typeof this.expiry){const e=this.expiry;e.match(/[Z+-]\d{2}:?\d{2}$/),this.expiryTimestamp=new Date(e).getTime()}else this.expiryTimestamp=this.expiry;let e=null;const t=()=>{const t=(new Date).getTime(),n=Math.max(this.expiryTimestamp-t,0),i=e=>e.toString().padStart(2,"0");n<=0&&e&&(clearInterval(e),e=null),this.remainingTime={days:i(Math.floor(n/864e5)),hours:i(Math.floor(n%864e5/36e5)),minutes:i(Math.floor(n%36e5/6e4)),seconds:i(Math.floor(n%6e4/1e3))}};t(),e=setInterval(t,1e3)},render:function(e,t){return(0,i.openBlock)(),(0,i.createElementBlock)("div",s,[(0,i.createElementVNode)("div",a,[(0,i.createElementVNode)("dd",{class:"days",textContent:(0,i.toDisplayString)(e.remainingTime.days)},null,8,r),t[0]||(t[0]=(0,i.createElementVNode)("dt",null,"Days",-1))]),(0,i.createElementVNode)("div",l,[(0,i.createElementVNode)("dd",{class:"hours",textContent:(0,i.toDisplayString)(e.remainingTime.hours)},null,8,o),t[1]||(t[1]=(0,i.createElementVNode)("dt",null,"Hours",-1))]),(0,i.createElementVNode)("div",d,[(0,i.createElementVNode)("dd",{class:"minutes",textContent:(0,i.toDisplayString)(e.remainingTime.minutes)},null,8,m),t[2]||(t[2]=(0,i.createElementVNode)("dt",null,"Minutes",-1))]),(0,i.createElementVNode)("div",c,[(0,i.createElementVNode)("dd",{class:"seconds",textContent:(0,i.toDisplayString)(e.remainingTime.seconds)},null,8,u),t[3]||(t[3]=(0,i.createElementVNode)("dt",null,"Seconds",-1))])])}}},7744(){}}]);
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.