1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1916],{1844:e=>{e.exports={container:"D2VComponent_container__cnAWl",productCard:"D2VComponent_productCard__1wOkC",product:"D2VComponent_product__P2442",title:"D2VComponent_title__wULfM",price:"D2VComponent_price__uzZfp"}},2158:e=>{e.exports={iconWrapper:"PABD_iconWrapper__I988U",icon:"PABD_icon__1rzJ1",info:"PABD_info__yQm8L",pABD:"PABD_pABD__gIBjm",pABDInactive:"PABD_pABDInactive__nmq5F",pABDActive:"PABD_pABDActive__OMsZ4",text:"PABD_text__9A6Ag"}},2471:e=>{e.exports={bonusPoints:"BonusPoints_bonusPoints__Jy7VT",starContainer:"BonusPoints_starContainer__uWmrl",text:"BonusPoints_text__ULoQO"}},2658:e=>{e.exports={container:"ProgressBar_IDPO_2338_container__aXYOU",badge:"ProgressBar_IDPO_2338_badge__sbOt5",progressBarWrapper:"ProgressBar_IDPO_2338_progressBarWrapper__KcD7E",shippingText:"ProgressBar_IDPO_2338_shippingText__Datfy",progressBar:"ProgressBar_IDPO_2338_progressBar__z1x4w",progress:"ProgressBar_IDPO_2338_progress__5HAzr",thirdPartyInfo:"ProgressBar_IDPO_2338_thirdPartyInfo__8GxVy"}},2756:e=>{e.exports={list:"PDP_list__rLV3e"}},3041:e=>{e.exports={youtubeVideoContainer:"ImageSwiperYoutubeVideo_youtubeVideoContainer__mNFoH",youtubeImageThumbnailContainer:"ImageSwiperYoutubeVideo_youtubeImageThumbnailContainer__zUzC2",youtubeImageThumbnailIcon:"ImageSwiperYoutubeVideo_youtubeImageThumbnailIcon__xN4v6"}},3540:e=>{e.exports={titleContainer:"ProductTitle_titleContainer__gZMux",title:"ProductTitle_title__FNHsJ"}},6856:e=>{e.exports={variantDescriptionWrapper:"VariantDescription_variantDescriptionWrapper__QDPef",description:"VariantDescription_description__ZaWTc",infoTagList:"VariantDescription_infoTagList__xXt1o",stockReminderTag:"VariantDescription_stockReminderTag__Zx_hn",stockReminderIcon:"VariantDescription_stockReminderIcon__G0ltk"}},10139:e=>{e.exports={headerContainer:"CustomerQnA_headerContainer__2wW5Q",headerTextContainer:"CustomerQnA_headerTextContainer___8gGL"}},10180:e=>{e.exports={container:"AutoshipmentBestPriceGuaranteeModal_container__A72p_",body:"AutoshipmentBestPriceGuaranteeModal_body__uVWMP",description:"AutoshipmentBestPriceGuaranteeModal_description__PR8ii",logo:"AutoshipmentBestPriceGuaranteeModal_logo__gw6e9",itemList:"AutoshipmentBestPriceGuaranteeModal_itemList__O0aV4",item:"AutoshipmentBestPriceGuaranteeModal_item__gb2uM",itemIcon:"AutoshipmentBestPriceGuaranteeModal_itemIcon__nhd9R",terms:"AutoshipmentBestPriceGuaranteeModal_terms__0JLxz",discountItemText:"AutoshipmentBestPriceGuaranteeModal_discountItemText__NAcSL",discountBadge:"AutoshipmentBestPriceGuaranteeModal_discountBadge__qur97",footer
1:"AutoshipmentBestPriceGuaranteeModal_footer__QO24E"}},11134:e=>{e.exports={container:"ReturnPolicyLink_container__EYUh_",icon:"ReturnPolicyLink_icon__cH85u",anchor:"ReturnPolicyLink_anchor__mFffW"}},13356:e=>{e.exports={mobileOnly:"PDPLayoutBottom_mobileOnly__c1bZL",desktopOnly:"PDPLayoutBottom_desktopOnly__Re14Y",list:"PDPLayoutBottom_list__34mWo",container:"PDPLayoutBottom_container__O1nBo",leftColumn:"PDPLayoutBottom_leftColumn__9wWLU",rightColumn:"PDPLayoutBottom_rightColumn__xC48u",recommendationSlider:"PDPLayoutBottom_recommendationSlider__BPJp7",recoSlider:"PDPLayoutBottom_recoSlider__LeP20"}},16661:()=>{},17898:e=>{e.exports={tabList:"Tabs_tabList__mOeT_",tabHeader:"Tabs_tabHeader__ZXkWL",tabContent:"Tabs_tabContent__z9pNv",selectedTabHeaderOpen:"Tabs_selectedTabHeaderOpen__e_iDp",selectedTabContentOpen:"Tabs_selectedTabContentOpen__YaASE",selectedTabHeader:"Tabs_selectedTabHeader__Kykx0",selectedTabContent:"Tabs_selectedTabContent__yeYhd",reviewsTabContent:"Tabs_reviewsTabContent__hduec"}},19972:e=>{e.exports={content:"Content_content__ylGND",isTruncated:"Content_isTruncated__Ccutw",readMorePanel:"Content_readMorePanel__oAfTO"}},21473:e=>{e.exports={cell:"ComparisonTableCell_cell__VKA9J",selected:"ComparisonTableCell_selected__ObYbf",lastRow:"ComparisonTableCell_lastRow__yft5N",header:"ComparisonTableCell_header__rzHCU"}},21864:e=>{e.exports={variantWrapper:"MobileArticleSelectionBoxTrigger_variantWrapper__TQxAs",variantDescriptionWrapper:"MobileArticleSelectionBoxTrigger_variantDescriptionWrapper__q8OPy",variantDescription:"MobileArticleSelectionBoxTrigger_variantDescription__cB6CB",whileStockLasts:"MobileArticleSelectionBoxTrigger_whileStockLasts__lBkRC"}},26857:e=>{e.exports={cell:"ComparisonTableHeaderCell_cell__Tjelw",selected:"ComparisonTableHeaderCell_selected__Y_qiJ",selectedText:"ComparisonTableHeaderCell_selectedText__B9poR",imageWrapper:"ComparisonTableHeaderCell_imageWrapper__plgOI",badge:"ComparisonTableHeaderCell_badge__fH4tc",disabled:"ComparisonTableHeaderCell_disabled__Z5SXf",imageContent:"ComparisonTableHeaderCell_imageContent__m9lWK",productInfo:"ComparisonTableHeaderCell_productInfo__GX3Hg",title:"ComparisonTableHeaderCell_title__fUtVQ",description:"ComparisonTableHeaderCell_description__hIXW8"}},29521:e=>{e.exports={container:"DynamicBundle_container__4l8h_",header:"DynamicBundle_header__ckZYk",bundleItem_mobileOnly:"DynamicBundle_bundleItem_mobileOnly__8Gi1z",bundleItem_desktopOnly:"DynamicBundle_bundleItem_desktopOnly__amlmt",bundleListContainer:"DynamicBundle_bundleListContainer__IbmxD",bundleCartButton:"DynamicBundle_bundleCartButton__0ZJHo",collapsedBundle:"DynamicBundle_collapsedBundle__6_UjI"}},29700:e=>{e.exports={footer:"CartDrawerFooter_footer__4rfW3",total:"CartDrawerFooter_total__zjFNt",totalLabel:"CartDrawerFooter_totalLabel__OxDJ9",button:"CartDrawerFooter_button__shFOw",price:"CartDrawerFooter_price__VC_d_"}},32884:e=>{e.exports={content:"ZooplusBonusPointModalWrapper_content__VFWHG",step:"ZooplusBonusPointModalWrapper_step__VLwGL",onlyDesktop:"ZooplusBonusPointModalWrapper_onlyDesktop__kg29C",stepTitle:"ZooplusBonusPointModalWrapper_stepTitle__E_pWV",container:"ZooplusBonusPointModalWrapper_container__ZwqT1",modalBody:"ZooplusBonusPointModalWrapper_modalBody__MD1dH",stepDescription:"ZooplusBonusPointModalWrapper_stepDescription__TlwQj"}},33872:e=>{e.exports={container:"AutoshipmentModal_container__ouqs2",body:"AutoshipmentModal_body__MTHjT",content:"AutoshipmentModal_content__TGX1j",description:"AutoshipmentModal_description__Qf1Wk",itemList:"AutoshipmentModal_itemList__TtuUV",item:"AutoshipmentModal_item__d2AIQ",itemIcon:"AutoshipmentModal_itemIcon__P0Bk1",terms:"AutoshipmentModal_terms__s0hM3",footer:"AutoshipmentModal_footer__ysGoP"}},35174:e=>{e.exports={zooplusChoiceBadgeTooltip:"ZooplusChoiceBadgeTooltipWrapper_zooplusChoiceBadgeTooltip__cpjM_",zooplusChoiceBadge:"ZooplusChoiceBadgeTooltipWrapper_zooplusChoiceBadge__AZICa"}},35700:e=>{e.exports={leftColumn8:"PDPComparisonTable_leftColumn8__l3JeH",leftColumn12:"PDPComparisonTable_leftColumn12__7vCcS"}},36084:e=>{e.exports={container:"AutoshipmentAdvantages_container___ZC7u",itemList:"AutoshipmentAdvantages_itemList__U3CSy",item:"AutoshipmentAdvantages_item___I6H_",callout:"AutoshipmentAdvantages_callout__Pzf8I",calloutHeader:"AutoshipmentAdvantages_calloutHeader__QsvPZ",calloutTitle:"AutoshipmentAdvantages_calloutTitle__UvVAB",calloutDescription:"AutoshipmentAdvantages_calloutDescription__xmowT",learnMoreLink:"AutoshipmentAdvantages_learnMoreLink__T92Ic"}},37206:e=>{e.exports={selectedArticleBox:"SelectedArticleBox_selectedArticleBox__YiM_X",selectedArticle:"SelectedArticleBox_selectedArticle__TYxbk",bottomSection:"SelectedArticleBox_bottomSection__TB8xv",outOfStockText:"SelectedArticleBox_outOfStockText__7fgdy",articleAddedNotification:"SelectedArticleBox_articleAddedNotification__CXmzt",actionButtonWrapper:"SelectedArticleBox_actionButtonWrapper___TqG7",actionButton:"SelectedArticleBox_actionButton__Lt0d_",stickyMobileAddToCart:"SelectedArticleBox_stickyMobileAddToCart__rzNZY",quantity:"SelectedArticleBox_quantity__eyXCP",bestPriceContainer:"SelectedArticleBox_bestPriceContainer__mtHKv",hideOnMobileWhenVariantSelectionEnabled:"SelectedArticleBox_hideOnMobileWhenVariantSelectionEnabled__A6FbR",bestPrice:"SelectedArticleBox_bestPrice____9HH",bestPriceIcon:"SelectedArticleBox_bestPriceIcon__OCigQ"}},44109:e=>{e.exports={container:"ChatbotCTA_container__F_97c",chatbotChip:"ChatbotCTA_chatbotChip__aIyWx"}},44744:e=>{e.exports={sellerInfo:"SellerInfo_sellerInfo__0VwQC",sellerName:"SellerInfo_sellerName__oE5Pi",sellerLink:"SellerInfo_sellerLink__kU0jX",sellerInfoFullscreen:"SellerInfo_sellerInfoFullscreen__5gxhR",sellerTextContainer:"SellerInfo_sellerTextContainer__apjkO",preformatted:"SellerInfo_preformatted__LQ_2W"}},45074:e=>{e.exports={container:"GoTopButtonWrapper_container__yUh7u",hidden:"GoTopButtonWrapper_hidden__tawax"}},45344:e=>{e.exports={table:"Table_table__c5Cjw"}},45845:e=>{e.exports={button:"AddBundleToCart_button___4ZEA"}},46200:e=>{e.exports={container:"PDPStickyAddToCart_container__1L2dO",shown:"PDPStickyAddToCart_shown__wyd10",actionButton:"PDPStickyAddToCart_actionButton__8Un2C"}},46700:e=>{e.exports={variantWrapper:"ArticleSelectionBoxTrigger_variantWrapper__RQJV4",variantDescriptionWrapper:"ArticleSelectionBoxTrigger_variantDescriptionWrapper__vhsX0",variantDescription:"ArticleSelectionBoxTrigger_variantDescription__RfVlu",variantId:"ArticleSelectionBoxTrigger_variantId__vEdwT"}},48568:e=>{e.exports={container:"RecommendationSkeleton_container__XUDr6",slider:"RecommendationSkeleton_slider__o33nn"}},49260:e=>{e.exports={container:"Multipacks_container__YmBWf",product:"Multipacks_product__cUxmc",productInfo:"Multipacks_productInfo__EEwEH",details:"Multipacks_details__J3fza",description:"Multipacks_de
1scription__oQcsC",cartButton:"Multipacks_cartButton__A1y1_"}},49398:e=>{e.exports={zooplusChoiceBadge:"ZooplusChoiceBadgeModalWrapper_zooplusChoiceBadge__PhhFo"}},49542:e=>{e.exports={checkIcon:"ComparisonTableFacetRow_checkIcon__cS7jg"}},50233:e=>{e.exports={scrollbarContainer:"ComparisonTableScrollbar_scrollbarContainer__sEls0",scrollbar:"ComparisonTableScrollbar_scrollbar__hV3GT"}},50324:e=>{e.exports={addToWishlistContainer:"Wishlist_addToWishlistContainer__EeK6N"}},51912:e=>{e.exports={paragraph:"Ingredients_paragraph__bAqdh",goToConstituents:"Ingredients_goToConstituents__Ctiwd",space:"Ingredients_space__lmdVR"}},52044:e=>{e.exports={mobileOnly:"PDPLayoutAboveTheFold_mobileOnly__AQeG1",desktopOnly:"PDPLayoutAboveTheFold_desktopOnly__vu4iU",list:"PDPLayoutAboveTheFold_list__s41UF",container:"PDPLayoutAboveTheFold_container__MJ_S9",productCard:"PDPLayoutAboveTheFold_productCard__tICJA",chatbotCTA:"PDPLayoutAboveTheFold_chatbotCTA__GGgZR"}},52825:e=>{e.exports={imageSwiper:"ImageFullscreenSwiper_imageSwiper__9ONpP",imageSwiperProductBadge:"ImageFullscreenSwiper_imageSwiperProductBadge__9d57o",imageSwiperThumbnailsContainer:"ImageFullscreenSwiper_imageSwiperThumbnailsContainer__S1SAP",imageSwiperPrincipalContainer:"ImageFullscreenSwiper_imageSwiperPrincipalContainer__6PhTe",imageSwiperPrincipal:"ImageFullscreenSwiper_imageSwiperPrincipal__bKv9C",imageSwiperThumbnails:"ImageFullscreenSwiper_imageSwiperThumbnails__9NidU",imageSwiperContrastedArrowCircle:"ImageFullscreenSwiper_imageSwiperContrastedArrowCircle__wJJej",imageSwiperPreviousThumbnailsButton:"ImageFullscreenSwiper_imageSwiperPreviousThumbnailsButton__6F_gP",imageSwiperNextThumbnailsButton:"ImageFullscreenSwiper_imageSwiperNextThumbnailsButton__rcnq_",imageSwiperPrevNextPrincipalButton:"ImageFullscreenSwiper_imageSwiperPrevNextPrincipalButton__he24h","swiper-button-prev":"ImageFullscreenSwiper_swiper-button-prev__Kn6HA","swiper-button-next":"ImageFullscreenSwiper_swiper-button-next__8Ud_i",imageSwiperZoomButton:"ImageFullscreenSwiper_imageSwiperZoomButton__MvjDw",imageSwiperFullscreen:"ImageFullscreenSwiper_imageSwiperFullscreen__6x3QQ",visible:"ImageFullscreenSwiper_visible__SVBec",imageSwiperContainer:"ImageFullscreenSwiper_imageSwiperContainer__euT5r",contentContainer:"ImageFullscreenSwiper_contentContainer__lw_AX",abstractFullscreenButton:"ImageFullscreenSwiper_abstractFullscreenButton__nwoSv",prevNextButton:"ImageFullscreenSwiper_prevNextButton__Hrhpe",closeButton:"ImageFullscreenSwiper_closeButton__sPzvY",imageCounter:"ImageFullscreenSwiper_imageCounter__JrLSX"}},53159:e=>{e.exports={body:"StockReminderDrawerGrid_body__vQj3D"}},53201:e=>{e.exports={container:"ComparisonTable_container__xYkLG",header:"ComparisonTable_header__24JDX",tableContainer:"ComparisonTable_tableContainer__yJJSL",table:"ComparisonTable_table__C5RE3",button:"ComparisonTable_button__yjRk_"}},54449:e=>{e.exports={container:"EmptyState_container__a0auA",title:"EmptyState_title__SVvBV",description:"EmptyState_description__si8yK"}},54584:e=>{e.exports={actionButton:"StockReminderButton_actionButton__Mjiio",outOfStockButtonIcon:"StockReminderButton_outOfStockButtonIcon__Zr_3Y"}},57453:e=>{e.exports={formFields:"QuestionForm_formFields__WAiUd",field:"QuestionForm_field__9dNtq",box:"QuestionForm_box__5av3V",submit:"QuestionForm_submit__3V_Un",bottomText:"QuestionForm_bottomText__GYKNA",alert:"QuestionForm_alert___kHuf",successScreen:"QuestionForm_successScreen__nADg3",successTitle:"QuestionForm_successTitle__4uylP",returnLink:"QuestionForm_returnLink__7_e7d",loadingScreen:"QuestionForm_loadingScreen__Twg_3"}},57818:e=>{e.exports={row:"ComparisonTableRow_row__kuZXG"}},57943:e=>{e.exports={form:"StockReminderForm_form__W0fSL",formText:"StockReminderForm_formText__TLqak",emailLabel:"StockReminderForm_emailLabel__q5uUK",successDialog:"StockReminderForm_successDialog___171Z",termButton:"StockReminderForm_termButton__i7VJj",formButton:"StockReminderForm_formButton__AJt4h"}},59626:e=>{e.exports={container:"RegularABD_container__9u1Ne",checkIcon:"RegularABD_checkIcon__DqyM4"}},59900:e=>{e.exports={container:"AdditionalCosts_container__uic3I"}},60193:e=>{e.exports={container:"BundleTotalPrice_container__IR1bu",label:"BundleTotalPrice_label__hnKzl",price:"BundleTotalPrice_price__OJ6iN"}},61843:e=>
1{e.exports={obfPrice:"OBFPriceAdvantage_obfPrice__vs7kK",content:"OBFPriceAdvantage_content__wnKsH",title:"OBFPriceAdvantage_title__9U4vs",subtitle:"OBFPriceAdvantage_subtitle__sMkhX",logo:"OBFPriceAdvantage_logo__MMIKK"}},62286:e=>{e.exports={shippingText:"ProgressBar_shippingText__GTmZW",progressBar:"ProgressBar_progressBar__6Lc19",progress:"ProgressBar_progress__GQoBa",thirdPartyInfo:"ProgressBar_thirdPartyInfo__CBywV"}},62364:e=>{e.exports={articleSelectionBox:"ArticleSelectionBox_articleSelectionBox__kzsUs",titleArea:"ArticleSelectionBox_titleArea__Q_8bC",title:"ArticleSelectionBox_title__Six69",dropdownHeader:"ArticleSelectionBox_dropdownHeader__XKekU",dropdown:"ArticleSelectionBox_dropdown__aC3q2",singleArticle:"ArticleSelectionBox_singleArticle__VdAXB",crossIcon:"ArticleSelectionBox_crossIcon__vCSU2",dropdownBody:"ArticleSelectionBox_dropdownBody__19Vug",dropdownMobileStickyPadding:"ArticleSelectionBox_dropdownMobileStickyPadding__JB_tO",desktopTrigger:"ArticleSelectionBox_desktopTrigger__U1g4o",mobileTrigger:"ArticleSelectionBox_mobileTrigger__JGVzL",mobileVariantSelectionEnabledDropdownMenu:"ArticleSelectionBox_mobileVariantSelectionEnabledDropdownMenu__IzZGJ"}},62856:e=>{e.exports={productDescription:"PDPTabs_productDescription__YYJ2f"}},63156:e=>{e.exports={container:"SupplementArticle_container__y7BIS",productCard:"SupplementArticle_productCard__Jan3I",product:"SupplementArticle_product__8nKmK",productInfo:"SupplementArticle_productInfo__Saw11",details:"SupplementArticle_details__3kmdb",description:"SupplementArticle_description__mlCgB",cartButton:"SupplementArticle_cartButton__9jr_f"}},63709:e=>{e.exports={container:"BundleItem_container__74H2r",bundleItem:"BundleItem_bundleItem___8mem",checkbox:"BundleItem_checkbox__dWD8a",screenReaderLabel:"BundleItem_screenReaderLabel__OIuAa",header:"BundleItem_header__xY_C_",productPicture:"BundleItem_productPicture__tKxQE",disclaimer:"BundleItem_disclaimer__5xW5j",productName:"BundleItem_productName__l1gaZ",articleName:"BundleItem_articleName__xTkxm",bundleItemABD:"BundleItem_bundleItemABD__KnhXu",abdBadgeContainer:"BundleItem_abdBadgeContainer__bA7MU",discountAppliedText:"BundleItem_discountAppliedText__yoYIR"}},64225:e=>{e.exports={imageSwiper:"ImageSwiper_imageSwiper__klt9z",imageSwiperProductBadge:"ImageSwiper_imageSwiperProductBadge__L4pvB",imageSwiperNumericIndicator:"ImageSwiper_imageSwiperNumericIndicator__G57J6",imageSwiperThumbnailsContainer:"ImageSwiper_imageSwiperThumbnailsContainer__nRp6e",imageSwiperPrincipalContainer:"ImageSwiper_imageSwiperPrincipalContainer__1R5ig",imageSwiperPrincipal:"ImageSwiper_imageSwiperPrincipal__28dsA",imageSwiperThumbnails:"ImageSwiper_imageSwiperThumbnails__8QLEJ",imageSwiperContrastedArrowCircle:"ImageSwiper_imageSwiperContrastedArrowCircle__h2__i",imageSwiperPreviousThumbnailsButton:"ImageSwiper_imageSwiperPreviousThumbnailsButton__YmpgL",imageSwiperNextThumbnailsButton:"ImageSwiper_imageSwiperNextThumbnailsButton__dIpa_",imageSwiperPrevNextPrincipalButton:"ImageSwiper_imageSwiperPrevNextPrincipalButton__Wxox8","swiper-button-prev":"ImageSwiper_swiper-button-prev__ZsXRI","swiper-button-next":"ImageSwiper_swiper-button-next__zarMP",imageSwiperZoomButton:"ImageSwiper_imageSwiperZoomButton__kau2I"}},66571:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/pdp",function(){return a(68203)}])},66994:e=>{e.exports={price:"ComparisonTablePriceRow_price__n7ouZ"}},67009:e=>{e.exports={bundlePictures:"ProductPicture_bundlePictures__2ZVKB",anchor:"ProductPicture_anchor__k0RoL"}},68203:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>sp,default:()=>su});var i,l,r,n,s,o,c,d,u,p,m,h,v,_,g,b,f,x,C,P,y,w,j,T,S,I=a(80263),B=a(95334),A=a(31789),N=a(19981);let k={UU:"@shop/pdp"};var D=a(69036),L=a(82564),z=a(21904),R=a(74636),U=a(53239),F=a(11621),E=a(80846),V=a(26944),O=a(11230),M=a.n(O),Q=a(44310),J=a(91650),W=a(60523),G=a(2158),H=a.n(G);let X=e=>{let{label:t,validUntil:a,isApplied:i,onToggle:l}=e,{t:r}=(0,Q.Bd)(),{Icon:n,cssClassModifier:s,text:o}=i?{Icon:J.K9J,cssClassModifier:H().pABDActive,text:r("mzp.reorder.article.personalized.discount.active",{discount:t})}:{Icon:J.Hxo,cssClassModifier:H().pABDInactive,text:r("mzp.reorder.article.personalized.discount.inactive")};return(0,I.jsxs)("div",{className:M()("".concat(H().pABD," ").concat(s)),"data-zta":"PABD",onClick:l,children:[(0,I.jsx)("span",{className:H().iconWrapper,children:(0,I.jsx)(n,{className:H().icon})}),(0,I.jsx)("span",{className:H().text,children:o}),(0,I.jsx)(W.m,{position:"bottom-middle",tipText:r("mzp.reorder.article.personalized.discount.expire.date",{date:a}),"data-zta":"pabd-tooltip",children:(0,I.jsx)(J.d0w,{size:16,className:H().info})})]})};var Z=a(90934),K=a(21093),q=a(59626),Y=a.n(q);let $=e=>{let{label:t,isApplied:a,onToggle:i,inactiveText:l}=e,{t:r}=(0,Q.Bd)(),{componentDataZTA:n}=(0,K.Ou)("RegularABD");return(0,I.jsxs)("div",{"data-zta":n,className:Y().container,children:[(0,I.jsx)(Z.S,{"data-zta":"RegularABD__checkbox",checked:a,onChange:()=>{i()},children:a?r("shop.product.article.discount.active",{0:t}):l||r("shop.product.article.discount.inactive",{0:t})}),(0,I.jsx)(J.Jlk,{className:Y().checkIcon,width:"16px",height:"16px"})]})};var ee=a(66052);let et={control:"deal",variantA:"cyberweek",variantB:"none"},ea=e=>{let{endDateLabel:t}=e,a=(0,E.A2)(E.y8),{t:i}=(0,Q.Bd)();if(!Object.values(et).includes(a)||a===et.variantB)return null;let l=i(function(e,t){return e===et.variantA?"catalog.limitedTimeDeal.cyberweek":(null==t?void 0:t.trim())?"catalog.limitedTimeDeal.badgeWithDate":"catalog.limitedTimeDeal.badge"}(a,t),{date:t});return(0,I.jsx)(ee.L,{variant:"brand-promotion",label:l,"data-zta":"limited-time-deal-badge"})},ei={googleShopping:{isVoucherAppliedByDefault:!0,isCurrentPriceShown:!0,isStrikedOutPriceShown:!0,isDiscountedPriceShown:!0},regular:{isVoucherAppliedByDefault:!1,isCurrentPriceShown:!0,isStrikedOutPriceShown:!0,isDiscountedPriceShown:!0}},el=e=>e?ei.googleShopping:ei.regular,er=e=>"P_ABD"===e.type||"ABD"===e.type,en=e=>"AUTOSHIPMENT"===e.type,es=e=>e?e.filter(e=>!er(e)):[],eo=e=>["ABD","PABD"].some(t=>null==e?void 0:e.includes(t)),ec=e=>["AUS"].some(t=>null==e?void 0:e.includes(t)),ed=(0,U.createContext)({}),eu=()=>
1(0,U.useContext)(ed),ep=e=>{let{children:t,activeVariant:a,isGoogleShoppingCustomerWithCurrentVariant:i}=e,l=(e=>{var t;let{activeVariant:a,isGoogleShoppingCustomerWithCurrentVariant:i}=e,l=[];if(!a)return l;let r=null==(t=a.offers[0].price.discounts)?void 0:t.find(er);return r&&el(!!i).isVoucherAppliedByDefault&&r.offerId&&l.push(r.offerId),l})({activeVariant:a,isGoogleShoppingCustomerWithCurrentVariant:i}),[r,n]=(0,U.useState)(l),s=e=>{e&&(r.includes(e)||n(t=>[...t,e]))},o=e=>{e&&n(t=>t.filter(t=>t!==e))},c=e=>!!e&&r.includes(e);return(0,I.jsx)(ed.Provider,{value:{appliedDiscounts:r,isDiscountApplied:c,applyDiscount:s,removeDiscount:o,toggleDiscount:e=>{c(e)?o(e):s(e)},removeOtherDiscounts:e=>{n(t=>t.filter(t=>e.includes(t)))}},children:t})};var em=a(50492);let eh=(0,U.createContext)({}),ev=()=>(0,U.useContext)(eh),e_=eh.Provider,eg=e=>{let{width:t=16,height:a=16,...i}=e;return(0,I.jsxs)("svg",{width:t,height:a,viewBox:"0 0 24 24",fill:"var(--pp-color-surface-action-primary-default)",fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...i,children:[(0,I.jsx)("path",{d:"M12,2 L14.15,3.98 L17,3.34 L17.87,6.13 L20.66,7 L20.02,9.85 L22,12 L20.02,14.15 L20.66,17 L17.87,17.87 L17,20.66 L14.15,20.02 L12,22 L9.85,20.02 L7,20.66 L6.13,17.87 L3.34,17 L3.98,14.15 L2,12 L3.98,9.85 L3.34,7 L6.13,6.13 L7,3.34 L9.85,3.98 Z M12,4.2 L13.68,5.74 L15.9,5.24 L16.58,7.42 L18.76,8.1 L18.26,10.32 L19.8,12 L18.26,13.68 L18.76,15.9 L16.58,16.58 L15.9,18.76 L13.68,18.26 L12,19.8 L10.32,18.26 L8.1,18.76 L7.42,16.58 L5.24,15.9 L5.74,13.68 L4.2,12 L5.74,10.32 L5.24,8.1 L7.42,7.42 L8.1,5.24 L10.32,5.74 Z"}),(0,I.jsx)("path",{fill:"none",stroke:"var(--pp-color-surface-action-primary-default)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",d:"M8.6,12.43 L10.9,14.72 L15.83,9.45"})]})};var eb=a(77344),ef=a(72859),ex=a(21917),eC=a(45275),eP=a(94668);let ey=e=>{let{isBitiba:t=!1}=e;return(0,I.jsx)("svg",{width:"81",height:"80",viewBox:"0 0 81 80",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:(0,I.jsxs)("g",{id:"Autoshipment Graphic",children:[(0,I.jsx)("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M29.4336 33.5512C29.8904 33.1632 30.1128 32.6952 30.1112 32.1232C30.1072 29.896 26.7272 27.0176 26.6928 26.9888L26.4904 26.8176L26.6848 26.6368C37.7056 16.416 43.9072 21.4056 45.9456 23.0448C46.2032 23.252 46.4952 23.4864 46.5856 23.5064C46.7752 23.5344 47.7288 23.0816 49.5256 21.6648C51.812 19.8616 53.5448 18.068 53.5656 17.6696C53.6112 16.8152 51.4976 12.2368 40.3448 11.1024C29.3488 9.98959 20.1728 19.9768 20.0808 20.0776L19.9048 20.272L19.7312 20.0752C18.7824 19.0008 16.248 16.5656 14.58 16.5208C14.3392 16.5144 14.116 16.5576 13.9184 16.6624C13.8696 16.688 13.4448 16.9736 13.0352 19.4448C12.2824 23.9912 12.2464 31.8616 13.7392 33.4192C15.3104 35.0576 28.5224 34.3256 29.4336 33.5504V33.5512Z",fill:t?"#b1b8df":"var(--pp-color-special-autoshipmentLight)"}),(0,I.jsx)("path",{id:"Vector_2",fillRule:"evenodd",clipRule:"evenodd",d:"M64.6752 50.6384C63.104 49 49.892 49.732 48.9808 50.5072C48.524 50.8952 48.3016 51.3632 48.3032 51.9352C48.3072 54.1624 51.6872 57.0408 51.7216 57.0696L51.924 57.2408L51.7296 57.4216C40.7088 67.6424 34.5072 62.6528 32.4688 61.0136L32.4608 61.0072C32.052 60.6776 31.484 60.6288 31.0288 60.8912C30.5392 61.1736 29.8296 61.6512 28.8888 62.3936C26.6024 64.1968 24.8696 65.9904 24.8488 66.3888C24.8032 67.2432 26.9168 71.8216 38.0696 72.956C49.0656 74.0688 58.2416 64.0816 58.3336 63.9808L58.5096 63.7864L58.6832 63.9832C59.632 65.0576 62.1664 67.4928 63.8344 67.5376C64.0752 67.544 64.2984 67.5008 64.496 67.396C64.5448 67.3704 64.9696 67.0848 65.3792 64.6136C66.132 60.0672 66.168 52.1968 64.6752 50.6392V50.6384Z",fill:t?"#b1b8df":"var(--pp-color-special-autoshipmentLight)"}),(0,I.jsx)("g",{id:"Icon",children:(0,I.jsx)("path",{id:"Vector_3",fillRule:"evenodd",clipRule:"evenodd",d:"M76.2288 39.988L72.3936 31.5H72.3872C72.3872 31.4872 72.3808 31.4744 72.3744 31.468C71.6528 29.0184 65.596 27.892 59.9376 27.892C54.2792 27.892 48.2224 29.012 47.5008 31.468C47.4944 31.4808 47.4944 31.4936 47.488 31.5H47.4816L43.6464 39.988H43.6592C43.5392 40.2224 43.4816 40.4624 43.4816 40.716C43.4816 42.096 45.2856 43.2352 48.8488 44.1208C51.9632 44.8928 55.9 45.3168 59.9376 45.3168C63.9752 45.3168 67.9192 44.8928 71.0264 44.1208C74.5832 43.2408 76.3936 42.0952 76.3936 40.716C76.3936 40.4632 76.3304 40.2224 76.216 39.988H76.2288ZM67.292 33.1208C65.3296 33.6336 62.716 33.9184 59.9376 33.9184C57.1592 33.9184 54.5448 33.6336 52.5832 33.1208C50.596 32.6016 50.1088 32.064 50.096 31.956C50.1024 31.8992 50.2544 31.7032 50.7288 31.456C
151.1088 31.2536 51.6968 31.0192 52.5832 30.7912C54.5456 30.2784 57.1592 29.9936 59.9376 29.9936C62.716 29.9936 65.3304 30.2784 67.292 30.7912C68.1784 31.0256 68.7664 31.2592 69.1464 31.456C69.6144 31.7032 69.7728 31.8928 69.7792 31.9496C69.76 32.0696 69.2792 32.608 67.292 33.1208Z",fill:"var(--pp-color-surface-action-primary-default)"})}),(0,I.jsxs)("g",{id:"Group",children:[(0,I.jsx)("path",{id:"Vector_4",d:"M60.5952 21.7025C60.4936 22.4873 59.924 25.1073 60.4432 25.7785C60.924 26.3985 61.8168 26.5065 62.4368 26.0257C62.8232 25.7281 63.0128 25.2665 62.9808 24.8169C63.4176 24.9625 63.9048 24.8929 64.2912 24.5889C64.9112 24.1081 65.0192 23.2153 64.5384 22.5953C64.0384 21.9497 61.3608 21.7977 60.5952 21.7025Z",fill:"var(--pp-color-surface-action-primary-default)"}),(0,I.jsx)("path",{id:"Vector_5",d:"M54.376 25.4352C54.8064 25.8024 54.8632 26.796 55.4584 26.7456C56.0536 26.6952 55.9328 25.7072 56.3 25.2712C56.6672 24.8344 57.6544 24.7208 57.6104 24.1824C57.56 23.6448 56.5664 23.708 56.1296 23.3408C55.6928 22.9736 55.636 21.98 55.0408 22.0304C54.4392 22.0872 54.56 23.0744 54.2056 23.5048C53.8384 23.9416 52.8512 24.0552 52.8952 24.5936C52.9456 25.1312 53.9392 25.068 54.376 25.4352Z",fill:"var(--pp-color-surface-action-primary-default)"}),(0,I.jsx)("path",{id:"Vector_6",d:"M64.4376 12.4593C63.7416 11.9785 62.9696 13.1681 62.1784 13.3073C61.3872 13.4529 60.204 12.6809 59.7672 13.3073C59.3304 13.9337 60.4696 14.7761 60.6152 15.5665C60.7544 16.3577 59.9064 17.4905 60.6088 17.9777C61.3048 18.4649 62.0776 17.2753 62.868 17.1297C63.6592 16.9841 64.8424 17.7561 65.2792 17.1297C65.716 16.5033 64.5768 15.6609 64.4312 14.8705C64.292 14.0793 65.14 12.9465 64.4376 12.4593Z",fill:"var(--pp-color-surface-action-primary-default)"}),(0,I.jsx)("path",{id:"Vector_7",d:"M67.6016 22.7465C68.3531 22.7465 68.9624 22.1373 68.9624 21.3857C68.9624 20.6342 68.3531 20.0249 67.6016 20.0249C66.85 20.0249 66.2408 20.6342 66.2408 21.3857C66.2408 22.1373 66.85 22.7465 67.6016 22.7465Z",fill:"var(--pp-color-surface-action-primary-default)"}),(0,I.jsx)("path",{id:"Vector_8",d:"M58.0592 21.4777C58.8107 21.4777 59.42 20.8685 59.42 20.1169C59.42 19.3654 58.8107 18.7561 58.0592 18.7561C57.3076 18.7561 56.6984 19.3654 56.6984 20.1169C56.6984 20.8685 57.3076 21.4777 58.0592 21.4777Z",fill:"var(--pp-color-surface-action-primary-default)"}),(0,I.jsx)("path",{id:"Vector_9",d:"M62.5256 28.7465C61.3296 28.7465 60.3608 29.7089 60.3672 30.9049C60.3672 32.0945 61.3296 33.0633 62.5256 33.0633C63.7216 33.0633 64.684 32.1009 64.684 30.9049C64.684 29.7089 63.7216 28.7465 62.5256 28.7465Z",fill:"var(--pp-color-surface-action-primary-default)"})]}),(0,I.jsx)("g",{id:"Icon_2",children:(0,I.jsxs)("g",{id:"Group_2",children:[(0,I.jsx)("path",{id:"Vector_10",fillRule:"evenodd",clipRule:"evenodd",d:"M29.4336 53.2472C27.8584 53.2472 26.576 54.524 26.576 56.1048C26.576 57.6856 27.8528 58.9624 29.4336 58.9624C31.0144 58.9624 32.2912 57.6856 32.2912 56.1048C32.2912 54.5232 31.0144 53.2472 29.4336 53.2472Z",fill:"var(--pp-color-surface-action-primary-default)"}),(0,I.jsx)("path",{id:"Vector_11",fillRule:"evenodd",clipRule:"evenodd",d:"M13.892 53.2472C12.3168 53.2472 11.0344 54.524 11.0344 56.1048C11.0344 57.6856 12.3112 58.9624 13.892 58.9624C15.4728 58.9624 16.7496 57.6856 16.7496 56.1048C16.7496 54.524 15.4728 53.2472 13.892 53.2472Z",fill:"var(--pp-color-surface-action-primary-default)"}),(0,I.jsx)("path",{id:"Vector_12",fillRule:"evenodd",clipRule:"evenodd",d:"M36.3136 47.8304L32.5592 42.756C32.2352 42.3264 31.7184 42.0648 31.1648 42.0648H25.0688V39.3504C25.0688 38.7336 24.552 38.236 23.9168 38.236H7.90878C7.27358 38.236 6.75677 38.7344 6.75677 39.3504V54.96C6.75677 55.5768 7.27358 56.0744 7.90878 56.0744H9.30958C9.32238 53.5592 11.3704 51.5168 13.892 51.5168C16.4136 51.5168 18.4624 53.5592 18.4744 56.0744H24.8504C24.8632 53.5592 26.9112 51.5168 29.4328 51.5168C31.9544 51.5168 34.0032 53.5592 34.0152 56.0744H35.4912C36.1264 56.0744 36.6432 55.576 36.6432 54.96V48.8144C36.6432 48.4592 36.5248 48.1168 36.3128 47.8304H36.3136ZM26.98 48.6768V43.8136H30.5976C30.784 43.8136 30.9528 43.9696 31.0648 44.1184L34.5208 48.6824L26.9808 48.676L26.98 48.6768Z",fill:"var(--pp-color-surface-action-primary-default)"})]})})]})})};var ew=a(10180),ej=a.n(ew);let eT=e=>{let{isOpen:t,onClose:a,firstOrderDiscountPercentage:i,futureOrdersDiscountPercentage:l,landingPageUrl:r,activeVariant:n}=e,{t:s}=(0,Q.Bd)(),{domain:o}=(0,eP.Us)(),c=(0,U.useId)(),{componentDataZTA:d}=(0,K.Ou)("AutoshipmentBestPriceGuaranteeModal");return(0,I.jsxs)(ef.FQ,{"data-zta":d,closeBtnAriaLabel:s("autoshipment.best.price.guarantee.modal.close.aria.label"),isOpen:t,heading:s("autoshipment.best.price.guarantee.modal.title"),className:ej().container,portalId:c,onClose:a,children:[(0,I.jsxs)(ef.cw,{className:ej().body,children:[(0,I.jsx)("div",{className:ej().logo,children:(0,I.jsx)(ey,{isBitiba:(0,eb.C1)(o)})}),(0,I.jsx)("span",{className:ej().description,children:s("autoshipment.best.price.guarantee.modal.description",{firstOrderDiscountPercentage:i,futureOrdersDiscountPercentage:l})}),(0,I.jsxs)("ul",{className:ej().itemList,children:[(0,I.jsxs)("li",{className:ej().item,children:[(0,I.jsx)(ex.s,{className:ej().itemIcon,children:(0,I.jsx)(J.O1Q,{size:24,legacyBoundingBox:!0,"aria-hidden":!0})}),(0,I.jsx)("span",{children:s("autoshipment.best.price.guarantee.modal.item.frequency")})]}),(0,I.jsxs)("li",{className:ej().item,children:[(0,I.jsx)(ex.s,{className:ej().itemIcon,children:(0,I.jsx)(J.uld,{size:24,legacyBoundingBox:!0,"aria-hidden":!0})}),(0,I.jsx)("span",{children:s("autoshipment.best.price.guarantee.modal.item.savings",{futureOrdersDiscountPercentage:l})})]}),(0,I.jsxs)("li",{className:ej().item,children:[(0,I.jsx)(ex.s,{className:ej().itemIcon,children:(0,I.jsx)(eg,{width:24,height:24})}),(0,I.jsxs)("span",{className:ej().discountItemText,children:[(0,I.jsx)(ee.L,{className:ej().discountBadge,variant:"brand-light",size:"small",label:s("autoshipment.best.price.guarantee.modal.item.discount.badge")}),s("autoshipment.best.price.guarantee.modal.item.discount.text")]})]}),(0,I.jsxs)("li",{className:ej().item,children:[(0,I.jsx)(ex.s,{className:ej().itemIcon,children:(0,I.jsx)(J.gHP,{size:24,legacyBoundingBox:!0,"aria-hidden":!0})}),(0,I.jsx)("span",{children:s("autoshipment.best.price.guarantee.modal.item.flexibility")})]})]}),(0,I.jsx)("span",{className:ej().terms,children:s("autoshipment.best.price.guarantee.modal.minimum.order.value")})]}),(0,I.jsxs)(ef.jl,{className:ej().footer,children:[(0,I.jsx)(eC.e,{className:"z-modal__button",href:"".concat(r,"?activeVariant=").concat(n),target:"_blank",variant:"secondary",children:s("autoshipment.best.price.guarantee.modal.learn.more.button")}),(0,I.jsx)(ef._8,{onClick:a,children:s("autoshipment.best.price.guarantee.modal.close.button")})]})]})};var eS=a(36084),eI=a.n(eS);let eB=e=>{var t;let{firstOrderDiscountPercentage:a,futureOrdersDiscountPercentage:i,activeVariant:l}=e,{t:r}=(0,Q.Bd)(),{autoshipmentComponent:n}=ev(),[s,o]=(0,U.useState)(!1),{componentDataZTA:c,getElementDataZTA:d}=(0,K.Ou)("AutoshipmentAdvantages");if(void 0===a||void 0===i)return null;let u=[{key:"autoshipment.best.price.guarantee.advantage.savings",params:{firstOrderDiscountPercentage:a,futureOrdersDiscountPercentage:i}},{key:"autoshipment.best.price.guarantee.advantage.frequency"},{key:"autoshipment.best.price.guarantee.advantage.flexibility"}];return(0,I.jsxs)("div",{className:eI().container,"data-zta":c,children:[(0,I.jsx)(eT,{isOpen:s,firstOrderDiscountPercentage:a,futureOrdersDiscountPercentage:i,landingPageUrl:null!=(t=null==n?void 0:n.landingPageTargetLink)?t:"",onClose:()=>o(!1),activeVariant:l}),(0,I.jsx)("ul",{className:eI().itemList,children:u.map(e=>{let{key:t,params:a}=e;return(0,I.jsxs)("li",{className:eI().item,children:[(0,I.jsx)(J.rAV,{size:12,legacyBoundingBox:!0,"aria-hidden":!0}),r(t,a)]},t)})}),(0,I.jsxs)("div",{className:eI().callout,children:[(0,I.jsxs)("span",{className:eI().calloutHeader,children:[(0,I.jsx)(eg,{width:16,height:16}),(0,I.jsx)("span",{className:eI().calloutTitle,children:r("autoshipment.best.price.guarantee.callout.title")})]}),(0,I.jsx)("span",{className:eI().calloutDescription,children:r("autoshipment.best.price.guarantee.callout.description")})]}),(0,I.jsx)(em.M,{"data-zta":d("LearnMoreLink"),className:eI().learnMoreLink,onClick:e=>{e.preventDefault(),o(!0)},href:"#",children:r("autoshipment.best.price.guarantee.learn.more")})]})};var eA=a(15928),eN=a(33872),ek=a.n(eN);let eD=e=>{let{onClose:t,activeVariant:a}=e,{autoshipmentComponent:i}=ev(),{domain:l}=(0,eP.Us)(),r=(0,U.useId)();if(void 0===i)return null;let{autoShipmentPopUpItems:n,closeButtonText:s,landingPageButtonText:o,landingPageTargetLink:c,popUpDescription:d,termsAndConditions:u,title:p}=i;return(0,I.jsxs)(ef.FQ,{"data-zta":"autoshipment-modal",closeBtnAriaLabel:"Close",isOpen:!0,heading:p,className:ek().container,portalId:r,onClose:t,children:[(0,I.jsxs)(ef.cw,{className:ek().body,"data-zta":"autoshipmentModal",children:[(0,I.jsx)(ey,{isBitiba:(0,eb.C1)(l)}),(0,I.jsxs)("div",{className:ek().content,children:[(0,I.jsx)("span",{className:ek().description,children:d}),(0,I.jsx)("ul",{className:ek().itemList,children:n.map((e,t)=>(0,I.jsxs)("li",{className:ek().item,children:[(0,I.jsx)(ex.s,{className:ek().itemIcon,children:(0,I.jsx)(A.aF,{contentfulIconName:e.icon})}),(0,I.jsx)("span",{children:e.text})]},"".concat(e.icon,"-").concat(t)))}),(0,I.jsx)("span",{className:ek().terms,children:u})]})]}),(0,I.jsxs)(ef.jl,{className:ek().footer,children:[(0,I.jsx)(eC.e,{href:"".concat(c,"?activeVariant=").concat(a),target:"_blank",variant:"secondary",children:o}),(0,I.jsx)(eA.j,{onClick:t,children:s})]})]})};var eL=a(89044),ez=a.n(eL);let eR=e=>{let{className:t,activeVariant:a}=e,[i,l]=(0,U.useState)(!1),{autoshipmentComponent:r}=ev(),{domain:n}=(0,eP.Us)();if(void 0===r)return null;let{title:s,ctaMessage:o,autoShipmentItems:c}=r,d=()=>{l(!i)};return(0,I.jsxs)(I.Fragment,{children:[i&&(0,I.jsx)(eD,{activeVariant:a,onClose:d}),(0,I.jsxs)("div",{className:M()(t,ez().container),"data-zta":"autoshipmentCTA",children:[(0,I.jsxs)("div",{className:ez().header,children:[(0,I.jsx)("span",{className:ez().title,children:s}),(0,I.jsx)(em.M,{"data-zta":"autoshipmentCTALearnMoreLink",className:ez().learnMoreLink,onClick:d,href:"#",children:o})]}),(0,I.jsxs)("div",{className:ez().body,children:[(0,I.jsx)("div",{className:ez().logo,children:(0,I.jsx)(ey,{isBitiba:(0,eb.C1)(n)})}),(0,I.jsx)("ul",{className:ez().itemList,children:c.map((e,t)=>(0,I.jsxs)("li",{className:ez().item,children:[(0,I.jsx)(J.Jlk,{size:16,legacyBoundingBox:!0,"aria-hidden":!0}),e]},"".concat(e,"--").concat(t)))})]})]})]})};var eU=a(56782),eF=a(29173),eE=a(88480),eV=a.n(eE);let eO=()=>{let{locale:e,realm:t,domain:a}=(0,eP.Us)(),{t:i}=(0,Q.Bd)();return(0,I.jsxs)("div",{className:eV().container,"data-zta":"autoshipment-info",children:[!(0,eb.C1)(a)&&(0,I.jsx)("img",{src:eF.Rt.REACT_APP_AUTOSHIPMENT_ICON,alt:i("autoshipment.icon.alt"),width:40,height:40}),(0,I.jsx)(eU.t,{locale:e,verticalAlign:"middle",realm:t})]})};var eM=a(99144),eQ=a.n(eM);let eJ=e=>{let{firstOrderDiscountPercentage:t,futureOrdersDiscountPercentage:a}=e,{t:i}=(0,Q.Bd)();if(void 0===t||void 0===a)return null;let{componentDataZTA:l}=(0,K.Ou)("FirstOrderDiscount");return(0,I.jsxs)("div",{className:eQ().container,"data-zta":l,children:[(0,I.jsx)(J.uld,{})," ",i("autoshipment.first.order.discount",{firstOrderDiscountPercentage:t,futureOrdersDiscountPercentage:a})]})},eW=e=>{var t;return null==(t=e.offers[0].price.discounts)?void 0:t.some(en)};var eG=a(95677),eH=a(71665),eX=a(94),eZ=a(89491),eK=a(67776),eq=a(23865),eY=a(20354);let e$=(e,t)=>{var a,i;let l=null==(a=t.articles)?void 0:a.find(t=>
1t.id===e);if(!l)return null;let r=null==(i=l.price)?void 0:i.value;return{id:e,quantity:l.quantity,title:l.name,subtitle:l.variantName,currency:t.currency,price:r,image:l.pictureUrl||"",productId:Number(l.psId)}},e0=e=>{switch(e){case"1P":default:return"FIRST_PARTY";case"3P":return"THIRD_PARTY"}},e1=(e,t)=>e&&t&&e.find(e=>e.type===t)||null,e2=(0,U.createContext)({}),e4=()=>(0,U.useContext)(e2),e3=e=>{let{children:t,value:a}=e,[i,l]=(0,U.useState)(!1),[r,n]=(0,U.useState)(!1),[s,o]=(0,U.useState)([]),[c,d]=(0,U.useState)({}),[u,p]=(0,U.useState)(null),{refreshCart:m}=(0,F.B_)(),h=e=>{let{id:t,cart:a,error:i}=e||{};if(i&&("string"==typeof i?p(i):i.message&&p(i.message)),t&&a){let e=e$(t,a.cart);e&&(o(t=>[...t,e]),d(a=>({...a,[t]:e.quantity||1})))}},v=async()=>{var e;let t=await m(),a=null==t||null==(e=t.articles)?void 0:e.find(e=>"LoyaltyManagement"===e.type);if(null==a?void 0:a.id){let e=e$(a.id,t);e&&(o(t=>[...t,e]),d(t=>({...t,[e.id]:e.quantity||1})))}};return(0,I.jsx)(e2.Provider,{value:{isCartDrawerOpen:i,toggleCartDrawer:e=>{let t=(null==e?void 0:e.isOpen)||!i;t||(o([]),d({}),n(!1)),h(e),l(t),n((null==e?void 0:e.shouldTriggerRecommendations)||!1)},products:s,addProductToCartDrawer:h,addLoyaltyProductToCartDrawer:v,quantities:c,error:u,shouldTriggerRecommendations:r,breadcrumbs:a.breadcrumbs,trackingPageCode:a.trackingPageCode},children:t})},e6=()=>{let{siteId:e,domain:t,locale:a}=(0,eP.Us)(),{trackingPageCode:i}=e4(),l=(0,B.Kg)(),{cart:r}=(0,F.B_)(),n=null==r?void 0:r.currency,s=window.location.href;return{trackClick:r=>{(0,V.sx)({event:V.F3.CLICK,page:i,detail:{locale:a,domain:t,siteId:e,currencyCode:n,pageLocation:s,customer:{id:l?"".concat(l):void 0},target:r}})},trackImpression:r=>{(0,V.sx)({event:V.F3.IMPRESSION,page:i,detail:{locale:a,domain:t,siteId:e,currencyCode:n,pageLocation:s,customer:{id:l?"".concat(l):void 0},target:r}})},trackAddToCart:(r,o)=>{var c,d,u,p,m;let h=[],v=(null==o||null==(c=o.price)?void 0:c.value)||0,_=!!(null==(d=r.lineItemDiscounts)?void 0:d.articleBasedDiscount),g=null==(p=r.lineItemDiscounts)||null==(u=p.articleBasedDiscount)?void 0:u.value,b=!!ec(r.offerId);_&&h.push({type:"ABD",available:!0,applied:_,value:v,percentageValue:g}),b&&h.push({type:"SUBSCRIPTION",available:!0,applied:b,value:v,percentageValue:null==(m=o.discount)?void 0:m.value}),(0,V.sx)({event:V.F3.ADD_TO_CART,page:i,detail:{domain:t,siteId:e,locale:a,currencyCode:n||"",pageLocation:s,platform:"WEB",customer:{id:l?"".concat(l):void 0},origin:"MINI_CART_DRAWER",article:{sku:r.shopId||"",title:"".concat(r.name," - ").concat(r.variantName),brand:[],category:r.category?[r.category]:[],type:(e=>{switch(e){case"Free":return"FREE";case"SavingsPlan":return"SAVINGS_PLAN";case"LoyaltyManagement":return"LOYALTY_CLUB";default:return"ARTICLE"}})(r.type),unitPrice:Number(v.toFixed(2)),quantity:1,totalPrice:Number((+v).toFixed(2)),bestPriceArticle:r.bestPriceArticle||!1,autoshipmentApplied:b,seller:{type:e0(r.sellerType)},discounts:h}}})}}},e5=async e=>{let{changeArticleQuantity:t,articleId:a,quantity:i,activeOffer:l}=e;return await t({articleId:a,quantity:i,offerIds:[l.id]})};var e7=a(30788),e9=a(47768),e8=a(29700),te=a.n(e8);let tt=()=>{var e;let{t}=(0,Q.Bd)(),{locale:a}=(0,eP.Us)(),{cart:i}=(0,F.B_)(),{error:l,toggleCartDrawer:r}=e4(),{trackClick:n}=e6(),s=(null==i?void 0:i.articles)||[],o=null==i?void 0:i.currency,c=1===s.length?"shop.cart-drawer.total.product.number":"shop.cart-drawer.total.products.number";return(0,I.jsxs)("div",{className:te().footer,children:[o&&!l&&(0,I.jsxs)("div",{className:te().total,"data-zta":"cartDrawerTotal",children:[(0,I.jsxs)("span",{className:te().totalLabel,children:[(0,I.jsx)(e7.H3,{children:t("shop.cart-drawer.total")}),(0,I.jsxs)(eK.P1,{children:["(",t(c,{0:null==s?void 0:s.length}),")"]})]}),(0,I.jsx)("span",{children:(0,I.jsx)(eq.N,{className:te().price,size:"large",price:(0,eb.$g)(null==(e=i.summary)?void 0:e.grandTotal,a,o)})})]}),(0,I.jsx)(eC.e,{className:te().button,"aria-label":t("shop.cart-drawer.go-to-cart"),href:"/checkout/cart",variant:"cart",onClick:()=>{n({name:"mini_cart_drawer",id:"go_to_cart_button"})},children:t("shop.cart-drawer.go-to-cart")}),(0,I.jsx)(e9.t,{className:te().button,"aria-label":t("shop.cart-drawer.continue-shopping"),onClick:()=>
1{r(),n({name:"mini_cart_drawer",id:"continue_shopping_button"})},children:t("shop.cart-drawer.continue-shopping")})]})};var ta=a(65490),ti=a(62286),tl=a.n(ti);let tr=()=>{let{t:e}=(0,Q.Bd)(),{cart:t}=(0,F.B_)(),{locale:a}=(0,eP.Us)(),{isCartDrawerOpen:i}=e4(),{trackImpression:l}=e6(),r=(0,U.useRef)(null),n=(0,U.useRef)(!1),s="FREE_SHIPPING",o=null==t?void 0:t.aovBenefits,c=null==t?void 0:t.freeShipping,{milestones:d}=o||{},{threshold:u,remainingAmount:p}=e1(d,s)||c||{},m=void 0!==p&&p<=0,h=null==t?void 0:t.currency,v=new Set(((null==t?void 0:t.shipments)||[]).map(e=>{var t;return e0(null==(t=e.seller)?void 0:t.sellerType)})).size>1;(0,U.useEffect)(()=>{let e=setTimeout(()=>{if(i&&m&&!n.current&&r.current){n.current=!0;let e=r.current.getBoundingClientRect(),t=window.innerWidth/2,a=e.width/2,i=e.top+e.height,l=Math.max(t,window.innerWidth-a-24)/window.innerWidth,s=(i+48)/window.innerHeight;(0,ta.A)({particleCount:50,spread:60,origin:{x:l,y:s},scalar:.8,zIndex:99999})}},300);return()=>{clearTimeout(e)}},[i,m]),(0,U.useEffect)(()=>{i||(n.current=!1)},[i]);let _=(0,K.ic)({onComponentInView:()=>{let e=s.toLowerCase();l({name:"mini_cart_drawer",id:"progress_bar_".concat(e,"_reached"),value:String(m)})},dependencies:[m,i],shouldTrack:i,delay:300});if("number"!=typeof u||"number"!=typeof p||!h)return null;let g=(0,eb.$g)(p,a,h);return(0,I.jsxs)("div",{ref:r,children:[(0,I.jsx)(eK.P1,{className:tl().shippingText,children:p>0?(0,I.jsx)(Q.x6,{i18nKey:"shop.cart-drawer.free-shipping-bar.incomplete",values:{0:g},components:{b:(0,I.jsx)("b",{})}}):e("shop.cart-drawer.free-shipping-bar.complete")}),(0,I.jsx)("div",{className:tl().progressBar,ref:_,children:(0,I.jsx)("div",{className:tl().progress,style:{width:"".concat((1-p/u)*100,"%")}})}),v&&(0,I.jsx)(eK.P2,{className:tl().thirdPartyInfo,children:e("shop.cart-drawer.free-shipping-bar.third-party-info")})]})};function tn(){return(tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(null,arguments)}let ts=function(e){return U.createElement("svg",tn({width:22,height:22,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=U.createElement("g",{clipPath:"url(#zooPoints_svg__clip0_6414_12652)"},U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.391 8.45l-1.046-1.048a1.047 1.047 0 01-.307-.74V5.435a3.141 3.141 0 00-3.141-3.141H14.67c-.278 0-.544-.11-.74-.306L12.883.94a3.14 3.14 0 00-4.442 0L7.394 1.988a1.047 1.047 0 01-.74.306H5.426a3.14 3.14 0 00-3.141 3.141v1.227c0 .278-.11.544-.307.74L.932 8.45a3.141 3.141 0 000 4.442l1.047 1.047c.197.197.307.463.307.74v1.227a3.14 3.14 0 003.14 3.141h1.227c.278 0 .545.11.74.307L8.442 20.4a3.14 3.14 0 004.442 0l1.047-1.047c.197-.196.462-.307.74-.307h1.227a3.14 3.14 0 003.14-3.14v-1.227c0-.278.111-.544.308-.74l1.046-1.048a3.141 3.141 0 000-4.442z",fill:"#A55FDC"}),U.createElement("path",{d:"M11.476 4.888a.888.888 0 00-1.6 0l-1.278 2.66a.421.421 0 01-.328.236l-2.945.386c-.736.096-1.042 1.004-.494 1.52l2.15 2.028c.105.1.152.244.126.386l-.539 2.894c-.138.741.646 1.29 1.295.94l2.612-1.407a.423.423 0 01.403 0l2.613 1.408c.648.349 1.432-.2 1.294-.941l-.54-2.893a.425.425 0 01.127-.387l2.15-2.027c.548-.517.242-1.425-.494-1.521l-2.945-.386a.425.425 0 01-.327-.237l-1.278-2.66h-.002z",fill:"#fff"}))),l||(l=U.createElement("defs",null,U.createElement("clipPath",{id:"zooPoints_svg__clip0_6414_12652"},U.createElement("path",{fill:"#fff",d:"M0 0h21.333v21.333H0z"})))))};var to=a(2658),tc=a.n(to);let td=()=>{var e,t;let{t:a}=(0,Q.Bd)(),{cart:i}=(0,F.B_)(),{locale:l}=(0,eP.Us)(),{isCartDrawerOpen:r}=e4(),{trackImpression:n}=e6(),s=(0,U.useRef)(null),o=(0,U.useRef)(!1),c=null==i?void 0:i.currency,d=null==i?void 0:i.aovBenefits,{milestones:u}=d||{},p=(null==d?void 0:d.activeType)||"FREE_SHIPPING",m=e1(u,p),{threshold:h,remainingAmount:v}=m||{},_=(null==i?void 0:i.shipments)||[],g=void 0!==v&&v<=0,b=new Set(_.map(e=>{var t;return e0(null==(t=e.seller)?void 0:t.sellerType)})).size>1,f="FREE_SHIPPING"===p;(0,U.useEffect)(()=>{let e=setTimeout(()=>{if(r&&g&&!o.current&&s.current){o.current=!0;let e=s.current.getBoundingClientRect(),t=window.innerWidth/2,a=e.width/2,i=e.top+e.height,l=Math.max(t,window.innerWidth-a-24)/window.innerWidth,r=(i+48)/window.innerHeight;(0,ta.A)({particleCount:50,spread:60,origin:{x:l,y:r},scalar:.8,zIndex:99999})}},300);return()=>{clearTimeout(e)}},[r,g]),(0,U.useEffect)(()=>{r||(o.current=!1)},[r]);let x=(0,K.ic)({onComponentInView:()=>{let e=p.toLowerCase();n({name:"mini_cart_drawer",id:"progress_bar_".concat(e,"_reached"),value:String(g)})},dependencies:[g,r],shouldTrack:r,delay:300});if("number"!=typeof h||"number"!=typeof v||!c||!p)return null;let C=(0,eb.$g)(v,l,c),P={FREE_SHIPPING:{color:"var(--pp-color-surface-action-primary-default)",subtitleIncomplete:{key:"shop.cart-drawer.free-shipping-bar.incomplete",values:{0:C}},subtitleComplete:{key:"shop.cart-drawer.free-shipping-bar.complete"},badge:{backgroundColor:"var(--pp-color-surface-static-primary)",icon:(0,I.jsx)(J.yjt,{size:20,color:"var(--pp-color-icon-primary)"})}},ZOO_POINTS:{color:"#A55FDC",subtitleIncomplete:{key:"shop.cart-drawer.zoo-points-bar.incomplete",values:{0:C,1:null==m||null==(e=m.benefit)?void 0:e.valueLabel}},subtitleComplete:{key:"shop.cart-drawer.zoo-points-bar.complete",values:{0:null==m||null==(t=m.benefit)?void 0:t.valueLabel}},badge:{backgroundColor:"#F3EAFF",icon:(0,I.jsx)(ts,{})}}}[p];return(0,I.jsxs)("div",{ref:s,className:tc().container,children:[P.badge&&(0,I.jsx)("div",{className:tc().badge,style:{backgroundColor:P.badge.backgroundColor},children:P.badge.icon}),(0,I.jsxs)("div",{className:tc().progressBarWrapper,children:[(0,I.jsx)(eK.P1,{className:tc().shippingText,children:v>0?(0,I.jsx)(Q.x6,{i18nKey:P.subtitleIncomplete.key,values:P.subtitleIncomplete.values,components:{b:(0,I.jsx)("b",{})}}):(0,I.jsx)(Q.x6,{i18nKey:P.subtitleComplete.key,values:P.subtitleComplete.values,components:{b:(0,I.jsx)("b",{})}})}),(0,I.jsx)("div",{className:tc().progressBar,ref:x,children:(0,I.jsx)("div",{className:tc().progress,style:{width:"".concat((1-v/h)*100,"%"),backgroundColor:P.color}})}
1),b&&f&&(0,I.jsx)(eK.P2,{className:tc().thirdPartyInfo,children:a("shop.cart-drawer.free-shipping-bar.third-party-info")})]})]})};var tu=a(43495),tp=a(48568),tm=a.n(tp);let th=()=>(0,I.jsxs)("div",{className:tm().container,children:[(0,I.jsx)(tu.E,{height:"1.5rem",width:"50%"}),(0,I.jsxs)("div",{className:tm().slider,children:[(0,I.jsx)(tu.E,{height:"380px",width:"180px"}),(0,I.jsx)(tu.E,{height:"380px",width:"180px"}),(0,I.jsx)(tu.E,{height:"380px",width:"45px"})]})]});var tv=a(76490),t_=a.n(tv);let tg={1:{slidesPerView:2.2,slidesPerGroup:2,freeMode:!1},544:{slidesPerView:2.2,slidesPerGroup:2,freeMode:!1},1100:{slidesPerView:2.2,slidesPerGroup:2,freeMode:!1},1400:{slidesPerView:2.2,slidesPerGroup:2,freeMode:!1},1600:{slidesPerView:2.2,slidesPerGroup:2,freeMode:!1}},tb=e=>{let{isPremiumMembershipEnabled:t=!1,isZooPointsProgressBarEnabled:a=!1}=e,{t:i}=(0,Q.Bd)(),{locale:l}=(0,eP.Us)(),{cart:r,changeArticleQuantity:n}=(0,F.B_)(),{products:s,error:o,addProductToCartDrawer:c,addLoyaltyProductToCartDrawer:d,isCartDrawerOpen:u,toggleCartDrawer:p}=e4(),{recoContainers:m,isLoading:h}=(()=>{let{siteId:e,legacyLanguage:t}=(0,eP.Us)(),{products:a,breadcrumbs:i,shouldTriggerRecommendations:l}=e4(),{productIds:r,articleIds:n}=(0,U.useMemo)(()=>a.reduce((e,t)=>(e.articleIds.push(t.id),t.productId&&e.productIds.push(t.productId),e),{productIds:[],articleIds:[]}),[a]),s=(0,B.Kg)(),[o,c]=(0,U.useState)(),[d,u]=(0,U.useState)(!0);return(0,U.useEffect)(()=>{(async()=>{if(n.length>0&&l){u(!0);try{let a=await (0,eY.CM)({language:t,pageType:"web_pdp_popup",siteId:e,productId:r,articleId:n,userId:(0,B.VV)(),customerId:s,...(0,eY.bl)(i)});c(a)}finally{u(!1)}}})()},[t,e,i,s,r,n,l]),{recoContainers:o,isLoading:d}})(),{trackClick:v}=e6(),_=null==m?void 0:m[0],g=null==r?void 0:r.currency,b=(null==r?void 0:r.shipments)||[],f=b.length&&b.every(e=>{var t;return"THIRD_PARTY"===e0(null==(t=e.seller)?void 0:t.sellerType)}),x=async e=>{let{articleId:t,activeOffer:a}=e;return e5({changeArticleQuantity:n,articleId:t,quantity:1,activeOffer:a}).then(e=>{c({id:t,cart:e})})};return(0,I.jsx)(eX._s,{closeBtnAriaLabel:i("general.button.close"),"data-zta":"cartDrawer",isOpen:u,onClose:()=>{p(),v({name:"mini_cart_drawer",id:"close_modal"})},title:i(o?"general.error.generic":"shop.cart-drawer.header"),titleIcon:o?(0,I.jsx)(J.NZo,{size:20,fill:"var(--pp-color-icon-error)"}):(0,I.jsx)(J.PkQ,{size:20,fill:"var(--pp-color-icon-primary)"}),footerContent:(0,I.jsx)(tt,{}),children:(0,I.jsx)("div",{className:t_().content,children:o?(0,I.jsx)(eZ.F,{variant:"error","data-zta":"cartDrawerError",children:i("cart.error.message")}):(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("div",{className:t_().products,children:s.map(e=>{var t;return(0,I.jsxs)("div",{className:t_().product,children:[(0,I.jsxs)("div",{className:t_().productImageContainer,children:[(0,I.jsx)(eK.P2,{className:t_().productQuantity,bold:!0,children:e.quantity}),(0,I.jsx)(K.it,{src:e.image,alt:"".concat(e.title," - ").concat(e.subtitle),className:t_().productImage,width:75,height:75,format:"webp"})]}),(0,I.jsxs)("div",{className:t_().productDetails,children:[(0,I.jsx)(eK.P1,{className:t_().productTitle,children:e.title}
1),(0,I.jsx)(eK.P1,{className:t_().subtitle,children:e.subtitle}),(0,I.jsx)(eq.N,{className:M()(t_().price),price:(0,eb.$g)(e.price,l,null!=(t=e.currency)?t:g)})]})]},e.id)})}),!f&&(a?(0,I.jsx)(td,{}):(0,I.jsx)(tr,{})),(0,I.jsx)("div",{className:t_().divider}),t&&(0,I.jsx)(eH.E,{onAddMembershipToCart:d}),h&&(0,I.jsx)(th,{}),!h&&_&&(0,I.jsx)(eY.Dk,{className:t_().recoSlider,recoContainer:_,horizontal:!0,identifier:_.name||"container_1",isAddToCartVisible:!0,customSlidesConfiguration:tg,onAddToCartClick:x,trackingPage:V.sc["PRODUCT-DETAIL"],trackingOrigin:"MINI_CART_DRAWER",currency:g})]})})})},tf=()=>{let{domain:e,locale:t,siteId:a}=(0,eP.Us)(),i=(0,E.On)(E.Zg,V.sc["PRODUCT-DETAIL"],e,t,a),l=(0,E.On)(E.PW,V.sc["PRODUCT-DETAIL"],e,t,a);return(0,I.jsx)(tb,{isPremiumMembershipEnabled:"variant"===i,isZooPointsProgressBarEnabled:"variant"===l})};var tx=a(77713),tC=a(70761),tP=a(50850),ty=a(10303),tw=a(87346),tj=a(59813),tT=a(97562),tS=a(99134);let tI="http://localhost".replace(/\/+$/,"");class tB{constructor(e,t=tI,a=tT.A){this.basePath=t,this.axios=a,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}}class tA extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}}let tN=function(e,t,a){if(null==a)throw new tA(t,"Required parameter ".concat(t," was null or undefined when calling ").concat(e,"."))},tk=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];let l=new URLSearchParams(e.search);!function e(t,a){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";null!=a&&("object"==typeof a?Array.isArray(a)?a.forEach(a=>e(t,a,i)):Object.keys(a).forEach(l=>e(t,a[l],"".concat(i).concat(""!==i?".":"").concat(l))):t.has(i)?t.append(i,a):t.set(i,a))}(l,a),e.search=l.toString()},tD={Offer:"OFFER",Regular:"REGULAR",Retail:"RETAIL"},tL=function(e){let t={getComparisonArticlesListApiV1SitesSiteIdLocaleTableGet:async function(t,a,i){let l,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};tN("getComparisonArticlesListApiV1SitesSiteIdLocaleTableGet","siteId",t),tN("getComparisonArticlesListApiV1SitesSiteIdLocaleTableGet","locale",a),tN("getComparisonArticlesListApiV1SitesSiteIdLocaleTableGet","articleId",i);let n=new URL("/api/v1/sites/{site_id}/{locale}/table".replace("{site_id}",encodeURIComponent(String(t))).replace("{locale}",encodeURIComponent(String(a))),"https://example.com");e&&(l=e.baseOptions);let s={method:"GET",...l,...r},o={};return void 0!==i&&(o.article_id=i),tk(n,o),s.headers={...l&&l.headers?l.headers:{},...r.headers},{url:n.pathname+n.search+n.hash,options:s}}};return{async getComparisonArticlesListApiV1SitesSiteIdLocaleTableGet(a,i,l,r){var n,s;return n=await t.getComparisonArticlesListApiV1SitesSiteIdLocaleTableGet(a,i,l,r),s=tT.A,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tI,i={...n.options,url:((null==e?void 0:e.basePath)||t.defaults.baseURL||a)+n.url};return t.request(i)}}}};class tz extends tB{getComparisonArticlesListApiV1SitesSiteIdLocaleTableGet(e,t,a,i){return tL(this.configuration).getComparisonArticlesListApiV1SitesSiteIdLocaleTableGet(e,t,a,i).then(e=>e(this.axios,this.basePath))}}class tR{isJsonMime(e){let t=RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions,this.formDataCtor=e.formDataCtor}}tT.A.defaults.headers.common["X-Caller"]=eF.VA;let tU=(0,tS.R)(()=>new tz(new tR({basePath:eF.Rt.REACT_APP_PRODUCT_COMPARISON_API_URL}),void 0,tT.A)),tF=e=>"1P_ABD"===e.type,tE=e=>"1P_AUS"===e.type,tV=e=>e.find(tF),tO=e=>e.find(e=>"1P"===e.type)||e[0],tM=async e=>{let{changeArticleQuantity:t,articleId:a,quantity:i,popover:l,activeOffer:r}=e;return await t({articleId:a,quantity:i,offerIds:[r.id],popover:l})},tQ=async e=>{let{siteId:t,locale:a,articleId:i}=e,l=await (0,tC.H4)(()=>tU.getComparisonArticlesListApiV1SitesSiteIdLocaleTableGet(t,a,i));return null==l?void 0:l.data};var tJ=a(57818),tW=a.n(tJ);let tG=e=>{let{children:t}=e;return(0,I.jsx)("tr",{className:M()(tW().row),"data-zta":"ComparisonTableRow",children:t})};var tH=a(31030),tX=a.n(tH),tZ=a(49628),tK=a(86170);let tq=e=>{let{componentDataZTA:t}=(0,tK.Ou)("LastChanceBadge"),{text:a,className:i,onClick:l}=e;return(0,I.jsx)(ee.L,{className:M()(i),"data-zta":"last-chance-badge","data-hopps":t,label:a,variant:"negative",onClick:l})};var tY=a(56594),t$=a(68697),t0=a.n(t$);let t1=e=>{let{articleId:t,variantId:a,shopIdentifier:i,articleOffers:l,colIndex:r,t
1itle:n,description:s,withAddToCartPopover:o}=e,{t:c}=(0,Q.Bd)(),[d,u]=(0,U.useState)(!1),p=(0,U.useRef)(null),{changeArticleQuantity:m,sid:h}=(0,F.B_)(),{toggleCartDrawer:v}=e4(),{siteId:_,domain:g,locale:b}=(0,eP.Us)(),f=window.location.href,x=(0,E.A0)((0,E.A2)(E.tt))&&!o,C=tV(l),P=tO(l),y=l.find(tE),w=!!(null==C?void 0:C.id),j=w&&C?C:P,T=!!y&&j.id===y.id,{componentDataZTA:S}=(0,K.Ou)("ComparisonTableAddToCart"),A=async e=>{if(e.preventDefault(),e.stopPropagation(),!p.current)return;let l=(0,B.Kg)();u(!0);try{var o,c,d;let e=await tM({changeArticleQuantity:m,articleId:t,quantity:1,popover:x?void 0:{trigger:p.current},activeOffer:j});u(!1),x&&v({id:t,cart:e,shouldTriggerRecommendations:!0});let P=[];C&&P.push({type:"ABD",available:!0,applied:w||!1,value:C.price.value,percentageValue:null==(c=C.discount)?void 0:c.value}),y&&P.push({type:"SUBSCRIPTION",available:!0,applied:T,value:y.price.value,percentageValue:null==(d=y.discount)?void 0:d.value});let S=(null==(o=j.price)?void 0:o.value)||0;(0,V.sx)({event:V.F3.ADD_TO_CART,page:V.sc["PRODUCT-DETAIL"],detail:{sid:h,domain:g,siteId:_,locale:b,currencyCode:j.price.currency,pageLocation:f,platform:"WEB",customer:{id:l?"".concat(l):void 0},origin:"COMPARISON_TABLE",position:r,article:{sku:"".concat(i,".").concat(a),title:"".concat(n," - ").concat(s),brand:[],category:[],type:"ARTICLE",unitPrice:Number(S.toFixed(2)),quantity:1,totalPrice:Number((+S).toFixed(2)),bestPriceArticle:!1,autoshipmentApplied:T,seller:{type:"EXTERNAL"===j.type?"THIRD_PARTY":"FIRST_PARTY"},discounts:P}}})}catch(e){u(!1),x&&v({error:e})}};return(0,I.jsx)(tY.l,{isLoading:d,"data-zta":S,"data-hopps":S,className:t0().cartButton,"aria-label":c("accessibility.add.to.cart"),"aria-busy":d,"data-article-id":t,"data-shop-identifier":i,"data-variant-id":a,"data-quantity":1,ref:p,onClick:A,iconOnly:!0,children:(0,I.jsx)("span",{children:c("accessibility.add.to.cart")})})};var t2=a(26857),t4=a.n(t2);let t3=e=>{let{isSelected:t,title:a,description:i,link:l,feedbackAggregate:r,image:n,badge:s,articleId:o,variantId:c,shopIdentifier:d,articleOffers:u,colIndex:p,addToCartButtonVisible:m,withAddToCartPopover:h}=e,{t:v}=(0,Q.Bd)(),{domain:_,locale:g,siteId:b}=(0,eP.Us)(),{componentDataZTA:f,getElementDataZTA:x}=(0,K.Ou)("ComparisonTableHeaderCell"),C=(null==s?void 0:s.type)==="predecessor",P=(null==s?void 0:s.type)==="zooplusChoice",y=(null==s?void 0:s.type)==="successor",w=(null==s?void 0:s.type)&&["sponsored","1P_ABD"].includes(s.type),j=()=>{(0,V.sx)({event:V.F3.CLICK,page:V.sc["PRODUCT-DETAIL"],detail:{locale:g,domain:_,siteId:b,target:{name:"comparison_table_product",id:"table_col_".concat(p),value:"".concat(d,".").concat(c)}}})};return(0,I.jsxs)("th",{scope:"col",className:M()(t4().cell,{[t4().selected]:t}),"data-zta":f,children:[t&&(0,I.jsx)(eK.P2,{"data-zta":x("selected-label"),className:t4().selectedText,children:v("shop.comparisonTable.itemSelected")}),(0,I.jsxs)("div",{className:M()(t4().imageWrapper,{[t4().disabled]:t}),children:[(0,I.jsxs)(em.M,{href:t?void 0:l,className:t4().imageContent,onClick:t?e=>e.preventDefault():j,children:[C&&(null==s?void 0:s.labelKey)&&(0,I.jsx)(tq,{className:t4().badge,text:v(s.labelKey)}),!C&&P&&s.label&&(0,I.jsx)(K.Dm,{className:t4().badge,text:s.label}),!C&&y&&s.labelKey&&(0,I.jsx)(ee.L,{className:t4().badge,label:v(s.labelKey),variant:"negative"}),!C&&w&&s.labelKey&&(0,I.jsx)(ee.L,{className:t4().badge,label:v(s.labelKey,s.labelOptions||{}),variant:"brand-promotion"}),(0,I.jsx)(tX(),{"data-zta":x("product-image"),src:n,alt:i,width:146,height:146})]}),(!t||m)&&(0,I.jsx)(t1,{articleId:o,variantId:c,shopIdentifier:d,articleOffers:u,colIndex:p,title:a,description:i,withAddToCartPopover:h})]}),(0,I.jsxs)("div",{className:t4().productInfo,children:[(0,I.jsx)(em.M,{href:t?void 0:l,className:M()(t4().title,{[t4().disabled]:t}),"data-zta":x("product-title"),onClick:j,children:a}),(0,I.jsx)(eK.P1,{className:t4().description,children:i})]}),(0,I.jsx)(tZ.G,{count:r.reviewCount||"0",rating:r.rating,size:"sm",ratingLabel:v("catalog.explore.reviews.rating.accessibility.label")})]})},t6=e=>{var t,a,i;let{articles:l,addToCartButtonVisible:r,withAddToCartPopover:n}=e,s=!!(null==l||null==(i=l[0])||null==(a=i.article)||null==(t=a.badges)?void 0:t.successor);return(0,I.jsx)(tG,{children:l.map((e,t)=>{let a=((e,t)=>s&&0===t?{type:"predecessor",labelKey:"catalog.discover.plp.successor-badge"}:s&&1===t?{type:"successor",labelKey:"catalog.discover.plp.successor-link"}:(e=>{var t,a,i,l;if(null==(a=e.article)||null==(t=a.badges)?void 0:t.successor)return{labelKey:"catalog.discover.plp.successor-badge",type:"predecessor"};if(null==e||null==(i=e.product)?void 0:i.badges){if(null==(l=e.product.badges.zooplusChoice)?void 0:l.active)return{label:e.product.badges.zooplusChoice.label,type:"zooplusChoice"};if(e.product.badges.sponsored)return{labelKey:"general.sponsored.products",type:"sponsored"}}let r=tV(e.articleOffers);if(r&&r.discount&&0!=r.discount.value)return{labelKey:"shop.product.article.discount.relative.label",labelOptions:{0:r.discount.label},type:r.type}})(e))(e,t);return(0,I.jsx)(t3,{isSelected:0===t,title:e.product.name,description:e.article.name,link:e.product.link,feedbackAggregate:e.product.feedbackAggregate,image:e.product.pictureUrl,badge:a,articleId:e.article.i
1d,variantId:e.article.variantId,shopIdentifier:e.product.shopIdentifier,articleOffers:e.articleOffers,colIndex:t,addToCartButtonVisible:r,withAddToCartPopover:n},"header.".concat(e.article.id))})})};var t5=a(21473),t7=a.n(t5);let t9=e=>{let{children:t,header:a,isSelected:i,isLastRow:l}=e;return i?(0,I.jsxs)("th",{scope:"row",className:M()(t7().cell,t7().selected,{[t7().lastRow]:l}),"data-zta":"ComparisonTableCell",children:[(0,I.jsx)(e7.H3,{className:t7().header,children:a}),t]}):(0,I.jsx)("td",{className:M()(t7().cell,{[t7().lastRow]:l}),"data-zta":"ComparisonTableCell",children:t})};var t8=a(49542),ae=a.n(t8);let at=()=>{let{t:e}=(0,Q.Bd)();return(0,I.jsx)("span",{"aria-label":e("general.yes"),children:(0,I.jsx)(J.rAV,{size:32,className:ae().checkIcon,"aria-hidden":"true"})})},aa=e=>{let{facets:t,isLastRow:a}=e;return(0,I.jsx)(tG,{children:t.map((e,t)=>(0,I.jsx)(t9,{isSelected:0===t,isLastRow:a,header:e.nameLocalized,children:(e=>{var t,a;switch(e.type){case"boolean":return(null==e||null==(t=e.values)?void 0:t[0])?(0,I.jsx)(at,{}):"-";case"string":return(null==e?void 0:e.valuesLocalized)||"-";case"array":return(null==e||null==(a=e.valuesLocalized)?void 0:a.join(", "))||"-";default:return"-"}})(e)},"".concat(e.name,".").concat(e.articleId)))})};var ai=a(31200),al=a(66994),ar=a.n(al);let an=e=>{let{articles:t}=e,{t:a}=(0,Q.Bd)();return(0,I.jsx)(tG,{children:t.map((e,t)=>{var i,l,r,n,s,o,c,d,u,p,m,h;let v=tO(e.articleOffers),_=(e=>{var t,a,i,l;return(null==e?void 0:e.secondaryCurrency)?{unitPrice:null==e||null==(a=e.secondaryCurrency)||null==(t=a.unitPrice)?void 0:t.labelFull,currentPrice:null==e||null==(l=e.secondaryCurrency)||null==(i=l.referencePrice)?void 0:i.labelFull}:void 0})(v),g=(null==v||null==(i=v.unitPrice)?void 0:i.labelFull)?"".concat(null==v||null==(l=v.unitPrice)?void 0:l.labelFull," / ").concat(e.article.unit):void 0,b=null==v||null==(r=v.discount)?void 0:r.label,f=(0,ai.Tt)(null==v||null==(n=v.referencePrice)?void 0:n.labelFull,b),x=f&&(null==v||null==(s=v.referencePrice)?void 0:s.labelPrefix)?{label:null==v||null==(o=v.referencePrice)?void 0:o.labelPrefix,...f}:void 0,C=(0,ai.xh)({text:null==v||null==(c=v.tooltip)?void 0:c.text,position:"top-middle"}),P=C?{label:a("price.refPriceAriaLabel"),...C,width:"sm"}:void 0,{secondaryPriceFormattedUnitPriceLabel:y}=(0,ai.fC)({unitPrice:null==v||null==(d=v.unitPrice)?void 0:d.labelFull,unitName:e.article.unit,secondaryPrice:_,unitPriceLabel:g}),w=null!=(h=null==v?void 0:v.priceType)?h:void 0,j={price:(null==v||null==(u=v.price)?void 0:u.label)||"",pricePrefix:null==v||null==(p=v.referencePrice)?void 0:p.labelFull,priceSuffix:y,secondaryCurrencyPrice:null==_?void 0:_.currentPrice,isReducedPrice:!!(null==v||null==(m=v.referencePrice)?void 0:m.labelFull),refPrice:x,tooltip:P};return(0,I.jsx)(t9,{isSelected:0===t,header:a("general.price"),children:(0,I.jsx)(eq.N,{className:M()(ar().price),size:"large",priceType:w,...j})},"price.".concat(e.article.id))})})};var as=a(50233),ao=a.n(as);let ac=e=>{let{scrollPercentage:t}=e,[a,i]=(0,U.useState)(0),l=(0,U.useRef)(null),{componentDataZTA:r,getElementDataZTA:n}=(0,K.Ou)("ComparisonTableScrollbar");return(0,U.useEffect)(()=>{if(l.current){let{clientWidth:e}=l.current;i(t/100*(e-115))}},[t]),(0,I.jsx)("div",{className:ao().scrollbarContainer,ref:l,"data-zta":r,children:(0,I.jsx)("div",{"data-zta":n("scrollbar"),className:ao().scrollbar,style:{width:115,left:a}})})};var ad=a(53201),au=a.n(ad);let ap=e=>{let{comparisonTable:t,addToCartButtonVisible:a,withAddToCartPopover:i}=e,{t:l}=(0,Q.Bd)(),[r,n]=(0,U.useState)(!1),[s,o]=(0,U.useState)(0),c=(0,U.useRef)(null),d=null==t?void 0:t.articles,{componentDataZTA:u,getElementDataZTA:p}=(0,K.Ou)("ComparisonTable"),{locale:m,domain:h,siteId:v}=(0,eP.Us)(),_=(e=>{var t;return Object.values(((null==(t=e[0])?void 0:t.facets)||[]).reduce((t,a)=>(t[a.name]=e.map(e=>{let t=e.facets.find(e=>e.name===a.name);return t?{...t,articleId:e.article.id}:{name:a.name,nameLocalized:a.nameLocalized,type:a.type,values:[],valuesLocalized:null,articleId:e.article.id}}),t),{}))})(d),g=r?_:_.slice(0,3),b=()=>{let e=!r,t=(0,B.Kg)(),a=window.location.href;n(e),(0,V.sx)({event:V.F3.CLICK,page:V.sc["PRODUCT-DETAIL"],detail:{locale:m,domain:h,siteId:v,pageLocation:a,customer:{id:t?"".concat(t):void 0},target:{name:"comparison_table_product",id:e?"see_more":"see_less"}}})};return(0,I.jsxs)("section",{id:"comparison-table",className:au().container,"aria-label":l("section.comparisonTable"),"data-zta":u,children:[(0,I.jsx)(e7.H2,{className:au().header,children:null==t?void 0:t.caption}),(0,I.jsx)("div",{className:au().tableContainer,ref:c,onScroll:()=>{if(c.current){let{scrollLeft:e,offsetWidth:t,scrollWidth:a}=c.current;o(e/(a-t)*100)}},children:(0,I.jsxs)("table",{className:au().table,children:[(0,I.jsx)("thead",{children:(0,I.jsx)(t6,{articles:d,addToCartButtonVisible:a,withAddToCartPopover:i})}),(0,I.jsxs)("tbody",{children:[(0,I.jsx)(an,{articles:d}),g.map((e,t)=>{var a;return(0,I.jsx)(aa,{facets:e,isLastRow:t===g.length-1},null==e||null==(a=e[0])?void 0:a.name)})]})]})}),_.length>3&&(0,I.jsx)(I.Fragment,{children:r?(0,I.jsx)(e9.t,{onClick:b,length:"full","data-zta":p("see-less"),iconLeft:(0,I.jsx)(J.Ibf,{size:16,"aria-hidden":!0}),size:"small","aria-expanded":!0,className:au().button,children:l("shop.c
1omparisonTable.see.less")}):(0,I.jsx)(e9.t,{onClick:b,length:"full","data-zta":p("see-more"),iconLeft:(0,I.jsx)(J.dgN,{size:16,"aria-hidden":!0}),size:"small","aria-expanded":!1,className:au().button,children:l("shop.comparisonTable.see.more")})}),(0,I.jsx)(ac,{scrollPercentage:s})]})},am={caption:"Here you have other alternatives to explore",articles:[{product:{shopIdentifier:984156,badges:{zooplusChoice:{active:!1,label:"zooplus choice",description:"Excellent price-quality ratio products recommended by our customer"},sponsored:!1},name:"6 x 5l Tigerino Crystals Cat Litter - 5 + 1 Free! *",feedbackAggregate:{rating:5,reviewCount:193},pictureUrl:"https://media.zooplus.com/bilder/4/400/tigerino_crystal_sensitive_5l_1000x1000_4.jpg",link:"/shop/cats/cat_litter/tigerino/984156?zootopia_rec=true&activeVariant=984156.2&cn=initial&si=3&pn=web_category_l3&pr=container_1&strategy=64342124&rk=1-12&slot=1&pi=984156&rri=637c5bb7-2ed4-4237-8e41-bb33511fbd53"},siteId:3,language:"en",locale:"en_GB",article:{id:3178251,variantId:2,name:"Classic Sensitive (Unscented) (6 x 5l)",bonuspoints:0,unit:"l"},articleOffers:[{id:"1P.3178251",type:"1P",discount:null,price:{value:28.29,label:"\xa328.29",labelFull:"\xa328.29",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},priceType:tD.Offer,referencePrice:{value:33.99,label:"\xa333.99",labelFull:"Was \xa333.99",labelPattern:"Was {0}",labelPrefix:"Was",currency:"GBP"},unitPrice:{value:.94,label:"\xa30.94",labelFull:"\xa30.94",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},secondaryCurrency:null,tooltip:null}],facets:[{name:"feature_litter_is_biodegradable",nameLocalized:"Is Biodegradable",values:[!0],type:"boolean",valuesLocalized:null}
1,{name:"feature_litter_is_nonclumping",nameLocalized:"Is Non Clumping",values:[!1],type:"boolean",valuesLocalized:null},{name:"material",nameLocalized:"Material",values:["material.wood"],valuesLocalized:["Wood"]},{name:"lifestage",nameLocalized:"Lifestage",values:["All"],valuesLocalized:["All"]},{name:"meatType",nameLocalized:"Meat type",values:["Chicken","Whole grain"],valuesLocalized:["Chicken","Whole grain"]},{name:"grainFree",nameLocalized:"Grain free",values:[!0],type:"boolean",valuesLocalized:[!0]},{name:"glutenFree",nameLocalized:"Gluten free",values:[!0],type:"boolean",valuesLocalized:[!0]},{name:"healthFeature",nameLocalized:"Health Feature",values:["Sensitive","Allergy sufferers"],valuesLocalized:["Sensitive","Allergy sufferers"]},{name:"breedSize",nameLocalized:"Breed Size",values:["Small"],valuesLocalized:["Small"]},{name:"packaging",nameLocalized:"Packaging",values:["Single pack"],valuesLocalized:["Single pack"]}],weight:5.965826808166124,trackingId:"initial/3/web_category_l3/container_1/bestsellers/1-12/1/984156/637c5bb7-2ed4-4237-8e41-bb33511fbd53/eydmaWx0ZXJzJzogW3sncXVlcnknOiAnU0VMRUNUIDEgRlJPTSBQVUJMSUMuUlBfQlJBTkRfQVNTSUdOTUVOVCBXSEVSRSBSUF9CUkFORF9BU1NJR05NRU5ULnJwYmFfYnJhbmRfaWQgSU4gKDg5MikgQU5EIFJQX0JSQU5EX0FTU0lHTk1FTlQucnBiYV9wcm9kdWN0X2lkPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQgQU5EIFJQX0JSQU5EX0FTU0lHTk1FTlQucnBiYV9zaXRlX2lkPSUoc2l0ZV9pZClzJywgJ29wZXJhdGlvbic6ICdub3QgaW4nfSwgeydxdWVyeSc6ICdTRUxFQ1QgMSBGUk9NIFBVQkxJQy5SUF9QUk9NT1RJT05TIFdIRVJFIFJQX1BST01PVElPTlMuUlBQX0FMTF9QUk9NTz0xIEFORCBSUF9QUk9NT1RJT05TLnJwcF9zaXRlX2lkPSUoc2l0ZV9pZClzIEFORCBSUF9QUk9NT1RJT05TLnJwcF9wcm9kdWN0X2lkPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQnLCAnb3BlcmF0aW9uJzogJ2luJ30sIHsncXVlcnknOiAnU0VMRUNUIDEgRlJPTSBQVUJMSUMuUlBfUEdfQVNTSUdOTUVOVCBXSEVSRSBSUF9QR19BU1NJR05NRU5ULlJQUEFfTEVWRUwzX0lEIElOICg2NDY1KSBBTkQgUlBfUEdfQVNTSUdOTUVOVC5SUFBBX1NJVEVfSUQ9JShzaXRlX2lkKXMgQU5EIFJQX1BHX0FTU0lHTk1FTlQuUlBQQV9QUk9EVUNUX0lEPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQnLCAnb3BlcmF0aW9uJzogJ2luJ31dfQ==/WygncHJpdmF0ZV9sYWJlbCcsIDgwLCBbXSwgJ3YzJyld"},{product:{shopIdentifier:37604,badges:{zooplusChoice:{active:!0,label:"zooplus choice",description:"Excellent price-quality ratio products recommended by our customer"},sponsored:!1},name:"Cat's Best Universal",feedbackAggregate:{rating:4,reviewCount:27},pictureUrl:"https://media.zooplus.com/bilder/7/400/73112_pla_cats_best_universal_20l_hs_01_7.jpg",link:"/shop/cats/cat_litter/cats_best/37604?zootopia_rec=true&activeVariant=37604.4&cn=initial&si=3&pn=web_category_l3&pr=container_1&strategy=64342124&rk=1-12&slot=2&pi=37604&rri=637c5bb7-2ed4-4237-8e41-bb33511fbd53"},siteId:3,language:"en",locale:"en_GB",article:{id:2145703,variantId:4,name:"20l (11kg)",bonuspoints:null,unit:"l"},articleOffers:[{id:"1P_AUS.2145703",type:"1P_AUS",discount:{type:"PERCENTAGE_DISCOUNT",label:"5%",value:5},price:{value:9.87,label:"\xa39.87",labelFull:"\xa39.87",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},priceType:tD.Regular,referencePrice:{value:10.39,label:"\xa310.39",labelFull:"\xa310.39",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},unitPrice:{value:.49,label:"\xa30.49",labelFull:"\xa30.49",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},secondaryCurrency:null,tooltip:null},{id:"1P.2145703",type:"1P",discount:null,price:{value:10.39,label:"\xa310.39",labelFull:"\xa310.39",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},priceType:tD.Regular,referencePrice:null,unitPrice:{value:.52,label:"\xa30.52",labelFull:"\xa30.52",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},secondaryCurrency:null,tooltip:null}],facets:[{name:"feature_litter_is_biodegradable",nameLocalized:"Is Biodegradable",values:[!1],type:"boolean",valuesLocalized:null}
1,{name:"feature_litter_is_nonclumping",nameLocalized:"Is Non Clumping",values:[!1],type:"boolean",valuesLocalized:null},{name:"material",nameLocalized:"Material",values:["material.clay"],valuesLocalized:null},{name:"lifestage",nameLocalized:"Lifestage",values:["All"],valuesLocalized:null},{name:"meatType",nameLocalized:"Meat type",values:["Chicken","Barley","Brown rice"],valuesLocalized:null},{name:"grainFree",nameLocalized:"Grain free",values:[!1],type:"boolean",valuesLocalized:null},{name:"glutenFree",nameLocalized:"Gluten free",values:[!1],type:"boolean",valuesLocalized:null},{name:"healthFeature",nameLocalized:"Health Feature",values:[],valuesLocalized:null},{name:"breedSize",nameLocalized:"Breed Size",values:["Large"],valuesLocalized:null},{name:"packaging",nameLocalized:"Packaging",values:["Single pack"],valuesLocalized:null}],weight:2,trackingId:"initial/3/web_category_l3/container_1/bestsellers/1-12/2/37604/637c5bb7-2ed4-4237-8e41-bb33511fbd53/eydmaWx0ZXJzJzogW3sncXVlcnknOiAnU0VMRUNUIDEgRlJPTSBQVUJMSUMuUlBfQlJBTkRfQVNTSUdOTUVOVCBXSEVSRSBSUF9CUkFORF9BU1NJR05NRU5ULnJwYmFfYnJhbmRfaWQgSU4gKDg5MikgQU5EIFJQX0JSQU5EX0FTU0lHTk1FTlQucnBiYV9wcm9kdWN0X2lkPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQgQU5EIFJQX0JSQU5EX0FTU0lHTk1FTlQucnBiYV9zaXRlX2lkPSUoc2l0ZV9pZClzJywgJ29wZXJhdGlvbic6ICdub3QgaW4nfSwgeydxdWVyeSc6ICdTRUxFQ1QgMSBGUk9NIFBVQkxJQy5SUF9QUk9NT1RJT05TIFdIRVJFIFJQX1BST01PVElPTlMuUlBQX0FMTF9QUk9NTz0xIEFORCBSUF9QUk9NT1RJT05TLnJwcF9zaXRlX2lkPSUoc2l0ZV9pZClzIEFORCBSUF9QUk9NT1RJT05TLnJwcF9wcm9kdWN0X2lkPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQnLCAnb3BlcmF0aW9uJzogJ2luJ30sIHsncXVlcnknOiAnU0VMRUNUIDEgRlJPTSBQVUJMSUMuUlBfUEdfQVNTSUdOTUVOVCBXSEVSRSBSUF9QR19BU1NJR05NRU5ULlJQUEFfTEVWRUwzX0lEIElOICg2NDY1KSBBTkQgUlBfUEdfQVNTSUdOTUVOVC5SUFBBX1NJVEVfSUQ9JShzaXRlX2lkKXMgQU5EIFJQX1BHX0FTU0lHTk1FTlQuUlBQQV9QUk9EVUNUX0lEPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQnLCAnb3BlcmF0aW9uJzogJ2luJ31dfQ==/WygncHJpdmF0ZV9sYWJlbCcsIDgwLCBbXSwgJ3YzJyld"},{product:{shopIdentifier:1672708,badges:{zooplusChoice:{active:!1,label:"zooplus choice",description:"Excellent price-quality ratio products recommended by our customer"},sponsored:{active:!0,label:"10% off",description:"Excellent price-quality ratio products recommended by our customer"}},name:"Sanicat Marseille Soap Clumping Cat Litter ",feedbackAggregate:{rating:3,reviewCount:23},pictureUrl:"https://media.zooplus.com/bilder/7/400/137798_pla_sanicat_klumpende_katzenstreu_mit_marsella_seife_10l_hs_01_7.jpg",link:"/shop/cats/cat_litter/sanicat_professional/1672708?zootopia_rec=true&activeVariant=1672708.0&cn=initial&si=3&pn=web_category_l3&pr=container_1&strategy=64342124&rk=1-12&slot=3&pi=1672708&rri=637c5bb7-2ed4-4237-8e41-bb33511fbd53"},siteId:3,language:"en",locale:"en_GB",article:{id:4651245,variantId:0,name:"10l",bonuspoints:null,unit:"l"},articleOffers:[{id:"1P_ABD.4651245_7042104",type:"1P_ABD",discount:{type:"PERCENTAGE_DISCOUNT",label:"15%",value:15},price:{value:6.88,label:"\xa36.88",labelFull:"\xa36.88",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},priceType:tD.Retail,referencePrice:{value:8.09,label:"\xa38.09",labelFull:"RRP* \xa38.09",labelPattern:"RRP* {0}",labelPrefix:"RRP*",currency:"GBP"},unitPrice:{value:.69,label:"\xa30.69",labelFull:"\xa30.69",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},secondaryCurrency:null,tooltip:null},{id:"1P_AUS.4651245",type:"1P_AUS",discount:{type:"PERCENTAGE_DISCOUNT",label:"5%",value:5},price:{value:7.69,label:"\xa37.69",labelFull:"\xa37.69",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},priceType:tD.Retail,referencePrice:{value:8.09,label:"\xa38.09",labelFull:"RRP* \xa38.09",labelPattern:"RRP* {0}",labelPrefix:"RRP*",currency:"GBP"},unitPrice:{value:.77,label:"\xa30.77",labelFull:"\xa30.77",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},secondaryCurrency:null,tooltip:null},{id:"1P.4651245",type:"1P",discount:null,price:{value:8.09,label:"\xa38.09",labelFull:"\xa38.09",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},priceType:tD.Retail,referencePrice:{value:9.99,label:"\xa39.99",labelFull:"RRP* \xa39.99",labelPattern:"RRP* {0}",labelPrefix:"RRP*",currency:"GBP"},unitPrice:{value:.81,label:"\xa30.81",labelFull:"\xa30.81",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},secondaryCurrency:null,tooltip:null}],facets:[{name:"feature_litter_is_biodegradable",nameLocalized:"Is Biodegradable",values:[!1],type:"boolean",valuesLocalized:null}
1,{name:"feature_litter_is_nonclumping",nameLocalized:"Is Non Clumping",values:[!0],type:"boolean",valuesLocalized:null},{name:"material",nameLocalized:"Material",values:["material.bentonite"],valuesLocalized:["Bentonite"]},{name:"lifestage",nameLocalized:"Lifestage",values:["Adult"],valuesLocalized:["Adult"]},{name:"meatType",nameLocalized:"Meat type",values:["Lamb","Rice medley"],valuesLocalized:["Lamb","Rice medley"]},{name:"grainFree",nameLocalized:"Grain free",values:[!0],type:"boolean",valuesLocalized:[!0]},{name:"glutenFree",nameLocalized:"Gluten free",values:[!0],type:"boolean",valuesLocalized:[!0]},{name:"healthFeature",nameLocalized:"Health Feature",values:["Hypo allergenic"],valuesLocalized:["Hypo allergenic"]},{name:"breedSize",nameLocalized:"Breed Size",values:["Medium"],valuesLocalized:["Medium"]},{name:"packaging",nameLocalized:"Packaging",values:["Single pack"],valuesLocalized:["Single pack"]}],weight:2,trackingId:"initial/3/web_category_l3/container_1/bestsellers/1-12/3/1672708/637c5bb7-2ed4-4237-8e41-bb33511fbd53/eydmaWx0ZXJzJzogW3sncXVlcnknOiAnU0VMRUNUIDEgRlJPTSBQVUJMSUMuUlBfQlJBTkRfQVNTSUdOTUVOVCBXSEVSRSBSUF9CUkFORF9BU1NJR05NRU5ULnJwYmFfYnJhbmRfaWQgSU4gKDg5MikgQU5EIFJQX0JSQU5EX0FTU0lHTk1FTlQucnBiYV9wcm9kdWN0X2lkPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQgQU5EIFJQX0JSQU5EX0FTU0lHTk1FTlQucnBiYV9zaXRlX2lkPSUoc2l0ZV9pZClzJywgJ29wZXJhdGlvbic6ICdub3QgaW4nfSwgeydxdWVyeSc6ICdTRUxFQ1QgMSBGUk9NIFBVQkxJQy5SUF9QUk9NT1RJT05TIFdIRVJFIFJQX1BST01PVElPTlMuUlBQX0FMTF9QUk9NTz0xIEFORCBSUF9QUk9NT1RJT05TLnJwcF9zaXRlX2lkPSUoc2l0ZV9pZClzIEFORCBSUF9QUk9NT1RJT05TLnJwcF9wcm9kdWN0X2lkPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQnLCAnb3BlcmF0aW9uJzogJ2luJ30sIHsncXVlcnknOiAnU0VMRUNUIDEgRlJPTSBQVUJMSUMuUlBfUEdfQVNTSUdOTUVOVCBXSEVSRSBSUF9QR19BU1NJR05NRU5ULlJQUEFfTEVWRUwzX0lEIElOICg2NDY1KSBBTkQgUlBfUEdfQVNTSUdOTUVOVC5SUFBBX1NJVEVfSUQ9JShzaXRlX2lkKXMgQU5EIFJQX1BHX0FTU0lHTk1FTlQuUlBQQV9QUk9EVUNUX0lEPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQnLCAnb3BlcmF0aW9uJzogJ2luJ31dfQ==/WygncHJpdmF0ZV9sYWJlbCcsIDgwLCBbXSwgJ3YzJyld"},{product:{shopIdentifier:1672708,badges:{zooplusChoice:{active:!1,label:"zooplus choice",description:"Excellent price-quality ratio products recommended by our customer"},sponsored:!1},name:"Sanicat Marseille Soap Clumping Cat Litter ",feedbackAggregate:{rating:3,reviewCount:23},pictureUrl:"https://media.zooplus.com/bilder/7/400/137798_pla_sanicat_klumpende_katzenstreu_mit_marsella_seife_10l_hs_01_7.jpg",link:"/shop/cats/cat_litter/sanicat_professional/1672708?zootopia_rec=true&activeVariant=1672708.0&cn=initial&si=3&pn=web_category_l3&pr=container_1&strategy=64342124&rk=1-12&slot=3&pi=1672708&rri=637c5bb7-2ed4-4237-8e41-bb33511fbd53"},siteId:3,language:"en",locale:"en_GB",article:{id:7651245,variantId:2,name:"10l",bonuspoints:null,unit:"l"},articleOffers:[{id:"1P_ABD.4651245_7042104",type:"1P_ABD",discount:{type:"PERCENTAGE_DISCOUNT",label:"15%",value:15},price:{value:6.88,label:"\xa36.88",labelFull:"\xa36.88",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},priceType:tD.Retail,referencePrice:{value:8.09,label:"\xa38.09",labelFull:"RRP* \xa38.09",labelPattern:"RRP* {0}",labelPrefix:"RRP*",currency:"GBP"},unitPrice:{value:.69,label:"\xa30.69",labelFull:"\xa30.69",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},secondaryCurrency:null,tooltip:null},{id:"1P_AUS.4651245",type:"1P_AUS",discount:{type:"PERCENTAGE_DISCOUNT",label:"5%",value:5},price:{value:7.69,label:"\xa37.69",labelFull:"\xa37.69",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},priceType:tD.Retail,referencePrice:{value:8.09,label:"\xa38.09",labelFull:"RRP* \xa38.09",labelPattern:"RRP* {0}",labelPrefix:"RRP*",currency:"GBP"},unitPrice:{value:.77,label:"\xa30.77",labelFull:"\xa30.77",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},secondaryCurrency:null,tooltip:null},{id:"1P.4651245",type:"1P",discount:null,price:{value:8.09,label:"\xa38.09",labelFull:"\xa38.09",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},priceType:tD.Retail,referencePrice:{value:9.99,label:"\xa39.99",labelFull:"RRP* \xa39.99",labelPattern:"RRP* {0}",labelPrefix:"RRP*",currency:"GBP"},unitPrice:{value:.81,label:"\xa30.81",labelFull:"\xa30.81",labelPattern:"{0}",labelPrefix:"",currency:"GBP"},secondaryCurrency:null,tooltip:null}],facets:[{name:"feature_litter_is_biodegradable",nameLocalized:"Is Biodegradable",values:[!1],type:"boolean",valuesLocalized:null}
1,{name:"feature_litter_is_nonclumping",nameLocalized:"Is Non Clumping",values:[!0],type:"boolean",valuesLocalized:null},{name:"material",nameLocalized:"Material",values:["material.bentonite"],valuesLocalized:["Bentonite"]},{name:"lifestage",nameLocalized:"Lifestage",values:["All"],valuesLocalized:["All"]},{name:"meatType",nameLocalized:"Meat type",values:["Salmon sensation"],valuesLocalized:["Salmon sensation"]},{name:"grainFree",nameLocalized:"Grain free",values:[!0],type:"boolean",valuesLocalized:[!0]},{name:"glutenFree",nameLocalized:"Gluten free",values:[!0],type:"boolean",valuesLocalized:[!0]},{name:"healthFeature",nameLocalized:"Health Feature",values:[],valuesLocalized:[]},{name:"breedSize",nameLocalized:"Breed Size",values:["Small"],valuesLocalized:["Small"]},{name:"packaging",nameLocalized:"Packaging",values:["Single pack"],valuesLocalized:["Single pack"]}],weight:2,trackingId:"initial/3/web_category_l3/container_1/bestsellers/1-12/3/1672708/637c5bb7-2ed4-4237-8e41-bb33511fbd53/eydmaWx0ZXJzJzogW3sncXVlcnknOiAnU0VMRUNUIDEgRlJPTSBQVUJMSUMuUlBfQlJBTkRfQVNTSUdOTUVOVCBXSEVSRSBSUF9CUkFORF9BU1NJR05NRU5ULnJwYmFfYnJhbmRfaWQgSU4gKDg5MikgQU5EIFJQX0JSQU5EX0FTU0lHTk1FTlQucnBiYV9wcm9kdWN0X2lkPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQgQU5EIFJQX0JSQU5EX0FTU0lHTk1FTlQucnBiYV9zaXRlX2lkPSUoc2l0ZV9pZClzJywgJ29wZXJhdGlvbic6ICdub3QgaW4nfSwgeydxdWVyeSc6ICdTRUxFQ1QgMSBGUk9NIFBVQkxJQy5SUF9QUk9NT1RJT05TIFdIRVJFIFJQX1BST01PVElPTlMuUlBQX0FMTF9QUk9NTz0xIEFORCBSUF9QUk9NT1RJT05TLnJwcF9zaXRlX2lkPSUoc2l0ZV9pZClzIEFORCBSUF9QUk9NT1RJT05TLnJwcF9wcm9kdWN0X2lkPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQnLCAnb3BlcmF0aW9uJzogJ2luJ30sIHsncXVlcnknOiAnU0VMRUNUIDEgRlJPTSBQVUJMSUMuUlBfUEdfQVNTSUdOTUVOVCBXSEVSRSBSUF9QR19BU1NJR05NRU5ULlJQUEFfTEVWRUwzX0lEIElOICg2NDY1KSBBTkQgUlBfUEdfQVNTSUdOTUVOVC5SUFBBX1NJVEVfSUQ9JShzaXRlX2lkKXMgQU5EIFJQX1BHX0FTU0lHTk1FTlQuUlBQQV9QUk9EVUNUX0lEPVJFQ09NTUVOREFCTEVfUFJPRFVDVFMucnBfaWQnLCAnb3BlcmF0aW9uJzogJ2luJ31dfQ==/WygncHJpdmF0ZV9sYWJlbCcsIDgwLCBbXSwgJ3YzJyld"}]};am.articles[0].articleOffers[0],am.articles[0];let ah=(0,U.createContext)({}),av=()=>(0,U.useContext)(ah),a_=ah.Provider,ag=(0,U.createContext)({}),ab=new Set,af=e=>{let{children:t}=e,{siteId:a,locale:i}=(0,eP.Us)(),{productDetails:l,activeVariantIdWithShopIdentifier:r}=av(),{product:n}=l,{articleVariants:s}=n,o=(0,E.A0)((0,E.A2)(E.TY)),[c,d]=(0,U.useState)(new Map),u=c.get(r),p=!!((null==u?void 0:u.articles)&&u.articles.length>1&&o);return(0,U.useEffect)(()=>{!o||!r||c.has(r)||ab.has(r)||(ab.add(r),(async()=>{let e=(0,L.DM)(s,r),t=await tQ({siteId:a,locale:i,articleId:e.id});d(e=>new Map(e).set(r,t)),ab.delete(r)})())},[r,o]),(0,I.jsx)(ag.Provider,{value:{data:c,isShown:p},children:t})},ax=(0,U.createContext)({}),aC=()=>(0,U.useContext)(ax),aP=e=>{let{children:t,multipackProduct:a,setMultipackProduct:i}=e;return(0,I.jsx)(ax.Provider,{value:{multipackProduct:a,setMultipackProduct:i},children:t})},ay=(0,U.createContext)({}),aw=()=>(0,U.useContext)(ay),aj=e=>{let{children:t}=e,[a,i]=(0,U.useState)(!1);return(0,I.jsx)(ay.Provider,{value:{isSellerDrawerOpen:a,toggleSellerDrawer:()=>{i(!a)}},children:t})};var aT=a(90578);let aS=async(e,t,a)=>{let{articleId:i,quantity:l,addToCartRef:r}=t,n=(null==r?void 0:r.current)?{trigger:r.current}:void 0,s=t.offerIds,o=(null==s?void 0:s.length)?s:[a];return await e({articleId:i,quantity:l,offerIds:o,popover:n})},aI=e=>void 0===e?"single":ec(e.offerId)?"autoshipment":"single";var aB=a(58588);let aA=(e,t)=>{if(t&&e)return null==t?void 0:t.find(t=>t.id===e)},aN=e=>e.offers[0],ak=e=>{var t,a;let{productDetails:i,activeVariantIdWithShopIdentifier:l,sid:r}=e,{siteId:n,domain:s,locale:o}=(0,eP.Us)(),{isDiscountApplied:c}=eu(),d=window.location.href,{product:u,feedbackAggregate:p}=i,{articleVariants:m,shopIdentifier:h,brands:v,priceAggregate:_,zooplusChoice:g}=u,b=(0,L.DM)(m,l),f=aN(b),{price:x,seller:C}=f||{},P=_.currency,y=null==(t=f.price.discounts)?void 0:t.find(er),w=(0,L.Rg)(null==y?void 0:y.label),j=null==(a=f.price.discounts)?void 0:a.find(en),T=((null==j?void 0:j.hasFirstOrderDiscount)?null==j?void 0:j.firstOrderDiscountPercentage:null==j?void 0:j.percentage)||0,S=(null==p?void 0:p.reviewCount)||0,I=null==p?void 0:p.averageRating,A=(0,F.iS)(b.id),N=(0,B.Kg)(),k=(0,U.useRef)(null);return{trackAddOrRemoveCart:e=>{var t,a,i,l;let{event:c,quantity:p,isABDApplied:m,isAutoshipmentApplied:_,origin:x}=e,B=[],A=!!j&&_;y&&B.push({type:"ABD",available:!0,applied:m,value:y.discountedPriceRaw,percentageValue:w}),j&&B.push({type:"SUBSCRIPTION",available:!0,applied:A,value:j.discountedPriceRaw,percentageValue:T});let k=(null==(a=f.price)||null==(t=a.currentPrice)?void 0:t.value)||0;"ADD"===c?(0,V.sx)({event:V.F3.ADD_TO_CART,page:V.sc["PRODUCT-DETAIL"],detail:{sid:r,domain:s,siteId:n,locale:o,currencyCode:P,pageLocation:d,platform:"WEB",customer:{id:N?"".concat(N):void 0},origin:x,article:{sku:"".concat(h,".").concat(b.variantId),title:"".concat(u.title," - ").concat(b.description),brand:(null==(i=b.brands)?void 0:i.length)?b.brands:v,category:[],type:"ARTICLE",unitPrice:Number(k.toFixed(2)),quantity:p,totalPrice:Number((p*k).toFixed(2)),bestPriceArticle:!1,autoshipmentApplied:A,seller:{type:(null==C?void 0:C.type)==="EXTERNAL"?"THIRD_PARTY":"FIRST_PARTY"},zooplusChoice:g,discounts:B,reviewsAmount:S,reviewsRate:I}}}):(0,V.sx)({event:V.F3.REMOVE_FROM_CART,page:V.sc["PRODUCT-DETAIL"],detail:{sid:r,domain:s,siteId:n,locale:o,currencyCode:P,pageLocation:d,platform:"WEB",customer:{id:N?"".concat(N):void 0},origin:"PRODUCT-DETAIL",article:{sku:"".concat(h,".").concat(b.variantId),title:"".concat(u.title," - ").concat(b.description),brand:(null==(l=b.brands)?void 0:l.length)?b.brands:v,category:[],type:"ARTICLE",unitPrice:Number(k.toFixed(2)),quantity:p,totalPrice:Number((p*k).toFixed(2)),bestPriceArticle:!1,autoshipmentApplied:A,seller:{type:(null==C?void 0:C.type)==="EXTERNAL"?"THIRD_PARTY":"FIRST_PARTY"},zooplusChoice:g,discounts:B,reviewsAmount:S,reviewsRate:I}}})},trackViewItem:()=>{var e,t,a;let i;if(k.current===l)return;k.current=l;let p=(0,B.Kg)(),m=[],_=c(null==y?void 0:y.offerId),x=(i="autoshipment"===aI(A),!!j&&i);y&&m.push({type:"ABD",available:!0,applied:_,value:y.discountedPriceRaw,percentageValue:w}),j&&m.push({type:"SUBSCRIPTION",available:!0,applied:x,value:j.discountedPriceRaw,percentageValue:T});let N=(null==(t=f.price)||null==(e=t.currentPrice)?void 0:e.value)||0;(0,V.sx)({event:V.F3.VIEW_ITEM,page:V.sc["PRODUCT-DETAIL"],detail:{sid:r,domain:s,siteId:n,locale:o,currencyCode:P,pageLocation:d,platform:"WEB",customer:{id:p?"".concat(p):void 0},article:{sku:"".concat(h,".").concat(b.variantId),title:"".concat(u.title," - ").concat(b.description),brand:(null==(a=b.brands)?void 0:a.length)?b.brands:v,category:[],type:"ARTICLE",unitPrice:Number(N.toFixed(2)),quantity:1,totalPrice:Number((+N).toFixed(2)),bestPriceArticle:!1,seller:{type:(null==C?void 0:C.type)==="EXTERNAL"?"THIRD_PARTY":"FIRST_PARTY"},zooplusChoice:g,discounts:m,autoshipmentApplied:x,reviewsAmount:S,reviewsRate:I,outOfStock:!f.available}}})},trackClick:e=>{(0,V.sx)({event:V.F3.CLICK,page:V.sc["PRODUCT-DETAIL"],detail:{locale:o,domain:s,siteId:n,currencyCode:P,pageLocation:d,customer:{id:N?"".concat(N):void 0},target:e}})},trackImpression:e=>{(0,V.sx)({event:V.F3.IMPRESSION,page:V.sc["PRODUCT-DETAIL"],detail:{locale:o,domain:s,siteId:n,currencyCode:P,pageLocation:d,customer:{id:N?"".concat(N):void 0},target:e}})}}};var aD=a(43049);let aL=async e=>{let{domain:t,multipackArticleIds:a,language:i}=e,{data:l}=await aD.Gt.getMultipackByArticle(t,a,i);return l};var az=a(45074),aR=a.n(az);let aU=()=>{let{activeVariantIdWithShopIdentifier:e,productDetails:t}=av(),{product:a}=t,{articleVariants:i}=a,l=(0,L.DM)(i,e);return(0,I.jsx)("div",{className:M()(aR().container,l.offers.find(e=>e.available)&&aR().hidden),children:(0,I.jsx)(K.uh,{fadeInHeight:20})})},aF=()=>{let{withAddToCartPopover:e}=av();return(0,E.A0)((0,E.A2)(E.tt))&&!e?(0,I.jsx)(tf,{}):null},aE=(e,t)=>!!(!(0,eb.C1)(t)&&e.zooplusChoice&&e.zooplusChoiceBadge&&e.zooplusChoiceDescription),aV={[aB.Rx.Exter
1nal]:"3P",[aB.Rx.Zooplus]:"1P"},aO=(e,t)=>{var a,i;let l=aN(e).price.discounts,r=(null==l?void 0:l.some(e=>"ABD"===e.type))||!1,n=(null==l?void 0:l.some(e=>"P_ABD"===e.type))||!1,s=null==l?void 0:l.find(en),o=!!s,c=!!(null==s?void 0:s.hasFirstOrderDiscount);return{article_shop_id:e.id,sku:"".concat(t,".").concat(e.variantId),variant_id:e.variantId,variant_price:(null==(a=e.offers[0].price.currentPrice)?void 0:a.value)||0,out_stock:!e.offers[0].available,isArticleBasedDiscount:r,isPersonalizedArticleBasedDiscount:n,bestPriceArticle:e.bestPriced,isAutoshipmentEligible:o,isFODEnabled:c,sellerType:aV[null==(i=e.offers[0].seller)?void 0:i.type]}},aM=()=>{let{domain:e,language:t,path:a}=(0,eP.Us)(),{activeVariantIdWithShopIdentifier:i,productDetails:l}=av(),{feedbackAggregate:r,product:n}=l,{articleVariants:s,mediaDetails:o,priceAggregate:c,shopIdentifier:d}=n,u=(0,L.DM)(s,i),p={page_URL:(0,K.js)({domain:e,language:t,path:a,shopIdentifier:d}),hasVideo:o.medias.filter(e=>e.video).length>0,currency:c.currency,product:{product_id:d,amount_prod_reviews:r.reviewCount||0,average_prod_review:r.averageRating||0},isZooplusChoice:aE(n,e),defaultVariant:aO(u,n.shopIdentifier),variants:s.map(e=>aO(e,d))};return(0,I.jsx)(K.qZ,{json:p})};var aQ=a(61390);let aJ=e=>e.find(e=>"1P"===e.type)||e[0],aW=e=>e.find(e=>"1P_ABD"===e.type),aG=async e=>{let{changeArticleQuantity:t,bundleArticle:a,quantity:i,voucherApplied:l,popover:r}=e,n=a.article.id,s=[aJ(a.articleOffers).id];return l&&(s=[aW(a.articleOffers).id]),await t({articleId:n,quantity:i,offerIds:s,popover:r})},aH={variantA:"A",variantB:"B",variantC:"C"};aH.variantA,aH.variantB,aH.variantC;let aX=async e=>{let{articleId:t,siteId:a,language:i}=e,l=await (0,tC.H4)(()=>aQ.$.getBundles(a,i,"web_pdp",t,void 0,void 0,{timeout:300}));return null==l?void 0:l.data},aZ=e=>{let t=e.product.link,a=e.product.shopIdentifier,i=e.article.variantId,l="".concat(a,".").concat(i);return"".concat(t,"&activeVariant=").concat(l)},aK=e=>{let t=e.product.name,a=e.article.name;return"".concat(t," ").concat(a)};var aq=a(45845),aY=a.n(aq);let a$=e=>{let{bundleArticles:t,selectedBundleArticles:a,appliedABD:i,withAddToCartPopover:l}=e,{t:r}=(0,Q.Bd)(),{changeArticleQuantity:n,cart:s}=(0,F.B_)(),{toggleCartDrawer:o,isCartDrawerOpen:c,addProductToCartDrawer:d}=e4(),u=(0,U.useRef)(null),[p,m]=(0,U.useState)(!1),h=(0,E.A0)((0,E.A2)(E.tt))&&!l,{trackAddToCart:v}=(e=>{var t,a,i;let{siteId:l,domain:r,locale:n}=(0,eP.Us)(),s=(0,B.Kg)(),o=null==e||null==(i=e[0])||null==(a=i.articleOffers[0])||null==(t=a.price)?void 0:t.currency,c=window.location.href;return{trackClick:e=>{(0,V.sx)({event:V.F3.CLICK,page:V.sc["PRODUCT-DETAIL"],detail:{locale:n,domain:r,siteId:l,currencyCode:o,pageLocation:c,customer:{id:s?"".concat(s):void 0},target:e}})},trackAddToCart:(e,t,a)=>{var i,o,d,u,p,m,h;let v=aJ(e.articleOffers),_=aW(e.articleOffers),g=e.articleOffers.find(e=>"1P_AUS"===e.type),b=v;a&&_&&(b=_),g&&g.id===b.id&&(b=g);let f=!!g&&b.id===g.id,x=[];_&&x.push({type:"ABD",available:!0,applied:a,value:_.price.value,percentageValue:null==(m=_.discount)?void 0:m.value}),g&&x.push({type:"SUBSCRIPTION",available:!0,applied:f,value:g.price.value,percentageValue:null==(h=g.discount)?void 0:h.value});let C=(null==(i=b.price)?void 0:i.value)||0;(0,V.sx)({event:V.F3.ADD_TO_CART,page:V.sc["PRODUCT-DETAIL"],detail:{domain:r,siteId:l,locale:n,currencyCode:null==(d=e.articleOffers[0])||null==(o=d.price)?void 0:o.currency,pageLocation:c,platform:"WEB",customer:{id:s?"".concat(s):void 0},origin:"BUNDLE",article:{sku:"".concat(e.product.shopIdentifier,".").concat(e.article.variantId),title:"".concat(e.product.name," - ").concat(e.article.name),brand:[],category:[],type:"ARTICLE",unitPrice:Number(C.toFixed(2)),quantity:t,totalPrice:Number((t*C).toFixed(2)),bestPriceArticle:!1,autoshipmentApplied:f,seller:{type:(e=>{switch(e){case"1P":default:return"FIRST_PARTY";case"3P":return"THIRD_PARTY"}})(b.type)},discounts:x,...(null==(u=e.product.badges)?void 0:u.sponsored)&&{sponsored:!0},reviewsAmount:(null==(p=e.product.feedbackAggregate)?void 0:p.reviewCount)||0}}})}}})(t),_=async()=>{m(!0);let e=t.filter(e=>
1a[e.article.id]).length,l=0;try{for(let m=0;m<t.length;m++){var r,p;let _=t[m],g=null==s||null==(r=s.articles)?void 0:r.find(e=>e.id===_.article.id),b=(null!=(p=null==g?void 0:g.quantity)?p:0)+1,f=u.current;if(!a[_.article.id]||!f)continue;m>0&&await new Promise(e=>setTimeout(e,500));let x=i[_.article.id]||!1;try{await aG({changeArticleQuantity:n,bundleArticle:_,quantity:b,voucherApplied:x,popover:h?void 0:{trigger:f}}).then(t=>{if(h){var a;let i=(l+=1)===e,r={id:null==(a=_.article)?void 0:a.id,cart:t,shouldTriggerRecommendations:i};c?d(r):o(r)}v(_,1,x)}).catch(e=>{h&&o({error:e,isOpen:!0})})}catch(e){console.error("Failed to add article ".concat(_.article.id," to cart:"),e)}}}finally{m(!1)}};return(0,I.jsx)(tY.l,{ref:u,onClick:_,withIcon:!0,isLoading:p,className:aY().button,"data-zta":"AddBundleToCart_button","aria-busy":p,children:r("shop.dynamic-bundle.add-to-cart-button")})};var a0=a(87263),a1=a(73151);let a2=e=>{var t,a;let{recommendation:i}=e,{article:l,articleOffers:r,locale:n}=i,s=aJ(r)||r[0],{unit:o}=l,{tooltip:c,price:d,unitPrice:u,referencePrice:p,secondaryCurrency:m}=s,{value:h,currency:v}=d,{locale:_}=(0,eP.Us)(),{t:g}=(0,Q.Bd)(),b=(null==u?void 0:u.labelFull)&&"".concat(null==u?void 0:u.labelFull," / ").concat(o),f=(0,a1.A)(n),x=null==m||null==(t=m.unitPrice)?void 0:t.value,C=null==m?void 0:m.price.value,P=null==m?void 0:m.price.currency,y=m?{unitPrice:(0,ai.vv)(x,f,P),currentPrice:(0,ai.vv)(C,f,P)}:void 0,w=(0,ai.xh)({text:null==c?void 0:c.text}),j=w?{label:g("price.refPriceAriaLabel"),...w,width:"sm"}:void 0,{secondaryPriceFormattedUnitPriceLabel:T}=(0,ai.fC)({unitPrice:u?(0,ai.vv)(null==u?void 0:u.value,f,v):"",unitName:o,secondaryPrice:y,unitPriceLabel:b}),S=null!=(a=null==s?void 0:s.priceType)?a:void 0,B={price:(0,eb.$g)(h,_,v),pricePrefix:null==p?void 0:p.labelFull,priceSuffix:T,secondaryCurrencyPrice:null==y?void 0:y.currentPrice,isReducedPrice:!!(null==p?void 0:p.labelFull),refPrice:void 0,tooltip:j};return(0,I.jsx)(eq.N,{textAlign:{all:"left"},size:"large",priceType:S,...B})};var a4=a(67009),a3=a.n(a4);let a6=e=>{let{size:t,src:a,alt:i,className:l,href:r}=e;if(!a||!i)return null;let{componentDataZTA:n}=(0,K.Ou)("ProductPicture");return(0,I.jsx)("div",{className:a3().container,"data-zta":n,children:r?(0,I.jsx)(em.M,{href:r,className:a3().anchor,"aria-label":i,title:i,children:(0,I.jsx)(K.it,{className:M()(a3().productPicture,l),src:a,alt:i,width:t,height:t,withLoader:!0})}):(0,I.jsx)(K.it,{className:M()(a3().productPicture,l),src:a,alt:i,width:t,height:t,withLoader:!0})})};var a5=a(63709),a7=a.n(a5);let a9=e=>{var t,a;let{className:i,recommendation:l,isFirstArticle:r,isABDApplied:n,isSelected:s,onABDToggle:o,onSelectionToggle:c,isCollapsed:d}=e,{t:u}=(0,Q.Bd)(),{getElementDataZTA:p,componentDataZTA:m}=(0,K.Ou)("BundleItem"),h=(0,U.useRef)(null),{product:v,article:_,articleOffers:g}=l,b=v.link,f=aW(g),x=null==f||null==(t=f.discount)?void 0:t.label,C=!r,P=null==(a=v.badges)?void 0:a.sponsored,y=r?void 0:aZ(l);return(0,I.jsxs)("div",{className:M()(a7().container,i),"data-zta":m,"data-shop-identifier":v.shopIdentifier,"data-article-id":_.id,"data-variant-id":_.variantId,"data-product-link":b,children:[(0,I.jsxs)("div",{className:a7().header,children:[(0,I.jsx)(Z.S,{className:a7().checkbox,"data-zta":"article-selection-checkbox","aria-label":v.name,checked:!!s,disabled:!C,onChange:()=>c(_.id),children:(0,I.jsx)("span",{className:a7().screenReaderLabel,children:v.name})}),(0,I.jsx)(a6,{className:a7().productPicture,size:400,src:v.pictureUrl,alt:aK(l),href:y},v.shopIdentifier)]}),(0,I.jsxs)("div",{className:a7().details,children:[(0,I.jsxs)(em.M,{"data-zta":p("dynamicBundleItemAnchor"),href:y,className:M()(a7().bundleItem),children:[P&&(0,I.jsx)(a0.M,{"data-zta":"disclaimer-tag",className:a7().disclaimer,text:u("general.sponsored.products")}),(0,I.jsxs)("div",{children:[(0,I.jsxs)("div",{className:M()(a7().productName),children:[r&&(0,I.jsxs)("span",{children:[u("shop.dynamic-bundle.this.item"),":"]})," ",v.name]}),(0,I.jsx)("div",{className:a7().articleName,children:_.name})]}),!d&&(0,I.jsx)(a2,{recommendation:l})]}),!!x&&!d&&(0,I.jsx)("div",{ref:h,"data-zta":"dynamicBundleItemABD",className:a7().bundleItemABD,children:(0,I.jsx)($,{label:x,isApplied:n,onToggle:()=>
1o(_.id)})})]})]})};var a8=a(84515),ie=a.n(a8);let it=e=>{let{children:t,className:a}=e,{t:i}=(0,Q.Bd)(),l=3===U.Children.count(t);return(0,I.jsx)("div",{className:M()(ie().container,a,l&&ie().tripleBundle),children:U.Children.map(t,(e,t)=>(0,I.jsxs)(U.Fragment,{children:[0!==t&&(0,I.jsx)(J.OMN,{className:ie().plusSign,"aria-label":i("dynamicBundle.plus")}),e]},t))})};var ia=a(60193),ii=a.n(ia);let il=e=>{let{price:t,secondaryPrice:a}=e,{t:i}=(0,Q.Bd)();return(0,I.jsxs)("span",{className:M()(ii().container),"data-zta":"dynamic-bundle-total-price","aria-live":"polite","aria-atomic":"true",children:[(0,I.jsx)("span",{className:ii().label,children:i("shop.dynamic-bundle.total-price")}),(0,I.jsx)(eq.N,{isReducedPrice:!0,size:"large",price:t,secondaryCurrencyPrice:a})]})};var ir=a(73097),is=a.n(ir);let io=e=>{let{children:t,className:a,isExpanded:i,setIsExpanded:l}=e,{componentDataZTA:r,getElementDataZTA:n}=(0,K.Ou)("CollapsibleContainer"),{t:s}=(0,Q.Bd)(),o=()=>{l(!i)},c=U.useId();return(0,I.jsxs)("div",{className:M()(is().container,a),"data-zta":r,children:[i?(0,I.jsx)(e9.t,{onClick:o,length:"full","data-zta":n("hide-details"),iconLeft:(0,I.jsx)(J.Ibf,{size:24,"aria-hidden":!0}),"aria-expanded":!0,"aria-controls":c,children:s("shop.dynamic-bundle.hide.details")}):(0,I.jsx)(e9.t,{onClick:o,length:"full","data-zta":n("view-details"),iconLeft:(0,I.jsx)(J.dgN,{size:24,"aria-hidden":!0}),"aria-expanded":!1,"aria-controls":c,children:s("shop.dynamic-bundle.view.details")}),(0,I.jsx)("div",{id:c,className:M()(is().content_mobileOnly,{[is().content_mobileOnly_expanded]:i}),"data-zta":n("content"),"aria-hidden":!i,children:t})]})};var ic=a(29521),id=a.n(ic);let iu=e=>{let{recommendationBundle:t,withAddToCartPopover:a}=e,{t:i}=(0,Q.Bd)(),{locale:l}=(0,eP.Us)(),[r,n]=(0,U.useState)({}),[s,o]=(0,U.useState)(!1),[c,d]=(0,U.useState)({}),u=null==t?void 0:t.bundles,p=((e,t,a,i)=>{if(!e||e.length<=1)return"";let l=null==e?void 0:e.reduce((e,t)=>{if(!a[t.article.id])return e;let l=aJ(t.articleOffers);if(i&&i[t.article.id]){let e=aW(t.articleOffers);e&&(l=e)}return e+l.price.value},0),r=e[0].articleOffers[0].price.currency;return(0,eb.$g)(l,t,r)})(u,l,r,c),m=((e,t,a,i)=>{if(!e||e.length<=1)return"";let l=e[0].articleOffers[0].secondaryCurrency;if(l){var r;let n=null==e?void 0:e.reduce((e,t)=>{var l,r;if(!a[t.article.id])return e;let n=aJ(t.articleOffers);if(i&&i[t.article.id]){let e=aW(t.articleOffers);e&&(n=e)}return e+((null==(r=n.secondaryCurrency)||null==(l=r.price)?void 0:l.value)||0)},0);return(0,eb.$g)(n,t,null==(r=l.price)?void 0:r.currency)}return""})(u,l,r,c),h=u&&u.length>1&&!!p,v=(0,K.ic)({onComponentInView:()=>{h&&(0,K.Bt)("dynamicBundleImpression",{shopIdentifier:u[0].product.shopIdentifier,articleId:u[0].article.id,variantId:u[0].article.variantId,bundle:u.slice(1).map(e=>({shopIdentifier:e.product.shopIdentifier,articleId:e.article.id,variantId:e.article.variantId}))})},dependencies:[u],shouldTrack:h});if((0,U.useEffect)(()=>{n((e=>{if(!e)return{};let t={};return e.forEach(e=>{let{article:a}=e;t[a.id]=!0}),t})(u))},[u]),!h)return null;let _=e=>{var t;t={[e]:!c[e]},d(e=>({...e,...t}))},g=e=>{n(t=>({...t,[e]:!t[e]}))};return(0,I.jsxs)("section",{className:id().container,"data-zta":"dynamic-bundle",ref:v,"aria-label":i("section.dynamicBundle"),children:[(0,I.jsx)(e7.H2,{className:id().header,children:i("shop.dynamic-bundle.header")}),(0,I.jsxs)("div",{className:id().bundleListContainer,children:[(0,I.jsx)(it,{children:u.map((e,t)=>(0,I.jsxs)("div",{children:[(0,I.jsx)(a6,{className:id().bundleItem_mobileOnly,size:60,src:e.product.pictureUrl,alt:aK(e),href:0===t?void 0:aZ(e)}),(0,I.jsx)(a9,{className:id().bundleItem_desktopOnly,onSelectionToggle:g,isSelected:r[e.article.id],recommendation:e,isFirstArticle:0===t,isABDApplied:c[e.article.id],onABDToggle:_,isCollapsed:!s})]},e.product.shopIdentifier))}),(0,I.jsxs)("div",{className:id().bundleCartButton,children:[(0,I.jsx)(il,{price:p,secondaryPrice:m}),(0,I.jsx)(a$,{bundleArticles:u,selectedBundleArticles:r,appliedABD:c,withAddToCartPopover:a})]})]}),(0,I.jsxs)(io,{isExpanded:s,setIsExpanded:o,children:[(0,I.jsx)(it,{className:id().collapsedBundle,children:u.map((e,t)=>
1(0,I.jsx)(a9,{onSelectionToggle:g,isSelected:r[e.article.id],recommendation:e,isFirstArticle:0===t,isABDApplied:c[e.article.id],onABDToggle:_},t))}),(0,I.jsxs)("div",{className:id().bundleCartButton,children:[(0,I.jsx)(il,{price:p,secondaryPrice:m}),(0,I.jsx)(a$,{bundleArticles:u,selectedBundleArticles:r,appliedABD:c,withAddToCartPopover:a})]})]})]})},ip={bundles:[{product:{shopIdentifier:161034,badges:{zooplusChoice:{active:!1,label:"Unser Favorit",description:"Kundenempfehlungen mit hervorragendem Preis-Leistungs-Verh\xe4ltnis."},sponsored:!1},name:"Trixie Weidentunnel",feedbackAggregate:{rating:4,reviewCount:124},pictureUrl:"https://shop-central-media-server-dev.shpmediad.int.aws.zooplus.io/bilder/2/400/29410_PLA_Trixie_Weidentunnel_10x26cm_2.jpg",link:"/shop/nager_kleintiere/kaefigzubehoer/tunnel_hoehlen/natur/161034?zootopia_rec=true&si=1&pn=web_pdp&pr=bundles_container_v3&strategy=apriori&pi=161034&rri=aee68480-3732-4061-8d94-6aca792721a4"},siteId:1,language:"de",locale:"de_DE",article:{id:492631,variantId:0,name:"\xd8 10 x 25 cm"},articleOffers:[{id:"1P.492631",type:"1P",price:{value:6.49,label:"6,49 €",labelFull:"bei uns 6,49 €",labelPattern:"bei uns {0}",labelPrefix:"bei uns",currency:"EUR"},referencePrice:{value:6.99,label:"6,99 €",labelFull:"UVP 6,99 €",labelPattern:"UVP {0}",labelPrefix:"UVP",currency:"EUR"}}],weight:1.257881},{product:{shopIdentifier:207164,badges:{zooplusChoice:{active:!1,label:"Unser Favorit",description:"Kundenempfehlungen mit hervorragendem Preis-Leistungs-Verh\xe4ltnis."},sponsored:!1},name:"Eck-Spielhaus",feedbackAggregate:{rating:4,reviewCount:76},pictureUrl:"https://shop-central-media-server-dev.shpmediad.int.aws.zooplus.io/bilder/3/400/38756_PLA_lucky_eckhaus_klein_3.jpg",link:"/shop/nager_kleintiere/kaefigzubehoer/schlafhaeuschen/holz/207164?zootopia_rec=true&si=1&pn=web_pdp&pr=bundles_container_v3&strategy=apriori&pi=207164&rri=7b231c56-eca5-4afd-9fa8-5deca40f0907"},siteId:1,language:"de",locale:"de_DE",article:{id:629273,variantId:0,name:"L 32 x B 21/21 x H 13 cm"},articleOffers:[{id:"1P.629273",type:"1P",price:{value:8.49,label:"8,49 €",labelFull:"8,49 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"}}],weight:1.3632276},{product:{shopIdentifier:201893,badges:{zooplusChoice:{active:!1,label:"Unser Favorit",description:"Kundenempfehlungen mit hervorragendem Preis-Leistungs-Verh\xe4ltnis."},sponsored:!1},name:"Trixie Naturgrasmatte",feedbackAggregate:{rating:4,reviewCount:56},pictureUrl:"https://shop-central-media-server-dev.shpmediad.int.aws.zooplus.io/bilder/3/400/37735_PLA_Naturgrasmatte_3.jpg",link:"/shop/nager_kleintiere/kaefigzubehoer/haengematte/201893?zootopia_rec=true&si=1&pn=web_pdp&pr=bundles_container_v3&strategy=apriori&pi=201893&rri=15dd1845-28ba-494e-9ac4-6bcd2d3ccf29"},siteId:1,language:"de",locale:"de_DE",article:{id:613376,variantId:0,name:"40 x 28"},articleOffers:[{id:"1P.613376",type:"1P",price:{value:3.99,label:"3,99 €",labelFull:"bei uns 3,99 €",labelPattern:"bei uns {0}",labelPrefix:"bei uns",currency:"EUR"},referencePrice:{value:4.49,label:"4,49 €",labelFull:"UVP 4,49 €",labelPattern:"UVP {0}",labelPrefix:"UVP",currency:"EUR"}}],weight:1.2131734}]};({...ip,bundles:null==(r=ip.bundles)?void 0:r.map((e,t)=>({...e,product:{...e.product,badges:{...e.product.badges,sponsored:1===t}}}))}),({...ip}).bundles[0].articleOffers.push({id:"1P_ABD.492631_4900379",type:"1P_ABD",discount:{type:"PERCENTAGE_DISCOUNT",label:"15%",value:15},price:{value:32.29,label:"32,29 €",labelFull:"32,29 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"},priceType:"OFFER",referencePrice:{value:37.99,label:"37,99 €",labelFull:"37,99 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"},unitPrice:{value:1.08,label:"1,08 €",labelFull:"1,08 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"}});let im=JSON.parse(JSON.stringify(ip));im.bundles[0].articleOffers.push({id:"1P_ABD.492631_4900379",type:"1P_ABD",discount:{type:"PERCENTAGE_DISCOUNT",label:"15%",value:15},price:{value:32.29,label:"32,29 €",labelFull:"32,29 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"},referencePrice:{value:37.99,label:"37,99 €",labelFull:"37,99 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"},unitPrice:{value:1.08,label:"1,08 €",labelFull:"1,08 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"}}),im.bundles[0].articleOffers.push({id:"1P_AUS.2145703",type:"1P_AUS",discount:{type:"PERCENTAGE_DISCOUNT",label:"5%",value:5},priceType:"OFFER",price:{value:32.29,label:"32,29 €",labelFull:"32,29 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"},referencePrice:{value:37.99,label:"37,99 €",labelFull:"37,99 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"},unitPrice:{value:1.08,label:"1,08 €",labelFull:"1,08 €",labelPattern:"{0}",labelPrefix:"",currency:"EUR"}});let ih=()=>{let{optimizelyDecisions:e}=(0,eP.Us)(),{isGoogleShoppingCustomer:t,variantIdFromUrl:a,activeVariantIdWithShopIdentifier:i}=av(),l=(0,E.Xf)(null!=e?e:{},E.Zv);return t&&a===i&&(0,E.A0)(l)},iv=()=>{let{activeVariantIdWithShopIdentifier:e,withAddToCartPopover:t}=av(),a=(()=>{let{siteId:e,language:t,toggles:a}=(0,eP.Us)(),{productDetails:i,activeVariantIdWithShopIdentifier:l}=av(),{product:r}=i,{articleVariants:n}=r,s=a["shop.pdp.dynamic-bundles.enabled"],o=s?i.recommendationBundleV4:void 0,[c,d]=(0,U.useState)(new Map([[l,o]]));return(0,U.useEffect)(()=>
1{if(!s)return;let a=async a=>{var i;let r=await aX({articleId:a,siteId:e,language:t});(null==r?void 0:r.bundles)&&(null==r||null==(i=r.bundles)?void 0:i.length)>1&&d(new Map(c.set(l,r)))};c.has(l)||a((0,L.DM)(n,l).id)},[l]),c})();return ih()?null:(0,I.jsx)(tC.WP,{fallbackRender:()=>(0,I.jsx)("div",{"data-zta":"dynamic-bundle-error"}),children:(0,I.jsx)(iu,{recommendationBundle:a.get(e),withAddToCartPopover:t})})};var i_=a(81519),ig=a.n(i_),ib=a(22994),ix=a.n(ib);let iC=e=>!e.video,iP=e=>{let{currency:t}=e,{language:a,domain:i,locale:l,siteId:r}=(0,eP.Us)(),{productDetails:n}=av(),{shopIdentifier:s}=n.product,o=i.split(".")[0];return(0,U.useEffect)(()=>{window.mktData={siteId:r,currency:t,locale:l,orderOrigin:(()=>{let e=z.A.get("MOBILE_APP");return e?e.toUpperCase():"SHOP5"})(),staticMediaServerUrl:"".concat(eF.Rt.REACT_APP_MEDIA_SERVER_URL,"/theme/").concat(o,"/").concat(i),dynamicMediaServerUrl:"".concat(eF.Rt.REACT_APP_MEDIA_SERVER_URL,"/theme/").concat(o,"/").concat(a),productShopIdentifier:s,fragmentType:"PRODUCT_DETAIL_PAGE"}},[]),(0,I.jsx)("script",{type:"application/javascript",src:eF.Rt.REACT_APP_PIXEL_EXECUTOR_URL,defer:!0})},iy=(e,t)=>"https://www.".concat(t).concat(e.product.groupPath),iw=e=>e.includes("bitiba"),ij={l:{unitCode:"LTR",unitText:"liter"},kg:{unitCode:"KGM",unitText:"kg"},piece:{unitCode:"PCE",unitText:"piece"}},iT=["size_per_unit","colour","material","pet_size"],iS={size:"https://schema.org/size",flavour:"https://schema.org/flavor",colour:"https://schema.org/color",material:"https://schema.org/material",pet_size:"https://schema.org/size"},iI=["size_per_unit","colour","material","flavour","pet_size"];a(16661);let iB=()=>{var e;let t,{uri:a,realm:i,domain:l,locale:r,language:n,toggles:s}=(0,eP.Us)(),{productDetails:o}=av(),{t:c}=(0,Q.Bd)(),{settings:d,metaInfo:u,categories:p,product:m}=o,{groupId:h,priceAggregate:v,shopIdentifier:_}=m,g=[eF.Rt.EXTERNAL_SCRIPT_LOADER_URL],b=s["shop.pdp.markdown.enabled"]?((e,t)=>{let a=((e,t)=>{if(e)return e.startsWith("/")?"https://www.".concat(t).concat(e):e})(e,t);return a?"".concat(a.replace(/\/$/,""),".md"):void 0})(null==u?void 0:u.canonical,l):void 0;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(N.QM,{protocol:a.protocol,domain:l,realm:i,title:null!=(e=null==u?void 0:u.pageTitle)?e:m.title,locale:r,canonical:null==u?void 0:u.canonical,scriptUrls:g}),(0,I.jsxs)(ig(),{children:[(null==u?void 0:u.description)&&(0,I.jsx)("meta",{name:"Description",property:"og:description",content:null==u?void 0:u.description}),(null==u?void 0:u.robots)&&(0,I.jsx)("meta",{name:"Robots",content:null==u?void 0:u.robots}),b&&(0,I.jsx)("link",{rel:"alternate",type:"text/markdown",href:b}),(t=p.petTypeProductGroupId,(0,I.jsx)("meta",{name:"application-name",content:"shop","data-pg-id":h,"data-pet-type-pg-id":t})),(0,I.jsx)("meta",{property:"og:image",content:o.product.mediaDetails.medias.filter(iC).map(e=>{let{detail:t}=e;return t})[0]})]}),(0,I.jsx)("script",{id:"script-google-seo-metadata",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(((e,t,a)=>({"@context":"https://schema.org","@graph":[(e=>({"@type":"Organization","@id":"https://www.".concat(e,"/#organization"),name:iw(e)?"Bitiba":"Zooplus",url:"https://www.".concat(e,"/")}))(t),(e=>({"@type":"OnlineStore","@id":"https://www.".concat(e,"/#onlinestore"),name:e,url:"https://www.".concat(e,"/"),parentOrganization:{"@id":"https://www.".concat(e,"/#organization")},hasMemberProgram:{"@id":iw(e)?"https://www.".concat(e,"/info/about/subscription#memberprogram"):"https://www.".concat(e,"/zooclub/overview#memberprogram")}}))(t),(e=>iw(e)?{"@type":"MemberProgram","@id":"https://www.".concat(e,"/info/about/subscription#memberprogram"),name:"Autoshipment",url:"https://www.".concat(e,"/info/about/subscription"),hasTiers:[{"@type":"MemberProgramTier","@id":"https://www.".concat(e,"/info/about/subscription#tier-autoshipment"),name:"Autoshipment"}]}:{"@type":"MemberProgram","@id":"https://www.".concat(e,"/zooclub/overview#memberprogram"),name:"zooclub",url:"https://www.".concat(e,"/zooclub/overview"),hasTiers:[{"@type":"MemberProgramTier","@id":"https://www.".concat(e,"/zooclub/overview#tier-standard"),name:"Standard",hasTierBenefit:["https://schema.org/TierBenefitLoyaltyPoints"]}]})(t),((e,t)=>{let a=iy(e,t);return{"@type":"WebPage","@id":"".concat(a,"#webpage"),url:"".concat(a),name:e.product.title,inLanguage:e.sites.locale,breadcrumb:{"@id":"".concat(a,"#breadcrumb")},mainEntity:{"@id":"".concat(a,"#productgroup")}}})(e,t),((e,t)=>{let a=iy(e,t),i=e.categories.breadcrumbs.map(e=>({"@type":"ListItem",position:e.level,name:e.title,item:"https://www.".concat(t).concat(e.path)}));return i.push({"@type":"ListItem",position:i.length+1,name:e.product.title,item:"".concat(a)}),{"@type":"BreadcrumbList","@id":"".concat(a,"#breadcrumb"),itemListElement:i}})(e,t),((e,t,a)=>{var i;return{"@type":"ProductGroup","@id":"".concat(iy(e,t),"#productgroup"),productGroupID:e.product.shopIdentifier,name:e.product.title,de
1scription:e.product.summary,image:e.product.mediaDetails.medias.map(e=>null==e?void 0:e.detail),url:iy(e,t),mainEntityOfPage:{"@id":"".concat(iy(e,t),"#webpage")},brand:(()=>{var a;let i=null==(a=e.product.brands)?void 0:a[0];return i?{"@type":"Brand","@id":"https://www.".concat(t,"/#brand-").concat((i||"").toLowerCase().replace(/\s+/g,"-")),name:i||""}:void 0})(),category:null==(i=e.categories.breadcrumbs[2])?void 0:i.title,variesBy:(e=>{let t=e.product.articleVariants;return iI.filter(e=>t.every(t=>{var a;return null==(a=t.facets)?void 0:a.some(t=>{let a;return a=t.name,iI.find(e=>a.includes(e))===e})})).map(e=>{let t="size_per_unit"===e||"pet_size"===e?"size":e;return iS[t]||"https://schema.org/".concat(t)})})(e),...e.feedbackAggregate.reviewCount&&{aggregateRating:{"@type":"AggregateRating",bestRating:5,worstRating:1,ratingValue:Math.round(e.feedbackAggregate.averageRating||0),reviewCount:e.feedbackAggregate.reviewCount,ratingCount:e.feedbackAggregate.reviewCount}},...e.reviews&&e.reviews.length>0&&{review:(e=>e.reviews?e.reviews.map(e=>({"@type":"Review",...{author:{"@type":"Person",name:e.name||"[Anonymous User]"}},datePublished:e.date,reviewBody:e.text,name:e.title,reviewRating:{"@type":"Rating",bestRating:5,worstRating:1,ratingValue:e.rating}})):[])(e)},hasVariant:(()=>{let i=iT.filter(t=>e.product.articleVariants.every(e=>{var a;return null==(a=e.facets)?void 0:a.some(e=>e.name.includes(t))})),l=new Set;return e.product.articleVariants.map(r=>{let n=l.has(r.ean);return l.add(r.ean),((e,t,a,i,l,r)=>{var n,s,o,c,d,u,p;let m="".concat(t.product.shopIdentifier,".").concat(e.variantId),h=e.offers[0],v=null==(n=h.price.discounts)?void 0:n.find(e=>"ABD"===e.type),_=v?v.discountedPriceRaw:null==(s=h.price.currentPrice)?void 0:s.value,g=l||[],b=["animal_product_type","product_class","3p_product_type"],f={};null==(o=e.facets)||o.forEach(e=>{let t=g.find(t=>e.name.includes(t));if(t){var a,i;let l=(null==(a=e.valuesLocalized)?void 0:a[0])||(null==(i=e.values)?void 0:i[0]);l&&(f[t]=l)}});let x=(null==(c=e.facets)?void 0:c.filter(e=>!g.includes(e.name)&&!b.includes(e.name)))||[];return{"@type":"Product","@id":"".concat(iy(t,a),"?activeVariant=").concat(m,"#product"),isVariantOf:{"@id":"".concat(iy(t,a),"#productgroup")},gtin13:r?void 0:e.ean,url:"".concat(iy(t,a),"?activeVariant=").concat(m),sku:m,...f.size_per_unit?{size:f.size_per_unit}:f.pet_size?{size:f.pet_size}:{},...f.colour&&{color:f.colour},...f.material&&{material:f.material},...x.length>0&&{additionalProperty:x.map(e=>{let t=e.valuesLocalized.some(e=>e&&""!==e.trim());return{"@type":"PropertyValue",name:"".concat(e.name," assortment"),value:(()=>{let a=t?e.valuesLocalized:e.values;return 1===a.length?a[0]:a})()}})},image:null!=(u=null==e||null==(d=e.pictures)?void 0:d[0].detail)?u:"",name:t.product.title+" "+e.description,description:t.product.description,brand:(()=>{var i,l;let r=(null==e||null==(i=e.brands)?void 0:i[0])||(null==(l=t.product.brands)?void 0:l[0]);return r?{"@id":"https://www.".concat(a,"/#brand-").concat((r||"").toLowerCase().replace(/\s+/g,"-"))}:void 0})(),offers:{"@type":"Offer",url:"".concat(iy(t,a),"?activeVariant=").concat(m),itemCondition:"https://schema.org/NewCondition",seller:{"@id":"https://www.".concat(a,"/#onlinestore")},availability:"https://schema.org/".concat(e.offers[0].available?"InStock":"OutOfStock"),price:_,priceCurrency:h.price.currency,priceValidUntil:(null==i?void 0:i.priceValidUntil)&&(p=i.priceValidUntil,new Date(Date.now()+864e5*parseInt(p)).toISOString()),priceSpecification:((e,t)=>{var a,i,l,r,n;let s=e.offers[0],o=null==(a=s.price.discounts)?void 0:a.find(e=>"ABD"===e.type),c=[],d=(e=>{var t,a;return(null==(a=e.offers[0])||null==(t=a.seller)?void 0:t.type)!==aB.Rx.External})(e),u=!iw(t),p=d?null==(i=s.price.discounts)?void 0:i.find(e=>"AUTOSHIPMENT"===e.type):void 0;if(c.push({"@type":"UnitPriceSpecification",priceType:o?"https://schema.org/StrikethroughPrice":"https://schema.org/SalePrice",price:null==(l=s.price.currentPrice)?void 0:l.value,priceCurrency:s.price.currency}),o&&c.push({"@type":"UnitPriceSpecification",priceType:"https://schema.org/SalePrice",price:o.discountedPriceRaw,priceCurrency:s.price.currency}),p&&c.push({"@type":"UnitPriceSpecification",price:p.discountedPriceRaw,priceCurrency:s.price.currency,validForMemberTier:{"@id":"https://www.".concat(t,"/autoshipment/central-hub"),"@type":"MemberProgramTier",name:"autoshipment"}}),d&&u){let e=o?o.discountedPriceRaw:null==(n=s.price.currentPrice)?void 0:n.value;c.push({"@type":"UnitPriceSpecification",price:e,priceCurrency:s.price.currency,validForMemberTier:{"@type":"MemberProgramTier","@id":"https://www.".concat(t,"/zooclub/overview#tier-standard")},...s.bonusPointsEarned&&{membershipPointsEarned:s.bonusPointsEarned}})}if(!o&&s.price.referencePrice&&c.push({"@type":"UnitPriceSpecification",price:s.price.referencePrice.value,priceCurrency:s.price.currency,priceType:"https://schema.org/ListPrice"}),null==(r=s.unit)?void 0:r.unitPrice){let e=s.unit.unitNameRaw&&ij[s.unit.unitNameRaw];c.push({"@type":"UnitPriceSpecification",priceType:"https://schema.org/UnitPrice",price:s.unit.unitPriceRaw,priceCurrency:s.price.currency,referenceQuantity:{"@type":"QuantitativeValue",value:1,unitCode:e&&e.unitCode},unitText:e&&e.unitText})}return c})(e,a),hasMerchantReturnPolicy:{"@type":"MerchantReturnPolicy",applicableCountry:t.sites.countryCode,returnPolicyCategory:"https://schema.org/MerchantReturnFiniteReturnWindow",merchantReturnDays:null==i?void 0:i.merchantReturnDays,returnMethod:"https://schema.org/ReturnByMail",returnFees:"https://schema.org/FreeReturn",refundType:"https://schema.org/FullRefund"},shippingDetails:((e,t,a)=>({"@type":"OfferShippingDetails",description:null==t?void 0:t.shippingDetailsDescription,shippingRate:{"@type":"MonetaryAmount",value:null==t?void 0:t.shippingRate,currency:a}
1,shippingDestination:{"@type":"DefinedRegion",addressCountry:e.sites.countryCode},deliveryTime:{"@type":"ShippingDeliveryTime",handlingTime:{"@type":"QuantitativeValue",minValue:null==t?void 0:t.handlingTimeMin,maxValue:null==t?void 0:t.handlingTimeMax,unitCode:"DAY"},transitTime:{"@type":"QuantitativeValue",minValue:null==t?void 0:t.transitTimeMin,maxValue:null==t?void 0:t.transitTimeMax,unitCode:"DAY"}}}))(t,i,e.offers[0].price.currency)}}})(r,e,t,a,i,n)})})()}})(e,t,a)]}))(o,l,{merchantReturnDays:d["shop.pdp.gshopping.merchant-return-days"],priceValidUntil:d["shop.pdp.seo.price-valid-until"],handlingTimeMin:d["shop.pdp.seo.handling-time.min"],handlingTimeMax:d["shop.pdp.seo.handling-time.max"],shippingRate:d["shop.pdp.seo.shipping-rate"],transitTimeMin:d["shop.pdp.seo.transit-time.min"],transitTimeMax:d["shop.pdp.seo.transit-time.max"],shippingDetailsDescription:c("seo.shippingdetails.description")}))}}),(0,I.jsx)(ix(),{id:"script-zootopia-meta-pdp",type:"text/javascript",dangerouslySetInnerHTML:{__html:(0,eY.lp)(o.sites.siteId,"PRODUCT",eY.re.PDP,_,h,n)}}),(0,I.jsx)(iP,{currency:v.currency})]})};var iA=a(41929);function iN(){return(iN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(null,arguments)}let ik=function(e){return U.createElement("svg",iN({width:18,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=U.createElement("path",{d:"M9.071 7.083L7.865 4.016a1.008 1.008 0 00-.941-.631c-.417 0-.791.25-.941.631L4.777 7.083c-.176.447-.537.8-.994.972L.646 9.235a.987.987 0 00-.646.92c0 .408.257.773.646.92l3.137 1.18c.457.171.818.524.994.971l1.206 3.067c.15.38.524.632.94.632.418 0 .792-.252.942-.632l1.206-3.067c.176-.447.537-.8.994-.972l3.137-1.18a.987.987 0 00.646-.92.987.987 0 00-.646-.92l-3.137-1.179a1.712 1.712 0 01-.994-.972zM15.612 1.85L15.008.315a.504.504 0 00-.47-.316.504.504 0 00-.47.316l-.604 1.533a.856.856 0 01-.497.486l-1.568.59a.493.493 0 00-.323.46c0 .204.128.387.323.46l1.568.59c.229.086.41.262.497.486l.604 1.533c.074.19.261.316.47.316a.504.504 0 00.47-.316l.604-1.533a.856.856 0 01.497-.486l1.568-.59a.493.493 0 00.323-.46.493.493 0 00-.323-.46l-1.568-.59a.856.856 0 01-.497-.486z",fill:"#237803"})))};var iD=a(44109),iL=a.n(iD);let iz=e=>{let{onClick:t}=e,{t:a}=(0,Q.Bd)();return(0,I.jsx)("div",{className:iL().container,children:(0,I.jsx)(iA.Z,{icon:(0,I.jsx)(ik,{"aria-hidden":"true"}),inputType:"radio",label:a("shop.chatbot.cta.label"),onClick:t,selected:!0,className:iL().chatbotChip})})},iR=e=>{let{onClick:t,className:a}=e,{isEligible:i,isFloatingButtonEnabled:l}=(0,tw.p)();return!i||l?null:(0,I.jsx)("div",{className:a,children:(0,I.jsx)(iz,{onClick:t})})},iU=(0,U.createContext)({}),iF=()=>(0,U.useContext)(iU),iE=e=>{let{tabsItems:t,children:a}=e,i=t[0].id,l=(0,U.useRef)(!1),[r,n]=(0,U.useState)(i),[s,o]=(0,U.useState)(!1),[c,d]=(0,U.useState)(!1),u=(0,U.useCallback)(e=>{let t=document.getElementById("".concat(e,"-header"));(0,tj.MN)(t,{topOffset:15})},[]),p=(0,U.useCallback)((e,t)=>{s||o(!0),e===r&&c?c&&!t&&d(!1):(n(e||i),d(!0)),u(e)},[i,s,c,u,r]);return(0,U.useEffect)(()=>{if(l.current)return;let e=(e=>{var t,a;let i=null==(t=window.location.hash)?void 0:t.replace("#","").toLowerCase();if(i)return null==(a=e.find(e=>e.id===i))?void 0:a.id})(t);if(!e){window.location.hash||(l.current=!0);return}l.current=!0,n(e),d(!0),u(e)},[t,u]),(0,I.jsx)(iU.Provider,{value:{tabsItems:t,hasUserSelectedTab:s,selectedTab:r,isSelectedTabOpen:c,selectTab:p,scrollToTab:u},children:a})};var iV=a(70522),iO=a.n(iV);let iM=e=>{let{is3PVariant:t,deliveryDateMin:a,deliveryDateMax:i}=e,{t:l}=(0,Q.Bd)(),[r,n]=(0,U.useState)(!1),{toggleSellerDrawer:s}=aw(),o=()=>{n(!r),(0,K.ZZ)(!r)};return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{"data-zta":"productDeliveryInfo",className:iO().container,children:[(0,I.jsx)(J.yjt,{className:iO().icon,"aria-hidden":!0}),(0,I.jsxs)("span",{children:[(0,I.jsxs)("span",{"data-zta":"deliveryDetails",children:[l("expectedDeliveryDate.text",{0:a,1:i})," "]}),(0,I.jsx)(em.M,{className:iO().anchor,"data-zta":"deliveryMoreInfo",onClick:e=>{e.preventDefault(),t?s():o()},href:"#",children:l("expectedDeliveryDate.link")})]})]}),(0,I.jsx)(K.HD,{show:r,handleClose:o,heading:l("expectedDeliveryDate.dialog.title"),text:l("expectedDeliveryDate.dialog"),closeButtonLabel:l("general.button.close")})]})};var iQ=a(98888),iJ=a.n(iQ);let iW=e=>{let{is3PVariant:t}=e,{t:a}=(0,Q.Bd)(),{domain:i,locale:l}=(0,eP.Us)(),{toggleSellerDrawer:r}=aw(),n=((e,t)=>{let a="";
1return(null==e?void 0:e.endsWith(".ch"))&&"fr-CH"===t&&(a="/fr"),a+"/info/about/shippingcosts"})(i,l);return(0,I.jsx)("div",{className:M()(iJ().container),"data-zta":"productPriceInfo",children:(0,I.jsxs)("span",{children:[a("general.price.allPricesWithTax"),(0,I.jsx)(Q.x6,{i18nKey:"general.info.additional.shippingcosts",components:{a:(0,I.jsx)(em.M,{className:iJ().anchor,"data-zta":"shippingCosts",href:n,target:"_blank",onClick:e=>{if(e.preventDefault(),t)r();else{var a;null==(a=window.open(n,"_blank"))||a.focus()}}}),b:(0,I.jsx)("b",{})}})]})})};var iG=a(11134),iH=a.n(iG);let iX=e=>{let{is3PVariant:t}=e,{domain:a,settings:i,locale:l}=(0,eP.Us)(),{t:r}=(0,Q.Bd)(),{toggleSellerDrawer:n}=aw();return(0,eb.C1)(a)?null:(0,I.jsxs)("div",{className:iH().container,children:[(0,I.jsx)(J.x0Q,{className:iH().icon,"aria-hidden":!0}),(0,I.jsxs)("span",{children:[(0,I.jsxs)("span",{children:[r("variant.returnpolicy.label")," "]}),(0,I.jsx)(em.M,{onClick:e=>{if(e.preventDefault(),t)n();else{var a;null==(a=window.open(null==i?void 0:i["variant.returnpolicy.url".concat("fr-CH"===l?"_fr":"")],"_blank"))||a.focus()}},className:iH().anchor,"data-zta":"returnPolicy",href:"#",children:r("expectedDeliveryDate.link")})]})]})};var iZ=a(59900),iK=a.n(iZ);let iq=()=>{var e;let{settings:t}=(0,eP.Us)(),{productDetails:a,activeVariantIdWithShopIdentifier:i}=av(),{product:l,sellersDetails:r}=a,{articleVariants:n}=l,s=aN((0,L.DM)(n,i)),o=!!aA(null==(e=s.seller)?void 0:e.id,r),c=s&&s.deliveryDays?""+s.deliveryDays.min:t["shop.expected_delivery_date.min"],d=s&&s.deliveryDays?""+s.deliveryDays.max:t["shop.expected_delivery_date.max"];return(0,I.jsxs)("div",{"data-zta":"additionalCostsInfo",className:iK().container,children:[(0,I.jsx)(iM,{is3PVariant:o,deliveryDateMin:c,deliveryDateMax:d}),(0,I.jsx)(iX,{is3PVariant:o}),(0,I.jsx)(iW,{is3PVariant:o})]})};var iY=a(40550);let i$=e=>{let t=e.mediaDetails.medias.find(e=>!1===e.video);if(t)return t.thumbnail},i0=(e,t)=>{var a,i,l,r;return(null==t||null==(i=t.pictures)||null==(a=i[0])?void 0:a.thumbnail)?null==t||null==(r=t.pictures)||null==(l=r[0])?void 0:l.thumbnail:i$(e)||void 0};var i1=a(46700),i2=a.n(i1);let i4=e=>{let{description:t,activeVariantIdWithShopIdentifier:a,thumbnailUrl:i}=e;return(0,I.jsxs)("div",{className:i2().variantWrapper,children:[i&&(0,I.jsx)(tX(),{src:i,alt:t,width:32,height:32}),(0,I.jsxs)("span",{className:i2().variantDescriptionWrapper,children:[(0,I.jsx)("span",{"data-zta":"variant-description",className:i2().variantDescription,children:t}),(0,I.jsx)("span",{"data-zta":"variant-id",className:i2().variantId,children:a})]})]})},i3=e=>{var t,a,i,l,r,n,s;let{deliveryMethod:o,priceSize:c,showAutoshipmentPrice:d=!0,useBaseUnitPriceLabel:u=!1}=e,{t:p}=(0,Q.Bd)(),{domain:m}=(0,eP.Us)(),{isGoogleShoppingCustomer:h,productDetails:v,activeVariantIdWithShopIdentifier:_,variantIdStoredInCookie:g,variantIdFromUrl:b}=av(),{isDiscountApplied:f}=eu(),{product:x}=v,{articleVariants:C}=x,P=(0,L.DM)(C,_),y=aN(P),{price:w,secondaryPrice:j,unit:T,priceDirective:S,priceType:B}=y,A=null==(t=y.price.discounts)?void 0:t.find(er),N=null==(a=y.price.discounts)?void 0:a.find(en),k=el(h&&(b===_||g===_)),D=f(null==A?void 0:A.offerId),z=D&&k.isDiscountedPriceShown?null==A?void 0:A.discountedPriceLabel:"",R=(0,L.vl)(j),U=()=>{var e;return k.isCurrentPriceShown&&z&&D?(0,L.Tm)(j)||"":(null==j||null==(e=j.currentPrice)?void 0:e.label)||""},F=(0,ai.xh)({text:null==S?void 0:S.tooltipText,position:"top-left",width:"md"}),E=F?{label:p("price.refPriceAriaLabel"),...F,width:"sm"}:void 0,{secondaryPriceFormattedUnitPriceLabel:V}=(0,ai.fC)({unitPrice:null==T?void 0:T.unitPrice,unitName:null==T?void 0:T.unitName,secondaryPrice:j&&{unitPrice:null==T?void 0:T.secondaryUnitPrice,currentPrice:U()},unitPriceLabel:(()=>{var e,t;if(u)return(0,L.K0)(null==(t=y.unit)?void 0:t.unitPriceLabel);let a=es(y.price.discounts),i="single"===o?null==a?void 0:a.filter(e=>!en(e)):a,l=null==i?void 0:i.find(e=>f(e.offerId));return(0,L.K0)(l?l.discountedUnitPriceLabel:null==(e=y.unit)?void 0:e.unitPriceLabel)})()}),O=(0,ai.Tt)(null==(i=w.referencePrice)?void 0:i.label,null==S?void 0:S.discountPercentageLabel),M=O&&(null==(l=w.referencePrice)?void 0:l.prefix)?{label:null==(r=w.referencePrice)?void 0:r.prefix,...O}:void 0,J=(()=>
1{if(k.isStrikedOutPriceShown&&z&&D){var e;return null==(e=w.currentPrice)?void 0:e.label}})(),W={priceSuffix:V,pricePrefix:null==(n=w.referencePrice)?void 0:n.labelFull,isReducedPrice:!!(null==(s=w.referencePrice)?void 0:s.labelFull)||!!J,tooltip:E,priceType:B,previousPrice:J},G=P.whileStockLasts&&(0,I.jsx)("span",{"data-zta":"while-stock-lasts",className:"z-p2 z-text--warning while-stock-lasts",children:p("general.whileStocksLast")});return(0,I.jsx)(eq.N,{price:(()=>{var e;return k.isCurrentPriceShown&&z&&D?z:(null==(e=w.currentPrice)?void 0:e.label)||""})(),size:c,secondaryCurrencyPrice:U(),"aria-live":"polite",textAlign:"single"===o&&!1===d?{all:"right"}:{all:"left"},autoshipmentPrice:(()=>{if(!d)return;let e=(null==N?void 0:N.discountedPriceLabel)||"";R&&(e+=" (".concat(R,")"));let t={amount:e,label:p("autoshipment.icon.alt")};return"autoshipment"===o?{...t,hideMainPrice:!0}:(0,eb.C1)(m)&&e?{...t,hideMainPrice:!1}:void 0})(),refPrice:M,...W,children:G})};var i6=a(21864),i5=a.n(i6);let i7=e=>{let{variant:t,deliveryMethod:a,thumbnailUrl:i}=e,{componentDataZTA:l,getElementDataZTA:r}=(0,K.Ou)("MobileArticleSelectionBoxTrigger");return(0,I.jsxs)("div",{className:i5().variantWrapper,"data-zta":"mobile-article-selection-box-trigger","data-hopps":l,children:[i&&(0,I.jsx)(tX(),{src:i,alt:t.description||"",width:50,height:50,"data-zta":r("Thumbnail")}),(0,I.jsxs)("div",{className:i5().variantDescriptionWrapper,"data-zta":r("DescriptionWrapper"),children:[(0,I.jsx)("span",{"data-zta":r("Description"),className:i5().variantDescription,children:t.description}),(0,I.jsx)("div",{"data-zta":r("Price"),children:(0,I.jsx)(i3,{deliveryMethod:a,priceSize:"large"})})]})]})};var i9=a(6856),i8=a.n(i9);let le=e=>{let{variantABD:t,description:a,isAvailable:i,thumbnailUrl:l}=e,{t:r}=(0,Q.Bd)(),n=t&&i;return(0,I.jsxs)("div",{"data-zta":"product-variant-description",className:i8().variantDescriptionWrapper,children:[l&&(0,I.jsx)(K.it,{"data-zta":"product-variant-thumbnail",src:l,width:50,height:50,alt:a,priority:!0,format:"webp"}),(0,I.jsxs)("span",{children:[(0,I.jsx)("span",{"data-zta":"variantDescription",className:i8().description,children:a}),(0,I.jsxs)("span",{className:i8().infoTagList,children:[n&&(0,I.jsx)(ee.L,{"data-zta":"discount-tag",variant:"brand-light",label:r("shop.product.article.discount.relative.label",{0:t.label})}),!i&&(0,I.jsx)(ee.L,{"data-zta":"stock-reminder-tag",variant:"info",className:i8().stockReminderTag,icon:(0,I.jsx)(J.IrQ,{}),label:r("product.details.stockreminder.notavailable")})]})]})]})};var lt=a(68992),la=a.n(lt);let li=e=>{var t,a,i,l,r,n,s,o,c,d;let{variant:u,isFirstVariant:p}=e,{componentDataZTA:m,getElementDataZTA:h}=(0,K.Ou)("Variant"),{t:v}=(0,Q.Bd)(),{productDetails:_,setActiveVariant:g,activeVariantIdWithShopIdentifier:b}=av(),{articleVariants:f,shopIdentifier:x}=_.product,C=null==(t=u.offers[0].price.discounts)?void 0:t.find(e=>"P_ABD"===e.type||"ABD"===e.type),P=(0,L.DM)(f,b),y=(null==P?void 0:P.id)===u.id,w=aN(u),{price:j,secondaryPrice:T,unit:S,priceDirective:B,priceType:A}=w,N=null==(a=w.price.discounts)?void 0:a.find(en),k=(null==N?void 0:N.discountedPriceLabel)?{amount:null==N?void 0:N.discountedPriceLabel,label:v("autoshipment.variant.list.label")}:void 0,D=()=>{g("".concat(x,".").concat(u.variantId))},z=u.whileStockLasts&&(0,I.jsx)("span",{"data-zta":"while-stock-lasts",className:M()(la().whileStockLasts,"z-p2 z-text--warning while-stock-lasts"),children:v("general.whileStocksLast")}),{secondaryPriceFormattedUnitPriceLabel:R}=(0,ai.fC)({unitPrice:null==S?void 0:S.unitPrice,unitName:null==S?void 0:S.unitName,secondaryPrice:T&&{unitPrice:null==S?void 0:S.secondaryUnitPrice,currentPrice:null==T||null==(i=T.currentPrice)?void 0:i.label},unitPriceLabel:null==S?void 0:S.unitPriceLabel}),U=(0,ai.Tt)(null==(l=j.referencePrice)?void 0:l.label,(null==B?void 0:B.discountPercentageLabel)||""),F=U&&(null==(r=j.referencePrice)?void 0:r.prefix)?{label:null==(n=j.referencePrice)?void 0:n.prefix,...U}:void 0,E=(0,ai.xh)({text:null==B?void 0:B.tooltipText,position:p?"bottom-right":"top-right",width:"md"}),V=E?{label:v("price.refPriceAriaLabel"),...E,width:"sm"}:void 0,O={price:(null==(s=j.currentPrice)?void 0:s.label)||"",priceSuffix:R,pricePrefix:null==(o=j.referencePrice)?void 0:o.labelFull,secondaryCurrencyPrice:null==T||null==(c=T.currentPrice)?void 0:c.label,isReducedPrice:!!(null==(d=j.referencePrice)?void 0:d.labelFull),autoshipmentPrice:k,tooltip:V};return(0,I.jsxs)("div",{tabIndex:0,className:M()(la().variant,!w.available&&la().variantUnavailable),"data-zta":"product-variant","data-hopps":m,"data-variant-id":u.id,onClick:D,onKeyDown:e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),D())},children:[(0,I.jsx)("div",{className:M()(la().variantCell,y&&la().activeVariant),"data-zta":h("Description"),children:(0,I.jsx)(le,{thumbnailUrl:i0(_.product,u),variantABD:C,description:u.description,isAvailable:!!w.available})}),(0,I.jsx)("div",{className:M()(la().variantCell,y&&la().activeVariant,la().variantCellPrice),"data-zta":h("Price"),children:(0,I.jsx)(eq.N,{className:M()(la().variantPrice),refPrice:F,size:"large",priceType:A,...O,children:z})})]})};var ll=a(94324),lr=a.n(ll);let ln=e=>{let{variants:t}=e;return(0,I.jsx)("div",{className:lr().variantList,"data-zta":"product-variant-list",children:t.map((e,t)=>(0,I.jsx)(li,{variant:e,isFirstVariant:0===t},e.id))})};var ls=a(62364),lo=a.n(ls);let lc=e=>{let{deliveryMethod:t="single"}=e,{t:a}=(0,Q.Bd)(),[i,l]=(0,U.useState)(!1),{productDetails:r,activeVariantIdWithShopIdentifier:n}=av(),{domain:s,locale:o,siteId:c}=(0,eP.Us)(),d=(0,E.On)(E.CK,V.sc["PRODUCT-DETAIL"],s,o,c),u=(0,E.A0)(d),p=(0,E.On)(E.ve,V.sc["PRODUCT-DETAIL"],s,o,c),m=(0,E.A0)(p),{articleVariants:h,brands:v}=r.product,_=(0,L.DM)(h,n),{brands:g}=_,b=(e=>!!e&&e.some(eW))(h),f=i0(r.product,_),x=(0,I.jsx)(i4,{thumbnailUrl:f,description:_.description||"",activeVariantIdWithShopIdentifier:n}),C=m?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("div",{className:lo().desktopTrigger,children:x}),(0,I.jsx)("div",{className:lo().mobileTrigger,children:(0,I.jsx)(i7,{variant:_,deliveryMethod:t,thumbnailUrl:f},n)})]}):x,P=h.length>1?"".concat(a("variant.list.article.label")," (").concat(a("variant.list.article.count",{count:h.length}),")"):"";return(0,I.jsxs)("div",{"data-zta":"article-selection",className:lo().articleSelectionBox,children:[(0,I.jsxs)("div",{"data-zta":"title-area",className:lo().titleArea,children:[(0,I.jsx)("div",{"data-zta":"article-label",className:lo().title,children:P}),!!h.find(e=>{var t;let a=aN(e),i=a.available,l=null==(t=a.price.discounts)?void 0:t.find(er);return!!i&&!!l})&&h.length>1&&(0,I.jsx)(ee.L,{variant:"brand-light","data-zta":"discount-notifier",label:a("variant.selection.discountPresenceIndicator")})]}),(0,I.jsx)(iY.r,{className:M()(1===h.length&&lo().singleArticle,m&&lo().mobileVariantSelectionEnabledDropdownMenu),"data-zta":"article-selection-box-menu",onClick:()=>h.length>1&&void l(!i),onClose:()=>l(!1),onOpen:()=>void(l(!0),(0,K.Bt)("onOpenVariantListDropDown",{activeVariant:_,variants:h,brands:(null==g?void 0:g.length)?g:v})),triggerLabel:C,isOpen:i,breakpoint:"md",children:h.length>1&&(0,I.jsxs)("div",{className:M()(lo().dropdown,u&&lo().dropdownMobileStickyPadding),children:[(0,I.jsxs)("div",{className:lo().dropdownHeader,"data-zta":"article-selection-title-area",children:[(0,I.jsx)("div",{className:lo().title,children:P}),(0,I.jsx)(J.FBV,{size:16,className:lo().crossIcon,onClick:()=>l(!i)})]}),(0,I.jsxs)("div",{className:lo().dropdownBody,children:[b&&(0,I.jsx)(eO,{}),(0,I.jsx)(ln,{variants:h})]})]})})]})};var ld=a(58400);function lu(){return(lu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(null,arguments)}let lp=function(e){return U.createElement("svg",lu({width:52,height:52,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.26 20.748l-2.496-2.496a2.491 2.491 0 01-.728-1.768v-2.93a7.494 7.494 0 00-7.497-7.496h-2.93c-.658 0-1.3-.26-1.767-.728l-2.496-2.496a7.49 7.49 0 00-10.6 0L18.25 5.33c-.468.468-1.1.728-1.768.728h-2.93c-4.133 0-7.487 3.354-7.487 7.497v2.93c0 .658-.26 1.3-.728 1.767L2.84 20.748a7.517 7.517 0 000 10.608l2.496 2.496c.468.468.728 1.1.728 1.768v2.93c0 4.142 3.354 7.496 7.488 7.496h2.93c.658 0 1.3.26 1.767.728l2.496 2.496a7.49 7.49 0 0010.6 0l2.496-2.496a2.491 2.491 0 011.768-.728h2.929a7.5 7.5 0 007.497-7.496v-2.93c0-.658.26-1.3.728-1.768l2.496-2.496c2.929-2.93 2.929-7.679 0-10.6",fill:"#F3EAFF"})),o||(o=U.createElement("path",{d:"M33.72 17.61a6.356 6.356 0 001.005-3.448 3.947 3.947 0 00-3.943-3.944 6.403 6.403 0 00-4.931 2.314 6.403 6.403 0 00-4.931-2.314 3.947 3.947 0 00-3.944 3.944c0 1.273.373 2.452 1.006 3.449h-2.488a2.963 2.963 0 00-2.964 2.964 2.963 2.963 0 002.964 2.964h8.884v-5.92h-.988a3.447 3.447 0 01-3.45-3.449c0-.546.442-.988.988-.988a3.447 3.447 0 013.45 3.45v.987h2.963v-.988a3.447 3.447 0 013.45-3.449c.546 0 .988.442.988.988a3.447 3.447 0 01-3.45 3.45h-.988v5.919h8.884a2.963 2.963 0 002.964-2.964 2.963 2.963 0 00-2.964-2.964H33.72zM27.324 38.333h5.92a4.435 4.435 0 004.437-4.437v-7.402H27.324v11.839zM14.012 33.887a4.435 4.435 0 004.438 4.437h5.919V26.486H14.012v7.4z",fill:"#5E1C94"})),c||(c=U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.802 12.775l-.667-.
1668a.67.67 0 01-.19-.467v-.78c0-1.101-.894-1.994-1.994-2.002h-.78a.642.642 0 01-.468-.2l-.668-.667a1.998 1.998 0 00-2.825 0l-.667.667a.67.67 0 01-.468.19h-.78c-1.1 0-1.994.894-1.994 1.994v.78c0 .174-.069.347-.199.468l-.667.668c-.78.78-.78 2.045 0 2.825l.667.667a.67.67 0 01.19.468v.78c0 1.1.893 1.993 1.994 2.002h.78c.173 0 .347.07.468.2l.668.667c.78.78 2.045.78 2.825 0l.667-.668a.67.67 0 01.468-.19h.78c1.1 0 1.993-.893 1.993-1.994v-.78c0-.173.07-.346.2-.468l.667-.667c.78-.78.78-2.045 0-2.825z",fill:"#A55FDC"})),d||(d=U.createElement("path",{d:"M45.143 10.513c-.208-.425-.815-.425-1.014 0l-.815 1.69a.26.26 0 01-.208.147l-1.872.243a.565.565 0 00-.312.97l1.37 1.292c.069.06.095.156.078.243l-.347 1.837a.564.564 0 00.823.598l1.664-.893a.276.276 0 01.26 0l1.655.893c.417.225.91-.13.824-.598l-.338-1.837a.279.279 0 01.078-.243l1.37-1.291a.566.566 0 00-.313-.971l-1.872-.243a.28.28 0 01-.208-.147l-.815-1.69h-.008z",fill:"#fff"})),u||(u=U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M43.617 24.224l-.467-.468a.474.474 0 01-.14-.33v-.546c0-.771-.623-1.395-1.395-1.395h-.546a.473.473 0 01-.329-.139l-.468-.468a1.397 1.397 0 00-1.976 0l-.468.468a.473.473 0 01-.33.139h-.545c-.772 0-1.396.624-1.396 1.395v.546a.474.474 0 01-.138.33l-.468.468a1.397 1.397 0 000 1.976l.468.468a.474.474 0 01.139.329v.546c0 .771.623 1.395 1.395 1.395h.546c.121 0 .242.052.33.139l.467.468c.546.546 1.43.546 1.976 0l.468-.468a.473.473 0 01.33-.139h.545c.772 0 1.396-.624 1.396-1.395v-.546c0-.122.052-.243.139-.33l.468-.468a1.397 1.397 0 000-1.976z",fill:"#A55FDC"})),p||(p=U.createElement("path",{d:"M39.657 22.646c-.147-.294-.572-.294-.71 0l-.564 1.179c-.026.06-.078.095-.148.104l-1.308.173a.392.392 0 00-.217.676l.953.902s.07.112.061.173l-.234 1.283c-.06.329.286.572.572.416l1.162-.624a.193.193 0 01.182 0l1.16.624a.391.391 0 00.573-.416l-.243-1.283c0-.06 0-.13.052-.173l.953-.902a.394.394 0 00-.216-.676l-1.309-.173c-.06 0-.121-.052-.147-.104l-.572-1.179z",fill:"#fff"})))};function lm(){return(lm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(null,arguments)}let lh=function(e){return U.createElement("svg",lm({width:52,height:52,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),m||(m=U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.26 20.756l-2.496-2.495a2.491 2.491 0 01-.728-1.768v-2.93c0-4.142-3.354-7.496-7.488-7.496h-2.93c-.658 0-1.3-.26-1.768-.728l-2.496-2.496c-2.93-2.93-7.67-2.93-10.59 0l-2.496 2.496c-.468.468-1.101.728-1.768.728h-2.93c-4.134 0-7.488 3.354-7.488 7.496v2.93c0 .658-.26 1.3-.728 1.768l-2.496 2.495c-2.93 2.93-2.93 7.68-.008 10.6l2.496 2.496c.468.468.728 1.1.728 1.768v2.93c0 4.142 3.354 7.496 7.488 7.496h2.929c.659 0 1.3.26 1.768.728l2.496 2.496c2.93 2.93 7.67 2.93 10.59 0l2.497-2.496a2.491 2.491 0 011.768-.728h2.929c4.134 0 7.488-3.354 7.488-7.497v-2.93c0-.658.26-1.3.728-1.767l2.496-2.496a7.49 7.49 0 000-10.6",fill:"#F3EAFF"})),h||(h=U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.269 15.383l-.667-.667a.67.67 0 01-.191-.468v-.78c0-1.1-.893-1.993-1.993-1.993h-.78a.642.642 0 01-.468-.2l-.668-.667a1.988 1.988 0 00-2.816 0l-.668.667a.67.67 0 01-.468.19h-.78c-1.1 0-1.993.893-1.993 1.994v.78c0 .173-.07.347-.2.468l-.667.667c-.78.78-.78 2.037 0 2.817l.668.668a.67.67 0 01.19.467v.78c0 1.101.893 1.994 1.994 1.994h.78c.173 0 .346.07.468.2l.667.666c.78.78 2.037.78 2.817 0l.667-.667a.67.67 0 01.468-.19h.78c1.1 0 1.993-.893 1.993-1.994v-.78c0-.173.07-.347.2-.468l.667-.667c.78-.78.78-2.037 0-2.817z",fill:"#A55FDC"})),v||(v=U.createElement("path",{d:"M35.61 13.121a.563.563 0 00-1.014 0l-.815 1.69a.28.28 0 01-.208.148L31.7 15.2a.558.558 0 00-.312.962l1.36 1.283c.07.06.096.156.079.242l-.347 1.838c-.087.468.407.814.823.598l1.656-.893a.26.26 0 01.25 0l1.656.893c.408.225.91-.13.824-.598l-.338-1.837a.279.279 0 01.078-.243l1.36-1.283a.558.558 0 00-.312-.962l-1.872-.242a.281.281 0 01-.208-.148l-.806-1.69h.018z",fill:"#fff"})),_||(_=U.createElement("path",{d:"M20.183 33.965a2.634 2.634 0 00-2.635 2.634 2.634 2.634 0 002.635 2.635 2.634 2.634 0 002.635-2.635 2.634 2.634 0 00-2.635-2.634zM32.056 33.965a2.633 2.633 0 00-2.634 2.634 2.633 2.633 0 002.634 2.635 2.634 2.634 0 002.635-2.635 2.634 2.634 0 00-2.635-2.634zM37.75 24.319l-.884.884a2.642 2.642 0 01-3.735 0l-.884-.884a.886.886 0 00-.624-.26h-1.031a2.648 2.648 0 01-2.644-2.644v-1.031a.886.886 0 00-.26-.624l-.884-.884a2.521 2.521 0 01-.52-.745h-9.611l-.2-1.205a3.302 3.302 0 00-3.25-2.756h-.961a1.317 1.317 0 100 2.635h.962a.66.66 0 01.65.554l1.993 11.977a3.962 3.962 0 003.9 3.311h13.399a3.948 3.948 0 003.882-3.206l1.04-5.34a.87.87 0 00-.364.218h.026z",fill:"#5E1C94"})))};function lv(){return(lv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(null,arguments)}let l_=function(e){return U.createElement("svg",lv({width:52,height:52,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),g||(g=U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.26 20.748l-2.496-2.496a2.491 2.491 0 01-.728-1.768v-2.93c0-4.142-3.354-7.496-7.488-7.496h-2.93c-.658 0-1.3-.26-1.768-.728l-2.496-2.496c-2.93-2.92-7.67-2.92-10.59.009l-2.496 2.496c-.468.468-1.101.728-1.768.728h-2.93c-4.134 0-7.488 3.354-7.488 7.496v2.93c0 .667-.26 1.3-.728 1.768l-2.496 2.496c-2.93 2.92-2.93 7.67-.008 10.599l2.496 2.496c.468.468.728 1.1.728 1.768v2.93c0 4.142 3.354 7.496 7.488 7.496h2.929c.659 0 1.3.26 1.768.728l2.496 2.496c2.93 2.93 7.67 2.93 10.59 0l2.497-2.496a2.491 2.491 0 011.768-.728h2.929c4.134 0 7.488-3.354 7.488-7.497v-2.93c0-.666.26-1.299.728-1.767l2.496-2.496c2.93-2.93 2.93-7.679 0-10.6",fill:"#F3EAFF"})),b||(b=U.createElement("path",{d:"M26.154 9.542a6.778 6.778 0 00-6.777 6.786 6.778 6.778 0 1013.555 0 6.778 6.778 0 00-6.778-6.786zM26.154 24.613c-5.772 0-10.192 3.458-11.986 8.312-.511 1.386-.164 2.756.65 3.726.798.945 2.02 1.526 3.346 1.526h15.98c1.318 0 2.549-.581 3.346-1.526.815-.97 1.17-2.34.65-3.726-1.794-4.854-6.214-8.312-11.986-8.312z",fill:"#5E1C94"})),f||(f=U.createElement("path",{d:"M12.608 20.783l1.378.667a.45.45 0 01.19.19l.694 1.361a.423.423 0 00.754 0l.667-1.378a.45.45 0 01.191-.19l1.36-.694a.423.423 0 000-.754l-1.377-.667a.45.45 0 01-.19-.19l-.694-1.361a.423.423 0 00-.754 0l-.668 1.378a.45.45 0 01-.19.19l-1.36.694a.423.423 0 000 .754zM37.43 17.723l1.092.538c.069.034.12.086.147.147l.555 1.083c.13.243.476.243.598 0l.537-1.092a.304.304 0 01.147-.147l1.084-.555c.242-.13.242-.476 0-.598l-1.092-.537a.304.304 0 01-.148-.147l-.554-1.084c-.13-.242-.477-.242-.598 0l-.538 1.092a.303.303 0 01-.147.148l-1.083.554c-.243.13-.243.477 0 .598zM34.856 23.495l.77 1.552c.122.251.478.251.608 0l.77-1.552a.304.304 0 01.148-.147l1.552-.771c.25-.122.25-.477 0-.607l-1.552-.771a.303.303 0 01-.147-.148l-.771-1.551c-.122-.251-.477-.251-.607 0l-.771 1.551a.304.304 0 01-.148.148l-1.551.771c-.251.121-.251.477 0 .607l1.551.771c.07.035.122.087.148.147z",fill:"#A55FDC"})))};var lg=a(32884),lb=a.n(lg);let lf=e=>{let{isOpen:t,onClose:a}=e,{t:i}=(0,Q.Bd)(),l=(0,U.useId)();return(0,I.jsxs)(ef.FQ,{size:"md",closeBtnAriaLabel:i("zooPoints.button.close"),heading:i("zooPoints.modal.title"),onClose:a,className:lb().container,"data-zta":"zoopoints-modal",portalId:l,isOpen:t,children:[(0,I.jsx)(ef.cw,{className:lb().modalBody,children:(0,I.jsxs)("div",{className:lb().content,children:[(0,I.jsxs)("div",{className:lb().step,children:[(0,I.jsx)("div",{className:lb().iconContainer,children:(0,I.jsx)("div",{className:lb().starContainer,children:(0,I.jsx)(l_,{})})}),(0,I.jsxs)("div",{className:lb().stepContent,children:[(0,I.jsx)(eK.P1,{className:lb().stepTitle,children:i("zooPoints.signUp.title")}),(0,I.jsx)(eK.P1,{className:lb().stepDescription,children:i("zooPoints.signUp.description")})]})]}),(0,I.jsxs)("div",{className:lb().step,children:[(0,I.jsx)("div",{className:lb().iconContainer,children:(0,I.jsx)("div",{className:lb().starContainer,children:(0,I.jsx)(lh,{})})}),(0,I.jsxs)("div",{className:lb().stepContent,children:[(0,I.jsx)(eK.P1,{className:lb().stepTitle,children:i("zooPoints.shop.title")}),(0,I.jsx)(eK.P1,{className:lb().stepDescription,children:i("zooPoints.shop.description")})]})]}),(0,I.jsxs)("div",{className:lb().step,children:[(0,I.jsx)("div",{className:lb().iconContainer,children:(0,I.jsx)("div",{className:lb().starContainer,children:(0,I.jsx)(lp,{})})}),(0,I.jsxs)("div",{className:lb().stepContent,children:[(0,I.jsx)(eK.P1,{className:lb().stepTitle,children:i("zooPoints.rewards.title")}),(0,I.jsxs)(eK.P1,{className:lb().stepDescription,children:[i("zooPoints.rewards.description.part1")," "]}),(0,I.jsx)(em.M,{href:"/account/bonuspoints/overview",target:"_blank",isBold:!0,underline:!0,rel:"noopener noreferrer",children:i("zooPoints.rewards.shop")})," ",(0,I.jsx)(eK.P1,{className:lb().stepDescription,children:i("zooPoints.rewards.description.part2")})]})]})]})}),(0,I.jsx)(ef.jl,{className:lb().onlyDesktop,children:(0,I.jsx)(ef._8,{onClick:a,children:i("general.button.close")})})]})};var lx=a(2471),lC=a.n(lx);function lP(){return(lP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(null,arguments)}let ly=function(e){return U.createElement("svg",lP({width:21,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),x||(x=U.createElement("g",{clipPath:"url(#PointsIcon_svg__clip0_13611_52079)"},U.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.047 7.921l-.981-.981a.982.982 0 01-.288-.694v-1.15a2.945 2.945 0 00-2.945-2.945h-1.15a.982.982 0 01-.694-.288l-.981-.981a2.944 2.944 0 00-4.164 0l
1-.982.981a.982.982 0 01-.694.288h-1.15a2.944 2.944 0 00-2.945 2.945v1.15c0 .26-.103.51-.287.694l-.982.981a2.945 2.945 0 000 4.165l.982.981a.982.982 0 01.287.694v1.15a2.944 2.944 0 002.945 2.945h1.15c.26 0 .51.103.694.287l.982.982a2.944 2.944 0 004.164 0l.981-.982a.983.983 0 01.694-.287h1.15a2.945 2.945 0 002.945-2.945v-1.15c0-.26.104-.51.288-.694l.981-.981a2.945 2.945 0 000-4.165z",fill:"#A55FDC"}),U.createElement("path",{d:"M11.689 4.582a.832.832 0 00-1.5 0L8.99 7.076a.395.395 0 01-.307.222l-2.76.361a.83.83 0 00-.464 1.426l2.016 1.9a.4.4 0 01.118.363l-.505 2.712c-.13.695.606 1.21 1.214.883l2.449-1.32a.397.397 0 01.378 0l2.449 1.32c.607.327 1.343-.188 1.213-.883l-.505-2.712a.399.399 0 01.118-.363l2.016-1.9a.83.83 0 00-.463-1.426l-2.761-.361a.398.398 0 01-.307-.222L11.69 4.582h-.003z",fill:"#fff"}))),C||(C=U.createElement("defs",null,U.createElement("clipPath",{id:"PointsIcon_svg__clip0_13611_52079"},U.createElement("path",{fill:"#fff",transform:"translate(.93)",d:"M0 0h20v20H0z"})))))},lw=e=>{let{points:t}=e,{t:a}=(0,Q.Bd)(),{componentDataZTA:i,getElementDataZTA:l}=(0,K.Ou)("BonusPoints"),{productDetails:{product:{shopIdentifier:r}},activeVariantIdWithShopIdentifier:n}=av(),[s,o]=(0,U.useState)(!1);return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{"data-zta":i,className:lC().bonusPoints,children:[(0,I.jsx)("div",{className:lC().icon,"aria-hidden":"true",children:(0,I.jsx)("div",{className:lC().starContainer,children:(0,I.jsx)(ly,{})})}),(0,I.jsx)(eK.P1,{className:lC().text,children:a("bonusPoint.text.title",{0:t})}),(0,I.jsx)(ld.K,{ariaLabel:a("bonusPoints.learnMore"),variant:"ghost",size:"medium","data-zta":l("InfoButton"),onClick:()=>{(0,K.Bt)("onZooPointsInfoOpen",{activeVariant:n,shopIdentifier:r,points:t}),o(!0)},children:(0,I.jsx)(J.d0w,{"aria-hidden":!0})})]}),(0,I.jsx)(lf,{isOpen:s,onClose:()=>{(0,K.Bt)("onZooPointsInfoClose",{activeVariant:n,shopIdentifier:r,points:t}),o(!1)},shopIdentifier:r,activeVariantIdWithShopIdentifier:n})]})};var lj=a(58621),lT=a(1844),lS=a.n(lT);let lI=(0,lj.u)(e=>{let{isPredecessor:t}=e;return!!t})(()=>{var e,t,a;let{setActiveVariant:i,activeVariantIdWithShopIdentifier:l,productDetails:r}=av(),{siteId:n,domain:s,locale:o}=(0,eP.Us)(),{product:c}=r,{articleVariants:d,shopIdentifier:u,title:p,priceAggregate:m}=c,{currency:h}=m,v=(0,L.DM)(d,l),{t:_}=(0,Q.Bd)(),g=window.location.href,b=d.find(e=>{var t;return e.id===(null==v||null==(t=v.successor)?void 0:t.articleId)});return v?(0,I.jsx)("button",{onClick:e=>{var t;e.preventDefault(),i("".concat(u,".").concat(null==v||null==(t=v.successor)?void 0:t.variantId));let a=(0,B.Kg)();(0,V.sx)({event:V.F3.CLICK,page:V.sc["PRODUCT-DETAIL"],detail:{locale:o,domain:s,siteId:n,currencyCode:h,pageLocation:g,platform:"WEB",customer:{id:a?"".concat(a):void 0},target:{name:"d2v_component",id:"d2v_component_".concat(l)}}})},className:lS().container,children:(0,I.jsxs)("div",{className:lS().productCard,children:[(0,I.jsx)(eK.P1,{bold:!0,children:_("pdp.d2v.newer.version.notice")}),(0,I.jsxs)("div",{className:lS().product,children:[(0,I.jsxs)("div",{className:lS().title,children:[(0,I.jsx)(K.it,{width:50,height:50,format:"webp",src:i0(c,b),alt:null==b||null==(e=b.pictures)?void 0:e[0].title}),(0,I.jsxs)(eK.P1,{children:[p," - ",null==b?void 0:b.description]})]}),(0,I.jsx)("div",{children:(0,I.jsx)(eq.N,{className:lS().price,price:null==b||null==(t=b.offers[0].price.currentPrice)?void 0:t.label,priceSuffix:null==b||null==(a=b.offers[0].unit)?void 0:a.unitPriceLabel,size:"large"})})]})]})}):null});var lB=a(61843),lA=a.n(lB);function lN(){return(lN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(null,arguments)}let lk=function(e){return U.createElement("svg",lN({width:100,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),P||(P=U.createElement("g",{clipPath:"url(#ZPOGLogo_svg__clip0_3829_365803)"},U.createElement("path",{d:"M49.78 7.151c-.054-1.138-.12-2.278-.608-3.41-.684-1.573-2.19-2.622-4.258-3.123-1.292-.312-2.555-.326-3.81-.357-2.7-.068-5.572-.114-8.27-.142-2.451-.026-12.981-.04-15.59-.012-2.443.024-4.886.064-7.33.124-1.36.033-2.736.123-4.117.261-2.02.205-4.023 1.368-4.79 2.895a7.053 7.053
10 00-.659 2.241 18.955 18.955 0 00-.021 4.555c.074.671.234 1.347.48 2.013.604 1.621 2.635 2.962 4.762 3.225 1.498.181 2.992.29 4.464.324 4.895.109 9.787.163 14.68.163 4.892 0 10.37-.054 15.263-.163a39.24 39.24 0 004.464-.33c2.076-.288 3.579-1.301 4.441-2.842.31-.558.592-1.152.687-1.73.204-1.23.27-2.462.212-3.692z",fill:"#237803"}),U.createElement("path",{d:"M8.993 9.617a.684.684 0 00-.213-.02c-.734.034-1.469.05-2.204.05a.074.074 0 01-.057-.12c.789-.995 1.612-2.014 2.373-2.944.178-.218.273-.412.258-.703-.009-.16-.018-.32-.029-.48a.623.623 0 00-.539-.557 21.564 21.564 0 00-3.781-.007.78.78 0 00-.43.166c-.182.15-.258.368-.275.65-.02.327.038.553.272.677a.666.666 0 00.34.071c.606-.026 1.212-.04 1.817-.041.09 0 .14.105.083.176a207.9 207.9 0 01-2.35 2.88c-.178.205-.272.42-.256.7l.03.477a.63.63 0 00.542.557c1.373.132 2.747.133 4.12.003a.753.753 0 00.252-.066c.283-.136.332-.395.35-.756.025-.37.018-.624-.303-.713zM44.146 7.443c-.22-.05-.44-.1-.659-.152-.648-.156-.853-.276-.852-.576.002-.334.37-.538 1.056-.532.389.003.774.083 1.17.194.438.122.611.025.688-.47.076-.407-.098-.772-.541-.962-.377-.162-.816-.259-1.407-.264-1.741-.016-2.87.892-2.9 2.083-.023.993.58 1.585 1.677 1.844.22.051.44.1.659.152.67.158.853.287.852.61-.003.322-.336.492-1.102.487-.527-.003-1.09-.136-1.654-.308-.444-.136-.574.034-.564.524.01.437.028.722.438.915.503.239 1.242.37 1.9.373 1.776.01 2.895-.86 2.926-2.078.026-1.023-.555-1.575-1.687-1.838v-.002zM33.694 9.891a.33.33 0 00-.137-.074.41.41 0 00-.157-.012.837.837 0 00-.113.023.696.696 0 01-.114.02.288.288 0 01-.138-.019.226.226 0 01-.11-.102.622.622 0 01-.066-.212 2.266 2.266 0 01-.02-.347c0-1.829.006-3.886-.01-5.716-.004-.688-.296-1.056-1.022-.938-.348.044-.581.148-.719.4a.809.809 0 00-.093.366 131.703 131.703 0 00-.02 5.832c0 .16.001.319.005.478.012.532.086.938.356 1.259.27.318.661.523 1.177.509.147-.004.278-.024.393-.056a1.254 1.254 0 00.841-.7.983.983 0 00.069-.351.566.566 0 00-.03-.217.361.361 0 00-.093-.144v.001zM27.69 4.68a2.408 2.408 0 00-1.67.635c-.015.015-.03.03-.053.025-.02-.005-.027-.02-.03-.035-.08-.399-.302-.458-.745-.43-.366.022-.63.132-.784.407a.87.87 0 00-.104.391 93.031 93.031 0 00.011 7.22.734.734 0 00.064.278c.138.3.406.338.796.37.42.035.722-.004.887-.32a.804.804 0 00.086-.387c-.006-.39-.01-1.14-.015-1.53a.13.13 0 01.173-.125c.3.102.655.179 1.017.177 1.874-.01 2.98-1.312 2.952-3.453-.027-1.93-1.015-3.19-2.585-3.222zm-.657 5.134a1.397 1.397 0 01-.428-.082.726.726 0 01-.464-.62 26.25 26.25 0 01-.003-2.048.72.72 0 01.37-.573c.238-.134.508-.214.76-.213.725.017 1.112.617 1.125 1.658-.006 1.18-.494 1.887-1.36 1.878z",fill:"#fff"}),U.createElement("path",{d:"M10.405 5.564c-1.22 1.22-1.22 3.69 0 4.91 1.219 1.219 3.69 1.219 4.91 0 1.218-1.22 1.218-3.69 0-4.91-1.22-1.22-3.691-1.22-4.91 0zm3.05 4.068a1.56 1.56 0 01-1.199.003c-1.242-.515-1.446-1.992-.614-2.824.367-.367.86-.532 1.34-.495.076.005.116.09.073.155a.984.984 0 00-.11.864.932.932 0 00.593.592c.321.105.63.048.866-.11a.098.098 0 01.154.074c.052.692-.314 1.411-1.102 1.741h-.001z",fill:"#fff"}),U.createElement("path",{d:"M17.747 5.564c-1.22 1.22-1.22 3.69 0 4.91 1.219 1.219 3.69 1.219 4.909 0 1.22-1.22 1.22-3.69 0-4.91-1.22-1.22-3.69-1.22-4.91 0zm3.05 4.068a1.56 1.56 0 01-1.199.003c-1.242-.515-1.447-1.992-.614-2.824.367-.367.86-.532 1.34-.495.076.005.116.09.073.155a.984.984 0 00-.11.864.932.932 0 00.593.592c.321.105.63.048.866-.11a.098.098 0 01.153.074c.053.692-.313 1.411-1.101 1.741h-.001zM39.856 5.421c-.154-.375-.447-.547-.89-.572-.45-.025-.73.114-.866.488a.824.824 0 00-.046.289c.018 1.122.023 2.244.017 3.366a.683.683 0 01-.384.612c-.231.11-.476.159-.7.145-.631-.039-.912-.365-.915-1.263-.002-.978.004-1.955.02-2.933a.81.81 0 00-.07-.351c-.14-.303-.42-.371-.82-.352-.445.02-.747.191-.902.57a.829.829 0 00-.058.277 47.653 47.653 0 00-.053 2.922c.025 1.762.803 2.692 2.219 2.732a2.765 2.765 0 001.727-.578.068.068 0 01.102.023c.156.288.341.397.716.397.416 0 .745-.014.898-.358a.74.74 0 00.06-.263c.078-1.624.08-3.248.004-4.872a.849.849 0 00-.06-.278z",fill:"#fff"}))),y||(y=U.createElement("path",{d:"M56.885 11.116c-.751 0-1.411-.158
1-1.98-.474a3.402 3.402 0 01-1.326-1.347c-.309-.576-.463-1.246-.463-2.01 0-.576.088-1.099.263-1.57.183-.47.439-.873.769-1.21a3.356 3.356 0 011.2-.768 4.16 4.16 0 011.537-.274c.75 0 1.407.158 1.968.474.568.316 1.01.761 1.326 1.337.316.568.474 1.238.474 2.01 0 .576-.091 1.098-.274 1.569-.175.47-.431.877-.768 1.22a3.37 3.37 0 01-1.19.78 4.306 4.306 0 01-1.536.263zm0-1.621c.371 0 .687-.088.947-.263.26-.176.46-.428.6-.758.14-.33.21-.727.21-1.19 0-.695-.154-1.235-.463-1.62-.309-.387-.74-.58-1.294-.58-.365 0-.681.088-.948.263-.26.169-.46.418-.6.748-.14.323-.21.719-.21 1.19 0 .694.154 1.238.463 1.63.308.387.74.58 1.294.58zm5.743 1.6c-.309 0-.547-.081-.716-.242-.161-.162-.242-.397-.242-.706V6.663c0-.302.077-.533.232-.695.161-.161.39-.242.684-.242.295 0 .52.081.674.242.154.162.231.393.231.695v.432h-.105c.07-.421.25-.755.537-1 .294-.246.66-.376 1.094-.39.204-.007.355.046.453.158.105.105.162.305.169.6 0 .253-.053.453-.158.6-.106.148-.306.235-.6.263l-.242.021c-.372.035-.642.14-.81.316-.17.169-.254.421-.254.758v1.726c0 .31-.08.544-.242.706-.161.161-.396.242-.705.242zm4.533 0c-.295 0-.523-.088-.685-.263-.161-.176-.242-.429-.242-.758V6.747c0-.33.081-.582.242-.758.162-.175.39-.263.685-.263.301 0 .533.088.694.263.169.176.253.429.253.758v3.327c0 .33-.08.582-.242.758-.162.175-.397.263-.705.263zm0-6.116c-.33 0-.586-.077-.769-.232-.175-.154-.263-.379-.263-.673 0-.288.088-.51.263-.663.183-.155.439-.232.769-.232.343 0 .603.077.779.232.175.154.263.375.263.663 0 .294-.088.519-.263.673-.176.155-.436.232-.78.232zm4.602 8.031c-.386 0-.747-.027-1.084-.084a3.866 3.866 0 01-.874-.22c-.203-.07-.347-.173-.431-.306a.71.71 0 01-.116-.421.857.857 0 01.116-.4.692.692 0 01.305-.263.584.584 0 01.421.01c.309.127.59.207.842.242.253.043.467.064.642.064.428 0 .748-.092.958-.274.218-.176.326-.453.326-.832v-.663h.085c-.106.295-.32.537-.642.726a2.104 2.104 0 01-1.053.274c-.463 0-.867-.105-1.21-.316a2.257 2.257 0 01-.811-.905c-.19-.386-.284-.838-.284-1.358 0-.393.056-.747.168-1.063.112-.316.267-.586.463-.81.204-.225.446-.397.727-.516a2.33 2.33 0 01.947-.19c.393 0 .744.091 1.053.274.315.182.526.421.631.716l-.105.431v-.463c0-.302.08-.533.242-.695.169-.161.4-.242.695-.242.294 0 .52.081.674.242.16.162.242.393.242.695v3.642c0 .899-.253 1.572-.758 2.021-.506.457-1.228.684-2.169.684zm.074-3.526a1 1 0 00.537-.137c.147-.098.263-.235.347-.41.084-.183.126-.4.126-.653 0-.379-.09-.673-.273-.884-.183-.21-.428-.316-.737-.316a.96.96 0 00-.884.558c-.078.176-.116.39-.116.642 0 .38.091.674.274.884.182.211.424.316.726.316zm4.873 1.61c-.294 0-.522-.087-.684-.262-.161-.176-.242-.429-.242-.758V6.747c0-.33.08-.582.242-.758.162-.175.39-.263.684-.263.302 0 .534.088.695.263.168.176.253.429.253.758v3.327c0 .33-.081.582-.242.758-.162.175-.397.263-.706.263zm0-6.115c-.33 0-.586-.077-.768-.232-.175-.154-.263-.379-.263-.673 0-.288.087-.51.263-.663.182-.155.439-.232.768-.232.344 0 .604.077.78.232.175.154.263.375.263.663 0 .294-.088.519-.264.673-.175.155-.435.232-.779.232zm2.96 6.116c-.294 0-.522-.081-.683-.242-.162-.162-.242-.397-.242-.706V6.663c0-.302.077-.533.231-.695.162-.161.39-.242.684-.242.295 0 .52.081.674.242.154.162.232.393.232.695v.495l-.116-.432a1.78 1.78 0 01.716-.758 2.173 2.173 0 011.073-.263c.414 0 .755.081 1.021.242.267.155.467.4.6.737.134.33.2.748.2 1.253v2.21c0 .31-.08.544-.242.706-.161.161-.393.242-.694.242-.302 0-.534-.081-.695-.242-.162-.162-.242-.397-.242-.706V8.011c0-.316-.056-.54-.169-.674-.105-.133-.263-.2-.473-.2-.281 0-.506.091-.674.274-.168.175-.253.414-.253.715v2.021c0 .632-.316.948-.947.948zm7.258.02c-.4 0-.754-.073-1.063-.22a1.825 1.825 0 01-.716-.6 1.588 1.588 0 01-.252-.884c0-.38.098-.678.294-.895.197-.218.513-.372.948-.463.435-.099 1.014-.148 1.737-.148h.578v.884h-.578a3.11 3.11 0 00-.685.064c-.175.035-.305.094-.39.179a.394.394 0 00-.125.305c0 .161.056.295.168.4.12.105.288.158.505.158.176 0 .33-.039.463-.116a.91.91 0 00.337-.316.923.923 0 00.127-.484V7.758c0-.253-.067-.432-.2-.537-.127-.105-.348-.158-.664-.158-.168 0-.358.021-.568.063-.21.035-.446.102-.705.2-.19.07-.351.081-.484.032a.624.624 0 01-.316-.253.755.755 0 01-.105-.39.782.782 0 01.136-.4.877.877 0 01.41-.294c.338-.126.647-.21.927-.253.288-.042.551-.063.79-.063.575 0 1.049.084 1.42.253.38.161.
166.414.843.758.19.337.284.772.284 1.305v2.126c0 .31-.074.544-.221.706-.147.161-.361.242-.642.242-.288 0-.509-.081-.663-.242-.148-.162-.221-.397-.221-.706v-.273l.063.147a1.23 1.23 0 01-.242.579 1.279 1.279 0 01-.495.379 1.68 1.68 0 01-.695.137zm6.151 0c-.673 0-1.172-.178-1.494-.536-.316-.365-.474-.912-.474-1.642V4.432c0-.31.08-.544.242-.706.162-.161.39-.242.684-.242.302 0 .534.08.695.242.168.162.253.397.253.706v4.442c0 .26.049.449.147.568a.51.51 0 00.4.18c.05 0 .098-.004.147-.011.056-.015.116-.025.18-.032.119 0 .206.046.263.137.063.091.094.277.094.558 0 .245-.049.431-.147.558-.098.119-.25.196-.453.231l-.242.032a2.228 2.228 0 01-.295.02zm3.703 0c-.308 0-.624-.024-.947-.073a3.009 3.009 0 01-.863-.242.776.776 0 01-.38-.284.736.736 0 01-.105-.38.699.699 0 01.116-.357.584.584 0 01.716-.221c.295.105.558.182.79.231.238.043.466.064.684.064.26 0 .445-.035.558-.106.112-.077.168-.175.168-.294a.281.281 0 00-.116-.242.647.647 0 00-.305-.116l-1.168-.19c-.436-.077-.772-.235-1.01-.473-.24-.246-.359-.565-.359-.958 0-.365.102-.678.305-.937.211-.267.495-.47.853-.61a3.324 3.324 0 011.253-.222c.316 0 .603.025.863.074.26.042.512.123.758.242a.612.612 0 01.326.274c.063.119.088.245.074.379a.777.777 0 01-.137.358.553.553 0 01-.295.22.756.756 0 01-.442-.03 4.46 4.46 0 00-.621-.201 2.124 2.124 0 00-.495-.063c-.287 0-.49.038-.61.116-.12.077-.18.175-.18.294 0 .092.032.169.096.232a.575.575 0 00.294.116l1.169.2c.449.07.793.224 1.031.463.246.232.369.547.369.947 0 .569-.218 1.01-.653 1.327-.435.308-1.014.463-1.737.463z",fill:"#278403"})),w||(w=U.createElement("defs",null,U.createElement("clipPath",{id:"ZPOGLogo_svg__clip0_3829_365803"},U.createElement("path",{fill:"#fff",d:"M0 0h50v16H0z"})))))},lD=(0,lj.u)(e=>{let{savingsAmount:t}=e;return!!t})(e=>{let{savingsAmount:t,currency:a}=e,{t:i}=(0,Q.Bd)(),{locale:l,domain:r,siteId:n}=(0,eP.Us)(),s=(0,E.On)(E.A6,V.sc["PRODUCT-DETAIL"],r,l,n),o=(0,E.A0)(s);if(!t||!o)return null;let c=(0,ai.vv)(t,l,a);return(0,I.jsxs)("div",{className:lA().obfPrice,"data-zta":"obf-price-advantage",children:[(0,I.jsxs)("div",{className:lA().content,children:[t<1?(0,I.jsx)("p",{className:lA().title,children:i("pdp.obf.price.advantage.title.cents",{0:Math.round(100*t)})}):(0,I.jsx)("p",{className:lA().title,children:i("pdp.obf.price.advantage.title",{0:c})}),(0,I.jsx)("p",{className:lA().subtitle,children:i("pdp.obf.price.advantage.subtitle")})]}),(0,I.jsx)(lk,{className:lA().logo,"aria-label":"zooplus Originals"})]})});var lL=a(68504),lz=a(34159),lR=a(60262);function lU(){return(lU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(null,arguments)}let lF=function(e){return U.createElement("svg",lU({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),j||(j=U.createElement("path",{d:"M12.002 2.25a9.752 9.752 0 00-7.464 16.018 9.753 9.753 0 0012.046 2.34l3.193 1.064a1.501 1.501 0 001.897-1.898l-1.064-3.192a9.75 9.75 0 00.862-6.906l-.268.725a1.893 1.893 0 01-.97 1.057 8.25 8.25 0 01-1.09 4.673.75.75 0 00-.062.613l1.17 3.506-3.507-1.17a.752.752 0 00-.613.063A8.25 8.25 0 1113.03 3.814a1.53 1.53 0 01.15-1.201l.063-.1.072-.092c.02-.025.042-.05.064-.073a9.75 9.75 0 00-1.377-.1z",fill:"#fff"})),T||(T=U.createElement("g",{clipPath:"url(#suggestedChipsIcon_svg__clip0_9_13588)",fill:"#fff"},U.createElement("path",{d:"M15.802 4.89l1.92-.71.707-1.921a.593.593 0 011.112 0l.712 1.921 1.922.708a.592.592 0 010 1.112l-1.922.712-.707 1.921a.593.593 0 01-1.112 0l-.712-1.921-1.922-.708a.592.592 0 010-1.112l.002-.002zM13.98 1.855l.746-.276L15 .832a.23.23 0 01.432 0l.277.747.747.275a.23.23 0 010 .432l-.747.277-.275.747a.23.23 0 01-.433 0l-.276-.747-.747-.275a.23.23 0 010-.433zM14.405 8.21l.514-.143.224-.483a.154.154 0 01.289.023l.144.514.483.225a.154.154 0 01.054.238.154.154 0 01-.077.05l-.514.144-.225.484a.154.154 0 01-.288-.024l-.144-.514-.484-.224a.155.155 0 01.024-.289z"}))),S||(S=U.createElement("defs",null,U.createElement("clipPath",{id:"suggestedChipsIcon_svg__clip0_9_13588"},U.createElement("path",{fill:"#fff",transform:"matrix(-1 0 0 1 23 .47)",d:"M0 0h9.529v9.529H0z"})))))};var lE=a(3226),lV=a(85375),lO=a.n(lV);let{componentDataZTA:lM}=(0,K.Ou)("SuggestedPromptChipsSkeleton"),lQ="2.625rem",lJ=()=>(0,I.jsxs)("div",{className:lO().skeletonRow,"data-zta":lM,"aria-hidden":"true",children:[(0,I.jsx)(tu.E,{height:lQ,width:"5.5rem"}),(0,I.jsx)(tu.E,{height:lQ,width:"9rem"}),(0,I.jsx)(tu.E,{height:lQ,width:"11rem"})]}),lW=e=>{let{config:t,chips:a,isEnabled:i,hasLoaded:l,onAskChatbot:r,onPromptSelect:n,className:s}=e,{t:o}=(0,Q.Bd)(),c=(0,lR.jt)((0,lE.j)(t));if(!i)return null;
1let d=[lO().suggestedChipsContainer,s].filter(Boolean).join(" ");if(!l)return(0,I.jsx)("div",{className:d,children:(0,I.jsx)(lJ,{})});let u=e=>{if(!t)return;let a=(0,B.Kg)();c({event:"CLICK",detail:{customer:{id:a?"".concat(a):void 0},target:{name:e,id:"suggested_chip"}}})};return(0,I.jsx)("div",{className:d,children:(0,I.jsxs)(lL.I,{overflow:"scroll",role:"group","aria-label":o("shop.chatbot.suggested_chips.aria_label"),children:[(0,I.jsx)("span",{className:lO().askChatbotChip,role:"listitem",children:(0,I.jsxs)("button",{type:"button",className:lO().askChatbotButton,onClick:()=>{u("ask_chatbot_chip"),r()},"data-zta":"suggested-chatbot-chips",children:[(0,I.jsx)(lF,{"aria-hidden":"true",className:lO().askChatbotIcon}),(0,I.jsx)("span",{className:lO().askChatbotLabel,children:o("shop.chatbot.cta.label")})]})}),a.map((e,t)=>(0,I.jsx)(lz.v,{label:e.display_text,buttonProps:{type:"button",onClick:()=>{var t,a;return t=e.display_text,a=e.prompt,void(u("suggested_prompt_chip"),n(t,a))},"data-zta":"suggested-chip-".concat(t)}},e.prompt))]})})};var lG=a(37034),lH=a(37121),lX=a(4332),lZ=a(75465),lK=a.n(lZ);let lq=e=>{let{picture:t,type:a,onImageClick:i,priority:l,loading:r,withLoader:n}=e,s="detail"===a,o="thumbnail"===a,c="fullscreen"===a,d=e=>{e.stopPropagation(),null==i||i()};return!1===n?(0,I.jsx)("div",{className:M()(c?lK().fullscreenImageContainer:lK().imageSwiperPictureWrapper),children:(0,I.jsx)(K.it,{src:o?t.thumbnail:s?t.detail:t.full,width:o?50:s?400:800,height:o?50:s?400:800,fill:c||void 0,alt:t.title,title:t.title,onClick:d,objectFit:"contain",priority:l,loading:r,format:"webp"})}):c?(0,I.jsx)("div",{className:lK().fullscreenImageContainer,children:(0,I.jsx)(K.it,{src:t.full,width:800,height:800,fill:c,alt:t.title,title:t.title,onClick:d,objectFit:"contain",priority:l,loading:r,format:"webp",withLoader:!0})}):(0,I.jsx)(K.it,{src:o?t.thumbnail:t.full,width:o?50:s?400:800,height:o?50:s?400:800,alt:t.title,title:t.title,onClick:d,objectFit:"contain",priority:l,loading:r,format:"webp",withLoader:!0})};var lY=a(29688),l$=a(3041),l0=a.n(l$);let l1=e=>{let{video:t,type:a,renderDetailVideoAsPoster:i,onImageClick:l}=e,r="detail"===a&&!!i,n="https://img.youtube.com/vi/".concat(t.embed,"/hqdefault.jpg"),s="fullscreen"===a||"detail"===a&&!r,[o,c]=(0,U.useState)(!1),d=(0,U.useRef)(null),u=(0,U.useRef)(),p=e=>{var t,a;(null==(t=e[0])?void 0:t.isIntersecting)&&(c(!0),null==(a=u.current)||a.disconnect())};return((0,U.useEffect)(()=>{if(s)return"IntersectionObserver"in window?(u.current||(u.current=new IntersectionObserver(p,{threshold:.1})),d.current&&u.current.observe(d.current),()=>{var e;null==(e=u.current)||e.disconnect()}):void c(!0)},[s]),"thumbnail"===a||r)?(0,I.jsxs)("div",{className:M()(l0().youtubeImageThumbnailContainer),onClick:l,children:[(0,I.jsx)(K.xA,{src:n,alt:"Youtube Video",width:50,height:50}),(0,I.jsx)("div",{className:M()(l0().youtubeImageThumbnailIcon),children:(0,I.jsx)(J.jGG,{})})]}):(0,I.jsx)("div",{ref:d,className:M()("swiper-slide-video-container",l0().youtubeVideoContainer),children:o&&(0,I.jsx)(lY.A,{videoId:t.embed,id:t.embed,opts:{height:"100%",width:"100%",host:"https://www.youtube-nocookie.com"}})})},l2=e=>{let{media:t,type:a,onImageClick:i,priority:l,loading:r,withLoader:n,renderDetailVideoAsPoster:s}=e;return t.video?(0,I.jsx)(l1,{video:t,type:a,renderDetailVideoAsPoster:s,onImageClick:i}):iC(t)?(0,I.jsx)(lq,{picture:t,type:a,onImageClick:i,priority:l,loading:r,withLoader:n}):(console.error("Unsupported media type"),null)};var l4=a(52825),l3=a.n(l4);let l6=e=>{let{show:t,onDismiss:a,mediaDetails:i,setActiveIndex:l,activeIndex:r,children:n}=e,s=(0,U.useRef)(K.My?document.createElement("div"):null),[o,c]=(0,U.useState)(!1);return(0,U.useEffect)(()=>{var e;let t=s.current,a=null!=(e=document.getElementById("app-main-container"))?e:document.body;return a.appendChild(t),c(!0),()=>{a.removeChild(t)}},[]),s.current&&o?(0,lG.createPortal)((0,I.jsx)(l5,{setActiveIndex:l,activeIndex:r,show:t,onDismiss:a,mediaDetails:i,children:n}),s.current):null},l5=e=>{let{show:t,onDismiss:a,mediaDetails:i,setActiveIndex:l,activeIndex:r,children:n}=e,{t:s}=(0,Q.Bd)(),o=()=>{a()},c=e=>{e.stopPropagation()},d=e=>{"Escape"===e.code&&a()};return(0,K.ZZ)(t),(0,U.useEffect)(()=>(document.addEventListener("keydown",d,!1),()=>{document.removeEventListener("keydown",d,!1)})),(0,I.jsx)("div",{onClick:o,className:M()(l3().imageSwiperFullscreen,{[l3().visible]:t}),children:t&&(0,I.jsxs)("div",{className:l3().imageSwiperContainer,children:[(0,I.jsx)(lX.RC,{className:l3().imageSwiper,initialSlide:r,modules:[lH.Vx,lH.s3],onSlideChange:e=>l(e.activeIndex),preventClicks:!0,preventClicksPropagation:!0,slidesPerView:1,slidesPerGroup:1,keyboard:!0,"aria-live":"assertive",tabIndex:0,navigation:{prevEl:".prev-product-infos-fullscreen-swiper",nextEl:".next-product-infos-fullscreen-swiper",disabledClass:"disabled"},children:i.medias.map((e,t)=>(0,I.jsx)(lX.qr,{"data-zta":"image-slide",children:(0,I.jsx)(l2,{media:e,type:"fullscreen"},t)},t))}),(0,I.jsx)("div",{onClick:c,children:(0,I.jsx)("span",{className:M()("swiper-button-prev","prev-product-infos-fullscreen-swiper",l3().abstractFullscreenButton,l3().prevNextButton),children:(0,I.jsx)(ld.K,{ariaLabel:s("imageSwiper.arrow.left"),size:"small",children:(0,I.jsx)(J.crw,{})})})}),(0,I.jsx)("div",{onClick:c,children:(0,I.jsx)("span",{className:M()("swiper-button-next","next-product-infos-fullscreen-swiper",l3().abstractFullscreenButton,l3().prevNextButton),children:(0,I.jsx)(ld.K,{ariaLabel:s("imageSwiper.arrow.right"),size:"small",children:(0,I.jsx)(J.ZE2,{})})})}),(0,I.jsx)(ld.K,{ariaLabel:s("general.button.close"),variant:"ghost",size:"large",onClick:o,"data-zta":"imageSwiper-close-button",className:M()(l3().abstractFullscreenButton,l3().closeButton),children:(0,I.jsx)(J.$og,{"aria-label":s("imageSwiper.close")})}),(0,I.jsxs)("div",{className:l3().imageCounter,onClick:c,children:[r+1," / ",i.medias.length]}),(0,I.jsx)("div",{className:l3().contentContainer,onClick:c,children:n})]})})};var l7=a(64225),l9=a.n(l7);let l8=e=>{var t,a;let{productTitle:i,mediaDetails:l,socialProofChip:r,showNumericIndicator:n=!1}=e,[s,o]=(0,U.useState)(0),[c,d]=(0,U.useState)(),[u,p]=(0,U.useState)(),[m,h]=(0,U.useState)(!1),[v,_]=(0,U.useState)(l),{t:g}=(0,Q.Bd)();v!==l&&(_(l),o(0)),(0,U.useEffect)(()=>{null==u||u.slideTo(s,m?0:void 0),null==c||c.slideTo(s,m?0:void 0),Array.prototype.forEach.call(document.querySelectorAll("iframe"),e=>{var t;null==(t=e.contentWindow)||t.postMessage(JSON.stringify({event:"command",func:"pauseVideo"}),"*")})},[s]);let b=()=>{h(!0),(0,K.ZZ)(!0)},f=0===s,x=l.medias.length-1,C=s===x,P=M()("swiper-button-next",C?"disabled":""),y=M()("swiper-button-prev",f?"disabled":""),w=()=>o(Math.min(x,s+1)),j=()=>o(Math.max(0,s-1));return l.medias.length?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:l9().imageSwiper,"data-zta":"imageSwiper",children:[(0,I.jsxs)("div",{className:l9().imageSwiperPrincipalContainer,"data-zta":"imageSwiperPrincipalContainer",children:[r,(0,I.jsx)(lX.RC,{"data-zta":"image-swiper-principal-container",className:l9().imageSwiperPrincipal,preventClicks:!0,preventClicksPropagation:!0,onSwiper:p,onSlideChange:e=>o(e.activeIndex),slidesPerView:1,children:l.medias.map((e,t)=>{let a=0===t||e.preload;return(0,I.jsx)(lX.qr,{"data-zta":"image-slide",children:(0,I.jsx)(l2,{media:e,type:"detail",renderDetailVideoAsPoster:n,onImageClick:b,priority:a,loading:a?"eager":"lazy",withLoader:!a})},t)})}),(0,I.jsx)("span",{"data-zta":"imageSliderPreviousButton",onClick:j,className:M()(l9().imageSwiperPrevNextPrincipalButton,"swiper-button-prev"),children:(0,I.jsx)(ld.K,{ariaLabel:"left",size:"small",disabled:f,children:(0,I.jsx)(J.crw,{"aria-hidden":!0})})}),(0,I.jsx)("span",{"data-zta":"imageSliderNextButton",onClick:w,className:M()(l9().imageSwiperPrevNextPrincipalButton,"swiper-button-next"),children:(0,I.jsx)(ld.K,{ariaLabel:"right",size:"small",disabled:C,children:(0,I.jsx)(J.ZE2,{"aria-hidden":!0})})}),!(null==(t=l.medias[s])?void 0:t.video)&&(0,I.jsx)("button",{onClick:b,className:l9().imageSwiperZoomButton,"data-zta":"imageSwiperZoomButton",tabIndex:0,children:(0,I.jsx)(J.$Zd,{"aria-label":g("imageSwiper.zoom")})})]}),n&&(0,I.jsxs)("div",{className:l9().imageSwiperNumericIndicator,"data-zta":"imageSwiperNumericIndicator",children:[s+1,"/",l.medias.length]}),(0,I.jsxs)("div",{className:l9().imageSwiperThumbnailsContainer,children:[(0,I.jsx)(lX.RC,{"data-zta":"image-swiper-thumbnails-container",className:l9().imageSwiperThumbnails,preventClicks:!0,preventClicksPropagation:!0,allowTouchMove:!1,onSwiper:d,freeMode:!1,slidesPerView:3,slidesPerGroup:1,spaceBetween:3,direction:"horizontal",centeredSlides:!0,centeredSlidesB
1ounds:!0,breakpoints:{768:{slidesPerView:4,spaceBetween:3},993:{slidesPerView:5.5,spaceBetween:8}},children:null==(a=l.medias)?void 0:a.map((e,t)=>{let a=0===t||e.preload;return(0,I.jsx)(lX.qr,{"data-active":t===s,"data-zta":"image-slide",tabIndex:0,children:(0,I.jsx)(l2,{media:e,type:"thumbnail",onImageClick:()=>o(t),priority:a,loading:a?"eager":"lazy",withLoader:!a})},t)})}),(0,I.jsx)("button",{"data-zta":"imageSwiper-left-arrow",onClick:j,className:M()(l9().imageSwiperPreviousThumbnailsButton,y),children:(0,I.jsx)(J.crw,{"aria-label":g("imageSwiper.arrow.left")})}),(0,I.jsx)("button",{"data-zta":"imageSwiper-right-arrow",onClick:w,className:M()(l9().imageSwiperNextThumbnailsButton,P),children:(0,I.jsx)(J.ZE2,{"aria-label":g("imageSwiper.arrow.right")})})]})]}),(0,I.jsx)(l6,{activeIndex:s,setActiveIndex:o,show:m,onDismiss:()=>{h(!1),(0,K.ZZ)(!1)},mediaDetails:l,children:i})]}):null};var re=a(96194),rt=a.n(re);let ra=e=>{let{badgeText:t}=e;return(0,I.jsx)("div",{className:rt().lastChanceBadgeTooltip,"data-zta":"last-chance-badge-wrapper",children:(0,I.jsx)(tq,{text:t})})},ri=()=>{let{language:e,domain:t,path:a,optimizelyDecisions:i}=(0,eP.Us)(),{productDetails:l,activeVariantIdWithShopIdentifier:r}=av(),{selectTab:n}=iF(),{sid:s}=(0,F.B_)(),o=["none","xs","sm"].includes((0,K.dv)()),{feedbackAggregate:c,product:d}=l,{shopIdentifier:u}=d,p=(0,E.Xf)(null!=i?i:{},E.k9),m=(0,E.A0)(p),h=(0,K.fp)({domain:t,language:e,path:a,shopIdentifier:u,activeVariant:r}),{trackClick:v}=ak({productDetails:l,activeVariantIdWithShopIdentifier:r,sid:s});return(0,I.jsx)(tj.UN,{onRatingClick:e=>{e.preventDefault(),c.reviewCount&&(n("reviews",!0),v({name:"see_reviews",id:"product_card_".concat(r),extra:{reviewsAmount:null==c?void 0:c.reviewCount,reviewsRate:null==c?void 0:c.averageRating}}))},rating:c.averageRating||0,totalReviews:c.reviewCount||0,feedbackFormLink:h,trackingPage:V.sc["PRODUCT-DETAIL"],activeVariantIdWithShopIdentifier:r,size:m&&o?"sm":"md"})};var rl=a(3540),rr=a.n(rl);let rn=e=>{let{title:t,subtitle:a,className:i,children:l}=e,{componentDataZTA:r,getElementDataZTA:n}=(0,K.Ou)("ProductTitle");return(0,I.jsxs)("div",{className:i,"data-zta":r,children:[(0,I.jsxs)("div",{className:rr().titleContainer,children:[(0,I.jsx)(e7.H1,{className:M()(rr().title),"data-zta":n("Title"),children:t}),l]}),(0,I.jsx)("div",{"data-zta":n("Subtitle"),children:a})]})};var rs=a(89126),ro=a.n(rs),rc=a(50324),rd=a.n(rc);let ru=e=>{let{shopIdentifier:t}=e,i=(0,U.useMemo)(()=>ro()(()=>a.e(8760).then(a.bind(a,78760)).then(e=>e.WishlistServiceProvider),{loadableGenerated:{webpack:()=>[78760]},ssr:!1}),[]),l=(0,U.useMemo)(()=>ro()(()=>a.e(8760).then(a.bind(a,78760)).then(e=>e.AddToWishlist),{loadableGenerated:{webpack:()=>[78760]},ssr:!1}),[]),{domain:r,locale:n,realm:s}=(0,eP.Us)();return(0,I.jsx)("div",{className:M()(rd().addToWishlistContainer),children:(0,I.jsx)(i,{caller:eF.VA,originalHost:r,locale:n,bundle:s,children:(0,I.jsx)(l,{productId:t})})})};var rp=a(49398),rm=a.n(rp);let rh=e=>{let{modalText:t,badgeText:a}=e,{t:i}=(0,Q.Bd)(),[l,r]=(0,U.useState)(!1),n=()=>{r(!l)};return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(K.Dm,{className:rm().zooplusChoiceBadge,text:a,onClick:n}),(0,I.jsx)(K.HD,{"data-zta":"zooplusChoiceBadgeDescription",show:l,heading:a,text:t,handleClose:n,closeButtonLabel:i("general.button.close")})]})};var rv=a(35174),r_=a.n(rv);let rg=e=>{let{tooltipText:t,badgeText:a}=e;return(0,I.jsx)("div",{className:r_().zooplusChoiceBadgeTooltip,"data-zta":"zooplus-choice-badge-wrapper",children:(0,I.jsx)(W.m,{position:"top-middle",tipId:"zooplus-choice-tooltip",tipText:t,children:(0,I.jsx)(K.Dm,{text:a,className:r_().zooplusChoiceBadge})})})};var rb=a(73268),rf=a.n(rb);let rx=()=>{let{t:e}=(0,Q.Bd)(),{domain:t,toggles:a,optimizelyDecisions:i}=(0,eP.Us)(),l=(0,E.Xf)(null!=i?i:{},E.k9),r=(0,E.A0)(l),{activeVariantIdWithShopIdentifier:n,productDetails:s,handleChatbotOpen:o}=av(),{selectTab:c}=iF(),{componentDataZTA:d,getElementDataZTA:u}=(0,K.Ou)("ProductSummary"),{product:p}=s,{articleVariants:m,shopIdentifier:h,summary:v,title:_,zooplusChoiceBadge:g,zooplusChoiceDescription:b}=p,f=(0,L.DM)(m,n),x=(null==f?void 0:f.summary)||v,C=(e=>{var t;return e.offers.find(e=>e.available)&&(null==(t=e.badges)?void 0:t.includes("limited_time_deal"))})(f),P=C?(e=>{var t;let a=aN(e);return null==a||null==(t=a.limitedTimeDealBadge)?void 0:t.endDateLabel})(f):void 0,y=!!(null==f?void 0:f.successor),w=!y&&aE(p,t),j=!y&&C,T=!y&&!!p.overlayText,S=!y&&p.mediaDetails.newProduct,B=w||T||S||j||y;return(0,I.jsxs)("div",{className:M()(rf().container),"data-zta":d,children:[B&&(0,I.jsxs)("div",{className:M()(rf().badgeContainer,rf().desktopOnly),children:[y&&(0,I.jsx)(ra,{badgeText:e("catalog.discover.plp.successor-badge")}),!y&&(0,I.jsxs)(I.Fragment,{children:[j&&(0,I.jsx)(ea,{endDateLabel:P}),w&&(0,I.jsx)(rg,{badgeText:g,tooltipText:b}),S&&(0,I.jsx)(ee.L,{label:e("product.article.badge.new"),"data-zta":u("newBadge"),variant:"positive"}),T&&p.overlayText&&(0,I.jsx)(ee.L,{label:p.overlayText,variant:"brand-promotion"})]})]}
1),(0,I.jsx)(rn,{title:_,subtitle:f.description,className:r?rf().mobileTitleStyles:void 0,children:a["shop.pdp.add-to-wishlist.enabled"]&&(0,I.jsx)("div",{className:M()(r&&rf().mobileWishlistMobileGallery),children:(0,I.jsx)(ru,{shopIdentifier:h})})}),(0,I.jsxs)("div",{className:rf().summaryContainer,children:[(0,I.jsx)(ri,{}),(0,I.jsx)(iR,{onClick:o,className:rf().chatbotCTA})]}),B&&(0,I.jsxs)("div",{className:M()(rf().badgeContainer,rf().mobileOnly),children:[y&&(0,I.jsx)(ra,{badgeText:e("catalog.discover.plp.successor-badge")}),!y&&(0,I.jsxs)(I.Fragment,{children:[j&&(0,I.jsx)(ea,{endDateLabel:P}),w&&(0,I.jsx)(rh,{modalText:b,badgeText:g}),S&&(0,I.jsx)(ee.L,{label:e("product.article.badge.new"),"data-zta":u("newBadge"),variant:"positive"}),T&&p.overlayText&&(0,I.jsx)(ee.L,{label:p.overlayText,variant:"brand-promotion"})]})]}),(0,I.jsxs)("div",{"data-zta":u("Details"),className:rf().desktopOnly,children:[(0,I.jsx)("span",{"data-zta":u("Text"),dangerouslySetInnerHTML:{__html:x}}),(0,I.jsx)(em.M,{className:rf().showMoreAnchor,"data-zta":"furtherInformation",onClick:e=>{e.preventDefault(),c("description")},href:"#",children:e("general.more.information")})]})]})};var rC=a(99810),rP=a.n(rC);let ry=e=>{let{mediaDetails:t,socialProofChip:a,children:i}=e,{optimizelyDecisions:l,toggles:r}=(0,eP.Us)(),{productDetails:n,chatbotConfig:s,suggestedPromptChips:o,handleAskChatbotChipClick:c,handleChatbotOpenWithMessage:d}=av(),{product:u}=n,{title:p,shopIdentifier:m}=u,h=(0,I.jsx)(lW,{config:s,chips:o.chips,isEnabled:o.isEnabled,hasLoaded:o.hasLoaded,onAskChatbot:c,onPromptSelect:d,className:rP().suggestedPromptChipsBelowFold});return(0,E.A0)((0,E.Xf)(null!=l?l:{},E.k9))?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:rP().mobileGalleryOnly,"data-zta":"mobileGallery",children:[(0,I.jsxs)("div",{className:rP().mobileGallery,children:[(0,I.jsx)(l8,{productTitle:p,mediaDetails:t,socialProofChip:a,showNumericIndicator:!0}),r["shop.pdp.add-to-wishlist.enabled"]&&(0,I.jsx)("div",{className:rP().mobileWishlist,children:(0,I.jsx)(ru,{shopIdentifier:m})})]}),(0,I.jsx)(rx,{})]}),(0,I.jsx)("div",{className:rP().desktopGalleryOnly,children:(0,I.jsx)(rx,{})}),(0,I.jsxs)("div",{className:M()(rP().leftColumn,rP().list,rP().desktopGalleryOnly),children:[(0,I.jsx)(l8,{productTitle:p,mediaDetails:t,socialProofChip:a}),h,i]})]}):(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(rx,{}),(0,I.jsxs)("div",{className:M()(rP().leftColumn,rP().list),children:[(0,I.jsx)(l8,{productTitle:p,mediaDetails:t,socialProofChip:a}),h,i]})]})};var rw=a(69745),rj=a(95119);ro()(()=>Promise.all([a.e(8776),a.e(8323),a.e(9374),a.e(5016)]).then(a.bind(a,25016)).then(e=>e.MemberPricePDP),{loadableGenerated:{webpack:()=>[25016]},ssr:!1});let rT=ro()(()=>Promise.all([a.e(8776),a.e(8323),a.e(9374),a.e(5016)]).then(a.bind(a,25016)).then(e=>e.MemberPricePDPExperiment),{loadableGenerated:{webpack:()=>[25016]},ssr:!1});var rS=a(721),rI=a(99),rB=a(77216),rA=a.n(rB);let rN=e=>{var t;let{activeVariant:a,activeVariantId:i,deliveryMethod:l,onChange:r,singleDeliveryPrice:n,autoshipmentPrice:s}=e,{t:o}=(0,Q.Bd)(),{locale:c,realm:d,optimizelyDecisions:u}=(0,eP.Us)(),p=(0,E.A0)((0,E.Xf)(null!=u?u:{},E.X)),{componentDataZTA:m,getElementDataZTA:h}=(0,K.Ou)("DeliveryMethodSelection"),v=null==(t=aN(a).price.discounts)?void 0:t.find(en);if(!v)return null;let _="autoshipment"===l&&v.hasFirstOrderDiscount,g=_&&p,b=e=>{r(e.target.value)},f=g?(0,I.jsx)(eB,{firstOrderDiscountPercentage:v.firstOrderDiscountPercentage,futureOrdersDiscountPercentage:v.percentage,activeVariant:i}):_&&(0,I.jsx)(eJ,{firstOrderDiscountPercentage:v.firstOrderDiscountPercentage,futureOrdersDiscountPercentage:v.percentage});return(0,I.jsx)("div",{"data-zta":m,children:(0,I.jsxs)(rS.N,{"data-zta":h("RadioCardGroup"),className:M()(rA().radioCardGroup,rA().defaultRadioCardGroup),"aria-label":o("deliveryMethodSelection.radioGroup"),children:[(0,I.jsx)(rI.O,{"data-zta":h("SingleDelivery"),name:"delivery",value:"single",onChange:b,checked:"single"===l,readOnly:!0,children:(0,I.jsxs)("span",{className:rA().defaultContent,children:[(0,I.jsx)("span",{children:o("autoshipment.single.delivery")}),n]})}),(0,I.jsxs)(rI.O,{"data-zta":h("AutoshipmentDelivery"),className:M()({[rA().radioCardIconTop]:g}),name:"delivery",value:"autoshipment",onChange:b,checked:"autoshipment"===l,readOnly:!0,children:[(0,I.jsxs)("span",{className:M()(rA().defaultContent,{[rA().autoshipmentHeaderIndent]:g}),children:[(0,I.jsx)(eU.t,{className:rA().autoshipment,locale:c,verticalAlign:"middle",realm:d}),(0,I.jsx)(ee.L,{variant:"brand-light",size:"small",label:"-".concat(v.label)}),s]}),f]})]})})};var rk=a(99892),rD=a.n(rk);let rL=()=>{let{componentDataZTA:e,getElementDataZTA:t}=(0,K.Ou)("PDPSellerInfo"),{t:a}=(0,Q.Bd)(),{activeVariantIdWithShopIdentifier:i,productDetails:l}=av(),{toggleSellerDrawer:r}=aw(),{trackClick:n}=ak({productDetails:l,activeVariantIdWithShopIdentifier:i}),{sellersDetails:s,product:o}=l,{articleVariants:c}=o,{seller:d}=aN((0,L.DM)(c,i)),u=aA(null==d?void 0:d.id,s);return u?(0,I.jsxs)(eK.P2,{"data-zta":e,className:rD().container,children:[a("product.details.seller"),":"," ",(0,I.jsx)(em.M,{isBold:!0,"data-zta":t("SellerLink"),onClick:()=>{n({name:"seller_info",id:"seller_info_link",value:(null==d?void 0:d.id)!=null?"".concat(d.id):"unknown"}),r()},children:u.name})]}):null};var rz=a(84236),rR=a(69134),rU=a(48077);let rF=async e=>{let{domain:t,language:a,articleId:i,path:l,shopIdentifier:r}=e;try{let{data:e}=await aD.x8.getStockRemindersDynamic(t,r,l,i,a);return e}catch(e){if((0,rU.F0)(e)){var n,s,o;if((null==(n=e.response)?void 0:n.status)===301){let l=new URLSearchParams(e.response.headers.location).get("path");return{redirect:"".concat((0,K.ei)(t,a),"/stockreminder/").concat(l,"/").concat(r,"/").concat(i)}}if((null==(s=e.response)?void 0:s.status)===400)return{redirect:"".concat((0,K.ei)(t,a)).concat(l,"/").concat(r)};if((null==(o=e.response)?void 0:o.status)===404)return{redirect:(0,K.ei)(t,a)+l}}(0,tC.vV)({error:e,action:"getStockReminders"});return}},rE=async e=>{try{let{data:t}=await aD.x8.createStockReminders(e);return t}catch(e){if((0,rU.F0)(e)){var t;(null==(t=e.response)?void 0:t.status)!==409&&(0,tC.vV)({error:e,action:"createStockReminder"})}throw e}};
1var rV=a(57943),rO=a.n(rV);let rM=e=>{let{articleId:t,variantId:a,siteId:i,shopIdentifier:l,isOpen:r,currency:n}=e,{t:s}=(0,Q.Bd)(),[o,c]=(0,U.useState)(""),[d,u]=(0,U.useState)(),[p,m]=(0,U.useState)(!1),[h,v]=(0,U.useState)(!1),[_,g]=(0,U.useState)(!1),b=(0,B.Kg)(),[f,x]=(0,U.useState)(),C=(e=>{let{t}=(0,Q.Bd)(),{locale:a}=(0,eP.Us)();if(e&&e.length>0&&e[0].nextDelivery){let i=new Date(e[0].nextDelivery),l=Math.ceil((i.getTime()-Date.now())/864e5),r=new Intl.DateTimeFormat(a,{weekday:"short"}).format(i),n=i.getDate().toString().padStart(2,"0"),s=(i.getMonth()+1).toString().padStart(2,"0"),o=i.getFullYear();return t("product.expected.availability",{0:l,1:"".concat(r," ").concat(n,".").concat(s,".").concat(o)})}})(null==f?void 0:f.nextDeliveryDate),{domain:P,path:y,language:w,legacyLocale:j}=(0,eP.Us)();(0,U.useEffect)(()=>{r||(c(""),u(void 0),v(!1),g(!1),m(!1))},[r]),(0,U.useEffect)(()=>{(async()=>{x(await rF({shopIdentifier:l,articleId:t,domain:P,path:y,language:w}))})()},[t,P,w,y,l]);let T=async()=>{if(/.+@.+\..+/.test(o)){u(void 0),v(!1),g(!0);try{await rE({shopIdentifier:l,articleId:t,customerId:b,zootopiaUserId:(0,B.VV)(),emailAddress:o,locale:(0,eb.Ue)(j),siteId:i}),v(!0),(0,V.sx)({event:V.F3.CLICK,page:V.sc["PRODUCT-DETAIL"],detail:{locale:(0,eb.Ue)(j),domain:P,siteId:i,currencyCode:n,pageLocation:window.location.href,customer:{id:b?"".concat(b):void 0},target:{name:"stock_reminder_drawer",id:"submit_button_".concat(l,".").concat(a),value:o}}}),g(!1)}catch(t){let{response:e}=t;(null==e?void 0:e.status)===409?u(s("stockreminder.error.conflict")):u(s("stockreminder.error.generic")),g(!1)}}else u(s("stockreminder.error.invalidemail"))};return h?(0,I.jsxs)(eZ.F,{"data-zta":"stock-reminder-success-dialog",closeButtonAriaLabel:"dismiss message",className:rO().successDialog,variant:"success",children:[(0,I.jsx)(Q.x6,{i18nKey:"stock.reminder.drawer.thanks"})," "]}):(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("form",{className:rO().form,"data-zta":"stock-reminder-form",children:[C&&(0,I.jsx)(eZ.F,{"data-zta":"next-delivery-date",children:C}),(0,I.jsx)(rz.h,{asFieldset:!0,isRequired:!0,errorMessage:d,className:rO().emailLabel,labelText:s("stock.reminder.drawer.email.title"),labelFor:"input-side-label",children:(0,I.jsx)(rR.p,{onChange:e=>{c(e.target.value)},hasError:!!d,inputProps:{id:"input-side-label",placeholder:s("stock.reminder.drawer.email.placeholder"),value:o,"data-zta":"email-input",className:rO().formInput,autoComplete:"email"}})}),(0,I.jsxs)(eK.P1,{className:rO().formText,children:[s("shop.stock.reminder.termsofuse.warning")," ",(0,I.jsx)(e9.t,{"data-zta":"terms-of-use-link","aria-label":s("stock.reminder.terms.termsofuse"),className:rO().termButton,onClick:()=>m(!0),children:s("stock.reminder.terms.termsofuse")})]}),(0,I.jsxs)(eA.j,{className:rO().formButton,"data-zta":"submit-button",disabled:!o||_,"aria-label":s("general.form.send"),onClick:T,children:[(0,I.jsx)(J.IrQ,{className:rO().buttonIcon}),s("stock.reminder.button.notify")]})]}),(0,I.jsx)(K.HD,{show:p,handleClose:()=>m(!1),heading:s("general.terms.termsofuse"),text:s("stockreminder.termsofuse.text"),closeButtonLabel:s("general.button.close")})]})};var rQ=a(5995),rJ=a(66859);let rW=e=>{var t;let{articleId:a,shopIdentifier:i,siteId:l}=e,{domain:r,legacyLanguage:n}=(0,eP.Us)(),s=(0,B.Kg)(),[o,c]=(0,U.useState)();return(0,U.useEffect)(()=>{(async()=>{let e=await (0,eY.CM)({language:n,pageType:"web_out_of_stock",siteId:l,productId:[i],userId:(0,B.VV)(),customerId:s,articleId:a?[a]:void 0});(null==e?void 0:e.length)&&c(e[0])})()},[n,a,l,s,i]),(0,I.jsx)(I.Fragment,{children:(null==o||null==(t=o.recommendations)?void 0:t.length)?(0,I.jsx)(rQ.E,{gridTemplateColumns:{default:"repeat(2, 1fr)"},children:o.recommendations.map((e,t)=>(0,I.jsx)(rJ.E,{children:(0,I.jsx)(eY.J3,{recommendation:e,isZooplusChoiceEnabled:!(0,eb.C1)(r)})},t))}):null})};var rG=a(53159),rH=a.n(rG);let rX=e=>{let{articleId:t,shopIdentifier:a,siteId:i,variantId:l,isOpen:r,onClose:n,currency:s}=e;return(0,I.jsxs)("div",{className:rH().body,children:[(0,I.jsx)(rM,{articleId:t,variantId:l,siteId:i,shopIdentifier:a,isOpen:r,currency:s,onClose:n}),(0,I.jsx)(rW,{articleId:t,siteId:i,shopIdentifier:a})]})},rZ=e=>{let{isOpen:t,onClose:a}=e,{t:i}=(0,Q.Bd)(),{siteId:l}=(0,eP.Us)(),{productDetails:r,activeVariantIdWithShopIdentifier:n}=av(),{product:s}=r,{articleVariants:o,shopIdentifier:c,priceAggregate:d}=s,u=d.currency,p=(0,L.DM)(o,n);return p?(0,I.jsx)(eX._s,{"data-zta":"stock-reminder-drawer",isOpen:t,closeBtnAriaLabel:i("general.button.close"),onClose:a,title:i("stock.reminder.drawer.title"),showTitleDivider:!0,children:(0,I.jsx)(rX,{"data-zta":"stock-reminder-form",articleId:p.id,shopIdentifier:c,siteId:l,variantId:p.variantId,isOpen:t,onClose:a,currency:u})}):null};var rK=a(54584),rq=a.n(rK);let rY=()=>{let{componentDataZTA:e}=(0,K.Ou)("StockReminderButton"),t=(0,R.useRouter)(),{t:a}=(0,Q.Bd)(),{domain:i,language:l,path:r}=(0,eP.Us)(),{productDetails:n,activeVariantIdWithShopIdentifier:s}=av(),{sid:o}=(0,F.B_)(),{product:c}=n,{articleVariants:d,shopIdentifier:u}=c,p=(0,E.A0)((0,E.A2)(E.uH)),{trackClick:m}=ak({productDetails:n,activeVariantIdWithShopIdentifier:s,sid:o}
1),h=(0,L.DM)(d,s),v=aN(h),[_,g]=(0,U.useState)(!1);return v.available?null:(0,I.jsxs)(I.Fragment,{children:[p&&(0,I.jsx)(rZ,{isOpen:_,onClose:()=>{g(!1),m({name:"stock_reminder_drawer",id:"close_drawer_button_".concat(s)})}}),(0,I.jsxs)(eA.j,{"data-zta":e,className:rq().actionButton,onClick:p?()=>{g(!0),m({name:"stock_reminder_drawer",id:"open_drawer_button_".concat(s)})}:()=>{m({name:"button",id:"out_of_stock_reminder",value:"".concat(u,".").concat(h.variantId)}),t.push((e=>{let{domain:t,language:a,path:i,articleId:l,shopIdentifier:r}=e;return"".concat((0,K.js)({shopIdentifier:r,articleId:l,domain:t,language:a,path:i,pathPrefix:"/stockreminder"}))})({domain:i,language:l,path:r,articleId:h.id,shopIdentifier:u}))},"aria-label":a("product.details.stockreminder.notifyme"),children:[(0,I.jsx)(J.IrQ,{className:rq().outOfStockButtonIcon}),a("product.details.stockreminder.notifyme")]})]})};var r$=a(37206),r0=a.n(r$);let r1=e=>{var t,a,i,l,r,n,s;let{deliveryMethod:o,deliveryMethodFromOfferId:c,onDeliveryMethodChange:d}=e,{componentDataZTA:u,getElementDataZTA:p}=(0,K.Ou)("SelectedArticleBox"),{t:m}=(0,Q.Bd)(),{isGoogleShoppingCustomer:h,productDetails:v,activeVariantIdWithShopIdentifier:_,variantIdStoredInCookie:g,variantIdFromUrl:b,withAddToCartPopover:f}=av(),{optimizelyDecisions:x,siteId:C,domain:P,locale:y}=(0,eP.Us)(),{appliedDiscounts:w,isDiscountApplied:j,applyDiscount:T,removeDiscount:S,toggleDiscount:B,removeOtherDiscounts:A}=eu(),{toggleCartDrawer:N}=e4(),{changeArticleQuantity:k,sid:D}=(0,F.B_)(),z=(0,U.useRef)(null),R=(0,E.A0)((0,E.A2)(E.TH)),O=(0,E.A0)((0,E.A2)(E.tt))&&!f,W=(0,E.On)(E.nx,V.sc["PRODUCT-DETAIL"],P,y,C),G=(0,E.A0)(W),H=(0,E.On)(E.CK,V.sc["PRODUCT-DETAIL"],P,y,C),Z=(0,E.A0)(H),q=(0,E.On)(E.ve,V.sc["PRODUCT-DETAIL"],P,y,C),Y=(0,E.A0)(q),et=["none","xs"].includes((0,K.dv)()),ea=h&&(b===_||g===_),{product:ei}=v,{articleVariants:es,shopIdentifier:ec}=ei,ed=(0,L.DM)(es,_),ep=(0,F.iS)(ed.id),em=aN(ed),{price:eh,secondaryPrice:ev,seller:e_}=em,eg=null==(t=em.price.currentPrice)?void 0:t.value,ef=(0,eb.rD)(C),ex=[ef.currency,ef.alternativeCurrency].filter(e=>!!e).find(e=>e===em.price.currency),eC=null==(a=em.price.discounts)?void 0:a.find(er),ey=(null==eC?void 0:eC.type)==="P_ABD",ew=null==(i=em.price.discounts)?void 0:i.find(en),ej=el(ea),[eT,eS]=(0,U.useState)(0),[eI,eB]=(0,U.useState)(!1),[eA,eN]=(0,U.useState)(!1),ek=j(null==eC?void 0:eC.offerId),eD=j(null==ew?void 0:ew.offerId),eL=ek&&ej.isCurrentPriceShown&&null!=(s=null==eC?void 0:eC.discountedPriceRaw)?s:eg,ez=eC&&em.available,eR=(null==(l=eh.currentPrice)?void 0:l.label)||"",eU=(null==ev||null==(r=ev.currentPrice)?void 0:r.label)||"",eF=(0,L.vl)(ev),eE=(0,L.Tm)(ev),eV=(null==(n=ed.badges)?void 0:n.includes("private_label"))&&R,eO=eE?"".concat(null==eC?void 0:eC.discountedPriceLabel," (").concat(eE,")"):null==eC?void 0:eC.discountedPriceLabel,eM=ek&&ej.isDiscountedPriceShown?eO:"",eQ=aI(ep),{trackAddOrRemoveCart:eJ,trackClick:eW}=ak({productDetails:v,activeVariantIdWithShopIdentifier:_,sid:D}),eG=()=>{let e=em.available,t="EXTERNAL"===e_.type;return e||t?{isAddToCartVisible:!0,isStockReminderVisible:!1}:{isAddToCartVisible:!1,isStockReminderVisible:!0}};(0,U.useEffect)(()=>{!1!==eA&&(eN(!1),ep&&(null==ep?void 0:ep.quantity)!==0&&eZ())},[eA]),(0,U.useEffect)(()=>{ed.id&&(A([null==eC?void 0:eC.offerId,null==ew?void 0:ew.offerId]),ej.isVoucherAppliedByDefault&&T(null==eC?void 0:eC.offerId),eo(null==ep?void 0:ep.offerId)&&T(null==eC?void 0:eC.offerId))},[ed.id]),(0,U.useEffect)(()=>{if(!ep){eS(0),d(null!=c?c:"single");return}if(eS((null==ep?void 0:ep.quantity)||0),!ed.id)return;let e=null!=c?c:eQ;e&&d(e);let t=ep.offerId;(e=>["ABD","PABD","AUS"].some(t=>null==e?void 0:e.includes(t)))(t)&&T(t)},[ep]),(0,U.useEffect)(()=>{ed.id&&c&&("autoshipment"===c?T(null==ew?void 0:ew.offerId):S(null==ew?void 0:ew.offerId),d(c))},[ed.id,null==ew?void 0:ew.offerId,c]),(0,U.useEffect)(()=>(Z&&et?document.body.style.paddingBottom="calc(72px + env(safe-area-inset-bottom))":document.body.style.paddingBottom="",()=>{document.body.style.paddingBottom=""}),[Z,et]);let eH=e=>{let t=e;isNaN(e)?eS(0):eI||(t=e<=0?0:e>=999?999:e)!==eT&&eS(t),eT>=0&&t>=0&&eW({name:"active_variant_".concat(ed.variantId),id:eT<t?"add_quantity":"remove_quantity",value:"quantity: ".concat(t)})},eX=()=>{eN(!0);let e=!ek;B(null==eC?void 0:eC.offerId),ey?eW({name:"personalized_article_discount",id:e?"checked":"unchecked",value:"".concat(ec,".").concat(ed.variantId)}):eW({name:"article_discount_checkbox",id:e?"checked":"unchecked",value:"".concat(ec,".").concat(ed.variantId)})},eZ=async()=>{let e=(null==ep?void 0:ep.quantity)||0,t=eT,a=eo(null==ep?void 0:ep.offerId)===!ek,i=0===eT&&0===e||eT!==e||o!==eQ||a;if(0===eT&&0===e&&eS(t=1),i){eB(!0);try{let a=await aS(k,{articleId:ed.id,quantity:t,offerIds:w,addToCartRef:O?void 0:z},em.offerId);if(eB(!1),t!==e){var l;O&&N({id:ed.id,cart:a,shouldTriggerRecommendations:!0});let i=null==(l=a.cart.articles)?void 0:l.find(e=>e.id===ed.id);eS((null==i?void 0:i.quantity)||0),eJ({event:"ADDED"===a.status?"ADD":"REMOVE",quantity:t-e,isABDApplied:ek,isAutoshipmentApplied:eD,origin:"PRODUCT-DETAIL"})}o!==eQ&&t===e&&eJ({event:"ADD",quantity:t,isABDApplied:ek,isAutoshipmentApplied:eD,origin:"PRODUCT-DETAIL"})}catch(t){eS(e),eB(!1),O&&N({error:t})}}};return(0,I.jsx)("div",{"data-zta":u,children:(0,I.jsxs)("div",{className:r0().selectedArticleBox,children:[(0,I.jsxs)("div",{className:r0().selectedArticle,children:[(0,I.jsxs)("div",{className:r0().bestPriceContainer,children:[(0,I.jsx)("span",{"data-zta":p("TopSection"),className:M()({[r0().hideOnMobileWhenVariantSelectionEnabled]:Y}),children:(0,I.jsx)(i3,{deliveryMethod:o,priceSize:"large"})}),eV&&(0,I.jsxs)("div",{className:r0().bestPrice,children:[(0,I.jsx)(ee.L,{label:"",variant:"brand-promotion",icon:(0,I.jsx)(J.twC,{}),className:r0().bestPriceIcon}),(0,I.jsx)(eK.P2,{bold:!0,children:m("product.bestprice.guarantee")})]})]}),(0,I.jsxs)("span",{className:r0().bottomSection,children:[ez&&(ey?(0,I.jsx)(X,{label:eC.label,validUntil:eC.validUntil,isApplied:ek,onToggle:eX}):(0,I.jsx)($,{label:null==eC?void 0:eC.label,isApplied:ek,onToggle:eX})),!em.available&&(0,I.jsx)("p",{"data-zta":p("UnavailabilityText"),className:r0().outOfStockText,children:m("product.details.stockreminder.notavailable")}),ew&&(0,I.jsx)(rN,{activeVariant:ed,activeVariantId:_,deliveryMethod:o,onChange:e=>
1{eN(!0),"autoshipment"===e?T(null==ew?void 0:ew.offerId):S(null==ew?void 0:ew.offerId),d(e),eW({name:"abo_change_delivery_method",id:e,value:"".concat(ec,".").concat(ed.variantId)})},singleDeliveryPrice:(0,I.jsx)(eq.N,{size:"large",price:eM||eR,"aria-live":"polite",previousPrice:eM?eR:void 0,secondaryCurrencyPrice:eM?void 0:eU}),autoshipmentPrice:(0,I.jsx)(eq.N,{size:"large",textAlign:{xs:"right"},price:ew.discountedPriceLabel,"aria-live":"polite",secondaryCurrencyPrice:eF})})]})]}),ep&&!eI&&(0,I.jsxs)("span",{className:r0().articleAddedNotification,children:[(0,I.jsx)(J.rAV,{size:20}),m("single"===eQ?"variant.add.to.cart":"variant.add.to.cart.autoshipment")]}),G&&void 0!==eL&&ex&&(0,I.jsx)(rT,{articlePrice:eL,articleCurrency:ex}),(0,I.jsxs)("div",{className:M()(r0().actionButtonWrapper,Z&&r0().stickyMobileAddToCart),children:[em.available&&!ed.selectionSteps&&(0,I.jsx)(rw.V,{"data-zta":p("QuantityStepper"),minusAriaLabel:m("accessibility.decrease.cart.quantity"),plusAriaLabel:m("accessibility.increase.cart.quantity"),inputAriaLabel:m("accessibility.cart.item.count"),onValueChange:eH,value:eT,isMinusDisabled:!em.available,isPlusDisabled:!em.available,"aria-live":"polite"}),em.available&&ed.selectionSteps&&(0,I.jsx)(rj.w,{value:eT,hidden:!em.available,"data-zta":p("QuantityPicker"),onValueChange:eH,options:ed.selectionSteps,"aria-live":"polite",tabIndex:0}),eG().isAddToCartVisible&&(0,I.jsx)(tY.l,{disabled:!em.available,id:"AddToCartButton",isLoading:eI,"data-zta":p("AddToCartButton"),"data-hopps":p("AddToCartButton"),className:r0().actionButton,withIcon:!(et&&Z),"aria-label":m("accessibility.add.to.cart"),"data-article-id":ed.id,"data-shop-identifier":ec,"data-variant-id":ed.variantId,"data-quantity":eT,ref:z,onClick:eZ,children:(0,I.jsx)("span",{children:m("accessibility.add.to.cart")})}),eG().isStockReminderVisible&&(0,I.jsx)(rY,{})]}),(0,I.jsx)(rL,{})]})})};var r2=a(49260),r4=a.n(r2);let r3=(0,lj.u)(e=>{let{multipackProduct:t}=e;return!!t})(()=>{var e,t,a,i,l,r,n,s,o,c,d;let{activeVariantIdWithShopIdentifier:u,productDetails:p,withAddToCartPopover:m}=av(),{product:h}=p,{shopIdentifier:v}=h,{t:_}=(0,Q.Bd)(),[g,b]=(0,U.useState)(!1),{changeArticleQuantity:f,sid:x}=(0,F.B_)(),{toggleCartDrawer:C}=e4(),P=(0,U.useRef)(null),{multipackProduct:y}=aC(),w=null==y?void 0:y.articleVariant,j=null==w?void 0:w.variantId,{trackAddOrRemoveCart:T,trackClick:S,trackImpression:B}=ak({productDetails:p,activeVariantIdWithShopIdentifier:u,sid:x}),A=(0,E.A0)((0,E.A2)(E.tt))&&!m,N=!!w,k=(0,K.ic)({onComponentInView:()=>{B({name:"multipack_product_card",id:"multipack_product"})},dependencies:[w],shouldTrack:N});if(!N)return null;let D=null==(e=w.offers)?void 0:e[0],{price:L,secondaryPrice:z,unit:R,priceDirective:V,priceType:O}=D||{},M=null==D||null==(a=D.price)||null==(t=a.discounts)?void 0:t.find(er),J=w.id,W=(0,ai.xh)({text:null==V?void 0:V.tooltipText,position:"top-left"}),G=W?{label:_("price.refPriceAriaLabel"),...W,width:"sm"}:void 0,{secondaryPriceFormattedUnitPriceLabel:H}=(0,ai.fC)({unitPrice:null==R?void 0:R.unitPrice,unitName:null==R?void 0:R.unitName,secondaryPrice:z&&{unitPrice:null==R?void 0:R.secondaryUnitPrice,currentPrice:null==z||null==(i=z.currentPrice)?void 0:i.label},unitPriceLabel:null==R?void 0:R.unitPriceLabel}),X=(0,ai.Tt)(null==L||null==(l=L.referencePrice)?void 0:l.label,null==V?void 0:V.discountPercentageLabel),Z=X&&(null==L||null==(r=L.referencePrice)?void 0:r.prefix)?{label:L.referencePrice.prefix,...X}:void 0,q="multipack-add-to-cart-button",Y=!!(null==M?void 0:M.offerId),$=async e=>{if(e.preventDefault(),e.stopPropagation(),P.current&&D){b(!0);try{let e=await aS(f,{articleId:J,quantity:1,offerIds:Y&&M?[null==M?void 0:M.offerId]:[],addToCartRef:A?void 0:P},D.offerId);b(!1),T({event:"ADD",quantity:1,isABDApplied:!!Y,isAutoshipmentApplied:!1,origin:"MULTIPACK"}),A&&C({id:J,cart:e,shouldTriggerRecommendations:!0})}catch(e){b(!1),A&&C({error:e})}}};return(0,I.jsxs)("div",{className:r4().container,ref:k,children:[(0,I.jsx)(eK.P1,{bold:!0,children:_("shop.multipacks.title")}),(0,I.jsxs)("div",{className:r4().product,children:[(0,I.jsxs)(em.M,{onClick:()=>{S({name:"multipack_product_card",id:"product_card"})},className:r4().productInfo,href:w.path,children:[(0,I.jsx)(K.it,{width:6
15,height:65,format:"webp",src:((e,t)=>{var a,i,l,r;return(null==t||null==(i=t.pictureList)||null==(a=i[0])?void 0:a.thumbnail)?null==t||null==(r=t.pictureList)||null==(l=r[0])?void 0:l.thumbnail:i$(e)||void 0})(h,w),alt:(null==w||null==(s=w.pictureList)||null==(n=s[0])?void 0:n.title)||""}),(0,I.jsxs)("div",{className:r4().details,children:[(0,I.jsx)(eK.P1,{"data-zta":"multipack-product-name",children:null==y?void 0:y.name}),(null==w?void 0:w.name)&&(0,I.jsx)("span",{"data-zta":"multipack-article-name",className:r4().description,children:w.name}),(0,I.jsx)(eq.N,{"data-zta":"multipack-price",price:(null==L||null==(o=L.currentPrice)?void 0:o.label)||"",pricePrefix:null==L||null==(c=L.referencePrice)?void 0:c.labelFull,priceSuffix:H,secondaryCurrencyPrice:null==z||null==(d=z.currentPrice)?void 0:d.label,refPrice:Z,tooltip:G,isReducedPrice:!!(null==L?void 0:L.referencePrice),priceType:O,size:"small"})]})]}),(0,I.jsx)(tY.l,{isLoading:g,"data-zta":q,"data-hopps":q,className:r4().cartButton,"aria-label":_("accessibility.add.to.cart"),"data-article-id":J,"data-shop-identifier":v,"data-variant-id":j,"data-quantity":1,ref:P,onClick:$,iconOnly:!0})]})]})});var r6=a(63156),r5=a.n(r6);let r7=()=>{var e,t,a,i;let{setActiveVariant:l,productDetails:r,withAddToCartPopover:n}=av(),{product:s}=r,{shopIdentifier:o,title:c,articleVariants:d}=s,{t:u}=(0,Q.Bd)(),[p,m]=(0,U.useState)(!1),{changeArticleQuantity:h,sid:v}=(0,F.B_)(),{toggleCartDrawer:_}=e4(),g=(0,U.useRef)(null),b=(0,L.NP)(d).reduce((e,t)=>{var a,i,l,r,n,s,o,c;let d=(null==(r=e.offers)||null==(l=r[0])||null==(i=l.price)||null==(a=i.currentPrice)?void 0:a.value)||0;return((null==(c=t.offers)||null==(o=c[0])||null==(s=o.price)||null==(n=s.currentPrice)?void 0:n.value)||0)>d?t:e}),f=b.offers[0],x=null==(e=f.price.discounts)?void 0:e.find(er),C=b.id,P=b.variantId,y="supplement-article-add-to-cart-button",w=(0,E.A0)((0,E.A2)(E.tt))&&!n,j=!!(null==x?void 0:x.offerId),{trackAddOrRemoveCart:T,trackClick:S}=ak({productDetails:r,activeVariantIdWithShopIdentifier:"".concat(o,".").concat(b.variantId),sid:v}),B=async e=>{if(e.preventDefault(),e.stopPropagation(),g.current){m(!0);try{let e=await aS(h,{articleId:C,quantity:1,offerIds:j&&x?[null==x?void 0:x.offerId]:[],addToCartRef:w?void 0:g},f.offerId);m(!1),T({event:"ADD",quantity:1,isABDApplied:!!j,isAutoshipmentApplied:!1,origin:"SUPPLEMENT_ARTICLE"}),w&&_({id:C,cart:e,shouldTriggerRecommendations:!0})}catch(e){m(!1),w&&_({error:e})}}};return(0,I.jsx)("div",{className:r5().container,children:(0,I.jsxs)("div",{className:r5().productCard,children:[(0,I.jsx)(eK.P1,{bold:!0,children:u("pdp.supplement.article.title")}),(0,I.jsxs)("div",{className:r5().product,children:[(0,I.jsxs)("button",{onClick:e=>{e.preventDefault(),l("".concat(o,".").concat(b.variantId)),S({name:"supplement_product_card_".concat(b.variantId),id:"supplement_article"})},className:r5().productInfo,children:[(0,I.jsx)(K.it,{width:50,height:50,format:"webp",src:i0(s,b),alt:(null==b||null==(a=b.pictures)||null==(t=a[0])?void 0:t.title)||""}),(0,I.jsxs)("div",{className:r5().details,children:[(0,I.jsx)(eK.P1,{children:c}),(null==b?void 0:b.description)&&(0,I.jsx)("span",{className:r5().description,children:b.description}),(0,I.jsx)(eq.N,{className:r5().price,price:null==b||null==(i=b.offers[0].price.currentPrice)?void 0:i.label,size:"small"})]})]}),(0,I.jsx)(tY.l,{isLoading:p,"data-zta":y,"data-hopps":y,className:r5().cartButton,"aria-label":u("accessibility.add.to.cart"),"data-article-id":C,"data-shop-identifier":o,"data-variant-id":P,"data-quantity":1,ref:g,onClick:B,iconOnly:!0})]})]})})},r9=()=>{let{activeVariantIdWithShopIdentifier:e,productDetails:t}=av(),{product:a}=t,{articleVariants:i}=a,l=(0,L.NP)(i),r=(0,L.DM)(i,e),n=(0,L.Xy)(r),{multipackProduct:s}=aC();return n||!r?null:0===l.length||r.supplementArticle?(0,I.jsx)(r3,{multipackProduct:s}):(0,I.jsx)(r7,{})};var r8=a(52044),ne=a.n(r8);let nt=()=>{var e,t,a;let{t:i}=(0,Q.Bd)(),{componentDataZTA:l,getElementDataZTA:r}=(0,K.Ou)("PDPLayoutAboveTheFold"),{sid:n,ready:s}=(0,F.B_)(),{toggles:o,siteId:c,domain:d,locale:u}=(0,eP.Us)(),{query:p}=(0,R.useRouter)(),{productDetails:m,discountBanner:h,activeVariantIdWithShopIdentifier:v,handleChatbotOpen:_}=av(),g=ih(),b=(()=>{let{domain:e,locale:t,siteId:a}=(0,eP.Us)(),i=(0,E.On)(E.X,V.sc["PRODUCT-DETAIL"],e,t,a);return(0,E.A0)(i)})(),f=window.location.href,{product:x,summaryReview:C}=m,{articleVariants:P,priceAggregate:y}=x,{currency:w}=y,j=o["shop.newDiscountBanner.enabled"],T=(0,L.DM)(P,v),S=eW(T),N=!(0,eb.C1)(d),k=T.offers[0],z=null==(t=k.price.discounts)||null==(e=t.find(en))?void 0:e.offerId,O=((e,t)=>{if(void 0===e)return;let a=Array.isArray(e)?e:[e];return t&&a.includes(t)?"autoshipment":"single"})(p.offerId,z),[J,W]=(0,U.useState)(null!=O?O:"single"),{trackViewItem:G}=ak({productDetails:m,activeVariantIdWithShopIdentifier:v,sid:n});(0,U.useEffect)(()=>{s&&G()},[v,s,G]);let{selectTab:H}=iF(),X=N&&!!k.bonusPointsEarned,Z=(0,U.useMemo)(()=>(0,D.Be)(x,T),[x,T]),q=S&&!g&&!b,Y=(0,I.jsx)(tj.i0,{onSocialProofClick:e=>{e.preventDefault();let t=(0,B.Kg)();(0,V.sx)({event:V.F3.CLICK,page:V.sc["PRODUCT-DETAIL"],detail:{locale:u,domain:d,siteId:c,currencyCode:w,pageLocation:f,customer:{id:t?"".concat(t):void 0},target:{name:"social_proof_chip",id:"social_proof_".concat(v)}}}),H("reviews",!0)},socialProofChipLabel:null==C||null==(a=C.pros)?void 0:a[0]});return(0,I.jsxs)("section",{"data-zta":l,className:M()(ne().container,ne().list),"aria-label":i("pdp.section.details"),children:[(0,I.jsxs)(ry,{mediaDetails:Z,socialProofChip:Y,children:[(0,I.jsx)(iR,{onClick:_,className:ne().chatbotCTA}),q&&(0,I.jsx)(eR,{activeVariant:v,className:ne().desktopOnly}),h&&j&&(0,I.jsx)(A.a2,{discountBanner:h,className:ne().mobileOnly}),h&&!j&&(0,I.jsx)(A.$M,{discountBanner:h,typeOfBanner:"aside"})]}),(0,I.jsxs)("div",{className:ne().list,children:[(0,I.jsx)(lD,{savingsAmount:T.priceAdvantage,currency:w}),(0,I.jsxs)("div",{"data-zta":"productCard","data-hopps":r("ProductCard"),className:ne().productCard,children:[(0,I.jsx)(lc,{deliveryMethod:J}),(0,I.jsx)(r1,{deliveryMethod:J,deliveryMethodFromOfferId:O,onDeliveryMethodChange:W})]}),q&&(0,I.jsx)(eR,{activeVariant:v,className:ne().mobileOnly}),X&&!g&&(0,I.jsx)(lw,{points:k.bonusPointsEarned}),(0,I.jsx)(r9,{}),(0,I.jsx)(iq,{}),(0,I.jsx)(lI,{isPredecessor:(0,L.Xy)(T)})]})]})};var na=a(74681);a(79443);let ni=()=>{var e,t;let{language:a,siteId:i,toggles:l}=(0,eP.Us)(),{productDetails:r}
1=av(),{categories:n,product:s}=r,{shopIdentifier:o}=s;return l["shop.pdp.foodadvisor.enabled"]?(0,I.jsx)(na.di,{stage:eF.Rt.STAGE,language:a,siteId:i,categoryL4Id:(null==(t=n.breadcrumbs)||null==(e=t.find(e=>{let{level:t}=e;return 4===t}))?void 0:e.extId)||-1,productId:o}):null};var nl=a(35700),nr=a.n(nl);let nn=()=>{var e,t;let{activeVariantIdWithShopIdentifier:a,productDetails:i,withAddToCartPopover:l}=av(),{data:r,isShown:n}=(0,U.useContext)(ag),{product:s}=i,{articleVariants:o}=s,c=aN((0,L.DM)(o,a)).available,d=r.get(a);return(0,I.jsx)(tC.WP,{fallbackRender:()=>(0,I.jsx)("div",{"data-zta":"comparison-table-error"}),children:n&&d&&(0,I.jsx)("div",{className:M()({[nr().leftColumn12]:(null==(e=d.articles)?void 0:e.length)>=5,[nr().leftColumn8]:(null==(t=d.articles)?void 0:t.length)<5}),children:(0,I.jsx)(ap,{comparisonTable:d,addToCartButtonVisible:c,withAddToCartPopover:l})})})};var ns=a(65933),no=a.n(ns),nc=a(19972),nd=a.n(nc);let nu=e=>{let{content:t,contentClassName:a,id:i,showFullContent:l,isSelected:r}=e,n=(0,U.useRef)(null),{t:s}=(0,Q.Bd)(),{scrollToTab:o}=iF(),[c,d]=(0,U.useState)(!1),[u,p]=(0,U.useState)(!1),m="reviews"!==i,h=()=>{c||o(i),d(!c)};return(0,U.useEffect)(()=>{if(!m){p(!1),d(!1);return}p(!!n.current&&!l&&n.current.scrollHeight-800>50),d(!l)},[m,r,l]),(0,I.jsxs)("div",{id:i,className:a,children:["string"==typeof t?(0,I.jsx)("div",{ref:n,className:M()(nd().content,m&&c?nd().isTruncated:"",no().anchorsHTML),dangerouslySetInnerHTML:{__html:t}}):(0,I.jsx)("div",{ref:n,className:M()(nd().content,m&&c?nd().isTruncated:""),children:(0,U.cloneElement)(t)}),m&&u&&(0,I.jsxs)("div",{"data-zta":c?"show-more":"show-less","aria-label":s(c?"general.show-more":"general.show-less"),"aria-expanded":!c,role:"button",className:nd().readMorePanel,onClick:h,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),h())},tabIndex:0,children:[!c&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("span",{children:s("general.show-less")}),(0,I.jsx)(J.wDb,{"aria-hidden":!0})]}),c&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("span",{children:s("general.show-more")}),(0,I.jsx)(J.dnY,{"aria-hidden":!0})]})]})]})};var np=a(17898),nm=a.n(np);let nh=()=>{let{productDetails:e,activeVariantIdWithShopIdentifier:t}=av(),{feedbackAggregate:a}=e,{selectedTab:i,hasUserSelectedTab:l,isSelectedTabOpen:r,selectTab:n,scrollToTab:s,tabsItems:o}=iF(),{trackClick:c}=ak({productDetails:e,activeVariantIdWithShopIdentifier:t});(0,U.useEffect)(()=>{l&&i&&s(i)},[l,s,i]);let d=e=>{n(e),"reviews"===e&&c({name:"see_reviews",id:"review_tab_".concat(t),extra:{reviewsAmount:null==a?void 0:a.reviewCount,reviewsRate:null==a?void 0:a.averageRating}}),"qna"===e&&c({name:"see_qna",id:"qna_tab_".concat(t)})};return(0,I.jsx)("div",{"data-zta":"tabs",children:(0,I.jsx)("div",{className:nm().tabList,children:o.map((e,t)=>(0,I.jsx)(U.Fragment,{children:(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)(e7.H2,{"data-index":t,"data-zta":e.id,id:"".concat(e.id,"-header"),className:M()(nm().tabHeader,i===e.id?M()(nm().selectedTabHeader,r&&nm().selectedTabHeaderOpen):""),onClick:()=>d(e.id),onKeyDown:t=>((e,t)=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),d(t))})(t,e.id),tabIndex:0,children:[e.title,i===e.id&&r?(0,I.jsx)(J.Ibf,{size:16,"aria-hidden":!0}):(0,I.jsx)(J.dgN,{size:16,"aria-hidden":!0})]}),(0,I.jsx)(nu,{id:e.id,content:e.content,contentClassName:M()(nm().tabContent,"reviews"===e.id?nm().reviewsTabContent:"",i===e.id?M()(nm().selectedTabContent,r&&nm().selectedTabContentOpen):""),showFullContent:"description"===e.id,isSelected:i===e.id})]})},t))})})};var nv=a(13356),n_=a.n(nv);let ng=()=>{let{t:e}=(0,Q.Bd)(),{domain:t,toggles:a}=(0,eP.Us)(),{productDetails:i,discountBanner:l,sideBanner:r,chatbotConfig:n,suggestedPromptChips:s,handleAskChatbotChipClick:o,handleChatbotOpenWithMessage:c}=av(),d=ih(),u=(()=>{let{siteId:e,legacyLanguage:t,domain:a,locale:i}=(0,eP.Us)(),{productDetails:l}=av(),r=(0,E.On)(E.sM,V.sc["PRODUCT-DETAIL"],a,i,e),{categories:n,product:s}=l,{breadcrumbs:o}=n,{shopIdentifier:c}=s,d=(0,B.Kg)(),[u,p]=(0,U.useState)();return(0,U.useEffect)(()=>{(async()=>{p(await (0,eY.CM)({language:t,pageType:"web_pdp",siteId:e,productId:[c],userId:(0,B.VV)(),customerId:d,optimizelyDecisions:"on"===r?{[E.sM]:"on"}:void 0,...(0,eY.bl)(o)}))})()},[t,e,c,o,d,r]),u})(),[p,m,,h]=null!=u?u:[],v=!!(p&&(0,eY.nl)(p)),_=(0,U.useRef)(v),{isSelectedTabOpen:g,scrollToTab:b,selectedTab:f}=iF(),{product:x,seoRecoContainerV4:C}=i,{priceAggregate:P}=x,y=a["shop.newDiscountBanner.enabled"],w=eY.w;return(0,U.useEffect)(()=>{let e=v&&!_.current;_.current=v,e&&g&&b(f)},[v,g,b,f]),(0,I.jsxs)("section",{className:n_().list,"aria-label":e("pdp.section.info"),children:[d&&(0,I.jsx)(eY.Dk,{className:M()(n_().recommendationSlider),recoContainer:h,horizontal:!0,identifier:"alt-reco-google-shopping-container",isZooplusChoiceEnabled:!(0,eb.C1)(t),isSponsoredTagEnabled:!0,customSlidesConfiguration:w,h2TitleForDesktop:!0,sliderClassName:n_().recoSlider,currency:P.currency,trackingPage:V.sc["PRODUCT-DETAIL"]}),(0,I.jsx)(lW,{config:n,chips:s.chips,isEnabled:s.isEnabled,hasLoaded:s.hasLoaded,onAskChatbot:o,onPromptSelect:c,className:n_().mobileOnly}),(0,I.jsx)(eY.Dk,{className:M()(n_().recommendationSlider,n_().desktopOnly),recoContainer:p,horizontal:!0,identifier:"first-horizontal-desktop",isZooplusChoiceEnabled:!(0,eb.C1)(t),isSponsoredTagEnabled:!0,customSlidesConfiguration:w,h2TitleForDesktop:!0,sliderClassName:n_().recoSlider,currency:P.currency,trackingPage:V.sc["PRODUCT-DETAIL"]}),(0,I.jsxs)("div",{className:M()(n_().container,n_().list),children:[(0,I.jsxs)("div",{className:M()(n_().leftColumn,n_().list),children:[(0,I.jsx)(ni,{}),(0,I.jsx)(nh,{})]}),(0,I.jsxs)("aside",{className:M()(n_().rightColumn,n_().list),children:[l&&y&&(0,I.jsx)(A.a2,{discountBanner:l,className:n_().desktopOnly}),r&&(0,I.jsx)(A.cJ,{sideBanner:r})]}),(0,I.jsx)(nn,{})]}),(0,I.jsx)(eY.Dk,{className:M()(n_().recommendationSlider,n_().mobileOnly),recoContainer:p,horizontal:!0,identifier:"first-horizontal",isZooplusChoiceEnabled:!(0,eb.C1)(t),isSponsoredTagEnabled:!0,customSlidesConfiguration:w,h2TitleForDesktop:!0,sliderClassName:n_().recoSlider,currency:P.currency,trackingPage:V.sc["PRODUCT-DETAIL"]}),(0,I.jsx)(eY.Dk,{className:M()(n_().recommendationSlider),recoContainer:m,horizontal:!0,identifier:"second-horizontal",isZooplusChoiceEnabled:!(0,eb.C1)(t),isSponsoredTagEnabled:!0,customSlidesConfiguration:w,h2TitleForDesktop:!0,sliderClassName:n_().recoSlider,currency:P.currency,trackingPage:V.sc["PRODUCT-DETAIL"]}),(0,I.jsx)(eY.Dk,{className:M()(n_().recommendationSlider),recoContainer:C,horizontal:!0,identifier:"seo-container-horizontal",isZooplusChoiceEnabled:!(0,eb.C1)(t),isSponsoredTagEnabled:!0,customSlidesConfiguration:w,h2TitleForDesktop:!0,sliderClassName:n_().recoSlider,currency:P.currency,trackingPage:V.sc["PRODUCT-DETAIL"]})]})};var nb=a(46200),nf=a.n(nb);let nx=()=>{var e,t;let{componentDataZTA:a,getElementDataZTA:i}=(0,K.Ou)("PDPStickyAddToCart"),l=(0,U.useRef)(null),[r,n]=(0,U.useState)(!1),[s,o]=(0,U.useState)(!1),{t:c}=(0,Q.Bd)(),{activeVariantIdWithShopIdentifier:d,productDetails:u,withAddToCartPopover:p}=av(),{applyDiscount:m,isDiscountApplied:h}=eu(),{toggleCartDrawer:v}=e4(),_=(0,E.A0)((0,E.A2)(E.tt))&&!p,{product:g}=u,{articleVariants:b,shopIdentifier:f}=g,x=(0,L.DM)(b,d),C=aN(x),{changeArticleQuantity:P,sid:y}=(0,F.B_)(),w=(0,F.iS)(x.id),j=null==(e=C.price.discounts)?void 0:e.find(er),T=null==(t=C.price.discounts)?void 0:t.find(en),S=h(null==T?void 0:T.offerId),B=h(null==j?void 0:j.offerId),{trackAddOrRemoveCart:A}=ak({productDetails:u,activeVariantIdWithShopIdentifier:d,sid:y}),N=!!(null==j?void 0:j.offerId);(0,U.useEffect)(()=>{let e=document.getElementsByTagName("header")[0],t=document.getElementById("AddToCartButton"),a=()=>{let a=window.scrollY;t&&a>t.offsetTop+t.offsetHeight-e.offsetHeight?n(!0):n(!1)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[]);let k=async()=>{let e=(null==w?void 0:w.quantity)||0;o(!0),N&&m(null==j?void 0:j.offerId);try{let t=await aS(P,{articleId:x.id,quantity:e+1,offerIds:N&&j?[null==j?void 0:j.offerId]:[],addToCartRef:_?void 0:l},C.offerId);o(!1),_&&v({id:x.id,cart:t,shouldTriggerRecommendations:!0}),A({event:"ADD",quantity:1,isAutoshipmentApplied:S,isABDApplied:B,origin:"PRODUCT-DETAIL"})}catch(e){o(!1),_&&v({error:e})}};return C.available&&(0,I.jsx)("div",{className:M()(nf().container,r&&nf().shown),"data-zta":a,children:(0,I.jsx)(tY.l,{isLoading:s,"data-zta":i("AddToCartButton"),"data-hopps":i("AddToCartButton"),className:nf().actionButton,"aria-label":c("accessibility.add.to.cart"),"data-article-id":x.id,"data-shop-identifier":f,"data-variant-id":x.variantId,"data-quantity":null==w?void 0:w.quantity,ref:l,onClick:k,iconOnly:!0,children:(0,I.jsx)("span",{children:c("accessibility.add.to.cart")})})})};var nC=a(72980),nP=a.n(nC);let ny=e=>{let{documents:t}=e,{t:a}=(0,Q.Bd)();return(0,I.jsx)(I.Fragment,{children:t.map(e=>(0,I.jsx)("p",{className:nP().paragraph,children:(0,I.jsxs)(em.M,{className:nP().link,href:e.url,target:"_blank",rel:"noreferrer","data-zta":"documentLink",children:[(0,I.jsx)(J.zzQ,{height:"16"}),(0,I.jsx)("span",{children:a("productdetail.document.downloadLink",{0:e.name,1:e.type})})]})},e.url))})};var nw=a(45344),nj=a.n(nw);let nT=e=>{let{constituents:t}=e;return(0,I.jsx)("table",{"data-zta":"constituentsTable",className:nj().table,children:(0,I.jsx)("tbody",{children:t.map(e=>(0,I.jsxs)("tr",{children:[(0,I.jsx)("td",{children:e.ingredientName}),(0,I.jsxs)("td",{children:[(e=>Number.isInteger(e)?e.toFixed(1):e)(e.amount)," ",e.unit]})]},e.ingredientName))})})};var nS=a(84902),nI=a.n(nS);let nB=e=>{let{variants:t}=e,[a,i]=(0,U.useState)(t[0]);return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("select",{"data-zta":"constituentsSelect",className:nI().select,onChange:e=>{let a=t.find(t=>t.name===e.target.value);a&&i(a)},children:t.map(e=>(0,I.jsx)("option",{value:e.name,children:e.name},e.name))}),a.constituents&&(0,I.jsx)(nT,{constituents:a.constituents})]})},nA=e=>{let{variants:t}=e;return 1===t.length?(0,I.jsx)(nT,{constituents:t[0].constituents}):(0,I.jsx)(nB,{variants:t})};var nN=a(51912),nk=a.n(nN);let nD=e=>{let{ingredientsText:t,variants:a}=e,{t:i}=(0,Q.Bd)(),l=(0,U.useRef)(null);return(0,I.jsxs)(I.Fragment,{children:[a.length>0&&(0,I.jsx)(em.M,{"data-zta":"goToConstituents",className:nk().goToConstituents,onClick:()=>{l.current&&window.scrollBy({top:l.current.getBoundingClientRect().top,behavior:"smooth"})},children:i("productDetail.link.to.analyticalconstituents")}),(0,I.jsx)("div",{className:no().anchorsHTML,dangerouslySetInnerHTML:{__html:t}}),a.length>0&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("hr",{"aria-hidden":"true",className:nk().space}),(0,I.jsx)("p",{className:nk().paragraph,ref:l,children:(0,I.jsx)("b",{children:i("productDetail.tabs.title.analyticalconstituents")})}),(0,I.jsx)(nA,{variants:a})]})]})},nL=(0,U.createContext)({}),nz=e=>{let{children:t,activeVariantId:a,articleVariants:i,shopIdentifier:l,currency:r,activeVariantIdWithShopIdentifier:n}=e;return(0,I.jsx)(nL.Provider,{value:{activeVariantId:a,articleVariants:i,shopIdentifier:l,currency:r,activeVariantIdWithShopIdentifier:n},children:t})},nR=e=>{let{currency:t}=e,{siteId:a,domain:i,locale:l}=(0,eP.Us)(),r=(0,B.Kg)(),n=window.location.href;return{trackClick:e=>{(0,V.sx)({event:V.F3.CLICK,page:V.sc["PRODUCT-DETAIL"],detail:{locale:l,domain:i,siteId:a,currencyCode:t,pageLocation:n,customer:{id:r?"".concat(r):void 0},target:e}})}}};var nU=a(54449),nF=a.n(nU);let nE=e=>{let{setQuestionFormDrawerOpen:t}=e,{t:a}=(0,Q.Bd)();return(0,I.jsxs)("div",{className:nF().container,"data-zta":"customerQnAEmptyState",children:[(0,I.jsx)(e7.H2,{className:nF().title,children:a("customerQnA.emptyState.title")}),(0,I.jsx)(eK.P1,{className:nF().description,children:a("customerQnA.emptyState.description")}),(0,I.jsx)(eA.j,{"data-zta":"writeQuestionButton","aria-label":a("customerQnA.writeQuestion.link.text"),onClick:()=>t(!0),children:a("customerQnA.writeQuestion.link.text")})]})};
1var nV=a(23760),nO=a(27250),nM=a(29758),nQ=a(24700),nJ=a(51076),nW=a(57453),nG=a.n(nW);let nH={h1:e7.H1,h2:e7.H2,h3:e7.H3,h4:e7.H4},nX=e=>{let{onClose:t,headingLevel:a="h2"}=e,{t:i}=(0,Q.Bd)(),l=nH[a];return(0,I.jsxs)("div",{className:nG().successScreen,children:[(0,I.jsx)(l,{className:M()("z-h4",nG().successTitle),children:i("customerQnA.success.title")}),(0,I.jsx)(eK.P1,{children:i("customerQnA.success.subtitle")}),(0,I.jsx)(eA.j,{"data-zta":"customerQnASubmit",onClick:()=>{t()},className:nG().returnLink,children:i("customerQnA.success.button")})]})},nZ=["text","email"],nK={text:{min:2,max:4e3},name:{min:2,max:50}},nq=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,nY=e=>nK[e],n$={text:"",name:"",email:"",activeVariant:""},n0=e=>{var t,a,i;let{isOpen:l,onClose:r}=e,{siteId:n}=(0,eP.Us)(),{activeVariantId:s,articleVariants:o,shopIdentifier:c,currency:d,activeVariantIdWithShopIdentifier:u}=(0,U.useContext)(nL),{t:p}=(0,Q.Bd)(),{trackClick:m}=nR({currency:d}),[h,v]=(0,U.useState)(n$),[_,g]=(0,U.useState)({}),[b,f]=(0,U.useState)(""),[x,C]=(0,U.useState)(!1),[P,y]=(0,U.useState)(!1),w=e=>t=>{let{value:a}=t.target;v(t=>({...t,[e]:a})),_[e]&&g(t=>({...t,[e]:void 0}))},j=async()=>{let e=(e=>{let t={};return nZ.forEach(a=>{let i=e[a];i&&i.trim()||(t[a]="required")}),Object.keys(e).forEach(a=>{let i=e[a],l=nK[a];i&&i.trim()&&(l&&(i.length<l.min||i.length>l.max)?t[a]="range":"email"!==a||nq.test(i)||(t[a]="format"))}),t})(h);if(g(e),!(Object.keys(e).length>0)){C(!0),f("");try{await nJ.V.createQuestion({shopIdentifier:c,articleId:Number(h.activeVariant),text:h.text,siteId:n,name:h.name,email:h.email}),y(!0);let e=o.find(e=>e.id===Number(h.activeVariant)),t=null==e?void 0:e.variantId,a=t?"".concat(c,".").concat(t):u;m({name:"qna_drawer",id:"submit_question_button_".concat(a),value:h.text})}catch(e){f(p("general.error.generic"))}finally{C(!1)}}};if((0,U.useEffect)(()=>{let e=()=>{document.querySelectorAll(".z-box input, .z-box textarea").forEach(e=>e.value="")};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[]),(0,U.useEffect)(()=>{l?v(e=>({...e,activeVariant:String(s)})):(v(n$),g({}),f(""),C(!1),y(!1))},[s,l]),x)return(0,I.jsx)("div",{className:nG().loadingScreen,children:(0,I.jsx)(nV.B,{isLoading:!0,loadingIconType:"spinner",color:"green",length:"full",size:"normal"})});if(P)return(0,I.jsx)(nX,{onClose:()=>{r()}});let T=o.map(e=>(0,I.jsx)("option",{value:e.id,children:e.description},e.id));return(0,I.jsxs)(I.Fragment,{children:[b&&(0,I.jsx)(eZ.F,{variant:"error",className:nG().alert,"data-zta":"formTopLevelError",children:b}),(0,I.jsxs)("div",{className:nG().formFields,children:[(0,I.jsx)("div",{className:nG().field,children:(0,I.jsxs)(nO.z,{labelText:p("customerQnA.item.title",{0:o.length}),componentProps:{selectProps:{value:h.activeVariant||""},onChange:w("activeVariant")},children:[(0,I.jsx)("option",{disabled:!0,value:"",children:p("customerQnA.option.title")}),T]})}),(0,I.jsx)("div",{className:nG().field,children:(0,I.jsx)(nM.V,{"data-zta":"commentLabel",isRequired:!0,componentProps:{value:h.text,onChange:w("text"),hasError:!!_.text,placeholder:p("customerQnA.experience"),maxLength:null==(t=nY("text"))?void 0:t.max},labelText:p("customerQnA.comments.title"),errorMessage:_.text?"required"===_.text?p("general.empty.field",{0:p("customerQnA.experience")}):p("general.field",{0:p("customerQnA.experience"),1:null==(a=nY("text"))?void 0:a.min,2:null==(i=nY("text"))?void 0:i.max}):""})}),(0,I.jsx)("div",{className:nG().field,children:(0,I.jsx)(nQ.F,{"data-zta":"nameLabel",optionalText:"optional",componentProps:{onChange:w("name"),hasError:!!_.name,inputProps:{value:h.name,autoComplete:"name"}},labelText:p("customerQnA.name.title")})}),(0,I.jsx)("div",{className:nG().field,children:(0,I.jsx)(nQ.F,{"data-zta":"emailLabel",isRequired:!0,componentProps:{onChange:w("email"),hasError:!!_.email,inputProps:{value:h.email,autoComplete:"email"}},labelText:p("customerQnA.email.title"),errorMessage:_.email?"required"===_.email?p("general.empty.field",{interpolation:{escapeValue:!1},0:p("customerQnA.email.title",{interpolation:{escapeValue:!1}})}):p("general.email.error"):""})})]}),(0,I.jsx)("p",{className:nG().bottomText,children:p("customerQnA.form.emailPrivacyNotice")}),(0,I.jsx)("div",{className:nG().submit,children:(0,I.jsx)(eA.j,{"data-zta":"customerQnASubmit",onClick:j,isLoading:x,children:p("general.button.submit")})})]})},n1=e=>{let{isOpen:t,onClose:a}=e,{t:i}=(0,Q.Bd)();return(0,I.jsx)(eX._s,{"data-zta":"questionFormDrawer",isOpen:t,closeBtnAriaLabel:i("general.button.close"),onClose:a,title:i("customerQnA.question.title"),showTitleDivider:!1,children:(0,I.jsx)(n0,{isOpen:t,onClose:a})})};var n2=a(10139),n4=a.n(n2);let n3={h1:e7.H1,h2:e7.H2,h3:e7.H3,h4:e7.H4},n6=e=>{let{activeVariantId:t,articleVariants:a,shopIdentifier:i,headingLevel:l="h2",currency:r,activeVariantIdWithShopIdentifier:n}=e,{t:s}=(0,Q.Bd)(),o=n3[l],c=[],[d,u]=(0,U.useState)(!1),{trackClick:p}=nR({currency:r}),m=()=>{u(!0),p({name:"see_qna",id:"open_drawer_button_".concat(n)})},h=(null==c?void 0:c.length)>0;return(0,I.jsx)(nz,{activeVariantId:t,articleVariants:a,shopIdentifier:i,currency:r,activeVariantIdWithShopIdentifier:n,children:(0,I.jsxs)("div",{className:n4().customerQnA,"data-zta":"customerQnA",children:[(0,I.jsx)(n1,{isOpen:d,onClose:()=>{u(!1),p({name:"qna_drawer",id:"close_drawer_".concat(n)})}}),h?(0,I.jsx)(I.Fragment,{children:(0,I.jsxs)("div",{className:n4().headerContainer,children:[(0,I.jsxs)("div",{className:n4().headerTextContainer,children:[(0,I.jsx)(o,{className:"z-h4",children:s("customerQnA.title")}),(0,I.jsx)(eK.P1,{children:s("customerQnA.description")})]}),(0,I.jsx)(eA.j,{"data-zta":"writeQuestionButton","aria-label":s("customerQnA.writeQuestion.link.text"),onClick:m,children:s("customerQnA.writeQuestion.link.text")})]})}):(0,I.jsx)(nE,{setQuestionFormDrawerOpen:m})]})})},n5=()=>{let{productDetails:{product:{shopIdentifier:e,articleVariants:t,priceAggregate:a}},activeVariantIdWithShopIdentifier:i}=av(),l=(0,L.DM)(t,i),r=a.currency;return(0,I.jsx)(n6,{activeVariantId:l.id,articleVariants:t,shopIdentifier:e,currency:r,activeVariantIdWithShopIdentifier:i})},n7=()=>{var e,t;let{domain:a,language:i,path:l}=(0,eP.Us)(),{productDetails:r,activeVariantIdWithShopIdentifier:n}=av(),{customerPicturesInfo:s,feedbackAggregate:o,product:c,reviews:d,summaryReview:u,reviewClusters:p}=r,{articleVariants:m,shopIdentifier:h}=c,v=(0,L.DM)(m,n),_=(0,D.Be)(c,v).medias.filter(iC)[0],g=!!(e=>{var t;return(null==(t=e.seller)?void 0:t.type)!==aB.Rx.Zooplus?e.seller:void 0})(aN(v)),b=null==(e=r.toggles)?void 0:e["shop.pdp.international-reviews.inclusive-approach.enabled"],f=null==(t=r.toggles)?void 0:t["shop.pdp.international-reviews.conservative-approach.enabled"];return(0,I.jsx)(tj.Kf,{feedbackAggregate:o,reviews:d,showRelatedReviews:b||f,picture:_,shopIdentifier:h,customerPicturesInfo:s,domain:a,path:l,language:i,inclusiveApproachEnabled:b,conservativeApproachEnabled:f,is3P:g,aiSummary:u,activeVariantIdWithShopIdentifier:n,reviewClusters:p})};var n9=a(62856),n8=a.n(n9);let se=e=>{let{children:t}=e,{t:a}=(0,Q.Bd)(),{productDetails:i,activeVariantIdWithShopIdentifier:l}=av(),r=(0,E.A0)((0,E.A2)(E.X8)),{feedbackAggregate:n,product:s}=i,{articleVariants:o,description:c,documents:d,feedingRecommendationText:u,ingredientsText:p,summary:m}=s,h=(0,L.DM)(o,l),v=(null==h?void 0:h.summary)||m,_=(null==h?void 0:h.articleDescription)||c,g='<div data-zta="productDescription" class="'.concat(n8().productDescription,'">\n ').concat(v,"\n </div>\n ").concat(_).replace("<img ",'<img loading="lazy" '),b=[{title:a("productDetail.tabs.title.description"),id:"description",content:g}],f=o.reduce((e,t)=>
1(t.articleConstituents&&t.articleConstituents.length>0&&e.push({name:t.description,constituents:t.articleConstituents}),e),[]),x=(null==h?void 0:h.ingredients)||p;x&&b.push({title:a("productDetail.tabs.title.ingredients"),id:"ingredients",content:(0,I.jsx)(nD,{ingredientsText:x,variants:f})});let C=(null==h?void 0:h.feedingRecommendation)||u;return C&&b.push({title:a("productDetail.tabs.title.feedingrecommendation"),id:"feedingrecommendation",content:C}),d.length&&b.push({title:a("productDetail.tabs.title.documents"),id:"documents",content:(0,I.jsx)(ny,{documents:d})}),!p&&f.length&&b.push({title:a("productDetail.tabs.title.analyticalconstituents"),id:"constituents",content:(0,I.jsx)(nA,{variants:f})}),n.reviewCount&&b.push({title:a("productDetail.tabs.title.reviews"),id:"reviews",content:(0,I.jsx)(n7,{})}),r&&b.push({title:a("productDetail.tabs.title.qna"),id:"qna",content:(0,I.jsx)(n5,{})}),(0,I.jsx)(iE,{tabsItems:b,children:t})};var st=a(72882),sa=a(81074);let si=e=>e?e.replace(/<script\b[^>]*>[\s\S]*?<\/script\s*>/gi,"").replace(/<script\b[^>]*>/gi,"").replace(/\s+on\w+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/((?:=|"|')\s*)(?:javascript|vbscript)\s*:/gi,"$1"):e;var sl=a(44744),sr=a.n(sl);let sn=e=>{let{description:t,name:a,privacyPolicy:i,returnPolicies:l,termsAndConditions:r,
1withdrawalPolicy:n,isFullscreen:s,onTrackClick:o}=e,{t:c}=(0,Q.Bd)();return(0,I.jsxs)("div",{className:M()(sr().sellerInfo,{[sr().sellerInfoFullscreen]:s}),"data-zta":"sellerInfo",children:[(0,I.jsxs)("div",{className:sr().sellerTextContainer,children:[(0,I.jsx)(e7.H2,{className:sr().sellerName,"data-zta":"sellerName",children:a}),t&&(0,I.jsx)(eK.P1,{className:sr().preformatted,"data-zta":"sellerDescription",dangerouslySetInnerHTML:{__html:si(t)}})]}),(0,I.jsxs)(st._,{"data-zta":"sellerAccordion",children:[l&&(0,I.jsx)(sa.A,{"data-zta":"sellerReturnPolicy",title:c("product.details.seller.drawer.returnPolicy"),onClick:e=>{e.currentTarget.open||null==o||o({name:"seller_information",id:"return_policy"})},children:(0,I.jsx)(eK.P1,{className:sr().preformatted,dangerouslySetInnerHTML:{__html:si(l)}})}),r&&(0,I.jsx)(sa.A,{title:c("product.details.seller.drawer.termsAndConditions"),"data-zta":"sellerTermsAndConditions",children:(0,I.jsxs)(em.M,{href:r,target:"_blank",rel:"noopener noreferrer",className:sr().sellerLink,onClick:()=>null==o?void 0:o({name:"seller_information",id:"terms_and_conditions"}),children:[(0,I.jsx)(J.Zsl,{})," ",c("product.details.seller.drawer.termsAndConditions")]})}),i&&(0,I.jsx)(sa.A,{title:c("product.details.seller.drawer.privacyPolicy"),"data-zta":"sellerPrivacyPolicy",children:(0,I.jsxs)(em.M,{href:i,target:"_blank",rel:"noopener noreferrer",className:sr().sellerLink,onClick:()=>null==o?void 0:o({name:"seller_information",id:"privacy_policies"}),children:[(0,I.jsx)(J.Zsl,{})," ",c("product.details.seller.drawer.privacyPolicy")]})}),n&&(0,I.jsx)(sa.A,{title:c("product.details.seller.drawer.withdrawalPolicy"),"data-zta":"sellerWithdrawalPolicy",children:(0,I.jsxs)(em.M,{href:n,target:"_blank",rel:"noopener noreferrer",className:sr().sellerLink,onClick:()=>null==o?void 0:o({name:"seller_information",id:"withdrawal_policy"}),children:[(0,I.jsx)(J.Zsl,{})," ",c("product.details.seller.drawer.withdrawalPolicy")]})})]})]})};aB.Yt.TermsAndConditions,aB.Yt.DataProtection,aB.Yt.RightOfWithdrawal;let ss=()=>{var e;let{t}=(0,Q.Bd)(),{isSellerDrawerOpen:a,toggleSellerDrawer:i}=aw(),{activeVariantIdWithShopIdentifier:l,productDetails:r}=av(),{product:{articleVariants:n},sellersDetails:s}=r,{trackClick:o}=ak({productDetails:r,activeVariantIdWithShopIdentifier:l}),c=aA(null==(e=aN((0,L.DM)(n,l)).seller)?void 0:e.id,s);return c?(0,I.jsx)(eX._s,{"data-zta":"sellerDrawer",isOpen:a,closeBtnAriaLabel:t("general.button.close"),onClose:()=>i(),title:t("product.details.seller.drawer.title"),children:(0,I.jsx)(sn,{...c,onTrackClick:o})}):null};var so=a(2756),sc=a.n(so);let sd=e=>{var t;let{productDetails:a,discountBanner:i,sideBanner:l,isGoogleShoppingCustomer:r,variantIdFromUrl:n,variantIdStoredInCookie:s,activeVariantFromUrl:o,feedbackConfirmation:c,withAddToCartPopover:d}=e,{siteId:u,domain:p,locale:m,language:h}=(0,eP.Us)(),{sid:v}=(0,F.B_)(),{product:_,categories:g}=a,{articleVariants:b,shopIdentifier:f,title:x,priceAggregate:C}=_,{breadcrumbs:P}=g,{currency:y}=C,w=(0,L.ae)({variantIdFromUrl:n,shopIdentifier:f,variantIdStoredInCookie:s,articleVariants:b,activeVariantFromUrl:o}),[j,T]=(0,U.useState)(w),S=(0,L.DM)(b,w),[A,N]=(0,U.useState)(null==S?void 0:S.multipackProduct),{open:k,openWithMessage:O}=(0,tx.r)();(0,E.On)(E.k9,V.sc["PRODUCT-DETAIL"],p,m,u),(0,E.On)(E.Zv,V.sc["PRODUCT-DETAIL"],p,m,u);let M=(0,E.On)(E.CK,V.sc["PRODUCT-DETAIL"],p,m,u),Q=(0,E.A0)(M),{trackClick:J}=ak({productDetails:a,activeVariantIdWithShopIdentifier:w,sid:v}),{query:W}=(0,R.useRouter)(),G=(0,B.Kg)(),H=(0,L.DM)(b,w),X=r&&(n===w||s===w);(0,U.useEffect)(()=>{if(v){let e=window.location.href;(0,V.sx)({event:V.F3.PAGE_VIEW,page:V.sc["PRODUCT-DETAIL"],detail:{sid:v,domain:p,siteId:u,locale:m,currencyCode:y,pageLocation:e,platform:"WEB",customer:{id:G?"".concat(G):void 0}}})}},[v,p,u,m,y,G]),(0,U.useEffect)(()=>{n&&z.A.set("gsc_abd",JSON.stringify({v:n,psid:f}),{sameSite:"Strict",domain:".".concat(p)})},[f,n,p]),(0,U.useEffect)(()=>{W.activeVariant||(0,K.vA)("activeVariant")||(0,K.mL)("activeVariant",w)},[W,w]),(0,U.useEffect)(()=>{G&&(0,D.Cu)({customerId:G,shopIdentifier:f,siteId:u,isGoogleShoppingCustomer:r}).then(e=>
1{_.articleVariants.forEach(t=>{let a=e[t.id];if(!a)return;let i=t.offers[0].price,l=es(i.discounts);i.discounts=[...l,a]})})},[G]);let Z=(null!=(t=(0,L.DM)(b,j))?t:H).id,q=a.product.shopIdentifier,Y=(0,U.useMemo)(()=>({siteId:u,domain:p,locale:m,pageType:"PRODUCT-DETAIL",sid:v,articleId:Z,productId:q}),[u,p,m,v,Z,q]),$=(e=>{let[t,a]=(0,U.useState)([]),[i,l]=(0,U.useState)(!1),{isFloatingButtonEnabled:r}=(0,tw.p)();return(0,U.useEffect)(()=>{r&&(null==e?void 0:e.sid)&&(0,tP.dp)(e).then(e=>{var t;let i=e.messages.flatMap(e=>e.content).find(e=>e.block_type===ty.k.SUGGESTED_PROMPTS);a(null!=(t=null==i?void 0:i.content)?t:[])}).catch(e=>{(0,tC.vV)({error:e,action:"fetchSuggestedPromptChips"}),a([])}).finally(()=>{l(!0)})},[r,e]),{chips:t,isEnabled:r,hasLoaded:i}})(Y);return(e=>{let{productId:t,articleId:a}=e,i=(0,aT.hF)();(0,U.useEffect)(()=>{if(null!=t&&null!=a)return i({pageType:"PRODUCT-DETAIL",productId:t,articleId:a}),()=>i(void 0)},[i,t,a])})({productId:q,articleId:Z}),(0,I.jsxs)(a_,{value:(e=>{let{productDetails:t,discountBanner:a,sideBanner:i,isGoogleShoppingCustomer:l,variantIdFromUrl:r,variantIdStoredInCookie:n,activeVariantIdWithShopIdentifier:s,setActiveVariant:o,withAddToCartPopover:c,handleChatbotOpen:d,handleAskChatbotChipClick:u,handleChatbotOpenWithMessage:p,chatbotConfig:m,suggestedPromptChips:h}=e,{articleVariants:v,shopIdentifier:_}=t.product,g=()=>{};return{productDetails:t,discountBanner:a||null,sideBanner:i||null,isGoogleShoppingCustomer:l||!1,variantIdFromUrl:r||null,variantIdStoredInCookie:n||null,activeVariantIdWithShopIdentifier:s||(0,L.aL)(_,v),setActiveVariant:o||g,withAddToCartPopover:c,handleChatbotOpen:d||g,handleAskChatbotChipClick:u||g,handleChatbotOpenWithMessage:p||g,chatbotConfig:m,suggestedPromptChips:h||{chips:[],isEnabled:!1,hasLoaded:!1}}})({productDetails:a,discountBanner:i,sideBanner:l,isGoogleShoppingCustomer:r,variantIdFromUrl:n,variantIdStoredInCookie:s,activeVariantIdWithShopIdentifier:j,setActiveVariant:e=>{var t;let a=(0,L.DM)(b,e),i="".concat(f,".").concat(null==a?void 0:a.variantId);T(i),(0,K.mL)("activeVariant",i);let l=null!=(t=null==a?void 0:a.pricingRelationArticleIds)?t:[];if(!l||0===l.length)return void N(void 0);aL({domain:p,multipackArticleIds:l,language:h}).then(e=>{e&&N(e)}).catch(()=>{N(void 0)})},withAddToCartPopover:d,handleChatbotOpen:()=>{J({name:"chatbot_cta",id:"open_chatbot"}),k()},handleAskChatbotChipClick:()=>{k()},handleChatbotOpenWithMessage:(e,t)=>{O(e,t)},chatbotConfig:Y,suggestedPromptChips:$}),children:[(0,I.jsx)(aU,{}),(0,I.jsx)(iB,{}),(0,I.jsx)(aM,{}),(0,I.jsx)(e_,{value:{autoshipmentComponent:a.autoShipmentComponent},children:(0,I.jsx)(aj,{children:(0,I.jsx)(e3,{value:{breadcrumbs:a.categories.breadcrumbs,trackingPageCode:V.sc["PRODUCT-DETAIL"]},children:(0,I.jsxs)("main",{className:sc().list,children:[(0,I.jsx)(eG.B,{breadcrumbs:P,lastBreadcrumbLabel:x}),(0,I.jsx)(se,{children:(0,I.jsxs)(af,{children:[(0,I.jsx)(aP,{multipackProduct:A,setMultipackProduct:N,children:(0,I.jsxs)(ep,{activeVariant:H,isGoogleShoppingCustomerWithCurrentVariant:X,children:[(0,I.jsx)(nt,{}),(0,I.jsx)(iv,{}),!Q&&(0,I.jsx)(nx,{}),Q&&(0,I.jsx)("div",{className:"sbContainer",hidden:!0})]})}),(0,I.jsx)(ng,{})]})}),(0,I.jsx)(ss,{}),(0,I.jsx)(aF,{})]})})})}),(0,I.jsx)(tj.Dd,{isOpen:!!c})]})};(0,N.nl)(async(e,t)=>{var a,i;let{shopIdentifier:l,variantId:r,activeVariant:n}=(0,L.Dl)(e.query),s=null==n?void 0:n.split(".")[1],{gsc_abd:o}=e.req.cookies,c=(0,B.M4)(e.req.cookies),{psid:d,v:u}=o&&JSON.parse(o)||{},{domain:p,language:m,locale:h,path:v}=t,_=(0,B.I0)(e.req.cookies),g=s?parseInt(s):void 0,b=void 0!==r||d===l,f=A.HD.discountBannerProvider({domain:p,locale:h,targetIdentifier:"all_pages",petType:"NONE",customerGroup:c?"existingCustomers":"newCustomersGeneral"}).catch(()=>null),[x,C]=await Promise.all([f,(0,D.Ok)({domain:p,language:m,path:v,shopIdentifier:l,variantId:g,isGoogleShoppingCustomer:b,cartV2:!0,optimizelyAb:_})]);if("redirect"in C)return e.res.setHeader("Cache-Control","no-store"),{redirect:{destination:C.redirect,permanent:!0}};let P=null==(a=C.categories.breadcrumbs.at(-1))?void 0:a.path,y=P?await A.HD.sideBannerProvider({domain:p,locale:h,targetIdentifier:P}).then(e=>e?{sideBannerList:e}
1:null).catch(()=>null):null;return e.res.setHeader("Cache-Control","public, s-maxage=900"),{props:{appLevelProps:{localization:C.localizations,settings:C.settings,toggles:C.toggles},pageLevelProps:{name:k.UU,feedbackConfirmation:null!=(i=e.query.feedbackThanks)?i:null,productDetails:C,discountBanner:x,sideBanner:y,isGoogleShoppingCustomer:b,variantIdFromUrl:r||null,variantIdStoredInCookie:u||null,activeVariantFromUrl:n||null}}}});let su=e=>{let{appLevelProps:t,pageLevelProps:a}=e;return(0,I.jsx)(N.LN,{...t,children:(0,I.jsx)(sd,{...a})})};var sp=!0},68697:e=>{e.exports={cartButton:"ComparisonTableAddToCart_cartButton__j_W_e"}},68992:e=>{e.exports={variant:"Variant_variant__XpuP9",variantCell:"Variant_variantCell__lZaYW",activeVariant:"Variant_activeVariant__LnO_V",variantUnavailable:"Variant_variantUnavailable__TEeFr",variantCellPrice:"Variant_variantCellPrice__3gXXU",variantPrice:"Variant_variantPrice__WF7YV"}},69036:(e,t,a)=>{"use strict";a.d(t,{Be:()=>o,Cu:()=>d,Ok:()=>c});var i=a(48077),l=a(43049),r=a(70761),n=a(21093),s=a(82564);let o=(e,t)=>{let a=[...e.mediaDetails.medias];a[0]={...a[0],preload:!0};let i=null==t?void 0:t.pictures;return{medias:i?[...i,...a]:a,newProduct:e.mediaDetails.newProduct}},c=async e=>{let{shopIdentifier:t,path:a,domain:o,language:c,variantId:d,isGoogleShoppingCustomer:u,cartV2:p,optimizelyAb:m}=e;try{let{data:e}=await l.Gt.getProductDetails(o,t,a,c,d,u,p,void 0,m,{headers:{optimizely_ab:m}});return e}catch(e){if((0,i.F0)(e)){var h,v;if((null==(h=e.response)?void 0:h.status)===301){let a=new URLSearchParams(e.response.headers.location).get("path");if(a)return{redirect:"".concat((0,n.ei)(o,c)).concat(a,"/").concat(t)}}else if((0,s.kE)(null==(v=e.response)?void 0:v.status))return{redirect:(0,n.ei)(o,c)+a}}throw(0,r.vV)({error:e,action:"getProductDetails from explore-bff-api"}),e}},d=async e=>{let{siteId:t,shopIdentifier:a,customerId:i,isGoogleShoppingCustomer:n}=e;try{let{data:e}=await l.Gt.getAbd(t,a,i,n);return e}catch(e){throw(0,r.vV)({error:e,action:"getABD from explore-bff-api"}),e}}},70522:e=>{e.exports={container:"DeliveryInfo_container__MVRBk",icon:"DeliveryInfo_icon__KXrnj",anchor:"DeliveryInfo_anchor__35aQq"}},72980:e=>{e.exports={paragraph:"Documents_paragraph__Lzdv9",link:"Documents_link__hKcEd"}},73097:e=>{e.exports={container:"CollapsibleContainer_container__mfo8C",content_mobileOnly:"CollapsibleContainer_content_mobileOnly__WKdWO",content_mobileOnly_expanded:"CollapsibleContainer_content_mobileOnly_expanded__NhlJb"}},73268:e=>{e.exports={container:"ProductSummary_container__n_Z2Z",showMoreAnchor:"ProductSummary_showMoreAnchor__FvFb5",desktopOnly:"ProductSummary_desktopOnly__7cRZi",badgeContainer:"ProductSummary_badgeContainer__eKbJO",mobileOnly:"ProductSummary_mobileOnly__OQFwK",summaryContainer:"ProductSummary_summaryContainer__fdyfR",chatbotCTA:"ProductSummary_chatbotCTA__AMzmd",mobileTitleStyles:"ProductSummary_mobileTitleStyles__8usIA",mobileWishlistMobileGallery:"ProductSummary_mobileWishlistMobileGallery__yf_90"}},75465:e=>{e.exports={imageSwiperPictureWrapper:"ImageSwiperPicture_imageSwiperPictureWrapper__oINC_",fullscreenImageContainer:"ImageSwiperPicture_fullscreenImageContainer__xP7cA"}},76490:e=>{e.exports={content:"CartDrawerContent_content__99gM3",products:"CartDrawerContent_products__DoiTs",product:"CartDrawerContent_product__YnyyG",productImageContainer:"CartDrawerContent_productImageContainer__msssk",productDetails:"CartDrawerContent_productDetails__m88jN",productQuantity:"CartDrawerContent_productQuantity__JWtHf",productTitle:"CartDrawerContent_productTitle__yjj9c",subtitle:"CartDrawerContent_subtitle__u_D4s",price:"CartDrawerContent_price__hv5wX",recoSlider:"CartDrawerContent_recoSlider__hHJwc",divider:"CartDrawerContent_divider__LCX9x"}},77216:e=>{e.exports={radioCardGroup:"DeliveryMethodSelection_radioCardGroup__ngx2k",defaultRadioCardGroup:"DeliveryMethodSelection_defaultRadioCardGroup__PcOw_",defaultContent:"DeliveryMethodSelection_defaultContent__h3_05",radioCardIconTop:"DeliveryMethodSelection_radioCardIconTop__qSIw0",autoshipmentHeaderIndent:"DeliveryMethodSelection_autoshipmentHeaderIndent__HE25F",autoshipment:"DeliveryMethodSelection_autoshipment__h9jC3"}},82564:(e,t,a)=>{"use strict";a.d(t,{DM:()=>r,Dl:()=>l,K0:()=>p,NP:()=>v,Rg:()=>m,Tm:()=>u,Xy:()=>h,aL:()=>s,ae:()=>o,kE:()=>c,vl:()=>d});var i=a(58588);let l=e=>({shopIdentifier:"string"==typeof e.shopIdentifier?parseInt(e.shopIdentifier,10):void 0,language:"string"==typeof e.language?e.language:void 0,variantId:(e=>"string"==typeof e.variantid?e.variantid:"string"==typeof e.variantId?e.variantId:"string"==typeof e["*variantid"]?e["*variantid"].split("*")[0]:void 0)(e),domain:"string"==typeof e.domain?e.domain:"zooplus.de",activeVariant:"string"==typeof e.activeVariant?e.activeVariant:void 0}),r=(e,t)=>{let a=parseInt(t.split(".")[1]);return e.find(e=>e.variantId==a)},n=(e,t)=>!!(null==t?void 0:t.find(t=>t.variantId.toString()===e.split(".")[1])),s=(e,t)=>{let a=t[0];return"".concat(e,".").concat(a.variantId)},o=e=>{let t,{variantIdFromUrl:a,shopIdentifier:i,variantIdStoredInCookie:l,articleVariants:r,activeVariantFromUrl:s}=e,o=r[0],c=(e=>e.find(e=>e.offers.some(e=>e.available))||e[0])(r);return a&&n(a,r)?a:l&&(t="".concat(i),l.split(".")[0]===t)&&n(l,r)?l:s&&n(s,r)?
1s:o.offers.some(e=>e.available)?"".concat(i,".").concat(o.variantId):"".concat(i,".").concat(c.variantId)},c=e=>void 0!==e&&[400,404].includes(e),d=e=>{var t;if(!e)return;let a=null==e?void 0:e.discounts;return(null==a||null==(t=a.find(e=>e.type===i.CF.Autoshipment))?void 0:t.discountedPriceLabel)||void 0},u=e=>{var t;if(!e)return;let a=null==e?void 0:e.discounts;return(null==a||null==(t=a.find(e=>e.type===i.CF.Abd))?void 0:t.discountedPriceLabel)||void 0},p=e=>{if(e&&/\d/.test(e))return e},m=e=>{if(!e)return;let t=parseFloat(e.replace("%","").replace("-","").trim());return isNaN(t)?void 0:t},h=e=>{var t;return!!(null==(t=e.successor)?void 0:t.articleId)},v=e=>e.filter(e=>!0===e.supplementArticle)},84515:e=>{e.exports={container:"BundleList_container__9Fhvu",tripleBundle:"BundleList_tripleBundle__7ozaB",plusSign:"BundleList_plusSign__gDIo4"}},84902:e=>{e.exports={select:"Variants_select__IJ5Uj"}},85375:e=>{e.exports={skeletonRow:"SuggestedPromptChips_skeletonRow__psWXl",suggestedChipsContainer:"SuggestedPromptChips_suggestedChipsContainer__sG0xS",askChatbotChip:"SuggestedPromptChips_askChatbotChip__0vOXZ",askChatbotButton:"SuggestedPromptChips_askChatbotButton__f_6oo",askChatbotIcon:"SuggestedPromptChips_askChatbotIcon__KWpBl",askChatbotLabel:"SuggestedPromptChips_askChatbotLabel__QcYak"}},88480:e=>{e.exports={container:"AutoshipmentInfo_container__cZms6"}},89044:e=>{e.exports={container:"AutoshipmentCTA_container__85Pyk",header:"AutoshipmentCTA_header__tuulf",title:"AutoshipmentCTA_title__uCLt0",learnMoreLink:"AutoshipmentCTA_learnMoreLink__i86O_",body:"AutoshipmentCTA_body__R_eF1",logo:"AutoshipmentCTA_logo__HRg5V",itemList:"AutoshipmentCTA_itemList__hrdYH",item:"AutoshipmentCTA_item__bgxTM"}},94324:e=>{e.exports={variantList:"VariantList_variantList__PeaNd"}},96194:e=>{e.exports={lastChanceBadgeTooltip:"LastChanceBadgeTooltipWrapper_lastChanceBadgeTooltip__zMV7y","z-tooltip__popup":"LastChanceBadgeTooltipWrapper_z-tooltip__popup__t8wVT"}},98888:e=>{e.exports={container:"PriceInfo_container__5scFF",anchor:"PriceInfo_anchor__F2dJI"}},99144:e=>{e.exports={container:"FirstOrderDiscount_container__N29Zh"}},99810:e=>{e.exports={mobileGalleryOnly:"ProductGalleryAndSummary_mobileGalleryOnly__0EbzR",list:"ProductGalleryAndSummary_list__Lpnwx",leftColumn:"ProductGalleryAndSummary_leftColumn__T7HCP",mobileGallery:"ProductGalleryAndSummary_mobileGallery__uQCiD",mobileWishlist:"ProductGalleryAndSummary_mobileWishlist__fxOvB",desktopGalleryOnly:"ProductGalleryAndSummary_desktopGalleryOnly__6jEb_",suggestedPromptChipsBelowFold:"ProductGalleryAndSummary_suggestedPromptChipsBelowFold__0kXoW"}},99892:e=>{e.exports={container:"PDPSellerInfo_container__4eJGL"}}},e=>{e.O(0,[5028,8105,8248,8112,8317,8389,354,7577,1076,636,6593,8792],()=>e(e.s=66571)),_N_E=e.O()}]); 2//# sourceMappingURL=pdp-778a875ac6965a27.js.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.