import{f as v}from"./links.Byq_3x2e.js";import{C as S}from"./Blur.CvHKqkVq.js";import{C as k}from"./SettingsRow.BwYvQArk.js";import{C as A}from"./Index.Cc4jCxiX.js";import{_ as g}from"./_plugin-vue_export-helper.BN1snXvA.js";import{v as e,o as r,c as h,B as o,l as n,a as w,t as l,C as d,k as _,b as m}from"./runtime-dom.esm-bundler.tPRhSV4q.js";import{R as M}from"./RequiredPlans.BaQ2NBS5.js";import{C as P}from"./Card.D52fee8h.js";import{C as x}from"./ProBadge.CVd2ImKm.js";import{C as B}from"./Index.Cf5ujj4F.js";import{C as K}from"./Cta.B3TWNkJL.js";import{A as U}from"./AddonConditions.CsIPzIpA.js";import"./default-i18n.DXRQgkn2.js";import"./helpers.CXsRrhc8.js";import"./Row.DRnp1mVs.js";import"./Tooltip.DhkkBQWW.js";import"./CheckSolid.CDvG9IOI.js";import"./index.Dbgw3oZ8.js";import"./Caret.Ke5gylGO.js";import"./Slide.fjAuzpC8.js";import"./addons.LwNCCWfH.js";import"./upperFirst.yVnsg4QL.js";import"./_stringToArray.DnK4tKcY.js";import"./toString.zLSwYOtv.js";import"./license.Cml-S8vw.js";import"./constants.CPpKID74.js";const L={components:{CoreBlur:S,CoreSettingsRow:k,CoreUiElementSlider:A},data(){return{strings:{description:this.$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.",this.$td),apiKey:this.$t.__("API Key",this.$td),mapPreview:this.$t.__("Map Preview",this.$td)},displayInfo:{block:{copy:"",desc:""}}}}},G={class:"aioseo-maps-blur"},R={class:"aioseo-settings-row"};function I(s,f,$,p,t,y){const a=e("base-input"),i=e("core-settings-row"),c=e("core-ui-element-slider"),u=e("core-blur");return r(),h("div",G,[o(u,null,{default:n(()=>[w("div",R,l(t.strings.description),1),o(i,{name:t.strings.apiKey,align:""},{content:n(()=>[o(a,{size:"medium"})]),_:1},8,["name"]),o(c,{options:t.displayInfo},null,8,["options"]),o(i,{name:t.strings.mapPreview,align:""},{content:n(()=>[d(l(t.strings.description),1)]),_:1},8,["name"])]),_:1})])}const D=g(L,[["render",I]]),E={setup(){return{licenseStore:v()}},components:{Blur:D,RequiredPlans:M,CoreCard:P,CoreProBadge:x,Cta:B},data(){return{features:[this.$t.__("Google Places Support",this.$td),this.$t.__("Google Reviews",this.$td),this.$t.__("Driving Directions",this.$td),this.$t.__("Multiple Locations",this.$td)],strings:{googleMapsApiKey:this.$t.__("Google Maps API Key",this.$td),ctaButtonText:this.$t.__("Unlock Local SEO",this.$td),ctaHeader:this.$t.sprintf(this.$t.__("Local SEO is a %1$s Feature",this.$td),"PRO"),ctaDescription:this.$t.__("Show your location to your visitors using an interactive Google Map. Create multiple maps for use with multiple locations.",this.$td)}}}},N={class:"aioseo-local-maps"};function O(s,f,$,p,t,y){const a=e("core-pro-badge"),i=e("blur"),c=e("required-plans"),u=e("cta"),b=e("core-card");return r(),h("div",N,[o(b,{slug:"localBusinessMapsApiKey",noSlide:!0},{header:n(()=>[w("span",null,l(t.strings.googleMapsApiKey),1),o(a)]),default:n(()=>[o(i),o(u,{"cta-link":s.$links.getPricingUrl("local-seo","local-seo-upsell","maps"),"button-text":t.strings.ctaButtonText,"learn-more-link":s.$links.getUpsellUrl("local-seo",null,s.$isPro?"pricing":"liteUpgrade"),"feature-list":t.features,"hide-bonus":!p.licenseStore.isUnlicensed},{"header-text":n(()=>[d(l(t.strings.ctaHeader),1)]),description:n(()=>[o(c,{addon:"aioseo-local-business"}),d(" "+l(t.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list","hide-bonus"])]),_:1})])}const C=g(E,[["render",O]]),V={mixins:[U],components:{Maps:C,Cta:K,Lite:C},data(){return{addonSlug:"aioseo-local-business",strings:{googleMapsApiKey:this.$t.__("Google Maps API Key",this.$td)}}}},q={class:"aioseo-maps"};function T(s,f,$,p,t,y){const a=e("maps",!0),i=e("cta"),c=e("lite");return r(),h("div",q,[s.shouldShowMain?(r(),_(a,{key:0})):m("",!0),s.shouldShowUpdate||s.shouldShowActivate?(r(),_(i,{key:1,"card-slug":"localBusinessMapsApiKey","header-text":t.strings.googleMapsApiKey},null,8,["header-text"])):m("",!0),s.shouldShowLite?(r(),_(c,{key:2})):m("",!0)])}const ht=g(V,[["render",T]]);export{ht as default};
