import{_ as Y,S as Z,a as B,m as J,b as H,bf as W,f as x,i as s,w as t,bg as X,n as _,V as O,g as d,h as w,az as ee,aA as te,j as p,o as n,F as V,k as q,O as L,z as I,A as u,t as h,bh as se,N as y,l as b,bi as oe,y as T,s as c,bj as ae,p as P,K as j,q as S,v as le,x as U,aH as M,aI as F,D as ie,G as A,J as K,ax as D,C as E,bk as re,ap as ne,ae as ue,at as he,au as ce,U as de,W as pe}from"./index-BLnapCnf.js";import{R as me,S as fe,a as ge,P as _e,N as we,A as ye}from"./pagination-mTNDeEHx.js";import{F as xe}from"./Footer-VzePaoIQ.js";import{a as be}from"./alternate-hreflangs-9hBn8lDZ.js";import{F as ke,f as ve,P as Ce}from"./index-LSWPfP9L.js";import{u as He}from"./index-DCqxMVO4.js";import{u as Ve}from"./vue.f36acd1f-DZggtVKQ.js";import"./RemedyBuyingGuideTabs-DcXuI73Q.js";const qe={name:"Home",props:["offsetTop"],components:{RemedyFinder:me,Footer:xe,GoogleMap:ke,Marker:ve,InfoWindow:Ce,Swiper:fe,SwiperSlide:ge},beforeRouteEnter(e,o,r){r(m=>{const i=e.params.locale;Z.includes(i)&&(m.$i18n.locale=i,B().$patch({locale:i}))})},data(){return{modules:[_e,we,ye],infoWindowPos:null,infoWinOpen:!1,infoOptions:{content:"",pixelOffset:{width:0,height:-35}},showMap:!1,showPromos:!1,showFaqs:!1,showPopular:!1,showNewIn:!1,showSelfHelp:!1,showComments:!1,dialogQuestion:!1,descriptionLimit:40,entries:[],search:null,select:null,isLoading:!0,socialLoading:!1,promos:[],offers:[],latest:[],testimonials:[],faq:{question:"",answer:""},selfHelp:[],title:"Helios Homeopathy - "+this.$t("headings.A passion for healing"),description:this.$t("Helios Homeopathy is a well established homeopathic pharmacy who manufacture their own remedies and provide expert advice. Search with our remedy finder."),keywords:"shop, products, remedies, remedy, finder, remedy finder, homoeopathy, homoeopathic, homoeopath, homeopathy, homeopathic, homeopath, homœopathy, homeopathie, potency, potencies, healing, health, treatments, self-help, self help, tunbridge wells, covent garden, london, clinic",image:"",url:""}},watch:{select(e){e&&(this.dialogQuestion=!0,this.faq=e,this.select=null)}},computed:{...J(B,["locale"]),isNotTest(){return!0},imagesHost(){return"https://images.helios.co.uk"},promoHeight(){return window.innerWidth<1264,"auto"},promoMinHeight(){return window.innerWidth<1264,"auto"},slidesPerView(){return window.innerWidth<600?1:window.innerWidth<960?3:window.innerWidth<1264?4:window.innerWidth<1904?5:6},carouselItems(){let e="https://images.helios.co.uk";return[{src:e+"/static/helios_banner_a_passion_for_healing_1800x424.jpg",text:this.$t("headings.A passion for healing")},{src:e+"/static/helios_banner_family_1800x424.jpg",text:this.$t("headings.Healing through the generations")},{src:e+"/static/helios_banner_global_healing_1800x424.jpg",text:this.$t("headings.Global healing")},{src:e+"/static/helios_banner_remedies_quality_integrity_1800x424.jpg",text:this.$t("headings.Remedies of quality and integrity")}]},jsonLd(){return{"@context":"http://schema.org","@type":"Store",name:"Helios Homeopathy - "+this.$t("headings.A passion for healing"),description:this.$t("Helios Homeopathy is a well established homeopathic pharmacy who manufacture their own remedies and provide expert advice. Search with our remedy finder."),keywords:"shop, products, remedies, remedy, finder, remedy finder, homoeopathy, homoeopathic, homoeopath, homeopathy, homeopathic, homeopath, homœopathy, homeopathie, potency, potencies, healing, health, treatments, self-help, self help, tunbridge wells, covent garden, london, clinic",url:"http://www.helios.co.uk",logo:"http://www.helios.co.uk/helios-logo.png",email:"order@helios.co.uk",openingHours:"Mo-Fr 09:00-17:30, Sa 10:00-14:00",telephone:"+44 (0)1892 537254",sameAs:["https://www.facebook.com/HeliosPharmacy","https://twitter.com/HeliosPharmacy","https://www.instagram.com/helios_pharmacy/?hl=en"],hasMap:"https://www.google.com/maps/place/97+Camden+Rd,+Tunbridge+Wells,+Kent+TN1+2QR,+UK/@51.136271,0.268936,15z/data=!4m2!3m1!1s0x47df442d3b7e8c1b:0xafee05384b9e83d8?hl=en",geo:{"@type":"GeoCoordinates",latitude:"51.136200",longitude:"0.268959"},contactPoint:[{"@type":"ContactPoint",telephone:"+44 (0)1892 537254",contactType:"Customer service"}],address:{"@type":"PostalAddress",streetAddress:"89 - 97 Camden Rd",addressLocality:"Tunbridge Wells",addressRegion:"Kent",postalCode:"TN1 2QR",addressCountry:"UK"}}}},mounted(){this.addMeta(),H.get("https://api.helios.co.uk/api/promos").then(o=>{this.promos=o.data.data,this.showPromos=!0}).catch(o=>{console.log(o)}),setTimeout(function(){window.prerenderReady=!0},2e3),this.$gtag.pageview({page_path:this.$route.path}),document.getElementById("scrolling-content").scrollTop=0,this.url="https://helios.co.uk"+this.$route.path;let e="https://images.helios.co.uk";this.image=e+"/assets/product-large/static/logo-with-text.png"},methods:{addMeta(){Ve({htmlAttrs:{lang:this.locale},link:be(this.$router,this.$i18n)}),He({title:"Helios Homeopathy - "+this.$t("headings.A passion for healing"),description:this.description,keywords:this.keywords,ogDescription:this.description,ogTitle:this.name,ogImage:this.image,ogUrl:this.url,twitterTitle:this.name,twitterDescription:this.description,twitterImage:this.image,twitterCard:"summary_large_image"})},popularRoute(e){let o="/"+this.$t("routes.shop")+"/"+this.$t("routes.search")+"/"+this.$t("routes.popular")+"/"+e.slug;return this.$i18n.locale!=="en"?"/"+this.$i18n.locale+o:o},latestRoute(e){let o="/"+this.$t("routes.shop")+"/"+this.$t("routes.search")+"/"+this.$t("routes.latest")+"/"+e.slug;return this.$i18n.locale!=="en"?"/"+this.$i18n.locale+o:o},hasDiscountGroupText(e){if(e.price&&e.discount_groups&&e.discount_groups.length>0)for(let o in e.discount_groups){let r=e.discount_groups[o];if(r.products_count>1||r.products_count===1&&r.qualifying_quantity===1||r.products_count===1&&r.qualifying_quantity>1)return!0}return!1},discountGroupText(e,o){if(e.products_count>1||e.products_count===1&&e.qualifying_quantity===1){let r=this.$t("links.Buy any {quantity} get {discount} off",{quantity:e.qualifying_quantity,discount:e.discount+"%"});return o.exclude_from_discounts_in_uk?r+=" (discount restrictions apply in the UK)":o.is_restricted&&(r+=" (discount restrictions apply in "+o.restricted_from_country+")"),r}else if(e.products_count===1&&e.qualifying_quantity>1){let r=this.$t("Buy {quantity} or more get {discount} off",{quantity:e.qualifying_quantity,discount:e.discount+"%"});return o.exclude_from_discounts_in_uk&&(r+=" (discount restrictions apply in the UK)"),o.is_restricted&&(r+=" (discount restrictions apply in "+o.restricted_from_country+")"),r}return null},truncate(e,o){return e.length>o?e.substring(0,o)+"...":e},navigateToProduct(e){return"/"+this.$i18n.locale+"/"+this.$t("routes.shop")+"/"+e.slug},translateColor(e){const o=Object.keys(W);for(const r of o){let m=Object.keys(W[r]);for(const i of m)if(W[r][i]===e)return i==="base"?"bg-"+r:"bg-"+r+"-"+i.substring(0,i.length-1)+"-"+i.slice(-1)}},navigate(e,o){this.$router.push({name:e,params:o})},navigateWithLocale(e,o){return"/"+this.$i18n.locale+"/"+this.$t("routes."+e)+"/"+this.$t("routes."+o)},goToFaq(e){this.$router.push({name:"faq",params:{slug:e}}).catch(()=>{})},toggleInfoWindow:function(){this.infoOptions.content="<p>Helios Homeopathy Ltd<br>89-97 Camden Rd, Tunbridge Wells<br>Kent TN1 2QR<br>UK</p>",this.infoWinOpen=!0},onIntersectPromos(e){e&&this.showPromos},onIntersectFaqs(e){e&&this.showFaqs===!1&&H.get("https://api.helios.co.uk/api/faqs").then(o=>{this.entries=o.data.data,this.showFaqs=!0}).catch(o=>{console.log(o)})},onIntersectPopular(e){e&&this.showPopular===!1&&H.get("https://api.helios.co.uk/api/latests").then(o=>{this.latest=o.data.data,this.showPopular=!0}).catch(o=>{console.log(o)})},onIntersectOffers(e){e&&H.get("https://api.helios.co.uk/api/offers").then(o=>{this.offers=o.data.data}).catch(o=>{console.log(o)})},onIntersectComments(e){e&&this.showComments===!1&&H.get("https://api.helios.co.uk/api/testimonials").then(o=>{this.testimonials=o.data.data,this.showComments=!0}).catch(o=>{console.log(o)})},onIntersectMap(e){e&&this.showMap===!1&&(this.showMap=!0)},onIntersectTwitter(e){e&&function(o,r,m){var i,l=o.getElementsByTagName(r)[0],f=window.twttr||{};return o.getElementById(m)?f.widgets.load():(i=o.createElement(r),i.id=m,i.src="https://platform.twitter.com/widgets.js",l.parentNode.insertBefore(i,l),f._e=[],f.ready=function(v){f._e.push(v)},f)}(document,"script","twitter-wjs")}}},k=e=>(de("data-v-ea7547e2"),e=e(),pe(),e),Ie={class:"text-h3 text-white carousel-text"},Te={class:"text-h6 mt-0 mb-0",style:{color:"rgba(0,0,0,.6)"}},Pe=k(()=>u("h4",{class:"text-h4"},"Explore our wide range of products",-1)),Se={class:"d-flex flex-column fill-height justify-center align-center"},Me={class:"text-h4 text-lg-h3 mb-3"},Fe={class:"text-h5"},Re={class:"text-body-1 mb-6 promo-summary"},We=k(()=>u("h4",{class:"text-h4 mb-0 mb-lg-6 mt-3 mt-lg-6"},"New and Popular Products",-1)),Le=k(()=>u("h4",{class:"text-h4 mb-0 mb-lg-6 mt-3 mt-lg-6"},"Latest Offers",-1)),je={class:"text-subtitle-1 font-weight-bold mt-3"},Ae={class:"text-red"},Ne={class:"text-subtitle-1"},Be={class:"text-subtitle-1"},Oe=k(()=>u("a",{href:"mailto:pharmacy@helios.co.uk"},"pharmacy@helios.co.uk",-1)),Ue=["innerHTML"],Ke=k(()=>u("iframe",{src:"https://snapwidget.com/embed/1041258",class:"snapwidget-widget",allowtransparency:"true",frameborder:"0",scrolling:"no",style:{border:"none",overflow:"hidden","border-radius":"5px",width:"100%",height:"500px"}},null,-1)),De=k(()=>u("p",{class:"text-body-1"},[c(" Helios Homeopathy Ltd"),u("br"),c(" 89-97 Camden Rd, Tunbridge Wells"),u("br"),c(" Kent TN1 2QR"),u("br"),c(" UK ")],-1));function Ee(e,o,r,m,i,l){const f=p("RemedyFinder"),v=p("swiper-slide"),R=p("swiper"),N=p("router-link"),Q=p("InfoWindow"),z=p("Marker"),$=p("GoogleMap"),G=p("Footer");return n(),x("div",null,[s(X,{cycle:"",height:"400","hide-delimiters":"","show-arrows":"hover","next-icon":"mdi-chevron-right","prev-icon":"mdi-chevron-left"},{default:t(()=>[(n(!0),x(V,null,q(l.carouselItems,(a,g)=>(n(),d(se,{key:"carousel"+g,src:a.src,eager:"",cover:""},{default:t(()=>[s(L,{color:"transparent",height:"100%"},{default:t(()=>[s(I,{class:"fill-height",align:"center",justify:"center"},{default:t(()=>[u("div",Ie,h(a.text),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"]))),128))]),_:1}),s(_,{class:"mx-auto","max-width":"1200",flat:""},{default:t(()=>[s(y,null,{default:t(()=>[u("p",Te,h(e.$t("Homeopathy is a natural, gentle and effective system of medicine that works on the principle that 'like cures like'. Homeopathy treats each person as a unique individual with the aim of stimulating their own healing ability. A homeopath selects the most appropriate medicine based on the individual's specific symptoms and personal level of health.")),1)]),_:1})]),_:1}),s(O,{class:"text-left"},{default:t(()=>[s(I,null,{default:t(()=>[s(b,{cols:"12"},{default:t(()=>[s(f)]),_:1})]),_:1})]),_:1}),s(_,{elevation:"3",class:"mb-6 mt-6"},{default:t(()=>[i.promos.collections&&i.promos.collections.length>0?(n(),d(y,{key:0},{default:t(()=>[s(oe,{lines:"one",class:"mb-3"},{actions:t(()=>[s(T,{variant:"tonal",color:"primary",class:"pr-10 pl-10 mb-3",onClick:o[0]||(o[0]=a=>l.navigate("shop",{}))},{default:t(()=>[c("Shop all")]),_:1})]),default:t(()=>[s(ae,null,{default:t(()=>[Pe]),_:1})]),_:1}),s(R,{cssMode:!0,slidesPerView:1,spaceBetween:30,pagination:!1,modules:i.modules,class:"promoSwiper",navigation:!1,mousewheel:!0,keyboard:!0,autoplay:{delay:1e4,pauseOnMouseEnter:!0},loop:!0},{default:t(()=>[(n(!0),x(V,null,q(i.promos.collections,(a,g)=>(n(),d(v,{key:g},{default:t(()=>[s(I,{class:"ma-0 d-none d-md-flex"},{default:t(()=>[s(b,{class:"pa-0"},{default:t(()=>[s(P,{height:l.promoHeight,"min-height":l.promoMinHeight,class:"white--text align-end",src:l.imagesHost+"/assets/promo-medium/"+a.path,srcset:l.imagesHost+"/assets/promo-large/"+a.path+" 2x",eager:!0},null,8,["height","min-height","src","srcset"])]),_:2},1024),s(b,{class:j("text-center pa-6 "+l.translateColor(a.promo_colour))},{default:t(()=>[u("div",Se,[u("h5",Me,h(a.promo_text),1),u("p",Fe,h(a.subtitle),1),u("p",Re,h(a.summary),1),s(T,{class:j(l.translateColor(a.promo_colour)),variant:"outlined",onClick:C=>l.navigate("collection",{slug:a.slug})},{default:t(()=>[c("Shop now")]),_:2},1032,["class","onClick"])])]),_:2},1032,["class"])]),_:2},1024),s(_,{class:j("text-left d-block d-md-none "+l.translateColor(a.promo_colour)),width:"100%"},{default:t(()=>[s(P,{width:"100%",class:"white--text align-end",src:l.imagesHost+"/"+a.path,srcset:l.imagesHost+"/"+a.path+" 2x"},null,8,["src","srcset"]),s(S,null,{default:t(()=>[c(h(a.promo_text),1)]),_:2},1024),s(le,null,{default:t(()=>[c(h(a.subtitle),1)]),_:2},1024),s(U,{class:"flex justify-end"},{default:t(()=>[s(T,{class:"float-right",variant:"outlined",onClick:C=>l.navigate("collection",{slug:a.slug})},{default:t(()=>[c("Shop now")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["class"])]),_:2},1024))),128))]),_:1},8,["modules"])]),_:1})):w("",!0),M((n(),d(y,null,{default:t(()=>[s(S,{class:"text-center"},{default:t(()=>[We]),_:1}),s(R,{cssMode:!0,slidesPerView:l.slidesPerView,spaceBetween:30,pagination:{clickable:!0},modules:i.modules,navigation:!0,mousewheel:!0,keyboard:!0,autoplay:!1,class:"popularSwiper"},{default:t(()=>[i.latest.length>0?(n(!0),x(V,{key:0},q(i.latest,(a,g)=>(n(),d(v,{key:"latest-"+g},{default:t(()=>[s(L,{width:"100%",height:"100%",color:"white"},{default:t(()=>[s(N,{class:"no-underline",hreflang:e.$i18n.locale,to:l.latestRoute(a)},{default:t(()=>[a.path?(n(),d(P,{key:0,class:"mb-6",height:"150px",src:l.imagesHost+"/"+a.path,srcset:l.imagesHost+"/"+a.path+" 2x",eager:!0},null,8,["src","srcset"])):w("",!0),u("div",null,h(a.name),1)]),_:2},1032,["hreflang","to"])]),_:2},1024)]),_:2},1024))),128)):w("",!0)]),_:1},8,["slidesPerView","modules"])]),_:1})),[[F,l.onIntersectPopular]]),M((n(),d(y,null,{default:t(()=>[s(S,{class:"text-center"},{default:t(()=>[Le]),_:1}),s(R,{cssMode:!0,slidesPerView:l.slidesPerView,spaceBetween:30,pagination:{clickable:!0},modules:i.modules,navigation:!0,mousewheel:!0,keyboard:!0,autoplay:!1,class:"offersSwiper"},{default:t(()=>[i.offers.length>0?(n(!0),x(V,{key:0},q(i.offers,(a,g)=>(n(),d(v,{key:"latest-"+g},{default:t(()=>[s(L,{width:"100%",height:"100%",color:"white"},{default:t(()=>[s(N,{class:"no-underline",hreflang:e.$i18n.locale,to:l.navigateToProduct(a.product)},{default:t(()=>[a.product.path?(n(),d(P,{key:0,class:"mb-6",height:"150px",src:l.imagesHost+"/"+a.product.path,srcset:l.imagesHost+"/"+a.product.path+" 2x",eager:!0},null,8,["src","srcset"])):w("",!0),u("div",je,h(a.product.name),1)]),_:2},1032,["hreflang","to"]),l.hasDiscountGroupText(a.product)?(n(),d(ie,{key:0,class:"pa-0"},{default:t(()=>[(n(!0),x(V,null,q(a.product.discount_groups,C=>(n(),d(A,{key:C.slug,onClick:Qe=>l.navigate("discount",{slug:C.slug})},{default:t(()=>[u("span",Ae,h(l.discountGroupText(C,a.product)),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)):w("",!0)]),_:2},1024)]),_:2},1024))),128)):w("",!0)]),_:1},8,["slidesPerView","modules"])]),_:1})),[[F,l.onIntersectOffers]])]),_:1}),s(O,{class:"text-left"},{default:t(()=>[s(I,null,{default:t(()=>[s(b,{cols:"12",md:"4",xs:"12"},{default:t(()=>[M((n(),d(_,{class:"mx-auto",color:"transparent",height:"485px"},{default:t(()=>[s(A,null,{default:t(()=>[s(K,{class:"text-h5"},{default:t(()=>[s(D,{color:"#f6a600",class:"mr-4"},{default:t(()=>[s(E,{size:"25",color:"white"},{default:t(()=>[c("mdi-chat-question")]),_:1})]),_:1}),c(" "+h(e.$t("headings.Frequently asked questions")),1)]),_:1})]),_:1}),s(y,null,{default:t(()=>[u("p",Ne,h(e.$t("View our list of frequently asked questions relating to our service to you.")),1),s(re,null,{default:t(()=>[s(ne,{modelValue:i.select,"onUpdate:modelValue":o[1]||(o[1]=a=>i.select=a),items:i.entries,"item-title":"question","item-value":"slug",loading:i.entries.length===0,color:"#34498e",placeholder:e.$t("placeholder.Start typing to search"),"return-object":"",clearable:""},null,8,["modelValue","items","loading","placeholder"])]),_:1}),u("p",Be,[c(h(e.$t("or email us at"))+" ",1),Oe])]),_:1})]),_:1})),[[F,l.onIntersectFaqs]]),s(ue,{modelValue:i.dialogQuestion,"onUpdate:modelValue":o[3]||(o[3]=a=>i.dialogQuestion=a),width:"500"},{default:t(()=>[s(_,null,{default:t(()=>[s(S,{class:"text-h5 bg-grey-lighten-2 text-left",style:{"word-break":"normal"}},{default:t(()=>[c(h(this.faq.question),1)]),_:1}),s(y,{class:"text-left"},{default:t(()=>[u("span",{innerHTML:this.faq.answer},null,8,Ue)]),_:1}),s(he),s(U,null,{default:t(()=>[s(ce),s(T,{color:"primary",text:"",onClick:o[2]||(o[2]=a=>i.dialogQuestion=!1)},{default:t(()=>[c(h(e.$t("buttons.Close")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),s(b,null,{default:t(()=>[s(_,{class:"mx-auto",color:"transparent",height:"485px"},{default:t(()=>[Ke]),_:1})]),_:1}),s(b,{cols:"12",md:"4",xs:"12"},{default:t(()=>[s(_,{class:"mx-auto",color:"transparent",height:"485px"},{default:t(()=>[s(A,null,{default:t(()=>[s(K,{class:"text-h5"},{default:t(()=>[s(D,{color:"#f6a600",class:"mr-4"},{default:t(()=>[s(E,{size:"25",color:"white"},{default:t(()=>[c("mdi-google-maps")]),_:1})]),_:1}),c(" "+h(e.$t("headings.Find us")),1)]),_:1})]),_:1}),M((n(),d(y,null,{default:t(()=>[s($,{"api-key":"AIzaSyAFEYQR9WYZ8ZsWnN3Hqxf34FMGSCCU6l4",style:{width:"100%",height:"400px"},center:{lat:51.1362,lng:.268959},zoom:14},{default:t(()=>[s(z,{options:{position:{lat:51.1362,lng:.268959}}},{default:t(()=>[s(Q,{options:{position:{lat:51.1362,lng:.268959}}},{default:t(()=>[De]),_:1})]),_:1})]),_:1})]),_:1})),[[F,l.onIntersectMap]])]),_:1})]),_:1})]),_:1})]),_:1}),l.isNotTest?(n(),d(G,{key:0})):w("",!0),(n(),d(te,{to:"head"},[(n(),d(ee("script"),{type:"application/ld+json"},{default:t(()=>[c(h(l.jsonLd),1)]),_:1}))]))])}const tt=Y(qe,[["render",Ee],["__scopeId","data-v-ea7547e2"]]);export{tt as default}; //# sourceMappingURL=Home-CweINsuF.js.map