import{l as B}from"./index.62477ee8.js";import{C as E}from"./Blur.edde4939.js";import{b as I}from"./index.8c70464a.js";import{_ as w}from"./Caret.d9cc70ba.js";import"./translations.d159963e.js";import{_ as C}from"./_plugin-vue_export-helper.eefbdd86.js";import{s as L,_ as e}from"./default-i18n.20001971.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.5c3c7d72.js";import{R as F}from"./RequiredPlans.97e0043b.js";import{C as U}from"./Card.da4d4921.js";import{C as V}from"./ProBadge.751e0b85.js";import{C as A}from"./Index.0e872043.js";import{S as R}from"./Download.17eb5e1f.js";import{C as $}from"./Cta.c0fa9aa4.js";import{u as N}from"./AddonConditions.ea07bdf5.js";import"./helpers.c7282833.js";import"./addons.274d2a7a.js";import"./upperFirst.eac3a366.js";import"./_stringToArray.f9ddb970.js";import"./toString.a2dfb892.js";import"./license.20795cf4.js";import"./Tooltip.73441134.js";import"./Slide.39c07c03.js";import"./Row.df38a5f6.js";import"./constants.24c44c43.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};
