HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: 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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpsysiot/wp-content/themes/astra/inc/metabox/extend-metabox/build/elementor.js
!function(){"use strict";var e=window.wp.element,t=window.wp.i18n,n=window.wp.components;const o=()=>{const{themeName:o,themeIconUrl:r}=astraElementorEditor,[s,a]=(0,e.useState)(!1);(0,e.useEffect)((()=>{const e=e=>{e.target.closest(".elementor-control-astra_section")&&setTimeout((()=>{const e=document.querySelector(".elementor-control-astra_section"),t=e?.classList.contains("e-open")||!1;a(t)}),0)};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0),a(!1)}}),[]);
// translators: %s is the Astra theme name.
const l=(0,t.sprintf)((0,t.__)("%s Settings","astra"),o);return(0,e.createElement)(n.Tooltip,{text:l,placement:"bottom",delay:150},(0,e.createElement)("button",{value:"Astra Settings","aria-label":l,title:l,onClick:()=>{const e=document.querySelector('[value="document-settings"]');e?.click();const t=document.querySelector(".elementor-control-astra_section button");t?.click(),a(!s)},style:{background:s?"#ffffff29":"transparent",display:"inline-flex",cursor:"pointer",border:"none",borderRadius:"4px",padding:"7px"}},(0,e.createElement)("img",{width:20,height:20,src:r,alt:(0,t.sprintf)((0,t.__)("%s Theme Icon","astra"),o)})))};"undefined"!=typeof elementor&&elementor.once?elementor.once("preview:loaded",(()=>{try{const t=document.querySelector("#elementor-editor-wrapper-v2 button[value=Structure]"),n=t?.parentElement;if(t&&n){const t=document.createElement("span");n.parentElement.appendChild(t),(0,e.createRoot)(t)?.render((0,e.createElement)(o,null))}}catch(e){console.error("Error initializing Astra settings:",e)}elementor.channels.editor.on("namespace:editor:astraRefresh",(()=>{$e?.run&&$e.run("document/save/auto",{force:!0}).then((()=>{"function"==typeof elementor?.reloadPreview&&elementor.reloadPreview()})).catch((e=>{console.error("namespace:editor:astraRefresh - Auto-save failed",e)}))})),"disabled"===astraElementorEditor?.postTitle&&elementor?.settings?.page?.model&&"yes"!==elementor.settings.page.model?.get("hide_title")&&(elementor.settings.page.model?.set("hide_title","yes"),elementor.settings.page.model.changed.hide_title="yes")})):console.warn("Elementor is not available.")}();