HEX
Server: Apache
System: Linux cp4.skywebbox.com 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
User: alfouzantranspor (1054)
PHP: 8.3.23
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/alfouzantranspor/www/wp-content/themes/astra/assets/js/minified/command-palette.min.js
(c=>{if(c&&c.data&&c.commands){let n=c.data.dispatch,o=c.commands.store;var e=window.astraCommandPalette||{};let d=e.customizerUrl||"",a=e.panels||[];e=e.iconUrl||"";if(d&&0!==a.length){var l=c.element.createElement;let t=e?l("img",{src:e,alt:"Astra",width:20,height:20}):null;l=()=>{var e;a.forEach(function(a){let e=d;"panel"===a.type?e+="?autofocus[panel]="+a.id:"section"===a.type&&(e+="?autofocus[section]="+a.id);try{n(o).registerCommand({name:a.name,label:a.label,searchLabel:a.searchLabel||a.label,icon:t,callback:function(){window.location.href=e}})}catch(e){console.error("Astra Command Palette: Failed to register",a.name,e)}}),(e=document.querySelector("#wp-admin-bar-astra-command-palette-search > a"))&&e.addEventListener("click",function(e){e.preventDefault(),c.data&&c.data.dispatch&&c.data.dispatch("core/commands").open()})};c.domReady?c.domReady(l):"loading"===document.readyState?document.addEventListener("DOMContentLoaded",l):l()}}})(window.wp);