import{d as H,H as f,G as B,au as C,z as M,aW as N,r as R,h as u,o as i,i as t,C as b,t as m,j as p,q as h,k as n,_ as P,v as z,m as T,f as L,bE as v,l as O,bC as $}from"./Cvzsf6pb.js";import{_ as x}from"./x6YIWJUm.js";import{_ as j}from"./B3TJSbpd.js";const w={class:"landing-hero"},I={class:"landing-hero__text"},V=["innerHTML"],E={class:"landing-hero__buttons"},S={key:0,class:"landing-hero__login-action"},q=["href","data-analytics-label"],D={class:"landing-hero__image"},F=H({__name:"AppLandingHeroPaper",props:{title:{},description:{}},setup(y){const{brandCode:c,brandType:e}=f(),{phoneNumber:s}=B(),{getPipLoginUrl:r}=C(),{t:l}=M(),a=N({tag:"button",text:l("components.appLandingHeroPaper.call"),href:""}),_=R(!1);function d(){_.value=!0,a.href=`tel:${s.value}`,a.text=l("labels.callPhoneNumber",[s.value]),a.tag="a"}return(o,k)=>{const g=P,A=x;return i(),u("div",w,[t("div",I,[t("h1",null,m(o.title),1),t("div",{innerHTML:o.description},null,8,V),t("div",E,[p(g,{href:n(r)({email:""}),"data-testid":"landingHeroOnlineBtn",tag:"a",text:o.$t("components.appLandingHeroPaper.online"),"data-analytics-category":"element_tracking","data-analytics-action":"button_click","data-analytics-label":o.$t("components.appLandingHeroPaper.online")},null,8,["href","text","data-analytics-label"]),(i(),h(g,z(n(a),{key:n(a).text,"data-testid":"landingHeroCallBtn",variant:"secondary","data-analytics-category":"element_tracking","data-analytics-action":"button_click","data-analytics-label":n(a).text,onClick:d}),null,16,["data-analytics-label"]))]),n(_)?(i(),u("div",S,[t("p",null,m(o.$t("components.appLandingHeroPaper.busy")),1),n(e)==="paper"?(i(),u("a",{key:0,href:n(r)({email:""}),"data-analytics-category":"element_tracking","data-analytics-action":"button_click","data-analytics-label":o.$t("components.appLandingHeroPaper.login")},m(o.$t("components.appLandingHeroPaper.login")),9,q)):b("",!0)])):b("",!0)]),t("div",D,[p(A,{"brand-code":n(c),width:"178",height:"223",alt:""},null,8,["brand-code"])])])}}}),G=Object.assign(T(F,[["__scopeId","data-v-fdd3f9e7"]]),{__name:"AppLandingHeroPaper"}),U={class:"landing-hero"},W={class:"landing-hero__text"},J=["innerHTML"],K={class:"landing-hero__buttons"},Q={class:"landing-hero__image"},X=H({__name:"AppLandingHeroMagazine",props:{title:{},description:{}},setup(y){const{brandCode:c,brandIsFormal:e}=f(),{phoneNumber:s}=B(),{handleLoginBtnClick:r}=C(),l=y,a=L(()=>v(l.title,!e.value)),_=L(()=>v(l.description,!e.value));return(d,o)=>{const k=P,g=x;return i(),u("div",U,[t("div",W,[t("h1",null,m(n(a)),1),t("div",{innerHTML:n(_)},null,8,J),t("div",K,[p(k,{tag:"a",href:`tel:${n(s)}`,text:d.$t("labels.callPhoneNumber",[n(s)]),"data-testid":"landingHeroCallBtn","data-analytics-category":"element_tracking","data-analytics-action":"button_click","data-analytics-label":d.$t("labels.callPhoneNumber",[n(s)])},null,8,["href","text","data-analytics-label"]),p(k,{"data-testid":"landingHeroOnlineBtn",tag:"button",variant:"secondary",text:d.$t("components.appLandingHeroMagazine.login"),"data-analytics-category":"element_tracking","data-analytics-action":"button_click","data-analytics-label":d.$t("components.appLandingHeroMagazine.login"),onClick:n(r)},null,8,["text","data-analytics-label","onClick"])])]),t("div",Q,[p(g,{"brand-code":n(c),width:"178",height:"223",alt:""},null,8,["brand-code"])])])}}}),Y=Object.assign(T(X,[["__scopeId","data-v-2a51dc1e"]]),{__name:"AppLandingHeroMagazine"}),Z=H({__name:"RetLoginHeroBlok",props:{blok:{}},setup(y){const{brandType:c}=f();return(e,s)=>{const r=G,l=Y,a=j;return i(),h(a,{"is-paddingless":"","is-backgroundless":""},{default:O(()=>[n(c)==="paper"?(i(),h(r,{key:0,id:"landing-hero",title:e.blok.title||"",description:("renderRichText"in e?e.renderRichText:n($))(e.blok.description)||""},null,8,["title","description"])):b("",!0),n(c)==="magazine"?(i(),h(l,{key:1,id:"landing-hero",title:e.blok.title||"",description:("renderRichText"in e?e.renderRichText:n($))(e.blok.description)||""},null,8,["title","description"])):b("",!0)]),_:1})}}}),an=Object.assign(Z,{__name:"RetLoginHeroBlok"});export{an as default}; //# sourceMappingURL=DeMOzvJM.js.map