import{h as S,c as x}from"./app-core.3e3b5f4b.js";import{C as A}from"./Blur.4f53e55b.js";import{C as b}from"./SettingsRow.d1734943.js";import{C as P}from"./Index.0a0c1a2b.js";import{_ as B}from"./_plugin-vue_export-helper.eefbdd86.js";import{aq as u,f as i,i as h,a0 as n,R as r,j as v,U as a,ae as y,v as e,Q as d,M as g}from"./vendor-vue-ui.65fbb3e9.js";import{_ as t,a as K}from"./vendor-other.ac1169a2.js";import{R as U}from"./RequiredPlans.e310a05f.js";import{C as R}from"./Card.3492d277.js";import{C as G}from"./ProBadge.b0e426b0.js";import{C as L}from"./Index.b067c390.js";import{C as I}from"./Cta.4c96ccd9.js";import{u as D}from"./AddonConditions.d7f2d48a.js";import"./vendor-lodash.a7229f96.js";import"./Row.35464476.js";import"./Tooltip.83c2998c.js";import"./CheckSolid.0f05457c.js";import"./Input.32b40815.js";import"./Index.792b437f.js";import"./Close.3dad5b8a.js";import"./Pencil.b9e32152.js";import"./Trash.c607f240.js";import"./Slide.1fe27f7c.js";import"./Caret.bc946270.js";import"./Button.60477c93.js";const f="all-in-one-seo-pack",$={components:{CoreBlur:A,CoreSettingsRow:b,CoreUiElementSlider:P},data(){return{strings:{description:t("Integrating with Google Maps will allow your users to find exactly where your business is located. Our interactive maps let them see your Google Reviews and get directions directly from your site. Create multiple maps for use with multiple locations.",f),apiKey:t("API Key",f),mapPreview:t("Map Preview",f)},displayInfo:{block:{copy:"",desc:""}}}}},E={class:"aioseo-maps-blur"},N={class:"aioseo-settings-row"};function O(w,s,l,c,o,m){const p=u("base-input"),_=u("core-settings-row"),C=u("core-ui-element-slider"),M=u("core-blur");return i(),h("div",E,[n(M,null,{default:r(()=>[v("div",N,a(o.strings.description),1),n(_,{name:o.strings.apiKey,align:""},{content:r(()=>[n(p,{size:"medium"})]),_:1},8,["name"]),n(C,{options:o.displayInfo},null,8,["options"]),n(_,{name:o.strings.mapPreview,align:""},{content:r(()=>[y(a(o.strings.description),1)]),_:1},8,["name"])]),_:1})])}const V=B($,[["render",O]]),T={class:"aioseo-local-maps"},k={__name:"Maps",setup(w){const s="all-in-one-seo-pack",l=S(),c=[t("Google Places Support",s),t("Google Reviews",s),t("Driving Directions",s),t("Multiple Locations",s)],o={googleMapsApiKey:t("Google Maps API Key",s),ctaButtonText:t("Unlock Local SEO",s),ctaHeader:K(t("Local SEO is a %1$s Feature",s),"PRO"),ctaDescription:t("Show your location to your visitors using an interactive Google Map. Create multiple maps for use with multiple locations.",s)};return(m,p)=>(i(),h("div",T,[n(e(R),{slug:"localBusinessMapsApiKey",noSlide:!0},{header:r(()=>[v("span",null,a(o.googleMapsApiKey),1),n(e(G))]),default:r(()=>[n(e(V)),n(e(L),{"cta-link":e(x).getPricingUrl("local-seo","local-seo-upsell","maps","liteUpgrade"),"button-text":o.ctaButtonText,"learn-more-link":e(x).getUpsellUrl("local-seo",null,"liteUpgrade"),"feature-list":c,"hide-bonus":!e(l).isUnlicensed},{"header-text":r(()=>[y(a(o.ctaHeader),1)]),description:r(()=>[n(e(U),{addon:"aioseo-local-business"}),y(" "+a(o.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","hide-bonus"])]),_:1})]))}},q={class:"aioseo-maps"},ge={__name:"Maps",setup(w){const s="all-in-one-seo-pack",{shouldShowActivate:l,shouldShowLite:c,shouldShowMain:o,shouldShowUpdate:m}=D({addonSlug:"aioseo-local-business"}),p={googleMapsApiKey:t("Google Maps API Key",s)};return(_,C)=>(i(),h("div",q,[e(o)?(i(),d(e(k),{key:0})):g("",!0),e(m)||e(l)?(i(),d(e(I),{key:1,"card-slug":"localBusinessMapsApiKey","header-text":p.googleMapsApiKey},null,8,["header-text"])):g("",!0),e(c)?(i(),d(e(k),{key:2})):g("",!0)]))}};export{ge as default};
