import{C}from"./Blur.CvHKqkVq.js";import{b as k}from"./index.Dbgw3oZ8.js";import{B}from"./Caret.Ke5gylGO.js";import{_ as f}from"./_plugin-vue_export-helper.BN1snXvA.js";import{v as t,o as n,k as u,l as s,a as _,t as i,B as r,C as g,c as L,b as h}from"./runtime-dom.esm-bundler.tPRhSV4q.js";import{R as P}from"./RequiredPlans.BaQ2NBS5.js";import{C as v}from"./Card.D52fee8h.js";import{C as E}from"./ProBadge.CVd2ImKm.js";import{C as I}from"./Index.Cf5ujj4F.js";import{S as x}from"./Download.CmT4-Qbo.js";import{C as w}from"./Cta.B3TWNkJL.js";import{A as D}from"./AddonConditions.CsIPzIpA.js";import"./links.Byq_3x2e.js";import"./default-i18n.DXRQgkn2.js";import"./helpers.CXsRrhc8.js";import"./addons.LwNCCWfH.js";import"./upperFirst.yVnsg4QL.js";import"./_stringToArray.DnK4tKcY.js";import"./toString.zLSwYOtv.js";import"./license.Cml-S8vw.js";import"./Tooltip.DhkkBQWW.js";import"./Slide.fjAuzpC8.js";import"./Row.DRnp1mVs.js";import"./constants.CPpKID74.js";const A={components:{BaseButton:B,BaseSelect:k,CoreBlur:C},data(){return{strings:{importOthersDescription:this.$t.sprintf(this.$t.__("Choose a plugin to import Local SEO directly into %1$s.",this.$td),"AIOSEO"),selectPlugin:this.$t.__("Select a plugin...",this.$td),import:this.$t.__("Import",this.$td),notInstalled:this.$t.__("not installed",this.$td)}}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}},F={class:"aioseo-section-description"},U={class:"import-plugin-label"},V={class:"plugin-label"};function R(e,m,$,b,o,d){const l=t("base-select"),a=t("base-button"),c=t("core-blur");return n(),u(c,null,{default:s(()=>[_("div",F,i(o.strings.importOthersDescription),1),r(l,{size:"medium",modelValue:e.plugin,"onUpdate:modelValue":m[0]||(m[0]=p=>e.plugin=p),options:d.plugins,placeholder:o.strings.selectPlugin},{option:s(({option:p})=>[_("div",U,[_("span",V,i(p.label),1)])]),_:1},8,["modelValue","options","placeholder"]),r(a,{type:"blue",size:"medium",class:"import"},{default:s(()=>[g(i(o.strings.import),1)]),_:1})]),_:1})}const N=f(A,[["render",R]]),q={components:{SvgDownload:x,Blur:N,Cta:I,CoreCard:v,CoreProBadge:E,RequiredPlans:P},data(){return{importSuccess:!1,importError:!1,options:{},plugin:null,loading:!1,strings:{importLocalSeoFromOtherPlugins:this.$t.__("Import Local SEO From Other Plugins",this.$td),ctaButtonText:this.$t.__("Unlock Local SEO",this.$td),ctaHeader:this.$t.sprintf(this.$t.__("Local SEO is a %1$s Feature",this.$td),"PRO"),ctaDescription:this.$t.__("Import your Local SEO settings and locations from other plugins.",this.$td)},features:[this.$t.__("Yoast SEO",this.$td),this.$t.__("Rank Math SEO",this.$td),this.$t.__("SEOPress",this.$td)]}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}};function T(e,m,$,b,o,d){const l=t("svg-download"),a=t("core-pro-badge"),c=t("blur"),p=t("required-plans"),O=t("cta"),y=t("core-card");return n(),u(y,{class:"aioseo-local-seo-import-others-lite",slug:"importOtherPluginsLocalSeo",toggles:!1,"no-slide":""},{"header-icon":s(()=>[r(l)]),header:s(()=>[_("span",null,i(o.strings.importLocalSeoFromOtherPlugins),1),r(a)]),default:s(()=>[r(c),r(O,{"cta-link":e.$links.getPricingUrl("local-seo","local-seo-upsell","import"),"button-text":o.strings.ctaButtonText,"learn-more-link":e.$links.getUpsellUrl("local-seo",null,"home"),"feature-list":o.features},{"header-text":s(()=>[g(i(o.strings.ctaHeader),1)]),description:s(()=>[r(p,{addon:"aioseo-local-business"}),g(" "+i(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])]),_:1})}const S=f(q,[["render",T]]),z={mixins:[D],components:{Import:S,Lite:S,Cta:w},data(){return{addonSlug:"aioseo-local-business",strings:{importLocalSeoFromOtherPlugins:this.$t.__("Import Local SEO From Other Plugins",this.$td)}}}};function H(e,m,$,b,o,d){const l=t("import",!0),a=t("cta"),c=t("lite");return n(),L("div",null,[e.shouldShowMain?(n(),u(l,{key:0})):h("",!0),e.shouldShowUpdate||e.shouldShowActivate?(n(),u(a,{key:1,"card-slug":"localBusinessImport","header-text":o.strings.importLocalSeoFromOtherPlugins},null,8,["header-text"])):h("",!0),e.shouldShowLite?(n(),u(c,{key:2})):h("",!0)])}const dt=f(z,[["render",H]]);export{dt as default};
