jQuery(document).ready((function($){$("a."+wp_to_social_pro.plugin_name+"-refresh-log").on("click",(function(t){t.preventDefault();var o=$(this);$.post(wp_to_social_pro.ajax,{action:$(o).data("action"),post:wp_to_social_pro.post_id,nonce:wp_to_social_pro.get_log_nonce},(function(t){$("table.widefat tbody",$($(o).data("target"))).html(t.data)}))})),$("a."+wp_to_social_pro.plugin_name+"-clear-log").on("click",(function(t){var o=$(this);return confirm($(o).data("message"))?void 0===typeof $(o).data("action")||void 0===$(o).data("target")||(t.preventDefault(),void $.post(wp_to_social_pro.ajax,{action:$(o).data("action"),post:$("input[name=post_ID]").val(),nonce:wp_to_social_pro.clear_log_nonce},(function(t){$("table.widefat tbody",$($(o).data("target"))).html('<tr><td colspan="8">'+wp_to_social_pro.clear_log_completed+"</td></tr>")}))):(t.preventDefault(),!1)}))}));