import{g as S,l as x}from"./index.ed1fc0db.js";import{C as A}from"./Blur.0f162340.js";import{C as b}from"./SettingsRow.d3933378.js";import{C as P}from"./Index.f10233ce.js";import"./translations.d159963e.js";import{_ as B}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as t,s as K}from"./default-i18n.20001971.js";import{a6 as u,o as i,c as h,m as n,a2 as r,a as v,$ as a,a7 as y,T as e,a1 as d,a4 as g}from"./runtime-core.esm-bundler.4f558f23.js";import{R as U}from"./RequiredPlans.83142173.js";import{C as G}from"./Card.17b56f9a.js";import{C as L}from"./ProBadge.e183057c.js";import{C as R}from"./Index.39bbd6c8.js";import{C as I}from"./Cta.e50f067d.js";import{u as $}from"./AddonConditions.d96f5dbe.js";import"./helpers.2a6f0df7.js";import"./Row.29b591ed.js";import"./runtime-dom.esm-bundler.f6259c83.js";import"./Tooltip.447e44bb.js";import"./CheckSolid.ae0a962b.js";import"./Input.d9e61fc6.js";import"./Index.504e4ac6.js";import"./Close.8fb798f7.js";import"./Pencil.b89246dd.js";import"./Trash.263ee9c7.js";import"./Slide.3e3dec13.js";import"./addons.edaa5cfa.js";import"./upperFirst.3f8e52b4.js";import"./license.78a670ff.js";import"./Caret.b694929e.js";import"./Button.e237bb50.js";import"./constants.fe8bda37.js";const f="all-in-one-seo-pack",D={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 T=B(D,[["render",O]]),V={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",V,[n(e(G),{slug:"localBusinessMapsApiKey",noSlide:!0},{header:r(()=>[v("span",null,a(o.googleMapsApiKey),1),n(e(L))]),default:r(()=>[n(e(T)),n(e(R),{"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})]))}},H={class:"aioseo-maps"},xe={__name:"Maps",setup(w){const s="all-in-one-seo-pack",{shouldShowActivate:l,shouldShowLite:c,shouldShowMain:o,shouldShowUpdate:m}=$({addonSlug:"aioseo-local-business"}),p={googleMapsApiKey:t("Google Maps API Key",s)};return(_,C)=>(i(),h("div",H,[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{xe as default};
