import{i as v,b as E}from"./index.4b887428.js";import{C as I}from"./Blur.92695742.js";import{B as U}from"./Select.f950b4c6.js";import{_ as w}from"./Button.9a301412.js";import"./translations.e71e2202.js";import{_ as C}from"./_plugin-vue_export-helper.eefbdd86.js";import{a as L,_ as e}from"./default-i18n.65d58dd6.js";import{a6 as t,o as i,a1 as m,a2 as s,_ as S,$ as a,l,a7 as y,c as D,R as r,a4 as k}from"./runtime-core.esm-bundler.ce5add0b.js";import{R as F}from"./RequiredPlans.515ee73d.js";import{C as V}from"./Card.597c7ae2.js";import{C as A}from"./ProBadge.e6ec5f9a.js";import{C as R}from"./Index.72794c8a.js";import{S as $}from"./Download.aa34559d.js";import{C as N}from"./Cta.5c0d267b.js";import{u as q}from"./AddonConditions.a6214a89.js";import"./helpers.633a054c.js";import"./runtime-dom.esm-bundler.dc49ee3e.js";import"./Caret.cd869c5d.js";import"./Close.ccd53ef3.js";import"./addons.9cee8bbb.js";import"./upperFirst.5dc701f8.js";import"./license.388ee2cc.js";import"./Index.2a391835.js";import"./Tooltip.23c7170d.js";import"./Trash.87a7d946.js";import"./Slide.3003ef51.js";import"./Row.bb9acf3f.js";import"./Pencil.d82df6a1.js";import"./constants.bc5863fe.js";const h="all-in-one-seo-pack",T={components:{BaseButton:w,BaseSelect:U,CoreBlur:I},data(){return{plugin:null,strings:{importOthersDescription:L(e("Choose a plugin to import Local SEO directly into %1$s.",h),"AIOSEO"),selectPlugin:e("Select a plugin...",h),import:e("Import",h),notInstalled:e("not installed",h)}}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}},z={class:"aioseo-section-description"},H={class:"import-plugin-label"},M={class:"plugin-label"};function Y(b,c,O,_,o,d){const p=t("base-select"),g=t("base-button"),f=t("core-blur");return i(),m(f,null,{default:s(()=>[S("div",z,a(o.strings.importOthersDescription),1),l(p,{size:"medium",modelValue:o.plugin,"onUpdate:modelValue":c[0]||(c[0]=u=>o.plugin=u),options:d.plugins,placeholder:o.strings.selectPlugin},{option:s(({option:u})=>[S("div",H,[S("span",M,a(u.label),1)])]),_:1},8,["modelValue","options","placeholder"]),l(g,{type:"blue",size:"medium",class:"import"},{default:s(()=>[y(a(o.strings.import),1)]),_:1})]),_:1})}const j=C(T,[["render",Y]]),n="all-in-one-seo-pack",G={setup(){return{licenseStore:v()}},components:{SvgDownload:$,Blur:j,Cta:R,CoreCard:V,CoreProBadge:A,RequiredPlans:F},data(){return{links:E,importSuccess:!1,importError:!1,options:{},plugin:null,loading:!1,strings:{importLocalSeoFromOtherPlugins:e("Import Local SEO From Other Plugins",n),ctaButtonText:e("Unlock Local SEO",n),ctaHeader:L(e("Local SEO is a %1$s Feature",n),"PRO"),ctaDescription:e("Import your Local SEO settings and locations from other plugins.",n)},features:[e("Yoast SEO",n),e("Rank Math SEO",n),e("SEOPress",n)]}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}};function J(b,c,O,_,o,d){const p=t("svg-download"),g=t("core-pro-badge"),f=t("blur"),u=t("required-plans"),P=t("cta"),B=t("core-card");return i(),m(B,{class:"aioseo-local-seo-import-others-lite",slug:"importOtherPluginsLocalSeo",toggles:!1,"no-slide":""},{"header-icon":s(()=>[l(p)]),header:s(()=>[S("span",null,a(o.strings.importLocalSeoFromOtherPlugins),1),l(g)]),default:s(()=>[l(f),l(P,{"cta-link":o.links.getPricingUrl("local-seo","local-seo-upsell","import","liteUpgrade"),"button-text":o.strings.ctaButtonText,"learn-more-link":o.links.getUpsellUrl("local-seo","local-seo-upsell","liteUpgrade"),"feature-list":o.features,"hide-bonus":!_.licenseStore.isUnlicensed},{"header-text":s(()=>[y(a(o.strings.ctaHeader),1)]),description:s(()=>[l(u,{addon:"aioseo-local-business"}),y(" "+a(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list","hide-bonus"])]),_:1})}const x=C(G,[["render",J]]),Lo={__name:"Import",setup(b){const c="all-in-one-seo-pack",{shouldShowActivate:O,shouldShowLite:_,shouldShowMain:o,shouldShowUpdate:d}=q({addonSlug:"aioseo-local-business"}),p={importLocalSeoFromOtherPlugins:e("Import Local SEO From Other Plugins",c)};return(g,f)=>(i(),D("div",null,[r(o)?(i(),m(r(x),{key:0})):k("",!0),r(d)||r(O)?(i(),m(r(N),{key:1,"card-slug":"localBusinessImport","header-text":p.importLocalSeoFromOtherPlugins},null,8,["header-text"])):k("",!0),r(_)?(i(),m(r(x),{key:2})):k("",!0)]))}};export{Lo as default};
