import{n as s,V as i}from"./js/vueComponentNormalizer.67c9b86e.js";import{C as a}from"./js/index.81e35b24.js";import{S as l}from"./js/Standalone.ea1194c9.js";import{s as c}from"./js/index.7b63dad7.js";import"./js/client.90beecd8.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/default-i18n.0e73c33c.js";import"./js/Caret.eeb84d06.js";import"./js/helpers.a2b0759e.js";import"./js/constants.8bff9f56.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.18ed59c3.js";import"./js/vuex.esm.19624049.js";var u=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aioseo-divi-seo-admin-notice-container"},[o("core-alert",{domProps:{innerHTML:t._s(t.strings.alert)}})],1)},p=[];const m=window.aioseo.urls.aio.searchAppearance,d={components:{CoreAlert:a},mixins:[l],data(){return{strings:{alert:this.$t.sprintf(this.$t.__("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.",this.$td),"All in One SEO",`<a href="${m}" target="_blank">`,"</a>")}}}},r={};var _=s(d,u,p,!1,f,null,null,null);function f(t){for(let e in r)this[e]=r[e]}const h=function(){return _.exports}(),y=()=>{const t=document.querySelectorAll("#wrap-seo .et-tab-content");for(let e=0;e<t.length;e++){const o=document.createElement("div");o.setAttribute("id",`aioseo-divi-seo-admin-notice-container-${e}`),t[e].insertBefore(o,t[e].firstChild),new i({store:c,render:n=>n(h)}).$mount(`#${o.getAttribute("id")}`)}},A=()=>{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 o=document.querySelectorAll("#wrap-seo .et-checkbox");for(let n=0;n<o.length;n++)o[n].setAttribute("disabled",!0),o[n].nextElementSibling.style.pointerEvents="none"},b=()=>{const t=window.aioseo.urls.aio.searchAppearance,e=document.querySelector('a[href="#wrap-seo"]');if(!t||!e)return;const o=e.cloneNode(!0);o.setAttribute("href",t),e.parentNode.replaceChild(o,e)};window.addEventListener("load",()=>{y(),A(),b()});
