/* Do not modify this file directly. It is compiled from other files. */ /* global MilestoneConfig */ var Milestone=function(e){var n=function(n){var i=e("#"+n.id),t=n.id,o=1e3*n.refresh;this.timer=function(){var n=this;e.ajax({url:MilestoneConfig.api_root+"jetpack/v4/widgets/"+t,success:function(e){i.find(".milestone-countdown").replaceWith(e.message),(o=1e3*e.refresh)&&setTimeout(function(){n.timer()},o)}})},o>0&&this.timer()};return function(e){return new n(e)}}(jQuery);!function(){var e,n={};if("undefined"!=typeof MilestoneConfig)for(e=0;e1e3)g=1e3;else if(~~g<200)g=200;f.height=g}if("link"===d.message)if(h=b.createElement("a"),i=b.createElement("a"),h.href=f.getAttribute("src"),i.href=d.value,i.host===h.host)if(b.activeElement===f)a.top.location.href=d.value}else;}},d)a.addEventListener("message",a.wp.receiveEmbedMessage,!1),b.addEventListener("DOMContentLoaded",c,!1),a.addEventListener("load",c,!1)}(window,document);