1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7157],{9587:(e,t,i)=>{i.r(t),i.d(t,{default:()=>n});const n=class Countdown{interval=void 0;constructor(e){this.element=e,this.datetime=new Date(this.element.getAttribute("data-datetime").replace(/\s+/g,"T")+"+02:00"),this.day=this.element.querySelector("[js-hook-countdown-day]"),this.hour=this.element.querySelector("[js-hook-countdown-hour]"),this.min=this.element.querySelector("[js-hook-countdown-min]"),this._calcRemainingTime(),this.interval=setInterval((()=>this._calcRemainingTime()),5e3)}_calcRemainingTime(){const e=new Date;let t=Math.floor((this.datetime-e)/1e3),i=Math.floor(t/60),n=Math.floor(i/60);const s=Math.floor(n/24);if(t<0)return clearInterval(this.interval),void this.element.classList.add("hidden");n-=24*s,i=i-24*s*60-60*n,t=t-24*s*60*60-60*n*60-60*i,this.day.innerHTML=s,this.hour.innerHTML=n,this.min.innerHTML=i}}}}]);
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.