%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/assets/js/admin/
Upload File :
Create Path :
Current File : //var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/assets/js/admin/system-status.min.js

jQuery(function(r){({init:function(){r(document.body).on("click","a.help_tip, a.kkart-help-tip",this.preventTipTipClick).on("click","a.debug-report",this.generateReport).on("click","#copy-for-support",this.copyReport).on("aftercopy","#copy-for-support",this.copySuccess).on("aftercopyfailure","#copy-for-support",this.copyFail)},preventTipTipClick:function(){return!1},generateReport:function(){var n="";r(".kkart_status_table thead, .kkart_status_table tbody").each(function(){var t;r(this).is("thead")?(t=r(this).find("th:eq(0)").data("export-label")||r(this).text(),n=n+"\n### "+r.trim(t)+" ###\n\n"):r("tr",r(this)).each(function(){var t=r(this).find("td:eq(0)").data("export-label")||r(this).find("td:eq(0)").text(),e=r.trim(t).replace(/(<([^>]+)>)/gi,""),o=r(this).find("td:eq(2)").clone();o.find(".private").remove(),o.find(".dashicons-yes").replaceWith("&#10004;"),o.find(".dashicons-no-alt, .dashicons-warning").replaceWith("&#10060;");var i,t=r.trim(o.text()),o=t.split(", ");1<o.length&&(i="",r.each(o,function(t,e){i=i+e+"\n"}),t=i),n=n+""+e+": "+t+"\n"})});try{return r("#debug-report").slideDown(),r("#debug-report").find("textarea").val("`"+n+"`").focus().select(),r(this).fadeOut(),!1}catch(t){console.log(t)}return!1},copyReport:function(t){wcClearClipboard(),wcSetClipboard(r("#debug-report").find("textarea").val(),r(this)),t.preventDefault()},copySuccess:function(){r("#copy-for-support").tipTip({attribute:"data-tip",activation:"focus",fadeIn:50,fadeOut:50,delay:0}).focus()},copyFail:function(){r(".copy-error").removeClass("hidden"),r("#debug-report").find("textarea").focus().select()}}).init(),r(".kkart_status_table").on("click",".run-tool .button",function(t){return t.stopImmediatePropagation(),window.confirm(kkart_admin_system_status.run_tool_confirmation)}),r("#log-viewer-select").on("click","h2 a.page-title-action",function(t){return t.stopImmediatePropagation(),window.confirm(kkart_admin_system_status.delete_log_confirmation)})});

Zerion Mini Shell 1.0