(globalThis.webpackChunkverso=globalThis.webpackChunkverso||[]).push([[37],{20798:(e,o,t)=>{const a=t(67294),i=t(45697),r=t(73955),s=t(23279),{useIntl:n}=t(76186),{Slot:l}=t(86972),d=t(97425),m=t(54866),c=t(3258),{FilterableSummaryList:u}=t(54526),p=t(80152),h=t(37732),g=t(44031),C=t(16126),{trackComponent:y}=t(40199),{modifyItemObjectBasedOnContentType:b,childTobeRendered:S}=t(64767),{formatGtmData:f,productImpressionTracking:P}=t(12190),w=({copilotId:e,buttonConfig:o,ctaCardAspectRatio:t,dangerousHed:i,dangerousDek:w,dropShipSellers:k,editor:T,groups:x,hasAffiliateLinkDisabled:v,hasBorder:I,hasBorderBottom:N,hasCarouselSliderPagination:$,hasControls:A,hasImageGrid:L,hasAtRetailerNameLowerCase:B,hasImpressionTracking:E,hasMediumMarginBottom:R,hasNavigationButtonVariation:D,hasPadding:H,hasProductPriceColor:M,hasProductNewPriceColor:U,hasProductWhiteBackground:F,hasGridColumn:O,hasUnderlineHed:V,isProductCardName:G,isProductCardRetailerName:W,shouldCheckProductInView:j,hasMarginTopAuto:z,hasNoBottomPaddingForGridContent:_,hasPLPBrandNameContextTitle:q,hasPLPCardNameDescriptionCore:K,paginationStyle:Z,sectionTitleVariation:J,shouldChipsRedirectOnClick:Q,shouldEnableBundleComponentAnalytics:X,shouldHideDangerousDek:Y,shouldHidePublishDate:ee,shouldPlayInline:oe,shouldRenderCtaCard:te,showOfferUrl:ae,showShopNowButton:ie,summaryItemVariation:re,shouldUseAlternativeTitleStyle:se,shouldUseProductPriceSecondary:ne,shouldNavigateToNewTab:le,shouldUseSmallHed:de,stackedRatingsCardRatingMethod:me,expVariationName:ce,isDropshipProduct:ue,trackingNamespace:pe,isDotClickable:he,layout:ge,gridConfig:Ce,priceFormatting:ye,affiliateDisclaimer:be,isFirstProductListingContainer:Se,isUpcEnabled:fe,isPlpCurated:Pe,isContentCenter:we,hasCustomSlider:ke,hideDesktopPagination:Te,isSeriesNavigation:xe,hideAffiliateDisclaimer:ve,isPimCollectionContainer:Ie})=>{a.useEffect((()=>{y("VersoFilterableSummaryList")}),[]);const{formatMessage:Ne}=n(),$e=ge||"Carousel",Ae="ContentCarousel"===$e,Le="GridFourColumns"===$e?"PLP":ge,Be=i?i.replace(/[^a-zA-Z]+/gi,"-").toLowerCase():"",{gridItemColSpan:Ee}=Ce||{};a.useEffect((()=>{Ae&&!E||(window.addEventListener("scroll",s((()=>{P(Le,document.getElementsByClassName("impressionTracking"))}),1e3)),window.addEventListener("load",(()=>P(Le,document.getElementsByClassName("impressionTracking")))))}),[Le,Ae,E]);const Re=O&&"GridFourColumns"===$e,[De]=a.useState(parseInt(r(),10));return x&&0!==x.length?a.createElement(u,{dangerousHed:i,dangerousDek:w,editor:T,sectionTitleVariation:J,shouldChipsRedirectOnClick:Q,shouldEnableBundleComponentAnalytics:X,shouldUseAlternativeTitleStyle:se,hasImpressionTracking:!0,trackingNamespace:pe,isDotClickable:he,hasCarouselSliderPagination:$,hasCarouselControl:Ae,hasControls:A,hasNavigationButtonVariation:D,hasToggleGridColor:Re,hasPadding:H,layout:$e,pos:De,paginationStyle:Z,buttonConfig:o,gridConfig:Ce,hasBorderBottom:N,affiliateDisclaimer:be,isFirstProductListingContainer:Se,isPimCollectionContainer:Ie,hideAffiliateDisclaimer:ve,isPlpCurated:Pe,hasCustomSlider:ke,hideDesktopPagination:Te,isUpcEnabled:fe,isSeriesNavigation:xe},x.map((o=>{const i=function(o){switch($e){case"ContentCarousel":case"GridFourColumns":case"EditorsPicksCarousel":return(o=>o.items.map(((o,t)=>{const i=o.contentType,{isCurrent:r}=o,s={...o,layout:ge,index:t};if(["commerce-product","product"].includes(i))return fe?a.createElement(h,{...o,isLazy:!0,key:`${o.dangerousHed}-${t}`,dropShipSellers:k,isDropshipProduct:ue,showOfferUrl:ae||v,data_item:s,hasImpressionTracking:E,expVariationName:ce,layout:$e}):a.createElement(p,{...o,key:`${o.dangerousHed}-${t}`,hasAtRetailerNameLowerCase:B,hasImageGrid:L,hasProductPriceColor:M,hasProductNewPriceColor:U,shouldUseProductPriceSecondary:ne,hasProductWhiteBackground:F,isLazy:!0,isProductCardName:G,isProductCardRetailerName:W,hasMarginTopAuto:z,hasPLPBrandNameContextTitle:q,hasPLPCardNameDescriptionCore:K,hasUnderlineHed:V,hasCarouselControl:Ae,shouldCheckProductInView:j,layout:$e,copilotID:e,dropShipSellers:k,isDropshipProduct:ue,showOfferUrl:ae,hasImpressionTracking:E,data_item:o,onClick:()=>f(window,{...o,expVariationName:ce,index:t,layout:$e},t,Le,Be),expVariationName:ce,layoutName:Be,priceFormatting:ye,hideDesktopPagination:Te});const n=b(o,i,oe);let l=g[re];return n.showAssetOnly||n.showLinkedAsset?l=C:we&&"externallink"===i&&(l=g.TextBelowCenter),a.createElement(l,{gridItemColSpan:n?.showAssetOnly||n?.showLinkedAsset?1:Ee,shouldHideIcon:!0,shouldHideMetadataSecondary:!0,...n,key:`${o.dangerousHed}-${t}`,hasBorder:I,hasUnderlineHed:V,shouldHideDangerousDek:Y,shouldHidePublishDate:!0,hasHedCorePrimary:!0,shouldPlayInline:oe,hasNoBottomMarginForCneVideo:"cnevideo"===i,hasNoBottomPaddingForCneVideo:"cnevideo"===i,hasNoBottomPaddingForGridContent:_&&"GridFourColumns"===$e,hasMediumMarginBottom:R,buttonSize:"default",showShopNowButton:ie&&"externallink"===i,isPlpCurated:Pe,shouldNavigateToNewTab:le,hideDesktopPagination:Te,shouldUseSmallHed:de&&"externallink"===i&&"GridFourColumns"!==$e,layout:$e,index:t,isSeriesNavigation:xe,isCurrent:r})})))(o);case"ArticleCarousel":return(e=>{const o=g[re];return e.items.map(((e,t)=>a.createElement(o,{...e,key:`${e.dangerousHed}-${t}`,hasBorder:I,hasUnderlineHed:V,shouldHideDangerousDek:Y,shouldHidePublishDate:ee})))})(o);default:return o.items.map(((e,o)=>a.createElement(d,{...e,key:`${e.hed}-${o}`,ratingMethod:me})))}}(o);te&&o.url&&i.push(a.createElement(m,{aspectRatio:t,key:`cta-${o.label}`,url:o.url},Ne(c.ctaMessage,{groupName:o.label.toLocaleLowerCase()})));const r=S(i);return a.createElement(l,{key:o.label,name:o.label,url:o.url},r)}))):null};w.propTypes={affiliateDisclaimer:i.string,buttonConfig:i.object,copilotId:i.string,ctaCardAspectRatio:i.arrayOf(i.number),dangerousDek:i.string,dangerousHed:i.string,dropShipSellers:i.arrayOf(i.string),editor:i.object,expVariationName:i.string,gridConfig:i.object,groups:i.arrayOf(i.object),hasAffiliateLinkDisabled:i.bool,hasAtRetailerNameLowerCase:i.bool,hasBorder:i.bool,hasBorderBottom:i.bool,hasCarouselSliderPagination:i.bool,hasControls:i.bool,hasCustomSlider:i.bool,hasGridColumn:i.bool,hasImageGrid:i.bool,hasImpressionTracking:i.bool,hasMarginTopAuto:i.bool,hasMediumMarginBottom:i.bool,hasNavigationButtonVariation:i.bool,hasNoBottomPaddingForGridContent:i.bool,hasPadding:i.bool,hasPLPBrandNameContextTitle:i.bool,hasPLPCardNameDescriptionCore:i.bool,hasProductNewPriceColor:i.bool,hasProductPriceColor:i.bool,hasProductWhiteBackground:i.bool,hasToggleGridColor:i.bool,hasUnderlineHed:i.bool,hideAffiliateDisclaimer:i.bool,hideDesktopPagination:i.bool,isContentCenter:i.bool,isDotClickable:i.bool,isDropshipProduct:i.bool,isFirstProductListingContainer:i.bool,isPimCollectionContainer:i.bool,isPlpCurated:i.bool,isProductCardName:i.bool,isProductCardRetailerName:i.bool,isSeriesNavigation:i.bool,isUpcEnabled:i.bool,layout:i.string,paginationStyle:i.string,priceFormatting:i.shape({fractionDigits:i.number,shouldFormatDecimalSeparator:i.bool}),sectionTitleVariation:i.string,shouldCheckProductInView:i.bool,shouldChipsRedirectOnClick:i.bool,shouldEnableBundleComponentAnalytics:i.bool,shouldHideDangerousDek:i.bool,shouldHidePublishDate:i.bool,shouldNavigateToNewTab:i.bool,shouldPlayInline:i.bool,shouldRenderCtaCard:i.bool,shouldUseAlternativeTitleStyle:i.bool,shouldUseProductPriceSecondary:i.bool,shouldUseSmallHed:i.bool,showNewProductCardDesign:i.bool,showOfferUrl:i.bool,showShopNowButton:i.bool,stackedRatingsCardRatingMethod:i.string,summaryItemVariation:i.string,trackingNamespace:i.shape({toggle:i.string,card:i.string})},w.displayName="VersoFilterableSummaryList",w.defaultProps={ctaCardAspectRatio:[2,1],dropShipSellers:[],hasAtRetailerNameLowerCase:!1,hasImpressionTracking:!0,hasMarginTopAuto:!1,hideAffiliateDisclaimer:!1,isDotClickable:!1,isDropshipProduct:!1,isProductCardRetailerName:!1,layout:"Carousel",sectionTitleVariation:"TextCenter",shouldChipsRedirectOnClick:!1,shouldEnableBundleComponentAnalytics:!1,shouldPlayInline:!1,shouldRenderCtaCard:!1,shouldUseSmallHed:!1,showNewProductCardDesign:!1,showShopNowButton:!1,summaryItemVariation:"TextBelowLeft"},e.exports=w},50037:(e,o,t)=>{const{asConfiguredComponent:a}=t(36380),i=t(20798);e.exports=a(i,"VersoFilterableSummaryList")},54526:(e,o,t)=>{const{default:a}=t(51117),{BREAKPOINTS:i}=t(85326),{minScreen:r,calculateSpacing:s,minMaxScreen:n,getTypographyStyles:l,getColorStyles:d}=t(79720),{cssVariablesGrid:m,applyGridSpacing:c}=t(62470),{LabelText:u,ListWrapper:p}=t(10719),{CarouselListItem:h}=t(95764),{CarouselWrapper:g,ChipWrapper:C}=t(78153),y=t(33528),b=t(44031),{SummaryItemHedBase:S}=t(27853),f=a(y).withConfig({displayName:"FilterableSummaryList"})` margin: 0 auto; ${({hasToggleGridColor:e})=>!e&&`max-width:${i.fullBleed};\n ${m()}`} ${({hasPadding:e})=>!e&&c("padding")} ${h}:first-child { box-sizing: content-box; ${({hasPadding:e})=>e?`padding-left:${s(8)};\n ${n(0,i.md)}\n { \n padding-left:${s(3)}; \n }`:"padding-left: 0;"} } ${h}:last-child { box-sizing: content-box; ${({hasPadding:e})=>e?`padding-right:${s(8)};\n ${n(0,i.md)}\n { padding-right:${s(3)}; \n }`:null} } ${r(i.xxl)} { ${C}, ${g} { ${({hasToggleGridColor:e})=>!e&&"margin-left: revert;\n margin-right: revert;"} ${u} , ${p} { padding-right: revert; padding-left: revert; } ${h}:first-child { ${({hasPadding:e})=>!e&&"padding-left: revert;"} } ${h}:last-child { ${({hasPadding:e})=>!e&&"padding-right: revert;"} } } } `,P=a(b).withConfig({displayName:"SummaryItemExpernalLinkWrapper"})` ${S} { ${({theme:e})=>`${l(e,"typography.definitions.discovery.hed-core-primary")};\n ${d(e,"color","colors.discovery.body.white.heading")}`} } `;e.exports={FilterableSummaryList:f,SummaryItemExpernalLinkWrapper:P}},26760:(e,o,t)=>{const a=t(67294),i=t(45697),{CTACardBody:r,CTACardContent:s,CTACardFooter:n,CTACardIcon:l,CTACardText:d,CTACardWrapper:m}=t(91894),c=({aspectRatio:e,children:o,url:t})=>a.createElement(m,{aspectRatio:e},a.createElement(s,null,a.createElement(r,null,a.createElement(d,{href:t},o)),a.createElement(n,null,a.createElement("a",{href:t},a.createElement(l,null)))));c.propTypes={aspectRatio:i.arrayOf(i.number),children:i.node.isRequired,url:i.string.isRequired},c.defaultProps={aspectRatio:[1,1]},e.exports=c},54866:(e,o,t)=>{e.exports=t(26760)},91894:(e,o,t)=>{const{default:a}=t(51117),{BREAKPOINTS:i}=t(85326),{calculateSpacing:r,getColorToken:s,getDecoration:n,minScreen:l}=t(79720),{BaseLink:d}=t(74327),m=t(32574),c=a.div.withConfig({displayName:"CTACardWrapper"})` position: relative; border-radius: ${({theme:e})=>n(e,"cardRadiusSm")}; background-color: ${s("colors.discovery.body.brand.background")}; padding-top: ${({aspectRatio:e})=>e[1]/e[0]*100}%; ${l(i.md)} { border-radius: ${({theme:e})=>n(e,"cardRadiusMd")}; } ${l(i.lg)} { border-radius: ${({theme:e})=>n(e,"cardRadiusLg")}; } `,u=a.div.withConfig({displayName:"CTACardContent"})` display: flex; position: absolute; top: 0; right: 0; bottom: 0; left: 0; flex-direction: column; padding: 0 ${r(3)} ${r(2)} ${r(3)}; ${l(i.lg)} { padding: 0 ${r(5)} ${r(5)} ${r(5)}; } `,p=a.div.withConfig({displayName:"CTACardBody"})` display: flex; flex: 1 0 auto; align-items: center; `,h=a.div.withConfig({displayName:"CTACardFooter"})` height: ${r(6)}; `,g=a(d).withConfig({displayName:"CTACardText"})``;g.defaultProps={colorToken:"colors.discovery.body.brand.heading",typeIdentity:"typography.definitions.discovery.hed-core-secondary"};const C=a(m).withConfig({displayName:"CTACardIcon"})` border-radius: 50%; background-color: ${s("colors.discovery.body.brand.context-signature")}; width: ${r(6)}; height: ${r(6)}; fill: ${s("colors.discovery.body.brand.context-texture")}; `;e.exports={CTACardBody:p,CTACardContent:u,CTACardFooter:h,CTACardIcon:C,CTACardText:g,CTACardWrapper:c}},3258:(e,o,t)=>{const{defineMessages:a}=t(76186);e.exports=a({ctaMessage:{id:"VersoFilterableSummaryList.CTAMessage",defaultMessage:"See more {groupName} recipes",description:"Message to display in the CTACard"}})},64767:(e,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.childTobeRendered=o.modifyItemObjectBasedOnContentType=void 0,o.modifyItemObjectBasedOnContentType=(e,o,t)=>("cnevideo"===o&&t&&(e.image={...e.image,url:e?.url||"",dangerousHed:e.dangerousHed||""}),e),o.childTobeRendered=e=>e.filter((e=>(e?.props?.image?.id||e?.props?.aspectRatio||"cnevideo"===e?.props?.contentType&&(e?.props?.image?.scriptUrl||e?.props?.url))&&e))},25996:(e,o,t)=>{const a=t(45697),{useInView:i}=t(4225),r=t(67294),{trackComponent:s}=t(40199),{SummaryItemSimpleAnchor:n,SummaryItemSimpleHed:l,SummaryItemResponsiveAsset:d,SummaryItemLiveWrapperAsset:m,SummaryItemLiveSpacerAsset:c,SummaryItemLiveEllipseAsset:u,SummaryItemLiveLabelAsset:p,SummaryItemSimpleSubHed:h,SummaryItemCustomMessage:g}=t(37771),C=t(48349),{handleCommercePromotionBanner:y}=t(68612),b=({image:e,copilotID:o,isLive:t,isRunwayRecommendationSubHed:a,hasMobilePaddingBottom:b,hed:S,showAssetOnly:f,showLinkedAsset:P,subHed:w,liveLabel:k,url:T,analyticsEvent:x,customMessage:v,showPrice:I,hasUnderlineHed:N,isInternalLink:$,layout:A,index:L,contentType:B})=>{r.useEffect((()=>{s("SummaryItemSimple")}),[]);const E="content-click",R=("ContentCarousel"===A||"GridFourColumns"===A)&&"externallink"===B,D={id:o,name:"photo",title:e?.altText,url:T,position:L},[H,M]=i({threshold:.5,trackVisibility:!0,delay:100,triggerOnce:!0});M&&R&&y({type:"impression",event:"content-impression",...D});const U=e&&r.createElement(d,{...e,hasMobilePaddingBottom:b});if(f)return U;const F=e&&r.createElement(n,{href:T,"data-testid":"SummaryItemSimple",ref:H,onClick:()=>{x&&C.emitGoogleTrackingEvent(x,{"event-label":S,"gtm.elementUrl":T}),R&&y({type:"click",event:E,...D})},target:$?"_self":"_blank",hasMobilePaddingBottom:b},r.createElement(d,{...e}));return P?F:r.createElement(n,{href:T,"data-testid":"SummaryItemSimple",onClick:()=>{x&&C.emitGoogleTrackingEvent(x,{"event-label":S,"gtm.elementUrl":T}),R&&y({type:"click",event:E,...D})},hasUnderlineHed:N,hasMobilePaddingBottom:b},U,e&&t&&r.createElement(m,null,r.createElement(u,null),r.createElement(c,null),r.createElement(p,null," ",k," ")),S&&r.createElement(l,{as:"h3",hasMobilePaddingBottom:b},S),w&&r.createElement(h,{showPrice:I,as:"p"},I?w:null),v&&r.createElement(g,{isRunwayRecommendationSubHed:a}," ",v," "))};b.propTypes={analyticsEvent:a.string,contentType:a.string,copilotID:a.string,customMessage:a.string,hasMobilePaddingBottom:a.bool,hasUnderlineHed:a.bool,hed:a.string,image:a.shape(d.propTypes),index:a.number,isInternalLink:a.bool,isLive:a.bool,isRunwayRecommendationSubHed:a.bool,layout:a.string,liveLabel:a.string,showAssetOnly:a.bool,showLinkedAsset:a.bool,showPrice:a.bool,subHed:a.string,url:a.string.isRequired},b.defaultProps={hasUnderlineHed:!0,isLive:!1,isRunwayRecommendationSubHed:!1,liveLabel:"LIVE",showAssetOnly:!1,showLinkedAsset:!1},e.exports=b},16126:(e,o,t)=>{const{asConfiguredComponent:a}=t(36380),i=t(25996);e.exports=a(i,"SummaryItemSimple")},37771:(e,o,t)=>{const a=t(51117).default,{calculateSpacing:i,getColorStyles:r,getTypographyStyles:s}=t(79720),{BREAKPOINTS:n}=t(85326),{BaseLink:l,BaseText:d}=t(74327),m=t(98288),c=a(l).withConfig({displayName:"SummaryItemSimpleAnchor"})` display: block; position: relative; ${({hasMobilePaddingBottom:e})=>`padding-bottom: ${i(e?4:3)};}`}; && { ${({hasUnderlineHed:e})=>!e&&"text-decoration: none"} } `,u=a(d).withConfig({displayName:"SummaryItemSimpleHed"})` ${({hasMobilePaddingBottom:e})=>`padding-bottom: ${i(e?.5:1.5)};}`}; text-align: center; ${({theme:e})=>s(e,"typography.definitions.discovery.hed-core-secondary")} ${({theme:e})=>r(e,"color","colors.discovery.lead.secondary.hed")}; `,p=a(d).withConfig({displayName:"SummaryItemSimpleSubHed"})` text-align: center; ${({theme:e,showPrice:o})=>s(e,o?"typography.definitions.discovery.hed-core-secondary":"typography.definitions.globalEditorial.context-tertiary")} ${({theme:e})=>r(e,"color","colors.discovery.body.white.context-tertiary")}; `,h=a(m).withConfig({displayName:"SummaryItemResponsiveAsset"})` ${({hasMobilePaddingBottom:e})=>`padding-bottom: ${i(e?1.5:.5)};}`}; @media (min-width: ${n.md}) { padding-bottom: ${i(1)}; } img { width: 100%; } `,g=a.div.withConfig({displayName:"SummaryItemLiveWrapperAsset"})` display: flex; position: absolute; top: 24px; left: 12px; flex-direction: row; align-items: center; background: #a60505; padding: 2px 4px; height: 19px; `,C=a.div.withConfig({displayName:"SummaryItemLiveSpacerAsset"})` position: static; opacity: 0.3; width: 4px; `,y=a.div.withConfig({displayName:"SummaryItemLiveEllipseAsset"})` top: 7px; left: 4px; flex: none; flex-grow: 0; order: 0; margin: 4px 0; ${({theme:e})=>r(e,"background-color","colors.interactive.base.white")}; width: 5px; height: 5px; `,b=a.div.withConfig({displayName:"SummaryItemLiveLabelAsset"})` top: 2px; left: 13px; flex: none; flex-grow: 0; order: 1; margin: 4px 0; height: 15px; ${({theme:e})=>s(e,"typography.definitions.globalEditorial.context-tertiary")} line-height: 15px; ${({theme:e})=>r(e,"color","colors.interactive.base.white")}; `,S=a(d).withConfig({displayName:"SummaryItemCustomMessage"})` ${({theme:e})=>s(e,"typography.definitions.globalEditorial.ad-label")} ${({theme:e})=>r(e,"color","colors.consumption.body.standard.adlabel")}; text-align: center; ${({theme:e,isRunwayRecommendationSubHed:o})=>o&&`\n ${s(e,"typography.definitions.globalEditorial.context-secondary")}\n ${r(e,"color","colors.consumption.body.standard.subhed")}\n `}; `;S.displayName="SummaryItemCustomMessage",e.exports={SummaryItemSimpleAnchor:c,SummaryItemSimpleHed:u,SummaryItemResponsiveAsset:h,SummaryItemLiveWrapperAsset:g,SummaryItemLiveSpacerAsset:C,SummaryItemLiveEllipseAsset:y,SummaryItemLiveLabelAsset:b,SummaryItemSimpleSubHed:p,SummaryItemCustomMessage:S}}}]);