404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.227.190.171: ~ $
/*! Created by Cloudways 
 On 12-12-2023 */

jQuery(document).ready(function(n){var e=n(".breeze-box");n("#breeze-plugins-notice").length&&n(document).on("click tap",".notice-dismiss",function(){n.ajax({type:"POST",url:ajaxurl,data:{action:"compatibility_warning_close",breeze_close_warning:"1"},dataType:"json",success:function(e){},error:function(e,t,a){},complete:function(e,t){}})}),n(document).on("click","#wp-admin-bar-breeze-purge-varnish-group",function(e){e.preventDefault(),a()}),n(document).on("click","#wp-admin-bar-breeze-purge-object-cache-group",function(e){e.preventDefault(),n.ajax({url:ajaxurl,dataType:"json",method:"POST",data:{action:"breeze_purge_opcache",is_network:n("body").hasClass("network-admin"),security:breeze_token_name.breeze_purge_opcache},success:function(e){current=location.href,e.clear?(n("#wpbody #wpbody-content").prepend('<div id="message" class="notice notice-success is-dismissible breeze-notice" style="margin-top:10px; margin-bottom:10px;padding: 10px;margin-left: 0;"><p><strong>Object Cache has been purged.</strong></p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>'),setTimeout(function(){t=!0},2e3)):(window.location.href=current+"breeze-msg=purge-fail",t=!0,location.reload())}})}),n(document).on("click","#wp-admin-bar-breeze-purge-file-group",function(e){e.preventDefault(),n.ajax({url:ajaxurl,dataType:"json",method:"POST",data:{action:"breeze_purge_file",security:breeze_token_name.breeze_purge_cache},success:function(e){current=location.href;var t=e=parseFloat(e);window.location.href=current+"#breeze-msg=success-cleancache&file="+e,div=0<t?'<div id="message" class="notice notice-success is-dismissible breeze-notice" style="margin-top:10px; margin-bottom:10px;padding: 10px;margin-left: 0;"><p><strong>Internal cache has been purged: '+t+'Kb cleaned</strong></p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>':'<div id="message" class="notice notice-success is-dismissible breeze-notice" style="margin-top:10px; margin-bottom:10px;padding: 10px;margin-left: 0;"><p><strong>Internal cache has been purged.</strong></p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>',n("#wpbody #wpbody-content").prepend(div)}})}),n(document).on("click","#breeze_reset_default",function(e){e.preventDefault(),reset_confirm=confirm("Want to reset breeze settings?"),reset_confirm&&(n("<div/>",{id:"breeze_loader_function"}).appendTo("body"),n("<div/>",{id:"breeze_info",html:'<span class="breeze-ajax-loader"></span>'}).appendTo("body"),n.ajax({type:"POST",url:ajaxurl,data:{action:"breeze_reset_default","is-network":n("body").hasClass("network-admin"),security:breeze_token_name.breeze_reset_default},dataType:"json",success:function(e){!0===e?t=!0:alert("Something went wrong - please try again")},error:function(e,t,a){},complete:function(e,t){location.reload()}}))});var t=!0;function a(){n.ajax({url:ajaxurl,dataType:"json",method:"POST",data:{action:"breeze_purge_varnish",is_network:n("body").hasClass("network-admin"),security:breeze_token_name.breeze_purge_varnish},success:function(e){current=location.href,e.clear?(n("#wpbody #wpbody-content").prepend('<div id="message" class="notice notice-success is-dismissible breeze-notice" style="margin-top:10px; margin-bottom:10px;padding: 10px;margin-left: 0;"><p><strong>Varnish Cache has been purged.</strong></p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>'),setTimeout(function(){t=!0},2e3)):(window.location.href=current+"breeze-msg=purge-fail",t=!0,location.reload())}})}n(".breeze-box").on("click","#purge-varnish-button",function(e){e.preventDefault(),!0===t&&(t=!1,n(this).addClass("br-is-disabled"),a())}),e.length&&n(".breeze-box").on("keyup paste","#cdn-url",function(){var e=n.trim(n(this).val());""!==e&&!0===/^(http(s)?:)?\/\/(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(e)?n.ajax({type:"POST",url:ajaxurl,data:{action:"breeze_check_cdn_url",cdn_url:e,security:breeze_token_name.breeze_check_cdn_url},dataType:"json",success:function(e){!1===e.success?(n("#cdn-message-error").show(),n("#cdn-message-error").html(e.message)):n("#cdn-message-error").hide()},error:function(e,t,a){},complete:function(e,t){}}):n("#cdn-message-error").hide()});var i,s,o,r=location.href,c=parseFloat((i="file",s=(s=r)||window.location.href,i=i.replace(/[\[\]]/g,"\\$&"),(s=new RegExp("[?&]"+i+"(=([^&#]*)|&|#|$)").exec(s))?s[2]?decodeURIComponent(s[2].replace(/\+/g," ")):"":null));n(window).on("load",function(){var e,t;/wp-admin/i.test(r)&&(e="",0<r.indexOf("msg=success-cleancache")&&!isNaN(c)&&(e=0<c?'<div id="message" class="notice notice-success is-dismissible breeze-notice" style="margin-top:10px; margin-bottom:10px;padding: 10px;"><p><strong>Internal cache has been purged: '+c+'Kb cleaned</strong></p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>':'<div id="message" class="notice notice-success is-dismissible breeze-notice" style="margin-top:10px; margin-bottom:10px;padding: 10px;"><p><strong>Internal cache has been purged.</strong></p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>',n("#wpbody .wrap h1").after(e),t=r.split("breeze-msg"),setTimeout(function(){window.location=t[0]},2e3)))}),n("#breeze-hide-install-msg").unbind("click").click(function(){n(this).closest("div.notice").fadeOut()}),-1===(o=location.search).indexOf("breeze_purge=1")&&-1===o.indexOf("breeze_purge_cloudflare=1")||-1===o.indexOf("_wpnonce")||((o=new URLSearchParams(location.search)).delete("breeze_purge"),o.delete("breeze_purge_cloudflare"),o.delete("_wpnonce"),history.replaceState(null,"","?"+o+location.hash)),e.on("change","#breeze-enable-api",function(){var e=n("#breeze-secure-api"),t=n("#breeze-api-token");n(this).is(":checked")?(e.closest("div.br-option-item").removeClass("br-apply-disable"),t.closest("div.br-option-item").removeClass("br-apply-disable")):(e.closest("div.br-option-item").addClass("br-apply-disable"),t.closest("div.br-option-item").addClass("br-apply-disable"),e.prop("checked",!1))}),e.on("change","#bz-lazy-load",function(){var e=n("#native-lazy-option"),t=n("#native-lazy-option-iframe");!0===n(this).is(":checked")?(e.show(),t.show()):(e.hide(),t.hide(),n("#bz-lazy-load-nat").attr("checked",!1),n("#bz-lazy-load-iframe").attr("checked",!1))}),e.on("change","#minification-css",function(){var e=n("#font-display-swap"),t=n("#font-display"),a=n("#include-inline-css"),i=n("#group-css"),s=n("#exclude-css");n(this).is(":checked")?(e.show(),s.closest("div.br-option-item").removeClass("br-apply-disable"),i.closest("div.br-option-item").removeClass("br-apply-disable"),a.closest("div.br-option-item").removeClass("br-apply-disable")):(e.hide(),t.removeAttr("checked"),a.prop("checked",!1),i.prop("checked",!1),s.closest("div.br-option-item").addClass("br-apply-disable"),i.closest("div.br-option-item").addClass("br-apply-disable"),a.closest("div.br-option-item").addClass("br-apply-disable"))}),e.on("change","#minification-js",function(){var e=n("#include-inline-js"),t=n("#group-js"),a=n("#exclude-js"),i=n("#enable-js-delay"),s=n("#breeze-delay-all-js");n(this).is(":checked")?(a.closest("div.br-option-item").removeClass("br-apply-disable"),e.is("checked")&&(i.is(":checked")||s.is(":checked")),t.closest("div.br-option-item").removeClass("br-apply-disable"),e.closest("div.br-option-item").removeClass("br-apply-disable")):(e.prop("checked",!1),t.prop("checked",!1),t.trigger("change"),a.closest("div.br-option-item").addClass("br-apply-disable"),t.closest("div.br-option-item").addClass("br-apply-disable"),e.closest("div.br-option-item").addClass("br-apply-disable"))}),e.on("change","#group-js",function(){var e=n("#enable-js-delay"),t=n("#breeze-delay-all-js");n(this).is(":checked")?(e.closest("div.br-option-item").addClass("br-apply-disable"),e.prop("checked",!1),t.closest("div.br-option-item").addClass("br-apply-disable"),t.prop("checked",!1)):(e.closest("div.br-option-item").removeClass("br-apply-disable"),t.closest("div.br-option-item").removeClass("br-apply-disable"))}),e.on("change","#breeze-delay-all-js",function(){var e=n("#group-js"),t=n("#breeze-delay-js-scripts-div-all"),a=n("#enable-js-delay");n(this).is(":checked")?(t.show(),n('input[name="enable-js-delay"]').prop("checked",!1),n("#breeze-delay-js-scripts-div").hide(),a.attr("disabled","disabled"),e.closest("div.br-option-item").addClass("br-apply-disable"),e.prop("checked",!1)):(t.hide(),a.removeAttr("disabled"),e.closest("div.br-option-item").removeClass("br-apply-disable"))}),e.on("change","#enable-js-delay",function(){var e=n("#breeze-delay-js-scripts-div"),t=n("#breeze-delay-all-js"),a=n("#group-js");n(this).is(":checked")?(e.show(),n('input[name="breeze-delay-all-js"]').prop("checked",!1),n("#breeze-delay-js-scripts-div-all").hide(),t.attr("disabled","disabled"),a.closest("div.br-option-item").addClass("br-apply-disable"),a.prop("checked",!1)):(e.hide(),t.removeAttr("disabled"),a.closest("div.br-option-item").removeClass("br-apply-disable"))})});var $valid_json=!1;jQuery(document).ready(function(o){var e,t=o(".breeze-box");function r(){t.on("click","span.item-remove",function(){var e=o(this).closest(".breeze-input-group");e.fadeOut(300,function(){e.remove(),l()})})}function c(){o(".breeze-list-url").length&&o(".breeze-list-url").sortable({handle:o("span.sort-handle"),stop:l})}function d(){o(".sort-handle span").unbind("click").click(function(e){var t=o(this).parents(".breeze-input-group");o(this).hasClass("moveUp")?t.insertBefore(t.prev()):t.insertAfter(t.next()),l()})}function l(){var e=o(".breeze-list-url");e.find(".breeze-input-group").find(".sort-handle").find("span").removeClass("blur"),e.find(".breeze-input-group:first-child").find(".moveUp").addClass("blur"),e.find(".breeze-input-group:last-child").find(".moveDown").addClass("blur")}o('input[name="all_control"]').click(function(){1==o(this).is(":checked")?o(".clean-data").prop("checked",!0):o(".clean-data").prop("checked",!1)}),o(".clean-data").click(function(){0==o(this).is(":checked")&&o('input[name="all_control"]').prop("checked",!1)}),r(),c(),d(),l(),t.on("keyup change blur",".breeze-input-url",function(){var e=o(this).val();""!==e&&(!0==!!/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/.test(e)?o(this).removeClass("is-invalid-url"):o(this).addClass("is-invalid-url"))}),t.on("click","button.add-url",function(){var e=-1<o(this).attr("id").indexOf("defer"),t=-1<o(this).attr("id").indexOf("preload-fonts"),a=o(this).closest("div.br-option").find(".breeze-list-url"),i="",s=a.find(".breeze-input-group"),n=!1;if(s.each(function(){var e=o(this).find(".breeze-input-url");if(""===e.val().trim())return e.focus(),!(n=!0)}),n)return!1;i+='<div class="breeze-input-group">',i+='   <input type="text" size="98"',i+='class="breeze-input-url"',i+=t?'name="breeze-preload-font[]"':e?'name="defer-js[]"':'name="move-to-footer-js[]"',i+='placeholder="Enter URL..."',i+='value="" />',i+='   <span class="sort-handle">',i+='       <span class="dashicons dashicons-arrow-up moveUp"></span>',i+='       <span class="dashicons dashicons-arrow-down moveDown"></span>',i+="   </span>",i+='       <span class="dashicons dashicons-no item-remove" title="Remove"></span>',a.append(i+="</div>"),r(),c(),d(),l()}),o("#breeze-tabs .nav-tab").click(function(e){e.preventDefault(),o("#breeze-tabs .nav-tab").removeClass("active"),o(e.target).addClass("active"),id_tab=o(this).data("tab-id"),o("#tab-"+id_tab).addClass("active"),o("#breeze-tabs-content .tab-pane").removeClass("active"),o("#tab-content-"+id_tab).addClass("active"),document.cookie="breeze_active_tab="+id_tab,"faq"===id_tab?(o("#breeze-and-cloudways").hide(),o("#faq-content").length&&o("#faq-content").accordion({collapsible:!0,animate:200,header:".faq-question",heightStyle:"content"})):o("#breeze-and-cloudways").show()}),e=function(e){for(var t=e+"=",a=document.cookie.split(";"),i=0;i<a.length;i++){for(var s=a[i];" "==s.charAt(0);)s=s.substring(1);if(0==s.indexOf(t))return s.substring(t.length,s.length)}return""}("breeze_active_tab"),0===o("#tab-"+(e="import_export"===(e=e||"basic")?"basic":e)).length?(firstTab=o("#breeze-tabs").find("a:first-child"),firstTab.length&&(tabType=firstTab.attr("id").replace("tab-",""),firstTab.addClass("active"),o("#tab-content-"+tabType).addClass("active"))):(o("#tab-"+e).addClass("active"),o("#tab-content-"+e).addClass("active")),"faq"===e?(o("#breeze-and-cloudways").hide(),o("#faq-content").length&&o("#faq-content").accordion({collapsible:!0,animate:200,header:".faq-question",heightStyle:"content"})):o("#breeze-and-cloudways").show();var a,i=["faq"],s=!0,n=!1,p=o("#breeze-inherit-settings-toggle");function b(e,t){var a=e.split("?");if(2<=a.length){for(var i=encodeURIComponent(t)+"=",s=a[1].split(/[&;]/g),n=s.length;0<n--;)-1!==s[n].lastIndexOf(i,0)&&s.splice(n,1);return a[0]+(0<s.length?"?"+s.join("&"):"")}return e}p.length&&(o("input",p).on("change",function(){var t="1"==o(this).val();o("#breeze-tabs").toggleClass("tabs-hidden",t),o("#breeze-tabs-content").toggleClass("tabs-hidden",t),o("#breeze-tabs .nav-tab").each(function(){var e=o(this).data("tab-id");-1===o.inArray(e,i)&&(o(this).toggleClass("inactive",t),o("#breeze-tabs-content #tab-content-"+e).toggleClass("inactive",t))}),n=!o(this).parents(".radio-field").hasClass("active")}),o("#breeze-tabs-content form").on("submit",function(e){var t=o(this);s&&n&&(e.preventDefault(),o.ajax({url:window.location,method:"post",data:p.serializeArray(),beforeSend:function(){p.addClass("loading")},complete:function(){p.removeClass("loading"),n=!1,t.submit()},success:function(){o("input:checked",p).parents(".radio-field").addClass("active").siblings().removeClass("active")}}))})),o("#breeze-database-optimize").on("click",function(e){s=!1}),o("#tab-content-database .submit input").on("click",function(e){o("#tab-content-database input[type=checkbox]").attr("checked",!1)}),window.history&&"function"==typeof window.history.pushState&&(a=b(window.location.href,"save-settings"),a=b(a,"database-cleanup"),window.history.pushState(null,null,a)),t.on("click tap","#breeze_export_settings",function(){$network=o("#breeze-level").val(),window.location=ajaxurl+"?action=breeze_export_json&network_level="+$network}),o("#breeze_import_btn").attr("disabled","disabled"),t.on("change","#breeze_import_settings",function(){var e=this.files[0],t=o("#file-selected"),a=o("#file-error"),i=o("#breeze_import_btn");t.html(e.name),"application/json"!==e.type?($valid_json=!1,t.removeClass("file_green file_red").addClass("file_red"),a.html("File must be JSON"),i.attr("disabled","disabled")):($valid_json=!0,t.removeClass("file_green file_red").addClass("file_green"),a.html(""),i.removeAttr("disabled")),o(".br-file-text").remove()}),t.on("click tap","#breeze_import_btn",function(){var e,t,a,i,s;!0===$valid_json&&(e=o("#breeze-level").val(),t=o("#breeze_import_settings").get(0).files[0],(a=new FormData).append("action","breeze_import_json"),a.append("network_level",e),a.append("breeze_import_file",t),a.append("security",breeze_token_name.breeze_import_settings),i=o("#file-selected"),s=o("#file-error"),i.removeClass("file_green file_red").addClass("file_green"),i.html('<div class="br-loader-spinner import_settings"><div></div><div></div><div></div><div></div></div>'),o.ajax({type:"POST",url:ajaxurl,data:a,processData:!1,contentType:!1,enctype:"multipart/form-data",mimeType:"multipart/form-data",cache:!1,dataType:"json",success:function(e){1==e.success?(i.removeClass("file_green file_red").addClass("file_green"),i.html(e.data),s.html(""),alert(e.data),window.location.reload(!0)):(i.removeClass("file_green file_red"),i.html(""),s.html(e.data[0].message))},error:function(e,t,a){},complete:function(e,t){}}))})}),function(c){var d=[];setTimeout(function(){var e=c("#message-clear-cache-top");e.length&&(e.prependTo("#wpbody-content"),e.show())},1e3),c(window).on("resize",function(){632<=c(this).height()&&c(".br-link").removeAttr("style")});function i(e){for(var t=e+"=",a=document.cookie.split(";"),i=0;i<a.length;i++){for(var s=a[i];" "==s.charAt(0);)s=s.substring(1);if(0==s.indexOf(t))return s.substring(t.length,s.length)}return""}c(".breeze-box .br-link").on("click tap","a",function(e){e.preventDefault();var r=this.dataset.tabId,t=c(".br-options");s=(s=i("breeze_active_tab"))||"basic",c(".br-link").removeClass("br-active"),c(".br-link").each(function(e,t){var a=t.dataset.breezeLink,i=c(this).find("img"),t=i.get(0).dataset.path;i.attr("src",t+a+".png")});var a=c(this).closest(".br-link");a.addClass("br-active");e=a.find("img"),a=e.get(0).dataset.path;e.attr("src",a+r+"-active.png"),t.html('<div class="br-loader-spinner loading_tab"><div></div><div></div><div></div><div></div></div>'),!0===c(".br-mobile-menu").is(":visible")&&c(".br-link").fadeOut(),c.ajax({type:"GET",url:ajaxurl,data:{action:"breeze_load_options_tab",request_tab:r,"is-network":c("body").hasClass("network-admin")},contentType:"text/html; charset=UTF-8",dataType:"html",success:function(e){t.html(e)},error:function(e,t,a){},complete:function(e,t){!function(){var t=c(".breeze-per");t.length&&(t.empty(),t.append("<p>Re-checking permissions, please wait...</p>"));c.ajax({type:"GET",url:ajaxurl,data:{action:"breeze_file_permission_check","is-network":c("body").hasClass("network-admin")},dataType:"html",success:function(e){""===e||"no-issue"===e?t.remove():t.length?(c(e).insertBefore(t),t.remove()):c("#wpbody-content").prepend(e)},error:function(e,t,a){},complete:function(e,t){}})}(),document.cookie="breeze_active_tab="+r,"faq"===r&&c("#faq-content").length&&c("#faq-content").accordion({collapsible:!0,animate:200,header:".faq-question",heightStyle:"content"}),d=[];var a,i,s=c("#group-js"),n=c("#enable-js-delay"),o=c("#breeze-delay-all-js");n.length&&(a=c("#enable-js-delay").get(0).dataset.noaction),o.length&&(i=c("#breeze-delay-all-js").get(0).dataset.noaction),s.length&&(s.is(":checked")?(void 0===a&&n.closest("div.br-option-item").addClass("br-apply-disable"),void 0===i&&o.closest("div.br-option-item").addClass("br-apply-disable"),void 0===a&&n.is(":checked")&&(n.prop("checked",!1),n.trigger("change")),void 0===i&&o.is(":checked")&&(o.prop("checked",!1),o.trigger("change"))):(n.is(":checked")||o.is(":checked"))&&(s.closest("div.br-option-item").addClass("br-apply-disable"),s.prop("checked",!1)))}})});var e,s=i("breeze_active_tab");c("#tab-basic").closest("div.br-link").hasClass("br-hide")?c("#tab-faq").trigger("click"):void 0!==s&&""!==s?(e=c("#tab-"+(s="import_export"===s?"basic":s))).length&&e.trigger("click"):(t=c("#tab-basic")).length&&t.trigger("click");var t=c(".breeze-box");function o(i,a,t){void 0===t&&(t={page_no:0,total_no:0});var e=i[a];e='<span class="breeze-ajax-loader"></span>  '+(e=(e=e.replace(/_/gi," ")).replace(/(^|\s)\S/g,function(e){return e.toUpperCase()})),"optimize_database"===i[a]&&(e=e+" ("+50*t.page_no+" / "+t.total_no+" )"),c("body").find("#breeze_info").html(e);var s=i.length,n=!0;c.ajax({type:"POST",url:ajaxurl,data:{action:"breeze_purge_database",action_type:i[a],db_count:t.page_no,security:breeze_token_name.breeze_purge_database,"is-network":c("body").hasClass("network-admin")},dataType:"JSON",success:function(e){e.clear.optmize_no?(t.page_no=e.clear.optmize_no,t.total_no=e.clear.db_total,n=!1,o(i,a,t)):(n=!0,c("div.br-db-item").each(function(e,t){var a=t.dataset.section;-1!==c.inArray(a,i)&&(c(t).find("h3").find("span").removeClass("br-has").html("0"),c(t).removeClass("br-db-selected"))}))},error:function(e,t,a){c("#breeze_loader_function").remove(),c("body").find("#breeze_info").remove(),alert("Error while trying to optimize")},complete:function(e,t){!0===n&&(++a<s?o(i,a):(i=[],c("#breeze_loader_function").remove(),c("body").find("#breeze_info").remove(),c("#tab-database").trigger("click")))}})}t.on("click",".br-db-item",function(){var e=this.dataset.section;if(c(this).hasClass("br-db-selected")){if(c(this).removeClass("br-db-selected"),d.length){for(var t=[],a=0;a<d.length;a++)e!==d[a]&&t.push(d[a]);d=t}}else c(this).addClass("br-db-selected"),d.push(e);var i=c("#optimize-selected-services");d.length?i.show():i.hide()}),t.on("click","#optimize-selected-services",function(e){var t=!1;!1===(t=d.length?!0:t)?alert("Please select an options first"):confirm("Proceed to optimize the selected items?")&&(c("<div/>",{id:"breeze_loader_function"}).appendTo("body"),c("<div/>",{id:"breeze_info"}).appendTo("body"),o(d,0))}),t.on("click",".do_clean_action",function(e){e.preventDefault();var e=this.dataset.section,t=c(this).closest("div.br-db-item"),a=t.get(0).dataset.sectionTitle;confirm("Confirm the action to clean "+a)&&(c(this).addClass("opac"),c.ajax({type:"POST",url:ajaxurl,data:{action:"breeze_purge_database",action_type:e,security:breeze_token_name.breeze_purge_database,"is-network":c("body").hasClass("network-admin")},dataType:"JSON",success:function(e){t.find("h3").find("span").removeClass("br-has").html("0"),alert("Data for "+a+" has been cleaned")},error:function(e,t,a){},complete:function(e,t){}}))}),t.on("change","#br-clean-all",function(e){var t=c(this).is(":checked"),a=c("#br-clean-all-cta");!0===t?(a.removeAttr("disabled"),d=[],c(".br-db-item").each(function(e,t){var a=this.dataset.section;c(t).hasClass("br-db-selected")||c(t).addClass("br-db-selected"),d.push(a)})):(a.attr("disabled","disabled"),d=[],c(".br-db-item").each(function(e,t){c(t).removeClass("br-db-selected"),d=[]}))}),t.on("click","#br-clean-all-cta",function(e){!1===c(this).is(":disabled")&&confirm("Proceed to clean all trashed posts and pages?")&&(c("<div/>",{id:"breeze_loader_function"}).appendTo("body"),c("<div/>",{id:"breeze_info"}).appendTo("body"),o(d,0))}),t.on("click",".br-mobile-menu",function(){c(".br-link").fadeToggle()}),t.on("click",".br-submit-save",function(e){e.preventDefault();var e=c(this).closest("form"),t=e.get(0).dataset.section,e={action:"save_settings_tab_"+t,security:breeze_token_name.breeze_save_options,"form-data":e.serialize(),"is-network":c("body").hasClass("network-admin")};c(".br-options").html('<div class="br-loader-spinner saving_settings"><div></div><div></div><div></div><div></div></div>'),c.ajax({type:"POST",url:ajaxurl,data:e,dataType:"JSON",success:function(e){c("#tab-"+t).trigger("click")},error:function(e,t,a){},complete:function(e,t){}})}),t.on("click","#refresh-api-token",function(e){e.preventDefault();e={action:"refresh_api_token_key",security:breeze_token_name.breeze_save_options,"is-network":c("body").hasClass("network-admin")};c.ajax({type:"POST",url:ajaxurl,data:e,dataType:"JSON",success:function(e){void 0!==e.new_token&&c("#breeze-api-token").val(e.new_token)},error:function(e,t,a){},complete:function(e,t){}})}),c(document).on("change",'input:radio[name="inherit-settings"]',function(){var a=c('input:radio[name="inherit-settings"]:checked').val(),i=".br-is-network",s=".br-is-custom",e=c(this).closest("div.change-settings-use").find("input#breeze_inherit_settings_nonce").val();c(".br-overlay-disable").addClass("br-hide");e={action:"save_settings_tab_inherit","is-selected":a,security:e,"is-network":c("body").hasClass("network-admin")};c("<div/>",{class:"br-inherit-wait",html:'<div class="br-loader-spinner switch-to-settings"><div></div><div></div><div></div><div></div></div>'}).appendTo(c("#wpcontent")),c.ajax({type:"POST",url:ajaxurl,data:e,dataType:"JSON",success:function(e){},error:function(e,t,a){},complete:function(e,t){c("#wpcontent").find("div.br-inherit-wait").remove(),"0"===a||!0===a?(c(i).removeClass("br-show").addClass("br-hide"),c(s).removeClass("br-hide").addClass("br-show"),c(".br-link").removeClass("br-hide"),c("#tab-basic").trigger("click")):(c(s).removeClass("br-show").addClass("br-hide"),c(i).removeClass("br-hide").addClass("br-show"),c(".br-link").each(function(e,t){"faq"!==t.dataset.breezeLink&&c(t).addClass("br-hide")}),c("#tab-faq").trigger("click"))}})}),c(document).on("click",".notice-dismiss",function(){var e=c(this).closest("div.notice");e.hasClass("breeze-notice")&&e.fadeOut("fast").remove()})}(jQuery);

Filemanager

Name Type Size Permission Actions
js-front-end Folder 0755
breeze-main.js File 48.99 KB 0644
breeze-main.min.js File 24.13 KB 0644