import{b as w}from"./index.684c656d.js";import{u as b}from"./AddonConditions.14b242fa.js";import{C as x}from"./Blur.f5469924.js";import{C}from"./SettingsRow.892a6d38.js";import{C as S}from"./Index.8db76441.js";import"./translations.d159963e.js";import{_ as v}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as o}from"./default-i18n.20001971.js";import{y as r,o as p,d as T,H as n,w as i,e as k,t as f,a as B,j as A,c as y,u as a,r as I}from"./runtime-dom.esm-bundler.d8b05b6d.js";import{C as L}from"./Card.bf13def3.js";const u="all-in-one-seo-pack",O={components:{CoreBlur:x,CoreSettingsRow:C,CoreUiElementSlider:S},data(){return{strings:{description:o("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.",u),apiKey:o("API Key",u),mapPreview:o("Map Preview",u)},displayInfo:{block:{copy:"",desc:""}}}}},E={class:"aioseo-maps-blur"},M={class:"aioseo-settings-row"};function P(s,t,m,d,e,_){const c=r("base-input"),l=r("core-settings-row"),g=r("core-ui-element-slider"),h=r("core-blur");return p(),T("div",E,[n(h,null,{default:i(()=>[k("div",M,f(e.strings.description),1),n(l,{name:e.strings.apiKey,align:""},{content:i(()=>[n(c,{size:"medium"})]),_:1},8,["name"]),n(g,{options:e.displayInfo},null,8,["options"]),n(l,{name:e.strings.mapPreview,align:""},{content:i(()=>[B(f(e.strings.description),1)]),_:1},8,["name"])]),_:1})])}const H=v(O,[["render",P]]),Y={__name:"Cta",props:{cardSlug:{type:String,required:!0},headerText:{type:String,required:!0},alignTop:Boolean},setup(s){const t="aioseo-pro",{ctaComponent:m,shouldShowUpdate:d}=b({addonSlug:"aioseo-local-business"}),e={locationSeoHeader:o("Enable Local SEO on Your Site",t),ctaDescription:o("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.",t),learnMoreText:o("Learn more about Local SEO",t),showOpeningHours:o("Show Opening Hours",t),googleMaps:o("Google Maps",t),businessType:o("Type",t),businessContact:o("Contact Info",t),paymentInfo:o("Payment Info",t),image:o("Image",t)},_=A(()=>d.value?o("Update Local SEO",t):o("Activate Local SEO",t)),c=()=>{window.location.reload()};return(l,g)=>(p(),y(a(L),{slug:s.cardSlug,"header-text":s.headerText,noSlide:!0},{default:i(()=>[n(a(H)),(p(),y(I(a(m)),{"addon-slug":"aioseo-local-business","cta-header":e.locationSeoHeader,"cta-description":e.ctaDescription,"cta-button-text":_.value,"learn-more-text":e.learnMoreText,"learn-more-link":a(w).getDocUrl("localSeo"),"feature-list":[e.businessType,e.businessContact,e.paymentInfo,e.image,e.showOpeningHours,e.googleMaps],onAddonActivated:c,"align-top":s.alignTop},null,40,["cta-header","cta-description","cta-button-text","learn-more-text","learn-more-link","feature-list","align-top"]))]),_:1},8,["slug","header-text"]))}};export{H as B,Y as _};
