import{l as B}from"./index.20192476.js";import{C as E}from"./Blur.31bfcf06.js";import{b as I}from"./index.ee8124c6.js";import{_ as w}from"./Caret.662da1f3.js";import"./translations.12335a6a.js";import{_ as C}from"./_plugin-vue_export-helper.249dac1d.js";import{s as L,_ as e}from"./default-i18n.54b5d8cd.js";import{v as t,o as a,k as m,l as s,a as h,t as i,C as l,x as k,c as D,u as n,b as O}from"./runtime-dom.esm-bundler.6789c400.js";import{R as F}from"./RequiredPlans.7629fd28.js";import{C as U}from"./Card.46af096e.js";import{C as V}from"./ProBadge.7733ac87.js";import{C as A}from"./Index.c0a0a208.js";import{S as R}from"./Download.6a0d8455.js";import{C as $}from"./Cta.2be84a74.js";import{u as N}from"./AddonConditions.3ce0de6d.js";import"./helpers.f95d5840.js";import"./addons.9d0af6ad.js";import"./upperFirst.96c04516.js";import"./_stringToArray.08127ca9.js";import"./toString.1401d490.js";import"./license.37048367.js";import"./Tooltip.b6b45c85.js";import"./Slide.d0517fb0.js";import"./Row.f01f32cd.js";import"./constants.2019bcb3.js";const f="all-in-one-seo-pack",q={components:{BaseButton:w,BaseSelect:I,CoreBlur:E},data(){return{plugin:null,strings:{importOthersDescription:L(e("Choose a plugin to import Local SEO directly into %1$s.",f),"AIOSEO"),selectPlugin:e("Select a plugin...",f),import:e("Import",f),notInstalled:e("not installed",f)}}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}},T={class:"aioseo-section-description"},z={class:"import-plugin-label"},H={class:"plugin-label"};function M(x,c,b,S,o,_){const p=t("base-select"),d=t("base-button"),g=t("core-blur");return a(),m(g,null,{default:s(()=>[h("div",T,i(o.strings.importOthersDescription),1),l(p,{size:"medium",modelValue:o.plugin,"onUpdate:modelValue":c[0]||(c[0]=u=>o.plugin=u),options:_.plugins,placeholder:o.strings.selectPlugin},{option:s(({option:u})=>[h("div",z,[h("span",H,i(u.label),1)])]),_:1},8,["modelValue","options","placeholder"]),l(d,{type:"blue",size:"medium",class:"import"},{default:s(()=>[k(i(o.strings.import),1)]),_:1})]),_:1})}const Y=C(q,[["render",M]]),r="all-in-one-seo-pack",j={components:{SvgDownload:R,Blur:Y,Cta:A,CoreCard:U,CoreProBadge:V,RequiredPlans:F},data(){return{links:B,importSuccess:!1,importError:!1,options:{},plugin:null,loading:!1,strings:{importLocalSeoFromOtherPlugins:e("Import Local SEO From Other Plugins",r),ctaButtonText:e("Unlock Local SEO",r),ctaHeader:L(e("Local SEO is a %1$s Feature",r),"PRO"),ctaDescription:e("Import your Local SEO settings and locations from other plugins.",r)},features:[e("Yoast SEO",r),e("Rank Math SEO",r),e("SEOPress",r)]}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}};function G(x,c,b,S,o,_){const p=t("svg-download"),d=t("core-pro-badge"),g=t("blur"),u=t("required-plans"),P=t("cta"),v=t("core-card");return a(),m(v,{class:"aioseo-local-seo-import-others-lite",slug:"importOtherPluginsLocalSeo",toggles:!1,"no-slide":""},{"header-icon":s(()=>[l(p)]),header:s(()=>[h("span",null,i(o.strings.importLocalSeoFromOtherPlugins),1),l(d)]),default:s(()=>[l(g),l(P,{"cta-link":o.links.getPricingUrl("local-seo","local-seo-upsell","import"),"button-text":o.strings.ctaButtonText,"learn-more-link":o.links.getUpsellUrl("local-seo",null,"home"),"feature-list":o.features},{"header-text":s(()=>[k(i(o.strings.ctaHeader),1)]),description:s(()=>[l(u,{addon:"aioseo-local-business"}),k(" "+i(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])]),_:1})}const y=C(j,[["render",G]]),Oo={__name:"Import",setup(x){const c="all-in-one-seo-pack",{shouldShowActivate:b,shouldShowLite:S,shouldShowMain:o,shouldShowUpdate:_}=N({addonSlug:"aioseo-local-business"}),p={importLocalSeoFromOtherPlugins:e("Import Local SEO From Other Plugins",c)};return(d,g)=>(a(),D("div",null,[n(o)?(a(),m(n(y),{key:0})):O("",!0),n(_)||n(b)?(a(),m(n($),{key:1,"card-slug":"localBusinessImport","header-text":p.importLocalSeoFromOtherPlugins},null,8,["header-text"])):O("",!0),n(S)?(a(),m(n(y),{key:2})):O("",!0)]))}};export{Oo as default};
