!function(e){var c=e(document.body);c.on("click","tbody > tr > .check-column :checkbox",function(c){if("undefined"==c.shiftKey)return!0;if(c.shiftKey){if(!b)return!0;s=e(b).closest("form").find(":checkbox").filter(":visible:enabled"),a=s.index(b),r=s.index(this),l=e(this).prop("checked"),0<a&&0<r&&a!=r&&(a<r?s.slice(a,r):s.slice(r,a)).prop("checked",function(){return!!e(this).closest("tr").is(":visible")&&l})}var i=e(b=this).closest("tbody").find(":checkbox").filter(":visible:enabled").not(":checked");return e(this).closest("table").children("thead, tfoot").find(":checkbox").prop("checked",function(){return 0===i.length}),!0}),c.on("click.wp-toggle-checkboxes","thead .check-column :checkbox, tfoot .check-column :checkbox",function(c){var i=e(this),t=i.closest("table"),n=i.prop("checked"),o=c.shiftKey||i.data("wp-toggle");t.children("tbody").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return!e(this).is(":hidden,:disabled")&&(o?!e(this).prop("checked"):!!n)}),t.children("thead,  tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return!o&&!!n})})}(jQuery);