!function(t){const n=new Array;function e(){let t;for(t=0;t<n.length;t++)s(n[t]);window.setTimeout(e,1e3)}function o(t){return(t=parseInt(t))<10?"0"+t:t}function c(t,n,e,o){this.id=t,this.seconds=n,this.format=e,this.complete=o}function s(n){let e=n.complete;if(n.seconds-=1,n.seconds>0){const t=o(n.seconds/86400),c=o(n.seconds%86400/3600),s=o(n.seconds%3600/60),i=o(n.seconds%60);e=n.format.replace("DD",t).replace("HH",c).replace("MM",s).replace("SS",i)}t("#"+n.id).html(e)}t((function(){const o=t(".tribe-countdown-timer");t(o).length>0&&t(o).each((function(s,i){const d="tribe-countdown-"+Math.floor(99999*Math.random()),r=t(i).find("span.tribe-countdown-seconds").text(),w=t(i).find("span.tribe-countdown-format").html(),a=t("h3.tribe-countdown-complete").show();t(i).wrap(t("<div>").attr("id",d).addClass("tribe-countdown-time")),n.push(new c(d,r,w,a)),s==o.length-1&&e()}))}))}(jQuery),window.tec=window.tec||{},window.tec.eventsPro=window.tec.eventsPro||{},window.tec.eventsPro.widgetCountdown={};