File: /home/altinkayamarble/www/wp-content/plugins/akeebabackupwp/app/media/js/solo/main.min.js
/*
Copyright (c)2014-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
@license GNU General Public License version 3, or later
*/
if("undefined"===typeof akeeba)var akeeba={};"undefined"===typeof akeeba.ControlPanel&&(akeeba.ControlPanel={outputDirUnderSiteRoot:!1,hasSecurityFiles:!1});akeeba.ControlPanel.displayCloudFlareWarning=function(a){localStorage.getItem(a)&&(document.getElementById("cloudFlareWarn").style.display="block")};akeeba.ControlPanel.isReadableFile=function(a,b){a&&akeeba.Ajax.ajax(a,{type:"GET",success:function(c,d,e){0<c.length&&b.apply()}})};
akeeba.ControlPanel.getUpdateInformation=function(a){akeeba.Ajax.ajax(a,{type:"GET",success:function(b){b=akeeba.System.extractResponse(b);if(b.isValid){b=b.data;var c=document.getElementById("soloUpdateContainer"),d=document.getElementById("soloUpdateIcon");null!==c&&null!==d&&(b.hasUpdate?(c.className="akeeba-action--orange",d.className="akion-android-warning",document.getElementById("soloUpdateAvailable").style.display="inline-block",document.getElementById("soloUpdateUpToDate").style.display=
"none",document.getElementById("soloUpdateNotification").innerHTML=b.noticeHTML):(c.className="akeeba-action--green",d.className="akion-checkmark-circled",document.getElementById("soloUpdateAvailable").style.display="none",document.getElementById("soloUpdateUpToDate").style.display="inline-block"))}}})};akeeba.ControlPanel.showChangelog=function(){akeeba.Modal.open({inherit:"#akeeba-changelog",width:"80%"})};
akeeba.ControlPanel.checkOutputFolderSecurity=function(){akeeba.System.getOptions("akeeba.ControlPanel.outputDirUnderSiteRoot",!1)&&akeeba.System.doAjax({ajaxURL:akeeba.System.getOptions("akeeba.ControlPanel.checkOutDirUrl")},function(a){var b=a.hasOwnProperty("readFile")?a.readFile:!1,c=a.hasOwnProperty("listFolder")?a.listFolder:!1,d=a.hasOwnProperty("isSystem")?a.isSystem:!1;a=a.hasOwnProperty("hasRandom")?a.hasRandom:!0;c&&d?document.getElementById("outDirSystem").style.display="block":c?document.getElementById("insecureOutputDirectory").style.display=
"block":!b||c||a||(akeeba.System.getOptions("akeeba.ControlPanel.hasSecurityFiles",!0)?a||(document.getElementById("missingRandomFromFilename").style.display="block"):document.getElementById("insecureOutputDirectory").style.display="block")},function(a){},!1)};
akeeba.ControlPanel.warnAboutAdBlocker=function(){if("object"===typeof document.getElementById("adblock-warning")){var a=document.createElement("div");a.innerHTML=" ";a.className="adsbox";document.body.appendChild(a);window.setTimeout(function(){0===a.offsetHeight&&(document.getElementById("adblock-warning").style.display="block");a.remove()},250)}};
akeeba.System.documentReady(function(){akeeba.System.addEventListener("comAkeebaControlPanelProfileSwitch","change",function(){document.forms.profileForm.submit()});akeeba.System.addEventListener("btnchangelog","click",akeeba.ControlPanel.showChangelog);akeeba.ControlPanel.displayCloudFlareWarning(akeeba.System.getOptions("akeeba.ControlPanel.cloudFlareURN"));akeeba.ControlPanel.getUpdateInformation(akeeba.System.getOptions("akeeba.ControlPanel.updateInfoURL"));akeeba.ControlPanel.checkOutputFolderSecurity();
akeeba.ControlPanel.warnAboutAdBlocker();akeeba.System.getOptions("akeeba.System.notification.hasDesktopNotification",!1)&&akeeba.System.notification.askPermission()}); //# sourceMappingURL=main.min.map