import"./js/_plugin-vue_export-helper.4292a25a.js";import{E as i,x as p}from"./js/vue.runtime.esm-bundler.1bf81f69.js";import{c as m,a as n}from"./js/vue-router.05c74492.js";import{l as s}from"./js/index.f62253a4.js";import{l as a}from"./js/index.cd7fac8b.js";import{l as u}from"./js/index.0b123ab1.js";import{j as c,k as d,l}from"./js/links.4e9269a4.js";import{m as f,T as _}from"./js/postContent.164a8a2e.js";import{i as y}from"./js/isEmpty.356d2658.js";import{A as e}from"./js/App.93196b03.js";import"./js/translations.f6b76bbe.js";import"./js/default-i18n.41786823.js";import"./js/constants.a78fc4cb.js";import"./js/Caret.0b57d359.js";import"./js/isArrayLikeObject.76f0d098.js";import"./js/cleanForSlug.10bf84e5.js";import"./js/toString.16b91dfe.js";import"./js/_baseTrim.8725856f.js";import"./js/_stringToArray.4de3b1f3.js";import"./js/html.3d4eb4ad.js";import"./js/get.d55c557c.js";import"./js/_getTag.a3b733ba.js";/* empty css                */import"./js/allowed.11aae9a6.js";import"./js/params.f0608262.js";/* empty css                                               *//* empty css                                                 */import"./js/JsonValues.870a4901.js";/* empty css                                                 */import"./js/SettingsRow.2432af31.js";import"./js/Row.1358a527.js";import"./js/Checkbox.1a2fc75a.js";import"./js/Checkmark.20d31f86.js";import"./js/LicenseKeyBar.1b5c44d1.js";import"./js/LogoGear.8ca170d6.js";import"./js/Tabs.23866df2.js";import"./js/TruSeoScore.177d3103.js";import"./js/Ellipse.ca34fa71.js";import"./js/Information.379a165f.js";import"./js/Slide.c4e68d01.js";import"./js/Portal.eef1ce3a.js";import"./js/Index.d52a1c7e.js";import"./js/MaxCounts.12b45bab.js";import"./js/Tags.bc14d949.js";import"./js/tags.9c0199b3.js";import"./js/Tooltip.fc81232d.js";import"./js/Plus.bd65010b.js";import"./js/Editor.87ec1d9f.js";import"./js/Blur.7ed1854b.js";import"./js/RadioToggle.6c005687.js";import"./js/GoogleSearchPreview.45c17759.js";import"./js/HtmlTagsEditor.2a4955ac.js";import"./js/UnfilteredHtml.2d041b8c.js";import"./js/popup.6fe74774.js";import"./js/addons.b699e1f7.js";import"./js/upperFirst.65f07810.js";import"./js/Index.632f6288.js";import"./js/WpTable.623c3ca8.js";import"./js/Table.9759233a.js";import"./js/numbers.cd5a4c70.js";import"./js/PostTypes.9ab32454.js";import"./js/InternalOutbound.fa7c9832.js";import"./js/RequiredPlans.b62db276.js";import"./js/license.1ec1762f.js";import"./js/Image.db916bd7.js";import"./js/FacebookPreview.86376109.js";import"./js/Img.1587831b.js";import"./js/Profile.9b5df52d.js";import"./js/ImageUploader.9f5fb282.js";import"./js/TwitterPreview.dd33ac7c.js";import"./js/Book.067600d2.js";import"./js/Settings.6e3cf579.js";import"./js/Build.a21243d9.js";import"./js/Redirects.684b50e3.js";import"./js/Index.4b5cac99.js";import"./js/strings.03d6ae29.js";import"./js/isString.197b32a2.js";import"./js/ProBadge.5f8b58d0.js";import"./js/External.95afe855.js";import"./js/Exclamation.c5d4ba67.js";import"./js/Gear.a693d6ea.js";import"./js/Card.37225977.js";import"./js/Eye.186bb5fe.js";import"./js/Upsell.7e4e6ca5.js";const g=()=>{const o=c();y(o.currentPost)||o.saveCurrentPost(o.currentPost).then(()=>{d().fetch({})})},S=()=>{document.getElementById("seedprod-builder-save").addEventListener("click",g)},P=()=>{seedprod_app.$watch("$route.name",o=>{if(o==="setup_settings_seo"){const r=m({history:n(),routes:[{path:"/",component:e}]});let t=i({name:"Standalone/SeedProd",data(){return{tableContext:window.aioseo.currentPost.context,screenContext:"metabox"}},mounted:()=>{setTimeout(f)},render:()=>p(e)});t=s(t),t=a(t),t=u(t),t.use(r),r.app=t,l(t,r),t.config.globalProperties.$truSeo=new _,t.mount("#seedprod-preview-wrapper .seedprod-settings-page-wrapper")}},{immediate:!0})},h=()=>{const o=document.getElementById("aioseo-seedprod-common-css");o&&o.setAttribute("href",o.getAttribute("data-href"))},v=()=>{P(),h(),S()};document.addEventListener("DOMContentLoaded",()=>{seedprod_app&&seedprod_app._isMounted&&v()});
