"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);t=n.call(e,t||"default");if("object"!=_typeof(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}var Countdown=function(){return _createClass(function e(){_classCallCheck(this,e)},[{key:"initCountDown",value:function(){var i,u;document.getElementById("days")&&(i=new Date("Dec 17, 2028 12:00:01").getTime(),u=setInterval(function(){var e=(new Date).getTime(),t=i-e,n=Math.floor(t/864e5),o=Math.floor(t%864e5/36e5),r=Math.floor(t%36e5/6e4),e=Math.floor(t%6e4/1e3);document.getElementById("days").innerHTML=n,document.getElementById("hours").innerHTML=o,document.getElementById("minutes").innerHTML=r,document.getElementById("seconds").innerHTML=e,t<0&&(clearInterval(u),document.getElementById("days").innerHTML="",document.getElementById("hours").innerHTML="",document.getElementById("minutes").innerHTML="",document.getElementById("seconds").innerHTML="",document.getElementById("end").innerHTML="00:00:00:00")},1e3))}},{key:"init",value:function(){this.initCountDown()}}])}();(new Countdown).init();