(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5339,7505],{5440:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(37876),s=n(25263),a=n.n(s);let i=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:a().container,children:t})}},5663:(e,t,n)=>{"use strict";n.d(t,{Go:()=>v,WH:()=>T,uP:()=>N,_m:()=>S,wz:()=>L,Vq:()=>y,Rz:()=>A,sm:()=>B,PJ:()=>C,Lv:()=>w,oG:()=>b,Vs:()=>j,jX:()=>k,bl:()=>x,hm:()=>I,Xl:()=>M});var r,s,a="blockquote",i="block",l="code",o="heading",c="inlineItem",d="itemLink",u="link",m="listItem",h="list",p="paragraph",_="root",g="span",f="thematicBreak";function v(e){return"children"in e}function y(e){return e.type===o}function x(e){return e.type===g}function k(e){return e.type===_}function j(e){return e.type===p}function w(e){return e.type===h}function b(e){return e.type===m}function N(e){return e.type===a}function T(e){return e.type===i}function S(e){return e.type===l}function C(e){return e.type===u}function B(e){return e.type===d}function A(e){return e.type===c}function M(e){return e.type===f}function I(e){return e&&"value"in e&&L(e.value)}function L(e){return e&&"schema"in e&&"document"in e}(r={})[a]=[p],r[i]=[],r[l]=[],r[o]="inlineNodes",r[c]=[],r[d]="inlineNodes",r[u]="inlineNodes",r[m]=[p,h],r[h]=[m],r[p]="inlineNodes",r[_]=[a,l,h,p,o,i,f],r[g]=[],r[f]=[],(s={})[a]=["children","attribution"],s[i]=["item"],s[l]=["language","highlight","code"],s[o]=["level","children","style"],s[c]=["item"],s[d]=["item","children","meta"],s[u]=["url","children","meta"],s[m]=["children"],s[h]=["style","children"],s[p]=["children","style"],s[_]=["children"],s[g]=["value","marks"],s[f]=[]},6687:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(37876);n(14232);var s=n(61019);let a=e=>{let{content:t}=e;return(0,r.jsx)("div",{className:"rich-text",dangerouslySetInnerHTML:{__html:[s.bP].reduce((e,t)=>t(e),t)}})}},13813:e=>{e.exports={root:"SaveTag_root__LNFJH",large:"SaveTag_large__Hlqfj"}},16243:(e,t,n)=>{"use strict";n.d(t,{x:()=>a});var r=n(37876),s=n(14232);let a=e=>{let{children:t}=e,[n,a]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{let e=()=>{a(!0),window.removeEventListener("scroll",e)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),n)?(0,r.jsx)("div",{children:t}):null}},16867:e=>{e.exports={reviews:"InlineSummary_reviews__skCBe",reviewsSmall:"InlineSummary_reviewsSmall__34rxb",stars:"InlineSummary_stars__bhh2p",logo:"InlineSummary_logo__Oi3iO",starsIcons:"InlineSummary_starsIcons__iCK7g",starsText:"InlineSummary_starsText__i_kxu",starsTextCarousel:"InlineSummary_starsTextCarousel__LFkaO"}},17505:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(37876);n(14232);var s=n(65381),a=n.n(s);let i=e=>{let t=[],n=[],s=e.input||0,i=Math.round(10*s)/10;for(let e=1;e<=Math.floor(i);e+=1)t.push(e);for(let e=1;e<=5-Math.ceil(s);e+=1)n.push(e);let l=Math.round((i-Math.floor(i))*10);return(0,r.jsxs)("div",{className:a().root,children:[t.map(e=>(0,r.jsx)("img",{width:"25",height:"25",src:"https://www.ukmeds.co.uk/images/feefo/feefo-star.svg",alt:"star"},e)),l>0&&(0,r.jsx)("img",{width:"25",height:"25",src:"https://www.ukmeds.co.uk/images/feefo/".concat("feefo-star".concat(l),".svg"),alt:"star"}),n.map(e=>(0,r.jsx)("img",{width:"25",height:"25",src:"https://www.ukmeds.co.uk/images/feefo/feefo-star0.svg",alt:"star"},e))]})}},19471:e=>{e.exports={root:"Placeholder_root__xfkLs",webstory:"Placeholder_webstory__AOrUN",video:"Placeholder_video__H_cJM"}},25038:(e,t,n)=>{"use strict";n.d(t,{vH:()=>i,XX:()=>o,bq:()=>l});var r=n(5663),s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(){for(var e=0,t=0,n=arguments.length;t{e.exports={container:"styles_container__q3nFb"}},26967:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(37876);n(14232);var s=n(35946),a=n(17505),i=n(16867),l=n.n(i),o=n(58103),c=n.n(o),d=n(19666),u=n(17564),m=n(89099);let h="https://www.feefo.com/en-GB/reviews/".concat("uk-meds"),p="ukmeds"===u.YY.EU||"ukmeds"===u.YY.NM?"feefo-white-yellow.svg":"feefo-grey-yellow.svg",_=(0,s.Ng)(function(e){return{summary:e.reviews.feefo.summary}})(e=>{let{className:t,propSummary:n,summary:s,size:i="large",logo:o=!0,carousel:_=!1}=e,g=n||s,f=(0,m.useRouter)().asPath.includes("black-friday"),{t:v}=(0,d.B)();return[u.YY.NM,u.YY.PX].includes("ukmeds")?null:(0,r.jsxs)("a",{className:c()(l().reviews,{[l().reviewsSmall]:"small"===i},t),href:h,target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsxs)("div",{className:l().stars,children:[(0,r.jsx)("div",{className:l().starsIcons,children:(0,r.jsx)(a.default,{input:g.rating})}),"large"===i&&(0,r.jsxs)("span",{className:_?l().starsTextCarousel:l().starsText,children:[g.rating," out of 5 - ",g.number_of_reviews," ",v(u.Pd.Reviews)]})]}),o&&(0,r.jsx)("div",{className:l().logo,children:(0,r.jsx)("img",{src:"https://www.ukmeds.co.uk/images/feefo/".concat(f?"feefo-white-yellow.svg":p),alt:"Feefo"})})]})})},45536:(e,t,n)=>{"use strict";n.d(t,{V:()=>d});var r=n(37876),s=n(14232),a=n(19471),i=n.n(a),l=n(58103),o=n.n(l);let c=e=>{let{width:t,height:n,type:s}=e;return""!==s?(0,r.jsx)("div",{className:o()({[i().root]:!0,[i().video]:"video"===s,[i().webstory]:"webstory"===s}),style:{width:t||""}}):t&&n?(0,r.jsx)("div",{className:o()({[i().root]:!0}),style:{width:t,height:n}}):null},d=e=>{let[t,n]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{let e=()=>{n(!0),window.removeEventListener("scroll",e)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),t)?(0,r.jsx)("iframe",{...e}):(0,r.jsx)(c,{width:e.width,height:e.height,type:e.type})}},47829:e=>{e.exports={banner:"SubscriptionsBanner_banner__ZqDJJ",logo:"SubscriptionsBanner_logo__4anMX","discount-badge":"SubscriptionsBanner_discount-badge__g012f",heading:"SubscriptionsBanner_heading__7G5f4","heading-margin":"SubscriptionsBanner_heading-margin__JauyY","subscription-points":"SubscriptionsBanner_subscription-points__QyxQq","subscription-point":"SubscriptionsBanner_subscription-point__n7SMR",icon:"SubscriptionsBanner_icon__SV3jC",link:"SubscriptionsBanner_link__qGgb5"}},48983:e=>{e.exports={timerUnit:"TimeLeft_timerUnit__3Mo74",timer:"TimeLeft_timer__D1v2H",unit:"TimeLeft_unit__fo1Ox",value:"TimeLeft_value__RidrY",valueSeconds:"TimeLeft_valueSeconds__52aLJ",label:"TimeLeft_label__k_cgr"}},57845:e=>{e.exports={countdownTimer:"styles_countdownTimer__OqjYU"}},58649:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/black-friday",function(){return n(76819)}])},61019:(e,t,n)=>{"use strict";n.d(t,{Yp:()=>a,bP:()=>s,i5:()=>r});let r=e=>{let t=document.createElement("a");t.href=e;let n=t.pathname.split("/").filter(Boolean);return["index.php","magento"].indexOf(n[0])>-1?"/".concat(n.slice(1).join("/")):n.includes("uk-meds-plus")?"/customer/meds-plus":"/".concat(n.join("/"))};function s(e){return e&&"string"==typeof e?e.replace(/(https?:\/\/|\/\/)(.+?)\/media/g,"/media"):""}let a=e=>e.replace(/([^:]\/)\/+/g,"$1")},63274:e=>{e.exports={slide:"styles_slide__QM_wR",wrapperBg:"styles_wrapperBg__hpVmf",content:"styles_content__5wmdB",info:"styles_info__DgwQd",infoInner:"styles_infoInner__ZDwh_",reviews:"styles_reviews__v1fnP",slideHeading:"styles_slideHeading__vRzGm",images:"styles_images__1n1jx",imageContainer:"styles_imageContainer__X6rp_",imageCarousel:"styles_imageCarousel__HRy8A","carousel-image":"styles_carousel-image__dQoXX",cta:"styles_cta__y_vbM",ctaBtn:"styles_ctaBtn__YrvZH",nav:"styles_nav__n3aDQ","carousel-loader":"styles_carousel-loader__fgnYk",navItemBlackFriday:"styles_navItemBlackFriday__QKVar",navItem:"styles_navItem__JgdtX","carousel-counter":"styles_carousel-counter__IbHTF",eumeds:"styles_eumeds__THykm"}},63485:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(37876),s=n(62867),a=n(94666);let i=()=>{let{contact:e,socials:t,geo:n}=(0,a.zj)();return(0,r.jsx)(s.Mf,{useAppDir:!0,type:"Pharmacy",id:"https://www.ukmeds.co.uk",name:e.name,description:e.name,url:"https://www.ukmeds.co.uk",telephone:e.phone,address:{streetAddress:e.streetAddress,addressLocality:e.addressLocality,postalCode:e.postalCode,addressCountry:e.addressCountry},geo:{latitude:n.latitude,longitude:n.longitude},images:["".concat("https://www.ukmeds.co.uk","https://www.ukmeds.co.uk/images/").concat("ukmeds","/logo.svg")],openingHours:[{opens:"09:00",closes:"16:00",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}],sameAs:t.map(e=>{let{url:t}=e;return t})})}},64979:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(37876);n(14232);var s=n(13813),a=n.n(s),i=n(58103),l=n.n(i);let o=e=>{let{size:t="small",className:n,children:s}=e;return(0,r.jsx)("div",{className:l()(a().root,{[a().large]:"large"===t},n),children:s})}},65381:e=>{e.exports={root:"ReviewStars_root__4opF1"}},68133:(e,t,n)=>{"use strict";n.d(t,{$:()=>p});var r=n(37876),s=n(68827),a=n.n(s),i=n(47829),l=n.n(i),o=n(58103),c=n.n(o),d=n(64979),u=n(48974),m=n(14232),h=n(65629);let p=e=>{let{items:t,discount:n,className:s,isPrescription:i=!0,showDiscount:o=!0,showLink:p=!1}=e,{heading:_,subHeading:g,subscriptionPoints:f,image:v,discount:y}=t,x=(0,m.useMemo)(()=>i?f:(0,u.A)([...f],[0,2]),[i,f]);return p?(0,r.jsx)(h.A,{className:l().link,href:"/subscriptions",prefetch:!1,children:(0,r.jsxs)("div",{className:c()(l().banner,s),children:[(0,r.jsx)("div",{className:l().logo,children:(0,r.jsx)(a(),{src:v.url,width:v.width,height:v.height,alt:v.alt})}),o&&(0,r.jsx)(d.U,{className:l()["discount-badge"],size:"large",children:y.replace("{DISCOUNT_AMOUNT}",n?n.toString():"10")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:c()(l().heading,l()["heading-margin"]),children:_}),g&&(0,r.jsx)("h4",{className:l().subheading,children:g})]}),(0,r.jsx)("div",{className:l()["subscription-points"],children:x.map(e=>{let{heading:t,description:n,icon:s}=e;return(0,r.jsxs)("div",{className:l()["subscription-point"],children:[(0,r.jsx)("div",{className:l().icon,children:(0,r.jsx)(a(),{src:s.url,width:30,height:30,layout:"responsive",alt:s.alt})}),(0,r.jsx)("h4",{className:l().heading,children:t}),(0,r.jsx)("p",{children:n})]},t)})})]})}):(0,r.jsxs)("div",{className:c()(l().banner,s),children:[(0,r.jsx)("div",{className:l().logo,children:(0,r.jsx)(a(),{src:v.url,width:v.width,height:v.height,alt:v.alt})}),o&&(0,r.jsx)(d.U,{className:l()["discount-badge"],size:"large",children:y.replace("{DISCOUNT_AMOUNT}",n?n.toString():"10")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:c()(l().heading,l()["heading-margin"]),children:_}),(0,r.jsx)("h4",{className:l().subheading,children:g})]}),(0,r.jsx)("div",{className:l()["subscription-points"],children:x.map(e=>{let{heading:t,description:n,icon:s}=e;return(0,r.jsxs)("div",{className:l()["subscription-point"],children:[(0,r.jsx)("div",{className:l().icon,children:(0,r.jsx)(a(),{src:s.url,width:30,height:30,layout:"responsive",alt:s.alt})}),(0,r.jsx)("h4",{className:l().heading,children:t}),(0,r.jsx)("p",{children:n})]},t)})})]})}},68684:e=>{e.exports={container:"styles_container__rwbfW",collapseMob:"styles_collapseMob__CQqpX",content:"styles_content__aAdWv",backgroundImage:"styles_backgroundImage__Znpeo",backgroundImageContainer:"styles_backgroundImageContainer__m25iJ",title:"styles_title__kwwEh",link:"styles_link__d4UNN",links:"styles_links__rhsHf",cta:"styles_cta__Vw2wU",desc:"styles_desc__YL4Cv"}},71287:(e,t,n)=>{"use strict";n.d(t,{d6:()=>u});var r=n(25038),s=n(5663),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;no.createElement(o.Fragment,{key:t},e),renderText:(e,t)=>e};function d(e,t){return(0,o.isValidElement)(e)&&null===e.key?(0,o.cloneElement)(e,{key:t}):e}function u({data:e,renderInlineRecord:t,renderLinkToRecord:n,renderBlock:u,renderText:m,renderNode:h,renderFragment:p,customMarkRules:_,customRules:g,customNodeRules:f,metaTransformer:v}){var y,x,k,j;let w=(y=e,j=(x={adapter:{renderText:m||c.renderText,renderNode:h||c.renderNode,renderFragment:p||c.renderFragment},metaTransformer:v,customMarkRules:_,customNodeRules:[(0,r.bq)(s.Rz,({node:n,key:a})=>{if(!t)throw new r.vH("The Structured Text document contains an 'inlineItem' node, but no 'renderInlineRecord' prop is specified!",n);if(!((0,s.hm)(e)&&e.links))throw new r.vH("The document contains an 'itemLink' node, but the passed data prop is not a Structured Text GraphQL response, or data.links is not present!",n);let i=e.links.find(e=>e.id===n.item);if(!i)throw new r.vH(`The Structured Text document contains an 'inlineItem' node, but cannot find a record with ID ${n.item} inside data.links!`,n);return d(t({record:i}),a)}),(0,r.bq)(s.sm,({node:t,key:a,children:i})=>{if(!n)throw new r.vH("The Structured Text document contains an 'itemLink' node, but no 'renderLinkToRecord' prop is specified!",t);if(!((0,s.hm)(e)&&e.links))throw new r.vH("The document contains an 'itemLink' node, but the passed data prop is not a Structured Text GraphQL response, or data.links is not present!",t);let o=e.links.find(e=>e.id===t.item);if(!o)throw new r.vH(`The Structured Text document contains an 'itemLink' node, but cannot find a record with ID ${t.item} inside data.links!`,t);return d(n({record:o,children:i,transformedMeta:t.meta?(v||l)({node:t,meta:t.meta}):null}),a)}),(0,r.bq)(s.WH,({node:t,key:n})=>{if(!u)throw new r.vH("The Structured Text document contains a 'block' node, but no 'renderBlock' prop is specified!",t);if(!((0,s.hm)(e)&&e.blocks))throw new r.vH("The document contains an 'block' node, but the passed data prop is not a Structured Text GraphQL response, or data.blocks is not present!",t);let a=e.blocks.find(e=>e.id===t.item);if(!a)throw new r.vH(`The Structured Text document contains a 'block' node, but cannot find a record with ID ${t.item} inside data.blocks!`,t);return d(u({record:a}),n)}),...f||g||[]]}).metaTransformer||l,(0,r.XX)(x.adapter,y,i(x.customNodeRules||[],[(0,r.bq)(s.jX,function(e){var t=e.adapter.renderFragment,n=e.key;return t(e.children,n)}),(0,r.bq)(s.Vs,function(e){return(0,e.adapter.renderNode)("p",{key:e.key},e.children)}),(0,r.bq)(s.Lv,function(e){var t=e.adapter.renderNode,n=e.node,r=e.key,s=e.children;return t("bulleted"===n.style?"ul":"ol",{key:r},s)}),(0,r.bq)(s.oG,function(e){return(0,e.adapter.renderNode)("li",{key:e.key},e.children)}),(0,r.bq)(s.uP,function(e){var t=e.adapter.renderNode,n=e.key,r=e.node,s=e.children,a=r.attribution?i(s||[],[t("footer",{key:"footer"},r.attribution)]):s;return t("blockquote",{key:n},a)}),(0,r.bq)(s._m,function(e){var t=e.adapter,n=t.renderNode,r=t.renderText,s=e.key,a=e.node;return n("pre",{key:s,"data-language":a.language},n("code",null,r(a.code)))}),(0,r.bq)(s.PJ,function(e){var t=e.adapter.renderNode,n=e.key,r=e.children,s=e.node,i=s.meta?j({node:s,meta:s.meta}):{};return t("a",a(a({},i||{}),{key:n,href:s.url}),r)}),(0,r.bq)(s.Xl,function(e){return(0,e.adapter.renderNode)("hr",{key:e.key})}),(0,r.bq)(s.Vq,function(e){var t=e.node,n=e.adapter.renderNode,r=e.children,s=e.key;return n("h"+t.level,{key:s},r)}),(k=({customMarkRules:x.customMarkRules||[]}).customMarkRules,(0,r.bq)(s.bl,function(e){var t,n,r,s,a,i,l,o=e.adapter,c=e.key;return(e.node.marks||[]).reduce(function(e,t){if(e){var n=k.find(function(e){return e.appliable(t)});return n?n.apply({adapter:o,key:c,mark:t,children:e}):o.renderNode(function(e){switch(e){case"emphasis":return"em";case"underline":return"u";case"strikethrough":return"del";case"highlight":return"mark";default:return e}}(t),{key:c},e)}},(t=e.node,n=e.key,s=(r=e.adapter).renderNode,a=r.renderText,i=r.renderFragment,0===(l=t.value.split(/\n/)).length?a(t.value,n):i(l.slice(1).reduce(function(e,t,r){return e.concat([s("br",{key:n+"-br-"+r}),a(t,n+"-line-"+r)])},[a(l[0],n+"-line-first")]),n)))}))])));return"string"==typeof w?o.createElement(o.Fragment,null,w):w||null}},72033:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(37876);n(14232);var s=n(35946),a=n(89099),i=n.n(a),l=n(5440),o=n(76067),c=n(52420);let d=/\/+$/,u=/^\/*(.+?)\/*$/;function m(e){let t="".concat(e.replace(d,""),"/");return function(){for(var e=arguments.length,n=Array(e),r=0;r"string"==typeof e?e.replace(u,"$1"):"").join("/")}}let h="/media/catalog/";m("".concat(h,"/product/")),m("".concat(h,"/category/"));var p=n(17564),_=n(19666);let g=(0,s.Ng)(e=>{let{router:t}=i();return{pathname:t?t.pathname:null,categoryList:e.category?e.category.data:null}})(e=>{let{categoryList:t}=e,{t:n}=(0,_.B)(),s=t&&(t||[]).filter(Boolean).slice(0,9).map(e=>e?{image:function(e){if(null===e||""===e)return"";let t=e.split("/").filter(Boolean);return"media"===t[0]&&"catalog"===t[1]&&"category"===t[2]?"/".concat(t.join("/")):"media"===t[2]&&"catalog"===t[3]&&"category"===t[4]?(t.splice(0,2),"/".concat(t.join("/"))):"/".concat(["media","catalog","category"].concat(t).join("/"))}(e.small_image),title:{name:e.name,link:(0,c.u)(e.url_path||"")},links:(e.children?e.children:[]).filter(Boolean).slice(0,3).map(e=>({name:e.name,link:(0,c.u)(e.url_path||"")})),viewAll:(0,c.u)(e.url_path||"")}:null);return(0,r.jsx)("div",{children:s&&(0,r.jsx)(l.A,{children:s.map(e=>e?(0,r.jsx)(o.A,{title:e.title,links:e.links,image:e.image,viewAll:{link:(0,c.u)(e.viewAll),name:n(p.Tu.ViewAll)},collapseMob:!0},e.title.name):null)})})})},74040:(e,t,n)=>{"use strict";n.d(t,{n:()=>v});var r=n(37876),s=n(58103),a=n.n(s),i=n(17564),l=n(86121),o=n(26967),c=n(68827),d=n.n(c),u=n(35946),m=n(63274),h=n.n(m),p=n(89099),_=n(77328),g=n.n(_),f=n(14232);let v=(0,u.Ng)(e=>{let{reviews:t}=e;return{trustpilotSummary:t.trustpilot.summary}})(e=>{var t,n,s,c,u,m,_,g;let{trustpilotSummary:f,firstSlide:v,homeCarousel:x,aToZBlock:k,bg:j,heading:w,subHeading:b,stopCarousel:N=!1,carouselImages:T}=e,S=(0,p.useRouter)().asPath.includes("black-friday"),C="ukmeds"===i.YY.EU||"ukmeds"===i.YY.NM;return(0,r.jsxs)("div",{className:h().root,"data-test-id":"HomeCarousel",children:[(0,r.jsx)(l.mO,{bg:null!=j?j:"no-bg",className:a()({[h().slide]:!0,[h().eumeds]:C}),children:(0,r.jsx)(l.mc,{children:(0,r.jsxs)("div",{className:h().content,children:[(0,r.jsx)("div",{className:h().info,children:(0,r.jsxs)("div",{className:h().infoInner,children:[(0,r.jsx)("h1",{className:h().slideHeading,dangerouslySetInnerHTML:{__html:w}}),b&&(0,r.jsx)("p",{id:"carousel-subheading",dangerouslySetInnerHTML:{__html:b}}),"ukmeds"!==i.YY.NM&&"ukmeds"!==i.YY.PX&&f&&(0,r.jsx)("div",{className:h().reviews,children:"ukmeds"===i.YY.DE?(0,r.jsx)(y,{}):(0,r.jsx)(o.default,{carousel:!0})}),(0,r.jsx)("div",{className:h().cta,children:k.map((e,t)=>{let{buttonText:n,buttonHref:s}=e;return(0,r.jsx)(l.vx,{className:h().ctaBtn,to:s,variant:0===t?"primary":"primary-light",children:n},n)})})]})}),(0,r.jsxs)("div",{className:h().images,children:[(0,r.jsx)("div",{className:a()(h().imageContainer,!N&&h().imageCarousel),children:(0,r.jsx)(d(),{priority:!0,alt:"Choose your treatment",height:513,width:540,src:v,layout:"responsive"})}),!N&&(null==T||null==(n=T[1])||null==(t=n.image)?void 0:t.url)&&(0,r.jsx)("div",{className:a()(h().imageContainer,h().imageCarousel),children:(0,r.jsx)(d(),{src:C?"https://www.ukmeds.co.uk/images/eumeds-illustration-2.png":null==T||null==(c=T[1])||null==(s=c.image)?void 0:s.url,height:506,width:532,layout:"responsive"})}),!N&&(null==T||null==(m=T[2])||null==(u=m.image)?void 0:u.url)&&(0,r.jsx)("div",{className:a()(h().imageContainer,h().imageCarousel),children:(0,r.jsx)(d(),{src:C?"https://www.ukmeds.co.uk/images/eumeds-illustration-3.svg":null==T||null==(g=T[2])||null==(_=g.image)?void 0:_.url,height:506,width:532,layout:"responsive"})})]})]})})}),x&&(0,r.jsx)(l.mO,{bg:null!=j?j:"white",className:h().wrapperBg,children:(0,r.jsx)(l.mc,{children:(0,r.jsx)("ol",{className:h().nav,children:x.map(e=>{let{title:t,description:n}=e;return(0,r.jsxs)("li",{className:[h().navItem,S&&h().navItemBlackFriday,h().active].join(" "),children:[(0,r.jsx)("h3",{children:t}),(0,r.jsx)("p",{children:n})]},t)})})})})]})}),y=()=>{let e=(0,f.useRef)(null);return(0,f.useEffect)(()=>{window.Trustpilot&&window.Trustpilot.loadFromElement(e.current,!0)},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g(),{children:(0,r.jsx)("script",{type:"text/javascript",src:"//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",async:!0})}),(0,r.jsx)("div",{className:"trustpilot-widget","data-locale":"de-DE","data-template-id":"5419b6a8b0d04a076446a9ad","data-businessunit-id":"5d7baa22abb89f000171deb3","data-style-height":"24px","data-style-width":"100%","data-min-review-count":"0","data-style-alignment":"left",ref:e,children:(0,r.jsx)("a",{href:"https://de.trustpilot.com/review/deutschemedz.de",target:"_blank",rel:"noopener noreferrer",children:"Trustpilot"})})]})}},76067:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(37876),s=n(58103),a=n.n(s),i=n(48230),l=n.n(i),o=n(68827),c=n.n(o),d=n(68684),u=n.n(d),m=n(86121),h=n(15628),p=n(6687);let _=e=>{let{title:t,links:n,text:s,image:i,viewAll:o,collapseMob:d=!1}=e;return(0,r.jsxs)("div",{className:a()({[u().container]:!0,[u().collapseMob]:d}),children:[(0,r.jsxs)("div",{className:u().content,children:[(0,r.jsxs)(l(),{href:t.link,"data-test-id":"CategoryBoxTitle",locale:!1,prefetch:!1,className:u().title,children:[t.name," ",(0,r.jsx)(h.A,{style:{height:"10px",width:"6px"}})]}),n&&(0,r.jsx)("ul",{className:u().links,children:n.map(e=>(0,r.jsx)("li",{children:(0,r.jsxs)(l(),{href:e.link,"data-test-id":"CategoryBoxLinks",locale:!1,prefetch:!1,className:u().link,children:[e.name," ",(0,r.jsx)(h.A,{style:{height:"10px",width:"6px"}})]})},e.name))}),s&&(0,r.jsx)("div",{className:u().desc,children:(0,r.jsx)(p.A,{content:s})}),(0,r.jsx)("div",{className:u().cta,children:(0,r.jsx)(m.vx,{variant:"primary",size:"small",to:o.link,"data-test-id":"CategoryBoxViewAll",children:o.name})})]}),i&&(0,r.jsx)("div",{className:u().backgroundImageContainer,children:(0,r.jsx)(c(),{className:u().backgroundImage,src:"".concat("https://m2.ukmeds.co.uk").concat(i),alt:t.name,"data-test-id":"CategoryBoxImage",layout:"fill"})})]})}},76819:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>M,default:()=>I});var r=n(37876),s=function(e){return e.MetaTitle="metaTitle",e.MetaDescription="metaDescription",e.CarouselHeading="carouselHeading",e.CarouselSubheading="carouselSubheading",e.ViewAll="viewAll",e.ViewAllConditions="viewAllConditions",e.CountdownTitle="countdownTitle",e.Days="countdownDays",e.Hours="countdownHours",e.Minutes="countdownMinutes",e.DealsTitle="dealsTitle",e.DealsSubheading="dealsSubheading",e}({}),a=n(63485),i=n(62867),l=n(19666),o=n(74040),c=n(92744),d=n(68372),u=n(68133),m=n(17564),h=n(89189),p=n.n(h),_=n(14232),g=n(57845),f=n.n(g),v=n(48983),y=n.n(v);let x=e=>{let{timeLeft:t,seconds:n,label:s}=e;return(0,r.jsxs)("div",{className:y().timerUnit,children:[(0,r.jsxs)("div",{className:y().timer,children:[(0,r.jsx)("div",{className:y().unit,children:(0,r.jsx)("p",{className:y().value,children:t[1]})}),(0,r.jsxs)("div",{className:y().unit,children:[(0,r.jsx)("p",{className:y().value,children:t[2]}),n&&(0,r.jsxs)("p",{className:y().valueSeconds,children:[n[1],n[2]]})]})]}),(0,r.jsx)("div",{className:y().label,children:s})]})},k=e=>{let{blackFridayDate:t}=e,{t:n}=(0,l.B)(),[a,i]=(0,_.useState)(j(t));return(0,_.useEffect)(()=>{let e=setTimeout(()=>{i(j(t))},1e3);return()=>{clearTimeout(e)}},[a]),(0,r.jsxs)("div",{className:f().countdownTimer,children:[(0,r.jsx)(x,{label:n(s.Days),timeLeft:a.days}),(0,r.jsx)(x,{label:n(s.Hours),timeLeft:a.hours}),(0,r.jsx)(x,{label:n(s.Minutes),timeLeft:a.minutes,seconds:a.seconds})]})},j=e=>{let t=new Date(e)-new Date;if(t>0){let e=Math.floor(t/864e5),n=Math.floor(t/36e5%24),r=Math.floor(t/1e3/60%60),s=Math.floor(t/1e3%60);return{days:{1:String(e).padStart(2,"0").charAt(0),2:String(e).padStart(2,"0").charAt(1)},hours:{1:String(n).padStart(2,"0").charAt(0),2:String(n).padStart(2,"0").charAt(1)},minutes:{1:String(r).padStart(2,"0").charAt(0),2:String(r).padStart(2,"0").charAt(1)},seconds:{1:String(s).padStart(2,"0").charAt(0),2:String(s).padStart(2,"0").charAt(1)}}}return{days:{1:"0",2:"0"},hours:{1:"0",2:"0"},minutes:{1:"0",2:"0"},seconds:{1:"0",2:"0"}}};var w=n(16243),b=n(72033),N=n(48230),T=n.n(N),S=n(71287),C=n(68827),B=n.n(C),A=n(45536),M=!0;let I=e=>{let{lcpImage:t,aToZBlock:n,homeCarousel:h,subscriptionsBanner:_,blackFridayDate:g,heading:f,subHeading:v,content:y}=e,{t:x}=(0,l.B)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.bV,{titleTemplate:"%s",title:x(s.MetaTitle),description:x(s.MetaDescription)}),(0,r.jsx)(a.Z,{}),(0,r.jsxs)("article",{children:[(0,r.jsx)(o.n,{bg:"dark",firstSlide:t,homeCarousel:h,aToZBlock:n,heading:f,subHeading:v}),(0,r.jsx)(c.A,{bg:"dark",className:p().countdownContainer,children:(0,r.jsxs)(d.A,{children:[(0,r.jsx)("h1",{className:p().sectionTitle,children:x(s.CountdownTitle)}),(0,r.jsx)(w.x,{children:(0,r.jsx)(k,{blackFridayDate:g})}),"ukmeds"===m.YY.DE&&(0,r.jsxs)("p",{className:p().text,children:["Die allgemeinen Gesch\xe4ftsbedingungen greifen –\xa0",(0,r.jsx)(T(),{href:"/allgemeine-geschaftsbedingungen",className:p().link,children:"jetzt lesen"})]}),("ukmeds"===m.YY.UK||"ukmeds"===m.YY.EU)&&(0,r.jsxs)("p",{className:p().text,children:["T&Cs apply -\xa0",(0,r.jsx)(T(),{href:"/terms-and-conditions",className:p().link,children:"read more"})]})]})}),(0,r.jsx)(c.A,{bg:"dark",className:p().countdownContainer,children:(0,r.jsxs)(d.A,{children:[(0,r.jsx)("h1",{className:p().sectionTitle,children:x(m.Tu.Title)}),(0,r.jsx)(b.A,{})]})}),y&&"ukmeds"===m.YY.UK&&(0,r.jsx)(c.A,{bg:"dark",className:p().contentContainer,children:(0,r.jsx)(d.A,{children:(0,r.jsx)("div",{className:p().richTextContent,children:(0,r.jsx)(S.d6,{data:y,renderBlock:e=>{var t,n,s,a,i,l,o,c;let{record:d}=e;switch(d.__typename){case"ImageBlockRecord":return(0,r.jsx)("div",{className:p().imageBlock,children:(0,r.jsx)(B(),{src:null==d||null==(t=d.image)?void 0:t.url,width:null!=(i=null==d||null==(n=d.image)?void 0:n.width)?i:760,height:null!=(l=null==d||null==(s=d.image)?void 0:s.height)?l:526,layout:"responsive",objectPosition:"0 0",alt:(null==d||null==(a=d.image)?void 0:a.alt)||""})});case"VideoBlockRecord":if(!(null==d?void 0:d.video))return null;return(0,r.jsx)("div",{className:p().videoBlock,children:(0,r.jsx)(A.V,{src:d.video,title:d.title||"Video",className:p().videoIframe,frameBorder:null!=(o=d.frameBorder)?o:0,allowFullScreen:null==(c=d.allowFullScreen)||c,width:610,type:"video"})});case"TiktokBlockRecord":if(!(null==d?void 0:d.tiktok))return null;return(0,r.jsx)("div",{className:p().tiktokContainer,children:d.tiktok.map(e=>{let{dataVideoId:t,title:n}=e;return t?(0,r.jsx)("div",{className:p().tiktokBlock,children:(0,r.jsx)(A.V,{src:t,title:n,frameBorder:0,allowFullScreen:!0,width:325,type:"tiktok"})},t):null})});default:return null}}})})})}),"ukmeds"===m.YY.UK&&_&&(0,r.jsx)(c.A,{bg:"dark",className:p().subscriptionsContainer,children:(0,r.jsx)(d.A,{children:(0,r.jsx)(u.$,{items:_,showLink:!0})})})]})]})}},89189:e=>{e.exports={countdownContainer:"styles_countdownContainer__NwRoj",subscriptionsContainer:"styles_subscriptionsContainer___sFU9",sectionTitle:"styles_sectionTitle___zbc2",text:"styles_text__FpMMr",link:"styles_link__jqWS4",contentContainer:"styles_contentContainer__LUeRB",richTextContent:"styles_richTextContent__7stUU",imageBlock:"styles_imageBlock__ocYx3",videoBlock:"styles_videoBlock___MiGQ",videoIframe:"styles_videoIframe__yEnTl",tiktokContainer:"styles_tiktokContainer__tOTrq",tiktokBlock:"styles_tiktokBlock__02mpl"}}},e=>{e.O(0,[8974,636,6593,8792],()=>e(e.s=58649)),_N_E=e.O()}]);