Server IP : 1.179.227.78 / Your IP : 10.104.4.41 Web Server : Apache System : Linux afdc-mdu34 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 User : www ( 1001) PHP Version : 7.4.30 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/afdc-mdu34.rtarf.mi.th/joomla/tmp/install_5b8cf5889ab80/media/js/ |
Upload File : |
/* Copyright (c)2006-2018 Nicholas K. Dionysopoulos / Akeeba Ltd @license GNU General Public License version 3, or later */ if("undefined"==typeof akeeba)var akeeba={}; var AkeebaStepper=function(k){this.options={holder:"#stepper-holder",loading:"#stepper-loading",pane:"#stepper-progress-pane",content:"#stepper-progress-content",steps:"#stepper-steps",status:"#stepper-status",step:"#stepper-step",substep:"#stepper-substep",percentage:"#stepper-percentage",timer:"#response-timer",useIframe:!1,domainUrl:"view=Alice&task=domains",pollingUrl:"view=Alice&task=ajax",onBeforeStart:function(a){},onBeforeStep:function(a,b){},onComplete:function(a){}};this.options=array_merge(this.options, k||{});var b=this,d={cache:!1,data:{},dataType:"text",success:function(a){a=/###(.*?)###/.exec(a);var c=JSON.parse(a[1]);b.renderBars(c.Domain);document.querySelector(b.options.percentage+" div.akeeba-progress-fill").style.width=c.Progress+"%";document.querySelector(b.options.step).textContent=c.Step;document.querySelector(b.options.substep).textContent=c.Substep;1==c.HasRun?b.complete(c):setTimeout(function(){b.step(c)},10)}},l=function(){akeeba.Ajax.ajax("index.php?option=com_akeeba&tmpl=component&"+ b.options.domainUrl,{cache:!1,dataType:"text",beforeSend:function(){document.querySelector(b.options.loading).style.display="block"},success:function(a){a=/###(.*?)###/.exec(a);b.domains=JSON.parse(a[1]);document.querySelector(b.options.loading).style.display="none";document.querySelector(b.options.pane).style.display="block";b.continueAfterLoad()}})},g=function(){var a=0,c=setInterval(function(){a++;document.querySelector(b.options.timer+" div.text").textContent=Joomla.JText._("COM_AKEEBA_BACKUP_TEXT_LASTRESPONSE").replace("%s", a.toFixed(0))},1E3),e=document.querySelector(b.options.timer);akeeba.System.data.set(e,"akeebatimer",c)},h=function(){var a=document.querySelector(b.options.timer),a=akeeba.System.data.get(a,"akeebatimer");clearInterval(a);document.querySelector(b.options.timer+" div.text").textContent=Joomla.JText._("COM_AKEEBA_BACKUP_TEXT_LASTRESPONSE").replace("%s","0")};this.init=function(){l()};this.continueAfterLoad=function(){this.renderBars();g();this.start()};this.renderBars=function(a){void 0==a&&(a=""); var c="akeeba-label--green",e="akeeba-label--grey";document.querySelector(b.options.steps).innerHTML="";for(var d=0;d<this.domains.length;d++){var e=this.domains[d],f=document.createElement("div");f.className="";f.textContent=e[1];akeeba.System.data.set(f,"domain",e[0]);document.querySelector(b.options.steps).appendChild(f);e[0]==a?(c="akeeba-label--grey",e="akeeba-label--teal"):e=c;f.className=e}};this.start=function(){this.options.onBeforeStart(d);d.data.ajax="start";akeeba.Ajax.ajax("index.php?option=com_akeeba&tmpl=component&"+ this.options.pollingUrl,d)};this.step=function(a){this.options.onBeforeStep(d,a);h();g();d.data.ajax="step";akeeba.Ajax.ajax("index.php?option=com_akeeba&tmpl=component&"+this.options.pollingUrl,d)};this.complete=function(a){h();this.options.onComplete(a)}}; //# sourceMappingURL=Stepper.min.map