HEX
Server: LiteSpeed
System: Linux pulsar191.sitesanctuary.org 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64
User: lgooir (1604)
PHP: 8.1.32
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/lgooir/public_html/wp-content/themes/woodmart_old/js/scripts/menu/menuDropdownsAJAX.min.js
!function(n){woodmartThemeModule.menuDropdownsAJAX=function(){woodmartThemeModule.$body.on("mousemove",function(){n(".menu").has(".dropdown-load-ajax").each(function(){var o=n(this);if(!o.hasClass("dropdowns-loading")&&!o.hasClass("dropdowns-loaded")){var a=o,d=(a.addClass("dropdowns-loading"),woodmart_settings.menu_storage_key+"_"+a.attr("id")),o=!1,e=a.find(".dropdown-load-ajax"),t=[];if(e.each(function(){var o=n(this).find(".dropdown-html-placeholder");0<o.length&&t.push(o.data("id"))}),woodmart_settings.ajax_dropdowns_save&&woodmartThemeModule.supports_html5_storage){e=localStorage.getItem(d);try{o=JSON.parse(e)}catch(o){console.log("cant parse Json",o)}}function s(o){Object.keys(o).forEach(function(d){woodmartThemeModule.removeDuplicatedStylesFromHTML(o[d],function(o){a.find('[data-id="'+d+'"]').replaceWith(o),a.addClass("dropdowns-loaded"),setTimeout(function(){a.removeClass("dropdowns-loading")},1e3)})}),setTimeout(function(){woodmartThemeModule.$document.trigger("wdLoadDropdownsSuccess")},500)}o?s(o):0===t.length?(a.addClass("dropdowns-loaded"),a.removeClass("dropdowns-loading")):n.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_load_html_dropdowns",ids:t},dataType:"json",method:"POST",success:function(o){if("success"===o.status){if(s(o.data),woodmart_settings.ajax_dropdowns_save&&woodmartThemeModule.supports_html5_storage)try{localStorage.setItem(d,JSON.stringify(o.data))}catch(o){}}else console.log("loading html dropdowns returns wrong data - ",o.message)},error:function(){console.log("loading html dropdowns ajax error")}})}})})},n(document).ready(function(){woodmartThemeModule.menuDropdownsAJAX()})}(jQuery);