import{_ as i,r as l,o as c,c as p,d as u,b as m}from"./js/_plugin-vue_export-helper.2d9794a3.js";import{l as d}from"./js/index.66313bbb.js";import{C as _,l as f}from"./js/index.fd0fcee8.js";import{l as h}from"./js/index.0b123ab1.js";import{S as A}from"./js/Standalone.a8f81b27.js";import{s as r}from"./js/index.02a5ed9a.js";import"./js/client.e7a26247.js";import"./js/_commonjsHelpers.f84db168.js";import"./js/vuex.esm-bundler.8589b2dd.js";import"./js/default-i18n.ab92175e.js";import"./js/helpers.de7566d0.js";import"./js/constants.7044c894.js";import"./js/isArrayLikeObject.c492f682.js";import"./js/Caret.42a820e0.js";const b=window.aioseo.urls.aio.searchAppearance,y={components:{CoreAlert:_},mixins:[A],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="${b}" target="_blank">`,"</a>")}}}},g={class:"aioseo-divi-seo-admin-notice-container"};function w(n,t,o,e,s,E){const a=l("core-alert");return c(),p("div",g,[u(a,{innerHTML:s.strings.alert},null,8,["innerHTML"])])}const v=i(y,[["render",w]]),x=()=>{const n=document.querySelectorAll("#wrap-seo .et-tab-content");for(let t=0;t<n.length;t++){const o=document.createElement("div");o.setAttribute("id",`aioseo-divi-seo-admin-notice-container-${t}`),n[t].insertBefore(o,n[t].firstChild);let e=m(v);e=d(e),e=f(e),e=h(e),e.use(r),r._vm=e,e.mount(`#${o.getAttribute("id")}`)}},S=()=>{const n=document.querySelectorAll('#wrap-seo input[type="text"], #wrap-seo textarea');for(let e=0;e<n.length;e++)n[e].style.pointerEvents="none",n[e].setAttribute("readonly",!0);const t=document.querySelectorAll("#wrap-seo select");for(let e=0;e<t.length;e++)t[e].style.pointerEvents="none",t[e].setAttribute("disabled",!0);const o=document.querySelectorAll("#wrap-seo .et-checkbox");for(let e=0;e<o.length;e++)o[e].setAttribute("disabled",!0),o[e].nextElementSibling.style.pointerEvents="none"},$=()=>{const n=window.aioseo.urls.aio.searchAppearance,t=document.querySelector('a[href="#wrap-seo"]');if(!n||!t)return;const o=t.cloneNode(!0);o.setAttribute("href",n),t.parentNode.replaceChild(o,t)};window.addEventListener("load",()=>{x(),S(),$()});
