import{n as s,V as a}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{S as i}from"./js/Standalone.13c0aa99.js";import{C as l}from"./js/Index.6d59ffe7.js";import{a as c}from"./js/index.0f8634bc.js";import"./js/client.93f15631.js";var u=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"aioseo-divi-seo-admin-notice-container"},[r("core-alert",{domProps:{innerHTML:t._s(t.strings.alert)}})],1)},p=[];const d=window.aioseo.urls.aio.searchAppearance,m={components:{CoreAlert:l},mixins:[i],data(){return{strings:{alert:this.$t.sprintf("The options below are disabled because you are using %1$s to manage your SEO. They can be changed in the %2$sSearch Appearance menu%3$s.","All in One SEO",`<a href="${d}" target="_blank">`,"</a>")}}}},o={};var _=s(m,u,p,!1,f,null,null,null);function f(t){for(let e in o)this[e]=o[e]}var h=function(){return _.exports}();const y=()=>{const t=document.querySelectorAll("#wrap-seo .et-tab-content");for(let e=0;e<t.length;e++){const r=document.createElement("div");r.setAttribute("id",`aioseo-divi-seo-admin-notice-container-${e}`),t[e].insertBefore(r,t[e].firstChild),new a({store:c,render:n=>n(h)}).$mount(`#${r.getAttribute("id")}`)}},v=()=>{const t=document.querySelectorAll('#wrap-seo input[type="text"], #wrap-seo textarea');for(let n=0;n<t.length;n++)t[n].style.pointerEvents="none",t[n].setAttribute("readonly",!0);const e=document.querySelectorAll("#wrap-seo select");for(let n=0;n<e.length;n++)e[n].style.pointerEvents="none",e[n].setAttribute("disabled",!0);const r=document.querySelectorAll("#wrap-seo .et-checkbox");for(let n=0;n<r.length;n++)r[n].setAttribute("disabled",!0),r[n].nextElementSibling.style.pointerEvents="none"},A=()=>{const t=window.aioseo.urls.aio.searchAppearance,e=document.querySelector('a[href="#wrap-seo"]');if(!t||!e)return;const r=e.cloneNode(!0);r.setAttribute("href",t),e.parentNode.replaceChild(r,e)};window.addEventListener("load",()=>{y(),v(),A()});
