"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1332],{53973:function(e,t,o){o.d(t,{m:function(){return s}});var l=o(8529),a=o(2784),r=o(48840),i=o(84977),n=o(52322),s=function(e){var t,o=e.tabs,s=e.borderStyle,d=e.tabIndex,c=e.setActiveTabIndex,b=e.disableTabKey,u=e.alternateStyling,g=e.showInactiveBg,p=e.enableSubscribeAndSaveInlinePricing,S=e.disableSubscriptionButton,m=a.useState(d||0),G=(0,l.Z)(m,2),y=G[0],v=G[1],C=a.useState(d||0),T=(0,l.Z)(C,2),h=T[0],f=T[1],B=o.map(function(){return a.createRef()});a.useEffect(function(){v(d||0),f(d||0)},[d]);var W=function(e){var t,l,a,i=y;switch(e.key){case r.yX.ArrowRight:v(i=y===o.length-1?0:y+1),f(i),null===(t=B[i].current)||void 0===t||t.focus();break;case r.yX.ArrowLeft:v(i=0===y?o.length-1:y-1),f(i),null===(l=B[i].current)||void 0===l||l.focus();break;case r.yX.Tab:e.shiftKey&&0===h?f(0):f(h+1),null===(a=B[i=h])||void 0===a||null===(a=a.current)||void 0===a||a.focus()}},w="tab-button",P="tab-panel";return(0,n.jsxs)(i.W2,{children:[(0,n.jsx)(i.td,{role:"tablist",alternateStyling:u,enableSubscribeAndSaveInlinePricing:p,children:o.map(function(e,t){var o=p?i.OD:i.OK;return(0,n.jsxs)(o,{ref:B[t],id:"".concat(w,"-").concat(t),tabIndex:t!==y?-1:0,"aria-controls":"".concat(P,"-").concat(t),role:"tab","aria-selected":t===y,isSelected:t===y,onClick:function(){v(t),c&&c(t)},onKeyDown:W,borderStyle:s||"SingleTab",alternateStyling:u,showInactiveBg:g,disabled:1===t&&S,children:[p&&(0,n.jsx)(i.Ln,{children:e.displayPrice}),e.title," ",e.icon]},"".concat(w,"-").concat(t))})}),(0,n.jsx)(i.x4,{role:"tabpanel",tabIndex:b?-1:0,id:"".concat(P,"-").concat(y),"aria-labelledby":"".concat(w,"-").concat(y),onKeyDown:function(e){if("Tab"===e.key&&e.shiftKey){var t;null===(t=B[y+1])||void 0===t||null===(t=t.current)||void 0===t||t.focus(),f(y)}},alternateStyling:u,children:null===(t=o[y])||void 0===t?void 0:t.content})]})}},31332:function(e,t,o){o.r(t),o.d(t,{TabbedSetWidgetRenderer:function(){return P}});var l,a,r,i,n,s=o(95235),d=o(7328),c=o(2784),b=o(11006),u=o(87330),g=o(48840),p=o(53973),S=o(52322);function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,l)}return o}var G=((l={}).LIGHT="light",l.DARK="dark",l),y=b.zo.h2(a||(a=(0,d.Z)(["\n ",";\n margin-bottom: ",";\n color: ",";\n"])),function(e){return(0,u.xv)(e.theme.widget.tabbedSet.title.font.entry,e.theme.widget.tabbedSet.title.font.style,e.theme.widget.tabbedSet.title.font.hasScaledText)},(0,g.W0)(1),function(e){return e.color&&e.color===G.LIGHT?e.theme.colors.palette.greys.light:e.theme.colors.palette.greys.darker}),v=b.zo.h2(r||(r=(0,d.Z)(["\n ",";\n margin-bottom: ",";\n color: ",";\n"])),function(e){return(0,u.xv)(e.theme.widget.tabbedSet.subtitle.font.entry,e.theme.widget.tabbedSet.subtitle.font.style)},(0,g.W0)(3),function(e){return e.color&&e.color===G.LIGHT?e.theme.colors.palette.greys.light:e.theme.colors.palette.greys.darker}),C=b.zo.div(i||(i=(0,d.Z)(["\n text-align: ",";\n"])),function(e){return e.alignment||"center"}),T=o(81292),h=o(54137),f=o(9139);function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,l)}return o}function W(e){for(var t=1;t1)return(0,S.jsx)(w,W({},a))}if(e.__typename===f.y.ResponsiveProductTabs){var r,i=t(e.banners,"tabTitle_");if(0===(i||[]).length)return null;var n={title:{text:e.responsiveProductTabsTitle||""},tabProps:{tabs:i}};if((null===(r=n.tabProps.tabs)||void 0===r?void 0:r.length)>0)return(0,S.jsx)(w,W({},n))}return null}},9139:function(e,t,o){o.d(t,{y:function(){return a}});var l,a=((l={}).AccordionWidget="AccordionWidget",l.AccordionWidgetContainer="AccordionWidgetContainer",l.BMICalculator="BMICalculator",l.BMICalculatorV2="BMICalculatorV2",l.BrandsPageWidget="BrandsPageWidget",l.BuildYourOwnBundleProductList="BuildYourOwnBundleProductList",l.DeliveryInfoWidget="DeliveryInfoWidget",l.DeliveryInformationWidget="DeliveryInformationWidget",l.DynamicReferralWidget="DynamicReferralWidget",l.GlobalReferral3StepGuide="GlobalReferral3StepGuide",l.Easiware="Easiware",l.EditorialWidget="EditorialWidget",l.EmailReEngagementModal="EmailReEngagementModal",l.FastTrackBanner="FastTrackBanner",l.FoundationFinderLandingPageWidget="FoundationFinderLandingPageWidget",l.GlobalAboutUsVideo="GlobalAboutUsVideo",l.GlobalAccreditationIcon="GlobalAccreditationIcon",l.GlobalAccreditationIconCollection="GlobalAccreditationIconCollection",l.GlobalBrandLogos="GlobalBrandLogos",l.GlobalBuyingRightNow="GlobalBuyingRightNow",l.GlobalBuyingRightNowManualProductURL="GlobalBuyingRightNowManualProductURL",l.GlobalCardScrollerCard="GlobalCardScrollerCard",l.GlobalCardScrollerSet="GlobalCardScrollerSet",l.GlobalDispatchAndDateCountdownWidget="GlobalDispatchAndDateCountdownWidget",l.GlobalEditorialWithFeature="GlobalEditorialWithFeature",l.GlobalFooterAccreditationIcons="GlobalFooterAccreditationIcons",l.GlobalFooterContactUs="GlobalFooterContactUs",l.GlobalFourBestSellers="GlobalFourBestSellers",l.GlobalFourButtonLink="GlobalFourButtonLink",l.GlobalFourItemEditorial="GlobalFourItemEditorial",l.GlobalGeneralImageBanner="GlobalGeneralImageBanner",l.GlobalHelpCentreCollection="GlobalHelpCentreCollection",l.GlobalHeroCTABanner="GlobalHeroCTABanner",l.GlobalImageCard="GlobalImageCard",l.GlobalImageCardSet="GlobalImageCardSet",l.GlobalMultiButton="GlobalMultiButton",l.GlobalPrimaryBanner="GlobalPrimaryBanner",l.GlobalPrimaryBannerWithList="GlobalPrimaryBannerWithList",l.GlobalPrimaryBannerWithTextOverlay="GlobalPrimaryBannerWithTextOverlay",l.GlobalProductCardScroller="GlobalProductCardScroller",l.GlobalScalableLogos="GlobalScalableLogos",l.GlobalSectionPeek="GlobalSectionPeek",l.GlobalSetAndromeda="GlobalSetAndromeda",l.GlobalSimpleTextCTAWidget="GlobalSimpleTextCTAWidget",l.GlobalSixItemCategories="GlobalSixItemCategories",l.GlobalSocialIcon="GlobalSocialIcon",l.GlobalSocialIconCollection="GlobalSocialIconCollection",l.GlobalSocialIconCollectionv2="GlobalSocialIconCollectionv2",l.GlobalSocialIconv2="GlobalSocialIconv2",l.GlobalStripBanner="GlobalStripBanner",l.GlobalSubscriptionOptions="GlobalSubscriptionOptions",l.GlobalTabbedWidgetSet="GlobalTabbedWidgetSet",l.GlobalThreeItemEditorialSubtitleBG="GlobalThreeItemEditorialSubtitleBG",l.GlobalThreeItemEditorial="GlobalThreeItemEditorial",l.GlobalTransformationSlider="GlobalTransformationSlider",l.GlobalTrendingHashtagBlock="GlobalTrendingHashtagBlock",l.GlobalTrendingHashtagCollection="GlobalTrendingHashtagCollection",l.GlobalTwoBestSellers="GlobalTwoBestSellers",l.GlobalTwoItemEditorial="GlobalTwoItemEditorial",l.GlobalTwoItemImageTextBlock="GlobalTwoItemImageTextBlock",l.GlobalTwoItemImageTextCTA="GlobalTwoItemImageTextCTA",l.GlobalTwoItemImageTextCTA3070="GlobalTwoItemImageTextCTA3070",l.GlobalUGCCarousel="GlobalUGCCarousel",l.GlobalVideoGallery="GlobalVideoGallery",l.GlobalVideoHeroBannerWidget="GlobalVideoHeroBannerWidget",l.GlobalVideoTextImageCTA="GlobalVideoTextImageCTA",l.GlobalWaitListSignUpFormResponses="GlobalWaitListSignUpFormResponses",l.GlobalWaitListSignUpWidget="GlobalWaitListSignUpWidget",l.GlobalWidgetSirius="GlobalWidgetSirius",l.GlobalWidgetVega="GlobalWidgetVega",l.GlobalYoutubeGalleryItem="GlobalYoutubeGalleryItem",l.GlobalYoutubeGallerySet="GlobalYoutubeGallerySet",l.LoyaltyHubBirthdayGift="LoyaltyHubBirthdayGift",l.LoyaltyHubTier="LoyaltyHubTier",l.LoyaltyRewardTier="LoyaltyRewardTier",l.LoyaltyRewardTiers="LoyaltyRewardTiers",l.LoyaltyStatusBar="LoyaltyStatusBar",l.MailingList="MailingList",l.MultipleCTABanner="MultipleCTABanner",l.ProductListWidget="ProductListWidget",l.PropositionBar="propositionBar",l.ProvenanceBrandHeader="provenanceBrandHeader",l.ResponsiveBuildYourOwnBundle="ResponsiveBuildYourOwnBundle",l.ResponsiveBuildYourOwnBundleProducts="ResponsiveBuildYourOwnBundleProducts",l.ResponsiveComparisonTable="ResponsiveComparisonTable",l.ResponsiveComparisonTableContainer="ResponsiveComparisonTableContainer",l.ResponsiveProductBlockCarousel="ResponsiveProductBlockCarousel",l.ResponsiveProductTabs="ResponsiveProductTabs",l.ResponsiveSetSalon="ResponsiveSetSalon",l.ResponsiveSetSalonWithSlides="ResponsiveSetSalonWithSlides",l.ResponsiveSliderSet="ResponsiveSliderSet",l.ResponsiveSuccessStoriesWidgetContainer="ResponsiveSuccessStoriesWidgetContainer",l.ResponsiveSuccessStoryWidget="ResponsiveSuccessStoryWidget",l.ResponsiveTwoItemComparisonContainer="ResponsiveTwoItemComparisonContainer",l.ResponsiveTwoItemComparisonRow="ResponsiveTwoItemComparisonRow",l.ResponsiveUSPBar="ResponsiveUSPBar",l.SeoProductCategory="SeoProductCategory",l.SeoProductCategorySet="SeoProductCategorySet",l.ShopTheLookHotSpot="ShopTheLookHotSpot",l.TopBrandsWidget="TopBrandsWidget",l.TopProductCategory="TopProductCategory",l.TopProductCategorySet="TopProductCategorySet",l.TrustPilotWidget="TrustPilotWidget",l.TrustPilotCarouselWidget="TrustPilotCarouselWidget",l.VoucherCodesWidget="VoucherCodesWidget",l.asymmetricGrid="asymmetricGrid",l.buildyourownbundle="buildyourownbundle",l.categoryItemCard="categoryItemCard",l.coverageCalculator="coverageCalculator",l.eightLinkButtonWidget="eightLinkButtonWidget",l.imageSelectCard="imageSelectCard",l.imageSelectSlider="imageSelectSlider",l.improvedSearchBestSellers="improvedSearchBestSellers",l.kitBuilder="kitBuilder",l.loyaltyRewardsList="loyaltyRewardsList",l.loyaltyWelcomeMessage="loyaltyWelcomeMessage",l.multiCategoryCardSet="multiCategoryCardSet",l.parcelLabWidget="parcelLabWidget",l.promoproductslider="promoproductslider",l.revieveWidget="revieveWidget",l.shopTheLook="shopTheLook",l.simpleCTA="simpleCTA",l.simpleTextWidgetSet="simpleTextWidgetSet",l.simpleTitleWidget="simpleTitleWidget",l.simpletextwidget="simpletextwidget",l.simpletextwidgetwithh1="simpletextwidgetwithh1",l.sponsoredProducts="sponsoredProducts",l.sponsoredProductsNew="sponsoredProductsNew",l.subscribeAndSaveInformationModal="subscribeAndSaveInformationModal",l.swatchSelectSlider="swatchSelectSlider",l.swatchSelectSliderSet="swatchSelectSliderSet",l.trustReinforcementContainer="trustReinforcementContainer",l.trustReinforcementSection="trustReinforcementSection",l.storyStream="storyStreamWidget",l.CriteoSponsoredBannerAds="CriteoSponsoredBannerAds",l.sponsoredProductsCriteoHomepage="sponsoredProductsCriteoHomepage",l.qubitHomePageRecs="qubitHomePageRecs",l.AdaChatbotBooking="AdaChatbotBooking",l)}}]); //# sourceMappingURL=1332.3393ebc261a8db94.js.map