1import{P as r,U as o,V as e,M as n,u as s,Y as a,b as S,l as j,$ as F,z as H,S as B}from"./B9WjbkLb.js";import T from"./CN_Obp83.js";import C from"./CQsczvyr.js";import{a as N,b as U,h as q,c as A,a9 as P,i as R,F as D}from"./3Ps77TiH.js";import{r as E,l as I}from"./D3pctV-p.js";const G={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"26",fill:"none"};function O(d,t){return r(),o("svg",G,t[0]||(t[0]=[e("path",{stroke:"#000","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.5",d:"M10.375 22.455a2.25 2.25 0 0 1-4.5 0m4.5 0a2.25 2.25 0 1 0-4.5 0m4.5 0h9m-13.5 0H3.063a1.687 1.687 0 0 1-1.688-1.687v-5.062m25.875 6.75a2.25 2.25 0 0 1-4.5 0m4.5 0a2.25 2.25 0 1 0-4.5 0m4.5 0 1.688-.001c.931 0 1.693-.756 1.635-1.687a26.86 26.86 0 0 0-4.82-13.789 3.08 3.08 0 0 0-2.369-1.29h-4.009m3.375 16.766h-3.375m0-16.765V4.252a1.66 1.66 0 0 0-1.48-1.659 73 73 0 0 0-7.52-.388c-2.54 0-5.048.132-7.52.388a1.66 1.66 0 0 0-1.48 1.66v11.453m18-10.016v10.016m0 6.75v-6.75m0 0h-18"},null,-1)]))}const W={render:O},Y={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"26",fill:"none"};function J(d,t){return r(),o("svg",Y,t[0]||(t[0]=[e("path",{stroke:"#000","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.5",d:"M1.375 7.705h29.25M1.375 8.83h29.25m-24.75 7.875h9m-9 3.375h4.5m-5.625 4.5h22.5a3.375 3.375 0 0 0 3.375-3.375V5.455A3.375 3.375 0 0 0 27.25 2.08H4.75a3.375 3.375 0 0 0-3.375 3.375v15.75A3.375 3.375 0 0 0 4.75 24.58"},null,-1)]))}const K={render:J},Q={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"33",fill:"none"};function X(d,t){return r(),o("svg",Q,t[0]||(t[0]=[e("path",{fill:"#000",d:"m15 1.705.63-1.08L15 .258l-.63.367zM28.5 9.58h1.25a1.25 1.25 0 0 0-.62-1.08zm-27 0L.87 8.5a1.25 1.25 0 0 0-.62 1.08zM15 30.955l-.63 1.08.63.367.63-.367zM1.5 23.08H.25v.718l.62.362zm27 0 .63 1.08.62-.362v-.718zM14.37 2.785l13.5 7.875 1.26-2.16L15.63.625zM2.13 10.66l13.5-7.875-1.26-2.16L.87 8.5zm13.5 5.715L2.13 8.5.87 10.66l13.5 7.875zM27.87 8.5l-13.5 7.875 1.26 2.16 13.5-7.875zm-14.12 8.955v13.5h2.5v-13.5zm1.88 12.42L2.13 22 .87 24.16l13.5 7.875zM27.87 22l-13.5 7.875 1.26 2.16 13.5-7.875zM2.75 23.08V9.58H.25v13.5zm27 0V9.58h-2.5v13.5zm-20.82-8.7 12.75-8.25-1.36-2.1-12.75 8.25z"},null,-1)]))}const Z={render:X},ee={xmlns:"http://www.w3.org/2000/svg",width:"26",height:"33",fill:"none"};function te(d,t){return r(),o("svg",ee,t[0]||(t[0]=[e("path",{stroke:"#000","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.5",d:"M7.375 12.955h7.313a3.938 3.938 0 0 1 0 7.875H13m-5.625-7.875L10.75 9.58m-3.375 3.375 3.375 3.375m13.5-10.864v25.49l-5.625-2.25L13 30.955l-5.625-2.25-5.625 2.25V5.465c0-1.662 1.21-3.086 2.86-3.277A73 73 0 0 1 13 1.705c2.838 0 5.638.164 8.39.484 1.65.191 2.86 1.615 2.86 3.277"},null,-1)]))}const se={render:te},le={class:"w-full flex justify-center py-8 md:py-14 text-xs md:text-sm font-medium"},ne={class:"flex flex-col md:max-w-6xl grid grid-cols-2 md:grid-cols-4 gap-4 text-center"},ae={class:"flex pb-4 md:pb-0 items-center flex-col px-4"},re={class:"h-20 aspect-square flex items-center justify-center bg-neutral-50 rounded-full mb-4"},oe={class:"max-w-44"},ie={class:"flex pb-4 md:pb-0 items-center flex-col px-4"},ce={class:"h-20 aspect-square flex items-center justify-center bg-neutral-50 rounded-full mb-4"},me={class:"max-w-44"},de={class:"flex pb-4 md:pb-0 items-center flex-col px-4"},ue={class:"h-20 aspect-square flex items-center justify-center bg-neutral-50 rounded-full mb-4"},he={class:"max-w-44"},_e={class:"flex items-center flex-col"},pe={class:"h-20 aspect-square flex items-center justify-center bg-neutral-50 rounded-full mb-4"},fe={class:"max-w-44"},je={__name:"GuaranteeTags",setup(d){return(t,p)=>(r(),o("div",le,[e("div",ne,[e("div",ae,[e("div",re,[n(s(se))]),e("h4",oe,a(t.$t("guarantee_returns")),1)]),e("div",ie,[e("div",ce,[n(s(Z))]),e("h4",me,a(t.$t("guarantee_items_sold")),1)]),e("div",de,[e("div",ue,[n(s(K))]),e("h4",he,a(t.$t("guarantee_safe")),1)]),e("div",_e,[e("div",pe,[n(s(W))]),e("h4",fe,a(t.$t("guarantee_delivery")),1)])])]))}},xe={class:"bg-neutral-50 py-8 md:py-16 w-full flex justify-center"},we={class:"mr-2 flex-1"},ge={class:"text-neutral-800 pb-2 font-bold uppercase"},ve={class:"text-neutral-400 text-sm pb-5 md:max-w-80"},be={class:"flex flex-col flex-1"},$e={class:"md:flex items-end lg:items-center"},ke={key:0,id:"email-help",class:"p-error pt-2"},ye=["innerHTML"],Fe={__name:"Newsletter",setup(d){const{t}=N(),p=U(),{$api:g,$toast:i}=q(),{track:v}=A(),{trackFB:b}
1=P(),h=S(!1),f={email:"email|required"},{handleSubmit:$,defineField:k,meta:y,errors:x}=R({validationSchema:f,initialValues:{email:""}}),[u]=k("email");function z(l){const c=p("terms");return l.replace("[startUnderline]","<u>").replace("[endUnderline]","</u>").replace("[startLink]",'<a href="'.concat(c,'">')).replace("[endLink]","</a>")}const M=j(()=>z(t("newsletter_agreement"))),w=$((l,c)=>{h.value=!0,g.contactUs.subscribeToNewsletter(l).then(m=>{v("form_submit",{form_name:"form-newsletter",user_data:{email_address:u.value}}),m.status==="success"&&(i==null||i.add({status:"SUCCESS",summary:t("success_toaster"),detail:m.message,life:8e3}),b("Lead",{user_data:{email:u.value}}),c.resetForm()),h.value=!1}).catch(m=>{var _;i==null||i.add({status:"ERROR",summary:t("error_oh_no"),detail:((_=m.data)==null?void 0:_.message)||"Something went wrong!",life:8e3}),h.value=!1})});return(l,c)=>{const m=T,_=C,L=D;return r(),o("div",xe,[n(L,{name:"form-newsletter","validation-schema":f,class:"flex flex-col md:flex-row max-w-6xl w-full justify-start px-4 mx-0",onSubmit:s(w)},{default:F(()=>[e("div",we,[e("h5",ge,a(l.$t("newsletter_title")),1),e("p",ve,a(l.$t("newsletter_message")),1)]),e("div",be,[e("div",$e,[n(m,{modelValue:s(u),"onUpdate:modelValue":c[0]||(c[0]=V=>H(u)?u.value=V:null),name:"email",placeholder:"".concat(l.$t("email_long"),"*"),type:"text",pt:s(E),class:"mb-2 md:mb-0 mr-2 bg-white"},null,8,["modelValue","placeholder","pt"]),n(_,{name:"btn-submit-newsletter",type:"submit",loading:s(h),label:l.$t("newsletter_apply"),pt:s(I),icon:"pi pi-bell",class:"w-full md:max-w-fit",onClick:s(w)},null,8,["loading","label","pt","onClick"])]),s(x).email&&s(y).touched?(r(),o("small",ke,a(s(x).email),1)):B("",!0),e("p",{class:"text-neutral-400 text-xs pt-2 text-center",innerHTML:s(M)},null,8,ye)])]),_:1},8,["onSubmit"])])}}};export{je as _,Fe as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.