(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-37eff0f7"],{"0704":function(e,t,c){e.exports=c.p+"img/book.01c0daa5.jpg"},"11d9":function(e,t,c){"use strict";c.d(t,"a",(function(){return o}));var n=c("c1df"),l=c.n(n);const o=(e,t="DD/MM/YYYY")=>e&&e.toString().length>0?l()(e).format(t):e},"3b14":function(e,t,c){"use strict";c.r(t);var n=c("f2bf"),l=c("b49a"),o=c.n(l),a=c("919f"),r=c.n(a);const i={class:"flex flex-col justify-between"},s={class:"flex-1 overflow-hidden"},b={key:0,class:"text-md text-left w-full border-2 border-red-700 rounded p-2 mt-5"},d={class:"font-bold text-lg text-center"},m=["innerHTML"],u=["innerHTML"],p={class:"flex flex-col lg:flex-row items-center lg:items-stretch space-x-0 lg:space-x-2 mb-2"},f={class:"flex-1 mb-4 lg:mb-0 lg:pr-6 bg-white p-6 rounded shadow-lg flex items-center justify-center"},g={class:"text-center lg:text-center"},j={class:"text-2xl font-semibold text-gray-900"},O={class:"text-left text-lg mt-4 text-gray-600"},k={class:"flex justify-center items-center gap-2"},h={href:"/#/auth/signup",class:"primary mt-4 inline-block px-8 py-3 text-lg text-white bg-primary-600 rounded-lg hover:bg-primary-700"},x={href:"/#/about",class:"primary mt-4 inline-block px-8 py-3 text-lg text-white bg-primary-600 rounded-lg hover:bg-primary-700"},v={class:"w-full lg:w-1/2 relative p-4 rounded shadow-lg"},w=["src","alt"],y={key:0,class:"w-full h-half object-cover mt-4",src:o.a,alt:"Mobile Landing Image"},E={key:1,class:"w-full h-half object-cover",src:r.a,alt:"Landing Image"};function B(e,t,c,l,o,a){return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",i,[Object(n["createElementVNode"])("main",s,[e.otherDiscounts&&e.otherDiscounts.length>0?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",b,[Object(n["createElementVNode"])("div",d,Object(n["toDisplayString"])(e.$t("discounts.title")),1),(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(e.otherDiscounts,(t,c)=>(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{key:c},[Object(n["createElementVNode"])("span",{innerHTML:e.$t(t.description+"_home",{percent:t.percentValue,static:t.staticValue}),class:"me-1"},null,8,m),t.endDateToJoin?(Object(n["openBlock"])(),Object(n["createElementBlock"])("span",{key:0,innerHTML:e.$t("discounts.valid",{validTo:e.formatDateFun(new Date(t.endDateToJoin))})},null,8,u)):Object(n["createCommentVNode"])("",!0)]))),128))])):Object(n["createCommentVNode"])("",!0),Object(n["createElementVNode"])("section",p,[Object(n["createElementVNode"])("div",f,[Object(n["createElementVNode"])("div",g,[Object(n["createElementVNode"])("h2",j,Object(n["toDisplayString"])(e.$t("homepage.header")),1),Object(n["createElementVNode"])("p",O,Object(n["toDisplayString"])(e.$t("homepage.text")),1),Object(n["createElementVNode"])("div",k,[Object(n["createElementVNode"])("a",h,Object(n["toDisplayString"])(e.trial&&e.trial.trial_weeks?e.$t("nav.buttonStart",{weeks:e.trial.trial_weeks}):e.$t("nav.buttonStartNoTrial")),1),Object(n["createElementVNode"])("a",x,Object(n["toDisplayString"])(e.$t("homepage.learnMore")),1)])])]),Object(n["createElementVNode"])("div",v,[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(e.images,(t,c)=>Object(n["withDirectives"])((Object(n["openBlock"])(),Object(n["createElementBlock"])("img",{key:c,class:"w-full h-full object-contain",src:t.src,alt:t.alt},null,8,w)),[[n["vShow"],e.currentSlide===c]])),128))])])]),e.isMobile?(Object(n["openBlock"])(),Object(n["createElementBlock"])("img",y)):(Object(n["openBlock"])(),Object(n["createElementBlock"])("img",E))])}var D=c("5502"),V=c("11d9"),N=Object(n["defineComponent"])({components:{},setup(){const e=Object(D["b"])(),t=Object(n["computed"])(()=>window.innerWidth<768),l=Object(n["computed"])(()=>e.state.discounts?e.state.discounts.find(e=>e.trial_weeks&&e.trial_weeks>0):null),o=Object(n["computed"])(()=>e.state.discounts?e.state.discounts.filter(e=>!e.trial_weeks):[]),a=Object(n["ref"])(0);let r;const i=[{src:c("0704"),alt:"Image Slide Book Generator"}],s=()=>{a.value{a.value>0?a.value--:a.value=i.length-1,m(),d()},d=()=>{r=setInterval(()=>{s()},5e3)},m=()=>{r&&(clearInterval(r),r=void 0)},u=e=>Object(V["a"])(e);return Object(n["onMounted"])(()=>{d()}),Object(n["onUnmounted"])(()=>{m()}),{currentSlide:a,images:i,nextSlide:s,prevSlide:b,formatDateFun:u,isMobile:t,trial:l,otherDiscounts:o}}}),S=(c("62bf"),c("d959")),M=c.n(S);const L=M()(N,[["render",B]]);t["default"]=L},"62bf":function(e,t,c){"use strict";c("f0c4")},"919f":function(e,t,c){e.exports=c.p+"img/landing.2a021616.png"},b49a:function(e,t,c){e.exports=c.p+"img/banermobile.ee1a1e71.png"},f0c4:function(e,t,c){}}]); //# sourceMappingURL=chunk-37eff0f7.3e30ea00.js.map