Date(c.getTime() - d): c, f = o() ? c : new Date(c.getTime() + d), h = new Date(1e3 Math.floor(f.getTime() / 1e3) + d); i(), a = setTimeout(function() { b.click() }, e.getTime() - g()), r(e), t(f), u(h) } }, i = function() { a && clearTimeout(a) }, j = function() { return $("#troop_confirm_go") }, k = function() { return $("#date_arrival") }, l = function() { return $("#command-data-form") }, m = function() { return 1e3 c.find(".relative_time").data("duration") }, n = function() { var a = new Date($('input[name="sa-d"]').val()); return a.setHours($('input[name="sa-t-h"]').val()), a.setMinutes($('input[name="sa-t-m"]').val()), a.setSeconds($('input[name="sa-t-s"]').val()), a.setMilliseconds($('input[name="sa-t-ms"]').val()), a }, o = function() { return "arrival" === $('input[name="sa-mod"]:checked').val() }, q = function(a) { return a instanceof Date ? window.Format.date(a / 1e3, !0) + ":" + window.Format.padLead(a.getUTCMilliseconds(), 3) : 0 }, r = function(a) { $("#sa-launch").text(q(a)) }, t = function(a) { $("#sa-arrival").text(q(a)) }, u = function(a) { $("#sa-return").text(q(a)) }; e() } return 0 === $("#command-data-form").length ? void alert("Devi andare sulla pagina della conferma!") : void(window.ScheduleAttack = new a) }();