(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5373,162],{38092:function(e){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"categoryProducts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"category_id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},defaultValue:{kind:"StringValue",value:"8",block:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortPrice"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortName"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBestseller"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"stockStatus"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productType"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"80"},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"categoryProducts"},name:{kind:"Name",value:"products"},arguments:[{kind:"Argument",name:{kind:"Name",value:"currentPage"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"sort"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"price"},value:{kind:"Variable",name:{kind:"Name",value:"sortPrice"}}},{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"sortName"}}},{kind:"ObjectField",name:{kind:"Name",value:"bestseller"},value:{kind:"Variable",name:{kind:"Name",value:"sortBestseller"}}}]}},{kind:"Argument",name:{kind:"Name",value:"pageSize"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"category_id"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"eq"},value:{kind:"Variable",name:{kind:"Name",value:"category_id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"stock_status"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"eq"},value:{kind:"Variable",name:{kind:"Name",value:"stockStatus"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"medical_product_type"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"eq"},value:{kind:"Variable",name:{kind:"Name",value:"productType"}}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page_info"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current_page"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"page_size"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total_pages"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"medical_product_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"small_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"star_average"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number_of_reviews"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bullet_points"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stock_status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"minimalPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"regularPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currency"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:1061}};t.loc.source={body:'query categoryProducts(\n $category_id: String = "8"\n $sortPrice: SortEnum\n $sortName: SortEnum\n $sortBestseller: SortEnum\n $stockStatus: String\n $productType: String\n $page: Int\n $pageSize: Int = 80\n) {\n categoryProducts: products(\n currentPage: $page\n sort: { price: $sortPrice, name: $sortName, bestseller: $sortBestseller }\n pageSize: $pageSize\n filter: {\n category_id: { eq: $category_id }\n stock_status: { eq: $stockStatus }\n medical_product_type: { eq: $productType }\n }\n ) {\n page_info {\n current_page\n page_size\n total_pages\n }\n items {\n id\n name\n medical_product_type\n small_image {\n label\n url\n }\n star_average\n number_of_reviews\n url_key\n url_path\n bullet_points\n stock_status\n price {\n minimalPrice {\n amount {\n currency\n value\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n }\n }\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};function n(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&t.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){n(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){n(e,t)})),e.definitions&&e.definitions.forEach((function(e){n(e,t)}))}var i={};function a(e,t){for(var n=0;n0;){var c=o;o=new Set,c.forEach((function(e){l.has(e)||(l.add(e),(i[e]||new Set).forEach((function(e){o.add(e)})))}))}return l.forEach((function(t){var i=a(e,t);i&&n.definitions.push(i)})),n}(t,"categoryProducts")},23864:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/subcategory/[url_key]",function(){return n(85309)}])},52707:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(14924),a=n(97997),r=n(94184),l=n.n(r),o=n(41664),c=n.n(o),u=function(e){return(0,a.BX)("div",{ref:e.ref,className:l()((0,i.Z)({card:!0,"card--two-up":"2-up"===e.variant,"card--wide-content":"wide-content"===e.variant},e.className||"",!0)),children:[e.link&&e.img&&(0,a.tZ)(c(),{href:e.link,prefetch:!1,children:(0,a.tZ)("a",{className:"card__figure",title:"Continue to product",children:(0,a.tZ)("div",{className:e.imageClass||"img",children:e.img})})}),!e.link&&e.img&&(0,a.tZ)("figure",{className:"card__figure",children:(0,a.tZ)("div",{className:"img",children:e.img})}),(0,a.BX)("div",{className:l()((0,i.Z)({card__info:!0},e.cardInfoClassName||"",!0)),children:[(0,a.tZ)("div",{className:"card__content",children:e.content({title:"card__title"})}),e.cta&&(0,a.tZ)("div",{className:l()((0,i.Z)({card__cta:!0},e.cardActionsClassName||"",!0)),children:e.cta})]})]})};u.defaultProps={variant:"normal"}},56361:function(e,t,n){"use strict";n.d(t,{W:function(){return s}});var i=n(26042),a=n(69396),r=n(97997),l=(n(11720),n(83991)),o=n(57539),c=n.n(o),u=n(84218),s=function(e){var t=e.video_id&&e.video_text&&e.video_title,n={variant:"full-width"};return e.image&&(n.bgImage=e.image),t&&(n.hasVideo=!0),(0,r.tZ)(l.Z,(0,a.Z)((0,i.Z)({},n),{children:(0,r.tZ)(u.W2,{children:(0,r.BX)("div",{className:c().wellInner,children:[(0,r.tZ)("h1",{children:e.name||""}),(0,r.tZ)("div",{id:"sub-description",dangerouslySetInnerHTML:{__html:e.description||""}})]})})}))}},7582:function(e,t,n){"use strict";n.d(t,{Xy:function(){return c},kb:function(){return l},nt:function(){return o}});var i=n(23366),a=n(25477),r=n(90522);function l(e){if(e&&e.regularPrice&&e.regularPrice.amount&&null!==e.regularPrice.amount.value&&e.regularPrice.amount.currency){if(e.minimalPrice&&e.minimalPrice.amount&&null!==e.minimalPrice.amount.value&&e.minimalPrice.amount.value2&&void 0!==arguments[2]?arguments[2]:[],r=new a.xQ,l=(0,i.useState)(t),o=l[0],c=l[1],u=(0,i.useState)(r),s=u[0];return(0,i.useEffect)((function(){var t=e(r).subscribe((function(e){return c(e)}));return function(){t.unsubscribe(),s.complete()}}),n),[o,function(e){return s.next(e)}]}},80162:function(e,t,n){"use strict";n.r(t),n.d(t,{GRAPHQL_URL:function(){return k},SSR_GRAPHQL_URL:function(){return p},createSsrUrqlClient:function(){return h},initializeSsrUrql:function(){return b},initializeUrql:function(){return Z}});var i=n(47568),a=n(26042),r=n(29815),l=n(34051),o=n.n(l),c=n(35283),u=n(10281),s=n(34155),d={"CF-Access-Client-Id":s.env.CF_ACCESS_CLIENT_ID,"CF-Access-Client-Secret":s.env.CF_ACCESS_CLIENT_SECRET},m=n(34155),_={},v={},p="".concat("https://m2.ukmeds.co.uk","/graphql"),k="/graphql";function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t;return"preview"===m.env.VERCEL_ENV&&(n=d),e&&(n.Store=e),n}function h(e){return g.apply(this,arguments)}function g(){return(g=(0,i.Z)(o().mark((function e(t){var n,i,l,s,d,m,_,v,k;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n={url:p,exchanges:[]},i=(0,a.Z)({},n,t),l=i.url,s=i.locale,d=i.exchanges,m=i.headers,_=f(s,m),v=(0,c.$Y)({isClient:!1}),k=(0,u.U)({url:l,exchanges:[c.HG,v,c.Ek].concat((0,r.Z)(d)),fetchOptions:{headers:_}},!1)){e.next=7;break}throw new Error("Unable to create SSR urql client");case 7:return e.abrupt("return",{client:k,ssrCache:v});case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return N.apply(this,arguments)}function N(){return(N=(0,i.Z)(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=v[t],e.t0){e.next=5;break}return e.next=4,h({locale:t});case 4:e.t0=e.sent;case 5:return n=e.t0,v[t]||(v[t]=n),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Z(e){var t=_[e]||function(e){var t=f(e);return(0,c.eI)({exchanges:[c.HG,c.Ek],url:k,fetchOptions:{headers:t}})}(e);return _[e]||(_[e]=t),t}},85309:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return Pe},default:function(){return we}});var i,a=n(97997),r=n(11720),l=n(2962),o=n(10281),c=n(56361),u=n(82765),s=n(84218),d=n(5756),m=n(10253),_=n(3283),v=n(55709),p=n(14924),k=n(94184),f=n.n(k),h=n(58489),g=n(51647),b=n(41107),N=n(9484),Z=n.n(N),y=n(19012),S=n(41645);!function(e){e[e.RadioGroup=0]="RadioGroup",e[e.CheckboxGroup=1]="CheckboxGroup",e[e.CustomRadioGroup=2]="CustomRadioGroup"}(i||(i={}));var C=function(e){var t=(0,S.q)().t,n=(0,r.useRef)(null),l=(0,r.useState)(!1),o=l[0],c=l[1];return(0,a.tZ)("div",{className:f()((0,p.Z)({},Z().filterContent,!0)),children:(0,a.BX)(h.l0,{onValueChange:function(t){c(!0),e.onChange(t)},ref:n,initialValues:e.initialValues,children:[e.items.map((function(e){return(0,a.BX)("div",{className:Z().group,children:[(0,a.tZ)("p",{className:Z().filterTitle,children:(0,a.tZ)("strong",{children:e.title})}),(e.type===i.RadioGroup||e.type===i.CustomRadioGroup)&&(0,a.tZ)(h.Ee,{field:e.name,children:e.options.map((function(t){return(0,a.tZ)(g.Z,{label:t.label,field:"".concat(e.name,"-").concat(t.value),initialValue:!1,inputType:e.type===i.RadioGroup?"radio":"custom-radio",variant:"list-item",value:t.value},t.value)}))}),e.type===i.CheckboxGroup&&e.options.map((function(t){return(0,a.tZ)(g.Z,{label:t.label,field:"".concat(e.name,"-").concat(t.value),initialValue:!1,inputType:"checkbox",variant:"list-item",value:t.value},t.value)}))]},e.title)})),(0,a.tZ)("div",{className:Z().filterCta,children:(0,a.tZ)(b.Z,{variant:"white",size:"small",disabled:!o,onClick:function(){n.current&&n.current.controller.reset(),e.onReset(),c(!1)},children:t(y.MV.ClearAll)})})]})})};C.defaultProps={initialValues:{}};var P=n(90522),w=function(e){var t=(0,S.q)().t;return(0,a.tZ)(C,{onChange:e.onChange,onReset:e.onReset,items:[{title:t(y.Ch.Type),name:"medical_product_type",type:i.CustomRadioGroup,options:[{value:"0",label:t(y.Ch.ShowAll)},{value:P.EK.Prescription,label:t(y.Ch.PrescriptionOnly)},{value:P.EK.OverTheCounter,label:t(y.Ch.OtcOnly)}]},{title:t(y.Ch.Stock),name:"stock_status",type:i.CustomRadioGroup,options:[{value:P.XT.IN_STOCK,label:t(y.Ch.InStockOnly)}]},{title:t(y.Ch.SortBy),name:"sort",type:i.CustomRadioGroup,options:[{value:"price-ASC",label:t(y.Ch.HighToLow)},{value:"price-DESC",label:t(y.Ch.LowToHigh)},{value:"name-ASC",label:t(y.Ch.NameAtoZ)},{value:"name-DESC",label:t(y.Ch.NameZtoA)}]}]})},x=n(36938),F=n.n(x),T=n(64317),D=n(92432),V=n(7582),L=n(26042),E=n(41664),B=n.n(E),I=n(25675),O=n.n(I),R=n(8063),X=n.n(R),q=n(55925),A=n(52707),H=n(42165),G=n(95337),M=n.n(G),z=n(45657),j=function(e){var t=e.rawValue,n=e.stars,i=e.dataStatus,r=e.total,l=(0,S.q)().t;switch(i){case P.rq.Idle:case P.rq.Pending:case P.rq.Error:return(0,a.tZ)("div",{className:M().root});case P.rq.Success:return(0,a.BX)("a",{href:"https://uk.trustpilot.com/review/ukmeds.co.uk?utm_medium=trustboxes",target:"_blank",rel:"noopener noreferrer",className:M().root,itemProp:"aggregateRating",itemScope:!0,itemType:"http://schema.org/AggregateRating",children:[(0,a.BX)("div",{className:M().stars,children:[(0,a.tZ)("meta",{itemProp:"ratingValue",content:String(t)}),(0,a.tZ)("meta",{itemProp:"reviewCount",content:String(r)}),(0,a.tZ)(z.default,{input:n})]}),(0,a.tZ)("p",{className:M().message,children:"".concat(r," ").concat(l(y.J3.ReviewsOnTrustPilot))})]});default:return(0,a.tZ)(a.HY,{})}};j.defaultProps={rawValue:5};var U=j,W=n(34282),Y=n(14781),$=n(7031),K=function(e){var t=(0,S.q)().t;return(0,a.tZ)(A.Z,{link:e.link,img:(0,a.tZ)("div",{className:X().categoryImageContainer,children:(0,a.tZ)(O(),{src:(0,H.W)(e.small_image.url),alt:e.name,className:X().categoryImage,layout:"fill"})}),variant:"2-up",content:function(){return(0,a.BX)(a.HY,{children:[(0,a.tZ)(B(),{href:e.link,prefetch:!1,children:(0,a.tZ)("a",{className:"card__title",children:e.name})}),e.totalReviews>0&&(0,a.tZ)(U,{stars:Math.ceil(e.stars),dataStatus:P.rq.Success,total:e.totalReviews}),e.bullets.length>0&&(0,a.tZ)(Y.l,{render:function(t){var n=t.Svg;return e.bullets.slice(0,3).map((function(e){return(0,a.BX)("li",{children:[n,e]},e)}))}})]})},cta:(0,a.BX)(a.HY,{children:[e.stock_status===P.XT.IN_STOCK&&(0,a.BX)("div",{className:X().prices,children:[e.displayPrice.oldValue&&(0,a.tZ)("span",{className:X().totalStrike,children:(0,a.tZ)(q.Z,{dataStatus:P.rq.Success,items_qty:1,currencyCode:e.displayPrice.currency,subtotal:e.displayPrice.oldValue,label:t(y.MV.From)})}),(0,a.tZ)(q.Z,{dataStatus:P.rq.Success,items_qty:1,currencyCode:e.displayPrice.currency,subtotal:e.displayPrice.value,label:e.displayPrice.oldValue?"":t(y.MV.From)})]}),e.stock_status===P.XT.OUT_OF_STOCK&&(0,a.tZ)("span",{children:"Out of stock"}),(0,a.tZ)($.Z,{to:e.link,variant:"primary-light","data-test-id":"ProductListItem.ButtonLink",children:t(y.MV.ViewProduct)})]})})},Q=function(e){return(0,W.Y)("[data-lozad-product]",e.items),(0,a.BX)("div",{children:[0===e.items.length&&(0,a.tZ)("p",{children:"Sorry there are no products that match those filters."}),e.items.map((function(e){return(0,a.tZ)(K,(0,L.Z)({},e),e.id)}))]},"05")},J=n(96149),ee=n(80442),te=n(38092),ne=n.n(te),ie=function(e){var t=(0,m.Z)((0,D.aM)({query:ne(),variables:e.variables}),1)[0],n=t.fetching,i=t.error,r=t.data,l=function(){if(i)return(0,a.tZ)(ee.o,{message:"CategoryPage Query error ".concat(i)},"01");if(n)return(0,a.tZ)(J.a,{overlay:!0,message:"Loading data",alignment:"top",variant:"mini"},"02");if(!r||!r.categoryProducts||!Array.isArray(r.categoryProducts.items))return(0,a.tZ)(ee.o,{message:"Category data missing for id"},"03");var e=r.categoryProducts.items,t=(0,V.nt)(e);return(0,a.tZ)(Q,{items:t})}();return(0,a.tZ)(T.CSSTransitionGroup,{transitionName:"fast-fade",transitionEnterTimeout:100,transitionLeaveTimeout:100,children:l})};ie.defaultProps={};var ae,re=n(76424),le=n(75369),oe=n(80162),ce=n(11163),ue=function(e){var t=(0,ce.useRouter)().locale,n=(0,oe.initializeUrql)(t),i=(0,m.Z)((0,re.y)((function(t){return t.pipe((0,_.b)(300),(0,v.U)((function(t){return{variables:(0,V.Xy)(String(e.id),t)}})))}),{variables:{category_id:String(e.id),sortBestseller:P.JN.DESC,pageSize:80}},[e.id]),2),r=i[0],l=i[1];return(0,a.BX)("section",{className:F().root,children:[(0,a.tZ)(le.w,{children:(0,a.tZ)(w,{onChange:function(e){l(e)},onReset:function(){l({})}})}),(0,a.tZ)("div",{className:F().inner,children:-1!==e.id&&(0,a.tZ)(D.zt,{value:n,children:(0,a.tZ)(ie,{id:e.id,variables:r.variables})})})]})},se=n(2272),de=n(82191),me=n(7366),_e=n(3536),ve=n(22828),pe=n(47240),ke=n(26556),fe=n.n(ke);!function(e){e.CBDLanding="cbd-landing"}(ae||(ae={}));var he=function(e){var t=e.page_layout===ae.CBDLanding;return(0,a.BX)(a.HY,{children:[(0,a.tZ)(s.im,{variant:"page-inner",children:(0,a.tZ)(s.W2,{className:fe().cbdWell,children:(0,a.tZ)(ue,{id:e.id})})}),e.large_description&&(0,a.tZ)(s.tW,{variant:t?"no-bg":"bg-only",children:(0,a.BX)(s.W2,{children:[!t&&(0,a.tZ)(de.Z,{whenIdle:!0,children:(0,a.tZ)(me.j,{content:e.large_description})}),(0,a.BX)("div",{className:fe().authors,children:[e.author&&(0,a.tZ)(ve.S,{author:e.author}),e.medicalReviewer&&(0,a.tZ)(pe.o,{author:e.medicalReviewer})]})]})}),(0,a.tZ)(s.im,{children:(0,a.BX)(s.W2,{children:[(0,a.tZ)(_e.T,{items:e.timelineCarousel}),(0,a.tZ)(se.Z,{})]})}),(0,a.tZ)(d.Z,{})]})},ge=n(4298),be=n.n(ge),Ne=function(e){var t=e.items;if(!(null===t||void 0===t?void 0:t.length))return null;var n={"@context":"https://schema.org/","@type":"ItemList",itemListElement:t.map((function(e,t){return{"@type":"ListItem",position:t+1,name:e.name,url:"".concat("https://www.ukmeds.co.uk").concat(e.url)}}))};return(0,a.tZ)(be(),{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})},Ze=n(69920),ye=n.n(Ze),Se=n(35283),Ce=(0,o.X)((function(){return{url:oe.GRAPHQL_URL,exchanges:[Se.HG,Se.Ek]}}),{ssr:!1})((function(e){var t,n=e.category,i=e.timelineCarousel,r=e.schemaItems,o=e.author,s=e.medicalReviewer,d=(0,S.q)().t,m=n.video_id,_=n.video_text,v=n.video_title,p=n.page_layout,k=n.consultation_product_id,f=Boolean(m&&_&&v),h=n.breadcrumbs||[],g=h[h.length-1].category_id,b=Boolean(n.meta_title)&&n.name!==n.meta_title,N=Boolean(n.meta_description)&&n.name!==(null===(t=n.meta_description)||void 0===t?void 0:t.trim());return(0,a.BX)(a.HY,{children:[(0,a.tZ)(l.PB,{title:b?n.meta_title:d(y.Ch.MetaTitleTemplate,{categoryName:n.name}),titleTemplate:"%s",description:N?n.meta_description:d(y.Ch.MetaDescriptionTemplate,{categoryName:n.name}),canonical:"".concat("https://www.ukmeds.co.uk","/").concat(n.canonical_url)}),(0,a.tZ)(Ne,{items:r}),(0,a.BX)("div",{className:ye().header,children:[(0,a.tZ)(u.b,{breadcrumbs:h,id:n.id,name:n.name||"",url:n.url_key||""}),(0,a.tZ)(c.W,{name:n.name,description:n.description,image:n.image,video_id:m,video_text:_,video_title:v,consultation_product_id:k})]}),(0,a.tZ)(he,{large_description:n.large_description,hasVideo:f,id:n.id,parentId:g,page_layout:p,timelineCarousel:i,author:o,medicalReviewer:s})]})})),Pe=!0,we=Ce},69920:function(e){e.exports={header:"Category_header__cYmB3",authors:"Category_authors__Q_vgX"}},57539:function(e){e.exports={wellInner:"CategoryHeader_wellInner__oMPB_",deferCta:"CategoryHeader_deferCta__W6rHk"}},26556:function(e){e.exports={withVideo:"CategoryPage_withVideo__dTPbL",authors:"CategoryPage_authors__KeYgQ"}},45927:function(e){e.exports={fieldListItem:"Checkbox_fieldListItem__sBokr",label:"Checkbox_label__CbFqD",checkbox:"Checkbox_checkbox__exCc_",fieldNormal:"Checkbox_fieldNormal__WrHuy",fieldNormalStandalone:"Checkbox_fieldNormalStandalone__aW06D",content:"Checkbox_content__beGDz",root:"Checkbox_root__jek88",buttonLabel:"Checkbox_buttonLabel__O_JZs",custom_checkbox:"Checkbox_custom_checkbox__GTLGr",standaloneCheckbox:"Checkbox_standaloneCheckbox__UL6Wy",blue_checkbox:"Checkbox_blue_checkbox__Xm1j_",fieldButton:"Checkbox_fieldButton__1U_RC",icon:"Checkbox_icon__xrddt",iconChecked:"Checkbox_iconChecked__HHnLr",error:"Checkbox_error__ZlNjE",checkboxError:"Checkbox_checkboxError__Eh5uT",standalone:"Checkbox_standalone__c7v_Z",standaloneLabel:"Checkbox_standaloneLabel__cx6xs",standaloneContent:"Checkbox_standaloneContent__NtL_G",standaloneCheckboxError:"Checkbox_standaloneCheckboxError__ML_vN"}},99160:function(e){e.exports={filters:"Filter_filters__DZcVQ",filterTrigger:"Filter_filterTrigger__DNIN5",filterList:"Filter_filterList__cd6tn",filterListActive:"Filter_filterListActive__f_eY_"}},79355:function(e){e.exports={root:"TotalsSummary_root__jD2wc",subtotalLabel:"TotalsSummary_subtotalLabel__EXPn9",subtotalValue:"TotalsSummary_subtotalValue__iDin5",totalStrike:"TotalsSummary_totalStrike__8FRU3"}},8063:function(e){e.exports={root:"ProductFullDetail_root__BpSbd",mainSection:"ProductFullDetail_mainSection__kuQMq",form:"ProductFullDetail_form__g5_UL",options:"ProductFullDetail_options__JDIY9",title:"ProductFullDetail_title__LADfI",titleReview:"ProductFullDetail_titleReview__VhjHi",productReview:"ProductFullDetail_productReview__pDv_P",priceSection:"ProductFullDetail_priceSection__GIfp1",prices:"ProductFullDetail_prices__OO_gU",totalStrike:"ProductFullDetail_totalStrike__2qdlP",imageNote:"ProductFullDetail_imageNote__5EDBb",leftCol:"ProductFullDetail_leftCol__C_xFj",countdown:"ProductFullDetail_countdown__X_fbP",productIcons:"ProductFullDetail_productIcons__v9JC5",buttonContainer:"ProductFullDetail_buttonContainer__pWLKZ",consultationInfo:"ProductFullDetail_consultationInfo__HKHt6",cartActions:"ProductFullDetail_cartActions__OhbZR",cartActionsInner:"ProductFullDetail_cartActionsInner__7B0nQ",details:"ProductFullDetail_details__Zm6Yr",description:"ProductFullDetail_description__HNNjL",detailsNoOptions:"ProductFullDetail_detailsNoOptions__lq5ZG",ctaPrescriptionNotice:"ProductFullDetail_ctaPrescriptionNotice__U4mxa",ctaNotice:"ProductFullDetail_ctaNotice__yMfBl",totals:"ProductFullDetail_totals__pQpOg",vatDisclaimer:"ProductFullDetail_vatDisclaimer__NphBx",sticky:"ProductFullDetail_sticky__wLIXr",banner:"ProductFullDetail_banner__gL9Af",categoryImageContainer:"ProductFullDetail_categoryImageContainer__uJ__i",categoryImage:"ProductFullDetail_categoryImage__IvAlt",bannerIconBlock:"ProductFullDetail_bannerIconBlock__lH8hO"}},36938:function(e){e.exports={root:"ProductList_root__iXPR_",inner:"ProductList_inner__B2ZKS",relatedProductsContainer:"ProductList_relatedProductsContainer__fl185",relatedProducts:"ProductList_relatedProducts__oRY_C",relatedProduct:"ProductList_relatedProduct__B2c1M",one:"ProductList_one__jFWr5",two:"ProductList_two__t1Z2G",three:"ProductList_three__Gu4bm",relatedProductsViewMoreLink:"ProductList_relatedProductsViewMoreLink__cYmzg"}},95337:function(e){e.exports={root:"ProductReview_root__y74lO",stars:"ProductReview_stars__0lMZu",message:"ProductReview_message__quYbV"}},9484:function(e){e.exports={filterContent:"RadioList_filterContent___vxWO",filterContentHidden:"RadioList_filterContentHidden__wqIGs",trigger:"RadioList_trigger__B_Oxm",group:"RadioList_group__ycyIE",filterCta:"RadioList_filterCta__Azdo2"}},41015:function(e){e.exports={wrapper:"Timeline_wrapper__a1jb2",content:"Timeline_content__GIdfQ",title:"Timeline_title__eWLET",images:"Timeline_images__WNw_H",image:"Timeline_image__LR3I1",nav:"Timeline_nav__8b4JZ","carousel-loader":"Timeline_carousel-loader__UeFSt",navItem:"Timeline_navItem__nb_3U","carousel-counter":"Timeline_carousel-counter__AMn_Z",inner:"Timeline_inner__HUf67"}}},function(e){e.O(0,[8489,281,8317,439,5756,4400,9774,2888,179],(function(){return t=23864,e(e.s=t);var t}));var t=e.O();_N_E=t}]);