(()=>{"use strict";function t(t){const e=t.getAttribute("data-time");if(void 0===e)return;const n=t.querySelector(".smb-countdown__list-item__days .smb-countdown__list-item__numeric"),o=t.querySelector(".smb-countdown__list-item__hours .smb-countdown__list-item__numeric"),r=t.querySelector(".smb-countdown__list-item__minutes .smb-countdown__list-item__numeric"),i=t.querySelector(".smb-countdown__list-item__seconds .smb-countdown__list-item__numeric"),s=(t,e)=>new Date(t).getTime()-new Date(e).getTime(),c=t=>isNaN(t)||0>t?0:t;setInterval((()=>{const t=Date.now(),_=(t=>{const n=s(e,t),o=Math.floor(n/864e5);return c(o)})(t),u=(t=>{const n=s(e,t),o=Math.floor(n/36e5%24);return c(o)})(t),l=(t=>{const n=s(e,t),o=Math.floor(n/6e4%60);return c(o)})(t),m=(t=>{const n=s(e,t),o=Math.floor(n/1e3%60);return c(o)})(t);n.innerText=_,o.innerText=("00"+u).slice(-2),r.innerText=("00"+l).slice(-2),i.innerText=("00"+m).slice(-2)}),1e3)}document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelectorAll(".smb-countdown__list");var n,o;o=t,0<(n=e).length&&Array.prototype.slice.call(n,0).forEach((function(t,e){o(t,e)}))}),!1)})();