import{c as v,h as E}from"./app-core.0df0f3ff.js";import{C as U}from"./Blur.7937b338.js";import{B as I}from"./Select.acfb6430.js";import{_ as w}from"./Button.a02c1bcb.js";import{_ as C}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as e,a as L}from"./vendor-other.7ee0c845.js";import{aq as t,f as a,Q as m,R as s,j as S,U as i,a0 as l,ae as y,i as D,v as n,M as k}from"./vendor-vue-ui.7850d25d.js";import{R as F}from"./RequiredPlans.6d5e3888.js";import{C as V}from"./Card.267c8388.js";import{C as A}from"./ProBadge.b323b622.js";import{C as R}from"./Index.e469928f.js";import{S as q}from"./Download.77a1d188.js";import{C as N}from"./Cta.f846540e.js";import{u as $}from"./AddonConditions.80415809.js";import"./vendor-lodash.53ceb7f7.js";import"./Caret.8cb4ba6c.js";import"./Close.79c470b3.js";import"./Index.69a0c4a7.js";import"./Tooltip.e71a8852.js";import"./Trash.da4a6344.js";import"./Slide.0283b3a9.js";import"./Row.df74fdd5.js";import"./Pencil.a8c8bb3f.js";const h="all-in-one-seo-pack",M={components:{BaseButton:w,BaseSelect:I,CoreBlur:U},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}]}}},T={class:"aioseo-section-description"},z={class:"import-plugin-label"},H={class:"plugin-label"};function j(b,c,O,_,o,d){const p=t("base-select"),g=t("base-button"),f=t("core-blur");return a(),m(f,null,{default:s(()=>[S("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:d.plugins,placeholder:o.strings.selectPlugin},{option:s(({option:u})=>[S("div",z,[S("span",H,i(u.label),1)])]),_:1},8,["modelValue","options","placeholder"]),l(g,{type:"blue",size:"medium",class:"import"},{default:s(()=>[y(i(o.strings.import),1)]),_:1})]),_:1})}const Q=C(M,[["render",j]]),r="all-in-one-seo-pack",Y={setup(){return{licenseStore:E()}},components:{SvgDownload:q,Blur:Q,Cta:R,CoreCard:V,CoreProBadge:A,RequiredPlans:F},data(){return{links:v,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(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 a(),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,i(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(i(o.strings.ctaHeader),1)]),description:s(()=>[l(u,{addon:"aioseo-local-business"}),y(" "+i(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list","hide-bonus"])]),_:1})}const x=C(Y,[["render",G]]),bo={__name:"Import",setup(b){const c="all-in-one-seo-pack",{shouldShowActivate:O,shouldShowLite:_,shouldShowMain:o,shouldShowUpdate:d}=$({addonSlug:"aioseo-local-business"}),p={importLocalSeoFromOtherPlugins:e("Import Local SEO From Other Plugins",c)};return(g,f)=>(a(),D("div",null,[n(o)?(a(),m(n(x),{key:0})):k("",!0),n(d)||n(O)?(a(),m(n(N),{key:1,"card-slug":"localBusinessImport","header-text":p.importLocalSeoFromOtherPlugins},null,8,["header-text"])):k("",!0),n(_)?(a(),m(n(x),{key:2})):k("",!0)]))}};export{bo as default};
