!function(){function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}!function(){"use strict";$(".clear-logs").on({click:function(r){return r.stopPropagation(),r.preventDefault(),!!confirm("Are you sure you want to clear this log?")&&($.ajax({url:$(this).attr("href"),data:(e={},o=Craft.csrfTokenName,a=Craft.csrfTokenValue,(o=function(r){var e=function(r){if("object"!=t(r)||!r)return r;var e=r[Symbol.toPrimitive];if(void 0!==e){var o=e.call(r,"string");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(r);return"symbol"==t(e)?e:e+""}(o))in e?Object.defineProperty(e,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[o]=a,e),type:"post",dataType:"json",success:function(t){t.success&&window.location.reload(!0)}}),!1);var e,o,a}}),$(".paginator").each((function(){var t=$(this),r=t.data("baseUrl"),e=t.data("page"),o=t.data("total");$("a",t).each((function(){var t=void 0!==$(this).attr("data-prev"),a=void 0!==$(this).attr("data-max");t&&1===e&&$(this).attr("disabled",!0).on("click",(function(t){t.preventDefault()})),t||e!==o||$(this).attr("disabled",!0).on("click",(function(t){t.preventDefault()}));var n;n=t?a?1:e-1:a?o:e+1;var i=Craft.getCpUrl(r,{page:n});$(this).attr("href",i)}))})),hljs.highlightAll()}()}();