PageSourceSearch

https://images.victorianplumbing.co.uk/release/1.0.7883/scripts/we…b526cb4a5b1ff54b941.91a618478460d2f65a65.js

js victorianplumbing.co.uk collected 2026-10-03 23:01:51 UTC 141,871 bytes, 3 lines download raw bytes

1/*! For license information please see 9b526cb4a5b1ff54b941.91a618478460d2f65a65.js.LICENSE.txt */
2"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4467],{1563:(e,t,r)=>{r.d(t,{s:()=>b});var n=r(68830),i=r(39564),l=r(51291),o=r(40212),a=r(74938),s=r(74848);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return(t=function(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.backgroundColor,r=e.checklistData,n=e.desktopFragmentWidth,c=e.icon,d=e.mobileFragmentWidth,m=e.tabletFragmentWidth,f=e.textColor,b=e.title;return(0,s.jsx)(i.Ei,{col:d,medium:m,large:n,children:(0,s.jsxs)("div",{className:"m-2.5 flex flex-col items-center gap-5 rounded-input bg-grey-200 p-5 text-center lg:m-0 lg:flex-row lg:items-stretch lg:gap-0",style:{backgroundColor:t?"#".concat(t):void 0,color:f?"#".concat(f):void 0},children:[(0,s.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center text-center",children:[(0,s.jsx)(a.default,{type:c,className:"mb-2 h-7 lg:h-auto",width:165,height:25}),(0,s.jsx)("div",{children:(0,s.jsx)(o.s,{richText:b})})]}),(0,s.jsx)("div",{className:"flex flex-1 items-center",children:(0,s.jsx)(l.G,u(u({},r),{},{iconColor:"#".concat(f)}))})]})})},b=function(e){var t=e.backgroundColor,r=e.checklistIcon,i=e.checklistItems,l=e.desktopFragmentWidth,o=e.icon,a=e.mobileFragmentWidth,c=e.tabletFragmentWidth,d=e.textColor,u=e.title;return(0,s.jsx)(f,{backgroundColor:t,checklistData:{icon:r,items:i},desktopFragmentWidth:n.VL[l],icon:o,mobileFragmentWidth:n.VL[a],tabletFragmentWidth:n.VL[c],textColor:d,title:u})}},6955:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(97953),i=r(40212),l=r(74848);const o=({copy:e,textColor:t,desktopFragmentWidth:r,tabletFragmentWidth:o,mobileFragmentWidth:a})=>(0,l.jsx)(n.Ei,{col:a,medium:o,large:r,children:(0,l.jsx)(i.s,{richText:e,textColor:t,backgroundColor:void 0,data:void 0,className:void 0,tag:void 0})})},11032:(e,t,r)=>{r.d(t,{O:()=>p});var n=r(71468),i=r(31198),l=r(85816),o=r(38761),a=r(68830),s=r(36779),c=r(39564),d=r(46826),u=r(72893),m=r(89970),f=r(74848);const b=({changeOrderNumberButtonLabel:e,desktopFragmentWidth:t,mobileFragmentWidth:r,modalId:n,orderDate:i,orderDateLabel:l,orderNumber:o,orderNumberLabel:a,tabletFragmentWidth:s,handleViewSplitOrders:b,showViewSplitOrderButton:p,orderDispatchedDate:h,orderDispatchedDateLabel:g})=>{const[x]=(0,d.CB)();return(0,f.jsx)("section",{className:"w-full",children:(0,f.jsx)(c.Ei,{col:r,medium:s,large:t,children:(0,f.jsx)(u.f,{orderNumber:o,orderNumberLabel:a,orderDateLabel:l,orderDate:i,orderDispatchedDateLabel:g,orderDispatchedDate:h,buttonCallback:()=>{(0,m.x)("changeOrder","helpcentreorderinformation|findorder"),x(n,null,{type:"change"})},buttonText:e,buttonVariant:"text",handleViewSplitOrders:b,showViewSplitOrderButton:p})})})};var p=function(e){var t=e.changeOrderNumberButtonLabel,r=e.desktopFragmentWidth,c=e.mobileFragmentWidth,d=e.modalId,u=e.orderDateLabel,m=e.orderNumberLabel,p=e.tabletFragmentWidth,h=(0,l.a)().pathname,g=(0,n.wA)(),x=(0,n.d4)(i.L.activeOrder),v=(0,n.d4)(i.L.splitOrder),y=!(null!=x&&x.isSplitOrder)&&v,j=h===s.KB;return(0,f.jsx)(f.Fragment,{children:x&&(0,f.jsx)(b,{changeOrderNumberButtonLabel:t,desktopFragmentWidth:a.VL[r],tabletFragmentWidth:a.VL[p],mobileFragmentWidth:a.VL[c],modalId:d,orderDate:(0,o.SM)(null==x?void 0:x.orderDate),orderDateLabel:u,orderNumber:null==x?void 0:x.orderNumber,orderNumberLabel:m,handleViewSplitOrders:function(){g(i.T.activeOrderData(v))},showViewSplitOrderButton:y,orderDispatchedDate:j&&(0,o.SM)(null==x?void 0:x.orderDispatchedDate),orderDispatchedDateLabel:"Order Dispatched"})})}},12029:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(71468),i=r(31198),l=r(68830),o=r(39564),a=r(57952),s=r(23016),c=r(50624),d=r(74848);const u=function(e){var t=e.text,r=e.imageAltText,n=e.image,i=e.url,l=e.desktopFragmentWidth,u=e.tabletFragmentWidth,m=e.mobileFragmentWidth,f=[{height:n.height,width:n.width}],b=[{height:n.height,width:n.width,alt:r,priority:1,type:"webp",url:(0,c.U)(n.url,{format:"webp",h:n.height,w:n.width})},{height:n.height,width:n.width,alt:r,default:!0,type:"jpg",url:(0,c.U)(n.url,{format:"jpg",h:n.height,w:n.width})}],p=function(){return(0,d.jsx)(a.o,{placeHolder:f,children:(0,d.jsx)(s.V,{imageObject:b})})},h=function(){return t?(0,d.jsxs)("figure",{className:"block text-center",children:[p(),(0,d.jsx)("figcaption",{className:"my-[15px] font-body text-sm leading-[1.4]",children:t})]}):(0,d.jsx)("div",{className:"block text-center",children:p()})};return(0,d.jsx)(o.Ei,{col:m,medium:u,large:l,children:i?(0,d.jsx)("a",{className:"inline",href:i,children:h()}):h()})},m=function(e){var t,r=e.text,o=e.imageRef,a=e.linkRef,s=e.desktopFragmentWidth,c=e.tabletFragmentWidth,m=e.mobileFragmentWidth,f=(0,n.d4)(i.L.imageFromId(null==o||null===(t=o.image)||void 0===t?void 0:t.referenceId));return(0,d.jsx)(d.Fragment,{children:f&&(0,d.jsx)(u,{text:r,imageAltText:null==o?void 0:o.imageAltText,url:null==a?void 0:a.url,image:f,desktopFragmentWidth:l.VL[s],tabletFragmentWidth:l.VL[c],mobileFragmentWidth:l.VL[m]})})}},13116:(e,t,r)=>{r.d(t,{n:()=>a});var n=r(39564),i=r(50856),l=r(74848);const o=({children:e})=>(0,l.jsx)("div",{className:"h-20 w-[50px] lg:h-28 lg:w-[70px]",children:e}),a=({desktopFragmentWidth:e,tabletFragmentWidth:t,mobileFragmentWidth:r,icons:a})=>(0,l.jsx)(n.Ei,{large:e,medium:t,col:r,children:(0,l.jsx)("div",{className:"flex flex-row flex-wrap content-start justify-between gap-4 xs:justify-start lg:gap-6 2xl:justify-between",children:a.map((({component:e,key:t,iconColor:r})=>(0,l.jsx)(o,{children:(0,l.jsx)(e,{className:(0,i.QP)("size-full",r)})},t)))})})},14351:(e,t,r)=>{r.d(t,{A:()=>S});var n=r(71468),i=r(31198),l=r(68830),o=r(44533),a=r(38761),s=r(85816),c=r(29116);function d(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function l(r,n,i,l){var s=n&&n.prototype instanceof a?n:a,c=Object.create(s.prototype);return u(c,"_invoke",function(r,n,i){var l,a,s,c=0,d=i||[],u=!1,m={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,r){return l=t,a=0,s=e,m.n=r,o}};function f(r,n){for(a=r,s=n,t=0;!u&&c&&!i&&t<d.length;t++){var i,l=d[t],f=m.p,b=l[2];r>3?(i=b===n)&&(a=l[4]||3,s=l[5]===e?l[3]:l[5],l[4]=3,l[5]=e):l[0]<=f&&((i=r<2&&f<l[1])?(a=0,m.v=n,m.n=l[1]):f<b&&(i=r<3||l[0]>n||n>b)&&(l[4]=r,l[5]=n,m.n=b,a=0))}if(i||r>1)return o;throw u=!0,n}return function(i,d,b){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&f(d,b),a=d,s=b;(t=a<2?e:s)||!u;){l||(a?a<3?(a>1&&(m.n=-1),f(a,s)):m.n=s:m.v=s);
2try{if(c=2,l){if(a||(i="next"),t=l[i]){if(!(t=t.call(l,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=l.return)&&t.call(l),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);l=e}else if((t=(u=m.n<0)?s:r.call(n,m))!==o)break}catch(t){l=e,a=1,s=t}finally{c=1}}return{value:t,done:u}}}(r,i,l),!0),c}var o={};function a(){}function s(){}function c(){}t=Object.getPrototypeOf;var m=[][n]?t(t([][n]())):(u(t={},n,(function(){return this})),t),f=c.prototype=a.prototype=Object.create(m);function b(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,u(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return s.prototype=c,u(f,"constructor",c),u(c,"constructor",s),s.displayName="GeneratorFunction",u(c,i,"GeneratorFunction"),u(f),u(f,i,"Generator"),u(f,n,(function(){return this})),u(f,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:l,m:b}})()}function u(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}u=function(e,t,r,n){if(t)i?i(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r;else{var l=function(t,r){u(e,t,(function(e){return this._invoke(t,r,e)}))};l("next",0),l("throw",1),l("return",2)}},u(e,t,r,n)}function m(e,t,r,n,i,l,o){try{var a=e[l](o),s=a.value}catch(e){return void r(e)}a.done?t(s):Promise.resolve(s).then(n,i)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var b=function(){var e,t,r=(0,n.wA)(),l=(e=c.useGetBlog(),t=1,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],o=function(){var e,t=(e=d().m((function e(t,n,o){var a,s;return d().w((function(e){for(;;)switch(e.n){case 0:return a={slug:t,page:n,size:o},e.n=1,l({blogData:a});case 1:return s=e.v,r(i.T.blogsCategoryData({pathName:t,data:s.data})),e.a(2,s.data)}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,i){var l=e.apply(t,r);function o(e){m(l,n,i,o,a,"next",e)}function a(e){m(l,n,i,o,a,"throw",e)}o(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}();return[o]},p=r(58246),h=r(39564),g=r(50624),x=r(46125),v=r(74848),y=function(e){var t=e.desktopFragmentWidth,r=e.tabletFragmentWidth,n=e.mobileFragmentWidth,i=e.blogPostData,l=e.loadMoreText,o=e.handleLoadMore,a=e.loadmoreLink,s=e.showLoadMoreButton;return(0,v.jsxs)(h.Ei,{col:n,medium:r,large:t,children:[(0,v.jsx)(h.xA,{children:null==i?void 0:i.map((function(e){var t,r,n,i,l,o,a,s,c=[{width:null===(t=e.image)||void 0===t?void 0:t.width,height:null===(r=e.image)||void 0===r?void 0:r.height,priority:1,type:"webp",url:(0,g.U)(null===(n=e.image)||void 0===n?void 0:n.url,{format:"webp",w:null===(i=e.image)||void 0===i?void 0:i.width})},{width:null===(l=e.image)||void 0===l?void 0:l.width,height:null===(o=e.image)||void 0===o?void 0:o.height,default:!0,alt:"",url:(0,g.U)(null===(a=e.image)||void 0===a?void 0:a.url,{w:null===(s=e.image)||void 0===s?void 0:s.width})}];return(0,v.jsx)(h.Ei,{col:12,medium:4,large:4,children:(0,v.jsx)(x.A,{link:e.url,imageObject:c,title:e.title,blogDetail:e.blogDetail})},e.title)}))}),s&&(0,v.jsx)("div",{className:"mt-5 w-full text-center md:mx-auto md:mt-10 md:max-w-60",children:(0,v.jsx)("a",{href:a,onClick:o,className:"flex h-11 items-center justify-center rounded-sm bg-migrationGeneralEnquiryButton px-4 py-2 font-label text-base leading-4 text-brandText1 no-underline transition-colors duration-300 ease-in-out hover:bg-migrationGeneralEnquiryButtonHover lg:h-12 lg:leading-5",children:l})})]})};function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?w(Object(r),!0).forEach((function(t){N(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function N(e,t,r){return(t=function(e){var t=function(e){if("object"!=j(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==j(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const S=function(e){var t,r,c,d,u,m,f=e.desktopFragmentWidth,h=e.tabletFragmentWidth,g=e.mobileFragmentWidth,x=e.loadMoreText,j=e.text,w=(u=b(),m=1,function(e){if(Array.isArray(e))return e}(u)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(u,m)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}(u,m)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],N=(0,s.a)().pathname,S=(0,n.d4)(i.L.blogDataFromPath(N)),F=(0,p.h)(["labelsGlobalBlogMinsReadText"]).labelsGlobalBlogMinsReadText;return(0,v.jsx)(y,{desktopFragmentWidth:l.VL[f],tabletFragmentWidth:l.VL[h],mobileFragmentWidth:l.VL[g],blogPostData:null===(d=S.blogs)||void 0===d?void 0:d.map((function(e){var t;return O(O({},e),{},{image:O(O({},null==e?void 0:e.image),{},{height:181,width:370}),blogDetail:{author:null==e||null===(t=e.author)||void 0===t?void 0:t.firstName,date:(0,a.dw)(e.publishDate),readTime:(0,o.J)(F,e.readTime)}})})),loadMoreText:x||j,handleLoadMore:function(e){var t,r;e.preventDefault(),w(N,(null==S||null===(t=S.pagination)||void 0===t?void 0:t.pageNumber)&&S.pagination.pageNumber+1,null==S||null===(r=S.pagination)||void 0===r?void 0:r.size)},loadmoreLink:"".concat(N,"?pgno=").concat((null==S||null===(t=S.pagination)||void 0===t?void 0:t.pageNumber)&&S.pagination.pageNumber+1),showLoadMoreButton:(null==S||null===(r=S.blogs)||void 0===r?void 0:r.length)<(null==S||null===(c=S.pagination)||void 0===c?void 0:c.total)})}},14891:(e,t,r)=>{r.d(t,{A:()=>C});var n=r(96540),i=r(71468),l=r(39564),o=r(31198),a=r(68830),s=r(97953),c=r(40212),d=r(74938),u=r(74848);const m=function(e){var t,r=e.vacancy,n=e.labels,i=e.setTab;return(0,u.jsxs)("div",{className:"flex flex-col gap-5 bg-white p-4",children:[(0,u.jsxs)("div",{className:"flex flex-row border-b border-grey-200 pb-2.5",children:[(null==r?void 0:r.location)&&(0,u.jsxs)("div",{className:"mr-2.5 text-base font-normal leading-tight",children:[(0,u.jsx)("span",{className:"font-bold",children:null==n?void 0:n.labelsGlobalVacancyLocation}),"".concat(null==r?void 0:r.location,", ").concat(null==r?void 0:r.postcode)]}),(null==r?void 0:r.department)&&(0,u.jsxs)("div",{className:"mr-2.5 text-base font-normal leading-tight",children:[(0,u.jsx)("span",{className:"font-bold",children:n.labelsGlobalVacancyDepartment}),null==r?void 0:r.department]})]}),(null==r?void 0:r.jobDuties)&&(0,u.jsxs)("div",{children:[(0,u.jsx)("h2",{className:"text-base !font-bold leading-tight font-body",children:n.labelsGlobalVacancyJobDuties}),(0,u.jsx)(c.s,{richText:r.jobDuties,className:"text-base font-normal leading-tight font-body"})]}),(null==r?void 0:r.skillsExperience)&&(0,u.jsxs)("div",{children:[(0,u.jsx)("h2",{className:"text-base !font-bold leading-tight font-body",children:n.labelsGlobalVacancySkillsExperience}),(0,u.jsx)(c.s,{richText:r.skillsExperience,className:"text-base font-normal leading-tight font-body"})]}),(null==r?void 0:r.annualSalary)&&(0,u.jsxs)("div",{children:[(0,u.jsx)("h2",{className:"text-base !font-bold leading-tight font-body",children:n.labelsGlobalVacancyAnnualSalary}),(0,u.jsx)(c.s,{richText:r.annualSalary,className:"text-base font-normal leading-tight font-body"})]}),(null==r?void 0:r.annualLeave)&&(0,u.jsxs)("div",{children:[(0,u.jsx)("h2",{className:"text-base !font-bold leading-tight font-body",children:n.labelsGlobalVacancyAnnualLeave}),(0,u.jsx)(c.s,{richText:r.annualLeave,className:"text-base font-normal leading-tight font-body"})]}),(null==r?void 0:r.benefits)&&(0,u.jsxs)("div",{children:[(0,u.jsx)("h2",{className:"text-base !font-bold leading-tight font-body",children:n.labelsGlobalVacancyBenefits}),(0,u.jsx)(c.s,{richText:r.benefits,className:"text-base font-normal leading-tight font-body"})]}),(null==r||null===(t=r.icons)||void 0===t?void 0:t.length)>0&&(0,u.jsx)("div",{className:"flex flex-row flex-wrap border-b border-t border-grey-200 pt-5",children:r.icons.map((function(e){return(0,u.jsxs)("div",{className:"mb-5 flex w-1/2 flex-col items-center lg:w-[33%]",children:[(0,u.jsx)("div",{className:"mb-[5
2px]",children:(0,u.jsx)(d.default,{className:"h-[60px] w-[60px]",type:e.icon,height:"60",width:"60"})}),(0,u.jsx)("div",{className:"text-sm leading-tight",children:e.text})]},e.keyId)}))}),(null==r?void 0:r.whatHappensNext)&&(0,u.jsxs)("div",{children:[(0,u.jsx)("h2",{className:"text-base !font-bold leading-tight font-body",children:n.labelsGlobalVacancyHappensNext}),(0,u.jsx)(c.s,{richText:r.whatHappensNext,className:"text-base font-normal leading-tight font-body"})]}),(null==r?void 0:r.equalOpportunities)&&(0,u.jsxs)("div",{children:[(0,u.jsx)("h2",{className:"text-base !font-bold leading-tight font-body",children:n.labelsGlobalVacancyEqualOpportunities}),(0,u.jsx)(c.s,{richText:r.equalOpportunities,className:"text-base font-normal leading-tight font-body"})]}),(0,u.jsx)("div",{children:(0,u.jsx)("h2",{className:"text-base !font-bold leading-tight font-body",children:n.labelsGlobalVacancyLikeWhatYouveRead})}),(0,u.jsx)("div",{className:"mt-2.5 flex justify-center",children:(0,u.jsx)(s.$n,{onClick:function(){return i(null==n?void 0:n.labelsGlobalVacancyApplication)},text:null==n?void 0:n.labelsGlobalApplyNow})})]})};var f=r(51894),b=r.n(f),p=[[{label:"First Name *",id:"firstName",type:"input"},{label:"Last Name *",id:"lastName",type:"input"}],[{label:"Main Phone Number *",id:"phoneNumber",type:"tel",trim:!0}],[{label:"Your Email *",id:"email",type:"input"}],[{label:"Confirm Email *",id:"emailConfirm",type:"input"}],[{label:"Location (City)*",id:"townCity",type:"input"}],[{label:"LinkedIn Profile",id:"linkedInProfile",type:"input"}],[{title:"Resume/CV*",subtitle:"(File Types: pdf, doc, docx, txt, rtf; Max File Size: 5mb)",label:"Add Attachment",id:"cvUpload",type:"documentUpload"}],[{title:"Cover Letter",subtitle:"(File Types: pdf, doc, docx, txt, rtf)",label:"Add Attachment",id:"coverLetterUpload",type:"documentUpload"}],[{id:"privacyPolicy",type:"privacyPolicy"}],[{id:"captchaToken",type:"recaptcha"}]],h=r(80806),g=r(50822),x=r(6338),v=r(66977),y=r(64085);function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){N(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function N(e,t,r){return(t=function(e){var t=function(e){if("object"!=j(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==j(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function l(r,n,i,l){var s=n&&n.prototype instanceof a?n:a,c=Object.create(s.prototype);return S(c,"_invoke",function(r,n,i){var l,a,s,c=0,d=i||[],u=!1,m={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,r){return l=t,a=0,s=e,m.n=r,o}};function f(r,n){for(a=r,s=n,t=0;!u&&c&&!i&&t<d.length;t++){var i,l=d[t],f=m.p,b=l[2];r>3?(i=b===n)&&(a=l[4]||3,s=l[5]===e?l[3]:l[5],l[4]=3,l[5]=e):l[0]<=f&&((i=r<2&&f<l[1])?(a=0,m.v=n,m.n=l[1]):f<b&&(i=r<3||l[0]>n||n>b)&&(l[4]=r,l[5]=n,m.n=b,a=0))}if(i||r>1)return o;throw u=!0,n}return function(i,d,b){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&f(d,b),a=d,s=b;(t=a<2?e:s)||!u;){l||(a?a<3?(a>1&&(m.n=-1),f(a,s)):m.n=s:m.v=s);try{if(c=2,l){if(a||(i="next"),t=l[i]){if(!(t=t.call(l,s)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=l.return)&&t.call(l),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);l=e}else if((t=(u=m.n<0)?s:r.call(n,m))!==o)break}catch(t){l=e,a=1,s=t}finally{c=1}}return{value:t,done:u}}}(r,i,l),!0),c}var o={};function a(){}function s(){}function c(){}t=Object.getPrototypeOf;var d=[][n]?t(t([][n]())):(S(t={},n,(function(){return this})),t),u=c.prototype=a.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,S(e,i,"GeneratorFunction")),e.prototype=Object.create(u),e}return s.prototype=c,S(u,"constructor",c),S(c,"constructor",s),s.displayName="GeneratorFunction",S(c,i,"GeneratorFunction"),S(u),S(u,i,"Generator"),S(u,n,(function(){return this})),S(u,"toString",(function(){return"[object Generator]"})),(k=function(){return{w:l,m}})()}function S(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}S=function(e,t,r,n){if(t)i?i(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r;else{var l=function(t,r){S(e,t,(function(e){return this._invoke(t,r,e)}))};l("next",0),l("throw",1),l("return",2)}},S(e,t,r,n)}function F(e,t,r,n,i,l,o){try{var a=e[l](o),s=a.value}catch(e){return void r(e)}a.done?t(s):Promise.resolve(s).then(n,i)}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return W(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?W(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const L=function(e){var t=e.alerts,r=e.title,l=e.location,a=T((0,n.useState)([]),2),s=a[0],c=a[1],d=T((0,n.useState)([]),2),m=d[0],f=d[1],j=T((0,x.oW)(),1)[0],w=(0,i.d4)(o.L.helpCentreFormStatus),N=new(b()),S=T((0,g._Y)(),1)[0],W=function(){var e,t=(e=k().m((function e(t){var n;return k().w((function(e){for(;;)switch(e.n){case 0:return N.append("FirstName",t.firstName),N.append("LastName",t.lastName),N.append("PhoneNumber",t.phoneNumber),N.append("EmailAddress",t.email),N.append("ConfirmEmailAddress",t.emailConfirm),N.append("Location",t.townCity),N.append("LinkedInProfile",t.linkedInProfile),t.cvUpload.map((function(e){return N.append("CV",e)})),t.coverLetterUpload.map((function(e){return N.append("CoveringLetter",e)})),N.append("JobTitle",r),N.append("JobLocation",l),N.append("RecaptchaResponse",t.captchaToken),e.n=1,j(S,N);case 1:return n=e.v,e.a(2,n)}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,i){var l=e.apply(t,r);function o(e){F(l,n,i,o,a,"next",e)}function a(e){F(l,n,i,o,a,"throw",e)}o(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,x.F7)(),(0,u.jsxs)("div",{className:"bg-white py-4",children:[(0,u.jsx)(v.A,O({},t[0])),(0,u.jsx)("div",{className:"px-4",children:(0,u.jsx)(h.l,{rowWidth:!0,formData:p,hasRequiredFields:!0,onSubmit:W,defaultValues:{privacyPolicy:!1,cvUpload:[],coverLetterUpload:[]},isPending:"pending"===w,yupSchema:O(O(O(O(O(O(O(O(O(O(O({},y.u$),y.UK),y.K7),y.Sv),y.Rp),y.F2),y.gh),y.hM),y.sw),y.Jg),y.zx),useDocumentUpload:{selectedDocument:s,setSelectedDocument:c},useSecondDocumentUpload:{selectedSecondDocument:m,setSelectedSecondDocument:f}})})]})};var P=r(58246);function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const C=function(e){var t,r,s=e.desktopFragmentWidth,c=e.tabletFragmentWidth,d=e.mobileFragmentWidth,f=e.vacancy,b=e.alerts,p=(0,i.d4)(o.L.vacancyFromId(f.referenceId)),h=(0,P.h)(["labelsGlobalVacancyJobDuties","labelsGlobalVacancySkillsExperience","labelsGlobalVacancyAnnualSalary","labelsGlobalVacancyAnnualLeave","labelsGlobalVacancyBenefits","labelsGlobalVacancyHappensNext","labelsGlobalVacancyEqualOpportunities","labelsGlobalVacancyLikeWhatYouveRead","labelsGlobalVacancyDepartment","labelsGlobalVacancyLocation","labelsGlobalVacancyOverview","labelsGlobalVacancyApplication","labelsGlobalVacancyEqualOpportunities","labelsGlobalApplyNow"]),g=h.labelsGlobalVacancyOverview,x=h.labelsGlobalVacancyApplication,v=(t=(0,n.use
2State)(g),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(t,r)||function(e,t){if(e){if("string"==typeof e)return A(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=v[0],j=v[1],w=function(e){return j(e===g?g:x)};return(0,u.jsx)(l.xA,{children:(0,u.jsxs)(l.Ei,{col:a.VL[d],medium:a.VL[c],large:a.VL[s],children:[(0,u.jsxs)("div",{className:"flex flex-row gap-2.5",children:[(0,u.jsx)("div",{className:"w-[120px] flex h-[46px] cursor-pointer items-center justify-center text-base leading-normal font-body !font-bold ".concat(g===y?"border-b-[3px] border-b-brand bg-white text-brand":"bg-neutralLight text-greyBase"),onClick:function(){return w(g)},children:g}),(0,u.jsx)("div",{className:"w-[120px] flex h-[46px] cursor-pointer items-center justify-center text-base leading-normal font-body !font-bold ".concat(x===y?"border-b-[3px] border-b-brand bg-white text-brand":"bg-neutralLight text-greyBase"),onClick:function(){return w(x)},children:x})]}),g===y?(0,u.jsx)(m,{vacancy:p,labels:h,setTab:function(e){window.scrollTo(0,0),w(e)}}):(0,u.jsx)(L,{alerts:b,title:p.title,location:p.location})]})})}},14999:(e,t,r)=>{r.d(t,{t:()=>s});var n=r(68830),i=r(39564),l=r(40212),o=r(74848),a=function(e){var t=e.desktopFragmentWidth,r=e.tabletFragmentWidth,n=e.mobileFragmentWidth,a=e.title,s=e.rightText,c=e.leftText;return(0,o.jsx)(i.Ei,{col:n,medium:r,large:t,children:(0,o.jsxs)("div",{className:"px-2.5 sm:px-5",children:[a&&(0,o.jsx)("div",{className:"mb-5",children:(0,o.jsx)(l.s,{richText:a})}),(0,o.jsxs)("div",{className:"flex flex-col sm:flex-row",children:[(0,o.jsx)("div",{className:"mb-4 w-full border-b border-grey-200 pb-3 sm:mb-0 sm:w-1/2 sm:border-b-0 sm:border-r sm:pb-0 sm:pr-[15px]",children:(0,o.jsx)(l.s,{richText:c})}),(0,o.jsx)("div",{className:"w-full pb-[15px] sm:w-1/2 sm:px-[15px] sm:pb-0",children:(0,o.jsx)(l.s,{richText:s})})]})]})})},s=function(e){var t=e.desktopFragmentWidth,r=e.tabletFragmentWidth,i=e.mobileFragmentWidth,l=e.title,s=e.rightText,c=e.leftText;return(0,o.jsx)(a,{desktopFragmentWidth:n.VL[t],tabletFragmentWidth:n.VL[r],mobileFragmentWidth:n.VL[i],title:l,rightText:s,leftText:c})}},16107:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(96540),i=r(71468),l=r(31198),o=r(85816),a=r(4521),s=r(53150),c=r(18760),d=r(34689),u=r(74848);const m=function(e){var t=e.pagination,r=e.paginationDefaultSize,m=e.paginationText,f=e.loadMoreDetailsPage,b=e.loadMoreDetailsLabel,p=e.onLoadMore,h=(0,o.a)(),g=h.pathname,x=h.search,v=(0,i.d4)(l.L.pageTemplateId(g)),y=(0,s.A)(v?"".concat(v,"|loadmorebutton"):"loadmorebutton"),j=new URLSearchParams(x),w=Array.from(j.keys()).sort().map((function(e){var t=j.get(e);if(!("ap"===e&&"0"===t||"sb"===e&&"1"===t))return"".concat(e,"=").concat(j.get(e))})).filter(Boolean).join("_"),O=(w=w.replace(/\s+/g,""))||g,N=(0,n.useRef)(null);return(0,c.A)({ref:N,clickSource:y,dataLayerId:O}),(0,u.jsxs)("div",{className:"mb-2 mt-6 flex w-full flex-col items-center justify-center",children:[(0,u.jsx)("p",{className:"py-4",children:m}),(0,u.jsx)("div",{className:"w-full max-w-60",children:(0,u.jsx)(d.z,{type:"thin",progressValue:(null==t?void 0:t.total)<r?100:100*(((null==t?void 0:t.size)||0)+((null==t?void 0:t.from)||0))/((null==t?void 0:t.total)||0)})}),(null==t?void 0:t.total)>((null==t?void 0:t.size)||0)+((null==t?void 0:t.from)||0)&&(0,u.jsx)("a",{ref:N,href:f&&f,className:"relative m-auto flex h-12 w-full items-center justify-center gap-2 rounded-sm border-2 border-brand bg-brand px-6 py-4 text-base leading-4 text-brandText1 no-underline transition-colors duration-300 ease-in-out font-label hover:border-brandSecondary hover:bg-brandSecondary md:w-60 lg:h-12 lg:leading-5",role:"button","data-testid":"loadMore-button",onClick:function(e){e.preventDefault(),(0,a.T)({clickSource:y}),p()},children:b})]})}},20586:(e,t,r)=>{r.d(t,{e:()=>s});var n=r(71468),i=r(85816),l=r(31198),o=r(90591),a=r(74848),s=function(e){var t,r,s=e.title,c=e.desktopFragmentWidth,d=e.tabletFragmentWidth,u=e.mobileFragmentWidth,m=(0,i.a)().pathname,f=(0,n.d4)(l.L.pageDetails(m)),b={referenceCollection:null==f||null===(t=f.blogCategoryListings)||void 0===t?void 0:t.referenceCollection,referenceId:null==f||null===(r=f.blogCategoryListings)||void 0===r?void 0:r.referenceId};return(0,a.jsx)(a.Fragment,{children:b.referenceCollection&&b.referenceId&&(0,a.jsx)(o.A,{desktopFragmentWidth:c,tabletFragmentWidth:d,mobileFragmentWidth:u,title:s,category:b,stackStyle:"carouselTraditional",hideViewAll:!0})})}},21440:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(68830),i=r(39564),l=r(50856),o=r(74938),a=r(74848),s=function(e){var t=e.icon,r=e.text,n=e.className;return(0,a.jsxs)("li",{className:(0,l.QP)("md:[&_svg]:h-[60px] md:[&_svg]:w-[60px] md:[&_svg]:min-w-[60px] flex items-center [&_svg]:h-10 [&_svg]:min-
2h-10 [&_svg]:w-10 [&_svg]:min-w-10 md:[&_svg]:min-h-10",n),children:[(0,a.jsx)(o.default,{type:t}),(0,a.jsx)("p",{className:"mx-5 text-sm leading-[1.4] font-label md:text-base md:leading-[1.4]",children:r})]})},c=r(85997),d=r(40212),u=function(e){var t=e.title,r=e.iconTextList,n=e.formId,l=e.formFooterText,o=e.desktopFragmentWidth,u=e.tabletFragmentWidth,m=e.mobileFragmentWidth;return(0,a.jsx)(i.Ei,{col:m,medium:u,large:o,children:(0,a.jsxs)("div",{children:[(0,a.jsx)(d.s,{className:"[&_p]:!p-0",richText:t}),r&&(null==r?void 0:r.length)>0&&(0,a.jsx)("ul",{className:"mt-5 flex flex-col md:flex-row md:flex-wrap md:justify-start lg:justify-between lg:[&_.newsletter-signup-icon-container:last-child_p]:mr-0 [&_.newsletter-signup-icon-container]:mb-5 [&_.newsletter-signup-icon-container]:grow sm:[&_.newsletter-signup-icon-container]:basis-0 lg:[&_.newsletter-signup-icon-container]:grow-0 lg:[&_.newsletter-signup-icon-container]:basis-auto",children:r.map((function(e){return(0,a.jsx)(s,{icon:e.icon,text:e.title,className:"newsletter-signup-icon-container"},e.keyId)}))}),(0,a.jsx)(c.o,{type:n,variant:"hasButton",className:"help-centre-newsletter-signup"}),(0,a.jsx)("div",{className:"mt-5",children:(0,a.jsx)(d.s,{className:"[&_p]:!p-0",richText:l})})]})})};const m=function(e){var t=e.title,r=e.iconTextList,i=e.formId,l=e.formFooterText,o=e.desktopFragmentWidth,s=e.tabletFragmentWidth,c=e.mobileFragmentWidth;return(0,a.jsx)(u,{title:t,iconTextList:r,formId:i,formFooterText:l,desktopFragmentWidth:n.VL[o],tabletFragmentWidth:n.VL[s],mobileFragmentWidth:n.VL[c]})}},21720:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(68830),i=r(39564),l=r(50692),o=r(40212),a=r(38429),s=r(7234),c=r(74848),d=function(e){var t=e.showroomAddress,r=e.mondayOpeningTime,n=e.tuesdayOpeningTime,i=e.wednesdayOpeningTime,d=e.thursdayOpeningTime,u=e.fridayOpeningTime,m=e.saturdayOpeningTime,f=e.sundayOpeningTime;return(0,c.jsxs)("div",{className:"my-6 flex flex-col gap-2.5 lg:flex-row lg:gap-0",children:[(0,c.jsxs)("div",{className:"w-full",children:[(0,c.jsxs)("div",{className:"flex flex-row",children:[(0,c.jsx)("div",{className:"mr-2.5 flex w-[30px] justify-center",children:(0,c.jsx)(s.default,{height:25,fill:l.Tj.vpGreen})}),(0,c.jsx)("div",{className:"text-xl !font-normal leading-7 font-display",children:"Showroom"})]}),(0,c.jsx)("div",{className:"ml-10",children:(0,c.jsx)(o.s,{richText:t})})]}),(0,c.jsxs)("div",{className:"w-full",children:[(0,c.jsxs)("div",{className:"flex flex-row",children:[(0,c.jsx)("div",{className:"mr-2.5 flex w-[30px] justify-center",children:(0,c.jsx)(a.default,{height:25,fill:l.Tj.vpGreen})}),(0,c.jsx)("div",{className:"text-xl !font-normal leading-7 font-display",children:"Showroom Opening Times"})]}),(0,c.jsxs)("div",{className:"ml-10",children:[(0,c.jsxs)("div",{className:"flex flex-row",children:[(0,c.jsx)("div",{className:"w-20",children:"Mon"}),(0,c.jsx)("div",{className:"mx-2.5",children:"-"}),(0,c.jsx)("div",{className:"ml-9",children:r})]}),(0,c.jsxs)("div",{className:"flex flex-row",children:[(0,c.jsx)("div",{className:"w-20",children:"Tues"}),(0,c.jsx)("div",{className:"mx-2.5",children:"-"}),(0,c.jsx)("div",{className:"ml-9",children:n})]}),(0,c.jsxs)("div",{className:"flex flex-row",children:[(0,c.jsx)("div",{className:"w-20",children:"Wed"}),(0,c.jsx)("div",{className:"mx-2.5",children:"-"}),(0,c.jsx)("div",{className:"ml-9",children:i})]}),(0,c.jsxs)("div",{className:"flex flex-row",children:[(0,c.jsx)("div",{className:"w-20",children:"Thur"}),(0,c.jsx)("div",{className:"mx-2.5",children:"-"}),(0,c.jsx)("div",{className:"ml-9",children:d})]}),(0,c.jsxs)("div",{className:"flex flex-row",children:[(0,c.jsx)("div",{className:"w-20",children:"Fri"}),(0,c.jsx)("div",{className:"mx-2.5",children:"-"}),(0,c.jsx)("div",{className:"ml-9",children:u})]}),(0,c.jsxs)("div",{className:"flex flex-row",children:[(0,c.jsx)("div",{className:"w-20",children:"Sat"}),(0,c.jsx)("div",{className:"mx-2.5",children:"-"}),(0,c.jsx)("div",{className:"ml-9",children:m})]}),(0,c.jsxs)("div",{className:"flex flex-row",children:[(0,c.jsx)("div",{className:"w-20",children:"Sun"}),(0,c.jsx)("div",{className:"mx-2.5",children:"-"}),(0,c.jsx)("div",{className:"ml-9",children:f})]})]})]})]})},u=function(e){var t=e.desktopFragmentWidth,r=e.mobileFragmentWidth,n=e.tabletFragmentWidth,l=e.showroomPageTitle,o=e.showroomInformationText,a=e.showroomAddress,s=e.mondayOpeningTime,u=e.tuesdayOpeningTime,m=e.wednesdayOpeningTime,f=e.thursdayOpeningTime,b=e.fridayOpeningTime,p=e.saturdayOpeningTime,h=e.sundayOpeningTime;return(0,c.jsx)("div",{className:"w-full px-2.5 pt-5 md:px-5 md:pt-0",children:(0,c.jsx)(i.Ei,{large:t,medium:n,col:r,children:(0,c.jsx)(d,{showroomPageTitle:l,showroomInformationText:o,showroomAddress:a,mondayOpeningTime:s,tuesdayOpeningTime:u,wednesdayOpeningTime:m,thursdayOpeningTime:f,fridayOpeningTime:b,saturdayOpeningTime:p,sundayOpeningTime:h})})})};const m=function(e){var t=e.desktopFragmentWidth,r=e.tabletFragmentWidth,i=e.mobileFragmentWidth,l=e.showroomPageTitle,o=e.showroomInformationText,a=e.showroomAddress,s=e.mondayOpeningTime,d=e.tuesdayOpeningTime,m=e.wednesdayOpeningTime,f=e.thursdayOpeningTime,b=e.fridayOpeningTime,p=e.saturdayOpeningTime,h=e.sundayOpeningTime;return(0,c.jsx)(u,{desktopFragmentWidth:n.VL[t],tabletFragmentWidth:n.VL[r],mobileFragmentWidth:n.VL[i],showroomPageTitle:l,showroomInformationText:o,showroomAddress:a,mondayOpeningTime:s,tuesdayOpeningTime:d,wednesdayOpeningTime:m,thursdayOpeningTime:f,fridayOpeningTime:b,saturdayOpeningTime:p,sundayOpeningTime:h})}},22444:(e,t,r)=>{r.d(t,{Q:()=>b});var n=r(71468),i=r(39564),l=r(72893),o=r(89367),a=r(74848),s=function(e){var t=e.desktopFragmentWidth,r=e.isVisible,n=e.mobileFragmentWidth,s=e.activeOrder,c=e.tabletFragmentWidth,d=e.title,u=e.selectOrderCallback,m=e.buttonText;return(0,a.jsx)(a.Fragment,{children:r&&(0,a.jsx)("div",{className:"flex w-full flex-col gap-2.5 lg:gap-5",children:(0,a.jsxs)(i.Ei,{col:n,medium:c,large:t,children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5 pb-2.5 lg:pb-5",children:[(0,a.jsx)("div",{className:"w-auto",children:(0,a.jsx)(o.s,{richText:d})}),(0,a.jsxs)("p",{className:"font-body text-base",children:[s.orders.length," orders"]})]}),(0,a.jsx)("div",{className:"flex flex-col gap-2.5 lg:gap-5",children:s&&(null==s?void 0:s.orders.map((function(e){return(0,a.jsx)("div",{className:"bg-background2 p-2.5 lg:p-5",children:(0,a.jsx)(l.f,{orderNumber:e.orderNumber,orderNumberLabel:"Order Number",orderStatusLabel:"Order Status",orderStatus:e.displayStatus,orderItemCountLabel:"Number of items",orderItemCount:e.orderItems.length,buttonCallback:function(){return u(e)},buttonText:m,buttonVariant:"solid"})},e.orderNumber)})))})]})})})},c=r(31198),d=r(68830),u=r(87136),m=r(7843),f=r(72010),b=function(e){var t=e.desktopFragmentWidth,r=e.mobileFragmentWidth,i=e.tabletFragmentWidth,l=e.title,o=e.buttonText,b=(0,n.wA)(),p=(0,n.d4)(c.L.activeOrder),h=null==p?void 0:p.isSplitOrder;return(0,a.jsx)(s,{activeOrder:p,desktopFragmentWidth:d.VL[t],isVisible:h,mobileFragmentWidth:d.VL[r],tabletFragmentWidth:d.VL[i],title:l,selectOrderCallback:function(e){var t=(0,u.zo)(e);b(c.T.storeSelectedOrderStatus(e.displayStatus)),t&&b(c.T.updateHelpCentreReturnStatus(t)),b(c.T.activeOrderData(e)),null!=e&&e.orderNumber&&null!=e&&e.email&&(0,f.n)(1,"cod",{on:e.orderNumber,e:e.email}),(0,m.qt)("helpCentreContentSectionTop")},buttonText:o})}},23754:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(71468),i=r(31198),l=r(68830),o=r(85816),a=r(39564),s=r(74848),c=function(e){var t=e.desktopFragmentWidth,r=e.tabletFragmentWidth,n=e.mobileFragmentWidth,i=e.backgroundColor,l=e.titleColour,o=e.title,c=e.copy;return(0,s.jsx)(a.Ei,{col:n,medium:r,large:t,children:(0,s.jsxs)("div",{className:"rounded-[3px] p-4 md:text-center",style:{backgroundColor:i?"#".concat(i):"#221924"},children:[(0,s.jsx)("h1",{className:"mb-2.5 text-3xl font-bold md:mb-5 md:text-[2.5rem]",style:{color:l?"#".concat(l):"#45CCFF"},children:o}),(0,s.jsx)("p",{className:"text-sm text-white md:text-base",children:c})]})})};const d=function(e){var t,r,a,d,u=e.desktopFragmentWidth,m=e.tabletFragmentWidth,f=e.mobileFragmentWidth,b=(0,o.a)().pathname,p=(0,n.d4)(i.L.blogDataFromPath(b));return(0,s.jsx)(c,{desktopFragmentWidth:l.VL[u],tabletFragmentWidth:l.VL[m],mobileFragmentWidth:l.VL[f],title:null==p||null===(t=p.category)||void 0===t?void 0:t.displayLabel,copy:null==p||null===(r=p.category)||void 0===r?void 0:r.blogDescription,titleColour:null==p||null===(a=p.category)||void 0===a?void 0:a.primaryColor,backgroundColor:null==p||null===(d=p.category)||void 0===d?void 0:d.secondaryColor})}},25819:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(71468),i=r(88522),l=r(85816),o=r(80210),a=r(58246),s=r(74848);const c=()=>{const{pathname:e}=(0,l.a)(),t=(0,n.d4)((0,o.Eo)(e)),{labelsGlobalProductListingFacetCategoriesSwiperTitle:r}=(0,a.h)(["labelsGlobalProductListingFacetCategoriesSwiperTitle"]);return t.length?(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"mb-4 text-base leading-5 font-label md:text-lg md:leading-6 lg:text-xl",children:r}),(0,s.jsx)("div",{className:"custom-horizontal-scrollbar flex gap-3 overflow-x-auto lg:gap-6 lg:!pb-4",children:t.filter((e=>e.linkSlug)).map((e=>(0,s.jsx)(i.A,{href:e.linkSlug||"",className:"flex h-[68px] w-[210px] shrink-0 items-center border border-greyMid bg-white p-4 text-center lg:w-[240px]",variant:"buttonOutline",underline:!1,children:(0,s.jsx)("span",{className:"line-clamp-2",children:e.displayValue})},e.identifier)))})]}):null}},29420:(e,t,r)=>{r.d(t,{j:()=>p});var n=r(68830),i=r(39564),l=r(50856),o=r(98586),a=r(77477),s=r(24175),c=r(89367),d=r(88522),u=r(74848),m=(0,a.tw)({base:"w-full",modifiers:function(e,t){return(0,l.Id)(e?"":"bg-none",e&&Object.keys(o.e).includes(e)?o.e[e]:o.e.default,t&&Object.keys(c.o).includes(t)?c.o[t]:c.o.default)}}),f=function(e){var t=e.accordions,r=e.cta,n=e.icon,o=e.title,a=e.className;return(0,u.jsxs)("section",{className:(0,l.QP)(a,"flex flex-col gap-5"),children:[(0,u.jsx)("h2",{className:"font-label text-lg text-textBlack lg:font-labelLarge lg:text-[22px]",children:o}),(0,u.jsx)(i.xA,{align:"items-stretch",children:(0,u.jsx)(i.Ei,{children:t.map((function(e){return(0,u.jsx)("div",{className:(0,l.QP)(m.modifiers(e.backgroundColor,e.textColor),"mb-3 rounded-sm"),children:(0,u.jsx)(s.n,{title:e.title,icon:n,children:(0,u.jsx)("div",{className:"p-3",children:(0,u.jsx)(c.s,{richText:e.richText})})})},e.keyId)}
2))})}),(null==r?void 0:r.url)&&(0,u.jsx)("div",{className:"w-full text-center md:mx-auto md:max-w-max",children:(0,u.jsx)(d.A,{variant:"button",underline:!1,href:r.url,className:"w-full text-center",children:r.text})})]})},b=function(e){var t=e.accordions,r=e.cta,n=e.desktopFragmentWidth,l=e.icon,o=e.mobileFragmentWidth,a=e.tabletFragmentWidth,s=e.title;return(0,u.jsx)(i.Ei,{col:o,large:n,medium:a,children:(0,u.jsx)(f,{accordions:t,cta:r,icon:l,title:s})})},p=function(e){var t=e.title,r=e.cta,i=e.accordions,l=e.desktopFragmentWidth,o=e.tabletFragmentWidth,a=e.mobileFragmentWidth;return(0,u.jsx)(b,{title:t,cta:r,accordions:i,desktopFragmentWidth:n.VL[l],tabletFragmentWidth:n.VL[o],mobileFragmentWidth:n.VL[a]})}},30962:(e,t,r)=>{r.d(t,{A:()=>h});var n=r(39564),i=r(71468),l=r(68830),o=r(31198),a=r(58246),s=r(50624),c=r(23016),d=r(88522),u=r(25163),m=r(98553),f=r(74848);const b=function(e){var t=e.appleAppStoreLink,r=e.googlePlayStoreLink,n=e.googleImageObject,i=e.appleImageObject,l=e.labels;return(0,f.jsxs)("div",{className:"flex w-full flex-row items-center justify-center gap-5 py-8 sm:justify-around xl:py-12",children:[(0,f.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,f.jsx)("div",{className:"hidden h-[104px] w-[104px] xl:block",children:(0,f.jsx)(c.V,{imageObject:i})}),(0,f.jsx)(d.A,{href:t.url,target:t.target,rel:t.rel,clickSourceId:t.clickSourceId,ariaLabel:l.labelsGlobalAppleAppStoreLink,children:(0,f.jsx)(m.default,{className:"h-10 w-[120px] sm:h-12 sm:w-36"})})]}),(0,f.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,f.jsx)("div",{className:"hidden h-[104px] w-[104px] xl:block",children:(0,f.jsx)(c.V,{imageObject:n})}),(0,f.jsx)(d.A,{href:r.url,target:r.target,rel:r.rel,clickSourceId:r.clickSourceId,ariaLabel:l.labelsGlobalGooglePlayStoreLink,children:(0,f.jsx)(u.default,{className:"h-10 w-[135px] sm:h-12 sm:w-40"})})]})]})},p=function(e){var t=e.title,r=e.appleAppStoreLink,n=e.googlePlayStoreLink,i=e.googleImageObject,l=e.appleImageObject,o=e.labels;return(0,f.jsxs)("div",{className:"flex flex-col items-center gap-5 bg-white py-6 xl:py-10",children:[(0,f.jsx)("h1",{className:"text-[26px] font-medium",children:t}),(0,f.jsxs)("div",{className:"flex gap-[60px] xl:gap-[180px]",children:[(0,f.jsxs)("div",{className:"flex flex-col items-center gap-2.5",children:[(0,f.jsx)("div",{className:"hidden h-[104px] w-[104px] xl:block",children:(0,f.jsx)(c.V,{imageObject:l})}),(0,f.jsx)(d.A,{href:r.url,target:r.target,rel:r.rel,clickSourceId:r.clickSourceId,ariaLabel:o.labelsGlobalAppleAppStoreLink,children:(0,f.jsx)(m.default,{className:"h-10 w-[120px] sm:h-12 sm:w-36"})})]}),(0,f.jsxs)("div",{className:"flex flex-col items-center gap-2.5",children:[(0,f.jsx)("div",{className:"hidden h-[104px] w-[104px] xl:block",children:(0,f.jsx)(c.V,{imageObject:i})}),(0,f.jsx)(d.A,{href:n.url,target:n.target,rel:n.rel,ariaLabel:o.labelsGlobalGooglePlayStoreLink,clickSourceId:n.clickSourceId,children:(0,f.jsx)(u.default,{className:"h-10 w-[135px] sm:h-12 sm:w-40"})})]})]})]})},h=function(e){var t=e.desktopFragmentWidth,r=e.tabletFragmentWidth,c=e.mobileFragmentWidth,d=e.title,u=e.appleAppStoreLink,m=e.googlePlayStoreLink,h=e.appleAppStoreQrCode,g=e.googlePlayQrCode,x=e.banner,v=(0,a.h)(["labelsGlobalGooglePlayStoreLink","labelsGlobalAppleAppStoreLink"]),y=function(e){var t,r=(0,i.d4)(o.L.imageFromId(null==e||null===(t=e.image)||void 0===t?void 0:t.referenceId));return[{breakPoint:480,height:88,width:88,priority:1,type:"webp",alt:null==e?void 0:e.alt,url:(0,s.U)(r.url,{format:"webp",w:88})},{breakPoint:480,height:88,width:88,priority:2,alt:null==e?void 0:e.alt,url:(0,s.U)(r.url,{w:88})},{height:104,width:104,priority:3,type:"webp",alt:null==e?void 0:e.alt,url:(0,s.U)(r.url,{format:"webp",w:104})},{height:104,width:104,default:!0,alt:null==e?void 0:e.alt,url:(0,s.U)(r.src,{w:104})}]},j=y(g),w=y(h);return(0,f.jsx)(n.Ei,{col:l.VL[c],medium:l.VL[r],large:l.VL[t],children:x?(0,f.jsx)(b,{appleAppStoreLink:u,googlePlayStoreLink:m,googleImageObject:j,appleImageObject:w,labels:v}):(0,f.jsx)(p,{title:d,appleAppStoreLink:u,googlePlayStoreLink:m,googleImageObject:j,appleImageObject:w,labels:v})})}},31314:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(39564),i=r(71468),l=r(68830),o=r(31198),a=r(85816),s=r(86859),c=r(74848);const d=({mobileFragmentWidth:e,tabletFragmentWidth:t,desktopFragmentWidth:r,title:d})=>{const{pathname:u}=(0,a.a)(),m=(0,i.d4)(o.L.categoryFromSlug(u)),f=null==m?void 0:m.linkedCategories,b=null==f?void 0:f.map((({name:e,slug:t,listingImage:r,de
2scription:n})=>{var i;return{keyId:e,mobileContentWidth:"Half",tabletContentWidth:"Third",desktopContentWidth:"Quarter",link:{url:t},image:{src:null==r?void 0:r.url,alt:null==r||null===(i=r.attributes)||void 0===i?void 0:i.imageAltText},productDescription:n,title:e}}));return null!=b&&b.length?(0,c.jsx)("section",{className:"w-full bg-cream py-6",children:(0,c.jsx)("div",{className:"m-auto max-w-[1200px] px-2.5",children:(0,c.jsx)(n.xA,{overflow:"overflow-visible",children:(0,c.jsx)(n.Ei,{col:l.VL[e],medium:l.VL[t],large:l.VL[r],children:(0,c.jsx)(s.A,{title:d,categories:b,hideCardBottom:!0,extendGradient:!1})})})})}):null}},33252:(e,t,r)=>{r.d(t,{A:()=>P});var n=r(96540),i=r(68830),l=r(44606),o=r(58246),a=r(96371),s=r(92568),c=r(39564),d=r(71468),u=r(31198),m=r(40212),f=r(88522),b=r(74938),p=r(74848);const h=function(e){var t,r=e.link,n=e.vacancy,i=(0,o.h)(["labelsGlobalVacancyLocation","labelsGlobalVacancyDepartment"]),l=(0,d.d4)(u.L.vacancyFromId(n.referenceId));return(0,p.jsxs)("div",{className:"border-b border-grey-400 bg-white p-4",children:[(0,p.jsx)("h3",{className:"mb-[5px] text-base font-bold font-body",children:l.title}),(0,p.jsxs)("div",{className:"flex flex-col lg:flex-row",children:[(0,p.jsxs)("div",{className:"mr-2.5 text-base font-normal",children:[(0,p.jsx)("span",{className:"font-bold",children:i.labelsGlobalVacancyLocation}),l.location]}),(0,p.jsxs)("div",{className:"mr-2.5 text-base font-normal",children:[(0,p.jsx)("span",{className:"font-bold",children:i.labelsGlobalVacancyDepartment}),l.department]})]}),(0,p.jsx)(m.s,{richText:(t=l.description,t.length>350?"".concat(t.substring(0,375),"..."):t)}),(0,p.jsxs)(f.A,{href:r.url||"#",rel:null==r?void 0:r.rel,target:null==r?void 0:r.target,children:[null==r?void 0:r.text,(0,p.jsx)(b.default,{type:null==r?void 0:r.icon,className:"fill-brand mx-[5px] w-2.5"})]})]})},g=function(){var e=(0,o.h)(["labelsGlobalNoVacanciesTitle","labelsGlobalNoVacanciesText"]);return(0,p.jsxs)("div",{className:"flex w-full flex-col items-center bg-background2 p-6",children:[(0,p.jsx)("h3",{className:"mb-2.5 text-center text-lg font-bold font-body",children:e.labelsGlobalNoVacanciesTitle}),(0,p.jsx)("div",{className:"text-center text-lg text-grey-700",children:e.labelsGlobalNoVacanciesText})]})};var x=r(16107);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e,t,r){return(t=function(e){var t=function(e){if("object"!=v(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=function(e){var t=e.cards,r=e.careersLink,i=e.desktopFragmentWidth,l=e.tabletFragmentWidth,o=e.mobileFragmentWidth,a=e.pagination,d=e.paginationDefaultSize,u=e.paginationText,m=e.onLoadMore,v=e.loadMoreDetailsLabel,w=(0,n.useContext)(s.Dx);return(0,p.jsxs)(c.Ei,{col:o,medium:l,large:i,children:[(0,p.jsx)("div",{className:"mb-6",children:(0,p.jsxs)(f.A,{href:r.url||"#",rel:null==r?void 0:r.rel,target:null==r?void 0:r.target,children:[(0,p.jsx)(b.default,{className:"relative mx-[5px] my-0 w-2.5",type:null==r?void 0:r.icon,fill:w.color.vpAccessibleGreen}),null==r?void 0:r.text]})}),t.length?(0,p.jsx)(p.Fragment,{children:t.map((function(e){return(0,p.jsx)(h,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){j(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),e.keyId)}
2))}):(0,p.jsx)(g,{}),(0,p.jsx)(x.A,{pagination:a,paginationDefaultSize:d,paginationText:u,onLoadMore:m,loadMoreDetailsLabel:v})]})},O=function(e){var t=e.link,r=e.vacancy,n=(0,d.d4)(u.L.vacancyFromId(r.referenceId)),i=n.title,l=n.department,o=n.location;return(0,p.jsxs)("div",{className:"w-full bg-background2 p-2.5",children:[(0,p.jsxs)("div",{className:"mb-2.5 w-full",children:[(0,p.jsx)("h3",{className:"text-base font-bold !font-body",children:i}),(0,p.jsx)("h4",{className:"text-base text-grey-700 font-body",children:l}),(0,p.jsx)("h4",{className:"text-base text-grey-700 font-body",children:o})]}),(0,p.jsxs)(f.A,{href:(null==t?void 0:t.url)||"#",rel:null==t?void 0:t.rel,target:null==t?void 0:t.target,className:"text-base font-body",children:[null==t?void 0:t.text,(0,p.jsx)(b.default,{className:"mx-[5px] w-2.5 fill-brand",type:null==t?void 0:t.icon})]})]})};function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach((function(t){F(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function F(e,t,r){return(t=function(e){var t=function(e){if("object"!=N(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=N(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==N(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T=function(e){var t=e.title,r=e.cards,i=e.viewAllLink,l=e.desktopFragmentWidth,o=e.tabletFragmentWidth,a=e.mobileFragmentWidth,d=(0,n.useContext)(s.Dx);return(0,p.jsxs)(c.Ei,{col:a,medium:o,large:l,children:[(0,p.jsxs)("div",{className:"mb-6 flex flex-row justify-between",children:[(0,p.jsx)("h2",{className:"font-medium",children:t}),0!==r.length&&(0,p.jsxs)(f.A,{href:i.url||"#",rel:null==i?void 0:i.rel,target:null==i?void 0:i.target,children:[null==i?void 0:i.text,(0,p.jsx)(b.default,{className:"relative mx-[5px] w-2.5",type:i.icon,fill:d.color.vpAccessibleGreen})]})]}),0!==r.length?(0,p.jsx)(c.xA,{align:"items-stretch",children:r.map((function(e){return(0,p.jsx)(c.Ei,{col:e.mobileContentWidth,medium:e.tabletContentWidth,large:e.desktopContentWidth,children:(0,p.jsx)(O,S({},e))},e.keyId)}))}):(0,p.jsx)(g,{})]})};var W=r(36779);function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const P=function(e){var t,r,s,c=e.title,d=e.listType,u=e.link,m=e.vacancyCardsList,f=e.desktopFragmentWidth,b=e.tabletFragmentWidth,h=e.mobileFragmentWidth,g=(0,o.h)(["labelsGlobalProductListingLoadMoreText","labelsGlobalProductListingResultViewText"]),x=g.labelsGlobalProductListingLoadMoreText,v=g.labelsGlobalProductListingResultViewText,y=m.length,j=10<y?10:y,O=(r=(0,n.useState)(j),s=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(r,s)||function(e,t){if(e){if("string"==typeof e)return L(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(e,t):void 0}}
2(r,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),N=O[0],k=O[1],S={from:N-10,size:10,total:y},F=(0,l.oN)(m),P=(0,l.oN)(m.slice(0,N));return(0,p.jsx)(p.Fragment,{children:d===W.CV?(0,p.jsx)(w,{careersLink:u,cards:P,desktopFragmentWidth:i.VL[f],tabletFragmentWidth:i.VL[b],mobileFragmentWidth:i.VL[h],pagination:S,paginationDefaultSize:10,onLoadMore:function(){N<y&&k(N+6<y?N+6:m.length)},paginationText:(t=N<y?N:y,(0,a.h)(v,[t,y])),loadMoreDetailsLabel:x}):(0,p.jsx)(T,{title:c,viewAllLink:u,cards:F,desktopFragmentWidth:i.VL[f],tabletFragmentWidth:i.VL[b],mobileFragmentWidth:i.VL[h]})})}},39854:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(39564),i=r(71468),l=r(68830),o=r(20672),a=r(31198),s=r(85816),c=r(86859),d=r(8559),u=r(857),m=r(58786),f=r(74848);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return(t=function(e){var t=function(e){if("object"!=b(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==b(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var v=(0,d.T)();const y=function(e){var t,r,d=e.clickSourceId,b=e.mobileFragmentWidth,p=e.tabletFragmentWidth,g=e.desktopFragmentWidth,y=e.title,j=e.hideDescriptionText,w=void 0!==j&&j,O=(0,s.a)().pathname,N=(0,i.d4)(a.L.categoryFromSlug(O)).linkedCategories,k=(t=(0,m.I)(),r=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(t,r)||function(e,t){if(e){if("string"==typeof e)return x(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],S=(0,i.d4)(a.L.environmentVariables).bid,F=null==N?void 0:N.map((function(e){var t,r,n,i,l,a=e.name,s=e.fromPrice,c=e.slug,d=e.listingImage,m=e.description,f=e.tradePrices;return l=v?null==f||null===(t=f[null==k?void 0:k.tradeBand])||void 0===t?void 0:t.priceIncTax:null==s?void 0:s.priceIncTax,h(h({keyId:a,mobileContentWidth:"Half",tabletContentWidth:"Third",desktopContentWidth:"MFI"===S?"Sixth":"Quarter",link:c?{url:c}:null,image:{src:null!==(r=null==d?void 0:d.url)&&void 0!==r?r:"",alt:null!==(n=null==d||null===(i=d.attributes)||void 0===i?void 0:i.imageAltText)&&void 0!==n?n:""},productDescription:null!=m?m:""},m&&{truncatedProductDescription:(0,u.t)(m,u.X.long)}),{},{price:l?{from:(0,o.v)("en-GB","GBP",l)}:null,title:null!=a?a:""})}));return(0,f.jsx)(n.Ei,{col:l.VL[b],medium:l.VL[p],large:l.VL[g],children:(0,f.jsx)(c.A,{clickSourceId:d,title:y,categories:F,hideCardBottom:w})})}},40275:(e,t,r)=>{r.d(t,{L:()=>d});var n=r(39564),i=r(73259),l=r(80017),o=r(74848),a=function(e){var t=e.accordions,r=e.desktopFragmentWidth,a=e.mobileFragmentWidth,s=e.returnsInformationContentTop,c=e.returnsInformationContentBottom,d=e.isVisible,u=e.tabletFragmentWidth,m=e.title;return(0,o.jsx)(o.Fragment,{children:d&&(0,o.jsx)("section",{children:(0,o.jsx)(n.Ei,{col:a,medium:u,large:r,children:(0,o.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,o.jsx)(i.a,{richText:m,useNewStyles:!0}),(0,o.jsx)(i.a,{richText:s,useNewStyles:!0}),(0,o.jsx)(l.D,{title:"Frequently Asked Questions",accordions:t}),(0,o.jsx)(i.a,{richText:c,useNewStyles:!0})]})})})})},s=r(68830),c=r(87136),d=function(e){var t=e.accordions,r=e.desktopFragmentWidth,n=e.mobileFragmentWidth,i=e.returnsInformationContentTop,l=e.returnsInformationContentBottom,d=e.tabletFragmentWidth,u=e.title,m=(0,c.y7)().returnsInformationIsVisible;return(0,o.jsx)(a,{accordions:t,desktopFragmentWidth:s.VL[r],mobileFragmentWidth:s.VL[n],returnsInformationContentTop:i,returnsInformationContentBottom:l,isVisible:m,tabletFragmentWidth:s.VL[d],title:u})}},40409:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(39564),i=r(68830),l=r(40212),o=r(77477),a=r(74848);const s=(0,o.tw)({card:"m-2.5 rounded-input p-5 text-textBlack lg:m-0",title:"mb-3 text-xl !font-medium leading-[1.4] font-display lg:mb-4"}),c=({mobileFragmentWidth:e,tabletFragmentWidth:t,desktopFragmentWidth:r,backgroundColor:o,textColor:c,title:d,copy:u})=>(0,a.jsx)(n.Ei,{col:i.VL[e],medium:i.VL[t],large:i.VL[r],children:(0,a.jsxs)("div",{className:s.card,style:{backgroundColor:o?`#${o}`:"#f7f7f7"},children:[(0,a.jsx)("h3",{className:s.title,children:d}),(0,a.jsx)(l.s,{richText:u,textColor:c,backgroundColor:void 0,data:void 0,className:void 0,tag:void 0})]})}),d=e=>(0,a.jsx)(c,{backgroundColor:e.backgroundColor,copy:e.copy,textColor:e.textColor,title:e.title,mobileFragmentWidth:e.mobileFragmentWidth,tabletFragmentWidth:e.tabletFragmentWidth,desktopFragmentWidth:e.desktopFragmentWidth}
2)},43039:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(68830),i=r(39564),l=r(40212),o=r(74848);const a=({cards:e,mobileFragmentWidth:t,tabletFragmentWidth:r,desktopFragmentWidth:a})=>(0,o.jsx)(i.Ei,{col:n.VL[t],medium:n.VL[r],large:n.VL[a],children:(0,o.jsx)("div",{className:"m-2.5 flex flex-col items-center gap-5 rounded-input bg-yellow-500 p-5 text-textBlack lg:m-0 lg:flex-row lg:items-stretch",children:null==e?void 0:e.map((e=>(0,o.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center text-center",children:[(null==e?void 0:e.title)&&(0,o.jsx)("h2",{className:"text-xl font-medium leading-6 lg:text-3xl lg:leading-10",children:null==e?void 0:e.title}),(null==e?void 0:e.copy)&&(0,o.jsx)(l.s,{richText:e.copy,textColor:e.textColor,backgroundColor:void 0,data:void 0,className:void 0,tag:void 0})]},e.keyId)))})}),s=e=>(0,o.jsx)(a,{cards:e.cards,mobileFragmentWidth:e.mobileFragmentWidth,tabletFragmentWidth:e.tabletFragmentWidth,desktopFragmentWidth:e.desktopFragmentWidth})},43277:(e,t,r)=>{r.d(t,{Q:()=>s});var n=r(39564),i=r(80017),l=r(74848),o=function(e){var t=e.accordions,r=e.cta,o=e.desktopFragmentWidth,a=e.icon,s=e.mobileFragmentWidth,c=e.tabletFragmentWidth,d=e.title;return(0,l.jsx)(n.Ei,{col:s,large:o,medium:c,children:(0,l.jsx)(i.D,{className:"w-full px-2.5 py-0 lg:px-5",accordions:t,cta:r,icon:a,title:d})})},a=r(68830),s=function(e){var t=e.title,r=e.cta,n=e.accordions,i=e.desktopFragmentWidth,s=e.tabletFragmentWidth,c=e.mobileFragmentWidth;return(0,l.jsx)(o,{title:t,cta:r,accordions:n,desktopFragmentWidth:a.VL[i],tabletFragmentWidth:a.VL[s],mobileFragmentWidth:a.VL[c]})}},49833:(e,t,r)=>{r.d(t,{g:()=>j});var n=r(96540),i=r(71468),l=r(31198),o=r(85816),a=r(68830),s=r(39045),c=r(39564),d=r(50856),u=r(77477),m=r(36779),f=r(8559),b=r(85997),p=r(89367),h=r(74848);const g=(0,f.T)(),x={ffffff:"bg-white",fafafa:"bg-offWhite",f4f4f4:"bg-mfiGrey-100",default:"bg-white"},v=(0,u.tw)({modifiers:e=>(0,d.Id)(e&&Object.keys(x).includes(e)?x[e]:x.default,"ffffff"!==e?"m-2.5 lg:mx-5":"")}),y=({backgroundColor:e,desktopFragmentWidth:t,formId:r,image:i,mobileFragmentWidth:l,order:o,returnStatus:a,richTextDescription:s,tabletFragmentWidth:u,title:f,modalRef:x})=>{const[y,j]=(0,n.useState)(!1),[w,O]=(0,n.useState)(!0),N={tradePageLink:g?m.gd:m.nZ};return(0,n.useEffect)((()=>{j(!1)}),[r]),(0,h.jsx)("section",{className:(0,d.QP)("w-full",w?"block":"hidden"),children:(0,h.jsx)(c.Ei,{large:t,medium:u,col:l,children:(0,h.jsxs)("div",{className:(0,d.QP)("flex flex-col gap-2.5 p-2.5 lg:gap-5 lg:px-5",v.modifiers(e)),children:[f&&(0,h.jsx)(p.s,{richText:f,helpCentre:!0}),!y&&s&&(0,h.jsx)(p.s,{richText:s,data:N,helpCentre:!0}),(0,h.jsx)(b.o,{type:r,order:o,image:i,returnStatus:a,containerCallback:O,onMagicLinkScreenChange:j,modalRef:x})]})})})};var j=function(e){var t=e.backgroundColor,r=e.desktopFragmentWidth,c=e.formId,d=e.image,u=e.mobileFragmentWidth,m=e.richTextDescription,f=e.tabletFragmentWidth,b=e.title,p=e.modalRef,g=(0,i.wA)(),x=(0,i.d4)(l.L.activeOrder),v=(0,i.d4)(l.L.helpCentreReturnStatus),j=(0,o.a)().pathname.split("/").pop();return(0,n.useEffect)((function(){var e={orders:[x]};(0,s.n)(j,e)||g(l.T.activeOrderData(null))}),[]),(0,h.jsx)(y,{backgroundColor:t,desktopFragmentWidth:a.VL[r],formId:c,image:d,mobileFragmentWidth:a.VL[u],order:x,returnStatus:v,richTextDescription:m,tabletFragmentWidth:a.VL[f],title:b,modalRef:p})}},51291:(e,t,r)=>{r.d(t,{G:()=>a});var n=r(74938),i=r(77477),l=r(74848),o=(0,i.tw)({item:"mb-3 flex items-center gap-3 last:mb-0 [&_svg]:h-[1.1875rem] [&_svg]:min-h-[1.1875rem] [&_svg]:w-6 [&_svg]:min-w-6"}),a=function(e){var t=e.icon,r=e.iconColor,i=e.items;return(0,l.jsx)("ul",{children:i&&i.length>0&&i.map((function(e,i){return(0,l.jsxs)("li",{className:o.item,children:[(0,l.jsx)(n.default,{type:t||"tick",fill:r}),e]},"".concat(i," -").concat(e))}))})}},52177:(e,t,r)=>{r.d(t,{O:()=>f});var n=r(68830),i=r(39564),l=r(51291),o=r(40212),a=r(74848);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=function(e){var t=e.backgroundColor,r=e.checklistData,n=e.desktopFragmentWidth,s=e.mobileFragmentWidth,c=e.richText,u=e.tabletFragmentWidth,m=e.textColor,f=e.title;return(0,a.jsx)(i.Ei,{col:s,large:n,medium:u,children:(0,a.jsxs)("div",{className:"m-2.5 rounded-input bg-cream p-5 text-textBlack lg:m-0",style:{backgroundColor:t?"#".concat(t):void 0,color:m?"#".concat(m):void 0},children:[(0,a.jsx)("h3",{className:"text-lg font-label md:text-xl",children:f}),(0,a.jsx)("div",{className:"mb-2",children:(0,a.jsx)(o.s,{richText:c})}),(0,a.jsx)(l.G,d(d({},r),{},{iconColor:"#".concat(m)}))]})})},f=function(e){var t=e.backgroundColor,r=e.checklistIcon,i=e.checklistItems,l=e.desktopFragmentWidth,o=e.mobileFragmentWidth,s=e.richText,c=e.tabletFragmentWidth,d=e.textColor,u=e.title;return(0,a.jsx)(m,{backgroundColor:t,checklistData:{icon:r,items:i},desktopFragmentWidth:n.VL[l],mobileFragmentWidth:n.VL[o],richText:s,tabletFragmentWidth:n.VL[c],textColor:d,title:u})}},53347:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(68830),i=r(39564),l=r(89367),o=r(74938),a=r(74848),s=function(e){var t=e.children;return(0,a.jsx)("div",{className:"flex w-full gap-3 align-top",children:t})},c=function(e){var t=e.children;return(0,a.jsx)("h3",{className:"font-label text-lg lg:text-xl",children:t})},d=function(e){var t=e.desktopFragmentWidth,r=e.mobileFragmentWidth,n=e.tabletFragmentWidth,d=e.address,u=e.addressTitle,m=e.mondayOpeningTime,f=e.tuesdayOpeningTime,b=e.wednesdayOpeningTime,p=e.thursdayOpeningTime,h=e.fridayOpeningTime,g=e.saturdayOpeningTime,x=e.sundayOpeningTime,v=e.emailText,y=e.callText,j=e.callIcon,w=e.emailIcon,O=e.locationIcon;return(0,a.jsx)(i.Ei,{large:t,medium:n,col:r,children:(0,a.jsxs)("div",{className:"flex flex-col gap-4 lg:flex-row lg:gap-1",children:[(0,a.jsxs)(s,{children:[(0,a.jsx)("div",{className:"size-6",children:(0,a.jsx)(o.default,{type:O||"location",className:"fill-brandLogos text-brandLogos",fill:"currentColor"})}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)(c,{children:"Showroom"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{children:(0,a.jsx)("b",{children:u})}),(0,a.jsx)("p",{className:"mb-3",children:d})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{children:m}),(0,a.jsx)("p",{children:f}),(0,a.jsx)("p",{children:b}),(0,a.jsx)("p",{children:p}),(0,a.jsx)("p",{children:h}),(0,a.jsx)("p",{children:g}),(0,a.jsx)("p",{children:x})]})]})]}),(0,a.jsxs)(s,{children:[(0,a.jsx)("div",{className:"size-6",children:(0,a.jsx)(o.default,{type:w||"email",className:"fill-brandLogos text-brandLogos",fill:"currentColor"})}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)(c,{children:"Email"}),(0,a.jsx)(l.s,{className:"[&_a]:break-all [&_p]:p-0",richText:v})]})]}),(0,a.jsxs)(s,{children:[(0,a.jsx)("div",{className:"size-6",children:(0,a.jsx)(o.default,{type:j||"phone",className:"fill-brandLogos text-brandLogos",fill:"currentColor"})}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)(c,{className:"font-label text-xl",children:"Call"}),(0,a.jsx)(l.s,{className:"[&_a]:break-all [&_p]:p-0",richText:y})]})]})]})})},u=function(e){var t=e.desktopFragmentWidth,r=e.tabletFragmentWidth,i=e.mobileFragmentWidth,l=e.address,o=e.addressTitle,s=e.mondayOpeningTime,c=e.tuesdayOpeningTime,u=e.wednesdayOpeningTime,m=e.thursdayOpeningTime,f=e.fridayOpeningTime,b=e.saturdayOpeningTime,p=e.sundayOpeningTime,h=e.emailText,g=e.callText,x=e.callIcon,v=e.emailIcon,y=e.locationIcon;return(0,a.jsx)(d,{desktopFragmentWidth:n.VL[t],tabletFragmentWidth:n.VL[r],mobileFragmentWidth:n.VL[i],address:l,addressTitle:o,mondayOpeningTime:s,tuesdayOpeningTime:c,wednesdayOpeningTime:u,thursdayOpeningTime:m,fridayOpeningTime:f,saturdayOpeningTime:b,sundayOpeningTime:p,emailText:h,callText:g,callIcon:x,emailIcon:v,locationIcon:y})}},55221:(e,t,r)=>{r.d(t,{g:()=>c});
2var n=r(68830),i=r(39564),l=r(85997),o=r(40212),a=r(74848),s=function(e){var t=e.title,r=e.formId,n=e.backgroundColor,s=e.richText,c=e.hasText,d=e.desktopFragmentWidth,u=e.tabletFragmentWidth,m=e.mobileFragmentWidth;return(0,a.jsx)(i.Ei,{large:d,medium:u,col:m,children:(0,a.jsxs)("div",{className:"-mt-4",children:[c&&(0,a.jsxs)("div",{className:"mb-5",children:[t&&(0,a.jsx)(o.s,{richText:t}),s&&(0,a.jsx)(o.s,{richText:s})]}),(0,a.jsx)("div",{className:"bg-cream p-5",style:n?{backgroundColor:"#".concat(n)}:void 0,children:(0,a.jsx)(l.o,{type:r,variant:"hasButton",isPrimaryText:!0})})]})})},c=function(e){var t=e.title,r=e.formId,i=e.backgroundColor,l=e.richText,o=e.desktopFragmentWidth,c=e.tabletFragmentWidth,d=e.mobileFragmentWidth;return(0,a.jsx)(s,{title:t,formId:r,backgroundColor:i,desktopFragmentWidth:n.VL[o],tabletFragmentWidth:n.VL[c],mobileFragmentWidth:n.VL[d],richText:l,hasText:t||l})}},57185:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(71468),i=r(31198),l=r(39564),o=r(68830),a=r(92687),s=r(74848),c=function(e){var t=e.tabs,r=e.sizes;return(0,s.jsx)(l.Ei,{col:o.VL[r.mobileFragmentWidth],medium:o.VL[r.tabletFragmentWidth],large:o.VL[r.desktopFragmentWidth],children:t&&(0,s.jsx)(a.r,{tabs:t,centralised:!0,isHeaderTabs:!0})})},d=r(85816);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const m=function(e){var t,r=e.desktopFragmentWidth,l=e.tabletFragmentWidth,o=e.mobileFragmentWidth,a=(0,d.a)().pathname,m=(0,n.d4)(i.L.categoryFromSlug(a)).attributes,f=null==m||null===(t=m.header)||void 0===t?void 0:t.reduce((function(e,t){var r,n=t.subtitle,i=t.description;if(n&&i){var l={keyId:n,title:n,richText:i};return[].concat(function(e){if(Array.isArray(e))return u(e)}(r=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[l])}return e}),[]);return(0,s.jsx)(c,{tabs:f,sizes:{desktopFragmentWidth:r,tabletFragmentWidth:l,mobileFragmentWidth:o}})}},57672:(e,t,r)=>{r.d(t,{n:()=>u});var n=r(71468),i=r(39564),l=r(73259),o=r(74848),a=function(e){var t=e.authorisationNumberLabel,r=e.desktopFragmentWidth,n=e.isVisible,a=e.mobileFragmentWidth,s=e.richTextContent,c=e.tabletFragmentWidth,d=e.returnAuthorisation;return(0,o.jsx)(o.Fragment,{children:n&&(0,o.jsx)("section",{className:"w-full",children:(0,o.jsx)(i.Ei,{col:a,medium:c,large:r,children:(0,o.jsxs)("div",{className:"flex w-full flex-col items-stretch gap-2.5 lg:items-start lg:gap-5",children:[(0,o.jsx)(l.a,{richText:s,data:null==d?void 0:d.orderNumber,useNewStyles:!0}),(0,o.jsxs)("div",{className:"flex flex-col gap-2 border border-greyMid bg-greyLight p-5 text-center",children:[(0,o.jsx)("h3",{className:"font-label text-base lg:text-xl",children:t}),(0,o.jsx)("h2",{className:"font-label text-xl lg:font-labelLarge lg:text-2xl",children:null==d?void 0:d.returnAuthorisationNumber})]})]})})})})},s=r(31198),c=r(87136),d=r(68830),u=function(e){var t=e.authorisationNumberLabel,r=e.desktopFragmentWidth,i=e.mobileFragmentWidth,l=e.richTextContent,u=e.tabletFragmentWidth,m=(0,c.y7)().returnsAuthorisationIsVisible,f=(0,n.d4)(s.L.helpCentreReturnAuthorisation);return(0,o.jsx)(a,{authorisationNumberLabel:t,desktopFragmentWidth:d.VL[r],isVisible:m,mobileFragmentWidth:d.VL[i],richTextContent:l,tabletFragmentWidth:d.VL[u],returnAuthorisation:f})}},64873:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(68830),i=r(27029),l=r(85816),o=r(74848);const a=function(e){var t=e.tabs,r=e.centralised,a=e.desktopFragmentWidth,s=e.tabletFragmentWidth,c=e.mobileFragmentWidth,d=(0,l.a)().pathname,u="/offers"===(null==d?void 0:d.toLowerCase()),m="/black-friday-deals"===(null==d?void 0:d.toLowerCase());return(0,o.jsx)(i.A,{tabs:t,centralised:r,isHeaderTabs:!0,desktopFragmentWidth:n.VL[a],tabletFragmentWidth:n.VL[s],mobileFragmentWidth:n.VL[c],transparentBG:u||m})}},64954:(e,t,r)=>{r.d(t,{A:()=>O});var n=r(71468),i=r(31198),l=r(68830),o=r(38761),a=r(44533),s=r(50624),c=r(58246),d=r(39564),u=r(46125),m=r(50945),f=r(74848);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?p(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return(t=function(e){var t=function(e){if("object"!=b(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==b(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=function(e){var t=e.title,r=e.blogCard,n=e.desktopFragmentWidth,i=e.tabletFragmentWidth,l=e.mobileFragmentWidth;return(0,f.jsx)(d.Ei,{col:l,medium:i,large:n,className:"blog-feature-post",children:(0,f.jsx)(m.A,{title:t,children:(0,f.jsx)(d.xA,{children:(0,f.jsx)(d.Ei,{col:12,medium:12,large:12,children:(0,f.jsx)(u.A,h({variant:"overlay",featured:!0},r))})})})})};function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function w(e,t,r){return(t=function(e){var t=function(e){if("object"!=v(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=function(e){var t,r,d,u,m,b,p,h=e.desktopFragmentWidth,g=e.tabletFragmentWidth,v=e.mobileFragmentWidth,y=e.primaryTitle,w=e.featuredBlog,O=e.hideCategoryLink,N=(0,n.d4)(i.L.blogData),k=(0,c.h)(["labelsGlobalBlogMinsReadText"]).labelsGlobalBlogMinsReadText,S=null==N||null===(t=N[null==w?void 0:w.referenceCollection])||void 0===t?void 0:t[null==w?void 0:w.referenceId],F=j(j(j({},S),{},{imageObject:[{width:770,height:393,priority:1,type:"webp",url:(0,s.U)(null==S||null===(r=S.image)||void 0===r?void 0:r.url,{format:"webp",w:770})},{width:770,height:393,default:!0,alt:"",url:(0,s.U)(null==S||null===(d=S.image)||void 0===d?void 0:d.url,{w:770})}],link:null==S?void 0:S.url},!O&&{category:{url:null==S||null===(u=S.blogCategorySummary)||void 0===u?void 0:u.link,color:"#".concat(null==S||null===(m=S.blogCategorySummary)||void 0===m?void 0:m.primaryColor),text:null==S||null===(b=S.blogCategorySummary)||void 0===b?void 0:b.displayLabel}}),{},{blogDetail:{author:null==S||null===(p=S.author)||void 0===p?void 0:p.firstName,date:(null==S?void 0:S.publishDate)&&(0,o.dw)(null==S?void 0:S.publishDate),readTime:(0,a.J)(k,null==S?void 0:S.readTime)}});return(0,f.jsx)(x,{desktopFragmentWidth:l.VL[h],tabletFragmentWidth:l.VL[g],mobileFragmentWidth:l.VL[v],title:y,blogCard:F})}},66666:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(39564),i=r(71468),l=r(68830),o=r(23178),a=r(31198),s=r(85816),c=r(21061),d=r(74848);const u=({id:e,mobileFragmentWidth:t,tabletFragmentWidth:r,desktopFragmentWidth:u})=>{var m,f;const{pathname:b}=(0,s.a)(),p=(0,i.d4)(a.L.categoryFromSlug(b)),{attributes:h,files:g}=null!=p?p:{},x=null==g||null===(m=g.logoImages)||void 0===m?void 0:m[0];return(0,d.jsx)("section",{...e&&{id:e},className:"w-full bg-cream py-6",style:{backgroundColor:(null==h?void 0:h.backgroundColour)||void 0},children:(0,d.jsx)("div",{className:"m-auto max-w-[1200px] px-2.5",children:(0,d.jsx)(n.xA,{overflow:"overflow-visible",children:(0,d.jsxs)(n.Ei,{col:l.VL[t],medium:l.VL[r],large:l.VL[u],children:[(0,d.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between [&>div]:py-2.5 md:[&>div]:py-0",children:[(null==h?void 0:h.title)&&(0,d.jsx)(c.A,{title:h.title,subTitle:void 0,backgroundColor:null==h?void 0:h.backgroundColour,titleColor:null==h?void 0:h.foregroundColour,upperTitle:void 0,query:void 0,didYouMean:void 0,isSearchPage:!1,leftAlignPageTitle:!1,noTitleBottomPadding:!1,fullWidth:!1}),x&&(0,d.jsx)("div",{children:(0,d.jsx)("img",{src:x.url,alt:null===(f=x.attributes)||void 0===f?void 0:f.imageAltText})})]}),(null==h?void 0:h.description)&&(0,d.jsx)("p",{className:"text-black",style:{color:(null==h?void 0:h.foregroundColour)||void 0},dangerouslySetInnerHTML:{__html:(0,o.A)(null==h?void 0:h.description)}})]})})})})}},71743:(e,t,r)=>{r.d(t,{R:()=>u});
2var n=r(39564),i=r(68830),l=r(50856),o=r(40212),a=r(85235),s=r(74938),c=r(74848),d=function(e){var t=e.title,r=e.description,n=e.icons;return(0,c.jsxs)("div",{className:"flex flex-col items-center justify-center gap-5 px-2.5 py-8 text-center xl:py-12",children:[(0,c.jsx)("h1",{className:"text-[40px] font-bold",children:t}),(0,c.jsx)(o.s,{richText:r}),(0,c.jsx)("div",{className:"flex flex-row flex-wrap justify-center",children:null==n?void 0:n.map((function(e,t){return(0,c.jsxs)("div",{className:(0,l.QP)("relative flex w-1/2 flex-col items-center justify-center gap-1 px-5 py-2.5 md:w-1/4",t<3?"md:border-r md:border-grey-500":"",0===t||2===t?"after:absolute after:right-0 after:top-1/2 after:h-4/5 after:w-px after:-translate-y-1/2 after:bg-grey-500 md:after:hidden":"",t<2?"border-b border-grey-500 md:border-b-0":""),children:[(0,c.jsx)(s.default,{type:null==e?void 0:e.icon,className:"h-[52px] w-[52px] sm:h-[92px] sm:w-[92px]",fill:a.y.default.black}),(0,c.jsx)("p",{className:"pt-2.5 text-sm font-medium leading-5 font-label sm:text-base",children:e.text})]},null==e?void 0:e.keyId)}))})]})},u=function(e){var t=e.title,r=e.description,l=e.icons,o=e.desktopFragmentWidth,a=e.tabletFragmentWidth,s=e.mobileFragmentWidth;return(0,c.jsx)("div",{className:"\n            mx-auto\n            ".concat(n.f8[i.VL[s]],"\n            md:").concat(n.f8[i.VL[a]],"\n            lg:").concat(n.f8[i.VL[o]],"\n        "),children:(0,c.jsx)(d,{title:t,description:r,icons:l})})}},72893:(e,t,r)=>{r.d(t,{f:()=>m});var n=r(35293),i=r(22685),l=r(23483),o=r(10632),a=r(30711),s=r(74848);const c=({children:e})=>(0,s.jsx)("div",{className:"flex flex-col gap-2.5 lg:flex-row",children:e}),d=({children:e})=>(0,s.jsx)("h3",{className:"min-w-32 text-left text-base !font-bold text-black font-body lg:text-right",children:e}),u=({children:e})=>(0,s.jsx)("p",{className:"text-left text-base text-textBlack font-body lg:text-right",children:e}),m=({buttonCallback:e,buttonText:t,buttonVariant:r,orderDate:m,orderDateLabel:f,orderItemCount:b,orderItemCountLabel:p,orderNumber:h,orderNumberLabel:g,orderStatus:x,orderStatusLabel:v,orderDispatchedDate:y,orderDispatchedDateLabel:j,handleViewSplitOrders:w,showViewSplitOrderButton:O})=>{const[N]=(0,n.XG)();return(0,s.jsx)("section",{className:"flex flex-col gap-5 lg:flex-row lg:gap-10",children:h&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-1 flex-col gap-2.5 bg-greyBackground p-5",children:[(0,s.jsx)(o.A,{children:(0,s.jsx)(a.A,{onIdle:()=>{N()}})}),m&&(0,s.jsxs)(c,{children:[(0,s.jsx)(d,{children:f}),(0,s.jsx)(u,{children:m})]}),x&&(0,s.jsxs)(c,{children:[(0,s.jsx)(d,{children:v}),(0,s.jsx)(u,{children:x})]}),h&&(0,s.jsxs)(c,{children:[(0,s.jsx)(d,{children:g}),(0,s.jsx)(u,{children:h})]}),(null!=b?b:0)>0&&(0,s.jsxs)(c,{children:[(0,s.jsx)(d,{children:p}),(0,s.jsx)(u,{children:b})]}),y&&(0,s.jsxs)(c,{children:[(0,s.jsx)(d,{children:j}),(0,s.jsx)(u,{children:y})]})]}),(0,s.jsxs)("div",{className:"flex-end flex flex-col gap-2.5",children:["text"===r&&(0,s.jsx)(i.A,{onClick:e,text:t,className:"mb-2.5 mr-0 w-full min-w-52 uppercase",children:t}),"solid"===r&&(0,s.jsx)(l.$,{onClick:e,text:t,className:{button:"mb-2.5 w-full min-w-52 uppercase"},children:t}),O&&(0,s.jsx)(l.$,{onClick:w,text:"View Order",className:{button:"mb-2.5 mr-0 w-full min-w-52 uppercase"},children:"View Order"})]})]})})}},73259:(e,t,r)=>{r.d(t,{a:()=>n.L});var n=r(98586)},73880:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(83616),i=r(10632),l=r(74848);const o=()=>((0,n.N)(),(0,l.jsx)(i.A,{children:(0,l.jsx)("klarna-placement",{id:"widget-klarna-placement","data-key":"top-strip-promotion-auto-size","data-locale":"en-GB"})}))},76752:(e,t,r)=>{r.d(t,{m:()=>j});var n=r(96540),i=r(71468),l=r(39564),o=r(72652),a=r(50692),s=r(31198),c=r(68199),d=r(23483),u=r(24175),m=r(85816),f=r(4121),b=r(80293),p=r(16790),h=r(8918),g=r(74848);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}
2finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y=function(e){var t=e.data,r=e.sidebarNavigationData;return(0,g.jsx)(g.Fragment,{children:t&&t.map((function(e){return null!=r&&r.isAccordion?(0,g.jsx)("div",{className:"mb-2.5 bg-background2 last:mb-0",children:(0,g.jsx)(u.n,{title:e.title,url:e.url,active:e.active,children:(0,g.jsx)("div",{className:"border-t border-grey-200 p-3",children:(0,g.jsx)(p.A,{links:e.links})})})},e.keyId):(0,g.jsx)(b.A,{sidebar:!0,active:e.active,title:e.title,links:e.links},e.keyId)}))})},j=function(e){var t=e.navigation,r=(0,m.a)().pathname,u=t.referenceId,b=(0,i.d4)(s.L.sidebarNavigationFromId(u)),p=x((0,c.Q)(),1)[0],v=x((0,n.use
2State)(!1),2),j=v[0],w=v[1],O=null==b?void 0:b.title,N=null==b?void 0:b.navigation.map((function(e){var t,n,i;return{keyId:e.keyId,title:e.linkRef.text,url:e.linkRef.url,active:"/"!==(null==e||null===(t=e.linkRef)||void 0===t?void 0:t.url)&&(null==r||null===(n=r.toLowerCase())||void 0===n?void 0:n.includes(null==e||null===(i=e.linkRef)||void 0===i||null===(i=i.url)||void 0===i?void 0:i.toLowerCase())),links:null==e?void 0:e.children.reduce((function(e,t){var n,i,l,o,a,s,c;if((0,f.Z)(null==t||null===(n=t.linkRef)||void 0===n?void 0:n.url))return e;var d={keyId:t.keyId,url:null===(i=t.linkRef)||void 0===i?void 0:i.url,modalId:null===(l=t.linkRef)||void 0===l?void 0:l.modalId,text:null===(o=t.linkRef)||void 0===o?void 0:o.text,active:r===(null===(a=t.linkRef)||void 0===a?void 0:a.url),clickSourceId:null===(s=t.linkRef)||void 0===s?void 0:s.clickSourceId,children:null==t||null===(c=t.children)||void 0===c?void 0:c.map((function(e){var t,n,i,l,o;return{keyId:e.keyId,url:null===(t=e.linkRef)||void 0===t?void 0:t.url,active:r===(null===(n=e.linkRef)||void 0===n?void 0:n.url),modalId:null===(i=e.linkRef)||void 0===i?void 0:i.modalId,text:null===(l=e.linkRef)||void 0===l?void 0:l.text,clickSourceId:null===(o=e.linkRef)||void 0===o?void 0:o.clickSourceId}}))};return e.push(d),e}),[])}}));return(0,g.jsxs)(l.Ei,{col:"12",medium:"12",large:"12",children:[(0,g.jsxs)(d.$,{variant:"fill",type:"button",onClick:function(){w(!j)},className:{button:"flex w-full items-center justify-start text-left font-label text-lg md:hidden"},text:O,children:[(0,g.jsx)(h.default,{className:"w-10",fill:a.Tj.tertiary,responsive:"true"}),O]}),p&&(0,g.jsx)(o.y,{title:O,showSidebar:j,setShowSidebar:w,children:(0,g.jsx)("div",{children:(0,g.jsx)(y,{data:N,sidebarNavigationData:b})})}),(0,g.jsx)("div",{className:"hidden md:block",children:(0,g.jsx)(y,{data:N,sidebarNavigationData:b})})]})}},78605:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(68830),i=r(44606),l=r(17751),o=r(74848);const a=function(e){var t=e.title,r=e.cta,a=e.cards,s=e.desktopFragmentWidth,c=e.tabletFragmentWidth,d=e.mobileFragmentWidth,u=(0,i.oN)(a,"deliveryInfoCardList");return(0,o.jsx)("div",{className:"px-2.5 lg:px-5",children:(0,o.jsx)(l.A,{title:t,cta:r,cards:u,desktopFragmentWidth:n.VL[s],tabletFragmentWidth:n.VL[c],mobileFragmentWidth:n.VL[d]})})}},79261:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(66200),i=r(89367),l=r(59959),o=r(47875),a=r(74848);const s=({content:e,mobileSearch:t,isLoading:r,searchButtonLabel:s})=>{const{searchValue:c,hasError:d,onChangeValue:u,placeholderText:m,onSubmitSearch:f}=t;return e&&(0,a.jsxs)("div",{className:"bg-white p-4",children:[e.title&&(0,a.jsx)("h2",{"data-testid":"search-no-results-message",className:"text-xl text-textBlack font-label md:text-2xl md:font-labelLarge",children:e.title}),(0,a.jsxs)("div",{className:"relative my-5 w-full",children:[(0,a.jsxs)("div",{className:"relative h-full w-full md:hidden",children:[(0,a.jsx)(l.A,{value:c,onChange:e=>u(e.target.value),placeholder:m,inputFieldClassName:(d?"focus-visible:outline-none focus-visible:shadow-[0_0_0_0.2rem_rgba(207,0,16,0.8)]":"")+" cursor-auto pr-12",onKeyDown:e=>{"Enter"===e.key&&f()}}),!r&&(0,a.jsx)("button",{type:"button","aria-label":s,onClick:()=>f(),className:"absolute bottom-0.5 right-0.5 top-0.5 w-12 border-none bg-white",children:(0,a.jsx)(o.default,{className:"absolute right-2.5 top-1/2 w-7 -translate-y-1/2 text-textBlack"})}),r&&(0,a.jsx)("span",{className:"pointer-events-none absolute right-4 top-3.5 h-5 w-5 animate-spin rounded-full border-2 border-grey-200 border-t-brand bg-transparent [animation-duration:800ms]"})]}),d&&(0,a.jsx)(n.Y,{message:"Please enter a product name, code or brand"})]}),e.richText&&(0,a.jsx)(i.s,{richText:e.richText})]})}},79301:(e,t,r)=>{r.d(t,{m:()=>b});var n=r(68830),i=r(39564),l=r(71468),o=r(31198),a=r(23868),s=r(88522),c=r(89367),d=r(74848),u=function(e){var t=e.children;return(0,d.jsx)("li",{className:"counter-increment-item relative mb-5 flex items-start gap-2.5 font-label before:flex before:size-[30px] before:min-w-[30px] before:items-center before:justify-center before:rounded-full before:bg-brand before:text-2xl before:leading-snug before:text-white before:content-[counter(item)] last:mb-0 lg:gap-5 lg:before:size-[40px] lg:before:min-w-[40px]",children:t})},m=function(e){var t,r,n,m,f,b=e.desktopFragmentWidth,p=e.doImage,h=e.dontImage,g=e.returnsFormUrl,x=e.mobileFragmentWidth,v=e.isVisible,y=e.tabletFragmentWidth,j=e.title,w=e.printReturnRichText,O=e.doRichText,N=e.dontRichText,k=e.doDontTitle,S=e.errorMessages,F=e.returnsAddress,T=e.refundWaitingMessage,W=(0,l.d4)(o.L.imageFromId(null==p||null===(t=p.image)||void 0===t?void 0:t.referenceId)),L=(0,l.d4)(o.L.imageFromId(null==h||null===(r=h.image)||void 0===r?void 0:r.referenceId));return(0,d.jsx)(d.Fragment,{children:v&&(0,d.jsx)("section",{className:"w-full",children:(0,d.jsxs)(i.Ei,{col:x,medium:y,large:b,children:[(0,d.jsx)("div",{className:"mb-6",children:(0,d.jsx)(c.s,{richText:j,helpCentre:!0})}),(0,d.jsxs)("ol",{className:"list-none",children:[(0,d.jsx)(u,{children:(0,d.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,d.jsx)(c.s,{richText:w,helpCentre:!0}),(0,d.jsx)(s.A,{href:null==g?void 0:g.url,target:null==g?void 0:g.target,variant:"button",underline:!1,className:"md:max-w-fit",children:null==g?void 0:g.text})]})}),(0,d.jsx)(u,{children:(0,d.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,d.jsx)(c.s,{richText:k,helpCentre:!0}),S&&(0,d.jsx)(a.A,{richText:null===(n=S[0])||void 0===n?void 0:n.richText,backgroundColor:null===(m=S[0])||void 0===m?void 0:m.backgroundColor,icon:null===(f=S[0])||void 0===f?void 0:f.icon,flexDirection:"row",alignItems:"start",textAlignment:"left"}),(0,d.jsxs)("div",{className:"flex gap-11",children:[(0,d.jsxs)("div",{className:"flex flex-1 flex-col gap-2.5",children:[(0,d.jsx)("h3",{className:"font-label text-lg",children:"Do"}),(0,d.jsx)("img",{className:"max-size-[350px] w-full",src:null==W?void 0:W.url,alt:null==p?void 0:p.imageAltText}),(0,d.jsx)(c.s,{richText:O,helpCentre:!0})]}),(0,d.jsxs)("div",{className:"flex flex-1 flex-col gap-2.5",children:[(0,d.jsx)("h3",{className:"font-label text-lg",children:"Don't"}),(0,d.jsx)("img",{className:"max-size-[350px] w-full",src:null==L?void 0:L.url,alt:null==h?void 0:h.imageAltText}),(0,d.jsx)(c.s,{richText:N,helpCentre:!0})]})]})]})}),(0,d.jsx)(u,{children:(0,d.jsx)(c.s,{richText:F,helpCentre:!0})}),(0,d.jsx)(u,{children:(0,d.jsx)(c.s,{richText:T,helpCentre:!0})})]})]})})})},f=r(87136),b=function(e){var t=e.desktopFragmentWidth,r=e.mobileFragmentWidth,i=e.tabletFragmentWidth,l=e.title,o=e.doImage,a=e.dontImage,s=e.returnsFormUrl,c=e.printReturnRichText,u=e.doRichText,b
2=e.dontRichText,p=e.doDontTitle,h=e.errorMessages,g=e.returnsAddress,x=e.refundWaitingMessage,v=(0,f.y7)().returnsStepByStepGuideIsVisible;return(0,d.jsx)(m,{desktopFragmentWidth:n.VL[t],isVisible:v,mobileFragmentWidth:n.VL[r],tabletFragmentWidth:n.VL[i],title:l,doImage:o,dontImage:a,returnsFormUrl:s,printReturnRichText:c,doRichText:u,doDontTitle:p,dontRichText:b,errorMessages:h,returnsAddress:g,refundWaitingMessage:x})}},80717:(e,t,r)=>{r.d(t,{w:()=>F});var n=r(39564),i=r(50856),l=r(88522),o=r(46826),a=r(68830),s=r(74938),c=r(23483),d=r(89367),u=r(3640),m=r(74848);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return(t=function(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var x="flex w-full flex-col items-center gap-4 justify-center text-left p-5 lg:gap-4",v=function(e){var t,r,n=e.children,l=e.modalId,a=(t=(0,o.CB)(),r=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(t,r)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return(0,m.jsx)("button",{className:(0,i.QP)(x,"m-0 h-full border-0"),onClick:function(){return a(l)},type:"button",children:n})},y=function(e){var t=e.children,r=e.url;return(0,m.jsx)(l.A,{href:r,className:(0,i.QP)(x,"no-underline"),children:t})},j=function(e){var t=e.link,r=e.children;return t?{href:(0,m.jsx)(y,p(p({},t),{},{children:r})),modal:(0,m.jsx)(v,p(p({},t),{},{children:r}))}[function(e){var t="";return e.url&&(t="href"),e.modalId&&(t="modal"),t}(t)]:(0,m.jsx)("div",{className:x,children:r})},w=function(e){var t=e.actionButton,r=e.backgroundColor,i=e.desktopContentWidth,l=e.icon,o=e.link,f=e.mobileContentWidth,b=e.richTextContent,p=e.tabletContentWidth,h=e.title;return(0,m.jsx)(n.Ei,{col:a.VL[f],medium:a.VL[p],large:a.VL[i],style:{backgroundColor:r&&"#".concat(r)},children:(0,m.jsxs)(j,{link:o,children:[l&&(0,m.jsx)("div",{className:"flex h-28 items-center",children:(0,m.jsx)(s.default,{className:"w-16 fill-brandLogos text-brandLogos",fill:"currentColor",type:l})}),h&&(0,m.jsx)("h4",{className:"text-center text-base text-textBlack font-label lg:text-lg",children:h}),b&&(0,m.jsx)(d.s,{richText:b,helpCentre:!0}),t&&(0,m.jsx)(c.$,{type:"button",onClick:function(){window.setTimeout((function(){(0,u.Kj)()}),0)},text:null==t?void 0:t.text,className:{button:"uppercase lg:max-w-fit"},isFullWidth:!0,children:null==t?void 0:t.text})]})})};function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function k(e,t,r){return(t=function(e){var t=function(e){if("object"!=O(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S=function(e){var t=e.cards,r=e.desktopFragmentWidth,i=e.mobileFragmentWidth,l=e.tabletFragmentWidth,o=e.title;return(0,m.jsxs)(n.Ei,{col:i,medium:l,large:r,children:[o&&(0,m.jsx)("h2",{className:"mb-5 font-label text-lg text-textBlack lg:font-labelLarge lg:text-[22px]",children:o}),(0,m.jsx)(n.xA,{align:"items-stretch",children:t&&t.length>0&&t.map((function(e){return(0,m.jsx)(w,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?N(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),e.keyId)}))})]})},F=function(e){var t=e.cards,r=e.desktopFragmentWidth,n=e.mobileFragmentWidth,i=e.tabletFragmentWidth,l=e.title;return(0,m.jsx)(S,{cards:t,desktopFragmentWidth:a.VL[r],mobileFragmentWidth:a.VL[n],tabletFragmentWidth:a.VL[i],title:l})}},86126:(e,t,r)=>{r.d(t,{Y:()=>f});var n=r(68830),i=r(39564),l=r(77418),o=r(74848);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=e.desktopFragmentWidth,r=e.klarnaCalculator,n=e.mobileFragmentWidth,a=e.tabletFragmentWidth,s=e.aprText;return(0,o.jsx)(i.Ei,{col:n,large:t,medium:a,children:(0,o.jsx)("div",{className:"m-2.5 lg:m-0",children:(0,o.jsx)(l.A,c(c({},r),{},{aprText:s}))})})},m=r(58246),f=function(e){var t=e.desktopFragmentWidth,r=e.klarnaCalculator,i=e.mobileFragmentWidth,l=e.tabletFragmentWidth,a=(0,m.h)(["labelsGlobalKlarnaCalculatorInterestFreeAPRText"]).labelsGlobalKlarnaCalculatorInterestFreeAPRText;return(0,o.jsx)(u,{desktopFragmentWidth:n.VL[t],klarnaCalculator:r,mobileFragmentWidth:n.VL[i],tabletFragmentWidth:n.VL[l],aprText:a})}},87073:(e,t,r)=>{r.d(t,{A:()=>ie});var n=r(96540),i=r(71468),l=r(39564),o=r(58246),a=r(85816),s=r(31198),c=r(68830),d=r(38761),u=r(74848),m=function(e){var t=e.children;return(0,u.jsx)("div",{className:"bg-[#efefef] p-2 font-bold",children:t})};const f=function(e){var t=e.title,r=e.isLoading,n=e.project,i=e.infoBarText,l=e.error;return(0,u.jsxs)("div",{className:"flex w-full flex-col gap-2 py-5 ".concat(r||l?"items-center":"items-start"),children:[(0,u.jsx)("h1",{children:t}),!r&&!l&&(0,u.jsxs)("div",{className:"flex flex-row flex-wrap gap-2",children:[(0,u.jsx)(m,{children:null==i?void 0:i.viewOnlyText}),(0,u.jsxs)(m,{children:[null==i?void 0:i.modifiedText,(0,d.dw)(null==n?void 0:n.modifiedOn)]})]})]})};var b=r(20672);const p=function(e){var t=e.numberOfItems,r=e.totalPrice,n=e.labelsCheckoutItemsText,i=e.labelsCheckoutIncludeVATText,l=e.labelsCheckoutGrandTotalText;return(0,u.jsxs)("div",{className:"w-full bg-white",children:[(0,u.jsxs)("div",{className:"flex flex-row justify-between border-b border-grey-200 p-4",children:[(0,u.jsx)("h2",{className:"text-base font-medium leading-tight",children:"Project Summary"}),(0,u.jsx)("p",{className:"text-sm leading-tight text-grey-700",children:"number"==typeof t&&n&&"".concat(t," ").concat(n)})]}),(0,u.jsxs)("div",{className:"flex flex-row justify-between p-4",children:[(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("p",{className:"text-sm leading-tight",children:l}),(0,u.jsx)("p",{className:"text-sm leading-tight text-grey-700",children:i})]}),(0,u.jsx)("p",{className:"text-lg font-bold leading-tight text-red-700",children:null!=r&&r.priceIncTax?(0,b.v)("en-GB","GBP",r.priceIncTax):"£0.00"})]})]})};var h=r(68364),g=r(23016),x=r(50624),v=r(77477),y=r(57317),j=(0,v.tw)({base:"absolute top-1 rounded-input p-0.5 text-center text-xs !font-medium uppercase leading-none text-vpSelectFocusBg font-display lg:top-[18px] lg:px-2 lg:text-sm lg:leading-none",left:"left-1 max-w-[43%] lg:left-[18px]",right:"right-1 max-w-[60px] lg:max-w-[70px]"}),w=(0,v.tw)({wrapper:"relative mr-[5px] h-[15px] w-[75px] overflow-hidden before:absolute before:inset-0 before:block before:h-[15px] before:bg-product-rating-stars-grey before:bg-[length:15px] before:bg-repeat-x before:content-[''] lg:h-4 lg:w-20 lg:before:h-4 lg:before:bg-4",stars:"absolute block h-[15px] overflow-hidden before:absolute before:inset-0 before:block before:h-[15px] before:bg-product-rating-stars-orange before:bg-[length:15px] before:bg-repeat-x before:content-[''] lg:h-4 lg:before:h-4 lg:before:bg-4"});const O=function(e){var t=e.image,r=e.tags,n=e.banner,i=e.link,l=e.quantity,o=e.brandImage,a=e.productName,s=e.price,c=e.stockIdentifier,d=e.dueDate,m=e.productRating,f=e.sku,b=e.variantName,p=e.quantityText,v=[{breakPoint:960,height:350,width:350,priority:1,type:"webp",alt:null==t?void 0:t.alt,url:(0,x.U)(t.src,{format:"webp",w:350})},{breakPoint:960,height:350,width:350,priority:2,alt:null==t?void 0:t.alt,url:(0,x.U)(t.src,{w:350})},{height:200,width:200,priority:3,type:"webp",alt:null==t?void 0:t.alt,url:(0,x.U)(t.src,{format:"webp",w:200})},{height:200,width:200,default:!0,alt:null==t?void 0:t.alt,url:(0,x.U)(t.src,{w:200})}],O=[{height:20,width:60,priority:1,type:"webp",alt:null==o?void 0:o.alt,url:(0,x.U)(null==o?void 0:o.src,{format:"webp",w:60})},{height:20,width:60,default:!0,alt:null==o?void 0:o.alt,url:(0,x.U)(null==o?void 0:o.src,{w:60})}],N=m?m.averageRating/5*100:0;return(0,u.jsxs)("div",{className:"mb-2.5 w-full rounded-input bg-white lg:flex lg:justify-between",children:[(0,u.jsx)("a",{href:i.url,className:"relative lg:min-h-[216px] lg:min-w-[216px] lg:py-4 lg:pl-4",children:(0,u.jsxs)("div",{children:[(0,u.jsx)(g.V,{imageObject:v}),r&&(0,u.jsxs)("div",{children:[r.left&&(0,u.jsx)("p",{className:"".concat(j.base," ").concat(j.left),style:{backgroundColor:r.left.backgroundColor||"#0081b9"},children:r.left.text}),r.right&&(0,u.jsx)("p",{className:"".concat(j.base," ").concat(j.right),style:{backgroundColor:r.right.backgroundColor||"#6f6f6f"},children:r.right.text})]}),n&&(0,u.jsx)("div",{className:"absolute bottom-0 w-full p-0.5 text-center lg:bottom-4 lg:w-[200px]",style:{backgroundColor:n.backgroundColor||"rgba(0, 129, 185, 0.8)"},children:(0,u.jsx)("p",{className:"text-xs !font-normal leading-[1.4] text-vpSelectFocusBg font-display lg:text-sm lg:leading-[1.4]",children:n.text})})]})}),(0,u.jsx)("div",{className:"flex h-60 w-full flex-col p-2 lg:h-auto lg:flex-row lg:justify-start lg:p-5 lg:pr-[70px]",children:(0,u.jsxs)("div",{className:"flex flex-col content-start gap-1",children:[(0,u.jsx)("div",{className:"mr-2 block h-5 w-full max-w-[60px] [&>picture]:w-full",children:(0,u.jsx)(g.V,{imageObject:O})}),(0,u.jsx)("a",{href:null==i?void 0:i.url,className:"line-clamp-2 cursor-pointer text-base leading-5 text-black no-underline hover:underline hover:text-green-600 md:line-clamp-1",children:a}),(0,u.jsxs)("div",{className:"flex flex-col gap-1 2xl:flex-row",children:[(0,u.jsx)("p",{className:"text-base leading-5 text-neutralGrey",children:f}),b!==f&&(0,u.jsx)("p",{className:"text-base leading-5 text-neutralGrey",children:b})]}),(0,u.jsxs)("div",{className:"flex flex-col gap-1 lg:flex-row",children:[(0,u.jsx)("p",{className:"text-lg font-bold leading-[1.25] text-saleRed",children:null==s?void 0:s.current}),(null==s?void 0:s.previous)&&(0,u.jsxs)("p",{className:"text-neutralGrey line-through",children:["Was ",s.previous]})]}
2),(0,u.jsx)("div",{className:"mb-[5px] flex items-center",children:(0,u.jsx)(h.A,{stockStatus:c})}),d&&(0,u.jsxs)("div",{className:"mb-[5px] flex items-end lg:items-center",children:[(0,u.jsx)("div",{className:"mr-2 h-4 w-4",children:(0,u.jsx)(y.default,{responsive:!0})}),(0,u.jsx)("p",{className:"text-sm leading-[1.4] font-body lg:text-base lg:leading-[1.4]",children:d})]}),(0,u.jsxs)("div",{className:"mb-[5px] flex items-center",children:[(0,u.jsx)("div",{className:w.wrapper,children:(0,u.jsx)("span",{className:w.stars,style:{width:"".concat(N,"%")}})}),(0,u.jsx)("p",{className:"text-sm leading-[1.4] text-neutralGrey font-body md:text-base md:leading-[1.4]",children:null==m?void 0:m.numberOfRatings})]})]})}),(0,u.jsxs)("div",{className:"border-t border-grey-200 px-2.5 pb-5 pt-[5px] lg:ml-0 lg:flex lg:min-w-64 lg:flex-col lg:items-start lg:border-l lg:border-t-0 lg:p-5 lg:text-right",children:[(0,u.jsxs)("p",{children:[(0,u.jsx)("span",{className:"font-bold",children:p})," ",l]}),(0,u.jsx)("p",{className:"text-2xl font-bold leading-[1.25] text-saleRed",children:null==s?void 0:s.total})]})]})};var N=r(40212),k=r(16107),S=r(60088);function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){L(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function L(e,t,r){return(t=function(e){var t=function(e){if("object"!=F(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==F(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=function(e){var t=e.projectItems,r=e.emptyProjectListText,n=e.quantityText,o=e.pagination,a=e.paginationDefaultSize,c=e.paginationText,d=e.onLoadMore,m=e.loadMoreDetailsLabel,f=(0,i.d4)(s.L.departmentsData).selectedDepartmentSlug||"/";return(0,u.jsx)(l.xA,{children:t&&0!==(null==t?void 0:t.length)?(0,u.jsxs)(u.Fragment,{children:[t.map((function(e){return(0,u.jsx)(l.Ei,{col:"6",medium:"4",large:"12",children:(0,u.jsx)(O,W(W({},e),{},{quantityText:n}))},null==e?void 0:e.id)})),(0,u.jsx)(l.Ei,{col:"12",medium:"12",large:"12",children:(0,u.jsx)(k.A,{pagination:o,paginationDefaultSize:a,paginationText:c,onLoadMore:d,loadMoreDetailsLabel:m})})]}):(0,u.jsx)(l.Ei,{col:"12",medium:"12",large:"12",children:(0,u.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-2 bg-white p-8",children:[(0,u.jsx)("div",{className:"h-[29px] w-[26px]",children:(0,u.jsx)(S.default,{responsive:!0})}),(0,u.jsx)(N.s,{richText:r}),(0,u.jsx)("a",{href:f,children:"Shop Now"})]})})})};var A=r(23868),C=r(85235);const I=function(e){var t=e.desktopFragmentWidth,r=e.tabletFragmentWidth,n=e.mobileFragmentWidth,i=e.richText;return(0,u.jsx)(l.Ei,{col:n,medium:r,large:t,children:(0,u.jsx)(A.A,{richText:i,backgroundColor:C.y.pink[500],icon:"info-failure"})})},V=function(e){var t=e.isLoading,r=e.errorText;return(0,u.jsx)("div",{className:"flex h-[230px] w-full justify-center bg-white p-8 ".concat(t?"items-center":"items-start"),children:t?(0,u.jsx)("span",{className:"pointer-events-none z-[16] h-20 w-20 animate-[spin_800ms_linear_infinite] rounded-full border-[5px] border-grey-200 border-t-green-600 bg-transparent"}):(0,u.jsx)(I,{mobileFragmentWidth:12,desktopFragmentWidth:12,tabletFragmentWidth:12,richText:r})})};function D(e){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?E(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return(t=function(e){var t=function(e){if("object"!=D(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==D(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const B=function(e){var t=e.project,r=e.summaryLabels,n=e.summaryTitle,i=e.projectItems,o=e.emptyProjectListText,a=e.quantityText,s=e.pagination,c=e.paginationDefaultSize,d=e.paginationText,m=e.onLoadMore,f=e.loadMoreDetailsLabel,b=e.isLoading,h=e.error,g=e.errorText;return(0,u.jsx)(u.Fragment,{children:b||h?(0,u.jsx)(l.Ei,{col:"12",medium:"12",large:"12",children:(0,u.jsx)(V,{isLoading:b,errorText:g})}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l.Ei,{col:"12",medium:"12",large:"3",children:(0,u.jsx)(p,G(G(G({},t),r),{},{summaryTitle:n}))}),(0,u.jsx)(l.Ei,{col:"12",medium:"12",large:"9",children:(0,u.jsx)(P,{projectItems:i,emptyProjectListText:o,quantityText:a,pagination:s,paginationDefaultSize:c,paginationText:d,onLoadMore:m,loadMoreDetailsLabel:f})})]})})};var M=r(98833);function R(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function l(r,n,i,l){var s=n&&n.prototype instanceof a?n:a,c=Object.create(s.prototype);return U(c,"_invoke",function(r,n,i){var l,a,s,c=0,d=i||[],u=!1,m={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,r){return l=t,a=0,s=e,m.n=r,o}};function f(r,n){for(a=r,s=n,t=0;!u&&c&&!i&&t<d.length;t++){var i,l=d[t],f=m.p,b=l[2];r>3?(i=b===n)&&(a=l[4]||3,s=l[5]===e?l[3]:l[5],l[4]=3,l[5]=e):l[0]<=f&&((i=r<2&&f<l[1])?(a=0,m.v=n,m.n=l[1]):f<b&&(i=r<3||l[0]>n||n>b)&&(l[4]=r,l[5]=n,m.n=b,a=0))}if(i||r>1)return o;throw u=!0,n}return function(i,d,b){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&f(d,b),a=d,s=b;(t=a<2?e:s)||!u;){l||(a?a<3?(a>1&&(m.n=-1),f(a,s)):m.n=s:m.v=s);try{if(c=2,l){if(a||(i="next"),t=l[i]){if(!(t=t.call(l,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=l.return)&&t.call(l),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);l=e}else if((t=(u=m.n<0)?s:r.call(n,m))!==o)break}catch(t){l=e,a=1,s=t}finally{c=1}}return{value:t,done:u}}}(r,i,l),!0),c}var o={};function a(){}function s(){}function c(){}t=Object.getPrototypeOf;var d=[][n]?t(t([][n]())):(U(t={},n,(function(){return this})),t),u=c.prototype=a.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,U(e,i,"GeneratorFunction")),e.prototype=Object.create(u),e}return s.prototype=c,U(u,"constructor",c),U(c,"constructor",s),s.displayName="GeneratorFunction",U(c,i,"GeneratorFunction"),U(u),U(u,i,"Generator"),U(u,n,(function(){return this})),U(u,"toString",(function(){return"[object Generator]"})),(R=function(){return{w:l,m}})()}function U(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}U=function(e,t,r,n){if(t)i?i(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r;else{var l=function(t,r){U(e,t,(function(e){return this._invoke(t,r,e)}))};l("next",0),l("throw",1),l("return",2)}},U(e,t,r,n)}function z(e,t,r,n,i,l,o){try{var a=e[l](o),s=a.value}catch(e){return void r(e)}a.done?t(s):Promise.resolve(s).then(n,i)}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var $=function(){var e,t,r=(e=M.UseRetrieveProjectShare(),t=1,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}
2finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return q(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],n=function(){var e,t=(e=R().m((function e(t){var n,i,l,o,a;return R().w((function(e){for(;;)switch(e.n){case 0:return n=t.retrieveProjectShareData,i=t.pageNumber,l=t.pageSize,e.p=1,e.n=2,r({retrieveProjectShareData:n,pageNumber:i,pageSize:l});case 2:return o=e.v,e.a(2,null==o?void 0:o.data);case 3:return e.p=3,a=e.v,e.a(2,{error:a})}}),e,null,[[1,3]])})),function(){var t=this,r=arguments;return new Promise((function(n,i){var l=e.apply(t,r);function o(e){z(l,n,i,o,a,"next",e)}function a(e){z(l,n,i,o,a,"throw",e)}o(void 0)}))});return function(e){return t.apply(this,arguments)}}();return[n]},Q=r(66836),H=r(96371),K=r(46789),J=r(71785);function Y(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function l(r,n,i,l){var s=n&&n.prototype instanceof a?n:a,c=Object.create(s.prototype);return Z(c,"_invoke",function(r,n,i){var l,a,s,c=0,d=i||[],u=!1,m={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,r){return l=t,a=0,s=e,m.n=r,o}};function f(r,n){for(a=r,s=n,t=0;!u&&c&&!i&&t<d.length;t++){var i,l=d[t],f=m.p,b=l[2];r>3?(i=b===n)&&(a=l[4]||3,s=l[5]===e?l[3]:l[5],l[4]=3,l[5]=e):l[0]<=f&&((i=r<2&&f<l[1])?(a=0,m.v=n,m.n=l[1]):f<b&&(i=r<3||l[0]>n||n>b)&&(l[4]=r,l[5]=n,m.n=b,a=0))}if(i||r>1)return o;throw u=!0,n}return function(i,d,b){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&f(d,b),a=d,s=b;(t=a<2?e:s)||!u;){l||(a?a<3?(a>1&&(m.n=-1),f(a,s)):m.n=s:m.v=s);try{if(c=2,l){if(a||(i="next"),t=l[i]){if(!(t=t.call(l,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=l.return)&&t.call(l),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);l=e}else if((t=(u=m.n<0)?s:r.call(n,m))!==o)break}catch(t){l=e,a=1,s=t}finally{c=1}}return{value:t,done:u}}}(r,i,l),!0),c}var o={};function a(){}function s(){}function c(){}t=Object.getPrototypeOf;var d=[][n]?t(t([][n]())):(Z(t={},n,(function(){return this})),t),u=c.prototype=a.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Z(e,i,"GeneratorFunction")),e.prototype=Object.create(u),e}return s.prototype=c,Z(u,"constructor",c),Z(c,"constructor",s),s.displayName="GeneratorFunction",Z(c,i,"GeneratorFunction"),Z(u),Z(u,i,"Generator"),Z(u,n,(function(){return this})),Z(u,"toString",(function(){return"[object Generator]"})),(Y=function(){return{w:l,m}})()}function Z(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Z=function(e,t,r,n){if(t)i?i(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r;else{var l=function(t,r){Z(e,t,(function(e){return this._invoke(t,r,e)}))};l("next",0),l("throw",1),l("return",2)}},Z(e,t,r,n)}function X(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e,t,r,n,i,l,o){try{var a=e[l](o),s=a.value}catch(e){return void r(e)}a.done?t(s):Promise.resolve(s).then(n,i)}function te(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}
2finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||re(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e,t){if(e){if("string"==typeof e)return ne(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const ie=function(e){var t=e.mobileFragmentWidth,r=e.tabletFragmentWidth,d=e.desktopFragmentWidth,m=e.title,b=e.invalidUrlText,p=e.emptyProjectListText,h=e.createdByText,g=e.viewOnlyText,x=e.modifiedText,v=e.quantityText,y=e.summaryTitle,j=(0,n.useContext)(Q._),w=(0,a.P)("shareId"),O=(0,a.P)("invite"),N=(0,a.P)("ts"),k=(0,i.d4)(s.L.environmentVariables).listingsPaginationMaxSize,S=Number(k)||30,F=te($(),1)[0],T=te((0,n.useState)({}),2),W=T[0],L=T[1],P=te((0,n.useState)(!0),2),A=P[0],C=P[1],I=te((0,n.useState)(!1),2),V=I[0],D=I[1],E=te((0,n.useState)(!1),2),G=E[0],_=E[1],M=te((0,n.useState)([]),2),R=M[0],U=M[1],z=te((0,n.useState)(0),2),q=z[0],Z=z[1],re=te((0,n.useState)(0),2),ne=re[0],ie=re[1],le={createdByText:h,viewOnlyText:g,modifiedText:x},oe=(0,o.h)(["labelsCheckoutItemsText","labelsCheckoutIncludeVATText","labelsCheckoutGrandTotalText","labelsGlobalProductListingLoadMoreText","labelsGlobalProductListingResultViewText"]),ae=oe.labelsCheckoutItemsText,se=oe.labelsCheckoutIncludeVATText,ce=oe.labelsCheckoutGrandTotalText,de=oe.labelsGlobalProductListingLoadMoreText,ue=oe.labelsGlobalProductListingResultViewText;(0,n.useEffect)((function(){if(null!=j&&j.isConfigured){var e=function(){var e,t=(e=Y().m((function e(){var t,r,n;return Y().w((function(e){for(;;)switch(e.n){case 0:return t={retrieveProjectShareData:{invite:O,shareId:w,timestamp:N},pageNumber:ne+1,pageSize:S},e.n=1,F(t);case 1:null!=(r=e.v)&&r.error?_(!0):(L(r),null!=r&&r.projectItems&&U([].concat(X(R),X(r.projectItems))),Z(null==r||null===(n=r.pagination)||void 0===n?void 0:n.total)),C(!1),D(!1);case 2:return e.a(2)}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,i){var l=e.apply(t,r);function o(e){ee(l,n,i,o,a,"next",e)}function a(e){ee(l,n,i,o,a,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();e()}}),[null==j?void 0:j.isConfigured,ne,S,O,w,N]);var me,fe={from:ne,size:S,total:q},be=(0,J.JB)(R);return(0,u.jsxs)(l.Ei,{col:c.VL[t],medium:c.VL[r],large:c.VL[d],children:[(0,u.jsx)("div",{className:"w-full bg-white",children:(0,u.jsx)("div",{className:"mx-auto flex w-full max-w-[1200px] justify-start px-2.5",children:(0,u.jsx)(f,{title:m,isLoading:A,project:W,infoBarText:le,error:G})})}),(0,u.jsx)("section",{className:"flex w-full bg-[#f2f0eb] pb-6",children:(0,u.jsx)("div",{className:"mx-auto w-[1200px] p-2.5",children:(0,u.jsx)("div",{className:"w-full",children:(0,u.jsx)(l.xA,{children:(0,u.jsx)(B,{project:W,summaryLabels:{labelsCheckoutItemsText:ae,labelsCheckoutIncludeVATText:se,labelsCheckoutGrandTotalText:ce},summaryTitle:y,projectItems:be,emptyProjectListText:p,quantityText:v,pagination:fe,paginationDefaultSize:S,paginationText:(me=q>=ne+S?ne+S:q,(0,H.h)(ue,[me,q])),onLoadMore:function(){ie(ne+S),D(!0)},loadMoreDetailsLabel:de,isLoading:A,error:G,errorText:b})})})})}),V&&(0,u.jsxs)("div",{className:"fixed inset-0 z-[19] flex h-full w-full items-center justify-center overflow-hidden",children:[(0,u.jsx)(K.y,{custom:!0}),(0,u.jsx)("div",{className:"pointer-events-none absolute inset-0 z-[-1] block h-screen bg-black transition-all duration-200 ease-in-out",style:{opacity:V?.6:0,visibility:V?"visible":"hidden"}})]})]})}},87905:(e,t,r)=>{r.d(t,{d:()=>d});var n=r(86173),i=r(50856),l=r(80041),o=r(77477),a=r(21005),s=r(74848);const c=(0,o.tw)({wrapper:{base:"flex flex-col",visibility:{mobileVisible:"flex",mobileHidden:"hidden",desktopVisible:"md:flex",desktopHidden:"md:hidden"},variant:{button:"bg-white p-4",link:"mt-10 border-t border-genericGrey pt-10"}},headline:{base:"mb-2.5 text-center text-base leading-snug font-body",weight:{regular:"font-normal",bold:"font-bold"},span:{regular:"[&>span]:block [&>span]:w-full",bold:""}}}),d=({onBuyingGuide:e,title:t="",mobile:r=!1,desktop:o=!1,ctaLinkStyle:d=!1})=>(0,s.jsxs)("div",{className:(0,i.Id)(c.wrapper.base,r?c.wrapper.visibility.mobileVisible:c.wrapper.visibility.mobileHidden,o?c.wrapper.visibility.desktopVisible:c.wrapper.visibility.desktopHidden,d?c.wrapper.variant.link:c.wrapper.variant.button),children:[(0,s.jsxs)("p",{className:(0,i.Id)(c.headline.base,d?c.headline.weight.bold:c.headline.weight.regular,d?c.headline.span.bold:c.headline.span.regular),children:["Need help with ",t&&(0,s.jsxs)("span",{children:[t,"?"]})]}),d?(0,s.jsx)(a.v,{className:void 0,onClick:()=>{e()},ariaLabelText:void 0,testId:"buying-guide-cta-button",clickSource:void 0,children:"View our FAQ's"}):(0,s.jsx)(n.$,{text:"FAQ's",onClick:()=>e(),type:"button",variant:"solid",color:"secondaryText",size:"small",styleOverride:l.Z.darkGreyWhite.button})]})},88466:(e,t,r)=>{r.d(t,{W:()=>i});var n=r(74848),i=function(){return(0,n.jsx)(n.Fragment,{})}},89361:(e,t,r)=>{r.d(t,{A:()=>w});var n=r(96540),i=r(71468),l=r(31198),o=r(39564),a=r(85997),s=r(68830),c=r(6338),d=r(84630),u=r(23483),m=r(74848);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var b={button:"!border !border-solid !border-[#6f6f6f] !bg-[#6f6f6f] !text-white hover:!border-[#565656] hover:!bg-[#565656] hover:!text-white focus-visible:!ring-2 focus-visible:!ring-[#6f6f6f]/40 focu
2s-visible:!ring-offset-0 h-12 w-full px-[10px] py-0 uppercase md:w-[200px] md:px-3 lg:px-[14px]",loadingWrapper:"!border-[#6f6f6f] !bg-[#6f6f6f] !text-white"};const p=function(e){var t,r,n=e.desktopFragmentWidth,i=e.tabletFragmentWidth,l=e.mobileFragmentWidth,p=e.title,h=e.formStatus,g=e.handleFormSubmit,x=e.order,v=e.showForm,y=e.setShowForm,j=(t=(0,c.nA)(),r=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(t,r)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return(0,m.jsx)(o.Ei,{col:s.VL[l],medium:s.VL[i],large:s.VL[n],children:(0,m.jsxs)("div",{className:"flex flex-col bg-white px-5 py-2.5",children:[(0,m.jsxs)("div",{id:"helpCentreAlert",className:"complete"===h?"flex flex-col items-center rounded-[3px] bg-lightGreen p-5 text-center text-sm leading-[19px] text-textBlack font-body md:flex-row md:items-start md:text-left md:text-base md:leading-[22px]":"hidden",children:[(0,m.jsx)("div",{className:"mb-2.5 size-5 md:mb-0 md:mr-2.5 md:size-10",children:(0,m.jsx)(d.default,{responsive:"true"})}),(0,m.jsxs)("p",{children:[(0,m.jsx)("b",{children:"Thanks for your Enquiry."})," This has been successufully logged with our customer services team. we'll email you a ticket acnowledgement shortly with details of the next steps to resolve your case."]})]}),(0,m.jsx)("div",{className:"flex justify-center px-2.5",children:(0,m.jsx)("h3",{className:"my-5 text-[14px] leading-5 font-label md:text-[17px] md:leading-6",children:p})}),!v&&(0,m.jsx)("div",{className:"mb-5 flex justify-center",children:(0,m.jsx)(u.$,{text:"Next Step",variant:"fill",className:b,onClick:function(){return y(j())},children:"Next Step"})}),v&&(0,m.jsxs)("div",{className:"border-t border-solid border-genericGrey [&_button]:w-full md:[&_button]:w-auto",children:[(0,m.jsx)("p",{className:"mt-5 text-sm leading-5 md:leading-5",children:"Please fill in the form below."}),(0,m.jsx)(a.o,{handleFormSubmit:g,type:"orderEnquiry",order:x})]})]})})};var h=r(39708);function g(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function l(r,n,i,l){var s=n&&n.prototype instanceof a?n:a,c=Object.create(s.prototype);return x(c,"_invoke",function(r,n,i){var l,a,s,c=0,d=i||[],u=!1,m={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,r){return l=t,a=0,s=e,m.n=r,o}};function f(r,n){for(a=r,s=n,t=0;!u&&c&&!i&&t<d.length;t++){var i,l=d[t],f=m.p,b=l[2];r>3?(i=b===n)&&(a=l[4]||3,s=l[5]===e?l[3]:l[5],l[4]=3,l[5]=e):l[0]<=f&&((i=r<2&&f<l[1])?(a=0,m.v=n,m.n=l[1]):f<b&&(i=r<3||l[0]>n||n>b)&&(l[4]=r,l[5]=n,m.n=b,a=0))}if(i||r>1)return o;throw u=!0,n}return function(i,d,b){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&f(d,b),a=d,s=b;(t=a<2?e:s)||!u;){l||(a?a<3?(a>1&&(m.n=-1),f(a,s)):m.n=s:m.v=s);try{if(c=2,l){if(a||(i="next"),t=l[i]){if(!(t=t.call(l,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=l.return)&&t.call(l),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);l=e}else if((t=(u=m.n<0)?s:r.call(n,m))!==o)break}catch(t){l=e,a=1,s=t}finally{c=1}}return{value:t,done:u}}}(r,i,l),!0),c}var o={};function a(){}function s(){}function c(){}t=Object.getPrototypeOf;var d=[][n]?t(t([][n]())):(x(t={},n,(function(){return this})),t),u=c.prototype=a.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,x(e,i,"GeneratorFunction")),e.prototype=Object.create(u),e}return s.prototype=c,x(u,"constructor",c),x(c,"constructor",s),s.displayName="GeneratorFunction",x(c,i,"GeneratorFunction"),x(u),x(u,i,"Generator"),x(u,n,(function(){return this})),x(u,"toString",(function(){return"[object Generator]"})),(g=function(){return{w:l,m}})()}function x(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}x=function(e,t,r,n){if(t)i?i(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r;else{var l=function(t,r){x(e,t,(function(e){return this._invoke(t,r,e)}))};l("next",0),l("throw",1),l("return",2)}},x(e,t,r,n)}function v(e,t,r,n,i,l,o){try{var a=e[l](o),s=a.value}catch(e){return void r(e)}a.done?t(s):Promise.resolve(s).then(n,i)}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}
2finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return j(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const w=function(e){var t=e.desktopFragmentWidth,r=e.tabletFragmentWidth,o=e.mobileFragmentWidth,a=e.title,s=e.questionText,d=(0,i.d4)(l.L.activeOrder),u=y((0,n.useState)(!1),2),f=u[0],b=u[1],x=y((0,h.Q8)(),1)[0],j=y((0,c.oW)(),1)[0],w=(0,i.d4)(l.L.helpCentreFormStatus),O=function(){var e,t=(e=g().m((function e(t){var r,n;return g().w((function(e){for(;;)switch(e.n){case 0:return r={orderNumber:t.orderNumber,emailAddress:t.email,comment:t.amendOrderComments,recaptchaResponse:t.captchaToken},e.n=1,j(x,r,d.orderId);case 1:return n=e.v,b(!1),e.a(2,n)}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,i){var l=e.apply(t,r);function o(e){v(l,n,i,o,a,"next",e)}function a(e){v(l,n,i,o,a,"throw",e)}o(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,m.jsx)(m.Fragment,{children:d&&(0,m.jsx)(p,{title:s||a,desktopFragmentWidth:t,tabletFragmentWidth:r,mobileFragmentWidth:o,handleFormSubmit:O,formStatus:w,order:d,showForm:f,setShowForm:b})})}},92800:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(68830),i=r(39564),l=r(62907),o=r(74848);const a=({vpLoves:e})=>(0,o.jsxs)("span",{className:"flex w-[7.5rem] items-center justify-center rounded-input bg-pink-600 py-1 text-sm font-medium leading-snug text-vpSelectFocusBg font-label md:w-32 md:text-base lg:w-[9.375rem] lg:text-lg",children:[(0,o.jsx)("p",{className:"mr-1.5",children:e}),(0,o.jsx)("div",{className:"mr-1.5 h-[17px] w-[17px] text-green-600",children:(0,o.jsx)(l.default,{})}),(0,o.jsx)("p",{children:"LOVED"})]});var s=r(36336),c=r(40958);const d=function(e){var t=e.title,r=e.vpLoves,n=e.blogDetail,l=e.blogCategory,d=e.desktopFragmentWidth,u=e.tabletFragmentWidth,m=e.mobileFragmentWidth;return(0,o.jsx)(i.Ei,{col:m,medium:u,large:d,children:(0,o.jsxs)("div",{className:"border-y border-grey-300 bg-white p-5 px-2.5 md:p-5 md:px-2.5",children:[(0,o.jsxs)("div",{className:"mb-2 lg:mb-0 lg:flex lg:items-center",children:[(0,o.jsx)("h1",{className:"mb-2 text-[1.75rem] font-bold leading-[1.4] md:text-[2rem] lg:mr-6",children:t}),!r&&(0,o.jsx)(a,{vpLoves:r})]}),(0,o.jsxs)("div",{className:"md:flex",children:[n&&(0,o.jsx)(c.A,{blogDetail:n}),l&&(0,o.jsx)(s.Ay,{blogCategory:l})]})]})})},u=function(e){var t=e.title,r=e.vpLoves,i=e.blogDetail,l=e.blogCategory,a=e.desktopFragmentWidth,s=e.tabletFragmentWidth,c=e.mobileFragmentWidth;return(0,o.jsx)(d,{title:t,vpLoves:r,blogDetail:i,blogCategory:l,desktopFragmentWidth:n.VL[a],tabletFragmentWidth:n.VL[s],mobileFragmentWidth:n.VL[c]})}},94085:(e,t,r)=>{r.d(t,{h:()=>o});var n=r(68830),i=r(73259),l=r(74848),o=function(e){var t=e.backgroundColor,r=e.hasPadding,o=e.useNewStyles,a=e.richText,s=e.title,c=e.icon,d=e.textColor,u=e.desktopFragmentWidth,m=e.tabletFragmentWidth,f=e.mobileFragmentWidth;return(0,l.jsx)(i.a,{backgroundColor:t,hasPadding:r,useNewStyles:o,richText:a,title:s,icon:c,textColor:d,desktopFragmentWidth:n.VL[u],tabletFragmentWidth:n.VL[m],mobileFragmentWidth:n.VL[f]})}},94145:(e,t,r)=>{r.d(t,{O:()=>C});var n=r(71468),i=r(96540),l=r(39564),o=r(68830),a=r(69232),s=r(8559),c=r(42501),d=r(58786),u=r(63990),m=r(10632),f=r(21005),b=r(58533),p=r(41600),h=r(88544),g=r(74848);function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?v(Object(r),!0).forEach((function(t){j(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function j(e,t,r){return(t=function(e){var t=function(e){if("object"!=x(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=x(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==x(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var O=(0,s.T)();const N=function(e){var t,r,n=e.cardLocation,s=e.clickSourceId,x=e.mobileFragmentWidth,v=e.tabletFragmentWidth,j=e.desktopFragmentWidth,N=e.products,k=e.title,S=e.responsive,F=e.variant,T=e.button,W=e.track,L=void 0!==W&&W,P=e.quickView,A=void 0===P||P,C=e.shouldTrackImpressions,I=void 0!==C&&C,V=(t=(0,d.I)(),r=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(t,r)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],D=null,E=(0,i.useRef)();return(0,i.useEffect)((function(){D=(0,c.A)()}),[]),(0,g.jsx)(l.Ei,{col:o.VL[x],medium:o.VL[v],large:o.VL[j],children:(0,g.jsx)("div",{className:"relative min-h-[150px] overflow-hidden",children:(0,g.jsx)(m.A,{children:N&&N.length>0&&(0,g.jsxs)(g.Fragment,{children:[T&&(0,g.jsx)("div",{className:"absolute right-4 top-0",children:(0,g.jsx)(f.v,{onClick:T.onClick,className:"relative text-brand after:absolute after:-right-4 after:font-bold after:content-['X'] hover:text-brand",children:T.text})}),(0,g.jsx)("h2",{className:"mb-4 text-lg leading-snug font-label md:text-xl lg:text-2xl lg:font-labelLarge",children:k}),(0,g.jsx)("div",{className:"w-[calc(100%+32px)]",children:(0,g.jsx)(b.A,{responsive:S,ssr:!0,draggable:!1,deviceType:D,swipeable:!0,customLeftArrow:(0,g.jsx)(h.H,{className:"left-0"}),customRightArrow:(0,g.jsx)(p.N,{className:"right-8"}),itemClass:"basic",children:N.map((function(e,t){var r,i,l,o,c,d,m,f,b,p,h=null==e||null===(r=e.variants)||void 0===r?void 0:r[0];return(0,g.jsx)("div",{className:"product-card-wrapper h-full",children:(0,g.jsx)(a.A,y(y({cardLocation:n,shouldTrackImpressions:I,clickSourceId:s},e),{},{link:{url:null==e?void 0:e.slug},track:L,rootRef:E,image:{src:e.files?null==e||null===(i=e.files)||void 0===i||null===(i=i.mainImages)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.url:null==h||null===(l=h.image)||void 0===l?void 0:l.url,alt:null==e||null===(o=e.files)||void 0===o||null===(o=o.mainImages)||void 0===o||null===(o=o[0])||void 0===o||null===(o=o.attributes)||void 0===o?void 0:o.imageAltText},index:t,quickView:A,price:y({current:(0,u.M)({locale:"en-GB",currency:"GBP",productPrice:null==h||null===(c=h.price)||void 0===c?void 0:c.priceIncTax,coverageValue:null==e?void 0:e.coverageMetreSquarePerBox,coverageUnitType:null==e?void 0:e.coverageUnitType}),previous:"basic"!==F&&(null==h||null===(d=h.price)||void 0===d?void 0:d.wasPriceIncTax)&&(0,u.M)({locale:"en-GB",currency:"GBP",productPrice:null==h||null===(m=h.price)||void 0===m?void 0:m.wasPriceIncTax,coverageValue:null==e?void 0:e.coverageMetreSquarePerBox,coverageUnitType:null==e?void 0:e.coverageUnitType})},O&&{trade:(0,u.M)({locale:"en-GB",currency:"GBP",productPrice:null==h||null===(f=h.tradePrices)||void 0===f||null===(f=f[null==V?void 0:V.tradeBand])||void 0===f?void 0:f.priceIncTax,coverageValue:null==e?void 0:e.coverageMetreSquarePerBox,coverageUnitType:null==e?void 0:e.coverageUnitType})}),stockIdentifier:{text:null==h||null===(b=h.stockStatus)||void 0===b?void 0:b.status},productDescription:null==e?void 0:e.displayName,dueDate:"basic"!==F&&(null==h||null===(p=h.stockStatus)||void 0===p?void 0:p.eta),variant:F,isSli
2der:!0}))},e.id)}))})})]})})})})};var k=r(85816),S=r(31198),F=r(46232);function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e,t,r){return(t=function(e){var t=function(e){if("object"!=T(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==T(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var A=function(e){if(e)return Object.values(e).map((function(e){return{id:e.id,slug:e.slug,files:{mainImages:[L({},e.image)]},displayName:e.productName,variants:[{price:L({},e.price)}]}}))},C=function(e){var t,r=e.title,i=e.desktopFragmentWidth,l=e.tabletFragmentWidth,o=e.mobileFragmentWidth,a=e.keyId,s=(0,k.a)().pathname,c=(0,n.d4)(S.L.blogPostDataFromPath(s));return(0,g.jsx)(g.Fragment,{children:(null==c||null===(t=c.blogFeaturedProductsRefs)||void 0===t?void 0:t.length)>0&&(0,g.jsx)(N,{desktopFragmentWidth:i,tabletFragmentWidth:l,mobileFragmentWidth:o,title:r,keyId:a,products:A(null==c?void 0:c.blogFeaturedProductsData),responsive:F.F,variant:"basic",track:!0,quickView:!1})})}}}]);
3//# sourceMappingURL=https://sitefiles-mediaservice.victorianplumbing.co.uk/release/1.0.7883/client-sourcemaps/website/91a618478460d2f65a65.map

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.