!function(){"use strict";var t={n:function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},d:function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}};const e=jQuery;var n;(n=t.n(e)())(function(){var t=this;t.wrap=n(".rank-math-404-monitor-wrap"),t.wrap.on("click",".rank-math-404-delete",function(t){t.preventDefault();var e=n(this),r=e.attr("href").replace("admin.php","admin-ajax.php").replace("action=delete","action=rank_math_delete_log").replace("page=","math=");n.ajax({url:r,type:"GET",success:function(t){t&&t.success&&e.closest("tr").fadeOut(800,function(){n(this).remove()})}})}),t.wrap.on("click",".rank-math-clear-logs",function(t){if(t.preventDefault(),!confirm(rankMath.logConfirmClear))return!1;n(this).closest("form").append('<input type="hidden" name="action" value="clear_log">').submit()}),n("#doaction, #doaction2").on("click",function(){"redirect"===n("#bulk-action-selector-top").val()&&n(this).closest("form").attr("action",rankMath.redirectionsUri)})})}();