import{A as f}from"./AddonConditions.9aacd850.js";import{C as y}from"./Blur.7f36813b.js";import{C}from"./DisplayInfo.871754b9.js";import{C as b}from"./SettingsRow.3c16cab0.js";import{x as o,o as l,c as w,C as e,l as r,a as x,t as u,D as $,k as p,q as S}from"./vue.runtime.esm-bundler.78401fbe.js";import{_ as d}from"./_plugin-vue_export-helper.58be9317.js";import{C as P}from"./index.b1bbc091.js";import{C as v}from"./Card.e9a25031.js";import{C as A}from"./Index.b732d651.js";const T={components:{CoreBlur:y,CoreDisplayInfo:C,CoreSettingsRow:b},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:""}}}}},B={class:"aioseo-maps-blur"},k={class:"aioseo-settings-row"};function I(i,_,n,m,t,a){const c=o("base-input"),s=o("core-settings-row"),g=o("core-display-info"),h=o("core-blur");return l(),w("div",B,[e(h,null,{default:r(()=>[x("div",k,u(t.strings.description),1),e(s,{name:t.strings.apiKey,align:""},{content:r(()=>[e(c,{size:"medium"})]),_:1},8,["name"]),e(g,{options:t.displayInfo},null,8,["options"]),e(s,{name:t.strings.mapPreview,align:""},{content:r(()=>[$(u(t.strings.description),1)]),_:1},8,["name"])]),_:1})])}const L=d(T,[["render",I]]),O={mixins:[f],components:{Blur:L,CoreAlert:P,CoreCard:v,Cta:A},props:{cardSlug:{type:String,required:!0},headerText:{type:String,required:!0},alignTop:Boolean},data(){return{addonSlug:"aioseo-local-business",strings:{locationSeoHeader:this.$t.__("Enable Local SEO on Your Site",this.$tdPro),ctaDescription:this.$t.__("Local Business schema markup informs Google about your business details like name, address, phone number, hours, and price range, which can appear in a Knowledge Graph card or business carousel.",this.$tdPro),learnMoreText:this.$t.__("Learn more about Local SEO",this.$tdPro),showOpeningHours:this.$t.__("Show Opening Hours",this.$tdPro),googleMaps:this.$t.__("Google Maps",this.$tdPro),businessType:this.$t.__("Type",this.$tdPro),businessContact:this.$t.__("Contact Info",this.$tdPro),paymentInfo:this.$t.__("Payment Info",this.$tdPro),image:this.$t.__("Image",this.$tdPro)}}},computed:{ctaButtonText(){return this.shouldShowUpdate?this.$t.__("Update Local SEO",this.$tdPro):this.$t.__("Activate Local SEO",this.$tdPro)}},methods:{addonActivated(){window.location.reload()}}};function D(i,_,n,m,t,a){const c=o("blur"),s=o("core-card");return l(),p(s,{slug:n.cardSlug,"header-text":n.headerText,noSlide:!0},{default:r(()=>[e(c),(l(),p(S(i.ctaComponent),{"addon-slug":t.addonSlug,"cta-header":t.strings.locationSeoHeader,"cta-description":t.strings.ctaDescription,"cta-button-text":a.ctaButtonText,"learn-more-text":t.strings.learnMoreText,"learn-more-link":i.$links.getDocUrl("localSeo"),"feature-list":[t.strings.businessType,t.strings.businessContact,t.strings.paymentInfo,t.strings.image,t.strings.showOpeningHours,t.strings.googleMaps],onAddonActivated:a.addonActivated,"align-top":n.alignTop},null,40,["addon-slug","cta-header","cta-description","cta-button-text","learn-more-text","learn-more-link","feature-list","onAddonActivated","align-top"]))]),_:1},8,["slug","header-text"])}const V=d(O,[["render",D]]);export{L as B,V as C};
