HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: 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
Upload Files
File: /www/wwwroot/tokld.top/wp-content/themes/botiga/assets/js/botiga-popup.min.js
var botiga=botiga||{};botiga.popup={domReady:function(e){if("function"==typeof e)return"interactive"===document.readyState||"complete"===document.readyState?e():void document.addEventListener("DOMContentLoaded",e,!1)},init:function(){var o=this,n=document.querySelectorAll(".has-popup");if(!n.length)return!1;for(var e=document.querySelector(".botiga-popup-wrapper .woocommerce-notices-wrapper .woocommerce-error"),i=(null!==e&&(e=e.closest(".botiga-popup").getAttribute("id"),e=document.getElementById(e),this.openPopup(e)),0);i<n.length;i++)(()=>{var e=n[i],t=document.getElementById(e.getAttribute("data-popup-id"));e.addEventListener("click",function(e){e.preventDefault(),o.openPopup(t)}),"true"===e.getAttribute("data-auto-open")&&("string"==typeof(e=e.getAttribute("data-auto-open-delay"))?setTimeout(function(){o.openPopup(t)},1e3*parseInt(e)):o.openPopup(t))})();for(var t=document.querySelectorAll(".botiga-popup-wrapper__close-button"),a=0;a<t.length;a++)t[a].addEventListener("click",this.closePopup)},openPopup:function(e){var t=null!==document.getElementById("customize-preview-js");if(!t&&parseInt(e.getAttribute("data-cookie"))&&botiga.helpers.getCookie(e.getAttribute("data-cookie-name")))return!1;if(t){t=window.parent.window.document.querySelector(".control-section.open");if(null===t)return!1;if(!(0<t.id.indexOf("botiga_section_modal_popup")))return!1}e.classList.add("show"),setTimeout(function(){e.classList.add("transition-effect"),window.dispatchEvent(new Event("botiga.popup.opened"))},300),document.body.classList.add("disable-scroll")},closePopup:function(){event.preventDefault();for(var t=null!==document.getElementById("customize-preview-js"),o=document.querySelectorAll(".botiga-popup"),n=0;n<o.length;n++)(()=>{var e=o[n];!t&&parseInt(e.getAttribute("data-cookie"))&&botiga.helpers.setCookie(e.getAttribute("data-cookie-name"),1,e.getAttribute("data-cookie-expiration")),e.classList.remove("transition-effect"),setTimeout(function(){e.classList.remove("show"),document.body.classList.remove("disable-scroll"),window.dispatchEvent(new Event("botiga.popup.closed"))},300)})()}},botiga.popup.domReady(function(){botiga.popup.init()});