"use strict";(globalThis.webpackChunkverso=globalThis.webpackChunkverso||[]).push([[4848],{30:(e,t,n)=>{n.d(t,{j:()=>c});var o=n(61448),i=n.n(o),a=n(58156),r=n.n(a);const s=e=>{const t=r()(e,"gradient-style"),n=r()(e,"color-stops");let o=r()(e,"angle");"radial"===t&&(o=null);const i=((e,t,n=null)=>null===n?`${e}-gradient(${t})`:`${e}-gradient(${n}, ${t})`)(t,n,o);return`background: ${i}; position: sticky;`},l=e=>{const t=r()(e,"url"),n=r()(e,"repeat"),o=r()(e,"color"),i=r()(e,"attachment"),a=r()(e,"size");return((e,t="no-repeat",n="center",o="cover",i="scroll",a="transparent")=>{let r,s="";if(null!==e&&(r=e),s=`background-image:${r};\n background-attachment:${i};\n background-color:${a};\n background-repeat:${t};\n background-position:${n};`,"string"==typeof o)s+=`background-size:${o};`;else{const e=[];o.forEach(t=>{e.push(t)}),s+=`background-size:${o.toString()};`}return s})(t,n,r()(e,"position"),a,i,o)},d=e=>{return i()(e,"gradient")?s(r()(e,"gradient")):i()(e,"image")?l(r()(e,"image")):i()(e,"solid")?(t=r()(e,"solid"),`background-color:${r()(t,"color")};`):"background: none;";var t},c=(e,t)=>{let n;if(!e||0===Object.keys(e).length||!t)return"background: none;";if(i()(e,"container-styles")){const o=e["container-styles"];if(!o[t])return"background: none;";n=o[t];const a=i()(n,"pattern")?n.pattern:null;if(a&&a.length){let e="";return a.length>=2?(a.forEach((t,n)=>{let o=n;if(i()(t,"gradient"))e+=s(r()(t,"gradient"));else if(i()(t,"image")){let n="";r()(t,"image").size&&(n=r()(t,"url")),n.size?e+=`'url(${n})'`:o=a.length,l(r()(t,"image"))}else if(i()(t,"solid")){const n=r()(t,"solid");n&&(e+=r()(n,"color"))}o!==a.length-1&&(e+=",")}),e.toString()):d(a[0])}}return"background: none;"}},363:(e,t,n)=>{n.d(t,{BU:()=>$,IT:()=>E,J4:()=>C,KM:()=>x,N_:()=>L,PE:()=>B,S7:()=>S,Yw:()=>f,bo:()=>_,gM:()=>w,hQ:()=>A,lK:()=>O,nZ:()=>T,rw:()=>K,t0:()=>v,t5:()=>I,u2:()=>k,uv:()=>H,yS:()=>N});var o=n(38267),i=n(76955),a=n(73730),r=n(60881),s=n(26865),l=n(96472),d=n(73275),c=n(65226),m=n(7228),u=n(91783),p=n(15622),g=n(94037),h=n(50531),y=n(18117),b=n(87586);const f=(0,o.Ay)(i.vm).withConfig({displayName:"ProductSummaryGridTitle"})` && { ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; } ${({theme:e,isEnhancedPSG:t})=>{const n=t?`${(0,s.Kq)(1.5,"px")} 0 ${(0,s.Kq)(1.5,"px")}`:`${(0,s.Kq)(2)} 0 ${(0,s.Kq)(2)}`,o=t?(0,s.HK)(e,"colors.discovery.body.white.heading"):(0,s.HK)(e,"colors.consumption.body.standard.divider"),i=t?(0,s.HK)(e,"colors.discovery.body.white.heading"):void 0;return`\n border-top: 1px solid ${o};\n border-bottom: 1px solid ${o};\n ${i?`color: ${i};`:""}\n padding: ${n};\n `}} && { margin: 0; } `;f.defaultProps={as:"h2"};o.Ay.div.withConfig({displayName:"ProductSummaryCtaBlock"})``,(0,o.Ay)(a.A.Utility).withConfig({displayName:"ProductSummaryCaptionButton"})` margin-top: ${(0,s.Kq)(4)}; `;const w=o.Ay.span.withConfig({displayName:"ProductSummaryHedText"})` display: block; margin-bottom: ${(0,s.Kq)(1)}; ${({theme:e,isEnhancedPSG:t})=>t?`\n ${(0,s.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}\n color: ${(0,s.HK)(e,"colors.consumption.body.standard.body")};\n /* stylelint-disable value-no-vendor-prefix */\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n /* stylelint-enable value-no-vendor-prefix */\n `:""} `,$=(0,o.Ay)(i.vm).withConfig({displayName:"ProductSummaryHed"})` display: flex; grid-area: content; flex-direction: column; justify-content: center; ${({isEnhancedPSG:e})=>e&&o.AH` @media (min-width: calc(${l.LO.md})) { min-width: 145px; } `} `;$.defaultProps={as:"div",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-secondary"};const v=o.Ay.div.withConfig({displayName:"ProductSummaryBrandAndName"})` ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.consumptionEditorial.description-embed")}; margin-bottom: ${(0,s.Kq)(1.5)}; ${({isEnhancedPSG:e,elipsisValue:t})=>e&&o.AH` /* stylelint-disable value-no-vendor-prefix */ display: -webkit-box; -webkit-line-clamp: ${t}; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; word-break: break-word; /* stylelint-enable value-no-vendor-prefix */ `} `,C=(0,o.Ay)(r.s).withConfig({displayName:"ProductSummaryDekReadMore"})` ${({theme:e,isEnhancedPSG:t})=>{const n=t?"typography.definitions.utility.button-core":"typography.definitions.utility.button-utility";return(0,s.Gg)(e,n)}} display: inline-block; font-style: normal; `;C.defaultProps={as:"a",colorStaticLinkToken:"colors.interactive.base.black",colorToken:null,linkStyle:"global"};const k=o.Ay.div.withConfig({displayName:"ProductSummaryGridShowMoreLessWrapper"})` display: grid; grid-template-columns: auto auto repeat(5, 1fr); align-items: center; ${({isEnhancedPSG:e})=>e?`\n margin-top: ${(0,s.Kq)(1,"px")};\n margin-bottom: ${(0,s.Kq)(1,"px")};\n `:`margin-top: ${(0,s.Kq)(2)};`} `,x=(0,o.Ay)(r.s).withConfig({displayName:"ProductSummaryGridShowMore"})` ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.utility.button-core")} `;x.defaultProps={as:"a",colorStaticLinkToken:"colors.interactive.base.black",colorToken:null,linkStyle:"global"};const E=(0,o.Ay)(r.s).withConfig({displayName:"ProductSummaryGridShowLess"})` ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.utility.button-core")} `;E.defaultProps={as:"a",colorStaticLinkToken:"colors.interactive.base.black",colorToken:null,linkStyle:"global"};const A=o.Ay.div.withConfig({displayName:"ProductSummaryGridShowLessDivider"})` ${({showMore:e})=>e&&o.AH` display: inline-block; margin: 0 ${(0,s.Kq)(1.5)}; border-left: 1px solid ${(0,s.HK)("colors.consumption.body.standard.divider")}; height: 10px; content: ''; ${(0,s.L7)(l.LO.md)} { margin-right: ${(0,s.Kq)(1.5)}; } `} `,S=o.Ay.div.withConfig({displayName:"ProductSummaryGridCardCounter"}).attrs({translate:"no"})` grid-column: 8; justify-self: end; ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.globalEditorial.numerical-small")}; margin-top: ${(0,s.Kq)(.4)}; color: ${(0,s.HK)("colors.consumption.body.standard.body-deemphasized")}; `,L=o.Ay.a.withConfig({displayName:"Link"})` ${({theme:e})=>(0,s.pe)(e,"colors.consumption.body.standard.link","colors.consumption.body.standard.link-hover")}; `,T=o.Ay.div.withConfig({displayName:"ProductSummaryGridOfferWrapper"})` grid-area: button; ${({isFullyRoundedButtonEnabled:e})=>e&&"\n a {\n border-radius: 50px;\n }\n "} @media (max-width: calc(${l.LO.md} - 1px)) { ${g.F} { width: 100%; max-width: 100%; } } ${({hasNoOffers:e,isEnhancedPSG:t,theme:n,shouldUseBlackButton:i})=>e&&t&&o.AH` ${h.eM} { border-width: 1px; background-color: ${i?(0,s.HK)(n,"colors.interactive.base.black"):(0,s.HK)(n,"colors.interactive.base.white")}; border-color: ${(0,s.HK)(n,"colors.interactive.base.black")}; } :hover, :focus, :active, :visited { ${h.eM} { background-color: ${i?(0,s.HK)(n,"colors.consumption.lead.standard.context-signature"):(0,s.HK)(n,"colors.interactive.base.black")}; border-color: ${i?(0,s.HK)(n,"colors.consumption.lead.standard.context-signature"):(0,s.HK)(n,"colors.interactive.base.black")}; } ${h.Lj} { color: ${(0,s.HK)(n,"colors.interactive.base.white")}; } } `} ${({isEnhancedPSG:e,theme:t,isUpcEnabled:n,shouldUseBlackButton:i})=>e?o.AH` max-width: 100%; width: 300px; min-width: auto; @media (min-width: calc(${l.LO.md})) { a { min-width: 0; } } @media (min-width: 1440px) { padding-left: 0px; width: ${({shouldShowAdRail:e})=>e?"224px":"300px"}; } display: flex; align-items: center; justify-content: end; margin-right: 0; ${g.F} { width: 100%; } ${p.lk} { @media (min-width: 1600px) { max-width: 100%; } } ${h.eM} { width: 100%; } ${h.Lj} { color: ${(0,b.b)(!1,i,t)}; span, * { color: ${(0,b.b)(!1,i,t)}; } ${(0,s.Gg)(t,"typography.definitions.utility.button-core")}; } ${p.dU} { width: 100%; height: ${n?"48px":"40px"}; :hover, :focus, :active, :visited { ${h.Lj} { color: ${(0,s.HK)(t,"colors.interactive.base.white")}; span, * { color: ${(0,s.HK)(t,"colors.interactive.base.white")}; } } } } `:o.AH` a { min-width: 15rem; } display: flex; align-items: center; ${p.dU} > a, > a { padding: 0; height: ${n?"48px":"40px"}; @media (max-width: calc(${l.LO.md} - 1px)) { width: 100%; } ${(0,s.Xm)(l.LO.md,l.LO.lg)} { width: 300px; } ${(0,s.Xm)(l.LO.lg,l.LO.xl)} { width: 224px; } ${(0,s.Xm)(l.LO.xl,l.LO.xxl)} { width: 222px; } } `} ${h.Lj} { /* stylelint-disable-next-line value-no-vendor-prefix */ display: -webkit-box; padding: 0 8px 0; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; /* stylelint-enable-next-line value-no-vendor-prefix */ } @media (max-width: calc(${l.LO.md} - 1px)) { margin-top: ${(0,s.Kq)(2.5)}; a { width: 100%; } ${({isEnhancedPSG:e})=>e&&o.AH` padding-left: 0; width: 100%; max-width: 100%; `} } ${(0,s.Xm)(l.LO.lg,l.LO.xl)} { ${({isEnhancedPSG:e})=>e&&o.AH` margin-top: ${(0,s.Kq)(2.5)}; padding-left: 0; width: 100%; max-width: 100%; a { width: 100%; } `} } `,N=o.Ay.div.withConfig({displayName:"ProductSummaryButton"})``,H=(0,o.Ay)(d.A).withConfig({displayName:"ProductSummaryResponsiveAsset"})` & { ${m.BF} { display: block; width: ${({isEnhancedPSG:e})=>e?"80px":"69px"}; min-width: ${({isEnhancedPSG:e})=>e&&"80px"}; max-width: 100%; ${({isEnhancedPSG:e})=>e?"height: auto;":""} } ${u.hh} { width: ${({isEnhancedPSG:e})=>e?"80px":"69px"}; min-width: ${({isEnhancedPSG:e})=>e&&"80px"}; max-width: 100%; video { height: auto; } } } ${({isEnhancedPSG:e})=>!e&&"\n &&&{\n width: 69px;\n }\n "} @media (min-width: ${l.LO.xl}) { &&&, & ${m.BF}, & ${u.hh} { width: ${({isEnhancedPSG:e})=>e?"80px":"100px"}; min-width: unset; } } & .responsive-image { display: block; } `,I=o.Ay.div.withConfig({displayName:"ProductSummaryAssetContainer"})` ${({isEnhancedPSG:e})=>!e&&o.AH` width: 69px; `} display: flex; position: relative; align-items: center; overflow: hidden; container-type: inline-size; @media (min-width: ${l.LO.xl}) { width: 100%; } `,B=o.Ay.div.withConfig({displayName:"ProductSummaryAssetWrapper"})` display: flex; position: relative; grid-area: image; align-items: center; ${({shouldShowThumbnailForClips:e,shouldShowThumbnailForCNEVideo:t,renditionConfig:n,isEnhancedPSG:i})=>e||t?o.AH` overflow: hidden; span, picture, img { overflow: hidden; object-fit: cover; } ${m.BF} { object-fit: cover; ${(0,c.y)(i?80:69,n.md)} } `:"height: 100%;"} ${({isEnhancedPSG:e})=>e&&`\n > * {\n flex: 1 1 auto;\n }\n div, figure {\n flex: 1 1 auto;\n width: 100%;\n }\n iframe, video {\n width: 100%;\n height: auto;\n display: block;\n }\n ${y.U}{\n height:auto;\n padding:0;\n }\n `} picture { width: 100%; } img { background-color: ${({theme:e,isUpcEnabled:t})=>t&&`${(0,s.HK)(e,"colors.consumption.body.standard.bg-card")}`}; } a { padding-left: 0; } ${(0,s.Xm)(l.LO.xl)} { width: 100%; } ${({hasClipInsideUPC:e,renditionConfig:t})=>e&&o.AH` > * { flex: 1 1 auto; } && ${u.hh} { display: flex; position: absolute; top: 0; right: 0; bottom: 0; left: 0; align-items: center; justify-content: center; cursor: default; width: 100%; @media (max-width: calc(${l.LO.md} - 1px)) { width: 69px; } video { width: 100%; height: 100%; object-fit: contain; } } ${(0,c.YN)("responsive-clip",t)}; ${u.WE} { overflow: hidden; place-items: center; } `} `,O=o.Ay.figure.withConfig({displayName:"ProductSummaryImage"})` display: grid; grid-template-areas: 'image content button'; margin: 0; width: 100%; ${({isEnhancedPSG:e})=>e?o.AH` grid-template-columns: ${(0,s.Kq)(10)} 1fr minmax( 0, max-content ); column-gap: ${(0,s.Kq)(1.5,"px")}; padding: ${(0,s.Kq)(1.5,"px")} 0; `:o.AH` grid-template-columns: 1fr 3fr 2fr; column-gap: ${(0,s.Kq)(1.5)}; padding: ${(0,s.Kq)(2)} 0; `}; @media (max-width: calc(${l.LO.md} - 1px)) { ${({isEnhancedPSG:e})=>e?`\n grid-template-areas:\n 'image content'\n 'button button';\n grid-template-columns: ${(0,s.Kq)(10)} 1fr;\n width: 100%;\n padding: ${(0,s.Kq)(1.5,"px")} 0;\n `:"\n grid-template-areas:\n 'content content content image'\n 'button button button button';\n "} } ${(0,s.Xm)(l.LO.lg,l.LO.xl)} { ${({isEnhancedPSG:e})=>e&&`\n grid-template-areas:\n 'image content'\n 'button button';\n grid-template-columns: ${(0,s.Kq)(10)} 1fr;\n padding: ${(0,s.Kq)(1.5,"px")} 0;\n width: 100%;\n `} } div[class*='UnifiedProductCardTextBadge-']:not( div[class*='UnifiedProductCardSeal-'] + div[class*='UnifiedProductCardTextBadge-'] ) { max-width: calc(100% - 24px); } `,_=o.Ay.div.withConfig({displayName:"ProductSummaryWrapper"})` border-bottom: 1px solid ${({theme:e})=>(0,s.HK)(e,"colors.consumption.body.standard.divider")}; ${({isEnhancedPSG:e})=>e&&"width: 100%;"} ${({isEnhancedPSG:e})=>e&&o.AH` @media (max-width: calc(${l.LO.md} - 1px)) { width: 100%; } `} ${({theme:e,isEnhancedPSG:t,hasBackground:n})=>t?"":n&&o.AH` ${(0,s._o)(e,"background-color","colors.consumption.body.standard.bg-card")}; padding-bottom: ${(0,s.Kq)(6)}; ${(0,s.L7)(l.LO.md)} { margin: 0 0 ${(0,s.Kq)(12)}; } ${O} { margin: 0; } `} ${B} { width: 100%; } `,K=o.Ay.div.withConfig({displayName:"ProductSummaryGridWrapper"})` ${({isEnhancedPSG:e,theme:t})=>e&&o.AH` margin-top: ${(0,s.Kq)(4,"px")}; margin-bottom: ${(0,s.Kq)(4,"px")}; padding: ${(0,s.Kq)(3,"px")}; width: 100%; min-width: 230px; ${(0,s._o)(t,"background-color","colors.background.light")} `} `},1633:(e,t,n)=>{n.d(t,{Hf:()=>l,Os:()=>r,_l:()=>s});var o=n(38267),i=n(26865),a=n(35864);const r=o.Ay.div.withConfig({displayName:"FireworkEmbedContainer"})` margin: ${(0,i.Kq)(5)} auto; fw-embed-feed { ${({theme:e})=>(0,i._o)(e,"color","colors.interactive.base.white")}; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.discovery.hed-core-secondary")} } `,s=o.Ay.blockquote.withConfig({displayName:"FireworkEmbedBlockquote"})` margin-right: auto; margin-left: auto; `,l=(0,o.Ay)(a.default.TextCenter).withConfig({displayName:"FireworkHed"})``},1757:(e,t,n)=>{n.d(t,{$I:()=>$,AH:()=>y,Ao:()=>E,Cl:()=>w,Lo:()=>k,Nj:()=>b,V3:()=>h,XD:()=>p,dd:()=>x,fi:()=>v,g1:()=>g,jc:()=>C,yx:()=>f});var o=n(38267),i=n(26865),a=n(96472),r=n(76955),s=n(73730),l=n(96163),d=n(60254),c=n(75163),m=n(74423);const u=`\n margin-top: ${(0,i.Kq)(4)};\n @media (min-width: ${a.LO.md}) {\n margin-top: ${(0,i.Kq)(4)};\n }\n}\n`,p=o.Ay.hr.withConfig({displayName:"ContentHeaderContentDivider"})` display: block; grid-column: 1 / -1; margin-top: ${(0,i.Kq)(1)}; margin-bottom: ${(0,i.Kq)(1.5)}; border: none; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: var(${c.pT.Color.BorderAccent}); width: 100px; margin-inline-start: unset; margin-inline-end: unset; `,g=o.Ay.div.withConfig({displayName:"ContentHeaderLowerBylineDateBlock"})` ${m.f9} { margin-top: 0; } `,h=(0,o.Ay)(l.A).withConfig({displayName:"ContentHeaderItemCount"})` ${u} text-align: center; line-height: 1; `,y=(0,o.Ay)(r.vm).withConfig({displayName:"ContentHeaderHed"})` cursor: unset; text-align: center; color: var(${c.pT.Color.TextHeading}); &:hover, &:active { text-decoration: none; color: var(${c.pT.Color.TextHeading}); } `;y.defaultProps={as:"h1",typeIdentity:"typography.definitions.consumptionEditorial.hed-standard"};const b=o.Ay.div.withConfig({displayName:"AddressBlockWrapper"})` ${u} color: var(${c.pT.Color.TextDek}); ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.discovery.hed-bulletin-secondary")}; path { fill: currentColor; } `,f=o.Ay.a.withConfig({displayName:"HeaderAddressDetails"})` display: inline-flex; flex-direction: column; color: var(${c.pT.Color.TextDek}); ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.discovery.hed-bulletin-secondary")}; `,w=o.Ay.div.withConfig({displayName:"PodcastButtonWrapper"})` padding-top: ${(0,i.Kq)(1)}; padding-bottom: 3px; `,$=(0,o.Ay)(s.A.Primary).withConfig({displayName:"PodcastButton"})` margin-bottom: ${(0,i.Kq)(1.5)}; text-align: center; `,v=o.Ay.a.withConfig({displayName:"PodcastLink",className:c.pT.Component.UtilityOutlinedLinkButton})` display: block; text-align: center; ${(0,i.Gg)("typography.definitions.consumptionEditorial.description-embed")}; color: var(${c.pT.Color.TextPubdate}); &:hover, &:active { text-decoration: none; color: var(${c.pT.Color.TextPubdate}); } `,C=o.Ay.div.withConfig({displayName:"ContentHeaderTitleBlockWrapper"})` ${d.PK} display: grid; row-gap: ${(0,i.Kq)(2)}; > * { grid-column: 1/-1; } ${y} { @media (min-width: ${a.LO.lg}) { grid-column: 3 / span 8; } } ${({rowWithTopBorder:e})=>e&&`\n ${(0,i.H4)(a.LO.md)}{\n &::before {\n display: block;\n grid-column: 1/-1;\n border: 0;\n border-top: 1px solid var(${c.pT.Color.BorderStory});\n padding-bottom: ${(0,i.Kq)(2)};\n width: 100%;\n height: 0;\n content: '';\n }\n }\n ${d.js}\n `} `,k=(0,o.Ay)(r.vm).withConfig({displayName:"ContentHeaderTitleBlockPublishDate"}).attrs(({datetime:e})=>({dateTime:e}))` ${d.Y$} `;k.defaultProps={as:"time",typeIdentity:"typography.definitions.globalEditorial.context-tertiary"};const x=o.Ay.div.withConfig({displayName:"HeaderSocialInformation"})` padding-top: ${(0,i.Kq)(3)}; svg { margin-right: ${(0,i.Kq)(2)}; } a { padding-right: ${(0,i.Kq)(1.5)}; color: var(${c.pT.Color.Icon}); } `,E=o.Ay.div.withConfig({displayName:"HeaderContactInformation"})` padding-top: ${(0,i.Kq)(3)}; a { color: var(${c.pT.Color.TextDek}); } `},1899:(e,t,n)=>{n.d(t,{h:()=>ue.A,A:()=>ge});var o=n(22354),i=n(13465),a=n(47655),r=n(5556),s=n.n(r),l=n(96540),d=n(62193),c=n.n(d),m=n(32485),u=n.n(m),p=n(73275),g=n(6442),h=n(71097);const y=(0,n(72267).defineMessages)({defaultOfferCtaText:{id:"UnifiedProductCard.DefaultOfferCtaText",defaultMessage:"Shop Now",description:"UPC default CTA text for Card variation"},UnifiedProductCardRatingTitle:{id:"UnifiedProductCard.UnifiedProductCardRatingTitle",defaultMessage:"OUR RATING:",description:"UPC rating title"},UnifiedProductCardProsConsTitle:{id:"UnifiedProductCard.UnifiedProductCardProsConsTitle",defaultMessage:"Pros & Cons",description:"UPC pros cons title"},UnifiedProductCardProsLabel:{id:"UnifiedProductCard.UnifiedProductCardProsLabel",defaultMessage:"Pros",description:"UPC pros label"},UnifiedProductCardConsLabel:{id:"UnifiedProductCard.UnifiedProductCardConsLabel",defaultMessage:"Cons",description:"UPC cons label"},UnifiedProductCardDiscountPercentageLabel:{id:"UnifiedProductCard.UnifiedProductCardDiscountPercentageLabel",defaultMessage:"{percentage}% off",description:"UPC Discount Percentage label"}});var b=n(74148),f=n(63799),w=n(5344),$=n(43428),v=n(22039),C=n(25203),k=n(82063),x=n(65947);const E="US",A=(e,t,n,o,i,a,r,s,d,c,m,u,p={},g=!1,y=!1)=>{const b=(0,w.Ac)({dropShipData:t,offer:e}),f=(0,k.t)(e.purchaseUri,u);let $=e.price?`${e.price}`:null,v=null;e.comparisonPrice?g?v=`${e.comparisonPrice}`:($=`${e.comparisonPrice}`,v=`${e.price}`):e.reducedPrice&&(v=`${e.reducedPrice}`);const C="embed"===d?p?.enableActionIdForUPCEmbed:p?.enableActionIdForUPC;return l.createElement(h.A.ButtonWithSellerBelowPrice,{ctaHref:b.offerUrl,offerUrl:e.offerUrl,offerId:e.offerId,price:$,productId:o,reducedPrice:v,sellerName:e.sellerName,showSellerNameBelowPrice:!0,key:i,position:i,isExternalProduct:b.isAffiliateProduct,isCtaInternal:!b.isAffiliateProduct,gtmTrackOnClick:n,isCttEnabled:a,shouldUseOutlinedButton:r,shouldUseBlackButton:s,isActionIdEnabledForComponent:C,component:c,showDiscountPercentLabel:m,hasCheckPriceFeature:y,dataAttrs:f})},S=({currency:e,price:t,comparisonPrice:n,isCttEnabled:o,showDiscountPercentLabel:i})=>{const{formatMessage:a}=(0,g.A)(),r="string"==typeof t?(0,x.h)(t):t,s="string"==typeof n?(0,x.h)(n):n;if(n&&s{let b=null,f=null;return y&&(b=(0,w.rM)(g,y)),f=(0,w.rM)(g,h),l.createElement(v.hX,{onClick:e=>o(e)},A({...e,price:f,comparisonPrice:b,...t},n,o,i,0,a,r,s,d,c,m,u,p,!1))};L.propTypes={actionIdFlags:s().object,amazonAffiliateTag:s().string,cardComponent:s().string,comparisonPrice:s().number,currency:s().string,dropShipData:s().object,gtmTrackOnClick:s().func,isCttEnabled:s().bool,offer:s().object,price:s().number,productId:s().string,shouldUseBlackButton:s().bool,shouldUseOutlinedButton:s().bool,showDiscountPercentLabel:s().bool,type:s().string,xidAndAmguuid:s().object};const T=({linkRef:e,linkProps:t,handleClick:n,currency:o,price:i,comparisonPrice:a,isCttEnabled:r,showDiscountPercentLabel:s,sellerNameHasEllipsis:d,sellerName:c,formatMessage:m,retailerTextRef:u})=>l.createElement(v.mK,null,l.createElement(v.mZ,{isCttEnabled:r,onClick:(e,t,o,i)=>{n(e,t,o,i)}},i&&l.createElement("a",{ref:e,...t},S({currency:o,price:i,comparisonPrice:a,isCttEnabled:r,showDiscountPercentLabel:s}))),l.createElement(v.h4,{className:"upcRetailerNameWrapper",sellerNameHasEllipsis:d,isCttEnabled:r,onClick:(e,t,o,i)=>n(e,t,o,i)},l.createElement("a",{ref:e,...t},l.createElement("span",{className:"upcRetailerNameBlock"},l.createElement("span",{className:"upcRetailerName",ref:u},c||m(y.defaultOfferCtaText))),l.createElement("span",{className:"upcicons"},l.createElement(v._P,{"aria-hidden":!0})))));T.propTypes={comparisonPrice:s().number,currency:s().string,formatMessage:s().func,handleClick:s().func,isCttEnabled:s().bool,linkProps:s().object,linkRef:s().object,price:s().number,retailerTextRef:s().object,sellerName:s().string,sellerNameHasEllipsis:s().bool,showDiscountPercentLabel:s().bool};const N=({amazonAffiliateTag:e,dangerousHed:t,type:n,offers:o,url:i,showLocalisedOffers:a,showMultipleOffers:r,dropShipData:s,gtmTrackOnClick:d,productId:c,showOfferButton:m,xidAndAmguuid:u,isCttEnabled:p,shouldUseOutlinedButton:h,shouldUseBlackButton:y,hasCheckPriceFeature:b,actionIdFlags:x={},component:S="unified-product-card",showDiscountPercentLabel:N,onProductOffersUpdate:H})=>{const{formatMessage:I}=(0,g.A)(),B=(0,l.useRef)(null),O=a?o?.filter(e=>e.countryCode&&""!==e.countryCode?e.countryCode===E:e.currency===f._[E]):o,[_,K]=(0,l.useState)((0,w.f)(i,O)),P=(0,l.useRef)(null),[D,q]=(0,l.useState)(!1);if((0,l.useEffect)(()=>(a&&K((0,w.f)(i,(0,f.P)(E,o))),()=>{}),[a,i,o]),(0,l.useEffect)(()=>{const e=P.current;"card"===n&&q((0,w.kd)(e))},[n]),"card"===n){const{currency:o,price:i,sellerName:a,reducedPrice:r,comparisonPrice:g}=_[0],b=g??r,f={..._[0],...u},v="unified-product-card"===S?"plp_grid":S,E=(0,w.Ac)({dropShipData:s,offer:f,type:n}),A=(0,k.t)(f.purchaseUri,e),H={"data-buy-button":!0,"data-offer-retailer":a||"","data-offer-url":f.purchaseUri||"",...A,"aria-label":t||"",href:E.offerUrl,target:E.target,rel:E.rel,className:"product-offer__buy-button",id:f.offerId},O=x?.enableActionIdForUPC,K=E?.offerUrl?.includes("cna.st")&&O,q=(e,t,n,o)=>{const i=B?.current?.href,a=(0,C.hh)();if(K&&i&&""!==i){e.preventDefault();const{href:r}=(0,$.P)({event:e,gtmTrackOnClick:d,linkProps:i,label:t,position:n,link:o,type:"upcCard",component:v,queryParams:a});window.open(r,"_blank","noopener, noreferrer")}else d(e)};return m?l.createElement(L,{offer:f,xidAndAmguuid:u,dropShipData:s,gtmTrackOnClick:d,productId:c,isCttEnabled:p,shouldUseOutlinedButton:h,shouldUseBlackButton:y,type:n,cardComponent:v,showDiscountPercentLabel:N,amazonAffiliateTag:e,actionIdFlags:x,currency:o,price:i,comparisonPrice:b}):l.createElement(T,{linkRef:B,linkProps:H,handleClick:q,currency:o,price:i,comparisonPrice:b,isCttEnabled:p,showDiscountPercentLabel:N,sellerNameHasEllipsis:D,sellerName:a,formatMessage:I,retailerTextRef:P})}if("embed"===n&&r){H(_.length);const t=_.map((t,o)=>{const i={...t,...u};return A(i,s,d,c,o,p,h,y,n,S,N,e,x,!1,b)});return l.createElement(v.hX,{onClick:e=>d(e)},t)}return l.createElement(v.hX,null,A(_[0],s,d,c,0,p,h,y,n,S,N,e,x,!1,b))};N.propTypes={actionIdFlags:s().object,amazonAffiliateTag:s().string,component:s().string,dangerousHed:s().string,dropShipData:s().object,gtmTrackOnClick:s().func,hasCheckPriceFeature:s().bool,isCttEnabled:s().bool,offers:s().arrayOf(s().object),onProductOffersUpdate:s().func,productId:s().string,shouldUseBlackButton:s().bool,shouldUseOutlinedButton:s().bool,showDiscountPercentLabel:s().bool,showLocalisedOffers:s().bool,showMultipleOffers:s().bool,showOfferButton:s().bool,type:s().oneOf(["card","embed"]),url:s().string,xidAndAmguuid:s().object};const H=(0,o.Ng)(e=>({amazonAffiliateTag:e.commercePlatform?.amazonAffiliateTag}))(N);var I=n(60943),B=n.n(I),O=n(30966),_=n(14307),K=n(40391);const P=({image:e,isLazy:t,offers:n,url:o,dropShipData:i,type:a="card",xidAndAmguuid:r,isMobileView:s,aspectRatio:d=[3,4],gtmTrackOnClick:m,hasMultipleImageSupport:u,showImageCreditText:g,showMultipleImageCount:h,shouldDisableCreditText:y=!1,upcLazyLoading:b,productMultiImageCount:f,hasImageCreditText:x,actionIdFlags:E={},isLandscapeProductCard:A,component:S="unified-product-card",amazonAffiliateTag:L,internalLink:T,contentType:N,hedHref:H,renderBookmark:I,hasBookmarkingFeature:P})=>{const D={...(0,w.f)(o,n)[0],...r},q=u&&!c()(e)&&e.length>1,M=(0,w.Ac)({dropShipData:i,offer:D,type:a}),R=(0,k.t)(D.purchaseUri,L),F=(0,K.e)(N),U=T||H||o,V=((e,t,n,o,i=!1,a=null)=>{const r={href:i?a:e.offerUrl,target:i?"_self":e.target,rel:i?void 0:e.rel,tabIndex:"-1","data-offer-url":t.purchaseUri||"",...i?{}:n};return o&&o.altText||(r["aria-hidden"]="true"),r})(M,D,R,e,F&&U,U),G="card"===a?"plp_grid":S,W=l.useRef(B().generate("hex",10)),{shouldShowBookmark:j,shouldShowCreditText:z,hasTextContainer:Y,shouldShowBookmarkContainerHeight:X}=((e,t,n,o,i,a)=>{const r=!e&&t,s=n&&o&&!i;return{shouldShowBookmark:r,shouldShowCreditText:s,hasTextContainer:s||r,shouldShowBookmarkContainerHeight:r&&!s&&a}})(A,P,g,x,y,q),Z=e=>Y?l.createElement(v.Bd,{showBookmarkContainerHeight:X},z&&l.createElement(v.hy,{hasBookmarkingFeature:P,dangerouslySetInnerHTML:{__html:e?.credit}})):null,J=E?.enableActionIdForUPC,Q=M?.offerUrl?.includes("cna.st")&&J,ee=(e,t,n,o)=>{if(n){const t=((e,t)=>{if(!e.target.closest(".responsive-clip__play-pause"))return!1;e.preventDefault();const n=e.target.closest(".responsive-clip");if(!n)return!0;const o=n.querySelector("video");if(!o)return!0;const i=o.paused?"paused":"resume",{width:a,height:r,progressPercent:s,inviewPercent:l,currentTime:d}=(0,w._t)(n);return(0,_.ip)({width:a,height:r,inviewPercent:l,progressPercent:s,currentTime:d,type:i,clipId:t}),!0})(e,o);if(t)return}const i=e?.currentTarget?.getAttribute("href"),a=(0,C.hh)();if(Q&&i){e.preventDefault();const{href:n}=(0,$.P)({event:e,gtmTrackOnClick:m,linkProps:i,type:"UPCImage",index:t,component:"unified-product-card"!==S?S:G,queryParams:a});window.open(n,"_blank","noopener, noreferrer")}else m(e,null,t)},te=l.useCallback((e,n)=>((e,t,n,o,i,a,r,s,d,m,u,g,h)=>{const y="cnevideo"===e?.contentType,b="clip"===e?.contentType;return l.createElement(l.Fragment,null,l.createElement(v.U_,{aspectRatio:""===i?[3,4]:i,hasImageCreditText:a,hasMultipleImageSupport:r,hasBookmarkingFeature:s},!c()(e)&&(!c()(e.sources)||!c()(e.segmentedSources)||e.scriptUrl)&&l.createElement(v.KL,{onClick:o=>n(o,t,b,e.id),className:b?"asset-embed__responsive-asset":"image",isClipType:b,isCNEVideo:y,...o},l.createElement(p.A,{...e,onClick:o=>n(o,t,b,e.id),hasNativeImgLazyLoading:!b&&!y,isLazy:d,imageAttributes:{loading:m},shouldDisableAds:y,shouldLoopVideo:y,shouldPlayContinuously:!y,hasCNEVideoInProductCard:y,upcId:u}))),g&&h(e))})(e,n,ee,V,d,x,u,P,t,b,W.current,Y,Z),[e,g,x,y,t,b]),ne=l.useMemo(()=>((e,t,n)=>e?t.reduce((e,t,o)=>((ou&&e.map((e,t)=>l.createElement(l.Fragment,null,t1?e[0]:e))};P.propTypes={actionIdFlags:s().object,amazonAffiliateTag:s().string,aspectRatio:s().arrayOf(s().number),component:s().string,contentType:s().string,dropShipData:s().object,gtmTrackOnClick:s().func,hasBookmarkingFeature:s().bool,hasImageCreditText:s().bool,hasMultipleImageSupport:s().bool,hedHref:s().string,image:s().shape(p.A.propTypes),internalLink:s().string,isLandscapeProductCard:s().bool,isLazy:s().bool,isMobileView:s().bool,offers:s().arrayOf(s().object),productMultiImageCount:s().number,renderBookmark:s().func,shouldDisableCreditText:s().bool,showImageCreditText:s().bool,showMultipleImageCount:s().number,type:s().oneOf(["card","embed"]),upcLazyLoading:s().string,url:s().string,xidAndAmguuid:s().object};const D=(0,o.Ng)(e=>({amazonAffiliateTag:e.commercePlatform?.amazonAffiliateTag}))(P);var q=n(708);const M=({pros:e,cons:t,maxProsConsHeight:n,isSlide:o,prosConsLabel:i,prosLabel:a,consLabel:r,isProsConsActive:s,textProsConsClick:d,isLandscapeProductCard:c,showRatingData:m,isCttEnabled:u,isMobileView:p})=>{const{formatMessage:h}=(0,g.A)(),b=(0,l.useCallback)((e,t)=>l.createElement(v.rF,{maxProsConsHeight:n,isSlide:o,isMobileView:p},e.map((e,n)=>l.createElement(v.yC,{key:`${t}-${n}`,isCttEnabled:u,dangerouslySetInnerHTML:{__html:e}}))),[n,o,u,p]);return l.createElement(v.vV,{isLandscapeProductCard:c,showRatingData:m},l.createElement(v.cP,{isActive:s,onClick:d},l.createElement(v.$g,{isLandscapeProductCard:c},l.createElement(v._9,{isLandscapeProductCard:c,dangerouslySetInnerHTML:{__html:i||h(y.UnifiedProductCardProsConsTitle)}})),l.createElement(v.iA,{isActive:s,ButtonIcon:q.A,role:"button",isIconButton:!0,label:"AccordionItemContainerButton",width:"0.5rem",height:"0.5rem"})),l.createElement(v.tU,{isActive:s},l.createElement(v.SL,{isActive:s,isLandscapeProductCard:c,dangerouslySetInnerHTML:{__html:a||h(y.UnifiedProductCardProsLabel)}}),b(e,"pro"),l.createElement(v.SL,{isActive:s,isLandscapeProductCard:c,dangerouslySetInnerHTML:{__html:r||h(y.UnifiedProductCardConsLabel)}}),b(t,"con")))};M.propTypes={cons:s().array,consLabel:s().string,isCttEnabled:s().bool,isLandscapeProductCard:s().bool,isMobileView:s().bool,isProsConsActive:s().bool,isSlide:s().bool,maxProsConsHeight:s().number,pros:s().array,prosConsLabel:s().string,prosLabel:s().string,showRatingData:s().func,textProsConsClick:s().func};const R=M,F=({rating:e,showProsConsData:t,isLandscapeProductCard:n})=>{const{formatMessage:o}=(0,g.A)();return l.createElement(v.CN,{showProsConsData:t,isLandscapeProductCard:n},l.createElement(v.xx,{showProsConsData:t,isLandscapeProductCard:n,dangerouslySetInnerHTML:{__html:`${o(y.UnifiedProductCardRatingTitle)} ${e}/10`}}))};F.propTypes={isLandscapeProductCard:s().bool,rating:s().string,showProsConsData:s().func};const U=F;var V=n(38759),G=n(60162);const W=({dangerousDek:e,dek:t,isCttEnabled:n,item:o,showClampedDescription:i,showMultipleOffers:a,totalCount:r,trackingLayout:s,isLandscapeProductCard:d,productDescriptionLineLength:m,enableEditorNote:u,editorNoteTitle:p,editorNote:g})=>{const[h,y]=(0,l.useState)(!1),b=u&&!c()(g),f=()=>t?.length&&(0,V.Uc)(t)?l.createElement(v.Nj,{shouldHideDescriptionMargin:!!r,isCttEnabled:n,showLess:h,isDek:!0,showClampedProductDescription:i(),productDescriptionLineLength:m},V.a9.convert(t)):!t?.length&&e?l.createElement(v.Nj,{showMultipleOffers:a,shouldHideDescriptionMargin:!!r,dangerouslySetInnerHTML:{__html:e},showLess:h,isCttEnabled:n,showClampedProductDescription:i(),productDescriptionLineLength:m}):b?l.createElement(v.Nj,{isCttEnabled:n,showLess:h,showClampedProductDescription:i(),productDescriptionLineLength:m,shouldShowEditorNote:b},p&&!c()(p)&&l.createElement(v.F7,{isCttEnabled:n},p," -"),l.createElement(v._i,{isCttEnabled:n,dangerouslySetInnerHTML:{__html:g}})):null,w=(0,l.useCallback)(()=>{const e=h?"close":"open";y(!h),(0,G.g1)(window,o,o.index,s,null,"",e)},[h,o,s]);return l.createElement(l.Fragment,null,i()?(()=>{const e=f();return e?l.createElement(v.ss,{lines:m,linesInExtraLargeDesktop:m,isCollapsible:!0,showLess:h,offset:-5,onTextClick:w,showClampedProductDescription:i(),isLandscapeProductCard:d,shouldShowEditorNote:b},e):null})():f())};W.propTypes={dangerousDek:s().string,dek:s().arrayOf(s().string),enableEditorNote:s().bool,editorNote:s().any,editorNoteTitle:s().string,isCttEnabled:s().bool,isLandscapeProductCard:s().bool,item:s().object,productDescriptionLineLength:s().number,showClampedDescription:s().func,showMultipleOffers:s().bool,totalCount:s().number,trackingLayout:s().string},W.displayName="UnifiedProductCardDescription";const j=W;var z=n(44584),Y=n(73730),X=n(22509),Z=n(3162);var J=n(9864),Q=n(81318);const ee=(0,l.forwardRef)(({productId:e,copilotID:t,contentType:n="product",organizationID:o,bookmarkMeta:i={},bookmarkId:a,unsavedBookmarks:r={},user:s,userPlatform:d,doUpdateUnsavedBookmarks:c,setLastBookmarkedProduct:m,setShowProductBookmarkMessageBanner:u,setProductBookmarkAction:p,setRemovedBookmarkData:g,clearRemovedBookmarkData:h,initialBookmarkState:y=null,onBookmarkToggle:b,trackingSubject:f="unified_product_card",item:w,layout:$,productName:v="",isSavedProductPage:C=!1,removedBookmarkData:k=null,productBookmarkAction:x=null,lastBookmarkedProduct:E=null,rootBrandName:A=""},S)=>{const[L,T]=(0,l.useState)(!1),[N,H]=(0,l.useState)(!1),I=(0,l.useRef)(null),[B,O]=(0,l.useState)(null),K=e||t,{isAuthenticated:P}=s||{},{federatedGraphqlUrl:D}=d||{},q=!!D,M=w||i,R=(0,G.TZ)(M),{eventEntityProps:F}=(0,G.gY)(R,null,null,0,0),U=C&&i?.bookmarkId?i.bookmarkId:a&&E?.copilotID===K?a:B||null,V=(0,l.useCallback)(e=>{c?.({copilotID:K,isDeleted:e})},[K,c]),{bookmarkedItem:W,setBookmarkedItem:j,bookmarkHelperInstance:J}=(({contentId:e,user:t,userPlatform:n,organizationID:o,initialBookmarkState:i=null,contentType:a="Product",shouldUseBookmarkV2:r=!1})=>{const[s,d]=(0,l.useState)(null),{isAuthenticated:c}=t||{},{federatedGraphqlUrl:m}=n||{},u=(0,l.useMemo)(()=>(0,Z.A)(r),[r]),p=(0,l.useCallback)(async a=>{const s=a||e;if(d(null),null===i)try{const e={copilotID:s,organizationID:o,federatedGraphqlUrl:m},i=r?{...e,amgUUID:t?.amguuid,documentUrl:window.location.href,siteCode:n?.siteCode,userPlatformProxy:n?.userPlatformProxy,xClientID:n?.xClientID}:e,a=await u.getBookmarkStatus(i);a?.bookmarkId&&d(s)}catch(e){}else i&&d(s)},[e,o,m,u,i,a,r,t?.amguuid,n?.siteCode,n?.userPlatformProxy,n?.xClientID]);return(0,l.useEffect)(()=>{c&&e&&p(e)},[c,e,p]),{bookmarkedItem:s,setBookmarkedItem:d,bookmarkHelperInstance:u,checkIsAlreadyBookmarked:p,isBookmarked:s===e}})({contentId:K,user:s,userPlatform:d,organizationID:o,initialBookmarkState:y,contentType:n,shouldUseBookmarkV2:!1});(0,l.useEffect)(()=>{(async()=>{if(P&&K&&D&&W===K&&!B)if(U)O(U);else try{const e=await J.getBookmarkStatus({copilotID:K,organizationID:o,federatedGraphqlUrl:D});e?.bookmarkId&&O(e.bookmarkId)}catch(e){}})()},[P,K,D,W,B,U,J,o]),(0,l.useEffect)(()=>{const e=r?.[K],t=e?.isDeleted;!1===t&&null===W&&(U||B)&&j(K)},[r,K,W,j,U,B]),(0,l.useEffect)(()=>{T(!0)},[]);const ee=(0,l.useCallback)((e,t,n,o,a,r)=>{(0,Q.s)({type:"save",copilotID:e,bookmarkMeta:i,contentType:t,trackingSubject:f,subjectId:o,subjectName:a,item:w,layout:$,targetEvent:r})},[i,f,w,$]),te=(0,l.useCallback)(e=>{!C&&e?.bookmarkId&&J.proxyRemoveBookmark({bookmarkId:e.bookmarkId,copilotId:e.copilotID,federatedGraphqlUrl:D}).then(()=>{e.copilotID===K&&O(null)}).catch(e=>{})},[C,J,D,K]),ne=(0,l.useCallback)((e,t,n,o)=>!(!e||null!==t)&&("save"!==n&&e.copilotID===o),[]);(0,l.useEffect)(()=>{const e=I.current;I.current=k,ne(e,k,x,K)&&te(e)},[k,x,K,te,ne]);const oe=(0,l.useCallback)((e,t,n,o)=>{m?.({copilotID:e,productData:i}),k?.copilotID===e&&h?.(),p?.({action:"save"}),u?.({showBanner:!0}),c?.({copilotID:e,isDeleted:!1}),ee(e,t,n,null,null,o)},[m,i,k?.copilotID,p,u,c,ee,h]),ie=(0,l.useCallback)(async(e,t,a)=>{if(e&&(e.preventDefault(),e.stopPropagation()),!q)return{isSuccessful:!1};const r=t||K,s=a||n;try{const{statusCode:t,data:{id:n}={}}=await J.proxyCreateBookmark({copilotID:r,contentType:s,federatedGraphqlUrl:D,organizationID:o,meta:i});if(201===t&&n||409===t)return j(r),oe(r,s,n,e),n&&r===K&&O(n),b&&b(r,!0),{isSuccessful:!0}}catch(e){}return{isSuccessful:!1}},[K,n,q,J,D,o,i,j,b,oe]);(({productId:e,isAuthenticated:t,createBookmark:n,eventEntityProps:o})=>{const[i,a]=(0,l.useState)(!1),r=(0,l.useCallback)(t=>{const r=t.get("action"),s=t.get("productId"),l=t.get("contentType");if("addProductBookmark"===r&&s&&l&&(s===e||s===String(e))&&!i){a(!0),n(null,s,l);const e={type:"click",label:t.get("authAction")||"create/sign in",subject:"signin_modal",paywall_source:"product_bookmark"};return(0,_.ZL)(e,o),window.history.replaceState({},document.title,window.location.pathname),!0}return!1},[e,n,i,o]);(0,l.useEffect)(()=>{if(!t)return;const e=new URLSearchParams(window.location.search);r(e)},[t,r]),(0,l.useEffect)(()=>{if(!t||!e)return;const n=new URLSearchParams(window.location.search);"addProductBookmark"===n.get("action")&&window.location.search.includes("action=addProductBookmark")&&!i&&r(n)},[e,t,r,i])})({productId:K,contentType:n,isAuthenticated:P,createBookmark:ie,eventEntityProps:F});const ae=(0,l.useCallback)((e,t,o=!1)=>({copilotID:K,productData:{...i,__layout:$,__trackingSubject:f},contentType:n,productName:v||i?.name||"Product",bookmarkId:e,collectionId:t,originalIndex:i?.__originalIndex??null,fullProductItem:i?.__fullProductItem||null,...o&&{isDelayedRemoval:!0}}),[K,i,$,n,v,f]),re=(0,l.useCallback)(e=>{(0,Q.s)({type:"unsave",copilotID:K,bookmarkMeta:i,contentType:n,trackingSubject:f,item:w,layout:$,targetEvent:e})},[K,i,n,f,w,$]),se=async e=>{V(!0);const t=await(async(e,t,n)=>{e&&e.preventDefault(),await new Promise(e=>setTimeout(e,300)),j(null),V(!0);const o=ae(t,n,!0);return b&&b(K,!1),k&&k.copilotID!==K&&te(k),g?.(o),p?.({action:"remove"}),u?.({showBanner:!0}),re(e),{isSuccessful:!0}})(e,U,i?.collectionId);return t?.isSuccessful||V(!1),t},le=async e=>{if(k?.copilotID===K)return(e=>{const{copilotID:t,productData:o}=k;return j(t),c?.({copilotID:t,isDeleted:!1}),m?.({copilotID:t,productData:o}),h?.(),p?.({action:"save"}),u?.({showBanner:!0}),(0,Q.s)({type:"save",copilotID:t,bookmarkMeta:o,contentType:n,trackingSubject:o?.__trackingSubject||f,item:o,layout:o?.__layout||$,targetEvent:e}),b&&b(t,!0),{isSuccessful:!0}})(e);V(!1);const t=await ie(e);return t?.isSuccessful||V(!0),t},de=(0,l.useCallback)(()=>{const e=r?.[K]?.isDeleted;return!0!==e&&(!1===e||!(!U&&W!==K&&!0!==y))},[r,K,U,W,y]);(0,l.useImperativeHandle)(S,()=>({isBookmarkActive:de,getBookmarkStatus:()=>de()}),[de]);const ce=(0,l.useCallback)((e,t,n)=>e&&t&&n,[]);if(!ce(q,o,K))return null;const me=(0,l.useCallback)(e=>({iconTitle:e?"Remove from wishlist":"Save to wishlist",iconType:e?"fill":"outline",iconFill:e?"black":"none"}),[]),ue=de(),{iconTitle:pe,iconType:ge,iconFill:he}=me(ue),ye=(0,l.useRef)(!1),be=(0,l.useCallback)(()=>{const e=de();(0,G.g1)({window,product:{...w,isBookmarked:e},index:0,layout:$,event:null,type:"hover",eventType:"bookmark-hover"})},[w,$,de]),fe=(0,l.useCallback)(()=>{ye.current||(ye.current=!0,be(),setTimeout(()=>{ye.current=!1},200))},[be]),we=(0,l.useCallback)(()=>l.createElement(z.A,{bookmarkIconTitle:pe,className:`icon-bookmark-${ge}`,fill:he}),[pe,ge,he]),$e=N?null:we,ve=N?"Loading":pe;return l.createElement("div",{onMouseEnter:fe},l.createElement(Y.A.Utility,{btnStyle:"text",ButtonIcon:$e,isIconButton:!0,isDisabled:N,label:ve,loadingSpinnerColor:"black",onClickHandler:async e=>{if(!P)return(e=>{e&&e.preventDefault();const{pathname:t,search:o}=window.location,a=`action=addProductBookmark&productId=${K}&contentType=${n}`,r=o?`${t}${o}&${a}`:`${t}?${a}`;(0,Q.s)({type:"attempt",copilotID:K,bookmarkMeta:i,contentType:n,trackingSubject:f,item:w,layout:$,targetEvent:e}),(0,_.ZL)({type:"impression",subject:"signin_modal",paywall_source:"product_bookmark"},F),X.Rf({authSource:"sign-in-modal",source:"VERSO_UPC_BOOKMARKING",dangerousHed:"Save products",dangerousHedSpanTag:`to your ${A} Account`,dangerousDek:"Sign in to save products you love and shop them anytime, on any device.",redirectURL:r,type:"default",analyticsType:"saved products",shouldHideIllustration:!0})})(e);if(e&&(e.preventDefault(),e.stopPropagation()),N)return{isSuccessful:!1};H(!0);try{const t=de();return L&&t?await se(e):await le(e)}finally{H(!1)}},shouldShowLoadingState:!0,size:"small",className:"upc-bookmark",shouldEnableClickTracking:!1,"data-track":"false","data-snowplow":"false"}))});ee.displayName="UnifiedProductCardBookmark",ee.propTypes={productId:s().string,copilotID:s().string,contentType:s().string,organizationID:s().string,bookmarkMeta:s().object,bookmarkId:s().string,unsavedBookmarks:s().object,user:s().shape({amguuid:s().string,isAuthenticated:s().bool}),userPlatform:s().shape({federatedGraphqlUrl:s().string,siteCode:s().string,userPlatformProxy:s().string,xClientID:s().string}),doUpdateUnsavedBookmarks:s().func,setLastBookmarkedProduct:s().func,setShowProductBookmarkMessageBanner:s().func,setProductBookmarkAction:s().func,setRemovedBookmarkData:s().func,clearRemovedBookmarkData:s().func,initialBookmarkState:s().bool,onBookmarkToggle:s().func,productName:s().string,isSavedProductPage:s().bool,trackingSubject:s().string,item:s().object,layout:s().string,removedBookmarkData:s().object,productBookmarkAction:s().string,lastBookmarkedProduct:s().object,rootBrandName:s().string};const te=(0,o.Ng)((e,t)=>{const{coreDataLayer:{site:{orgId:n}={}}={site:{}},pageState:{bookmarkStatus:{bookmarkId:o}={}}={bookmarkStatus:{}},unsavedBookmarks:i={},user:a={},userPlatform:r={},removedBookmarkData:s=null,productBookmarkAction:l=null,lastBookmarkedProduct:d=null,rootBrandName:c=""}=e;return{bookmarkId:t.bookmarkId||o,organizationID:n,unsavedBookmarks:i,user:a,userPlatform:r,removedBookmarkData:s,productBookmarkAction:l,lastBookmarkedProduct:d,rootBrandName:c}},e=>{const{setLastBookmarkedProduct:t,setShowProductBookmarkMessageBanner:n,setProductBookmarkAction:o,setRemovedBookmarkData:i,clearRemovedBookmarkData:a,doUpdateUnsavedBookmarks:r}=(0,J.zD)(e);return{setLastBookmarkedProduct:t,setShowProductBookmarkMessageBanner:n,setProductBookmarkAction:o,setRemovedBookmarkData:i,clearRemovedBookmarkData:a,doUpdateUnsavedBookmarks:r}},null,{withRef:!0})(ee);var ne=n(67506);const oe=({hasBookmarkingFeature:e,productId:t,bookmarkMeta:n={},bookmarkId:o,isLandscapeProductCard:i=!1,isSavedProductPage:a=!1,onBookmarkToggle:r,trackingSubject:s,item:d,layout:c,checkHasMultipleImages:m,checkHasCreditText:u,contentType:p="product",bookmarkRef:g})=>e&&t&&!(0,ne.T5)(n)?l.createElement(v.bj,{isLandscapeProductCard:i,checkHasMultipleImages:m,checkHasCreditText:u},l.createElement(te,{ref:g,productId:t,contentType:p,bookmarkMeta:n,bookmarkId:o,isLandscapeProductCard:i,initialBookmarkState:!!a||null,onBookmarkToggle:r,isSavedProductPage:a,trackingSubject:s,item:d,layout:c})):null,ie=({dangerousHed:e,imageProps:t,totalCount:n,isCttEnabled:o,preHeaderOne:i,hasProductHeight:a,brandName:r,hasDiffMinHeight:s,diffMinHeightValue:d,hasProductNameHeight:c,item:m,productNameTag:u,shouldRenderSuperlativeText:p,name:g,dangerousDek:h,dek:y,showClampedDescription:b,showMultipleOffers:f,trackingLayout:w,offersProps:$,showLocalisedOffers:C,showProsConsData:k,rating:x,showRatingData:E,pros:A,cons:S,prosConsLabel:L,prosLabel:T,consLabel:N,maxProsConsHeight:I,isSlide:B,isLandscapeProductCard:O,productDescriptionLineLength:_,textProsConsClick:K,isProsConsActive:P,showDiscountPercentLabel:q,textBadge:M,seal:F,hasBookmarkingFeature:V=!1,bookmarkMeta:G={},onBookmarkToggle:W,isSavedProductPage:z=!1,layout:Y,bookmarkRef:X})=>{const{hasImageCreditText:Z,hasMultipleImageSupport:J,type:Q,offers:ee}=t,te={...t,isLandscapeProductCard:O,hasBookmarkingFeature:!1};return l.createElement(v.AE,{id:m.id},p()&&e&&l.createElement(v.eU,{dangerouslySetInnerHTML:{__html:e},isLandscapeProductCard:O}),l.createElement(v.n9,{hasMultipleImage:J},l.createElement(v.g0,null,l.createElement(D,{...te}),F&&Object.prototype.hasOwnProperty.call(F,"sealUrl")&&l.createElement(v.rU,{seal:F}),M&&Object.prototype.hasOwnProperty.call(M,"name")&&l.createElement(v.sN,{config:{position:"top-left",badgeText:M.name},className:"standard"})),l.createElement(v.jw,null,(()=>{const e=m.id;return m={...m,layout:Y},oe({hasBookmarkingFeature:V,productId:e,bookmarkMeta:m,data_item:m,isLandscapeProductCard:O,onBookmarkToggle:W,isSavedProductPage:z,trackingSubject:m.component,item:m,layout:Y,bookmarkRef:X})})(),l.createElement(v.xl,{hasMultipleImage:J,hasImageCreditText:Z},l.createElement(v.CA,null,n?l.createElement(v.Ol,{isCttEnabled:o,isLandscapeProductCard:O},i):null,l.createElement(v.c3,{isCttEnabled:o,totalCount:n,className:"upc-brandName",isLandscapeProductCard:O,dangerouslySetInnerHTML:{__html:r}}),(e||g)&&l.createElement(v.a8,{hasDiffMinHeight:s,diffMinHeightValue:d,isCttEnabled:o,isLandscapeProductCard:O},l.createElement(v.R8,{hasProductHeight:a,hasProductNameHeight:c,isLandscapeProductCard:O,isCttEnabled:o,id:`upc_${m.id}`,as:"embed"===Q?u:"p",type:Q,dangerouslySetInnerHTML:{__html:p()?g:e||g}}))),l.createElement(v.jO,null,ee?.length?l.createElement(H,{...$,showLocalisedOffers:C,showDiscountPercentLabel:q}):null)))),l.createElement(v.KW,null,l.createElement(j,{dangerousDek:h,dek:y,isCttEnabled:o,item:m,showClampedDescription:b,showMultipleOffers:f,totalCount:n,trackingLayout:w,isLandscapeProductCard:O,productDescriptionLineLength:_}),l.createElement(v.FC,null,E()&&l.createElement(U,{showProsConsData:k(),isLandscapeProductCard:O,rating:x}),k()&&l.createElement(R,{pros:A,cons:S,prosConsLabel:L,prosLabel:T,consLabel:N,maxProsConsHeight:I,isSlide:B,isLandscapeProductCard:O,showRatingData:E(),isProsConsActive:P,textProsConsClick:K,isCttEnabled:o}))))};ie.propTypes={bookmarkMeta:s().object,brandName:s().string.isRequired,cons:s().arrayOf(s().string),consLabel:s().string,dangerousDek:s().string,dangerousHed:s().string.isRequired,dek:s().string,diffMinHeightValue:s().number,hasDiffMinHeight:s().bool,hasProductHeight:s().bool,hasProductNameHeight:s().bool,imageProps:s().object.isRequired,isCttEnabled:s().bool,isLandscapeProductCard:s().bool,isProsConsActive:s().bool,isSlide:s().bool,item:s().object,maxProsConsHeight:s().number,name:s().string.isRequired,offersProps:s().object.isRequired,preHeaderOne:s().string,productDescriptionLineLength:s().number,productNameTag:s().string,pros:s().arrayOf(s().string),prosConsLabel:s().string,prosLabel:s().string,rating:s().number,seal:s().object,shouldRenderSuperlativeText:s().func,hasBookmarkingFeature:s().bool,onBookmarkToggle:s().func,isSavedProductPage:s().bool,layout:s().string,showClampedDescription:s().bool,showDiscountPercentLabel:s().bool,showLocalisedOffers:s().bool,showMultipleOffers:s().bool,showProsConsData:s().func,showRatingData:s().func,textBadge:s().object,textProsConsClick:s().func,totalCount:s().number,trackingLayout:s().string,bookmarkRef:s().object};const ae=ie;var re=n(49235),se=n(59867);const le={},de=({image:e,brand:t,dangerousHed:n,hasAffiliateLinkDisabled:o,offers:i,dangerousDek:a,url:r="",type:s="card",preHeaderOne:d=null,totalCount:m=null,showMultipleOffers:p=!1,index:g,isLazy:h=!1,aspectRatio:y=[3,4],isDropshipProduct:b,dropShipSellers:f,hasImpressionTracking:w,layoutName:$,sourceName:k,data_item:x={},contentId:E,showLocalisedOffers:A=!1,showOfferUrl:S=!1,layout:L,dek:T,hasDiffMinHeight:N=!1,hasProductHeight:I=!1,hasProductNameHeight:B=!1,showOfferButton:O=!1,diffMinHeightValue:_,showProductNameAsH3:P=!1,showClampedProductDescription:q=!1,hasReadMoreFeature:M,productDescriptionLineLength:F,isCttEnabled:V=!1,shouldUseOutlinedButton:W,shouldUseBlackButton:z,showSuperlativeText:Y=!1,name:X,isMobileView:Z,shouldDisableCreditText:J,maxProsConsHeight:Q=5.5,pros:ee,cons:te,rating:ne,productMultiImageCount:ie,hasImageCreditText:de,actionIdFlags:ce={},prosConsLabel:me,prosLabel:ue,consLabel:pe,theme:ge,componentUsed:he,hideLandscapeLayout:ye=!1,showDiscountPercentLabel:be=!1,enableEditorNote:fe=!1,editorNoteTitle:we,editorNote:$e,enableGtmFixesIntersectionObserver:ve=!1,enableGtmFixesUseRef:Ce=!1,textBadge:ke=le,seal:xe=le,isMobileLandscapeEnabled:Ee,hasBookmarkingFeature:Ae,hasCheckPriceFeature:Se=!1,bookmarkMeta:Le={},bookmarkIdProp:Te,onBookmarkToggle:Ne,isSavedProductPage:He=!1,internalLink:Ie=null,shortDescription:Be=null,contentType:Oe=null,hedHref:_e=null,awardBadges:Ke=[],hasMultiplePhotos:Pe=!1,photos:De=[],locationTaxonomy:qe=null})=>{const Me=!!m,Re=l.useRef(0),Fe=l.useRef(null),[Ue,Ve]=(0,l.useState)(!1),[Ge,We]=(0,l.useState)(i?.length||0),je=!He,ze=!(ye||"card"===s);let Ye="p";P?Ye="h3":m&&(Ye="h2");const Xe=()=>q&&M,Ze=()=>x.hasProsConsFeature&&!c()(ee)&&!c()(te),Je=()=>x.hasRatingFeature&&ne,Qe=()=>Y&&Me,et={isDropshipProduct:b,dropShipSellers:f,sourceName:k,data_item:x,contentId:E,showOfferUrl:S||o,layout:L},tt=new Map([["GridFourColumns","plp_grid"],["ContentCarousel","carousel"]]),nt="object"==typeof t&&t?.name||t||"",ot=!c()(e)&&e?.length>1,it=x?.showMultipleImageCount,at=function(e,t){return(Array.isArray(e)?e.filter(e=>"cnevideo"===e?.contentType||"clip"===e?.contentType).slice(0,t):[]).map(e=>{const{scriptUrl:t,id:n}=e;if(t&&"string"==typeof t&&t.includes("/")){const e=t.split("/").pop(),o=e?.split(".")[0];return o||n||null}return n||null}).filter(Boolean)}(e,it),rt=x.index??g,st={...x,id:x.id||x.productId,index:rt,brand:{name:nt},component:x.component||tt.get(L)||(!ot&&["cnevideo","clip"].includes(e?.contentType)||ot||Je()||Ze()?"enhanced_product_card":"unified_product_card"),total_index:((e,t=0)=>{if(!e)return;const n=Array.isArray(e)?e:[e];return Math.min(n.length,t)})(e,it),hasMultipleImage:ot,rating:ne,showProsConsData:Ze(),videoIds:at,offersLength:Ge,hasBookmarkingFeature:Ae};delete st.imageLabels,delete st.source,delete st.multipleOffers;const lt={"data-item":JSON.stringify(st)},dt=L||st.layout,[ct,mt]=l.useState({}),ut=l.useRef(),pt=l.useCallback(()=>{const e=ut.current?.getWrappedInstance?.();return e?.getBookmarkStatus?.()||!1},[]),gt=(e,t,n,o=null,i=null)=>{null!=n&&(Re.current=n);const a=pt();(0,G.g1)({window,product:{...st,isBookmarked:a},index:st.index,actionId:t,layout:dt,event:e,type:o,image_index:void 0===n?Re.current:n,offerIndex:i})},ht=()=>{const t=ot&&!c()(e)&&e.length>1,n=x?.showImageCreditText&&de&&!J;return oe({hasBookmarkingFeature:Ae,productId:st.id||E,bookmarkMeta:Le,bookmarkId:Te,isLandscapeProductCard:!1,isSavedProductPage:He,onBookmarkToggle:Ne,checkHasMultipleImages:t,checkHasCreditText:n,trackingSubject:st.component,item:st,layout:dt,bookmarkRef:ut})},yt=()=>{const e=Ue?"close":"open";Ve(!Ue);const t=pt();(0,G.g1)({window,product:{...st,component:"unified_product_card_pros_cons",isBookmarked:t},index:st.index,layout:dt,type:e})},bt=(0,K.e)(Oe)&&Pe&&De,ft=bt?De.slice(0,it):e,wt=bt&&Array.isArray(De)&&De.length>1,$t={image:ft,isLazy:h,offers:i,url:r,dropShipData:et,type:s,xidAndAmguuid:ct,isMobileView:Z,aspectRatio:y,gtmTrackOnClick:gt,hasMultipleImageSupport:wt||ot,showImageCreditText:x?.showImageCreditText,showMultipleImageCount:it,shouldDisableCreditText:J,upcLazyLoading:"lazy",productMultiImageCount:ie,hasImageCreditText:de,actionIdFlags:ce,component:he,internalLink:Ie,contentType:Oe,hedHref:_e,renderBookmark:ht,hasBookmarkingFeature:Ae},vt={dangerousHed:n,type:s,offers:i,url:r,showMultipleOffers:p,showOfferButton:O,dropShipData:et,productId:st.id,gtmTrackOnClick:gt,xidAndAmguuid:ct,isCttEnabled:V,shouldUseOutlinedButton:W,shouldUseBlackButton:z,hasCheckPriceFeature:Se,actionIdFlags:ce,component:he,onProductOffersUpdate:e=>{We(e)}},Ct={dangerousHed:n,imageProps:$t,totalCount:m,isCttEnabled:V,preHeaderOne:d,hasProductHeight:I,brandName:nt,name:X,hasDiffMinHeight:N,diffMinHeightValue:_,hasProductNameHeight:B,item:st,productNameTag:Ye,shouldRenderSuperlativeText:Qe,dangerousDek:a,dek:T,showClampedDescription:Xe,showMultipleOffers:p,trackingLayout:dt,offersProps:vt,showLocalisedOffers:A,showRatingData:Je,showProsConsData:Ze,rating:ne,pros:ee,cons:te,prosConsLabel:me,prosLabel:ue,consLabel:pe,maxProsConsHeight:Q,isSlide:Me,isLandscapeProductCard:je,productDescriptionLineLength:F,isProsConsActive:Ue,textProsConsClick:yt,showDiscountPercentLabel:be,textBadge:ke,seal:xe,hasBookmarkingFeature:Ae,bookmarkMeta:Le,onBookmarkToggle:Ne,isSavedProductPage:He,layout:dt,bookmarkRef:ut},kt=[];w&&(kt.push("impressionTracking"),$?.length&&kt.push($));const xt=l.useCallback(()=>{Ce?Fe.current&&(0,G.Yp)("ProductEmbed",[Fe.current],"",0,ve):(0,G.Yp)("ProductEmbed",document.getElementsByClassName("product-embed"))},[ve,Ce]),Et=l.useCallback(()=>{Ce?Fe.current&&(0,G.Yp)("ProductEmbed",[Fe.current],"",0,ve):(0,G.Yp)("ProductEmbed",document.getElementsByClassName("product-embed"))},[ve,Ce]),At=l.useRef(null),St=l.useRef(null);return l.useEffect(()=>{At.current=window.Kendra.WINDOW_EVENT.on(se.m.SCROLL_DEBOUNCE,Et),St.current=window.Kendra.WINDOW_EVENT.on(se.m.LOAD_DEBOUNCE,xt);const e=(0,C.ph)();return mt(e),()=>{At.current&&At.current.off(),St.current&&St.current.off()}},[xt,Et]),l.createElement(re.A,{palette:ge},l.createElement(v.B8,{...Ce&&{ref:Fe},className:u()({"product-embed":"embed"===s},[kt]),...lt},ye||!je||Z&&!Ee||!Me&&!ze?l.createElement(v.RA,{id:st.id,type:s,isSlide:Me},l.createElement(v.fT,{isCoupledWithMultiImageProduct:ie>1&&!ot,hasImageCreditText:de&&!ot,hasBookmarkingFeature:Ae},l.createElement(v.D6,null,Qe()&&n&&l.createElement(v.eU,{dangerouslySetInnerHTML:{__html:n}}),xe&&Object.prototype.hasOwnProperty.call(xe,"sealUrl")&&l.createElement(v.rU,{seal:xe}),ke&&Object.prototype.hasOwnProperty.call(ke,"name")&&l.createElement(v.sN,{config:{position:"top-left",badgeText:ke.name},className:"standard"}),l.createElement(D,{...$t})),ht()),l.createElement(v.qV,null,!!m&&l.createElement(v.Ol,{isCttEnabled:V},d),l.createElement(v.c3,{hasProductHeight:I,isCttEnabled:V,totalCount:m,className:"upc-brandName",dangerouslySetInnerHTML:{__html:nt}}),(n||X)&&l.createElement(v.a8,{hasDiffMinHeight:N,diffMinHeightValue:_,isCttEnabled:V},l.createElement(v.R8,{hasProductHeight:I,hasProductNameHeight:B,isCttEnabled:V,id:`upc_${st.id}`,as:"embed"===s?Ye:"p",type:s,dangerouslySetInnerHTML:{__html:Qe()?X:n||X}})),i?.length>0&&l.createElement(H,{...vt,showLocalisedOffers:A,showDiscountPercentLabel:be}),"card"==s&&fe&&!c()($e)&&l.createElement(j,{editorNote:$e,editorNoteTitle:we,enableEditorNote:fe,isCttEnabled:V,item:st,showClampedDescription:Xe,showMultipleOffers:p,totalCount:m,trackingLayout:dt,isMobileView:Z,productDescriptionLineLength:F}),"card"!==s&&l.createElement(j,{dangerousDek:a,dek:T,isCttEnabled:V,item:st,showClampedDescription:Xe,showMultipleOffers:p,totalCount:m,trackingLayout:dt,isMobileView:Z,productDescriptionLineLength:F}),"card"!==s&&Je()&&l.createElement(U,{showProsConsData:Ze(),rating:ne}),"card"!==s&&Ze()&&l.createElement(R,{pros:ee,cons:te,maxProsConsHeight:Q,isSlide:Me,prosConsLabel:me,prosLabel:ue,consLabel:pe,isProsConsActive:Ue,textProsConsClick:yt,isCttEnabled:V,isMobileView:Z}))):l.createElement(ae,{...Ct})))};de.propTypes={actionIdFlags:s().object,aspectRatio:s().arrayOf(s().number),bookmarkIdProp:s().string,bookmarkMeta:s().object,brand:s().oneOfType([s().object,s().string]),componentUsed:s().string,cons:s().array,consLabel:s().string,contentId:s().string,contentType:s().string,dangerousDek:s().string,dangerousHed:s().string,data_item:s().object,dek:s().arrayOf(s().string),diffMinHeightValue:s().number,dropShipSellers:s().arrayOf(s().string),editorNote:s().any,editorNoteTitle:s().string,enableEditorNote:s().bool,enableGtmFixesIntersectionObserver:s().bool,enableGtmFixesUseRef:s().bool,hasAffiliateLinkDisabled:s().bool,hasCheckPriceFeature:s().bool,hasDiffMinHeight:s().bool,hasImageCreditText:s().bool,hasImpressionTracking:s().bool,hasProductHeight:s().bool,hasProductNameHeight:s().bool,hasReadMoreFeature:s().bool,hedHref:s().string,hideLandscapeLayout:s().bool,hotelSlideTitle:s().string,image:s().shape(p.A.propTypes),index:s().number,internalLink:s().string,isCttEnabled:s().bool,isDropshipProduct:s().bool,isLazy:s().bool,isMobileView:s().bool,isMobileLandscapeEnabled:s().bool,isSavedProductPage:s().bool,layout:s().string,layoutName:s().string,maxProsConsHeight:s().number,name:s().string,offers:s().arrayOf(s().object),preHeaderOne:s().string,productDescriptionLineLength:s().number,productMultiImageCount:s().number,pros:s().array,prosConsLabel:s().string,prosLabel:s().string,rating:s().string,seal:s().object,shortDescription:s().string,shouldDisableCreditText:s().bool,shouldUseAmazonPrimeDayLiveAPIData:s().bool,shouldUseBlackButton:s().bool,shouldUseOutlinedButton:s().bool,hasBookmarkingFeature:s().bool,onBookmarkToggle:s().func,showClampedProductDescription:s().bool,showDiscountPercentLabel:s().bool,showLocalisedOffers:s().bool,showMultipleOffers:s().bool,showOfferButton:s().bool,showOfferUrl:s().bool,showProductNameAsH3:s().bool,showSuperlativeText:s().bool,sourceName:s().string,textBadge:s().object,theme:s().oneOf(["standard","inverted"]),totalCount:s().number,type:s().oneOf(["card","embed"]),url:s().string,locationTaxonomy:s().string,awardBadges:s().arrayOf(s().shape({name:s().string,years:s().string,iconSrc:s().string,displayText:s().string})),hasMultiplePhotos:s().bool,photos:s().array},de.defaultProps={theme:"standard"},de.displayName="UnifiedProductCard";const ce=de;ce.Card=(0,a.y)(ce,"Card",{type:"card"}),ce.Embed=(0,a.y)(ce,"Embed",{type:"embed"});const me=ce;var ue=n(59481);const pe=(0,i.y)(me,"UnifiedProductCard"),ge=(0,o.Ng)(e=>({showDiscountPercentLabel:e.commercePlatform?.showDiscountPercentLabel}))(pe)},2060:(e,t,n)=>{n.d(t,{A:()=>C});var o=n(13465),i=n(31581),a=n(47655),r=n(5556),s=n.n(r),l=n(96540),d=n(73275),c=n(38267),m=n(76955),u=n(18117),p=n(26865);const g=c.Ay.div.withConfig({displayName:"FullBleedBannerWrapper"})` margin-bottom: ${(0,p.Kq)(3.2)}; `,h=c.Ay.div.withConfig({displayName:"FullBleedTextWrapper"})``,y=(0,c.Ay)(m.vm).withConfig({displayName:"SectionTitleWrapper"})``;y.defaultProps={colorToken:"colors.interactive.base.white",typeIdentity:"typography.definitions.discovery.hed-feature"};const b=(0,c.Ay)(m.vm).withConfig({displayName:"SectionDekWrapper"})``;b.defaultProps={colorToken:"colors.consumption.body.inverted.body",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const f=c.Ay.div.withConfig({displayName:"GridWrapper"})` display: grid; position: relative; grid-template: 'box'; z-index: 0; /* Grid properties */ width: 100%; overflow: hidden; > *, &::before { grid-area: box; } ${h} { place-self: center; } ${y} { text-align: center; } ${b} { text-align: center; } /* semi-transparent layer to darken image */ &::before { position: relative; opacity: 0.4; z-index: -1; background: black; content: ''; } ${u.B} { img { position: relative; z-index: -2; height: auto; /* object-fit and aspect-ratio in use for a consistent aspect ratio pattern for the image */ object-fit: cover; aspect-ratio: 3 / 2; /* @TODO: dynamicize this in order for a brand to set which ratio they prefer */ inline-size: 100%; max-height: 424px; /* @TODO: max-height value should be configurable on a per brand basis */ } } `,w=e=>{const{dek:t,fullBleedVisualAsset:n,hed:o,isLazy:i}=e;return l.createElement(g,null,l.createElement(f,null,l.createElement(h,null,o&&l.createElement(y,{as:"h2",dangerouslySetInnerHTML:{__html:o}}),t&&l.createElement(b,{as:"p",dangerouslySetInnerHTML:{__html:t}})),n&&l.createElement(d.A,{...n,isLazy:i})))};w.propTypes={dek:s().string,fullBleedVisualAsset:s().object,hed:s().string,isLazy:s().bool},w.displayName="FullBleedBanner";const $=w;$.Default=(0,a.y)($,"Default",{});const v=$,C=(0,i.N)((0,o.y)(v,"FullBleedBanner"))},2860:(e,t,n)=>{n.d(t,{A:()=>be});var o=n(96540),i=n(5556),a=n.n(i),r=n(22354),s=n(6442),l=n(7350),d=n.n(l),c=n(16025),m=n(38267),u=n(1123),p=n(26865),g=n(96472),h=n(40653),y=n(72542),b=n(7228),f=n(99906),w=n(71750);const $=m.Ay.div.withConfig({displayName:"IssueExplorerLatestIssue"})` display: grid; grid-column: 1 / -1; `,v=m.Ay.div.withConfig({displayName:"IssueExplorerWrapper"})` ${(0,u.VO)()} display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); row-gap: 0; ${(0,p.H4)(g.LO.md)} { grid-template-columns: repeat(12, 1fr); } ${w.xh} { grid-column: 1 / -1; } ${w.L5} { ${(0,p.Gg)("typography.definitions.discovery.page-hed-section")}; margin: 0; padding: ${(0,p.Kq)(5)} 0; text-align: center; } > ${h.E}:first-child { display: none; } > ${h.E}:nth-child(2) { display: flex; align-items: center; justify-content: center; } ${y.MS} { grid-column: 1 / -1; min-width: 100%; row-gap: 0; ${(0,p.H4)(g.LO.md)} { min-height: ${(0,p.Kq)(55.5)}; } ${({theme:e})=>(0,p._o)(e,"background-color","colors.discovery.body.light.background")}; ${y.CM} { ${({theme:e})=>`\n ${(0,p.Gg)(e,"typography.definitions.discovery.subhed-section-primary")}\n ${(0,p._o)(e,"color","colors.discovery.body.white.heading")}\n `} } ${y.H$} { ${({theme:e})=>`\n ${(0,p.Gg)(e,"typography.definitions.discovery.subhed-section-collection")}\n ${(0,p._o)(e,"color","colors.discovery.body.white.heading")}\n `} } ${y.H$}:has(~ ${y.Rh}) { ${(0,p.H4)(g.LO.sm)} { margin-bottom: ${(0,p.Kq)(1)}; } ${(0,p.H4)(g.LO.md)} { margin-top: ${(0,p.Kq)(1)}; } } ${(0,p.H4)(g.LO.md)} { ${y.Rh} { margin-top: 0; } } ${y.ep} { ${(0,p.H4)(g.LO.md)} { > ${h.E}:first-child { grid-column: 1 / 8; } > ${h.E}:nth-child(2) { grid-column: 8 / -1; } } ${(0,p.H4)(g.LO.xl)} { > ${h.E}:first-child { grid-column: 2 / 8; } max-width: ${(0,p.Kq)(118.75)}; } } ${b.Em} { img { aspect-ratio: 3/4; } } ${(0,p.L7)(`${f.VS.md}px`)} { ${y.yO} { padding-top: ${(0,p.Kq)(4)}; ${b.Em} { width: ${(0,p.Kq)(20.5)}; } } ${y.CM} { margin-top: 0; margin-bottom: ${(0,p.Kq)(1)}; &:empty { margin: 0; } } ${y.n3} { padding: 0; padding-bottom: ${(0,p.Kq)(3)}; max-width: fit-content; } ${y.TC} { margin-bottom: ${(0,p.Kq)(4)}; } ${y.Rh} { margin-bottom: ${(0,p.Kq)(3)}; } } ${(0,p.H4)(g.LO.xl)} { ${y.n3} { padding: ${(0,p.Kq)(5)} 0; max-width: ${(0,p.Kq)(37.5)}; } } } `;var C=n(53499),k=n(94587),x=n(80471),E=n(18117);const A=m.Ay.a.withConfig({displayName:"IssueMagazine"})` display: block; grid-column: span 2; cursor: pointer; ${b.Em} { transition: transform 200ms ease; overflow: visible; will-change: transform; ${({theme:e})=>(0,p._o)(e,"background-color","colors.discovery.body.light.background")}; ${(0,p.H4)(`${f.Vh.xxl}px`)} { &:hover, &:focus { position: relative; transform: translateY(-4px); z-index: 1; background-color: transparent; } } img { aspect-ratio: 3/4; } } ${E.B} { aspect-ratio: 3/4; overflow: visible; } ${(0,p.Xm)(`${f.Vh.lg}px`,`${f.VS.xl}px`)} { grid-column: span 3; } a { text-decoration: none; } `,S=m.Ay.div.withConfig({displayName:"IssueCaption"})` margin-top: ${(0,p.Kq)(1)}; text-align: center; ${(0,p.Gg)("typography.definitions.globalEditorial.context-secondary")} ${({theme:e})=>(0,p._o)(e,"color","colors.discovery.body.white.description")}; `;var L=n(14307),T=n(70632),N=n(73275);const H=m.Ay.div.withConfig({displayName:"IssueExplorerMagazineWrapper"})` display: flex; grid-column: 1 / -1; flex-direction: column; `,I=m.Ay.div.withConfig({displayName:"IssueExplorerYear"})` display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: ${(0,p.Kq)(3)}; padding-top: ${(0,p.Kq)(4)}; ${(0,p.Gg)("typography.definitions.discovery.hed-break-out")} ${(0,p.H4)(g.LO.lg)} { line-height: ${(0,p.Kq)(4)}; font-size: ${(0,p.Kq)(3.5)}; } ${(0,p.H4)(g.LO.xl)} { margin-bottom: ${(0,p.Kq)(4)}; line-height: ${(0,p.Kq)(5.825)}; font-size: ${(0,p.Kq)(5.25)}; } `,B=m.Ay.div.withConfig({displayName:"IssueMagazineList"})` display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); margin-bottom: ${(0,p.Kq)(10)}; row-gap: ${(0,p.Kq)(3)}; ${(0,p.H4)(g.LO.md)} { grid-template-columns: repeat(12, 1fr); } ${(0,p.H4)(g.LO.xl)} { grid-template-columns: repeat(8, 1fr); row-gap: ${(0,p.Kq)(4)}; } a { text-decoration: none; } `,O=m.Ay.div.withConfig({displayName:"LoadingSkeletonItem"})` display: flex; grid-column: span 2; flex-direction: column; align-items: center; gap: ${(0,p.Kq)(1)}; ${(0,p.Xm)(`${f.Vh.lg}px`,`${f.VS.xl}px`)} { grid-column: span 3; } `,_=m.i7` 0% { background-position: -${(0,p.Kq)(25)} 0; } 100% { background-position: calc(${(0,p.Kq)(25)} + 100%) 0; } `,K=m.Ay.div.withConfig({displayName:"LoadingBox"})` display: flex; position: relative; flex-shrink: 0; align-items: center; justify-content: center; border-radius: ${(0,p.Kq)(.25)}; overflow: hidden; svg { width: ${(0,p.Kq)(2)}; height: ${(0,p.Kq)(2)}; } ${({theme:e,loadingFailed:t})=>{const n=(0,p.HK)(e,"colors.discovery.body.light.background",{rgbOnly:!0});return t?(0,p._o)(e,"background-color","colors.discovery.body.light.background"):m.AH` animation: ${_} 1.5s infinite; background: linear-gradient( 90deg, rgba(${n}, 1) 25%, rgba(${n}, 0.7) 50%, rgba(${n}, 1) 75% ); background-size: ${(0,p.Kq)(25)} 100%; `}} `,P=(0,m.Ay)(K).withConfig({displayName:"LoadingCoverBox"})` width: 100%; aspect-ratio: 3/4; `,D=(0,m.Ay)(K).withConfig({displayName:"LoadingTitleBox"})` width: 50%; height: ${(0,p.Kq)(2)}; `,q=m.Ay.div.withConfig({displayName:"BrokenImageIcon"})` position: relative; width: ${(0,p.Kq)(4)}; height: ${(0,p.Kq)(4)}; /* Image frame */ &::before { position: absolute; top: 0; left: 0; opacity: 0.5; border: 2px solid currentColor; border-radius: ${(0,p.Kq)(.25)}; width: 100%; height: 100%; content: ''; } /* Diagonal crack line 1 */ &::after { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg); opacity: 0.5; background-color: currentColor; width: 70%; height: 2px; content: ''; } /* Mountain/landscape icon inside frame */ span { position: absolute; top: 50%; left: 20%; transform: translateY(-20%); opacity: 0.3; border-right: ${(0,p.Kq)(.5)} solid transparent; border-bottom: ${(0,p.Kq)(.75)} solid currentColor; border-left: ${(0,p.Kq)(.5)} solid transparent; width: 0; height: 0; /* Second mountain peak */ &::before { position: absolute; top: ${(0,p.Kq)(.5)}; left: ${(0,p.Kq)(.75)}; border-right: ${(0,p.Kq)(.375)} solid transparent; border-bottom: ${(0,p.Kq)(.625)} solid currentColor; border-left: ${(0,p.Kq)(.375)} solid transparent; width: 0; height: 0; content: ''; } } `,M=m.Ay.div.withConfig({displayName:"YearSection"})` /* Wrapper for year heading and magazine list */ display: flex; flex-direction: column; padding-right: calc(1 * var(--grid-margin)); padding-left: calc(1 * var(--grid-margin)); ${(0,p.H4)(g.LO.xl)} { padding-right: ${(0,p.Kq)(14)}; padding-left: ${(0,p.Kq)(14)}; } `,R=({item:e,index:t,snowplowBatch:n,totalIndex:i})=>{const a=(e,t,n,o)=>{e.preventDefault(),t.url&&((0,L.kg)({type:"click",subject:"issues_card",label:t.dangerousHed,items:[{content_id:t.id,content_title:t.dangerousHed,content_type:t.contentType||"",content_url:new URL(t.url,window.location.origin).href}],index:n,total_index:o,placement:"list"}),e.ctrlKey||e.metaKey?window.open(t.url,"_blank"):window.location.href=t.url)},r=(0,T.A)(()=>{})||"desktop",{ref:s,entry:l}=(0,x.Wx)({threshold:.1,triggerOnce:!0,trackVisibility:!0,delay:100});o.useEffect(()=>{if(!l?.isIntersecting)return;n.current=[...n.current,{content_id:e.id,content_title:e.dangerousHed,content_type:e.contentType||"",content_url:new URL(e.url,window.location.origin).href}],(t+1)%("mobile"===r?2:4)==0&&((0,L.kg)({type:"impression",subject:"issues_card",items:n.current,placement:"list"}),n.current=[])},[l,e.url,e.dangerousDek,e.dangerousHed,t,n,r,e.contentType,e.id]);return o.createElement(A,{ref:s,key:e.id,href:e.url,onClick:n=>a(n,e,t,i)},o.createElement(o.Fragment,null,(d=e.image)&&(d.sources||d.segmentedSources)?o.createElement(N.A,{...d}):o.createElement(O,{key:t},o.createElement(P,{loadingFailed:!0},o.createElement(q,null,o.createElement("span",null)))),o.createElement(S,{tabIndex:0,onKeyDown:n=>{"Enter"!==n.key&&" "!==n.key||a(n,e,t,i)},dangerouslySetInnerHTML:{__html:e.dangerousHed}})));var d};var F=n(80046);const U=({loadingFailed:e=!1})=>{const t=Array.from({length:28},(t,n)=>o.createElement(O,{key:n},o.createElement(P,{loadingFailed:e},e&&o.createElement(F.A,null)),o.createElement(D,{loadingFailed:e})));return o.createElement(o.Fragment,null,t)};var V=n(19607),G=n(38080),W=n(5303),j=n(27985),z=n(77630);const Y=m.AH` border-bottom: 1px solid ${(0,p.HK)("colors.discovery.body.white.divider")}; `,X=m.Ay.div.withConfig({displayName:"YearNavigationStickyWrapper"})` position: sticky; top: ${j.TX}; height: ${(0,p.Kq)(6)}; background-color: ${(0,p.HK)("colors.interactive.base.white")}; z-index: ${g.KV.navFixed}; transform: translateZ(0); will-change: transform; ${Y} grid-column: 1 / -1; ${(0,p.H4)(g.LO.lg)} { height: ${(0,p.Kq)(8)}; background-color: ${(0,p.HK)("colors.interactive.base.white")}; top: ${j.S4}; transition: top 0.2s ease-out; } `,Z=m.Ay.nav.withConfig({displayName:"YearNavigationWrapper"})` display: flex; align-items: center; /* Mobile: no left margin so items scroll flush to edge */ width: 100%; margin-left: 0; margin-right: 0; /* XL and up: use the larger spacing (8) as before */ ${(0,p.H4)(g.LO.xl)} { width: calc(100% - ${(0,p.Kq)(28)}); margin-left: ${(0,p.Kq)(14)}; margin-right: ${(0,p.Kq)(14)}; } `,J=m.Ay.div.withConfig({displayName:"NavigationContainer"})` display: flex; flex: 1; gap: ${(0,p.Kq)(2)}; flex-direction: row; white-space: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; padding: 0; padding-left: ${(0,p.Kq)(3)}; padding-right: ${(0,p.Kq)(3)}; scroll-behavior: smooth; min-width: 0; /* Touch scrolling controls for mobile devices */ touch-action: pan-x; -webkit-overflow-scrolling: touch; height: ${(0,p.Kq)(6)}; list-style: none; /* Remove default list styling */ margin: 0; /* Remove default margin */ ${(0,p.H4)(g.LO.md)} { padding-left: ${(0,p.Kq)(6)}; padding-right: ${(0,p.Kq)(6)}; } ${(0,p.H4)(g.LO.lg)} { height: ${(0,p.Kq)(8)}; } ${(0,p.H4)(g.LO.xl)} { padding-left: 0; padding-right: 0; } &::-webkit-scrollbar { display: none; } `,Q=m.Ay.button.withConfig({displayName:"YearItem"})` display: flex; flex-direction: column; justify-content: center; height: ${(0,p.Kq)(6)}; background: none; border: none; padding: 2px 0 0 0; font-family: Graphik, sans-serif; ${({isLarge:e})=>`\n font-size: ${e?(0,p.Kq)(3):(0,p.Kq)(1.875)};\n line-height: ${e?(0,p.Kq)(3.375):(0,p.Kq)(2.125)};\n `} cursor: pointer; white-space: nowrap; position: relative; transition: color 0.2s ease; flex-shrink: 0; /* Prevent items from shrinking */ color: inherit; /* Ensure proper color inheritance */ ${(0,p.H4)(g.LO.lg)} { height: ${(0,p.Kq)(8)}; } text-decoration: none; /* Remove default button underline */ &:hover { text-decoration: none; &::after { transform: scaleX(1); } } font-weight: ${e=>e.isActive?600:400}; &:focus { text-decoration: none; font-weight: 600; outline: none; } &::after { content: ''; position: absolute; bottom: 1px; left: 0; right: 0; height: 2px; background-color: ${(0,p.HK)("colors.interactive.base.black")}; transform: ${e=>e.isActive?"scaleX(1)":"scaleX(0)"}; } &:last-child { ${(0,p.H4)(g.LO.xl)} { padding-right: 0; } } `,ee=m.Ay.div.withConfig({displayName:"NavigationButtonContainer"})` display: flex; align-items: center; justify-content: space-between; position: relative; flex-shrink: 0; z-index: 10; height: 100%; bottom: 0; /* Hide on mobile */ display: none; /* Show on desktop only when isVisible is true */ ${(0,p.H4)(g.LO.xl)} { display: ${({isVisible:e})=>e?"flex":"none"}; } `,te=(0,m.Ay)(ee).withConfig({displayName:"LeftNavigationButton"})` background: linear-gradient(244deg, rgba(255, 255, 255, 0) 0%, #fff 39%); position: absolute; left: ${(0,p.Kq)(14)}; padding: 0 ${(0,p.Kq)(4)} 0 0; `,ne=(0,m.Ay)(ee).withConfig({displayName:"RightNavigationButton"})` background: linear-gradient(270deg, #fff 73.36%, rgba(255, 255, 255, 0) 100%); position: absolute; right: ${(0,p.Kq)(14)}; padding: 0 0 0 ${(0,p.Kq)(4)}; `,oe=m.Ay.button.withConfig({displayName:"YearNavigationButton"})` border: none; padding: ${(0,p.Kq)(1)}; width: ${(0,p.Kq)(5)}; height: ${(0,p.Kq)(5)}; background: transparent; cursor: pointer; svg { width: ${(0,p.Kq)(2)}; height: ${(0,p.Kq)(2)}; fill: ${(0,p.HK)("colors.interactive.base.black")}; vertical-align: text-top; } &:hover { border-radius: 50%; background-color: ${(0,p.HK)("colors.interactive.base.light")}; } `,ie=m.DU` ${({isYearNavSticky:e})=>e?m.AH` ${z.xQ} { &&& { ${(0,p.H4)(g.LO.sm)} { box-shadow: none; } } } ${z.qQ} { &&& { ${(0,p.H4)(g.LO.lg)} { height: ${j.S4}; } } } ${z.mS} { &&& { ${(0,p.H4)(g.LO.lg)} { display: none; } } } `:""} `;var ae=n(87986),re=n(39733),se=n(72362),le=n(40510);const de=1925,ce=({onYearSelect:e,activeYear:t,enableAutoScroll:n=!1})=>{const i=(()=>{const e=[];for(let t=(new Date).getFullYear();t>=de;t--)e.push(t);return e})(),a={subject:"issues_year",total_index:i.length},r=(0,o.useRef)(null),s=(0,o.useRef)(null),[l,d]=(0,o.useState)(!1),[c,m]=(0,o.useState)(!1),[u,p]=(0,x.Wx)(),[g,h]=(0,x.Wx)();(0,o.useEffect)(()=>{d(!0)},[]),(0,o.useEffect)(()=>{if(!s.current||!l)return;const e=()=>{if(!s.current)return!1;const e=s.current.getBoundingClientRect(),t=(0,se.Zm)()?j.S4:j.TX,n=parseInt(t,10);return Math.abs(e.top-n)<=2&&e.top>=0};let t=null,n=null,o=null,i=null;const a=()=>{const n=e();i!==n&&(m(n),i=n,n||(t&&clearTimeout(t),t=setTimeout(()=>{le._.clearCache(),(0,le._)()},500)))};return n=()=>{null!==o&&cancelAnimationFrame(o),o=requestAnimationFrame(a)},a(),window.addEventListener("scroll",n,{passive:!0}),()=>{n&&window.removeEventListener("scroll",n),t&&clearTimeout(t),null!==o&&cancelAnimationFrame(o)}},[l]);const y=l&&!p,b=l&&!h;return(0,o.useEffect)(()=>{if(r.current&&l&&n){const e=r.current.querySelector(`[data-year="${t}"]`);if(e instanceof HTMLElement){const t=r.current,n=t.getBoundingClientRect(),o=e.getBoundingClientRect();if(!(o.left>=n.left&&o.right<=n.right)){const n=e.offsetLeft+e.offsetWidth/2-window.innerWidth/2;t.scrollTo({left:n,behavior:"smooth"})}}}},[t,l,n]),o.createElement(X,{ref:s},o.createElement(Z,{role:"navigation","aria-label":"Year navigation"},o.createElement(te,{isVisible:l&&y},o.createElement(oe,{onClick:()=>{if(r.current){r.current.scrollBy({left:-r.current.clientWidth/2,behavior:"smooth"});const e={type:"back",...a};(0,L.kg)(e)}},"aria-label":"Scroll to previous years",type:"button"},o.createElement(ae.A,null))),o.createElement(J,{ref:r,role:"list","aria-label":"Available years"},i.map((n,r)=>o.createElement(Q,{key:n,ref:0===r?u:r===i.length-1?g:void 0,"data-year":n,isActive:t===n,onClick:()=>((t,n)=>{const o={type:"click",label:String(t),index:n,...a};(0,L.kg)(o),e(t)})(n,r),isLarge:n%10==0,role:"listitem","aria-current":t===n?"true":"false","aria-label":`Select year ${n}`,type:"button"},n))),o.createElement(ne,{isVisible:l&&b},o.createElement(oe,{onClick:()=>{if(r.current){r.current.scrollBy({left:r.current.clientWidth/2,behavior:"smooth"});const e={type:"forward",...a};(0,L.kg)(e)}},"aria-label":"Scroll to next years",type:"button"},o.createElement(re.A,null)))),o.createElement(ie,{isYearNavSticky:c}))},me=o.memo(()=>o.createElement(G.Z,{group:"ads"},o.createElement(V.A,{position:"mid-content",shouldHoldSpace:!0,shouldDisplayLabel:!0}))),ue=({magazineData:e,scrollToYear:t,onYearVisible:n})=>{(0,W.q)();o.useEffect(()=>{t&&requestAnimationFrame(()=>{const e=document.querySelector(`[data-year-section="${t}"]`);if(e){const t=-100,n=e.getBoundingClientRect().top+window.pageYOffset+t;window.scrollTo({top:n,behavior:"auto"})}})},[t]);const i=o.useRef([]),a=o.useRef(null),r=o.useRef(n);o.useEffect(()=>{r.current=n},[n]),o.useEffect(()=>{if(!r.current)return;a.current||(a.current=new IntersectionObserver(e=>{const t=e.filter(e=>e.isIntersecting);if(0===t.length)return;let n=t[0],o=n.boundingClientRect.top;for(let e=1;ea.current?.observe(e)),()=>{e.forEach(e=>a.current?.unobserve(e))}},[e]),o.useEffect(()=>()=>{a.current&&(a.current.disconnect(),a.current=null)},[]);return o.createElement(H,null,e.map((e,t)=>0===e.items.length&&"loading"!==e.state&&"failed"!==e.state?null:o.createElement(o.Fragment,{key:t},o.createElement(M,{"data-year-section":e.year},o.createElement(I,null,e.year),o.createElement(B,null,((e,t)=>"loading"===e.state||"failed"===e.state?o.createElement(U,{key:t,loadingFailed:"failed"===e.state}):o.createElement(o.Fragment,null,e.items.map((t,n)=>o.createElement(R,{key:t.id,item:t,index:n,totalIndex:e.items.length,snowplowBatch:i}))))(e,t))),e.year!==de.toString()&&o.createElement(me,null))))};const pe=(0,n(72267).defineMessages)({issueFeatureLabel:{id:"LatestIssue.ButtonLabel",defaultMessage:"Explore the issue",description:"Explore the issue",isConfigurable:!0},IssueExplorerHeading:{id:"IssueExplorer.IssueExplorerHeading",defaultMessage:"The Magazine",description:"Heading for Issue Explorer Page",isConfigurable:!0}}),ge=async e=>{const t=new URLSearchParams({format:"json",filter:`issueexplorer;date=${e}`}),n=await fetch(`./archive?${t.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!n.ok)throw new Error(`Verso failed fetching issue explorer data for date: ${e}.\n Url: ${n.url}\n Returned status code: ${n.status}`);const o=await n.json();if(o.issueExplorer&&"object"==typeof o.issueExplorer&&Array.isArray(o.issueExplorer.items))return o.issueExplorer;throw new Error(`Unexpected error. Verso failed fetching issue explorer data for date: ${e}. No error content returned.`)},he=k.A,ye=({issues:e})=>{(0,o.useEffect)(()=>{window.Kendra.TRACK_COMPONENT.broadcast(C.G.RENDER,{name:"IssueExplorer"})},[]);const{formatMessage:t}=(0,s.A)(),[n,i]=(0,o.useState)([{...e,state:"ready"}]),[a,r]=(0,o.useState)(Number(e.year)),[l,m]=(0,o.useState)(null),[u,p]=(0,o.useState)(!1),g=(0,o.useRef)(n);o.useEffect(()=>{g.current=n},[n]),(0,o.useEffect)(()=>{if(l){const e=setTimeout(()=>{m(null)},100);return()=>clearTimeout(e)}},[l]);const h=n.find(e=>e.year===(new Date).getFullYear().toString())?.latestIssue,y=t(pe.issueFeatureLabel),b=(0,o.useCallback)(e=>!g.current.find(t=>t.year===e.toString()),[]),f=(0,o.useCallback)(e=>{i(t=>[...t,...e.map(e=>({year:e.toString(),state:"loading",items:[],latestIssue:null}))].sort((e,t)=>Number(t.year)-Number(e.year)))},[]),w=(0,o.useCallback)((e,t,n)=>{i(o=>o.map(o=>o.year===e.toString()?{...t,state:n}:o))},[]),k=(0,o.useCallback)((e,t)=>{i(n=>n.map(n=>{const o=e.indexOf(Number(n.year));if(-1===o)return n;const i=t[o];return"fulfilled"===i.status?{...i.value,state:"ready"}:{...n,state:"failed"}}))},[]),x=(0,o.useCallback)(e=>{i(t=>t.filter(t=>Number(t.year)===e))},[]),E=(0,o.useCallback)(async(e,t)=>{if("click"===t){if(x(e),!b(e))return r(e),void m(e);f([e]),r(e),m(e);try{const t=await ge(e.toString());w(e,t,"ready")}catch(t){w(e,{year:e.toString(),items:[],latestIssue:null},"failed")}}else{r(e);const t=[];for(let n=1;n<=2;n++){const o=e-n;o>=de&&b(o)&&t.push(o)}if(0===t.length)return;f(t);const n=await Promise.allSettled(t.map(e=>ge(e.toString())));k(t,n)}},[b,x,f,w,k]),A=(0,o.useRef)(d()(E,500,{leading:!0,trailing:!0})).current;(0,o.useEffect)(()=>()=>{A.cancel()},[A]),(0,o.useEffect)(()=>{if(!u&&n.length>0&&"ready"===n[0].state){const e=n[0],t=e.items.length>0;if(p(!0),!t){const t=Number(e.year)-1;if(t>=de){(async()=>{f([t]);try{const e=await ge(t.toString());w(t,e,"ready")}catch(e){w(t,{year:t.toString(),items:[],latestIssue:null},"failed")}})()}}}},[n,u,f,w]);const S=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(!h||!S.current)return;const e=(new Date).getFullYear(),t=h.dangerousDek?(()=>{const t=new Date(h.dangerousDek).getFullYear();return isNaN(t)?e:t})():e,n=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&e.intersectionRatio>=1&&r(t)})},{threshold:1,rootMargin:"0px"});return n.observe(S.current),()=>{n.disconnect()}},[h]),o.createElement(v,null,o.createElement(he,{hed:t(pe.IssueExplorerHeading),shouldDecorateHeader:!1}),o.createElement(ce,{onYearSelect:e=>{A(e,"click")},activeYear:a,enableAutoScroll:!0,fullViewportWidth:!0}),h&&o.createElement($,{ref:S},o.createElement(c.A,{shouldUseButtonAsLink:!0,hideItemHed:!1,hideSourceHed:!0,btnStyle:"filled",buttonVariation:"Utility",issueFeatureLabel:y,showImageCaption:!1,shouldShowPromoDek:!0,shouldUseMagazineLinkFromBundleItem:!0,items:[h],subject:"issues_card_latest"})),o.createElement(ue,{magazineData:n,scrollToYear:l,onYearVisible:e=>{A(e,"scroll")}}))};ye.displayName="IssueExplorer",ye.propTypes={issues:a().object};const be=(0,r.Ng)(e=>({issues:e.issueExplorer}))(ye)},3464:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(49235),l=n(86659),d=n(97504),c=n(91470),m=n(24695);const u={standard:d.Ay,thin:c.default,thinner:m.default},p=(e,t="standard")=>{if(!e)return null;const n=u[t][e];return n||null};var g=n(61670),h=n(53499);const y=({hierarchy:e,shouldRemoveBackgroundColor:t=!1,theme:n="standard",shouldUseContentHeaderColorForLink:o,separatorIcon:i={name:"ChevronRight",type:"standard"},hasMinimalVerticalSpacing:a=!1,className:d})=>(r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(h.G.RENDER,{name:"BreadcrumbTrail"})},[]),r.createElement(s.A,{palette:n},r.createElement(g.j0,{"data-testid":"BreadcrumbTrail",shouldRemoveBackgroundColor:t,hasMinimalVerticalSpacing:a,className:d},e&&e.length>0&&r.createElement(l.A.WithMargins,null,r.createElement(g.mO,null,e.map((e,t)=>{const{name:n,slug:a}=e||{};return r.createElement(g.dx,{key:t,shouldUseContentHeaderColorForLink:o},a?r.createElement("a",{className:"breadCrumbLink",href:a},n):r.createElement("span",null,n),(e=>{const{name:t,type:n}=e,o=p(t,n)||p("ChevronRight","standard");return r.createElement(o,{width:"1rem",height:"1rem"})})(i))}))))));y.displayName="BreadcrumbTrail",y.propTypes={className:a().string,hasMinimalVerticalSpacing:a().bool,hierarchy:a().array.isRequired,separatorIcon:a().shape({name:a().string,type:a().oneOf(["standard","thin","thinner"])}),shouldRemoveBackgroundColor:a().bool,shouldUseContentHeaderColorForLink:a().bool,theme:a().string};const b=y,f=(0,o.y)(b,"BreadcrumbTrail")},3624:(e,t,n)=>{n.d(t,{N:()=>a,U:()=>o});var o,i=n(53836);!function(e){e.EXPERIMENTS_ASSIGNMENTS_PROCESSED="experiments.assignments.processed"}(o||(o={}));class a extends i.J{constructor(){super(2)}}},4081:(e,t,n)=>{n.d(t,{B3:()=>k,S6:()=>x,UU:()=>A,dW:()=>b,do:()=>S,fu:()=>E,qX:()=>C,vY:()=>v});var o=n(38267),i=n(76955),a=n(52813),r=n(66657),s=n(96472),l=n(19607),d=n(86659),c=n(40653),m=n(26865),u=n(16800),p=n(66228),g=n(89085),h=n(67275),y=n(75163);const b=(0,o.Ay)(r.A).withConfig({displayName:"BasePageSiteFooterRow"})` background-color: ${(0,m.HK)("colors.foundation.footer.bg")}; ${({noFooterMargin:e})=>e&&"margin-top: 0;"} ${({hasMargins:e,hasConsistentSpacing:t,noFooterMargin:n,theme:o})=>e&&!n?t&&"0px"!==(0,u.F)(o,"padding-top-md")?`margin-top: ${(0,m.Kq)(0)};`:`margin-top: ${(0,m.Kq)(6)};`:""} `,f=`\n .standardnavigation-site-navigation[class*='link-banner'] & {\n &.page {\n .grid-layout__aside {\n .sticky-box {\n @media (min-width: ${s.LO.md}) {\n top: ${(0,m.Kq)(20)};\n }\n }\n }\n\n .ad-stickymidcontent {\n .ad.ad--mid-content {\n @media (max-width: ${s.LO.md}) {\n top: ${(0,m.Kq)(15.7,"px")};\n }\n }\n }\n }\n &.page-prioritize-series-pagination {\n padding-top: ${(0,m.Kq)(7)};\n }\n }\n`,w=`\n .fixed-header-logo-with-search-bar-nav-variation & {\n .ad-stickymidcontent {\n .ad.ad--mid-content {\n @media (max-width: ${s.LO.md}) {\n top: ${(0,m.Kq)(15.5,"px")};\n }\n }\n }\n\n &.homepage {\n .sticky-box {\n top: ${(0,m.Kq)(20)};\n }\n }\n\n .grid-layout__aside {\n .sticky-box {\n @media (min-width: ${s.LO.md}) {\n top: ${(0,m.Kq)(17)};\n }\n }\n }\n }\n`,$=o.AH` @media print { .${s.h2} { display: none; } } `,v=o.Ay.div.withConfig({displayName:"BasePageMainContent"})` ${(0,g.createMultipackageContainerStyles)(h.Lz)} ${h.Lz} { ${({hasConsistentSpacing:e,theme:t})=>{const n=(0,u.F)(t,"gap-md");return e&&"0px"!==n?`gap: ${n};\n margin-bottom: ${(0,u.F)(t,"padding-bottom-md")};`:null}} @media (max-width: ${s.LO.md}) { ${({hasConsistentSpacing:e,theme:t})=>{const n=(0,u.F)(t,"gap-sm");return e&&"0px"!==n?`gap: ${n};\n margin-bottom: ${(0,u.F)(t,"padding-bottom-sm")};`:null}} } } &:focus { outline: unset; } background: ${({isInverted:e,theme:t,showBackgroundGradientColor:n})=>e&&!n&&(0,m.HK)(t,"colors.consumption.lead.inverted.background")}; ${({hasTopStory:e})=>!e&&o.AH` ${p.gg} { margin: 16px auto; } `} ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`\n padding-top: ${(0,u.F)(t,"padding-top-md")};\n padding-bottom: ${(0,u.F)(t,"padding-bottom-md")};\n @media (max-width: ${s.LO.md}) {\n padding-top: ${(0,u.F)(t,"padding-top-sm")};\n padding-bottom: ${(0,u.F)(t,"padding-bottom-sm")};\n `:null} /* Added this to remove margin-bottom at RowWrapper at Ad Footer just before Page footer on pages with consistent spacing */ [class*='RowWrapper-']:has(> .ad--footer) { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?"margin-bottom: 0px;":""} } /* Added this to add a margin bottom to ContentFooterWrapper on pages with consistent spacing */ [class*='ContentFooterWrapper-'] { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`\n margin-bottom: ${(0,u.F)(t,"gap-md")};\n @media (max-width: ${s.LO.md}) {\n margin-bottom: ${(0,u.F)(t,"gap-sm")};\n }\n `:""} } /* Added this to remove the extra padding from top and bottom from Section Header in a Curated Show */ [class*='RowWrapper-'] [data-testid='CuratedShowsSection'] [class*='CuratedShowsSectionTitle-'] { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?"\n padding-top: 0;\n padding-bottom: 0;\n ":""} } &&&&& { figure.asset-embed { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`\n margin: 0px auto;\n\n ${(0,m.L7)(`calc(${s.LO.md} - 1px)`)} {\n margin: 16px auto;\n }\n `:null} } } `;v.defaultProps={as:"main"};const C=o.Ay.div.withConfig({displayName:"BasePageWrapper"})` [class*='SectionHeaderWrapper-'] + [class*='MultiPackageContainer-'], [class*='BundleHeaderWrapper-'] + [class*='MultiPackageContainer-'] { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`margin-top: ${(0,u.F)(t,"padding-top-md")};\n \n @media (max-width: ${s.LO.md}) {\n margin-top: ${(0,u.F)(t,"padding-top-sm")};\n }\n `:null} } [class*='SectionHeaderWrapper-'] + [class*='NavWrapper-'], [class*='SectionHeaderWrapper-'] + * + [class*='NavWrapper-'] { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`margin-top: 24px;\n margin-bottom: ${(0,u.F)(t,"padding-bottom-md")};\n @media (max-width: ${s.LO.md}) {\n margin-top: 12px;\n margin-bottom: ${(0,u.F)(t,"padding-bottom-sm")};\n }`:null} } && { .fixed-header-nav-variation & { .grid-layout__aside { .sticky-box { @media (min-width: ${s.LO.md}) { top: ${(0,m.Kq)(15)}; } } } } ${({hasExtraMarginForHeader:e})=>e&&`\n padding-top: ${(0,m.Kq)(13)};\n \n ${(0,m.H4)(s.LO.lg)} {\n padding-top: ${(0,m.Kq)(26)};\n }\n `} .fixed-header-with-link-banner-nav-variation & { padding-top: ${(0,m.Kq)(14)}; ${(0,m.H4)(s.LO.lg)} { padding-top: ${({isVisualLinkBanner:e})=>!e&&(0,m.Kq)(15.5)}; } } .fixed-header-with-link-banner-nav-variation &, .fixed-header-large-logo-nav-variation & { .grid-layout__aside { .sticky-box { @media (min-width: ${s.LO.md}) { top: ${({shouldBeStickyVideo:e})=>e?(0,m.Kq)(36):(0,m.Kq)(19)}; } } } } ${f} .logo-center-with-search-bar-nav-variation & { &.page { padding-top: ${(0,m.Kq)(15.5)}; @media (min-width: ${s.LO.lg}) { padding-top: ${(0,m.Kq)(7,"px")}; } } } ${w} .table-container.has-bottom-margin { margin: ${(0,m.Kq)(3)} 0; } .table-container { position: relative; margin-top: ${(0,m.Kq)(3)}; margin-bottom: 0; border: 1px solid ${(0,m.HK)("colors.consumption.body.standard.divider")}; border-radius: 4px; width: 100%; overflow: hidden; .has-shadow::after { position: absolute; top: 0; left: 100%; box-shadow: -15px 0 10px rgba(0, 0, 0, 0.05); width: ${(0,m.Kq)(6.25)}; height: 100%; content: ''; } > div { overflow-x: auto; } > div::-webkit-scrollbar { border-radius: ${(0,m.Kq)(6.25)}; height: 3px; } > div::-webkit-scrollbar-thumb { background-color: black; } > div::-webkit-scrollbar-track { background: rgba(236, 236, 236, 0.5); } .simple-table { width: 100%; border-collapse: unset; thead th, tbody td { padding: ${(0,m.Kq)(2)}; min-width: ${(0,m.Kq)(18.75)}; max-width: ${(0,m.Kq)(25)}; text-align: left; color: ${(0,m.HK)("colors.interactive.base.body")}; ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.utility.body")}; font-size: ${(0,m.Kq)(1.75)}; } thead th { border: none; border-bottom: 1px solid ${(0,m.HK)("colors.consumption.body.standard.divider")}; background-color: ${(0,m.HK)("colors.interactive.base.highlight")}; font-weight: bold; } tbody td { border: none; border-bottom: 1px solid ${(0,m.HK)("colors.consumption.body.standard.divider")}; background: #ffffff; } tbody tr:last-child td { border-bottom: none; } } } .scroll-arrows { display: none; } @media only screen and (min-width: 768px) { .scroll-arrows { display: flex; justify-content: flex-end; margin-bottom: ${(0,m.Kq)(3)}; button { margin: 0 ${(0,m.Kq)(1)}; background: none; } button[disabled] { opacity: 0.2; pointer-events: none; } .chevron::before { display: inline-block; position: relative; top: 0.8em; left: 0.1em; transform: rotate(-135deg); border-width: 2px 2px 0 0; border-style: solid; width: ${(0,m.Kq)(1)}; height: ${(0,m.Kq)(1)}; vertical-align: top; content: ''; } .chevron.right::before { left: 0; transform: rotate(45deg); } } } } ${({hasContentHeaderLogo:e})=>e&&"\n padding-top: 0px!important;\n "} ${({isNavigationHidden:e})=>e?"&&&, &&&.homepage { padding-top: 0; }":""} ${$} [data-testid="RowWrapper"] > .consumer-marketing-unit > .journey-unit:not(:empty) { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`padding-bottom: ${(0,u.F)(t,"gap-md")};`:""} } [data-testid='RowWrapper'] > .journey-unit__container { ${({hasConsistentSpacing:e,hasFooterMargins:t,theme:n})=>!t||e&&"0px"!==(0,u.F)(n,"gap-md")?`padding-bottom: ${(0,m.Kq)(6)};`:""} } `,k=o.Ay.div.withConfig({displayName:"BasePageNavigationBackgroundFiller"})` display: ${({isNavigationHidden:e})=>e?"none":"block"}; position: absolute; top: 0; background: var(${y.pT.Color.Surface}); width: 100%; height: 0; .fixed-header-nav-variation & { @media (min-width: ${s.LO.lg}) { height: ${(0,m.Kq)(14,"px")}; } } @media print { display: none; } `,x=(0,o.Ay)(i.sH).withConfig({displayName:"BasePageSkipLink"})` ${a.YE} &:hover, &:focus { position: fixed; z-index: ${(0,m.fl)("skipLink")}; background-color: white; color: black; } `,E=o.Ay.div.withConfig({displayName:"BasePageMainFooterFiller"})``,A=(0,o.Ay)(l.A).withConfig({displayName:"BasePageAd"})` position: absolute; z-index: -1; `,S=(0,o.Ay)(d.A.WithMargins).withConfig({displayName:"BasePageSiteFooterRowGrid"})` ${c.E} { grid-column: 1 / -1; } `},4178:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(6442);const l=(0,n(72267).defineMessages)({defaultButtonText:{id:"ContentPromoEmbed.DefaultButtonText",defaultMessage:"Read More",description:"ContentPromoEmbed component default button text",isConfigurable:!0},galleryButtonText:{id:"ContentPromoEmbed.GalleryButtonText",defaultMessage:"View Slideshow",description:"ContentPromoEmbed component gallery button text",isConfigurable:!0}});var d=n(90090),c=n(73730),m=n(48286),u=n(53499),p=n(63665);const g=({analyticsEvent:e,btnStyle:t="filled",buttonVariation:n="UtilityInverted",contentType:o,contributors:i,dangerousHed:a,defaultButtonText:g,galleryButtonText:h,hasMobilePadding:y=!1,itemType:b="slide",maxHedLines:f=3,slides:w,target:$,tout:v,url:C})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"ContentPromoEmbed"})},[]);const{formatMessage:k}=(0,s.A)(),x=c.A[n],E="gallery"===o?h||k(l.galleryButtonText):g||k(l.defaultButtonText);return r.createElement(p.ZE,{"data-testid":"contentPromoEmbedWrapper",target:$,hasMobilePadding:y,href:C,onClick:()=>{e&&(0,d.W8)(e,{"gtm.elementUrl":C})}},r.createElement(p.__,{"data-testid":"contentPromoEmbedResponsiveAsset",altText:v.altText,contentType:v.contentType,segmentedSources:v.segmentedSources,sources:v.sources,hasNativeImgLazyLoading:!0}),r.createElement(p.Rx,{className:"content-promo-embed__text-container grid grid-margins"},r.createElement(p.Oi,null,a&&r.createElement(m.A,{lines:f},r.createElement(p.mn,{dangerouslySetInnerHTML:{__html:a}})),"gallery"===o&&!!w?.length&&r.createElement(p.bf,{count:w.length,itemType:b}),i&&r.createElement(p.ST,{"data-testid":"contentPromoEmbedByline",bylineVariation:"Inverted",contributors:i,shouldLink:!1}),r.createElement(p.h9,null,r.createElement(x,{inputKind:"text",label:E,btnStyle:t})))))};g.displayName="ContentPromoEmbed";const h=a().shape({height:a().number,width:a().number,url:a().string.isRequired});g.propTypes={analyticsEvent:a().string,btnStyle:a().string,buttonVariation:a().string,contentType:a().string,contributors:a().object,dangerousHed:a().string,defaultButtonText:a().string,galleryButtonText:a().string,hasMobilePadding:a().bool,itemType:a().string,maxHedLines:a().number,slides:a().array,target:a().string,tout:a().shape({altText:a().string,contentType:a().string,segmentedSources:a().shape({sm:a().arrayOf(h),lg:a().arrayOf(h)}),sources:a().object}).isRequired,url:a().string.isRequired};const y=g,b=(0,o.y)(y,"ContentPromoEmbed")},4665:(e,t,n)=>{n.d(t,{A:()=>g});var o=n(5556),i=n.n(o),a=n(96540),r=n(15531),s=n(53499),l=n(38267),d=n(35864),c=n(26865);const m=l.Ay.div.withConfig({displayName:"LiveStreamEmbedWrapper"})` margin: 0 auto; padding: 0 1.5rem; max-width: 720px; `;m.displayName="LiveStreamEmbedWrapper";const u=(0,l.Ay)(d.default.TextCenter).withConfig({displayName:"LiveStreamHed"})` margin-bottom: ${(0,c.Kq)(2)}; padding-top: ${(0,c.Kq)(6)}; `;u.displayName="LiveStreamHed";const p=({livestreamUrl:e,dangerousHed:t})=>(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"LiveStreamEmbed"})},[]),a.createElement(m,null,t&&a.createElement(u,{dangerousHed:t}),a.createElement(r.A,{url:e,shouldAllowFullScreen:!0,aspectRatio:"16:9",sandbox:"allow-scripts allow-same-origin",height:"100%",width:"100%",isLazyLoaded:!1})));p.propTypes={dangerousHed:i().string,livestreamUrl:i().string.isRequired};const g=p},4808:(e,t,n)=>{n.d(t,{A:()=>q});var o=n(96540),i=n(40961),a=n(59867),r=n(38267),s=n(11542),l=n(13465),d=n(31581),c=n(26865);const m=r.Ay.div.withConfig({displayName:"NotificationBannerBasePageTop"})` width: 100%; display: flex; justify-content: center; background: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.background-tertiary`)}; margin-top: 1rem; `,u=r.Ay.div.withConfig({displayName:"NotificationBannerInsideOneNavWrapper"})` width: 100%; display: flex; justify-content: center; background: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.oneNavTheme}.background-tertiary`)}; `,p=r.Ay.div.withConfig({displayName:"NotificationBannerBasePageTop"})` width: 100%; margin: 2em 0 0 0; display: flex; justify-content: center; background: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.background-tertiary`)}; `,g=r.Ay.div.withConfig({displayName:"NotificationBannerConnectedNavigationWrapper"})` width: 100%; display: flex; justify-content: center; background: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.background-tertiary`)}; `,h=r.Ay.div.withConfig({displayName:"NotificationBannerStandardNavigationWrapper"})` width: 100%; display: flex; justify-content: center; background: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.background-tertiary`)}; transition: opacity 0.2s ease; opacity: 1; &.hidden { opacity: 0; display: none; } `,y=r.Ay.div.withConfig({displayName:"NotificationBannerWrapper"})` background: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.background-tertiary`)}; ${(0,c.Gg)("typography.definitions.utility.legal-text")} padding: 1rem 1.5rem; position: relative; text-align: center; display: flex; gap: 1rem; `,b=r.Ay.div.withConfig({displayName:"NotificationBannerTextWrapper"})` text-align: left; margin-right: 0.25rem; vertical-align: center; color: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.item-primary`)}; a:link, a:visited, a:active { text-decoration: underline; color: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.item-primary`)}; } @media (min-width: 1024px) { text-align: center; margin-right: 1.25rem; } `,f=r.Ay.a.withConfig({displayName:"NotificationBannerLink"})` text-decoration: underline; font-weight: bold; color: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.item-primary`)}; `,w=r.Ay.div.withConfig({displayName:"NotificationBannerCloseIcon"})` flex: 0 0 auto; cursor: pointer; display: flex; align-items: center; svg { width: 16px; height: 16px; path { fill: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.item-primary`)}; } circle { stroke: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.notificationBannerTheme}.item-primary`)}; } } `,$=(0,r.Ay)(y).withConfig({displayName:"NotificationOneNavBannerWrapper"})` background: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.oneNavTheme}.background-tertiary`)}; `,v=(0,r.Ay)(b).withConfig({displayName:"NotificationOneNavBannerWrapper"})` color: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.oneNavTheme}.item-primary`)}; a:link, a:visited, a:active { text-decoration: underline; color: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.oneNavTheme}.item-primary`)}; } `,C=(0,r.Ay)(f).withConfig({displayName:"NotificationOneNavBannerWrapper"})` color: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.oneNavTheme}.item-primary`)}; `,k=(0,r.Ay)(w).withConfig({displayName:"NotificationOneNavBannerWrapper"})` svg { path { fill: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.oneNavTheme}.item-primary`)}; } circle { stroke: ${({theme:e})=>(0,c.HK)(`colors.navigation.${e.oneNavTheme}.item-primary`)}; } } `;var x=n(43481),E=n(80046),A=n(96756);const S=(0,n(60663).Y)(()=>window.localStorage),L="notification-banner";function T(e){return e?L+e:L}function N(e){const[t,n]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{n(function(e){const t=T(e),n=S.getItem(t);if(null==n)return!0;const o=JSON.parse(n);if(Date.now()function(e,t){const n=new Date;n.setFullYear(n.getFullYear(),11,31),n.setHours(23,59,59,999);const o={expiration:n.getTime()},i=T(t);S.setItem(i,JSON.stringify(o)),e(!1)}(t,e),"aria-label":"close notification banner"},o.createElement(E.A,null)))}function I(e){return o.createElement(H,{...e,Wrapper:y,TextWrapper:b,LinkComponent:f,CloseIconWrapper:w})}function B(e){return o.createElement(H,{...e,Wrapper:$,TextWrapper:v,LinkComponent:C,CloseIconWrapper:k})}function O({id:e,setIsBannerVisible:t,brandName:n}){return o.createElement(m,null,o.createElement(I,{id:e,setIsBannerVisible:t,brandName:n}))}function _({id:e,setIsBannerVisible:t,brandName:n}){return o.createElement(u,null,o.createElement(B,{id:e,setIsBannerVisible:t,brandName:n}))}function K({insertPosition:e,setIsBannerVisible:t,brandName:n,id:r}){const[s,l]=(0,o.useState)(null),d=(0,o.useRef)(null),c=(0,o.useRef)(0),m=(0,o.useRef)(null);return(0,o.useEffect)(()=>{const t=document.querySelector('[class^="StandardNavigationWrapper"]');if(null==t)return;const n=document.createElement("div");return n.classList.add("notificationBanner-portal"),t.insertAdjacentElement(e,n),l(n),()=>{n.remove()}},[e]),(0,o.useEffect)(()=>(m.current=window.Kendra.WINDOW_EVENT.on(a.m.SCROLL_DEBOUNCE,()=>{const e=d.current;if(!e)return;const t=window.pageYOffset||document.documentElement.scrollTop;t>c.current?e.classList.add("hidden"):e.classList.remove("hidden"),c.current=t<=0?0:t}),()=>{m.current&&m.current.off()}),[]),s?(0,i.createPortal)(o.createElement(h,{ref:d},o.createElement(I,{setIsBannerVisible:t,id:r,brandName:n})),s):null}function P({insertPosition:e,setIsBannerVisible:t,brandName:n,id:a}){const[r,s]=(0,o.useState)(null);return(0,o.useEffect)(()=>{const t=document.querySelector('[data-in-view=\'{"pattern":"ConnectedNavigation"}\']');if(null==t)return;const n=document.createElement("div");return n.classList.add("notificationBanner-portal"),t.insertAdjacentElement(e,n),s(n),()=>{n.remove()}},[e]),r?(0,i.createPortal)(o.createElement(g,null,o.createElement(I,{setIsBannerVisible:t,id:a,brandName:n})),r):null}function D({insertPosition:e,setIsBannerVisible:t,id:n,brandName:a,hostClassPrefix:r}){const[s,l]=(0,o.useState)(null);return(0,o.useEffect)(()=>{const t=`[class^="${r}"]`,n=document.querySelector(t);if(null==n)return;const o=document.createElement("div");return o.classList.add("notificationBanner-portal"),n.insertAdjacentElement(e,o),l(o),()=>{o.remove()}},[e,r]),s?(0,i.createPortal)(o.createElement(p,null,o.createElement(I,{setIsBannerVisible:t,id:n,brandName:a})),s):null}const q=(0,s.M3)((0,d.N)((0,l.y)(function({id:e,position:t,brandName:n,isOneNav:i,experimentFlags:a={},theme:s,fullPageTheme:l}){const{isBannerVisible:d,setIsBannerVisible:c}=N(e),m=[s,l].includes("inverted")?"inverted":"standard",u=a[`${n.toLowerCase()}-notice-banner`],p=u?.props?.experimentBannerPosition;let g=t;if("WIRED"===n&&p===x.R.ABOVE_NAV?g=x.R.ABOVE_STANDARD_NAV:"WIRED"===n&&p===x.R.BELOW_HERO_AD&&(g=x.R.BELOW_HERO_AD),g===x.R.INSIDE_ONE_NAV&&!i)return null;if(!d)return null;const h=function(e,t,n,i){switch(e){case x.R.BASE_PAGE_TOP:return()=>o.createElement(O,{id:i,setIsBannerVisible:t,brandName:n});case x.R.ABOVE_HERO_AD:return()=>o.createElement(D,{insertPosition:"beforebegin",setIsBannerVisible:t,id:i,brandName:n,hostClassPrefix:"StickyHeroAdWrapper"});case x.R.BELOW_HERO_AD:return()=>o.createElement(D,{insertPosition:"beforebegin",setIsBannerVisible:t,id:i,brandName:n,hostClassPrefix:"BasePageMainContent"});case x.R.BELOW_CONNECTED_NAV:return()=>o.createElement(P,{setIsBannerVisible:t,brandName:n,insertPosition:"beforeend",id:i});case x.R.ABOVE_CONNECTED_NAV:return()=>o.createElement(P,{setIsBannerVisible:t,brandName:n,insertPosition:"beforebegin",id:i});case x.R.INSIDE_ONE_NAV:return()=>o.createElement(_,{id:i,setIsBannerVisible:t,brandName:n});case x.R.ABOVE_STANDARD_NAV:return()=>o.createElement(K,{setIsBannerVisible:t,brandName:n,insertPosition:"beforebegin",id:i});case x.R.BELOW_STANDARD_NAV:return()=>o.createElement(K,{setIsBannerVisible:t,brandName:n,insertPosition:"afterend",id:i});case x.R.BELOW_ONE_NAV_HERO_AD:return()=>o.createElement(D,{insertPosition:"beforebegin",setIsBannerVisible:t,id:i,brandName:n,hostClassPrefix:"BasePageMainContent"});default:return()=>null}}(g,c,n,e);return o.createElement(A.t,null,o.createElement(r.NP,{theme:e=>({...e,notificationBannerTheme:m})},o.createElement(h,null)))},"NotificationBannerComponent")),{keysToPluck:["brandName"]})},5239:(e,t,n)=>{n.d(t,{Ck:()=>C,ID:()=>w,KW:()=>b,PJ:()=>x,hw:()=>E,hx:()=>f,kU:()=>v,nw:()=>$,zT:()=>k,zw:()=>y});var o=n(38267),i=n(1123),a=n(26865),r=n(99906),s=n(96472),l=n(73275),d=n(9372),c=n(20388),m=n(73730),u=n(38860),p=n(7228),g=n(75163);const h=`\n @media (min-width: ${s.LO.md}) {\n max-height: 1000px;\n }\n\n @media (min-width: 1440px) {\n max-height: 1200px;\n }\n`,y=(0,o.Ay)(l.A).withConfig({displayName:"ContentHeaderResponsiveAsset"})` width: 100%; // 1 ⬇. contain images to containers while preserving aspect ratios ${p.BF} { @supports (object-fit: contain) { object-fit: contain; object-position: center; } @media (min-width: ${s.LO.sm}) { width: 100%; } } @supports (object-fit: contain) { ${({mediaWidth:e})=>"smallrule"===e&&h} } ${p.BF}, .aspect-ratio--overlay-container { @supports (object-fit: contain) { ${({mediaWidth:e})=>"small"===e&&"\n @media (min-width: 1440px) {\n max-height: 1200px;\n }\n"} } .responsive-image { max-height: 900px; } ${({mediaWidth:e})=>"smallrule"===e&&h} } `,b=o.Ay.figure.withConfig({displayName:"ContentHeaderLeadAssetContent"})` position: relative; grid-column: 1 / -1; /* css-grid: span all columns. (start at column 1 / end at the last column) */ margin: 0 auto; width: 100%; `,f=(0,o.Ay)(c.A).withConfig({displayName:"ContentHeaderLeadAssetCaption"})` position: relative; z-index: 2; margin-top: 0; margin-bottom: ${(0,a.Kq)(2)}; width: 100%; justify-self: left; && { text-align: left; } ${({mediaWidth:e})=>"fullbleed"===e&&o.AH` @media (min-width: ${s.LO.sm}) { padding-right: ${(0,a.Kq)(3)}; padding-left: ${(0,a.Kq)(3)}; } `} @media (max-width: ${s.LO.sm}) { ${(0,i.aU)("padding")} } &, > * { padding-top: ${(0,a.Kq)(1)}; } > *:first-child { padding-top: 0; } a { transition: color ${s.L6.timingLinkDefault} ease; } ${u.eu} { margin-top: 0; ${({mediaWidth:e})=>"small"===e&&" &&{text-align: center;}"} } ${({mediaWidth:e})=>"small"===e&&"&&{text-align: center;}"} ${(0,a.L7)(`${r.VS.md}px`)} { ${({isLedeTextCenterForMobile:e})=>e&&o.AH` && { text-align: center; } `} } `,w=o.Ay.div.withConfig({displayName:"ContentHeaderLeadAssetContentMedia"})` position: relative; .cne-video-embed { margin: 0 auto; } &.lead-asset__content__clip { width: 100%; } ${({ledeContentType:e,mediaWidth:t,showFullWidthLeadImage:n})=>((e,t,n)=>"gallery"===e||"clip"===e?o.AH` margin-right: 0; margin-left: 0; color: var(${g.pT.Color.Surface}); @media (min-width: ${s.LO.sm}) and (max-width: ${s.LO.md}) { padding-right: ${(0,a.Kq)(3)}; padding-left: ${(0,a.Kq)(3)}; } ${"fullbleed"===t&&n&&`\n padding-right: 0;\n padding-left: 0;\n @media (min-width: ${s.LO.sm}) and (max-width: ${s.LO.md}) {\n padding-right: 0;\n padding-left: 0;\n }\n `}; `:"photo"===e?`\n ${"fullbleed"===t&&n&&`\n width: 100%;\n @media (min-width: ${s.LO.xl}) {\n max-height: 1800px;\n }\n `};\n ${"grid"===t&&`\n @media (min-width: ${s.LO.xl}) {\n max-height: 1200px;\n }\n `};\n `:"")(e,t,n)} `,$=o.Ay.div.withConfig({displayName:"ContentHeaderLeadAsset"})` position: relative; ${({mediaWidth:e})=>"fullbleed"!=e?"padding: var(--grid-margin) var(--grid-margin) 0 var(--grid-margin);":""} ${({ledeAssetOrientation:e,mediaWidth:t,ledeContentType:n})=>((e,t,n)=>"landscape"===e?`\n ${y} img {\n width: 100%;\n }\n ${"small"===t&&`\n @media (min-width: ${s.LO.lg}) {\n ${b} {\n grid-column: 1 / 9;\n }\n }\n `};\n\n ${"fullbleed"===t&&`\n && {\n padding-right: 0;\n padding-left: 0;\n ${b} {\n padding-right: 0;\n padding-left: 0;\n }\n }\n ${f} {\n ${(0,i.aU)("padding")}\n }\n @media (min-width: ${s.LO.md}) {\n ${w} {\n max-height: none;\n ${p.BF} {\n object-fit: cover;\n }\n }\n }\n `};\n \n ${"smallrule"===t&&`\n ${b} {\n @media (min-width: ${s.LO.lg}) {\n grid-column: 2 / 8;\n }\n }\n `};\n `:"portrait"===e?`\n ${y},\n ${y} ${p.BF} {\n @supports (object-fit: contain) {\n ${"small"===t&&`\n @media (min-width: ${s.LO.lg}) {\n max-height: 530px;\n }\n \n @media (min-width: ${s.LO.xl}) {\n max-height: 720px;\n }\n \n @media (min-width: 1440px) {\n max-height: 1200px;\n }\n `};\n }\n }\n \n // 2. css-grid: portrait images span 8 columns (start at column 3 / end at the third from last column)\n ${b} {\n @media (min-width: ${s.LO.lg}) {\n grid-column: 3 / -3; // 2\n padding-right: 0;\n padding-left: 0;\n }\n }\n \n ${"small"===t&&`\n @media (min-width: ${s.LO.lg}) {\n ${b} {\n grid-column: 1 / 9;\n }\n }\n `};\n \n ${"smallrule"===t&&`\n ${b} {\n @media (min-width: ${s.LO.lg}) {\n grid-column: 2 / 8;\n }\n }\n `};\n \n @media print {\n ${"photo"===n&&`max-height: ${(0,a.Kq)(69)};`};\n ${y} ${p.BF} {\n max-height: ${(0,a.Kq)(69)};\n }\n }\n `:"")(e,t,n)} `,v=(0,o.Ay)(m.A.Utility).withConfig({displayName:"ContentHeaderLedeLightboxButton"})` position: absolute; bottom: ${(0,a.Kq)(2)}; left: ${(0,a.Kq)(2)}; background: ${(0,a.HK)("colors.interactive.base.white")}; ${({shouldRenderCaption:e})=>e&&`bottom: ${(0,a.Kq)(7)};`} &:hover, :active, :focus { background: ${(0,a.HK)("colors.interactive.base.black")}; .button__icon-container { .icon { fill: ${(0,a.HK)("colors.interactive.base.brand-primary")}; } } } `,C=o.Ay.div.withConfig({displayName:"ContentHeaderLeadRailAnchor"})` position: absolute; top: 100%; margin-top: ${(0,a.Kq)(8)}; `,k=o.Ay.div.withConfig({displayName:"ContentHeaderLeadContentFullWidth"})` grid-column: full; background: var(${g.pT.Color.Surface}); padding: 0; `,x=o.Ay.figure.withConfig({displayName:"ContentHeaderLeadContentCaptionCredit"})` ${(0,i.aU)("padding")} display: grid; grid-gap: 1.25rem; grid-auto-rows: auto; grid-column: main; align-items: center; margin: 0 auto; max-width: 1600px; justify-items: center; @media (min-width: ${s.LO.sm}) { --grid-margin: ${(0,a.Kq)(3)}; } @media (min-width: ${s.LO.md}) { grid-template-columns: repeat(12, 1fr); } ${f} { grid-column: 2/-2; padding: 0; } `,E=(0,o.Ay)(d.A).withConfig({displayName:"ContentHeaderLeadAssetAwards"})` ${({hasStaticPositionedAward:e})=>!e&&`position: absolute;\n right: 0;\n z-index: 1;\n margin: ${(0,a.Kq)(2)};\n height: 100px;\n && {\n text-align: right;\n }\n box-sizing: border-box;\n `} `},5303:(e,t,n)=>{n.d(t,{q:()=>a});var o=n(96540),i=n(96472);const a=({initialValue:e=!1}={})=>(({breakpoint:e,initialValue:t=!1})=>{const[n,i]=(0,o.useState)(t);return(0,o.useEffect)(()=>{const t=window.matchMedia(`(min-width: ${e})`);i(t.matches);const n=e=>{i(e.matches)};return t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}},[e]),n})({breakpoint:i.LO.md,initialValue:e})},5344:(e,t,n)=>{n.d(t,{Ac:()=>l,_t:()=>m,f:()=>s,kd:()=>d,rM:()=>c,zA:()=>r.uM});var o=n(62193),i=n.n(o),a=(n(14307),n(25203)),r=(n(56892),n(96472));const s=(e,t=[])=>{const n=[],o={comparisonPrice:null,currency:"USD",price:null,purchaseUri:e,sellerName:"",shortUrl:""};return t.length>0?t.forEach(t=>{const o={comparisonPrice:"comparisonPrice"in t?t.comparisonPrice:null,currency:"currency"in t?t.currency:"USD",price:"price"in t?t.price:null,purchaseUri:"purchaseUri"in t&&t.purchaseUri.length>0?t.purchaseUri:e,sellerName:"sellerName"in t?t.sellerName:"",shortUrl:"shortUrl"in t?t.shortUrl:""};"offerUrl"in t&&(o.shortUrl=o.purchaseUri,o.purchaseUri=t.offerUrl);const i={...t,...o};i.price&&i.currency&&(i.currency=((e,t)=>{if("string"!=typeof e)return"";const n=e.trim().toUpperCase(),o=r.uM[n];let i="";return"string"==typeof t?i=t.trim():"number"==typeof t&&(i=String(t)),i&&o&&new RegExp(`^\\s*${a=o,"string"==typeof a?a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"):""}`).test(i)?"":n;var a})(i.currency,i.price.toString()));const{showAmazonDiscount:a}=(e=>{const t=(e?.toLowerCase()||"").includes("amazon");return{isAmazonSeller:t,showAmazonDiscount:t}})(i.sellerName);return i.showAmazonDiscount=a,n.push(i)}):n.push(o),n},l=({dropShipData:e,offer:t,type:n="embed"})=>{const{isDropshipProduct:o,dropShipSellers:r,data_item:s,contentId:l,showOfferUrl:d}=e,c=((e,t,n)=>"Dropship"!==e?.offerType&&(!t||!n?.length||n.some(t=>!e.purchaseUri?.toLowerCase().includes(t))))(t,o,r),m=c?l:s.id||s.variantKey,u=`cid=${m}`;let p=d?t.purchaseUri:t.shortUrl;const g=(({offer:e,offerUrl:t,cid:n,showOfferUrl:o})=>{const i={offerUrl:e.purchaseUri};return n&&!o&&(i.origin=n),t?.indexOf("cna.st")>0&&(e.xid&&(i.xid=e.xid),e.amguuid&&(i.amguuid=e.amguuid)),i})({offer:t,offerUrl:p,cid:m,showOfferUrl:d});if(!i()(g)&&!d){const e=(0,a.hh)();g.extractedParams=e,p=(0,a.cI)(p,g)}p=((e,t,n)=>e?.indexOf("?")>0?`${e}&${t}`:`${e}${n?"?":"#"}${t}`)(p,u,c),"embed"===n&&(p=(({offer:e,showOfferUrl:t,encodeParams:n})=>{let o=t?e.purchaseUri:e.shortUrl;return o?.indexOf("cna.st")>0&&!t&&!i()(n)&&(o=(0,a.cI)(o,n)),o})({offer:t,showOfferUrl:d,encodeParams:g}));const{target:h,rel:y}=(e=>e?{target:"_blank",rel:"noreferrer noopener sponsored"}:{target:"_self",rel:"noopener"})(c);return{offerUrl:p,target:h,rel:y,isAffiliateProduct:c}},d=e=>e?.offsetWidth`${r.uM[e]}${t}`,m=e=>{try{const t=e.getBoundingClientRect(),n=t.width||0,o=t.height||0,i=window.innerHeight,a=Math.max(t.top,0),r=Math.min(t.bottom,i),s=Math.max(r-a,0),l=t.height?s/t.height*100:0,d=i-t.top,c=i+t.height,m=c?d/c*100:0;let u=null;const p=e.querySelector("video");return p&&({currentTime:u}=p),{width:n,height:o,progressPercent:m,inviewPercent:l,currentTime:u}}catch(e){return{width:0,height:0,progressPercent:0,inviewPercent:0,currentTime:null}}}},5676:(e,t,n)=>{n.d(t,{UH:()=>u,Vm:()=>p,hO:()=>c,k6:()=>g,zv:()=>m});var o=n(1123),i=n(38267),a=n(26865),r=n(16800),s=n(96472),l=n(35864),d=n(33500);const c=i.Ay.section.withConfig({displayName:"ContributorSpotlightContainer"})` padding: ${(0,a.Kq)(3)}; ${(0,a.H4)(s.LO.md)} { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,r.F)(t,"gap-md")?"padding-top: 0; padding-bottom: 0":`padding-top: ${(0,a.Kq)(4)};\n padding-bottom: ${(0,a.Kq)(4)};`} } ${(0,o.VO)()} ${(0,o.aU)("padding")} `,m=i.Ay.div.withConfig({displayName:"ContributorSpotlightInnerContainer"})` margin: 0 auto; border-bottom: ${(0,a.Kq)(.125,"px")} solid; max-width: calc(${s.LO.xxl} - (2 * ${(0,a.Kq)(8)})); `,u=i.Ay.div.withConfig({displayName:"ContributorSpotlightSingleColumn"})` .summary-item { width: 100%; } `,p=(0,i.Ay)(l.default).withConfig({displayName:"ContributorSpotlightHeader"})` display: flex; justify-content: center; border-top: ${(0,a.Kq)(.125,"px")} solid; border-bottom: ${(0,a.Kq)(.125)} solid ${(0,a.HK)("colors.foundation.menu.dividers")}; ${d.sM} { margin-top: 0; padding-top: 0; text-underline-offset: ${(0,a.Kq)(.375,"px")}; ${({theme:e})=>(0,a.pe)(e,"colors.foundation.collapsed-menu.utility-link.default","colors.foundation.collapsed-menu.utility-link.hover","navigation")}; ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.foundation.link-primary")}; } `,g=i.Ay.section.withConfig({displayName:"ContributorSpotlightSummaryGrid"})` display: grid; ${(0,o.VO)()} grid-template-areas: 'stories' 'body'; grid-template-columns: repeat(1, 1fr); padding-bottom: ${(0,a.Kq)(3)}; ${(0,a.H4)(s.LO.md)} { grid-template-areas: 'body'; } `;i.Ay.h2.withConfig({displayName:"SpotlightMainFeatureHeader"})` margin: 0 auto; padding-bottom: ${(0,a.Kq)(3)}; text-align: center; text-transform: uppercase; ${({theme:e})=>i.AH` ${(0,a.Gg)(e,"typography.definitions.discovery.hed-feature")} ${(0,a._o)(e,"color","colors.discovery.body.brand.heading")}; `}; ${(0,a.H4)(s.LO.lg)} { max-width: 80%; } `},6009:(e,t,n)=>{n.d(t,{Qi:()=>p,XG:()=>u,j7:()=>c});var o=n(96540),i=n(5556),a=n.n(i),r=n(38267),s=n(11542),l=n(49235),d=n(78020);const c=o.createContext({}),m=({children:e,id:t,layoutConfigs:n={},themeExtensions:i={}})=>{const{theme:a={},palette:s,...m}=n[t]||{};return o.createElement(c.Provider,{value:m},o.createElement(r.NP,{"data-testid":"PresetThemeProvider",theme:(0,d.y)(a,i)},o.createElement(l.A,{palette:s??"standard"},e)))};m.propTypes={children:a().node.isRequired,id:a().string.isRequired,layoutConfigs:a().object,themeExtensions:a().shape({componentStylePools:a().objectOf(a().objectOf(a().func))})};const u=(0,s.M3)(m,{keysToPluck:["layoutConfigs"]}),p=c.Consumer;c.Consumer},6082:(e,t,n)=>{n.d(t,{A:()=>k,X:()=>C});var o=n(5556),i=n.n(o),a=n(96540),r=n(6442),s=n(97200),l=n.n(s),d=n(94327),c=n(90506),m=n(13465),u=n(38221),p=n.n(u);var g=n(35089);const h=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","#"],y=({links:e,linksRef:t,navId:n})=>{if(!e||!e.length)return null;const o=e=>{e.preventDefault();const n=window.requestAnimationFrame||(e=>window.setTimeout(e,20)),o=document.getElementById(e.target.hash.replace("#",""));if(!o)return;const{offsetTop:i}=o,{offsetTop:a,scrollTop:r}=t.current,s=i-a-r;let l=0;const d=()=>{l+=20;const e=function(e,t,n,o){let i=e;return i/=o/2,i<1?n/2*i*i+t:(i--,-n/2*(i*(i-2)-1)+t)}(l,r,s,600);t.current.scrollTop=e,l<600&&n(d)};d()};return a.createElement(g.if,{"data-testid":"AtoZIndexWrapper"},a.createElement(g.Pm,null,h.map(t=>{const i=e.find(e=>e.groupName===t);return i?a.createElement("li",{key:t},a.createElement(g.ZB,{"data-testid":"AtoZIndexLink",href:"#"+("#"===i.groupName?`other-${n}`:`${i.groupName.toLowerCase()}-${n}`),onClick:o},t)):a.createElement(g.Mz,{key:t},t)})))};y.propTypes={links:i().arrayOf(i().shape({groupName:i().string.isRequired})),linksRef:i().object,navId:i().string};const b=y;var f=n(53499);const w=(0,n(72267).defineMessages)({filterInputAriaLabelText:{id:"GroupedNavigation.FilterInputAriaLabel",defaultMessage:"Filter links",description:"Grouped Navigation Filter component aria label text",isConfigurable:!0}}),$=({className:e,groupedLinks:t,showContentDivider:n=!0,hasAtoZIndex:o=!1,hasFilter:i=!1,hasSpacing:s=!1,analyticsEventForFilter:m,filterLabel:u})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(f.G.RENDER,{name:"GroupedNavigation"})},[]);const{formatMessage:h}=(0,r.A)(),y=a.useRef(null),$=l()(),[v,C]=(0,a.useState)(""),[k,x]=((e,t)=>{const[n,o]=(0,a.useState)(e),i=(0,a.useCallback)(p()(e=>{o(e)},t),[]);return[n,e=>{i(e)}]})(t,200);return t&&t.length?a.createElement(g.UW,{className:e,hasFilter:i,"data-testid":"GroupedNavigationWrapper"},i&&a.createElement(g.xS,null,a.createElement(g.ed,null,a.createElement(g.Nh,{placeholder:u,"aria-label":u||h(w.filterInputAriaLabelText),name:"filter",type:"text",onChange:e=>{const n=e.target.value;C(n),x(()=>((e,t)=>{if(!t?.trim())return e;const n=e=>e.toString().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9\s]/gi,"");return e.map(e=>({...e,links:e.links?.filter(e=>/(\s|')/.test(t)?n(e.text).includes(n(t)):e.text.match(/([a-zA-Z]\.){2,}/)?e.text.split(" ").filter(e=>n(e).startsWith(n(t))).length:e.text.split(/([ \-'’.]+)/).filter(e=>n(e).startsWith(n(t))).length)})).filter(e=>e.links?.length)})(t,n))},onFocus:()=>{m&&(0,d.W8)(m)},value:v}),a.createElement(c.A,null))),a.createElement(g.Ce,{hasFilter:i,hasSpacing:s},a.createElement(g.Ow,{ref:y},k.map(e=>{if(!e.links)return null;const t=e.links.map(e=>{const t=!0===e.isSecondary?"link--secondary":"link--primary";return{...e,className:t}}),i={};return o&&(i.id="#"===e.groupName?`other-${$}`:`${e.groupName.toLowerCase()}-${$}`),a.createElement(g.GX,{key:e.groupName,className:"grouped-navigation__group",links:t,linkClassName:"grouped-navigation__link",heading:e.groupName,showContentDivider:n,shouldStyleListItems:!0,attributes:i})})),o&&a.createElement(g.J,{className:"grouped-navigation__index"},a.createElement(b,{links:t,linksRef:y,navId:$})))):null},v=i().shape({text:i().string.isRequired,url:i().string.isRequired,isSecondary:i().bool,analyticsEvent:i().string}),C=i().arrayOf(i().shape({links:i().arrayOf(v),groupName:i().string,groupId:i().string}));$.propTypes={analyticsEventForFilter:i().string,className:i().string,filterLabel:i().string,groupedLinks:C,hasAtoZIndex:i().bool,hasFilter:i().bool,hasSpacing:i().bool,showContentDivider:i().bool},$.displayName="GroupedNavigation";const k=(0,m.y)($,"GroupedNavigation")},6337:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(71724),l=n(67275);const d=e=>{if(!e.children)return null;const t=(0,s.TW)(e.children.props);return r.createElement(l.K1,{...e,id:t},e.children)};d.propTypes={children:a().node},d.displayName="MultiPackageRow";const c=d,m=(0,o.y)(c,"MultiPackageRow")},6463:(e,t,n)=>{var o,i;n.d(t,{H:()=>i,N:()=>o}),function(e){e.START="start",e.CENTER="center",e.END="end"}(o||(o={})),function(e){e.FULL_PAGE="FULL_PAGE"}(i||(i={}))},7165:(e,t,n)=>{n.d(t,{M:()=>a,o:()=>i});var o=n(96540);const i=(e,t={rootSelector:null,rootMargin:"0px",threshold:0},n=()=>{},i=[])=>{if(!e)throw new Error("selector is required param");const[a,r]=o.useState(!1);return o.useEffect(()=>{const o=document.querySelector(e);if(!o)return()=>{};let i;const a={root:t.rootSelector?document.querySelector(t.rootSelector):null,rootMargin:t.rootMargin,threshold:t.threshold},s=()=>{i.unobserve(o)};return i=new IntersectionObserver(e=>{e.forEach(e=>{r(e.isIntersecting),n(e.isIntersecting,s)})},a),i.observe(o),s},i),a},a=(e,t={rootSelector:null,rootMargin:"0px",threshold:0},n=()=>{},i=[])=>{if(!e)throw new Error("selector is required param");o.useEffect(()=>{const o=document.querySelector(e);if(!o)return()=>{};let i;const a={root:t.rootSelector?document.querySelector(t.rootSelector):null,rootMargin:t.rootMargin,threshold:t.threshold},r=()=>{i.unobserve(o)};return i=new IntersectionObserver(e=>{e.forEach(e=>{n(e.isIntersecting,r)})},a),i.observe(o),r},i)}},7285:(e,t,n)=>{n.d(t,{A:()=>c});var o=n(5556),i=n.n(o),a=n(96540),r=n(16631),s=n(26576),l=n(85554);const d=({className:e,rating:t=0,size:n="sm",enableBlur:o=!1})=>{const[i,d]=a.useState(!0);a.useEffect(()=>(0,s.a0)(d),[]);const c=o&&i?"0.0":(0,l.Xq)(t);return a.createElement(r.Q7,{className:`${e} ${o&&i?"blurred":""}`},a.createElement(r.Vs,{size:n},a.createElement(r.El,{size:n},c)))};d.propTypes={className:i().string,enableBlur:i().bool,rating:i().oneOfType([i().number,i().string]),size:i().oneOf(["lg","sm"])};const c=d},7307:(e,t,n)=>{n.d(t,{A:()=>o});const o={alpha:{list:[{conditions:{name:"chunked-article-content","payment.form":""},properties:{shouldTruncate:!0}},{conditions:{name:"chunked-gallery-content","payment.form":""},properties:{shouldTruncate:!0}}],names:["chunked-article-content","chunked-gallery-content"]},beta:{defaults:{isVisible:!1},list:[{conditions:{name:"incognito-modal","payment.form":"sample","user.isAuthenticated":!1,"browser.incognitoMode":!0},properties:{position:"incognito-modal-call-to-action"}},{conditions:{name:"chunked-article-content","payment.form":""},properties:{shouldTruncate:!0}},{conditions:{name:"chunked-article-content","payment.form":"sample","user.isAuthenticated":!1,"browser.incognitoMode":!0},properties:{shouldTruncate:!0}},{conditions:{name:"chunked-gallery-content","payment.form":""},properties:{shouldTruncate:!0}},{conditions:{name:"chunked-gallery-content","payment.form":"sample","user.isAuthenticated":!1,"browser.incognitoMode":!0},properties:{shouldTruncate:!0}}],names:["incognito-modal","chunked-article-content","chunked-gallery-content"]}}},8231:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(13465),i=n(32485),a=n.n(i),r=n(96540),s=n(5556),l=n.n(s),d=n(6442);const c=(0,n(72267).defineMessages)({navigationAriaLabel:{id:"AccountLinks.NavigationAriaLabel",defaultMessage:"Account",description:"AccountLinks component Navigation aria label"}});var m=n(48188),u=n(53499);const p=({accountLinks:e,className:t,hasSignOutSeparator:n=!0,linkClassName:o})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"AccountLinks"})},[]);const{formatMessage:i}=(0,d.A)();return r.createElement("div",{className:a()("account-links","account-links__sign-out-separator--"+(n?"show":"hide"),t),"data-testid":"account-links-wrapper"},e&&e.length>0&&r.createElement(m.A.Vertical,{attributes:{"aria-label":i(c.navigationAriaLabel)},className:"account-links__navigation",linkClassName:o,links:e,"data-testid":"account-navigation"}))};p.propTypes={accountLinks:l().array,className:l().string,hasSignOutSeparator:l().bool,linkClassName:l().string},p.displayName="AccountLinks";const g=p,h=(0,o.y)(g,"AccountLinks")},8470:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(96540),i=n(5556),a=n.n(i),r=n(62193),s=n.n(r),l=n(708),d=n(53499),c=n(14307),m=n(79012);function u(e){const t=e?.props?.children||[],n=t[0],i=n?.props?.children?.props?.children?.[0]?.props?.children;return o.createElement("div",{className:"table-container"},o.createElement("div",{className:"scrollable-table-container"},o.createElement("table",{className:"simple-table"},i?t:t[1])))}const p=({label:e,content:t,isInitiallyOpen:n,isCollapsible:i,snowplowEventData:a,handleContentItemClick:r})=>{const[d,p]=(0,o.useState)(n);return o.createElement(m.YJ,{isActive:d},o.createElement(m.$T,{onClick:i&&(()=>{p(!d);const t={type:d?"close":"open",subject:a?a.subject:"wrapper_accordion",label:a?a.label:e?.props?.children?.toString(),items:a&&a.items};(0,c.kg)(t)}),"data-testid":"accordion-item-container",isCollapsible:i},o.createElement(m.Hp,null,o.createElement(o.Fragment,null,e)),i&&o.createElement(m.Hf,{isActive:d,ButtonIcon:l.A,role:"button",isIconButton:!0,label:"AccordionItemContainerButton",width:"0.5rem",height:"0.5rem"})),!s()(t)&&o.createElement(m.Iy,{className:d?"closing-animation":"opening-animation"},o.createElement("div",null,"table"!==t.type?function(e,t){const n=Array.isArray(e)?e.some(e=>"li"===e.type):e&&"li"===e.type,i=Array.isArray(e)?e.map((n,i)=>"table"!==n.type?o.cloneElement(n,{key:i,onClick:n=>t(n,i,e.length)}):u(n)):o.createElement(o.Fragment,null,e);return n?o.createElement("ul",null,i):i}(t,r):u(t))))};p.propTypes={content:a().oneOfType([a().array,a().object,a().string]),handleContentItemClick:a().func,isCollapsible:a().bool,isInitiallyOpen:a().bool,label:a().oneOfType([a().object,a().string]),snowplowEventData:a().object};const g=({children:e,data:t,isInitiallyOpen:n=!1,isCollapsible:i=!0,snowplowEventData:a=null,handleContentItemClick:r})=>{o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(d.G.RENDER,{name:"Accordion"})},[]);const s=e&&e[0]?.props?.children||null,l=e&&e[1]?.props?.children||null;return t?o.createElement(m.IL,{data:t},t?o.createElement(m.TJ,null,t.map((e,t)=>o.createElement(p,{key:t,...e,isInitiallyOpen:n,isCollapsible:i,snowplowEventData:a,handleContentItemClick:r}))):null):o.createElement(o.Fragment,null,s?o.createElement(m.TJ,null,o.createElement(p,{label:s,content:l,isInitiallyOpen:n,isCollapsible:i})):null)};g.propTypes={children:a().array,data:a().array,handleContentItemClick:a().func,isCollapsible:a().bool,isInitiallyOpen:a().bool,snowplowEventData:a().object};const h=g},8509:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({gridTitle:{id:"ProductSummaryGrid.GridTitle",defaultMessage:"Featured in this article",description:"Product Summary Grid title"},readMore:{id:"ProductSummaryGrid.ReadMore",defaultMessage:"Read more",description:"Product Summary Grid accordian to read more"},jumpToReview:{id:"ProductSummaryGrid.JumpToReview",defaultMessage:"Jump to review",description:"Product Summary Grid accordian to jump to review"},showMore:{id:"ProductSummaryGrid.ShowMore",defaultMessage:"Show more",description:"Product Summary Grid button text to show more grid items"},showLess:{id:"ProductSummaryGrid.ShowLess",defaultMessage:"Show less",description:"Product Summary Grid button text to show less grid items",isConfigurable:!0},defaultProductSummaryGridTitle:{id:"ProductSummaryGrid.DefaultProductSummaryGridTitle",defaultMessage:"Featured in this article",description:"default title for product summary grid"}})},9170:(e,t,n)=>{n.d(t,{w:()=>i});const o=["bot","storebot","googlebot","adsbot-google","apis-google","mediapartners-google","googlebot-image","googlebot-news","googlebot-video","adsbot-google-mobile","adsbot-google-mobile-apps","bingbot","bingpreview","adidxbot","binglocalbot","msnbot","msnbot-media"],i=e=>{if(!e)return!1;const t=e.toLowerCase();return o.some(e=>t.includes(e))}},9509:(e,t,n)=>{n.d(t,{A:()=>Ar});var o=n(96540),i=n(5338),a=n(56187),r=n(56822),s=n(58156),l=n.n(s),d=n(86663),c=n(22354),m=n(82960),u=n(34606),p=n(10103),g=n(85554),h=n(48171),y=n(22509),b=n(44354),f=n(61057),w=n(11542),$=n(53788);class v{static listenForReload(){0}}v.url="http://localhost:3001";const C={scopes:{watch:["user.isAuthenticated","user.isEntitled"],input:["user.isAuthenticated","user.isEntitled"],output:[]},perform:e=>{const{isAuthenticated:t,isEntitled:n}=e.user;if(void 0===n)return;const o=l()(window,"dataLayer");o&&o.push({event:"subscription-status-updated",user:{account:{subscriptionStatus:t&&n?"active":"not active"}}})}};class k{static initialize(e){(new this).initialize(e)}constructor(){}initialize(e){const{googleTagManagerId:t,googleTagManagerToken:n}=e.getState(),o=document.head,i=n?.split("~"),a=i?i[0]:"",r=i?i[1]:"",s=n?`>m_auth=${a}>m_preview=env-${r}>m_cookies_win=x`:"";if(window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"}),t){const e=document.createElement("script");e.src=`https://www.googletagmanager.com/gtm.js?id=GTM-${t}${s}&l=dataLayer`,o.appendChild(e),e.addEventListener("load",()=>{this.applyInpOptimization()})}(0,w.Tk)(C,e)}applyInpOptimization(){if(window.dataLayer&&"function"==typeof window.dataLayer.push){const e=window.dataLayer.push.bind(window.dataLayer);window.dataLayer.push=function(...t){return(async e=>{new Promise(t=>{const n=setTimeout(()=>{"function"==typeof e&&e(),t()},200);requestAnimationFrame(()=>{setTimeout(()=>{clearTimeout(n),"function"==typeof e&&e(),t()},50)})})})(()=>{e(...t)}),window.dataLayer.length+t.length}}}}var x=n(88055),E=n.n(x),A=n(49870),S=n.n(A),L=n(44383),T=n.n(L);const N=["payment","user","segmentation"],H=S()([T(),E()]),I=["payment","user","segmentation"],B=S()([T(),E()]);var O=n(38807);const _={scopes:{watch:["payment.sample"],input:["payment.sample","google","userPlatform"],output:[]},perform:e=>{const{google:t,payment:n,userPlatform:o}=e,i={registrationSourceCode:t.registrationSourceCode,siteCode:o.siteCode,userPlatformProxy:o.userPlatformProxy,xClientID:o.xClientID};O.A.registerLwgCTA(i,n)}};var K=n(91287);class P{static initialize(e){const{google:t,payment:n={},user:o,userPlatform:i}=e.getState(),{processEntitlementResponse:a}=t.entitlement,r=(0,K.Rt)(t,n,o,i);o.isAuthenticated&&O.A.registerSwgAccountLinkCTA(o.amguuid,t,r),O.A.registerSwgSubscribeCTA(t.swgSku),O.A.registerOnEntitlementsResponseHandler(r,a),O.A.registerOnSubscribeResponseHandler(r),(0,w.Tk)(_,e)}}var D=n(44826),q=n.n(D),M=n(90090),R=n(56892),F=n(47248),U=n.n(F);const V=/en\.([a-z]+)\.([ace])/,G=["slug","status"],W=e=>V.test(e),j=e=>T()(U()([null,...G],e.match(V)),G),z=e=>"a"===e.status,Y=(e,t)=>{const n=((e,t)=>{const{segments:n}=e;return n.filter(W).map(j).filter((e=>t=>e.some(e=>e.slug===t.slug))(t))})(e,t);return n.some(z)},X={scopes:{watch:["segmentation"],input:["segmentation","payment.products"],output:["user.isEntitled"]},perform:e=>{const{segmentation:t={},payment:{products:n=[]}={}}=e;return{user:{isEntitled:Y(t,n)}}}};class Z{static initialize(e){const t=()=>{const t=(0,R.getCookie)("CN_segments"),n={segments:t?t.split("|").map(q()):[]};var o;return e.dispatch({type:"UPDATE_KEY",key:"segmentation",value:n}),o=n,(0,M.W8)("segments-loaded",o),n};window.cnBus&&window.cnBus.on("segments.updated",t);const{martechPlatform:n}=e.getState();return n&&n.isAccessCookieEnabled||(0,w.Tk)(X,e),Promise.resolve(t())}}class J{static initialize(e){return Promise.resolve((async()=>{const t={permutiveSegments:await new Promise(e=>{const{permutive:t}=window;t?t.ready(()=>{window.permutive?.segments(e)},"realtime"):e([])})};return e.dispatch({type:"MERGE_KEY",key:"segmentation",value:t}),window.cnBus&&window.cnBus.emit("permutiveSegments.updated"),t})())}}var Q=n(57743);const{getCookie:ee}=n(56892);class te{static initialize(e){return Promise.resolve((async()=>{const t={interests:await(async()=>{const{content:t,page:n}=e.getState()?.coreDataLayer??{},o=new URL(n.canonical),{protocol:i,hostname:a}=o,r=a.split(".").splice(-2).join("."),s=`${i}//${a}`,l=t.contentId,d=JSON.stringify({domain:r,path:l});try{const e=ee("G_CNID")||null,t=await(0,Q.u)("https://segmentator.condenast.ru/api/get_segment_names/0.1/",{body:d,headers:{origin:s,Accept:"application/json","Content-Type":"application/json","x-g-cnid":e},method:"POST"},1e3);if(t.ok){const e=await t.json(),{response_map:{segment_names:n=[]}}=e;if(Array.isArray(n))return window.cns&&(window.cns.pageContext.keywords.interests=n),n}}catch(e){return[]}return[]})()};return e.dispatch({type:"MERGE_KEY",key:"segmentation",value:t}),window.cnBus&&window.cnBus.emit("ruSegmentator.componentDidUpdate.segmentsFetched"),t})())}}var ne=n(22214);const oe={scopes:{watch:["user.isEntitled"],input:["user.isEntitled"],output:[]},perform:e=>{const{PARSELY:t}=window;if(!t)return;const n=l()(e,"user.isEntitled");t.ready.then(()=>{t.updateDefaults({data:{plan:n?"Active":"Not Active"}}),t.beacon.trackPageView()})}};class ie{static initialize(e){const{parsely:t={}}=e.getState();t.isEnabled&&(0,w.Tk)(oe,e)}}var ae=n(62193),re=n.n(ae),se=n(35970),le=n.n(se),de=n(35880),ce=n.n(de),me=n(79712),ue=n(91250);let pe={accessGranted:!1,reason:""};const ge="missing subscription",he="active subscription found",ye=!0,be=!1;class fe{static async initialize(e){try{const t=async()=>{const{access:t}=e.getState(),{contentRestricted:n,accessMatrix:o,content:i}=t;if(!n)return ve(ye,"unrestricted content");if(!(0,R.getCookie)($.A.accessCookie))return ve(be,"cookie does not exist");const a=await ke();return re()(a)?ve(be,ge):we(i,a,o)};e.dispatch({type:"MERGE_KEY",key:"access",value:{accessNegotiation:await t()}})}catch(e){}}}const we=(e,t,n)=>{const o=t.reduce((e,t)=>(t in n&&e.push(n[t]),e),[]);return re()(o)?ve(be,"missing matrix"):$e(o,e)},$e=(e,t)=>e.some(e=>e.some(e=>{const{name:n,...o}=e;return Object.keys(o).every(e=>{const n=o[e],i=t[e];let a=!1;return"string"==typeof n&&n===i&&(a=!0),"object"==typeof n&&n.includes(i)&&(a=!0),a})}))?(pe={...pe,accessGranted:!0,reason:he},ve(ye,he)):ve(be,ge),ve=(e,t)=>(pe.accessGranted=e,pe.reason=t,pe),Ce=()=>{const e=(0,R.getCookie)($.A.accessCookie);return e?(0,me.A)(e):{}},ke=async()=>{await(async()=>{const e=Ce();if(!e?.exp||Date.now()<1e3*(e?.exp||0))return;await(0,ue.u)("/api/access/revalidate",{credentials:"include",mode:"cors",headers:{"Content-Type":"application/json","User-Agent":"verso-access-sphere"}},5e3)})();const e=Ce();return le()(ce()(e?.fct))};var xe=n(45831),Ee=n(75454),Ae=n(60663);const Se="month-visits",Le="content-ids",Te=(0,Ae.Y)(()=>window.localStorage),Ne=()=>{return(Te.getItem(Se)||"").split(",").pop()},He=()=>{const e=Ne()||"",t=parseInt(e,10),n=new Date(t),o=new Date;return n.getFullYear()!==o.getFullYear()||n.getMonth()!==o.getMonth()},Ie=()=>{const e=Te.getItem(Se)||"",t=Date.now().toString();if(!e||He())return Te.setItem(Se,t),1;const n=e.split(",").filter(String);return(()=>{const e=Ne()||"",t=parseInt(e,10),n=new Date(t),o=new Date;return n.getFullYear()!==o.getFullYear()||n.getMonth()!==o.getMonth()||n.getDate()!==o.getDate()})()&&n.push(t),Te.setItem(Se,n.join(",")),n.length},Be=e=>{const t=Te.getItem(Le)||"";if(!t||He())try{return Te.setItem(Le,e),1}catch(e){return 0}const n=t.split(",").filter(String);n.every(t=>t!==e)&&n.push(e);try{return Te.setItem(Le,n.join(",")),n.length}catch(e){return 0}},Oe=()=>o.createElement("h1",null,"Fallback Page. This page should be replaced by a Presenter's component");Oe.displayName="DefaultPage";var _e=n(52566),Ke=n.n(_e);const Pe=e=>{if(!e)return 100;try{const t=Ke().str(e);return Math.abs(t%100)+1}catch(e){return 100}};var De=n(54870),qe=n(70818),Me=n(64663);var Re=n(69006);var Fe=n(79859),Ue=n.n(Fe),Ve=n(42426),Ge=n.n(Ve);const We=e=>{const{products:t,isAccessCookieEnabled:n}=e;if(!n)return!1;const o=(0,R.getCookie)($.A.accessCookie);if(!o)return!1;return je(t,o)},je=(e,t)=>{if(re()(e))return!1;if(!t)return!1;const n=ze(t);if(re()(n))return!1;return Ge()(e,e=>Ue()(n,e))},ze=e=>{const t=(0,me.A)(e),n=t?.fct||{};return le()(ce()(n))};var Ye=n(14307);const Xe=class{constructor(){this.registeredPlugins=[],this.bootedPlugins=[]}registerPlugin(e){this.registeredPlugins.push(e)}};const Ze=class{constructor(){this.registeredComponents={}}getFallbackComponent(){return this.registeredComponents.fallback.component}registerComponent(e){this.registeredComponents[e.name]=e}getComponentDefinition(e){return this.registeredComponents[e]||this.registeredComponents.fallback}getAllComponents(){const e=this,t={};return Object.keys(this.registeredComponents).forEach(n=>{t[n]=e.registeredComponents[n].component}),t}getComponentWithProps(e,t,n){const o=this.registeredComponents[t]||{};if(void 0!==o.component){const{componentConfig:i={variation:"default",settings:{}}}=n,{settings:a={}}=i,r=o.component;return{component:(0,w.M3)(r,{keysToSpread:[`capability.${e}`]}),props:{key:t,...a}}}return{component:this.registeredComponents.fallback.component,props:{message:`The component ${t} is not found!`}}}};var Je;!function(e){e.ActionBar="ActionBar",e.Ad="Ad",e.Body="Body",e.ChunkWrapper="ChunkWrapper",e.ConsumerMarketingUnit="ConsumerMarketingUnit",e.Header="Header",e.Container="Container",e.Error="Error",e.Fallback="Fallback",e.Footer="Footer",e.Navigation="Navigation",e.Recommendation="Recommendation",e.MultiPackagesWrapper="MultiPackagesWrapper",e.MainContentWrapper="MainContentWrapper",e.BodyWrapper="BodyWrapper",e.PageWrapper="PageWrapper",e.RailWrapper="RailWrapper",e.Paywall="Paywall",e.SignInModal="SignInModal",e.VisualStory="VisualStory"}(Je||(Je={}));const Qe=class{constructor(e){this.pluginSystem=e}boot(){throw new Error("Method not implemented. This method should be overridden by the plugin.")}};var et=n(92729);const tt=class extends Qe{constructor(){super(...arguments),this.name="action-bar-plugin"}boot(){this.pluginSystem.registerComponent({name:"ActionBar",component:et.A,type:Je.ActionBar,dataProcessor:{fetchers:[],transformer:"ActionBarTransformer"}})}};var nt=n(19607),ot=n(66657);const it=()=>o.createElement(ot.A,{bottomSpacing:7},o.createElement(nt.A,{position:"footer",shouldHoldSpace:!0}));const at=class extends Qe{constructor(){super(...arguments),this.name="ad-footer-plugin"}boot(){this.pluginSystem.registerComponent({name:"AdFooter",component:it,type:Je.Ad})}};const rt=class extends Qe{constructor(){super(...arguments),this.name="ad-hero-plugin"}boot(){this.pluginSystem.registerComponent({name:"AdHero",component:nt.$,type:Je.Ad})}};var st=n(32485),lt=n.n(st),dt=n(38080);const ct=e=>o.createElement("div",{"data-journey-hook":e.dataJourneyHook,className:lt()("ad-container",{"ad-container-reduced-margin":e.hasReducedMargin})},o.createElement(dt.Z,{group:"ads"},o.createElement(nt.A,{position:"mid-content",shouldHoldSpace:!0,shouldDisplayLabel:!0})));const mt=class extends Qe{constructor(){super(...arguments),this.name="ad-mid-content-plugin"}boot(){this.pluginSystem.registerComponent({name:"AdMidContent",component:ct,type:Je.Ad})}},ut=()=>o.createElement(dt.Z,{group:"ads"},o.createElement(nt.A,{position:"rail"}));const pt=class extends Qe{constructor(){super(...arguments),this.name="ad-rail-plugin"}boot(){this.pluginSystem.registerComponent({name:"AdRail",component:ut,type:Je.Ad})}};var gt=n(70462);const ht=({children:e,chunks:t,...n})=>{const{"data-testid":i,stylesConfig:a}=n;return o.createElement(gt.qk,{"data-testid":i,stylesConfig:a},o.Children.map(e,e=>(0,o.cloneElement)(e,{content:t})))};const yt=class extends Qe{constructor(){super(...arguments),this.name="body-content-plugin"}boot(){this.pluginSystem.registerComponent({name:"BodyContent",component:ht,type:Je.Body,dataProcessor:{fetchers:["GetReviewFetcher"],transformer:"BodyTransformer"}})}};var bt=n(49741),ft=n(12501);const wt=()=>o.createElement(ot.A,null,o.createElement(ft.wi,null),o.createElement(dt.Z,{group:"consumer-marketing"},o.createElement(bt.A,{position:"cm-footer"})));const $t=class extends Qe{constructor(){super(...arguments),this.name="cmu-footer-plugin"}boot(){this.pluginSystem.registerComponent({name:"CMUFooter",component:wt,type:Je.ConsumerMarketingUnit})}};var vt=n(69389),Ct=n(96307);const kt=e=>e?e.useMultiReviewHeader?o.createElement(Ct.A,{...e}):o.createElement(vt.A,{...e}):null;const xt=class extends Qe{constructor(){super(...arguments),this.name="content-header-plugin"}boot(){this.pluginSystem.registerComponent({name:"ContentHeader",component:kt,type:Je.Header,dataProcessor:{fetchers:["GetReviewFetcher","GetRelatedContentFetcher","GetMostPopularContentFetcher"],transformer:"ContentHeaderTransformer"}})}};var Et=n(61127),At=n(86659);const St=e=>o.createElement(Et.A,{ContentWrapper:At.A.ContentWithAdRailNarrow,...e});const Lt=class extends Qe{constructor(){super(...arguments),this.name="content-footer-plugin"}boot(){this.pluginSystem.registerComponent({name:"ContentFooter",component:St,type:Je.Footer,dataProcessor:{fetchers:["GetReviewFetcher","GetRelatedContentFetcher","GetMostPopularContentFetcher"],transformer:"ContentFooterTransformer"}})}};var Tt=n(5556),Nt=n.n(Tt),Ht=n(6442),It=n(86778);const Bt=(0,n(72267).defineMessages)({buttonLabel:{id:"ErrorContent.buttonLabel",defaultMessage:"Go to Homepage",description:"Button label for error page",isConfigurable:!0},buttonLink:{id:"ErrorContent.buttonLink",defaultMessage:"/",description:"Button link for error page",isConfigurable:!0},dangerousDek:{id:"ErrorContent.dangerousDek",defaultMessage:"There was an issue with this page",description:"Dek for error page",isConfigurable:!0},dangerousHed:{id:"ErrorContent.dangerousHed",defaultMessage:"Oops",description:"Hed for error page",isConfigurable:!0}});var Ot=n(73730),_t=n(73275),Kt=n(20388),Pt=n(38267),Dt=n(26865),qt=n(96472),Mt=n(79055),Rt=n(1123),Ft=n(4081),Ut=n(86245),Vt=n(40653);const Gt=Pt.Ay.div.withConfig({displayName:"BrandBackgroundWrapper"})` background-color: ${(0,Dt.HK)("colors.background.light")}; background-position: top center; background-size: cover; ${({backgroundImageSource:e})=>e&&`\n background-image: url(${e});\n `} padding: ${(0,Dt.Kq)(2)} 0; @media (min-width: ${qt.LO.md}) { padding: ${(0,Dt.Kq)(9)} 0; } ${Mt.Kf} { padding: ${(0,Dt.Kq)(5)} 0 ${(0,Dt.Kq)(4)}; @media (min-width: ${qt.LO.md}) { padding: ${(0,Dt.Kq)(5)} 0; } } `,Wt=(0,Pt.Ay)(Ut.A).withConfig({displayName:"BrandBackgroundCard"})``,jt=Pt.Ay.div.withConfig({displayName:"BrandBackgroundBasePageWrapper"})` ${Ft.fu} { background-color: ${(0,Dt.HK)("colors.background.light")}; background-position: top center; background-size: cover; } `,zt=(0,Pt.Ay)(At.A).withConfig({displayName:"BrandBackgroundGrid"})` ${Vt.E} { grid-column: span 4; @media (min-width: ${qt.LO.md}) { grid-column: 2 / span 10; } } `,Yt=Pt.Ay.div.withConfig({displayName:"ErrorPageSpotImageWrapper"})` margin: auto; width: 200px; ${({hasBiggerSpotImage:e})=>e&&` \n @media (min-width: ${qt.LO.md}) {\n width: 600px;\n }\n`}; ${({hasButton:e})=>e&&` \npadding-bottom: ${(0,Dt.Kq)(5)};\n`}; `,Xt=Pt.Ay.div.withConfig({displayName:"ErrorPageWrapper"})` &&& { text-align: center; ${Mt.Kf} { padding-top: 0; } ${zt} { ${(0,Rt.aU)("margin")} margin-right: auto; margin-left: auto; ${Vt.E} { @media (min-width: ${qt.LO.md}) { grid-column: 2 / span 10; } } } } `;var Zt=n(53499);const Jt=({backgroundImageSource:e="",buttonLabel:t,buttonLink:n,dangerousCaption:i,dangerousCredit:a,dangerousDek:r,dangerousHed:s,hasBiggerSpotImage:l=!1,hasButton:d=!0,spotImage:c,statusCode:m=404})=>{const{formatMessage:u}=(0,Ht.A)(),p=s||u(Bt.dangerousHed),g=r||u(Bt.dangerousDek);o.useEffect(()=>{m&&(0,Ye.nd)(m,g),window.Kendra.TRACK_COMPONENT.broadcast(Zt.G.RENDER,{name:"ErrorPages"})},[m,g]);const h=i||a;return o.createElement(jt,{hasFooterMargins:!1},o.createElement(Gt,{backgroundImageSource:e},o.createElement(zt,null,o.createElement(Wt,null,o.createElement(Xt,{backgroundImageSource:e,withoutBg:!e,dangerousDek:g,dangerousHed:p},o.createElement(It.A.ContentCenterNoBackground,{ariaLive:"polite",dangerousHed:p,dangerousDek:g}),c&&o.createElement(Yt,{hasButton:d,hasBiggerSpotImage:l},o.createElement(_t.A,{...c}),h&&o.createElement(Kt.A,{dangerousCaptionText:i,dangerousCredit:a})),d&&o.createElement(Ot.A.Utility,{"data-testid":"ErrorContentButton",label:t||u(Bt.buttonLabel),href:n||u(Bt.buttonLink),inputKind:"link"}))))))};Jt.propTypes={backgroundImageSource:Nt().string,buttonLabel:Nt().string,buttonLink:Nt().string,dangerousCaption:Nt().string,dangerousCredit:Nt().string,dangerousDek:Nt().string,dangerousHed:Nt().string,hasBiggerSpotImage:Nt().bool,hasButton:Nt().bool,spotImage:Nt().shape(_t.A.propTypes),statusCode:Nt().number};const Qt=Jt;const en=class extends Qe{constructor(){super(...arguments),this.name="error-content-plugin"}boot(){this.pluginSystem.registerComponent({name:"ErrorContent",component:Qt,type:Je.Error,dataProcessor:{fetchers:[],transformer:"ErrorContentTransformer"}})}};var tn=n(90114),nn=n(22776),on=n(29912);const{default:an}=n(1165);const rn=new an({a:function(e){const{isExternal:t,...n}=e;return{type:t?nn.A:"a",props:n}},"inline-embed":tn.A}),sn=({content:e,index:t})=>o.createElement(on.q,{className:"body body__container","data-testid":"BodyWrapper"},rn.convert(["div",{className:"chunk"},...e[t]])),ln=({children:e,content:t,...n})=>{const{"data-testid":i,stylesConfig:a}=n,r=parseInt(i.match(/\d+/g),10)-1;return o.createElement(gt.qk,{"data-testid":i,stylesConfig:a},o.Children.map(e,e=>{const{key:n,props:{id:i,stylesConfig:a}}=e;return n.includes("chunk")?o.createElement(gt.qk,{"data-testid":`${i}__container`,key:i,stylesConfig:a},o.createElement(sn,{content:t,index:r})):e}))};const dn=class extends Qe{constructor(){super(...arguments),this.name="chunk-wrapper-plugin"}boot(){this.pluginSystem.registerComponent({name:"ChunkWrapper",component:ln,type:Je.ChunkWrapper})}};var cn=n(72362),mn=n(76955),un=n(92027),pn=n(7228),gn=n(5239);const hn=Pt.Ay.header.withConfig({displayName:"CustomErrorWrapper"})` display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; bottom: ${`-${parseFloat((0,Dt.Kq)(6))}rem`}; position: relative; `,yn=(0,Pt.Ay)(un.A).withConfig({displayName:"CustomErrorSection"})` grid-column: 1; grid-row: 1; background: ${({theme:e})=>(0,Dt.HK)(e,"colors.background.light")}; ${({shouldApplyDarkBackground:e,theme:t})=>e&&`\n background: ${String((0,Dt.HK)(t,"colors.consumption.lead.inverted.background"))};\n `} ${({hasTopMargin:e})=>e&&`\n ${(0,Dt.H4)(qt.LO.lg)} {\n margin-top: -8%;\n }\n `} ${({overlayType:e})=>"gradient"===e?Pt.AH` &:after { background: linear-gradient(to top, rgb(0, 0, 0) 0, transparent 65%); content: ''; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } `:"solid"===e?Pt.AH` &:after { background-color: rgba( ${String((0,Dt.HK)("colors.interactive.base.black",{rgbOnly:!0}))}, 0.35 ); content: ''; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } `:""} .lead-asset__content__photo, ${gn.zw} ${pn.BF} { ${(0,Dt.H4)(qt.LO.md)} { max-height: none; } } ${gn.zw}, ${pn.BF} { width: 100%; } `,bn=Pt.Ay.div.withConfig({displayName:"CustomErrorHedDekGrid"})` ${(0,Rt.VO)()} display: grid; grid-column: 1; grid-row: 1; grid-template-columns: repeat(4, 1fr); column-gap: var(--grid-gap); z-index: 1; width: 100%; row-gap: var(--grid-gap); ${({isInverted:e,theme:t})=>e&&`\n background: ${String((0,Dt.HK)(t,"colors.consumption.lead.inverted.background"))};\n `} ${(0,Rt.aU)("padding")} ${({headerPosition:e})=>"center"===e?"place-items: center center;":"place-items: start center;"} ${(0,Dt.H4)(qt.LO.md)} { grid-template-columns: repeat(12, 1fr); } `,fn=Pt.Ay.div.withConfig({displayName:"CustomDeviceHedDekBlock"})` grid-column: 1 / -1; text-align: center; @media (min-width: ${qt.LO.lg}) { ${({isDirectoryBundle:e})=>e?"grid-column: 4 / 10":"grid-column: 1 / -1;"} ${({showHeaderOnTop:e,showHeaderOnBottom:t})=>(e||t)&&"\n grid-column: 3 / -3;\n "} } `,wn=(0,Pt.Ay)(mn.vm).withConfig({displayName:"CustomErrorHed"})` margin-top: ${(0,Dt.Kq)(14)}; margin-bottom: ${(0,Dt.Kq)(4)}; ${({theme:e,shouldDecorateHeader:t})=>t?`text-decoration: underline; text-decoration-color: ${String((0,Dt.HK)(e,"colors.discovery.lead.primary.accent"))};`:"text-decoration: none"}; ${({theme:e})=>String((0,Dt.Gg)(e,"typography.definitions.consumptionEditorial.display-small"))}; @media (max-width: ${qt.LO.lg}) { margin-top: ${(0,Dt.Kq)(6.2)}; } `;wn.defaultProps={as:"h1",colorToken:"colors.consumption.body.standard.body",typeIdentity:"typography.definitions.consumptionEditorial.body-core"};const $n=(0,Pt.Ay)(mn.vm).withConfig({displayName:"CustomDeviceDekText"})` ${({isDestinationBundle:e,shouldOverrideDirectoryBundle:t,theme:n})=>e||t?(0,Dt.Gg)(n,"typography.definitions.consumptionEditorial.description-core"):(0,Dt.Gg)(n,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; ${({shouldOverrideDirectoryBundle:e,isDirectoryBundle:t,theme:n})=>!e&&(t?(0,Dt.Gg)(n,"typography.definitions.consumptionEditorial.subhed-break-secondary"):(0,Dt.Gg)(n,"typography.definitions.consumptionEditorial.subhed-aux-secondary"))}; margin-top: 0; color: ${({isDestinationBundle:e,theme:t})=>e?(0,Dt.HK)(t,"colors.discovery.body.black.description"):(0,Dt.HK)(t,"colors.discovery.body.white.description")}; ${({shouldOverrideDirectoryBundle:e,theme:t})=>e&&String((0,Dt._o)(t,"color","colors.consumption.body.inverted.body-deemphasized"))} `,vn=(0,Pt.Ay)(Ot.A).withConfig({displayName:"AppRedirectButton"})` margin-bottom: ${(0,Dt.Kq)(3)}; bottom: ${`-${parseFloat((0,Dt.Kq)(7))}rem`}; `,Cn=e=>{const{appStoreRedirectUri:t=null,desktopBannerImg404:n=null,mobileBannerImg404:i=null,dangerousDek:a,dangerousHed:r,buttonLabel:s=null}=e,[l,d]=o.useState(""),[c,m]=o.useState((0,cn.Zm)()?n:i);o.useEffect(()=>{!(0,cn.Zm)()&&t&&(d((e=>{const{appleStoreAppUri:t,playStoreAppUri:n}=e||{},o=(0,cn.ox)();return o&&t?t:!o&&n?n:""})(t)),m(i))},[t,i]);const u=o.createElement(bn,{isInverted:!1},o.createElement(fn,{showHeaderOnTop:!0,isInverted:!1},r&&o.createElement(wn,{shouldDecorateHeader:!1,shouldOverrideTypeToken:!0,dangerouslySetInnerHTML:{__html:r}}),a&&o.createElement($n,{isDestinationBundle:!1,isDirectoryBundle:!1,dangerouslySetInnerHTML:{__html:(0,cn.Zm)()?a:"Discover the latest posts from your favorite contributors, shop like a Vogue editor and connect with fashion enthusiasts—all in
the Vogue app."},showHeaderOnTop:!0,isInverted:!1,shouldAddBottomSpacing:!1}),l&&o.createElement(vn,{inputKind:"link",onClickHandler:()=>(()=>{const e={type:"click",label:s,subject:"custom_device_error_content",placement:"middle"};(0,Ye.kg)(e),window.open(l,"_self")})(),key:"app-store-redirect",dataAttrs:{"data-test-id":"app-store-redirect-button"},label:s,shouldUseFullWidth:!0})));return o.createElement(o.Fragment,null,u,o.createElement(hn,{"data-testid":"CustomError",isFullBleedForXXXL:!0,isInverted:!1},c&&o.createElement(yn,{lede:c,hasTopMargin:!1})))};const kn=class extends Qe{constructor(){super(...arguments),this.name="custom-device-error-content-plugin"}boot(){this.pluginSystem.registerComponent({name:"CustomDeviceErrorContent",component:Cn,type:Je.Error,dataProcessor:{fetchers:[],transformer:"ErrorContentTransformer"}})}},xn=(0,Pt.Ay)(mn.c7).withConfig({displayName:"FallbackWrapper"})` display: flex; justify-content: center; border-bottom: 0.5px dotted; padding: 0.5rem; `,En=({message:e,className:t})=>{const n=e||"Plugin component is not configured";return o.createElement(xn,{className:t},o.createElement(mn.vm,null,n))};const An=class extends Qe{constructor(){super(...arguments),this.name="fallback-plugin"}boot(){this.pluginSystem.registerComponent({name:"fallback",component:En,type:Je.Fallback})}};var Sn=n(91706);const Ln=class extends Qe{constructor(){super(...arguments),this.name="most-recent-content-plugin"}boot(){this.pluginSystem.registerComponent({name:"MostRecentContent",component:Sn.A,type:Je.Recommendation,dataProcessor:{fetchers:["MostRecentContentFetcher"],transformer:"MostRecentContentTransformer"}})}};var Tn=n(64836);const Nn=class extends Qe{constructor(){super(...arguments),this.name="recirc-list-plugin"}boot(){this.pluginSystem.registerComponent({name:"RecircList",component:Tn.A,type:Je.Recommendation,dataProcessor:{fetchers:["RecircListFetcher"],transformer:"RecircListTransformer"}})}};var Hn=n(40681);const In=class extends Qe{constructor(){super(...arguments),this.name="recirc-most-popular-plugin"}boot(){this.pluginSystem.registerComponent({name:"RecircMostPopular",component:Hn.A,type:Je.Recommendation,dataProcessor:{fetchers:["GetMostPopularContentFetcher"],transformer:"MostPopularContentTransformer"}})}};var Bn=n(91668);const On=(0,Pt.Ay)(ot.A).withConfig({displayName:"BasePageSiteFooterRow"})` background-color: ${(0,Dt.HK)("colors.foundation.footer.bg")}; ${({noFooterMargin:e})=>e&&"margin-top: 0;"} ${({hasMargins:e,noFooterMargin:t})=>e&&!t&&`margin-top: ${(0,Dt.Kq)(6)};`} `,_n=(0,Pt.Ay)(At.A.WithMargins).withConfig({displayName:"BasePageSiteFooterRowGrid"})` ${Vt.E} { grid-column: 1 / -1; } `,Kn=({hasFooterMargins:e=!0,fullPageTheme:t="standard"})=>o.createElement(On,{hasMargins:e,noFooterMargin:"inverted"===t},o.createElement(_n,null,o.createElement(Bn.A,null)));const Pn=class extends Qe{constructor(){super(...arguments),this.name="site-footer-plugin"}boot(){this.pluginSystem.registerComponent({name:"SiteFooter",component:Kn,type:Je.Footer})}};var Dn=n(46468);const qn=class extends Qe{constructor(){super(...arguments),this.name="stacked-navigation-plugin"}boot(){this.pluginSystem.registerComponent({name:"StackedNavigation",component:Dn.A,type:Je.Navigation,dataProcessor:{fetchers:[],transformer:"StackedNavigationTransformer"}})}};var Mn=n(11025);const Rn=({children:e,chunks:t,...n})=>{const{"data-testid":i,stylesConfig:a}=n;return o.createElement(gt.qk,{"data-testid":i,stylesConfig:a},o.createElement(Mn.A,null,e))};const Fn=class extends Qe{constructor(){super(...arguments),this.name="sticky-rail-plugin"}boot(){this.pluginSystem.registerComponent({name:"StickyRail",component:Rn,type:Je.RailWrapper})}};var Un=n(6337),Vn=n(29752);const Gn=e=>!!e?.items?.length,Wn=(e,t)=>(t&&t[0])===e,jn=({container:e,multiPackageValues:t})=>{const{additionalProps:n,dataJourneyHook:i}=t,{hasNoTopBottomMarginOnMobile:a,hasNoBottomMargin:r,hasConsistentSpacing:s,shouldEnableBundleComponentAnalytics:l}=n;return Gn(e)?o.createElement(Un.A,{dataJourneyHook:i,hasNoBottomMargin:r,hasNoTopBottomMarginOnMobile:a,hasConsistentSpacing:s},o.createElement(Vn.A,{...e,shouldEnableBundleComponentAnalytics:l,hasNoTopBottomMarginOnMobile:a,href:"/video",inputKind:"link"})):null};const zn=class extends Qe{constructor(){super(...arguments),this.name="summary-carousel-plugin"}boot(){this.pluginSystem.registerComponent({name:"SummaryCarousel",component:jn,type:Je.Container,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}},Yn=()=>o.createElement(ft.Rv,null);const Xn=class extends Qe{constructor(){super(...arguments),this.name="ticker-plugin"}boot(){this.pluginSystem.registerComponent({name:"Ticker",component:Yn,type:Je.ConsumerMarketingUnit})}};var Zn=n(22043);const Jn=({container:e,multiPackageValues:t})=>{const{additionalProps:n,dataJourneyHook:i}=t,{hasMarginTopMultiPackageRow:a,hasMediumMargin:r,hasNoBottomMargin:s,hasNoTopBottomMarginOnMobile:l}=n;return o.createElement(Un.A,{className:"verso-bundle-cne-embed",dataJourneyHook:i,hasMarginTopMultiPackageRow:a,hasMediumMargin:r,hasNoBottomMargin:e.isSpecialTheme&&s,hasNoTopBottomMarginOnMobile:l},o.createElement(Zn.A,{...e,shouldHaveTeaser:!0}))};const Qn=class extends Qe{constructor(){super(...arguments),this.name="verso-cne-video"}boot(){this.pluginSystem.registerComponent({name:"VersoCNEVideo",component:Jn,type:Je.Container,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}};var eo=n(97737);const to=({container:e,multiPackageValues:t})=>{const{additionalProps:n,dataJourneyHook:i,isInvertedTheme:a}=t,{hasMarginTopMultiPackageRow:r,hasMediumMargin:s,shouldShowAdsInMultiPackageBody:l,shouldUseGridForEmbed:d,shouldUseJumpLinksSectionStyleForEmbed:c=!1}=n;return o.createElement(Un.A,{className:"verso-embed-row",dataJourneyHook:i,hasMarginTopMultiPackageRow:r,hasMediumMargin:s,isInvertedTheme:a},(0,eo.XB)(e,{shouldShowAdsInMultiPackageBody:l,shouldUseGridForEmbed:d,shouldUseJumpLinksSectionStyleForEmbed:c}))};const no=class extends Qe{constructor(){super(...arguments),this.name="verso-embed-plugin"}boot(){this.pluginSystem.registerComponent({name:"VersoEmbed",component:to,type:Je.Container,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}};var oo=n(57926);const io=({container:e,multiPackageValues:t})=>{const{additionalProps:n,dataJourneyHook:i,minimalSpacingConfig:a,bundleProps:r}=t,{hasReducedMargin:s,lowestHierarchy:l,hasNoTopBottomMarginOnMobile:d,shouldPreferCollectionGrid:c,hasVersoFeaturesIncreasedVerticalPaddingTop:m,hasMarginBottomMultiPackageRow:u,hasMarginTopMultiPackageRow:p,hasVersoFeaturesIncreasedVerticalPadding:g}=n,{hasVersoFeaturesReducedMargin:h,shouldUseCustomMargin:y}=a;return Gn(e)?o.createElement(Un.A,{dataJourneyHook:i,hasNoBottomMargin:!0,hasNoTopMargin:!!h,hasMarginBottomMultiPackageRow:u,hasMarginTopMultiPackageRow:p,hasNoTopBottomMarginOnMobile:d},o.createElement(oo.A,{container:e,hasIncreasedVerticalPadding:g,hasIncreasedVerticalPaddingTop:m,hasMinimalVerticalSpacing:h,lowestHierarchy:r.bundle.isDestinationBundle?l:"",shouldPreferCollectionGrid:c,shouldUseAdInCollectionGrid:r.featureFlags.shouldUseAdInCollectionGrid,isDestinationBundle:r.bundle.isDestinationBundle,hasNoTopBottomMarginOnMobile:d,hasReducedMargin:s,shouldUseCustomMargin:y})):null};const ao=class extends Qe{constructor(){super(...arguments),this.name="verso-feature-plugin"}boot(){this.pluginSystem.registerComponent({name:"VersoFeatures",component:io,type:Je.Container,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}},ro=({container:e,multiPackageValues:t})=>{const{additionalProps:n,dataJourneyHook:i,minimalSpacingConfig:a,bundleProps:r}=t,{hasReducedMargin:s,lowestHierarchy:l,hasNoTopBottomMarginOnMobile:d,shouldPreferCollectionGrid:c,hasVersoFeaturesIncreasedVerticalPaddingTop:m,hasMarginBottomMultiPackageRow:u,hasMarginTopMultiPackageRow:p,hasVersoFeaturesIncreasedVerticalPadding:g}=n,{hasVersoFeaturesReducedMargin:h,shouldUseCustomMargin:y}=a;return Gn(e)?o.createElement(Un.A,{dataJourneyHook:i,hasNoBottomMargin:!0,hasNoTopMargin:!!h,hasMarginBottomMultiPackageRow:u,hasMarginTopMultiPackageRow:p,hasNoTopBottomMarginOnMobile:d},o.createElement(oo.A,{container:e,hasIncreasedVerticalPadding:g,hasIncreasedVerticalPaddingTop:m,hasMinimalVerticalSpacing:h,lowestHierarchy:r.bundle.isDestinationBundle?l:"",shouldPreferCollectionGrid:c,shouldUseAdInCollectionGrid:r.featureFlags.shouldUseAdInCollectionGrid,isDestinationBundle:r.bundle.isDestinationBundle,summaryCollageVariation:"RowsWithDekAndItemsBelow",hasNoTopBottomMarginOnMobile:d,hasReducedMargin:s,shouldUseCustomMargin:y})):null};const so=class extends Qe{constructor(){super(...arguments),this.name="verso-features-rows-plugin"}boot(){this.pluginSystem.registerComponent({name:"VersoFeaturesRows",component:ro,type:Je.Container,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}};var lo=n(60156);const co=({container:e,multiPackageValues:t})=>{const{additionalProps:n,dataJourneyHook:i,hasConsistentSpacing:a,minimalSpacingConfig:r,bundleProps:s}=t,{hasCarouselSliderPagination:l,hasPlpFilterableContainerBackgroundColor:d,ProductListingCarouselContainersData:c}=n,{hasNoBottomMargin:m,hasNoTopMargin:u}=r,p=s.config?.account?.bookmark,g=p?.enableCardLevelBookmark||!1,h=s.config?.commenting?.enableCommentsCount;return o.createElement(Un.A,{dataJourneyHook:i,className:lt()({"homepage__plp-filterable-row":d&&!e?.isGrid}),hasNoTopMargin:!!u,hasNoBottomMargin:!!m,hasIncreasedVerticalPadding:!0,hasConsistentSpacing:a},o.createElement(lo.A,{...e,hasCarouselSliderPagination:l,isFirstProductListingContainer:Wn(e,c)&&!s.bundle.hasDefaultAffiliateDisclaimer,affiliateDisclaimer:s.bundle.affiliateDisclaimer,showDisclaimer:s.bundle.showDisclaimer,shouldEnableBookmarkDrawers:s.featureFlags.enableBookmarkDrawers,shouldEnableCardLevelBookmark:g,shouldEnableCommentsCount:h}))};const mo=class extends Qe{constructor(){super(...arguments),this.name="verso-filterable-summary-list-plugin"}boot(){this.pluginSystem.registerComponent({name:"VersoFilterableSummaryList",component:co,type:Je.Container,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}};var uo=n(58447);const po=({container:e,multiPackageValues:t})=>{const{additionalProps:n}=t,{hasMarginBottomMultiPackageRow:i,hasMarginTopMultiPackageRow:a}=n;return Gn(e)?o.createElement(Un.A,{className:"verso-best-stories-package",hasMarginBottomMultiPackageRow:i,hasMarginTopMultiPackageRow:a},o.createElement(uo.A,{...e})):null};const go=class extends Qe{constructor(){super(...arguments),this.name="verso-hero-curated-feature"}boot(){this.pluginSystem.registerComponent({name:"VersoHeroCuratedFeature",component:po,type:Je.Container,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}};var ho=n(72147);const yo=({container:e,multiPackageValues:t,componentConfigOverride:n,shouldUseSmartItem:i})=>{const{additionalProps:a,dataJourneyHook:r,minimalSpacingConfig:s}=t,{hasRelatedContainerBackgroundColor:l,hasMarginBottomMultiPackageRow:d,hasMarginTopMultiPackageRow:c,nativeTrendingPosition:m}=a,{hasMediumMargin:u,hasNoBottomMargin:p}=s;return Gn(e)?o.createElement(Un.A,{dataJourneyHook:r,className:lt()({"homepage__related-row":l,"summary-collection-row":!0}),hasMarginBottomMultiPackageRow:d,hasMarginTopMultiPackageRow:c,hasNoBottomMargin:p,hasMediumMargin:u},o.createElement(ho.A,{...e,hasBackgroundColor:l,nativeTrendingPosition:m,shouldTrackSnowplowRecircEvent:!0,componentConfigOverride:n,shouldUseSmartItem:i})):null};const bo=class extends Qe{constructor(){super(...arguments),this.name="verso-related-plugin"}boot(){this.pluginSystem.registerComponent({name:"VersoRelated",component:yo,type:Je.Container,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}};var fo=n(56857),wo=n(89085);const $o=Pt.Ay.div.withConfig({displayName:"SubTopicDiscoveryWrapper"})` ${(0,wo.universalGridCore)(!0)} ${(0,Rt.aU)("padding")} margin: 0 auto; width: 100%; max-width: ${qt.LO.xxl}; ${(0,Dt.H4)(qt.LO.lg)} { padding-right: var(--grid-margin); padding-left: var(--grid-margin); } `,vo=({container:e,multiPackageValues:t})=>{const{additionalProps:n,dataJourneyHook:i}=t,{hasMarginBottomMultiPackageRow:a,hasMarginTopMultiPackageRow:r}=n;return Gn(e)?o.createElement(Un.A,{className:"verso-subtopic-discovery-row",hasMarginBottomMultiPackageRow:a,hasMarginTopMultiPackageRow:r,dataJourneyHook:i},o.createElement($o,null,o.createElement(fo.A,{...e}))):null};const Co=class extends Qe{constructor(){super(...arguments),this.name="verso-subtopics-plugin"}boot(){this.pluginSystem.registerComponent({name:"VersoSubtopics",component:vo,type:Je.Container,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}};var ko=n(13465),xo=n(67275);const Eo=({children:e,className:t,hasEvenSpacingMultiPackageRow:n,hasMarginBottomMultiPackageRow:i,hasMarginTopMultiPackageRow:a,hasNoTopBottomMarginOnMobile:r,multiPackageCustomClassName:s,shouldAddHjIgnoreAttribute:l})=>(o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(Zt.G.RENDER,{name:"MultiPackages"})},[]),o.createElement(xo.Lz,{customClass:s,className:lt()("multi-packages"+(s?` ${s}`:""),t),hasNoTopBottomMarginOnMobile:r,hasMarginBottomMultiPackageRow:i,hasMarginTopMultiPackageRow:a,hasEvenSpacingMultiPackageRow:n,"data-hj-ignore-attributes":l?"":null},e));Eo.displayName="DynamicMultiPackages",Eo.propTypes={children:Nt().node,className:Nt().string,hasEvenSpacingMultiPackageRow:Nt().bool,hasMarginBottomMultiPackageRow:Nt().bool,hasMarginTopMultiPackageRow:Nt().bool,hasNoTopBottomMarginOnMobile:Nt().bool,multiPackageCustomClassName:Nt().string,shouldAddHjIgnoreAttribute:Nt().bool};const Ao=Eo,So=(0,ko.y)(Ao,"MultiPackages");const Lo=class extends Qe{constructor(){super(...arguments),this.name="multi-package-wrapper-plugin"}boot(){this.pluginSystem.registerComponent({name:"MultiPackageWrapper",component:So,type:Je.MultiPackagesWrapper,dataProcessor:{fetchers:[],transformer:"MultiPackageTransformer"}})}},To=`\n ${(0,Rt.VO)()}\n ${(0,Rt.aU)("padding")}\n\n margin: 0 auto;\n width: 100%;\n max-width: ${qt.LO.xxl};\n`,No=Pt.Ay.div.withConfig({displayName:"TickerWrapper"})` ${({isInvertedTheme:e})=>e?`\n ${(0,Rt.VO)()}\n ${(0,Rt.aU)("padding",!0)}`:`${To}`} `,Ho=({container:e,multiPackageValues:t})=>{const{additionalProps:n,minimalSpacingConfig:i,bundleProps:a}=t;return o.createElement("div",{className:lt()("ticker-view",{"ticker-view--has-special-theme":n.hasTickerSpecialTheme})},o.createElement(No,null,o.createElement(bt.A,{position:"cm-ticker"})),(0,eo.Uz)(1,a.bundle.isInvertedTheme,e,i))};const Io=class extends Qe{constructor(){super(...arguments),this.name="verso-ticker-plugin"}boot(){this.pluginSystem.registerComponent({name:"VersoTicker",component:Ho,type:Je.ConsumerMarketingUnit,dataProcessor:{fetchers:["GetBundleFetcher","GetRelatedFetcher"],transformer:"SharedBundleContainerTransformer"}})}};var Bo=n(74200),Oo=n(41338),_o=n(94631);const Ko=e=>{o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(Zt.G.RENDER,{name:"DynamicHomePage"})},[]);const{attributes:t,backgroundColorSettingForNewsletter:n,bundleProps:i,className:a,isPaddingRequired:r,dispatch:s,hasBackground:l=!1,hasFullBleedBackground:d=!1,hideErrorTextPadding:c=!1,isNewsletterDisclaimerCenterAligned:m=!1,shouldHideSidePadding:u=!1,fullPageTheme:p="standard",navigation:{hasChannelNavigation:g},shouldHidePadding:h,shouldHidePaddingBottom:y=!1,shouldShowFooterAdPadding:b=!1,shouldOverrideColorToken:f=!1,hasTopStory:w=!1,hasEvenSpacing:$=!1,shouldHideAds:v=!1,children:C,featureFlags:k,hasVersoFeaturesReducedMargin:x,tickerMarginTopType:E,hasReducedMargin:A,hasConsistentSpacing:S}=e,{isSponsored:L,seoHiddenHeader:T,sponsoredContentHeaderProps:N={}}=i??{};let H=a;if(H=r&&H?H.replace("ad--mid-content","ad--mid-content-with-padding"):a,k.excludedParams&&"undefined"!=typeof URLSearchParams){const e=new URLSearchParams(window.location.search);k.excludedParams.forEach(t=>e.delete(t));const t=""!==e.toString()?`${window.location.pathname}?${e.toString()}`:window.location.pathname;window.history.replaceState({},document.title,t)}return s({type:"SET_KEY",key:"isHomepage",value:!0}),o.createElement(_o.N0,{...t,className:lt()("homepage",H,p),additionalNavigation:g?o.createElement(Bo.A,null):null,fullPageTheme:p,hasBackground:l,hasFullBleedBackground:d,hideHeader:g||w,hideErrorTextPadding:c,isNewsletterDisclaimerCenterAligned:m,shouldHideSidePadding:u,shouldHidePadding:h||w,shouldOverrideColorToken:f,backgroundColorSettingForNewsletter:n,shouldHidePaddingBottom:y,shouldShowFooterAdPadding:b,isHeroAdVisible:!w,hasEvenSpacing:$,shouldHideAds:v,shouldScrollToTopStory:w},L&&o.createElement(Oo.A,{...N,className:"light-theme"}),T&&o.createElement(_o.WV,null,T),o.createElement(So,{hasVersoFeaturesReducedMargin:x,tickerMarginTopType:E,hasReducedMargin:A,hasEvenSpacingMultiPackageRow:$,hasConsistentSpacing:S,bundleProps:e},C))};Ko.propTypes={attributes:Nt().object,backgroundColorSettingForNewsletter:Nt().string,bundleProps:Nt().shape({isSponsored:Nt().bool,seoHiddenHeader:Nt().string,sponsoredContentHeaderProps:Nt().object}),bundleTitle:Nt().string,channelFilter:Nt().string,channelItems:Nt().shape({list:Nt().array,searchUrl:Nt().string}),channelItemsTotal:Nt().number,children:Nt().node,className:Nt().string,dangerousBundleDek:Nt().string,dispatch:Nt().func,featureFlags:Nt().object,featureValue:Nt().object,fullPageTheme:Nt().oneOf(["standard","inverted"]),hasBackground:Nt().bool,hasConsistentSpacing:Nt().bool,hasDisclaimerBackground:Nt().bool,hasDisclaimerBorderBottom:Nt().bool,hasEvenSpacing:Nt().bool,hasFullBleedBackground:Nt().bool,hasReducedMargin:Nt().bool,hasTopStory:Nt().bool,hasVersoFeaturesReducedMargin:Nt().bool,headerIcon:Nt().object,hideErrorTextPadding:Nt().bool,isNewsletterDisclaimerCenterAligned:Nt().bool,isPaddingRequired:Nt().bool,lede:Nt().object,navigation:Nt().shape({subchannelLinks:Nt().arrayOf(Nt().object),hasChannelNavigation:Nt().bool}).isRequired,newsletter:Nt().object,shouldCenterBundleBodyContent:Nt().bool,shouldHideAds:Nt().bool,shouldHidePadding:Nt().bool,shouldHidePaddingBottom:Nt().bool,shouldHideSidePadding:Nt().bool,shouldOverrideColorToken:Nt().bool,shouldShowChannelFilter:Nt().bool,shouldShowFooterAdPadding:Nt().bool,shouldUseBundleHeader:Nt().bool,shouldUseSectionTitle:Nt().bool,showBundleBody:Nt().bool,showSearchFilter:Nt().bool,showSubChannelHed:Nt().bool,spacingAboveAd:Nt().number,tickerMarginTopType:Nt().oneOf(["small","none","large"])},Ko.displayName="DynamicHomePage";const Po=(0,w.M3)(Ko,{keysToPluck:["channelFilter","channelItems","channelItemsTotal","featureFlags","navigation","newsletter","hasTopStory"]}),Do=(0,ko.y)(Po,"HomePage"),qo=({children:e,className:t,multiPackageValues:n})=>{const{bundleProps:i}=n;return o.createElement(Do,{bundleProps:{isSponsored:i.bundle.isSponsored,seoHiddenHeader:i.bundle.seoHiddenHeader,sponsoredContentHeaderProps:i.bundle.sponsoredContentHeaderProps},className:t},e)};const Mo=class extends Qe{constructor(){super(...arguments),this.name="home-page-wrapper-plugin"}boot(){this.pluginSystem.registerComponent({name:"HomePageWrapper",component:qo,type:Je.PageWrapper,dataProcessor:{fetchers:[],transformer:"HomePageTransformer"}})}},Ro=()=>o.createElement(dt.Z,{group:"ads"},o.createElement(Ft.UU,{position:"out-of-page"}),o.createElement(Ft.UU,{position:"outstream"}),o.createElement(Ft.UU,{position:"overlay"}));const Fo=class extends Qe{constructor(){super(...arguments),this.name="base-ad-plugin"}boot(){this.pluginSystem.registerComponent({name:"BaseAd",component:Ro,type:Je.Ad})}};var Uo=n(9527),Vo=n(7760),Go=n(33735),Wo=n(46511),jo=n(85152);const zo=({hasRiser:e})=>o.createElement(Uo.A,null,o.createElement(ft.RJ,null),o.createElement(dt.Z,{group:"paywall"},o.createElement(Go.A,null)),o.createElement(Wo.A,null),o.createElement(Vo.A,null),o.createElement(jo.A,null),e&&o.createElement(bt.A,{position:"cm-riser"}));const Yo=class extends Qe{constructor(){super(...arguments),this.name="persistent-bottom-paywall-plugin"}boot(){this.pluginSystem.registerComponent({name:"PersistentBottomPaywall",component:zo,type:Je.Paywall,dataProcessor:{fetchers:[],transformer:"FeatureFlagsTransformer"}})}};var Xo=n(14935);const Zo=({showBookmark:e=!1})=>e?o.createElement(Xo.A,null):null;const Jo=class extends Qe{constructor(){super(...arguments),this.name="sign-in-modal-plugin"}boot(){this.pluginSystem.registerComponent({name:"SignInModal",component:Zo,type:Je.SignInModal,dataProcessor:{fetchers:["GetReviewFetcher","GetRelatedContentFetcher","GetMostPopularContentFetcher"],transformer:"SignInModalTransformer"}})}},Qo=({multiPackageValues:e})=>{const{additionalProps:t,dataJourneyHook:n,minimalSpacingConfig:i}=e,{hasMediumMargin:a,hasReducedMargin:r,hasNoTopBottomMarginOnMobile:s,hasConsistentSpacing:l}=i;return t.shouldHideAds?null:o.createElement(Un.A,{dataJourneyHook:n,className:"homepage__native-ad",hasReducedMargin:r,hasMediumMargin:a,hasNoTopBottomMarginOnMobile:s,hasConsistentSpacing:l,isNativeAd:!0},o.createElement(dt.Z,{group:"ads"},o.createElement(nt.A,{position:"promo"})))};const ei=class extends Qe{constructor(){super(...arguments),this.name="verso-native-ad-plugin"}boot(){this.pluginSystem.registerComponent({name:"VersoNativeAd",component:Qo,type:Je.Ad,dataProcessor:{fetchers:["GetBundleFetcher"],transformer:"VersoNativeTransformer"}})}};var ti=n(38798),ni=n(37384),oi=n(70251),ii=n(29484),ai=n(60162),ri=n(76896),si=n(74148),li=n(5344);function di(e=4){return Number(Math.random().toFixed(e))}function ci(e){if(e){const t=/video\/(.*)\.js/,n=e.match(t);if(n&&n[1])return n[1]}return null}function mi(e,t,n={}){const{formatMessage:o,translations:i,discountPercentage:a}=n;if(t){const n="function"==typeof o&&i?function(e,t,n){return"number"!=typeof n||isNaN(n)||n<=0?"":` (${e(t.productOfferDiscountPercentageLabel,{percentage:n})})`}(o,i,a):"";return`${e} ${t}${n}`}return`${e}`}function ui(e){const{formatMessage:t}=(0,Ht.A)();if("product"!==e?.contentType&&"commerce-product"!==e?.contentType||!Array.isArray(e.offers)||!e.offers[0])return"";const n=(0,li.rM)(e.offers[0].currency,e.offers[0].price),o=e.offers[0].comparisonPrice?(0,li.rM)(e.offers[0].currency,e.offers[0].comparisonPrice):null,i=function(e){return"product"===e?.contentType&&Array.isArray(e.offers)&&e.offers[0]?(0,si.uA)(""+e.offers[0].price,""+e.offers[0].comparisonPrice):null}(e);return mi(n,o,{formatMessage:t,translations:ri.A,discountPercentage:i})}var pi=n(10553);const gi="24px",hi="32px",yi="16px",bi=10,fi=Pt.Ay.div.withConfig({displayName:"StoryContainer"})` display: block; position: relative; margin: 0 auto; background-color: ${(0,Dt.HK)("colors.interactive.base.black")}; ${({isProduct:e,theme:t})=>e&&`\n &&& {\n background-color: ${(0,Dt.HK)(t,"colors.discovery.body.light.background")};\n }\n `} width: 100vw; height: 100%; ${({isRecirculationSlide:e})=>e&&"&&& {\n overflow: hidden;\n background-color: inherit;\n @media (min-width: 480px) {\n background-color: black;\n }\n }\n "}; ${({centerContent:e})=>e&&"\n align-items: center;\n justify-content: center;\n\n > span.responsive-asset {\n position: absolute; top: 50%; transform: translateY(-50%);\n width: 100%;\n }\n "}; @media (min-width: 480px) { ${({width:e,height:t})=>`\n border-radius: ${yi};\n width: ${e}px;\n height: ${t}px;`}; } .responsive-asset { @media (min-width: 480px) { border-radius: ${yi}; } &.productLandscape, &.productSquare { border-radius: 0; } &.productPortrait { border-radius: ${yi} ${yi} 0 0; } &&& { figure.cne-video-embed { display: block; border-radius: ${yi}; width: 100%; max-width: inherit; /* reset max-width in cnevideoembed component */ height: 100%; overflow: hidden; .video-container { width: 100%; height: 100%; } } } img, .responsive-clip { width: 100%; height: 100%; object-fit: cover; } } `,wi=Pt.Ay.div.withConfig({displayName:"StoryHeader"})` position: absolute; top: 0; left: 0; z-index: ${bi}; background: linear-gradient( 0deg, rgba(80, 80, 80, 0) 19.64%, rgba(0, 0, 0, 0.4) 79.47% ); ${({isRecirculationSlide:e})=>e&&"background: none;"}; width: 100%; height: 200px; text-align: center; @media (min-width: 480px) { border-radius: ${yi}; } h1 { position: absolute; top: calc((${yi} * 2) + 3px); right: calc((${yi} * 2) + ${gi}); left: ${yi}; margin: 0; overflow: hidden; text-align: left; text-overflow: ellipsis; line-height: 20px; white-space: nowrap; color: ${(0,Dt.HK)("colors.interactive.base.white")}; ${({theme:e})=>(0,Dt.Gg)(e,"typography.definitions.discovery.hed-bulletin-secondary")}; font-size: 16px; } h4 { display: block; position: relative; margin-top: ${yi}; margin-bottom: ${gi}; padding-top: 4px; height: 24px; color: ${(0,Dt.HK)("colors.interactive.base.white")}; ${({theme:e})=>(0,Dt.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")}; } `,$i=(0,Pt.Ay)(pi.A).withConfig({displayName:"CNEVideoEmbedWrapper"})` display: none; margin: 0; padding: 0; width: 100%; max-width: inherit; /* reset max-width in cnevideoembed component */ height: 100%; object-fit: cover; ${({showVideo:e})=>e&&"display: block;"} iframe { width: 100%; height: 100%; @media (min-width: 480px) { border-radius: 12px; } } `,vi=Pt.Ay.div.withConfig({displayName:"SlideInfoWrapper"})` position: absolute; bottom: 20px; z-index: ${20}; outline: none; padding: ${yi}; width: 100%; line-height: 1; span { display: block; border-radius: ${yi}; background: rgba(0, 0, 0, 0.5); cursor: pointer; padding: ${yi}; width: 100%; text-align: center; text-decoration: none; box-sizing: border-box; backdrop-filter: blur(10px); p.title { display: -webkit-box; /* stylelint-disable-line */ -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin: 0 0 4px 0; overflow: hidden; line-height: 1; color: ${(0,Dt.HK)("colors.interactive.base.white")}; ${({theme:e})=>(0,Dt.Gg)(e,"typography.definitions.discovery.hed-bulletin-primary")}; font-size: ${yi}; } p.cta { margin: 0; text-transform: uppercase; color: ${(0,Dt.HK)("colors.interactive.base.white")}; font-size: 12px; font-weight: 600; ${({theme:e})=>(0,Dt.Gg)(e,"typography.definitions.utility.button-utility")}; a { text-decoration: none; pointer-events: none; color: ${(0,Dt.HK)("colors.interactive.base.white")}; } &.ctaProduct { padding: 1px ${gi}; ${({theme:e})=>(0,Dt.Gg)(e,"typography.definitions.commerce.call-to-action")}; color: ${(0,Dt.HK)("colors.interactive.base.light")}; a { display: inline-block; border: 1px solid white; padding: 6px ${gi}; } } } &:hover { p.cta { text-decoration: underline; &.ctaProduct { text-decoration: none; a { background-color: white; color: black; } } } } } `,Ci=Pt.Ay.h2.withConfig({displayName:"SlideTitle"})` position: absolute; top: 63px; right: calc((${yi} * 2) + ${gi}); left: ${yi}; z-index: ${bi}; margin: 0; display: -webkit-box; /* stylelint-disable-line */ -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-align: left; color: ${(0,Dt.HK)("colors.interactive.base.white")}; font-size: ${yi}; ${({theme:e})=>(0,Dt.Gg)(e,"typography.definitions.discovery.description-core")}; `,ki=Pt.Ay.div.withConfig({displayName:"SlideCredits"})` display: grid; position: absolute; right: 0; bottom: 0; left: 0; align-items: end; justify-content: start; z-index: ${bi}; background: linear-gradient( 180deg, rgba(80, 80, 80, 0) 19.64%, rgba(0, 0, 0, 0.4) 79.47% ); height: 140px; ${({liveIndicator:e})=>e&&"justify-content: center;"}; @media (min-width: 480px) { border-radius: ${yi}; } .marquee { display: inline-block; margin: 6px ${yi} 2px ${yi}; overflow: hidden; text-align: left; white-space: nowrap; } `,xi=Pt.Ay.p.withConfig({displayName:"MarqueeText"})` ${({calculatedCreditLenght:e})=>e<0&&"\n animation-name: marquee;\n animation-duration: 10s;\n animation-iteration-count: 1;\n animation-timing-function: linear;\n animation-fill-mode: forwards;\n animation-play-state: play;\n animation-direction: normal;\n animation-delay: 1s;\n "}; ${({shouldPause:e})=>e&&"\n animation-play-state: paused;\n "}; color: rgba( ${(0,Dt.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 0.5 ); ${({theme:e})=>(0,Dt.Gg)(e,"typography.definitions.globalEditorial.accreditation-core")}; /* Make it move */ @keyframes marquee { ${({calculatedCreditLenght:e})=>e<0&&"\n 0% {\n transform: translateX(0);\n }\n\n 100% {\n transform: translateX(calc(-100%));\n }\n "}; } `,Ei=Pt.Ay.div.withConfig({displayName:"ProgressBarContainer"})` display: grid; position: absolute; top: ${yi}; right: ${yi}; left: ${yi}; grid-gap: 5px; grid-template-columns: ${({maxItemVisibile:e})=>e&&`repeat(${e}, 1fr);`}; z-index: ${bi}; height: 3px; > div:nth-child(-n + ${({lowerIndex:e})=>e&&`${e}`}) { display: none; } > div:nth-child( n + ${({upperIndex:e})=>e&&`${e+2}`} ) { display: none; } .iconPrevNext { text-align: center; line-height: 0px; font-size: 0; } .prevIcon { display: ${({showPrevIcon:e})=>e?"block !important":"none !important"}; } .nextIcon { display: ${({showNextIcon:e})=>e?"block !important":"none !important"}; svg { rect { fill: rgba( ${(0,Dt.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 0.6 ); } } } `,Ai=Pt.Ay.div.withConfig({displayName:"ProgressBar"})` position: relative; border-radius: 3px; background-color: rgba( ${(0,Dt.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 0.6 ); cursor: pointer; height: 3px; `,Si=Pt.Ay.div.withConfig({displayName:"ProgressBarActive"})` position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 3px; background-color: ${(0,Dt.HK)("colors.interactive.base.white")}; cursor: pointer; width: ${({width:e})=>e&&`${e}px;`}; height: 3px; `,Li=Pt.Ay.div.withConfig({displayName:"StoryNavigation"})` display: flex; position: absolute; top: 0; align-items: center; justify-content: center; z-index: ${11}; width: 100%; height: 100%; @media (min-width: ${qt.LO.md}) { top: 0; left: calc(-${hi} - ${yi}); margin: 0 auto; width: calc(100% + (${hi} * 2) + (${yi} * 2)); height: 100%; } div { display: flex; align-items: center; justify-content: center; cursor: pointer; width: 50%; height: 100%; font-size: 0; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); @media (min-width: ${qt.LO.md}) { width: ${hi}; height: ${hi}; color: ${(0,Dt.HK)("colors.interactive.base.white")}; &:nth-child(1) { position: absolute; left: 0; .button__icon-container { position: relative; } } &:nth-child(2) { position: absolute; right: 0; .button__icon-container { position: relative; } } } } .adv-visible & { @media (max-width: ${qt.LO.md}) { position: static; div.previousWrapper { position: absolute; top: 25%; left: 0; z-index: ${40}; width: 25%; height: 50%; } div.nextWrapper { position: absolute; top: 25%; right: 0; z-index: ${40}; width: 25%; height: 50%; } } } `,Ti=(0,Pt.Ay)(Ot.A.Primary).withConfig({displayName:"ButtonSlideRight"})` display: flex; justify-content: center; outline: none; border: none; background: none; cursor: pointer; width: ${hi}; height: ${hi}; font-size: 24px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); svg { display: block; rect { fill: ${({theme:e})=>(0,Dt._o)(e,"fill","colors.interactive.base.white")}; } path { ${({theme:e})=>(0,Dt._o)(e,"fill","colors.interactive.base.black")}; } } &:hover { border: unset; background: none; } `,Ni=(0,Pt.Ay)(Ti).withConfig({displayName:"ButtonSlideLeft"})` svg { transform: rotate(180deg); } `,Hi=Pt.Ay.div.withConfig({displayName:"StoryButtons"})` position: absolute; top: 36px; right: ${yi}; z-index: ${12}; ${({isRecirculationSlide:e})=>!e&&`\n @media (min-width: ${qt.LO.md}) {\n top: 0;\n right: calc(-${yi} - ${gi} - 4px);\n }`}; ${({isRecirculationSlide:e})=>e&&`\n top: ${yi};\n right: ${yi};\n `}; .adv-visible & { display: none; } `,Ii=(0,Pt.Ay)(Ot.A.Primary).withConfig({displayName:"ButtonClose"})` border: none; background: none; cursor: pointer; padding: 0; width: ${gi}; height: ${gi}; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); &, &:focus, &:hover { outline: 0; border: unset; background: none; } svg { path, stroke { ${({theme:e})=>(0,Dt._o)(e,"fill","colors.interactive.base.white")}; } } .button-icon { width: ${gi}; height: ${gi}; } ${({isRecirculationSlide:e})=>e&&`\n width: ${yi};\n height: ${yi};\n margin-top: 4px;\n .button-icon {\n width: ${yi};\n height: ${yi};\n }\n `}; `,Bi=(0,Pt.Ay)(Ii).withConfig({displayName:"ButtonPlayPause"})` margin-top: ${gi}; `,Oi=(0,Pt.Ay)(Ii).withConfig({displayName:"ButtonVolume"})` margin-top: ${gi}; `,_i=(0,Pt.Ay)(Ii).withConfig({displayName:"ButtonBack"})` position: absolute; top: ${yi}; left: ${yi}; z-index: ${12}; svg { transform: rotate(180deg); rect { fill: ${({theme:e})=>(0,Dt._o)(e,"fill","colors.interactive.base.white")}; } path { ${({theme:e})=>(0,Dt._o)(e,"fill","colors.interactive.base.white")}; } } `,Ki=Pt.Ay.div.withConfig({displayName:"RecirculationGrid"})` display: flex; position: absolute; top: 70px; flex-wrap: wrap; align-content: flex-start; justify-content: flex-start; z-index: ${20}; padding: 0 ${yi}; width: 100%; height: calc(100% - 70px); overflow-y: scroll; ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background-color: transparent; } ::-webkit-scrollbar-thumb { border: 1px solid transparent; border-radius: 20px; background-clip: content-box; background-color: ${(0,Dt.HK)("colors.interactive.base.deemphasized")}; } ::-webkit-scrollbar-thumb:hover { background-color: ${(0,Dt.HK)("colors.interactive.base.deemphasized")}; } `,Pi=Pt.Ay.a.withConfig({displayName:"RecirculationItem"})` margin: 0 1% ${gi} 1%; width: 31%; max-height: 180px; overflow: hidden; text-align: center; text-decoration: none; .responsive-asset { margin: 0 auto; padding: 0 calc(${yi} / 2); max-width: 130px; height: fit-content; max-height: 130px; img { margin: 3px auto; border: 3px solid transparent; border-radius: 50%; box-shadow: 0 0 0 2px ${({theme:e})=>(0,Dt.HK)(e,"colors.interactive.base.white")}; } } p { ${({theme:e,bubbleFont:t})=>(0,Dt.Gg)(e,t)}; display: -webkit-box; /* stylelint-disable-line */ overflow: hidden; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; text-align: center; color: ${(0,Dt.HK)("colors.interactive.base.white")}; } `,Di=Pt.Ay.div.withConfig({displayName:"ads-wrapper"})` display: flex; position: absolute; top: 0; left: 0; flex-direction: column; justify-content: center; z-index: ${20}; background: #000000; width: 100%; height: 100%; @media (min-width: 480px) { border-radius: ${yi}; } .divAdPlayerPro { @media (min-width: 480px) { border-radius: ${yi}; } /* stylelint-disable-next-line declaration-no-important */ height: 100% !important; > div.orp-player-wrapper { @media (min-width: 480px) { border-radius: ${yi}; } } } .divAdPlayerPro .orp-player-wrapper { /* stylelint-disable-next-line declaration-no-important */ width: 100% !important; /* stylelint-disable-next-line declaration-no-important */ height: 100% !important; } .orp-force-hide-player::before { /* stylelint-disable-next-line declaration-no-important */ background: #000000 !important; } `,qi=Pt.Ay.div.withConfig({displayName:"tracker"})` position: absolute; top: 0; left: 0; visibility: hidden; z-index: 0; width: 100%; height: 100%; `,{useState:Mi,useEffect:Ri,useRef:Fi}=o;let Ui=0,Vi=.1;const Gi=({defaultDuration:e,hasSlidePassed:t,isActive:n,isPaused:i,onGotoClick:a,slide:r})=>{const s=Fi(null),l=Fi(null),[d,c]=Mi(!1);return Ri(()=>{c(!(i||!n)&&!!n)},[n,i]),Ri(()=>{s.current&&(s.current.style.width=t?`${l?.current?.offsetWidth}px`:"0px")},[t,n]),function(e,t){const n=(0,o.useRef)(),i=(0,o.useRef)(),a=(0,o.useRef)(e);(0,o.useEffect)(()=>{a.current=e},[e]),(0,o.useEffect)(()=>!1!==t?(n.current=requestAnimationFrame(function e(t){if(void 0!==i.current&&null!==i.current){const e=t-i.current;a.current(e)}i.current=t,n.current=requestAnimationFrame(e)}),()=>{cancelAnimationFrame(n.current),n.current=null,i.current=null}):()=>{n.current&&(n.current=null),cancelAnimationFrame(n.current),i.current=null},[t])}(t=>{s.current&&l.current&&(Ui=Number((s.current.style.width||"1px").slice(0,s.current.style.width.length-2))||0,Ui>l.current.offsetWidth?c(!1):(Vi=l.current.offsetWidth/((r.duration||e)/t),s.current.style.width=`${Ui+Vi}px`))},d),o.createElement(Ai,{ref:l,onClick:()=>{a(r.index)}},o.createElement(Si,{ref:s}))};Gi.propTypes={defaultDuration:Nt().number,hasSlidePassed:Nt().bool,isActive:Nt().bool,isPaused:Nt().bool,onGotoClick:Nt().func,slide:Nt().shape({index:Nt().number.isRequired,duration:Nt().number}).isRequired},Gi.displayName="StoryProgressBar";const Wi=Gi,ji='',zi=12;let Yi=1,Xi=zi,Zi=!1,Ji=!1,Qi=!1;const ea=({activeSlideIndex:e=0,defaultDuration:t=1e4,isPaused:n=!1,onGotoClick:i=()=>{},items:a=[]})=>{const r=e+1,s=a.length,l=s<=zi?s:zi;if(s>zi&&(Qi=!0),Qi){if(1===r&&(Yi=1,Xi=11,Zi=!1,Ji=l!==s),r===Xi+1){let e=2;Zi=!0;const t=s-r+1;let n=t>4?4:t;5===t?(Ji=!1,n++):t>n?(Ji=!0,e++):Ji=!1,Xi+=n,Yi=Xi-zi+e}if(r===Yi-1&&1!==Yi){let e=2;Ji=!0;const t=Yi-1;let n=t>4?4:t;5===t?(Zi=!1,n++):t>n?(Zi=!0,e++):Zi=!1,Yi-=n,Xi=Yi+zi-e}}return o.createElement(Ei,{columns:a.length,maxItemVisibile:l,lowerIndex:Yi,upperIndex:Xi,showPrevIcon:Zi,showNextIcon:Ji,"data-testid":"story-progress-container"},o.createElement("div",{className:"prevIcon iconPrevNext","data-testid":"story-progress-prev-icon",dangerouslySetInnerHTML:{__html:ji}}),a&&a.map((a,r)=>o.createElement(Wi,{index:r,key:a.index,defaultDuration:t,hasSlidePassed:a.index{const l=aa(null),[d,c]=ra(0),[m,u]=ra(0);sa(()=>{l.current&&(c(l.current.scrollWidth),u(l.current.offsetWidth))},[n]);const{ref:p,entry:g}=(0,na.Wx)({threshold:.2,trackVisibility:!0,delay:100,triggerOnce:!0}),{ref:h,entry:y}=(0,na.Wx)({threshold:.2,trackVisibility:!0,delay:100,triggerOnce:!0});sa(()=>{g?.isIntersecting&&s("impression")},[g]),sa(()=>{if(y?.isIntersecting){const e=r.slideCtaLink?.match(/href="([^"]+)"/);s("CTA",e?e[1]:null)}},[y,s,r.slideCtaLink]);const b=la((e,t,n)=>{e.preventDefault();const o=t.querySelector("a[href]");if(!o)return;const i=o.getAttribute("href"),a=o.getAttribute("target");try{n("CTAlabel",i,o.textContent),a?window.open(i,a):window.location.href=i}catch(e){}},[]);sa(()=>{const e=window?.document?.querySelector(".slideInfoWrapper");if(!e)return()=>{};const t=t=>b(t,e,s);return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}},[s,b]);const f=a?(0,ia.P)("US",r.offers):r.offers,w=f?{...r,offers:f}:r,$=ui(w);return o.createElement(o.Fragment,null,!e&&o.createElement(qi,{ref:p}),r.slideTitle&&o.createElement(Ci,{dangerouslySetInnerHTML:{__html:r.slideTitle}}),"cnevideo"!==r.contentType&&o.createElement(_t.A,{...r.image,isLazy:!t,shouldEnableExternalControl:!0,shouldPause:n,shouldYieldControlOfVideoPlayPause:!0,shouldMute:i,shouldDisableAds:!0,className:da(r)}),!e&&function(e,t,n,i){if("product"!==e.contentType&&"commerce-product"!==e.contentType)return null;const a=e.offers?.[0]?.shortUrl&&i(e.offers[0].shortUrl);return o.createElement(vi,{ref:t,className:"slideInfoWrapper"},o.createElement("span",null,e.slideCtaHeadline&&o.createElement("p",{className:"title",dangerouslySetInnerHTML:{__html:e.slideCtaHeadline}}),a&&o.createElement("p",{className:"cta ctaProduct"},o.createElement("a",{href:i(e.offers[0].shortUrl),target:"_blank",rel:"noopener noreferrer nofollow",dangerouslySetInnerHTML:{__html:n+" "+e.offers[0].sellerName}}))))}(w,h,$,ma),!e&&function(e,t,n){const i=e.slideCtaLink&&n(e.slideCtaLink);return i&&"product"!==e.contentType?o.createElement(vi,{ref:t,className:"slideInfoWrapper"},o.createElement("span",null,e.slideCtaHeadline&&o.createElement("p",{className:"title",dangerouslySetInnerHTML:{__html:e.slideCtaHeadline}}),i&&o.createElement("p",{className:"cta",dangerouslySetInnerHTML:{__html:e.slideCtaLink}}))):null}(r,h,ca),e?null:r.isLive?o.createElement(ki,{liveIndicator:!0},o.createElement(oa.A,{variation:"DiscoveryCard",hasBackground:!0,isDiscovery:!0,shouldEnableAnimation:!0,shouldUseRubricColor:!0})):"product"===r.contentType?o.createElement(ki,null):!r.isLive&&r.dangerousCredit?o.createElement(ki,null,o.createElement("div",{className:"marquee"},o.createElement(xi,{ref:l,shouldPause:n,calculatedCreditLenght:m-d,dangerouslySetInnerHTML:{__html:r.dangerousCredit}}))):null)};ua.propTypes={isAdvVisibile:Nt().bool,isFirstSlide:Nt().bool,isPaused:Nt().bool,shouldMute:Nt().bool,showLocalisedOffers:Nt().bool,slide:Nt().object,trackingHandler:Nt().func},ua.displayName="StorySlide";const pa=ua;var ga=n(80046),ha=n(11118),ya=n(13148),ba=n(29186),fa=n(3711),wa=n(32586),$a=n(69571);const{useState:va,useRef:Ca,useEffect:ka}=o,xa=(0,Ae.Y)(()=>window.sessionStorage),Ea=({closeRecirculation:e,forceNoRecirc:t=!1,isCNEVideo:n=!1,isFirstSlide:i=!0,isLastSlide:a=!1,isPaused:r=!1,onCloseButtonAction:s,onNextClick:l,onPrevClick:d,onTogglePause:c,onToggleVolume:m,shouldMute:u,showRecirculationSLide:p=!1,trackingHandler:g})=>{const h=Object.freeze({LEFT:"left",RIGHT:"right"}),[y,b]=va(!1),f=Ca(null);function w(e){e.cancelable&&e.preventDefault(),e.cancelable&&e.stopPropagation(),clearTimeout(f.current),f.current=setTimeout(()=>{c(!0),b(!0)},200)}function $(e,t){return t.cancelable&&t.stopPropagation(),t.cancelable&&t.preventDefault(),clearTimeout(f.current),y?(c(),void b(!1)):e===h.LEFT?(g("back"),void d()):(g("forward"),void l())}function v(e){return{onMouseUp:t=>$(e,t),onTouchEnd:t=>$(e,t),onTouchStart:e=>w(e),onMouseDown:e=>w(e)}}const C=()=>{if(g("close"),s)s();else{const e=xa.getItem("visual_story_origin");e?(xa.removeItem("visual_story_origin"),window.location.href=e):window.location.href="/"}};return ka(()=>{const e=e=>{switch(e.code){case"Space":c();break;case"ArrowRight":$(h.RIGHT,e);break;case"ArrowLeft":$(h.LEFT,e);break;case"ArrowUp":m(!1);break;case"ArrowDown":m(!0);break;case"Escape":C()}};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),o.createElement("div",{"data-testid":"story-actions-container"},!p&&o.createElement(Li,null,i?o.createElement("div",null):o.createElement("div",{...v(h.LEFT),className:"previousWrapper","data-testid":"story-prev-button story-left-region"},o.createElement(Ni,{label:"Go to previous slide",ariaLabel:"Go to previous slide",btnStyle:"text",ButtonIcon:wa.A,isIconButton:!0,shouldEnableClickTracking:!1})),(!t||!a)&&o.createElement("div",{...v(h.RIGHT),className:"nextWrapper","data-testid":"story-next-button story-right-region"},o.createElement(Ti,{label:"Go to next slide",ariaLabel:"Go to next slide",btnStyle:"text",ButtonIcon:wa.A,isIconButton:!0,shouldEnableClickTracking:!1}))),o.createElement(Hi,{isRecirculationSlide:p},o.createElement(Ii,{isRecirculationSlide:p,label:"Close Visual Story",ariaLabel:"Close Visual Story",btnStyle:"text",ButtonIcon:ga.A,isIconButton:!0,onClickHandler:C,shouldEnableClickTracking:!1,"data-testid":"story-close-button"}),!p&&o.createElement(Bi,{label:"Toggle play on/off",ariaLabel:"Toggle play on/off",btnStyle:"text",ButtonIcon:r?ha.A:ya.A,isIconButton:!0,onClickHandler:()=>{c()},shouldEnableClickTracking:!1,"data-testid":"story-pause-button"}),n&&!p&&o.createElement(Oi,{label:"Toggle sound on/off",ariaLabel:"Toggle sound on/off",btnStyle:"text",ButtonIcon:u?fa.A:ba.A,isIconButton:!0,onClickHandler:()=>{m()},shouldEnableClickTracking:!1,"data-testid":"story-volume-button"})),p&&o.createElement(_i,{ariaLabel:"Back to slides",label:"Back to slides",btnStyle:"text",ButtonIcon:$a.A,isIconButton:!0,onClickHandler:e,shouldEnableClickTracking:!1}))};Ea.propTypes={closeRecirculation:Nt().func,forceNoRecirc:Nt().bool,isCNEVideo:Nt().bool,isFirstSlide:Nt().bool,isLastSlide:Nt().bool,isPaused:Nt().bool,onCloseButtonAction:Nt().func,onNextClick:Nt().func,onPrevClick:Nt().func,onTogglePause:Nt().func,onToggleVolume:Nt().func,shouldMute:Nt().bool,showRecirculationSLide:Nt().bool,trackingHandler:Nt().func},Ea.displayName="StoryActions";const Aa=Ea,Sa=({bubbleFont:e,items:t=[]})=>{const{ref:n}=(0,na.Wx)({threshold:.2,trackVisibility:!0,delay:100,triggerOnce:!0}),i=t.map((t,n)=>t&&t.image&&o.createElement(Pi,{key:n,href:t.url,bubbleFont:e},o.createElement(_t.A,{...t.image,isLazy:!1,shouldYieldControlOfVideoPlayPause:!0,shouldDisableAds:!0}),o.createElement("p",{dangerouslySetInnerHTML:{__html:t.dangerousHed}})));return o.createElement(Ki,{ref:n,className:"recirculationWrapper","data-testid":"story-recirculation-grid"},i)};Sa.propTypes={bubbleFont:Nt().string,items:Nt().array},Sa.displayName="StoryRecirculation";const La=Sa,{useEffect:Ta}=o,Na=({vastParameter:e,vpmute:t=0})=>{Ta(()=>{let n="";void 0!==window.__tcfapi&&window.__tcfapi("getTCData",2,(e,t)=>{t&&(n=e.addtlConsent)});let o="$$RANDOM_10$$";void 0!==window.googletag?.pubads&&void 0!==window.googletag.pubads().getCorrelator&&(o=window.googletag.pubads().getCorrelator());const i=(0,R.getCookie)("CN_xid",""),a=i?i.replace(/-/g,""):"",r=window.location.pathname.replace(/\/+$/,"").split("/").pop(),s=`https://pubads.g.doubleclick.net/gampad/ads?iu=${e}&ad_rule=0&tfcd=0&npa=0&sz=9x16&max_ad_duration=60000&gdfp_req=1&unviewed_position_start=1&correlator=${o}&hl=en&vpos=preroll&output=vast&env=vp&vpmute=${t}&vpa=auto&gdpr=$$GDPR$$&gdpr_consent=$$GDPR_CONSENT$$&plcmt=3&addtl_consent=${n}&ppid=${a}&description_url=$$REFERER$$&url=$$REFERER$$&cust_params=IAB_player_type%3DInterstitial%26ctx_page_slug%3D${r}`;window.adPlayerPro=AdPlayerPro("divAdPlayerPro").setup({placementId:"E4PwNl4FEpNx",muted:!1,autoStart:!0,width:"300",height:"600",type:"inPage",advertising:{tag:[{url:s}]}}),window.adPlayerPro.on("AdVideoComplete",()=>{window.closeVisualStoryAdv(!0)}),window.adPlayerPro.on("AdError",()=>{window.closeVisualStoryAdv()}),window.adPlayerPro.on("AdSkipped",()=>{window.closeVisualStoryAdv()})},[t]);const{ref:n,entry:i}=(0,na.Wx)({threshold:.2,trackVisibility:!0,delay:100,triggerOnce:!0});return Ta(()=>{},[i]),o.createElement(Di,{ref:n,"data-testid":"story-adv-wrapper"},o.createElement("div",{id:"divAdPlayerPro",className:"divAdPlayerPro","data-testid":"story-adv-player"}))};Na.propTypes={vastParameter:Nt().string,vpmute:Nt().number};const Ha=Na,{useState:Ia,useRef:Ba,useEffect:Oa,useMemo:_a}=o,Ka={hideControls:!0,aspectRatio:"9x16"},Pa=[];let Da=1,qa=!1;function Ma(){if(!qa){qa=!0;const e="video::cue {visibility: hidden;}",t=document.createElement("style");t.textContent=e,document.querySelector("#video-container iframe")?.contentDocument?.head?.appendChild(t)}}function Ra(e,t,n){!function(e){const t=(0,o.useRef)(e);(0,o.useEffect)(()=>{t.current=e},[e]),(0,o.useEffect)(()=>{function e(){t.current(!1)}return window.addEventListener("blur",e),()=>{window.removeEventListener("blur",e)}},[])}(o=>{e&&n(!!t||!o)})}const Fa=({appConfig:e={},componentConfig:t={},copilotCode:n="",currentIndex:i=0,dangerousHed:a="",defaultDuration:r=1e4,forceNoRecirc:s=!1,id:d="",isMobileDevice:c=!0,isNoAds:m=!1,items:u=[],onCloseButtonAction:p,onSlideChange:g=()=>{},recirculation:h=[],shouldPauseSlideWhenInActiveWindow:y=!0})=>{const b=l()(e,"tenant.showLocalisedOffers",!1),f=_a(()=>function(e=[],t=1e4){let n=0;return e.map((e,o)=>{let{duration:i}=e;i||("cnevideo"===e.contentType?(i=e.image?.duration??t,e.isLive&&(i=3*t)):i=t),i=Math.min(i,3*t);let a=i+di();return a===n&&(a=i+di(6)),n=a,{...e,index:o,duration:i,calculatedDuration:a}})}(u,r),[u,r]),w=f.length-1,[$,v]=Ia(f[0]),[C,k]=Ia(!1),[x,E]=Ia(!1),[A,S]=Ia(!0),[L,T]=Ia(!1),[N,H]=Ia(c?550:1011),I=Ba(null);I.current=function(e){const t=(0,o.useRef)(null);return window.cns&&(t.current=window.cns.config?.config?.network),null===t.current||void 0===t.current?null:`/${t.current}/conde.verticaldiscovery/${e}`}(n);const B=(e,t,n)=>{let o;switch(e){case"impression":case"forward":case"back":o={type:e,subject:"visual_story",index:$?.index,total_index:w+1},(0,Ye.kg)(o),"forward"!==e&&"back"!==e||(Da=0);break;case"CTA":"product"===$.contentType&&($.component="visual_story_cta",(0,ai.QM)("product-impression",{actionField:null,impressions:[(0,ai.TZ)($,window)]},null,null,0,null,null)),o={type:"impression",subject:"visual_story_cta",index:$?.index,total_index:w+1,items:[{content_url:t}]},(0,Ye.kg)(o);break;case"CTAlabel":"product"===$.contentType&&($.component="visual_story_cta",(0,ai.g1)({window,product:$,index:$.index})),o={type:"click",subject:"visual_story_cta",index:$?.index,total_index:w+1,items:[{content_url:t}],label:n},(0,Ye.kg)(o);break;case"close":case"unmute":case"mute":case"play":case"pause":o={type:e,subject:"visual_story"},(0,Ye.kg)(o),Da=0}},O=e=>{e%5==0&&!Pa.includes(e)&&e<=w&&null!==I.current&&!m&&function(){const{hostname:e}=window.location;return"stg-copilot-app.condenast.io"!==e&&"copilot-app.condenast.io"!==e}()&&(Pa.push(e),k(!0),E(!0),document.getElementsByClassName("StoryContainer")[0].classList.add("adv-visible"))},_=e=>{setTimeout(()=>{window.adPlayerPro.remove(),k(!1),E(!1),document.getElementsByClassName("StoryContainer")[0].classList.remove("adv-visible")},!0===e?2500:0)};Oa(()=>{window.closeVisualStoryAdv=_},[]);const{extractedId:K,fallBackVideo:P}=function(e,t,n){const o=e.find(e=>"cnevideo"===e.contentType)?.image?.scriptUrl,[i,a]=Ia(ci(o));return Oa(()=>{if(t&&(n(t?.index),"cnevideo"===t?.contentType)){const e=ci(t?.image.scriptUrl);t?.image.scriptUrl.includes(i)||a(e)}},[i,n,t]),{extractedId:i,fallBackVideo:o}}(f,$,g);Oa(()=>{const e=f[i];e&&v(e)},[i,u,f]);const D=()=>{C?_():($?.index===w&&(E(!0),T(!0)),v(e=>{if(!e)return f[0];let t=e.index+1||0;return O(t),$?.index===w&&(t=0),f[t]}))};!function(e){Oa(()=>{if(!e&&!document.getElementById("AdPlayerPro")){const e=document.createElement("script");e.id="AdPlayerPro",e.src="https://static.adplayer.pro/player/AdPlayerPro.js",e.async=!0,document.body.appendChild(e)}},[e])}(m),function(e,t,n){const i=(0,o.useRef)(),a=(0,o.useRef)(t),r=(0,o.useRef)(Date.now());(0,o.useEffect)(()=>{i.current=e},[e]),(0,o.useEffect)(()=>{a.current=t},[t]),(0,o.useEffect)(()=>{if(null!==t&&!1===n){r.current=Date.now();const e=setTimeout(function(){i.current()},a.current);return()=>{clearTimeout(e)}}return()=>{}},[t,n]),(0,o.useEffect)(()=>{n&&(a.current-=Date.now()-r.current)},[n])}(()=>{D()},$?.calculatedDuration??null,x),Ra(y,C,E);const q=()=>{const e=document.getElementsByClassName("visual-story-page");if(!e||!e[0])return;let t=Math.min(e[0].clientHeight-64,1011);t<550&&(t=550),H(t)};(0,oi.w)(()=>q()),Oa(()=>{q()},[]);const M=l()(t,"VisualStoryCarousel.settings.bubbleFont")||"typography.definitions.globalEditorial.context-tertiary";return"cnevideo"===$?.contentType&&window.dispatchEvent(new Event("scroll")),o.createElement(fi,{height:Math.round(N),width:Math.round(N/16*9),className:"StoryContainer",isRecirculationSlide:L,isProduct:"product"===$?.contentType,centerContent:"product"===$?.contentType&&"portrait"!==$?.image?.orientation,"data-testid":"story-container"},function(e,t){return o.createElement(wi,{isRecirculationSlide:e,"data-testid":"story-header"},!e&&o.createElement("h1",{"data-testid":"story-title",dangerouslySetInnerHTML:{__html:t}}),e&&o.createElement("h4",{"data-testid":"recirculation-title"},"More Stories"))}(L,a),function(e,t,n,i,a,r){return e?null:o.createElement(ta,{"data-testid":"story-progress",activeSlideIndex:t?.index,defaultDuration:n,isPaused:i,items:a,onGotoClick:r})}(L,$,r,x,f,e=>{v(()=>f[e])}),function(e,t,n,i,a,r,s,l){return e?null:o.createElement(pa,{"data-testid":"story-slide",key:t?.index,isFirstSlide:t?.index===n,isPaused:i,shouldMute:a,slide:t,trackingHandler:r,isAdvVisibile:s,showLocalisedOffers:l})}(L,$,0,x,A,B,C,b),function(e,t,n,i,a,r,s){return e?o.createElement($i,{"data-testid":"cne-video-embed-wrapper",hasCompanion:!1,onVideoLoad:i,showVideo:"cnevideo"===t?.contentType&&!n,shouldAutoplay:!0,shouldDisableAds:!0,shouldEnableExternalControl:!0,shouldPlayContinuously:!1,scriptUrl:a(),shouldPause:"cnevideo"!==t?.contentType||r,shouldMute:"cnevideo"!==t?.contentType||s,videoIdToLoad:e}):null}(K,$,L,Ma,()=>$?.image?.scriptUrl?(0,ii.OE)($?.image.scriptUrl,Ka):P?(0,ii.OE)(P,Ka):null,x,A),function(e,t,n,i){return e&&t?.length?o.createElement(La,{"data-testid":"story-recirculation",items:n(),bubbleFont:i}):null}(L,h,()=>Array.isArray(h)&&h.length?h.filter(e=>e?.id!==d):[],M),function(e,t,n,i,a,r,s,l,d,c,m,u,p,g){return o.createElement(Aa,{"data-testid":"story-actions",closeRecirculation:e,forceNoRecirc:r,isCNEVideo:"cnevideo"===n?.contentType,isFirstSlide:n?.index===i,isLastSlide:n?.index===a,isPaused:s,onCloseButtonAction:t,onNextClick:l,onPrevClick:d,onTogglePause:c,onToggleVolume:m,shouldMute:u,showRecirculationSLide:p,trackingHandler:g})}(()=>{T(!1),v(f[w]),E(!1)},p,$,0,w,s,x,D,()=>{C?_():0!==$?.index&&v(e=>{if(!e)return f[0];const t=e.index-1||0;return f[t]})},e=>{E(!!e||!x),B(x?"play":"pause")},e=>{S(e||!A),B(A?"unmute":"mute")},A,L,B),function(e,t,n){return e&&t.current?o.createElement(Ha,{"data-testid":"story-adv",vastParameter:t.current,vpmute:n}):null}(C,I,Da))};Fa.propTypes={appConfig:Nt().object,componentConfig:Nt().object,copilotCode:Nt().string,currentIndex:Nt().number,dangerousHed:Nt().string,defaultDuration:Nt().number,forceNoRecirc:Nt().bool,id:Nt().string,isMobileDevice:Nt().bool,isNoAds:Nt().bool,items:Nt().arrayOf(Nt().shape(_t.A.propTypes)).isRequired,onCloseButtonAction:Nt().func,onSlideChange:Nt().func,recirculation:Nt().array,shouldPauseSlideWhenInActiveWindow:Nt().bool};const Ua=(0,w.M3)(Fa,{keysToPluck:["isNoAds","componentConfig","appConfig"]});var Va=n(39780);const Ga="32px",Wa=Va.Ay.div.withConfig({displayName:"VisualStoryPageStyle"})` display: grid; position: relative; grid-column-gap: 0; grid-template-columns: 1fr; grid-template-rows: 100dvh; grid-row-gap: 0; align-content: center; align-items: center; justify-content: center; background: var( --bg, linear-gradient( 104deg, #fff 25.08%, ${(0,Dt.HK)("colors.background.brand")} 74.24%, #000 107.26% ) ); overflow: hidden; @media (orientation: landscape) and (max-device-width: 480px) { grid-template-rows: initial; } @media (min-width: 480px) { grid-template-rows: calc(100dvh - (${Ga} * 2)); padding: ${Ga} 0; min-height: 550px; } @media (min-width: ${qt.LO.lg}) { padding: ${Ga} ${"48px"}; } &::before { position: absolute; top: 0; left: 0; box-shadow: 0 0 50px -25px rgba(0, 0, 0, 0.5); background: linear-gradient( 109deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 29.35%, rgba(0, 0, 0, 0.6) 100% ); width: 100%; height: 100%; content: ''; backdrop-filter: blur(80px); } /* a lot of fix to remove white space inherit from base-page */ .standardnavigation-site-navigation[class*='link-banner'] & { margin-top: -${(0,Dt.Kq)(14.5)}; } .header-with-gql-link-banner.link-banner-visual-link-banner &, .fixed-header-large-logo-nav-variation.header-with-gql-link-banner.link-banner-visual-link-banner & { margin-top: -${(0,Dt.Kq)(6.5)}; @media (min-width: ${qt.LO.lg}) { margin-top: -${(0,Dt.Kq)(19.5)} !important; } } `,ja=Va.Ay.a.withConfig({displayName:"Logo"})` display: none; position: absolute; top: 36px; left: 36px; filter: brightness(0) invert(1); text-decoration: none; @media (min-width: ${qt.LO.lg}) { display: block; } img { width: 128px; } `,za=({copilotCode:e="",defaultDuration:t=1e4,forcedIndex:n=0,forceNoRecirc:i=!1,header:a={},id:r="",isMobileDevice:s=!0,items:l=[],logo:d=null,onCloseButtonAction:c,recirculation:m={items:[]}})=>{const u=l,p=a,g=d,h=u.length,y=(()=>{if(n)return n;const e=decodeURIComponent(window.location.hash);if(!e)return 0;const t=parseInt(e.substring(1),10);if(isNaN(t))return 0;return Math.max(Math.min(t,h-1),0)})();return h&&o.createElement(Wa,{className:"visual-story-page","data-testid":"visual-story-page"},g&&o.createElement(ja,{href:"/","data-testid":"visual-story-logo"},o.createElement(ni.A,{...g})),o.createElement(Ua,{copilotCode:e,currentIndex:y,dangerousHed:p.dangerousHed,defaultDuration:t,forceNoRecirc:i,id:r,isMobileDevice:s,items:u,onCloseButtonAction:c,recirculation:m.items}))};za.propTypes={copilotCode:Nt().string,defaultDuration:Nt().number,forcedIndex:Nt().number,forceNoRecirc:Nt().bool,header:Nt().shape(vt.A.propTypes).isRequired,id:Nt().string,isMobileDevice:Nt().bool,items:Nt().arrayOf(Nt().shape(_t.A.propTypes)).isRequired,logo:Nt().object.isRequired,onCloseButtonAction:Nt().func,recirculation:Nt().shape({items:Nt().array})},za.displayName="VisualStoryPage";const Ya=(0,w.M3)((0,ti.Ay)(za),{keysToPluck:[]});Ya.WrappedComponent=za;const Xa=Ya,Za=e=>o.createElement(Xa,{...e});const Ja=[tt,at,rt,mt,pt,Fo,yt,dn,$t,xt,Lt,en,kn,An,Mo,Ln,Lo,Yo,Nn,In,Pn,qn,Fn,zn,Xn,Jo,Qn,no,ao,so,mo,go,ei,bo,Co,Io,class extends Qe{constructor(){super(...arguments),this.name="visual-story-plugin"}boot(){this.pluginSystem.registerComponent({name:"VisualStory",component:Za,type:Je.VisualStory,dataProcessor:{fetchers:["VisualStoryFetcher","MostRecentVisualStoryFetcher"],transformer:"VisualStoryTransformer"}})}}],Qa=new class{constructor(){this.pluginStore=new Xe,this.componentStore=new Ze}registerPlugin(e){this.pluginStore.registerPlugin(new e(this))}getFallbackComponent(){return this.componentStore.getFallbackComponent()}registerComponent(e){this.componentStore.registerComponent(e)}getComponentDefinition(e){return this.componentStore.getComponentDefinition(e)}renderComponent(e,t,n){const{component:i,props:a}=this.componentStore.getComponentWithProps(e,t,n);return(0,o.createElement)(i,a)}getComponentWithProps(e,t,n){return this.componentStore.getComponentWithProps(e,t,n)}getAllComponents(){return this.componentStore.getAllComponents()}bootPlugins(){this.pluginStore.registeredPlugins.forEach(e=>{e.boot(),this.pluginStore.bootedPlugins.push(e)})}};Ja.forEach(e=>{Qa.registerPlugin(e)}),Qa.bootPlugins();const er=Qa;class tr{constructor({templateConfig:e}){const{name:t="",layout:n={slots:[]}}=e;this.slots=n.slots,this.templateName=t.split(/\s/g).join("-"),this.pluginSystemInstance=er}get slotList(){return this.slots}get pluginSystem(){return this.pluginSystemInstance}}var nr=n(57819),or=n(62747),ir=n(70099),ar=n(3162);const{amgPartnerCookieName:rr,authCookieName:sr,authCompleteCookieName:lr,authTrackingCookieName:dr,oidcCookies:{id:cr}}=$.A,mr=(0,w.M3)(({children:e,scTheme:t})=>o.createElement(qe.W,{theme:t},o.createElement(h.N,{theme:t&&t.themeName||"standard"},e)),{keysToPluck:["scTheme"]}),ur={create(e){const t=e||Oe;return class extends o.Component{constructor(e){super(e);const{componentConfig:t,config:n,renditions:o,transformed:i,featureFlags:a}=this.props;v.listenForReload();let{user:r}=i;if(!r?.isAuthResolved){const e=ne.d.getDecodedAuthToken(),t=ne.d.isTokenValid(e),n=ne.d.getDecodedToken(cr);r={amguuid:e.sub,email:n.email||"",hasUserAuthCheck:"",isAuthResolved:!1,isAuthenticated:t,xid:n.xid||""}}r?.geo||(r.geo={countryCode:""}),Number.isInteger(r?.bucketNumber)||(r.bucketNumber=100);const s=l()(i,"navigationSearch",!0),d=l()(i,"capabilityConfig",{name:"",layout:{slots:[]}});this.dynamicLayoutConfigInstance=new tr({templateConfig:d});const c={config:n,...i,hasSearch:s,renditions:o,componentConfig:t,featureFlags:a,user:r,expDataLayerUpdated:!1,interactiveElementsState:{accountLinkingPageAddressForm:{errors:[],isPending:!1,isSuccessful:!1},accountLinkingPageNumberForm:{errors:[],isPending:!1,isSuccessful:!1},redirect:{isRedirecting:!1}},pageState:{account:{linking:{shouldShowNumberForm:!0}},bookmarkStatus:{bookmarkId:null,isUrlBookmark:null}},onboarding:{bookmarks:{onboardingStep:"bookmarkAwareness"}}};this.store=(0,m.y$)((0,w.ro)(c),(0,u.Pq)({}))}async componentDidMount(){var e;xe.D.initialize(this.store),window.journeyDataGateway=(e=this.store,{fetch:()=>H(e.getState(),N)}),window.dfpDataGateway=(e=>({fetch:()=>B(e.getState(),I)}))(this.store),window.paymentGateway=(e=>({configure:({groupsToRender:t}={})=>e.dispatch({type:"MERGE_KEY",key:"payment",value:{gateway:{groupsToRender:t}}})}))(this.store),window.paywallGateway=(e=>({truncateContent:({paragraphs:t,slides:n}={})=>e.dispatch({type:"MERGE_KEY",key:"paywall",value:{gateway:{shouldTruncate:!0,paragraphLimit:t,gallerySlideLimit:n}}})}))(this.store),this.initUserData();const{transformed:{boomerang:t},featureFlags:n}=this.props;ie.initialize(this.store),(0,y.Be)(this.store.dispatch),(0,b.Vh)(this.store.dispatch),(0,f.f1)(this.store.dispatch);const o=this.store.getState()?.["ads.page"]?.server;"production"!==o&&((e,t)=>{if("object"==typeof e){const n=t.getState().scTheme,o=((e,t)=>n=>{if("verso-bi-extension"===n.data.namespace){const{payload:o}=n.data;if("REVERT_THEME"===o.type){const n={type:"MERGE_KEY",key:"scTheme",value:t};e.dispatch(n)}o.key="scTheme",e.dispatch(o)}})(t,n);e.addEventListener("message",o,!1),e.versoThemerExtensionInitialized=!0}})(window,this.store),window.cnBus&&(window.cnBus.on("journey.client.state.update",this.journeyCallback.bind(this)),window.cnBus.emit("journey.ready")),await(0,a.c)();const{access:i}=this.store.getState();var r;i&&i.isAccessNegotiationEnabled&&fe.initialize(this.store),k.initialize(this.store),(r={...t})&&r.tags&&r.tags.brand&&(0,Re.B3)(r),n.google?.swgEnabled&&P.initialize(this.store),Z.initialize(this.store),n.enablePermutiveSegmentation&&J.initialize(this.store),n.enableSegmentatorRu&&te.initialize(this.store)}async getPageBookmarkedStatus({isAuthenticated:e,amgUUID:t}){const{transformed:n,featureFlags:o}=this.props,i=n["head.pageType"],a={nativegallery:"gallery",nativearticle:"article"}[i]||i,r=l()(n,`${a}.showBookmark`)||!1,s=window.location.search.includes("action=addBookmark");if(e&&r&&!s){const{coreDataLayer:{content:{contentId:e},page:{canonical:i},site:{orgId:a}},userPlatform:{siteCode:r,userPlatformProxy:s,xClientID:l,federatedGraphqlUrl:d}}=n,c=o.shouldUseBookmarkV2||!1,m=(0,ar.A)(c),u=await m.getBookmarkStatus({amgUUID:t,copilotID:e,documentUrl:i,organizationID:a,siteCode:r,userPlatformProxy:s,xClientID:l,federatedGraphqlUrl:d});this.store.dispatch({type:"SET_KEY",key:"pageState.bookmarkStatus",value:{...u,isBookmarkLoading:!1}})}}journeyCallback({key:e="",value:t=""}={}){""!==e&&this.store.dispatch({type:"SET_KEY",key:e,value:t})}initUserData(){const e=l()(window,"cookie.get")||ne.d.getDocumentCookie,{user:{isAuthResolved:t,isAuthenticated:n},martechPlatform:o}=this.store.getState(),{config:i}=this.props;let a="";if(!t){const e=ne.d.getDecodedAuthToken();a=e.sub;const t=ne.d.isTokenValid(e),n=(0,R.getCookieDomainFromHostname)();t||(0,R.deleteCookie)(sr,n);const r=ne.d.getCookieValue(dr),s=ne.d.getDecodedToken(cr);if(ne.d.getCookieValue(lr)&&t&&(M.Uc.emitUniqueGoogleTrackingEvent("auth-complete"),i?.snowplow?.enableSnowplow)){const{featured:e="false",source:t="id.condenast.com"}=(0,g.TS)({searchParams:window.location.search}),n={type:"complete",subject:"login",platform:"Verso",source_type:t,...(0,Ee.i3)("true"===e)};(0,Ye.lV)(n)}(0,R.deleteCookie)(lr,n),this.store.dispatch({type:"MERGE_KEY",key:"user",value:{amguuid:e.sub,email:s.email||"",hasUserAuthCheck:r,isAuthResolved:!0,isAuthenticated:t,xid:s.xid||"",isEntitled:We(o)}}),this.getPageBookmarkedStatus({isAuthenticated:t,amgUUID:a})}this.store.dispatch({type:"MERGE_KEY",key:"user",value:{bucketNumber:Pe(e("CN_xid")),geo:{countryCode:e("CN_geo_country_code")||""}}});const r=function(e,t,n){if("string"!=typeof e)return"";const o=e.split(t)||[];if(o.length{o{(0,r.N9)("react-hydrate-end"),(0,r.I6)("react-hydrate","react-hydrate-start","react-hydrate-end")}},o.createElement(t,null)))))))))}}}};var pr,gr,hr=n(60824),yr=n(92704),br=n(3624),fr=n(79694),wr=n(53836);!function(e){e.JOURNEY_UNIT_RENDER_BEGIN="journey.unit.render.begin",e.JOURNEY_UNIT_RENDER_END="journey.unit.render.end",e.JOURNEY_UNIT_EMPTY_BEGIN="journey.unit.empty.begin",e.JOURNEY_UNIT_EMPTY_END="journey.unit.empty.end",e.JOURNEY_COMPONENT_APPEARS_NAV_ROLLOVER="journey.component.appears.NavRollover",e.JOURNEY_CLIENT_ERROR="journey.client.error",e.JOURNEY_READY="journey.ready",e.JOURNEY_CLIENT_STATE_UPDATE="journey.client.state.update"}(pr||(pr={}));class $r extends wr.J{constructor(){super(50)}}!function(e){e.GROUPS_UPDATED="groups.updated"}(gr||(gr={}));class vr extends wr.J{constructor(){super(2)}}var Cr=n(59867),kr=n(56475);const xr=()=>{const e=window.Kendra;e.register("ADS",new hr.V),e.register("CONSENT",new yr.N),e.register("GROWTHBOOK",new br.N),e.register("IDENTITY_MAPPER",new fr.i),e.register("JOURNEY",new $r),e.register("TRACK_COMPONENT",new Zt.J),e.register("USER_CONTEXT",new ir.R),e.register("USER_GROUP",new vr),e.register("WINDOW_EVENT",new Cr.j),e.register("XID",new kr.Q),Er()},Er=()=>{Object.defineProperty(window,"Kendra",{value:window.Kendra,writable:!1,configurable:!1})};async function Ar(e){xr();const t=o.createElement(ur.create(e),window.__PRELOADED_STATE__),n=document.getElementById("app-root");await(0,a.a)(),(0,r.N9)("react-hydrate-start"),(0,i.c)(n,t)}},9580:(e,t,n)=>{n.d(t,{Rb:()=>c,ku:()=>d,wb:()=>l});var o=n(38267),i=n(73275),a=n(7228),r=n(96472),s=n(26865);const l=o.Ay.div.withConfig({displayName:"AppDownloadLinksWrapper"})` ul { display: block; margin-bottom: ${(0,s.Kq)(4)}; padding-left: 0; li { display: inline; a { white-space: normal; } } } picture { max-height: 2.5rem; img { margin-bottom: ${(0,s.Kq)(2)}; width: inherit; } } color: ${(0,s.HK)("colors.foundation.footer.links.secondary")}; `,d=(0,o.Ay)(i.A).withConfig({displayName:"AppDownloadLinksWrapperResponsiveAsset"})` display: flex; justify-content: center; margin: 0 auto; max-height: ${(0,s.Kq)(4)}; ${(0,s.H4)(r.LO.lg)} { justify-content: flex-start; margin: 0; } ${a.BF} { width: auto; max-height: inherit; } `,c=(0,o.Ay)("li").withConfig({displayName:"AppDownloadLinksWrapperItem"})` span, picture { display: inline; } padding-right: ${(0,s.Kq)(2)}; color: ${(0,s.HK)("colors.foundation.footer.links.secondary")}; `},9864:(e,t,n)=>{n.d(t,{zD:()=>p});const o="lastBookmarkedProduct",i="showProductBookmarkMessageBanner",a="unsavedBookmarks",r="productBookmarkAction",s="removedBookmarkData",l="restoredProduct",d="SET_KEY",c="MERGE_KEY",m="REMOVE_KEY_PROPERTY",u=(e,t,n)=>{e({type:d,key:t,value:n})},p=e=>({setLastBookmarkedProduct:({copilotID:t,productData:n}={})=>{u(e,o,{copilotID:t,productData:n})},setRemovedBookmarkData:({copilotID:t,productData:n,contentType:o,productName:i,bookmarkId:a,collectionId:r,originalIndex:l,fullProductItem:d})=>{u(e,s,{copilotID:t,productData:n,contentType:o,productName:i,bookmarkId:a,collectionId:r,originalIndex:l,fullProductItem:d})},clearRemovedBookmarkData:()=>{u(e,s,null)},setRestoredProduct:({copilotID:t,productData:n,bookmarkId:o,originalIndex:i,fullProductItem:a})=>{u(e,l,{copilotID:t,productData:n,bookmarkId:o,originalIndex:i,fullProductItem:a,timestamp:Date.now()})},clearRestoredProduct:()=>{u(e,l,null)},setShowProductBookmarkMessageBanner:({showBanner:t})=>{u(e,i,t)},setProductBookmarkAction:({action:t})=>{u(e,r,t)},doUpdateUnsavedBookmarks:({copilotID:t,isDeleted:n})=>{((e,t,n)=>{e({type:c,key:t,value:n})})(e,a,{[t]:{isDeleted:n}})},clearUnsavedBookmark:({copilotID:t})=>{((e,t,n)=>{e({type:m,key:t,property:n})})(e,a,t)},doUpdateBookmarkedStatus:t=>{e({type:d,key:"pageState.bookmarkStatus",value:t})}})},9865:(e,t,n)=>{n.d(t,{UF:()=>r,Y8:()=>s,_D:()=>a,qd:()=>d});var o=n(38267),i=n(26865);const a=o.Ay.div.withConfig({displayName:"PullQuoteDecorativeBorder-sc"})` grid-area: pullquote-border; border-width: 0 0 0 4px; border-style: solid; content: ' '; ${({theme:e})=>(0,i._o)(e,"border-color","colors.consumption.body.standard.display-signature")}; `,r=o.Ay.div.withConfig({displayName:"PullQuoteEmbedContent-sc"})` grid-area: pullquote-content; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.consumptionEditorial.display-small")}; margin: 0 auto; width: 100%; p { margin-block-start: ${(0,i.Kq)(2)}; margin: 0; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.body")}; } `,s=o.Ay.div.withConfig({displayName:"PullQuoteEmbedCredit-sc"})` grid-area: pullquote-credit; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.globalEditorial.accreditation-core")}; margin-top: ${(0,i.Kq)(3)}; width: 100%; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.body")}; &::before { margin-right: ${(0,i.Kq)(1)}; content: '—'; } `,l=o.AH` ${r}, ${r} > p { text-decoration: underline; ${({theme:e})=>(0,i._o)(e,"text-decoration-color","colors.consumption.body.standard.display-signature")}; } `,d=o.Ay.aside.withConfig({displayName:"PullQuoteEmbedWrapper-sc"})` display: grid; grid-template-areas: 'pullquote-border pullquote-content .' 'pullquote-border pullquote-credit .'; grid-template-columns: auto 1fr auto; margin-block-start: ${(0,i.Kq)(5)}; margin-block-end: ${(0,i.Kq)(5)}; column-gap: ${(0,i.Kq)(3)}; ${({hasBackgroundColor:e,hasLeftBorder:t})=>e?o.AH` background-color: ${(0,i.HK)("colors.background.brand")}; padding-top: ${(0,i.Kq)(5)}; padding-right: ${(0,i.Kq)(2)}; padding-bottom: ${(0,i.Kq)(5)}; padding-left: ${(0,i.Kq)(t?5:2)}; `:""} ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.display-texture")}; text-align: ${e=>e.textAlign}; ${({textAlign:e})=>"center"===e?o.AH` text-align: center; ${s} { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.consumptionEditorial.citation")}; display: inline-block; width: 100%; text-decoration: none; &::before { display: none; } } `:""} ${({isUnderlined:e})=>e&&l}; ${({shouldEnableFullArticleInverted:e,theme:t})=>e&&`\n ${r} p {\n color: ${(0,i.HK)(t,"colors.consumption.body.inverted.body")};\n}\n\n ${s} {\n color: ${(0,i.HK)(t,"colors.consumption.body.inverted.body")};\n}\n`} `},10246:(e,t,n)=>{n.d(t,{$0:()=>D,B7:()=>O,BP:()=>_,CT:()=>T,E0:()=>I,EP:()=>B,Gy:()=>N,No:()=>A,RC:()=>k,TZ:()=>E,XU:()=>C,YA:()=>q,__:()=>x,be:()=>S,bi:()=>b,dt:()=>f,ef:()=>K,pM:()=>L,uf:()=>H,x8:()=>P});var o=n(38267),i=n(26865),a=n(40653),r=n(86659),s=n(48188),l=n(12972),d=n(76955),c=n(96472),m=n(73730),u=n(70698),p=n(34751),g=n(44802),h=n(99906);const y=(0,i.Kq)(6),b={LARGE:"large"},f=o.Ay.div.withConfig({displayName:"MegaMenuWrapper"})` height: 100%; `,w=(0,i.Kq)(3),$=(0,i.Kq)(4),v=(0,i.Kq)(2),C=(0,o.Ay)(r.A).withConfig({displayName:"MegaMenuGridWrapper"})` ${({theme:e})=>(0,i._o)(e,"background-color",(0,u.iq)(e)?"colors.consumption.lead.inverted.background":"colors.foundation.menu-bg.collapsed")}; && { width: auto; max-width: inherit; ${(0,i.H4)(c.LO.lg)} { padding: 0 ${(0,i.Kq)(6)}; } ${(0,i.H4)(c.LO.xl)} { padding: 0 ${(0,i.Kq)(8)}; } ${(0,i.H4)(c.LO.xxl)} { margin-left: 0; } } height: 100%; overflow-y: scroll; box-sizing: content-box; scrollbar-width: none; &::-webkit-scrollbar { width: 0; height: 0; } ${(0,i.L7)(c.LO.lg)} { ${({hasSecondaryFooterAllLink:e})=>e&&`\n height: calc(100% - ${y});\n `} } ${a.E} { ${({hasLinkBanner:e,isSlim:t,hasExtraTopMargin:n})=>{const o=t=>e?(0,i.Kq)(t+7.5):(0,i.Kq)(t);return`\n column-gap: ${(0,i.Kq)(14)};\n grid-column: 1 / -1;\n grid-template-rows: min-content;\n margin-top: ${o(8)};\n \n ${(0,i.H4)(c.LO.md)} {\n margin-top: ${!t&&o(8)}\n }\n\n ${(0,i.H4)(c.LO.lg)} {\n margin-top: ${(()=>{let e;return e=n?(0,i.Kq)(8):o(t?11:13),e})()} \n }\n `}} } `,k=o.Ay.div.withConfig({displayName:"MegaMenuContent"})` ${({isCentered:e})=>e&&`\n max-width: ${c.LO.xxl};\n margin: 0 auto;`} ${(0,i.H4)(c.LO.lg)} { display: flex; } `,x=(0,o.Ay)(s.A.Vertical).withConfig({displayName:"MegaMenuNavigationPrimary"})` ${({showBlankHeading:e,marginTopSize:t})=>{const n=e||t===b.LARGE?4:2;return`margin: ${(0,i.Kq)(n)} 0 ${(0,i.Kq)(4)} 0;`}}; .navigation__heading { ${({isHeadingALink:e})=>`\n margin: ${e?`${(0,i.Kq)(5)} ${v} 0 ${v}`:`0 ${v}`};\n `} ${(0,i.H4)(c.LO.md)} { margin: 0 ${v}; } ${(0,i.H4)(c.LO.lg)} { margin: 0; } &, a { text-decoration: none; ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.title-primary")}; ${({theme:e,isHeadingALink:t})=>t&&`\n &:focus,\n &:hover {\n text-decoration: none;\n ${(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")};\n }\n `} } .content-divider { display: block; margin: ${(0,i.Kq)(2)} 0; border-bottom-width: 1px; border-bottom-style: solid; width: ${(0,i.Kq)(6)}; ${({theme:e})=>(0,i._o)(e,"border-bottom-color",(0,u.iq)(e)?"colors.consumption.lead.inverted.accent":"colors.foundation.collapsed-menu.nav-link.hover")}; } } .navigation__list { display: grid; grid-column-gap: ${(0,i.Kq)(3)}; grid-auto-columns: 1fr; grid-auto-flow: column; grid-template-rows: repeat( ${({maxItemsPerColumn:e})=>e}, ${({hasExtraTopMargin:e})=>e?(0,i.Kq)(4.4):(0,i.Kq)(5)} ); margin-right: ${v}; justify-items: start; ${(0,i.H4)(c.LO.lg)} { margin: 0; } ${(0,i.L7)(c.LO.lg)} { grid-column-gap: unset; grid-auto-flow: row; grid-template-rows: min-content; grid-row-gap: ${(0,i.Kq)(1)}; } .navigation__list-item { margin: ${(0,i.Kq)(1)} 0 ${(0,i.Kq)(1)} ${v}; ${(0,i.H4)(c.LO.md)} { margin: ${(0,i.Kq)(1)} 0 ${(0,i.Kq)(1)} ${v}; } ${(0,i.H4)(c.LO.lg)} { margin: ${(0,i.Kq)(1)} ${(0,i.Kq)(3)} ${(0,i.Kq)(1)} 0; } .navigation__link { width: auto; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-secondary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default","navigation")}; ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; &:visited, &:link { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; } &:focus, &:hover { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}; } } .navigation__link_more { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-primary")}; } } } .navigation__list.list__card { ${({isCard:e})=>e&&"\n grid-auto-flow: row;\n "} ${(0,i.H4)(c.LO.lg)} { grid-template-rows: revert; width: auto; } .summary-item__hed-link { &::after { content: none; } } .summary-item__hed { color: ${(0,i.HK)("colors.foundation.collapsed-menu.nav-link.default")}; ${(0,i.Gg)("typography.definitions.foundation.link-secondary")}; } } .navigation__list-item:last-of-type { ${({theme:e,includesClickOut:t})=>t&&`\n border-width: 1px 0;\n border-style: solid;\n ${(0,i._o)(e,"border-color",(0,u.iq)(e)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")};\n padding-top: ${(0,i.Kq)(2)};\n padding-bottom: ${(0,i.Kq)(2)};\n &&{\n justify-content: start;\n }\n width: 100%;\n margin: ${(0,i.Kq)(2)} 0;\n\n ${(0,i.H4)(c.LO.lg)} {\n padding: ${(0,i.Kq)(3)} 0;\n }\n `} a { ${({theme:e,includesClickOut:t})=>t&&(0,i.Gg)(e,"typography.definitions.foundation.link-primary")} ${({theme:e,includesClickOut:t})=>t&&`\n padding-left: ${(0,i.Kq)(3)};\n ${(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default","navigation")}\n &:focus,\n &:hover {\n ${(0,i._o)(e,"color","colors.foundation.expanded-utility.nav-link.hover")};\n }\n\n ${(0,i.H4)(c.LO.md)} {\n padding-left: ${(0,i.Kq)(6)};\n }\n\n ${(0,i.H4)(c.LO.lg)} {\n padding: 0;\n }\n `} } } &:last-of-type { .navigation__list.list__card { .navigation__list-item:last-of-type { ${({hasClickOutWithCard:e})=>e&&"justify-content: flex-start;"} } } } ${(0,i.H4)(c.LO.lg)} { &:last-of-type { .navigation__list { .navigation__list-item:last-of-type { ${({theme:e,includesClickOut:t})=>t&&`\n border-width: 1px 0 0 0;\n border-style: solid;\n margin: ${(0,i.Kq)(1)} 0 -${(0,i.Kq)(1)} 0;\n padding: ${(0,i.Kq)(2)} 0 0 0;\n ${(0,i._o)(e,"border-color",(0,u.iq)(e)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")};\n\n a {\n ${(0,i.Gg)(e,"typography.definitions.foundation.link-primary")}\n }\n `} } } } } ${(0,i.L7)(`${h.VS.lg}px`)} { margin: ${(0,i.Kq)(2)} 0; ${({noHeadingGroupName:e,showDividerOnTop:t,isHeadingEmpty:n})=>e?`margin-top: -${(0,i.Kq)(1)}}`:t&&n?`margin: ${(0,i.Kq)(4)} 0`:""} } ${"\n p {\n margin: 0;\n }\n\n .navigation__list-item {\n display: flex;\n position: relative;\n align-items: center;\n\n .navigation__link {\n display: block;\n }\n\n .drawer--align-center & {\n justify-content: center;\n }\n }\n\n .consumer-marketing-unit--nav-drawer {\n position: absolute;\n }\n"} `,E=(0,o.Ay)("div").withConfig({displayName:"MegaMenuVerboseWrapper"})` ${(0,i.H4)(c.LO.lg)} { display: grid; grid-column-gap: ${(0,i.Kq)(4)}; grid-auto-rows: min-content; grid-template-columns: repeat(12, auto); } ${(0,i.H4)(c.LO.xl)} { grid-column-gap: ${(0,i.Kq)(8)}; } ${x} { ${(0,i.H4)(c.LO.lg)} { &:nth-of-type(1) { grid-column: 4 / 6; } &:nth-of-type(2) { grid-column: 6 / 8; } &:nth-of-type(3) { grid-column: 8 / 10; } &:nth-of-type(4) { grid-column: 10 / 12; } > ul { min-width: ${(0,i.Kq)(15)}; } } } .nav__card { ${(0,i.H4)(c.LO.lg)} { width: 140px; } ${(0,i.H4)(c.LO.xl)} { width: 180px; } ${(0,i.H4)(c.LO.xxl)} { width: 240px; } } .navigation__divider { display: block; margin: 0 0 0 ${(0,i.Kq)(3)}; border-bottom: 1px solid; ${({theme:e})=>(0,i._o)(e,"border-color",(0,u.iq)(e)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")}; width: calc(100% - ${(0,i.Kq)(6)}); ${(0,i.H4)(c.LO.md)} { margin: 0 0 0 ${(0,i.Kq)(6)}; width: calc(100% - ${(0,i.Kq)(12)}); } ${(0,i.H4)(c.LO.lg)} { display: none; } } .navigation__divider:last-of-type { display: none; } .nav__card { ${(0,i.H4)(c.LO.xl)} { margin-right: -${(0,i.Kq)(4)}; } } `,A=(0,o.Ay)(m.A.Utility).withConfig({displayName:"MegaMenuCloseIconWrapper"})` position: relative; margin-left: auto; padding: 0; height: ${(0,i.Kq)(4)}; &, &:active, &:hover, &:focus { border: 0; background-color: transparent; } .icon-close { padding: 8px; g { ${({theme:e})=>(0,i._o)(e,"stroke",(0,u.iq)(e)?"colors.background.white":"colors.foundation.collapsed-menu.nav-link.default")}; } } ${({hasExtraTopMargin:e,hasLinkBanner:t})=>e&&!t&&`margin-top: ${(0,i.Kq)(2)};`} `,S=(0,o.Ay)("div").withConfig({displayName:"MegaMenuColumnFooterAllLinkWrapper"})` grid-column: 1; grid-row: -1; border-top: 1px solid; padding: ${(0,i.Kq)(1.5)} 0; ${({theme:e})=>(0,i._o)(e,"border-color","colors.foundation.menu.dividers")}; ${(0,i.L7)(`${h.VS.lg}px`)} { display: flex; position: fixed; align-items: center; justify-content: center; padding: 0; width: fill-available; height: ${y}; ${({theme:e})=>`\n border-top: 1px solid\n ${(0,i._o)("border-color",(0,u.iq)(e)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")};\n ${(0,i._o)("background-color",(0,u.iq)(e)?"colors.consumption.lead.inverted.background":"colors.foundation.menu-bg.collapsed")};\n ${(0,i._o)("color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")};\n `} } `,L=(0,o.Ay)("div").withConfig({displayName:"MegaMenuColumnWrapper"})` display: grid; grid-gap: 0 ${(0,i.Kq)(4)}; --grid-columns-desktop: 5; grid-template-columns: repeat(var(--grid-columns-desktop), minmax(0, 1fr)); grid-template-rows: min-content; flex-grow: 1; padding-bottom: ${(0,i.Kq)(2)}; `,T=(0,o.Ay)("li").withConfig({displayName:"MegaMenuDrawerNavLink"})` list-style: none; a { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-primary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default","navigation")}; &:link, &:visited { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.body.inverted.body":"colors.foundation.collapsed-menu.nav-link.default")}; } &:focus, &:hover { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.body.inverted.body":"colors.foundation.collapsed-menu.nav-link.hover")}; } } `,N=(0,o.Ay)("div").withConfig({displayName:"MegaMenuDefaultWrapper"})` ul { ${(0,i.H4)(c.LO.lg)} { width: 500px; } } && { ${l.J$} { justify-content: start; } } ${l.J$} { width: 100%; ${(0,i.H4)(c.LO.lg)} { padding-left: 0; } } `,H=(0,o.Ay)("ul").withConfig({displayName:"MegaMenuVerboseCategoryList"})` padding: 0; ${(0,i.H4)(c.LO.lg)} { grid-column: 1 / 4; min-width: ${(0,i.Kq)(30)}; } ${(0,i.H4)(c.LO.xl)} { min-width: ${(0,i.Kq)(35)}; } li:first-of-type { border-top: 1px solid ${(0,i.HK)("colors.foundation.menu.dividers")}; } li { display: grid; position: relative; grid-template-columns: 1fr 10px; align-items: center; border-bottom: 1px solid; padding-left: ${v}; width: auto; min-height: ${(0,i.Kq)(6)}; list-style: none; && { text-decoration: none; } &:focus, &:hover { ${({theme:e,showBorderHighlight:t})=>t&&`\n &::before {\n ${(0,i._o)(e,"background-color",(0,u.l1)(e,"colors.foundation.collapsed-menu.nav-link.default"))};\n bottom: 0;\n content: '';\n height: 4px;\n position: absolute;\n width: 100%;\n }\n `} ${({theme:e})=>`\n span {\n ${(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}\n }\n\n svg { \n ${(0,i._o)(e,"fill",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}} \n `}; } ${({theme:e})=>(0,i._o)(e,"border-color","colors.foundation.menu.dividers")}; ${(0,i.H4)(c.LO.lg)} { grid-template-columns: unset; padding: ${(0,i.Kq)(2)} ${(0,i.Kq)(2)} ${(0,i.Kq)(2)} 0; } ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-primary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default","navigation")}; span { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; &:focus, &:hover { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}; } } svg { ${({theme:e})=>(0,i._o)(e,"fill",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; justify-self: flex-end; margin-right: ${(0,i.Kq)(1)}; ${(0,i.H4)(c.LO.lg)} { margin-right: 0; width: ${(0,i.Kq)(2)}; height: ${(0,i.Kq)(2)}; } } &.active { grid-template-columns: ${(0,i.Kq)(4)} auto ${(0,i.Kq)(5)}; margin-left: ${(0,i.Kq)(-1)}; ${(0,i.H4)(c.LO.lg)} { grid-template-columns: unset; margin-left: 0; } ${({theme:e,showBorderHighlight:t})=>t&&`\n &::before {\n ${(0,i._o)(e,"background-color",(0,u.l1)(e,"colors.foundation.collapsed-menu.nav-link.hover"))};\n bottom: 0;\n content: '';\n height: 4px;\n position: absolute;\n width: 100%;\n }\n `}; span { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}; grid-area: 1 / 2; text-align: center; ${(0,i.H4)(c.LO.lg)} { grid-area: unset; text-align: left; } } svg { justify-self: flex-start; ${({theme:e})=>(0,i._o)(e,"fill",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.hover")}; transform: rotate(180deg); ${(0,i.H4)(c.LO.lg)} { justify-self: flex-end; transform: unset; } } } &:hover { text-decoration: none; ${({showUnderlineOnHover:e})=>e&&"text-decoration: underline"} } } .li-with-chevron { grid-template-columns: none; } ${(0,i.L7)(`calc(${c.LO.lg} - 1px)`)} { margin: 0; } `,I=(0,o.Ay)("a").withConfig({displayName:"MegaMenuVerboseCategoryLink"})` display: grid; grid-template-columns: 1fr 10px; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-primary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default","navigation")}; &:hover { text-decoration: none; ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.expanded-utility.nav-link.default")}; } &.active { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.expanded-utility.nav-link.hover")}; } transition: unset; span { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.default")}; } `,B=(0,o.Ay)("a").withConfig({displayName:"MegaMenuNavLinkWithChevron"})` display: grid; position: relative; grid-template-columns: 1fr 10px; align-items: center; width: auto; && { text-decoration: none; } ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-primary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default","navigation")}; &:focus, &:hover { ${({theme:e})=>`\n span {\n ${(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}\n }\n\n svg { \n ${(0,i._o)(e,"fill",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}} \n `}; } &.active { grid-template-columns: ${(0,i.Kq)(4)} auto ${(0,i.Kq)(5)}; margin-left: ${(0,i.Kq)(-1)}; span { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}; grid-area: 1 / 2; text-align: center; white-space: nowrap; } svg { justify-self: flex-start; ${({theme:e})=>(0,i._o)(e,"fill",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.hover")}; transform: rotate(180deg); } } `,O=o.Ay.div.withConfig({displayName:"MegaMenuBottom"})` padding: ${$} ${v}; &:empty { border: 0; padding: 0; } `,_=o.Ay.div.withConfig({displayName:"MegaMenuAccount"})` line-height: 0.8em; .navigation__link { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-secondary")}; ${({theme:e})=>(0,i.pe)(e,(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default",null,"navigation")}; &:hover { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}; } } .navigation__list-item { display: flex; align-items: center; margin-bottom: ${w}; .navigation__link { display: block; } } .account-links__sign-out { margin-bottom: ${w}; padding: 0; } ${({contentAlign:e})=>"center"===e?"\n text-align: center;\n\n .navigation__list-item {\n justify-content: center;\n }\n ":""} `,K=(0,o.Ay)(d.sH).withConfig({displayName:"MegaMenuSignInLink"})` ${({theme:e})=>(0,i.pe)(e,(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default",null,"navigation")}; &:hover { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}; } display: inline-block; margin-bottom: ${w}; `;K.defaultProps={colorStaticLinkToken:"colors.foundation.collapsed-menu.nav-link.default",typeToken:"typography.definitions.foundation.link-secondary"};const P=(0,o.Ay)(s.A.Vertical).withConfig({displayName:"MegaMenuUtilityLinks"})` .navigation__link { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-secondary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default","navigation")}; &:link, &:visited { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; } &:focus, &:hover { ${({theme:e})=>(0,i._o)(e,"color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}; } } .navigation__list-item { margin-bottom: ${w}; } margin-bottom: ${w}; ${({utilityLinksOneItem:e})=>e&&"margin-bottom: 0;"} `,D=(0,o.Ay)(E).withConfig({displayName:"MegaMenuMobileVerboseWrapper"})` ${(0,i.L7)(c.LO.md)} { display: block; } .navigation__divider:last-of-type { display: block; } .navigation__divider:first-of-type { display: none; } ${x} { width: auto; } ${p.F5} { ${({theme:e})=>(0,i._o)(e,"background-color",(0,u.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.menu-bg.collapsed")}; ${g.wq} { margin-top: ${(0,i.Kq)(1)}; padding: 0 ${v}; ${g.oX} { width: 50%; ${(0,i.H4)(c.LO.md)} { width: 25%; } } .summary-item__icon-button { background-color: rgba( ${(0,i.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 0.9 ); svg path { fill: ${(0,i.HK)("colors.interactive.base.black")}; } &:hover, &:active, &:focus { background-color: rgba( ${(0,i.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 0.9 ); svg path { fill: ${(0,i.HK)("colors.interactive.base.black")}; } } } .summary-item__hed { color: ${(0,i.HK)("colors.foundation.collapsed-menu.nav-link.default")}; ${(0,i.Gg)("typography.definitions.foundation.link-secondary")}; } } } `,q=(0,o.Ay)("li").withConfig({displayName:"MegaMenuMobileClickOutLink"})` ${({theme:e})=>`\n border-width: 1px 0;\n border-style: solid;\n ${(0,i._o)(e,"border-color",(0,u.iq)(e)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")};\n padding-top: ${(0,i.Kq)(2)};\n padding-bottom: ${(0,i.Kq)(2)};\n &&{\n justify-content: start;\n }\n width: 95%;\n ${(0,i.L7)(c.LO.sm)} {\n width: 90%;\n }\n\n margin: ${(0,i.Kq)(2)} 0;\n\n ${(0,i.H4)(c.LO.lg)} {\n padding: ${(0,i.Kq)(3)} 0;\n }\n`} a { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-primary")} ${({theme:e})=>`\n ${(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default","navigation")}\n &:focus,\n &:hover {\n ${(0,i._o)(e,"color","colors.foundation.collapsed-menu.nav-link.hover")};\n }\n\n ${(0,i.H4)(c.LO.md)} {\n padding-left: ${(0,i.Kq)(3)};\n }\n\n ${(0,i.H4)(c.LO.lg)} {\n padding: 0;\n }\n `} } `},11080:(e,t,n)=>{n.d(t,{A:()=>H});var o=n(5556),i=n.n(o),a=n(96540),r=n(6442),s=n(38221),l=n.n(s),d=n(32485),c=n.n(d),m=n(60943),u=n.n(m),p=n(62193),g=n.n(p),h=n(73275),y=n(39832),b=n(53985),f=n(50700),w=n(73730),$=n(363);const v=({buttonVariation:e,btnStyle:t,ctaHref:n,ctaText:o,dataAttrs:i,dropShipSellers:r,isEnhancedPSG:s,offers:l,showLocalisedOffers:d,showPriceOnButton:c,productId:m,showOfferUrl:u,brandAndName:p,itemIndex:h,isUpcEnabled:y,gtmClickHandler:b,actionIdFlags:v={},shouldUseBlackButton:C,isFullyRoundedButtonEnabled:k,showDiscountPercentLabel:x=!1,hasCheckPriceFeature:E=!1,shouldShowAdRail:A=!1})=>{const S=v?.enableActionIdForProductSummaryGrid;return a.createElement($.nZ,{isUpcEnabled:y,isEnhancedPSG:s,isFullyRoundedButtonEnabled:k,hasNoOffers:g()(l),shouldUseBlackButton:C,shouldShowAdRail:A},a.createElement(f.A,{buttonVariation:e,btnStyle:t,dataAttrs:i,defaultCTAText:o,offers:l,productId:m,showSellerNameBelowPrice:s||y,showCount:1,showPriceOnButton:c,showOfferUrl:u,dropShipSellers:r,showLocalisedOffers:d,onClickHandler:({position:e,event:t,actionId:n})=>{if(b(e,t,n),window.dataLayer){const e={"Product-Grid":"recc-buybutton","Product-Name":`${p||o}`,"Product-Grid-Click-Position":`${h}`};window.dataLayer.push({event:"product-grid-recc-buybutton",...e})}},isProductSummaryGridOffer:y,isActionIdEnabledForComponent:S,shouldUseBlackButton:C,showDiscountPercentLabel:x,hasCheckPriceFeature:E}),g()(l)?a.createElement(w.A.Primary,{buttonVariation:e,btnStyle:"outlined",href:n,inputKind:"link",label:o,onClickHandler:()=>{if(window.dataLayer){const e={"Product-Grid":"info - readmorebutton","Product-Name":`${p||o}`,"Product-Grid-Click-Position":`${h}`};window.dataLayer.push({event:"product-grid-info-readmorebutton",...e})}}}):null)};v.propTypes={actionIdFlags:i().object,brandAndName:i().string,btnStyle:i().oneOf(["filled","outlined","text"]),buttonVariation:i().string,ctaHref:i().string,ctaText:i().string,dataAttrs:i().object,dropShipSellers:i().array,gtmClickHandler:i().func,hasCheckPriceFeature:i().bool,isEnhancedPSG:i().bool,isFullyRoundedButtonEnabled:i().bool,isUpcEnabled:i().bool,itemIndex:i().number,shouldShowAdRail:i().bool,offers:i().array,productId:i().string,shouldUseBlackButton:i().bool,showDiscountPercentLabel:i().bool,showLocalisedOffers:i().bool,showOfferUrl:i().bool,showPriceOnButton:i().bool},v.displayName="ProductSummaryGridOffer";const C=v;var k=n(8509),x=n(60162),E=n(22039),A=n(43428),S=n(25203);const L=({brandAndName:e,ctaHref:t,ctaText:n,dangerousHed:o,isClickable:i,isEnhancedPSG:r,offers:s,productId:l,itemIndex:d,href:c})=>{if(!o&&!e)return null;const m="string"==typeof o&&o.trim()?2:3,u="string"==typeof o&&!!o.trim(),p="string"==typeof e&&!!e.trim(),g=a.createElement($.BU,{isEnhancedPSG:r},u&&a.createElement($.gM,{dangerouslySetInnerHTML:{__html:o},isEnhancedPSG:r}),p&&a.createElement($.t0,{dangerouslySetInnerHTML:{__html:e},isEnhancedPSG:r,elipsisValue:m}),s?.length>0&&a.createElement($.J4,{...r&&{colorToken:"colors.consumption.body.standard.link"},isEnhancedPSG:r,href:c||`#${l}`,dangerouslySetInnerHTML:{__html:n},onClick:()=>{if(window.dataLayer){const t={"Product-Grid":"recc-readmore","Product-Name":`${e}`,"Product-Grid-Click-Position":`${d}`};window.dataLayer.push({event:"product-grid-recc-readmore",...t})}}}));return i&&t?a.createElement(y.A,{href:t},g):g};L.propTypes={brandAndName:i().string,ctaHref:i().string,ctaText:i().string,dangerousHed:i().string,href:i().string,isClickable:i().bool,isEnhancedPSG:i().bool,itemIndex:i().number,offers:i().array,productId:i().string};const T={},N=({brand:e,buttonVariation:t,btnStyle:n,className:o,contentType:i,ctaHref:s,ctaName:d,dangerousHed:m,dropShipSellers:p,image:h,itemIndex:f,isHedClickable:w,isEnhancedPSG:v,name:N,offers:H,id:I,showLocalisedOffers:B,showPriceOnButton:O,showOfferUrl:_,defaultImageForProductSummaryGrid:K,isUpcEnabled:P,actionIdFlags:D,shouldUseBlackButton:q,href:M,isFullyRoundedButtonEnabled:R,showDiscountPercentLabel:F=!1,productName:U,renditionConfig:V,textBadge:G=T,seal:W=T,hasCheckPriceFeature:j=!1,shouldShowAdRail:z})=>{const{formatMessage:Y}=(0,r.A)(),X=v?[e,U].filter(Boolean).join(" "):[e,N].filter(Boolean).join(" "),Z=Y(v?k.A.jumpToReview:k.A.readMore),J="string"==typeof d?d.trim():"";let Q=!!J?d:Z;"jump to review"===J.toLowerCase()&&(Q=Z);const ee="product"===i?`${I}`:"",te="product"===i?{"data-buy-button":!0}:{},ne=h?.length?h[0]:h,oe=ne?{...ne,psgId:u().generate("hex",10)}:K,{contentType:ie="",cneImageUrl:ae="",clipThumbnailUrl:re=""}=oe||{},se="clip"===ie,le="cnevideo"===ie,de=!g()(V),ce=le&&de&&""!==ae,me=se&&de&&""!==re;ce&&(oe.contentType="photo"),me&&(oe.contentType="photo",oe.sources=oe.sourcesForThumbnails);const ue=e=>{if(H&&H.length>0)return e?H[0].offerUrl:H[0].purchaseUri},pe=ue(_),ge=se&&P,he={dangerousHed:m,brand:{name:e},id:ee||I,index:f,contentType:i,offers:H,offersLength:H?.length||0,component:"product_summary_grid"};a.useEffect(()=>{window.addEventListener("load",()=>(0,x.Yp)("ProductEmbed",document.getElementsByClassName("product-embed"))),window.addEventListener("scroll",l()(()=>{(0,x.Yp)("ProductEmbed",document.getElementsByClassName("product-embed"))},1e3))},[]);const ye=(e,t,n)=>{(0,x.g1)({window,product:{...he,component:"product_summary_grid"},index:e,actionId:n,layout:"ProductEmbed",event:t,layoutTitle:m,offerIndex:e??null})};let be=!0;p?.length>0&&(be=p?.some(e=>!ue(_)?.toLowerCase().includes(e)));const fe={brand:e,brandAndName:X,buttonVariation:t,btnStyle:n,className:o,contentType:i,ctaHref:s,ctaText:Q,dataAttrs:te,dropShipSellers:p,itemIndex:f,name:N,offers:H,productId:ee,showLocalisedOffers:B,showPriceOnButton:O,showOfferUrl:_,isUpcEnabled:P,shouldUseBlackButton:q,isFullyRoundedButtonEnabled:R,showDiscountPercentLabel:F,hasCheckPriceFeature:j,shouldShowAdRail:z},we=D?.enableActionIdForProductSummaryGrid,$e=pe?.includes("cna.st")&&we;return a.createElement($.bo,{isEnhancedPSG:v,className:c()("product-embed",o),"data-event-boundary":"click",imageForItem:oe,"data-testid":"ProductSummaryWrapper","data-item":JSON.stringify(he),onClick:()=>{if(window.dataLayer){const e={"Product-Grid":`info - ${m}`,"Product-Name":`${X}`,"Product-Grid-Click-Position":`${f}`};window.dataLayer.push({event:"product-grid-info-title",...e})}}},a.createElement($.lK,{isEnhancedPSG:v,hasClipInsideUPC:ge},oe&&a.createElement($.t5,{isEnhancedPSG:v},W&&Object.prototype.hasOwnProperty.call(W,"sealUrl")&&a.createElement(E.rU,{seal:W}),G&&Object.prototype.hasOwnProperty.call(G,"name")&&a.createElement(E.sN,{className:"standard",config:{position:"top-left",badgeText:G.name}}),a.createElement($.PE,{shouldShowThumbnailForClips:me,contentType:i,isUpcEnabled:P,isEnhancedPSG:v,renditionConfig:V,shouldShowThumbnailForCNEVideo:ce,hasClipInsideUPC:ge},(e=>"product"===i&&H&&H.length>0?a.createElement(b.EY,{as:y.A,href:pe,target:be?"_blank":"_self",rel:"sponsored noopener",onClick:(e,t)=>((e,t)=>{const n=e?.currentTarget?.getAttribute("href"),o=(0,S.hh)();$e&&n?(e.preventDefault(),(0,A.P)({event:e,gtmTrackOnClick:ye,linkProps:n,position:t,type:"GallerySlideImage",component:"product_summary_grid",queryParams:o})):ye(t,e)})(e,t),attributes:{tabIndex:-1,"aria-hidden":!0,"data-offer-retailer":H[0].sellerName,"data-offer-url":H[0].offerUrl},component:"product_summary_grid"},a.createElement($.uv,{shouldShowStaticImage:le,renditionConfig:V,isEnhancedPSG:e,...oe,hasNativeImgLazyLoading:!se,shouldAutoPlay:!se,shouldYieldControlOfVideoPlayPause:se})):a.createElement($.uv,{shouldShowStaticImage:le,renditionConfig:V,isEnhancedPSG:e,...oe,hasNativeImgLazyLoading:!se,shouldAutoPlay:!se,shouldYieldControlOfVideoPlayPause:se}))(v))),a.createElement(L,{isEnhancedPSG:v,brandAndName:X,ctaHref:s,ctaText:Q,dangerousHed:m,isClickable:w,offers:H,productId:ee,itemIndex:f,isUpcEnabled:P,href:M}),a.createElement($.yS,{shouldShowAdRail:z,isEnhancedPSG:v,productId:ee,isUpcEnabled:P,actionIdFlags:D,...fe,ctaHref:s||`#${I}`,as:C,gtmClickHandler:ye})))};N.propTypes={actionIdFlags:i().object,brand:i().string,btnStyle:i().oneOf(["filled","outlined","text"]),buttonVariation:i().string,className:i().string,contentType:i().string.isRequired,cta:i().shape({article:i().string,product:i().string,recipe:i().string,review:i().string}),ctaHref:i().string,ctaName:i().string,ctaText:i().string,dangerousHed:i().string,defaultImageForProductSummaryGrid:i().shape(h.A.propTypes),defaultProductSummaryImage:i().shape(h.A.propTypes),dropShipSellers:i().array,hasCheckPriceFeature:i().bool,href:i().string,id:i().string,image:i().shape(h.A.propTypes),isEnhancedPSG:i().bool,isFullyRoundedButtonEnabled:i().bool,isHedClickable:i().bool,isUpcEnabled:i().bool,itemIndex:i().number,name:i().string,shouldShowAdRail:i().bool,offers:i().array,price:i().string,productName:i().string,renditionConfig:i().object,seal:i().object,shouldUseBlackButton:i().bool,showDiscountPercentLabel:i().bool,showLocalisedOffers:i().bool,showOfferUrl:i().bool,showPriceOnButton:i().bool,textBadge:i().object},N.displayName="ProductSummaryGridItem";const H=N},11499:(e,t,n)=>{n.d(t,{L:()=>u});var o=n(96540),i=n(32485),a=n.n(i),r=n(39780),s=n(45898),l=n(75163),d=n(26865);const c=r.Ay.div.withConfig({displayName:"TextBadgeWrapper"})` grid-area: ${({position:e})=>e}; justify-self: ${({position:e})=>(0,s.W)(e)}; align-self: ${({position:e})=>(0,s.v)(e)}; display: flex; max-width: calc(100% - 96px); background: var(${l.pT.Color.SurfaceCardActive}); color: var(${l.pT.Color.TextCardActive}); padding: 4px 8px; border-radius: 20px; justify-content: right; margin: 8px; @container (max-width: 300px) { max-width: calc(100% - 72px); padding: 2px 4px; top: 4px; right: 4px; } @container (max-width: 155px) { display: none; } `,m=r.Ay.div.withConfig({displayName:"TextBadgeText"})` ${(0,d.Gg)("typography.definitions.globalEditorial.tags")}; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; `;function u({config:e,className:t}){return null==e?null:o.createElement(c,{position:e.position,className:a()(t,`${l.pT.Component.TextBadge}`),"data-testid":"text-badge"},o.createElement(m,null,e.badgeText))}},11542:(e,t,n)=>{n.d(t,{Tk:()=>v,z5:()=>k.A,M3:()=>x.A,ro:()=>C.A});var o=n(86139),i=n.n(o),a=n(88055),r=n.n(a),s=n(49870),l=n.n(s),d=n(80191),c=n.n(d),m=n(62193),u=n.n(m),p=n(2404),g=n.n(p),h=n(55364),y=n.n(h),b=n(44383),f=n.n(b);const w=l()(f(),r()),$=new Map,v=(e,t)=>{$.set(t,$.get(t)||{actors:[],watchedState:new Map});const n=$.get(t),o=(e,t)=>e.match(t)||t.match(e),a=(e,t)=>{const o=n.watchedState.get(t),a=w(e,t.scopes.watch);n.watchedState.set(t,i()({},o,a))};if(n.actors.find((s=e,e=>!!c()(s.scopes.output,e.scopes.output,o).length)))throw new Error("Multiple actors bound to the store cannot update the same value");var s;const l=t.getState();n.watchedState.set(e,w(l,e.scopes.watch)),n.actors.push(e),n.unbind=n.unbind||t.subscribe(()=>{const e=t.getState(),o=n.actors.filter((e=>t=>!g()(n.watchedState.get(t),f()(e,t.scopes.watch)))(e)).map((e=>t=>{const n=f()(e,t.scopes.watch);a(n,t);const o=f()(e,t.scopes.input),i=f()(e,t.scopes.output),s=r()(t.perform(r()(o))),l=f()(s,t.scopes.output);return g()(l,i)?{}:(a(l,t),l)})(e));var i;u()(o)||(i=o,t.dispatch({type:"BULK_UPDATE",state:y()({},...i)}))})};var C=n(26410);var k=n(27543),x=n(34967)},11762:(e,t,n)=>{n.d(t,{Ay:()=>m,Lk:()=>r});var o={};n.r(o),n.d(o,{getUserDetails:()=>d});var i=n(15822);const a=e=>{const{apiURL:t,payload:n,xClientID:o}=e;return fetch(t,{body:JSON.stringify(n),credentials:"include",headers:{"Content-Type":"application/json","x-client":o},method:"POST"})},r=async({googleIdToken:e,googleAccessToken:t,registrationSourceCode:n,siteCode:o,source:r,userPlatformProxy:s,xClientID:l})=>{const d="error",c={googleIdToken:e,googleAccessToken:t,registrationSourceCode:n,siteCode:o,source:r};try{const e=await a({apiURL:`${s}${i.v.googleAuthenticate}`,payload:c,xClientID:l});return e.ok?e:d}catch(e){return d}};var s=n(3162),l=n(91250);const d=({amgUUID:e,xClientID:t,userPlatformProxy:n})=>(0,l.u)(`${n}${i.v.userDetails}/${e}`,{credentials:"include",headers:{"Content-Type":"application/json","x-client":t},method:"GET"},5e3);var c=n(57743);const m={bookmark:s.A,...o,emailAuthenticate:({payload:e,userPlatformProxy:t,xClientID:n})=>{try{return a({apiURL:`${t}${i.v.authenticate}`,payload:e,xClientID:n})}catch(e){throw new Error(`Error authenticating with email on brand upg proxy: ${e.message}`)}},googleAuthenticate:r,resetEntitlementSampleMax:({iss:e})=>{if(!["tny_high_prop","tny_reg_gate","vf_high_prop","vf_reg_gate","wir_high_prop","wir_reg_gate"].includes(e))return;return fetch("/api/payment/entitlement",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client:e,form:"sample",max:4}),credentials:"include"})},swgAuthenticate:({payload:e,userPlatformProxy:t,xClientID:n})=>{try{return a({apiURL:`${t}${i.v.swgAuthenticate}`,payload:e,xClientID:n})}catch(e){throw new Error(`Error authenticating with swg entitlements brand proxy: ${e.message}`)}},userLookupHelper:({queryString:e,xClientID:t,userPlatformProxy:n})=>(0,c.u)(`${n}${i.v.userLookup}?${e}`,{headers:{"x-client":t},method:"GET"},5e3),updateUser:({amgUUID:e,payload:t,xClientID:n,userPlatformProxy:o})=>(0,l.u)(`${o}${i.v.userDetails}/${e}`,{body:JSON.stringify(t),credentials:"include",headers:{"Content-Type":"application/json","x-client":n},method:"PATCH"},5e3),FORCE_ORG_ACCESS_DOMAINS:["condenast.com","condenast.co.uk","pitchfork.com","newyorker.com","wired.com"]}},12564:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(5556),i=n.n(o),a=n(96540);const r=e=>{const t=({...t})=>a.createElement(e,{...t,onClickHandler:()=>{t.onClickHandler&&t.onClickHandler(),window.dataLayer&&window.dataLayer.push({event:"in-body-button-click"})}});return t.propTypes={onClickHandler:i().func},t};var s=n(13465),l=n(22354),d=n(65881),c=n(73730),m=n(53499),u=n(14307),p=n(43428),g=n(25203),h=n(82063);const y=({className:e,children:t,onClickHandler:n,actionIdFlags:o={},amazonAffiliateTag:i})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"ButtonGroupCallout"})},[]);const r=a.Children.count(t),s=(e,t,n,o)=>{(0,u.qt)(t,{actionId:n,label:e?.title||"",link:e?.href||"",component:"affiliate_button_callout",offerIndex:o,offersLength:r})},l=a.Children.map(t,({props:e},t)=>{const r=e.children?.props,l=o?.enableActionIdForButtonCallOut,d=r?.href?.includes("cna.st")&&l,m=(0,g.G5)(r?.href)||r?.href,u=(0,h.t)(m,i),y={...r,className:r?.className?.replace("text link","").trim()};return a.createElement(c.A.Primary,{btnStyle:"outlined",key:t,inputKind:"link",label:r?.children||r?.title,...y,href:r?.href,onClickHandler:e=>((e,t,o,i)=>{const a=e?.currentTarget?.getAttribute("href"),r=(0,g.hh)();if(i&&a){e.preventDefault();const{href:t}=(0,p.P)({event:e,onClickHandler:n,gtmTrackOnClick:s,linkProps:a,type:"ButtonGroupCallout",index:o,component:"affiliate_button_callout",queryParams:r});window.open(t,"_blank","noopener, noreferrer")}else{const i=a?.includes("cna.st");if(i&&r){const t=(0,g.cI)(a,{component:"affiliate_button_callout",extractedParams:r});e.currentTarget.setAttribute("href",t)}n(),s(t,e,null,o)}})(e,r,t,d),dataAttrs:{"data-buy-button":!0,"data-offer-url":m,...u}})});return a.createElement(d.Q,{className:e,"data-testid":"ButtonCalloutWrapper"},l)};y.propTypes={actionIdFlags:i().object,amazonAffiliateTag:i().string,children:i().node.isRequired,className:i().string,onClickHandler:i().func},y.displayName="ButtonGroupCallout";const b=r((0,l.Ng)(e=>({amazonAffiliateTag:e.commercePlatform?.amazonAffiliateTag}))(y)),f=(0,s.y)(b,"ButtonGroupCallout")},13099:(e,t,n)=>{n.d(t,{i:()=>w,M:()=>f});var o=n(13465),i=n(47655),a=n(32485),r=n.n(a),s=n(5556),l=n.n(s),d=n(96540),c=n(6442);const m=(0,n(72267).defineMessages)({disclaimerText:{id:"Disclaimer.Text",defaultMessage:"All products featured on {brandName} are independently selected by our editors. However, when you buy something through our retail links, we may earn an affiliate commission.",description:"Text for the disclaimer"},nativeDisclaimerText:{id:"NativeDisclaimer.Text",defaultMessage:"This article was published by The New Yorker Brand Studio for {sponsorName}. The editorial staff of The New Yorker had no role in this post's preparation.",description:"Text for the native disclaimer"}});var u=n(11542),p=n(91402),g=n(53499),h=n(90239);const y=({isEnabled:e=!0,...t})=>{d.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(g.G.RENDER,{name:"Disclaimer"})},[]);const{formatMessage:n}=(0,c.A)();if(!e)return null;const{contentAlign:o="left",hasHigherHorizontalPadding:i=!1,hasHorizontalPadding:a=!1,hasMarginTop:s=!1,hasTopRule:l=!0,isSponsored:u=!1,className:y,disclaimerHtml:b,brandName:f,hasDisclaimerBottomMargin:w,sponsorName:$,hasProductDisclaimerAlternativeStyle:v}=t;let C;return C=u?b||n(m.nativeDisclaimerText,{sponsorName:$}):b||n(m.disclaimerText,{brandName:f}),d.createElement(h.A,null,d.createElement(p.E,{className:r()("disclaimer",y),hasMarginTop:s,contentAlign:o,dangerousText:C,hasTopRule:l,hasHorizontalPadding:a,isSponsored:u,hasDisclaimerBottomMargin:w,hasProductDisclaimerAlternativeStyle:v,hasHigherHorizontalPadding:i}))};y.propTypes={brandName:l().string,className:l().string,contentAlign:l().oneOf(["left","center"]),disclaimerHtml:l().string,hasDisclaimerBottomMargin:l().bool,hasHigherHorizontalPadding:l().bool,hasHorizontalPadding:l().bool,hasMarginTop:l().bool,hasProductDisclaimerAlternativeStyle:l().bool,hasTopRule:l().bool,isEnabled:l().bool,isSponsored:l().bool,sponsorName:l().string},y.displayName="Disclaimer";const b=(0,u.M3)(y,{keysToPluck:["brandName"]});b.TextCenterNoTopRule=(0,i.y)(b,"TextCenterNoTopRule",{},{hasTopRule:!1,contentAlign:"center",hasHorizontalPadding:!0});const f=b,w=(0,o.y)(f,"Disclaimer")},13446:(e,t,n)=>{n.d(t,{ok:()=>l,wp:()=>m,xz:()=>d});var o=n(73396),i=n(56892),a=n(9170),r=n(64687),s=n(34854);const l="fingerprintjs.visitor",d="fingerprintjs.id",c=[()=>{let e=new URLSearchParams(window.location.search).get("utm_campaign");return["paid-revops","paid-revops-q1","paid-revops-q3","paid-revops-q4"].some(t=>e===t)}];class m{constructor({publicKey:e,isEnabled:t,cookieExpire:n}){this.hasConsent=!1,this.cookieExpire=0,this.visitorId=null,this.incognito=null,this.geo=null,this.fpClient=Promise.resolve(null),this.hasConsent=(0,s.Nf)()||(0,r.GE)(),this.cookieExpire=n,this.setVisitor({visitorId:i.default.getCookie("FP_visitorID"),incognito:i.default.getCookie("FP_incognito")}),this.geo=i.default.getCookie("CN_geo_country_code"),!t||"US"!==this.geo||c.some(e=>e())||(0,a.w)(window.navigator.userAgent)||(window?.cnBus?.on("journey.ready",()=>{const e=this.getVisitor();e.visitorId&&(this.emitFpData(l,e),this.emitFpData(`${d}.${e.visitorId}`))}),this.getVisitor().visitorId||this.loadClient(e),this.hasConsent&&this.fetchVisitor())}loadClient(e){this.fpClient=o.Hh({apiKey:e,scriptUrlPattern:["/c0d5a332bda245b9/a298b7d4e1c1836e?apiKey=&version=&loaderVersion=",m.defaultScriptUrlPattern],endpoint:["/c0d5a332bda245b9/e5cd4319ed4842c1?region=us",m.defaultEndpoint]})}updateConsent(e){const t=(0,r.K2)(e),n=this.hasConsent;this.hasConsent=t.targeting,!n&&t.targeting&&this.fetchVisitor()}async fetchVisitor(){let e=this.getVisitor();if(e.visitorId)return this.emitFpData(l,e),this.emitFpData(`${d}.${e.visitorId}`),e;const t=await this.fpClient;if(t&&this.hasConsent){let n;try{n=await t.get({linkedId:i.default.getCookie("CN_xid"),extendedResult:!0}),e=this.setVisitor(n),this.setFPCookies(e),this.emitFpData(l,e),this.emitFpData(`${d}.${e.visitorId}`)}catch(e){this.emitFpData("fingerprintjs.error",e.message)}}return this.getVisitor()}getVisitor(){const{visitorId:e,incognito:t}=this;return{visitorId:e,incognito:t}}setVisitor(e){var t;return this.visitorId=e.visitorId||null,this.incognito="false"!==(t=e.incognito)&&Boolean(t)||!1,this.getVisitor()}setFPCookies({visitorId:e,incognito:t}){document.cookie=i.default.createCookie("FP_visitorID",`${e}`,{path:"/",expirationInMs:this.cookieExpire}),document.cookie=i.default.createCookie("FP_incognito",`${t}`,{path:"/",expirationInMs:this.cookieExpire})}emitFpData(e,t){window?.cnBus&&this.hasConsent&&window.cnBus.emit(e,t)}}},13983:(e,t,n)=>{n.d(t,{NG:()=>s,TP:()=>l,fd:()=>r});var o=n(38267),i=n(26865),a=n(7044);const r=o.AH` width: ${(0,i.Kq)(8)}; height: ${(0,i.Kq)(8)}; `,s=o.AH` width: ${(0,i.Kq)(14)}; height: ${(0,i.Kq)(10.5)}; `,l=o.AH` ${r} overflow: visible; ${a.l} { position: relative; } .aspect-ratio--overlay-container { overflow: visible; } img { ${({theme:e})=>(0,i._o)(e,"background-color","colors.discovery.lead.secondary.background")}; border-radius: 50%; overflow: hidden; vertical-align: top; } `},14935:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(16001).A},15226:(e,t,n)=>{n.d(t,{A:()=>$});var o=n(13465),i=n(47655),a=n(32485),r=n.n(a),s=n(5556),l=n.n(s),d=n(96540),c=n(53499),m=n(86659),u=n(73275),p=n(73730),g=n(75697),h=n(90090),y=n(89957);const b=({asset:e,secondaryButtonVariation:t,className:n,contentTextAlign:o="center",dangerousButtonText:i,dangerousSecondaryButtonText:a,dangerousText:s,dangerousTitle:l,hasFullWidthForAsset:u=!1,hasNativeImgLazyLoading:b,hasRoundedEdges:f=!1,hasTopLine:w=!0,hasFullGridWidth:$=!1,href:v,shouldLinkWrapper:C=!0,primaryButtonStyle:k,secondaryHref:x,secondaryButtonPosition:E,showSecondaryButton:A=!1,shouldEnableBackgroundImgForMobile:S=!1,shouldEnableBundleComponentAnalytics:L,shouldFetchBITokens:T=!1,trackingNamespace:N,isInverted:H=!1,isInvertedTheme:I=!1,variations:B={showCard:!0},variationName:O})=>{const{showCard:_,fullBleed:K,contentAlign:P}=B;d.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(c.G.RENDER,{name:"PromoBox",variation:O})},[O]),(0,y.ol)(".promo-box",void 0,e=>{e&&(0,h.zJ)("promobox-impression",{href:v})});const D={inputKind:A?"link":"text",btnStyle:k,isCardVariation:_,label:i,secondaryButtonPosition:E,href:v},q={...D,btnStyle:"outlined",label:a,href:A&&x},M=_?m.A.NoMargins:m.A.WithMargins,R=_&&!K?m.A.WithMargins:"div",F=(0,h.NY)(L,N?.primary||i),U=(0,h.NY)(L,N?.secondary||a);return d.createElement(g.S_,{"data-testid":"promo-box",href:x?void 0:`${v}`,className:r()("promo-box",n),contentAlign:P,isCardVariation:_,hasTopLine:w,hasFullGridWidth:$,as:C&&v?"a":"div",hasFullWidthForAsset:u,shouldFetchBITokens:T},e&&d.createElement(g.zx,{...e,hasNativeImgLazyLoading:b,contentAlign:P,isCardVariation:_,hasFullWidthForAsset:u,hasRoundedEdges:f,shouldEnableBackgroundImgForMobile:S}),d.createElement(g.OR,{as:R,isCardVariation:_,fullBleed:K},d.createElement(g.HU,{className:"promo-box__callout",isCardVariation:_,isInverted:H,contentAlign:P,fullBleed:K},l&&d.createElement(g.Wy,{as:M,isCardVariation:_},d.createElement(g.Hv,{contentAlign:P,isCardVariation:_,dangerouslySetInnerHTML:{__html:l},isInvertedTheme:I,isInverted:H})),s&&d.createElement(g.Wy,{as:M,isCardVariation:_},d.createElement(g.s6,{className:"promo-box__text",contentTextAlign:o,contentAlign:P,isCardVariation:_,dangerouslySetInnerHTML:{__html:s},isInvertedTheme:I,isInverted:H})),d.createElement(g.aO,{secondaryButtonPosition:E},D.label&&d.createElement(g.Z,{...D,...F,isInverted:H}),A&&q.label&&d.createElement(g.Z8,{...q,...U,as:p.A[t]})))))};b.propTypes={asset:l().shape(u.A.propTypes),className:l().string,contentTextAlign:l().oneOf(["left","right","center"]),dangerousButtonText:l().string,dangerousSecondaryButtonText:l().string,dangerousText:l().string,dangerousTitle:l().string,hasFullGridWidth:l().bool,hasFullWidthForAsset:l().bool,hasNativeImgLazyLoading:l().bool,hasRoundedEdges:l().bool,hasTopLine:l().bool,href:l().string.isRequired,isInverted:l().bool,isInvertedTheme:l().bool,primaryButtonStyle:l().oneOf(["filled","outlined","text"]),secondaryButtonPosition:l().string,secondaryButtonVariation:l().string,secondaryHref:l().string,shouldEnableBackgroundImgForMobile:l().bool,shouldEnableBundleComponentAnalytics:l().bool,shouldFetchBITokens:l().bool,shouldLinkWrapper:l().bool,showSecondaryButton:l().bool,trackingNamespace:l().object,variationName:l().string,variations:l().shape({contentAlign:l().oneOf(["below"]),showCard:l().bool,fullBleed:l().bool})},b.displayName="PromoBox";const f=b;f.TextBelow=(0,i.y)(f,"TextBelow",{contentAlign:"below",showCard:!1}),f.FullBleed=(0,i.y)(f,"FullBleed",{contentAlign:"below",fullBleed:!0,showCard:!0},{shouldLinkWrapper:!1});const w=f,$=(0,o.y)(w,"PromoBox")},15356:(e,t,n)=>{n.d(t,{qj:()=>i.A,qw:()=>o.A,rG:()=>a.A});var o=n(10927),i=n(68545),a=n(45516)},15531:(e,t,n)=>{n.d(t,{A:()=>_});var o=n(13465),i=n(47655),a=n(32485),r=n.n(a),s=n(5556),l=n.n(s),d=n(96540),c=n(6442),m=n(64663),u=n(73730),p=n(20388),g=n(37210),h=n(43657),y=n(35833);const b=(0,n(72267).defineMessages)({title:{id:"IframeEmbed.Title",defaultMessage:"Embedded Frame",description:"Title for iframe",isConfigurable:!0},dangerousDek:{id:"IframeEmbed.DangerousDek",defaultMessage:"Listen to this story",description:"Text of the audio tag",isConfigurable:!0},ariaLabel:{id:"IframeEmbed.AriaLabel",defaultMessage:"Click button to go to: {name}",description:"Aria label for button",isConfigurable:!0},consentBannerHeader:{id:"IframeEmbed.ConsentBannerHeader",defaultMessage:"Content",description:"Header for message banner"}});var f=n(84144),w=n.n(f),$=n(34980);const v=({videoId:e,title:t="YouTube video player",height:o=300,visibleOffset:i=1e3})=>{const a=(0,d.useRef)(null),r=(0,d.useRef)(null),[s,l]=(0,d.useState)(!1),[c,m]=(0,d.useState)(null),[u,p]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{n.e(7833).then(n.bind(n,77833)).then(e=>{m(()=>e.default)})},[]),(0,d.useEffect)(()=>{const e=a.current;if(!e)return()=>{};return r.current=new IntersectionObserver(e=>{const t=e[0].isIntersecting;l(t)},{rootMargin:`${i}px 0px ${i}px 0px`,threshold:0}),r.current.observe(e),()=>{r.current&&e&&(r.current.unobserve(e),r.current.disconnect(),r.current=null)}},[i]),(0,d.useEffect)(()=>{if(!s||!a.current||u)return;const e=a.current;if(e.querySelector("iframe"))return void p(!0);const t=new MutationObserver(n=>{for(const o of n)if("childList"===o.type){if(e.querySelector("iframe")){p(!0),t.disconnect();break}}});return t.observe(e,{childList:!0,subtree:!0}),()=>{t.disconnect()}},[s,u]),(0,d.useEffect)(()=>{const e=a.current;return()=>{if(e){const t=e.querySelector(".yt-lite");t&&(t.innerHTML="")}}},[]),d.createElement($.Uh,{ref:a,"data-testid":"LiteYouTubeEmbed-container"},(s||u)&&c?d.createElement(c,{id:e,title:t,videoId:e,poster:"hqdefault",enableJsApi:!0}):d.createElement("div",{style:{minHeight:o},"data-testid":"LiteYouTubeEmbed-placeholder"}))};v.propTypes={videoId:l().string.isRequired,title:l().string,height:l().number,visibleOffset:l().number},v.displayName="LiteYouTubeEmbed";const C=v,k={elements_selector:".lazy"},x=({sandboxAttributes:e,shouldAllowFullScreen:t,src:n,title:o,height:i,mobileHeight:a,width:r,enableYoutubeEmbedFacade:s})=>{const l=(0,y.t$)(n),c=l?(0,y.Zb)(n):null,m=(0,y.Sh)(n);if(l&&c&&s){const e=i?parseInt(i,10):300;return d.createElement(C,{videoId:c,title:o,height:e})}return d.useEffect(()=>{const e=new(w())(k);return e.update(),()=>e&&e.destroy()},[]),d.createElement($.Pm,{className:"IframeEmbedContent lazy",height:i,mobileHeight:a,width:r,sandbox:e,title:o,"data-src":n,allowFullScreen:t,allow:"autoplay *; encrypted-media *; clipboard-write; autoplay; fullscreen; picture-in-picture",isFacebook:m})};x.propTypes={height:l().string,mobileHeight:l().string,sandboxAttributes:l().string,shouldAllowFullScreen:l().bool,src:l().string.isRequired,title:l().string,width:l().string,enableYoutubeEmbedFacade:l().bool},x.displayName="IframeEmbedContent";const E=x;var A=n(53499),S=n(92704);const{useState:L,useEffect:T,useContext:N,useMemo:H}=d,I=({attributes:e,aspectRatio:t,audioTagIconTitle:n,audioTagIncludeUrls:o=[],dangerousDek:i,className:a,dangerousCaption:s,sandbox:l="allow-scripts",shouldAllowFullScreen:f=!1,title:w,url:v,height:C="766",mobileHeight:k="",width:x="766",options:I,hasOptions:B=!1,variations:O={contentAlign:"center",hasAudioTag:!1},shouldValidateAudmPlayer:_=!1,variationName:K,config:P})=>{d.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(A.G.RENDER,{name:"IframeEmbed",variation:K})},[K]);const[D,q]=L(v),[M,R]=L(0),F=N(m.c$),{formatMessage:U}=(0,c.A)(),V=(0,y.Wo)(v),G=f||(0,y.DW)(V,"wirewax.com"),W=C||"300px",j=x||void 0,z=(0,y.f0)(v,l),Y=(0,y.$m)(v),X=!1===Y||F[Y],Z=v&&v.includes("vimeo.com"),J=!!Z||X;T(()=>{if(!Z)return;const e=e=>{try{const t=(e=>{try{if(!e||"object"!=typeof e)return!1;const t=Object.values(e);return!!t.length&&t.every(Boolean)}catch{return!1}})(e),n=((e,t)=>{if(!e||!e.includes("vimeo.com"))return e;try{const n=new URL(e);return t?n.searchParams.delete("dnt"):n.searchParams.set("dnt","1"),n.toString()}catch(t){return e}})(v,t);q(e=>e===n?e:(R(e=>e+1),n))}catch(e){}},t=window?.Kendra?.CONSENT,n=[S.M.CONSENT_DEFAULT,S.M.CONSENT_ACCEPTED,S.M.CONSENT_REJECTED,S.M.CONSENT_UPDATED],o=[];return t?.on&&n.forEach(n=>{t.on(n,e),o.push({eventName:n,handler:e})}),()=>{t?.off&&o.forEach(({eventName:e,handler:n})=>{try{t.off(e,n)}catch(e){}})}},[v,Z]);const Q=O?.hasAudioTag&&v.includes("audm.")&&_,[ee,te]=L(!Q),ne=H(()=>{if(null!=t){const[e,n]=t.split(":").map(e=>parseInt(e,10));return n/e}return null},[t]);return T(()=>{if(!Q)return;const e=e=>{try{const{origin:t,data:n}=e;if(t.includes("audm.")){const{context:e,event:t}=JSON.parse(n);"player.js"===e&&"ready"===t&&te(!0)}}catch(e){}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[Q]),d.createElement($.HT,{...e,"data-testid":"IframeEmbed",className:r()("iframe-embed",a),hasOptions:B,contentAlign:O.contentAlign},d.createElement($.dW,{"data-hasconsent":X,"data-testid":"IframeEmbedContainer"},J?d.createElement(d.Fragment,null,O?.hasAudioTag&&o.some(e=>v.includes(e))&&ee&&d.createElement($.A6,null,d.createElement($.jJ,null,d.createElement(h.A,{headphoneIconTitle:n})),d.createElement($.F8,{dangerouslySetInnerHTML:{__html:i||U(b.dangerousDek)}})),d.createElement($.gF,{aspectRatio:ne},d.createElement(E,{key:M,"data-testid":"IframeEmbedContent",height:W,mobileHeight:k,width:j,sandboxAttributes:z,title:w||U(b.title),src:D,shouldAllowFullScreen:G,enableYoutubeEmbedFacade:P?.performance?.enableYoutubeEmbedFacade||!1}))):d.createElement(g.A,{consentBannerHeader:b.consentBannerHeader,hasConsent:X,url:D}),s&&d.createElement(p.A,{dangerousCaptionText:s,captionAlign:O.captionAlign}),I&&I.reduce((e,{name:t,url:n})=>{if(t&&n){const o=()=>window.open(n,"_blank");e.push(d.createElement(u.A,{ariaLabel:U(b.ariaLabel,{name:t}),key:t,label:t,onClickHandler:o,role:"link"}))}return e},[])))};I.propTypes={aspectRatio:l().string,attributes:l().object,audioTagIconTitle:l().string,audioTagIncludeUrls:l().arrayOf(l().string),className:l().string,config:l().object,dangerousCaption:l().string,dangerousDek:l().string,hasOptions:l().bool,height:l().string,isLazyLoaded:l().bool,mobileHeight:l().string,options:l().arrayOf(l().shape({name:l().string.isRequired,url:l().string.isRequired})),sandbox:l().string,shouldAllowFullScreen:l().bool,shouldValidateAudmPlayer:l().bool,title:l().string,url:l().string.isRequired,variationName:l().string,variations:l().shape({contentAlign:l().oneOf(["center","left","right"]),captionAlign:l().oneOf(["center","left","right"]),hasAudioTag:l().bool}),width:l().string},I.displayName="IframeEmbed";const B=I;B.CaptionLeftAlign=(0,i.y)(B,"CaptionLeftAlign",{captionAlign:"left",contentAlign:"left"},{hasOptions:!0}),B.WithAudioTag=(0,i.y)(B,"WithAudioTag",{hasAudioTag:!0},{hasOptions:!0});const O=B,_=(0,o.y)(O,"IframeEmbed")},15539:(e,t,n)=>{n.d(t,{$D:()=>g,E8:()=>m,LM:()=>y,O4:()=>h,OE:()=>u,S3:()=>c,XO:()=>p});var o=n(38267),i=n(26865),a=n(96472),r=n(35864),s=n(73275),l=n(33500),d=n(1123);const c=o.Ay.div.withConfig({displayName:"LinkStackWrapper"})` padding-bottom: ${(0,i.Kq)(4)}; .small { font-variant: small-caps; text-transform: lowercase; font-style: normal; } `,m=(0,o.Ay)(r.default).withConfig({displayName:"LinkStackHeader"})` display: flex; flex-direction: row-reverse; justify-content: flex-end; ${l.bU} { ${({hasExtraDividerBelowSpacing:e})=>e?`\n padding: ${(0,i.Kq)(0)};\n `:`\n padding: ${(0,i.Kq)(1)} 0;`}; ${({theme:e,isSecondaryHed:t})=>t?(0,i.Gg)(e,"typography.definitions.consumptionEditorial.subhed-break-secondary"):(0,i.Gg)(e,"typography.definitions.consumptionEditorial.subhed-break-primary")} } ${({dividerColor:e})=>e&&o.AH` ${(0,d.mO)(e)}; `} ${l.MQ} { padding-right: ${(0,i.Kq)(1)}; } ${s.A} img { width: auto; height: ${(0,i.Kq)(6)}; overflow: hidden; } ${({hasExtraDividerBelowSpacing:e})=>e?`\n padding-top: ${(0,i.Kq)(5)};\n margin: 0;\n `:`padding: ${(0,i.Kq)(0)};\n margin-top: ${(0,i.Kq)(2)};\n margin-bottom: ${(0,i.Kq)(2)};\n `}; ${({imageAlign:e})=>"right"===e?`\n flex-direction: row;\n justify-content: space-between;\n ${l.MQ} {\n padding-right: 0;\n }\n `:""}; `,u=o.Ay.div.withConfig({displayName:"LinkStackContent"})` ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.consumptionEditorial.body-core")}; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.body")}; ul { padding-left: ${(0,i.Kq)(2)}; } a { transition: color ${a.L6.timingLinkDefault} ease; ${({theme:e})=>(0,i.pe)(e,"colors.consumption.body.standard.link","colors.consumption.body.standard.link-hover")} } ${({hasMarginSpacing:e})=>e&&`\n margin: ${(0,i.Kq)(2)} 0 0 ${(0,i.Kq)(4)};\n `} `,p=o.Ay.ul.withConfig({displayName:"LinkStackList"})` ${({shouldOverrideMarginBottom:e})=>e&&`margin-bottom: ${(0,i.Kq)(1)};`} `,g=o.Ay.div.withConfig({displayName:"LinkStackDek"})``,h=o.Ay.div.withConfig({displayName:"LinkStackFooter"})` margin-bottom: ${(0,i.Kq)(2)}; ${({shouldOverrideLSFMarginBottom:e})=>e&&`margin-bottom: ${(0,i.Kq)(1)};`} `,y=o.Ay.li.withConfig({displayName:"LinkStackBullet"})` ${({hasBulletBottomSpacing:e})=>e&&` margin-bottom: ${(0,i.Kq)(2)};`} p { margin: 0; } `},15564:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(96540).createContext()},15571:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(5556),i=n.n(o),a=n(96540),r=n(52327),s=n(53499);const l=({className:e,items:t,isMusicReview:n=!1,infoSliceHed:o,variations:i={shouldContentWrap:!1,hasCustomPadding:!1,showHed:!1},variationName:l})=>{if(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"InfoSlice",variation:l})},[l]),!t||0===t.length)return null;const{shouldContentWrap:d,hasCustomPadding:c,showHed:m}=i;return a.createElement(r.Q9,{className:e,"data-testid":"InfoSliceList"},m&&o&&a.createElement(r.Yc,{"data-testid":"InfoSliceHed"},o),a.createElement(r.Ni,{isMusicReview:n,hasCustomPadding:c},t.map(e=>{const{key:t,value:n}=e;return t&&n?a.createElement(r.Wh,{hasCustomPadding:c,key:t.toString().toLowerCase()},a.createElement(r.K$,{hasCustomPadding:c},a.createElement(r.Qv,{shouldContentWrap:d},t),a.createElement(r.Wx,null,n))):null})))};l.propTypes={className:i().string,infoSliceHed:i().string,isMusicReview:i().bool,items:i().arrayOf(i().shape({key:i().string,value:i().string})),variationName:i().string,variations:i().shape({shouldContentWrap:i().bool,hasCustomPadding:i().bool,showHed:i().bool})};const d=l},15641:(e,t,n)=>{n.d(t,{Ob:()=>c,RF:()=>p,UI:()=>m,yV:()=>d,yj:()=>u});var o=n(38267),i=n(19607),a=n(96472),r=n(1123),s=n(26865),l=n(63637);const d=o.Ay.div.withConfig({displayName:"SummaryRiverWrapper"})` ${(0,r.VO)()} .summary-item__dek--isCneVideo { display: none; } ${({isFullBleedMobile:e})=>e&&`\n ${l.Ik} {\n ${(0,s.Xm)(0,a.LO.md)} {\n padding: 0;\n }\n }\n `}; ${({gridColSpanValue:e,showRecircMostPopularInAsideWithRail:t})=>e>=1&&t?`\n @media (min-width: calc(${a.LO.lg} - 1px)) {\n .summary-list .grid-layout__content {\n grid-column: span ${e};\n }\n }\n `:""} ${({topSpacingInRem:e})=>e?`\n ${(0,s.H4)(a.LO.md)} {\n margin-top: ${(0,s.Kq)(e)};\n }\n `:""} `,c=(0,o.Ay)(i.A).withConfig({displayName:"SummaryRiverAd"})` margin-bottom: ${(0,s.Kq)(4)}; `,m=o.Ay.div.withConfig({displayName:"SummaryRiverTitleWrapper"})` ${(0,r.aU)("padding")} ${({hasScrollOffset:e})=>e?`scroll-margin-top: ${(0,s.Kq)(8)};`:""} margin-bottom: ${(0,s.Kq)(4)}; ${({hasExtraTitlePadding:e})=>e?`\n @media (min-width: ${a.LO.xxl}) {\n padding-left: calc(2.5 * var(--grid-margin));\n padding-right: calc(2.5 * var(--grid-margin));\n }\n `:""} ${({hasDividerAbove:e})=>e?"":`margin-top: ${(0,s.Kq)(2)};`} `,u=o.Ay.section.withConfig({displayName:"SummaryRiverSection"})``,p=o.Ay.div.withConfig({displayName:"SummaryRiverList"})` ${({hasRule:e,theme:t,shouldFetchBITokens:n})=>e?`\n &::before {\n border-top: 1px solid ${(0,s.HK)(t,"colors.discovery.body.white.divider")};\n content: '';\n grid-column: 1/-1;\n margin-bottom: ${(0,s.Kq)(5-a.Yq.md)};\n ${n?`border-top : ${(0,s.Pp)(t,"dividerWidth")} solid \n ${(0,s.HK)(t,"colors.discovery.body.white.border")};`:""}\n }\n `:""} `},15737:(e,t,n)=>{n.d(t,{gO:()=>r,or:()=>s});var o=n(38267),i=n(26865);const a=(e=!0)=>`\n ${e?"":"\n text-decoration: none;\n\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n "}\n\n cursor: pointer;\n `,r=()=>a(!1),s=()=>o.AH` ${a()} color: ${(0,i.HK)("colors.interactive.base.light")}; transition-property: color, background, text-shadow; transition-duration: 0.2s; transition-timing-function: ease-in-out; `},15956:(e,t,n)=>{n.d(t,{Cj:()=>m,Zy:()=>p,e8:()=>d,lP:()=>u,ww:()=>c});var o=n(38267),i=n(76955),a=n(96472),r=n(26865),s=n(99906),l=n(73730);const d=o.Ay.section.withConfig({displayName:"ToutWrapper"})` ${`\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n @media (min-width: ${a.LO.md}) {\n flex-direction: row;\n }\n`} margin-top: ${(0,r.Kq)(4)}; `,c=o.Ay.span.withConfig({displayName:"ToutText"})` ${`\ndisplay: flex;\nflex-direction: column;\nalign-items: start;\njustify-content: space-between;\n @media (min-width: ${a.LO.md}) {\n flex-direction: column;\n }\n`} ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.foundation.link-primary")} margin-right: ${(0,r.Kq)(3)}; `,m=(0,o.Ay)(i.vm).withConfig({displayName:"ToutHed"})` padding-top: ${(0,r.Kq)(2)}; ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; ${({theme:e})=>(0,r._o)(e,"color","colors.discovery.body.white.context-tertiary")}; @media (min-width: ${a.LO.md}) { padding-top: ${(0,r.Kq)(2)}; } `,u=o.Ay.div.withConfig({displayName:"ToutDek"})` margin-top: ${(0,r.Kq)(1)}; ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.discovery.description-core")}; ${({theme:e})=>(0,r._o)(e,"color","colors.discovery.body.white.context-tertiary")}; @media (min-width: ${a.LO.md}) { margin-top: ${(0,r.Kq)(1)}; } p { margin-top: 0; } `,p=(0,o.Ay)(l.A).withConfig({displayName:"ToutButton"})` margin-top: ${(0,r.Kq)(2)}; margin-bottom: ${(0,r.Kq)(2)}; ${(0,r.L7)(`${s.VS.md}px`)} { width: 100%; } `},16001:(e,t,n)=>{n.d(t,{A:()=>V});var o=n(5556),i=n.n(o),a=n(96540),r=n(22354),s=n(6442);const l=(0,n(72267).defineMessages)({oidcSignUpButtonLabel:{id:"SignInModal.OidcSignUpButtonLabel",defaultMessage:"Create account",description:"SignInModal component OIDC SignUp button label"},closeButtonLabel:{id:"SignInModal.CloseButtonLabel",defaultMessage:"Close Sign In Modal",description:"SignInModal component close button label"},closeButtonAriaLabel:{id:"SignInModal.CloseButtonAriaLabel",defaultMessage:"Close Sign In Modal",description:"SignInModal component close button aria label"},hed:{id:"SignInModal.Hed",defaultMessage:"Save stories ",description:"SignInModal component hed text",isConfigurable:!0},hedSpanTag:{id:"SignInModal.HedSpanTag",defaultMessage:"with an account",description:"SignInModal component hed spanTag text",isConfigurable:!0},oidcSignInText:{id:"SignInModal.OidcSignInText",defaultMessage:"Already have an account?",description:"SignInModal component OIDC SignIn Text"},oidcSignInLinkText:{id:"SignInModal.OidcSignInLinkText",defaultMessage:"Sign in",description:"SignInModal component OIDC SignIn Link Text"}});var d=n(15822),c=n(24695),m=n(73275),u=n(90090),p=n(13465),g=n(22509),h=n(53499),y=n(14307),b=n(20312),f=n.n(b),w=n(38267),$=n(76955),v=n(26865),C=n(96472),k=n(73730),x=n(7228),E=n(50531);const A=(0,w.Ay)($.vm).withConfig({displayName:"SignInModalHed"})` text-align: center; `;A.defaultProps={as:"div",colorToken:"colors.discover.body.white.heading",topSpacing:1,typeIdentity:"typography.definitions.consumptionEditorial.display-small"};const S=w.Ay.span.withConfig({displayName:"SignInModalHedSpanTag"})` display: block; `,L=w.Ay.p.withConfig({displayName:"SignInModalDek"})` ${(0,v.Gg)("typography.definitions.consumptionEditorial.body-core")} text-align: center; color: ${(0,v.HK)("colors.discover.body.white.description")}; @media (max-width: ${C.LO.md}) { margin-bottom: ${(0,v.Kq)(3)}; } `,T=(0,w.Ay)($.vm).withConfig({displayName:"SignInModalSpotIllustration"})` margin: ${(0,v.Kq)(1.5)} auto; text-align: center; ${x.Em} { width: 200px; height: 170px; } `;T.defaultProps={as:"div",typeIdentity:"typography.definitions.consumptionEditorial.body-core"};const N=(0,w.Ay)(k.A.Primary).withConfig({displayName:"SignInModalButtonPrimary"})` margin-bottom: ${(0,v.Kq)(1)}; width: 100%; `,H=(0,w.Ay)(k.A.Primary).withConfig({displayName:"SignInModalButtonPrimaryOutlined"})` width: 100%; `,I=(0,w.Ay)(k.A.Utility).withConfig({displayName:"SignInModalCloseButton"})` position: absolute; top: ${(0,v.Kq)(1)}; right: ${(0,v.Kq)(1)}; padding: 0; fill: ${(0,v.HK)("colors.discovery.body.light.context-tertiary")}; .icon-close { padding: 8px; } &, &:focus, &:hover { border: 0; background-color: transparent; } `,B=(0,w.Ay)(k.A.Utility).withConfig({displayName:"SignInModalEmail"})` margin-top: 0; padding: 0; `,O=w.Ay.div.withConfig({displayName:"SignInModalButtons"})` display: flex; justify-content: center; margin: auto; padding-bottom: ${(0,v.Kq)(2)}; width: 100%; ${B} { padding: 0; width: 100%; } ${({hasRoundedCornersButtons:e})=>e&&`\n ${E.eM} {\n border-radius: 4px;\n }\n `} `,_=w.AH` &&& { padding: ${(0,v.Kq)(8)} ${(0,v.Kq)(5)}; min-height: ${(0,v.Kq)(62)}; } ${T} { margin: ${(0,v.Kq)(1.5)} auto; ${x.Em} { width: 175px; height: 175px; } } ${L} { margin-bottom: ${(0,v.Kq)(2)}; } ${O} { margin-bottom: ${(0,v.Kq)(4)}; @media (max-width: ${C.LO.md}) { padding-bottom: 0; } } `;function K({className:e,...t}){const n=`${e}__content`,o=`${e}__overlay`;return a.createElement(f(),{portalClassName:e,className:n,overlayClassName:o,...t})}K.propTypes={className:i().string};const P=(0,w.Ay)(K).withConfig({displayName:"SignInModalBaseWrapper"})` &__overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: ${C.KV.hyperstitialLayer}; background-color: rgba( ${(0,v.HK)("colors.background.black",{rgbOnly:!0})}, 0 ); &.ReactModal__Overlay--after-open { transition: background-color 750ms; opacity: 1; background-color: rgba( ${(0,v.HK)("colors.background.black",{rgbOnly:!0})}, 0.4 ); } &.ReactModal__Overlay--after-close { transition: background-color 750ms; background-color: rgba( ${(0,v.HK)("colors.background.black",{rgbOnly:!0})}, 0 ); } } &__content { position: relative; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); background-color: ${(0,v.HK)("colors.background.white")}; padding: ${(0,v.Kq)(5)}; width: ${(0,v.Kq)(60)}; max-height: calc(100% - ${(0,v.Kq)(1,"px")}); overflow-y: auto; @media (max-width: ${C.LO.md}) { transform: translateY(-50%) translateX(calc(-50% - ${(0,v.Kq)(2,"px")})); margin: 0 ${(0,v.Kq)(2,"px")}; padding: ${(0,v.Kq)(4)} ${(0,v.Kq)(5)} ${(0,v.Kq)(4)} ${(0,v.Kq)(5)}; width: auto; min-width: ${(0,v.Kq)(38)}; max-width: ${(0,v.Kq)(60)}; } ${N} ${H} ${({hasLargeMargins:e})=>!0===e&&_} } `,D=(0,w.Ay)($.vm).withConfig({displayName:"SignInModalSignInSection"})` display: flex; justify-content: center; width: 100%; `;D.defaultProps={as:"div",colorToken:"colors.discovery.body.light.context-tertiary",typeIdentity:"typography.definitions.utility.assistive-text"};const q=(0,w.Ay)($.sH).withConfig({displayName:"SignInModalSignInLink"})` && { z-index: ${C.KV.interstitialLayer}; margin-left: 5px; text-decoration: underline; } `;q.defaultProps={colorToken:"colors.interactive.base.black",typeToken:"typography.definitions.utility.assistive-text"};var M=n(75454),R=n(85554);const F=({analyticsType:e,authSource:t="sign-in-modal",brandIdentityAssets:n,className:o,closeButtonCallback:i,customCtaLabel:r,customCtaUrl:p,dangerousDek:b,dangerousHed:f,dangerousHedSpanTag:w,hasLargeMargins:$=!1,hasRoundedCornersButtons:v,shouldHideHedSpanTag:C=!1,isVisible:k,redirectURL:x="/",shouldHideIllustration:E=!1,shouldOpenCtaInNewTab:N=!1,signInText:H,signInLinkText:_,snowplowData:K,source:F,type:U="default",isSubscriptionModal:V=!1,action:G})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(h.G.RENDER,{name:"SignInModal"})},[]),a.useEffect(()=>{if(k&&V&&G){const e=R.HX[G];e&&(0,M.cj)({source:e,subject:"signin_modal",placement:"interstitial",state:"focused"},"impression")}},[k,V,G]);const W=t=>(0,u.W8)(t,{signInModalType:e});k&&W("signin-modal-impression");let j=`${d.A.oidcAuth}?redirectURL=${encodeURIComponent(x)}&skipAccountLink=true&authSource=${t}`;F&&(j=`${j}&source=${F}`);const z=n.signInModalAsset[U]||n.signInModalAsset.default,{formatMessage:Y}=(0,s.A)(),X=(e,n=!1)=>{e.preventDefault(),W("signin-modal-oidc-sign-in-click");const o=K?.label||e.target.innerText;if((0,y.lV)({...K,label:o}),V){const e={subject:"signin_modal",placement:"interstitial",state:"focused"};(0,M.cj)({...e,label:n?Q:J,...n&&{source:(0,M.el)(ee)}},"click")}let i=x;if("VERSO_BOOKMARKING"===F||"VERSO_UPC_BOOKMARKING"===F){const t=e.currentTarget.innerText||e.target.innerText,[n,o]=x.split("?"),a=new URLSearchParams(o||"");a.set("authAction",t),i=`${n}?${a.toString()}`}const[a,r]=d.A.oidcAuth.split("?"),s=new URLSearchParams(r||"");s.set("redirectURL",i),s.set("skipAccountLink","true"),s.set("authSource",t),F&&s.set("source",F);const l=`${a}?${s.toString()}`;window.location.href=l},Z=H||Y(l.oidcSignInText),J=_||Y(l.oidcSignInLinkText),Q=r||Y(l.oidcSignUpButtonLabel),ee=p||j;return a.createElement(P,{className:o,hasLargeMargins:$,closeTimeoutMS:400,isOpen:k},a.createElement(I,{isIconButton:!0,ariaLabel:Y(l.closeButtonAriaLabel),label:Y(l.closeButtonLabel),onClickHandler:()=>{(0,g.hY)(),W("signin-modal-close"),i&&i()},role:"button",ButtonIcon:c.Close}),a.createElement(A,null,f||Y(l.hed),!C&&a.createElement(S,null,w||Y(l.hedSpanTag))),!E&&a.createElement(T,null,a.createElement(m.A,{...z})),a.createElement(L,{dangerouslySetInnerHTML:{__html:b}}),a.createElement(O,{hasRoundedCornersButtons:v},a.createElement(B,{label:Q,href:ee,inputKind:"link",rel:N?"noopener noreferrer":void 0,target:N?"_blank":void 0,iconPosition:"before",onClickHandler:e=>X(e,!0),"data-testid":"SignInModalEmail"})),a.createElement(D,null,`${Z} `,a.createElement(q,{href:j,onClick:X},J),"voting"===U&&a.createElement("div",null,"  »")))};F.displayName="SignInModal",F.propTypes={action:i().string,analyticsType:i().string.isRequired,authSource:i().string,brandIdentityAssets:i().shape({signInModalAsset:i().shape({default:i().object,crosswords:i().object,voting:i().object})}).isRequired,className:i().string,closeButtonCallback:i().func,customCtaLabel:i().string,customCtaUrl:i().string,dangerousDek:i().string,dangerousHed:i().string,dangerousHedSpanTag:i().string,hasLargeMargins:i().bool,hasRoundedCornersButtons:i().bool,isSubscriptionModal:i().bool,shouldHideHedSpanTag:i().bool,isVisible:i().bool,redirectURL:i().string,shouldHideIllustration:i().bool,shouldOpenCtaInNewTab:i().bool,signInLinkText:i().string,signInText:i().string,snowplowData:i().object,source:i().string,type:i().oneOf(["default","crosswords","voting"])};const U=(0,p.y)(F,"SignInModal"),V=(0,r.Ng)(e=>{const{signInModalConfig:t,brandIdentityAssets:n}=e;return{brandIdentityAssets:n,...t}})(U)},16025:(e,t,n)=>{n.d(t,{A:()=>x});var o=n(96540),i=n(5556),a=n.n(i),r=n(6442),s=n(73275),l=n(35864),d=n(90090),c=n(13465),m=n(89957);const u=(0,n(72267).defineMessages)({issueFeatureLabel:{id:"VersoIssueFeature.IssueFeatureLabel",defaultMessage:"Table of Contents »",description:"Label for magazine link"}});var p=n(73730),g=n(72542),h=n(53499),y=n(47655),b=n(14307);const f=e=>e.startsWith("http")?e:`${window.location.origin}${e}`,w=(e,t,n,o,i)=>{e.preventDefault();const a={type:"click",placement:n};i&&(a.label=i),t(a),e.ctrlKey||e.metaKey?window.open(o,"_blank"):window.location.href=o},$=({hideItemHed:e,magazineItem:t,analyticsDataAttributeInlineHedLinks:n,analyticsDataAttributeInlineLinks:i,shouldUseDescriptionPrimary:a,shouldShowPromoDek:r,shouldUseButtonAsLink:s,ButtonComponent:l,btnStyle:d,issueFeatureLabelContent:c,magazineLink:m,analyticsDataAttributeTOC:u,contentAlign:p,fireSnowplowEvent:h})=>o.createElement(o.Fragment,null,!e&&o.createElement(g.CM,{"data-testid":"VersoIssueFeatureHed",...n,dangerouslySetInnerHTML:{__html:t.dangerousHed}}),o.createElement(g.H$,{"data-testid":"VersoIssueFeatureDek",...i,dangerouslySetInnerHTML:{__html:t.dangerousDek},shouldUseDescriptionPrimary:a}),r&&o.createElement(g.Rh,{"data-testid":"VersoIssueFeatureIntro",dangerouslySetInnerHTML:{__html:t.promoDek}}),o.createElement(g.TC,{"data-testid":"VersoIssueFeatureTocWrap",...u,contentAlign:p},s?o.createElement(l,{"data-testid":"VersoIssueFeatureButtonComponent",btnStyle:d,label:c,ariaLabel:c,href:m,inputKind:"link",shouldEnableClickTracking:!1,onClickHandler:e=>w(e,h,"hero_button",m,c)}):o.createElement(g.ny,{"data-testid":"VersoIssueFeatureToc",href:m},c)));$.propTypes={analyticsDataAttributeInlineHedLinks:a().object,analyticsDataAttributeInlineLinks:a().object,analyticsDataAttributeTOC:a().object,btnStyle:a().string,ButtonComponent:a().elementType,contentAlign:a().string,fireSnowplowEvent:a().func,hideItemHed:a().bool,issueFeatureLabelContent:a().string,magazineItem:a().shape({dangerousHed:a().string,dangerousDek:a().string,promoDek:a().string}),magazineLink:a().string,placement:a().string,shouldShowPromoDek:a().bool,shouldUseButtonAsLink:a().bool,shouldUseDescriptionPrimary:a().bool,subject:a().string};const v=({hideSourceHed:e,magazineItem:t,hideSourceDek:n,analyticsDataAttributeIssueCover:i,isFullBleed:a,magazineLink:r,imagLinkAttribute:l,showImageCaption:d,fireSnowplowEvent:c})=>o.createElement(o.Fragment,null,!e&&o.createElement(g.CW,{className:"verso-issue-feature__magazine-issue-date","data-testid":"VersoIssueFeatureMagazineIssueDate",dangerouslySetInnerHTML:{__html:t.dangerousHed}}),!n&&t.source?.dek&&o.createElement(g.F3,{className:"verso-issue-feature__magazine-issue-name","data-testid":"VersoIssueFeatureMagazineIssueName"},t.source.dek),t.image&&o.createElement(g.n3,{"data-testid":"VersoIssueFeatureMagazineIssueImage",...i,isFullBleed:a},o.createElement(g.h2,{onClick:e=>w(e,c,"hero_image",r),href:r,"data-testid":"VersoIssueFeatureMagazineLink",...l},o.createElement(s.A,{...t.image}))),d&&t?.image?.caption&&o.createElement(g.y1,{"data-testid":"VersoIssueFeatureMagazineIssueCaption"},t.image.caption));v.propTypes={analyticsDataAttributeIssueCover:a().object,fireSnowplowEvent:a().func,hideSourceDek:a().bool,hideSourceHed:a().bool,imagLinkAttribute:a().object,isFullBleed:a().bool,magazineItem:a().shape({dangerousHed:a().string,source:a().shape({dek:a().string}),image:a().shape({caption:a().string})}),magazineLink:a().string,showImageCaption:a().bool};const C=({btnStyle:e="text",buttonVariation:t="Primary",dangerousDek:n,dangerousHed:i,hideItemHed:a=!0,hideSectionTitle:s=!1,hideSourceDek:c=!1,hideSourceHed:y=!1,issueFeatureLabel:w,items:C,sectionTitleVariation:k="LineAboveLineBelowTextLeft",shouldEnableBundleComponentAnalytics:x,shouldEnableImageAccessibility:E=!1,shouldUseButtonAsLink:A=!1,shouldUseMagazineLinkFromBundleItem:S=!1,shouldUseDescriptionPrimary:L=!0,showImageCaption:T=!0,shouldShowPromoDek:N=!1,trackingNamespace:H,subject:I,variations:B={contentAlign:"left",isDarkBackground:!1,isFullBleed:!1,layoutPosition:"image-right"}})=>{const{contentAlign:O,isFullBleed:_,isDarkBackground:K,layoutPosition:P}=B;o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(h.G.RENDER,{name:"VersoIssueFeature"})},[]);const D=({type:e,placement:t,label:n})=>{const o={type:e,subject:"issues_card_latest",label:n,placement:t,items:[{content_id:C[0].id,content_title:C[0].dangerousHed,content_type:C[0].contentType,content_url:f(C[0].url)}]};(0,b.kg)(o)};(0,m.ol)(".verso-issue-feature-wrapper",void 0,e=>{e&&D({type:"impression",placement:"hero"})});const{formatMessage:q}=(0,r.A)(),M=C[0];if(!M)return null;const R=((e,t)=>({toc:(0,d.NY)(e,t?.toc),issueCover:(0,d.NY)(e,t?.issueCover),inlineLinks:(0,d.NY)(e,t?.inlineLinks),inlineHedLinks:(0,d.NY)(e,t?.inlineHedLinks)}))(x,H),F=((e,t)=>e?t.url:"/magazine")(S,M),U=(e=>e?{tabIndex:-1,"aria-hidden":!0}:{})(E),V=l.default[k]||l.default,G=p.A[t],W=w||q(u.issueFeatureLabel);return o.createElement(g.MS,{dataTestId:"VersoIssueFeatureWrapper",className:"verso-issue-feature-wrapper"},!s&&o.createElement(g.cH,{as:V,dangerousHed:i,hasDividerAbove:!0,hasDividerBelow:!0,hedTag:"h2",link:{html:n}}),o.createElement(g.ep,{className:"verso-issue-feature__main",layoutPosition:P,isDarkBackground:K},o.createElement(g.uG,{"data-testid":"VersoIssueFeatureDekContainer",contentAlign:O},o.createElement($,{hideItemHed:a,magazineItem:M,analyticsDataAttributeInlineHedLinks:R.inlineHedLinks,analyticsDataAttributeInlineLinks:R.inlineLinks,shouldUseDescriptionPrimary:L,shouldShowPromoDek:N,shouldUseButtonAsLink:A,ButtonComponent:G,btnStyle:e,issueFeatureLabelContent:W,magazineLink:F,analyticsDataAttributeTOC:R.toc,contentAlign:O,subject:I,fireSnowplowEvent:D})),o.createElement(g.yO,{"data-testid":"VersoIssueFeatureMagazineContainer"},o.createElement(v,{hideSourceHed:y,magazineItem:M,hideSourceDek:c,analyticsDataAttributeIssueCover:R.issueCover,isFullBleed:_,magazineLink:F,imagLinkAttribute:U,showImageCaption:T,fireSnowplowEvent:D}))))},k=(0,y._)(p.A);C.propTypes={btnStyle:a().oneOf(["filled","outlined","text"]),buttonVariation:a().oneOf(k),dangerousDek:a().string,dangerousHed:a().string,hideItemHed:a().bool,hideSectionTitle:a().bool,hideSourceDek:a().bool,hideSourceHed:a().bool,issueFeatureLabel:a().string,items:a().arrayOf(a().shape()).isRequired,sectionTitleVariation:a().string,shouldEnableBundleComponentAnalytics:a().bool,shouldEnableImageAccessibility:a().bool,shouldUseButtonAsLink:a().bool,shouldUseDescriptionPrimary:a().bool,shouldUseMagazineLinkFromBundleItem:a().bool,showImageCaption:a().bool,shouldShowPromoDek:a().bool,subject:a().string,trackingNamespace:a().object,variations:a().shape({contentAlign:a().oneOf(["center","right","left"]),isDarkBackground:a().bool,isFullBleed:a().bool,layoutPosition:a().oneOf(["image-left","image-right"])})},C.displayName="VersoIssueFeature";const x=(0,c.y)(C,"VersoIssueFeature")},16695:(e,t,n)=>{n.d(t,{N:()=>l,d:()=>d});var o=n(96540),i=n(5556),a=n.n(i),r=n(5431);const s=(0,o.createContext)(),l=({children:e})=>o.createElement(s.Provider,{value:{isAIContext:!0}},o.createElement(r.j,null,e)),d=()=>(0,o.useContext)(s);l.propTypes={children:a().node}},16791:(e,t,n)=>{n.d(t,{AH:()=>s,_M:()=>l,d7:()=>i,vG:()=>r});var o=n(26580);const i=["Bakery","BedAndBreakfast","BoutiqueHotel","BoutiqueRetail","Cafe","Club","CocktailBar","CoffeeTeaBar","CommonBar","Culture","DepartmentStore","DestinationSpa","DiveBar","FoodHall","HealthAndWellness","Hotel","HotelBar","JuiceBar","Mall","Market","OceanShip","PerformanceVenue","PrivateRental","RooftopBar","Resort","Restaurant","Shop","Spa","SpecialtyShop","SportsAndOutdoors","SportsBar","StreetFood","StudioWorkshop","ThemePark","WineryBreweryDistillery","CommonShip"],a={Article:{fieldFragment:o.B9,fragmentName:`...${o.y5}`},Gallery:{fieldFragment:o.JF,fragmentName:`...${o.kS}`},Product:{fieldFragment:(0,o.tP)(),fragmentName:"...bookmarkedProductField"},ProductReview:{fieldFragment:o.k$,fragmentName:`...${o.JH}`},Recipe:{fieldFragment:o.h2,fragmentName:`...${o.mS}`},Photo:{fieldFragment:(0,o.pB)(),fragmentName:`...${o.GS}`},Business:{fieldFragment:o.vs,fragmentName:`...${o.wF}`},...(e=>{const t={};return e.forEach(e=>{t[e]={fieldFragment:(0,o.Cp)(e),fragmentName:`...${(0,o.d8)(e)}`}}),t})(i)},r="bookmarkedContentForIncludedContentTypes",s=()=>{let e="",t="";for(const n of Object.keys(a))e+=`${a[n].fieldFragment}\n`,t+=`${a[n].fragmentName}\n`;return`\n ${e}\n fragment ${r} on Content {\n ${t}\n }\n `},l=(e=[])=>{let t="",n="";return e.forEach(e=>{Object.hasOwn(a,e)&&(t+=`${a[e].fieldFragment}\n`,n+=`${a[e].fragmentName}\n`)}),`\n ${t}\n fragment ${r} on Content {\n ${n}\n }\n `}},16809:(e,t,n)=>{n.d(t,{r:()=>N});var o=n(59867),i=n(5556),a=n.n(i),r=n(96540),s=n(11542),l=n(49235),d=n(53499),c=n(26865),m=n(38267),u=n(96472),p=n(70698),g=n(69328),h=n(50531),y=n(20320),b=n(7228),f=n(18117),w=n(44802),$=n(95015);const v=(0,m.Ay)(g.A).withConfig({displayName:"NavigationListLinkList"})` ${w.qz} { padding-bottom: 0; } ${w.zO} { ${({hasAnchorLinkListDivider:e})=>e?(0,c.Gg)("typography.definitions.discovery.subhed-section-primary"):(0,c.Gg)("typography.definitions.discovery.hed-core-primary")}; ${({theme:e})=>(0,c._o)(e,"color",(0,p.iq)(e)?"colors.discovery.body.dark.description":"colors.discovery.body.light.description")}; ${({theme:e,hasAnchorLinkListDivider:t})=>t&&(0,c._o)(e,"color","colors.discovery.body.light.heading")}; } ${$.C} { ${(0,c.Gg)("typography.definitions.discovery.description-page")}; margin-top: ${(0,c.Kq)(2)}; margin-bottom: ${(0,c.Kq)(2)}; padding-bottom: ${(0,c.Kq)(3)}; } ${y.BY} { height: ${59}px; @media (min-width: ${u.LO.md}) { height: ${59}px; } } ${y.k2} { ${({hasUnderline:e})=>e&&"&:link {\n text-decoration: underline;\n }\n "} &:link, &:visited { ${({theme:e})=>(0,c._o)(e,"color",(0,p.iq)(e)?"colors.discovery.body.dark.description":"colors.discovery.body.light.description")}; } } ${y.k} { ${(0,c.Gg)("typography.definitions.discovery.hed-bulletin-secondary")}; } ${({hasCarouselControls:e})=>e&&"&& {\n height: 100%\n }"} ${y.XG} { ${y.k2} { ${({theme:e})=>(0,c.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; } } ${y.k2} { display: block; } ${h.eM} { ${({hasSquareChevronSlider:e})=>e&&" border-radius: unset;\n "} } ${y.BY} { ${({hasRoundedCornerCards:e})=>e?`\n ${b.BF}, ${b.Em}, ${f.B}::after {\n border-radius: 10px;\n }\n `:`${b.BF}, ${b.Em}, ${f.B}::after {\n border-radius: 0px;\n }\n `} ${b.Em} { ${({shouldIncreaseCardSizeOnDesktop:e})=>e?`\n @media (min-width: ${u.LO.lg}) {\n width: fit-content;\n height: auto;\n } \n img {\n @media (min-width: ${u.LO.lg}) {\n width: 150px;\n height: 200px;\n }\n }`:""} object-fit: cover; } } ${({layout:e,theme:t})=>"NavigationListSubnavigation"===e?m.AH` ${y.Fs} { display: flex; flex-direction: column; align-items: center; border-top: 1px solid; border-bottom: 1px solid; border-color: ${(0,c.HK)(t,"colors.interactive.base.black")}; padding: 20px 0 calc(20px - 0.75rem) 0; gap: calc(20px - 0.75rem); width: 100%; overflow-x: inherit; @media (min-width: ${u.LO.md}) { padding: 20px 0 calc(20px - 1rem) 0; gap: calc(20px - 1rem); } } ${y.XG} { margin: 0; ${y.k2} { ${(0,c._o)(t,"color","colors.discovery.body.white.context-signature")}; ${(0,c.Gg)(t,"typography.definitions.globalEditorial.context-title")}; } } ${y.c0} { flex-wrap: wrap; justify-content: center; white-space: normal; --grid-margin: 0; } ${y.BY} { flex-shrink: inherit; height: auto; text-transform: uppercase; } `:"NavigationListTextOverlayOnImage"===e?m.AH` ${y.k} { position: absolute; bottom: ${(0,c.Kq)(.5)}; padding-right: ${(0,c.Kq)(1)}; padding-left: ${(0,c.Kq)(1)}; ${y.k2} { ${(0,c._o)(t,"color","colors.interactive.base.white")}; } } ${f.B}::after { position: absolute; top: 0; left: 0; background: linear-gradient(0deg, black, transparent 70%); width: 100%; height: 100%; content: ''; } ${y.BY} { &:hover::before, &:focus-visible::before { ${(0,c._o)(t,"background-color","colors.discovery.body.white.background")}; right: ${(0,c.Kq)(1)}; left: ${(0,c.Kq)(1)}; z-index: 1; margin-top: ${(0,c.Kq)(1)}; margin-bottom: ${(0,c.Kq)(1)}; width: auto; @media (max-width: ${u.LO.md}) { margin-bottom: 6px; } } } ${w.hF} { padding: 0 ${(0,c.Kq)(8)} 0 ${(0,c.Kq)(8)}; @media (max-width: ${u.LO.md}) { padding: 0 ${(0,c.Kq)(3)} 0 ${(0,c.Kq)(3)}; } } ${w.wq} { padding-top: ${(0,c.Kq)(2.5)}; padding-bottom: ${(0,c.Kq)(2.5)}; } `:""} `,C=({hasGradient:e=!1,hasSquareChevronSlider:t=!1,hasUnderline:n=!1,hasAnchorLinkList:o,hasAnchorLinkListDivider:i=!1,hasHeaderBorder:a,hed:s,dek:l,isCentered:d=!1,hasRoundedCornerCards:c=!1,layout:m,links:u,shouldCenterAlignContent:p,shouldDisplayDangerousDek:g=!1,shouldEnableBundleComponentAnalytics:h,shouldIncreaseCardSizeOnDesktop:y=!1})=>{const b={text:"NavigationListSubnavigation"===m?s:null};return r.createElement(v,{hed:s,dek:l,hasGradient:e,hasSquareChevronSlider:t,hasUnderline:n,hasAnchorLinkList:o,hasAnchorLinkListDivider:i,hasHeaderBorder:a,isCentered:d,hasRoundedCornerCards:c,layout:m,links:u,hasNativeImgLazyLoading:!0,primaryLink:b.text&&b,shouldCenterAlignContent:p,shouldDisplayDangerousDek:g,shouldEnableBundleComponentAnalytics:h,shouldIncreaseCardSizeOnDesktop:y})};C.propTypes={dek:a().string,hasAnchorLinkList:a().bool,hasAnchorLinkListDivider:a().bool,hasGradient:a().bool,hasHeaderBorder:a().bool,hasRoundedCornerCards:a().bool,hasSquareChevronSlider:a().bool,hasUnderline:a().bool,hed:a().string,isCentered:a().bool,layout:a().string,links:a().arrayOf(a().shape({url:a().string,text:a().string,isExternal:a().bool,onClick:a().func})),shouldCenterAlignContent:a().bool,shouldDisplayDangerousDek:a().bool,shouldEnableBundleComponentAnalytics:a().bool,shouldIncreaseCardSizeOnDesktop:a().bool};const k=C;var x=n(30050);const E=m.Ay.section.withConfig({displayName:"NavigationListWrapper"})` position: relative; ${({isBannerPositionTop:e})=>e&&"box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px;"} ${({hasBorder:e,theme:t})=>e&&`\n border-top: 1px solid;\n border-bottom: 1px solid;\n ${(0,c._o)(t,"border-color",(0,p.iq)(t)?"colors.discovery.body.dark.divider":"colors.discovery.body.light.divider")};\n `} ${({hideBackgroundColor:e})=>e&&"\n &&&{\n background-color: transparent;\n box-shadow: transparent 0px 1px 6px;\n }"} ${({theme:e,layout:t,hasBackgroundColorWhite:n})=>{let o;return o=(0,p.iq)(e)?"colors.discovery.body.dark.background":"NavigationListSubnavigation"===t||n?"colors.background.white":"colors.discovery.body.light.background",(0,c._o)(e,"background",o)}}; ${({layout:e})=>"NavigationListSubnavigation"===e&&`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 20px 24px;\n \n @media (min-width: ${u.LO.md}) {\n padding: 0px 64px 20px;\n }\n `} `;var A=n(90090),S=n(14307),L=n(95788);const T=(e,t,n)=>{(0,A.zJ)("navigation-list-impression",{componentPosition:e,layout:t,hed:n})},N=({className:e,hasAnchorLinkListDivider:t=!1,hasBackgroundColorWhite:n=!1,hasBorder:i=!1,hasSquareChevronSlider:a=!1,hasHeaderBorder:s,hasUnderline:c=!1,hideBackgroundColor:m=!1,isInvertedTheme:u=!1,shouldTrackSnowplowEvent:p,hasRoundedCornerCards:g=!1,navigationListData:h,palette:y="standard",shouldCenterAlignContent:b=!1,shouldDisplayDangerousDek:f=!1,shouldEnableBundleComponentAnalytics:w,shouldIncreaseCardSizeOnDesktop:$=!1,layout:v="NavigationListAnchored",theme:C,trackingNamespace:x})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(d.G.RENDER,{name:"NavigationList",variation:v})},[v]);const{hed:N="",dek:H="",links:I=[]}=h,B=r.useRef(),[O,_]=r.useState(!1),K=r.useRef(null),P=r.useRef(null);if(r.useEffect(()=>(K.current=window.Kendra.WINDOW_EVENT.on(o.m.SCROLL_THROTTLE,()=>{const e=B.current?.getBoundingClientRect().top;_(e<=0)}),()=>{K.current&&K.current.off()}),[v]),r.useEffect(()=>{const e=(0,L.X)(B),t=()=>{(0,L.q)(B)&&(T(e,v,N),P.current&&P.current.off())};if(!(0,L.q)(B))return P.current=window.Kendra.WINDOW_EVENT.on(o.m.SCROLL_THROTTLE,t),function(){P.current&&P.current.off()};T(e,v,N)},[v,N]),!I.length)return null;const D={dek:H,hasAnchorLinkList:"NavigationListAnchored"===v||"NavigationListTextOverlayOnImage"===v,hasAnchorLinkListDivider:t,hasSquareChevronSlider:a,hasUnderline:c,hed:N,isBannerPositionTop:O,isFeatured:"featured"===C,hasRoundedCornerCards:g,hasHeaderBorder:s,layout:v,links:I.map((e,t)=>({...e,isExternal:!1,onClick:()=>((e,t,n,o,i,a,r)=>{(0,A.W8)("navigation-list-click",{"gtm.elementUrl":e,layout:t,text:n}),a&&(0,S.kg)({type:"click",label:o,subject:"carousel_navigation_list",items:[{content_title:n,content_url:e}],placement:"mid-content",index:i,total_index:r})})(e.url,v,e.text,N,t,p,I.length)})),shouldCenterAlignContent:b||I.length>=1&&I.length<=10,shouldDisplayDangerousDek:f,shouldEnableBundleComponentAnalytics:w,shouldIncreaseCardSizeOnDesktop:$,trackingNamespace:x};return r.createElement(l.A,{palette:u?"inverted":y},r.createElement(E,{ref:B,"data-testid":"NavigationList",hasBackgroundColorWhite:n,hasBorder:i,hideBackgroundColor:m,hasHeaderBorder:s,isBannerPositionTop:O,isSubNavigation:D.isSubNavigation,className:e,layout:D.layout},r.createElement(k,{...D})))};N.displayName="NavigationList";N.propTypes={className:a().string,hasAnchorLinkListDivider:a().bool,hasBackgroundColorWhite:a().bool,hasBorder:a().bool,hasHeaderBorder:a().bool,hasRoundedCornerCards:a().bool,hasSquareChevronSlider:a().bool,hasUnderline:a().bool,hideBackgroundColor:a().bool,isBannerPositionTop:a().bool,isCentered:a().bool,isInvertedTheme:a().bool,layout:a().oneOf(["NavigationListSubnavigation","NavigationListAnchored","NavigationListTextOverlayOnImage"]),navigationListData:x.A.propTypes.linkBannerData,palette:a().oneOf(["standard","inverted"]),shouldCenterAlignContent:a().bool,shouldDisplayDangerousDek:a().bool,shouldEnableBundleComponentAnalytics:a().bool,shouldIncreaseCardSizeOnDesktop:a().bool,shouldTrackSnowplowEvent:a().bool,theme:a().string,trackingNamespace:a().string};(0,s.M3)(N,{keysToPluck:["navigationListData"]})},16826:(e,t,n)=>{n.d(t,{A:()=>le});var o=n(5556),i=n.n(o),a=n(96540),r=n(19607);const s={"conde-nast-traveler":{scriptUrl:"https://bytes.cntraveler.com/vs.js?cid=8CUXX6709",playerSize:"500x650",creativeId:551536480,medianetVersion:"3121199",adt1:"8CUU608J2",adt2:"669123538",gamAdUnitPath:"3379/conde.bytes/us.cntraveler/"}},l="ads.slotRenderEnded._out_of_page_0.#",d="ads.roadblock.#",c=({brandSlug:e})=>{const t=(0,a.useRef)(!1),n=(0,a.useRef)(!1),o=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{const i=(e=>{const t=s[e];return!t||t.disabled?null:t})(e);if(!i)return;(()=>{const e="https://bytes.cntraveler.com";if(document.querySelector(`link[rel="preconnect"][href="${e}"]`))return;const t=document.createElement("link");t.rel="preconnect",t.href=e,t.crossOrigin="anonymous",document.head.appendChild(t)})();const a=`bytes-${e}`,r=window.cnBus||{on:()=>()=>{},history:()=>[]},c=()=>{o.current||(o.current=!0,((e,t)=>{if(document.getElementById(e))return;const n=document.createElement("script");n.id=e,n.type="text/javascript",n.textContent=t,document.head.appendChild(n)})("bytes-init",`\n window._mNHandle = window._mNHandle || {};\n window._mNHandle.queue = window._mNHandle.queue || [];\n medianet_versionId = "${i.medianetVersion}";\n `),((e,t,n)=>{if(document.getElementById(e))return void n?.();const o=document.createElement("script");o.id=e,o.src=t,o.async=!0,o.onload=n,o.onerror=()=>{},document.head.appendChild(o)})("bytes-player",i.scriptUrl,()=>{((e,t,n)=>{window._mNDetails?.loadTag&&window._mNDetails.loadTag(e,t.playerSize,t.creativeId,{adt1:t.adt1,adt2:t.adt2,gamAdUnitPath:t.gamAdUnitPath,gamKVs:n,eventBytesExpanded:()=>{},eventBytesCollapsed:()=>{}})})(a,i,(()=>{try{const e=window.googletag?.pubads?.();return e?.getTargetingKeys?e.getTargetingKeys().reduce((t,n)=>(t[n]=e.getTargeting(n),t),{}):{}}catch{return{}}})())}))},m=()=>{t.current=!0,n.current||c()};r.history(d)?.length&&(n.current=!0),r.history(l)?.length&&m();const u=r.on(d,()=>{n.current=!0,(e=>{const t=document.getElementById(e);t&&t.remove()})(a)}),p=r.on(l,m);return()=>{u?.(),p?.()}},[e]),null};c.propTypes={brandSlug:i().string.isRequired};const m=c;var u=n(51054),p=n(49741),g=n(13465),h=n(24277),y=n(25020),b=n(53499),f=n(90090),w=n(38267),$=n(1123),v=n(96472),C=n(26865);const k=w.Ay.div.withConfig({displayName:"CNCouponsWrapper"})` ${(0,$.VO)()} display: grid; column-gap: var(--grid-gap); margin: 0 auto; margin-bottom: ${(0,C.Kq)(3)}; padding-right: var(--grid-margin); padding-left: var(--grid-margin); width: 100%; max-width: 1600px; row-gap: var(--grid-gap); `,x=w.Ay.div.withConfig({displayName:"CouponGrid"})` grid-column: 1 / -1; `,E=w.Ay.div.withConfig({displayName:"CouponResponsiveImage"})` display: flex; justify-content: center; padding: ${(0,C.Kq)(3)}; width: 100%; text-align: center; ${(0,C.L7)(`calc(${v.LO.lg} - 1px)`)} { padding: ${(0,C.Kq)(1)}; } ${(0,C.H4)(v.LO.lg)} { background-color: ${(0,C.HK)("colors.consumption.body.special.bg-card")}; height: ${(0,C.Kq)(16)}; } `,A=w.Ay.div.withConfig({displayName:"CNCouponsGrid"})` display: grid; ${(0,$.VO)()} ${(0,C.L7)(`calc(${v.LO.lg} - 1px)`)} { --grid-gap: ${(0,C.Kq)(1)}; } row-gap: var(--grid-gap); column-gap: var(--grid-gap); ${(0,C.H4)(v.LO.lg)} { grid-template-columns: repeat(6, 2fr); } ${({theme:e})=>(0,C.Gg)(e,"typography.definitions.discovery.hed-bulletin-secondary")} `,S=w.Ay.div.withConfig({displayName:"CNCouponsSectionTitle"})` ${({dividerColor:e})=>e&&w.AH` ${(0,$.mS)(e)}; `} margin-bottom: ${(0,C.Kq)(4)}; ${(0,C.L7)(`calc(${v.LO.lg} - 1px)`)} { margin-bottom: ${(0,C.Kq)(2)}; } `,L=w.Ay.a.withConfig({displayName:"CNCouponsGridItems"})` display: grid; grid-template-rows: ${(0,C.Kq)(17)} auto; text-decoration: none; ${(0,C.L7)(`calc(${v.LO.lg} - 1px)`)} { grid-template-columns: ${(0,C.Kq)(14)} auto; grid-template-rows: ${(0,C.Kq)(10)} auto; &:not(:last-child) { border-bottom: 2px solid ${(0,C.HK)("colors.discovery.body.white.divider")}; } } ${(0,C.L7)(`calc(${v.LO.md} - 1px)`)} { grid-template-columns: ${(0,C.Kq)(12)} auto; grid-template-rows: ${(0,C.Kq)(12)} auto; } `,T=w.Ay.div.withConfig({displayName:"CNCouponsContent"})` ${(0,C.L7)(`calc(${v.LO.lg} - 1px)`)} { margin-top: auto; margin-bottom: auto; } `,N=w.Ay.span.withConfig({displayName:"CNCouponsAnchorText"})` ${({theme:e})=>(0,C.Gg)(e,"typography.definitions.globalEditorial.context-primary")} color: ${(0,C.HK)("colors.discovery.body.white.context-signature")}; `,H=w.Ay.p.withConfig({displayName:"CNCouponsOfferDek"})` margin-top: ${(0,C.Kq)(1)}; cursor: pointer; color: ${(0,C.HK)("colors.discovery.body.white.heading")}; ${(0,C.L7)(`calc(${v.LO.lg} - 1px)`)} { margin-bottom: 0; } ${(0,C.H4)(v.LO.lg)} { display: box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } `,I=w.Ay.img.withConfig({displayName:"CouponLogo"})``,B=({items:e,shouldEnableBundleComponentAnalytics:t,trackingNamespace:n})=>e.slice(0,6).map((e,o)=>{const i=(0,f.NY)(t,n,o);return a.createElement(L,{"aria-label":e.anchor_text,href:e.url,name:e.name,key:o,title:e.anchor_text,onClick:()=>{return t=e.url,n=e.name,i=o+1,void(0,f.W8)("SavingsUnitedCoupon-click",{"coupon.url":t,"coupon.name":n,"coupon.position":i});var t,n,i},...i},a.createElement(E,{href:e.url,name:e.anchor_text},a.createElement(I,{alt:e.logo,src:e.logo})),a.createElement(T,null,a.createElement(N,{dangerouslySetInnerHTML:{__html:e.anchor_text}}),a.createElement(y.A,{lines:2},a.createElement(H,{dangerouslySetInnerHTML:{__html:e.best_offer_text},"data-testid":"CouponItemDek"}))))}),O=({dividerColor:e,heading:t="Top Discounts",items:n,sectionTitleVariation:o="LineAboveLineBelowTextCenter",shouldDisplaySectionTitle:i=!1,isTitleLink:r=!1,linkToCoupon:s,shouldEnableBundleComponentAnalytics:l,trackingNamespace:d})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(b.G.RENDER,{name:"CNCoupons"})},[]);const c=r?`${t}`:t;return a.createElement(k,null,a.createElement(x,null,i&&a.createElement(S,{as:h.A[o],dangerousHed:c,dividerColor:e}),n.length>=1&&a.createElement(A,null,a.createElement(B,{items:n,shouldEnableBundleComponentAnalytics:l,trackingNamespace:d}))))};O.propTypes={dividerColor:i().string,heading:i().string,isTitleLink:i().bool,items:i().array,linkToCoupon:i().string,sectionTitleVariation:i().oneOf(["LineAboveLineBelowTextCenter"]),shouldDisplaySectionTitle:i().bool,shouldEnableBundleComponentAnalytics:i().bool,trackingNamespace:i().string},O.displayName="CNCoupons";const _=O,K=(0,g.y)(_,"CNCoupons");var P=n(66657),D=n(13099);const q=({isVisible:e=!1,additionalText:t,componentWrapper:n})=>{const o=n;return a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(b.G.RENDER,{name:"ContentFooterAdditionalText"})},[]),a.createElement(a.Fragment,null,e&&t&&a.createElement(P.A,null,a.createElement(o,null,a.createElement(D.M,{disclaimerHtml:t,className:"grid-layout__content"}))))};q.propTypes={additionalText:i().string,componentWrapper:i().elementType,isVisible:i().bool},q.displayName="ContentFooterAdditionalText";const M=q,R=(0,g.y)(M,"ContentFooterAdditionalText");var F=n(88530),U=n(70231),V=n(86659),G=n(69458),W=n(38080),j=n(6442);const z=(0,n(72267).defineMessages)({headerText:{id:"RelatedVideo.HeaderText",defaultMessage:"Featured Video",description:"Title preceding related video embed",isConfigurable:!0}});var Y=n(27529),X=n(62327);const Z=({componentWrapper:e,headerText:t,related:n={},showRelatedVideo:o=!1})=>{const i=n&&n.scriptEmbedUrl,{formatMessage:r}=(0,j.A)();return o&&i?a.createElement(e,null,a.createElement(Y.hF,null,a.createElement(Y.Eq,{"data-testid":"ContentFooterRelatedVideoHeader"},t||r(z.headerText)),a.createElement(Y.bX,{scriptUrl:i,videoEmbedPosition:X.sm}),a.createElement(Y.xh,null,n.title),a.createElement(Y.x2,null,n.dek))):null};Z.propTypes={componentWrapper:i().elementType.isRequired,headerText:i().string,related:i().shape({dek:i().string,scriptEmbedUrl:i().string,title:i().string}),showRelatedVideo:i().bool},Z.displayName="RelatedVideo";const J=(0,g.y)(Z,"RelatedVideo"),Q=({componentWrapper:e,contributors:t,tagCloud:n,showWriterBio:o,dividerColor:i,hideContributorBio:r})=>{const s=o?"writer":"author";return!r&&t?.[s]?.items?a.createElement(P.A,null,a.createElement(e,null,a.createElement(F.A,{...n&&{shouldHideBottomLine:!0},contributors:t[s].items,dividerColor:i}))):null};Q.propTypes={componentWrapper:i().elementType.isRequired,contributors:i().oneOfType([i().shape({author:i().shape({items:i().arrayOf(i().shape(F.A.propTypes.contributors))})}),i().shape({writer:i().shape({items:i().arrayOf(i().shape(F.A.propTypes.contributors))})})]),dividerColor:i().string,hideContributorBio:i().bool,showWriterBio:i().bool,tagCloud:i().shape({tags:i().arrayOf(i().shape({tag:i().string.isRequired,url:i().string}))})};const ee=Q;var te=n(29164),ne=n(14307),oe=n(8877),ie=n(12501);const ae=()=>a.createElement(P.A,null,a.createElement(Y.Tb,null,a.createElement(Y.lr,null,a.createElement("div",{"data-testid":"ContentFooterReadMoElement",id:"readmo-12345"})))),re=({ContentWrapper:e,hasWrapper:t,isArticlePage:n,isFullBleed:o,newsletter:i,palette:r="standard"})=>{const{newsletterId:s,dangerousHed:l="",frequencyBadge:d="",sourceCode:c=""}=i,m=a.createElement(Y.oX,{...i,position:"content-footer",isArticlePage:n});if(!t)return m;const u=o?V.A.WithMargins:e;return a.createElement(Y.i9,{isNewsletterFullBleed:o,newsletterPalette:r},a.createElement(te.A,{onIntersectionViewport:(e,t)=>{if(!e)return;t();const n={type:"impression",newsletter_id:String(s),newsletter_title:l,cadence:d,subject:c};(0,ne.pu)(n)},observerOptions:{rootMargin:"0px"},className:"content-footer-newsletter-viewport"},a.createElement(u,null,m)))};re.propTypes={ContentWrapper:i().elementType.isRequired,hasWrapper:i().bool,isArticlePage:i().bool,isFullBleed:i().bool,newsletter:i().shape(Y.oX.propTypes),palette:i().string};const se=({channelMap:e,className:t,cnCoupons:n=[],consumerMarketing:o,ContentWrapper:i,contributors:s,contributorSpotlight:l,isNarrow:d,isNewsletterFullBleed:c,isAdRail:g,licensedPartnerLink:h,linkList:y,hasFullBleedRecircBackground:f,hasNewsletterWithoutWrapper:w,hasTopSpacingFooterRelated:$=!1,showWriterBio:v,hideContentFooterAd:C=!1,hideContributorBio:k,showContributorSpotlight:x,showContributor:E=!0,hideRecircList:A,isLinkStackEnabled:S,magazineDisclaimer:L,newsletter:T,newsletterPalette:N="standard",pageBackgroundTheme:H,related:I,recircRelated:B,relatedVideo:O,shouldUseRelatedVideoOverInterlude_variation:_=!1,showAdBelowNewsletter:q=!1,showNewsletter:M,signageConfig:F,tagCloud:V,shouldEnableVMG:j=!1,showHotelRecirc:z=!1,showRecirc:X,shouldEnableFullArticleInverted:Z,shouldShowSeriesNavigationInFooter:Q,dividerColor:te,recircListElements:ne,sponsoredProps:se,hasDynamicDisclaimer:le,currentPage:de="",enableBytesInjection:ce,isMobileDevice:me,brandSlug:ue})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(b.G.RENDER,{name:"ContentFooter"})},[]);const pe=(0,oe.B)();return a.createElement(Y.uu,{isNarrow:d,className:t},!!se&&le&&a.createElement(i,null,a.createElement(D.M,{sponsorName:se.sponsorName,isSponsored:!!se})),L&&L.issueDate&&a.createElement(i,null,a.createElement(Y.QR,{...L,"data-testid":"ContentFooterMagazineDisclaimer"})),S&&y&&a.createElement(P.A,null,a.createElement(i,null,a.createElement(G.A,{...y,dividerColor:te}))),!x&&E&&a.createElement(ee,{showWriterBio:v,hideContributorBio:k,componentWrapper:i,contributors:s,dividerColor:te,tagCloud:V}),x&&a.createElement(Y.BG,{isAdRail:g},a.createElement(U.A,{...l})),_&&a.createElement(J,{...O,componentWrapper:i}),h&&!x&&a.createElement(P.A,null,a.createElement(i,null,a.createElement(Y.gj,{dangerousBio:h.dangerousDek,photo:h.photo}))),a.createElement(R,{componentWrapper:i}),V&&a.createElement(P.A,null,a.createElement(i,null,a.createElement(Y.ug,{hasBorderTop:!1,tags:V.tags,dividerColor:te,"data-testid":"ContentFooterTagCloud"}))),"article"===de&&ce&&me&&ue&&a.createElement(a.Fragment,null,a.createElement(P.A,null,a.createElement(i,null,a.createElement("div",{id:`bytes-${ue}`,"data-testid":"BytesInjection"}),a.createElement(m,{brandSlug:ue})))),z&&ne,X&&ne,a.createElement(Y.S7,{"data-testid":"ContentFooterBottom"},T&&M&&a.createElement(re,{ContentWrapper:i,hasWrapper:!w,isFullBleed:c,newsletter:T,palette:N,isArticlePage:"article"===de}),pe&&a.createElement(ie.LF,{isFullBleed:c,contentWrapper:i}),a.createElement(ie.ZJ,{contentWrapper:i}),a.createElement(ie.Vx,{contentWrapper:i}),a.createElement("div",{className:"content-bottom-anchor"}),q&&a.createElement(P.A,null,a.createElement(W.Z,{group:"ads"},a.createElement(r.A,{position:"mid-content","data-testid":"AdBelowNewsletter",shouldHoldSpace:!0,shouldDisplayLabel:!0}))),o&&a.createElement(W.Z,{group:"consumer-marketing"},a.createElement(p.A,{...o})),Q&&a.createElement(Y.U8,{className:"article__series-navigation",pageBackgroundTheme:H,dividerColor:te}),j&&a.createElement(ae,null),!A&&a.createElement(u.A,null,a.createElement(Y.GS,{categoriesMap:V?.tags,channelMap:e,related:I,recircRelated:B,signageConfig:F,hasFullBleedRecircBackground:f,hasTopSpacingFooterRelated:$,dividerColor:te,shouldEnableFullArticleInverted:Z})),j&&a.createElement(ae,null),!!n.length&&a.createElement(K,{items:n,dividerColor:te}),!C&&a.createElement(P.A,null,a.createElement(W.Z,{group:"ads"},a.createElement(r.A,{position:"footer",shouldHoldSpace:!0})))))};se.propTypes={brandSlug:i().string,channelMap:i().object,className:i().string,cnCoupons:i().array,consumerMarketing:i().shape(p.A.propTypes),ContentWrapper:i().elementType.isRequired,contributors:i().oneOfType([i().shape({author:i().shape({items:i().arrayOf(i().shape(F.A.propTypes.contributors))})}),i().shape({writer:i().shape({items:i().arrayOf(i().shape(F.A.propTypes.contributors))})})]),contributorSpotlight:i().object,currentPage:i().string,dividerColor:i().string,enableBytesInjection:i().bool,hasDynamicDisclaimer:i().bool,hasFullBleedRecircBackground:i().bool,hasNewsletterWithoutWrapper:i().bool,hasTopSpacingFooterRelated:i().bool,hideContentFooterAd:i().bool,hideContributorBio:i().bool,hideRecircList:i().bool,isAdRail:i().bool,isLinkStackEnabled:i().bool,isMobileDevice:i().bool,isNarrow:i().bool,isNewsletterFullBleed:i().bool,licensedPartnerLink:i().object,linkList:i().object,magazineDisclaimer:i().shape({issueDate:i().string.isRequired,issueLink:i().string.isRequired,originalHed:i().string,hasContentDisclaimerTag:i().bool}),newsletter:i().shape(Y.oX.propTypes),newsletterPalette:i().string,pageBackgroundTheme:i().string,recircListElements:i().array,recircRelated:i().array,related:i().array,relatedVideo:i().shape({brand:i().string,related:i().any,useRelatedVideo:i().bool,showRelatedVideo:i().bool}),shouldEnableFullArticleInverted:i().bool,shouldEnableVMG:i().bool,shouldShowSeriesNavigationInFooter:i().bool,shouldUseRelatedVideoOverInterlude_variation:i().bool,showAdBelowNewsletter:i().bool,showContributor:i().bool,showContributorSpotlight:i().bool,showHotelRecirc:i().bool,showNewsletter:i().bool,showRecirc:i().bool,showWriterBio:i().bool,signageConfig:i().object,sponsoredProps:i().object,tagCloud:i().shape({tags:i().arrayOf(i().shape({tag:i().string.isRequired,url:i().string}))})},se.displayName="ContentFooter";const le=se},18224:(e,t,n)=>{n.d(t,{A:()=>$});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(90090),d=n(38267),c=n(26865),m=n(96472),u=n(13099),p=n(50700);const g=d.Ay.div.withConfig({displayName:"ProductOfferListWrapper"})` margin-bottom: ${(0,c.Kq)(2)}; `,h=(0,d.Ay)(p.A).withConfig({displayName:"ProductOfferList"})` display: flex; grid-column: 1/-1; flex-direction: column; align-items: left; width: 100%; @media (min-width: ${m.LO.lg}) { grid-column: 1 / span 4; margin-bottom: ${(0,c.Kq)(2)}; } `,y=(0,d.Ay)(u.i).withConfig({displayName:"ProductOfferListConfiguredDisclaimer"})` grid-column: 1/-1; @media (min-width: ${m.LO.lg}) { grid-column: 1/9; } `,b=d.Ay.div.withConfig({displayName:"OffersDataDisclaimerContainer"})``;var f=n(53499);const w=({buttonPosition:e,className:t,ctaText:n,ctaAtRetailerName:o,hideTopDisclaimerOnMobile:a,offers:r,showHeaderButton:d})=>{s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(f.G.RENDER,{name:"OffersData"})},[]);return r?.length?s.createElement(s.Fragment,null,d&&s.createElement(g,{className:i()("offer-data",t),"data-testid":"ProductOfferListWrapper"},s.createElement(h,{dataAttrs:{"data-component-position":e},defaultCTAText:n,ctaAtRetailerName:o,offers:r,onClickHandler:()=>{(0,l.W8)("buy-button-click",{componentPosition:e})},showCount:4,showPriceOnButton:!0})),s.createElement(b,{className:i()("disclaimer-container",t)},!a&&s.createElement(y,null))):null};w.propTypes={buttonPosition:r().string.isRequired,className:r().string,ctaAtRetailerName:r().string,ctaText:r().string,hideTopDisclaimerOnMobile:r().bool,offers:r().array,showHeaderButton:r().bool};const $=w},18284:(e,t,n)=>{n.d(t,{A:()=>k});var o=n(32485),i=n.n(o),a=n(96540),r=n(5556),s=n.n(r),l=n(2820),d=n(11542),c=n(14307),m=n(52064),u=n(76573),p=n(4081),g=n(18106),h=n(73275),y=n(58514),b=n(55976),f=n(24608),w=n(72631),$=n(34854),v=n(59867);class C extends a.Component{constructor(e){super(e),this.onConsentUpdated=e=>{const t=window.Fides?(0,$.be)():this.getOtActiveGroupsFromOtEvent(e),n=["C0004"],o=!!t.some(e=>n.includes(e));(0,c.JE)((0,c.Ec)()||o)},this.getOtActiveGroupsFromOtEvent=e=>Array.isArray(e?.detail)?e?.detail:[],this.callSnowplowEvent=e=>{(0,c.kg)({type:"scroll",placement:"vertical",index:e})},this.handleScroll=this.handleScroll.bind(this),this.scrollSubscription=null,this.is25PercentLogged=!1,this.is50PercentLogged=!1,this.is75PercentLogged=!1,this.is100PercentLogged=!1}componentDidMount(){function e(e){let t=e;for(;t&&"A"!==t.tagName;)t=t.parentElement;return t}if(window.Fides||window.addEventListener("OneTrustGroupsUpdated",this.onConsentUpdated),this.scrollSubscription=window.Kendra.WINDOW_EVENT.on(v.m.SCROLL_DEBOUNCE,this.handleScroll),this.props.snowplow&&window&&window.dataLayer){const{snowplow:t,coreDataLayer:n,user:o,crossDomainLinks:i}=this.props,{collectorURL:a,slug:r,enableSnowplow:s,appInfoObj:l}=t;if(s){const t=window.document.getElementsByTagName("a");for(let n=0;n{const n=e(t.target);n&&(0,c.UP)(t,n)});const s=[n,o];(0,c.up)(a,r,s,l,i)}}}componentWillUnmount(){window.removeEventListener("OneTrustGroupsUpdated",this.onConsentUpdated),this.scrollSubscription&&(this.scrollSubscription.off(),this.scrollSubscription=null)}handleScroll(){const e=window&&window.document&&window.document.documentElement.scrollHeight,t=(window&&window.pageYOffset)/(e-(window&&window.innerHeight))*100;t>=25&&!this.is25PercentLogged&&(this.callSnowplowEvent(25),this.is25PercentLogged=!0),t>=50&&!this.is50PercentLogged&&(this.callSnowplowEvent(50),this.is50PercentLogged=!0),t>=75&&!this.is75PercentLogged&&(this.callSnowplowEvent(75),this.is75PercentLogged=!0),t>=100&&!this.is100PercentLogged&&(this.callSnowplowEvent(100),this.is100PercentLogged=!0)}render(){const{attributes:e,children:t,className:n,fullPageTheme:o="standard",hasContentHeaderLogo:r,lang:s=g.xN,theme:d="standard",snowplow:c,shouldBeStickyVideo:h,hasLinkbannerCrossSlideAnimation:b,hasExtraMarginForHeader:$,shouldScrollToTopStory:v,featureFlags:C,fourd:k={enableFourdUser:!1}}=this.props,x=(({fullPageTheme:e,theme:t})=>"standard"!==e?e:t)({fullPageTheme:o,theme:d}),E={fullPageTheme:o,theme:x},A=a.createElement(p.qX,{...e,className:i()("page","dynamic-page",n),hasContentHeaderLogo:r,shouldBeStickyVideo:h,showScrolledLinkBannerSpacing:b,hasExtraMarginForHeader:$},a.createElement(l.A.Provider,{value:E},a.createElement(p.S6,{href:v?"#topstory-content":"#main-content","data-testid":"BasePageSkipLink"},"Skip to main content"),t),a.createElement(f.A,{shouldEnableFourdUser:k.enableFourdUser,shouldEnableInfinityId:C.enableInfinityId}),C.enableUserContext&&a.createElement(w.A,null),c?.enableSnowplow&&a.createElement(y.A,{brand:c.slug||""}));return a.createElement(m.CZ,null,a.createElement(u.pd,{lang:s},A))}}C.propTypes={additionalNavigation:s().node,attributes:s().object,children:s().node.isRequired,className:s().string,componentConfig:s().shape({ConnectedNavigation:s().shape({settings:s().shape({navPattern:s().string})})}),coreDataLayer:s().shape({content:s().shape({tags:s().string,contentType:s().string})}),crossDomainLinks:s().array,deepLinkImageId:s().string,eventBannerTags:s().array,featureFlags:s().shape({hasRiser:s().bool,showRedirectMsg:s().bool,showGlobalMessage:s().bool,enableInfinityId:s().bool,enableUserContext:s().bool}),fingerprint:s().object,fourd:s().shape({enableFourdUser:s().bool}),fullPageTheme:s().oneOf(["standard","inverted"]),globalMessage:s().shape({text:s().string.isRequired,delayDuration:s().number}),hasBaseAds:s().bool,hasContentHeaderLogo:s().bool,hasEventBannerHidden:s().bool,hasExtraMarginForHeader:s().bool,hasFooterAd:s().bool,hasFooterAdsMargins:s().bool,hasFooterMargins:s().bool,hasLinkbannerCrossSlideAnimation:s().bool,hasTopStory:s().bool,hideFooter:s().bool,hideHeader:s().bool,interactiveOverride:s().shape({markup:s().string,behavior:s().string}),lang:s().oneOf(g.YZ),linkBannerData:s().shape({bannerType:s().string,hed:s().hed,dek:s().dek,image:s().shape(h.A.propTypes),links:s().arrayOf(s().shape({url:s().string,text:s().string,isExternal:s().bool})),tracking:s().shape(b.A.propTypes.tracking)}),mainRef:s().object,parsely:s().shape({publicKey:s().string,shouldRenderParsely:s().bool}),redirectMsg:s().string,seriesData:s().shape({hed:s().string,dek:s().string,image:s().object,links:s().arrayOf(s().shape({hed:s().string,dek:s().string,image:s().object,isPublished:s().bool,promoHed:s().string,url:s().string}))}),shouldBeStickyVideo:s().bool,shouldEnableFullArticleInverted:s().bool,shouldPrioritizeSeriesPagination:s().bool,shouldScrollToTopStory:s().bool,showBackgroundGradientColor:s().bool,showContentFooterWithHeaderOverride:s().bool,showNavWithHeaderOverride:s().bool,snowplow:s().shape({collectorURL:s().string,enableSnowplow:s().bool,slug:s().string,appInfoObj:s().object}),theme:s().oneOf(["standard","inverted","special"]),user:s().object},C.displayName="DynamicBasePage";const k=(0,d.M3)(C,{keysToPluck:["redirectMsg","componentConfig","coreDataLayer","deepLinkImageId","featureFlags","hasTopStory","parsely","seriesData","linkBannerData","globalMessage","snowplow","fourd","user","fingerprint","crossDomainLinks"]})},18401:(e,t,n)=>{n.d(t,{A:()=>V});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(16804),d=n(64889),c=n.n(d),m=n(2404),u=n.n(m),p=n(90179),g=n.n(p),h=n(6442),y=n(35778),b=n(38267),f=n(26865),w=n(76955);const $=b.Ay.div.withConfig({displayName:"MenuListContainer"})` border-right: 1px solid ${({theme:e})=>(0,f.HK)(e,"colors.interactive.base.light")}; border-left: 1px solid ${({theme:e})=>(0,f.HK)(e,"colors.interactive.base.light")}; height: ${(0,f.Kq)(20)}; overflow: auto; `,v=(0,b.Ay)(w.vm).withConfig({displayName:"UnavailableFilters"})` align-content: end; border-top: solid 1px ${({theme:e})=>(0,f.HK)(e,"colors.interactive.base.light")}; border-bottom: solid 1px ${({theme:e})=>(0,f.HK)(e,"colors.interactive.base.light")}; ${({theme:e})=>(0,f.Gg)(e,"typography.definitions.utility.input-core")}; padding: 1rem; `,C=(0,b.Ay)(w.c7).withConfig({displayName:"UnavailableOption"})` display: grid; position: relative; grid-row-gap: 0.25rem; border-top: none; border-bottom: none; padding: 0.5rem 1rem; ${({theme:e})=>(0,f.Gg)(e,"typography.definitions.utility.input-core")}; `,k=(0,b.Ay)(w.vm).withConfig({displayName:"UnavailableLabel"})` ${({theme:e})=>(0,f._o)(e,"color","colors.interactive.base.deemphasized")}; align-content: end; ${({theme:e})=>(0,f.Gg)(e,"typography.definitions.utility.input-core")}; `;const x=(0,n(72267).defineMessages)({applyButtonLabel:{id:"CustomMenuButtons.Apply",defaultMessage:"APPLY",description:"Label for apply button on custom menu buttons for dropdown"},clearAllButtonLabel:{id:"CustomMenuButtons.ClearAll",defaultMessage:"Clear all",description:"Label for clear all button on custom menu buttons for dropdown"},unavailableFiltersDefaultLabel:{id:"MenuList.unavailableFilters",defaultMessage:"Unavailable filters",description:"Label for unavailable filters"}}),E=s.memo(({children:e,selectProps:{unavailableOptions:t,customUnavailableFiltersLabel:n}})=>{const{formatMessage:o}=(0,h.A)();if(!Array.isArray(e))return s.createElement($,null,e);const i=t?.map(e=>s.createElement(C,null,s.createElement(k,null,e))),a=n||o(x.unavailableFiltersDefaultLabel),r=s.createElement(v,null,a),l=t?.length?[...e,r,...i]:e;return s.createElement($,null,s.createElement(y.aY,{data:l,itemContent:e=>s.createElement("div",null,l[e])}))});E.propTypes={children:r().node.isRequired,selectProps:r().shape({unavailableOptions:r().array,customUnavailableFiltersLabel:r().array})};const A=E;var S=n(708);const L=e=>{const{data:t,label:n}=e,{inputValue:o}=t;return s.createElement(s.Fragment,null,s.createElement(l.c.Option,{...e},(i=n,a=o,s.createElement("span",null,i.split(new RegExp(`(${a})`,"i")).map((e,t)=>e.toLowerCase()===a.toLowerCase()?s.createElement("b",{key:t},e):e)))));var i,a};L.propTypes={data:r().shape({value:r().string,label:r().string,inputValue:r().string}),label:r().string};var T=n(9664),N=n(73730);const H=b.Ay.div.withConfig({displayName:"ControlsWrapper"})` display: flex; justify-content: space-between; border: solid 1px #ccc; border-top: solid 1px ${({theme:e})=>(0,f.HK)(e,"colors.interactive.base.light")}; `,I=(0,b.Ay)(N.A.Primary).withConfig({displayName:"ApplyButton"})` margin: ${(0,f.Kq)(2)} ${(0,f.Kq)(2)} ${(0,f.Kq)(2)} auto; background: #000; padding: ${(0,f.Kq)(1.25)}; width: ${(0,f.Kq)(8.25)}; min-width: auto; height: ${(0,f.Kq)(4)}; color: ${(0,f.HK)("colors.interactive.base.white")}; ${({theme:e})=>(0,f.Gg)(e,"typography.definitions.utility.button-core")}; &, &:focus, &:hover { text-decoration: none; } `,B=b.Ay.button.withConfig({displayName:"ClearAllButton"})` margin: ${(0,f.Kq)(2)}; background: transparent; color: ${(0,f.HK)("colors.interactive.base.black")}; ${({theme:e})=>(0,f.Gg)(e,"typography.definitions.foundation.link-secondary")}; &, &:focus, &:hover { text-decoration: none; } `,O=e=>{const{formatMessage:t}=(0,h.A)(),[n,o]=(0,s.useState)(!1),{selectedDropdownNames:i,options:a}=e.selectProps||{};return(0,s.useEffect)(()=>{if(i&&a){const e=a[0]?.dropdownName||null;o(e&&i.includes(e))}else o(!1)},[i,a]),s.createElement(l.c.Menu,{...e},e.children,s.createElement(H,{onTouchEnd:e=>{e.stopPropagation()}},n&&s.createElement(B,{onClick:e.selectProps.handleReset},e.clearAllButtonLabel||t(x.clearAllButtonLabel)),s.createElement(I,{label:e.applyButtonLabel||t(x.applyButtonLabel),inputKind:"button",isDisabled:e.isLoading,shouldShowLoadingState:!0,onClickHandler:e.selectProps.handleApply})))};O.propTypes={applyButtonLabel:r().string,children:r().node,clearAllButtonLabel:r().string,isLoading:r().bool,selectProps:r().shape({handleApply:r().func,handleReset:r().func,options:r().array,selectedValue:r().array})};const _=O;var K=n(58293),P=n(23273),D=n(53499);const q=({innerProps:e})=>s.createElement("span",{...e,className:"dropdown__icon"},s.createElement(S.A,null));q.propTypes={innerProps:r().any};const M=()=>({}),R=()=>{},F=e=>{const{data:t,isSelected:n,label:o,options:i,value:a}=e;return s.createElement("div",null,s.createElement(l.c.Option,{...e},s.createElement(T.A.Checkbox,{formName:"option-with-checkbox",index:i.map((e,n)=>e===t?n:0).filter(Number.isFinite)[0],isChecked:n,label:o,name:a,onChangeHandler:R,value:a})))};F.propTypes={data:r().shape({label:r().string,value:r().string}),isSelected:r().bool,label:r().string,options:r().array,value:r().string.isRequired};const U=({assistiveLabel:e,className:t,selectedValue:n,defaultValue:o,dropdownInputName:a,hasNoPadding:r,instanceId:l,inputAttributes:d,isAsyncSelect:m,isDisabled:p,isDropdownMenuOpen:h,isInline:y,loadOptions:b,onInputChange:f,onKeyUp:w,configWidth:$,options:v,placeholderText:C,DropdownIcon:k,isMenuOpen:x,variationName:E,onFilterApplyCallback:S,onFilterResetCallback:T,onMenuCloseCallback:N,isLoading:H,onMenuOpenCallback:I,hasCount:B=!1,hasEnableGreyout:O=!1,hasMenuControls:R=!1,hideBackgroundColor:U=!1,isClearable:V=!1,isMultiSelect:G=!1,isSearchable:W=!1,noOptionsMessage:j="No options",shouldCloseMenuOnSelect:z=!0,shouldControlShowValue:Y=!0,shouldEnableVirtusoDropdown:X=!1,shouldHideSelectedOptions:Z=!1,shouldMatchStringsStartingWith:J=!1,shouldRenderOptionWithCheckbox:Q=!1,shouldShowPlaceholderText:ee=!0,unavailableOptions:te=[],customUnavailableFiltersLabel:ne,selectedDropdownNames:oe})=>{const[ie,ae]=(0,s.useState)(!1),[re,se]=(0,s.useState)("");s.useEffect(()=>{ae(h)},[h]);const le=e=>{const t=e.filter(e=>n?.some(t=>t.value===e.value));return t.length>=100?"99+":t.length},de=B&&0!==le(v)?s.createElement(s.Fragment,null,s.createElement("div",null,C),s.createElement("div",{className:"dropdown__placeholder--count"},le(v))):((e,t,n)=>e&&Object.keys(e).length>0||!n?void 0:t)(o,C,ee),ce={...d,...n?{value:n}:{},className:"dropdown__field",classNamePrefix:"dropdown",components:{...R&&v&&{Menu:_},DropdownIndicator:k||q,...Q&&{Option:F},...m&&{Option:L},...X&&{MenuList:A}},closeMenuOnSelect:z,controlShouldRenderValue:Y,defaultValue:o,hasCount:B,hasEnableGreyout:O,hideSelectedOptions:Z,instanceId:l,isClearable:V,blurInputOnSelect:!1,isDisabled:p,isSearchable:W,isAsyncSelect:m,isMenuOpen:x,isMulti:G,menuIsOpen:ie,...R&&{onMenuOpen:()=>{ae(!0),I&&I()},onMenuClose:()=>{se(""),ae(!1),N&&N()},handleApply:()=>{se(""),ae(!1),S&&S(n)},handleReset:()=>{const e=c()(n,v,(e,t)=>u()(g()(e,["count"]),g()(t,["count"])));T&&T(e)},isLoading:H,options:v,selectedDropdownNames:oe},name:a,noOptionsMessage:()=>(e=>`${e}`)(j),onChange:f,...R?{onInputChange:(e,t)=>{"input-change"===t.action&&e!==re&&se(e)},inputValue:re}:{onInputChange:w},options:v,unavailableOptions:te,customUnavailableFiltersLabel:ne,placeholder:de,styles:{input:M},hideBackgroundColor:U,isInline:y,...J&&{filterOption:P.fh}};return s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(D.G.RENDER,{name:"Dropdown",variation:E})},[E]),s.createElement(K.FF,{className:i()("dropdown",t,W?"dropdown--async":"dropdown--static"),isInline:y,isDisabled:p,configWidth:$,"data-testid":"dropdown-wrapper"},e&&s.createElement(K.Tw,{className:"dropdown__assistive-label",hasNoPadding:r,configWidth:$},e),m?s.createElement(K.Sr,{"data-testid":"async-dropdown-select",...ce,loadOptions:b}):s.createElement(K.wF,{"data-testid":"dropdown-select",configWidth:$,...ce}))};U.propTypes={assistiveLabel:r().string,className:r().string,configWidth:r().string,customUnavailableFiltersLabel:r().string,defaultValue:r().shape({label:r().string.isRequired,value:r().string}),DropdownIcon:r().func,dropdownInputName:r().string,hasCount:r().bool,hasEnableGreyout:r().bool,hasMenuControls:r().bool,hasMultipleValues:r().bool,hasNoPadding:r().bool,hideBackgroundColor:r().bool,inputAttributes:r().object,instanceId:r().string,isAsyncSelect:r().bool,isClearable:r().bool,isDisabled:r().bool,isDropdownMenuOpen:r().bool,isInline:r().bool,isLoading:r().bool,isMenuOpen:r().bool,isMultiSelect:r().bool,isSearchable:r().bool,loadOptions:r().func,noOptionsMessage:r().string,onFilterApplyCallback:r().func,onFilterResetCallback:r().func,onInputChange:r().func,onKeyUp:r().func,onMenuCloseCallback:r().func,onMenuOpenCallback:r().func,options:r().arrayOf(r().shape({label:r().string.isRequired,value:r().string})).isRequired,placeholderText:r().string,selectedDropdownNames:r().array,selectedValue:r().oneOfType([r().shape({label:r().string.isRequired,value:r().string}),r().arrayOf(r().shape({label:r().string.isRequired,value:r().string}))]),shouldCloseMenuOnSelect:r().bool,shouldControlShowValue:r().bool,shouldEnableVirtusoDropdown:r().bool,shouldHideSelectedOptions:r().bool,shouldMatchStringsStartingWith:r().bool,shouldRenderOptionWithCheckbox:r().bool,shouldShowPlaceholderText:r().bool,unavailableOptions:r().array,value:r().string,variationName:r().string},U.DropdownIndicator=q;const V=U},18550:(e,t,n)=>{n.d(t,{BT:()=>C,E:()=>k,FR:()=>f,Gd:()=>x,Gf:()=>y,Iv:()=>v,OA:()=>p,Ot:()=>A,Z6:()=>L,_Z:()=>S,eK:()=>u,i8:()=>$,mu:()=>w,ss:()=>g,xA:()=>b,xi:()=>E,xj:()=>h});var o=n(38267),i=n(26865),a=n(1123),r=n(76955),s=n(96472),l=n(70698),d=n(27985),c=n(51e3),m=n(9580);const u=(0,o.Ay)(d.JL).withConfig({displayName:"OverlayNavigationWrapper"})` display: ${({isVisible:e})=>e?"block":"none"}; position: fixed; ${({hasTopRule:e,topRuleAdditionalCSS:t})=>e&&t?t:"top: 0;"}; right: 0; bottom: 0; left: 0; z-index: ${(0,i.fl)("hyperstitialLayer")}; border-top-color: transparent; box-shadow: none; overflow-y: scroll; ${({shouldShowOverlayTop:e})=>!e&&`@media (max-width: ${s.LO.md}) {\n top: 3.5rem;\n }`} `;u.defaultProps={topRuleAdditionalCSS:d._U};const p=(0,o.Ay)(d.K5).withConfig({displayName:"OverlayNavigationTop"})` border-bottom-color: transparent; `;p.defaultProps={additionalCSS:d.WM};const g=(0,o.Ay)(d.c1).withConfig({displayName:"OverlayNavigationLogo"})` @media not all and (min-resolution: 0.001dpcm) { & > a { outline: 0; } } `,h=(0,o.Ay)(d.rH).withConfig({displayName:"OverlayNavigationUtility"})``,y=o.Ay.div.withConfig({displayName:"OverlayNavigationBottom"})` ${(0,a.VO)()} display: grid; column-gap: var(--grid-gap); ${(0,a.aU)("padding")}; @media (min-width: ${s.LO.md}) { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } ${m.wb} { border-top: 1px solid ${(0,i.HK)("colors.foundation.menu.dividers")}; } `,b=(0,o.Ay)(d.$K).withConfig({displayName:"OverlayNavigationButton"})` .icon-close { padding: 8px; } `,f=o.Ay.div.withConfig({displayName:"OverlayNavigationSocialLinks"})` border-top: 1px solid ${({theme:e})=>(0,i.HK)(e,(0,l.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.menu.dividers")}; padding-bottom: ${(0,i.Kq)(7)}; a { transition: all 0.2s cubic-bezier(0, 0, 0, 0.8) 0s; margin-top: ${(0,i.Kq)(1.5)}; border: 1px solid ${({theme:e})=>(0,i.HK)(e,(0,l.l1)(e,(0,l.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default"))}; border-radius: 50%; &:hover, &:focus { border-color: ${({theme:e})=>(0,i.HK)(e,(0,l.l1)(e,(0,l.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.hover"))}; } } ${c.rU} svg.icon path { fill: ${({theme:e})=>(0,i.HK)(e,(0,l.l1)(e,(0,l.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default"))}; } `,w=(0,o.Ay)(r.vm).withConfig({displayName:"OverlayNavigationSocialHeading"}).attrs(({theme:e})=>({colorToken:(0,l.l1)(e,(0,l.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}))` opacity: 0.6; margin: 0; padding-top: ${(0,i.Kq)(1)}; font-size: 12px; `;w.defaultProps={typeIdentity:"typography.definitions.foundation.title-primary"};const $=o.Ay.ul.withConfig({displayName:"OverlayNavigationUtilityLinks"})` display: flex; flex-direction: column; margin: 0; padding: 0; white-space: nowrap; `,v=o.Ay.li.withConfig({displayName:"OverlayNavigationUtilityListItem"})` display: flex; position: relative; align-items: center; padding: ${(0,i.Kq)(1)} 0; &::before { position: absolute; top: 0; border-top: 1px solid ${({theme:e})=>(0,i.HK)(e,(0,l.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.menu.dividers")}; width: 100%; height: 1px; content: ''; } &:first-child::before { border-color: ${({theme:e})=>(0,i.HK)(e,(0,l.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; } &:last-child { margin-bottom: ${(0,i.Kq)(3)}; } `,C=(0,o.Ay)(r.sH).withConfig({displayName:"OverlayNavigationUtilityLink"}).attrs(({theme:e})=>({colorSecondaryLinkToken:(0,l.l1)(e,(0,l.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.hover"),colorStaticLinkToken:(0,l.l1)(e,(0,l.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}))` display: block; padding: ${(0,i.Kq)(1)} 0; width: 100%; overflow: hidden; text-decoration: none; text-overflow: ellipsis; line-height: ${(0,i.Kq)(4)}; word-break: normal; white-space: normal; &:hover, &:focus { text-decoration: none; } ${({isSubscribeButton:e,isColorTokenInverted:t,theme:n})=>e&&`\n && {\n color: ${(0,i.HK)(n,(0,l.l1)(n,t?"colors.consumption.body.inverted.link":"colors.foundation.collapsed-menu.nav-link.hover"))};\n }\n `} `;C.defaultProps={linkStyle:"navigation",typeToken:"typography.definitions.foundation.link-primary"};const k=(0,o.Ay)($).withConfig({displayName:"OverlayNavigationPrimaryLinks"})``,x=(0,o.Ay)(v).withConfig({displayName:"OverlayNavigationPrimaryListItem"})``,E=(0,o.Ay)(C).withConfig({displayName:"OverlayNavigationPrimaryLink"})` ${({shouldOverridePrimaryLinkBISize:e})=>e&&`\n line-height: ${(0,i.Kq)(6)};\n font-size: 32px;\n\n @media (min-width: ${s.LO.lg}) {\n padding: ${(0,i.Kq)(1.5)} 0;\n font-size: 48px;\n }\n `} `;E.defaultProps={typeToken:"typography.definitions.foundation.link-feature"};const A=(0,o.Ay)(v).withConfig({displayName:"OverlayNavigationSecondaryListItem"})``,S=(0,o.Ay)($).withConfig({displayName:"OverlayNavigationSecondaryLinks"})``,L=(0,o.Ay)(C).withConfig({displayName:"OverlayNavigationSecondaryLink"})``},19362:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(96540),i=n(6442),a=n(14307),r=n(73730),s=n(53499);const l=(0,n(72267).defineMessages)({nextPage:{id:"PaginationRow.NextPage",defaultMessage:"Next Page",description:"The button label"}}),d=({btnStyle:e,buttonVariation:t="Primary",currentPage:n,filter:d,limit:c,searchQuery:m,shouldEnableBundleComponentAnalytics:u,totalResults:p})=>{o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"PaginationRow"})},[]);const g=(0,i.A)().formatMessage(l.nextPage);if(n*c>=p)return null;const h=r.A[t];let y=d?`?filter=${d}&page=${n+1}`:`?page=${n+1}`;y+=m?`&q=${m}`:"";return o.createElement("div",null,o.createElement(h,{inputKind:"link",href:y,btnStyle:e,label:g,shouldEnableBundleComponentAnalytics:u,onClickHandler:e=>{const t={type:"click",label:e.target.innerText,subject:"pagination",placement:"bottom"};(0,a.kg)(t)}}))}},19525:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(6442);const l=(0,n(72267).defineMessages)({secondaryMenuSearchLinkText:{id:"SecondaryMenu.SearchLinkText",defaultMessage:"Search",description:"SecondaryMenu component Search link text"},secondaryMenuSignInLinkText:{id:"SecondaryMenu.SignInLinkText",defaultMessage:"Sign in",description:"SecondaryMenu component Sign in link text"},secondaryMenuNavigationPrimaryAriaLabel:{id:"SecondaryMenu.NavigationPrimaryAriaLabel",defaultMessage:"Primary",description:"SecondaryMenu component Navigation links aria label"},secondaryMenuUtilityLinksAriaLabel:{id:"SecondaryMenu.UtilityLinksAriaLabel",defaultMessage:"Utility",description:"SecondaryMenu component Utility links aria label"},secondaryMenuSecondaryLinksAriaLabel:{id:"SecondaryMenu.SecondaryLinksAriaLabel",defaultMessage:"Secondary",description:"SecondaryMenu component Secondary links aria label"},secondaryMenuNavDropdownHeader:{id:"SecondaryMenu.NavDropdownHeader",defaultMessage:"Explore {rootBrandName} across the globe",description:"SecondaryMenu component Navigation dropdown header text"},secondaryMenuNavDropdownAssistiveLabel:{id:"SecondaryMenu.NavDropdownAssistiveLabel",defaultMessage:"Select international site",description:"ARIA description for secondary menu navigation dropdown"},searchValidationError:{id:"SecondaryMenu.SearchValidationError",defaultMessage:"Enter a term to search.",description:"SecondaryMenu search validation error message"}});var d=n(48188),c=n(63175),m=n(8231),u=n(53499),p=n(12501),g=n(26811),h=n(90098);const y=e=>{const[t,n]=r.useState("");r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"SecondaryMenu"})},[]);const{accountProps:{accountLinks:o,signInLink:i="/account/sign-in"}={},contentAlign:a="left",primaryLinks:d,isAccountsEnabled:c,internationalInfo:y,user:b,showSearch:f,hasExtraTopMargin:w=!1,hideSocialIcons:$,rootBrandName:v,secondaryLinks:C,showMarketSwitcher:k,socialIconsProps:x,hasInvertedSearchStyles:E=!1,secondaryMenuSignInLink:A,secondaryMenuSignInLabel:S,showUtilityLinksOnTop:L=!1,theme:T="standard",shouldInvertSecondaryMenuTheme:N,searchPlaceholder:H,drawerProps:I={},enableEnhancedSearch:B=!1}=e,O=e.utilityLinks.filter(e=>!e.hideFromSecondaryMenu),_=r.useCallback(e=>{if(t){const t=e.target.value?.trim(),o=t?(t.match(/[a-zA-Z0-9]/g)||[]).length:0;(!t||o>=2)&&n("")}},[t]);r.useEffect(()=>{if(B){const e=document.querySelector('input[name="q"]');if(e)return e.addEventListener("input",_),()=>{e.removeEventListener("input",_)}}},[B,_]);const{formatMessage:K}=(0,s.A)(),P=e=>{window.dataLayer&&window.dataLayer.push({event:"navigation-click",navigationType:"menu",clickText:e})},D="inverted"===T&&N;return r.createElement(h.LX,{contentAlign:a,showUtilityLinksOnTop:L,isInverted:D},r.createElement(h.v,{contentAlign:a},B&&r.createElement(h.wY,{contentAlign:a,enableEnhancedSearch:B,hasError:!!t},r.createElement(g.A,{searchLink:I?.searchAction||"/search",placeholder:H||K(l.secondaryMenuSearchLinkText),onSubmit:e=>{const o=e.target.querySelector('input[name="q"]'),i=o?.value?.trim(),a=i?(i.match(/[a-zA-Z0-9]/g)||[]).length:0;return!i||a<2?(e.preventDefault(),e.stopPropagation(),n(K(l.searchValidationError)),!1):(t&&n(""),!0)},onInputChange:_}),t&&r.createElement("div",{className:"search-error"},t)),L&&O.length>0&&r.createElement(h.Uz,{attributes:{"aria-label":K(l.secondaryMenuNavigationPrimaryAriaLabel)},className:"drawer__navigation--primary",hasExtraTopMargin:w,contentAlign:a,links:O,isInverted:D}),d.length>0&&r.createElement(h.we,{attributes:{"aria-label":K(l.secondaryMenuNavigationPrimaryAriaLabel)},className:"drawer__navigation--primary",hasExtraTopMargin:w,contentAlign:a,links:d,isInverted:D,enableEnhancedSearch:B}),r.createElement(h.vd,{"data-testid":"secondaryMenuBottomList",contentAlign:a},f&&r.createElement(h.wY,{contentAlign:a},r.createElement(h.SD,{onClick:()=>P(K(l.secondaryMenuSearchLinkText)),href:"/search",hasInvertedSearchStyles:E,isInverted:D},K(l.secondaryMenuSearchLinkText))),c&&r.createElement(h.jZ,{isInverted:D,contentAlign:a,onClick:()=>P(K(l.secondaryMenuSignInLinkText))},b&&(b.isAuthenticated?r.createElement(m.A,{accountLinks:o,className:"drawer-account__options"}):r.createElement(h.q4,{href:A||i,rel:"nofollow",isInverted:D},S||K(l.secondaryMenuSignInLinkText)))),r.createElement(p.LQ,{use:"SecondaryMenu"}),!L&&O.length>0&&r.createElement(h.ry,{attributes:{"aria-label":K(l.secondaryMenuUtilityLinksAriaLabel)},contentAlign:a,links:O,isInverted:D,utilityLinksOneItem:1===O.length&&0===C.length}),C.length>0&&r.createElement(h.zh,{attributes:{"aria-label":K(l.secondaryMenuSecondaryLinksAriaLabel)},className:"drawer__navigation--secondary",contentAlign:a,links:C,isInverted:D})),k&&y?.internationalSites.length>0&&r.createElement(r.Fragment,null,r.createElement(h.iY,{isInverted:D},K(l.secondaryMenuNavDropdownHeader,{rootBrandName:r.createElement("i",null,v)})),r.createElement(h.zR,{id:"secondary-menu-overlay-dropdown",assistiveLabel:K(l.secondaryMenuNavDropdownAssistiveLabel),label:y.homeLocation.name,showLabel:!0,isInverted:D,direction:"up",options:y.internationalSites})),!$&&r.createElement(h.Db,{...x,className:"drawer__social-icons",isInverted:D,showBorderTop:!k})))};y.propTypes={accountProps:a().shape({accountLinks:a().array,redirectURL:a().string,signInLink:a().string}),contentAlign:a().oneOf(["left","center"]),hasExtraTopMargin:a().bool,hasInvertedSearchStyles:a().bool,hideSocialIcons:a().bool,internationalInfo:a().object,isAccountsEnabled:a().bool,primaryLinks:d.A.propTypes.links,rootBrandName:a().string,secondaryLinks:d.A.propTypes.links,secondaryMenuSignInLabel:a().string,secondaryMenuSignInLink:a().string,shouldInvertSecondaryMenuTheme:a().bool,showMarketSwitcher:a().bool,showSearch:a().bool,showUtilityLinksOnTop:a().bool,socialIconsProps:a().shape(c.A.propTypes).isRequired,theme:a().oneOf(["standard","inverted"]),user:a().shape({isAuthenticated:a().bool.isRequired}),utilityLinks:d.A.propTypes.links,searchPlaceholder:a().string,drawerProps:a().object,enableEnhancedSearch:a().bool},y.displayName="SecondaryMenu";const b=y,f=(0,o.y)(b,"SecondaryMenu")},19607:(e,t,n)=>{n.d(t,{$:()=>i.A,A:()=>a});var o=n(31989),i=n(51257);const a=o.A},20104:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(5556),i=n.n(o),a=n(96540),r=n(20388),s=n(73275),l=n(37384),d=n(88258);const c=({caption:e,className:t,credit:n,dangerousCredit:o,dangerousCaption:i,...l})=>{const[c,m]=a.useState("landscape");return a.createElement(d.KK,{className:t,screenOrientation:c},a.createElement(d.W4,null),a.createElement(d.Z$,null,a.createElement(s.A,{...l,contentType:"photo",onAssetLoaded:({width:e,height:t})=>{et?m("landscape"):e===t&&m("square")}}),a.createElement(d.wJ,null,a.createElement(r.A,{dangerousCaptionText:e||i,dangerousCredit:n||o,hasLinebreak:"portrait"===c}))))};c.propTypes={...l.A.propTypes,caption:i().string,credit:i().string,dangerousCaption:i().string,dangerousCredit:i().string};const m=c},20320:(e,t,n)=>{n.d(t,{xW:()=>M,bT:()=>V,Io:()=>R,pX:()=>K,k2:()=>T,c0:()=>L,h7:()=>D,BY:()=>I,SJ:()=>B,Tw:()=>O,Fs:()=>A,l2:()=>S,XG:()=>_,L$:()=>E,uo:()=>U,Mq:()=>P,xE:()=>H,e6:()=>N,k:()=>q});var o=n(72662),i=n(33500),a=n(38267),r=n(26865),s=n(76955),l=n(73275),d=n(96472),c=n(1123),m=n(70698),u=n(43222),p=n(96540),g=n(6442),h=n(5556),y=n.n(h),b=n(32485),f=n.n(b),w=n(68766);const $=e=>{const{formatMessage:t}=(0,g.A)(),{className:n,...o}=e;return p.createElement("svg",{className:f()(n,"icon icon-chevron"),focusable:"false",viewBox:"0 0 12 12",width:"12",height:"12",xmlns:"http://www.w3.org/2000/svg",...o},p.createElement("title",null,t(w.A.chevron)),p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.53 3.53 6 9.06.47 3.53l1.06-1.06L6 6.94l4.47-4.47 1.06 1.06Z"}))};$.propTypes={className:y().string};const v=$;u.A;var C=n(91470);const k="&::-webkit-scrollbar {display: none;}",x="\n display: flex;\n overflow-x: auto;\n line-height: 1;\n",E=a.Ay.div.withConfig({displayName:"NavWrapper"})` ${({hasAnchorLinkList:e})=>`display: ${e?"block":"flex"};`} position: relative; width: 100%; ${({isMoreActive:e,theme:t})=>e&&`position: absolute;\n ${(0,r._o)(t,"background-color",(0,m.l1)(t,(0,m.iq)(t)?"colors.consumption.lead.inverted.background":"colors.foundation.menu-bg.collapsed"))};\n left: 0px;`} ${({isCentered:e})=>e&&"justify-content: center;"} ${({hasBorders:e,theme:t})=>e&&`\n border-width: 1px 0;\n border-style: solid;\n ${(0,r._o)(t,"border-color","colors.foundation.menu.dividers")};\n `} ${({hasBottomBorder:e,theme:t})=>e&&`border-bottom: 1px solid;\n ${(0,r._o)(t,"border-color","colors.foundation.menu.dividers")};\n `} ${({hasGradient:e,fadeWidth:t,theme:n,hasAnchorLinkList:o})=>e&&`&::after {\n position: ${o?"unset":"absolute"};\n top: 1px;\n right: 0;\n bottom: 1px;\n background: linear-gradient(90deg, rgba(${(0,r.HK)(n,(0,m.l1)(n,"colors.foundation.menu-bg.collapsed"),{rgbOnly:!0})}, 0) 0%, rgba(${(0,r.HK)(n,(0,m.l1)(n,"colors.foundation.menu-bg.collapsed"),{rgbOnly:!0})}, 1) 75%);\n \n width: ${(0,r.Kq)(3)} ;\n content: '';\n pointer-events: none;\n ${"lg"===t&&`\n width: ${(0,r.Kq)(9)} ;\n opacity: 0.9;\n @media (max-width: ${d.LO.md}) {\n right: -1px;\n }\n `}\n }`} `,A=a.Ay.nav.withConfig({displayName:"NavListWrapper"})` ${(0,c.VO)()}; ${({hasAnchorLinkList:e})=>!e&&`\n padding-left: var(--grid-margin);\n ${x};\n `} ${({hasCarouselControls:e,hasAnchorLinkList:t})=>e&&!t&&`\n padding-left: 0;\n height: 99px;\n && {\n background-color: ${(0,r.HK)("colors.interactive.base.white")};\n }\n `} ${k}; ${({disableLeftSpace:e})=>e&&"padding-left:0;"} `,S=a.Ay.nav.withConfig({displayName:"NavListWrapperForMore"})` ${(0,c.VO)()}; ${x}; padding-left: ${(0,r.Kq)(6)}; ${k}; `,L=a.Ay.ul.withConfig({displayName:"NavList"})` margin: 0; padding: 0; ${({hasAnchorLinkList:e})=>!e&&"display: inline-flex;\n padding-right: var(--grid-margin);\n "} ${({hasCarouselControls:e,hasAnchorLinkList:t})=>!e&&!t&&"white-space: nowrap; "} ${({hasCarouselControls:e,numberOfItemsInCarousel:t,hasAnchorLinkList:n})=>e&&`\n display: grid;\n overflow-wrap: anywhere;\n overflow: auto;\n grid-template-columns: repeat(${t}, calc(25% - 8px));\n grid-template-rows: minmax(99px, 1fr);\n width: 100vw;\n\n && {\n background-color: ${(0,r.HK)("colors.discovery.body.white.background")};\n }\n\n ${k};\n @media (max-width: ${d.LO.lg}) {\n padding-left: ${(0,r.Kq)(3)};\n grid-template-columns: repeat(7,calc(33% - 10px));\n }\n ${!n&&` \n padding-left: var(--grid-margin);\n grid-gap: 16px;\n @media (max-width: ${d.LO.md}) {\n grid-template-columns: repeat(${t},calc(50% - 8px));\n grid-gap: 23px;\n }\n @media (max-width: 455px) {\n grid-template-columns: repeat(${t},calc(95% - 8px));\n grid-gap: 23px;\n }\n `}\n `} ${({disableRightSpace:e=!1})=>e&&"padding-right: 0;"} ${({hasAnchorLinkList:e,theme:t})=>e&&`\n ${i.bU} {\n ${(0,r.Gg)(t,"typography.definitions.discovery.subhed-section-secondary")};\n text-align: center;\n ${(0,r._o)(t,"color",(0,m.iq)(t)?"colors.discovery.body.black.description":"colors.discovery.body.white.description")};\n }\n ${o.hF}{\n padding:0 ${(0,r.Kq)(6)} 0 ${(0,r.Kq)(6)};\n margin:0;\n @media (max-width: 428px) {\n padding:0 ${(0,r.Kq)(3)} 0 ${(0,r.Kq)(3)};\n }\n > li {\n margin: 0;\n }\n }\n ${o.aF}{\n margin: 0px;\n padding-top: ${(0,r.Kq)(3)};\n padding-bottom: ${(0,r.Kq)(2)};\n }\n ${o.ig}{\n margin-right: ${(0,r.Kq)(6)};\n @media (max-width: ${d.LO.md}){\n margin-right: ${(0,r.Kq)(3)}\n }\n }\n ${o.l9}{\n margin-right: ${(0,r.Kq)(6)};\n @media (max-width: ${d.LO.md}){\n margin-right: ${(0,r.Kq)(3)}\n }\n }\n ${o.hB}{\n margin: 0;\n }\n `} `,T=(0,a.Ay)(s.sH).withConfig({displayName:"NavLink"}).attrs(({theme:e})=>({colorSecondaryLinkToken:(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.hover"),colorStaticLinkToken:(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}))` ${({hasCarouselControls:e})=>!e&&`padding: ${(0,r.Kq)(1.5)} 0;\n word-break: normal;\n \n @media (min-width: ${d.LO.lg}) {\n padding: ${(0,r.Kq)(2)} 0;\n }\n `} text-decoration: none; line-height: 1; &:not([href]) { ${({hasChildren:e})=>!e&&"pointer-events: none"} } &:link, &:visited { ${({theme:e,isActive:t})=>t&&`${(0,r._o)(e,"color",(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.hover"))};`} } ${({theme:e,isActive:t,shouldUseHoverState:n})=>t&&n&&`${(0,r._o)(e,"color",(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover"))};`} &:focus { ${({theme:e,isActive:t})=>t?`${(0,r.HK)("color",(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover"))};`:`${(0,r.HK)("color",(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default"))};`} } &:hover, &:focus-visible { text-decoration: none; ${({theme:e})=>`${(0,r._o)(e,"color",(0,m.l1)(e,"colors.foundation.collapsed-menu.nav-link.hover"))};`} } ${({hasCarouselControls:e})=>e&&`\n word-break: break-word;\n ${({theme:e})=>(0,r._o)(e,"color","colors.discovery.body.white.heading")};\n ${(0,r.Gg)("typography.discovery.hed-core-secondary")};\n `} `;T.defaultProps={linkStyle:"navigation",typeToken:"typography.definitions.foundation.link-primary"};const N=(0,a.Ay)(C.ChevronRight).withConfig({displayName:"ScrollingNavigationThinChevron"})``,H=(0,a.Ay)(v).withConfig({displayName:"ScrollingNavigationChevron"})` ${({theme:e})=>(0,r._o)(e,"fill",(0,m.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; margin-left: ${(0,r.Kq)(.5)}; ${({theme:e,isactive:t})=>"true"===t&&`transform: rotate(180deg);\n ${(0,r._o)(e,"fill",(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover"))};`} `,I=a.Ay.li.withConfig({displayName:"NavListItem"})` display: flex; position: relative; flex-shrink: 0; align-items: center; transition: all 500ms ease; height: 48px; &.isDummyLinkClickable { cursor: pointer; a { pointer-events: none; } } ${({hasAnchorLinkList:e,theme:t})=>e&&`\n &:hover::before, &:focus-visible::before {\n ${(0,r._o)(t,"background-color",(0,m.iq)(t)?"colors.discovery.body.white.background":"colors.discovery.body.black.background")};\n }\n &&& {\n height : 100%;\n }`} ${({showOnlyInBreakpoints:e})=>e&&"display: none;"} ${({showOnlyInBreakpoints:e})=>e&&e.map(e=>`@media (max-width: ${d.LO[e]}){ display: flex; }`)} ${({hasCarouselControls:e})=>e&&`\n :not(:last-child):after {\n position: absolute;\n left: 100%;\n height: 99px;\n background: black;\n width: 1px;\n top: 0;\n padding-left: 0;\n\n && {\n background: ${(0,r.HK)("colors.discovery.body.white.divider")};\n }\n } \n `} ${({isSlim:e})=>!e&&`\n @media (min-width: ${d.LO.lg}) {\n height: ${(0,r.Kq)(9)};\n }\n `} ${({theme:e,isActive:t})=>t&&`\n &::before {\n ${(0,r._o)(e,"background-color",(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.background":"colors.foundation.collapsed-menu.nav-link.hover"))};\n }\n `}; ${({theme:e,hasAnchorLinkList:t,isActive:n})=>t&&n&&`\n &::before {\n ${(0,r._o)(e,"background-color",(0,m.iq)(e)?"colors.discovery.body.white.background":"colors.discovery.body.black.background")};\n }\n `} ${({theme:e,isActive:t,enableHoverStyle:n})=>!t&&n&&`\n &:hover::before, &:focus-visible::before {\n ${(0,r._o)(e,"background-color",(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.default"))};\n }\n `}; ${({hasCarouselControls:e})=>!e&&`& + li {\n margin-left: ${(0,r.Kq)(2)};\n }`} &:first-child { margin-left: 0; } &::before { position: absolute; bottom: 0; width: 100%; height: 4px; content: ''; } &:hover, &:focus-visible { outline: none; ${({theme:e})=>` \n \n ${H} {\n ${(0,r._o)(e,"fill",(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover"))};\n }\n\n ${T} {\n ${(0,r._o)(e,"color",(0,m.l1)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover"))}\n }\n `} } `,B=a.Ay.div.withConfig({displayName:"NavListItemContent"})` ${({hasAnchorLinkList:e})=>!e&&"display: flex;\n flex-direction: inherit;\n align-items: center;"} ${({isClickable:e})=>e&&"cursor: pointer;"} `,O=a.Ay.a.withConfig({displayName:"NavListItemContentAnchor"})``,_=a.Ay.div.withConfig({displayName:"NavPrimaryItem"})` display: inline-flex; position: relative; flex: 1 0 auto; align-items: center; margin-right: ${(0,r.Kq)(2)}; ${({hasDivider:e,theme:t})=>e&&`\n padding-right: ${(0,r.Kq)(2)};\n\n ::after {\n display: block;\n position: absolute;\n right: 0;\n ${(0,r._o)(t,"background-color",(0,m.iq)(t)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")};\n width: 1px;\n height: 32px;\n content: '';\n }\n `} ${({hidePrimaryLink:e})=>e&&`\n @media (min-width: ${d.LO[e]}) {\n display: none;\n }`} ${T} { display: flex; align-items: center; padding-top: 0; padding-bottom: 0; padding-left: 0; ${({theme:e})=>(0,r._o)(e,"color",(0,m.l1)(e,"colors.foundation.collapsed-menu.nav-link.hover"))}; } `,K=(0,a.Ay)(l.A).withConfig({displayName:"NavImage"})` img { height: ${(0,r.Kq)(6)}; ${({hasMargin:e})=>e&&`margin-right: ${(0,r.Kq)(2)}`}; @media (min-width: ${d.LO.md}) { height: ${(0,r.Kq)(7)}; } } `,P=a.Ay.div.withConfig({displayName:"ScrollingNavigationMoreLinkWrapper"})` ${(0,r.H4)(d.LO.lg)} { display: block; } ${(0,r.H4)(d.LO.xxl)} { display: none; } ${({hideMoreLinkWrapperOnLargerScreens:e})=>e&&`\n ${(0,r.H4)(d.LO.xl)} {\n display: none;\n }\n `} `,D=a.Ay.div.withConfig({displayName:"NavListDefault"})` display: none; ${({showDefaultNavListOnLargerScreens:e})=>e&&`\n ${(0,r.H4)(d.LO.xl)} {\n display: block;\n }\n `} ${(0,r.H4)(d.LO.xxl)} { display: block; } `,q=a.Ay.div.withConfig({displayName:"VisualTextWrap"})` /* stylelint-disable-next-line value-no-vendor-prefix */ display: -webkit-box; ${({hasAnchorLinkList:e})=>e?`\n ${(0,r.Gg)("typography.definitions.globalEditorial.numerical-small")}\n width:117px;\n a {\n padding:${(0,r.Kq)(1)} 0;\n }\n padding-bottom: ${(0,r.Kq)(1)};\n `:` width:181px;\n margin-right: ${(0,r.Kq)(2)};\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n /* stylelint-disable-next-line value-no-vendor-prefix */\n\n @media (max-width: ${d.LO.sm}) {\n min-width: 200px;\n }`} `,M=a.Ay.img.withConfig({displayName:"ImageWrapper"})` ${({hasAnchorLinkList:e})=>e?"\n picture,\n img {\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n margin: auto;\n background: white;\n width: 117px;\n }\n ":`margin-right: ${(0,r.Kq)(2)};\n width: 24%;\n\n @media (max-width: ${d.LO.lg}) {\n width: 24%;\n }\n @media (max-width: ${d.LO.md}) {\n width: 23%;\n }`} ${({hasHeaderBorder:e})=>e&&"\n picture,\n img {\n width: 200px;\n}\n \n "} ${({hasCarouselControls:e})=>!e&&"\n object-fit: cover;\n height: 66px;\n && {\n width: 66px;\n aspect-ratio: 1;\n }\n "} `,R=a.Ay.div.withConfig({displayName:"LinkBannerRubric"})` /* stylelint-disable-next-line value-no-vendor-prefix */ display: -webkit-box; margin-bottom: ${(0,r.Kq)(.5)}; overflow: hidden; text-overflow: ellipsis; line-height: ${(0,r.Kq)(2)}; -webkit-line-clamp: 1; -webkit-box-orient: vertical; /* stylelint-disable-next-line value-no-vendor-prefix */ ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.lead.standard.context-signature")}; ${(0,r.Gg)("typography.definitions.globalEditorial.context-primary")}; && { text-transform: uppercase; text-decoration: none; } `,F=a.Ay.button.withConfig({displayName:"BaseScrollButton"})` position: absolute; z-index: 10000; border: 0.5px solid ${(0,r.HK)("colors.discovery.body.white.border")}; border-radius: 22px; background-color: ${(0,r.HK)("colors.interactive.base.white")}; cursor: pointer; padding: 5px; width: ${(0,r.Kq)(6)}; height: ${(0,r.Kq)(6)}; @media (max-width: ${d.LO.md}) { display: none; } `,U=(0,a.Ay)(F).withConfig({displayName:"RightScrollButton"})` right: 0; transform: rotate(0deg); margin: 26px 8px 25px auto; `,V=(0,a.Ay)(F).withConfig({displayName:"LeftScrollButton"})` left: 0; transform: rotate(180deg); margin: 26px auto 25px 8px; `},20460:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({articleCta:{id:"GallerySlide.ArticleCta",defaultMessage:"View Story",description:"GallerySlide component article text",isConfigurable:!0},productCta:{id:"GallerySlide.ProductCta",defaultMessage:"Shop Now",description:"GallerySlide component product text",isConfigurable:!0},recipeCta:{id:"GallerySlide.RecipeCta",defaultMessage:"View Recipe",description:"GallerySlide component recipe text",isConfigurable:!0},reviewCta:{id:"GallerySlide.ReviewCta",defaultMessage:"Read More",description:"GallerySlide component review text",isConfigurable:!0},venueCta:{id:"GallerySlide.VenueCta",defaultMessage:"Book Now",description:"GallerySlide component venue text",isConfigurable:!0},venueSellerPreviewText:{id:"GallerySlide.VenueSellerPreviewText",defaultMessage:"Powered By:",description:"Seller preview"},productOfferCTAText:{id:"GallerySlide.DefaultCTAText",defaultMessage:"Book Now",description:"Cta text for product offer list"}})},20659:(e,t,n)=>{n.d(t,{Ae:()=>p,Tn:()=>m,zK:()=>u});var o=n(38267),i=n(26865),a=n(16800),r=n(1123),s=n(96472),l=n(66657),d=n(72662);const c=()=>o.AH` ${(0,i.Xm)(0,`calc(${s.LO.md} - 1px)`)} { padding-right: ${(0,i.Kq)(3)}; } ${(0,i.Xm)(s.LO.md,`calc(${s.LO.xl} - 1px)`)} { padding-right: ${(0,i.Kq)(6)}; } ${(0,i.Xm)(s.LO.xl,s.LO.xxl)} { padding-right: ${(0,i.Kq)(8)}; } `,m=(0,o.Ay)(l.A).withConfig({displayName:"CarouselRow"})` margin: 0 auto; &.product__carousel--has-increased-padding { padding-top: ${(0,i.Kq)(5)}; padding-bottom: ${(0,i.Kq)(5)}; } &.product__carousel--has-moderate-padding { padding-top: ${(0,i.Kq)(5)}; padding-bottom: ${(0,i.Kq)(5)}; @media (min-width: ${s.LO.md}) { padding-top: ${(0,i.Kq)(5)}; } @media (min-width: ${s.LO.xl}) { padding-top: ${(0,i.Kq)(7)}; padding-bottom: ${(0,i.Kq)(7)}; } } &.product__carousel--has-full-bleed { ${d.aF} { padding-right: 0; padding-left: 0; max-width: 100%; } ${d.hF} { margin: 0; } } &.product__carousel--has-full-bleed-right { ${d.aF} { ${(0,i.L7)(s.LO.xxl)} { padding-right: 0; } } ${d.hB} { ${c()}; } } &.product__carousel--body-has-full-bleed-right { ${d.aF} { ${(0,i.L7)(s.LO.xxl)} { padding-right: 0; ${d.Q0} { margin-right: 4rem; } } ${(0,i.L7)(s.LO.xl)} { ${d.Q0} { margin-right: 3rem; } } ${(0,i.L7)(s.LO.md)} { ${d.Q0} { margin-right: 1.5rem; } } } ${d.hB} { ${c()}; } } ${d.aF} { margin: 0 auto; margin-bottom: ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,a.F)(t,"gap-sm")?"0px":(0,i.Kq)(4)}; padding-right: ${(0,i.Kq)(3)}; padding-left: ${(0,i.Kq)(3)}; ${({hasFullBleedCarouselWithPaddingWrapperOnMobile:e})=>e&&` @media (max-width: ${s.LO.md}) {\n padding: 0;\n }\n `} max-width: ${s.LO.lg}; ${({hasCarouselTopMargin:e,hasConsistentSpacing:t,theme:n})=>e&&`margin: ${t&&"0px"!==(0,a.F)(n,"gap-md")?"0px":(0,i.Kq)(4)} auto;`} @media (min-width: ${s.LO.md}) { padding-right: ${(0,i.Kq)(6)}; padding-left: ${(0,i.Kq)(6)}; max-width: ${s.LO.lg}; } @media (min-width: ${s.LO.lg}) { padding-right: ${(0,i.Kq)(6)}; padding-left: ${(0,i.Kq)(6)}; max-width: ${s.LO.xl}; } @media (min-width: ${s.LO.xl}) { padding-right: ${(0,i.Kq)(8)}; padding-left: ${(0,i.Kq)(8)}; max-width: ${s.LO.xxl}; } @media (min-width: ${s.LO.xxl}) { padding-bottom: ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,a.F)(t,"gap-md")?"0px":(0,i.Kq)(5)}; } &.carousel--has-moderate-spacing { @media (min-width: ${s.LO.xxl}) { padding-bottom: 0; } ${d.hF} { margin-top: ${(0,i.Kq)(4)}; @media (min-width: ${s.LO.xl}) { margin-top: ${(0,i.Kq)(5)}; } } } } ${d.hF} { margin-top: ${(0,i.Kq)(2)}; background: none; overflow-x: auto; } ${d.oX} { ${({hasMarginOnDesktop:e})=>e&&"\n margin: 0 32px 0 0;\n &:first-of-type {\n margin-left: -1px;\n }\n &:last-of-type {\n margin-right: 0;\n }\n "} ${({hasFullBleedCarouselWithPaddingWrapperOnMobile:e})=>e&&"\n @media (max-width: 760px) {\n margin: 0;\n padding-left: 12px;\n \n &:last-of-type {\n padding-right: 24px; \n width: 96%;\n }\n &:first-of-type {\n padding-left: 24px; \n width: 92%;\n }\n }\n "} .summary-item__rubric { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; color: ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.light.context-signature")}; } } .summary-item__content { padding-bottom: ${(0,i.Kq)(2)}; width: auto; @media (min-width: ${s.LO.xxl}) { padding-bottom: ${(0,i.Kq)(4)}; } } .summary-item--bundle { .summary-item__content { width: auto; } .summary-item__hed { margin-top: 0; margin-bottom: ${(0,i.Kq)(1)}; } } .summary-item { .summary-item__hed { width: auto; ${({shouldOverrideTypeToken:e,theme:t})=>e?(0,i.Gg)(t,"typography.definitions.discovery.hed-core-secondary"):(0,i.Gg)(t,"typography.definitions.discovery.hed-core-primary")}; color: ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.light.heading")}; } } .summary-item__hed-link::after { ${({theme:e})=>`\n border-bottom: 1px solid ${(0,i.HK)(e,"colors.discovery.body.light.accent")};\n )};\n `} .summary-item__dek { ${({shouldOverrideTypeToken:e,theme:t})=>e?(0,i.Gg)(t,"typography.definitions.discovery.description-core"):(0,i.Gg)(t,"typography.definitions.discovery.description-feature")}; color: ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.light.description")}; } } .visualStoryLayout { li { margin: 0 5px; padding: 0; width: 110px; } .summary-item__content { padding-top: 4px; padding-bottom: 0; } .summary-item__hed { /* stylelint-disable-next-line value-no-vendor-prefix */ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .summary-item__dek { display: none; } .summary-item__hed-link::after { margin-bottom: 0; border: none; } ul[class^='CarouselList'] { margin-top: 16px; margin-bottom: 11px; } div[class^='CarouselListWrapper'] { border-bottom: 1px solid ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.divider")}; } div[class*='CarouselListButton'] { top: 25px; transform: translateY(0%); > button { border: 1px solid ${({isInverted:e,theme:t})=>e?(0,i.HK)(t,"colors.interactive.base.white"):(0,i.HK)(t,"colors.interactive.base.black")}; @media (max-width: 480px) { display: none; } > .button__icon-container { top: 8px; left: 9px; width: 21px; height: 21px; svg { width: 21px; height: 21px; } } } } .summary-item__asset-container { height: 90px; } .aspect-ratio--overlay-container { margin: 0 auto; border: 1px solid ${({isInverted:e,theme:t})=>(0,i.HK)(t,"colors.interactive.base.border")}; border-radius: 50%; width: 90px; height: 90px; picture { display: flex; justify-content: center; img { width: unset; max-width: unset; height: 90px; } } } header[class*='CarouselHeader'] { margin-bottom: 0; } div[class*='CarouselHeaderItemTitle'], div[class*='CarouselSectionTitle'] { margin-bottom: 0.75rem; border: none; padding-right: 0; padding-bottom: 0; padding-left: 0; text-align: center; h2 { border-top: 1px solid ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.divider")}; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.discovery.subhed-section-primary")}; border-bottom: 1px solid ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.divider")}; padding: 16px 0 16px 0; width: 100%; color: ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.heading")}; @media (min-width: 480px) { text-align: left; } } } p[class*='SummaryDekDefault'] { border-bottom: 1px solid ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.border")}; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.consumptionEditorial.description-core")}; padding: 4px 0 16px 0; text-align: center; color: ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.heading")}; } li h3.summary-item__hed { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")}; margin-bottom: 0; text-align: center; color: ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.heading")}; font-size: 10px; } div[class*='CarouselFooterItemButton'] > button { bottom: 40px; zoom: 0.7; } @media (min-width: 480px) { div[class*='CarouselHeaderItemTitle'] { width: 100%; text-align: left; } p[class*='SummaryDekDefault'] { text-align: left; } } } ${({shouldApplyCustomHeaderHeight:e})=>e&&`\n @media (min-width: 768px) {\n ${d.h0} {\n height: 50px;\n }\n }\n `} `,u=o.Ay.div.withConfig({displayName:"ProductVisualAssetWrapper"})` ${(0,r.VO)()} margin-bottom: ${(0,i.Kq)(8)}; padding-right: calc(1 * var(--grid-margin)); padding-left: calc(1 * var(--grid-margin)); `,p=(0,o.Ay)(l.A).withConfig({displayName:"FeaturesRow"})` ${({theme:e,hasMinimalVerticalSpacing:t,hasReducedBottomMargin:n,hasReducedMargin:o,hasIncreasedVerticalPaddingTop:r,hasNoTopBottomMarginOnMobile:l,hasConsistentSpacing:d,shouldUseCustomMargin:c})=>r?d&&"0px"!==(0,a.F)(e,"gap-sm")?"margin-top: 0;":`margin-top: ${(0,i.Kq)(5)};`:t?d&&"0px"!==(0,a.F)(e,"gap-md")?`margin-bottom: ${(0,i.Kq)(0)};`:`margin-bottom: ${(0,i.Kq)(2)};`:o?"margin-bottom: 0;":n?d&&"0px"!==(0,a.F)(e,"gap-md")?`margin-bottom: ${(0,i.Kq)(0)};`:`margin-bottom: ${(0,i.Kq)(3)};`:l?`\n ${(0,i.H4)(s.LO.sm)} {\n margin-top: 0;\n margin-bottom: 0;\n }`:c?d&&"0px"!==(0,a.F)(e,"gap-md")?`margin-bottom: ${(0,i.Kq)(0)};`:`margin-bottom: ${(0,i.Kq)(5)};`:d&&"0px"!==(0,a.F)(e,"gap-md")?`margin-bottom: ${(0,i.Kq)(0)};`:`margin-bottom: ${(0,i.Kq)(7)};`} &.verso-features--has-increased-padding { padding-top: ${(0,i.Kq)(6)}; padding-bottom: ${(0,i.Kq)(6)}; @media (min-width: ${s.LO.md}) { padding-top: ${(0,i.Kq)(8)}; padding-bottom: ${(0,i.Kq)(8)}; } @media (min-width: ${s.LO.xl}) { padding-top: ${(0,i.Kq)(10)}; padding-bottom: ${(0,i.Kq)(10)}; } } &.verso-features--has-increased-padding-top { padding-top: ${(0,i.Kq)(8)}; } `},21608:(e,t,n)=>{n.d(t,{C7:()=>h,Fu:()=>g,Jy:()=>u,Mh:()=>d,RL:()=>p,h9:()=>c,hl:()=>m});var o=n(38267),i=n(26865),a=n(44944),r=n(10642),s=n(75163),l=n(74423);const d=(0,o.Ay)(a.A).withConfig({displayName:"ContentHeaderSponsorName"})` ${(0,i.Gg)("typography.definitions.globalEditorial.accreditation-core")}; position: relative; color: var(${s.pT.Color.TextByline}); ::before { position: absolute; top: 10%; left: calc(-${(0,i.Kq)(1)} - 0.5px); border-left: 1px solid currentColor; height: 80%; content: ' '; } `,c=o.Ay.div.withConfig({displayName:"ContentHeaderRubricBlock"})` display: flex; flex-direction: row; flex-wrap: wrap; gap: ${(0,i.Kq)(2)}; ${(0,i.Gg)("typography.definitions.globalEditorial.context-primary")}; line-height: 1; > * { display: inline-flex; align-items: center; } ${l.f9} { margin-top: 0; &:first-child { margin-top: 0; } } ${({hasIssueDateAndRubricBlock:e})=>e&&"\n @media (min-width: 0) and (max-width: 767px) {\n line-height: 1.4;\n }\n "} `,m=o.Ay.span.withConfig({displayName:"ContentHeaderRubricPrice"})` margin-left: ${(0,i.Kq)(.5)}; vertical-align: middle; `,u=o.Ay.div.withConfig({displayName:"ContentHeaderRubricContainer"})` text-align: center; line-height: 1; color: var(${s.pT.Color.TextRubric}); ${({isVerticalAlign:e})=>e&&"\n a {\n vertical-align: baseline;\n }\n "} .rubric--with-bg { margin-top: 0; } .rubric--with-bg::before { margin-right: 0; content: ''; } `,p=o.Ay.div.withConfig({displayName:"ContentHeaderRubricDateBlock"})` gap: ${(0,i.Kq)(2)}; && { > * { display: inline-flex; } } `,g=(0,o.Ay)(r.A.Item).withConfig({displayName:"ContentHeaderRubricIssueDate"})` position: relative; text-align: center; line-height: 1; &::before { display: inline-block; position: absolute; top: 10%; left: calc(-${(0,i.Kq)(1)} - 0.5px); border-left: 1px solid currentColor; height: 80%; content: ' '; } color: var(${s.pT.Color.TextPubdate}); && .rubric.link { ${(0,i.Gg)("typography.definitions.globalEditorial.context-primary")} color: var(${s.pT.Color.TextPubdate}); &:hover, &:active { color: var(${s.pT.Color.TextPubdate}); } } ${({hideIssueDatePipeSeparator:e})=>e&&"\n &::before {\n content: none;\n }\n "} `,h=o.Ay.div.withConfig({displayName:"ContentHeaderLiveIndicator"})` text-align: center; `},22039:(e,t,n)=>{n.d(t,{$N:()=>W,$g:()=>X,AE:()=>se,B8:()=>L,Bd:()=>be,CA:()=>me,CN:()=>ie,D6:()=>_,F7:()=>ae,FC:()=>pe,If:()=>U,KL:()=>R,KW:()=>ue,Mj:()=>fe,Nj:()=>I,Ol:()=>D,R8:()=>N,RA:()=>P,SL:()=>ee,U_:()=>O,Vl:()=>x,_9:()=>Y,_P:()=>k,_i:()=>re,a8:()=>S,bj:()=>G,c3:()=>T,cP:()=>J,eU:()=>j,eZ:()=>we,ej:()=>v,fT:()=>K,g0:()=>de,h4:()=>C,hX:()=>q,hy:()=>V,iA:()=>Q,jO:()=>M,jT:()=>$e,jw:()=>ce,mK:()=>E,mZ:()=>A,n9:()=>le,qV:()=>B,rF:()=>ne,rU:()=>ye,sN:()=>he,ss:()=>H,t6:()=>F,tU:()=>Z,vV:()=>z,xl:()=>ge,xx:()=>oe,yC:()=>te});var o=n(38267),i=n(96472),a=n(43222),r=n(48286),s=n(73730),l=n(50531),d=n(76955),c=n(91783),m=n(44802),u=n(26865),p=n(29912),g=n(57166),h=n(11499),y=n(7228),b=n(18117),f=n(13447),w=n(8070);const $="0.2s",v=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardSalePrice"})` text-decoration: line-through; ${({theme:e})=>` ${(0,u._o)(e,"color",(0,u.iq)(e)?"colors.consumption.body.inverted.body":"colors.consumption.body.standard.subhed")};\n `}; ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.call-to-action")} `;v.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.link",typeIdentity:"typography.definitions.utility.button-utility"};const C=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardRetailerName"})` display: flex; flex-direction: row; align-items: flex-end; padding: 0; width: 100%; line-height: revert; a { display: flex; gap: ${({sellerNameHasEllipsis:e})=>e?"0":(0,u.Kq)(.5)}; width: 100%; } .upcRetailerNameBlock { display: grid; } .upcRetailerName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .upcicons { display: flex; align-items: center; justify-content: center; transition: all 0.5s ease-in; margin: auto; margin-left: 0; border-radius: 100px; background: ${({theme:e})=>`${(0,u.HK)(e,"colors.interactive.base.highlight")}`}; width: 1rem; height: 1rem; text-align: center; aspect-ratio: 1/1; } ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.call-to-action")} `;C.defaultProps={as:"span",colorToken:"colors.interactive.base.black",typeIdentity:"typography.definitions.utility.button-core"};const k=(0,o.Ay)(a.A).withConfig({displayName:"UnifiedArrowIcon"})` transform: rotate(-45deg); `,x=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardPrice"})` ${({theme:e})=>` ${(0,u._o)(e,"color",(0,u.iq)(e)?"colors.consumption.body.inverted.body":"colors.consumption.body.standard.subhed")};\n `}; ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.call-to-action")} `;x.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.link",typeIdentity:"typography.definitions.utility.button-utility"};const E=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardOffer"})` display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0; .upcRetailerNameWrapper > a { transition: text-decoration 1s ease; text-decoration: underline solid transparent; text-underline-offset: 2px; } ${(0,u.Xm)(0,i.LO.md)} { .upcRetailerNameWrapper > a { text-decoration: underline; } .upcicons { position: relative; transform: translate(0, -2px); } } &:hover { .upcicons { transform: translate(2px, -2px); } .upcRetailerNameWrapper > a { text-decoration: underline; } } `;E.defaultProps={as:"div"};const A=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardPriceWrapper"})` display: flex; flex-direction: row; align-items: center; cursor: pointer; padding: 0; width: 100%; min-height: ${(0,u.Kq)(2)}; overflow: hidden; gap: ${(0,u.Kq)(.5)}; a { text-decoration: none; } ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.call-to-action")} `;A.defaultProps={as:"div",colorToken:"colors.interactive.base.black",typeIdentity:"typography.definitions.utility.button-core"};const S=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardNameWrapper"})` display: flex; padding: ${(0,u.Kq)(.5)} 0 ${(0,u.Kq)(1)} 0; h2 { font-weight: bold; } ${({isLandscapeProductCard:e})=>e&&`\n justify-content: center;\n padding-bottom: ${(0,u.Kq)(2)};\n `} h3 { ${(0,u.Gg)("typography.definitions.globalEditorial.context-secondary")} } ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.product-title")} `;S.defaultProps={as:"div",colorToken:"colors.consumption.body.standard.link",typeIdentity:"typography.definitions.utility.button-utility"};const L=o.Ay.div.withConfig({displayName:"UnifiedProductCardBody"})` position: relative; `;L.defaultProps={as:"div"};const T=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardBrandName"})` ${({totalCount:e})=>!e&&`\n margin-top: ${(0,u.Kq)(1)} !important;\n `} padding: ${(0,u.Kq)(1)} 0 0 0; width: 100%; height: ${(0,u.Kq)(3.5)}; min-height: ${(0,u.Kq)(3)}; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; ${({hasProductHeight:e})=>e&&`\n line-height: ${(0,u.Kq)(2)};\n `} ${({isLandscapeProductCard:e})=>e&&`\n text-align: center;\n padding: 0;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n height: auto;\n max-height: 2lh;\n min-height: ${(0,u.Kq)(1)};\n white-space: normal;\n `} ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.brand-name")} `;T.defaultProps={colorToken:"colors.interactive.base.black",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const N=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardName"})` /* stylelint-disable-next-line value-no-vendor-prefix */ display: -webkit-box; height: 2lh; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-break: break-word; overflow-wrap: break-word; ${({isLandscapeProductCard:e})=>e&&"\n text-align: center;\n height: auto;\n max-height: 3lh;\n -webkit-line-clamp: 3;\n "} && { ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.product-title")} margin:0; } `;N.defaultProps={colorToken:"colors.interactive.base.black",typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const H=(0,o.Ay)(r.A).withConfig({displayName:"UnifiedProductCardClampedDescription"})` margin-top: ${({isLandscapeProductCard:e})=>e?`${(0,u.Kq)(2)}`:`${(0,u.Kq)(3)}`}; && { ${l.eM} { transform-origin: center; margin: ${(0,u.Kq)(1)} 0 0; padding: 0; min-width: auto; height: 24px; gap: ${(0,u.Kq)(.5)}; } ${l.Lj} { padding: 0; width: 100%; text-align: left; ${({shouldShowEditorNote:e})=>e?(0,u.Gg)("typography.definitions.utility.button-utility"):(0,u.Gg)("typography.definitions.utility.button-bulletin")}; ${({theme:e})=>` ${(0,u._o)(e,"color","colors.interactive.base.black")};`}; } } ${l.ny} { svg { width: 24px; height: 24px; } padding: 0; } ${({shouldShowEditorNote:e})=>e&&`\n margin-top: ${(0,u.Kq)(2)};\n padding-top: ${(0,u.Kq)(1)};\n `} `,I=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardDescriptionWrapper"})` padding: 0; width: 100%; ul, ol { ${({isDek:e})=>e&&"\n margin-top: 1rem;\n margin-bottom: 1rem;\n "} } p { margin-block-start: ${(0,u.Kq)(2)}; margin-block-end: ${(0,u.Kq)(2)}; word-break: break-word; word-wrap: break-word; } p:last-of-type { margin-block-start: ${(0,u.Kq)(2)}; margin-block-end: 0; } p:first-of-type { margin-block-start: 0; margin-block-end: ${(0,u.Kq)(2)}; } p:first-of-type:last-of-type { margin-block-start: 0; margin-block-end: 0; } a:not(.button):link, a:not(.button):visited, a:not(.button):hover, a:not(.button):focus, a:not(.button):active { text-decoration: underline; } ${({shouldShowEditorNote:e,theme:t})=>e&&`\n a {\n ${(0,u._o)(t,"color","colors.consumption.body.standard.link")};\n }\n `} ${({showClampedProductDescription:e,showLess:t})=>e&&!t&&"\n p {\n display: inline;\n margin: 0;\n }\n\n p::after {\n content: ' ';\n display: inline;\n }\n "} ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.product-description")} `;I.defaultProps={as:"div",colorToken:"colors.consumption.body.standard.body",typeIdentity:"typography.definitions.consumptionEditorial.description-embed"};const B=o.Ay.div.withConfig({displayName:"UnifiedProductCardBody"})` display: grid; width: 100%; text-align: left; `,O=o.Ay.div.withConfig({displayName:"UnifiedProductCardImageWrapper"})` display: grid; position: relative; padding-bottom: ${({aspectRatio:e})=>e[1]/e[0]*100}%; width: 100%; height: 0; place-items: center; &::before { display: inline-block; ${({theme:e})=>(0,u._o)(e,"background-color","colors.consumption.body.standard.bg-card")}; padding-top: ${({aspectRatio:e})=>e[1]/e[0]*100}%; ${(0,u.H4)(i.LO.md)} { padding-top: ${({aspectRatio:e})=>e[1]/e[0]*100}%; } content: ''; } overflow: hidden; picture, img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; background-color: ${({theme:e})=>`${(0,u.HK)(e,"colors.consumption.body.standard.bg-card")}`}; max-width: 100%; height: 100%; object-fit: contain; } .cne-player-container { /* stylelint-disable-next-line declaration-no-important */ position: inherit !important; } .video-js { /* stylelint-disable-next-line declaration-no-important */ padding-top: 0 !important; } &&&& ${c.hh} { display: flex; position: absolute; top: 0; right: 0; bottom: 0; left: 0; align-items: center; justify-content: center; cursor: default; video { width: 100%; object-fit: contain; } ${l.a2} { width: auto; height: auto; } } ${c.WE} { position: inherit; } ${({hasMultipleImageSupport:e,hasImageCreditText:t,hasBookmarkingFeature:n})=>!t&&e&&!n&&"margin-bottom: 0.5rem"} `,_=o.Ay.div.withConfig({displayName:"UnifiedProductCardHeader"})` position: relative; `,K=o.Ay.div.withConfig({displayName:"UnifiedProductCardObject"})` display: flex; flex-direction: column; border: 1px solid; border-color: transparent; container-type: inline-size; ${({isCoupledWithMultiImageProduct:e,hasImageCreditText:t,hasBookmarkingFeature:n})=>e&&`margin-bottom: ${t||n?1.5:2}rem`} `,P=o.Ay.div.withConfig({displayName:"UnifiedProductCardWrapper"})` position: relative; margin: 0; ${({type:e,isSlide:t})=>"embed"===e&&`\n margin: 0 auto ${(0,u.Kq)(6)};\n max-width: ${t?(0,u.Kq)(48):(0,u.Kq)(70)};\n ${p.q} > .body__inner-container > && {\n ${(0,u.H4)(i.LO.md)} {\n margin-right: auto;\n margin-left: auto;\n }\n }\n `} `,D=o.Ay.span.withConfig({displayName:"UnifiedProductCardSlideNumber"})` display: flex; flex-direction: column; align-items: ${({isLandscapeProductCard:e})=>e?"center":"flex-start"}; margin-top: ${({isLandscapeProductCard:e})=>e?"0":"16px"}; padding: ${({isLandscapeProductCard:e})=>e?`${(0,u.Kq)(0)} ${(0,u.Kq)(0)} ${(0,u.Kq)(1)}`:"0"}; ${({isCttEnabled:e})=>e?(0,u.Gg)("typography.definitions.commerce.label"):(0,u.Gg)("typography.definitions.globalEditorial.numerical-small")} ${({theme:e})=>` ${(0,u._o)(e,"color","colors.consumption.body.standard.body-deemphasized")};\n `}; `,q=o.Ay.div.withConfig({displayName:"UnifiedProductCardOfferWrapper"})` padding: 0; .product-offer__cta-block { display: grid; } .product-offer:last-child { margin-bottom: 0; } `,M=o.Ay.div.withConfig({displayName:"UnifiedProductCardOfferContainer"})` display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: auto; gap: ${(0,u.Kq)(8)}; ${q} { width: 100%; } `,R=(0,o.Ay)(d.sH).withConfig({displayName:"UnifiedProductEmbedImageLink"})` grid-area: product-image; grid-column: 1/2; grid-row: 1/2; ${({isCNEVideo:e})=>e&&"\n width: 100%;\n "} ${({hasGallerySlideBackground:e})=>!e&&`padding-left: ${(0,u.Kq)(2)};`} &&&& { text-decoration: none; } ${(0,u.H4)(i.LO.md)} { grid-row: 1/-1; padding-left: 0; } ${({isClipType:e})=>e&&"padding-left: 0;"} `,F=o.Ay.div.withConfig({displayName:"UnifiedProductCardImageCarousel"})` top: 0; right: 0; bottom: 0; left: 0; margin: auto; max-width: 100%; height: 100%; object-fit: contain; ${({isLandscapeProductCard:e})=>e&&"flex: 1; margin: 0;"} ${m.wq} { margin: 0; padding: 0; height: 100%; } ${m.I6} { width: 100%; height: 100%; } ${m.nk} { ${({showImageCreditText:e})=>e&&"\n top: calc(50% - 20px);\n "} } div[class*='CarouselListButton'] button[class*='CarouselControlButton'] { span[class*='ButtonIcon'] { width: 32px; height: 32px; } div[class*='ButtonIconWrapper'] svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; width: 16px; height: 16px; } } ${m.gd} { margin: 0; ${({hasTextContainer:e})=>!e&&`margin-top: ${(0,u.Kq)(.75)};`}; } ${m.LU} { svg { path { stroke: ${(0,u.HK)("colors.interactive.base.dark")}; } } } && ${m.Yf} { &:active::before { width: auto; height: auto; } } `,U=o.Ay.div.withConfig({displayName:"UnifiedProductCardVariantImage"})` position: relative; width: 100%; height: 100%; overflow: hidden; picture, img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: 0; background-color: ${({theme:e})=>`${(0,u.HK)(e,"colors.consumption.body.standard.bg-card")}`}; cursor: pointer; width: 100%; max-width: 100%; height: 100%; } `,V=o.Ay.div.withConfig({displayName:"UnifiedProductCardImageCreditText"})` /* stylelint-disable-next-line value-no-vendor-prefix */ display: -webkit-box; margin-top: ${(0,u.Kq)(.75)}; height: 2lh; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; ${(0,u.Gg)("typography.definitions.globalEditorial.context-tertiary")}; ${({theme:e})=>` ${(0,u._o)(e,"color","colors.consumption.body.standard.body")};`}; overflow-wrap: anywhere; ${({hasBookmarkingFeature:e})=>e&&`\n padding-right: ${(0,u.Kq)(4)};\n `} `;V.defaultProps={colorToken:"colors.consumption.body.standard.body",typeIdentity:"typography.definitions.globalEditorial.context-tertiary"};const G=o.Ay.div.withConfig({displayName:"UnifiedProductCardBookmarkWrapper"})` display: ${({isLandscapeProductCard:e})=>e?"block":"inline"}; position: ${({isLandscapeProductCard:e})=>e?"absolute":"relative"}; top: ${({isLandscapeProductCard:e})=>e?(0,u.Kq)(0):"auto"}; right: ${({isLandscapeProductCard:e})=>e?(0,u.Kq)(0):"auto"}; float: ${({isLandscapeProductCard:e})=>e?"none":"right"}; .upc-bookmark { transition: all ${$} ease; border: none; border-radius: ${(0,u.Kq)(.5)}; background-color: rgba( ${({theme:e})=>(0,u.HK)(e,"colors.interactive.base.white",{rgbOnly:!0})}, 0.9 ); padding: ${(0,u.Kq)(.5)}; &:hover { transform: scale(1.05); background-color: ${({theme:e})=>(0,u.HK)(e,"colors.interactive.base.white")}; } &.upc-bookmark--inverted { background-color: rgba( ${({theme:e})=>(0,u.HK)(e,"colors.interactive.base.black",{rgbOnly:!0})}, 0.7 ); &:hover { background-color: rgba( ${({theme:e})=>(0,u.HK)(e,"colors.interactive.base.black",{rgbOnly:!0})}, 0.9 ); } .icon-bookmark-outline path { ${({theme:e})=>(0,u._o)(e,"stroke","colors.interactive.base.white")}; } .icon-bookmark-fill path { ${({theme:e})=>(0,u._o)(e,"stroke","colors.interactive.base.white")}; ${({theme:e})=>(0,u._o)(e,"fill","colors.interactive.base.white")}; width: 24px; height: 24px; } } .icon-bookmark-outline path { ${({theme:e})=>(0,u._o)(e,"stroke","colors.interactive.base.black")}; } .icon-bookmark-fill path { ${({theme:e})=>(0,u._o)(e,"stroke","colors.interactive.base.black")}; ${({theme:e})=>(0,u._o)(e,"fill","colors.interactive.base.black")}; width: 24px; height: 24px; } } ${({isLandscapeProductCard:e})=>!e&&"\n margin-left: auto;\n "} ${({checkHasMultipleImages:e,checkHasCreditText:t})=>e&&t?`\n bottom: ${(0,u.Kq)(7.75)};\n margin-bottom: -${(0,u.Kq)(4)};\n `:e&&!t?`\n bottom: ${(0,u.Kq)(7)};\n margin-bottom: -${(0,u.Kq)(4)};\n `:t?`\n bottom: ${(0,u.Kq)(4.75)};\n margin-bottom: -${(0,u.Kq)(4)};\n `:""} ${l.ny} { width: 24px; height: 24px; } ${l.eM} { padding: 0; } `,W=o.Ay.div.withConfig({displayName:"upcSingleImageWrapper"})` ${({isLandscapeProductCard:e})=>e&&"flex: 1;"} `,j=(0,o.Ay)(d.vm).withConfig({displayName:"UnifiedProductCardSuperlative"})` max-height: 3lh; overflow: hidden; ${({isLandscapeProductCard:e})=>e?`margin-bottom: ${(0,u.Kq)(1)};`:`margin-bottom: ${(0,u.Kq)(1.25)};`} `;j.defaultProps={as:"h2",colorToken:"colors.interactive.base.black",typeIdentity:"typography.definitions.consumptionEditorial.subhed-break-primary"};const z=o.Ay.div.withConfig({displayName:"UnifiedProductCardProConsAccordionContainer"})` position: relative; margin-top: ${(0,u.Kq)(1.5)}; overflow: hidden; ${({isLandscapeProductCard:e,showRatingData:t})=>e&&t&&"\n margin-top: 0;\n &::before { display: none; }\n "} &::before { position: absolute; top: 0; right: 0; left: 0; ${({theme:e})=>(0,u._o)(e,"background-color","colors.consumption.body.standard.divider")}; transform: scaleY(0.5); transform-origin: top; height: 1px; content: ''; } &::after { position: absolute; right: 0; bottom: 0; left: 0; ${({theme:e})=>(0,u._o)(e,"background-color","colors.consumption.body.standard.divider")}; transform: scaleY(0.5); transform-origin: bottom; height: 1px; content: ''; } svg { float: right; fill: black; transform-origin: center; transition: all ${$} ease-in-out; width: ${(0,u.Kq)(1.25)}; height: ${(0,u.Kq)(1.25)}; } `,Y=o.Ay.div.withConfig({displayName:"UnifiedProductCardProConsAccordionItemContainerLabel"})` ${({theme:e})=>(0,u._o)(e,"color","colors.interactive.base.black")}; ${(0,u.Gg)("typography.definitions.discovery.hed-bulletin-secondary")}; `;Y.defaultProps={typeIdentity:"typography.definitions.discovery.hed-bulletin-secondary"};const X=o.Ay.div.withConfig({displayName:"UnifiedProductCardProConsAccordionLabelContainer"})` display: inline-flex; `,Z=o.Ay.div.withConfig({displayName:"UnifiedProductCardProConsAccordionItemContainerContent"})` ${({isActive:e})=>e?`\n overflow: hidden;\n max-height: 1000px;\n transition: ${$} linear;\n padding-bottom: ${(0,u.Kq)(2)};\n `:`\n max-height: 0px;\n transition: all ${$};\n `} ${({theme:e})=>(0,u._o)(e,"color","colors.consumption.lead.standard.description")}; `,J=o.Ay.div.withConfig({displayName:"UnifiedProductCardProConsAccordionItemContainer"})` margin-top: 0.75rem; line-height: normal; ${({isActive:e})=>!e&&"margin-bottom: 0.75rem;"} `,Q=(0,o.Ay)(s.A.Utility).withConfig({displayName:"UnifiedProductCardProConsAccordionItemContainerButton"})` fill: #615f66; float: right; transition: all 0.2s ease; padding: ${(0,u.Kq)(1)} ${(0,u.Kq)(.5)}; &, &:focus, &:hover { border: 0; background-color: transparent; } ${({isActive:e})=>e&&"transform: rotate(180deg);"} `,ee=o.Ay.div.withConfig({displayName:"UnifiedProductCardProConsAccordionItemContainerTitle"})` ${({isActive:e,isLandscapeProductCard:t})=>e&&`\n margin-top: ${t?(0,u.Kq)(1.5):(0,u.Kq)(2)};\n padding-bottom: ${(0,u.Kq)(1)};\n `} ${(0,u.Gg)("typography.definitions.discovery.hed-bulletin-secondary")}; ${({theme:e})=>(0,u._o)(e,"color","colors.interactive.base.black")}; `,te=o.Ay.li.withConfig({displayName:"UnifiedProductCardProConsAccordionItemContainerData"})` ${({isCttEnabled:e})=>(0,u.Gg)(e?"typography.definitions.commerce.product-description":"typography.definitions.consumptionEditorial.description-embed")} `,ne=o.Ay.ul.withConfig({displayName:"UnifiedProductCardProConsAccordionItemContainerDataUl"})` &&& { margin: 0; list-style-type: disc; ${({isSlide:e,isMobileView:t})=>e?"&&&& { padding-inline-start: 20px; }":t?"&&&& { padding-inline-start: 5px; }":""} } ${({maxProsConsHeight:e})=>`max-height: ${e}em;`} overflow: hidden; `,oe=o.Ay.div.withConfig({displayName:"UnifiedProductCardRatingLabel"})` margin: ${(0,u.Kq)(1.5)} 0 0 0; ${({isLandscapeProductCard:e})=>e&&`\n margin: ${(0,u.Kq)(1.5)} 0;\n height: 1lh;\n `} ${(0,u.Gg)("typography.definitions.discovery.hed-bulletin-secondary")}; ${({theme:e})=>(0,u._o)(e,"color","colors.interactive.base.black")}; ${({showProsConsData:e})=>!e&&`\n margin-bottom:${(0,u.Kq)(1.5)};\n `} `,ie=o.Ay.div.withConfig({displayName:"UnifiedProductCardRatingWrapper"})` margin-top: ${(0,u.Kq)(2)}; border-top: 0.5px solid; ${({theme:e})=>`${(0,u._o)(e,"border-bottom-color","colors.consumption.body.standard.divider")};\n ${(0,u._o)(e,"border-top-color","colors.consumption.body.standard.divider")};`} ${({isLandscapeProductCard:e,showProsConsData:t,theme:n})=>(e||!t)&&`\n border-bottom: 0.5px solid;\n ${(0,u._o)(n,"border-bottom-color","colors.consumption.body.standard.divider")};\n `} `,ae=o.Ay.span.withConfig({displayName:"UnifiedProductCardEditorNoteTitle"})` ${({theme:e})=>(0,u._o)(e,"color","colors.interactive.base.black")}; ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.product-description")} font-weight: bold; `,re=o.Ay.span.withConfig({displayName:"UnifiedProductCardEditorNoteContent"})` ${({isCttEnabled:e})=>e&&(0,u.Gg)("typography.definitions.commerce.product-description")} `,se=o.Ay.div.withConfig({displayName:"UnifiedLandscapeProductCardWrapper"})` display: flex; position: relative; flex-direction: column; justify-content: center; margin: 0 auto ${(0,u.Kq)(4.5)}; border: 1px solid; padding: ${(0,u.Kq)(2)}; max-width: none; ${({theme:e})=>(0,u._o)(e,"border-color","colors.consumption.body.standard.divider")}; `,le=o.Ay.div.withConfig({displayName:"UnifiedProductCardContainer"})` display: inline-flex; gap: ${(0,u.Kq)(1)}; `,de=o.Ay.div.withConfig({displayName:"UnifiedProductCardImageContainer"})` position: relative; flex: 1 1 0; height: 100%; container-type: inline-size; div[class*='UnifiedProductCardTextBadge-']:not( div[class*='UnifiedProductCardSeal-'] + div[class*='UnifiedProductCardTextBadge-'] ) { max-width: calc(100% - 24px); } `,ce=o.Ay.div.withConfig({displayName:"UnifiedProductCardDetailsContainer"})` display: block; position: relative; flex: 1; align-content: center; `,me=o.Ay.div.withConfig({displayName:"UnifiedProductCardDetails"})` display: grid; justify-items: center; align-items: center; width: 100%; `,ue=o.Ay.div.withConfig({displayName:"UnifiedLandscapeProductCardDescDetails"})``;ue.defaultProps={as:"div"};const pe=o.Ay.div.withConfig({displayName:"UnifiedProductCardReviewSection"})``;pe.defaultProps={as:"div"};const ge=o.Ay.div.withConfig({displayName:"UnifiedProductCardDetailsWrapper"})` ${({hasImageCreditText:e,hasMultipleImage:t})=>t||e?t&&e?`\n margin-bottom: ${(0,u.Kq)(7.5)};\n `:!t&&e?`\n margin-bottom: ${(0,u.Kq)(5)};\n `:t&&!e?`\n margin-bottom: ${(0,u.Kq)(3.75)};\n `:"":"\n margin-bottom: 0px;\n "} ${P}:last-child &, ${se}:last-child & { margin-bottom: 0; } `;ge.defaultProps={as:"div"};const he=(0,o.Ay)(h.L).withConfig({displayName:"UnifiedProductCardTextBadge"})` position: absolute; top: 4px; left: 4px; z-index: 2; `,ye=(0,o.Ay)(g.A).withConfig({displayName:"UnifiedProductCardSeal"})` position: absolute; top: 4px; right: 4px; z-index: 2; `,be=o.Ay.div.withConfig({displayName:"UnifiedProductCardImageTextContainer"})` display: flex; ${({showBookmarkContainerHeight:e})=>e&&"\n height: 32px;\n "} `,fe=(0,o.Ay)(f.A).withConfig({displayName:"ProductBookmarkMessageBannerWrapper"})` display: flex; position: fixed; bottom: calc(env(safe-area-inset-bottom, 0px) + ${(0,u.Kq)(2.5)}); left: 50%; flex-direction: row; align-items: center; gap: ${(0,u.Kq)(1)}; transform: translateX(-50%); z-index: ${(0,u.fl)("hyperstitialLayer")}; border: 2px solid; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); padding: ${(0,u.Kq)(.5)} ${(0,u.Kq)(2)}; width: calc(100vw - ${(0,u.Kq)(4)}); height: ${(0,u.Kq)(7)}; ${(0,u._o)("border-color","colors.interactive.base.light")}; ${(0,u._o)("background","colors.interactive.base.white")}; @media (min-width: ${i.LO.md}) { right: ${(0,u.Kq)(8)}; bottom: ${(0,u.Kq)(8)}; left: unset; transform: unset; width: 350px; } ${w.px} { display: flex; flex: 1; flex-direction: column; justify-content: center; min-width: 0; height: 100%; } ${w._C} { position: absolute; right: 8px; padding: 0; @media (min-width: ${i.LO.md}) { min-width: auto; } } ${w.O$} { align-self: center; margin: 0 0 0 ${(0,u.Kq)(1)}; ${l.a2} g { ${(0,u._o)("stroke","colors.interactive.base.deemphasized")}; } } `,we=o.Ay.div.withConfig({displayName:"ProductBookmarkMessageBannerContent"})` display: flex; align-items: center; width: 100%; height: 100%; overflow: hidden; ${b.B}, ${y.Em}, ${y.BF} { flex-shrink: 0; height: 40px; aspect-ratio: 2/3; object-fit: cover; } `,$e=(0,o.Ay)(d.vm).withConfig({displayName:"ProductBookmarkMessageBannerLabel"})` flex: 2; margin-left: ${(0,u.Kq)(1)}; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; ${(0,u._o)("color","colors.interactive.base.body")}; ${(0,u.Gg)("typography.definitions.utility.assistive-text")}; `},22043:(e,t,n)=>{n.d(t,{A:()=>T});var o=n(32485),i=n.n(o),a=n(96540),r=n(5556),s=n.n(r),l=n(38798),d=n(22354),c=n(10553),m=n(35864),u=n(92809),p=n(53499),g=n(38267),h=n(96472),y=n(1123),b=n(26865),f=n(33500);const w=g.Ay.div.withConfig({displayName:"Container"})` figure { max-width: 75%; } `,$=g.Ay.div.withConfig({displayName:"ContainerWithMargins"})` ${(0,y.VO)()} ${(0,y.aU)("padding")} figure { max-width: 100%; } @media (min-width: ${h.LO.xxl}) { margin: 0 auto; max-width: ${(0,b.Kq)(200)}; ${({hasTeaser:e})=>e&&"max-width: inherit;"} } `,v=g.Ay.div.withConfig({displayName:"Dek"})` ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.consumptionEditorial.body-core")}; align-items: center; margin: auto 25%; text-align: center; a { ${({theme:e})=>(0,b._o)(e,"color","colors.interactive.base.black")}; } @media (max-width: ${h.LO.md}) { margin: auto 0; } `,C=g.Ay.div.withConfig({displayName:"Hed"})` ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.consumptionEditorial.hed-standard")}; align-items: center; margin: auto 25% ${(0,b.Kq)(4)}; text-align: center; @media (max-width: ${h.LO.md}) { margin: auto 0 ${(0,b.Kq)(4)}; } `,k=g.AH` margin-top: 3.5rem; `,x=g.AH` margin-bottom: 3.5rem; `,E=g.Ay.div.withConfig({displayName:"Wrapper"})` ${({hasTopMargin:e})=>e&&k} ${({hasBottomMargin:e})=>e&&x} figure { margin-bottom: ${(0,b.Kq)(6)}; @media (max-width: ${h.LO.md}) { margin-bottom: ${(0,b.Kq)(3)}; } } ${f.QW} { ${({isSpecialTheme:e,theme:t})=>e&&`\n ${(0,b._o)(t,"background-color","colors.consumption.lead.special.background")};\n `} ${f.bU} { ${({isSpecialTheme:e,theme:t})=>e&&`${(0,b._o)(t,"color","colors.background.white")};`} } } `,A=g.Ay.div.withConfig({displayName:"Content"})` display: flex; flex-direction: column; align-items: center; @media (max-width: ${h.LO.md}) { .hed { margin: auto 5% 20px; } .dek { margin: auto 5%; } } `;v.displayName="Dek",C.displayName="Hed";const S=e=>{const t=e?.toString().split("|")||[],n=Object.keys(u.k);return!!t.find(e=>n.includes(e))},L=({dangerousDek:e,dangerousHed:t,functionalTags:n,hasBottomMargin:o,hasGridWithMargins:r=!1,hasTopMargin:s,isSpecialTheme:l=!1,isBundle:d=!1,items:u=[],shouldHaveTeaser:g=!1,shouldUseBundleData:h=!1,shouldHideCNEVideoDek:y=!1,videoEmbedPosition:b="",sectionTitleVariation:f})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"CNEVideo"})},[]);const k=m.default[f]||m.default,x=!S(n);return u?.map((m,u)=>{const{scriptUrl:p,hed:f,dek:L,animationClip:T,categories:N,isLive:H,title:I}=m||{},B=h&&e,O=(({hasGridWithMargins:e})=>{let t=w;return e&&(t=$),t})({hasGridWithMargins:r});return a.createElement(O,{key:u,className:i()({"verso-bundle-cne-embed--grid-with-margins":r}),hasTeaser:S(n)},a.createElement(E,{hasBottomMargin:o,hasTopMargin:s,isSpecialTheme:l},t&&a.createElement(k,{dangerousHed:t,dangerousDek:e,hasDividerAbove:!0,hasDividerBelow:!0,textAlign:"center","data-testid":"section-title"}),p&&a.createElement(c.A,{animationClip:T,categories:N,isLive:H,scriptUrl:p,shouldHaveTeaser:g,title:I,isBundle:d,videoEmbedPosition:b}),!y&&x&&(f||L||B)&&a.createElement(A,null,B?a.createElement(v,{dangerouslySetInnerHTML:{__html:e}}):a.createElement(a.Fragment,null,f&&a.createElement(C,{className:"hed"},f),L&&a.createElement(v,{className:"dek"},L)))))})};L.propTypes={dangerousDek:s().string,dangerousHed:s().string,functionalTags:s().string,hasBottomMoargin:s().bool,hasGridWithMargins:s().bool,hasTopMoargin:s().bool,isSpecialTheme:s().bool,items:s().array,sectionTitleVariation:s().string,shouldHaveTeaser:s().bool,shouldHideCNEVideoDek:s().bool,shouldUseBundleData:s().bool},L.displayName="CNEVideo";const T=(0,d.Ng)(e=>{const{functionalTags:t}=e.coreDataLayer?.content||{};return{functionalTags:t}})((0,l.Ay)(L))},22361:(e,t,n)=>{n.d(t,{A:()=>D});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(6442),d=n(58156),c=n.n(d),m=n(38221),u=n.n(m),p=n(57743);const g=(e,t)=>{e?.length>2?(0,p.u)(`/api/locations/${e}`,{headers:{"Content-Type":"application/json"},method:"GET"},5e3).then(e=>e.json()).then(n=>{const o=n.locations.map(t=>({...t,inputValue:e}));return t(o)}).catch(()=>t([])):t([])};var h=n(32272),y=n(91706),b=n(13465),f=n(38267),w=n(96472),$=n(1123),v=n(26865),C=n(73730),k=n(79499),x=n(40653);const E=f.Ay.div.withConfig({displayName:"SearchableSummaryCollectionWrapper"})` display: grid; grid-template-columns: 1fr; margin-bottom: ${(0,v.Kq)(2)}; background-color: ${(0,v.HK)("colors.discovery.body.light.background")}; .summary-collection-grid--four-columns { ${(0,v.H4)(w.LO.md)} { grid-column: span 3; } } `,A=(0,f.Ay)("div").withConfig({displayName:"SearchableSummaryCollectionLoader"})` display: flex; align-items: center; justify-content: center; svg { width: 50px; } `,S=(0,f.Ay)("div").withConfig({displayName:"SearchableSummaryCollectionSearchContainer"})` display: grid; grid-template-rows: repeat(3, 1fr); align-items: center; margin: ${(0,v.Kq)(2)} ${(0,v.Kq)(8)}; ${(0,$.aU)("padding")}; h2 { ${(0,v.Gg)("typography.definitions.discovery.subhed-section-primary")} margin: ${(0,v.Kq)(2)} 0; text-align: center; color: ${(0,v._o)("colors.discovery.body.light.accreditation")}; } ${x.E} { grid-column: span 12; } span { ${(0,v.Gg)("typography.definitions.discovery.description-core")} text-transform: capitalize; color: ${(0,v._o)("colors.discovery.body.light.accreditation")}; justify-self: center; } `,L=(0,f.Ay)(k.Ay.Searchable).withConfig({displayName:"CategoryFilterAsyncDropdown"})` grid-column: 2/9; `,T=((0,f.Ay)("div").withConfig({displayName:"SearchWrapper"})` display: grid; grid-column-gap: ${(0,v.Kq)(2)}; grid-template-columns: 30% 15%; justify-content: center; input { height: ${(0,v.Kq)(6)}; } `,(0,f.Ay)(C.A.Primary).withConfig({displayName:"SearchableSummaryCollectionClickout"})` grid-area: 3 / 1; margin: ${(0,v.Kq)(4)}; ${(0,v.H4)(w.LO.lg)} { justify-self: center; max-width: 30%; } `),N=f.Ay.form.withConfig({displayName:"CategoryFilterFormWrapper"})` .grid { align-items: center; justify-content: center; } ${x.E}:first-of-type { ${(0,v.H4)(w.LO.md)} { grid-column: 3/11; } } ${x.E} { grid-column: 1 / -1; ${(0,v.H4)(w.LO.md)} { grid-column: span 2; } } .category-filter__dropdown__icon { margin-top: ${(0,v.Kq)(.5)}; margin-right: ${(0,v.Kq)(1)}; } `;var H=n(76955),I=n(86659);const B=(0,n(72267).defineMessages)({asyncDropdownPlaceholder:{id:"SearchableSummaryCollection.AsyncDropdownPlaceholder",defaultMessage:"Search by city or destination",description:"Placeholder for async dropdown"},searchContainerHed:{id:"SearchableSummaryCollection.SearchContainerHed",defaultMessage:"Where do you want to go?",description:"Hed for search container message"},submitButtonLabel:{id:"SearchableSummaryCollection.SubmitButtonLabel",defaultMessage:"Search",description:"Label for submit button"},noMatchesFoundLabel:{id:"SearchableSummaryCollection.NoMatchesFoundLabel",defaultMessage:"No matches found",description:"Label for dropdown when no matches are found"},noResultsMessage:{id:"SearchableSummaryCollection.NoResultsMessage",defaultMessage:"Sorry, there are no results for your search - please try another location",description:"Message to display when no results are found for location"},clickoutButtonLabel:{id:"SearchableSummaryCollection.ClickoutButtonLabel",defaultMessage:"View all {location} hotels",description:"Label for clickout button when matches are found"}});var O=n(73767);const _=()=>s.createElement("span",{className:"category-filter__dropdown__icon"},s.createElement(O.A,null)),K=({handleOnSubmit:e,isGridLayout:t=!0})=>{const{formatMessage:n}=(0,l.A)(),o=t?I.A.WithMargins:H.c7,i=u()(g,300);return s.createElement(N,{name:"search",type:"search"},s.createElement(o,null,s.createElement(L,{assistiveLabel:"",DropdownIcon:_,isClearable:!0,isAsyncSelect:!0,loadOptions:i,options:[],onInputChange:t=>{e(t)},isMenuOpen:!1,placeholderText:n(B.asyncDropdownPlaceholder)})))};K.propTypes={handleOnSubmit:r().func,isGridLayout:r().bool};const P=({className:e,clickoutPath:t,dangerousHed:n,searchSettings:o={apiEndpoint:"venues",contentType:"hotel"},shouldAppendReadMoreLinkForDek:a=!1})=>{const[r,d]=(0,s.useState)(!1),[m,u]=(0,s.useState)([]),[g,b]=(0,s.useState)(!0),[f,w]=(0,s.useState)({}),{formatMessage:$}=(0,l.A)(),v=e=>{u(e),b(!1)},{locationName:C,locationHierarchy:k}=f,x=n||$(B.searchContainerHed),L=c()(m,"venue.items",[]).length>=1,N=r&&!L&&!g;return s.createElement(E,{className:i()("searchable-summary-collection-wrapper",e)},s.createElement(S,null,s.createElement("h2",null,x),s.createElement(K,{handleOnSubmit:e=>{e&&(b(!0),u([]),d(!0),((e,t,n)=>{const{apiEndpoint:o,contentType:i}=t,a=`hierarchy=${e.value}&contentType=${i}`;(0,p.u)(`/api/${o}?${a}`,{headers:{"Content-Type":"application/json"},method:"GET"},5e3).then(e=>e.json()).then(e=>n(e)).catch(e=>n([]))})(e,o,v),w((e=>{const t=e.split("/");return{locationName:t.pop(-1),locationHierarchy:t.slice(1).join("/")}})(e.value)))}}),N&&s.createElement("span",null,$(B.noResultsMessage))),r&&s.createElement(s.Fragment,null,g&&s.createElement(A,null,s.createElement(h.A,null)),L&&s.createElement(s.Fragment,null,s.createElement(y.A.FourColumns,{summaryItemVariation:"TextBelowImageLeftHasRuleWithDek",sectionTitleVariation:"WrappedComponent",shouldAppendReadMoreLinkForDek:a,...m.venue,items:m.venue.items.slice(0,4)}),s.createElement(T,{inputKind:"link",href:`${t}${C}?hierarchy=${k}`,label:$(B.clickoutButtonLabel,{location:C})}))))};P.propTypes={className:r().string,clickoutPath:r().string,dangerousHed:r().string,searchSettings:r().shape({apiEndpoint:r().string,contentType:r().string}),shouldAppendReadMoreLinkForDek:r().bool},P.displayName="SearchableSummaryCollection";const D=(0,b.y)(P,"SearchableSummaryCollection")},22482:(e,t,n)=>{n.d(t,{Mn:()=>h,Np:()=>y,Q:()=>S,QG:()=>E,Te:()=>k,U0:()=>L,Vt:()=>A,WT:()=>x,_p:()=>f,aW:()=>w,ek:()=>b,h7:()=>C,kC:()=>$,l_:()=>g,wq:()=>v});var o=n(38267),i=n(26865),a=n(33500),r=n(86659),s=n(96472),l=n(86157),d=n(18161),c=n(68116),m=n(36211),u=n(72662),p=n(14952);const g=(0,o.Ay)(r.A.EvenFour).withConfig({displayName:"FilterableSummaryListGrid"})` &.grid-even.grid-items-4 { ${(0,i.H4)(s.LO.md)} { grid-template-columns: repeat(4, minmax(0, 1fr)); } } &&& { .grid--item:has(.text-external-link) { display: grid; align-items: center; } ${({isUpcEnabled:e})=>e&&`\n ${(0,i.Xm)(0,s.LO.md)} {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n \n padding-right: ${(0,i.Kq)(2)};\n padding-left: ${(0,i.Kq)(2)};\n column-gap: ${(0,i.Kq)(1)};\n \n }\n \n padding-right: ${(0,i.Kq)(3)};\n padding-left: ${(0,i.Kq)(3)};\n column-gap: ${(0,i.Kq)(2)};\n \n `} } &.grid-even { ${(0,i.Xm)(0,s.LO.md)} { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: ${(0,i.Kq)(3)}; padding-left: ${(0,i.Kq)(3)}; } padding-right: ${(0,i.Kq)(4)}; padding-left: ${(0,i.Kq)(4)}; } &.grid { row-gap: ${(0,i.Kq)(6)}; } `,h=(0,o.Ay)(r.A.EvenFour).withConfig({displayName:"FilterableSummaryListGridFullBleed"})` &.grid-even.grid-items-4 { ${(0,i.Xm)(0,s.LO.md)} { grid-template-columns: repeat(1, minmax(0, 1fr)); padding-top: ${(0,i.Kq)(3)}; padding-right: ${(0,i.Kq)(1)}; padding-left: ${(0,i.Kq)(1)}; } grid-template-columns: repeat(1, minmax(0, 1fr)); padding: ${(0,i.Kq)(3)}; padding-left: 0; row-gap: ${(0,i.Kq)(4)}; } `,y=(0,o.Ay)(r.A.DynamicGridItemLayout).withConfig({displayName:"FilterableSummaryListDynamicGridItemLayout"})` &.grid-even.grid-items-4 { ${(0,i.H4)(s.LO.md)} { grid-template-columns: repeat(4, minmax(0, 1fr)); } } &&& { .grid--item:has(.text-external-link) { display: grid; align-items: center; } ${(0,i.L7)(s.LO.md)} { .two-col-external-link, .one-col-external-link { padding-right: ${(0,i.Kq)(1)}; padding-left: ${(0,i.Kq)(1)}; } } ${(0,i.H4)(s.LO.lg)} { .two-col-external-link { padding-right: ${(0,i.Kq)(6)}; padding-left: ${(0,i.Kq)(6)}; } .one-col-external-link { padding-right: ${(0,i.Kq)(2)}; padding-left: ${(0,i.Kq)(2)}; } } ${({isUpcEnabled:e})=>e&&`\n ${(0,i.Xm)(0,s.LO.md)} {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n \n padding-right: ${(0,i.Kq)(2)};\n padding-left: ${(0,i.Kq)(2)};\n column-gap: ${(0,i.Kq)(1)};\n \n }\n \n padding-right: ${(0,i.Kq)(3)};\n padding-left: ${(0,i.Kq)(3)};\n column-gap: ${(0,i.Kq)(2)};\n \n `} } &.grid-even { ${(0,i.Xm)(0,s.LO.md)} { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: ${(0,i.Kq)(3)}; padding-left: ${(0,i.Kq)(3)}; } padding-right: ${(0,i.Kq)(4)}; padding-left: ${(0,i.Kq)(4)}; } &.grid { row-gap: ${(0,i.Kq)(6)}; ${({shouldDisplayDenseGrid:e=!0})=>!e&&"grid-auto-flow:row;"} ${({hasGridBottomPadding:e=!1})=>e&&`padding-bottom:${(0,i.Kq)(8)};`} } `,b=o.Ay.section.withConfig({displayName:"FilterableSummaryListWrapper"})` ${({theme:e,hasBorderBottom:t})=>t&&`border-bottom: 1px solid ${(0,i.HK)(e,"colors.consumption.lead.standard.divider")};`} ${({hasPadding:e,hasToggleGridColor:t,isSeriesNavigation:n})=>e&&!t&&`padding: ${n?`${(0,i.Kq)(4)} 0 0`:`${(0,i.Kq)(4)} 0 ${(0,i.Kq)(4)}`};\n `} `,f=o.Ay.div.withConfig({displayName:"TitleToggleChipListWrapper"})` ${a.pf} { ${({hasDangerousDek:e,hasCustomMargin:t})=>!e&&t?`margin-bottom: ${(0,i.Kq)(0)};`:`margin-bottom: ${(0,i.Kq)(5)};`} } ${({shouldUseAlternativeTitleStyle:e})=>e&&o.AH` .section-title { margin: 0; border-top: none; padding-top: 0; @media (max-width: ${s.LO.md}) { h2 { text-align: center; } } } @media (max-width: ${s.LO.md}) { .list-wrapper { overflow-y: hidden; overflow-x: scroll; &::-webkit-scrollbar { display: none; } } } @media (min-width: ${s.LO.md}) { ${(0,i._o)("border-color","colors.consumption.lead.standard.context-signature")}; display: flex; align-items: center; border-top: 2px solid; gap: 2rem; .clip-list { margin: 0; .list-wrapper { padding: 0; gap: ${(0,i.Kq)(3)}; button { border-radius: 0; background: none; padding: 0.2rem 0; font-size: 13px; font-weight: bold; &[aria-checked='false'] { ${(0,i._o)("color","colors.interactive.base.border")}; } &[aria-checked='true'] { ${(0,i._o)("color","colors.interactive.base.black")}; border-bottom: 1px solid; } &:hover, &:focus { box-shadow: none; } } } } } `} ${d.f} { ${({shouldUseInteractiveBrandColor:e})=>e?o.AH` &[aria-checked='false'] { background-color: rgba( ${(0,i.HK)("colors.interactive.base.brand-secondary",{rgbOnly:!0})}, 0.2 ); } `:`&[aria-checked='false'] {\n ${(0,i._o)("color","colors.interactive.base.black")}\n }`} } `,w=o.Ay.div.withConfig({displayName:"TitleWrapper"})` ${({hasTitleMarginTop:e})=>{const t=(0,i.Kq)(4);return`margin: ${e?t:"0"} 0 ${t} 0;`}} ${({shouldHideMarginUnderDek:e})=>e&&"margin-bottom: 0;"}; ${({hasPadding:e,isUpcEnabled:t})=>e&&(t?`padding-left: ${(0,i.Kq)(2)};\n padding-right: ${(0,i.Kq)(2)};`:`padding-left: ${(0,i.Kq)(3)};\n padding-right: ${(0,i.Kq)(3)};`)} ${({hasTitleNoMargin:e})=>e&&"margin: 0;"} `,$=o.Ay.div.withConfig({displayName:"ChipWrapper"})` ${({hasToggleGridColor:e})=>e?`padding-bottom: ${(0,i.Kq)(4)};`:`margin: ${(0,i.Kq)(4)} 0 0 0;`} ${(0,i.L7)(s.LO.md)} { ${({hasModerateSpacingOnMobile:e})=>e&&`margin: ${(0,i.Kq)(2)} 0 0 0;`} } `,v=o.Ay.div.withConfig({displayName:"CarouselWrapper"})` ${u.h0} { margin-bottom: 2rem; gap: 0; ${u.hH} { margin-top: 1rem; } @media (min-width: ${s.LO.md}) { ${e=>e.shouldApplyCustomHeaderHeight?"height: 60px;":""} } ${p.s8} { margin-top: 2rem; button { ${({shouldUseInteractiveBrandColor:e})=>e?o.AH` &[aria-checked='false'] { background-color: rgba( ${(0,i.HK)("colors.interactive.base.brand-secondary",{rgbOnly:!0})}, 0.2 ); } `:`&[aria-checked='false'] {\n ${(0,i._o)("color","colors.interactive.base.black")}\n }`} } } } @media (max-width: ${s.LO.md}) { header p { font-size: 1rem; } } ${c.Tr} { ${m.Y} { @media (max-width: ${s.LO.md}) { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.discovery.hed-core-secondary")}; } } } `,C=o.Ay.section.withConfig({displayName:"EditorsPicksCarousel"})` display: grid; grid-template-columns: 100%; margin-top: ${(0,i.Kq)(4)}; overflow-x: hidden; @media (min-width: ${s.LO.lg}) { grid-column-gap: ${(0,i.Kq)(4)}; grid-template-columns: calc(20% - ${(0,i.Kq)(4)}) 80%; ${u.aF} { margin-top: 0; } } ${u.hF} { margin: 0; } `,k=o.Ay.div.withConfig({displayName:"EditorCard"})` display: grid; grid-template-columns: auto 1fr; align-items: center; @media (min-width: ${s.LO.lg}) { grid-template-columns: 1fr; grid-template-rows: repeat(3, max-content); margin: ${(0,i.Kq)(4)} 0; } `,x=(0,o.Ay)(l.A).withConfig({displayName:"EditorResponsiveAsset"})` border-radius: 50%; width: 80px; height: 80px; `,E=o.Ay.div.withConfig({displayName:"EditorDetails"})` margin-left: ${(0,i.Kq)(1)}; @media (min-width: ${s.LO.lg}) { grid-column: 1; margin: ${(0,i.Kq)(1)} 0 0; } `,A=o.Ay.div.withConfig({displayName:"EditorName"})` ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; `,S=o.Ay.div.withConfig({displayName:"EditorTitle"})` ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.globalEditorial.accreditation-feature")}; `,L=o.Ay.div.withConfig({displayName:"EditorDescription"})` grid-column: 1 / span 2; margin-top: ${(0,i.Kq)(1.5)}; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.consumptionEditorial.description-embed")}; @media (min-width: ${s.LO.lg}) { margin-top: ${(0,i.Kq)(2.5)}; } `},22509:(e,t,n)=>{let o;n.d(t,{Be:()=>i,Rf:()=>r,hY:()=>s});const i=e=>{o=e},a=(e,t)=>{o&&o({type:"MERGE_KEY",key:"signInModalConfig",value:{...t,isVisible:e}})},r=e=>{a(!0,e)},s=()=>{a(!1)}},22514:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(6442);const d=(0,n(72267).defineMessages)({buttonLabel:{id:"Drawer.ButtonLabel",defaultMessage:"Close drawer",description:"Drawer component button label"},contentLabel:{id:"Drawer.ContentLabel",defaultMessage:"Secondary menu navigation",description:"Drawer component content label"}});var c=n(49235),m=n(76399),u=n(82752),p=n(31581),g=n(13465),h=n(53499);const y=({appElement:e="#app-root",className:t,hasSpecificTopPosition:n=0,hideDrawerScroll:o=!1,hideChannelNavigation:a,hasBodyScrollWhenDrawerOpen:r=!0,minHeight:p,onClose:g,overlayColor:y="black",transitionTimeMS:b=600,theme:f="standard",variations:w={animation:"slide-down",align:"center",increasedTopPosition:!1},contentLabel:$,drawerTitle:v,drawerDek:C,children:k,showCloseButton:x=!1,shouldCloseOnOverlayClick:E=!0,isOpen:A,hideOnDesktop:S=!1,hideOnMobile:L=!1,variationName:T,isBookmarkDrawersEnabled:N=!1})=>{let H;s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(h.G.RENDER,{name:"Drawer",variation:T})},[]);const{formatMessage:I}=(0,l.A)();s.useEffect(()=>{if(A&&r)document.body.style.top=`-${window.scrollY}px`,document.body.style.position="fixed",document.body.style.width="100%",document.querySelector("body").classList.add("body__drawer--open");else if(r&&"fixed"===document.body.style.position){document.querySelector("body").classList.remove("body__drawer--open");const e=parseInt(document.body.style.top,10)||0;document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,-1*e)}},[A,w.animation,r]);return s.createElement(c.A,{palette:f},s.createElement(u.od,{appElement:e,contentRef:e=>{H=e},hideDrawerScroll:o,drawerTitle:v,hideChannelNavigation:a,"data-testid":"DrawerModalWrapper",additionalClassName:t,overlayClassName:{base:i()("drawer__overlay",`drawer--overlay-color-${y}`,`drawer__overlay--align-${w.align}`,{"drawer__overlay--hide-on-desktop":S,"drawer__overlay--hide-on-mobile":L,"drawer__overlay--increased-top-position":w.increasedTopPosition}),afterOpen:"drawer__overlay--opening",beforeClose:"drawer__overlay--closing"},align:w.align,animation:w.animation,htmlOpenClassName:"html__drawer--open",closeTimeoutMS:b,contentLabel:$||I(d.contentLabel),isOpen:A,minHeight:p,onAfterOpen:()=>{setTimeout(()=>{H&&H.classList&&H.classList.add("drawer--open-positioned")},0)},onRequestClose:g,shouldCloseOnOverlayClick:E,role:"dialog",hasSpecificTopPosition:n,isBookmarkDrawersEnabled:N},x&&s.createElement(u.ov,{isIconButton:!0,ButtonIcon:m.A,label:I(d.buttonLabel),onClickHandler:g,role:"button",isBookmarkDrawersEnabled:N}),v&&s.createElement(u.gk,{dangerouslySetInnerHTML:{__html:v}}),C&&s.createElement(u.Aj,{dangerouslySetInnerHTML:{__html:C}}),k,s.createElement(u.r7,null)))};y.propTypes={appElement:r().oneOfType([r().string,r().element]),children:r().node,className:r().string,contentLabel:r().string,drawerTitle:r().string,drawerDek:r().string,hasBodyScrollWhenDrawerOpen:r().bool,hasSpecificTopPosition:r().number,hideChannelNavigation:r().bool,hideDrawerScroll:r().bool,hideOnDesktop:r().bool,hideOnMobile:r().bool,isBookmarkDrawersEnabled:r().bool,isOpen:r().bool.isRequired,minHeight:r().number,onClose:r().func.isRequired,overlayColor:r().oneOf(["black","white"]),shouldCloseOnOverlayClick:r().bool,showCloseButton:r().bool,theme:r().string,transitionTimeMS:r().number,variationName:r().string,variations:r().shape({animation:r().oneOf(["slide-down","slide-right","slide-left","slide-up","none"]),align:r().oneOf(["center","left","right","bottom"]),increasedTopPosition:r().bool})},y.displayName="Drawer";const b=(0,p.N)((0,g.y)(y,"Drawer"))},22539:(e,t,n)=>{n.d(t,{A:()=>i,t:()=>a});var o=n(98012);const i=o.A,a=o.A.propTypes},22615:(e,t,n)=>{n.d(t,{j:()=>rt});var o,i,a,r=n(96540),s=n(39780),l=n(50104),d=n.n(l),c=n(49702);!function(e){e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right"}(o||(o={})),function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center"}(i||(i={})),function(e){e.SM="sm",e.MD="md",e.LG="lg",e.XL="xl",e.XXL="xxl",e.XXXL="xxxl"}(a||(a={}));class m extends c.xg{getStyleForBreakpoint(e){switch(e){case a.SM:case a.MD:return[["max-width","none"],["padding","0 24px"]];case a.LG:case a.XL:return[["max-width","none"],["padding","0 48px"]];case a.XXL:return[["max-width","none"],["padding","0 64px"]];case a.XXXL:return[["max-width","1600px"],["padding","0 64px"]];default:return[["max-width","none"],["padding","0 24px"]]}}}const u=s.Ay.div.withConfig({displayName:"CollageEnvironmentWrapper"})` width: 100%; margin: 0 auto; ${(new m).generateStyleForBreakpoints()} display: flex; flex-direction: column; `;var p=n(13465),g=n(99906),h=n(75163);class y{static getVisibilityMediaQueries(e,t){return Object.entries(e).map(([e,n])=>`\n @media (min-width: ${g.Vh[e]}px) {\n display: ${n.includes(t)?"block":"none"};\n }\n `)}static generateCSSMediaQueries(e,t){return Object.entries(t).map(([t,n])=>`\n @media (min-width: ${g.Vh[t]}px) {\n ${e}: ${n};\n }\n `)}}class b{static generateAlignmentCSS(e,t="text-align"){if("string"==typeof e)return`${t}: ${e};`;return y.generateCSSMediaQueries(t,e).join("\n")}static getAlignmentForBreakpoint(e,t="sm"){if("string"==typeof e)return e;const n=["sm","md","lg","xl","xxl","xxxl"];for(let o=n.indexOf(t);o>=0;o--){const t=n[o];if(void 0!==e[t])return e[t]}return i.LEFT}static isValidAlignmentConfig(e){if("string"==typeof e&&Object.values(i).includes(e))return!0;if("object"!=typeof e||null===e)return!1;const t=["sm","md","lg","xl","xxl","xxxl"],n=Object.values(i);return Object.keys(e).every(o=>t.includes(o)&&n.includes(e[o]))}static mergeAlignmentConfigs(...e){const t=e.filter(e=>void 0!==e);if(0===t.length)return;const n=t.filter(e=>"string"==typeof e);if(n.length>0)return n[n.length-1];const o=t.filter(e=>"object"==typeof e);return 0!==o.length?o.reduce((e,t)=>({...e,...t}),{}):void 0}static generateFloatCSS(e){if("string"==typeof e)return`float: ${b.getFloatValue(e)};`;const t={};Object.entries(e).forEach(([e,n])=>{t[e]=b.getFloatValue(n)});return y.generateCSSMediaQueries("float",t).join("\n")}static getFloatValue(e){switch(e){case i.LEFT:return i.RIGHT;case i.RIGHT:return i.LEFT;default:return i.RIGHT}}}const f="16px",w="24px",$={gap:{sm:"16px"},padding:{sm:"0px"},margin:{sm:"0px"}},v={gap:{sm:"8px"},padding:{sm:"0px"},margin:{sm:"0px"}};class C{static mergeWithDefaults(e,t=$){return{gap:{...t.gap,...e?.gap},padding:{...t.padding,...e?.padding},margin:{...t.margin,...e?.margin}}}static generateSpacingCSS(e,t){return y.generateCSSMediaQueries(e,t).join("")}static generateAllSpacingCSS(e){return`${this.generateSpacingCSS("gap",e.gap)}${this.generateSpacingCSS("padding",e.padding)}${this.generateSpacingCSS("margin",e.margin)}`}static getThemedSpacingCSS(e,t){const n={...e,padding:t?.themedPadding?{sm:f,xl:w}:void 0},o=this.mergeWithDefaults(n);return this.generateAllSpacingCSS(o)}}class k{static isStringValid(e){return null!=e&&e.trim().length>0}}class x{static generateHideMediaQueries(e,t=""){if(void 0===e)return[];if("boolean"==typeof e)return e?[`${t} { display: none; }`]:[];const n=this.convertHideConfigToDisplayConfig(e);return 0===Object.keys(n).length?[]:y.generateCSSMediaQueries("display",n)}static shouldHideElement(e,t="sm"){if(void 0===e)return!1;if("boolean"==typeof e)return e;const n=["sm","md","lg","xl","xxl","xxxl"];for(let o=n.indexOf(t);o>=0;o--){const t=n[o];if(void 0!==e[t])return e[t]}return!1}static isValidHideConfig(e){if("boolean"==typeof e||void 0===e)return!0;if("object"!=typeof e||null===e)return!1;const t=["sm","md","lg","xl","xxl","xxxl"];return Object.keys(e).every(n=>t.includes(n)&&"boolean"==typeof e[n])}static convertHideConfigToDisplayConfig(e){const t={};return Object.values(e).some(e=>!0===e)?(Object.entries(e).forEach(([e,n])=>{t[e]=n?"none":"block"}),t):{}}static mergeHideConfigs(...e){const t=e.filter(e=>void 0!==e);if(0===t.length)return;const n=t.filter(e=>"boolean"==typeof e);if(n.length>0)return n[n.length-1];const o=t.filter(e=>"object"==typeof e);return 0!==o.length?o.reduce((e,t)=>({...e,...t}),{}):void 0}}const E=s.Ay.div.withConfig({displayName:"CollageWrapper"})` container-type: inline-size; display: grid; background: var(${h.pT.Color.Surface}); ${e=>new c.Fb("grid-template-columns","",e.gridTemplateColumns).generateStyleForBreakpoints()}; ${e=>new c.Fb("align-items","",e.alignItems).generateStyleForBreakpoints()}; ${e=>new c.Fb("grid-template-areas","",e.layout).generateStyleForBreakpoints()}; gap: 16px; @media (min-width: ${g.Vh.md}px) { gap: 16px; } @media (min-width: ${g.Vh.xxl}px) { gap: 16px; } ${({theme:e})=>C.getThemedSpacingCSS(void 0,e)} `;var A=n(22354),S=n(80471);const L=s.Ay.div.withConfig({displayName:"ListWrapper"})` grid-area: ${e=>`list${e.gridArea}`}; container-type: inline-size; width: 100%; height: 100%; display: grid; align-content: start; color: var(${h.pT.Color.TextHeading}); background: var(${h.pT.Color.Surface}); ${e=>new c.Fb("grid-template-columns","",e.gridTemplateColumns).generateStyleForBreakpoints()}; ${e=>new c.Fb("grid-template-rows","",e.gridTemplateRows).generateStyleForBreakpoints()}; ${e=>new c.Fb("align-items","",e.alignItems).generateStyleForBreakpoints()}; ${e=>new c.Fb("align-content","",e.alignContent).generateStyleForBreakpoints()}; ${e=>new c.Fb("grid-template-areas","",e.layout).generateStyleForBreakpoints()} gap: 16px; @media (min-width: ${g.Vh.md}px) { gap: 16px; } @media (min-width: ${g.Vh.xxl}px) { gap: 16px; } ${({theme:e})=>C.getThemedSpacingCSS(void 0,e)} `,T="card";class N extends c.xg{constructor(e){super(),this.assetConfigs=e}getStyleForBreakpoint(e){return[["aspect-ratio",H(this.assetConfigs[e]?.aspectRatio)]]}}function H(e){if(null==e)return"";const[t,n]=e.split(":");return`${t} / ${n}`}var I=n(26865);class B{static getFluidTypographStyles(e,t){const n=(0,I.nv)(e,t),o=(0,I.nv)(e,`typography.typefaces.${n.family}`),i=o?.fontvariant?.slice(1,-1)||"";return`\n ${`text-transform: ${n.case};`}\n ${B.getFontFamilyValue(e,n)}\n ${`font-style: ${n.style};`}\n ${`letter-spacing: ${n["letter-spacing"]};`}\n ${`font-variant-ligatures: ${n.ligatures};`}\n ${`font-variant: ${i};`}\n ${`font-weight: ${n.weight};`}\n ${B.getClampValue("line-height",n["line-height"])}\n ${B.getClampValue("font-size",n["font-size"])}\n `}static getFontFamilyValue(e,t){const n=(0,I.nv)(e,`typography.typefaces.${t.family}`),o=n?.fallback?.slice(1,-1)||"";return`font-family: ${t.family}, ${o};`}static getClampValue(e,t){return`${e}: clamp(${t.min}, ${t["clamp-ratio"]}, ${t.max});`}}const O=s.Ay.h3.withConfig({displayName:"HeadlineWrapper"})` grid-area: headline; text-align: match-parent; text-wrap: balance; padding: 0; margin: 0; &:hover { text-decoration: underline; } ${({theme:e,hedToken:t})=>B.getFluidTypographStyles(e,`typography.definitions.fluid.${t??"headline-md"}`)} color: var(${h.pT.Color.TextHeading}); ${e=>e.hideHeadline&&"object"==typeof e.hideHeadline?x.generateHideMediaQueries(e.hideHeadline).join("\n"):""} `,_=s.Ay.a.withConfig({displayName:"HeadlineLink"})` color: inherit; text-decoration: none; `,K=s.Ay.span.withConfig({displayName:"RubricWrapper"})` grid-area: rubric; text-align: match-parent; width: 100%; ${(0,I.Gg)("typography.definitions.globalEditorial.context-primary")} color: var(${h.pT.Color.TextRubric}); ${e=>e.hideRubric&&"object"==typeof e.hideRubric?x.generateHideMediaQueries(e.hideRubric).join("\n"):""} `,P=s.Ay.a.withConfig({displayName:"RubricLink"})` color: inherit; text-decoration: none; &:hover, &:focus { text-decoration: underline; } `;var D=n(74423);const q=s.Ay.div.withConfig({displayName:"BylineWrapper"})` grid-area: byline; text-align: match-parent; color: var(${h.pT.Color.TextByline}); /* THIS IS A HACK TO REMOVE SPACING OF BYLINE - WE SHOULD CREATE A NEW COMPONENT */ @media (min-width: ${g.Vh.lg}px) { margin: -${(0,I.Kq)(1)} 0 0; } ${D.QW} { color: inherit; text-decoration: none; &:hover, &:focus { text-decoration: underline; } } ${e=>e.hideByline&&"object"==typeof e.hideByline?x.generateHideMediaQueries(e.hideByline).join("\n"):""} `,M=s.Ay.div.withConfig({displayName:"ItemsCountWrapper"})` grid-area: items-count; text-align: match-parent; ${({theme:e})=>(0,I.C_)(e,"typography.definitions.globalEditorial.numerical-small")} ${(0,I.Gg)("typography.definitions.globalEditorial.numerical-small")} color: var(${h.pT.Color.TextSubtle}); ${e=>e.hideItemsCount&&"object"==typeof e.hideItemsCount?x.generateHideMediaQueries(e.hideItemsCount).join("\n"):""} `,R=s.Ay.div.withConfig({displayName:"PublishedDateWrapper"})` grid-area: published-date; text-align: match-parent; ${(0,I.Gg)("typography.definitions.globalEditorial.context-tertiary")} color: var(${h.pT.Color.TextPubdate}); ${e=>e.hidePublishedDate&&"object"==typeof e.hidePublishedDate?x.generateHideMediaQueries(e.hidePublishedDate).join("\n"):""} `,F=s.Ay.p.withConfig({displayName:"DekWrapper"})` margin: 0; padding: 0; text-wrap: pretty; text-align: match-parent; ${(0,I.Gg)("typography.definitions.discovery.description-core")} color: var(${h.pT.Color.TextDek}); ${e=>e.hideDek&&"object"==typeof e.hideDek?x.generateHideMediaQueries(e.hideDek).join("\n"):""} `,U=s.Ay.div.withConfig({displayName:"DefaultCardWrapper"})` grid-area: ${e=>`${T}${e.gridArea}`}; container-type: inline-size; width: 100%; display: grid; align-content: start; color: var(${h.pT.Color.TextHeading}); background: var(${h.pT.Color.Surface}); &:hover { cursor: pointer; } ${({cardLayout:e})=>y.generateCSSMediaQueries("grid-template-areas",e)}; ${({gridTemplateColumns:e})=>e&&y.generateCSSMediaQueries("grid-template-columns",e)}; ${({alignItems:e})=>e&&y.generateCSSMediaQueries("align-items",e)}; ${({spacing:e,theme:t})=>C.getThemedSpacingCSS(e,t)} `,V=s.Ay.div.withConfig({displayName:"OverlayCardWrapper"})` width: 100%; height: 100%; position: relative; overflow: hidden; grid-area: ${e=>`${T}${e.gridArea}`}; ${({assetConfigs:e})=>new N(e).generateStyleForBreakpoints()} container-type: inline-size; color: var(${h.pT.Color.Text}); `,G=s.Ay.div.withConfig({displayName:"OverlayCardContent"})` width: 100%; position: absolute; left: 0; display: grid; ${({overlayDirection:e})=>function(e){switch(e){case"top":return s.AH` align-content: end; bottom: 0; background: var(${h.pT.Color.OverlayStrong180deg}); `;case"bottom":return s.AH` align-content: start; top: 0; background: var(${h.pT.Color.OverlayStrong0deg}); `;default:return""}}(e)}; ${({cardLayout:e})=>y.generateCSSMediaQueries("grid-template-areas",e)}; ${({spacing:e})=>{const t=C.mergeWithDefaults(e);return C.generateAllSpacingCSS(t)}} z-index: 1; pointer-events: none; ${O}, ${K}, ${q}, ${M}, ${R}, ${D.CR}, ${D.H1}, ${F}, ${D.fh} { color: var(${h.pT.Color.OverlayInverse}); pointer-events: auto; } `;const W=(0,r.createContext)(null),j=s.Ay.div.withConfig({displayName:"MediaWrapper"})` grid-area: media; ${e=>y.generateCSSMediaQueries("grid-template-areas",e.cardLayout)}; position: relative; ${e=>e.hideAsset&&"object"==typeof e.hideAsset?x.generateHideMediaQueries(e.hideAsset).join("\n"):""} `,z=s.Ay.div.withConfig({displayName:"OverlayMediaWrapper"})` width: 100%; height: 100%; ${({assetConfigs:e})=>new N(e).generateStyleForBreakpoints()} ${e=>e.hideAsset&&"object"==typeof e.hideAsset?x.generateHideMediaQueries(e.hideAsset).join("\n"):""} `,Y=s.Ay.div.withConfig({displayName:"OverlayMediaContent"})` width: 100%; height: 100%; position: absolute; left: 0; top: 0; `,X=s.Ay.div.withConfig({displayName:"MediaOverlayWrapper"})` position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; display: grid; grid-template-areas: '${o.TOP_LEFT} ${o.TOP_RIGHT}' '${o.BOTTOM_LEFT} ${o.BOTTOM_RIGHT}'; `,Z=s.Ay.div.withConfig({displayName:"MediaAssetWrapper"})` max-width: 100%; display: grid; img { width: 100%; } ${({assetConfigs:e})=>new N(e).generateStyleForBreakpoints()} ${e=>e.hideAsset&&"object"==typeof e.hideAsset?x.generateHideMediaQueries(e.hideAsset).join("\n"):""} &&& { .cne-video-embed { max-width: 100%; } } `;var J=n(73275),Q=n(52009),ee=n(70978);function te({hideAsset:e}){const{collageCard:t,cardConfig:n}=(0,r.useContext)(W),o=t.image;if("cnevideo"===t.contentType)return t.scriptUrl&&(t.scriptUrl=(0,ee.A)(t.scriptUrl,{hideControls:0,aspectRatio:"9x16",disabledAds:!0,autoplay:1,muted:!0,continuousPlay:0,hideHoverTitle:!0,loopVideo:1,verticalLayout:!0})),r.createElement(Z,{assetConfigs:n.assetConfigs,hideAsset:e},r.createElement(J.A,{...t}));if(null==o||!0===e)return null;const i=Object.keys(n.assetConfigs),a=(0,Q.$)(o.sources,i),s={...o,segmentedSources:a,useFullSources:!0};return r.createElement(Z,{assetConfigs:n.assetConfigs,hideAsset:e},r.createElement(J.A,{...s}))}var ne=n(45898);const oe=s.Ay.div.withConfig({displayName:"IconBadgeWrapper"})` grid-area: ${({position:e})=>e}; justify-self: ${({position:e})=>(0,ne.W)(e)}; align-self: ${({position:e})=>(0,ne.v)(e)}; display: flex; justify-content: center; align-items: center; width: 24px; height: 24px; @container (min-width: ${g.Vh.lg/2}px) { width: 28px; height: 28px; } background: var(${h.pT.Color.OverlayBadge}); backdrop-filter: blur(8px); border-radius: 50%; margin: ${({theme:e})=>(0,I.nv)(e,"spacing.spacing-8")}; & svg { path { fill: var(${h.pT.Color.TextCardActive}); } width: 16px; height: 16px; } `;var ie=n(80089);const ae={gallery:"Gallery",video:"Play",cnevideo:"Play"};function re({config:e}){const{collageCard:t}=(0,r.useContext)(W),{contentType:n}=t,o=function(e){if(null==e)return null;const t=ae[e];if(null==t)return null;const n=(0,ie.R)(t,"thin");return null==n?null:n}(n);return null==e||null==o?null:r.createElement(oe,{position:e.position},r.createElement(o,null))}var se=n(11499);function le({iconBadge:e,textBadge:t}){return r.createElement(X,null,r.createElement(re,{config:e}),r.createElement(se.L,{config:t}))}function de({cardConfig:e}){const t=e.blocks.media,{hideAsset:n,iconBadge:o,textBadge:i}=t||{};return!0===n?null:e.type&&e.type.startsWith("overlay")?r.createElement(z,{assetConfigs:e.assetConfigs,hideAsset:n},r.createElement(Y,null,r.createElement(te,{hideAsset:n}))):r.createElement(j,{cardLayout:e.layout,hideAsset:n},r.createElement(te,{hideAsset:n}),r.createElement(le,{iconBadge:o,textBadge:i}))}const ce=s.Ay.div.withConfig({displayName:"DescriptionWrapper"})` width: 100%; grid-area: description; container-type: inline-size; ${e=>y.generateCSSMediaQueries("grid-template-areas",e.cardLayout)}; `,me=s.Ay.div.withConfig({displayName:"DescriptionContent"})` ${({alignment:e})=>b.generateAlignmentCSS(e)} ${({spacing:e})=>{const t=C.mergeWithDefaults(e,v);return C.generateAllSpacingCSS(t)}} `;function ue({hideDek:e}){const{collageCard:t}=(0,r.useContext)(W),n=t.dangerousDek;return k.isStringValid(n)&&!0!==e?r.createElement(F,{hideDek:e,dangerouslySetInnerHTML:{__html:n}}):null}const pe=s.Ay.div.withConfig({displayName:"DescriptionAssetWrapper"})` ${({alignment:e})=>b.generateFloatCSS(e)} width: 112px; margin-left: 8px; ${e=>e.hideAsset&&"object"==typeof e.hideAsset?x.generateHideMediaQueries(e.hideAsset).join("\n"):""} `;function ge({hideAsset:e,alignment:t}){const{collageCard:n}=(0,r.useContext)(W),o=n.image;if(null==o||!0===e)return null;const i=(0,Q.I)(o.sources),a={...o,segmentedSources:i};return r.createElement(pe,{alignment:t,hideAsset:e},r.createElement(J.A,{...a}))}function he({cardConfig:e}){const t=e.blocks.description;if(null==t)return null;const{alignment:n,hideAsset:o,hideDek:i,spacing:a}=t;return r.createElement(ce,{cardLayout:e.layout},r.createElement(me,{alignment:n,spacing:a},r.createElement(ge,{hideAsset:o,alignment:n}),r.createElement(ue,{hideDek:i})))}const ye=s.Ay.div.withConfig({displayName:"InfoWrapper"})` width: 100%; grid-area: info; container-type: inline-size; ${e=>y.generateCSSMediaQueries("grid-template-areas",e.cardLayout)}; `,be=s.Ay.div.withConfig({displayName:"InfoContent"})` display: flex; flex-direction: column; ${({alignment:e})=>b.generateAlignmentCSS(e)} ${({spacing:e})=>{const t=C.mergeWithDefaults(e,v);return C.generateAllSpacingCSS(t)}} `;var fe=n(87468);function we({hideByline:e,alignment:t}){const{collageCard:n,cardConfig:o}=(0,r.useContext)(W),i=n.contributors,a=o.blocks.info?.shouldLinkByline??!1;if(null==i||!0===e)return null;const s="string"==typeof t?t:b.getAlignmentForBreakpoint(t,"sm");return r.createElement(q,{hideByline:e},r.createElement(fe.A,{contributors:i,contentAlign:s,shouldLink:a}))}const $e=s.Ay.div.withConfig({displayName:"HighLightLabelWrapper"})` grid-area: highlight-label; text-align: match-parent; ${(0,I.Gg)("typography.definitions.globalEditorial.context-primary")} color: var(${h.pT.Color.TextAccent}); ${e=>e.hideHighlightLabel&&"object"==typeof e.hideHighlightLabel?x.generateHideMediaQueries(e.hideHighlightLabel).join("\n"):""} `;function ve({hideHighlightLabel:e}){const{collageCard:t}=(0,r.useContext)(W),{ratingValue:n}=t;return null==n||!0===e?null:r.createElement($e,{hideHighlightLabel:e},n.isBestNewMusic?n.isBestNewMusic:"Best New Music")}var Ce=n(6442);const ke=(0,n(72267).defineMessages)({photo:{id:"ItemCount.photo",defaultMessage:"{count, plural,\n one {# Photo}\n other {# Photos}\n }",description:"photo with plurals"}});function xe({hideItemsCount:e}){const{collageCard:t}=(0,r.useContext)(W),{itemsCount:n}=t,o=(0,Ce.A)();return Number.isFinite(n?.count)&&!0!==e?r.createElement(M,{hideItemsCount:e},o.formatMessage(ke.photo,{count:n?.count})):null}function Ee({hidePublishedDate:e}){const{collageCard:t}=(0,r.useContext)(W),{date:n}=t;return k.isStringValid(n)&&!0!==e?r.createElement(R,{hidePublishedDate:e},n):null}function Ae({cardConfig:e}){const t=e.blocks.info;if(null==t)return null;const{alignment:n,hideByline:o,hideHighlightLabel:i,hideItemsCount:a,hidePublishedDate:s,spacing:l}=t;return r.createElement(ye,{cardLayout:e.layout},r.createElement(be,{alignment:n,spacing:l},r.createElement(we,{hideByline:o,alignment:n}),r.createElement(ve,{hideHighlightLabel:i}),r.createElement(xe,{hideItemsCount:a}),r.createElement(Ee,{hidePublishedDate:s})))}const Se=s.Ay.div.withConfig({displayName:"TitleWrapper"})` width: 100%; grid-area: title; container-type: inline-size; ${e=>y.generateCSSMediaQueries("grid-template-areas",e.cardLayout)}; `,Le=s.Ay.div.withConfig({displayName:"TitleContent"})` display: flex; flex-direction: column; ${({alignment:e})=>b.generateAlignmentCSS(e)} ${({spacing:e})=>{const t=C.mergeWithDefaults(e,v);return C.generateAllSpacingCSS(t)}} h2, h3 { a { text-decoration: none; &:hover, &:focus { text-decoration: underline; } } } `;function Te({hideHeadline:e}){const{collageCard:t,cardConfig:n}=(0,r.useContext)(W),o=t.dangerousHed;return k.isStringValid(o)&&!0!==e?r.createElement(O,{hedToken:n.typographyConfig?.hedToken,hideHeadline:e},r.createElement(_,{href:t.url,dangerouslySetInnerHTML:{__html:o}})):null}function Ne({hideRubric:e}){const{collageCard:t}=(0,r.useContext)(W),n=t.rubric?.name,o=t.rubric?.url;return k.isStringValid(n)&&!0!==e?r.createElement(K,{hideRubric:e},o?r.createElement(P,{href:o},n):n):null}s.Ay.div.withConfig({displayName:"SubheadWrapper"})` grid-area: subhead; text-align: match-parent; `;n(68116);function He({hideSubhead:e}){return null}function Ie({cardConfig:e}){const t=e.blocks.title;if(null==t)return null;const{alignment:n,hideRubric:o,hideHeadline:i,spacing:a}=t;return r.createElement(Se,{cardLayout:e.layout},r.createElement(Le,{alignment:n,spacing:a},r.createElement(Ne,{hideRubric:o}),r.createElement(Te,{hideHeadline:i}),r.createElement(He,null)))}var Be=n(14307),Oe=n(66916);function _e({collageCard:e,cardConfig:t,gridArea:n,inheritedVariant:o,trackingContext:i,experimentSnowplowProperties:a}){const s=function(e){if(e?.startsWith("overlay"))return Pe;return Ke}(t.type),l={...t.theme,variant:t.theme?.variant||o};return r.createElement(W.Provider,{value:{collageCard:e,cardConfig:t}},r.createElement(s,{collageCard:e,cardConfig:t,gridArea:n,theme:l,onTrackingClick:()=>{(({collageCard:e,sectionTitle:t,current_package_index:n,total_packages:o,subject:i,subjectId:a,strategy:r})=>{const s={type:"click",subject:i,subject_id:a,label:(0,Oe.A)(t||""),index:n,total_index:o,strategy:r,items:[{content_title:e.dangerousHed,content_id:e.id,content_type:e.contentType,content_url:new URL(e.url,window.location.origin).href}]};(0,Be.kg)(s,null,{skipDuplicateEvent:!1})})({...i,collageCard:e,...a})}}))}function Ke({cardConfig:e,collageCard:t,gridArea:n,theme:o,onTrackingClick:i}){return r.createElement(U,{gridArea:n,cardLayout:e.layout,gridTemplateColumns:e.gridTemplateColumns,alignItems:e.alignItems,spacing:e.spacing,theme:o,className:o.variant,onClick:e=>{i?.(),(e=>{const n=e.target;"A"===n.tagName||n.closest("a")||(window.location.href=t.url)})(e)}},r.createElement(de,{cardConfig:e}),r.createElement(Ie,{cardConfig:e}),r.createElement(he,{cardConfig:e}),r.createElement(Ae,{cardConfig:e}))}function Pe({cardConfig:e,gridArea:t,onTrackingClick:n}){const o=e.type?.split("-")[2];return r.createElement(V,{gridArea:t,assetConfigs:e.assetConfigs,onClick:n},r.createElement(de,{cardConfig:e}),r.createElement(G,{cardLayout:e.layout,gridTemplateColumns:e.gridTemplateColumns,overlayDirection:o,spacing:e.spacing},r.createElement(Ie,{cardConfig:e}),r.createElement(he,{cardConfig:e}),r.createElement(Ae,{cardConfig:e})))}const De=s.i7` 0% { background-position: -100% 0; } 100% { background-position: 100% 0; } `,qe=s.Ay.div.withConfig({displayName:"PlaceholderCardWrapper"})` grid-area: ${e=>`${T}${e.gridArea}`}; display: flex; flex-direction: column; gap: ${(0,I.Kq)(2)}; background: var(${h.pT.Color.Surface}); border-radius: ${(0,I.Kq)(1)}; `,Me=s.Ay.div.withConfig({displayName:"PlaceholderTitleBar"})` width: 100%; height: ${(0,I.Kq)(3)}; border-radius: ${(0,I.Kq)(.5)}; background: linear-gradient( 90deg, var(${h.pT.Color.SurfacePlaceholder}) 0%, var(${h.pT.Color.Surface}) 50%, var(${h.pT.Color.SurfacePlaceholder}) 100% ); background-size: 200% 100%; animation: ${De} 2s infinite; `,Re=s.Ay.div.withConfig({displayName:"PlaceholderInfoBar"})` width: 100%; height: ${(0,I.Kq)(3)}; border-radius: ${(0,I.Kq)(.5)}; background: linear-gradient( 90deg, var(${h.pT.Color.SurfacePlaceholder}) 0%, var(${h.pT.Color.Surface}) 50%, var(${h.pT.Color.SurfacePlaceholder}) 100% ); background-size: 200% 100%; animation: ${De} 2s infinite; `;function Fe({gridArea:e}){return r.createElement(qe,{gridArea:e},r.createElement(Me,null),r.createElement(Re,null))}function Ue(e){return[...new Set(Object.keys(e).flatMap(t=>e[t].split(" ")).map(e=>e.trim().replace(/^"|"$/g,"")).filter(e=>e.length>0))]}function Ve(e){return Ue(e).filter(e=>e.includes("divider"))}const Ge=s.Ay.div.withConfig({displayName:"DividerWrapper"})` grid-area: ${({areaName:e})=>e}; background: var(${h.pT.Color.BorderSubtle}); ${({areaName:e,theme:t})=>function(e,t){const n=t?.decorations?.borderWidth?`${t.decorations.borderWidth}px`:"1px";if(function(e){const t=e.split("-")[1];return"v"===t}(e))return s.AH` width: ${n}; height: 100%; `;return s.AH` width: 100%; height: ${n}; `}(e,t)}; ${({areaName:e,layout:t})=>y.getVisibilityMediaQueries(t,e)}; `;function We({areaName:e,layout:t}){return r.createElement(Ge,{areaName:e,layout:t})}var je=n(27767),ze=n(62747);const Ye=({gridArea:e,collageCards:t,listConfig:n,inheritedVariant:o,shouldPersonalize:i,csrConfig:a,pageSize:s=5,trackingContext:l,usePersonalizedApiUrl:d,title:c,personalizedTitle:m})=>{const{isGBReady:u}=(0,r.useContext)(ze.L),[p,g]=(0,r.useState)(i?[]:t),[h,y]=(0,r.useState)("");r.useEffect(()=>{if(u){const e=d?a.personalisedApiUrl:a.recommendationsApiUrl;y(e||"")}},[u,d,a.personalisedApiUrl,a.recommendationsApiUrl]);const{recircClientLoading:b,recircListClientData:f,recircListClientError:w}=(0,je.A)({...a,recommendationsApiUrl:h});r.useEffect(()=>{w?g(t):!b&&f.length>0&&g(f)},[p,t,w,b,f]);const $=Ve(n.layout),v={...n.theme,variant:n.theme?.variant||o},[C,k]=(0,S.Wx)({threshold:.5,triggerOnce:!0,delay:100}),x=r.useMemo(()=>({sectionTitle:d?m:c,strategy:a.strategy,subject:d?"verso-for-you-package":l.subject}),[d,m,c,a.strategy,l.subject]);return r.useEffect(()=>{k&&p.length>0&&(({collageCards:e,sectionTitle:t,current_package_index:n,total_packages:o,subject:i,subjectId:a,strategy:r})=>{const s={type:"impression",subject:i,subject_id:a,label:(0,Oe.A)(t||""),index:n,total_index:o,strategy:r,items:e.map(e=>({content_title:e.dangerousHed,content_id:e.id,content_type:e.contentType,content_url:new URL(e.url,window.location.origin).href}))};(0,Be.kg)(s,null,{skipDuplicateEvent:!1})})({...l,collageCards:p,...i&&x})},[k,p,l,i,d,m,a.strategy,x,c]),r.createElement(L,{ref:C,gridArea:e,gridTemplateColumns:n.gridTemplateColumns,gridTemplateRows:n.gridTemplateRows,alignItems:n.alignItems,alignContent:n.alignContent,layout:n.layout,theme:v,className:v.variant},$.map(e=>r.createElement(We,{areaName:e,layout:n.layout})),i&&0===p.length&&r.createElement(r.Fragment,null,Array.from({length:s||0}).map((e,t)=>r.createElement(Fe,{key:t,gridArea:t+1}))),p.length>0&&p.map((e,t)=>r.createElement(_e,{key:e.id,collageCard:e,gridArea:t+1,cardConfig:n.cards[T+(t+1)]??n.cards.default,inheritedVariant:v.variant,trackingContext:l,experimentSnowplowProperties:i?x:{}})))};Ye.displayName="List";const Xe=(0,A.Ng)((e,t)=>{const{config:{contentSystem:n,recommendations:o},appConfig:i,coreDataLayer:a,"head.contentID":r,"head.canonicalUrl":s,useTrailingSlash:l}=e,{applicationID:d,shouldPersonalize:c,strategy:m,pageSize:u,listConfig:p,containerItemIds:g,excludeCategories:h}=t,y=n?.mediaDomain?`https://${n.mediaDomain}`:"";return{csrConfig:{applicationID:c?d:"",brandSlug:i?.brandSlug,canonicalUrl:s,contentID:r,excludeCopilotIds:g,excludeCategories:h,language:a?.content?.contentLang,pageSize:u,photoConfig:p.cards.default.assetConfigs,recommendationsApiUrl:o?.recommendationsApiUrl,personalisedApiUrl:o?.personalisedApiUrl,shouldUseTrailingSlash:l,strategy:m,vulcanUrl:y,layout:"collage"}}},{})(Ye),Ze=(0,p.y)(Xe,"List"),Je=s.Ay.div.withConfig({displayName:"ListHeadingWrapper"})` grid-area: ${({areaName:e})=>e}; ${({layout:e,areaName:t})=>y.getVisibilityMediaQueries(e,t)}; `;var Qe=n(35864);function et({areaName:e,title:t,layout:n,sectionTitleVariation:o="TextLeft",isCustomTitle:i=!1}){if(!k.isStringValid(t))return null;const[a,s]=(0,r.useState)(i?"Curating...":t),{isGBReady:l}=(0,r.useContext)(ze.L);(0,r.useEffect)(()=>{s(i&&!l?"Curating...":t||"")},[i,l,t]);const d=Qe.default[o];return r.createElement(Je,{areaName:e,layout:n},r.createElement(d,{dangerousHed:a}))}const tt=(0,p.y)(function({collageLists:e,collageConfig:t,personalizedTitle:n}){const o=Ve(t.layout),i=Ue(t.layout).filter(e=>e.includes("-heading"));return r.createElement(E,{layout:t.layout,gridTemplateColumns:t.gridTemplateColumns,alignItems:t.alignItems,theme:t.theme,className:t.theme?.variant},o.map(e=>r.createElement(We,{areaName:e,layout:t.layout})),i.map(o=>{const i=function(e){const t=e.match(/list(\d+)-heading/);return t?parseInt(t[1],10)-1:-1}(o),a=e[i]?.shouldPersonalize&&n||e[i]?.title,s=e[i]?.shouldPersonalize;return r.createElement(et,{key:o,areaName:o,title:a,layout:t.layout,sectionTitleVariation:t.sectionTitleVariation,isCustomTitle:s})}),e.map((e,o)=>r.createElement(Ze,{key:o,gridArea:o+1,title:e.title,personalizedTitle:n,shouldPersonalize:e.shouldPersonalize,collageCards:e.cards,containerItemIds:e.containerItemIds,listConfig:t.lists[o],inheritedVariant:t.theme?.variant,trackingContext:e.trackingContext})))},"Collage"),nt=s.Ay.div.withConfig({displayName:"CollageHeadingWrapper"})` margin-bottom: 16px; `;function ot({dangerousHed:e,sectionTitleVariation:t="TextLeftWithLineBelowTitle"}){if(!k.isStringValid(e))return null;const n=Qe[t]||Qe.TextLeftWithLineBelowTitle;return r.createElement(nt,null,r.createElement(n,{dangerousHed:e}))}var it=n(96756),at=n(48171);function rt(e){const{theme:t}=(0,at.h)(),n=t||"standard";try{const{title:t,lists:o,collageConfig:i}=e,a=i.theme?.variant||n;return r.createElement(s.ID,{shouldForwardProp:st},r.createElement(it.t,null,r.createElement(s.NP,{theme:{collageTheme:a}},r.createElement(u,{className:a},r.createElement(ot,{dangerousHed:t,sectionTitleVariation:i.sectionTitleVariation}),r.createElement(tt,{collageLists:o,collageConfig:i})))))}catch(e){return r.createElement(r.Fragment,null)}}function st(e,t){return"string"!=typeof t||dt(e)}const lt=/^(children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|href)$/i,dt=d()(e=>lt.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91)},22652:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(26066).A},23211:(e,t,n)=>{n.d(t,{CA:()=>T,DK:()=>b,Fv:()=>$,JR:()=>L,KC:()=>u,L$:()=>v,PQ:()=>k,Ri:()=>y,aZ:()=>A,cw:()=>E,f9:()=>x,gu:()=>g,hb:()=>C,je:()=>w,sT:()=>p,tj:()=>f,v9:()=>S,z1:()=>h});var o=n(38267),i=n(16800),a=n(86659),r=n(40653),s=n(76955),l=n(73275),d=n(73730),c=n(26865),m=n(96472);const u=(0,o.Ay)(d.A.UtilityPairInverted).withConfig({displayName:"EventBannerNotifyButton"})` margin: 0 auto ${(0,c.Kq)(2)}; ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&t&&"margin: auto;"}; width: fit-content; min-width: ${(0,c.Kq)(22)}; height: auto; text-transform: uppercase; /* Keep inverted (outlined) look on hover instead of inverting */ &:hover { ${(0,c._o)("color","colors.interactive.base.white")}; background-color: transparent; ${(0,c._o)("border-color","colors.interactive.base.white")}; } @media (max-width: ${m.LO.md}) { margin-bottom: ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&t?"margin-bottom: 0;":`${(0,c.Kq)(1)};`}; } `;u.defaultProps={colorToken:"colors.interactive.base.white",typeIdentity:"typography.definitions.utility.button-core"};const p=o.Ay.div.withConfig({displayName:"EventBannerWrapper"})` ${({theme:e,hasConsistentSpacing:t})=>t&&"0px"!==(0,i.F)(e,"gap-md")?`\n margin-bottom: ${(0,i.F)(e,"gap-md")};\n @media (max-width: ${m.LO.md}) {\n margin-bottom: ${(0,i.F)(e,"gap-sm")};\n }\n `:null}; ${({theme:e})=>(0,c._o)(e,"background-color","colors.consumption.lead.inverted.background")}; `,g=(0,o.Ay)(l.A).withConfig({displayName:"Logo"})` margin: 0 auto; picture { justify-content: center; margin: 0; width: 100%; } img { display: block; width: auto; max-width: 100%; height: auto; max-height: 3rem; } `,h=o.Ay.div.withConfig({displayName:"EventBannerLogoContainer"})` display: flex; flex-direction: column; align-items: center; `,y=o.Ay.a.withConfig({displayName:"EventBannerLogoWrapper"})` margin-bottom: ${(0,c.Kq)(2)}; padding: 0; width: 9.75rem; height: auto; ${({isEventHappening:e})=>!e&&`\n display: flex;\n align-items: center;\n @media (max-width: ${m.LO.md}) {\n margin-bottom: ${(0,c.Kq)(1)};\n }\n `} @media (min-width: ${m.LO.md}) { ${({isEventHappening:e})=>e&&"\n margin-bottom: 0; \n display: block;\n align-self: center;\n "} ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&t&&`width:${(0,c.Kq)(28)};`} } ${({isNotClickable:e})=>e&&"cursor: auto"} `,b=(0,o.Ay)(a.A.NoMargins).withConfig({displayName:"EventCountdownTime"})` && { @media (max-width: ${m.LO.lg}) { grid-template-columns: repeat(3, 3.45rem 1.5rem) 3.45rem; } @media (max-width: ${m.LO.md}) { grid-template-columns: repeat(3, 2fr 1rem) 2fr; } @media (max-width: ${m.LO.sm}) { grid-template-columns: repeat(3, 3.5rem 1rem) 3.5rem; } grid-template-columns: repeat(3, 2fr 2rem) 2fr; align-items: center; text-align: center; --grid-gap: 0; } ${r.E} { height: 100%; } ${({theme:e})=>(0,c.Gg)(e,"typography.definitions.consumptionEditorial.display-medium")} ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.standard.context-texture")}; `,f=(0,o.Ay)(s.vm).withConfig({displayName:"EventLink"})` && { ${({hasLowerCaseText:e})=>!e&&"text-transform: uppercase;"} line-height: 1rem; } align-self: center; text-decoration: none; `;f.defaultProps={as:"a",colorToken:"colors.consumption.lead.inverted.context-tertiary",typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const w=(0,o.Ay)(s.vm).withConfig({displayName:"PostTimerMessage"})` text-align: start; ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&t&&"display: block;"}; ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&!t&&"display: none;"}; @media (min-width: ${m.LO.md}) { text-align: center; && { ${({isEventHappening:e})=>e&&"display: block;"}; } } && { ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.inverted.heading")}; ${({theme:e})=>(0,c.Gg)(e,"typography.definitions.discovery.hed-bulletin-primary")} } `,$=o.Ay.div.withConfig({displayName:"PostTimerWrapper"})` ${f} { display: ${({isEventHappening:e})=>e?"inline":"none"}; ${({isEventHappening:e})=>e?`padding-top:${(0,c.Kq)(.5)}`:""}; } @media (min-width: ${m.LO.md}) { ${f} { display: none; } } ${f} { ${({showButtonAndLogoOnTimeUp:e,isEventHappening:t})=>e&&t?"display:none":""} } `,v=(0,o.Ay)(a.A.ThreeUp).withConfig({displayName:"EventBannerGrid"})` && { row-gap: 0; padding-top: ${(0,c.Kq)(2)}; padding-bottom: ${(0,c.Kq)(2)}; @media (min-width: ${m.LO.md}) { padding: 1.5rem 1rem 1.25rem; } } > ${r.E}:first-child { grid-column: 1 / span 4; margin-bottom: ${(0,c.Kq)(2)}; text-align: center; justify-self: center; } ${({isEventHappening:e})=>!e&&`\n ${b}{\n justify-content: center;\n padding-bottom: ${(0,c.Kq)(2)};\n @media (min-width: ${m.LO.md}) {\n padding: 0;\n }\n }\n ${h}{\n ${g}{\n display: flex;\n width:100%;\n max-width: 11.5rem;\n }\n }\n `} ${({isEventHappening:e})=>e&&`\n && {\n padding: ${(0,c.Kq)(1)} ${(0,c.Kq)(3)};\n @media (min-width: ${m.LO.md}) {\n padding: ${(0,c.Kq)(1)} 0;\n }\n }\n ${g}{\n max-width: 9.75rem;\n display: flex;\n }\n @media (max-width: ${m.LO.md}) {\n ${g}{\n margin:0;\n }\n ${y}{\n padding:0;\n margin-bottom: 0;\n }\n ${$}{\n padding: ${(0,c.Kq)(1.5)} 0;\n }\n &&{\n gap: 0;\n column-gap: var(--grid-gap);\n }\n > ${r.E}:first-child {\n grid-column: 1 / span 2;\n text-align: center;\n align-self: center;\n margin-bottom: 0;\n justify-self: flex-start;\n }\n > ${r.E}:nth-child(2) {\n grid-column: 3 / span 2;\n align-self: center;\n\n }\n ${r.E}{\n grid-column: auto;\n }\n ${h}{\n display: block;\n }\n }\n ${r.E}:nth-child(3){\n align-self: center;\n }\n `} ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&t&&`\n @media (max-width: ${m.LO.md}) {\n && {\n padding-right: ${(0,c.Kq)(3)};\n }\n ${h}{\n display: none;\n }\n > ${r.E}:first-child {\n display: none;\n }\n > ${r.E}:nth-child(2) {\n grid-column: 1 / span 2;\n align-self: center;\n }\n > ${r.E}:nth-child(3) {\n grid-column: 3 / span 2;\n align-self: center;\n }\n }\n `} @media (min-width: ${m.LO.md}) { > ${r.E}:first-child { grid-column: 1 / span 3; justify-self: center; align-self: center; margin: 0; } > ${r.E}:nth-child(2) { grid-column: 5 / span 4; align-self: center; } > ${r.E}:last-child { grid-column: 10 / span 3; } ${({isEventHappening:e})=>e?`\n padding: ${(0,c.Kq)(1)} 0;\n `:`\n padding: ${(0,c.Kq)(3)} 0 ${(0,c.Kq)(2.5)} 0;\n `} } `,C=(0,o.Ay)(s.c7).withConfig({displayName:"EventSponsor"})` display: flex; flex: 1; flex-direction: column; justify-content: center; height: auto; text-align: center; ${({theme:e})=>(0,c.Gg)(e,"typography.definitions.globalEditorial.syndication")}; ${({isEventHappening:e})=>e?`\n align-self: center;\n padding: ${(0,c.Kq)(1.5)} 0;\n `:`\n @media (min-width: ${m.LO.md}) {\n padding-top: 0; \n height: 100%;\n } \n `}; ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&t&&"padding: 0;"}; @media (max-width: ${m.LO.md}) { display: ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&!t?"none":"flex"}; } @media (min-width: ${m.LO.md}) { ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&!t&&"display:flex;"}; ${f} { display: ${({isEventHappening:e,showButtonAndLogoOnTimeUp:t})=>e&&t?"none":"flex"}; align-self: center; justify-content: center; } } ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.inverted.syndication")}; ${g} { margin: 0 auto; width: 100%; max-width: 10.313rem; } `,k=(0,o.Ay)(s.vm).withConfig({displayName:"EventBannerDek"})` vertical-align: middle; @media (min-width: ${m.LO.md}) { margin-right: unset; } `;k.defaultProps={as:"span",colorToken:"colors.consumption.lead.inverted.context-tertiary",typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const x=(0,o.Ay)(s.c7).withConfig({displayName:"TimerContainer"})` ${({theme:e})=>(0,c.Gg)(e,"typography.definitions.consumptionEditorial.display-small")} color: ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.standard.context-texture")}; `,E=(0,o.Ay)(s.c7).withConfig({displayName:"UnitContainer"})` ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.inverted.link")}; ${({theme:e})=>(0,c.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")} padding-top: ${(0,c.Kq)(1)}; text-align: center; text-transform: ${({hasLowerCaseText:e})=>e?"capitalize;":"uppercase;"}; line-height: 1rem; @media (min-width: ${m.LO.md}) { padding-top: ${(0,c.Kq)(2)}; } `,A=(0,o.Ay)(s.vm).withConfig({displayName:"TimerValueContainer"})` @media (min-width: ${m.LO.md}) { display: flex; align-items: center; justify-content: center; height: 3rem; text-align: center; } `;A.defaultProps={as:"div",colorToken:"colors.interactive.base.white",typeIdentity:"typography.definitions.globalEditorial.numerical-large"};const S=(0,o.Ay)(s.c7).withConfig({displayName:"TimerColon"})` line-height: 1.5rem; ${({theme:e})=>(0,c._o)(e,"color","colors.interactive.base.white")}; ${({theme:e})=>(0,c.Gg)(e,"typography.definitions.globalEditorial.numerical-large")} @media (min-width: ${m.LO.md}) { position: relative; top: 0.2rem; } `,L=(0,o.Ay)(d.A.Utility).withConfig({displayName:"EventBannerCloseButton"})` position: absolute; right: 0; margin: ${(0,c.Kq)(2)} ${(0,c.Kq)(2)} 0 ${(0,c.Kq)(2)}; border-width: 0; width: 0; min-width: 0; height: 0; ${({shouldShowCloseButton:e})=>!e&&"display: none"}; @media (min-width: ${m.LO.md}) { margin: ${(0,c.Kq)(2)} ${(0,c.Kq)(2)} 0 ${(0,c.Kq)(2)}; } &:hover, &:active { border-width: 0; ${({theme:e})=>(0,c._o)(e,"border-color","colors.consumption.lead.inverted.background")}; ${({theme:e})=>(0,c._o)(e,"background-color","colors.consumption.lead.inverted.background")}; } .icon-close { padding: 8px; g { stroke: white; } } `,T=(0,o.Ay)(s.vm).withConfig({displayName:"EventSponsoredLogoWrapper"})` margin: 0 auto; padding: ${(0,c.Kq)(1)} 0 ${(0,c.Kq)(2)} 0; @media (min-width: ${m.LO.md}) { padding: ${(0,c.Kq)(1)} 0; } `;(0,o.Ay)(a.A.WithMargins).withConfig({displayName:"EventDetails"})` && { grid-template-columns: 1fr; gap: 0; line-height: ${(0,c.Kq)(1)}; @media (min-width: ${m.LO.md}) { grid-template-columns: repeat(1, 1fr); padding: 0; } @media (max-width: ${m.LO.md}) { padding-right: 0; padding-left: 0; } } ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.inverted.context-tertiary")}; ${r.E}:nth-of-type(2) { display: block; } ${f} { display: block; width: 100%; text-align: center; } @media (min-width: ${m.LO.md}) { ${r.E}:nth-of-type(2) { display: none; } } margin: ${(0,c.Kq)(2)} 0; `},23311:(e,t,n)=>{n.d(t,{C:()=>m});var o=n(38267),i=n(76955),a=n(37338),r=n(26865);const s=(e,t={})=>o.AH` position: relative; text-align: center; picture { height: 100%; } img { border: ${({theme:e})=>t.showOutline?`1px solid ${(0,r.HK)(e,"colors.discovery.body.white.border")}`:"none"}; height: 100%; } ${({insetType:e})=>t.inset&&(({insetType:e})=>"focus"===e?o.AH` margin: var(--smart-item-asset-v-inset) var(--smart-item-asset-h-inset); `:o.AH` padding: 0 var(--smart-item-asset-h-inset); `)({insetType:e})} `;var l=n(13983),d=n(11586),c=n(77527);const m=(0,o.Ay)(i.c7).withConfig({displayName:"SmartItemAssetContainer"})` ${({styleSettings:e})=>e&&(0,a.Q)("styleSettings",{styleSettings:e},s)} ${d.fI} { position: absolute; right: ${(0,r.Kq)(.75)}; bottom: ${(0,r.Kq)(.75)}; z-index: 1; ${({isContributor:e})=>e&&`\n right: ${(0,r.Kq)(-.75)};\n bottom: 0; \n &::before {\n border-radius: 50%;\n }\n `} } .responsive-asset { ${({isContributor:e})=>e&&l.TP}; } .responsive-asset, .responsive-clip { height: 100%; } .responsive-clip { display: block; } .responsive-cartoon { height: 100%; ${c.Jp}, ${c.uX} { display: none; } } `},23479:(e,t,n)=>{n.d(t,{A:()=>k});var o=n(5556),i=n.n(o),a=n(96540),r=n(6442),s=n(11542),l=n(53499),d=n(59867),c=n(46468),m=n(48188),u=n(89957),p=n(26890),g=n(26865),h=n(19607),y=n(98904),b=n(64214);const f=(0,n(72267).defineMessages)({toutHead:{id:"TopStory.toutHead",defaultMessage:"Also today . . .",description:"Tout header for top story"}});var w=n(26805),$=n(77630);const v=({content:e})=>{const t=(0,r.A)();return e?a.createElement(w.l8,{className:"smart-item--tout"},a.createElement(w.Rb,{dangerouslySetInnerHTML:{__html:t.formatMessage(f.toutHead)}}),a.createElement(w.i$,{dangerouslySetInnerHTML:{__html:e}})):null};v.propTypes={content:i().string.isRequired};const C=({additionalContent:e,index:t,items:n,navigation:o,layoutConfigs:i,shouldShow100AnnivLogo:s,...m})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(l.G.RENDER,{name:"TopStory"})},[]);const{formatMessage:f}=(0,r.A)(),C=a.useRef(),[k,x]=a.useState(!1),[E,A]=a.useState(!1),[S,L]=a.useState(0),[T,N]=a.useState(!1),[H,I]=a.useState(!1),[B,O]=a.useState(!1),[_,K]=a.useState(0),[P,D]=a.useState(!1),q=a.useRef(null),M=n.map(t=>({...t,additionalContent:e&&a.createElement(v,{content:e}),image:t.image&&{...t.image,isLazy:!1}}));(0,u.ol)(".top-story__crown-ad",void 0,e=>{x(!e)}),(0,u.ol)(".top_story-component",{rootSelector:null,rootMargin:`-${(0,g.Kq)(s?8:9,"px")}`,threshold:0},e=>{A(!e)});const R=a.useCallback(e=>{if(e){const e=C.current?.getBoundingClientRect();L(e?.top||0)}N(e)},[]);(0,u.ol)(".top_story-component",{rootSelector:null,rootMargin:`${(0,g.Kq)(62.5,"px")}`,threshold:0},e=>{I(!e)});const F=a.useCallback(()=>{const e=window.pageYOffset;(0,p.q)(B,e,_,"delta")&&(O(e-_>0),K(e))},[B,_]);a.useEffect(()=>(q.current=window.Kendra.WINDOW_EVENT.on(d.m.SCROLL_THROTTLE,F),()=>{q.current&&q.current.off()}),[F]);const U=i[m.id]?.palette||"",V=E?"standard":U;return a.createElement(a.Fragment,null,a.createElement(w.h3,{className:"top-story__crown-ad",addPaddingToCrownAd:P},a.createElement(h.$,{onFilled:e=>{e&&D(!0)}})),a.createElement(w.gf,{ref:C,headerIsFixed:k,navIsFixed:E,headerTheme:V,isDrawerOpen:T,shouldShow100AnnivLogo:s,"data-testid":"top-story__header"},a.createElement(c.A,{headerTheme:V,onDrawerStateChange:R})),a.createElement(w.ec,{navIsFixed:E,headerIsFixed:k,headerTheme:V,palette:U,shouldCollapseNavbar:B&&H,shouldShow100AnnivLogo:s,"data-testid":"top-story__wrapper"},a.createElement(w.Yq,{"data-testid":"StackedNavigationSectionPrimaryLinks"},a.createElement($.S6,{attributes:{"aria-label":f(y.A.primaryLinksLabel)},links:o.primaryLinks,shouldAllowNavItemHide:!0})),a.createElement(w.cF,{id:"topstory-content"},a.createElement(b.A,{...m,index:t,className:"top_story-component",items:M,themeExtensions:{componentStylePools:{SmartItem:w.ct}}})),a.createElement(w.kH,{drawerTop:S})))};C.propTypes={additionalContent:i().string,index:i().number,items:i().array.isRequired,layoutConfigs:i().object,navigation:i().shape({primaryLinks:m.A.propTypes.links}),shouldShow100AnnivLogo:i().bool};const k=(0,s.M3)(C,{keysToPluck:["bundle","layoutConfigs","navigation"]})},24283:(e,t,n)=>{n.d(t,{BQ:()=>T,HY:()=>k,JR:()=>C,Qk:()=>E,Wz:()=>A,eS:()=>I,lf:()=>v,qL:()=>x,s_:()=>B,tX:()=>O,tr:()=>$,vk:()=>S,vo:()=>w,wh:()=>L,y:()=>f});var o=n(38267),i=n(96472),a=n(52027),r=n(1123),s=n(26865),l=n(76955),d=n(60881),c=n(73275),m=n(63175),u=n(51e3),p=n(48286),g=n(50531),h=n(15956);const y="126px",b="200px",f=(0,o.Ay)(l.vm).withConfig({displayName:"ContributorHeaderName"})` ${({isDenseHeader:e,theme:t})=>e?(0,s.Gg)(t,"typography.definitions.discovery.hed-break-out"):(0,s.Gg)(t,"typography.definitions.discovery.page-hed-subsection")}; margin-top: 0; margin-bottom: ${(0,s.Kq)(1)}; ${({shouldRemoveNameMargin:e})=>e&&"margin: 0;"} color: ${({theme:e})=>(0,s.HK)(e,"colors.discovery.lead.secondary.hed")}; `;f.defaultProps={as:"h1"};const w=(0,o.Ay)(l.vm).withConfig({displayName:"ContributorHeaderTitle"})` margin-top: 0; margin-bottom: ${(0,s.Kq)(3)}; ${({isDenseHeader:e,theme:t})=>e?`\n color: ${(0,s.HK)(t,"colors.discovery.lead.secondary.description")};/* 1 */\n margin-bottom: 0px;\n `:`\n color:${(0,s.HK)(t,"colors.discovery.lead.secondary.accent")}; /* 1 */\n `} ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.globalEditorial.accreditation-feature")}; `;w.defaultProps={as:"h2"};const $=o.Ay.div.withConfig({displayName:"ContributorHeaderBio"})` ${o.AH` ${({enableFictionContributor:e,isDenseHeader:t,isFeaturedAuthor:n,theme:i})=>e||n||t?o.AH` ${(0,s.Gg)(i,"typography.definitions.discovery.description-feature")} `:o.AH` ${(0,s.Gg)(i,"typography.definitions.discovery.description-page")} `} `}; ${({contributorBioAlignment:e})=>"default"!==e&&`text-align: ${e};`} margin-top: 0; margin-bottom: 1rem; ${({theme:e,descriptionToken:t="colors.discovery.lead.secondary.description"})=>(0,s._o)(e,"color",t)}; ${({isDenseHeader:e,theme:t})=>!e&&`\n a {\n ${(0,s.pe)(t,"colors.discovery.lead.secondary.link","colors.discovery.lead.secondary.link-hover")}\n }`} ${({isFeaturedAuthor:e})=>e&&`\n > p {\n margin-top: ${(0,s.Kq)(2)};\n margin-bottom: ${(0,s.Kq)(2)};\n }\n `} ${({isDenseHeader:e,theme:t})=>e&&`\n margin-bottom: 0;\n margin-top:${(0,s.Kq)(2)};\n\n > p {\n margin-bottom: 0px;\n }\n a {\n ${(0,s.pe)(t,"colors.discovery.body.light.accent","colors.discovery.lead.secondary.link-hover","global")}\n }\n \n`} `,v=o.Ay.div.withConfig({displayName:"ContributorHeaderShortBio"})` margin-top: 0; margin-bottom: 1rem; color: ${({theme:e})=>(0,s.HK)(e,"colors.discovery.lead.secondary.description")}; ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.consumptionEditorial.body-core")}; /* 1 */ a { ${({theme:e})=>(0,s.pe)(e,"colors.consumption.body.standard.link",null)} } a + a { margin-left: 1rem; /* 2 */ border-left: 1px solid; padding-left: 1rem; } `,C=o.Ay.div.withConfig({displayName:"ContributorDenseHeaderWrapper"})` display: grid; ${({isImage:e})=>e?o.AH` grid-template-columns: ${(0,s.Kq)(10.5)} auto; `:o.AH` grid-template-columns: auto auto; `} `,k=o.Ay.div.withConfig({displayName:"ContributorNameAndTitleWrapper"})` ${({isDenseHeader:e})=>e&&"grid-column: auto;\n min-width: 0;"} `,x=(0,o.Ay)(m.A).withConfig({displayName:"ContributorHeaderSocialIcons"})` .contributor-header__social-icons { ${u.eO} { @media (min-width: ${i.LO.md}) { justify-content: flex-start; } } } ${u.eO} { justify-content: center; @media (min-width: ${i.LO.md}) { justify-content: flex-start; } ${u.KS} { .icon { path { fill: ${({theme:e})=>(0,s.HK)(e,"colors.discovery.lead.secondary.link")}; } } &:hover { .icon { path { fill: ${({theme:e})=>(0,s.HK)(e,"colors.discovery.lead.secondary.link-hover")}; } } } } } `,E=o.Ay.div.withConfig({displayName:"ContributorGrid"})` ${(0,r.VO)()} ${(0,r.aU)("padding")} ${({hasLeftAlignedHeader:e})=>e&&"margin: 0 auto;"} ${({shouldApplyMaxWidth:e})=>e&&`max-width: ${i.LO.xxl};`} ${({hasPaddingTop:e})=>e&&`padding-top: ${(0,s.Kq)(8)};`} display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--grid-gap); padding-bottom: ${(0,s.Kq)(8)}; width: 100%; text-align: center; row-gap: var(--grid-gap); ${(0,s.H4)(i.LO.md)} { grid-template-columns: repeat(12, 1fr); justify-items: auto; text-align: inherit; } `,A=o.Ay.div.withConfig({displayName:"ContributorHeaderWrapper"})` ${({enableFictionContributor:e,theme:t})=>e?t&&`background: ${(0,s.HK)(t,"colors.discovery.lead.primary.background")}`:t&&`background: ${(0,s.HK)(t,"colors.discovery.lead.secondary.background")}`} `,S=o.Ay.div.withConfig({displayName:"ContributorAvatarImageWrapper"})` grid-column: 1 / -1; justify-self: center; ${({theme:e,hasAvatarImageBackground:t})=>t?o.AH` background: ${(0,s.HK)(e,"colors.discovery.lead.secondary.background")}; border-radius: 50%; `:`background: ${(0,s.HK)(e,"colors.discovery.lead.primary.background")};`} ${(0,s.H4)(i.LO.md)} { align-self: start; ${({ledeAlignment:e})=>"center"===e?"grid-column: 5 / span 4;":"grid-column: 1 / span 3;"} ${({hasLeftAlignedHeader:e})=>e&&`\n grid-column: 1 / span 3;\n justify-self: auto;\n min-width: ${y};\n max-width: ${b};\n margin-left: auto;\n margin-right: auto;\n `} } `,L=(0,o.Ay)(c.A).withConfig({displayName:"ContributorAvatarImage"})` img { width: 100%; min-width: ${y}; max-width: ${b}; } ${({avatarImageShape:e})=>"round"===e?(0,a.P)("100%",y,b):""} ${({hasSmallAvatar:e})=>e?`width: ${y}`:""} `,T=(0,o.Ay)(c.A).withConfig({displayName:"ContributorLogo"})` grid-column: auto; img { margin-right: ${(0,s.Kq)(2.5)}; border-radius: 50%; width: ${(0,s.Kq)(8)}; height: ${(0,s.Kq)(8)}; } `,N=o.AH` grid-column: 1 / -1; text-align: center; ${u.eO} { justify-content: center; } ${(0,s.H4)(i.LO.md)} { grid-column: 4 / span 6; ${({isContributorImageEmpty:e,isFeaturedAuthor:t})=>t&&e&&"\n grid-column: 1 / span 6;\n "} } `,H=o.AH` grid-column: 1 / -1; ${(0,s.H4)(i.LO.md)} { grid-column: 4 / span 8; ${({isContributorImageEmpty:e,isFeaturedAuthor:t})=>t&&e&&"\n grid-column: 1 / span 8;\n "} } ${(0,s.H4)(i.LO.lg)} { grid-column: 4 / span 6; ${({hasLeftAlignedHeader:e})=>e&&"grid-column: 4 / span 6;"} ${({isContributorImageEmpty:e,isFeaturedAuthor:t})=>t&&e&&"\n grid-column: 1 / span 6;\n "} } `,I=o.Ay.div.withConfig({displayName:"ContributorHeaderContent"})` ${({ledeAlignment:e})=>"center"===e?N:H} ${({hasBorders:e,theme:t})=>e&&`\n padding-top: ${(0,s.Kq)(4)};\n padding-bottom: ${(0,s.Kq)(4)};\n border-width: 1px 0;\n border-style: solid;\n border-bottom-style: ridge;\n ${(0,s._o)(t,"border-top-color","colors.consumption.lead.standard.divider")};\n`} ${h.Cj}, ${h.lP} { color: ${({theme:e})=>(0,s.HK)(e,"colors.discovery.body.white.description")}; } `,B=(0,o.Ay)(p.A).withConfig({displayName:"ContributorHeaderBioClamp"})` ${({enableFictionContributor:e,breakpoint:t})=>e&&o.AH` ${(0,s.H4)(i.LO[t])} { button { display: none; } } `} ${({contributorBioAlignment:e})=>"default"!==e&&`text-align: ${e};`} ${g.Lj}:hover { text-decoration: underline; } `,O=(0,o.Ay)(d.s).withConfig({displayName:"ContributorHeaderSeeMoreLink"})` ${(0,s.Gg)("typography.definitions.globalEditorial.context-primary")} ${({showReadMore:e})=>e?`\n font-size: ${(0,s.Kq)(1.5)};\n `:""} display: inline-block; `;O.defaultProps={as:"a",colorStaticLinkToken:"colors.discovery.body.light.accent",colorToken:null,linkStyle:"global",typeIdentity:"typography.definitions.discovery.description-core"}},24532:(e,t,n)=>{n.d(t,{A:()=>G});var o=n(47655),i=n(13465),a=n(22354),r=n(32485),s=n.n(r),l=n(5556),d=n.n(l),c=n(96540),m=n(36049),u=n.n(m),p=n(97200),g=n.n(p),h=n(89957),y=n(52663),b=n(90090),f=n(14307),w=n(38267),$=n(76955),v=n(96472),C=n(26865),k=n(37384),x=n(3265);const E=w.Ay.ul.withConfig({displayName:"InlineRecircItems"})` display: grid; grid-gap: 0; /* 1 */ grid-auto-flow: column; grid-template-columns: ${(0,C.Kq)(1)}; margin: 0 0 -${(0,C.Kq)(4)}; padding: 0 0 ${(0,C.Kq)(4)}; overflow-y: hidden; list-style: none; -webkit-overflow-scrolling: auto; backface-visibility: hidden; scroll-behavior: smooth; &::before, &::after { width: ${(0,C.Kq)(1)}; content: ''; } `,A=w.AH` ${(0,C.Gg)("typography.definitions.discovery.hed-bulletin-primary")} margin: 0; `,S=w.Ay.li.withConfig({displayName:"InlineRecircItemWrapper"})` display: grid; padding: 0; a:link { text-decoration: none; } .summary-item__hed, ${x.VF} { ${A} } .summary-item--layout-placement-side-by-side { align-items: flex-start; .summary-item__hed { ${A} } } .summary-item__hed-link { &::after { border-bottom: none; } } ${x.ob}::after { transition: none; } `,L=(0,w.Ay)($.vm).withConfig({displayName:"InlineRecircHeading"})` padding: 0 0 ${(0,C.Kq)(2)}; text-align: center; `;L.defaultProps={as:"div",colorToken:"colors.discovery.lead.secondary.accent",typeIdentity:"typography.definitions.discovery.subhed-section-collection"};const T=w.Ay.div.withConfig({displayName:"InlineRecircContainer"})` overflow: hidden; `,N=(0,w.Ay)(k.A).withConfig({displayName:"InlineRecircHeaderLogo"})``,H=w.AH` ${(0,C.Gg)("typography.definitions.globalEditorial.context-primary")}; margin: ${(0,C.Kq)(2)} 0; background: ${(0,C.HK)("colors.discovery.body.white.background")}; padding: 0 ${(0,C.Kq)(2)} ${(0,C.Kq)(2)} ${(0,C.Kq)(2)}; ol, ul { li { margin-left: ${(0,C.Kq)(1)}; } } ${E} { display: flex; flex-direction: column; } ${L} { display: flex; align-items: center; margin: ${(0,C.Kq)(-2)} ${(0,C.Kq)(1)} 0 ${(0,C.Kq)(1)}; border-bottom: 1px solid ${(0,C.HK)("colors.discovery.body.white.divider")}; padding: ${(0,C.Kq)(2)} 0; text-align: left; ${N} { margin-left: ${(0,C.Kq)(1)}; width: 15px; img { vertical-align: text-top; } } } ${T} { margin-right: ${(0,C.Kq)(1)}; } .summary-item { padding: ${(0,C.Kq)(1)} 0; .summary-item__hed-link::after { margin: 0; } .summary-item__content { padding: 0; } } `,I=w.AH` ${(0,C.Gg)("typography.definitions.globalEditorial.context-primary")}; margin: ${(0,C.Kq)(2)} 0; background: ${(0,C.HK)("colors.discovery.body.white.background")}; padding: 0 ${(0,C.Kq)(2)} ${(0,C.Kq)(2)} ${(0,C.Kq)(2)}; ol, ul { li { margin-left: ${(0,C.Kq)(1)}; } } ${E} { display: flex; flex-direction: column; } ${L} { display: flex; align-items: center; margin: ${(0,C.Kq)(-2)} ${(0,C.Kq)(1)} 0 ${(0,C.Kq)(1)}; border-bottom: 1px solid ${(0,C.HK)("colors.discovery.body.white.divider")}; padding: ${(0,C.Kq)(2)} 0; text-align: left; ${N} { margin-left: ${(0,C.Kq)(1)}; width: 15px; img { vertical-align: bottom; } } } ${T} { margin-right: ${(0,C.Kq)(1)}; } .summary-item { padding: ${(0,C.Kq)(1)} 0; .summary-item__hed-link::after { margin: 0; } .summary-item__content { padding: 0; } } .summary-item__hed-link { &:hover { text-decoration: none; } .summary-item__hed { .summary-item__hed-wrapper { margin-right: ${(0,C.Kq)(1)}; &:hover { text-decoration: underline; } } } } `,B=w.AH` && { padding: ${(0,C.Kq)(4)} 0 ${(0,C.Kq)(5)}; ${E} { grid-auto-columns: calc(210px + ${(0,C.Kq)(2)}); margin-left: -${(0,C.Kq)(2)}; } ${x.Nb} { align-self: start; padding: ${(0,C.Kq)(25)} ${(0,C.Kq)(1)} ${(0,C.Kq)(2)}; } ol, ul { li { margin: 0 0 0 ${(0,C.Kq)(2)}; &:first-child { margin-left: ${(0,C.Kq)(3)}; } } } } `,O=w.AH` padding: ${(0,C.Kq)(3)} 0; ${L} { padding-bottom: ${(0,C.Kq)(2)}; } ${E} { grid-auto-columns: calc(260px + ${(0,C.Kq)(1)}*2); grid-template-columns: ${(0,C.Kq)(2)}; margin-left: -${(0,C.Kq)(3)}; &::before, &::after { width: ${(0,C.Kq)(2)}; } } .summary-item--layout-proportions-33-66 .summary-item__content { margin: 0; } ol, ul { li { margin: 0 0 0 ${(0,C.Kq)(2)}; &:first-child { margin-left: ${(0,C.Kq)(3)}; } } } `,_=(0,w.Ay)($.vm).withConfig({displayName:"InlineRecircRubricLineParagraph"})``;_.defaultProps={topSpacing:1};const K=w.Ay.div.withConfig({displayName:"InlineRecircWrapper"})` margin-bottom: ${(0,C.Kq)(5)}; .article-inline-recirc-wrapper { margin: 0 ${(0,C.Kq)(-3)} ${(0,C.Kq)(5)} ${(0,C.Kq)(-3)}; ${L} { ${N} { img { vertical-align: baseline; } } } } background: ${(0,C.HK)("colors.discovery.body.light.background")}; ${(0,C.H4)(v.LO.md)} { display: none; } ${({recircLayout:e})=>"text-only-brand-logo"===e?H:"text-only-brand-logo-personalized"===e?I:"text-overlay"===e?B:O} `,P=e=>{const{className:t,hasBorder:n,item:o,recircId:i,totalItems:a,reelId:r,sparrowPattern:l,layout:d="side-by-side",maxHedLines:m=3,showInlineRubric:u=!1,trackingImpressionThreshold:p=2,trackingUnitName:g="recirc-basic-interstitial"}=e,w=r?`inline-recirc__item-${r}-${i}`:`inline-recirc__item-${i}`,$=`.${w}`,v=r?`.inline-recirc-${r} .inline-recirc__container`:".inline-recirc .inline-recirc__container";let C;switch((0,h.ol)($,{rootSelector:v,threshold:.5},e=>{i>=p&&e&&(0,b.zJ)(`${g}_reel-scroll`,{interstitial_reel:{image:i,...r?{reel:r}:{}}})}),d){case"text-only-brand-logo":case"text-only-brand-logo-personalized":C=y.A.TextOnlyBrandLogoPersonalized;break;case"text-overlay":C=y.A.OverlayCenter;break;default:C=y.A.SideBySideThirds}return c.createElement(S,{"data-testid":"InlineRecircItemWrapper",className:s()([t,w])},c.createElement(C,{clickHandler:(k=o.url,x=i,()=>((e=>{const{dangerousHed:t,copilotID:n,contentType:r,url:s}=o,l={type:e,label:t,subject:"recirc_unit",items:[{content_id:n,content_title:t,content_type:r,content_url:s}],strategy:(0,f.Cu)(s),placement:"inline_recirc_mid_content",index:i-1,total_index:a};(0,f.kg)(l)})("click"),(0,b.zJ)(`${g}_reel-click`,{"gtm.elementUrl":k,interstitial_reel:{image:x,...r?{reel:r}:{}}}))),dangerousHed:((e,t)=>{if(!t||!u)return e;return`${e}<${_} class="rubric">${t.name}`})(o.dangerousHed,o.rubric),hasBorder:n,hedTag:"div",image:o.image,isLazy:!1,layout:d,maxHedLines:m,recircId:i,shouldHideDangerousDek:!0,sparrowPattern:l,url:o.url,isRecircListItem:!0,recircPlacement:"inline_recirc_mid_content",totalItems:a,contentType:o.contentType,copilotID:o.copilotID}));var k,x};P.propTypes={className:d().string,hasBorder:d().bool,item:d().shape(y.A.propTypes),layout:d().oneOf(["text-only-brand-logo","text-only-brand-logo-personalized","side-by-side","text-overlay"]),maxHedLines:d().number,recircId:d().number,reelId:d().number,showInlineRubric:d().bool,sparrowPattern:d().string,totalItems:d().number,trackingImpressionThreshold:d().number,trackingUnitName:d().string};const D=P;var q=n(53499),M=n(29164);const R=e=>{const{applicationID:t,categories:n,className:o,contentTypes:i,excludeCategories:a,favicon:r,heading:l="More",items:d=[],numberOfDays:m,onIntersectionViewportCallback:p,pageSize:y,addItemsAtFirst:f=[],recommendedHeading:w,reelId:$,renditions:v,strategy:C,variations:k={hasBrandLogo:!1,hasBorder:!1,layout:"side-by-side",maxHedLines:3,shouldHideHeaderText:!1,showInlineRubric:!1,trackingImpressionThreshold:2,trackingUnitName:"recirc-basic-interstitial",variationDisplayName:"SideBySide"},variationName:x}=e;c.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(q.G.RENDER,{name:"ConnectedInlineRecirc",variation:x})},[x]);const A=$?`inline-recirc-observer-target-${$}`:"inline-recirc-observer-target",S=$?`inline-recirc-tracking-${$}`:"inline-recirc-tracking";(0,h.ol)(`.${S}`,void 0,e=>{e&&(0,b.zJ)(`${k.trackingUnitName}_reel-impression`,{interstitial_reel:{...$?{reel:$}:{}}})});return 0===d?.length?null:c.createElement(M.A,{dataAttrKey:"inline-recirc","data-testid":"InlineRecircViewportMonitor",className:s()("inline-recirc-wrapper",A),observerOptions:{rootMargin:"500px"},onIntersectionViewport:(e,o)=>{e&&"function"==typeof p&&(p({applicationID:t,categories:n,contentTypes:i,excludeCategories:a,numberOfDays:m,pageSize:y,renditions:v,strategy:C,variationName:k.variationDisplayName}),o())}},d[0]&&c.createElement(K,{"data-testid":"InlineRecircWrapper",className:s()(`inline-recirc--${k.layout}`,"inline-recirc-sparrow-tracking",S,o),recircLayout:k.layout,"data-recirc-id":`mobile-recirc-unit-${$}`,"data-recirc-header":l},(l||w)&&c.createElement(L,null,!k.shouldHideHeaderText&&c.createElement("div",null,f.length&&w?w:l),k.hasBrandLogo&&r&&c.createElement(N,{altText:"logo",contentTypes:"photo",sources:{sm:{url:r}}})),c.createElement(T,null,c.createElement(E,null,(e=>{f.length&&e.unshift(...f);return e.map((e,t)=>c.createElement(D,{hasBorder:k.hasBorder,item:e,key:g()("inline-recirc-"),layout:k.layout,maxHedLines:k.maxHedLines,recircId:t+1,reelId:$,showInlineRubric:k.showInlineRubric,sparrowPattern:"mobile-recirc-interstitial",trackingImpressionThreshold:k.trackingImpressionThreshold,trackingUnitName:k.trackingUnitName,totalItems:d.length})).slice(0,y)})(u()(d))))))};R.propTypes={addItemsAtFirst:d().arrayOf(d().shape(y.A.propTypes)),applicationID:d().string,categories:d().array,className:d().string,contentTypes:d().string,excludeCategories:d().array,favicon:d().string,heading:d().string,items:d().arrayOf(d().shape(y.A.propTypes)),numberOfDays:d().number,onIntersectionViewportCallback:d().func,pageSize:d().number,recommendedHeading:d().string,reelId:d().number,renditions:d().object,strategy:d().string,variationName:d().string,variations:d().shape({hasBrandLogo:d().bool,hasBorder:d().bool,layout:d().oneOf(["side-by-side","text-only-brand-logo","text-only-brand-logo-personalized","text-overlay"]),maxHedLines:d().number,shouldHideHeaderText:d().bool,showInlineRubric:d().bool,trackingImpressionThreshold:d().number,trackingUnitName:d().string,variationDisplayName:d().oneOf(["SideBySide","TextOnlyBrandLogo","TextOnlyBrandLogoPersonalized","TextOverlay"])})};const F=R,U=(0,a.Ng)(e=>{const{brandIdentityAssets:{favicon:t=""},inlineRecirc:n,renditions:o}=e;return{favicon:t,addItemsAtFirst:n?.addItemsAtFirst,items:n?.items,renditions:o}})(F);U.displayName="InlineRecirc";const V=U;V.TextOnlyBrandLogo=(0,o.y)(V,"TextOnlyBrandLogo",{hasBrandLogo:!0,hasBorder:!0,layout:"text-only-brand-logo",maxHedLines:4,shouldHideHeaderText:!0,trackingImpressionThreshold:2,trackingUnitName:"recirc-text-only-brand-logo-interstitial",variationDisplayName:"TextOnlyBrandLogo"}),V.TextOnlyBrandLogoPersonalized=(0,o.y)(V,"TextOnlyBrandLogoPersonalized",{hasBrandLogo:!0,hasBorder:!0,layout:"text-only-brand-logo-personalized",maxHedLines:4,trackingImpressionThreshold:2,trackingUnitName:"recirc-text-only-brand-logo-personalized-interstitial",variationDisplayName:"TextOnlyBrandLogoPersonalized"}),V.SideBySide=(0,o.y)(V,"SideBySide",{layout:"side-by-side",maxHedLines:4,trackingImpressionThreshold:2,trackingUnitName:"recirc-basic-interstitial",variationDisplayName:"SideBySide"}),V.TextOverlay=(0,o.y)(V,"TextOverlay",{layout:"text-overlay",maxHedLines:4,trackingImpressionThreshold:3,trackingUnitName:"recirc-interstitial",variationDisplayName:"TextOverlay"});const G=(0,i.y)(V,"InlineRecirc")},24573:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(13465),i=n(5556),a=n.n(i),r=n(32485),s=n.n(r),l=n(96540),d=n(6442),c=n(83558),m=n(73730),u=n(94373),p=n(53499);const g=(0,n(72267).defineMessages)({dataLabel:{id:"ReviewRatingData.DataLabel",defaultMessage:"Rating:",description:"Label for rating"},buttonLabel:{id:"ReviewRatingData.ButtonLabel",defaultMessage:"Open rating explainer",description:"Label for rating explainer button"}});var h=n(63815);const y=({className:e,rating:t=0,ratingList:n=[]})=>{l.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"ReviewRatingData"})},[]);const o=(0,d.A)(),[i,a]=l.useState(!0),r=()=>{a(!i)},y=l.createElement(h.nv,{className:"review-rating-data__rating-explainer-modal"},n.map((e,t)=>l.createElement(h.J6,{key:e},l.createElement(h.wx,{as:"span"},t+1),l.createElement(h.s5,{as:"span"},e))));return l.createElement(h.tV,{className:s()("review-rating-data",e)},l.createElement(h.qn,{className:"review-rating-data__label"},o.formatMessage(g.dataLabel)),l.createElement(h.Lh,null,t,"/10"),l.createElement(h._A,null,l.createElement(m.A.Utility,{isIconButton:!0,ButtonIcon:c.A,className:"review-rating-data__info-button",label:o.formatMessage(g.buttonLabel),onClickHandler:r,role:"button"}),!i&&l.createElement(u.A,{className:"alert__tooltip",arrowPosition:52,gaIdentifier:"review-rating-explainer",isVisible:!0,isTooltip:!0,onClose:r,shouldUseArrow:!0},y)))};y.propTypes={className:a().string,rating:a().number,ratingList:a().array},y.displayName="ReviewRatingData";const b=y,f=(0,o.y)(b,"ReviewRatingData")},24608:(e,t,n)=>{n.d(t,{A:()=>M});var o=n(5556),i=n.n(o),a=n(96540),r=n(64663),s=n(56892),l=n(57743);const d=async()=>{const e=await(0,l.u)(`//infinityid.condenastdigital.com/?rand=${Date.now()}`,{credentials:"include",headers:{Accept:"text/plain"}},2e3);if(e.ok){return await e.text()}return null},c=async()=>{const e=await(0,l.u)("/infinityid",{credentials:"include",headers:{Accept:"text/plain"}},2e3);if(e.ok){return await e.text()}return null};var m=n(56475);const u="CN_xid",p=e=>{document.cookie=s.default.createCookie(u,e,{path:"/",expirationInMs:15552e5,domain:s.default.getCookieDomainFromHostname()}),window.Kendra.XID.broadcast(m.b.SET,e)},g=()=>s.default.getCookie(u);var h,y,b,f,w,$,v,C,k,x=n(14961),E=n(79694),A=function(e,t,n,o,i){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?i.call(e,n):i?i.value=n:t.set(e,n),n},S=function(e,t,n,o){if("a"===n&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?o:"a"===n?o.call(e):o?o.value:t.get(e)};const{AssociationsRequest:L,AssociationsResponse:T,IdSet:N,IdType:H,Id:I}=x.id_mapper;class B{constructor({publicKey:e,url:t,isEnabled:n,xid:o}){h.add(this),b.set(this,void 0),f.set(this,void 0),w.set(this,void 0),$.set(this,void 0),v.set(this,void 0),A(this,b,e,"f"),A(this,f,t,"f"),A(this,w,n,"f"),A(this,v,o,"f")}async init(){if(S(this,w,"f"))if(A(this,$,B.readIDMSession(),"f"),S(this,$,"f"))window.Kendra.IDENTITY_MAPPER.broadcast(E.h.IDM_RESULTS_EVENT,S(this,$,"f"));else{const e=await this.fetchProfilesByXid();S(this,h,"m",k).call(this,e)}}static readIDMSession(){let e=null;if(window.sessionStorage){const t=window.sessionStorage.getItem(B.sessionName);if(t)try{e=T.decode(new Uint8Array(t.split(",")))}catch(e){}}return e}async fetchProfilesByXid(){if(S(this,v,"f")&&!this.fetchByXid){const e=I.create({value:S(this,v,"f"),type:H.XID});this.fetchByXid=this.fetchProfiles([e])}return this.fetchByXid}async fetchProfiles(e){const t=N.create({ids:e}),n=L.create({idSets:[t]}),o=L.encode(n).finish();try{const e=await fetch(`${S(this,f,"f")}/associations`,{body:new Blob([o]),method:"POST",headers:{"Content-Type":"application/octet-stream",Authorization:`Bearer ${S(this,b,"f")}`}}),t=await e.arrayBuffer(),n=new Uint8Array(t);return T.decode(n)}catch(e){}return null}}y=B,b=new WeakMap,f=new WeakMap,w=new WeakMap,$=new WeakMap,v=new WeakMap,h=new WeakSet,C=function(e){e&&window.sessionStorage&&window.sessionStorage.setItem(B.sessionName,T.encode(e).finish().toString())},k=function(e){e&&(A(this,$,e,"f"),window.Kendra.IDENTITY_MAPPER.broadcast(E.h.IDM_RESULTS_EVENT,S(this,$,"f")),S(B,y,"m",C).call(B,S(this,$,"f")))},B.sessionName="idm_session";const O="cn_permutive_ident",_=0,K=3,P=6,D={[H.amg]:_,[H.email_sha256]:_,[H.xid]:K,[H.fingerprint]:P,[H.mdw]:_,[H.martech_chargebee]:_,[H.cds_universal]:_},q=({shouldEnableInfinityId:e,shouldEnableFourdUser:t,idmConfig:n})=>{const o=(0,a.useContext)(r.c$),i=(0,a.useRef)();return(0,a.useEffect)(()=>{!async function(){if(o.targeting){let o;e&&(o=await(async()=>{try{const e=g();if(e)return e;const t=await d();if(t)return p(t),c(),t;const n=await c();return p(n),n}catch(e){return null}})());const a=o||s.default.getCookie("CN_xid");a&&(i.current||(i.current=new B({...n,xid:a}),i.current.init()),(async(e,t)=>{try{if(window.permutive&&window.permutive.identify&&!window.sessionStorage.getItem(O)){let n,o=[{id:e,tag:"xid",priority:D[H.xid]}];if(t&&(n=await Promise.race([new Promise(e=>{const t=B.readIDMSession();t&&e(t)}),new Promise(e=>{const t=window.Kendra.IDENTITY_MAPPER.on(E.h.IDM_RESULTS_EVENT,n=>{t.off(),e(n)})}),new Promise(e=>{setTimeout(()=>{e(B.readIDMSession())},1e3)})])),n){const e=n.result.map(e=>e.idSets.map(e=>e.ids.filter(e=>Object.hasOwn(D,e.type)&&e.type!==H.PERMUTIVE).map(e=>({id:e.value,tag:H[e.type],priority:D[e.type]})))).flat(3);e.length&&(o=e)}window.permutive.identify(o),window.sessionStorage.setItem(O,"1")}}catch(e){}})(a,n.isEnabled),(e=>{window.SparrowCache=window.SparrowCache||{},window.SparrowCache.xid=e})(a)),t&&(async e=>{if(window._4d=window._4d||{},window._4d.user=window._4d.user||{},e){const t=`https://4d.condenastdigital.com/user?xid=${encodeURIComponent(e)}`;try{const e=await fetch(t);window._4d.user=await e.json()}catch(e){}}})(a)}}()},[o,e,t,n]),null};q.propTypes={idmConfig:i().shape({isEnabled:i().bool,publicKey:i().string}),shouldEnableFourdUser:i().bool,shouldEnableInfinityId:i().bool};const M=q},25203:(e,t,n)=>{n.d(t,{G5:()=>h,cI:()=>g,hh:()=>u,ph:()=>m,ry:()=>b});var o=n(62193),i=n.n(o),a=n(60943),r=n.n(a),s=n(75555),l=n(42735),d=n(76510),c=n(14307);const m=()=>{const e=(0,d.R)("CN_xid"),t=(0,d.R)("amg_user_partner"),n={};if((0,c.aW)()||window&&window.OnetrustActiveGroups){((0,c.Ec)()||window.OnetrustActiveGroups?.split(",").includes("C0004"))&&(e&&(n.xid=e),t&&(n.amguuid=t))}return n},u=(e=l.a)=>{try{const t=new URL(window.location.href),n=new URLSearchParams;return e.forEach(e=>{const o=t.searchParams.get(e);i()(o)||""===o.trim()||n.set(e,o)}),n.toString()}catch(e){return""}},p=/^(https?:)?\/\/([a-zA-Z0-9]+\.)?cna\.st\/(p|affiliate-link|h|a|s)\//,g=(e,t)=>{const{extractedParams:n,...o}=t;try{const t=p.exec(e);if(Object.assign(o,{channel:"verso"}),!i()(o)&&t?.length){const i=e.replace(t[0],"").replace(/\?.*$/,""),a=(0,s.encodeAffiliateParams)(i,o),r=new URLSearchParams(e.split("?")[1]);if(r.delete("cid"),""!==n?.trim()){new URLSearchParams(n).forEach((e,t)=>{""!==e?.trim()&&r.set(t,e)})}const l=r.toString()?`?${r.toString()}`:"";return`${t[0]}${a}${l}`}}catch(e){}return e},h=e=>{try{const t=p.exec(e);if(t?.length){const n=e.replace(t[0],"").replace(/\?.*$/,"");return(0,s.decodeAffiliateParams)(n).offerUrl}}catch(e){}return e},y=(e,t,n,o,i,a,r,s)=>{const l=g(e,{actionId:t,contentUrl:n,...o,component:a,bucket:s,extractedParams:r});try{const e=new URL(l);if(i){const t=new URLSearchParams(i);for(const[n,o]of t.entries())o&&""!==o.trim()&&e.searchParams.set(n,o)}return e.toString()}catch(t){return l||e}},b=(e,t,n)=>{const o=r().generate("hex",10),i=document.querySelector("link[rel='canonical']")?.getAttribute("href")||null,a=m(),s=window.dataLayer?.[0]?.experiments??[],l=s?s.filter(e=>e.experiment_id.startsWith("CM")).slice(0,2).map(e=>`${e.experiment_id}${e.variation}`).join(","):"",[d,c]=e.includes("?")?e.split("?"):[e];return{href:y(d,o,i,a,c||null,t,n,l),actionId:o}};l.a},25433:(e,t,n)=>{n.d(t,{A:()=>W});var o=n(13465),i=n(47655),a=n(32485),r=n.n(a),s=n(5556),l=n.n(s),d=n(96540),c=n(35864),m=n(22539),u=n(52663),p=n(99366),g=n(38267),h=n(96472),y=n(1123),b=n(89085),f=n(26865),w=n(16800),$=n(33500),v=n(72542),C=n(85127),k=n(99337),x=n(1817),E=n(75699),A=n(88154);const S=g.AH` ${x.HD} { ${({shouldShowStackedRatingsCard:e})=>e&&"padding-left:0"} } `,L=g.Ay.div.withConfig({displayName:"SummaryCollageEightTitle"})` ${$.bU} { ${(0,f.Gg)("typography.definitions.discovery.subhed-section-collection")} ${(0,f.L7)(h.LO.md)} { justify-self: ${({isTitleFullWidth:e})=>e&&"center"}; } } `,T=g.Ay.div.withConfig({displayName:"SummaryCollageEightTitle"})` ${$.bU} { ${(0,f.Gg)("typography.definitions.discovery.subhed-section-collection")} margin-bottom: ${(0,f.Kq)(3)}; } `,N=g.Ay.section.withConfig({displayName:"SummaryCollageEightGrid"})` ${(0,y.VO)()} display: grid; gap: 0 var(--grid-gap); grid-template-columns: repeat(4, 1fr); ${(0,y.aU)("padding")} margin: 0 auto; max-width: ${(0,f.Kq)(200)}; ${(0,f.H4)(h.LO.md)} { grid-template-columns: repeat(12, 1fr); } ${(0,f.H4)(h.LO.lg)} { grid-template-rows: auto repeat(2, 1fr); } ${({isPartiallyCurated:e})=>e&&`\n ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,w.F)(t,"gap-md")?`padding-top: ${(0,f.Kq)(3)};`:null}\n \n ${(0,f.H4)(h.LO.lg)} {\n ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,w.F)(t,"gap-md")?`padding-top: ${(0,f.Kq)(4)};`:null}\n grid-template-rows: minmax(${(0,f.Kq)(5)}, auto) repeat(1, 1fr);\n }\n\n ${(0,f.H4)(h.LO.xl)} {\n ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,w.F)(t,"gap-md")?`padding-top: ${(0,f.Kq)(5)};`:null}\n }\n `} ${(0,b.cssVariablesCollage)()}; .summary-item--has-border { &:last-child { @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { margin-bottom: 0; border-bottom: 0; } } } ${({hasBackground:e})=>e&&g.AH` background-color: ${(0,f.HK)("colors.discovery.body.light.background")}; `} `,H=g.Ay.div.withConfig({displayName:"SummaryCollageEightTopTitle"})` grid-column: 1 / -1; margin-top: ${(0,f.Kq)(6)}; margin-bottom: ${(0,f.Kq)(4)}; border-bottom-color: ${(0,f.HK)("colors.discovery.body.white.accent")}; padding-bottom: ${(0,f.Kq)(2)}; ${(0,f.H4)(h.LO.lg)} { margin-top: ${(0,f.Kq)(4)}; } `,I=g.Ay.div.withConfig({displayName:"SummaryCollageEightGridItemTitle"})` grid-column: 1 / -1; align-self: flex-end; order: 2; border-bottom: 1px solid ${(0,f.HK)("colors.discovery.body.white.border")}; padding-bottom: ${(0,f.Kq)(1)}; ${(0,f.H4)(h.LO.lg)} { grid-column: 10 / span 3; grid-row: ${({isTitleFullWidth:e})=>e?"2 / span 2":"1 / span 1"}; margin-left: calc(var(--border-offset) * -1); border-top: none; border-bottom: none; border-left: ${({isTitleFullWidth:e})=>e?"none;":`1px solid\n ${(0,f.HK)("colors.discovery.body.white.border")};`}; padding-left: var(--border-offset); width: calc(100% + var(--border-offset)); } ${({isPartiallyCurated:e})=>e&&`\n border-bottom: none;\n ${(0,f.Xm)(h.LO.md,`calc(${h.LO.lg} - 1px)`)} {\n grid-row: 2 / span 1;\n grid-column: 1 / span 12;\n }\n`} `,B=g.Ay.div.withConfig({displayName:"SummaryCollageEightGridItemCollageFour"})` grid-column: 1 / -1; order: 1; ${(0,f.H4)(h.LO.lg)} { grid-column-gap: var(--grid-gap); grid-column: 1 / span 9; grid-row: ${({isTitleFullWidth:e})=>e?"2 / span 4":"1 / span 3"}; grid-row-gap: ${(0,f.Kq)(2)}; } ${({isPartiallyCurated:e})=>e&&`\n ${(0,f.Xm)(h.LO.md,`calc(${h.LO.lg} - 1px)`)} {\n grid-column-gap: var(--grid-gap);\n grid-column: 1 / span 12;\n grid-row-gap: ${(0,f.Kq)(2)};\n grid-row: 1 / span 1;\n grid-template-rows: repeat(2, 0.75fr);\n }\n `} ${({shouldUseDenseMobileVariation:e,theme:t})=>e&&`\n ${k.vg} {\n ${(0,f.L7)(h.LO.md)} {\n border-bottom: 1px solid\n ${(0,f.HK)(t,"colors.discovery.body.white.border")};\n }\n }\n ${E.zQ} {\n ${(0,f.L7)(h.LO.md)} {\n border-bottom: 1px solid\n ${(0,f.HK)(t,"colors.discovery.body.white.border")};\n padding: ${(0,f.Kq)(2)} 0;\n ${A.jY} {\n margin: ${(0,f.Kq)(2)} 0;\n }\n ${A.S3} {\n margin-bottom: 0.5rem;\n ${(0,f.Gg)("typography.definitions.discovery.hed-core-secondary")};\n }\n ${A.tH}::after {\n display: none;\n }\n }\n }\n }`} `,O=g.Ay.div.withConfig({displayName:"SummaryCollageEightGridItemList"})` grid-column: 1 / -1; order: ${({hasHed:e})=>e?3:2}; margin: 0; border-top: none; padding: 0; ${x.tU} { display: grid; border-top: 1px solid ${(0,f.HK)("colors.discovery.body.white.border")}; ${x.xW} { display: grid; grid-area: image; align-items: center; } ${x.HD} { grid-area: content; padding-top: 0; padding-bottom: 0; } } ${(0,f.H4)(h.LO.lg)} { grid-column: 10 / span 3; grid-row: ${({hasHed:e})=>e?"2 / span 2":"1 / span 3"}; margin-left: calc(var(--border-offset) * -1); border-left: ${({isTitleFullWidth:e})=>e?"none;":`1px solid\n ${(0,f.HK)("colors.discovery.body.white.border")};`}; padding-right: 0; padding-left: var(--border-offset); width: calc(100% + var(--border-offset)); } ${({isPartiallyCurated:e})=>e&&`\n ${(0,f.Xm)(h.LO.md,`calc(${h.LO.lg} - 1px)`)} {\n border-left: none;\n grid-column: 1 / span 12;\n grid-row: 3 / span 1;\n }\n `} `,_=g.AH` ${k.CP} { position: unset; margin-bottom: 0; border-bottom: none; ${({shouldShowStackedRatingsCard:e})=>e&&`padding-bottom: ${(0,f.Kq)(6)};`} ${x._n} { ${({shouldShowStackedRatingsCard:e})=>e&&(0,f.Gg)("typography.definitions.discovery.hed-feature")} } ${S} ${(0,f.H4)(h.LO.lg)} { grid-column: 4 / -1; margin-bottom: ${(0,f.Kq)(3)}; } ${({isPartiallyCurated:e})=>e&&`\n ${(0,f.Xm)(h.LO.md,`calc(${h.LO.lg} - 1px)`)} {\n grid-column: 4 / -1;\n }\n `} @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { padding-bottom: ${(0,f.Kq)(1)}; } @media (min-width: 0) and (max-width: calc(${h.LO.md} - 1px)) { padding-bottom: ${(0,f.Kq)(2)}; } .summary-item__dek { display: block; } .summary-item__content { margin-bottom: 0; padding-bottom: 0; } .summary-item__image-link { padding-right: 0; @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { margin-right: -${(0,f.Kq)(3)}; margin-left: -${(0,f.Kq)(3)}; ${({isPartiallyCurated:e})=>e&&`\n margin-right: ${(0,f.Kq)(0)};\n margin-left: ${(0,f.Kq)(0)};\n `} } } } ${k.W} { border-bottom: none; ${(0,f.H4)(h.LO.lg)} { grid-column: 4 / -1; } @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { display: ${({isTitleFullWidth:e})=>e?"none":"block"}; } .summary-item__dek { display: block; } .summary-item__content { ${(0,f.H4)(h.LO.lg)} { margin-top: ${(0,f.Kq)(2)}; } @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { padding: ${(0,f.Kq)(2)} 0 ${(0,f.Kq)(4)}; } @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { padding-bottom: ${(0,f.Kq)(2)}; } ${({isPartiallyCurated:e})=>e&&"\n padding-top: none;\n "} } .summary-item__content.summary-item__content--no-rubric { ${({isPartiallyCurated:e})=>e&&"\n padding-top: none;\n "} } .summary-item__image-link { ${(0,f.H4)(h.LO.lg)} { margin-top: ${(0,f.Kq)(2)}; } } ${({isPartiallyCurated:e,isTitleFullWidth:t})=>(e||t)&&g.AH` border-top: none; `} } ${k.jk} { .summary-item:last-child { @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { padding-bottom: ${(0,f.Kq)(1)}; } @media (min-width: 0) and (max-width: calc(${h.LO.md} - 1px)) { padding-bottom: ${(0,f.Kq)(2)}; } } .summary-item { @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { border-bottom: 0; } } ${x.tU}:first-child { ${({shouldShowStackedRatingsCard:e})=>e&&`\n border-bottom: 1px solid;\n padding-bottom:0;\n margin-bottom: ${(0,f.Kq)(2)};`} border-bottom-color: ${(0,f.HK)("colors.discovery.body.white.border")}; } ${(0,f.H4)(h.LO.lg)} { grid-column: 1 / span 3; grid-row-start: 1; margin: 0 calc(var(--border-offset) * -1) 0 0; border-right: ${({isTitleFullWidth:e})=>e?"none;":`1px solid\n ${(0,f.HK)("colors.discovery.body.white.border")};`}; border-left: none; padding-right: var(--border-offset); padding-left: 0; } ${({isPartiallyCurated:e})=>e&&`\n ${(0,f.H4)(h.LO.md)} {\n grid-column: 1 / span 3;\n grid-row-start: 1;\n margin: 0 calc(var(--border-offset) * -1) 0 0;\n border-right: none;\n border-left: none;\n padding-right: var(--border-offset);\n padding-left: 0;\n } \n `} @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { margin-bottom: ${(0,f.Kq)(2)}; } @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { margin-bottom: 0; } .summary-item__hed { /* TOFIX: Lots of overrides happening here, this reassigns the default token for .summary-item__hed */ ${(0,f.Gg)("typography.definitions.discovery.hed-core-primary")} } /* If the flag to use StackedRatingsCard is enabled, update the type token of the StackedRatingsCard Hed.*/ ${x._n} { ${({shouldShowStackedRatingsCard:e})=>e&&(0,f.Gg)("typography.definitions.discovery.hed-core-secondary")} } ${S} .summary-item__dek { display: block; } .summary-item--has-border { margin-bottom: 0; } .summary-item__content { padding-bottom: 0; } } `,K=(0,g.Ay)(C.A).withConfig({displayName:"SummaryCollageEightSummaryCollageFour"})` && { grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-right: 0; padding-left: 0; height: 100%; .summary-item, .summary-item--has-border { @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { border-bottom: 0; } } .summary-list--collection-list { @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { border-top: 0; } } ${(0,f.H4)(h.LO.lg)} { grid-template-columns: repeat(9, 1fr); grid-template-rows: minmax(${(0,f.Kq)(5)}, auto) 1fr; } ${({isPartiallyCurated:e})=>e&&`\n ${(0,f.Xm)(h.LO.md,`calc(${h.LO.lg} - 1px)`)} {\n grid-template-columns: repeat(9, 1fr);\n grid-template-rows: minmax(${(0,f.Kq)(5)}, auto) 1fr;\n }\n `} &.summary-collage-four { ${_} } ${({shouldUseDenseMobileVariation:e})=>e&&`\n && {\n ${(0,f.L7)(h.LO.md)} {\n height: auto;\n ${k.W}{\n display: none;\n }\n ${k.jk}{\n display: none;\n }\n }\n }\n `} } `,P=(0,g.Ay)(m.A.Collection).withConfig({displayName:"SummaryCollageEightSummaryList"})` &&& { margin: 0; border-top: none; padding: 0; * { bottom: auto; ${({shouldShowStackedRatingsCard:e})=>!e&&"width: auto;"} } video { width: 100%; } .summary-list__item { grid-template-areas: 'content image'; grid-template-columns: 1fr 75px; padding-top: ${(0,f.Kq)(2)}; padding-bottom: ${(0,f.Kq)(2)}; &:first-of-type { ${(0,f.H4)(h.LO.lg)} { border-top: 1px solid ${(0,f.HK)("colors.discovery.body.white.border")}; padding-top: ${(0,f.Kq)(2.5)}; } ${({shouldUseDenseMobileVariation:e})=>e&&`\n ${(0,f.L7)(h.LO.md)} {\n padding-top: 0;\n }\n `} } &:last-of-type { ${(0,f.H4)(h.LO.lg)} { border-bottom: none; } } &.summary-item--has-border { margin-bottom: 0; } &.summary-item--layout-placement-side-by-side { grid-column-gap: var(--grid-gap); } .summary-item__image-link { align-self: start; max-width: 75px; height: auto; } .summary-item__hed { ${(0,f.Gg)("typography.definitions.discovery.hed-bulletin-primary")} margin-bottom: ${(0,f.Kq)(1)}; } ${x._n} { ${({shouldShowStackedRatingsCard:e})=>e&&(0,f.Gg)("typography.definitions.discovery.hed-bulletin-primary")} } } ${S} ${({shouldUseDenseMobileVariation:e,theme:t})=>e&&`\n && {\n .summary-list__items {\n ${(0,f.L7)(h.LO.md)} {\n display: flex;\n flex-direction: row;\n overflow-x: auto;\n padding: ${(0,f.Kq)(3)} 0;\n }\n }\n .summary-list__item {\n ${(0,f.L7)(h.LO.md)} {\n min-width: 75vw;\n margin: 0;\n margin-right: ${(0,f.Kq)(2)};\n border: none;\n border-right: 1px solid ${(0,f.HK)(t,"colors.discovery.body.white.border")};\n padding: 0;\n padding-right: ${(0,f.Kq)(2)};\n\n &:last-of-type {\n margin-right: 0;\n padding-right: 0;\n border-right: none;\n }\n }\n }}`} ${({isPartiallyCurated:e})=>e&&`\n .summary-list__item {\n grid-template-columns: 1fr;\n\n padding-top: ${(0,f.Kq)(2)};\n padding-bottom: ${(0,f.Kq)(2)};\n\n .summary-item__content.summary-item__content--no-rubric {\n padding-top: 0px;\n }\n\n &:first-of-type {\n border-top: none;\n padding-top: ${(0,f.Kq)(2.5)};\n ${(0,f.Xm)("0px",h.LO.md)} {\n padding-top: ${(0,f.Kq)(1)};\n }\n }\n\n &:last-of-type {\n ${(0,f.H4)(h.LO.lg)} {\n border-bottom: none;\n }\n }\n\n &:nth-child(4) {\n ${(0,f.Xm)(h.LO.md,h.LO.lg)} {\n border-bottom: none;\n }\n }\n\n &.summary-item--has-border {\n margin-bottom: 0;\n }\n\n &.summary-item--layout-placement-side-by-side {\n grid-column-gap: var(--grid-gap);\n }\n\n .summary-item__image-link {\n ${(0,f.Xm)("0px",`calc(${h.LO.lg} - 1px)`)}{\n display: none;\n }\n align-self: start;\n max-width: 75px;\n height: auto;\n }\n\n .summary-item__hed {\n ${(0,f.Gg)("typography.definitions.discovery.hed-bulletin-primary")}\n margin-bottom: ${(0,f.Kq)(1)};\n }\n }\n\n ${(0,f.Xm)("768px",`calc(${h.LO.lg} - 1px)`)} {\n .summary-list__items {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n column-gap: ${(0,f.Kq)(2)};\n }\n }\n `} ${({isPartiallyCurated:e})=>!e&&`.summary-list__items > div:nth-last-of-type(2) {\n margin-bottom: ${(0,f.Kq)(2)};\n @media (min-width: 0px) and (max-width: calc(${h.LO.lg} - 1px)) {\n margin-bottom: 0;\n padding-bottom: 0;\n }\n }`} ${({shouldShowStackedRatingsCard:e})=>e&&".summary-list__items > div:nth-last-of-type(2) {\n margin-bottom: 0;\n }"} .summary-list__item--before-hidden { border-bottom: none; } .summary-item--bundle { .summary-item__hed { margin-bottom: 0; } .summary-item__dek { margin-top: ${(0,f.Kq)(.5)}; } } ${({hasHed:e})=>!e&&`&& {\n .summary-list__item {\n &:first-of-type {\n ${(0,f.H4)(h.LO.lg)} {\n border-top: none;\n padding-top: 0;\n }\n }\n }\n }`} } img { ${({hasRoundedBorder:e})=>e&&`\n border-radius: ${(0,f.Kq)(1)};\n `} } `,D=g.DU` .summary-collage-eight-related-row--mobile-only-reorder-to-3 { @media (min-width: 0) and (max-width: calc(${h.LO.lg} - 1px)) { && { order: 2; margin-top: ${(0,f.Kq)(2)}; } } ${v.CW} { margin-bottom: 0; } ${v.F3} { margin-top: ${(0,f.Kq)(.5)}; } } `;var q=n(53499),M=n(14307),R=n(72362),F=n(74644);const U=({className:e,curatedSearchHed:t,dangerousCategoryTitle:n,dangerousDek:o,dangerousHed:i,hasBackground:a,hasConsistentSpacing:s=!1,hasRoundedBorder:l,hasUnderlineHed:m,hideBottomBorders:u=!1,hideRubricItemSummary:g=!1,hideSummaryListDeks:h=!1,hideVerticalBorders:y=!1,isPartiallyCurated:b=!1,isTitleFullWidth:f,items:w=[],recircRiver:$,rightColumnFeature:v,shouldEnableBookmarkDrawers:C,shouldEnableCardLevelBookmark:k,shouldEnableCommentsCount:x,shouldLimitSavingToContentTypes:E,sectionTitleVariation:A="TextLeft",shouldEnableBundleComponentAnalytics:S,shouldHideBylines:_=!1,shouldHideDangerousDek:U=!0,shouldHidePublishDate:V=!0,shouldShowRecipeBadge:G,shouldShowStackedRatingsCard:W=!1,shouldUseDekAsHed:j=!1,sumCollageFourItems:z,sumListItems:Y,summaryListHed:X,summaryListSummaryItemVariation:Z=null,summaryItemVariation:J="SideBySideThirdsImageRight",shouldTrackSnowplowEvent:Q=!0,summarySectionTitleVariation:ee="TextLeft",trackingNamespace:te,variations:ne={shouldUseDenseMobileVariation:!1},variationName:oe})=>{d.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(q.G.RENDER,{name:"SummaryCollageEight",variation:oe})},[oe]);const ie=!(0,R.Zm)(),ae=c.default[A],re=j?o:i,se=U?"":o,le=!!re,de=X||t,{shouldUseDenseMobileVariation:ce}=ne,me={type:"click",label:i,subject:"summary_collage_eight",subject_version:ie&&ce?"mobile_dense":"default"},ue=(e,t,n,o,a,r,s)=>{Q&&(0,M.kg)({type:e,label:(0,F.Fi)(s??i),subject:"summary_collage_eight",items:[{content_title:t.dangerousHed,content_type:t.contentType,content_id:t.copilotID,content_url:new URL(t?.url,window.location.origin)}],index:n,total_index:a,placement:o,subject_version:ce&&ie?r||"mobile_dense":"default"})},pe=()=>d.createElement(I,{isPartiallyCurated:b,isTitleFullWidth:f},d.createElement(L,{as:ae,dangerousHed:(b||f)&&n?n:re,isTitleFullWidth:f,dangerousDek:se}));let ge={};v&&(ge={hasFeatured:!0,summaryItemFeatured:v});const he=(()=>{const e=(b||f)&&z?z:w.slice(0,4);return ie&&ce?e.slice(0,1):e})();return d.createElement(N,{className:r()("summary-collage-eight",{"summary-collage--without-vertical-borders":y},e),isPartiallyCurated:b,hasBackground:a,hasConsistentSpacing:s},f&&d.createElement(H,{as:c.default.LineBelowTextCenter,dangerousHed:re,dangerousDek:se}),le&&!f&&pe(),d.createElement(B,{isPartiallyCurated:b,isTitleFullWidth:f,shouldUseDenseMobileVariation:ce},b&&!f&&d.createElement(T,{as:ae,dangerousHed:re,dangerousDek:se}),d.createElement(K,{items:he,hasBorder:!u,placement:"secondary",hasUnderHeroItem:!0,hideLastFewSummaryImages:!1,hideSummaryListDeks:h,hideVerticalBorders:y,isPartiallyCurated:b,recircRiver:$,shouldEnableBundleComponentAnalytics:S,snowplowEvent:{...me,total_index:1},shouldHideBylines:_,trackingNamespace:te?.main,underHeroItemVariation:J,hasRoundedBorder:l,shouldShowRecipeBadge:G,isTitleFullWidth:f,shouldShowStackedRatingsCard:W,shouldEnableBookmarkDrawers:C,shouldEnableCardLevelBookmark:k,shouldEnableCommentsCount:x,shouldLimitSavingToContentTypes:E,shouldUseDenseMobileVariation:ce,shouldTrackSnowplowEvent:Q,impressionHandler:ue}),ie&&ce&&w.slice(1,3).map((e,t)=>d.createElement(p.A,{className:`mobile_dense_smart_item-${t}`,key:t,contributors:!_&&e.contributors,image:e.image,dangerousHed:e.dangerousHed,dangerousDek:!U&&e.dangerousDek,date:!V&&e.date,rubric:e.rubric,url:e.url,contentType:e.contentType,shouldHideIcon:!1,shouldTrackSnowplowEvent:Q,clickHandler:()=>(window.location=e.url,ue("click",e,t,"secondary",2)),impressionHandler:()=>ue("impression",e,t,"secondary",2)}))),d.createElement(O,{hasHed:le,isPartiallyCurated:b,isTitleFullWidth:f},le&&f&&n&&pe(),d.createElement(P,{...ge,hasHed:le,dangerousHed:de,hasUnderlineHed:m,hideBottomBorders:u,hideRubricItemSummary:g,shouldEnableBundleComponentAnalytics:S,shouldHideDangerousDek:!0,shouldHidePublishDate:V,shouldHoldImageSpace:!1,impressionHandler:ue,shouldTrackItemImpressionForSnowplow:Q,snowplowEvent:{...me,subject_version:ce&&ie?"mobile_dense-off_canvas":"default",total_index:5},totalItems:5,items:(b||f)&&Y?Y:w.slice(4),placement:"right_rail",isPartiallyCurated:b,sectionTitleVariation:ee,summaryItemVariation:Z||J,recircRiver:$,shouldHideBylines:_,shouldShowStackedRatingsCard:W,shouldEnableBookmarkDrawers:C,shouldEnableCardLevelBookmark:k,shouldEnableCommentsCount:x,shouldLimitSavingToContentTypes:E,trackingNamespace:te?.rightRail,hasRoundedBorder:l,shouldUseDenseMobileVariation:ie&&ce})),d.createElement(D,null))};U.propTypes={className:l().string,curatedSearchHed:l().string,dangerousCategoryTitle:l().string,dangerousDek:l().string,dangerousHed:l().string,hasBackground:l().bool,hasConsistentSpacing:l().bool,hasRoundedBorder:l().bool,hasUnderlineHed:l().bool,hideBottomBorders:l().bool,hideRubricItemSummary:l().bool,hideSummaryListDeks:l().bool,hideVerticalBorders:l().bool,isPartiallyCurated:l().bool,isTitleFullWidth:l().bool,items:l().arrayOf(l().shape(u.A.propTypes)),recircRiver:l().string,rightColumnFeature:l().shape({ctaUrl:l().string,header:l().string,ctaTextLabel:l().string,itemIndex:l().number,hideOnMobile:l().bool}),sectionTitleVariation:l().string,shouldEnableBookmarkDrawers:l().bool,shouldEnableBundleComponentAnalytics:l().bool,shouldEnableCardLevelBookmark:l().bool,shouldEnableCommentsCount:l().bool,shouldHideBylines:l().bool,shouldHideDangerousDek:l().bool,shouldHidePublishDate:l().bool,shouldLimitSavingToContentTypes:l().array,shouldShowRecipeBadge:l().bool,shouldShowStackedRatingsCard:l().bool,shouldTrackSnowplowEvent:l().bool,shouldUseDekAsHed:l().bool,sumCollageFourItems:l().object,sumListItems:l().object,summaryItemVariation:m.A.propTypes.summaryItemVariation,summaryListHed:l().string,summaryListSummaryItemVariation:l().string,summarySectionTitleVariation:l().string,trackingNamespace:l().object,variationName:l().string,variations:l().shape({shouldUseDenseMobileVariation:l().bool})},U.displayName="SummaryCollageEight";const V=U;V.DenseMobile=(0,i.y)(V,"DenseMobile",{shouldUseDenseMobileVariation:!0});const G=V,W=(0,o.y)(G,"SummaryCollageEight")},25671:(e,t,n)=>{n.d(t,{A:()=>pt});var o=n(13465),i=n(32485),a=n.n(i),r=n(96540),s=n(6442),l=n(38221),d=n.n(l),c=n(62193),m=n.n(c),u=n(33031),p=n.n(u),g=n(5556),h=n.n(g),y=n(83673),b=n.n(y),f=n(94409),w=n(26890),$=n(66657),v=n(97e3),C=n(38267),k=n(26865),x=n(76955),E=n(96472),A=n(86659),S=n(62930),L=n(40653);const T=C.i7` 0% { top: ${(0,k.Kq)(8)}; } 100% { top: ${(0,k.Kq)(20)}; } `,N=C.i7` 0% { top: ${(0,k.Kq)(20)}; } 100% { top: ${(0,k.Kq)(8)}; } `,H=C.Ay.div.withConfig({displayName:"VersoCommerceCollectionCuratedWrapper"})` ${({hasPaddingTop:e})=>e&&`padding-top: ${(0,k.Kq)(4)}`} position: relative; height: 100%; `,I=C.Ay.div.withConfig({displayName:"PaginationModalWrapper"})` display: flex; justify-content: center; padding-top: ${(0,k.Kq)(8)}; `,B=(0,C.Ay)(x.c7).withConfig({displayName:"VersoPlpCuratedWrapper"})``,O=(0,C.Ay)(x.c7).withConfig({displayName:"FilterWrapper"})` ${e=>e&&`\n && {\n padding-right: ${(0,k.Kq)(2)};\n padding-left: ${(0,k.Kq)(2)};\n }\n `} padding-right: ${(0,k.Kq)(4)}; padding-left: ${(0,k.Kq)(4)}; ${(0,k.Xm)(0,E.LO.md)} { padding-right: ${(0,k.Kq)(3)}; padding-left: ${(0,k.Kq)(3)}; } `,_=(0,C.Ay)(A.A.NoMargins).withConfig({displayName:"FilterComponentGrid"})` > ${L.E} { grid-column: 1 / 9; @media (min-width: ${E.LO.md}) { grid-column: 1 / -1; } } `,K=(0,C.Ay)($.A).withConfig({displayName:"FilterRow"})``,P=C.Ay.hr.withConfig({displayName:"FilterHr"})` && { display: block; position: relative; top: ${({isMobileView:e})=>e?` ${(0,k.Kq)(6)};`:` ${(0,k.Kq)(6.1)};`}; margin: 0; border: 0; border-bottom: 1px solid ${(0,k.HK)("colors.foundation.menu.dividers")}; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 0; height: 0; } `,D=C.Ay.div.withConfig({displayName:"FilterComponentWrapper"})` position: sticky; top: ${({isMobileView:e})=>e&&` ${(0,k.Kq)(6.8)};`}; z-index: ${({isMobileView:e})=>e?11:399}; background: rgba(255, 255, 255, 1); width: 100%; ${({isScrolled:e,isMobileView:t})=>t?"":C.AH` ${e?C.AH` animation: ${N} 0.2s cubic-bezier(0, 0.59, 0.32, 1) both; `:C.AH` animation: ${T} 0.8s cubic-bezier(0, 0.59, 0.32, 1) both; `} `} `,q=(0,C.Ay)(x.vm).withConfig({displayName:"FilterTotalItemWrapper"})` display: flex; justify-content: center; padding: ${(0,k.Kq)(3)} 0 ${(0,k.Kq)(3)} 0; ${({theme:e,typeToken:t})=>(0,k.Gg)(e,t)} ${({theme:e,colorToken:t})=>(0,k._o)(e,"color",t)}; `,M=C.Ay.div.withConfig({displayName:"BackdropWrapper"})` position: absolute; transition: background-color 750ms; opacity: 1; z-index: 9; background-color: rgba( ${(0,k.HK)("colors.background.black",{rgbOnly:!0})}, 0.4 ); padding-top: ${(0,k.Kq)(50)}; width: 100%; height: ${({heightDiff:e})=>e?`calc( 100% + ${e}px )`:"100%"}; text-align: center; ${({heightDiff:e})=>e?`height: calc(100% + ${e}px);`:"height: 100%;"} `,R=(0,C.Ay)(S.Ay.Circle).withConfig({displayName:"LoaderWrapper"})` position: fixed; top: 50%; left: 46%; `;q.defaultProps={as:"span",colorToken:"colors.interactive.base.black",typeToken:"typography.definitions.globalEditorial.tags"};var F=n(88055),U=n.n(F),V=n(71549),G=n(72267);const W=(0,G.defineMessages)({filterCloseButtonLabel:{id:"FilterComponent.FilterMenuCloseButton",defaultMessage:"Close Filter Menu",description:"ARIA label for the close button on filter Menu",isConfigurable:!0},items:{id:"FilterComponent.Items",defaultMessage:"Items",description:"Suffix text to append to the total count"},sortBy:{id:"FilterComponent.SortBy",defaultMessage:"Sort by",description:"Filter component sort by text for sorting result"},filterBy:{id:"FilterComponent.FilterBy",defaultMessage:"Filter by",description:"Filter component filter by text for sorting result"},showItems:{id:"FilterComponent.ShowItems",defaultMessage:"Show {totalItems} Results",description:"ShowItems string for filter component"},applyActionLabel:{id:"FilterComponent.FilterApplyActionButton",defaultMessage:"Apply",description:"Filter component apply text for sorting result"},cancelActionLabel:{id:"FilterComponent.FilterCancelActionButton",defaultMessage:"Cancel",description:"Filter component cancel text for sorting result"},deseletActionLabel:{id:"FilterComponent.FilterDeselectActionButton",defaultMessage:"Unselect all",description:"Filter component deselect text for filter result"},contentLoadingLabel:{id:"FilterComponent.ContentLoadingLabel",defaultMessage:"Updating",description:"Filter Component label while content loading"}});var j=n(76399),z=n(708),Y=n(39733),X=n(89674),Z=n(22698),J=n(79499),Q=n(14307),ee=n(87098),te=n(67506),ne=n(70698),oe=n(34520),ie=n(73730),ae=n(18730),re=n(9664),se=n(20404),le=n(58293);const de="0.2s",ce=C.Ay.div.withConfig({displayName:"FilterComponentWrapper"})``,me=C.Ay.div.withConfig({displayName:"FilterCategoryWrapper"})` display: flex; position: relative; justify-content: space-between; width: fill-available; ${({isCentered:e})=>e&&"justify-content: center;"} ${({hasBorders:e,theme:t})=>e&&`\n border-width: 1px 0;\n border-style: solid;\n ${(0,k._o)(t,"border-color","colors.foundation.menu.dividers")};\n `} ${({hasBottomBorder:e,theme:t})=>e&&`border-bottom: 1px solid;\n ${(0,k._o)(t,"border-color","colors.foundation.menu.dividers")};\n `} ${({hasGradient:e,fadeWidth:t,theme:n,hasAnchorLinkList:o})=>e&&`&::after {\n position: ${o?"unset":"absolute"};\n top: 1px;\n right: 0;\n bottom: 1px;\n background: linear-gradient(90deg, rgba(${(0,k.HK)(n,(0,ne.l1)(n,"colors.foundation.menu-bg.collapsed"),{rgbOnly:!0})}, 0) 0%, rgba(${(0,k.HK)(n,(0,ne.l1)(n,"colors.foundation.menu-bg.collapsed"),{rgbOnly:!0})}, 1) 75%);\n \n width: ${(0,k.Kq)(3)} ;\n content: '';\n pointer-events: none;\n ${"lg"===t&&`\n width: ${(0,k.Kq)(9)} ;\n opacity: 0.9;\n @media (max-width: ${E.LO.md}) {\n right: -1px;\n }\n `}\n }`} `,ue=C.Ay.ul.withConfig({displayName:"FilterCategoryList"})` display: inline-flex; margin: 0; padding: 0; padding-right: var(--grid-margin); `,pe=(0,C.Ay)(x.sH).withConfig({displayName:"Category"})` text-decoration: none; line-height: 1; &:focus { text-decoration: none; ${({theme:e,isActive:t})=>`${(0,k._o)(e,"color",(0,ne.l1)(e,t?"colors.foundation.collapsed-menu.nav-link.hover":"colors.foundation.collapsed-menu.nav-link.default"))};`} } `;pe.defaultProps={colorToken:"colors.interactive.base.black",linkStyle:"navigation",typeToken:"typography.definitions.utility.input-core"};const ge=C.Ay.div.withConfig({displayName:"CategoryContainer"})` display: inline-flex; `,he=(0,C.Ay)(Y.A).withConfig({displayName:"ScrollingNavigationChevron"})` fill: ${(0,k.HK)("colors.foundation.collapsed-menu.nav-link.default")}; transform: rotate(90deg); width: ${(0,k.Kq)(2)}; height: ${(0,k.Kq)(2)}; ${({theme:e,isactive:t})=>"true"===t&&`transform: rotate(270deg);\n ${(0,k._o)(e,"fill",(0,ne.l1)(e,"colors.foundation.collapsed-menu.nav-link.hover"))};`} `;se.w0.defaultProps={as:"span",colorToken:"colors.interactive.base.black",typeToken:"typography.definitions.utility.input-core"};const ye=(0,C.Ay)(re.A).withConfig({displayName:"RadioCheckboxSelectionControl"})` ${se.w0} &.filter-item { span { padding-top: 2px; } } `,be=C.Ay.li.withConfig({displayName:"FilterCategoryItem"})` display: flex; position: relative; flex-shrink: 0; align-items: center; transition: all 500ms ease; cursor: pointer; height: 48px; text-transform: none; ${({theme:e,isActive:t})=>t&&`\n &::before {\n ${(0,k._o)(e,"background-color",(0,ne.l1)(e,(0,ne.iq)(e)?"colors.consumption.lead.inverted.background":"colors.foundation.collapsed-menu.nav-link.hover"))};\n bottom: 0;\n content: '';\n height: 2px;\n position: absolute;\n width: 100%;\n }\n `}; & + & { margin-left: ${(0,k.Kq)(2)}; } &:first-child { margin-left: 0; } `,fe=C.Ay.div.withConfig({displayName:"FilterSelectionMenuWrapper"})` ${({isActive:e})=>"display: "+(e?"block":"none")}; ${({theme:e})=>(0,k._o)(e,"background-color",(0,ne.iq)(e)?"colors.consumption.lead.inverted.background":"colors.foundation.menu-bg.collapsed")}; position: relative; z-index: 9; width: 100%; height: auto; `,we=C.Ay.div.withConfig({displayName:"FilterMenuWrapper"})` width: 100%; height: 100%; ${(0,k.L7)(E.LO.sm)} { padding: 0 ${(0,k.Kq)(2)}; } `,$e=(0,C.Ay)(A.A.WithMargins).withConfig({displayName:"FilterMenuGridWrapper"})` && { width: 100%; max-width: inherit; ${(0,k.L7)(`calc(${E.LO.xxl} - 1px)`)} { padding: 0 ${(0,k.Kq)(0)}; } ${(0,k.H4)(E.LO.xxl)} { padding: 0 ${(0,k.Kq)(0)}; } } height: 100%; overflow-y: scroll; box-sizing: content-box; scrollbar-width: none; &::-webkit-scrollbar { width: 0; height: 0; } ${L.E} { grid-column: 1 / -1; margin-top: ${(0,k.Kq)(2)}; } `,ve=C.Ay.div.withConfig({displayName:"FilterMenuContent"})` ${(0,k.H4)(E.LO.lg)} { display: flex; width: 100%; } `,Ce=(0,C.Ay)(ie.A.Utility).withConfig({displayName:"MegaMenuCloseIconWrapper"})` position: relative; margin-left: auto; padding: 0; height: ${(0,k.Kq)(4)}; &, &:active, &:hover, &:focus { border: 0; background-color: transparent; } svg { ${({theme:e})=>(0,k._o)(e,"fill",(0,ne.iq)(e)?"colors.background.white":"colors.foundation.collapsed-menu.nav-link.default")}; } `,ke=(0,C.Ay)("div").withConfig({displayName:"FilterSelectionControlWrapper"})` && { grid-column-gap: ${(0,k.Kq)(1)}; } span { display: box; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } `,xe=(0,C.Ay)("div").withConfig({displayName:"FilterMenuListWrapper"})` margin: 1rem 0; overflow-y: scroll; ${({showTotalItems:e})=>`margin: 1rem 0rem ${(0,k.Kq)(e?2:4)};`} width: 100%; .filter-selection-list { display: grid; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(10, 1fr); column-gap: ${(0,k.Kq)(4)}; height: ${(0,k.Kq)(16)}; row-gap: ${(0,k.Kq)(1.5)}; justify-items: start; } && { .filter-item { padding: 0; &:hover { cursor: pointer; } } .selection-control-list__item { text-decoration: none; } } `,Ee=C.Ay.div.withConfig({displayName:"FilterMenuItemWrapper"})` display: inline-flex; width: 100%; `,Ae=(0,C.Ay)(ie.A.Utility).withConfig({displayName:"FilterMenuTypeDeselect"})` padding: 0; ${({isDisabled:e})=>e?"color:#636363;":"color: black;"} ${({isMobileView:e})=>e?`\n margin-bottom: ${(0,k.Kq)(3)};\n `:"\n width: 70px;\n min-width : 0;\n margin-top: -4px;\n "} &&&, &:focus, &:hover { border: 0; background-color: transparent; height: 24px; text-align: left; text-decoration: underline; ${({theme:e,typeToken:t})=>(0,k.Gg)(e,t)}; ${({isDisabled:e,theme:t})=>e?`color:${(0,k._o)(t,"color","colors.interactive.base.deemphasized")};\n opacity: 80%;\n `:"color: black;"} } `;Ae.defaultProps={typeToken:"typography.definitions.utility.input-core"};const Se=(0,C.Ay)(ae.v).withConfig({displayName:"FilterTotalItemWrapper"})` margin: ${(0,k.Kq)(2)}; border-left: 1px solid ${(0,k.HK)("colors.interactive.base.black")}; padding: 0 ${(0,k.Kq)(4)}; width: 100%; height: 17px; ${({theme:e})=>(0,k.Gg)(e,"typography.definitions.globalEditorial.tags")}; ${({theme:e,colorToken:t})=>(0,k._o)(e,"color",t)}; `;Se.defaultProps={as:"span",colorToken:"colors.interactive.base.black",typeToken:"typography.definitions.utility.input-core"};const Le=(0,C.Ay)(x.c7).withConfig({displayName:"SortContainer"})` display: flex; .dropdown__control--menu-is-open { .dropdown__icon > svg { transform: rotate(180deg); } } .dropdown__value-container { height: 47px; } &.is-sort-menu-closed { .dropdown__value-container { border: none; } .dropdown__control--is-focused { border: none; box-shadow: none; } } &.is-sort-menu-open { .dropdown__value-container { border-width: 1px; border-style: solid; border-color: ${(0,k.HK)("colors.interactive.base.black")}; } } ${le.wF} { min-width: ${(0,k.Kq)(12)}; .dropdown__control { display: flex; justify-content: flex-start; .dropdown__single-value { ${({theme:e})=>(0,k.Gg)(e,"typography.definitions.utility.input-core")}; color: ${(0,k.HK)("colors.interactive.base.black")}; } .dropdown__value-container { padding: 1rem 1.9rem 1rem 0.5rem; } .dropdown__control--menu-is-open { .dropdown__value-container { border-width: 1px; border-style: solid; border-color: ${(0,k.HK)("colors.interactive.base.black")}; } } } .dropdown__menu-list { .dropdown__option { border-width: 1px; border-color: ${(0,k.HK)("colors.interactive.base.black")}; &:last-of-type { border-bottom: 1px solid ${(0,k.HK)("colors.interactive.base.black")}; border-top-width: none; border-top-style: none; } } } } @media (max-width: ${E.LO.md}) { left: -${(0,k.Kq)(2)}; } `,Te=(0,C.Ay)(x.c7).withConfig({displayName:"SortWrapper"})` position: relative; z-index: 1; @media (max-width: ${E.LO.md}) { margin: 0; } `,Ne=C.Ay.div.withConfig({displayName:"FilterMobileWrapper"})``,He=C.Ay.div.withConfig({displayName:"FilterTotalItemWrapperMobile"})` padding: ${(0,k.Kq)(2)}; ${({theme:e})=>(0,k.Gg)(e,"typography.definitions.globalEditorial.tags")}; ${({theme:e,colorToken:t})=>(0,k._o)(e,"color",t)}; `,Ie=(0,C.Ay)(ie.A.Utility).withConfig({displayName:"FilterMobileButton"})` &, &:focus, &:hover { border: 0; background-color: transparent; color: black; } padding: 0; ${({theme:e})=>(0,k.Gg)(e,"typography.definitions.utility.input-core")}; svg { transform: rotate(90deg); width: ${(0,k.Kq)(1.25)}; height: ${(0,k.Kq)(1.25)}; } `,Be=(0,C.Ay)(oe.A).withConfig({displayName:"FilterMobileDrawer"})` overflow-y: auto; position: relative; `,Oe=(0,C.Ay)(x.c7).withConfig({displayName:"FilterSortMobileDrawerWrapper"})``,_e=C.Ay.div.withConfig({displayName:"RemoveFilter"})` display: flex; cursor: pointer; .icon-close { padding: 4px; } svg { position: absolute; right: 1rem; width: ${(0,k.Kq)(4)}; height: ${(0,k.Kq)(4)}; path { fill: ${(0,k.HK)("colors.interactive.base.black")}; } } `,Ke=(C.Ay.div.withConfig({displayName:"FilterMobileDrawerHeaderWrapper"})``,(0,C.Ay)(x.c7).withConfig({displayName:"FilterMobileDrawerHeader"})` display: inline-flex; position: relative; background: rgb(248, 248, 248); padding: ${(0,k.Kq)(3)}; width: fill-available; `),Pe=(0,C.Ay)(x.c7).withConfig({displayName:"FilterMobileDrawerTitle"})` display: inline-flex; `,De=(0,C.Ay)(x.c7).withConfig({displayName:"FilterDrawerText"})` ${({theme:e})=>(0,k.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; ${({theme:e})=>(0,k._o)(e,"color","colors.interactive.base.black")}; `,qe=C.Ay.div.withConfig({displayName:"FilterDrawerSelectionCounter"})` position: relative; margin-left: 0.2rem; ${({theme:e})=>(0,k.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; `,Me=(0,C.Ay)(x.c7).withConfig({displayName:"FilterMobileAccordianData"})` position: absolute; top: 80px; bottom: 160px; width: 100%; overflow-y: auto; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; scroll-behavior: smooth; &::-webkit-scrollbar { display: none; } `,Re=C.Ay.div.withConfig({displayName:"FilterAccordionContainer"})` border-bottom: 1px solid; ${({theme:e})=>(0,k._o)(e,"border-bottom-color","colors.discovery.body.white.divider")}; svg { float: right; transform-origin: center; transition: all ${de} ease-in-out; width: ${(0,k.Kq)(1.25)}; height: ${(0,k.Kq)(1.25)}; } overflow: hidden; `,Fe=C.Ay.label.withConfig({displayName:"FilterAccordionItemContainerLabel"})` ${(0,k.Gg)("typography.definitions.consumptionEditorial.subhed-aux-secondary")}; ${({theme:e})=>(0,k._o)(e,"color","colors.background.black")}; `;Fe.defaultProps={typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-primary"};const Ue=C.Ay.div.withConfig({displayName:"FilterAccordionLabelContainer"})` display: inline-flex; `,Ve=(0,C.Ay)(ae.v).withConfig({displayName:"FilterAccordionItemContainerContent"})` margin: 0 ${(0,k.Kq)(3)}; .selection-control-list__item { text-decoration: none; } ${({isActive:e})=>e?`\n overflow: hidden;\n transition: ${de} linear;\n padding-bottom: ${(0,k.Kq)(2)};\n `:`\n max-height: 0px;\n transition: all ${de};\n `} ${({theme:e})=>(0,k._o)(e,"color","colors.consumption.lead.standard.description")}; && { .un-select-filter-button { margin-bottom: 0; } } ${ke} { padding: ${(0,k.Kq)(2)} 0 ${(0,k.Kq)(1)}; } `,Ge=C.Ay.div.withConfig({displayName:"FilterAccordionItemContainer"})` margin: ${(0,k.Kq)(3)}; `,We=(0,C.Ay)(ie.A.Utility).withConfig({displayName:"FilterAccordionItemContainerButton"})` fill: #615f66; float: right; transition: all 0.2s ease; padding: ${(0,k.Kq)(1)} ${(0,k.Kq)(.5)}; &, &:focus, &:hover { border: 0; background-color: transparent; } ${({isActive:e})=>e&&"transform: rotate(180deg);"} `,je=(0,C.Ay)(x.c7).withConfig({displayName:"FilterMobileActionWrapper"})` position: absolute; bottom: 0; padding: ${(0,k.Kq)(3)}; width: 100%; ${({theme:e})=>`\n background: ${(0,k.HK)(e,"colors.background.light")};`}; `,ze=C.Ay.div.withConfig({displayName:"FilterMobileDrawerAccordionWrapper"})``,Ye=(0,C.Ay)(ie.A.Primary).withConfig({displayName:"FilterMobileApplyActionButton"})` margin-bottom: ${(0,k.Kq)(2)}; width: 100%; `,Xe=(0,C.Ay)(ie.A.Secondary).withConfig({displayName:"FilterMobileCancelActionButton"})` width: 100%; ${({theme:e})=>`\n background: ${(0,k.HK)(e,"colors.background.light")};`} `,Ze=C.Ay.div.withConfig({displayName:"SortMobileContainer"})``,Je=(0,C.Ay)(ie.A.Utility).withConfig({displayName:"SortMobileButton"})` &, &:focus, &:hover { border: 0; background-color: transparent; color: black; } padding: 0; ${({theme:e})=>(0,k.Gg)(e,"typography.definitions.utility.input-core")}; svg { transform: rotate(90deg); width: ${(0,k.Kq)(1.25)}; height: ${(0,k.Kq)(1.25)}; } `,Qe=(0,C.Ay)(oe.A).withConfig({displayName:"FilterMobileDrawer"})` overflow-y: auto; `,et=C.Ay.div.withConfig({displayName:"SortSelectionControlWrapper"})` position: absolute; top: 80px; bottom: 160px; margin: 1.5rem 1.5rem 0; width: 100%; `,tt="filtering",nt="Sorting",ot=["Type"],it=({className:e,filterSortData:t={},hasBottomBorder:n,isMobileView:o,hasUpdateUrl:i=!0,hideChannelNavigation:l=!0,isCentered:d,isContentLoading:c,showTotalItems:u,theme:p="standard",totalItems:g=0,trackingEvent:y="plpFilterInteraction",updateParentDataHandler:b,sendFilterOpenStatus:f})=>{const[w,$]=r.useState(null),[v,C]=r.useState(null),[k,x]=r.useState(t.sortData),[E,A]=r.useState(t.filterData),[L,T]=r.useState(!1),N=(0,r.useRef)(null),H=(0,r.useRef)(null);(0,ee.j)(H,()=>T(!1));const[I,B]=r.useState({});(0,ee.j)(N,()=>{o||(A(E.map(e=>({...e,isActive:!1}))),f&&f(!1))});const[O,_]=r.useState({}),{formatMessage:K}=(0,s.A)(),[P,D]=r.useState(!1),[q,M]=r.useState(!1),[R,F]=r.useState(""),G=(e=null)=>{let n;if(e)n=U()(e);else{n=U()(t.sortData).find(e=>e.default)}if(!n)return{label:K(W.sortBy)};let o=n.label;return n.label.includes(":")&&(o=n.label.split(":")[1].trim()),n.label=`${K(W.sortBy)}: ${o}`,n},ne=(e,t)=>{{const n=t!==tt||m()(w)?`Sort By ${e.selectedFilter.label}`:w.label;window.dataLayer.push({event:y,interactionType:"Filtering/Sorting",nameOfSelection:`${t}_${n}`,valueOfFilter:e.selectedFilter.label,eventValue:""})}};(0,r.useEffect)(()=>{A(t.filterData);const{pathname:e}=window.location;F(e)},[t.filterData]);const oe=(e,t)=>{let n=e.value;return ot.includes(t)&&(n=`${(0,te.mJ)(e.label)}`),n},ie=(e,t={})=>{const n=[],o=[];return e.forEach(e=>{const t=e.children.map(t=>t.isSelected&&oe(t,e.label)).filter(e=>e);if(m()(t)||"path"!==e.paramType){if(!m()(t)){const o=oe(e,e.label),i=`${"Type"===e.label?"category":o}=${t.join("+")}`;n.push(i)}}else{const e=`/${t.join()}`;o.push(e)}}),{filterParams:n.join("&"),pathParams:o.join("/"),sortParams:t.value}},ae=({filterData:e=[],sortData:t,filterSelectionPriority:n={}})=>{const{filterParams:o,pathParams:i,sortParams:a}=ie(e,t),{pathname:r,origin:s}=window.location,l=!m()(i)&&r!==i;if(l){const e=`${s}${i}`;return window.history.replaceState(null,null,e),void b({pathChanged:l})}let d=`${s}${r}`;const c=[];o&&c.push(o),a&&c.push(`sort=${a}`),c.length&&(d=`${d}?${c.join("&")}`),window.history.replaceState(null,null,d),b({pathChanged:l,filterData:e,activeFilter:w,filterSelectionPriority:n})},re=e=>{e.preventDefault(),A(E.map(e=>({...e,isActive:!1}))),f&&f(!1)},se=e=>{""!==e.target.name&&(re(e),T(!L))},le=e=>{const t={...I},n=e.children.filter(({isSelected:e})=>e);if(t[e.value]&&0===n.length){const n=t[e.value];delete t[e.value];let o=n;for(const e in t)t[e]>n&&(o=n>t[e]?n:t[e],t[e]-=1);t.lastActionTabPriority=o}else{delete t.activeTab,delete t.lastActionTabPriority;const n=Object.keys(t).length;t[e.value]||(t[e.value]=0===n?1:n+1),t.lastActionTabPriority=t[e.value]}return t.activeTab=e.value,t},de=(e,t)=>{const n=U()(E),o=n.findIndex(t=>t.value===e),a=n[o],r=a.children[t];let s=!1;if("multiple"===a.selectionType)s=!r.isSelected,r.isSelected=!r.isSelected,a.children[t]=r;else{a.children=a.children.map((e,n)=>({...e,isSelected:n===t}));const e=a.label.split(":")[0];a.label=`${e}: ${r.label}`,s=!0}n[o]=a;const l=le(a);B(l),$(a),A(n);const d=n.map(e=>{const t="multiple"===e.selectionType?e.children.filter(e=>e.isSelected).length:0;return{...e,counter:t}});s&&ne({category:a,selectedFilter:r},tt);let c="deselect";r.isSelected&&(c="select"),((e,t,n)=>{const o={type:e,subject:"filter",criteria:{filter:[{name:t.label,label:n.label.toLowerCase()}]},platform:"verso"};(0,Q.ce)(o)})(c,a,r),A(d),i&&ae({filterData:n,sortData:O,filterSelectionPriority:l})},it=(e,t)=>{const n=U()(E).find(t=>t.value===e);if(n&&"single"===n.selectionType){const e=n.children.find(e=>e.isSelected);if(e){return`${n.label.split(":")[0]}: ${e.label}`}}return t>0?`${n.label} (${t})`:n.label},at=r.createElement(V.A,{min:"xl"},e=>e&&r.createElement(Ce,{"aria-label":K(W.filterCloseButtonLabel),ButtonIcon:j.A,isIconButton:!0,label:K(W.filterCloseButtonLabel),onClickHandler:e=>re(e)})),rt=e=>0===e.children.filter(e=>e.isSelected).length,st=e=>{const t=U()(E),n=t.findIndex(t=>t.value===e.value);e.children=e.children.map(e=>(e.isSelected&&(e.isSelected=!e.isSelected),e)),e.counter=0,t[n]=e,A(t);const o=le(e);B(o),i&&ae({filterData:t,sortData:O,filterSelectionPriority:o})},lt=e=>{const{children:t,selectionType:n,value:i}=e,a="multiple"===n?ye.Checkbox:ye.Radio,s="multiple"===n,l=rt(e);return r.createElement(r.Fragment,null,o&&s&&r.createElement(Ae,{inputKind:"button",isDisabled:l,label:K(W.deseletActionLabel),isMobileView:o,onClickHandler:()=>l?{}:st(e),className:"un-select-filter-button"}),r.createElement(X.A,{dangerousLegend:i,className:"filter-selection-list",items:t},t.map((e,t)=>{const n=Boolean(e.isSelected),o=((e,t,n)=>{const o=U()(E),i=o.findIndex(t=>t.value===e),a=o[i],r=a.children[t];r.isSelected=!0,a.children[t]=r,o[i]=a;const{filterParams:s}=ie(o,O);let l=n?R:`/${r.value}`;return s&&(l+=`?${s}`),l})(i,t,s);return r.createElement("a",{href:o},r.createElement(ke,{as:a,...e,className:"filter-item",value:e.value,formName:i,key:`${e.label}.${e.value}`,index:t,isChecked:n,isDisabled:!1,onChangeHandler:()=>de(i,t)}))})))},dt=()=>{const e=!P;D(e),A(E.map(e=>({...e,isActive:!1}))),f&&f(e)},ct=e=>{e&&ae({filterData:E,sortData:e}),M(!q)},mt=(e=0)=>(U()(E).forEach(t=>{"multiple"===t.selectionType&&(e+=t.counter)}),e),ut=()=>{const e=mt();return r.createElement(Ke,{"data-testid":"filter-mobile-drawer-header"},r.createElement(Pe,null,r.createElement(De,null,P?`${K(W.filterBy)}`:`${K(W.sortBy)}`),P&&e>0&&r.createElement(qe,null,"(",e,")")),r.createElement(_e,null,r.createElement(j.A,{"data-testid":"filter-mobile-drawer-close",onClick:()=>P?dt():ct(v)})))},pt=({id:e,label:t,value:n,counter:o})=>{const i=E[e];return r.createElement(Re,null,r.createElement(Ge,{"data-testid":`filter-accordion-item-${e}`,onClick:()=>(e=>{const t=E.map((t,n)=>({...t,isActive:n===e&&!t.isActive})),n=t.find(e=>e.isActive);$(n),A(t)})(e)},r.createElement(Ue,null,t?r.createElement(Fe,{dangerouslySetInnerHTML:{__html:it(n,o)}}):null),r.createElement(We,{isActive:i.isActive,ButtonIcon:z.A,role:"button",isIconButton:!0,label:"FilterAccordionItemContainerButton",width:"0.5rem",height:"0.5rem"})),r.createElement(Ve,{activeCategory:w,id:e,isActive:i.isActive},lt(i)))};pt.propTypes={counter:h().number,id:h().number,label:h().string,value:h().string};const gt=t.sortData&&!m()(t.sortData),ht=gt?G():{},yt=gt?((e=null)=>{let n;if(e)n=U()(e);else{n=U()(t.sortData).find(e=>e.default)}return n})():{},bt=()=>r.createElement(S.jl,{fillColor:"#fff",margin:"0px",height:"40px",width:"40px"}),ft=()=>r.createElement(je,{"data-testid":"filter-mobile-action-wrapper"},r.createElement(Ye,{"data-testid":"filter-mobile-apply-button",inputKind:"button",label:P?c?`${K(W.contentLoadingLabel)}`:`${K(W.showItems,{totalItems:g})}`:`${K(W.applyActionLabel)}`,onClickHandler:()=>P?dt():ct(v),ButtonIcon:c&&bt,iconPosition:"before",hasEnableIcon:!0}),r.createElement(Xe,{"data-testid":"filter-mobile-cancel-button",inputKind:"button",label:K(W.cancelActionLabel),onClickHandler:()=>P?(()=>{const e=U()(E);e.map(e=>("multiple"===e.selectionType&&(e.children=e.children.map(e=>({...e,isSelected:!1}))),e)),A(e),i&&ae({filterData:e,sortData:v||yt}),D(!P),A(E.map(e=>({...e,isActive:!1})))})():M(!q)}));return r.createElement(ce,{ref:N},r.createElement(me,{"data-testid":"FilterComponent",hasBottomBorder:n,isCentered:d,className:e,id:"filter-wrapper"},r.createElement(r.Fragment,null,o?r.createElement(Ne,null,r.createElement(Ie,{"data-testid":"filter-mobile-button",inputKind:"button",label:mt()>0?`${K(W.filterBy)} (${mt()})`:K(W.filterBy),ButtonIcon:Y.A,iconPosition:"after",hasEnableIcon:!0,onClickHandler:()=>D(!P)}),r.createElement(Be,{isOpen:P,className:"drawer--filter-mobile",onClose:()=>{},hideChannelNavigation:l},P&&r.createElement(Oe,null,ut(),r.createElement(ze,null,r.createElement(Me,null,E.map(({label:e,value:t,counter:n},o)=>r.createElement(pt,{id:o,label:e,value:t,counter:n}))),ft())))):r.createElement(ue,{id:"filter-category"},E.map(({value:e,isActive:t,counter:n},o)=>r.createElement(be,{key:`${e}-${o}`,isActive:t,onClick:t=>((e,t)=>{t.preventDefault();const n=E.map(t=>({...t,isActive:!t.isActive&&t.value===e})),o=n.find(e=>e.isActive);$(o),f&&f(o&&!0),A(n)})(e,t)},r.createElement(ge,null,r.createElement(pe,{tabIndex:"0",role:"link",isActive:t,as:"a"},r.createElement("span",{dangerouslySetInnerHTML:{__html:it(e,n)}}))),r.createElement(he,{isactive:String(t)})))),o&&u&&r.createElement(He,null,g," ",K(W.items)),gt&&r.createElement(Te,{ref:H},o?r.createElement(Ze,null,r.createElement(Je,{"data-testid":"sort-mobile-button",inputKind:"button",label:v?v.label:yt.label,ButtonIcon:Y.A,iconPosition:"after",hasEnableIcon:!0,onClickHandler:()=>M(!q)}),r.createElement(Qe,{isOpen:q,className:"drawer--filter-mobile",onClose:()=>{},hideChannelNavigation:l},q&&r.createElement(Oe,null,ut(),r.createElement(et,{selectionType:"single"},r.createElement(X.A,{"data-testid":"mobile-sort-list",dangerousLegend:`${K(W.sortBy)}`},k.map((e,t)=>{const n=e.default;return r.createElement(ke,{"data-testid":`mobile-sort-radio-${t}`,as:Z.A.Radio,label:e.label,value:e.value,formName:e.value,key:`${e.label}.${e.value}`,index:t,isChecked:n,isDisabled:!1,onChangeHandler:()=>(e=>{const t=k.map((t,n)=>({...t,default:n===e})),n=t.find(e=>e.default);C(n),x(t)})(t)})}))),ft()))):r.createElement(Le,{className:a()({"is-sort-menu-open":L,"is-sort-menu-closed":!L}),onClick:e=>se(e),onTouchStart:e=>se(e),totalItems:g},r.createElement(J.Ay,{defaultValue:ht,selectedValue:m()(O)?ht:O,isDropdownMenuOpen:L,options:t.sortData,onInputChange:e=>{_(G(e)),m()(e)||(ne({selectedFilter:e},nt),ae({filterData:E,sortData:e}));const t={type:"select",subject:"sort",criteria:{sort:e.label},platform:"verso",no_of_results_returned:g};(0,Q.ce)(t)},shouldHideSelectedOptions:!0}),u&&r.createElement(Se,null,g," ",K(W.items)))))),!o&&E.map(e=>r.createElement(fe,{isActive:e.isActive},r.createElement(we,{theme:p},r.createElement($e,null,r.createElement(ve,null,r.createElement(xe,{showTotalItems:u},lt(e)),at))),r.createElement(Ee,null,"multiple"===e.selectionType&&r.createElement(Ae,{inputKind:"button",isDisabled:rt(e),label:K(W.deseletActionLabel),onClickHandler:()=>rt(e)?{}:st(e)})))))};it.propTypes={className:h().string,filterSortData:h().object,hasBottomBorder:h().bool,hasUpdateUrl:h().bool,hideChannelNavigation:h().bool,isCentered:h().bool,isContentLoading:h().bool,isMobileView:h().bool,sendFilterOpenStatus:h().func,showTotalItems:h().bool,theme:h().oneOf(["standard","inverted"]),totalItems:h().number,trackingEvent:h().string,updateParentDataHandler:h().func},it.displayName="FilterComponent";const at=it;var rt=n(89544);const st=(0,G.defineMessages)({Category:{id:"VersoCommerceCollectionCurated.FilterBy.Category",defaultMessage:"Type",description:"Text for diplaying filter type label Type"},Brand:{id:"VersoCommerceCollectionCurated.FilterBy.Brand",defaultMessage:"Designer",description:"Text for diplaying filter type label Brand"},Size:{id:"VersoCommerceCollectionCurated.FilterBy.Size",defaultMessage:"Size",description:"Text for diplaying filter type label Size"},StorefrontBundle:{id:"VersoCommerceCollectionCurated.FilterBy.StorefrontBundle",defaultMessage:"Category",description:"Text for diplaying filter type label StorefrontBundle"},Color:{id:"VersoCommerceCollectionCurated.FilterBy.Color",defaultMessage:"Color",description:"Text for diplaying filter type label Color"},Type:{id:"VersoCommerceCollectionCurated.FilterBy.Type",defaultMessage:"Type",description:"Text for diplaying filter type label Type"},Popular:{id:"VersoCommerceCollectionCurated.SortBy.Popular",defaultMessage:"Most Wanted",description:"Text for diplaying sort by option label Popular"},Featured:{id:"VersoCommerceCollectionCurated.SortBy.Featured",defaultMessage:"Featured",description:"Text for diplaying sort by option label Featured"},items:{id:"VersoCommerceCollectionCurated.Items",defaultMessage:"Items",description:"Suffix text to append to the total count"},"Most Recent":{id:"VersoCommerceCollectionCurated.SortBy.MostRecent",defaultMessage:"New Arrivals",description:"Text for diplaying sort by option label Most Recent"},"Lowest Price":{id:"VersoCommerceCollectionCurated.SortBy.LowestPrice",defaultMessage:"Lowest Price",description:"Text for diplaying sort by option label Lowest Price"},"Highest Price":{id:"VersoCommerceCollectionCurated.SortBy.HighestPrice",defaultMessage:"Highest Price",description:"Text for diplaying sort by option label Highest Price"}});var lt=n(59867);function dt(e,t){e.current.style.position="sticky",e.current.style.setProperty("top",`${t}px`,"important")}const ct=["sort","page","format","branch"],mt=({container:e,pimCollectionBundleLinks:t,isMobileView:n,shouldHideFilterComponent:o,isFirstProductListingContainer:i,affiliateDisclaimer:l,containerIndex:c})=>{const{formatMessage:u}=(0,s.A)(),g=e=>{const t=e.filter(Boolean);if(!t.length)return[];return t.map(e=>st[e.label]?{...e,label:u(st[e.label])}:e)},[h,y]=(0,r.useState)(e),[C,k]=(0,r.useState)({}),[x,E]=(0,r.useState)(!0),[A,S]=(0,r.useState)(!1),L=(0,r.useRef)(null),T=(0,r.useRef)(null),[N,q]=(0,r.useState)(0),[F,U]=(0,r.useState)([]),V=t&&t.length&&{label:"StorefrontBundle",value:"storefront",selectionType:"single",paramType:"path",counter:0,children:p()(t,"label")},[G,W]=(0,r.useState)(!1),[j,z]=(0,r.useState)(0),Y=(0,r.useRef)(null),X=(0,r.useRef)(null),[Z,J]=(0,r.useState)({...e.pimFilterSortPaginationData,filterData:g([V,...e.pimFilterSortPaginationData.filterData]),sortData:g(e.pimFilterSortPaginationData.sortData),optionsSelected:!1});0===F.length&&U(g([V,...e.pimFilterSortPaginationData.filterData]));const Q=(e,t=[])=>{if(t.length){return e.map(e=>t.includes(e.value)?{...e,isSelected:!0}:e)}return e},ee=(e,t=[])=>{if(t.length&&"multiple"===e.selectionType){return t?.length||0}return 0};!function(e){(0,r.useEffect)(()=>{if(null==e.current)return;const t=document.querySelector(".onenav-site-navigation header");if(null==t)return;const n=new ResizeObserver(t=>{const{height:n}=t[0].contentRect;dt(e,n)});return n.observe(t),dt(e,t.getBoundingClientRect().height),()=>{n.disconnect()}},[e])}(T),(0,r.useEffect)(()=>{const e=L.current?.getBoundingClientRect(),t=document.getElementById("app-root"),{bottom:n}=(0,f.A)(t);q(n-e.bottom)},[]),(0,r.useEffect)(()=>(X.current=window.Kendra.WINDOW_EVENT.on(lt.m.SCROLL_DEBOUNCE,()=>{const{offsetTop:e}=T.current;if(window&&window.document){const t=window.document.querySelector('header[class*="StackedNavigationHeader-"]:first-of-type');e<=0?setTimeout(()=>{t.classList?.remove("stacked-navigation--hidden-shadow")},100):setTimeout(()=>{t.classList?.add("stacked-navigation--hidden-shadow")},100)}}),()=>{X.current&&X.current.off()}),[]),(0,r.useEffect)(()=>{if(!Z.optionsSelected){const{pathname:e,search:t}=window.location,n=e.split("/");n.splice(0,1);const o=n.join("/"),{sort:i="",queryString:a}=(0,te.O6)(t);k({query:"",sort:i});const r=((e,t,n,o)=>{const i=m()(o)?"":o.replace("?",""),{filterData:a,sortData:r}=e,s=new Map;t.length&&s.set("storefront",[t]),i.length&&i.split("&").forEach(e=>{const[t,n]=e.split("="),o=decodeURIComponent(n).replace(/ /g,"+");if("category"===t&&a.length){const e=(0,te.pH)({key:"type",value:o.split("+")},a);e.key&&e.value&&s.set(e.key,e.value)}else ct.includes(t)||s.set(t,o.split("+"))});return{filterData:a.map(e=>({...e,counter:ee(e,s.get(e.value)),children:Q(e.children,s.get(e.value))})),sortData:m()(n)?r:r.map(e=>({...e,default:e.value===n}))}})(Z,o,i,a);J(e=>({...e,...r,optionsSelected:!0})),E(!1)}},[Z]);const ne=(e,t)=>t.findIndex(t=>t.value===e.value),oe=d()(({activeFilter:e,filterData:t,filterSelectionPriority:n})=>{const{pathname:o,search:i,origin:a}=window.location;E(!0);const r=m()(i)?"?format=json":`${i}&format=json`,s=`${a}${o}${i}`;window.history.replaceState(null,"",s),fetch(`${o}${r}`).then(e=>e.json()).then(({bundle:o})=>{const a=o.containers.find(e=>"verso-pim-collection"===e.template),{sort:r=""}=(0,te.O6)(i);k({query:"",sort:r}),y(a);const{filterData:s}=a.pimFilterSortPaginationData;let l=t.map(e=>{const t=n[e.value]||10,o=n.lastActionTabPriority||!1;return 1===t?F.find(t=>t.value===e.value):o&&t<=o?e:s.find(t=>t.value===e.value)});l=b()(l);const d=s.map(e=>l.find(t=>t.value===e.value)||e);if(!m()(e)){const n=ne(e,t),o=ne(e,d),i=ne(e,d),a=t[n];a.children=d[o]?.children||[],i>-1&&d.splice(i,1,a)}J({...a.pimFilterSortPaginationData,filterData:g([V,...d]),sortData:Z.sortData,optionsSelected:!1}),E(!1);const c=window.document&&window.document.querySelector('div.verso-plp-curated-wrapper div[class*="UnifiedProductCardWrapper-"]:first-of-type');c&&setTimeout(()=>{c.scrollIntoView({behavior:"smooth",block:"end"})},1)}).catch(e=>{E(!1)})},1e3),ie=(0,r.useCallback)(()=>{const e=window.pageYOffset;(0,w.q)(G,e,j,"delta")&&(W(e-j>0),z(e))},[G,j]);return(0,r.useEffect)(()=>(Y.current=window.Kendra.WINDOW_EVENT.on(lt.m.SCROLL_THROTTLE,ie),()=>{Y.current&&Y.current.off()}),[ie]),r.createElement(H,{ref:L},!o&&r.createElement(D,{isScrolled:G,isMobileView:n,ref:T},r.createElement(K,null,r.createElement(P,{isMobileView:n}),r.createElement(_,null,r.createElement(O,{isMobileView:n},r.createElement(at,{theme:"standard",filterSortData:Z,isMobileView:n,totalItems:Z.pagination.totalResults,showTotalItems:!0,isCentered:!1,hasBorders:!1,updateParentDataHandler:({pathChanged:e,filterData:t,activeFilter:n=null,filterSelectionPriority:o={}})=>{e&&window.location.reload(),oe({filterData:t,activeFilter:n,filterSelectionPriority:o})},className:"",isContentLoading:x,sendFilterOpenStatus:e=>{n?e||setTimeout(()=>{window&&window.scrollTo(0,0)},1):S(e)}}))))),r.createElement($.A,null,!n&&A&&r.createElement(M,{heightDiff:N},x&&r.createElement(R,null))),r.createElement($.A,null,r.createElement(B,{className:a()("verso-plp-curated-wrapper")},r.createElement(v.A,{...h,isFirstProductListingContainer:i,affiliateDisclaimer:l,containerIndex:c}))),r.createElement($.A,null,r.createElement(I,null,Z.pagination&&r.createElement(rt.A,{...C,...Z.pagination,additionalParams:["status","type","color","brand"]}))))};mt.propTypes={affiliateDisclaimer:h().string,container:h().object,containerIndex:h().number,isFirstProductListingContainer:h().bool,isMobileView:h().bool,pimCollectionBundleLinks:h().array,shouldHideFilterComponent:h().bool};const ut=mt,pt=(0,o.y)(ut,"VersoCommerceCollectionCurated")},26022:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(96540);const i=(e,t)=>{(0,o.useEffect)(()=>{const n=n=>{e.current&&!e.current.contains(n.target)&&t(!1)};return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}},26048:(e,t,n)=>{n.d(t,{A:()=>y});var o=n(96540),i=n(6442),a=n(5556),r=n.n(a),s=n(62096);const l=e=>o.createElement(s.Ge,{theme:e.theme,isBestBoth:e.isBestBoth,isBest:e.isBest},o.createElement(s.M4,{x:"0px",y:"0px",viewBox:"0 0 80 40",size:e.size||"lg"},o.createElement("g",null,o.createElement("polyline",{points:"25.4,14.7 33.9,14.7 33.9,39.8 46.3,39.8 46.3,14.7 54.8,14.7 40.1,0 25.4,14.7 "}),o.createElement("polyline",{points:"50.6,40 80,40 65.2,25.4 50.6,40 "}),o.createElement("polyline",{points:"0,40 29.4,40 14.7,25.4 0,40 "}))));l.propTypes={isBest:r().bool,isBestBoth:r().bool,size:r().oneOf(["lg","sm"]),theme:r().string};const d=(0,n(72267).defineMessages)({BestNewMusic:{id:"ScoreBox.BestNewMusic",defaultMessage:"Best New Music",description:"Best New Music"},BestNewReissue:{id:"ScoreBox.BestNewReissue",defaultMessage:"Best New Reissue",description:"Best New Reissue"},BestNewTrack:{id:"ScoreBox.BestNewTrack",defaultMessage:"Best New Track",description:"Best New Track"}});var c=n(49235),m=n(53499),u=n(26576),p=n(7165),g=n(75454);const h=({rating:e,isBestNewMusic:t=!1,isBestNewReissue:n=!1,size:a="lg",palette:r="standard",isTrackReview:h,hideLabel:y=!1,enableBlur:b=!1,shouldTrackImpression:f=!1,trackingSubject:w="",scoreSubscriptionUrl:$="",trackingClassName:v=""})=>{const[C,k]=o.useState(!0),[x,E]=o.useState(null),[A,S]=o.useState(!1);o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"ScoreBox"})},[]),o.useEffect(()=>(0,u.a0)(e=>{k(e),S(!0)},e=>{E(e),S(!0)}),[]),(({shouldTrackImpression:e,enableBlur:t,trackingSubject:n,scoreSubscriptionUrl:o,trackingClassName:i,isBlurStateReady:a,isBlurredForTracking:r})=>{const s=o?(0,g.el)(o):"",l=i?`.${i}`:".score-box-no-tracking";(0,p.o)(l,void 0,(o,i)=>{e&&o&&t&&a&&null!==r&&((0,g.cj)({subject:n,source:s,is_exceeded:r},"impression"),i())},[e,t,n,s,a,r])})({shouldTrackImpression:f,enableBlur:b,trackingSubject:w,scoreSubscriptionUrl:$,trackingClassName:v,isBlurStateReady:A,isBlurredForTracking:x});const{formatMessage:L}=(0,i.A)(),T=h&&t;if(h&&!t)return null;const N=e<10?Number(e).toFixed(1):e,H=b&&C?"0.0":N,I=t||n,B=t&&n;return o.createElement(c.A,{palette:r},o.createElement(s.dk,{size:a,className:v},I&&o.createElement(l,{isBestBoth:B,isBest:I,size:a}),!T&&o.createElement(s.vX,{isBest:I,isBestBoth:B,size:a},o.createElement(s.GW,{isBest:I,isBestBoth:B,size:a,isBlurred:b&&C},H)),I&&"lg"===a&&!y&&o.createElement(s.dy,{isBestBoth:B,isBest:I},!T&&t&&o.createElement("div",null," ",L(d.BestNewMusic)," "),!T&&n&&o.createElement("div",null," ",L(d.BestNewReissue)),T&&o.createElement("div",null," ",L(d.BestNewTrack)))))};h.propTypes={enableBlur:r().bool,hideLabel:r().bool,isBestNewMusic:r().bool,isBestNewReissue:r().bool,isTrackReview:r().bool,palette:r().oneOf(["standard","inverted"]),rating:r().number,shouldTrackImpression:r().bool,size:r().oneOf(["lg","sm"]),scoreSubscriptionUrl:r().string,trackingClassName:r().string,trackingSubject:r().string};const y=h},26066:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(1165),d=n(53499),c=n(74804),m=n(26938),u=n(74679),p=n(71886),g=n(90114),h=n(29912);const y=new l.default({a:c.Nl,blockquote:({props:e})=>({type:m.A,props:e}),bluesky:({props:e})=>({type:u.A,props:e}),reddit:({meta:e,...t})=>({type:p.A,props:{...t,...JSON.parse(decodeURIComponent(e))}}),ceros:c.cg,h2:c.Zy,tiktok:c.qW,"inline-embed":g.A}),b=({body:e=["div"],className:t,children:n,shouldDisableMaxWidth:o=!1,shouldEnableDataJourneyHook:a=!0,shouldEnableFullArticleInverted:r})=>{s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(d.G.RENDER,{name:"Body"})},[]);const l={className:i()("body",t),shouldDisableMaxWidth:o,shouldEnableFullArticleInverted:r};return a&&(l["data-journey-hook"]="client-content"),s.createElement(h.q,{...l,"data-testid":"BodyWrapper"},n||y.convert(e))};b.propTypes={body:r().array,children:r().node,className:r().string,shouldDisableMaxWidth:r().bool,shouldEnableDataJourneyHook:r().bool,shouldEnableFullArticleInverted:r().bool};const f=b},26348:(e,t,n)=>{n.d(t,{B9:()=>d,DO:()=>l,Fw:()=>s,rR:()=>c});var o=n(38267),i=n(26865),a=n(96472),r=n(89662);const s=o.Ay.section.withConfig({displayName:"StandardNavigationSearchBarWrapper"})` display: grid; border: none; background: ${(0,i.HK)("colors.foundation.menu-bg.collapsed")}; `,l=(0,o.Ay)(r.default.SingleLine).withConfig({displayName:"SearchInput"})` input { margin-top: 0; border-color: ${(0,i.HK)("colors.interactive.base.black")}; background: ${(0,i.HK)("colors.interactive.base.white")}; padding-left: 2rem; height: 2.5rem; &::placeholder { color: ${(0,i.HK)("colors.interactive.base.dark")}; } } @media (min-width: ${a.LO.lg}) { margin-bottom: 0; } `,d=o.Ay.form.withConfig({displayName:"SearchForm"})` padding-right: ${(0,i.Kq)(2)}; padding-left: ${(0,i.Kq)(2)}; `,c=o.Ay.label.withConfig({displayName:"SearchLabel"})` position: relative; > svg { position: absolute; transform: translate(10px, -52px); fill: ${(0,i.HK)("colors.interactive.base.black")}; @media (min-width: ${a.LO.lg}) { transform: translate(10px, -36px); } } .icon-search { margin-top: 8px; } `},26805:(e,t,n)=>{n.d(t,{Rb:()=>f,Yq:()=>A,cF:()=>E,ct:()=>C,ec:()=>S,gf:()=>x,h3:()=>k,i$:()=>w,kH:()=>L,l8:()=>$});var o=n(38267),i=n(88154),a=n(77630),r=n(71862),s=n(43068),l=n(12972),d=n(7228),c=n(42667),m=n(82752),u=n(23311),p=n(36185),g=n(99906),h=n(26865),y=n(96472);const b=o.AH` --top-story-header-height: ${(0,h.Kq)(7)}; ${(0,h.H4)(y.LO.lg)} { --top-story-header-height: ${({shouldShow100AnnivLogo:e})=>(0,h.Kq)(e?8:9)}; --top-story-header-height-fixed: ${(0,h.Kq)(8)}; --top-story-nav-bar-height: ${(0,h.Kq)(6)}; } `,f=(0,o.Ay)(i.tH).withConfig({displayName:"ToutsHeader"})``;f.defaultProps={as:"div",colorToken:"colors.discovery.body.white.description",invertedColorToken:"colors.discovery.body.black.description",typeIdentity:"typography.definitions.discovery.description-core"};const w=(0,o.Ay)(i.tH).withConfig({displayName:"ToutsBody"})` & > ul { display: grid; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; gap: ${(0,h.Kq)(1)}; } `;w.defaultProps={as:"div",colorToken:"colors.discovery.body.white.description",invertedColorToken:"colors.discovery.body.black.description",typeIdentity:"typography.definitions.discovery.description-core"};const $=(0,o.Ay)(i.tH).withConfig({displayName:"ToutsContainer"})` text-align: center; ${(0,h.L7)(`${g.VS.md}px`)} { padding: ${(0,h.Kq)(3)}; } ${(0,h.H4)(`${g.Vh.lg}px`)} { margin-top: ${(0,h.Kq)(3)}; padding-top: 0; padding-bottom: ${(0,h.Kq)(3)}; } ${f} { margin-bottom: ${(0,h.Kq)(1)}; } `;$.defaultProps={as:"div",colorToken:"colors.discovery.body.white.description",invertedColorToken:"colors.discovery.body.black.description",typeIdentity:"typography.definitions.discovery.description-feature"};const v=o.AH` height: auto; min-height: unset; ${(0,h.H4)(`${g.Vh.lg}px`)} { min-height: ${(0,h.Kq)(68)}; } ${(0,h.H4)(`${g.Vh.xl}px`)} { min-height: ${(0,h.Kq)(75)}; ${({theme:e})=>"transparent"!==e.palette?o.AH` height: calc( 100vh - ( var(--top-story-header-height) + var(--top-story-nav-bar-height, 0px) ) ); `:o.AH` height: calc(100vh - var(--top-story-nav-bar-height, 0px)); `}; } ${(0,h.L7)(`${g.VS.md}px`)} { ${c.T3} { min-height: 167vw; } } `,C={overlay:(e,t={})=>o.AH` --top-story-layout: 'overlay'; ${v} ${c.T3} { padding-top: ${(0,h.Kq)(13)}; } ${(0,h.L7)(`${g.VS.md}px`)} { justify-content: stretch; ${c.T3} { padding-bottom: ${(0,h.Kq)(3)}; } ${u.C} { position: relative; grid-area: content; } } ${(0,h.H4)(`${g.Vh.lg}px`)} { ${c.T3} { padding-bottom: ${({additionalContent:e})=>e?0:(0,h.Kq)(3)}; } } ${(0,h.H4)(`${g.Vh.xl}px`)} { ${c.T3} { padding-bottom: ${({additionalContent:e})=>e?(0,h.Kq)(3):(0,h.Kq)(6)}; } ${"start"===t?.textAlign&&`\n && ${c.T3} {\n padding-top: ${(0,h.Kq)(21)};\n }\n `} ${({additionalContent:e})=>"start"===t?.textAlign?`\n && ${u.C} {\n &::after {\n background: ${e?"linear-gradient(to bottom, rgba(0, 0, 0, .95) 0, transparent 65%, rgba(0, 0, 0, .85) 100%);":"linear-gradient(to bottom, rgba(0, 0, 0, .95) 0, transparent 100%);"};\n }\n }\n `:""} } ${c.T3} { ${({presetCategory:e,additionalContent:t})=>"TEXT_ONLY"===e&&!t&&o.AH` padding-bottom: 0; `} } `,stack:(e,t={})=>o.AH` --top-story-layout: 'stack'; ${t?.image?.inset&&o.AH` ${$} { padding-top: 0; } `} `,"side-by-side":(e,t={})=>o.AH` --top-story-layout: 'side-by-side'; ${(0,h.H4)(`${g.Vh.lg}px`)} { ${t?.image?.inset&&o.AH` --smart-item-asset-h-inset: ${(0,h.Kq)(3)}; --smart-item-asset-v-inset: ${(0,h.Kq)(3)}; `} ${c.T3} { ${({additionalContent:e})=>e&&o.AH` padding-bottom: 0; `}; } ${$} { padding-right: ${(0,h.Kq)(3)}; padding-left: ${(0,h.Kq)(3)}; } } ${(0,h.H4)(`${g.Vh.xl}px`)} { ${$} { padding-right: ${(0,h.Kq)(6)}; padding-left: ${(0,h.Kq)(6)}; } } ${c.T3}, ${$} { margin: 0 auto; } ${v} `},k=o.Ay.div.withConfig({displayName:"TopStoryHeroAdWrapper"})` grid-area: ad; ${({addPaddingToCrownAd:e})=>e&&`\n ${p.IO} {\n padding: ${(0,h.Kq)(1)} 0;\n\n ${(0,h.H4)(y.LO.md)} {\n padding: ${(0,h.Kq)(2)} 0;\n }\n }\n `} `,x=o.Ay.div.withConfig({displayName:"TopStoryHeader"})` ${b}; position: ${({headerIsFixed:e})=>e?"fixed":"sticky"}; top: 0; left: 0; grid-area: header; z-index: ${y.KV.persistentTopLayer+1}; width: 100%; ${(0,h.H4)(y.LO.lg)} { ${a.Rx} { padding: ${(0,h.Kq)(2)} 0; height: ${({navIsFixed:e})=>e?"var(--top-story-header-height-fixed)":"var(--top-story-header-height)"}; } ${({shouldShow100AnnivLogo:e})=>!e&&o.AH` ${a.BI} ${d.BF} { transition: width 0.3s cubic-bezier(0, 0.59, 0.32, 1); width: ${({navIsFixed:e})=>e?(0,h.Kq)(16):(0,h.Kq)(21.626)}; height: ${({navIsFixed:e})=>e&&(0,h.Kq)(3.75)}; } `} &&& { ${a.qQ} { height: ${({navIsFixed:e})=>e?"var(--top-story-header-height-fixed)":"var(--top-story-header-height)"}; } } } ${s.s} { position: relative; max-height: var(--top-story-header-height); } ${a.xQ} { box-shadow: none; ${({isDrawerOpen:e})=>e&&o.AH` & { transition: none; } `} ${(0,h.L7)(`${g.VS.lg}px`)} { ${a.FT} { transition: none; ${a.Ci} ${d.BF} { ${({shouldShow100AnnivLogo:e})=>e&&o.AH` & { width: ${(0,h.Kq)(19.438)}; height: ${(0,h.Kq)(1.75)}; } `} } } } } ${({headerTheme:e})=>"transparent"===e&&o.AH` background-image: linear-gradient(rgba(0, 0, 0, 0.5), transparent); `} && ${a.xQ} { border-bottom: none; ${a.Rx}, ${a.FT} { border-bottom: ${({navIsFixed:e,theme:t})=>e?`\n 1px solid;\n ${(0,h._o)(t,"border-bottom-color","colors.foundation.menu.dividers")};\n `:"none"}; } ${a.Zp} { ${r.vs} { box-shadow: none; } ${r.vs}::before { content: none; } } } `,E=o.Ay.div.withConfig({displayName:"TopStoryComponent"})` grid-area: content; `,A=(0,o.Ay)(a.mS).withConfig({displayName:"TopStoryPrimaryLinks"})` grid-area: navigation; `,S=o.Ay.div.withConfig({displayName:"TopStoryWrapper"})` ${b}; ${({headerIsFixed:e,palette:t})=>e?`margin-top: ${"transparent"===t?0:"var(--top-story-header-height)"};`:`margin-top: ${"transparent"===t?"calc(-1 * var(--top-story-header-height))":0};`} display: grid; grid-template-areas: 'content' 'navigation'; grid-template-rows: repeat(12, auto); ${({navIsFixed:e})=>e&&o.AH` margin-bottom: var(--top-story-nav-bar-height, 0px); `} ${({palette:e,theme:t})=>"standard"===e&&o.AH` ${E} { border-bottom: 1px solid; ${(0,h._o)(t,"border-bottom-color","colors.interactive.base.border")}; } `} && { ${A} { display: none; grid-row: -1; align-items: center; transition: height 0.3s cubic-bezier(0, 0.59, 0.32, 1); z-index: ${y.KV.persistentBottomLayer}; height: var(--top-story-nav-bar-height); overflow: hidden; ${({theme:e})=>(0,h._o)(e,"background-color","colors.foundation.menu-bg.collapsed")}; ${({navIsFixed:e})=>e&&o.AH` position: fixed; left: 0; top: var(--top-story-header-height-fixed); width: 100%; `} ${l.M8}, ${l.SE} { ${({theme:e})=>(0,h._o)(e,"color","colors.foundation.collapsed-menu.nav-link.default")}; } ${({shouldCollapseNavbar:e})=>e&&o.AH` border-bottom: none; height: 0; `} } ${(0,h.H4)(y.LO.lg)} { border-bottom: 1px solid; ${({theme:e})=>(0,h._o)(e,"border-bottom-color","colors.foundation.menu.dividers")}; ${A} { display: flex; } } } overflow: hidden; `,L=o.DU` ${m.od} { .drawer__overlay { &.drawer__overlay--opening { transition: none; } &.drawer__overlay--closing { transition: none; } &.drawer__overlay--opening.drawer--overlay-color-white { background-color: rgba( ${(0,h.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 1 ); } } .drawer--megamenu-topstory { padding-top: ${({drawerTop:e})=>o.AH`calc(${e}px + ${(0,h.Kq)(6)})`}; } } `},26811:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(5556),i=n.n(o),a=n(96540),r=n(38798),s=n(26348),l=n(73767);const d=(0,n(72267).defineMessages)({placeholder:{id:"SearchBar.placeholder",defaultMessage:'Search for "stir-fry"',description:"Placeholder text for search input"}}),c=({intl:e,onSubmit:t,placeholder:n,queryParameters:o,searchLink:i,shouldSetFocus:r=!1})=>{const c=n||e.formatMessage(d.placeholder);return(0,a.useEffect)(()=>{if(r){const e=document.querySelector("input[type=search]");e?.focus()}},[r]),a.createElement(s.Fw,null,a.createElement(s.B9,{name:"search-form",action:i||"/search",method:"GET",onSubmit:t},a.createElement(s.rR,null,a.createElement(s.DO,{type:"search",placeholder:c,name:"q",formName:"search-form",label:"search",hideLabel:!0}),o&&Object.keys(o).map(e=>a.createElement("input",{type:"hidden",name:e,value:o[e],key:e})),a.createElement(l.A,null))))};c.propTypes={intl:i().object,onSubmit:i().func,placeholder:i().string,queryParameters:i().object,searchLink:i().string,shouldSetFocus:i().bool},c.displayName="SearchBar";const m=(0,r.Ay)(c)},26830:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(90090);const i={trackGoogleSignInAttempt:e=>{(0,o.W8)("login-attempt",{...e,user:{account:{authProvider:"google"}}})},trackGoogleSignInFailure:e=>{(0,o.W8)("login-fail",{...e,user:{account:{authProvider:"google"}}})}}},26890:(e,t,n)=>{n.d(t,{q:()=>o});const o=(e,t,n,o)=>0===t||("delta"===o?Math.abs(t-n)>100:!e)},26891:(e,t,n)=>{n.d(t,{EX:()=>g,GN:()=>u,Nb:()=>m,Zn:()=>c,a4:()=>$,kU:()=>d,qD:()=>h,vs:()=>p,zO:()=>y});var o=n(38267),i=n(37384),a=n(26865),r=n(99906),s=n(76955),l=n(96472);const d=o.Ay.div.withConfig({displayName:"GalleryRecircGridWrapper"})` display: grid; grid-template-rows: repeat(3, auto); grid-row-gap: ${(0,a.Kq)(2)}; margin: auto; max-width: ${(0,a.Kq)(54)}; height: auto; ${(0,a.L7)(`${r.VS.lg}px`)} { max-width: unset; } ${({isEndOfPageRecirc:e})=>e&&o.AH` grid-template-rows: repeat(1, 1fr); grid-row-gap: 0; justify-content: end; max-width: unset; ${(0,a.L7)(`${r.VS.lg}px`)} { grid-template-columns: repeat(1, 1fr); } `} `,c=o.Ay.div.withConfig({displayName:"GalleryRecircContentWrapper"})` ${({isEndOfPageRecirc:e})=>e&&o.AH` display: flex; justify-self: center; ${(0,a.L7)(`${r.VS.lg}px`)} { width: 100%; } ${(0,a.H4)(`${r.VS.lg+1}px`)} { transition: width 0.3s ease; border: 1px solid ${(0,a.HK)("colors.consumption.body.standard.divider")}; border-right: none; border-radius: ${(0,a.Kq)(2)}; border-top-right-radius: 0; border-bottom-right-radius: 0; width: ${(0,a.Kq)(29)}; &:hover { width: ${(0,a.Kq)(33)}; } } `} `,m=(0,o.Ay)(s.vm).withConfig({displayName:"GalleryRecircTitle"})` padding-right: ${(0,a.Kq)(2)}; ${({isEndOfPageRecirc:e})=>e&&o.AH` margin-bottom: ${(0,a.Kq)(1)}; ${(0,a.L7)(`${r.VS.lg}px`)} { grid-column: 1/8; grid-row: 2; padding-right: 0; text-align: center; } `} `;m.defaultProps={as:"h3",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const u=(0,o.Ay)(s.vm).withConfig({displayName:"GalleryRecircViewGalleryCTA"})` :hover { text-decoration: underline; } `;u.defaultProps={as:"span",colorToken:"colors.interactive.base.brand-primary",typeIdentity:"typography.definitions.foundation.link-primary"};const p=(0,o.Ay)(s.c7).withConfig({displayName:"GalleryRecircTextWrapper"})` display: grid; grid-column: 1/9; grid-row: 1/-1; flex-direction: column; align-items: start; gap: ${(0,a.Kq)(1)}; ${({isEndOfPageRecirc:e})=>e&&o.AH` gap: 0; display: flex; grid-column: 1/-1; grid-row: 3; justify-content: center; ${(0,a.L7)(`${r.VS.lg}px`)} { grid-column: 1/8; grid-row: 2; align-items: center; } ${(0,a.Xm)(l.LO.md,`${r.VS.lg}px`)} { align-items: start; width: 100%; } `} `,g=(0,o.Ay)(i.A).withConfig({displayName:"GalleryRecircImage"})` display: grid; grid-column: 9/-1; grid-row: 1/3; justify-content: flex-end; margin: auto; img { max-width: ${(0,a.Kq)(15.5)}; overflow: hidden; ${(0,a.L7)(`${r.VS.lg}px`)} { max-width: ${(0,a.Kq)(11.25)}; } } ${({isEndOfPageRecirc:e})=>e&&o.AH` grid-column: 1/-1; grid-row: 2; justify-content: start; margin-bottom: ${(0,a.Kq)(2)}; img { max-width: ${(0,a.Kq)(21)}; } ${(0,a.L7)(`${r.VS.lg}px`)} { display: grid; grid-column: 8/-1; grid-row: 1/-1; justify-content: end; margin: auto; margin-left: ${(0,a.Kq)(1)}; overflow: hidden; justify-items: center; img { max-width: ${(0,a.Kq)(15.5)}; } } `} `,h=(0,o.Ay)(s.vm).withConfig({displayName:"GalleryEndRecircHeading"})` grid-column: 1/-1; grid-row: 1; padding-bottom: ${(0,a.Kq)(2)}; ${(0,a.L7)(`${r.VS.lg}px`)} { padding-bottom: ${(0,a.Kq)(1)}; } ${(0,a.Xm)(l.LO.md,`${r.VS.lg}px`)} { width: 100%; } `;h.defaultProps={as:"h4",colorToken:"colors.consumption.body.standard.display-texture",typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const y=(0,o.Ay)(s.vm).withConfig({displayName:"GalleryMidRecircHeading"})` grid-column: 1/-1; grid-row: 1; text-align: center; ${(0,a.L7)(`${r.VS.lg}px`)} { padding: 0 ${(0,a.Kq)(6)}; } `;y.defaultProps={as:"h4",colorToken:"colors.consumption.body.standard.display-texture",typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const b=`\n ${(0,a.H4)(`${r.VS.lg+1}px`)} {\n border: none;\n\n & > ${p} > ${h} {\n display: none;\n }\n }\n`,f=o.AH` ${(0,a.L7)(`${r.VS.lg}px`)} { grid-template-rows: repeat(3, auto); padding-right: ${(0,a.Kq)(2)}; padding-left: ${(0,a.Kq)(2)}; width: 100%; max-width: 100%; justify-items: center; & > ${h} { display: none; } ${({showCropViewOnMobile:e})=>!e&&"\n grid-template-rows: repeat(3, auto);\n "}; ${({showCropViewOnMobile:e})=>e&&o.AH` border-right: 1px solid ${(0,a.HK)("colors.consumption.body.standard.divider")}; border-bottom: none; border-top-right-radius: ${(0,a.Kq)(2)}; border-bottom-left-radius: 0; border-bottom-right-radius: 0; `} } `,w=o.AH` grid-gap: 0; grid-template-rows: repeat(4, auto); padding: ${(0,a.Kq)(3)} ${(0,a.Kq)(4)}; max-width: ${(0,a.Kq)(29)}; height: auto; ${b} ${f} `,$=(0,o.Ay)(s.c7).withConfig({displayName:"GalleryRecircContent"})` display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, 1fr); grid-row-gap: ${(0,a.Kq)(1)}; align-items: center; border: 1px solid ${(0,a.HK)("colors.consumption.body.standard.divider")}; border-radius: ${(0,a.Kq)(2)}; cursor: pointer; padding: ${(0,a.Kq)(2)} ${(0,a.Kq)(3)}; text-decoration: none; ${({isEndOfPageRecirc:e})=>e&&w} `;$.defaultProps={as:"a"}},26938:(e,t,n)=>{n.d(t,{A:()=>p});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(32485),l=n.n(s),d=n(35103),c=n(53499);const m=({attributes:e,children:t,citeUrl:n,className:o,dangerousAttribution:i,hasParagraphMargin:a,hasSmallMargins:s=!1,hasTopBorder:m=!0,shouldUseBodyColor:u=!1})=>(r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(c.G.RENDER,{name:"BlockquoteEmbed"})},[]),r.createElement(d.On,{...e,cite:n,hasTopBorder:m,hasSmallMargins:s,className:l()(o,"blockquote-embed"),"data-testid":"blockquote-wrapper"},r.createElement(d.gr,{hasParagraphMargin:a,shouldUseBodyColor:u,hasTopBorder:m,className:"blockquote-embed__content"},t),i&&r.createElement(d.y,null,r.createElement(d.yW,{dangerouslySetInnerHTML:{__html:i}}))));m.propTypes={attributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]).isRequired,citeUrl:a().string,className:a().string,dangerousAttribution:a().string,hasParagraphMargin:a().bool,hasSmallMargins:a().bool,hasTopBorder:a().bool,shouldUseBodyColor:a().bool},m.displayName="BlockquoteEmbed";const u=m,p=(0,o.y)(u,"BlockquoteEmbed")},26995:(e,t,n)=>{n.d(t,{A:()=>$});var o=n(5556),i=n.n(o),a=n(96540),r=n(38267),s=n(76955),l=n(96472),d=n(26865);const c=r.Ay.div.withConfig({displayName:"DiscoveryPullQuoteContainer"})` ${({theme:e})=>(0,d._o)(e,"background-color","colors.discovery.body.white.background")}; padding: ${(0,d.Kq)(6)} ${(0,d.Kq)(2)}; @media (min-width: ${l.LO.md}) { padding: ${(0,d.Kq)(7)} ${(0,d.Kq)(2)}; } text-align: center; `,m=r.Ay.div.withConfig({displayName:"DiscoveryPullQuoteRubric"})` ${({theme:e})=>(0,d.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; ${({theme:e})=>(0,d._o)(e,"color","colors.consumption.lead.standard.context-signature")}; `,u=r.Ay.div.withConfig({displayName:"DiscoveryPullQuoteHead"})` margin-top: ${(0,d.Kq)(2)}; `,p=(0,r.Ay)(s.sH).withConfig({displayName:"DiscoveryPullQuoteHeadLink"})``;p.defaultProps={colorStaticLinkToken:"colors.consumption.body.standard.subhed",typeToken:"typography.definitions.consumptionEditorial.display-medium"};const g=(0,r.Ay)(s.sH).withConfig({displayName:"DiscoveryPullQuoteHeadLink"})``;g.defaultProps={colorStaticLinkToken:"colors.consumption.body.standard.subhed",hasUnderline:!1,typeToken:"typography.definitions.consumptionEditorial.display-medium"};const h=r.Ay.div.withConfig({displayName:"DiscoveryPullQuoteDek"})` ${({theme:e})=>(0,d.Gg)(e,"typography.definitions.consumptionEditorial.description-feature")}; ${({theme:e})=>(0,d._o)(e,"color","colors.consumption.body.standard.body")}; margin-top: ${(0,d.Kq)(4)}; @media (min-width: ${l.LO.md}) { margin-top: ${(0,d.Kq)(5)}; } `,y=r.Ay.div.withConfig({displayName:"DiscoveryPullQuoteSource"})` margin-top: ${(0,d.Kq)(5)}; @media (min-width: ${l.LO.md}) { margin-top: ${(0,d.Kq)(6)}; } `,b=(0,r.Ay)(s.sH).withConfig({displayName:"DiscoveryPullQuoteSourceLink"})``;b.defaultProps={colorStaticLinkToken:"colors.consumption.body.standard.subhed",typeToken:"typography.definitions.globalEditorial.context-title"};var f=n(53499);const w=({className:e,dangerousDek:t,dangerousHed:n,rubric:o,source:i,url:r,hasUnderline:s=!0})=>(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(f.G.RENDER,{name:"DiscoveryPullQuote"})},[]),a.createElement(c,{className:e,"data-testid":"discovery-pullquote-container"},o&&a.createElement(m,{dangerouslySetInnerHTML:{__html:o}}),a.createElement(u,null,s?a.createElement(p,{"data-testid":"discovery-pullquote-head-link",href:r,dangerouslySetInnerHTML:{__html:n}}):a.createElement(g,{"data-testid":"discovery-pullquote-head-div",href:r,dangerouslySetInnerHTML:{__html:n}})),t&&a.createElement(h,{dangerouslySetInnerHTML:{__html:t}}),i&&a.createElement(y,null,a.createElement(b,{"data-testid":"discovery-pullquote-source-link",href:r,dangerouslySetInnerHTML:{__html:i}}))));w.propTypes={className:i().string,dangerousDek:i().string,dangerousHed:i().string.isRequired,hasUnderline:i().bool,rubric:i().string,source:i().string,url:i().string.isRequired},w.displayName="DiscoveryPullQuote";const $=w},27529:(e,t,n)=>{n.d(t,{BG:()=>A,Eq:()=>I,GS:()=>N,QR:()=>L,S7:()=>S,Tb:()=>D,U8:()=>F,bX:()=>B,gj:()=>P,hF:()=>H,i9:()=>M,lr:()=>q,oX:()=>E,ug:()=>K,uu:()=>R,x2:()=>_,xh:()=>O});var o=n(38267),i=n(1123),a=n(66769),r=n(7744),s=n(64836),l=n(8807),d=n(43786),c=n(1521),m=n(96472),u=n(5676),p=n(12378),g=n(30259),h=n(74898),y=n(34751),b=n(24283),f=n(7228),w=n(15956),$=n(40653),v=n(76955),C=n(26865),k=n(89085),x=n(52590);const E=(0,o.Ay)(d.A).withConfig({displayName:"ContentFooterNewsletterForm"})``,A=o.Ay.div.withConfig({displayName:"ContentFooterContributorSpotlightWrapper"})` ${(0,k.universalGridCore)()} ${(0,i.aU)("padding")} ${$.E} { :nth-of-type(1) { grid-column: 2 / span 6; } :nth-of-type(2) { grid-column: 2 / span 6; } } ${p.O} { display: block; } ${b.Qk} { border-top: ${(0,C.Kq)(.125)} solid; border-bottom: ${(0,C.Kq)(.125)} solid ${(0,C.HK)("colors.foundation.menu.dividers")}; padding: ${(0,C.Kq)(4)} 0 ${(0,C.Kq)(2)} 0; } ${g.o9} { border-bottom: ${(0,C.Kq)(.125)} solid; padding: 0 0 ${(0,C.Kq)(4)} 0; } ${u.zv} { border-bottom: none; } ${u.hO} { grid-column: 1 / -1; padding-right: 0; padding-left: 0; ${({isAdRail:e})=>!e&&`\n ${(0,C.H4)(m.LO.md)} {\n grid-column: 3 / span 8;\n }`} ${({isAdRail:e})=>e&&`\n ${(0,C.H4)(m.LO.lg)} {\n grid-column: 2 / span 6;\n }`} } ${u.k6} { padding-bottom: 0; } ${g.z4} { margin-top: ${(0,C.Kq)(2)}; ${(0,C.H4)(m.LO.lg)} { margin-top: 0; } } ${h.e} { margin-bottom: 0; border-bottom: ${(0,C.Kq)(.125)} solid; padding-bottom: ${(0,C.Kq)(2)}; } ${y.F5} { padding-bottom: 0; } ${w.e8} { ${(0,C.H4)(m.LO.lg)} { margin-top: ${(0,C.Kq)(4)}; border-top: none; padding-top: 0; } } `,S=o.Ay.div.withConfig({displayName:"ContentFooterBottom"})` .newsletter-subscribe-form { padding: ${(0,C.Kq)(6)} ${(0,C.Kq)(4)}; ${(0,C.H4)(m.LO.md)} { padding: ${(0,C.Kq)(8)} ${(0,C.Kq)(4)}; } } .newsletter-subscribe-form__hed { padding-bottom: 0; } `,L=(0,o.Ay)(l.A).withConfig({displayName:"ContentFooterMagazineDisclaimer"})` ${({theme:e})=>(0,C.Gg)(e,"typography.definitions.consumptionEditorial.description-embed")} margin: ${(0,C.Kq)(-1)} 0 ${(0,C.Kq)(4)} 0; color: ${(0,C.HK)("colors.consumption.body.standard.body")}; a:hover, a:link, a:visited { text-decoration: underline; color: ${(0,C.HK)("colors.consumption.body.standard.body")}; } `,T=o.AH` margin-top: ${(0,C.Kq)(6)}; ${(0,C.H4)(m.LO.md)} { margin-top: ${(0,C.Kq)(8)}; } `,N=(0,o.Ay)(s.A).withConfig({displayName:"ContentFooterRelated"})` ${(0,C.R9)("hasFullBleedRecircBackground",!0,`\n background-color: ${(0,C.HK)("discovery.lead.secondary.background")};\n `)} ${({hasTopSpacingFooterRelated:e})=>e&&T} .recirc-list--high-density { ${(0,C.Xm)("0px",m.LO.md)} { margin-top: ${(0,C.Kq)(2)}; } } .rubric.summary-item__rubric a.rubric__link { text-decoration: none; } `,H=o.Ay.div.withConfig({displayName:"ContentFooterRelatedVideo"})` border-top: 2px solid ${(0,C.HK)("colors.discovery.body.white.divider")}; border-bottom: 2px solid ${(0,C.HK)("colors.discovery.body.white.divider")}; padding: ${(0,C.Kq)(2)} 0; `,I=(0,o.Ay)(v.vm).withConfig({displayName:"ContentFooterRelatedVideoHeader"})` ${({theme:e})=>(0,C.Gg)(e,"typography.definitions.discovery.subhed-section-tertiary")}; color: ${(0,C.HK)("colors.discovery.body.white.heading")}; `,B=(0,o.Ay)(c.A).withConfig({displayName:"ContentFooterRelatedPlayer"})` margin: ${(0,C.Kq)(2)} 0; `,O=(0,o.Ay)(v.vm).withConfig({displayName:"ContentFooterRelatedVideoTitle"})` ${({theme:e})=>(0,C.Gg)(e,"typography.definitions.discovery.hed-bulletin-primary")}; color: ${(0,C.HK)("colors.discovery.body.white.heading")}; `,_=(0,o.Ay)(v.vm).withConfig({displayName:"ContentFooterRelatedVideoDek"})` ${({theme:e})=>(0,C.Gg)(e,"typography.definitions.discovery.description-core")}; margin-top: ${(0,C.Kq)(1)}; color: ${(0,C.HK)("colors.discovery.body.white.description")}; `,K=(0,o.Ay)(r.A).withConfig({displayName:"ContentFooterTagCloud"})` grid-column: 1 / span 4; ${(0,C.H4)(m.LO.md)} { grid-column: 3 / span 8; } `,P=(0,o.Ay)(a.A).withConfig({displayName:"ContentFooterContributorBio"})` .contributor-bio__content { color: ${(0,C.HK)("colors.consumption.body.standard.body-deemphasized")}; } .contributor-bio__responsive-image { margin-right: ${(0,C.Kq)(3)}; .responsive-image, ${f.BF} { all: initial; max-width: 90px; } } `,D=o.Ay.div.withConfig({displayName:"ReadMoGrid"})` ${(0,i.VO)()} ${(0,i.aU)("padding")} display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--grid-gap); margin: 0 auto; width: 100%; max-width: none; row-gap: var(--grid-gap); ${(0,C.H4)(m.LO.md)} { grid-template-columns: repeat(12, 1fr); } `,q=o.Ay.div.withConfig({displayName:"ReadMoGridColumn"})` grid-column: 1 / span 4; ${(0,C.H4)(m.LO.md)} { grid-column: 3 / span 8; } `,M=o.Ay.div.withConfig({displayName:"ContentFooterNewsletterContentWrapper"})` ${({isNewsletterFullBleed:e})=>e&&o.AH` &:first-child { background: ${(0,C.HK)("colors.consumption.lead.standard.background")}; .newsletter-subscribe-form { grid-column: 1 / -1; ${(0,C.H4)(m.LO.md)} { grid-column: 3 / span 8; } ${(0,C.H4)(m.LO.lg)} { grid-column: 4 / span 6; } } } `} ${({isNewsletterFullBleed:e,newsletterPalette:t})=>e&&"inverted"===t&&o.AH` &:first-child { background-color: ${(0,C.HK)("colors.foundation.footer.bg")}; } `} ${$.A} > :not(.grid-layout__content) { display: contents; } `,R=o.Ay.div.withConfig({displayName:"ContentFooterWrapper"})` @media print { .content-footer__bottom { display: none; } .content-footer { .grid { display: block; } } } ${E}.newsletter-slice { /* help with spacing around the newsletter slice in content footer */ margin-top: ${(0,C.Kq)(5)}; margin-bottom: ${(0,C.Kq)(-5)}; } &.content-footer--mobile-truncated { ${E} { display: none; } } .contributors, .linkstack, ${H}, ${L}, ${E} { grid-column: 1 / -1; ${(0,C.H4)(m.LO.md)} { grid-column: 3 / span 8; &.grid--item.grid-columns--start-2-end-10 { grid-column-end: 10; grid-column-start: 2; } } } ${({isNarrow:e})=>e&&`\n .contributors,\n .linkstack,\n ${H},\n ${L},\n ${E},\n ${q},\n ${K} {\n ${(0,C.H4)(m.LO.md)} {\n grid-column: 4 / span 6;\n }\n }\n `} `,F=(o.Ay.div.withConfig({displayName:"ContentWrapperMarginGrid"})` ${(0,k.universalGridCore)()} `,(0,o.Ay)(x.A).withConfig({displayName:"ContentFooterSeriesNavigation"})` padding-top: ${(0,C.Kq)(6)}; `)},27985:(e,t,n)=>{n.d(t,{$K:()=>C,JL:()=>h,K5:()=>$,RQ:()=>x,S4:()=>u,TX:()=>m,WM:()=>E,_J:()=>p,_U:()=>k,c1:()=>w,iN:()=>g,nT:()=>y,o_:()=>c,pM:()=>b,rH:()=>v,vT:()=>f});var o=n(38267),i=n(26865),a=n(96472),r=n(1123),s=n(70698),l=n(73730),d=n(76955);const c=o.Ay.header.withConfig({displayName:"SiteHeaderWrapper"})` position: sticky; top: 0; right: 0; left: 0; transition: all 500ms ease; z-index: ${(0,i.fl)("persistentTopLayer")}; background-color: ${({theme:e})=>(0,i.HK)(e,(0,s.iq)(e)?"colors.consumption.lead.inverted.background":"colors.background.adContainer.special")}; ${({hasContentHeaderLogo:e,additionalCSS:t})=>e?"\n top: 0px;\n ":t} `,m="56px",u="64px",p="112px",g="136px",h=o.Ay.div.withConfig({displayName:"SiteHeaderStickyWrapper"})` ${({hasSEOSupport:e})=>e&&"\n position: relative;\n z-index: 999;\n "} transition: all 500ms ease; border-top: ${({hasTopRule:e,theme:t})=>e?`${(0,i.Kq)(.5)} solid ${(0,i.HK)(t,(0,s.l1)(t,(0,s.iq)(t)?"colors.consumption.lead.inverted.background":"colors.foundation.menu-bg.collapsed"))}}`:"none"}; box-shadow: ${({shouldHideShadow:e})=>e?"none":"-2px 2px 5px rgba(0, 0, 0, 0.1);"}; background-color: ${({theme:e})=>(0,i.HK)(e,(0,s.l1)(e,(0,s.iq)(e)?"colors.consumption.lead.inverted.background":"colors.foundation.menu-bg.collapsed"))}; width: 100%; ${e=>e.topRuleAdditionalCSS}; `,y=o.AH` top: 0; `,b=o.AH` top: ${e=>-(e.headerHeight+5)}px; `,f=(o.Ay.div.withConfig({displayName:"SiteHeaderStickyEmpty"})` height: ${e=>e.headerHeight}px; `,o.Ay.div.withConfig({displayName:"SiteHeaderNavLeft"})` display: flex; grid-area: nav-left; justify-self: self-start; align-items: center; `),w=(0,o.Ay)(d.c7).withConfig({displayName:"SiteHeaderLogo"})` grid-area: logo; justify-self: self-start; align-self: center; transition: all 500ms ease; width: 100%; height: 100%; @media (min-width: ${a.LO.md}) { ${({isCenteredOnDesktop:e})=>e&&"\n /** \n * Making this span the entire width of the viewport\n * minus the padding applied for the SiteHeaderTop\n * to center align it irrespective of the utility links or market switcher being present\n */ \n width: calc(100vw - calc(2 * var(--grid-margin)));\n text-align: center;\n transition: all 500ms ease, width 0s ease, text-align 0s ease;\n "} } a { display: inline-block; height: 100%; } .responsive-asset, .responsive-asset picture { height: 100%; } .responsive-asset { overflow: visible; } img { object-fit: contain; height: 100%; } `,$=o.Ay.div.withConfig({displayName:"SiteHeaderTop"})` ${(0,r.VO)()} display: grid; position: relative; grid-template-areas: 'logo utility'; grid-template-columns: minmax(${(0,i.Kq)(17)}, 1fr) auto; grid-template-rows: ${(0,i.Kq)(5)}; gap: ${(0,i.Kq)(2)}; ${f} { display: none; } @media (max-width: ${a.LO.md}) { gap: ${(0,i.Kq)(1)}; } @media (min-width: ${a.LO.lg}) { gap: ${(0,i.Kq)(1)}; grid-template-areas: 'nav-left logo utility'; grid-template-columns: min-content auto ${(0,i.Kq)(34)}; ${f} { display: flex; } ${w} { grid-column-end: -1; grid-column-start: 1; } } align-content: center; align-items: center; transition: all 500ms ease; border-bottom: ${({theme:e})=>`1px solid ${(0,i.HK)(e,"colors.foundation.menu.dividers")}`}; height: ${u}; ${(0,r.aU)("padding")}; ${({hasContentHeaderLogo:e,additionalCSS:t})=>e?"\n ":t} /* This is done to add proper color to Close icon in Utility Navigation in Site Header */ .icon-close > g { stroke: ${({theme:e})=>(0,i.HK)(e,"colors.interactive.base.light")}; } `,v=o.Ay.div.withConfig({displayName:"SiteHeaderUtility"})` display: flex; grid-area: utility; justify-self: self-end; align-items: center; align-self: start; `,C=(0,o.Ay)(l.A.Utility).withConfig({displayName:"SiteHeaderButton"})` z-index: 1; margin-right: -${(0,i.Kq)(1)}; margin-left: ${(0,i.Kq)(1)}; cursor: pointer; padding: 0; height: ${(0,i.Kq)(5)}; line-height: 0; &, &:active, &:hover, &:focus { border: 0; background-color: transparent; } svg { fill: ${({theme:e})=>(0,i.HK)(e,(0,s.l1)(e,(0,s.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default"))}; &:active, &:focus, &:hover { fill: ${({theme:e})=>(0,i.HK)(e,(0,s.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.collapsed-menu.nav-link.hover")}; } } `,k=o.AH` ${({hasTopRule:e})=>e&&`\n @media (min-width: ${a.LO.md}) {\n border-top-width: ${(0,i.Kq)(1)};\n }\n\n @media (min-width: ${a.LO.lg}) {\n border-top-width: ${(0,i.Kq)(1.5)};\n }\n `} `,x=o.AH` grid-template-rows: ${(0,i.Kq)(5)}; `,E=o.AH` @media (min-width: ${a.LO.md}) { grid-template-rows: ${(0,i.Kq)(7)}; height: ${p}; } @media (min-width: ${a.LO.lg}) { grid-template-rows: ${(0,i.Kq)(9)}; height: ${g}; } `},28934:(e,t,n)=>{n.d(t,{GK:()=>g,MZ:()=>p,Qy:()=>h,ab:()=>m,bM:()=>y,u0:()=>u});var o=n(38267),i=n(73275),a=n(7228),r=n(76955),s=n(96472),l=n(50531),d=n(26865),c=n(16800);const m=o.Ay.section.withConfig({displayName:"TickerWrapper"})` ${"\n display: flex;\n align-items: center;\n justify-content: center;\n"} ${({layoutPlacement:e})=>"text-below-mobile-only"===e&&`\n flex-direction: column;\n @media (min-width: ${s.LO.md}) {\n flex-direction: row;\n }`} ${({applyStyleForLandscapeImg:e})=>e&&`\n @media (max-width: ${s.LO.md}) {\n flex-direction: column;\n }\n `} ${({hasBorders:e,isInverted:t,theme:n})=>e&&`\n border-width: 1px 0;\n border-style: solid;\n ${(0,d._o)(n,"border-color","colors.discovery.body.white.divider")};\n `} ${({hasSolidBorders:e,theme:t})=>e&&`border-width: 4px 0px;\n border-style: solid;\n ${(0,d._o)(t,"border-color","colors.interactive.base.black")};`} ${({isInverted:e,theme:t})=>e&&`\n ${(0,d._o)(t,"background","colors.consumption.lead.inverted.heading-background")};\n `} padding: ${(0,d.Kq)(2)} 0; @media (min-width: ${s.LO.md}) { padding: ${(0,d.Kq)(1)} 0; } min-height: 88px; ${({marginTopType:e,hasConsistentSpacing:t,theme:n})=>"small"===e?t&&"0px"!==(0,c.F)(n,"gap-md")?`margin-bottom: ${(0,d.Kq)(0)};`:`margin-top: ${(0,d.Kq)(1)};`:"large"===e?t&&"0px"!==(0,c.F)(n,"gap-md")?`margin-bottom: ${(0,d.Kq)(0)};`:`margin-top: ${(0,d.Kq)(4)};`:"none"===e?"margin-top: 0;":""} ${({hasMinimalBottomMargin:e})=>e&&`margin-bottom: ${(0,d.Kq)(2)};`} ${({hideTopBorder:e})=>e&&"\n border-top: 0px\n"} ${({hideBottomBorder:e})=>e&&"\n border-bottom: 0px\n"} ${({isSpecialTheme:e,theme:t})=>e&&`\n ${(0,d._o)(t,"background","colors.consumption.body.special.bg-photo")};\n `} `,u=o.Ay.span.withConfig({displayName:"TickerText"})` ${"\n display: flex;\n align-items: center;\n justify-content: center;\n"} flex-direction: column; align-items: flex-start; ${({applyStyleForLandscapeImg:e})=>e&&`\n @media (max-width: ${s.LO.md}){\n align-items: center;\n gap: 0;\n };`} @media (min-width: ${s.LO.md}) { flex-direction: row; gap: 5px; align-items: center; } ${({layoutPlacement:e})=>"side-by-side"===e?`\n margin-left: ${(0,d.Kq)(3)};\n gap: ${(0,d.Kq)(1)};\n @media (min-width: ${s.LO.md}) {\n margin-left: 0;\n }\n `:"dense"===e?"\n display: block;\n ":""} ${({applyStyleForLandscapeImg:e})=>e&&`\n @media (max-width: ${s.LO.md}) {\n &{\n ${l.eM}{\n margin-top: ${(0,d.Kq)(2)};\n }\n }\n }\n `} ${({theme:e})=>(0,d.Gg)(e,"typography.definitions.foundation.link-primary")} ${({applyStyleForNoImage:e})=>e&&`\n @media (max-width: ${s.LO.md}) {\n & {\n ${l.eM} {\n margin: 0 auto;\n }\n }\n }\n `} `,p=(0,o.Ay)(i.A).withConfig({displayName:"TickerImage"})` position: relative; cursor: pointer; height: auto; && { ${a.BF} { vertical-align: baseline; } } ${({imagePosition:e})=>"right"===e&&`\n order: 2;\n margin-top: ${(0,d.Kq)(2)};\n\n @media (min-width: ${s.LO.md}) {\n margin-top: 0;\n margin-left: ${(0,d.Kq)(2)};\n }\n `}; ${({imagePosition:e,layoutPlacement:t})=>"left"===e&&"dense"===t&&`\n margin-right: ${(0,d.Kq)(2)};\n `}; ${({imagePosition:e})=>"left"===e&&`\n @media (min-width: ${s.LO.md}) {\n margin-right: ${(0,d.Kq)(2)};\n }\n `}; ${({hasRoundedImage:e})=>e&&`\n border-radius: ${(0,d.Kq)(1)}\n `}; ${({imageMinWidth:e})=>e&&`\n min-width: ${e}px;\n `} `,g=(0,o.Ay)(r.vm).withConfig({displayName:"TickerHed"})` ${({layoutPlacement:e})=>"text-below-mobile-only"===e&&`\n text-align: center;\n margin: ${(0,d.Kq)(2)} 0 ${(0,d.Kq)(2)} 0;\n @media (min-width: ${s.LO.md}) {\n margin: 0 ${(0,d.Kq)(2)} 0 ${(0,d.Kq)(2)};\n }\n `} ${({isLink:e,layoutPlacement:t})=>e&&"dense"===t?`margin-right: ${(0,d.Kq)(.5)}`:e?"":`\n @media (min-width: ${s.LO.md}) {\n margin-right: ${(0,d.Kq)(2)};\n }\n `}; ${({isInverted:e,theme:t})=>e?(0,d._o)(t,"color","colors.consumption.lead.inverted.heading"):(0,d._o)(t,"color","colors.consumption.lead.standard.heading")}; ${({isLink:e,layoutPlacement:t})=>e&&"dense"!==t&&`\n padding-bottom: 0;\n @media (min-width: ${s.LO.md}) {\n padding-right: 0;\n }\n `} ${({typeTokenSet:e,theme:t})=>"utility"===e?(0,d.Gg)(t,"typography.definitions.utility.body"):""}; @media (max-width: ${s.LO.md}) { ${({applyStyleForLandscapeImg:e})=>e&&`margin-top: ${(0,d.Kq)(2)};`} ${({applyStyleForNoImage:e})=>e&&"margin-top: 0;"} } `;g.defaultProps={as:"span",colorToken:"colors.discovery.body.white.heading",typeIdentity:"typography.definitions.discovery.description-feature"};const h=(0,o.Ay)(r.sH).withConfig({displayName:"TickerLinkWrapper"})``,y=(0,o.Ay)(r.sH).withConfig({displayName:"TickerLink"})` ${({typeTokenSet:e,theme:t})=>"utility"===e?(0,d.Gg)(t,"typography.definitions.utility.button-utility"):(0,d.Gg)(t,"typography.definitions.discovery.description-feature")} &:visited, &:link { ${({isInverted:e,theme:t})=>e?(0,d._o)(t,"color","colors.interactive.base.white"):(0,d._o)(t,"color","colors.interactive.base.brand-primary")}; } &:hover { ${({isInverted:e,theme:t})=>e?(0,d._o)(t,"color","colors.interactive.base.brand-primary"):(0,d._o)(t,"color","colors.interactive.base.dark")}; } &:focus { ${({isInverted:e,theme:t})=>e?(0,d._o)(t,"color","colors.interactive.base.brand-primary"):(0,d._o)(t,"color","colors.interactive.base.dark")}; } @media (max-width: ${s.LO.md}) { ${({applyStyleForNoImage:e})=>e&&"margin: 0 auto;"} } `},29421:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(47655),i=n(18401);i.A.MultipleSelect=(0,o.y)(i.A,"Multiple Select",{},{isMultiSelect:!0,isSearchable:!1}),i.A.MultipleSelectSearchableWithMenuControls=(0,o.y)(i.A,"Multiple Select Searchable with Menu Controls",{},{isMultiSelect:!0,isSearchable:!0,hasCount:!0,hasMenuControls:!0,shouldEnableVirtusoDropdown:!0,shouldMatchStringsStartingWith:!0}),i.A.MultipleSelectWithMenuControls=(0,o.y)(i.A,"Multiple Select Searchable with Menu Controls",{},{isMultiSelect:!0,isSearchable:!1,hasCount:!0,hasMenuControls:!0,shouldEnableVirtusoDropdown:!0}),i.A.Searchable=(0,o.y)(i.A,"Searchable",{},{isSearchable:!0}),i.A.Static=(0,o.y)(i.A,"Static",{},{isSearchable:!1});const a=i.A},29693:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({noStories:{id:"Multipackages.NoStories",defaultMessage:"No stories found for your search",description:"No stories label"},exploreInstead:{id:"Multipackages.ExploreInstead",defaultMessage:"Explore these instead",description:"Explore instead label"}})},29912:(e,t,n)=>{n.d(t,{q:()=>u});var o=n(38267),i=n(75163),a=n(26865),r=n(96472),s=n(41108),l=n(63665),d=n(89085),c=n(38860),m=n(65881);const u=o.Ay.div.withConfig({displayName:"BodyWrapper"})` ${(0,a.Gg)("typography.definitions.consumptionEditorial.body-core")} padding: 0; max-width: ${r.LO.xxl}; color: ${(0,a.HK)("colors.consumption.body.standard.body")}; ${(0,a.R9)("shouldDisableMaxWidth",!0,`@media (min-width: ${r.LO.fullBleed}) {\n max-width: none;\n }`)} hr { clear: both; margin: ${(0,a.Kq)(5,"px")} auto; } h1, h2, h3, h4, h5, h6 { margin: ${(0,a.Kq)(2,"px")} 0; color: ${(0,a.HK)("colors.consumption.body.standard.subhed")}; } h2, h3, h4, h5 { margin-top: ${(0,a.Kq)(5,"px")}; } h1, ${l.mn}, h2 { ${(0,a.Gg)("typography.definitions.consumptionEditorial.subhed-break-primary")} } h1, h2, h3, h4, h5, h6, p { ${({shouldEnableFullArticleInverted:e,theme:t})=>e&&`color: ${(0,a.HK)(t,"colors.consumption.body.inverted.subhed")}`} } h3 { ${(0,a.Gg)("typography.definitions.consumptionEditorial.subhed-break-secondary")} } h4, h5, h6 { ${(0,a.Gg)("typography.definitions.consumptionEditorial.body-core")} font-weight: bold; } hr { border: 0; background: ${(0,a.HK)("colors.consumption.body.standard.divider")}; height: 2px; } .body__container > p, .container--body-inner > p, .container--full-inner > p { margin: ${(0,a.Kq)(2,"px")} 0; } a:not(.button) { transition: color 200ms ease; } a:not(.button):not(.text):not(.link) { ${({theme:e})=>(0,a.pe)(e,"colors.consumption.body.standard.link","colors.consumption.body.standard.link-hover")} } p { a, strong, em { line-height: inherit; } } ol, ul { margin: ${(0,a.Kq)(2,"px")} 0 ${(0,a.Kq)(2,"px")} ${(0,a.Kq)(4)}; padding: 0; li { margin-left: ${(0,a.Kq)(2)}; } } && { ${s.$m} { display: block; margin: 0 auto ${(0,a.Kq)(3,"px")} auto; padding: 0; width: 100%; img { width: 100%; height: auto; } &.callout--group-item-1 { margin: 0 auto ${(0,a.Kq)(5,"px")} auto; } ${({shouldEnableFullArticleInverted:e,theme:t})=>e&&`\n ${c.OZ}, ${c.eu} {\n color: ${(0,a._o)(t,"color","colors.consumption.lead.inverted.description")};\n }`} } } .heading-h1, .heading-h2, .heading-h3, .heading-h4, .heading-h5, .heading-h6 { margin: ${(0,a.Kq)(2,"px")} 0; color: ${(0,a.HK)("colors.consumption.body.standard.subhed")}; } .heading-h2, .heading-h3, .heading-h4, .heading-h5 { margin-top: ${(0,a.Kq)(5,"px")}; } .heading-h1, .heading-h2 { ${(0,a.Gg)("typography.definitions.consumptionEditorial.subhed-break-primary")} } .heading-h3 { ${(0,a.Gg)("typography.definitions.consumptionEditorial.subhed-break-secondary")} } .heading-h1, .heading-h2, .heading-h3, .heading-h4, .heading-h5, .heading-h6 { ${({shouldEnableFullArticleInverted:e,theme:t})=>e&&`color: ${(0,a.HK)(t,"colors.consumption.body.inverted.subhed")}`} } .heading-h4 { ${(0,a.Gg)("typography.definitions.consumptionEditorial.subhed-aux-primary")} } .heading-h5, .heading-h6 { ${(0,a.Gg)("typography.definitions.consumptionEditorial.subhed-aux-secondary")} } &.body__container { p.has-dropcap { &::first-letter { ${a.eI}; } &.has-dropcap__lead-standard-heading { &::first-letter { padding: 0.1em 0.05em 0 0; color: var(${i.pT.Color.TextHeading}); } } } } .container--full, .container--body { ${(0,d.universalGridCore)()} } .container + .container { margin-top: ${(0,a.Kq)(-2)}; } .container--full-inner { grid-column: 1 / -1; } .container--body-inner { grid-column: 1 / -1; @media (min-width: ${r.LO.md}) { grid-column: 3 / span 8; } } .container:first-of-type { .body__container > *:first-child, .container--body-inner > *:first-child, .container--full-inner > *:first-child { margin-top: 0; *:first-child { margin-top: 0; } } } .lead-in-text-callout { ${(0,a.Gg)("typography.definitions.discovery.hed-bulletin-primary")} display: inline-block; margin-top: 50px; text-transform: uppercase; letter-spacing: 1.5px; } .lead-in-text-callout:first-of-type { margin-top: 0; } ${({shouldEnableFullArticleInverted:e,theme:t})=>e&&`\n ${m.Q} {\n a {\n background: white;\n }\n span {\n color: black;\n }\n \n a {\n &:hover {\n border-color: ${(0,a.HK)(t,"colors.consumption.body.inverted.link")};\n border-width: 2px;\n border-style: solid;\n background-color: ${(0,a.HK)(t,"colors.consumption.body.inverted.link")};\n }\n &:active {\n border-color: ${(0,a.HK)(t,"colors.consumption.body.inverted.link")};\n border-width: 2px;\n border-style: solid;\n background-color: ${(0,a.HK)(t,"colors.consumption.body.inverted.link")};\n }\n }\n span {\n &:hover {\n color: ${(0,a.HK)(t,"colors.interactive.base.white")};\n }\n &:active {\n color: ${(0,a.HK)(t,"colors.interactive.base.white")};\n }\n }\n } `} `},29946:(e,t,n)=>{n.d(t,{O:()=>i,v:()=>a});const o=(0,n(60663).Y)(()=>window.localStorage),i=e=>JSON.parse(o.getItem(e)),a=(e,t)=>o.setItem(e,JSON.stringify(t))},30050:(e,t,n)=>{n.d(t,{A:()=>E});var o=n(96540),i=n(5556),a=n.n(i),r=n(73275),s=n(38267),l=n(26865),d=n(96472),c=n(70698),m=n(76955),u=n(1123),p=n(39832),g=n(20320);const h=e=>`\n color: ${(0,l.HK)(e,"colors.consumption.body.special.link")};\n`,y=s.Ay.div.withConfig({displayName:"LinkBannerMarquee"})` ${(0,u.VO)()} display: flex; align-items: center; ${(0,u.aU)("padding")}; height: 100%; ${({isCentered:e})=>e&&`\n @media (min-width: ${d.LO.md}) {\n justify-content: center;\n }`} ${({isCentered:e,showMobileCompactView:t})=>e&&t&&`\n @media (max-width: ${d.LO.md}) {\n justify-content: center;\n }`} `,b=(0,s.Ay)(g.pX).withConfig({displayName:"LinkBannerMarqueeImage"})` flex-shrink: 0; img { height: inherit; max-height: ${(0,l.Kq)(6)}; @media (min-width: ${d.LO.md}) { max-height: ${(0,l.Kq)(7)}; } } ${({hideMobile:e})=>e&&`&& {\n @media (max-width: ${d.LO.md}) {\n display: none;\n }\n }\n `} `,f=s.Ay.div.withConfig({displayName:"LinkBannerMarqueeMobileCompactView"})` display: flex; align-items: center; @media (max-width: ${d.LO.md}) { display: flex; flex-direction: column; align-items: center; margin-left: ${(0,l.Kq)(1)}; > span { text-align: center; white-space: normal; } > a { margin: 0; margin-top: ${(0,l.Kq)(1)}; } } `,w=(0,s.Ay)(m.vm).withConfig({displayName:"LinkBannerMarqueeHed"}).attrs(({theme:e})=>({colorToken:(0,c.iq)(e)?"colors.consumption.lead.inverted.heading":"colors.discovery.body.white.context-signature"}))` white-space: nowrap; > a { ${({theme:e})=>(0,l.Gg)(e,"typography.definitions.discovery.description-feature")}; text-decoration: none; ${({theme:e})=>(0,l._o)(e,"color",(0,c.iq)(e)?"colors.consumption.lead.inverted.heading":"colors.discovery.body.white.heading")}; &:hover, &:focus { text-decoration: underline; } } ${({hasHedLinkColor:e,theme:t})=>e&&h(t)} @media (min-width: ${d.LO.md}) { margin-left: ${(0,l.Kq)(1)}; } `;w.defaultProps={as:"span",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const $=(0,s.Ay)(m.vm).withConfig({displayName:"LinkBannerMarqueeDek"}).attrs(({theme:e})=>({colorToken:(0,c.iq)(e)?"colors.consumption.lead.inverted.heading":"colors.discovery.body.white.context-tertiary"}))` margin-left: ${(0,l.Kq)(1)}; white-space: nowrap; @media (max-width: ${d.LO.md}) { display: none; } `,v=s.AH` white-space: nowrap; `;$.defaultProps={as:"span",typeIdentity:"typography.definitions.globalEditorial.context-tertiary"};const C=(0,s.Ay)(m.sH).withConfig({displayName:"LinkBannerMarqueeLink"}).attrs(({theme:e,hasCustomBackground:t})=>{let n,o;return t?(n="colors.consumption.body.special.link",o="colors.consumption.body.special.link"):(0,c.iq)(e)?(o="colors.consumption.lead.inverted.link",n="colors.consumption.lead.inverted.link"):(n="colors.foundation.collapsed-menu.nav-link.hover",o="colors.foundation.collapsed-menu.nav-link.default"),{colorSecondaryLinkToken:n,colorStaticLinkToken:o}})` flex-grow: 1; margin-left: ${(0,l.Kq)(1)}; text-align: ${({isResponsive:e})=>e?"center":"right"}; ${({isResponsive:e})=>!e&&v} ${({hasCustomBackground:e,theme:t})=>e&&h(t)} &::after { content: '\\A0\\BB'; } &:hover, &:focus { text-decoration: none; } @media (min-width: ${d.LO.md}) { flex-grow: 0; ${v} } ${({hasUnderline:e})=>e&&"&::after {\n content: '';\n }\n &:link {\n text-decoration: underline;\n }"} `;C.defaultProps={as:p.A,linkStyle:"navigation",typeToken:"typography.definitions.foundation.link-primary"};const k=(0,s.Ay)(m.sH).withConfig({displayName:"LinkBannerMarqueeImageLink"})``;k.defaultProps={as:p.A,linkStyle:"navigation"};const x=({hasCustomBackground:e=!1,hasHedLinkColor:t=!1,hasUnderline:n=!1,hideMobileMarqueeImage:i=!0,isCentered:a=!0,isResponsive:r=!1,linkBannerData:s={hed:"",dek:"",image:{},links:[]},showMobileCompactView:l=!1,onLinkClick:d})=>{const{hed:c,dek:m,image:u,links:p,hasNativeImgLazyLoading:g}=s,h=p?.[0];return o.createElement(y,{"data-testid":"LinkBannerMarquee",isCentered:a,showMobileCompactView:l},(u?.segmentedSources||u?.sources)&&o.createElement(k,{href:h.url,onClick:e=>{d(e,h.url,"marquee_logo",h.text)}},o.createElement(b,{hideMobile:i,...u,hasNativeImgLazyLoading:g})),o.createElement(({condition:e,wrapper:t,children:n})=>e?t(n):n,{condition:l,wrapper:e=>o.createElement(f,{"data-testid":"LinkBannerMarqueeMobileCompactView"},e)},c&&o.createElement(w,{"data-testid":"LinkBannerMarqueeHed",dangerouslySetInnerHTML:{__html:c},hasHedLinkColor:t}),m&&o.createElement($,{"data-testid":"LinkBannerMarqueeDek",dangerouslySetInnerHTML:{__html:m}}),h&&o.createElement(C,{href:h.url,onClick:e=>{d(e,h.url,"marquee",h.text)},hasUnderline:n,hasCustomBackground:e,isResponsive:r,hasHedLinkColor:t,dangerouslySetInnerHTML:{__html:h.text}})))};x.propTypes={hasCustomBackground:a().bool,hasHedLinkColor:a().bool,hasUnderline:a().bool,hideMobileMarqueeImage:a().bool,isCentered:a().bool,isResponsive:a().bool,linkBannerData:a().shape({hed:a().string,dek:a().string,image:a().shape(r.A.propTypes),links:a().arrayOf(a().shape({url:a().string,text:a().string,isExternal:a().bool})),bannerType:a().oneOf(["marquee","link-list","visual-link-banner"]),tracking:a().shape({trackingIdentifier:a().string,attributes:a().shape({id:a().string,url:a().string,type:a().string,source:a().string})})}),showMobileCompactView:a().bool,onLinkClick:a().func};const E=x},30259:(e,t,n)=>{n.d(t,{eG:()=>p,o9:()=>g,z4:()=>h});var o=n(38267),i=n(26865),a=n(99906),r=n(96472),s=n(35864),l=n(22539),d=n(63637),c=n(277),m=n(68116),u=n(36211);const p=(0,o.Ay)(l.A).withConfig({displayName:"FeaturedStoriesList"})``,g=o.Ay.section.withConfig({displayName:"FeaturedStoriesGrid"})` ${(0,i.L7)(`${a.VS.md}px`)} { display: none; } ${p} { padding: 0; ${m.tP} { ${(0,i.H4)(r.LO.md)} { width: ${(0,i.Kq)(15,"px")}; height: ${(0,i.Kq)(11.25,"px")}; } width: ${(0,i.Kq)(10,"px")}; height: ${(0,i.Kq)(7.5,"px")}; } ${d.Rp} { display: grid; grid-template-areas: 'image content'; grid-template-columns: ${(0,i.Kq)(7.5)} auto; margin-bottom: ${(0,i.Kq)(2)}; padding-bottom: ${(0,i.Kq)(2)}; gap: ${(0,i.Kq)(4)}; ${(0,i.H4)(r.LO.md)} { gap: ${(0,i.Kq)(10)}; margin-bottom: ${(0,i.Kq)(1)}; } :last-of-type { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; } } ${m.Tr} { padding-top: 0; ${u.Y} { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.discovery.hed-core-secondary")}; } ${m.IB} { margin: 0; } ${c.ir} { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")}; display: flex; align-items: center; padding-top: ${(0,i.Kq)(.625,"px")}; } } } `,h=(0,o.Ay)(s.default).withConfig({displayName:"FeaturedStoriesSectionTitle"})` ${(0,i.H4)(r.LO.md)} { margin-top: ${(0,i.Kq)(5)}; border-bottom-width: 1px; } h2 { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; justify-self: start; width: 444.8px; height: 18px; color: ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.context-tertiary")}; } ${(0,i.L7)(r.LO.md)} { margin-bottom: ${(0,i.Kq)(1)}; } ${(0,i.H4)(r.LO.md)} { margin-bottom: ${(0,i.Kq)(2)}; } `},30668:(e,t,n)=>{n.d(t,{Hc:()=>$,Il:()=>m,Lu:()=>v,NY:()=>T,Nh:()=>f,S9:()=>w,Vr:()=>d,Wq:()=>A,dK:()=>C,nd:()=>L,rF:()=>u,ro:()=>c,s1:()=>p,vB:()=>N});var o=n(38221),i=n.n(o),a=n(26865),r=n(52009),s=n(30271);let l;const d="MixedMediaCarouselContent",c="MixedMediaCarouselItem",m=1,u=2*m*a.iL,p=500,g=e=>e?.current,h=e=>e?.current?.querySelectorAll(`.${d} div.${c}`),y=e=>({carouselEl:g(e),carouselItemEls:h(e)||[]}),b=(e,t)=>{if(e?.includes(":")){const n=e.split(":").map(Number),o=t*n[0]/n[1];if(isFinite(o))return`${o}px`}return null},f=(e,t)=>{if(!e)return{sm:null,lg:null};const n=(e=>{const t={};if(e){const{segmentedSources:n,sources:o={}}=e,i=n??(0,r.I)(o),{height:a,width:s,aspectRatio:l}=i.sm[0]||{},{height:d,width:c,aspectRatio:m}=i.lg[0]||{};t.sm=l&&"master"!==l?l:`${s}:${a}`,t.lg=m&&"master"!==m?m:`${c}:${d}`}return t})(e);return{sm:b(n?.sm,t),lg:b(n?.lg,p)}},w=e=>()=>{clearTimeout(l),l=setTimeout(()=>e(),50)},$=e=>i()(e,300),v=e=>{const t=g(e);return!!t&&!(0,s.vY)(t)},C=e=>{const t=g(e);return!!t&&(!(t.scrollWidth<=t.offsetWidth)&&!(0,s.I0)(t))},k=(e,t)=>e&&e.offsetLeft>=t.scrollLeft,x=(e,t)=>{if(e){let n=u/2;return e.nextElementSibling||(n=0),e.offsetLeft+e.offsetWidth-n<=t.scrollLeft+t.offsetWidth}return!1},E=(e,t)=>k(e,t)&&x(e,t),A=(e,t,n)=>{const{carouselEl:o,carouselItemEls:i}=y(e);if(i.length>0){let i=((e,t=0)=>{const{carouselEl:n,carouselItemEls:o}=y(e);if((0,s.vY)(n))return 0;for(let e=t;e{let n=t;const{carouselEl:o,carouselItemEls:i}=y(e);if((0,s.I0)(o))return i.length-1;for(let e=t;ee.scrollTo({left:t,behavior:"smooth"}),L=(e,t=0)=>{const{carouselEl:n,carouselItemEls:o}=y(e),i=o[t].offsetLeft-n.offsetWidth-u;S(n,i)},T=(e,t=0)=>{const{carouselEl:n,carouselItemEls:o}=y(e),i=o[t],a=i?.offsetLeft;S(n,a)},N=e=>e.some(e=>Object.prototype.hasOwnProperty.call(e,"contentType")&&"cneembed"===e.contentType)?400:250},31243:(e,t,n)=>{n.d(t,{Be:()=>$,Bl:()=>g,LN:()=>w,Lc:()=>f,O3:()=>v,R2:()=>p,YQ:()=>h,_e:()=>b,bo:()=>m,hQ:()=>c,sy:()=>d,vI:()=>y,zp:()=>C});var o=n(38267),i=n(73275),a=n(26865),r=n(96472),s=n(30668),l=n(75163);const d=o.Ay.div.withConfig({displayName:"MixedMediaCarousel"})` position: relative; width: 100%; `,c=o.Ay.div.withConfig({displayName:"MixedMediaCarouselWrapper"})` width: 100%; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; scroll-behavior: smooth; &::-webkit-scrollbar { display: none; } `,m=o.Ay.div.withConfig({displayName:"MixedMediaCarouselContent"})` display: flex; justify-content: safe center; min-height: 250px; `,u=`calc(100% - ${s.rF}px)`,p=o.Ay.div.withConfig({displayName:"MixedMediaCarouselItem"})` display: flex; flex-direction: column; flex-shrink: 0; margin: 0 ${(0,a.Kq)(s.Il)}; max-width: ${u}; ${({assetWidth:e})=>e&&e.sm&&`width: ${e.sm}`}; @media (min-width: ${r.LO.md}) { ${({assetWidth:e})=>e&&e.lg&&`width: ${e.lg}`}; } ${({isCNEVideo:e,assetHeightSmBasedOnContent:t})=>e&&t&&`\n &&& {\n /* div[data-testid="RowWrapper"] & { put rules here to target only the slideshow in 'fullbleed' mode } */\n /* force 9x16 video size */\n width: calc(${t}px * 9 / 16);\n \n @media (min-width: ${r.LO.md}) {\n width: calc(${s.s1}px * 9 / 16);\n } \n }\n }\n `}; &:first-of-type { margin-left: 0; } &:last-of-type { margin-right: 0; } figure { margin: auto 0; } video { width: auto; max-width: 100%; ${({assetHeightSmBasedOnContent:e})=>e&&`max-height: ${e}px`}; } @media (min-width: ${r.LO.md}) { video { height: ${s.s1}px; max-height: inherit; } } `,g=o.Ay.a.withConfig({displayName:"MixedMediaCarouselImageLink"})` ${({hasHoverEffect:e})=>e&&a.nd} `,h=o.Ay.div.withConfig({displayName:"MixedMediaCarouselImageWrapper"})` display: flex; position: relative; align-items: center; justify-content: center; background-color: ${(0,a.HK)("colors.consumption.body.standard.bg-photo")}; ${({assetHeightSmBasedOnContent:e})=>e&&`height: ${e}px`}; @media (min-width: ${r.LO.md}) { height: ${s.s1}px; } `,y=(0,o.Ay)(i.A).withConfig({displayName:"MixedMediaCarouselImage"})` ${({assetHeightSmBasedOnContent:e})=>e&&`max-height: ${e}px`}; ${({assetWidth:e})=>e&&e.sm&&"width: 100%"}; @media (min-width: ${r.LO.md}) { max-height: ${s.s1}px; ${({assetWidth:e})=>e&&e.lg&&"width: 100%"}; } img { width: 100%; ${({assetHeightSmBasedOnContent:e})=>e&&`max-height: ${e}px`}; @media (min-width: ${r.LO.md}) { max-height: ${s.s1}px; } } &::after { width: 100%; height: 100%; } .responsive-clip { width: auto; vertical-align: middle; } `,b=o.Ay.div.withConfig({displayName:"MixedMediaCarouselTextWrapper"})` align-items: center; margin-top: ${(0,a.Kq)(2)}; padding: 0 ${(0,a.Kq)(1)}; min-width: 100%; text-align: ${({textAlign:e})=>e}; font-size: 13px; p { display: inline; text-align: center; } `,f=o.Ay.span.withConfig({displayName:"MixedMediaCarouselTextDek"})` ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.consumptionEditorial.description-core")} display: inline-block; margin: 0 ${(0,a.Kq)(1)} 0 0; vertical-align: top; color: ${(0,a.HK)("colors.discovery.body.light.description")}; font-size: 16px; p { display: inline; } `,w=o.Ay.span.withConfig({displayName:"MixedMediaCarouselTextCaption"})` ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.globalEditorial.context-secondary")} display: block; margin: 0 0 0.3rem 0; vertical-align: top; color: ${(0,a.HK)("colors.consumption.body.standard.body-deemphasized")}; p { display: inline; } `,$=o.Ay.div.withConfig({displayName:"MixedMediaCarouselFooter"})` display: flex; align-items: flex-start; justify-content: flex-end; padding-top: 0.75rem; `,v=o.Ay.button.withConfig({displayName:"MixedMediaCarouselButton"})` margin-left: ${(0,a.Kq)(1)}; background: transparent; padding-right: ${(0,a.Kq)(1)}; padding-left: ${(0,a.Kq)(1)}; width: ${(0,a.Kq)(4)}; height: ${(0,a.Kq)(4)}; &:disabled svg { fill: ${({theme:e})=>(0,a.HK)(e,"colors.interactive.base.light")}; } ${({direction:e})=>"back"===e&&o.AH` svg { transform: rotate(180deg); transform-origin: center; } `}; ${({direction:e})=>"forward"===e&&o.AH` svg { transform-origin: center; } `}; `,C=o.Ay.div.withConfig({displayName:"MixedMediaCarouselButtonWrapper"})` display: flex; width: ${(0,a.Kq)(11)}; .icon-arrow { fill: var(${l.pT.Color.Icon}); } &:disabled { .icon-arrow { fill: var(${l.pT.Color.IconDisabled}); } } `},33193:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({showAllPhotos:{id:"ContentHeader.ShowAllPhotos",defaultMessage:"Show all Photos",description:"Call to action to view entire photo gallery"},readReviews:{id:"ContentHeader.ReadReviews",defaultMessage:"Read Reviews",description:"Call to action to read reviews"}})},33735:(e,t,n)=>{n.d(t,{A:()=>v});var o=n(49870),i=n.n(o),a=n(11542),r=n(15356),s=n(32485),l=n.n(s),d=n(5556),c=n.n(d),m=n(96540),u=n(49741),p=n(38267),g=n(26865);const h=p.Ay.aside.withConfig({displayName:"PaywallBarWrapper"})` position: fixed; right: 0; bottom: 0; left: 0; transform: translateY(100%); background: ${(0,g.HK)("colors.background.adContainer.special")}; width: 100%; height: auto; ${({isVisible:e})=>e&&"\n transform: translateY(0);\n "}; .consumer-marketing-unit__slot--paywall-bar-call-to-action { height: 0; } @media print { display: none; } `;var y=n(53499);const b=function(e){m.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(y.G.RENDER,{name:"PaywallBar"})},[]);const{className:t,paywall:n,position:o="paywall-bar-call-to-action",visibility:i}=e,a=n.isMuted||i.footer;return m.createElement(h,{className:l()("paywall-bar",t),isVisible:!a},m.createElement(u.A,{className:"paywall-bar__consumer-marketing-unit",position:o,aria:{"aria-live":"polite",...a&&{"aria-hidden":!0}}}))};b.propTypes={className:c().string,paywall:c().object,position:c().string,visibility:c().shape({footer:c().bool})};const f=b,w=(0,a.z5)("paywall"),$=(0,r.qj)({name:"footer",className:"site-footer"}),v=i()([w,$])(f)},34520:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(47655),i=n(22514);i.A.Left=(0,o.y)(i.A,"Left",{animation:"slide-right",align:"left"}),i.A.Right=(0,o.y)(i.A,"Right",{animation:"slide-left",align:"right"}),i.A.SiteHeaderDrawer=(0,o.y)(i.A,"SiteHeaderDrawer",{animation:"none",align:"center",increasedTopPosition:!0}),i.A.Bottom=(0,o.y)(i.A,"Bottom",{animation:"slide-up",align:"bottom"});const a=i.A},34751:(e,t,n)=>{n.d(t,{F5:()=>g,MU:()=>h,lV:()=>b,sZ:()=>y});var o=n(38267),i=n(26865),a=n(96472),r=n(66657),s=n(72662),l=n(277),d=n(73730),c=n(6613),m=n(1123),u=n(36211),p=n(68116);const g=(0,o.Ay)(r.A).withConfig({displayName:"CarouselRow"})` margin: 0 auto; overflow: auto; ${({theme:e})=>"inverted"===e.palette?`\n ${(0,i._o)(e,"background","colors.discovery.body.black.background")};\n `:"special"===e.palette?`\n ${(0,i._o)(e,"background","colors.consumption.lead.special.background")};\n @media (max-width: ${a.LO.md}) {\n padding: ${(0,i.Kq)(4)} 0 ${(0,i.Kq)(3)} ${(0,i.Kq)(3)};\n }\n @media (min-width: ${a.LO.md}) {\n padding: ${(0,i.Kq)(6)} 0 ${(0,i.Kq)(3)} ${(0,i.Kq)(8)};\n } \n `:`\n ${(0,m.VO)()}\n padding-left: var(--grid-margin);\n padding-right: var(--grid-margin);\n @media (min-width: ${a.LO.xxl}) {\n ${(0,m.aU)("padding")};\n max-width: ${(0,i.Kq)(200)};\n }\n ${(0,i._o)(e,"background","colors.discovery.body.white.background")};\n `} ${({theme:e,shouldApplyGridSpacing:t})=>"inverted"===e.palette&&t&&`\n @media (max-width: ${a.LO.md}) {\n padding: ${(0,i.Kq)(4)} 0 ${(0,i.Kq)(3)} ${(0,i.Kq)(3)};\n }\n @media (min-width: ${a.LO.md}) {\n padding: ${(0,i.Kq)(6)} ${(0,i.Kq)(6)} ${(0,i.Kq)(3)} ${(0,i.Kq)(8)};\n }\n `} ${({shouldEnableChannelFeatures:e})=>e&&`\n${(0,i.H4)(a.LO.md)} {\n display: none;\n }\n grid-column: 1/ span 12;\n grid-row: 3;\n padding-left: 0;\n padding-right: 0;\n padding-top: ${(0,i.Kq)(5)};\n `} ${s.aF} { ${({theme:e,shouldApplyGridSpacing:t})=>"inverted"!==e.palette||t?"":`${(0,m.VO)()}\n margin: ${(0,i.Kq)(4)} auto;\n padding-left: var(--grid-margin);\n padding-right: var(--grid-margin);\n @media (min-width: ${a.LO.xxl}) {\n ${(0,m.aU)("padding")};\n max-width: ${(0,i.Kq)(200)};\n }`}; ${({shouldApplyGridSpacing:e})=>e&&`@media (min-width: ${a.LO.xxl}) {\n padding-right: ${(0,i.Kq)(6)};\n padding-left: ${(0,i.Kq)(6)};\n }\n `} ${({shouldEnableChannelFeatures:e})=>e&&"margin-top: 0;\n margin-bottom: 0;\n "} } ${s.hF} { margin-top: 0; background: none; overflow-x: auto; scroll-snap-type: x mandatory; @media (min-width: ${a.LO.xxl}) { padding-right: 0; padding-left: 0; } } ${s.oX} { ${({shouldEnableChannelFeatures:e})=>e&&` width: 70%;\n margin-right: ${(0,i.Kq)(2)};`} ${({theme:e,shouldApplySpecialCard:t})=>t&&`\n border-style: solid;\n border-width: 4px;\n ${(0,i._o)(e,"border-color","colors.interactive.base.black")};\n ${(0,i._o)(e,"background-color","colors.consumption.body.standard.bg-card")};\n `} .summary-item__content { padding-bottom: ${(0,i.Kq)(0)}; width: auto; @media (min-width: ${a.LO.xxl}) { ${({hasModerateSpacing:e})=>`padding-bottom: ${(0,i.Kq)(e?4:0)};`} } } .summary-item--bundle { @media (min-width: ${a.LO.lg}) { ${({hasModerateSpacing:e})=>`padding-bottom: ${(0,i.Kq)(e?6:2)};`} } .summary-item__content { width: auto; } .summary-item__hed { margin-top: 0; margin-bottom: ${(0,i.Kq)(1)}; } } .summary-item { a.summary-item__hed-link { ${({theme:e,shouldApplySpecialCard:t})=>"inverted"!==e.palette||t?(0,i._o)(e,"color","colors.discovery.body.white.heading"):(0,i._o)(e,"color","colors.discovery.body.black.heading")}; } .summary-item__hed { width: auto; ${({theme:e,isSummaryHeadingSecondary:t})=>(0,i.Gg)(e,t?"typography.definitions.discovery.hed-core-secondary":"typography.definitions.discovery.hed-core-primary")}; ${({theme:e,shouldApplySpecialCard:t})=>"inverted"!==e.palette||t?(0,i._o)(e,"color","colors.discovery.body.white.heading"):(0,i._o)(e,"color","colors.discovery.body.black.heading")}; } } } .more-videos { margin: ${(0,i.Kq)(4)} auto ${(0,i.Kq)(8)}; @media (min-width: ${a.LO.lg}) { margin: ${(0,i.Kq)(3)} auto ${(0,i.Kq)(8)}; } max-width: fit-content; } `,h=o.Ay.div.withConfig({displayName:"CarouselSummaryItem"})` ${({theme:e,shouldApplySpecialCard:t})=>"inverted"!==e.palette||t?"":`\n ${c.zM} {\n ${(0,i._o)(e,"color","colors.discovery.body.black.context-signature")}\n }\n\n ${l.Y0} {\n ${(0,i._o)(e,"color","colors.discovery.body.black.context-tertiary")}\n }\n `} && { ${p.Tr} { ${u.Y} { @media (max-width: ${a.LO.md}) { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.discovery.hed-core-secondary")}; } } } } `,y=o.Ay.div.withConfig({displayName:"ArticleGalleryCarouselBtnWrapper"})` position: relative; top: 32px; .more-products { margin: 0 auto; max-width: fit-content; } `,b=(0,o.Ay)(d.A.Utility).withConfig({displayName:"ArticleGalleryCarouselButton"})` margin: ${(0,i.Kq)(1)} auto ${(0,i.Kq)(8)}; @media (min-width: ${a.LO.lg}) { margin: ${(0,i.Kq)(6)} auto ${(0,i.Kq)(8)}; } `},34980:(e,t,n)=>{n.d(t,{A6:()=>g,F8:()=>h,HT:()=>p,Pm:()=>c,Uh:()=>b,dW:()=>d,gF:()=>m,jJ:()=>y});var o=n(38267),i=n(76955),a=n(26865),r=n(38860),s=n(50531),l=n(96472);const d=o.Ay.div.withConfig({displayName:"IframeEmbedContainer"})` display: inline-block; width: 100%; text-align: center; ${r.Gk} { ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.globalEditorial.context-secondary")} ${({theme:e})=>(0,a._o)(e,"color","colors.consumption.body.standard.body")}; ${({captionAlign:e})=>e&&`\n margin-top: ${(0,a.Kq)(1)};\n text-align: ${e};\n `} } `,c=o.Ay.iframe.withConfig({displayName:"IframeEmbedContent"})` border: 0; ${({isFacebook:e})=>!e&&"\n width: 100%;\n "} max-width: 100%; @media (max-width: ${l.LO.md}) { ${({mobileHeight:e})=>e&&`height: ${e};`} } `,m=o.Ay.div.withConfig({displayName:"IframeEmbedAspectRatioWrapper"})` ${({aspectRatio:e})=>null!=e&&`\n position: relative;\n padding-bottom: ${100*e}%;\n width: 100%;\n height: 0;\n\n /*\n We have to use a className because Styled Components\n seems to break and change the className for these\n components on a re-render.\n */\n .IframeEmbedContent {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n }\n `}; `,u=o.AH` ${(0,a.t6)()} ${d} { text-align: right; } /* We have to use a className because Styled Components seems to break and change the className for these components on a re-render. */ .IframeEmbedContent { display: block; } ${r.Gk} { float: left; margin-top: ${(0,a.Kq)(3,"px")}; ${({contentAlign:e})=>`\n margin-top: ${(0,a.Kq)(1,"px")};\n text-align: ${e};\n `} } ${s.eM} { margin-top: ${(0,a.Kq)(1,"px")}; margin-left: ${(0,a.Kq)(.5,"px")}; } `,p=o.Ay.figure.withConfig({displayName:"IframeEmbedWrapper-sc"})` margin: 0 auto; ${({contentAlign:e})=>`text-align: ${e||"center"}`} ${({hasOptions:e})=>e&&u} `,g=o.Ay.div.withConfig({displayName:"IframeAudioTagWrapper"})` display: flex; align-items: center; justify-content: start; margin-bottom: ${(0,a.Kq)(1,"px")}; `,h=(0,o.Ay)(i.c7).withConfig({displayName:"IframeDangerousDek"})` ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.utility.label")} ${({theme:e})=>(0,a._o)(e,"color","colors.foundation.collapsed-menu.utility-link.default")}; margin: 0; margin-left: ${(0,a.Kq)(1,"px")}; text-align: left; `,y=o.Ay.div.withConfig({displayName:"IframeAudioIconBox"})` ${({theme:e})=>(0,a._o)(e,"background-color","colors.discovery.body.brand.accreditation")}; ${({theme:e})=>(0,a._o)(e,"border-color","colors.discovery.body.black.border")}; display: flex; align-items: center; justify-content: center; border: 1px solid; width: 24px; height: 24px; svg { align-self: center; width: 12px; height: 12px; path { ${({theme:e})=>(0,a._o)(e,"fill","colors.interactive.base.white")}; } } `,b=o.Ay.div.withConfig({displayName:"LiteYouTubeEmbedContent"})` .yt-lite { display: block; position: relative; background-color: #000; background-position: 50%; background-size: cover; cursor: pointer; contain: layout style; } .yt-lite.lyt-activated::before { display: block; position: absolute; top: 0; transition: all 0.2s cubic-bezier(0, 0, 0.2, 1); background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg=='); background-repeat: repeat-x; background-position: top; padding-bottom: 50px; width: 100%; height: 60px; content: ''; box-sizing: content-box; } .yt-lite::after { display: block; padding-bottom: var(--aspect-ratio, 56.25%); content: ''; } .yt-lite > iframe { display: block; position: absolute; top: 0; right: 0; left: 0; margin: 0; outline: 0; border: 0; padding: 0; width: 100%; height: 100%; } .yt-lite > .lty-thumbnail { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; } .yt-lite > .lty-playbtn { display: block; position: absolute; top: 50%; left: 50%; transform: translate3d(-50%, -50%, 0); transition: filter 0.1s cubic-bezier(0, 0, 0.2, 1); opacity: 0.8; z-index: 1; border: none; background-color: transparent; background-image: url('data:image/svg+xml;utf8,'); background-repeat: no-repeat; background-size: 100% 100%; cursor: pointer; padding: 0; width: 68px; height: 48px; line-height: 0; font-size: 0; filter: grayscale(100%); } .yt-lite:hover > .lty-playbtn { opacity: 1; filter: none; } .yt-lite.lyt-activated { cursor: unset; } .yt-lite.lyt-activated::before, .yt-lite.lyt-activated > .lty-playbtn { opacity: 0; pointer-events: none; } /* Visually hidden but accessible to screen readers */ .lty-visually-hidden { position: absolute; margin: -1px; border: 0; padding: 0; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip: rect(0, 0, 0, 0); } /* Playlist icon overlay */ .yt-lite > .lty-playlist-icon { display: flex; position: absolute; top: 8px; right: 8px; align-items: center; justify-content: center; z-index: 1; border-radius: 4px; background-color: rgba(0, 0, 0, 0.8); width: 48px; height: 48px; pointer-events: none; } .yt-lite > .lty-playlist-icon::before { background-image: url('data:image/svg+xml;utf8,'); background-repeat: no-repeat; background-position: center; background-size: contain; width: 28px; height: 28px; content: ''; } `},35089:(e,t,n)=>{n.d(t,{Ce:()=>m,GX:()=>p,J:()=>g,Mz:()=>f,Nh:()=>c,Ow:()=>u,Pm:()=>y,UW:()=>s,ZB:()=>b,ed:()=>d,if:()=>h,xS:()=>l});var o=n(38267),i=n(76955),a=n(26865),r=n(48188);const s=o.Ay.div.withConfig({displayName:"GroupedNavigationWrapper"})` padding-top: ${(0,a.Kq)(4)}; height: 100%; ${({hasFilter:e})=>e&&`padding-top: ${(0,a.Kq)(2)};`} .navigation__heading { ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.foundation.title-primary")}; margin: 0; line-height: normal; ${({theme:e})=>(0,a._o)(e,"color","colors.foundation.expanded-utility.nav-link.default")}; } .navigation__list-item { white-space: normal; } .content-divider { display: block; margin-bottom: ${(0,a.Kq)(2)}; border-bottom-width: ${(0,a.Kq)(.5)}; border-bottom-style: solid; ${({theme:e})=>(0,a._o)(e,"border-bottom-color","colors.discovery.lead.secondary.accent")}; padding-top: ${(0,a.Kq)(1)}; width: ${(0,a.Kq)(2)}; } .grouped-navigation__link { ${({theme:e})=>(0,a.pe)(e,"colors.foundation.expanded-utility.nav-link.default","colors.foundation.expanded-utility.nav-link.hover","navigation")} &.link--primary { ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.foundation.link-primary")}; } &.link--secondary { ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.foundation.link-secondary")}; } } `,l=o.Ay.div.withConfig({displayName:"GroupedNavigationFilter"})` position: static; border-width: 0 0 1px; border-style: solid; ${({theme:e})=>(0,a._o)(e,"color","colors.discovery.body.white.divider")}; width: calc(100% - 1.25rem); height: 60px; .icon { position: absolute; top: 10px; right: 0; pointer-events: none; } `,d=o.Ay.div.withConfig({displayName:"GroupedNavigationFilterContent"})` position: relative; `,c=(0,o.Ay)(i.vm).withConfig({displayName:"GroupedNavigationFilterInput"})` ${({theme:e})=>(0,a.FM)(e,"normal","background")}; ${({theme:e})=>(0,a.FM)(e,"normal","text")}; border: none; width: 100%; height: ${(0,a.Kq)(6.2)}; `;c.defaultProps={as:"input",typeIdentity:"typography.definitions.foundation.link-secondary"};const m=o.Ay.div.withConfig({displayName:"GroupedNavigationContent"})` display: flex; height: 100% ${({hasSpacing:e})=>e&&`\n margin-top: ${(0,a.Kq)(1.5)};\n `}; ${({hasFilter:e})=>e&&`\n padding-top: ${(0,a.Kq)(4)};\n height: calc(100% - 60px);\n `}; `,u=o.Ay.div.withConfig({displayName:"GroupedNavigationLinks"})` flex: 1; height: 100%; overflow-y: auto; max-height: 100vh; && li { padding-bottom: ${(0,a.Kq)(2)}; &.link--primary { ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.foundation.link-primary")}; } &.link--secondary { ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.foundation.link-secondary")}; } } `,p=(0,o.Ay)(r.A.Vertical).withConfig({displayName:"GroupedNavigationGroup"})` padding-bottom: ${(0,a.Kq)(5)}; `,g=o.Ay.div.withConfig({displayName:"GroupedNavigationIndex"})` position: static; padding-right: ${(0,a.Kq)(1)}; overflow-y: auto; `,h=(0,o.Ay)(i.vm).withConfig({displayName:"AtoZIndexWrapper"})` width: ${(0,a.Kq)(3)}; text-align: center; `;h.defaultProps={as:"nav"};const y=(0,o.Ay)(i.vm).withConfig({displayName:"AtoZIndexList"})` margin-top: 0; padding: 0; list-style: none; `;y.defaultProps={as:"ul"};const b=(0,o.Ay)(i.sH).withConfig({displayName:"AtoZIndexLink"})` display: block; background: none; padding-top: ${(0,a.Kq)(.25)}; padding-bottom: ${(0,a.Kq)(.25)}; width: 100%; `;b.defaultProps={colorSecondaryLinkToken:"colors.foundation.expanded-utility.nav-link.hover",colorStaticLinkToken:"colors.foundation.expanded-utility.nav-link.default",colorToken:"colors.foundation.expanded-utility.nav-link.default",linkStyle:"navigation",typeToken:"typography.definitions.foundation.link-secondary"};const f=(0,o.Ay)(i.vm).withConfig({displayName:"AtoZIndexText"})` margin: 0; padding-top: ${(0,a.Kq)(.25)}; padding-bottom: ${(0,a.Kq)(.25)}; `;f.defaultProps={as:"li",colorToken:"colors.foundation.expanded-utility.nav-link.default",typeIdentity:"typography.definitions.foundation.link-secondary"}},35103:(e,t,n)=>{n.d(t,{On:()=>s,gr:()=>r,y:()=>l,yW:()=>d});var o=n(38267),i=n(26865),a=n(96472);const r=o.Ay.div.withConfig({displayName:"BlockquoteEmbedContent"})` padding-top: ${(0,i.Kq)(2)}; &, p { ${({hasParagraphMargin:e})=>!e&&"margin: 0;"} } p { margin-top: 0; } &, a { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.consumptionEditorial.citation")}; ${({theme:e,shouldUseBodyColor:t})=>((e,t)=>t?(0,i._o)(e,"color","colors.consumption.body.standard.body"):(0,i._o)(e,"color","colors.consumption.body.standard.body-deemphasized"))(e,t)}; } `,s=o.Ay.blockquote.withConfig({displayName:"BlockquoteEmbedWrapper-sc"})` margin: ${(0,i.Kq)(5,"px")} auto; width: 100%; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.body")}; @media (min-width: ${a.LO.md}) { width: 75%; } & + & { margin-top: 0; border-top: 0; } ${({hasTopBorder:e,theme:t})=>e&&`\n border-width: 2px 0 0;\n border-style: solid;\n ${(0,i._o)(t,"border-color","colors.consumption.body.standard.divider")};\n `} ${({hasSmallMargins:e})=>e&&`\n margin: ${(0,i.Kq)(3)} auto;\n ${r} {\n padding-top: 0;\n & > p:last-of-type {\n margin-bottom: ${(0,i.Kq)(1)};\n }\n }\n `} `,l=o.Ay.footer.withConfig({displayName:"BlockquoteEmbedFooter"})``,d=o.Ay.cite.withConfig({displayName:"BlockquoteEmbedCite"})` font-style: italic; `},35739:(e,t,n)=>{n.d(t,{H:()=>s,l:()=>r});var o=n(38267),i=n(26865),a=n(96472);const r=o.Ay.div.withConfig({displayName:"TiktokEmbedContainer"})` align-self: center; margin: ${(0,i.Kq)(5)} auto; text-align: center; justify-self: center; `,s=o.Ay.blockquote.withConfig({displayName:"TiktokEmbedBlockQuote"})` width: 100%; min-width: 325px; /* these styles are supplied by oEmbed endpoint https://developers.tiktok.com/doc/embed-videos */ max-width: 605px; ${(0,i.L7)(0,a.LO.md)} { /* prevents iframe being cutoff on mobile */ iframe { min-height: 850px; } } `},35833:(e,t,n)=>{n.d(t,{$m:()=>d,DW:()=>a,Sh:()=>u,Wo:()=>i,Zb:()=>m,f0:()=>s,t$:()=>c});var o=n(62997);function i(e){try{return new URL(e).hostname.toLowerCase()}catch(e){return""}}function a(e,t){return e===t||e.endsWith(`.${t}`)}function r(e){return Object.keys(o.pD).find(t=>a(e,t))}function s(e,t){const n=i(e);if(o.ev.some(e=>a(n,e)))return;let s=[];"string"==typeof t&&(s=s.concat(t.split(/[\s,]+/g)));const l=r(n);return l&&Array.isArray(o.pD[l].sandbox)&&(s=s.concat(o.pD[l].sandbox)),Array.from(new Set(s)).join(" ")}function l(e,t){if(!1===t)return!1;if("function"==typeof t){return l(e,t(e))}return o.Ch.has(t)?t:o.O3}function d(e){const t=r(i(e));return t?l(e,o.pD[t].consent):o.O3}function c(e){return!!e&&(e.includes("youtube.com")||e.includes("youtu.be")||e.includes("youtube-nocookie.com"))}function m(e){if(!e)return null;try{const t=e.match(/\/embed\/([a-zA-Z0-9_-]{11})/);if(t)return t[1];const n=e.match(/[?&]v=([a-zA-Z0-9_-]{11})/);if(n)return n[1];const o=e.match(/youtu\.be\/([a-zA-Z0-9_-]{11})/);return o?o[1]:null}catch(e){return null}}function u(e){return!!e&&(e.includes("facebook.com")||e.includes("fb.com")||e.includes("fb.watch"))}},35864:(e,t,n)=>{n.r(t),n.d(t,{FullBleedLineAboveLineBelowTextCenter:()=>y,FullBleedLineAboveOrnamentAboveTextLeft:()=>m,IconAbove:()=>$,LineAboveLineBelowTextCenter:()=>l,LineAboveLineBelowTextLeft:()=>c,LineAboveTextCenter:()=>f,LineAboveTextLeft:()=>b,LineBelowHedTextCenter:()=>v,LineBelowTextCenter:()=>d,LogoLeftTextLeft:()=>s,OrnamentAboveTextLeft:()=>u,SoftDivider:()=>w,TextCenter:()=>i,TextCenterPaddingTop:()=>a,TextLeft:()=>r,TextLeftLineAboveWithHedBackground:()=>h,TextLeftWithLineAboveTitle:()=>p,TextLeftWithLineBelowTitle:()=>g,default:()=>C});var o=n(81340);const i=o.A.TextCenter,a=o.A.TextCenterPaddingTop,r=o.A.TextLeft,s=o.A.LogoLeftTextLeft,l=o.A.LineAboveLineBelowTextCenter,d=o.A.LineBelowTextCenter,c=o.A.LineAboveLineBelowTextLeft,m=o.A.FullBleedLineAboveOrnamentAboveTextLeft,u=o.A.OrnamentAboveTextLeft,p=o.A.TextLeftWithLineAboveTitle,g=o.A.TextLeftWithLineBelowTitle,h=o.A.TextLeftLineAboveWithHedBackground,y=o.A.FullBleedLineAboveLineBelowTextCenter,b=o.A.LineAboveTextLeft,f=o.A.LineAboveTextCenter,w=o.A.SoftDivider,$=o.A.IconAbove,v=o.A.LineBelowHedTextCenter,C=o.A},36276:(e,t,n)=>{n.d(t,{A:()=>$e});var o=n(13465),i=n(47655),a=n(96540),r=n(32485),s=n.n(r),l=n(5556),d=n.n(l),c=n(22354),m=n(6442);const u=(0,n(72267).defineMessages)({next:{id:"GalleryCarousel.Next",defaultMessage:"Next",description:"Next icon title"},previous:{id:"GalleryCarousel.Previous",defaultMessage:"Previous",description:"Previous icon title"},nextGallery:{id:"GalleryCarousel.NextGallery",defaultMessage:"Next gallery",description:"Next gallery link prefix"}});var p=n(73275),g=n(21729),h=n(31989),y=n(38080),b=n(99906),f=n(70251),w=n(44383),$=n.n(w),v=n(90090),C=n(14307);const k="newsletter",x="top_right_link",E="mid_content",A="end_content",S="back to article",L=(e,t)=>{t.forEach(t=>{delete e[t]})},T=({carouselPlacedIn:e,currentSlideIndex:t,getIsSmallDevice:n,hasHeadRecirc:o,headRecircGallery:i,isModalOpen:r,slides:s,titleRef:l,galleryID:d})=>{const c="inline"===e?"inline_cartoon":"cartoon_gallery",m="inline"===e?"inline_cartoon_carousel_recirc_unit":"cartoon_gallery_recirc_unit",[u,p]=a.useReducer((e,t)=>Array.isArray(t)?(t.forEach(t=>e.add(t)),e):e.add(t),new Set),g=({type:n,subject:o,items:i=[],placement:a="",label:r=""})=>{const l={type:n,label:r,subject:o,items:i,index:t,placement:a,subject_id:d,subject_version:e,total_index:s.length};return Object.keys(l).forEach(e=>{null!=l[e]&&""!==l[e]&&void 0!==l[e]||delete l[e]}),l},h=(e=null)=>`${(e??t)+1}/${s.length}`,y=(n=[])=>{const o={cartoon_placement:e,gallery_title:l?.current?.innerText||"",cartoon_id:s[t]?.id||"",cartoon_numbering:h()};return $()(o,n)},b=(e,t=[],n={})=>{(0,v.W8)(e,{...y(t),...n})},f=(e,t=[],n=null)=>{b("cartoon-impression-recirculation",["cartoon_placement","gallery_title"],{content_recirculation_placement:e,cartoon_numbering:h(n),gallery_id:t.map(e=>e.id).join(" | ")});const o=t.map(e=>({content_title:e.dangerousHed,content_id:e.id,content_type:"gallery",content_url:`${window.location.host}${e.url}`})),i=g({type:"impression",subject:m,items:o,placement:e});"end_content"!==e&&"top_right_link"!==e||L(i,["total_index","index"]),(0,C.kg)(i)},w=(e,t=null)=>{b("cartoon-impression-newsletter",["cartoon_placement","gallery_title"],{cartoon_newsletter_id:e?.newsletterId,cartoon_numbering:h(t)})};return a.useEffect(()=>{o&&f(x,[i])},[]),a.useEffect(()=>{(()=>{if(!r&&"modal"===e){b("cartoon-interaction",["cartoon_placement","gallery_title","cartoon_id"],{cartoon_interaction:S});const e=s[t],n=e?.links?.find(e=>"canonical"===e.network).url,o=[{content_title:e.dangerousCaption,content_id:e?.id,content_type:"gallery",content_url:n}],i=g({type:"close",subject:"cartoon_gallery",items:o});(0,C.kg)(i)}})()},[r]),a.useEffect(()=>{const e=n(),{recircGalleries:o,newsletter:i}=s[t],a=Boolean(s[t]?.isMidRecirc),r=Boolean(s[t]?.hasEndRecirc),l=Boolean(s[t]?.isNewsletter),d=Boolean(s[t]?.isContent),m=u.has(t),h=[];e||(m||(a&&(h.push(t),f(E,o)),l&&(h.push(t),w(i)),d&&(h.push(t),(()=>{b("cartoon-impression",["cartoon_placement","gallery_title","cartoon_id","cartoon_numbering"]);const e=s[t],n=e?.links?.find(e=>"canonical"===e.network).url,o=g({type:"impression",subject:c,items:[{content_title:e?.dangerousCaption,content_id:e?.id,content_type:e?.contentType||"cartoon",content_url:n}]});(0,C.kg)(o)})())),r&&!u.has(A)&&(h.push(A),f(A,o)),h.length&&p(h))},[t]),{extractAnalyticsData:y,triggerSlideAction:e=>{b("cartoon-interaction",["cartoon_placement","gallery_title","cartoon_id"],{cartoon_interaction:e>t?"next":"previous"});const n=s[t];let o={};if(n.isMidRecirc){const i=n.recircGalleries.map(e=>({content_title:e.dangerousHed,content_id:e.id,content_type:"gallery",content_url:`${window.location.host}${e.url}`}));o={type:e>t?"forward":"back",subject:m,items:i,placement:"mid_content"}}else{const i=n?.links?.find(e=>"canonical"===e.network).url,a=[{content_title:n.dangerousCaption||"",content_id:n?.id,content_type:n?.contentType||"cartoon",content_url:i}];o={type:e>t?"forward":"back",subject:c,items:a}}const i=g(o);(0,C.kg)(i)},triggerMobileRecircImpression:(e,n,o={})=>{const i=[E,A,k],a=u.has(t),{index:r=null,recircGalleries:s,placement:l,newsletter:d}=o;e&&!a&&i.includes(l)&&(l===k?(p(r),w(d,r)):l===E?(p(r),f(E,s,r)):(p(A),f(l,s,r)),n())},triggerNewsletterInteraction:e=>{b("cartoon-interaction-newsletter",["cartoon_placement","gallery_title","cartoon_id"],{content_newsletter_placement:E,content_newsletter_title:e?.dangerousHed||""})},triggerRecircInteraction:(e,t={},n=null)=>{b("cartoon-interaction-recirculation",["cartoon_placement","gallery_title","cartoon_id"],{content_recirculation_placement:e,content_recirculation_title:t?.dangerousHed||"",cartoon_numbering:h(n)});const o=[{content_title:t.dangerousHed,content_id:t.id,content_type:"gallery",content_url:`${window.location.host}${t.url}`}],i=g({type:"click",subject:m,items:o,placement:e});"end_content"!==e&&"top_right_link"!==e||L(i,["total_index","index"]),(0,C.kg)(i)}}};T.propTypes={carouselPlacedIn:d().oneOf(["gallery","modal"]).isRequired,currentSlideIndex:d().number.isRequired,getIsSmallDevice:d().func.isRequired,hasHeadRecirc:d().bool.isRequired,headRecircData:d().object.isRequired,isModalOpen:d().bool.isRequired,slides:d().array.isRequired,titleRef:d().oneOfType([d().func,d().shape({current:d().any})]).isRequired};var N=n(12501),H=n(38267),I=n(26865),B=n(76955),O=n(7228),_=n(18117),K=n(77527),P=n(26891),D=n(36185),q=n(75116),M=n(69817),R=n(96472);const F=H.i7` from { opacity: 0; } to { opacity: 1; } `,U=H.i7` from { opacity: 1; } to { opacity: 0; } `,V=H.i7` from { opacity: 0; } to { opacity: .2; } `,G=H.i7` from { opacity: .2; } to { opacity: 0; } `,W=(0,H.Ay)(B.c7).withConfig({displayName:"GalleryCarouselContainer"})` display: flex; flex-direction: column; width: 100%; height: 100%; ${({shouldUseModalStyle:e,headerHeight:t})=>!e&&H.AH` ${(0,I.H4)(`${b.VS.lg+1}px`)} { margin-top: ${(0,I.Kq)(2)}; min-height: calc(100vh - ${t}px); } `} `,j=(0,H.Ay)(B.c7).withConfig({displayName:"GalleryCarouselHeader"})` display: flex; position: relative; align-items: center; justify-content: center; margin: 0; padding: ${(0,I.Kq)(2.5)} 0; text-align: center; ${(0,I.L7)(`${b.VS.lg}px`)} { ${({shouldUseModalStyle:e})=>e?H.AH` margin-bottom: ${(0,I.Kq)(3)}; padding: 0; min-height: ${(0,I.Kq)(10)}; `:H.AH` padding: ${(0,I.Kq)(5)} 0; `} } `,z=H.Ay.div.withConfig({displayName:"GalleryCarouselSectionTitle"})` margin-bottom: ${(0,I.Kq)(2)}; `,Y=(0,H.Ay)(B.vm).withConfig({displayName:"GalleryCarouselTitle"})` span { cursor: unset; :hover { text-decoration: none; } } ${(0,I.L7)(`${b.VS.lg}px`)} { width: ${(0,I.Kq)(24.75)}; } `;Y.defaultProps={as:"h1",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const X=(0,H.Ay)(B.sH).withConfig({displayName:"GalleryCarouselTitleText"})``;X.defaultProps={as:"a",hasUnderline:!1,typeIdentity:"typography.definitions.globalEditorial.context-primary"};const Z=(0,H.Ay)(B.vm).withConfig({displayName:"GalleryCarouselHeaderRecirc"})` position: absolute; right: ${(0,I.Kq)(8)}; text-decoration: none; :hover { text-decoration: underline; ${({theme:e})=>(0,I._o)(e,"color","colors.interactive.base.dark")}; } ${(0,I.L7)(`${b.VS.lg}px`)} { display: none; } `;Z.defaultProps={as:"a",colorToken:"colors.interactive.base.brand-primary",typeIdentity:"typography.definitions.foundation.link-primary"};const J=H.AH` display: flex; grid-row: 1; align-self: flex-start; height: ${(0,I.Kq)(64)}; ${({isHidden:e})=>e&&H.AH` visibility: hidden; `} ${({mobileSlider:e})=>!e&&H.AH` ${(0,I.L7)(`${b.VS.lg}px`)} { display: none; } `} `,Q=(0,H.Ay)(B.c7).withConfig({displayName:"GalleryCarouselNextWrapper"})` ${J}; grid-column: 11/12; justify-content: start; `,ee=(0,H.Ay)(B.c7).withConfig({displayName:"GalleryCarouselPrevWrapper"})` ${J}; grid-column: 2/3; justify-content: end; `,te=H.Ay.button.withConfig({displayName:"GalleryCarouselNavigation"})` display: flex; align-items: center; justify-content: center; transform: translateX(0); transition: transform 0.3s ease; background: transparent; min-width: ${(0,I.Kq)(7.5)}; svg { path { ${(0,I._o)("fill","colors.interactive.base.black")}; } } @media (hover: hover) and (pointer: fine) { &:hover { transform: translateX(${(0,I.Kq)(1)}); } } ${({isRotated:e})=>e&&H.AH` svg { transform: rotate(180deg); } @media (hover: hover) and (pointer: fine) { &:hover { transform: translateX(${(0,I.Kq)(-1)}); } } `} `,ne=(0,H.Ay)(B.c7).withConfig({displayName:"GalleryCarouselCountWrapper"})` display: flex; grid-column: 10; grid-row: 1; align-items: center; justify-content: center; border: 1px solid; border-radius: ${(0,I.Kq)(10)}; width: ${(0,I.Kq)(6)}; height: ${(0,I.Kq)(4)}; ${({theme:e})=>(0,I._o)(e,"border-color","colors.interactive.base.light")}; ${(0,I.L7)(`${b.VS.lg}px`)} { display: none; } `,oe=(0,H.Ay)(B.vm).withConfig({displayName:"GalleryCarouselCount"})` text-align: center; line-break: normal; `;oe.defaultProps={as:"p",colorToken:"colors.interactive.base.dark",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const ie=H.Ay.div.withConfig({displayName:"GalleryCarouselContent"})` display: none; position: relative; flex-direction: row; align-items: start; justify-content: center; cursor: auto; width: 100%; min-height: ${(0,I.Kq)(64)}; ${D.Vh} { margin: auto; } ${K.SX} { border: none; padding: 0; justify-items: unset; max-width: ${(0,I.Kq)(70)}; .responsive-cartoon__caption, .responsive-cartoon__credit { overflow: hidden; } ${O.Em} { cursor: zoom-in; text-align: center; } ${O.BF} { width: auto; max-width: 100%; height: auto; max-height: ${(0,I.Kq)(40.5)}; } ${O.Em}, ${K.Jp}, ${K.uX} { cursor: auto; max-width: unset; } } ${(0,I.L7)(`${b.VS.lg}px`)} { ${({mobileSlider:e})=>!e&&H.AH` display: flex; flex-direction: column; align-items: center; min-height: ${(0,I.Kq)(31.25)}; ${K.SX} { ${O.BF} { width: ${(0,I.Kq)(40.5)}; height: auto; max-height: none; } } `} } `,ae=H.AH` display: flex; grid-row: 1; align-items: center; overflow: hidden; ${K.SX} { ${O.Em} { height: 100%; } } ${_.B} { position: absolute; min-width: ${(0,I.Kq)(100)}; } ${K.sg} { display: none; } `,re=(0,H.Ay)(B.c7).withConfig({displayName:"GalleryCarouselSlider"})` display: grid; grid-template-columns: repeat(12, 1fr); margin: 0 auto; cursor: auto; width: 100%; max-width: none; gap: 0; ${({mobileSlider:e})=>{const t=H.AH` height: ${(0,I.Kq)(64)}; .fade-in { animation: ${F} ease-in-out 300ms forwards; } .fade-out { animation: ${U} ease-in-out 300ms forwards; } .fade-in-sequence { animation: ${V} ease-in-out 300ms forwards; } .fade-out-sequence { animation: ${G} ease-in-out 300ms forwards; } .current-slide { display: flex; grid-column: 4/10; grid-row: 1; ${_.B} { align-self: center; } } .prev-slide { ${ae}; grid-column: 1/2; ${K.SX} { margin-right: 0; ${O.Em} { text-align: right; } } ${_.B} { right: 0; } } .next-slide { ${ae}; grid-column: 12/-1; ${K.SX} { margin-left: 0; ${O.Em} { text-align: left; } } ${_.B} { left: 0; } } .has-end-recirc { ${P.kU} { display: none; } } .has-end-recirc.current-slide { position: unset; ${P.kU} { display: grid; position: relative; right: 0; padding-top: ${(0,I.Kq)(7)}; width: auto; } } `,n=H.AH` display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0 ${(0,I.Kq)(3)}; gap: 0; ${ie} { border-bottom: 1px solid; padding-top: ${(0,I.Kq)(7)}; padding-bottom: ${(0,I.Kq)(7)}; ${({theme:e})=>(0,I._o)(e,"border-color","colors.interactive.base.light")}; ${K.SX} { border: none; padding: 0; } } .last-slide { border-bottom: none; } .has-end-recirc { padding-bottom: 0; ${P.GN} { grid-column: 1 / 8; grid-row: 1; text-align: center; } ${({isEndGalleryRecircCardOnMobile:e})=>e&&`\n ${P.kU} {\n padding-top: ${(0,I.Kq)(2)};\n padding-bottom: ${(0,I.Kq)(7)};\n }\n `} } .is-newsletter-slide { min-height: auto; } `;return e?H.AH` ${t}; height: auto; ${(0,I.L7)(`${b.VS.lg}px`)} { ${Q}, ${ee} { flex-direction: column; justify-content: end; z-index: 1; height: 100%; button { padding: 0; } } grid-template-rows: min-content auto; grid-row-gap: ${(0,I.Kq)(1)}; ${Q}, ${ee}, .current-slide { grid-row: 2; } ${ne} { display: flex; grid-column: 12; justify-self: end; } ${Q} { grid-column: -2/-1; button { justify-content: end; } } ${ee} { grid-column: 1/2; button { justify-content: start; } } .current-slide { grid-column: 1/-1; } } ${K.SX} { ${K.Jp}, ${K.uX} { padding-bottom: 0; } ${K.uX} { padding-top: ${(0,I.Kq)(1)}; } } `:H.AH` ${(0,I.H4)(`${b.Vh.xl}px`)} { ${t} } ${(0,I.L7)(`${b.VS.lg}px`)} { ${n} } `}} `,se=(0,H.Ay)(B.c7).withConfig({displayName:"GalleryCarouselSliderWrapper"})` display: flex; flex-grow: 1; align-items: center; justify-content: center; `,le=(0,H.Ay)(B.c7).withConfig({displayName:"GalleryCarouselNewsletterWrapper"})` margin: auto; width: 100%; max-width: ${(0,I.Kq)(40.875)}; ${q.$j}, ${M.zK} { margin: 0; } ${q.$j} { ${q.VA} p { margin-bottom: 0; } } ${M.zK} { ${B.aE} { padding: ${(0,I.Kq)(1)} ${(0,I.Kq)(1.5)}; } ${M.F9} p { margin-bottom: 0; } } ${(0,I.L7)(`${b.VS.lg}px`)} { max-width: unset; } `;le.defaultProps={as:"div"};const de=H.Ay.div.withConfig({displayName:"GalleryCarouselMidRecircWrapper"})` ${(0,I.L7)(`${b.VS.lg}px`)} { width: 100%; } margin: auto; `;de.defaultProps={as:"div"};const ce=H.Ay.div.withConfig({displayName:"GalleryCarouselEndRecircWrapper"})` ${(0,I.H4)(R.LO.lg)} { position: absolute; right: 0; } ${(0,I.L7)(`${b.VS.lg}px`)} { padding-top: ${(0,I.Kq)(5)}; width: 100%; } `;ce.defaultProps={as:"div"};var me=n(77262),ue=(n(43786),n(29164));const pe=(e,t,n)=>e?{as:ue.A,onIntersectionViewport:t,analyticsData:n}:{};d().number.isRequired,d().bool,d().bool,d().object.isRequired,d().string,d().func,d().func,d().shape({isAuthenticated:d().bool.isRequired,email:d().string});const ge=({index:e,isSmallDevice:t=!1,recircGalleries:n,onInteractionAnalytics:o=()=>{},onMobileImpressionAnalytics:i=()=>{}})=>{const r=pe(t,i,{index:e,placement:E,recircGalleries:n});return a.createElement(de,{...r,...r.analyticsData&&{"data-analytics":"true"},"data-as":r.as===ue.A?"ViewportMonitor":"div",...r.onIntersectionViewport&&{"data-on-intersection-viewport":"true"},"data-testid":r.as===ue.A?"mid-recirc-wrapper-viewport":"mid-recirc-wrapper"},a.createElement(me.A,{items:n,recircInteractionAnalytics:t=>o(E,t,e),"data-testid":"recirc-cards","data-items":JSON.stringify(n)}))};ge.propTypes={index:d().number.isRequired,isSmallDevice:d().bool,onInteractionAnalytics:d().func,onMobileImpressionAnalytics:d().func,recircGalleries:d().array.isRequired};const he=({index:e,isSmallDevice:t=!1,recircGalleries:n,onInteractionAnalytics:o=()=>{},onMobileImpressionAnalytics:i=()=>{},shouldUseModalStyle:r=!1})=>{const s=pe(t,i,{index:e,placement:A,recircGalleries:n});return a.createElement(ce,{...s,...s.analyticsData&&{"data-analytics":"true"},"data-as":s.as===ue.A?"ViewportMonitor":"div",...s.onIntersectionViewport&&{"data-on-intersection-viewport":"true"},"data-testid":s.as===ue.A?"end-recirc-wrapper-viewport":"end-recirc-wrapper"},a.createElement(me.A,{isEndOfPageRecirc:!0,items:n,showCropViewOnMobile:r,recircInteractionAnalytics:t=>o(A,t,e),"data-testid":"recirc-cards","data-is-end-of-page":"true","data-items":JSON.stringify(n)}))};he.propTypes={index:d().number.isRequired,isSmallDevice:d().bool,onInteractionAnalytics:d().func,onMobileImpressionAnalytics:d().func,recircGalleries:d().array.isRequired,shouldUseModalStyle:d().bool};var ye=n(35864);const be=({carouselPlacedIn:e="modal",dangerousNavigationIcon:t=' ',id:n,isModalOpen:o,items:i,responsiveCartoonVariation:r="SliderCartoon",shouldDisableImageClick:l=!0,shouldHoldImageSpace:d=!1,shouldImageLazyLoad:c=!0,shouldUseMediumBreakpoint:g=!0,shouldUseModalStyle:w=!1,showHeadRecirc:$=!0,showPublishedDate:v=!1,title:C="",titleLinkURL:k="",user:E,variations:A={fullBleedSlide:!1,useSectionTitle:!1,mobileSlider:!1}})=>{const{fullBleedSlide:S,mobileSlider:L,useSectionTitle:H}=A,{formatMessage:I}=(0,m.A)(),[B,O]=a.useState(0),[_,K]=a.useState(0),[P,D]=a.useState(0),[q,M]=a.useState(!1),[R,F]=a.useState(!1),[U,V]=a.useState(!1),G=()=>{if(window){const e=window.matchMedia(`(max-width: ${b.VS.lg}px)`);return Boolean(e?.matches)}return!1};(0,f.w)(()=>F(G()));const J=a.useRef(),[ae,le]=a.useState({action:new Array(2).fill(!1),slide:new Array(2).fill(null)}),de=i.length-1,ce=P===de,me=i.length>0&&i[de].hasEndRecirc&&i[de].recircGalleries[0]&&Boolean(i[de].recircGalleries[0].url)&&Boolean(i[de].recircGalleries[0].dangerousHed),ue=$&&me&&!ce,pe=ue?i[de].recircGalleries[0]:{},be={carouselPlacedIn:e,currentSlideIndex:P,getIsSmallDevice:G,hasHeadRecirc:ue,headRecircGallery:pe,isModalOpen:o,slides:i,titleRef:J,galleryID:n},{triggerSlideAction:fe,triggerMobileRecircImpression:we,triggerNewsletterInteraction:$e,triggerRecircInteraction:ve}=T(be);a.useEffect(()=>F(G()),[]),a.useEffect(()=>{const e={action:new Array(2).fill(!1),slide:new Array(2).fill(null)},t=P+1,n=P-1;n>=0&&(e.action[0]=!0,i[n].hidePreview||(e.slide[0]=n)),t{if(!w){const e=document.querySelector('[class^="StackedNavigationTop"]');O(e?.offsetHeight||0)}},[w]),a.useEffect(()=>{E?.isAuthenticated&&Boolean(E?.email)&&!U&&V(!0)},[E?.isAuthenticated,E?.email,U]);const Ce=e=>{e>=0&&e0))return null;const ke=k?{href:k,target:"_blank"}:{as:"span"};return a.createElement(W,{shouldUseModalStyle:w,headerHeight:B,key:U,"data-testid":"gallery-carousel-container"},!H&&a.createElement(j,{shouldUseModalStyle:w},a.createElement(Y,{ref:J,"data-testid":"gallery-carousel-title"},a.createElement(X,{...ke,dangerouslySetInnerHTML:{__html:C}})),ue&&a.createElement(Z,{onClick:e=>((e,t)=>{e.preventDefault(),ve(x,t),window.open(t.url,"_blank","noopener,noreferrer")})(e,pe),href:pe.url,dangerouslySetInnerHTML:{__html:`${I(u.nextGallery)}: ${pe.source.hed} »`},"data-testid":"gallery-carousel-header-recirc"})),H&&a.createElement(z,{as:ye.default,dangerousHed:C}),a.createElement(se,{"data-testid":"gallery-carousel-slider-wrapper"},a.createElement(re,{isEndGalleryRecircCardOnMobile:!w,mobileSlider:L,"data-testid":"gallery-carousel-slider"},a.createElement(ee,{isHidden:!ae.action[0],mobileSlider:L,"data-testid":"gallery-carousel-prev-wrapper"},a.createElement(te,{"aria-hidden":!ae.action[0],"aria-label":I(u.previous),dangerouslySetInnerHTML:{__html:t},onClick:()=>Ce(P-1),isRotated:!0,role:"button",tabIndex:0})),a.createElement(Q,{isHidden:!ae.action[1],mobileSlider:L,"data-testid":"gallery-carousel-next-wrapper"},a.createElement(te,{"aria-hidden":!ae.action[1],"aria-label":I(u.next),dangerouslySetInnerHTML:{__html:t},onClick:()=>Ce(P+1),role:"button",tabIndex:0})),a.createElement(ne,{"data-testid":"gallery-carousel-count-wrapper"},a.createElement(oe,{"data-testid":"gallery-carousel-count"},`${P+1}/${i.length}`)),i.map((t,o)=>a.createElement(ie,{key:o,"data-testid":`GalleryCarouselContent__slide_${o+1}`,...o===P&&{"data-testid":"current-slide"},className:s()(t.className,{"fade-in":!q&&o===P,"fade-out":q&&o===P,"fade-in-sequence":!q&&ae.slide.includes(o),"fade-out-sequence":q&&ae.slide.includes(o),"has-end-recirc":Boolean(t?.hasEndRecirc),"is-mid-recirc-slide":Boolean(t?.isMidRecirc),"is-ad-slide":Boolean(t?.isAd),"is-newsletter-slide":Boolean(t?.isNewsletter),"is-content-slide":Boolean(t?.isContent),"is-xl-recirc-slide":Boolean(t?.isXLGalleryRecirc),"current-slide":o===P},!S&&{"prev-slide":o===ae.slide[0],"next-slide":o===ae.slide[1],"last-slide":o===de}),onAnimationEnd:()=>(e=>{q&&e===P&&(D(_),M(!1))})(o),"aria-hidden":o!==P,fullBleedSlide:S,mobileSlider:L,...l&&{"data-disable-click":"true"}},t?.isNewsletter&&a.createElement(N.GO,null),t?.isAd&&a.createElement(y.Z,{group:"ads"},a.createElement(h.A,{position:"mid-gallery"})),t?.isMidRecirc&&a.createElement(ge,{index:o,isSmallDevice:R,recircGalleries:t.recircGalleries,onInteractionAnalytics:ve,onMobileImpressionAnalytics:we}),["cartoon","photo"].includes(t?.contentType||"")&&a.createElement(p.A,{key:t.id,...t.image||t,isLazy:c,responsiveCartoonVariation:r,shouldDisableImageClick:l,shouldHoldImageSpace:d,shouldUseMediumBreakpoint:g,showPublishedDate:v,analyticsData:{currentSlide:t,cartoonPlacement:e,cartoonPosition:o+1,totalNumberOfCartoons:i.length,galleryTitle:J.current?.innerText||"",currentSlideIndex:o,galleryID:n,slides:i,isSmallDevice:R}}),t?.hasEndRecirc&&a.createElement(he,{index:o,isSmallDevice:R,recircGalleries:t.recircGalleries,onInteractionAnalytics:ve,onMobileImpressionAnalytics:we,shouldUseModalStyle:w}))))))};be.propTypes={carouselPlacedIn:d().oneOf(["gallery","modal","bundle"]),dangerousNavigationIcon:d().string,id:d().string,isModalOpen:d().bool,items:d().array.isRequired,responsiveCartoonVariation:d().oneOf((0,i._)(g.A)),shouldDisableImageClick:d().bool,shouldHoldImageSpace:d().bool,shouldImageLazyLoad:d().bool,shouldUseMediumBreakpoint:d().bool,shouldUseModalStyle:d().bool,showHeadRecirc:d().bool,showPublishedDate:d().bool,title:d().string,titleLinkURL:d().string,user:d().shape({isAuthenticated:d().bool.isRequired,email:d().string}),variations:d().shape({fullBleedSlide:d().boolean,mobileSlider:d().boolean,useSectionTitle:d().boolean})};const fe=(0,c.Ng)(e=>({isModalOpen:e.isModalOpen||!1,user:e.user}))(be);fe.MagazineCartoons=(0,i.y)(fe,"magazineCartoons",{fullBleedSlide:!0,mobileSlider:!0,useSectionTitle:!0},{shouldUseModalStyle:!0});const we=fe,$e=(0,o.y)(we,"GalleryCarousel")},36990:(e,t,n)=>{n.d(t,{A:()=>$e});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(22354),d=n(19607),c=n(38080),m=n(1184),u=n(69148),p=n(92920),g=n(80471),h=n(13465),y=n(90090),b=n(59749),f=n(24532),w=n(49741),$=n(63510),v=n(6442),C=n(38759),k=n(39832),x=n(73275),E=n(50700),A=n(20460),S=n(55082);const L=({contentType:e,dangerousHed:t,hedHref:n,image:o,isLazy:i,locationInfo:a,offers:r,order:l,overallRating:d})=>{const{formatMessage:c}=(0,v.A)(),m=JSON.stringify({pattern:"AwardsListSlide"}),u=o&&{...o},p=`#${l+1}`,{city:g,country:h}=a,b=u&&(0,C.Qu)(u),f=n?s.createElement(k.A,{href:n,dangerouslySetInnerHTML:{__html:t}}):s.createElement("span",{dangerouslySetInnerHTML:{__html:t}});return s.createElement(S.jZ,{"data-event-boundary":"click","data-in-view":m,"data-event-click":m,shouldOrderedGallery:!1,contentAlign:"left",awardList:!0,hasBackground:!1},s.createElement(S.MC,null,d&&s.createElement(S.Mw,null,s.createElement(S.lM,null,s.createElement("h2",null,"Ranking"),s.createElement("div",null,p)),s.createElement(S.pt,null,s.createElement("h2",null,"Score"),s.createElement("div",null,d))),t&&s.createElement(S.TX,null,f),g&&h&&s.createElement(S.Wu,null,`${g}, ${h}`),u&&s.createElement(S.p0,{orientation:b,contentType:e},s.createElement(S.xU,null,s.createElement(S.je,null,s.createElement(S.a_,{...u,isLazy:i})))),r?.length?s.createElement(E.A,{buttonVariation:"Primary",btnStyle:"filled",className:"gallery-slide__aside-offers",dataAttrs:{"data-component-position":"awards-list-slide"},defaultCTAText:c(A.A.productOfferCTAText),offers:r.slice(0,1),onClickHandler:()=>{(0,y.W8)("awards-list-slide-button-click")},showCount:1,showOffersSeller:!0,venueSellerPreviewText:c(A.A.venueSellerPreviewText)}):null))};L.propTypes={contentType:r().string.isRequired,dangerousHed:r().string,hedHref:r().string,image:r().shape(x.A.propTypes),isLazy:r().bool,locationInfo:r().shape({city:r().string,country:r().string}),offers:r().array,order:r().number,overallRating:r().number},L.displayName="AwardsListSlide";const T=L;var N=n(7350),H=n.n(N),I=n(11542),B=n(73730),O=n(38267),_=n(76955),K=n(26865);const P=O.Ay.div.withConfig({displayName:"VotingWrapper"})` margin-bottom: ${(0,K.Kq)(2)}; `,D=(0,O.Ay)(_.vm).withConfig({displayName:"VotingPrompt"})` margin-top: ${(0,K.Kq)(2)}; margin-bottom: ${(0,K.Kq)(2)}; `;D.defaultProps={colorToken:"colors.interactive.base.black",typeIdentity:"typography.definitions.utility.button-utility"};const q=O.Ay.div.withConfig({displayName:"VotingButtons"})` display: flex; > * { width: 50%; max-width: 165px; &:first-child { margin-right: ${(0,K.Kq)(1)}; } &:last-child { margin-left: ${(0,K.Kq)(1)}; } } `;var M=n(53499);const R=({answers:e=[],onVoteCast:t,prompt:n,hasVoted:o=!1,votedMessage:i})=>(s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(M.G.RENDER,{name:"Voting"})},[]),e.length?s.createElement(P,{"data-testid":"voting"},o?s.createElement(D,{"data-testid":"response"},i):s.createElement(D,{"data-testid":"prompt"},n),s.createElement(q,{"data-testid":"voting-button"},e.map(e=>{const n=e.selected?"filled":"outlined";return s.createElement(B.A.Utility,{key:e.text,type:"button",btnStyle:n,"data-testid":"answer",onClickHandler:()=>{!e.selected&&t({value:e.value})},selected:e.selected,label:e.text})}))):null);R.propTypes={answers:r().array,hasVoted:r().bool,onVoteCast:r().func,prompt:r().string,votedMessage:r().string};const F=R;var U=n(15564),V=n(96472);const G=O.Ay.div.withConfig({displayName:"GalleryVotingSlideWrapper"})` ${({hasBottomDivider:e,theme:t})=>e&&`\n border-bottom: 1px solid ${(0,K.HK)(t,"colors.consumption.body.standard.divider")};;\n `}; margin: 0 0 ${(0,K.Kq)(5)}; ${(0,K.H4)(V.LO.lg)} { margin: 0 0 ${(0,K.Kq)(5)}; } `,W=s.memo(F),j=({alternateVotingPrompt:e,defaultVotingPrompt:t,hasBottomDivider:n,imageId:o,shouldShowPercentVotedMessage:i,votingProps:a={},options:r})=>{const l=s.useContext(U.A),d=l?.onVoteCast,c=l?.votes?.find(e=>e.imageId===o),m=l?.allVotes?.find(e=>e.imageId===o),u=!!c;let{votedMessage:p}=a;const{percentVotedMessage:g}=a;if(u&&i&&m){const e=m.tallyResults.find(e=>!0===e?.result),t=m.tallyResults.reduce((e,t)=>e+t.count,0);if(e?.percentage&&t>5){const t=`${Math.round(e.percentage)}%`;p=g.replace("{percent}",`${t}`)}}const h=e||t,y=r||a?.answers,b=s.useMemo(()=>y?.map(e=>({...e,selected:!!u&&e.value===c?.result})),[y,u,c?.result]),f=H()(({value:e})=>d({value:e,imageId:o}),500),w=s.useCallback(({value:e})=>{f({value:e,imageId:o})},[o,d]);return s.createElement(G,{hasBottomDivider:n},s.createElement(W,{...a,answers:b,hasVoted:u,onVoteCast:w,votedMessage:p,prompt:h}))};j.propTypes={alternateVotingPrompt:r().string,defaultVotingPrompt:r().string,hasBottomDivider:r().bool,imageId:r().string,options:r().object,shouldShowPercentVotedMessage:r().bool,votingProps:r().object},j.displayName="GalleryVotingSlide";const z=(0,I.M3)((0,h.y)(j,"GalleryVotingSlide"),{keysToSpread:["pollConfig"]});var Y=n(1899),X=n(14307),Z=n(67616);const J=e=>{if(!e||!Array.isArray(e))return{};const t={};e.forEach(e=>{if(!e||!e.hierarchy||3!==e.hierarchy.length)return;const[n={},o={}]=e.hierarchy||[],i=o.name||"",a=n.name||"";i&&!t[i]&&(t[i]=[]),a&&t[i]&&t[i].push(a)});const n={};return Object.keys(t).forEach(e=>{const o=t[e];o&&o.length>0&&(n[e]=o.sort().join(", "))}),n},Q=({label:e,type:t,subject:n,index:o,no_of_results_returned:i,result_type:a,content_id:r,content_title:s,content_type:l,setFilters:d=[],search_keyword:c}={})=>{const m={...e&&{label:e},...t&&{type:t},...n&&{subject:n},...d.length&&{criteria:{filter:d}},...void 0!==o&&{index:o},platform:"verso",...null!==i&&{no_of_results_returned:i},...(r||s||l)&&{items:[{content_id:r,content_title:s,content_type:l}]},...null!==i&&{results_content:[{result_type:a,no_of_results_returned:i}]},...c&&{criteria:{search_keyword:c}}};(0,X.ce)(m)};var ee=n(40391);const te=["product","commerce-product",...ee.O],ne=(e,t,n=!1)=>!(!t||!(e=>te.includes(e))(e))&&(!ee.O.includes(e)||n);var oe=n(12501);const ie=(0,b.sA)(f.A),ae={"award-list":T};let re=!1;const se=(e,t,n,o)=>{t(!0);const i={"gallery-item-number":`image-${e.order+1}`,"gallery-item-name":e.dangerousHed||"","gallery-length":e.totalCount};(e=>{const t={type:"impression",subject:"gallery_image",index:e.order,total_index:e.totalCount,placement:"vertical"},n=e.isInLightbox,o=e?.image?.searchFilterEventData;if(n){if(!o){const n=e?.image?.segmentedSources,o=n?n.lg[0].url:"",i={items:[{content_title:e.dangerousHed,content_type:"photo",content_id:e.id,content_url:o}],index:e.index,total_index:e.totalItemCount};return void(0,X.kg)({...t,...i,subject:"lightbox_gallery_slide_image"})}re?Q({...o,type:"result_in_view"}):(Q(o),re=!0)}else(0,X.kg)({...t,label:e.dangerousHed||""})})({...e,totalItemCount:n,isInLightbox:o}),(0,y.W8)("vertical-gallery-view",i)},le=({alternateVotingPrompt:e,className:t,defaultVotingPrompt:n,getRef:o,hasCM:i,hasPhotoBookmark:a,showOfferUrl:r,interlude:l,isInContentSlot:m,slideFormat:p,isLazy:h,isModalClosed:y,item:b,shouldHoldImageSpace:f=!1,shouldUpdateUrl:v=!1,shouldEnableBookmarkDrawers:C,shouldEnableCardLevelBookmark:k,shouldEnableCommentsCount:x,isInLightbox:E,showZoomedImage:A,totalItemCount:S})=>{const L=b&&"product"===b.contentType?`${b.id}`:"",T=(0,Z.q)(b.image),[N,H]=(0,g.Wx)({threshold:.5}),[I,B]=(0,s.useState)(!1),O=ne(b.contentType,b.isUpcEnabled,b.isVenueUPCEnabled)?Y.A:ae[p]||$.A;!I&&H&&se(b,B,S,E),y&&(re=!1),v&&((e,t)=>{const n=new URLSearchParams(window.location.search),o=window.location.pathname,i=window.location.hash,a=()=>{const e=n.toString();window.history.replaceState({},"",`${o}${e&&`?${e}`}${i}`)};t?(n.set("image",e.id),a()):n.get("image")===e.id&&(n.delete("image"),a())})(b,H);const _={...b,layout:"ProductEmbed"};return s.createElement("li",{ref:e=>o(e,b.id,H),className:t,id:E?`lightbox-gallery-${b.id}`:b.id},s.createElement("div",{ref:N},!b?.isMidGalleryAd&&s.createElement(O,{...b,defaultVotingPrompt:n,showOfferUrl:r,isLazy:!!b.isUpcEnabled||h,hasPhotoBookmark:a,productId:L,data_item:_,hasImpressionTracking:!0,hasImageCreditText:T,shouldEnableBookmarkDrawers:C,shouldEnableCardLevelBookmark:k,shouldEnableCommentsCount:x,shouldHoldImageSpace:f,showZoomedImage:A,awards:J(b.awards),venueAwards:{awardsIcons:{}},hideLandscapeLayout:(0,ee.e)(b.contentType)}),n&&s.createElement(z,{imageId:b.id,alternateVotingPrompt:e,defaultVotingPrompt:n}),i&&s.createElement(c.Z,{group:"consumer-marketing"},s.createElement("div",{className:"gallery-slide__cm-container"},s.createElement(w.A,{position:"gallery-slide",secondPosition:"in-content"}),s.createElement(oe.W3,null),s.createElement(oe.UT,null))),b?.isMidGalleryAd&&s.createElement(c.Z,{group:"ads"},s.createElement(d.A,{position:"mid-gallery",className:"gallery__item__slide--mid-gallery-ad",shouldHoldSpace:!0,index:b.midGalleryAdIndex})),m&&s.createElement(c.Z,{group:"ads"},s.createElement(d.A,{position:"in-content",shouldDisplayLabel:!0,instance:0,index:0})),l.include&&s.createElement("div",null,s.createElement(u.A,{...l})),b.recirc&&b.recirc.include&&s.createElement(ie,{reelId:b.recirc.reelId})))};le.propTypes={alternateVotingPrompt:r().string,className:r().string,defaultVotingPrompt:r().string,getRef:r().func,hasCM:r().bool,hasPhotoBookmark:r().bool,interlude:r().shape({...u.A.propTypes,include:r().bool}),isInContentSlot:r().bool,isInLightbox:r().bool,isLazy:r().bool,isModalClosed:r().bool,isNative:r().bool,item:r().shape($.A.propTypes).isRequired,shouldEnableBookmarkDrawers:r().bool,shouldEnableCardLevelBookmark:r().bool,shouldEnableCommentsCount:r().bool,shouldHoldImageSpace:r().bool,shouldUpdateUrl:r().bool,showOfferUrl:r().bool,showZoomedImage:r().bool,slideFormat:r().string,totalItemCount:r().number},le.displayName="GalleryItem";const de=(0,h.y)(le,"GalleryItem");var ce=n(38221),me=n.n(ce),ue=n(26695),pe=n(67611),ge=n(86659);var he=n(60162);const ye=({hasImageGrid:e,hasProductPriceColor:t,hasProductNewPriceColor:n,isProductCardName:o,chunk:i,dropShipSellers:a})=>{const r="GalleryShopView",[l,,d]=(0,g.Wx)({threshold:(0,ue.N)()}),[c,m]=s.useState(!1);return s.useEffect(()=>{!c&&d&&d.intersectionRatio&&window.dataLayer&&(m(!0),setTimeout(()=>{(0,he.Yp)(r,document.getElementsByClassName("impressionTracking"))},1e3)),window.addEventListener("scroll",me()(()=>(0,he.Yp)(r,document.getElementsByClassName("impressionTracking")),1e3))},[r,d,c]),s.createElement("div",{ref:l},i&&s.createElement(ge.A.EvenTwo,null,i.map((i,l)=>{const d={name:i?.brand||""};let c=[];if(i.offers&&i.offers.length)for(const e in i.offers)c=[{purchaseUri:i?.offers[e]?.offerUrl||"",price:i?.offers[e]?.price||"",currency:i?.offers[e]?.currency||"",shortUrl:i?.offers[e]?.purchaseUri||"",sellerName:i?.offers[e]?.sellerName||"",comparisonPrice:i?.offers[e]?.reducedPrice||""}];else c=[{purchaseUri:"",price:"",currency:"",shortUrl:"",sellerName:"",comparisonPrice:""}];const m=(e=>({altText:e?.image?.altText,sources:{sm:e?.image?.segmentedSources?.sm?{aspectRatio:"1:1",width:e?.image?.segmentedSources.sm[(e?.image?.segmentedSources?.sm?.length??0)-1].width,url:e?.image?.segmentedSources.sm[(e?.image?.segmentedSources?.sm?.length??0)-1].url,srcset:e?.image?.segmentedSources.sm.map(e=>`${e.url} ${e.width}w`).join(", ")}:{},lg:e?.image?.segmentedSources?.lg?{aspectRatio:"1:1",width:e?.image?.segmentedSources.lg[(e?.image?.segmentedSources?.lg?.length??0)-1].width,url:e?.image?.segmentedSources.lg[(e?.image?.segmentedSources?.lg?.length??0)-1].url,srcset:e?.image?.segmentedSources.lg.map(e=>`${e.url} ${e.width}w`).join(", ")}:{}}}))(i);let u="";i&&i.dangerousHed&&(u=i.dangerousHed.replace(/&#{0,1}[a-z0-9]+;/gi,"").replace(/(<([^>]+)>)/gi,""));const p={...i,dangerousHed:u};return s.createElement(pe.A,{hasImageGrid:e,hasProductPriceColor:t,hasProductNewPriceColor:n,isProductCardName:o,dangerousHed:u,image:m,offers:c,contentId:i.id,brand:d,item:i,key:i.id||l,isDropshipProduct:!0,dropShipSellers:a,data_item:p,layout:r,hasImpressionTracking:!0,onClick:(e,t)=>{(0,he.g1)({window,product:p,index:l,actionId:t,layout:r,event:e})}})})))};ye.propTypes={chunk:r().array.isRequired,dropShipSellers:r().arrayOf(r().string),hasImageGrid:r().bool,hasProductNewPriceColor:r().bool,hasProductPriceColor:r().bool,isProductCardName:r().bool},ye.displayName="GalleryShopViewPage";const be=ye,fe=new Set(["ItemOrderedLeft","ItemOrderedCenter","CardOrderedLeft","CardOrderedCenter"]),we=({alternateVotingPrompt:e,chunk:t,className:n,defaultVotingPrompt:o,dropShipSellers:a,getRef:r=()=>{},hasPhotoBookmark:l,inContentChunkIndex:u,inContentAdItemIndex:g,index:h,isInContentAdsDisabled:y,isReadViewShopViewEnabled:b=!1,sponsoredProductChunkIndex:f,sponsorProductIndex:w,interlude:$={},shouldIncludeInterlude:v,isModalClosed:C,hasProduct:k,newslettersInline:x,nodeIndexForNewsletterPosition:E,shouldHoldImageSpace:A=!1,slideFormat:S,showVirtuosoGallery:L=!1,shouldLoadOnScroll:T=!1,isInLightbox:N,shouldShowCM:H,showOfferUrl:I,slideVariation:B,shouldEnableBookmarkDrawers:O,shouldEnableCardLevelBookmark:_,shouldEnableCommentsCount:K,showZoomedImage:P,shopTypeView:D})=>{const q=fe.has(B)?"ol":"ul",[,M,R]=(0,m.qe)(),F={newsletterType:"slim-newsletter",newsletters:x},U=()=>s.createElement(s.Fragment,null,t.map((n,a)=>{let m=!1;a===w&&f===h&&(m=!0);let b=!1;y||a!==g||u!==h||(b=!0);const k=a===E&&x?.length>=1,B=T?!T:!(0===h&&0===a),D=a===Math.floor((t.length-1)/2);return s.createElement(s.Fragment,{key:n.id||a},x&&k&&s.createElement(p.A,{...F}),s.createElement(de,{alternateVotingPrompt:e,defaultVotingPrompt:o,totalItemCount:t.length,isInLightbox:N,shouldHoldImageSpace:A,getRef:r,hasCM:H&&0===a,showOfferUrl:I,isInContentSlot:b,hasPhotoBookmark:l,interlude:{...$,include:v?v&&D:$.include&&D},slideFormat:S,item:n,isLazy:L?!L:B,shouldEnableBookmarkDrawers:O,shouldEnableCardLevelBookmark:_,shouldEnableCommentsCount:K,showZoomedImage:P,className:i()("gallery__slides__slide",{"gallery__slides__slide--rca":"award-list"===S}),isModalClosed:C}),m&&s.createElement("li",{className:i()("gallery__slides__slide",M)},s.createElement(c.Z,{group:"ads"},s.createElement(d.A,{position:"sponsor-product",className:i()("gallery-slide"),onFilled:R,index:0}))))}));return s.createElement(q,{className:n},b&&k&&"shop"===D?s.createElement(be,{hasImageGrid:!0,hasProductPriceColor:!0,hasProductNewPriceColor:!0,isProductCardName:!0,chunk:t,dropShipSellers:a}):U())};we.propTypes={alternateVotingPrompt:r().string,chunk:r().array.isRequired,className:r().string,defaultVotingPrompt:r().string,dropShipSellers:r().arrayOf(r().string),getRef:r().func,hasPhotoBookmark:r().bool,hasProduct:r().bool,inContentAdItemIndex:r().number,inContentChunkIndex:r().number,index:r().number,interlude:r().shape({...u.A.propTypes,include:r().bool}),isInContentAdsDisabled:r().bool,isInLightbox:r().bool,isModalClosed:r().bool,isReadViewShopViewEnabled:r().bool,newslettersInline:r().array,nodeIndexForNewsletterPosition:r().number,shopTypeView:r().string,shouldEnableBookmarkDrawers:r().bool,shouldEnableCardLevelBookmark:r().bool,shouldEnableCommentsCount:r().bool,shouldHoldImageSpace:r().bool,shouldIncludeInterlude:r().bool,shouldLoadOnScroll:r().bool,shouldShowCM:r().bool,showOfferUrl:r().bool,showVirtuosoGallery:r().bool,showZoomedImage:r().bool,slideFormat:r().string,slideVariation:r().string.isRequired,sponsoredProductChunkIndex:r().number,sponsorProductIndex:r().number};const $e=(0,l.Ng)(function(e){return{slideVariation:e.componentConfig?.GallerySlide?.variation}})(we)},37210:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(96540),i=n(5556),a=n.n(i),r=n(6442),s=n(96472);const l=(0,n(72267).defineMessages)({consentWarningText:{id:"ConsentBanner.consentWarningText",defaultMessage:"To honor your privacy preferences, this content can only be viewed on the site it originates from.",description:"Warning text for message banner"},consentText:{id:"ConsentBanner.consentText",defaultMessage:"This content can also be viewed on the site it originates from.",description:"Text for message banner"}});var d=n(53499),c=n(38267),m=n(62282),u=n(76955);const p=(0,c.Ay)(m.A).withConfig({displayName:"ConsentBannerWrapper"})` width: 100%; `,g=c.Ay.h4.withConfig({displayName:"ConsentBannerTitle"})` /* Note: This overrides specificity from .body h4 */ && { margin-top: 0; } `,h=(0,c.Ay)(u.sH).withConfig({displayName:"ConsentBannerLink"})``;h.defaultProps={colorToken:"colors.consumption.lead.standard.context-tertiary",typeIdentity:"typography.definitions.utility.assistive-text"};var y=n(90239);const b=({consentBannerHeader:e,hasConsent:t,url:n})=>{o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(d.G.RENDER,{name:"ConsentBanner"})},[]);const{formatMessage:i}=(0,r.A)(),a=s.qx&&!t;return o.createElement(p,{contentAlign:"center"},o.createElement(g,null,i(e)),o.createElement("p",null,o.createElement(y.A,null,i(a?l.consentWarningText:l.consentText,{url:n,a:e=>o.createElement(h,{href:n,target:"_blank",rel:"nofollow noreferrer","aria-label":"Opens in a new window",dangerouslySetInnerHTML:{__html:e}})}))))};b.propTypes={consentBannerHeader:a().object.isRequired,hasConsent:a().bool.isRequired,url:a().string};const f=b},37338:(e,t,n)=>{n.d(t,{Q:()=>s,a:()=>l});var o=n(38267),i=n(26865),a=n(99906);const r=new Map([["layout",({layout:e,styleSettings:t=[]},n)=>{const[r,s,l]=e,[d,c,m]=t;if(r&&!s&&!l)return n[r]("mobile",d);const u=o.AH` ${(0,i.Xm)(0,`${a.VS.md}px`)} { ${n[r]("mobile",d)} } `,p=o.AH` ${(0,i.Xm)(`${a.Vh.lg}px`,`${a.VS.lg}px`)} { ${n[s]("tablet",c)} } `,g=o.AH` ${(0,i.H4)(`${a.Vh.xl}px`)} { ${n[l]("desktop",m)} } `,h=o.AH` ${(0,i.Xm)(0,`${a.VS.lg}px`)} { ${n[r]("mobile",d)} } `,y=o.AH` ${(0,i.H4)(`${a.Vh.lg}px`)} { ${n[s]("tablet",c)} } `;return r!==s||c?s!==l||m?o.AH` ${u} ${p} ${g} `:o.AH` ${u} ${y} `:o.AH` ${h} ${g} `}],["styleSettings",({styleSettings:e=[]},t)=>{const[n,r,s]=e;if(n&&!r&&!s)return t("mobile",n);const l=o.AH` ${(0,i.Xm)(0,`${a.VS.md}px`)} { ${t("mobile",n)} } `,d=o.AH` ${(0,i.Xm)(`${a.Vh.lg}px`,`${a.VS.lg}px`)} { ${t("tablet",r)} } `,c=o.AH` ${(0,i.H4)(`${a.Vh.xl}px`)} { ${t("desktop",s)} } `,m=o.AH` ${(0,i.H4)(`${a.Vh.lg}px`)} { ${t("tablet",r)} } `,u=o.AH` ${(0,i.Xm)(0,`${a.VS.lg}px`)} { ${t("mobile",n)} } `;return n&&r&&!s?o.AH` ${l} ${m} `:n&&s&&!r?o.AH` ${u} ${c} `:o.AH` ${l} ${d} ${c} `}]]);function s(e,t,n){return r.get(e)(t,n)}const l=e=>(t,n,i)=>({theme:a})=>{const{componentStylePools:r}=a;return r&&r[e]?r[e].slice().reverse().map(e=>{if(e[t])return e[t](i,n)}).filter(Boolean).reduce((e,t)=>o.AH` ${e} ${t} `,""):""}},37978:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({consentBannerHeader:{id:"TiktokEmbed.ConsentBannerHeader",defaultMessage:"TikTok content ",description:"Header for message banner"}})},38759:(e,t,n)=>{n.d(t,{C0:()=>g,Qu:()=>u,Uc:()=>m,a9:()=>c});var o=n(1165),i=n(12564),a=n(20460),r=n(39832),s=n(91542),l=n(40391);const d={"callout:button-group":i.A,"callout:anchor":s.A},c=new o.default({a:function(e){const{isExternal:t,...n}=e;return{type:t?r.A:"a",props:n}},"inline-embed":e=>({type:d[e.type],props:e.props})}),m=e=>Array.isArray(e)&&!!e.length;function u(e){let t;return e&&e.segmentedSources?[t]=e.segmentedSources.sm:e&&e.sources&&([t]=Object.values(e.sources)),t&&t.height>t.width?"portrait":"landscape"}const p={article:a.A.articleCta,product:a.A.productCta,recipe:a.A.recipeCta,review:a.A.reviewCta,venue:a.A.venueCta,"commerce-product":a.A.productCta},g=(e,t,n)=>e?.[t]||((e,t)=>{const n=(0,l.e)(e)?p.venue:p[e];return n&&t(n)})(t,n)},38807:(e,t,n)=>{n.d(t,{A:()=>k});var o=n(42131);const i={receiveSwgMessage:function(e){if(!e||!e.data||!e.data.type||"swgcta"!==e.data.type)return;const t=e.data.sku||i.defaultSku;i.swgClient.subscribe(t)}};var a=n(15822),r=n(57743);const s=n(42131),l={};l.updateConsent=function(e){const{amguuid:t,siteCode:n,userPlatformProxy:o,xClientID:i}=l;return function({amgUUID:e,body:t,userPlatformProxy:n,xClientID:o}){return(0,r.u)(`${n}${a.v.userDetails}/${e}/oauth2/consent`,{body:JSON.stringify(t),credentials:"include",headers:{"Content-Type":"application/json","x-client":o},method:"PUT"},5e3)}({amgUUID:t,body:[{clientId:e,consentScopeName:"entitlements:read",consentStatus:!0,siteCode:n}],userPlatformProxy:o,xClientID:i})},l.receiveAccountLinkingMessage=function(e){if(!(e&&e.data&&e.data.type&&e.data.clientId&&"swglinkingcta"===e.data.type))return;const t=function(e){const{amguuid:t,siteCode:n,clientId:o,xClientID:i,userPlatformProxy:r}=e,s=`${r}${a.v.userDetails}/${t}/oauth2/token?clientId=${o}&siteCode=${n}`;return fetch(s,{headers:{"Content-Type":"application/json","x-client":i},method:"GET"}).then(e=>e.json())}({amguuid:l.amguuid,siteCode:l.siteCode,clientId:e.data.clientId,xClientID:l.xClientID,userPlatformProxy:l.userPlatformProxy}).then(e=>{const{data:{access_token:t}}=e;return{token:t}});l.swgClient.saveSubscription(()=>t).then(t=>{t&&l.updateConsent(e.data.clientId),document.cookie=`CN_userLinkAccountCTA=1; domain=${l.domain}; path=/; max-age=31536000;`}).catch(()=>{})};var d=n(58156),c=n.n(d),m=n(90090),u=n(89434),p=n(57745),g=n(26830),h=n(11762);const y={receiveLwgMessage:function(e){const t=["login","registration"];if(e&&e.data&&e.data.type&&"lwgcta"===e.data.type){const{paywallSource:n,registrationSourceCode:o}=e.data;y.platformData.registrationSourceCode=o,y.platformData.source=n,g.A.trackGoogleSignInAttempt({paywallSource:n}),(0,u.o)().then(e=>{e.load("client:auth2",()=>{e.auth2.init({}).signIn().then(async e=>{const{payment:o,platformData:i}=y,a=await p.A.googleSignIn(e,i,{paywallSource:n}),{loginResult:r}=a;if(t.indexOf(r)>-1){m.Uc.emitGoogleTrackingEvent(`${r}-complete`,{user:{account:{authProvider:"google"}},paywallSource:n});const e=c()(o,"sample.iss");"wir_high_prop"!==e&&"wir_reg_gate"!==e&&"vf_high_prop"!==e&&"vf_reg_gate"!==e&&"tny_high_prop"!==e&&"tny_reg_gate"!==e||await h.Ay.resetEntitlementSampleMax({iss:e}),"registration"===r?window.postMessage({type:"lwg-registration"},window.origin):window.location.reload()}}).catch(e=>{g.A.trackGoogleSignInFailure({paywallSource:n,user:{account:{loginFailureMessage:e&&e.error}}})})})})}}};var b=n(91287);const f=async(e,t)=>{let n={};try{await(async(e,t)=>{if(e.isLoggedIn)return;const{registrationSourceCode:n,siteCode:o,userPlatformProxy:i,xClientID:a}=e;if("error"===await h.Ay.googleAuthenticate({googleIdToken:t.userData.idToken,registrationSourceCode:n,siteCode:o,source:"verso-swg-flow",userPlatformProxy:i,xClientID:a}))throw new Error("authentication failed")})(e,t),n=await((e,t)=>{const{siteCode:n,userPlatformProxy:o,xClientID:i}=e;return fetch(`${o}${a.v.swgSubscribe}`,{body:JSON.stringify({signature:t.purchaseData.signature,siteCode:n,subscriptionToken:t.purchaseData.raw}),credentials:"include",headers:{"Content-Type":"application/json","x-client":i},method:"POST"}).then(e=>{if(200!==e.status)throw new Error(`failed to send subscription. response status: ${e.status}`);return e.json()})})(e,t),await(0,b.k$)(e)}catch(e){}await(0,b.Gb)(n,t,e),await t.complete(),(0,b.Vx)()},w=async(e,t,n)=>{const o=(async(e,t)=>{const{siteCode:n,userPlatformProxy:o,xClientID:i}=e;if(t.entitlements){const a=t.entitlements.find(t=>t.source===e.swgPublicationId&&!!t.subscriptionToken);if(a)return h.Ay.swgAuthenticate({payload:{condeSubscriptionToken:a.subscriptionToken,persistSession:!0,siteCode:n},userPlatformProxy:o,xClientID:i}).then(e=>e.ok?(m.Uc.emitGoogleTrackingEvent("swg-entitlements-authenticate-success",{tokenType:"conde subscription token"}),!0):(m.Uc.emitGoogleTrackingEvent("swg-entitlements-authenticate-failure",{tokenType:"conde subscription token"}),!1))}return h.Ay.swgAuthenticate({payload:{entitlementsToken:t.raw,persistSession:!0,siteCode:n},userPlatformProxy:o,xClientID:i}).then(e=>e.ok?(m.Uc.emitGoogleTrackingEvent("swg-entitlements-authenticate-success",{tokenType:"entitlements token"}),!0):(m.Uc.emitGoogleTrackingEvent("swg-entitlements-authenticate-failure",{tokenType:"entitlements token"}),!1))})(n,e);await t.waitForSubscriptionLookup(o).then(o=>o?t.showLoginNotification().then(()=>(0,b.k$)(n)):(async(e,t,n)=>{let o;m.Uc.emitGoogleTrackingEvent("subscription-defer-account-creation-attempt",{subscriptionSource:"verso-subscribe-with-google"});try{o=await e.completeDeferredAccountCreation({entitlements:n,consent:!0}),m.Uc.emitGoogleTrackingEvent("subscription-defer-account-creation-complete",{subscriptionSource:"verso-subscribe-with-google"})}catch(e){m.Uc.emitGoogleTrackingEvent("subscription-defer-account-creation-failure",{subscriptionSource:"verso-subscribe-with-google",user:{account:{loginFailureMessage:e.toString()}}})}await f(t,o)})(t,n,e)).then(()=>{e.ack(),(0,b.EG)()})},$=n(62193),v=n(63560),C={handleReadyToPay:function(e){const{entitlements:t=[],isReadyToPay:n}=e||{};v(window,"CN.user.isReadyToPay",t.length<=0&&n||!1),n&&window.dataLayer.push({event:"swg-readytopay",user:{swgReadyToPay:!0}})},linkAccount:async function(e,t){const{entitlements:n}=e,{acceptableFormsOfTenderedPayment:o=[],isLoggedIn:i}=t,a=!document.cookie.includes("CN_userLinkAccountCTA");new URLSearchParams(window.location.search).has("swglinking")&&i&&$(n)&&o.includes("sub")&&a&&u.o().then(e=>{e.load("client:auth2",()=>{e.auth2.init({}).then(()=>{e.auth2.getAuthInstance().isSignedIn.get()&&window.postMessage({type:"swglinkingcta",clientId:"google.production.w0obnuvb21refjgr0g6y1d1jrd7uvt43"})})})})}},k={getWindowSwg:o.getWindowSwg,registerLwgCTA:(e,t)=>{y.platformData=e,y.payment=t,window.addEventListener("message",y.receiveLwgMessage)},registerSwgSubscribeCTA:async e=>{const t=await(0,o.getWindowSwg)();i.defaultSku=e,i.swgClient=t,window.addEventListener("message",i.receiveSwgMessage)},registerSwgAccountLinkCTA:async function(e,t,n){const o=await s.getWindowSwg();l.swgClient=o,l.siteCode=n.siteCode,l.userPlatformProxy=n.userPlatformProxy,l.amguuid=e,l.domain=n.domain,l.xClientID=n.xClientID,window.addEventListener("message",l.receiveAccountLinkingMessage)},registerOnEntitlementsResponseHandler:async(e,t)=>{const n=await o.default.getWindowSwg();n.setOnEntitlementsResponse(((e,t,n)=>async o=>{const i=await o;if(C.handleReadyToPay(i),C.linkAccount(i,t),n&&i.enablesThis())try{await w(i,e,t)}catch(e){}})(n,e,t))},registerOnSubscribeResponseHandler:async e=>{(await o.default.getWindowSwg()).setOnSubscribeResponse((e=>async t=>{const n=await t;await f(e,n)})(e))}}},39836:(e,t,n)=>{async function o({url:e,gtmEvent:t=null}){window.dataLayer&&t&&window.dataLayer.push({event:t});const n=await fetch(e);if(n.ok)return n.json();throw new Error(n.statusText)}n.d(t,{Z:()=>o})},40133:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({relatedArticleHed:{id:"PodcastDetailedPage.relatedArticleHed",defaultMessage:"Related Articles",description:"Default section hed text for PodcastDetailedPage page summary river"},contextualHeader:{id:"PodcastDetailedPage.contextualHeader",defaultMessage:"You Might Like This",description:"Contextual Header for podcast recirc unit"},primaryCTALabel:{id:"PodcastDetailedPage.primaryCTALabel",defaultMessage:"Start Listening Now",description:"Default CTA text for Start Listening Now button"}})},40391:(e,t,n)=>{n.d(t,{O:()=>o,e:()=>i});const o=["activity","bar","hotel","restaurant","ship","shop","spa","skiresort","venue"],i=e=>!(!e||"string"!=typeof e)&&o.includes(e.toLowerCase())},40510:(e,t,n)=>{n.d(t,{X:()=>a,_:()=>m});var o=n(96540),i=n(61127);const a=e=>{let t=e;return Array.isArray(e)?(t=e.filter(Boolean).find(({type:e})=>e&&"I18nProvider"===e.displayName),t.props.children.find(e=>e&&"ArticlePageContentFooterGrid"===e.type?.displayName?o.createElement(i.A,{...e.props}):null)):e&&e.props?e:null};let r=null,s=0;const l=()=>(r||(r={stickyHeroAdWrapper:document.querySelector('[class*="StickyHeroAdWrapper"]'),adsSpacer:document.querySelector('[class*="AdsSpacer"]'),navbar:document.querySelector("header, nav"),linkBanner:document.getElementById("link-banner"),mainContent:document.getElementById("main-content")}),r),d=()=>{r=null,s=0},c=(e,t)=>{const n=l(),o=`${Math.round(t)}px`;try{n.stickyHeroAdWrapper&&n.stickyHeroAdWrapper.style.setProperty(e,o),n.adsSpacer&&n.adsSpacer.style.setProperty(e,o)}catch(e){d()}},m=e=>{try{const{navbar:t,linkBanner:n,mainContent:o}=l();let i=0,a=0;if("SiteHeader"===e)return i=(()=>{const{navbar:e}=l();if(!e)return 0;const t=window.getComputedStyle(e),n=parseFloat(t.top),o=e.offsetHeight;return 0===n?o:0})(),void c("--header-height",i);if(o&&t&&o.contains(t))return void c("--header-height",i);if(n&&t&&!t.contains(n)&&(a=(e=>{if(!e)return 0;try{if(e.classList.contains("visual-link-banner--is-scrolled"))return 0;const t=window.getComputedStyle(e),n=parseFloat(t.paddingTop)||0,o=parseFloat(t.paddingBottom)||0,i=parseFloat(t.borderTopWidth)||0,a=parseFloat(t.borderBottomWidth)||0;return Math.max(0,e.offsetHeight-n-o-i-a)}catch(e){return 0}})(n),i=a),i+=(e=>{if(!e)return 0;try{if(e.tagName&&"nav"===e.tagName.toLowerCase()){const{position:t}=window.getComputedStyle(e);if("relative"===t)return 0}const t=e.offsetHeight||0,n=Math.abs(e.offsetTop||0);return Math.max(0,t-n)}catch(e){return 0}})(t),a>0&&n){const e=i-a;try{n.style.setProperty("--header-height",`${Math.round(e)}px`),c("--banner-height",e)}catch(e){}}(0===s||Math.abs(i-s)>.5)&&(c("--header-height",i),s=i)}catch(e){d()}};m.clearCache=d},41108:(e,t,n)=>{n.d(t,{$m:()=>c,HO:()=>p,kW:()=>u,oc:()=>m});var o=n(38267),i=n(26865),a=n(96472),r=n(73275),s=n(20388),l=n(38860),d=n(91783);const c=o.Ay.figure.withConfig({displayName:"AssetEmbedWrapper"})` ${({isAlignedLeft:e,isAlignedRight:t})=>(e||t)&&`\n margin: ${(0,i.Kq)(4)} 0;\n width: 100%;\n\n @media (min-width: ${a.LO.md}) {\n margin-top: 0;\n width: 37.5%;\n }\n `} ${({isAlignedLeft:e})=>e&&`\n float: left;\n margin-right: ${(0,i.Kq)(2)};\n `} ${({isAlignedRight:e})=>e&&`\n float: right;\n margin-left: ${(0,i.Kq)(2)};\n `} `,m=(0,o.Ay)(r.A).withConfig({displayName:"AssetEmbedResponsiveAsset"})` picture { width: 100%; height: auto; } ${d.hh} { height: auto; video { height: auto; } } `,u=(0,o.Ay)(s.A).withConfig({displayName:"AssetEmbedCaption"})` ${l.OZ} { ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.body")}; } `,p=o.Ay.div.withConfig({displayName:"AssetEmbedAssetContainer"})``},41289:(e,t,n)=>{n.d(t,{E:()=>d,R:()=>c});var o=n(15822),i=n(91250),a=n(56892),r=n(53788);const{oidcCookies:s}=r.A,l=5e3,d=({amgUUID:e,body:t,xClientID:n,userPlatformProxy:a})=>(0,i.u)(`${a}${o.v.userDetails}/${e}/subscriptions/link`,{body:JSON.stringify(t),credentials:"include",headers:{"Content-Type":"application/json","x-client":n},method:"POST"},l),c=async(e,t,n)=>{const o=a.default.getCookie(s.access),r=await(0,i.u)(`https://${t}/epep/api/dpv/link-contract`,{body:JSON.stringify(n),credentials:"include",mode:"cors",headers:{"Content-Type":"application/json",Authorization:`Bearer ${o}`},method:"POST"},l),d=a.default.getCookieDomainFromHostname();if(a.default.deleteCookie("CN_access",d),await(0,i.u)(`${e}v2/public/fetch`,{credentials:"include",headers:{"Content-Type":"application/json",Authorization:`Bearer ${o}`}},l),409===r.status){const e=await r.json();return{status:"conflict",errorMessage:e?.errorMessage}}return 400===r.status?{status:"not found"}:r.ok?{status:"success"}:{status:"error",errorMessage:"Unknown error"}}},41338:(e,t,n)=>{n.d(t,{A:()=>L});var o=n(13465),i=n(32485),a=n.n(i),r=n(5556),s=n.n(r),l=n(96540),d=n(6442);const c=(0,n(72267).defineMessages)({bylineBrandXAdvertiser:{id:"SponsoredContentHeader.BylineBrandXAdvertiser",defaultMessage:"{brandName} X",description:"Byline text when it's a brand and an advertiser"},bylineBrandPresentsAdvertiser:{id:"SponsoredContentHeader.BylineBrandPresentsAdvertiser",defaultMessage:"{brandName} Presents",description:"Byline text when it's a brand presenting an advertiser"},bylineBrandedContent:{id:"SponsoredContentHeader.BylineBrandedContent",defaultMessage:"Branded Content By",description:"Byline text for branded content"},bylineContributorContentByAdvertiser:{id:"SponsoredContentHeader.bylineContributorContentByAdvertiser",defaultMessage:"Contributor Content By",description:"Byline text for Contributor content"},bylineCreated:{id:"SponsoredContentHeader.BylineCreated",defaultMessage:"Created By {brandName} For",description:"Byline text for created by brand"},bylinePaidPost:{id:"SponsoredContentHeader.BylinePaidPost",defaultMessage:"PAID POST",description:"Byline text for a paid post"},bylinePR:{id:"SponsoredContentHeader.BylinePR",defaultMessage:"PR",description:"Byline text for a PR"},bylinePaidPostByAdvertiser:{id:"SponsoredContentHeader.BylinePaidPostByAdvertiser",defaultMessage:"Paid Post by {sponsorName}, Brought to you By Business Reporter",description:"Byline text by advertiser for a paid post"},bylineProduced:{id:"SponsoredContentHeader.BylineProduced",defaultMessage:"Produced By",description:"Byline text for produced by"},bylineProducedByAdvertiser:{id:"SponsoredContentHeader.BylineProducedByAdvertiser",defaultMessage:"Produced By",description:"Byline text for produced by advertiser"},bylinePublishedByAdvertiser:{id:"SponsoredContentHeader.BylinePublishedByAdvertiser",defaultMessage:"Published By",description:"Byline text for published by advertiser"},bylinePresentedByAdvertiser:{id:"SponsoredContentHeader.BylinePresentedByAdvertiser",defaultMessage:"Presented By",description:"Byline text for presented by advertiser"},bylineProducedByBrand:{id:"SponsoredContentHeader.BylineProducedByBrand",defaultMessage:"Produced By {brandName} With",description:"Byline text for produced by brand"},bylineSponsored:{id:"SponsoredContentHeader.BylineSponsored",defaultMessage:"Sponsored content",description:"Byline text for sponsored content"},bylineSponsoredContent:{id:"SponsoredContentHeader.BylineSponsoredContent",defaultMessage:"Sponsored Content By",description:"Byline text for sponsored content with a sponsor name"},bylineTogetherWith:{id:"SponsoredContentHeader.BylineTogetherWith",defaultMessage:"Together with",description:"Byline text for together with"},bylineInCollaboration:{id:"SponsoredContentHeader.BylineInCollaboration",defaultMessage:"In Collaboration With",description:"Byline text for in collaboration with"},bylineSponsoredBy:{id:"SponsoredContentHeader.BylineSponsoredBy",defaultMessage:"Sponsored By",description:"Byline text for sponsored by"},bylineInPartnership:{id:"SponsoredContentHeader.BylineInPartnership",defaultMessage:"In Partnership With",description:"Byline text for in partnership with"},bylineAdvertising:{id:"SponsoredContentHeader.BylineAdvertising",defaultMessage:"Advertising",description:"Byline text for advertising"},bylineAdvertisement:{id:"SponsoredContentHeader.BylineAdvertisement",defaultMessage:"Advertisement",description:"Byline text for advertisement"},bylinePromotedByAdvertiser:{id:"SponsoredContentHeader.BylinePromotedByAdvertiser",defaultMessage:"Promoted by",description:"Byline text for promoted by advertiser"},bylinePromotion:{id:"SponsoredContentHeader.BylinePromotion",defaultMessage:"Promotion",description:"Byline text for promotion"},bylineAdvertisementFeatureWith:{id:"SponsoredContentHeader.BylineAdvertisementFeatureWith",defaultMessage:"Advertisement Feature With",description:"Byline text for advertisement feature with"},bylineOriginalContentBy:{id:"SponsoredContentHeader.BylineOriginalContentBy",defaultMessage:"Original Content By",description:"Byline text for Original Content By"},sponsoredLinkCTA:{id:"SponsoredContentHeader.SponsoredLinkCTA",defaultMessage:"Click to go to {sponsorName}'s website",description:"Call to action for sponsored link"},bylineAdvertisementByAdvertiser:{id:"SponsoredContentHeader.bylineAdvertisementByAdvertiser",defaultMessage:"Advertisement By",description:"Byline text for advertisement by advertiser"},bylineAd:{id:"SponsoredContentHeader.bylineAd",defaultMessage:"Ad",description:"Byline text for ad"},bylineSponsoredByAdvertiser:{id:"SponsoredContentHeader.bylineSponsoredByAdvertiser",defaultMessage:"Sponsored By",description:"Byline text for sponsored by advertiser"},bylineInPartnershipWithAdvertiser:{id:"SponsoredContentHeader.bylineInPartnershipWithAdvertiser",defaultMessage:"In Partnership With",description:"Byline text for in partnership with advertiser"},bylinePaidPartnershipWithAdvertiser:{id:"SponsoredContentHeader.bylinePaidPartnershipWithAdvertiser",defaultMessage:"Paid Partnership With",description:"Byline text for paid partnership with advertiser"},bylineAffiliatePartner:{id:"SponsoredContentHeader.bylineAffiliatePartner",defaultMessage:"Affiliate Partner",description:"Byline text for affiliate partner"},bylinePaidPromotionByAdvertiser:{id:"SponsoredContentHeader.bylinePaidPromotionByAdvertiser",defaultMessage:"Paid Promotion By",description:"Byline text for paid promotion by advertiser"},bylineSpecialFeature:{id:"SponsoredContentHeader.bylineSpecialFeature",defaultMessage:"Special Feature",description:"Byline text for special feature"}});var m=n(53499),u=n(38267),p=n(76955),g=n(26865),h=n(86157),y=n(39832);const b=u.Ay.div.withConfig({displayName:"SponsoredContentHeaderWrapper"})` display: flex; justify-content: center; ${({theme:e})=>(0,g._o)(e,"background-color","colors.discovery.body.light.background")}; padding: ${(0,g.Kq)(2)}; width: 100%; min-height: 80px; ${({isBrandedLegacy:e})=>e?`\n grid-column: 1 / -1;\n padding: unset;\n height: 60px;\n min-height: unset;\n\n &.light-theme {\n ${({theme:e})=>(0,g._o)(e,"background-color","colors.background.light")}\n }\n `:""} `,f=(0,u.Ay)(y.A).withConfig({displayName:"SponsoredContentHeaderExternalLink"})` text-decoration: none; `,w=u.Ay.div.withConfig({displayName:"SponsoredContentHeaderInfoBox"})` display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; ${({isBrandedLegacy:e})=>e?"& { flex-direction: unset; }":""} `,$=(0,u.Ay)(p.vm).withConfig({displayName:"SponsoredContentHeaderBylineText"})` ${({theme:e,isBrandedLegacy:t})=>t?`\n ${(0,g.Gg)(e,"typography.definitions.globalEditorial.context-primary")};\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n padding-right: ${(0,g.Kq)(2)};\n height: 100%;\n\n &.light-theme {\n ${(0,g._o)(e,"color","colors.discovery.body.light.heading")}\n }\n }\n `:""} `;$.defaultProps={as:"div",colorToken:"colors.consumption.lead.standard.syndication",typeIdentity:"typography.definitions.globalEditorial.syndication"};const v=(0,u.Ay)(h.A).withConfig({displayName:"SponsoredContentHeaderResponsiveAsset"})` &.responsive-asset { display: flex; align-items: center; margin-top: ${(0,g.Kq)(1)}; overflow: visible; ${({theme:e,isBrandedLegacy:t})=>t?`\n justify-content: flex-start;\n margin-top: unset;\n padding-left: ${(0,g.Kq)(2)};\n border-left: 1px solid;\n ${(0,g._o)(e,"border-color","colors.discovery.body.light.divider")};\n `:""} } &.responsive-image { height: 60px; img { height: 100%; } ${({constrainLogoByWidth:e})=>e?"{\n width: 60px;\n height: unset;\n\n img {\n height: unset;\n }\n }":""} } `,C=(0,u.Ay)(p.vm).withConfig({displayName:"SponsoredContentHeaderSponsorName"})` display: flex; align-items: center; margin-top: ${(0,g.Kq)(.5)}; ${({isBrandedLegacy:e,theme:t})=>e?`\n justify-content: flex-start;\n margin-top: unset;\n padding-left: ${(0,g.Kq)(.5)};\n\n &.light-theme {\n ${(0,g._o)(t,"color","colors.discovery.body.light.syndication")};\n }\n `:""} `;C.defaultProps={as:"div",colorToken:"colors.consumption.lead.standard.syndication",typeIdentity:"typography.definitions.consumptionEditorial.description-feature"};const k="produced_by_advertiser",x={advertisement:c.bylineAdvertisement,brand_x_advertiser:c.bylineBrandXAdvertiser,brand_presents_advertiser:c.bylineBrandPresentsAdvertiser,branded_content:c.bylineBrandedContent,contributor_content_by_advertiser:c.bylineContributorContentByAdvertiser,created:c.bylineCreated,original_content_by:c.bylineOriginalContentBy,paid_post:c.bylinePaidPost,paid_post_by_advertiser_brought_to_you_by_business_reporter:c.bylinePaidPostByAdvertiser,produced:c.bylineProduced,produced_by_advertiser:c.bylineProducedByAdvertiser,presented_by_advertiser:c.bylinePresentedByAdvertiser,produced_by_brand:c.bylineProducedByBrand,sponsored:c.bylineSponsored,sponsored_content:c.bylineSponsoredContent,together_with:c.bylineTogetherWith,in_collaboration:c.bylineInCollaboration,sponsored_by:c.bylineSponsoredBy,in_partnership:c.bylineInPartnership,advertisement_feature_with:c.bylineAdvertisementFeatureWith,advertisement_by_advertiser:c.bylineAdvertisementByAdvertiser,ad:c.bylineAd,sponsored_by_advertiser:c.bylineSponsoredByAdvertiser,in_partnership_with_advertiser:c.bylineInPartnershipWithAdvertiser,paid_partnership_with_advertiser:c.bylinePaidPartnershipWithAdvertiser,affiliate_partner:c.bylineAffiliatePartner,paid_promotion_by_advertiser:c.bylinePaidPromotionByAdvertiser,special_feature:c.bylineSpecialFeature,advertising:c.bylineAdvertising,PR:c.bylinePR,promoted_by_advertiser:c.bylinePromotedByAdvertiser,published_by_advertiser:c.bylinePublishedByAdvertiser,promotion:c.bylinePromotion};function E(e){return Object.prototype.hasOwnProperty.call(x,e)?e:k}const A=({brandName:e,bylineOption:t,bylineVariant:n,campaignUrl:o,className:i,sponsorLogo:r,sponsorName:s})=>{l.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"SponsoredContentHeader"})},[]);const u=(0,d.A)(),p=E(t),{isBrandedLegacy:g,shouldDisplayLogo:h}=function({bylineOption:e,bylineVariant:t,hasLogo:n}){const o=E(e),i="sponsored"===o||"produced"===o;return{isBrandedLegacy:i,shouldDisplayLogo:n&&("logo"===t||i)}}({bylineOption:p,bylineVariant:n,hasLogo:!!r}),y=function({intl:e,bylineOption:t=k,brandName:n,sponsorName:o}){return e.formatMessage(x[t],{brandName:n,sponsorName:o})}({intl:u,bylineOption:p,brandName:e,sponsorName:s}),A=function({sponsorLogo:e}){return(e?.sources?.sm?.height||0)/(e?.sources?.sm?.width||1)}({sponsorLogo:r});return l.createElement(b,{isBrandedLegacy:g,className:a()(i,p.replace("_","-")),"data-testid":"SponsoredContentHeaderWrapper"},l.createElement(f,{additionalRelVals:["sponsored"],href:o||void 0,attributes:{"aria-label":u.formatMessage(c.sponsoredLinkCTA,{sponsorName:s})}},l.createElement(w,{isBrandedLegacy:g},l.createElement($,{isBrandedLegacy:g,"data-testid":"SponsoredContentHeaderBylineText"},y),h?l.createElement(v,{altText:r.altText,constrainLogoByWidth:A>1,isBrandedLegacy:g,sources:r.sources}):l.createElement(C,{isBrandedLegacy:g},s))))};A.propTypes={brandName:s().string.isRequired,bylineOption:s().string.isRequired,bylineVariant:s().string.isRequired,campaignUrl:s().string.isRequired,className:s().string,sponsorLogo:s().any,sponsorName:s().string.isRequired},A.displayName="SponsoredContentHeader";const S=A,L=(0,o.y)(S,"SponsoredContentHeader")},41375:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(5556),i=n.n(o),a=n(96540),r=n(11542),s=n(62171),l=n(38267),d=n(26865),c=n(96472),m=n(77346);const u=(0,l.Ay)(m.A).withConfig({displayName:"CuratedShowsSectionTitle"})` && { padding: ${(0,d.Kq)(3)}; text-align: center; @media (min-width: ${c.LO.md}) { padding: ${(0,d.Kq)(5)}; } .section-header__hed { color: ${({theme:e})=>(0,d.HK)(e,"colors.discovery.body.white.heading")}; ${({theme:e})=>(0,d.Gg)(e,"typography.definitions.discovery.subhed-section-primary")} } .section-header__subhed { ${({theme:e})=>(0,d.Gg)(e,"typography.definitions.globalEditorial.context-primary")} padding-bottom: ${(0,d.Kq)(2)}; color: ${({theme:e})=>(0,d.HK)(e,"colors.discovery.body.white.accent")}; } } `;u.displayName="CuratedShowsSectionTitle";var p=n(53499);const g=({dangerousHed:e,items:t,hideCuratedShowsList:n,subHed:o,variationValue:i,variationName:r})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"CuratedShowsSection",variation:r})},[r]);const[l]=t;if(!l)return null;const d=t[0].curatedShows.length>0;return a.createElement(a.Fragment,null,d&&a.createElement("section",{"data-testid":"CuratedShowsSection"},e&&a.createElement(u,{subHed:o,dangerousHed:e,subHedPosition:"above"}),a.createElement(s.A,{...l,hasCuratedShowsVariation:i,hideCuratedShowsList:n})))};g.propTypes={dangerousHed:i().string,hideCuratedShowsList:i().bool,items:i().array,subHed:i().string,variationName:i().string,variationValue:i().string};const h=(0,r.M3)(g,{keysToPluck:[]})},41433:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(47655),i=n(16025);i.A.TextCenterImageLeftDark=(0,o.y)(i.A,"TextCenterImageLeftDark",{contentAlign:"center",isDarkBackground:!0,layoutPosition:"image-left"},{}),i.A.TextCenterImageLeftFullBleedDark=(0,o.y)(i.A,"TextCenterImageLeftFullBleedDark",{contentAlign:"center",isDarkBackground:!0,isFullBleed:!0,layoutPosition:"image-left"},{});const a=i.A},42131:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i,getWindowSwg:()=>o});const o=(e=window)=>new Promise((t,n)=>{(e.SWG=e.SWG||[]).push(e=>t(e))}),i={getWindowSwg:o}},42667:(e,t,n)=>{n.d(t,{$P:()=>r,T3:()=>a,T6:()=>s,dC:()=>i.J8,oK:()=>d,oR:()=>c,tJ:()=>l});var o=n(38267),i=n(88154);const a=o.Ay.div.withConfig({displayName:"TextContainer"})` text-align: center; `,r=o.Ay.div.withConfig({displayName:"TextWrapper"})``,s=(0,o.Ay)(i.$E).withConfig({displayName:"FocusUnitBylines"})``;s.defaultProps={typeIdentity:"typography.definitions.globalEditorial.accreditation-feature"};const l=(0,o.Ay)(i.jY).withConfig({displayName:"FocusUnitDek"})``;l.defaultProps={typeIdentity:"typography.definitions.discovery.description-feature"};const d=(0,o.Ay)(i.S3).withConfig({displayName:"FocusUnitHed"})``,c=o.Ay.div.withConfig({displayName:"AdditionalContentWrapper"})` position: relative; z-index: 1; ul { & > li { ${i.Zi} } } `},42752:(e,t,n)=>{n.d(t,{A:()=>P});var o=n(38221),i=n.n(o),a=n(32485),r=n.n(a),s=n(5556),l=n.n(s),d=n(96540),c=n(4178),m=n(80908),u=n(6442);const p=(0,n(72267).defineMessages)({adSlideText:{id:"GalleryEmbedControls.AdSlideText",defaultMessage:"Advertisement",description:"GalleryEmbed component Ad slide text"},backArrowButtonAriaLabel:{id:"GalleryEmbedControls.BackArrowButtonAriaLabel",defaultMessage:"gallery-back",description:"GalleryEmbed component Back Arrow Button Aria Label"},forwardArrowButtonAriaLabel:{id:"GalleryEmbedControls.ForwardArrowButtonAriaLabel",defaultMessage:"gallery-forward",description:"GalleryEmbed component Forward Arrow Button Aria Label"}});var g=n(56082),h=n(4262),y=n(39733);const b=({className:e,iconType:t="ChevronRight",onBack:n,onForward:o,slideCount:i,slideIndex:a,isAdSlide:r,shouldCycleSlides:s})=>{const{formatMessage:l}=(0,u.A)(),c=!s&&0===a,m=!s&&a+1===i&&!r,b={ChevronRight:y.A,Arrow:h.A};return d.createElement(g.cc,{className:e},r?d.createElement(g.Z,null,l(p.adSlideText)):d.createElement(g._y,null,d.createElement(g.Ge,null,`${a+1} `),d.createElement(g.NJ,null,`/ ${i}`)),d.createElement(g.mg,{role:"presentation",onKeyDown:e=>{const t={ArrowLeft:n,ArrowRight:o};t[e.key]&&t[e.key]()}},d.createElement(g.q_,{ariaLabel:l(p.backArrowButtonAriaLabel),isBackArrow:!0,onClickHandler:n,label:"",inputKind:"button",isIconButton:!0,isDisabled:c,isDisabledStyle:c,ButtonIcon:b[t]}),d.createElement(g.q_,{ariaLabel:l(p.forwardArrowButtonAriaLabel),onClickHandler:o,label:"",inputKind:"button",isIconButton:!0,isDisabled:m,isDisabledStyle:m,ButtonIcon:b[t]})))};b.propTypes={className:l().string,iconType:l().oneOf(["Arrow","ChevronRight"]),isAdSlide:l().bool,onBack:l().func.isRequired,onForward:l().func.isRequired,shouldCycleSlides:l().bool,slideCount:l().number,slideIndex:l().number};const f=b;var w=n(90090),$=n(38759),v=n(13465),C=n(1165),k=n(12564),x=n(39832);const E={"callout:button-group":k.A},A=new C.default({a:function(e){const{isExternal:t,...n}=e;return{type:t?x.A:"a",props:n}},"inline-embed":e=>({type:E[e.type],props:e.props})}),S=({className:e,ctaAnalyticsName:t,ctaHref:n,cta:o,contentType:i,dangerousCredit:a,dangerousDek:r,dangerousDetail:s,dangerousHed:l,dangerousMetaOne:c,price:m,reducedPrice:p,sellerName:h})=>{const{formatMessage:y}=(0,u.A)(),b=(0,$.C0)(o,i,y),f=t?()=>{(0,w.zJ)(`${t}-embed`,{})}:()=>{};return d.createElement(g.t9,{className:e},a&&d.createElement(g.$k,{dangerouslySetInnerHTML:{__html:a}}),l&&d.createElement(g.Br,{dangerouslySetInnerHTML:{__html:l}}),r&&("string"==typeof(v=r)?d.createElement(g.r9,{dangerouslySetInnerHTML:{__html:v}}):d.createElement(g.r9,null,A.convert(r))),(c||m)&&d.createElement(g.qJ,null,c&&d.createElement(g.d$,{dangerouslySetInnerHTML:{__html:c}}),m&&d.createElement(g.Lt,null,p?d.createElement("del",null,m):d.createElement("span",null,m)),p&&d.createElement(g.Ff,null,p)),s&&d.createElement(g.Ht,{dangerouslySetInnerHTML:{__html:s}}),h&&d.createElement(g.mo,{dangerouslySetInnerHTML:{__html:h}}),b&&n&&d.createElement(g.y_,{href:n,inputKind:"link","aria-label":"Opens in a new window",label:b,onClickHandler:f,rel:"nofollow noopener noreferrer",target:"_blank"}));var v};S.propTypes={className:l().string,contentType:l().string,cta:l().shape({article:l().string,product:l().string,recipe:l().string,review:l().string}),ctaAnalyticsName:l().string,ctaHref:l().string,dangerousCredit:l().string,dangerousDek:l().oneOfType([l().string,l().array]),dangerousDetail:l().string,dangerousHed:l().string,dangerousMetaOne:l().string,price:l().string,reducedPrice:l().string,sellerName:l().string},S.displayName="GalleryEmbedCaption";const L=(0,v.y)(S,"GalleryEmbedCaption");var T=n(53499),N=n(31989),H=n(38080),I=n(14307),B=n(52818),O=n(1184);const _=(e,t,n,o,i,a,r)=>{if(!(!i&&o&&t&&n))return e;return e.reduce((o,i,r)=>{const{slidesAndAds:s,adCount:l}=o;return s.push(i),(o=>{const i=o<=t*n,a=o%t===0,r=e.length-o;return a&&i&&r>=1})(r+1)?(s.push({isAd:!0,...a&&{isMidGalleryAd:!0,midGalleryAdIndex:l}}),{slidesAndAds:s,adCount:l+1}):{slidesAndAds:s,adCount:l}},{slidesAndAds:[],adCount:r}).slidesAndAds};class K extends d.Component{constructor(e,t){super(e,t),this.getRef=e=>{this.componentBounds=e},this.handleResize=()=>{this.measureComponent()},this.measureComponent=()=>{const e=this.componentBounds?this.componentBounds.getBoundingClientRect().width:null;this.setState({width:e})},this.emitTrackingEvent=e=>{const{slides:t}=this.props,n=t[e],{dangerousHed:o,filename:i}=n,a={"gallery-item-number":`image-${e+1===this.galleryLength?"end":e+1}`,"gallery-item-name":o?(r=o,r.replace(/<[^>]*>/g,"")):"","gallery-item-file":i||"","gallery-length":this.galleryLength};var r;(0,w.W8)("embedded-gallery-view",a)},this.handleSlideChange=e=>{const{slideIndex:t}=this.state,{shouldCycleSlides:n}=this.props;let o=t+e;if(n)o=((e,t)=>{let n=e;return e>=t.length?n=0:e<0&&(n=t.length-1),n})(o,this.slidesAndAds);else if(o<0||o>this.slidesAndAds.length-1)return;const i=this.slidesAndAds[o].isAd,a=o-this.slidesAndAds.slice(0,o).reduce((e,t)=>t.isAd?e+1:e,0);this.setState({hasAnimatedSwipe:!0,isAdSlide:i,slideIndex:o,slideIndexForDisplay:a}),i?(0,w.W8)("gallery-ad-view",{}):this.emitTrackingEvent(a);const{slides:r,isInLightbox:s}=this.props,l=r[a],{image:d,dangerousHed:c,id:m}=l,u=s,p={type:"impression",subject:"gallery_embed",items:[{content_id:m,content_url:d?.segmentedSources?.lg?.[0].url||"",content_title:c,content_type:"photo"}],placement:"horizontal",index:a,total_index:r.length};u&&(0,I.kg)({...p,subject:"lightbox_gallery_slide_image"})},this.handleForward=()=>this.handleSlideChange(1),this.handleBack=()=>this.handleSlideChange(-1);const{slides:n=[],config:o={adsConfig:{galleryEmbedMidGalleryAdCadence:0}},midGalleryAdsLimit:i=1/0,showAds:a=!0,showNoAdsFromParent:r=!1,indexToStartOn:s=0,isInLightbox:l=!1}=this.props,d=o.adsConfig?.galleryEmbedMidGalleryAdCadence??0;let c=0;if(l){const e=document.getElementsByClassName("ad__slot--mid-gallery");e&&e.length&&(c=e.length)}this.slidesAndAds=_(n,d,i,a,r,l,c),this.galleryLength=n.length;let m=s;d>0&&s>=d&&(m+=Math.floor(s/d)),this.state={hasAnimatedSwipe:!1,isClient:!1,slideIndex:m,slideIndexForDisplay:m,width:null}}componentDidMount(){this.setState({isClient:!0}),this.measureComponent(),window.addEventListener("resize",i()(this.handleResize,20)),window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"GalleryEmbed",variation:this.props.variationName})}componentDidUpdate(e){const{isInLightbox:t,isModalClosed:n}=this.props,{isClient:o}=this.state;o&&t&&!n&&(e.isModalClosed||void 0===e.isModalClosed)&&(0,O.MN)("gallery-embed")}render(){const{children:e,className:t,contentType:n,controlsIcon:o,dangerousHed:i,display:a,gallerySlideVariation:s="ItemCenterNoCaption",hasPhotoBookmark:l,showHed:u=!1,slides:p=[],isLazy:h=!1,isModal:y=!1,isModalClosed:b,textAlign:w,isListicleLayout:$=!1,shouldCycleSlides:v=!1,isInLightbox:C=!1,shouldHoldImageSpace:k=!1,showGalleryEmbedCaption:x=!0,showZoomedImage:E,variations:A={display:"slideshow"}}=this.props,{hasAnimatedSwipe:S,isAdSlide:T,slideIndex:I,slideIndexForDisplay:O,isClient:_,width:K}=this.state;let P;const D="callout:slideshow"===n,q=m.A[s];e&&(P=d.Children.toArray(e).filter(e=>"�"!==e.props.children).map(e=>e.props));if("promo"===(a||A?.display)&&!D)return d.createElement(c.A,{...this.props});const M=_?this.slidesAndAds:p.slice(0,3),R=p.length,F=M[I]&&!T,U=y?S?{left:I*K*-1+"px",transition:"left 0.3s ease-in-out"}:{left:I*K*-1+"px"}:{transform:`translate(${I*K*-1}px, 0)`};return d.createElement(g.bd,{isListicleLayout:$,ref:this.getRef,className:r()("gallery-embed",t),isModalClosed:b},d.createElement(g.iq,{className:"gallery-embed__hr",isListicleLayout:$,hasMixedMediaSlides:D,isModalClosed:b}),u&&i&&d.createElement(g.ID,{dangerouslySetInnerHTML:{__html:i}}),$?d.createElement(d.Fragment,null,d.createElement(g.rD,{chunk:this.slidesAndAds,getRef:this.getRef,hasPhotoBookmark:l,isListicleLayout:$,index:I,isInLightbox:C,shouldHoldImageSpace:k,showZoomedImage:E,isModalClosed:b})):d.createElement(d.Fragment,null,D?d.createElement(B.A,{slides:P,totalGalleryItems:R,textAlign:w}):d.createElement(d.Fragment,null,d.createElement(g.Og,{noHed:!u,onSwipeRight:this.handleBack,onSwipeLeft:this.handleForward},d.createElement(g.vo,{isListicleLayout:$,style:U},M.map((e,t)=>d.createElement(g._8,{key:e.id||t,isListicleLayout:$},e.isAd&&d.createElement(H.Z,{group:"ads"},d.createElement(N.A,{position:"mid-gallery",...void 0!==e.midGalleryAdIndex&&{index:e.midGalleryAdIndex}})),!e.isAd&&d.createElement(q,{...e,hasPhotoBookmark:l,isLazy:h,showZoomedImage:E}))))),d.createElement(f,{iconType:o,isAdSlide:T,slideIndex:O,slideCount:R,onBack:this.handleBack,onForward:this.handleForward,shouldCycleSlides:v}))),x&&F&&d.createElement(d.Fragment,null,d.createElement(L,{...M[this.state.slideIndex]}),d.createElement(g.iq,{className:"gallery-embed__hr",isListicleLayout:$,hasMixedMediaSlides:D,isModalClosed:b})))}}K.propTypes={children:l().node,className:l().string,config:l().object,contentType:l().string,controlsIcon:l().oneOf(["Arrow","ChevronRight"]),dangerousHed:l().string,display:l().string,gallerySlideVariation:l().oneOf(["ItemLeft","ItemCenterNoCaption"]),hasPhotoBookmark:l().bool,indexToStartOn:l().number,isInLightbox:l().bool,isLazy:l().bool,isListicleLayout:l().bool,isModal:l().bool,isModalClosed:l().bool,midGalleryAdsLimit:l().number,shouldCycleSlides:l().bool,shouldHoldImageSpace:l().bool,showAds:l().bool,showGalleryEmbedCaption:l().bool,showHed:l().bool,showNoAdsFromParent:l().bool,showZoomedImage:l().bool,slides:l().array,textAlign:l().string,variationName:l().string,variations:l().shape({display:l().string})},K.displayName="GalleryEmbed";const P=K},43222:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(5556),i=n.n(o),a=n(96540),r=n(32485),s=n.n(r),l=n(6442),d=n(68766);const c=e=>{const{formatMessage:t}=(0,l.A)(),{className:n,...o}=e;return a.createElement("svg",{className:s()("icon icon-arrow",n),focusable:"false",viewBox:"0 0 8 8",width:"8",height:"8",xmlns:"http://www.w3.org/2000/svg",...o},a.createElement("title",null,t(d.A.arrow)),a.createElement("g",{opacity:".8",clipPath:"url(#a)"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.707 4 4.354.646l-.708.708L5.793 3.5H1v1h4.793L3.646 6.646l.708.708L7.707 4Z",fill:"#000"})),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fill:"#fff",d:"M0 0h8v8H0z"}))))};c.propTypes={className:i().string};const m=c},43481:(e,t,n)=>{var o;n.d(t,{R:()=>o}),function(e){e.BASE_PAGE_TOP="base-page-top",e.INSIDE_ONE_NAV="inside-one-nav",e.ABOVE_CONNECTED_NAV="connected-nav-top",e.BELOW_CONNECTED_NAV="connected-nav-bottom",e.ABOVE_HERO_AD="above-hero-ad",e.BELOW_HERO_AD="below-hero-ad",e.ABOVE_STANDARD_NAV="above-standard-nav",e.BELOW_STANDARD_NAV="below-standard-nav",e.BELOW_ONE_NAV="below-one-nav",e.BELOW_ONE_NAV_HERO_AD="below-one-nav-hero-ad",e.ABOVE_NAV="above-nav"}(o||(o={}))},44210:(e,t,n)=>{n.d(t,{A:()=>j});var o=n(5556),i=n.n(o),a=n(96540),r=n(6442),s=n(80471),l=n(22354),d=n(32485),c=n.n(d),m=n(26695),u=n(73275);const p=(0,n(72267).defineMessages)({atRetailerNameComponentText:{id:"PLPProductCard.AtRetailerNameComponentText",defaultMessage:"Shop at {sellerNameText}",description:"PLPProductCard component At RetailerName text"},shopNowComponentText:{id:"PLPProductCard.ShopNowComponentText",defaultMessage:"Shop Now",description:"PLPProductCard component At RetailerName text without RetailerName"},atRetailerNameLabel:{id:"PLPProductCard.AtRetailerNameLabel",defaultMessage:"$ {finalPriceLabel} At {sellerNameText}",description:"PLPProductCard component At RetailerName text with price"},buyAt:{id:"PLPProductCard.BuyAt",defaultMessage:"Buy At {sellerNameText}",description:"PLPProductCard component Buy At RetailerName text"}});var g=n(38267),h=n(96472),y=n(43222),b=n(10934),f=n(76955),w=n(26865);const $=(0,g.Ay)(f.vm).withConfig({displayName:"PLPProductCardSalePrice"})` text-decoration: line-through; ${({theme:e})=>` ${(0,w._o)(e,"color",(0,w.iq)(e)?"colors.consumption.body.inverted.body":"colors.consumption.body.standard.subhed")};\n `}; ${({hasProductPriceColor:e,theme:t})=>e&&`\n${(0,w.Gg)(t,"typography.definitions.globalEditorial.numerical-small")};\n`} ${({shouldUseProductPriceSecondary:e,theme:t})=>e&&`\n ${(0,w.Gg)(t,"typography.definitions.globalEditorial.context-secondary")};\n `} `;$.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.link",typeIdentity:"typography.definitions.utility.button-utility"};const v=(0,g.Ay)(f.vm).withConfig({displayName:"PLPProductCardRetailerName"})` a { text-decoration: none; .plpicons { position: relative; margin-left: 2px; } } ${({isDropshipProduct:e,isAffiliateProduct:t})=>(e||t)&&"display: flex; \nline-height: 1.5em;"} ${({hasProductPriceColor:e,theme:t})=>e&&`\n ${(0,w._o)(t,"color",(0,w.iq)(t)?"colors.consumption.body.inverted.body":"colors.consumption.body.standard.body-deemphasized")};\n `} ${({isProductCardRetailerName:e,theme:t})=>e&&`${(0,w.Gg)(t,"typography.definitions.globalEditorial.context-secondary")};\n ${(0,w._o)(t,"color",(0,w.iq)(t)?"colors.consumption.body.inverted.body":"colors.interactive.base.black")};\n `}; `;v.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.link",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const C=(0,g.Ay)(y.A).withConfig({displayName:"plpArrowIcon"})` ${({theme:e})=>`\n transform: rotate(-45deg) scale(0.75);\n position: relative;\n top: 3px;\n fill: ${(0,w.HK)(e,(0,w.iq)(e)?"colors.consumption.body.inverted.body":"colors.consumption.body.standard.body-deemphasized")};\n stroke: ${(0,w.HK)(e,(0,w.iq)(e)?"colors.consumption.body.inverted.body":"colors.consumption.body.standard.body-deemphasized")};\n stroke-width: 1.2px;\n`} `,k=((0,g.Ay)(b.A).withConfig({displayName:"plpShoppingIcon"})` ${({theme:e})=>`\n width: 18px;\n height: 18px;\n fill: ${(0,w.HK)(e,(0,w.iq)(e)?"colors.consumption.body.inverted.body":"colors.consumption.body.standard.body-deemphasized")};\n`} `,(0,g.Ay)(f.vm).withConfig({displayName:"PLPProductCardPrice"})` ${({theme:e})=>` ${(0,w._o)(e,"color",(0,w.iq)(e)?"colors.consumption.body.inverted.body":"colors.consumption.body.standard.subhed")};\n `}; ${({hasProductPriceColor:e,theme:t})=>e&&`\n ${(0,w.Gg)(t,"typography.definitions.globalEditorial.numerical-small")};\n `} ${({shouldUseProductPriceSecondary:e,theme:t})=>e&&`\n ${(0,w.Gg)(t,"typography.definitions.globalEditorial.context-secondary")};\n `} ${({hasProductNewPriceColor:e,theme:t})=>!e&&(0,w.iq)(t)?`${(0,w._o)(t,"color","colors.consumption.body.inverted.body")}`:e?`${(0,w._o)(t,"color","colors.consumption.body.standard.accent")}`:""} `);k.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.link",typeIdentity:"typography.definitions.utility.button-utility"};const x=(0,g.Ay)(f.vm).withConfig({displayName:"PLPProductCardOffer"})` /* stylelint-disable value-no-vendor-prefix */ display: box; margin-top: ${({hasMarginTopAuto:e})=>e?"auto":`${(0,w.Kq)(.5)}`}; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; `;x.defaultProps={colorToken:"colors.consumption.body.standard.link",typeIdentity:"typography.definitions.utility.button-utility"};const E=(0,g.Ay)(f.sH).withConfig({displayName:"PLPProductCardLink"})` min-height: 4em; max-height: 5em; ${(0,w.H4)(h.LO.md)} { min-height: 3.5em; } `;E.defaultProps={colorToken:"colors.consumption.body.standard.link",hasUnderline:!0,typeIdentity:"typography.definitions.utility.button-utility"};const A=(0,g.Ay)(f.vm).withConfig({displayName:"PLPProductCardBrandName"})` ${({isProductCardName:e,theme:t})=>e&&`${(0,w.Gg)(t,"typography.definitions.globalEditorial.context-primary")};\n ${(0,w._o)(t,"color",(0,w.iq)(t)?"colors.consumption.body.inverted.body":"colors.interactive.base.black")};\n `} ${({hasPLPBrandNameContextTitle:e,theme:t})=>e&&`${(0,w.Gg)(t,"typography.definitions.globalEditorial.context-title")};\n text-transform: uppercase;\n `} display: -webkit-box; margin-top: ${(0,w.Kq)(.5)}; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; `;A.defaultProps={colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-secondary"};const S=(0,g.Ay)(f.vm).withConfig({displayName:"PLPProductCardName"})` ${({isProductCardName:e,theme:t})=>e&&`${(0,w.Gg)(t,"typography.definitions.globalEditorial.context-secondary")};\n ${(0,w._o)(t,"color",(0,w.iq)(t)?"colors.consumption.body.inverted.body":"colors.interactive.base.black")};\n `}; ${({hasPLPCardNameDescriptionCore:e,theme:t})=>e&&`${(0,w.Gg)(t,"typography.definitions.discovery.description-core")};\n`}; display: -webkit-box; margin-top: ${(0,w.Kq)(.5)}; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; `;S.defaultProps={colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-secondary"};const L=g.Ay.div.withConfig({displayName:"PLPProductCardBody"})` display: flex; flex: 1 0 auto; flex-direction: column; ${({hasImageGrid:e})=>`${!e&&`padding: 0 ${(0,w.Kq)(1)} ${(0,w.Kq)(1.5)};`};\n ${e&&`padding-top:${(0,w.Kq)(1.5)};\n min-height:100px;\n `}`} text-align: left; `,T=g.Ay.div.withConfig({displayName:"PLPProductCardImage"})` &::before { display: block; ${({theme:e})=>(0,w._o)(e,"background-color","colors.consumption.body.standard.bg-card")}; padding-top: ${({paddingTop:e})=>e&&e.sm?`${e.sm}%`:"100%"}; ${(0,w.H4)(h.LO.md)} { padding-top: ${({paddingTop:e})=>e&&e.lg?`${e.lg}%`:"100%"}; } content: ''; } position: relative; width: 100%; overflow: hidden; picture, img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; background-color: ${({hasProductWhiteBackground:e,theme:t})=>e?`${(0,w.HK)(t,"colors.background.white")}`:`${(0,w.HK)(t,"colors.consumption.body.standard.bg-card")}`}; max-width: 100%; ${({hasImageGrid:e})=>!e&&"object-fit: cover;"} } `,N=g.Ay.div.withConfig({displayName:"PLPProductCardHeader"})` position: relative; container-type: inline-size; div[class*='UnifiedProductCardTextBadge-']:not( div[class*='UnifiedProductCardSeal-'] + div[class*='UnifiedProductCardTextBadge-'] ) { max-width: calc(100% - 24px); } `,H=g.Ay.div.withConfig({displayName:"PLPProductCardObject"})` display: flex; flex-direction: column; border: 1px solid; border-color: transparent; height: 100%; `,I=g.Ay.div.withConfig({displayName:"PLPProductCardWrapper"})` margin: 0; height: 100%; ${({shouldCheckProductInView:e,inView:t})=>e&&t&&"opacity: 0.4;"} &:hover { cursor: pointer; ${A},${S} { ${({isProductCardName:e,theme:t})=>e&&!(0,w.iq)(t)&&`${(0,w._o)(t,"color","colors.consumption.body.standard.link-hover")};`} } ${S} { ${({isProductCardName:e})=>e&&"text-decoration-line:underline;"} } } `,B=(0,g.Ay)(f.sH).withConfig({displayName:"PLPVariantInfoWrapper"})` position: absolute; bottom: 6px; left: 6px; border: 1px solid; padding: ${(0,w.Kq)(.5)} ${(0,w.Kq)(1)}; &:hover { text-decoration: none; } ${({theme:e})=>(0,w._o)(e,"background-color","colors.background.white")}; ${({theme:e})=>(0,w._o)(e,"border-color","colors.background.light")}; `,O=(0,g.Ay)(f.vm).withConfig({displayName:"PLPVariantInfo"})` text-decoration: none; ${(0,w.Gg)("typography.definitions.globalEditorial.context-secondary")} ${({theme:e})=>` ${(0,w._o)(e,"color","colors.consumption.body.standard.subhed")};\n `}; `,_=e=>!/^\d/.test(e),K=(e,t,n)=>{if(!e||_(e)||(e=>Number.isInteger(e))(e))return e;const o=n?.fractionDigits||0;let i=e,a="en";return n?.shouldFormatDecimalSeparator&&t&&(a=(e=>"€"===e?"de":"en")(t)),i=new Intl.NumberFormat(a,{useGrouping:!1,minimumFractionDigits:o}).format(i),i},P=e=>e.replace(/&#{0,1}[a-z0-9]+;/gi,"").replace(/(<([^>]+)>)/gi,"");const D=(e,t,n,o,i,r,s,l,d,c,m,u)=>{const g=t?p.atRetailerNameComponentText:p.shopNowComponentText,h=d?(e=>{if(e){const t=e.split(" ");return`${t[0].toLowerCase()} ${t.splice(1).join(" ").toUpperCase()}`}return e})(o(g,{sellerNameText:t})):o(g,{sellerNameText:t}),y=o(p.atRetailerNameLabel,{finalPriceLabel:e.label,sellerNameText:t}),b=o(p.buyAt,{sellerNameText:t}),f=function(e,t,n,o,i,r,s,l,d){return e?a.createElement(v,{hasProductPriceColor:i,isDropshipProduct:e,isAffiliateProduct:t,isProductCardRetailerName:r,"data-testid":"plp-product-card-retailer-name"},t?a.createElement(a.Fragment,null,a.createElement("a",{href:s,"aria-label":"Opens in a new window",target:"_blank",rel:"noreferrer noopener sponsored",onClick:l,id:d},a.createElement("span",null,P(o)),a.createElement("span",{className:"plpicons"},a.createElement(C,{"aria-hidden":!0})))):a.createElement(a.Fragment,null,a.createElement("a",{href:s,target:"_self",rel:"noreferrer",onClick:l,id:d},a.createElement("span",null,"Shop on ",n?n?.[0]:"")))):a.createElement(v,{hasProductPriceColor:i,isProductCardRetailerName:r,"data-testid":"plp-product-card-retailer-name"}," ",P(o))}(s,i,r,h,n,l,c,m,u);return{label:e.label?y:b,component:e?.component?a.createElement(a.Fragment,null,e.component,f):a.createElement(v,{hasProductPriceColor:n,isProductCardRetailerName:l},b)}};var q=n(52009),M=n(53499),R=n(25203),F=n(82063),U=n(43428),V=n(22039);const G={},W=({contentType:e,dangerousHed:t,url:n,hasAtRetailerNameLowerCase:o=!1,hasImageGrid:i,hasProductPriceColor:l,shouldUseProductPriceSecondary:d=!1,hasProductNewPriceColor:p,hasUnderlineHed:g,hasProductWhiteBackground:h=!1,isProductCardName:y,isProductCardRetailerName:b=!1,shouldCheckProductInView:f,hasMarginTopAuto:w=!1,hasPLPBrandNameContextTitle:v=!1,hasPLPCardNameDescriptionCore:C=!1,image:P,isLazy:W,hasImpressionTracking:j=!1,data_item:z={},brand:Y,offers:X,showOfferUrl:Z,onClick:J=()=>{},contentId:Q,layoutName:ee,layout:te,dropShipSellers:ne,isDropshipProduct:oe,className:ie,isProductWithVariants:ae=!1,expVariationName:re,priceFormatting:se,actionIdFlags:le={},amazonAffiliateTag:de,textBadge:ce=G,seal:me=G})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(M.G.RENDER,{name:"PLPProductCard"})},[]);const ue=X?X[0]:{},{price:pe,comparisonPrice:ge,sellerName:he,shortUrl:ye,purchaseUri:be}=ue,fe="commerce-product"!==e||ye?ye:be,{formatMessage:we}=(0,r.A)();let $e=!0;if(oe&&ne?.length){const e=new URL(be);$e=ne?.some(t=>!e.hostname?.toLowerCase().includes(t))}const ve=$e?Q:z.id||z.variantKey,Ce=`cid=${ve}`;let ke;ke=Z?be:ve?(0,R.cI)(fe,{origin:ve,offerUrl:be}):fe,ke=ke.indexOf("?")>0?`${ke}&${Ce}`:$e?`${ke}?${Ce}`:`${ke}#${Ce}`;let xe,Ee="_self";$e&&(Ee="_blank",xe="noreferrer noopener sponsored");const Ae=(0,F.t)(be,de),Se={"data-buy-button":!0,"data-offer-retailer":he||"","data-offer-url":n||"","aria-label":t||"",href:ke||n||"",title:t||"",rel:xe,target:Ee,hasUnderline:g,...Ae,id:ue.offerId||ue.id},Le=le?.enableActionIdForPLPProductCard,Te=Se?.href?.includes("cna.st")&&Le,Ne=e=>{const t=e?.currentTarget?.getAttribute("href"),n=(0,R.hh)();if(Te&&t){e.preventDefault();const{href:o}=(0,U.P)({event:e,onClickHandler:J,linkProps:t,type:"PLPProductCard",component:"plp_product_card",queryParams:n});window.open(o,"_blank","noopener, noreferrer")}else J({event:e})},He=((e,t,n,o,i,r,s)=>{if(!e)return{label:null,component:null};let l=e,d=o;return s&&(l=K(e,i,s),d=K(o,i,s)),{label:o||e,component:o?a.createElement(a.Fragment,null,a.createElement($,{hasProductPriceColor:t,shouldUseProductPriceSecondary:r},e&&!_(e)?i:"",l)," ",a.createElement(k,{hasProductPriceColor:t,hasProductNewPriceColor:n,shouldUseProductPriceSecondary:r},e&&!_(o)?i:"",d)):a.createElement(k,{hasProductPriceColor:t,shouldUseProductPriceSecondary:r},e&&!_(e)?i:"",l)}})(pe,l,p,ge,{USD:"$",EUR:"€",GBP:"£",INR:"₹",JPY:"¥",TWD:"NT$",PHP:"₱",PLN:"zł",KRW:"₩",UAH:"₴",VND:"₫",MXN:"Mex$"}[ue.currency||"USD"],d,se),Ie=D(He,he,l,we,$e,ne,oe,b,o,ke,Ne,ue.offerId),{label:Be,component:Oe}=Ie,_e={...z,expVariationName:re,layout:te};delete _e.imageLabels,delete _e.source;const Ke={"data-item":JSON.stringify(_e)};let Pe=null;P&&P.sources&&ke?Pe=a.createElement("a",{href:ke,target:Ee,rel:xe,tabIndex:"-1",onClick:Ne,...Ae},a.createElement(u.A,{...P,isLazy:W})):P&&P.sources&&(Pe=a.createElement(u.A,{...P,isLazy:W}));const[De,,qe]=(0,s.Wx)({threshold:(0,m.N)()}),[Me,Re]=a.useState(!1);a.useEffect(()=>{qe&&qe.intersectionRatio&&(qe.intersectionRatio<.95?Re(!0):Re(!1))},[qe]);const Fe=[];j&&(Fe.push("impressionTracking"),ee&&ee.length&&Fe.push(ee));const Ue=e=>{let t=100;if(e?.includes(":")){const n=e.split(":").map(Number),o=n[1]/n[0]*100;isFinite(o)&&(t=o)}return t};return a.createElement(I,{className:c()([ie,Fe]),hasImageGrid:i,hasProductPriceColor:l,inView:Me,shouldCheckProductInView:f,isProductCardName:y,ref:De,...Ke},a.createElement(H,null,a.createElement(N,null,me&&Object.prototype.hasOwnProperty.call(me,"sealUrl")&&a.createElement(V.rU,{seal:me}),ce&&Object.prototype.hasOwnProperty.call(ce,"name")?a.createElement(V.sN,{config:{position:"top-left",badgeText:ce.name},className:"standard"}):null,a.createElement(T,{hasProductWhiteBackground:h,hasImageGrid:i,paddingTop:(e=>{const t=(e=>{const t={};if(e){const{segmentedSources:n,sources:o={}}=e,i=n??(0,q.I)(o);t.sm=i.sm[0]?.aspectRatio,t.lg=i.lg[0]?.aspectRatio}return t})(e);return{sm:Ue(t?.sm),lg:Ue(t?.lg)}})(P)},Pe),ae?a.createElement(B,{...Se,onClick:Ne},a.createElement(O,null,"more options")):null),a.createElement(L,{hasImageGrid:i,isProductCardName:y},Y&&Y.name?a.createElement(A,{isProductCardName:y,hasPLPBrandNameContextTitle:v,"data-testid":"plp-product-card-brand-name"},Y.name):null,t?a.createElement(E,{...Se,onClick:Ne},a.createElement(S,{isProductCardName:y,isDropshipProduct:oe,isAffiliateProduct:$e,hasPLPCardNameDescriptionCore:C,dangerouslySetInnerHTML:{__html:t}})):null,Be&&Oe&&Se.href?a.createElement(x,{hasProductPriceColor:l,hasMarginTopAuto:w,"data-testid":"plp-product-card-offer"},Oe):null)))};W.propTypes={actionIdFlags:i().object,amazonAffiliateTag:i().string,brand:i().object,className:i().string,contentId:i().string,contentType:i().string,dangerousHed:i().string,data_item:i().object,dropShipSellers:i().arrayOf(i().string),expVariationName:i().string,hasAtRetailerNameLowerCase:i().bool,hasImageGrid:i().bool,hasImpressionTracking:i().bool,hasMarginTopAuto:i().bool,hasPLPBrandNameContextTitle:i().bool,hasPLPCardNameDescriptionCore:i().bool,hasProductNewPriceColor:i().bool,hasProductPriceColor:i().bool,hasProductWhiteBackground:i().bool,hasToggleGridColor:i().bool,hasUnderlineHed:i().bool,image:i().shape(u.A.propTypes),isDropshipProduct:i().bool,isLazy:i().bool,isProductCardName:i().bool,isProductCardRetailerName:i().bool,isProductWithVariants:i().bool,layout:i().string,layoutName:i().string,offers:i().array,onClick:i().func,priceFormatting:i().shape({fractionDigits:i().number,shouldFormatDecimalSeparator:i().bool}),seal:i().arrayOf(i().shape({id:i().string,startDate:i().string,endDate:i().string,sealUrl:i().string})),shouldCheckProductInView:i().bool,shouldUseProductPriceSecondary:i().bool,showNewProductCardDesign:i().bool,showOfferUrl:i().bool,sourceName:i().string,textBadge:i().arrayOf(i().shape({name:i().string,startDate:i().string,endDate:i().string})),url:i().string},W.displayName="PLPProductCard";W.UnconnectedComponent=W;const j=(0,l.Ng)(e=>({amazonAffiliateTag:e.commercePlatform?.amazonAffiliateTag}))(W)},45102:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(40860),i=n.n(o),a=n(55378),r=n.n(a),s=n(87612),l=n.n(s),d=n(58156),c=n.n(d);const m={execute:function(e,t){const n=l()(e.list,function(e){return i()(e.conditions,(e,n,o)=>e&&c()(t,o)===n,!0)}),o=r()(n,"properties");return Object.assign({},e.defaults,t,...o)}}},45675:(e,t,n)=>{n.d(t,{A:()=>M});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(53499),d=n(96165),c=n(55976),m=n(18463),u=n(73275),p=n(35864),g=n(38267),h=n(96472),y=n(1123),b=n(26865),f=n(3265),w=n(83632),$=n(74423),v=n(73763),C=n(40653),k=n(33500),x=n(6613),E=n(89635),A=n(20320);const S="1279px",L=g.Ay.section.withConfig({displayName:"VersoSummarySpotlightWrapper"})``,T=g.Ay.div.withConfig({displayName:"VersoSummarySpotlightContainer"})` margin: 0 auto; max-width: calc(${h.LO.xxl} - (2 * ${(0,b.Kq)(8)})); `,N=g.Ay.div.withConfig({displayName:"VersoSummarySpotlightSecondaryItemsWrapper"})` background: ${(0,b.HK)("colors.consumption.lead.inverted.background")}; padding-bottom: ${(0,b.Kq)(5)}; ${(0,y.VO)()} ${(0,b.H4)(h.LO.sm)} { padding-right: ${(0,b.Kq)(3)}; padding-left: ${(0,b.Kq)(3)}; } ${(0,b.H4)(h.LO.md)} { padding-right: ${(0,b.Kq)(6)}; padding-left: ${(0,b.Kq)(6)}; } ${(0,b.H4)(h.LO.xl)} { padding-right: ${(0,b.Kq)(8)}; padding-left: ${(0,b.Kq)(8)}; } ${(0,b.H4)(h.LO.xxl)} { padding-right: ${(0,b.Kq)(20)}; padding-left: ${(0,b.Kq)(20)}; } `,H=g.Ay.div.withConfig({displayName:"VersoSummarySpotlightLeadItemWrapper"})` position: relative; background-position: top; background-size: cover; padding: ${(0,b.Kq)(3)}; ${(0,b.H4)(h.LO.md)} { padding-top: ${(0,b.Kq)(5)}; padding-bottom: ${(0,b.Kq)(5)}; } ${(0,y.VO)()} ${(0,y.aU)("padding")} && { ${(0,b.H4)(h.LO.sm)} { padding-top: ${(0,b.Kq)(2.5)}; padding-bottom: ${(0,b.Kq)(5)}; ${({imageSources:e})=>e.smUrl?`\n background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%), url(${e.smUrl});\n `:""} aspect-ratio: 9/16; } ${(0,b.H4)(h.LO.md)}, ${(0,b.H4)(h.LO.lg)}, ${(0,b.H4)(h.LO.xl)} { padding-top: ${(0,b.Kq)(5)}; ${({imageSources:e})=>e.lgUrl?`\n background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%), url(${e.lgUrl});\n `:""} aspect-ratio: 6/4; } } `,I=(0,g.Ay)(v.A).withConfig({displayName:"VersoSummarySpotlightLeadItemContainer"})` ${C.E} { :nth-of-type(1) { ${(0,b.H4)(h.LO.sm)} { grid-column: 1 / span 4; } ${(0,b.H4)(h.LO.md)} { grid-column: 1 / span 12; } } :nth-of-type(2) { ${(0,b.H4)(h.LO.sm)} { position: absolute; right: ${(0,b.Kq)(3)}; bottom: ${(0,b.Kq)(10)}; left: ${(0,b.Kq)(3)}; grid-column: 1 / span 4; } ${(0,b.H4)(h.LO.md)} { display: grid; position: absolute; right: ${(0,b.Kq)(6)}; bottom: ${(0,b.Kq)(10)}; left: ${(0,b.Kq)(6)}; grid-gap: inherit; grid-column: 1 / span 6; grid-template-columns: inherit; } ${(0,b.H4)(h.LO.xl)} { right: ${(0,b.Kq)(8)}; left: ${(0,b.Kq)(8)}; } ${(0,b.H4)(h.LO.xxl)} { right: ${(0,b.Kq)(20)}; left: ${(0,b.Kq)(20)}; } } } `,B=g.Ay.span.withConfig({displayName:"VersoSummarySpotlightContentDivider"})` display: grid; grid-column: 1 /-1; margin-top: ${(0,b.Kq)(5)}; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: ${(0,b.HK)("colors.discovery.body.black.divider")}; ${(0,b.H4)(h.LO.sm)} { position: absolute; right: ${(0,b.Kq)(3)}; bottom: ${(0,b.Kq)(5)}; left: ${(0,b.Kq)(3)}; } ${(0,b.H4)(h.LO.md)} { display: grid; position: absolute; right: ${(0,b.Kq)(6)}; bottom: ${(0,b.Kq)(5)}; left: ${(0,b.Kq)(6)}; grid-gap: inherit; grid-template-columns: inherit; } ${(0,b.H4)(h.LO.xl)} { right: ${(0,b.Kq)(8)}; left: ${(0,b.Kq)(8)}; } ${(0,b.H4)(h.LO.xxl)} { right: ${(0,b.Kq)(20)}; left: ${(0,b.Kq)(20)}; } `,O=g.Ay.div.withConfig({displayName:"VersoSummarySpotlightSectionTitle"})` grid-column: 1 / span 12; ${k.bU} { color: ${(0,b.HK)("colors.discovery.body.black.heading")}; } ${k.QW} { ${({theme:e})=>(0,b._o)(e,"border-color","colors.discovery.body.black.divider")} } `,_=g.Ay.div.withConfig({displayName:"VersoSummarySpotlightLeadItem"})` grid-column: 1 / span 6; text-decoration: none; ${f.VF} { margin: 0; ${(0,b.Gg)("typography.definitions.discovery.hed-feature")}; color: ${(0,b.HK)("colors.discovery.body.black.heading")}; &:hover, &:focus { text-decoration: underline; } } ${f.YC} { margin-top: 0; ${(0,b.Gg)("typography.definitions.discovery.description-feature")}; color: ${(0,b.HK)("colors.discovery.body.black.description")}; } && { ${f.Nb} { padding: 0 0 0 0; } } ${x.zM} { ${(0,b.Gg)("typography.definitions.globalEditorial.context-primary")}; color: ${(0,b.HK)("colors.discovery.body.black.context-signature")}; } ${f.VF} { margin-top: ${(0,b.Kq)(2)}; margin-bottom: ${(0,b.Kq)(1)}; ${(0,b.H4)(h.LO.sm)} { margin-bottom: ${(0,b.Kq)(.5)}; } } ${f.CN} { margin: 0; } `,K=(0,g.Ay)(w.A).withConfig({displayName:"VersoSummarySpotlightByline"})` ${$.CR}, ${$.QW} { ${(0,b.Gg)("typography.definitions.globalEditorial.accreditation-core")}; color: ${(0,b.HK)("colors.discovery.body.black.accreditation")}; } margin-top: ${(0,b.Kq)(2)}; `,P=g.Ay.div.withConfig({displayName:"VersoSummarySpotlightSecondaryItems"})` ${E.uN} { position: unset; transform: none; transition: none; opacity: unset; border: none; background: ${(0,b.HK)("colors.consumption.lead.inverted.background")}; } ${A.Io} { margin-bottom: ${(0,b.Kq)(1)}; ${(0,b.Gg)("typography.definitions.globalEditorial.context-primary")}; color: ${(0,b.HK)("colors.discovery.body.black.context-signature")}; } && { ${A.k2} { ${(0,b.Gg)("typography.definitions.discovery.hed-core-secondary")}; text-overflow: none; color: ${(0,b.HK)("colors.discovery.body.black.heading")}; } ${A.c0} { grid-template-columns: auto; grid-template-rows: auto; padding-right: 0; padding-left: 0; ${(0,b.H4)(h.LO.md)} { max-width: 100%; overflow-x: hidden; } } ${A.BY} { :nth-of-type(1) { grid-column: 1 / span 3; } :nth-of-type(2) { grid-column: 4 / span 3; } :nth-of-type(3) { grid-column: 7 / span 3; } :nth-of-type(4) { grid-column: 10 / span 3; } display: initial; :nth-of-type(1), :nth-of-type(2) { ${(0,b.L7)(S)} { grid-row: 1; } } :nth-of-type(3), :nth-of-type(4) { ${(0,b.L7)(S)} { grid-row: 2; } } :nth-of-type(1), :nth-of-type(3) { ${(0,b.L7)(S)} { grid-column: 1 / span 6; } } :nth-of-type(2), :nth-of-type(4) { ${(0,b.L7)(S)} { grid-column: 7 / span 6; } } :nth-of-type(1), :nth-of-type(2), :nth-of-type(3), :nth-of-type(4) { ${(0,b.L7)("767px")} { grid-area: auto / 1 / auto / span 12; } } } ${A.SJ} { display: grid; grid-gap: 1rem; grid-template-columns: 3fr auto; align-items: start; *:first-child { order: 1; } ${(0,b.L7)(S)} { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: ${(0,b.HK)("colors.discovery.body.black.divider")}; padding-bottom: ${(0,b.Kq)(1)}; } } ${A.Fs} { height: auto; ${A.bT}, ${A.uo} { display: none; } } ${A.xW} { margin-right: 0; } } ${A.k} { order: 0; margin-right: 0; margin-left: 0; width: unset; overflow: unset; text-decoration: none; text-overflow: unset; -webkit-line-clamp: unset; span { &:hover, &:focus { text-decoration: underline; } } } `,D=({image:e,className:t,contributor:n,dangerousDek:o,dangerousHed:a,rubric:r,secondaryItems:u,sectionHed:g,url:h})=>{s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(l.G.RENDER,{name:"VersoSummarySpotlight"})},[]);const y={links:u,bannerType:"visual-link-banner",hasNativeImgLazyLoading:!0},b=e.segmentedSources?{sm:Object.values(e.segmentedSources.sm).pop(),lg:Object.values(e.segmentedSources.lg).pop()}:"",f={smUrl:(0,d.m5)(b.sm.url),lgUrl:(0,d.m5)(b.lg.url)};return s.createElement(L,{className:i()("verso-summary-spotlight","inverted",t)},s.createElement(H,{imageSources:f},s.createElement(T,null,s.createElement(I,null,g&&s.createElement(O,null,s.createElement(p.default,{dangerousHed:g,hasDividerAbove:!0,"data-testid":"section-title"})),s.createElement(_,null,s.createElement(m.A,{contentAlign:"left",dangerousHed:a,dangerousDek:o,rubric:r,shouldLeftAlignContent:!0,url:h,hasLeftMargin:!1,rubricVariation:"Item",shouldDisplayDangerousDekOverlay:!0}),n?.items&&s.createElement(K,{...n}))),s.createElement(B,null))),s.createElement(N,null,s.createElement(T,null,s.createElement(P,null,s.createElement(c.A,{linkBannerData:y})))))};D.propTypes={className:r().string,contributor:r().object,dangerousDek:r().string.isRequired,dangerousHed:r().string.isRequired,image:r().shape(u.A.propTypes).isRequired,rubric:r().object,secondaryItems:r().array,sectionHed:r().string,url:r().string.isRequired},D.displayName="VersoSummarySpotlight";const q=D;const M=(0,n(13465).y)(q,"VersoSummarySpotlight")},45898:(e,t,n)=>{var o,i;n.d(t,{W:()=>r,v:()=>s}),function(e){e.LEFT="left",e.RIGHT="right"}(o||(o={})),function(e){e.END="end",e.START="start"}(i||(i={}));const a="top";function r(e){return e.includes(o.LEFT)?o.LEFT:o.RIGHT}function s(e){return e.includes(a)?i.START:i.END}},46468:(e,t,n)=>{n.d(t,{A:()=>us});var o=n(13465),i=n(96540),a=n(5556),r=n.n(a),s=n(11542),l=n(48188),d=n(53169),c=n(73275),m=n(47655),u=n(38798),p=n(53499),g=n(59867),h=n(49741),y=n(12501),b=n(38080),f=n(73767),w=n(72267);const $=(0,w.defineMessages)({searchLabel:{id:"SimpleNavigation.SearchLabel",defaultMessage:"Search",description:"Label for search button"}});var v=n(38267),C=n(96472),k=n(1123),x=n(26865),E=n(73730),A=n(7228);const S=(0,v.Ay)(E.A.Utility).withConfig({displayName:"SimpleNavigationSearchButton"})` display: flex; position: relative; margin: 0 0 0 auto; border: 0; background-color: transparent; padding: 0; width: calculate-spacing(4); &:hover, &:focus { border: 0; background-color: transparent; svg path { fill: ${(0,x.HK)("colors.foundation.icon-hover")}; } } .button__icon-container { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: ${(0,x.Kq)(4)}; height: 100%; .icon { width: 100%; height: auto; } } svg path { fill: ${(0,x.HK)("colors.foundation.icon-default")}; } ${(0,x.H4)(C.LO.md)} { margin: 0 0 0 ${(0,x.Kq)(4)}; } `,L=(0,v.Ay)(l.A.Horizontal).withConfig({displayName:"SimpleNavigationUtilityLinks"})``,T=v.Ay.div.withConfig({displayName:"SimpleNavigationSectionUtilityLinks"})` justify-content: flex-end; .navigation__link { display: none; margin: 0 ${(0,x.Kq)(4)} 0 0; } .consumer-marketing-unit--nav-cta { height: calc(${(0,x.Kq)(6)} - 1px); } `,N=(0,v.Ay)(c.A).withConfig({displayName:"SimpleNavigationLogoImage"})` display: flex; justify-content: center; text-align: center; ${A.BF} { object-fit: contain; max-height: ${(0,x.Kq)(6)}; } `,H=v.Ay.a.withConfig({displayName:"SimpleNavigationLogoLink"})` justify-content: center; width: 100%; height: 100%; `,I=v.Ay.div.withConfig({displayName:"SimpleNavigationSectionLogo"})` justify-content: center; margin: 0.75rem auto; width: 17rem; min-width: initial; justify-self: center; overflow: hidden; ${(0,x.H4)(C.LO.md)} { max-width: initial; } `,B=v.Ay.div.withConfig({displayName:"SimpleNavigationGrid"})` ${(0,k.VO)()} ${(0,k.aU)("padding")} display: grid; justify-content: space-between; column-gap: var(--grid-gap); margin: 0 auto; width: 100%; max-width: ${C.LO.xxl}; height: 100%; row-gap: var(--grid-gap); ${(0,x.L7)(C.LO.md)} { grid-gap: 0; grid-template-columns: repeat(3, 1fr); padding: 0 ${(0,x.Kq)(2)}; } `,O=v.AH` display: flex; align-items: center; .navigation__link, .simple-navigation__subscribe-link { ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.link-primary")} ${({theme:e})=>(0,x.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.collapsed-menu.nav-link.hover")} min-width: ${(0,x.Kq)(5)}; } .navigation__list { margin: 0; } .navigation__list-item { display: flex; padding: 0; } `,_=v.Ay.header.withConfig({displayName:"SimpleNavigationWrapper"})` display: flex; position: fixed; top: 0; justify-content: center; transition: background-color 0.2s ease-in-out; z-index: get-z(siteHeader); background: ${(0,x.HK)("colors.foundation.menu-bg.collapsed")}; width: 100%; height: ${(0,x.Kq)(6)}; ${({decorationStyle:e})=>"border-thin"===e&&v.AH` border-bottom: 1px solid ${(0,x.HK)("colors.foundation.menu.dividers")}; `} ${({logoAlign:e})=>"left"===e&&v.AH` ${I} { grid-column: 2 / 3; } ${T} { grid-column: 3 / 4; } ${(0,x.H4)(C.LO.md)} { ${H} { justify-content: flex-start; } ${I} { grid-column: 1 / 5; align-items: center; justify-self: baseline; } ${T} { grid-column: 5 / 13; align-items: center; justify-content: flex-end; .navigation__link { display: flex; } } } `} ${({logoAlign:e})=>"center"===e&&v.AH` ${I} { grid-column: 2 / 3; } ${T} { grid-column: 3 / 4; } ${(0,x.H4)(C.LO.md)} { ${I} { grid-column: 5 / 9; } ${T} { grid-column: 9 / 13; .navigation__link--persistent.navigation__link { display: flex; } } } ${(0,x.H4)(C.LO.lg)} { ${T} { .navigation__link { display: flex; } } } `} ${({isScrolled:e})=>e&&v.AH` background-color: ${(0,x.HK)("colors.foundation.menu-bg.collapsed")}; `} ${({logoWide:e})=>e&&v.AH` display: block; ${B} { display: block; grid-gap: unset; grid-template-columns: unset; } ${I} { margin: 0.75rem auto; min-width: initial; max-width: initial; } ${I}, ${N} { width: ${(0,x.Kq)(34)}; } `} ${({mobileOption:e})=>"search"===e&&v.AH` ${L}, .simple-navigation__consumer-marketing-unit--nav-cta { display: none; ${(0,x.H4)(C.LO.md)} { display: flex; } &.consumer-marketing-unit--no-failsafe { display: none; } } ${S}.button--link { display: flex; } `} ${({mobileOption:e})=>"cm"===e&&v.AH` span, picture { width: inherit; } ${T} { display: flex; align-items: center; } ${S}.button--link { display: none; ${(0,x.H4)(C.LO.md)} { display: flex; } } `} ${I}, ${T} { ${O} } `;class K extends i.Component{constructor(e,t){super(e,t),this.handleScroll=this.handleScroll.bind(this),this.scrollSubscription=null,this.state={isScrolled:!1}}componentDidMount(){window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"SimpleNavigation",variation:this.props.variationName}),this.scrollSubscription=window.Kendra.WINDOW_EVENT.on(g.m.SCROLL_THROTTLE,this.handleScroll)}componentWillUnmount(){this.scrollSubscription&&(this.scrollSubscription.off(),this.scrollSubscription=null)}handleScroll(){const{scrollTop:e}=document.documentElement,t=e>0;t!==this.state.isScrolled&&this.setState({isScrolled:t})}render(){const{className:e,decorationStyle:t,hasSearch:n,hasLogoWide:o,logo:a,logoBaseUrl:r,utilityLinks:s,variations:l,intl:d}=this.props,{logoAlign:c,mobileOption:m}=l;return i.createElement(_,{className:e,decorationStyle:t,logoAlign:c,mobileOption:m,hasLogoWide:o,isScrolled:this.state.isScrolled},i.createElement(B,null,i.createElement(I,null,i.createElement(H,{href:r,"data-testid":"Logo"},i.createElement(N,{...a}))),i.createElement(T,null,s.length>0&&i.createElement(L,{attributes:{"aria-label":"Utility"},links:s,shouldAllowNavItemHide:!0}),i.createElement(b.Z,{group:"consumer-marketing"},i.createElement(h.A,{position:"nav-cta"})),i.createElement(y.IJ,null),n&&i.createElement(S,{ButtonIcon:f.A,isIconButton:!0,href:"/search",inputKind:"link",label:d.formatMessage($.searchLabel)}))))}}K.propTypes={className:r().string,decorationStyle:r().oneOf(["default","border-thin"]),hasLogoWide:r().bool,hasSearch:r().bool,intl:r().object,logo:r().shape(c.A.propTypes).isRequired,logoBaseUrl:r().string,utilityLinks:l.A.propTypes.links,variationName:r().string,variations:r().shape({logoAlign:r().oneOf(["center","left"]).isRequired,mobileOption:r().oneOf(["search","cm"]).isRequired})},K.defaultProps={decorationStyle:"default",hasLogoWide:!1,hasSearch:!1,logoBaseUrl:"/",utilityLinks:[],variations:{logoAlign:"center",mobileOption:"search"}},K.displayName="SimpleNavigation";const P=(0,u.Ay)(K);P.LogoCenterWithSearch=(0,m.y)(P,"LogoCenterWithSearch",{logoAlign:"center",mobileOption:"search"}),P.LogoCenterWithCM=(0,m.y)(P,"LogoCenterWithCM",{logoAlign:"center",mobileOption:"cm"}),P.LogoLeftWithSearch=(0,m.y)(P,"LogoLeftWithSearch",{logoAlign:"left",mobileOption:"search"}),P.LogoLeftWithCM=(0,m.y)(P,"LogoLeftWithCM",{logoAlign:"left",mobileOption:"cm"});const D=P,q=(0,o.y)(D,"SimpleNavigation");var M=n(31581),R=n(6442),F=n(10103);const U=(0,w.defineMessages)({utilityNavigationLabel:{id:"SiteHeader.UtilityNavigation",defaultMessage:"Utility",description:"ARIA label for the whole utility navigation"},primaryNavigationLabel:{id:"SiteHeader.ScrollingNavigation",defaultMessage:"Primary",description:"ARIA label for the whole primary navigation"},drawerLabel:{id:"StandardNavigation.Drawer",defaultMessage:"Navigation and Sign Up Menu",description:"ARIA label for the drawer modal"}});var V=n(34520),G=n(19525),W=n(62193),j=n.n(W),z=n(4124),Y=n.n(z),X=n(85015),Z=n.n(X),J=n(58156),Q=n.n(J);const ee=(0,w.defineMessages)({megaMenuNavigationPrimaryAriaLabel:{id:"MegaMenu.NavigationPrimaryAriaLabel",defaultMessage:"Primary",description:"MegaMenu component Navigation links aria label"},destinationClickOut:{id:"MegaMenu.VerboseClickOut",defaultMessage:"More",description:"MegaMenu component verbose category click out"},allText:{id:"MegaMenu.All",defaultMessage:"All",description:"MegaMenu Secondary Footer All Link"},closeButtonLabel:{id:"MegaMenu.MegaMenuButton",defaultMessage:"Close Mega Menu",description:"ARIA label for the close button on Mega Menu"},megaMenuSignInLinkText:{id:"MegaMenu.SignInLinkText",defaultMessage:"Sign in",description:"MegaMenu component Sign in link text"}});var te=n(49235),ne=n(71549),oe=n(69880),ie=n(76399),ae=n(99906);const re=e=>{const{xval:t=-1,xmax:n=-1,yval:o=-1,ymax:i=-1,func:a}=e,{revisedXmax:r,revisedYmax:s}=((e,t,n,o)=>{let i=t,a=o;return-1!==e&&-1===t&&(i=Number.MAX_SAFE_INTEGER),-1!==n&&-1===o&&(a=Number.MAX_SAFE_INTEGER),{revisedXmax:i,revisedYmax:a}})(t,n,o,i);t>=r&&o>=s&&a&&a()};var se=n(8231),le=n(60663),de=n(14307),ce=n(10246);const me=(0,le.Y)(()=>window.sessionStorage),{useState:ue,useEffect:pe,useRef:ge}=i,he=e=>{window.dataLayer&&window.dataLayer.push({event:"navigation-click",navigationType:"header",clickText:e})},ye=e=>{const{accountProps:t={signInLink:"/account/sign-in"},megaMenuContent:n={},isAccountsEnabled:o,isContentCentered:a,isSlim:r,user:s,collapseMegaMenu:l,containerMinHeight:d,theme:c="standard",utilityLinks:m=[],hasLinkBanner:u,primaryNavLink:g={},variations:h={layout:"default",multipleIteration:!1,showBorderHighlight:!1,showClickOutLink:!1,showCloseCTA:!0,showMenuOnClick:!1},variationName:b,isDrawerOpen:f=!1,hasExtraTopMargin:w=!1,navHighlightColour:$}=e,{accountLinks:v,signInLink:C}=t;i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"MegaMenu",variation:b})},[b]);const k=n.layout||h.layout,[x,E]=ue(n.children),[A,S]=ue({}),[L,T]=ue([]),[N,H]=ue(!1),[I,B]=ue(!0),[O,_]=ue([]),[K,P]=ue(""),[D,q]=ue([]),[M,F]=ue([]),U=m.filter(e=>e.showInBottomNav),V=Q()(n,"showSecondaryFooterAllLink",!1),G=ge(null),W=(e,t,n)=>{const o=t?((e,t,n)=>`${t}/${e}/${n}`)(e,t,n+1):`Nav Link/${e}`;he(o)},z=(e,t,n="children")=>e.reduce((e,o)=>e||(o.text===t||o.groupName===t?o:o[n]?z(o[n],t,n):null),null),X=(e,t)=>{if("push"===e)q([...D,t]);else{const e=D.indexOf(t);e>-1&&D.splice(e,1)}},J=(e,t=null)=>{P(e),X("push",e),W(e,K,t);const n=z(O,e);F(n)},le=e=>e.text||e.groupName,ye=e=>{const t=N?e.target.firstChild.textContent:e.target.firstChild.querySelector("span").textContent;x.forEach(e=>{t===le(e)&&(S(e),B(!I),T([]))})},be=e=>{h.showClickOutLink&&d&&!N?re({yval:e.clientY,ymax:d,func:l}):!G.current||G.current.contains(e.target)||N||h.showClickOutLink||l(e)},fe=e=>{const t={type:"click",label:e?.target?.textContent?.toString(),subject:"mega_menu",items:[{content_title:e?.target?.textContent?.toString(),content_url:e?.target?.href}],placement:"top"};(0,de.kg)(t)};pe(()=>(window.addEventListener("mousemove",be),()=>window.removeEventListener("mousemove",be))),pe(()=>{E(n.children),S("verbose"===k?n.children[0]:{}),B(!0)},[n,k]),pe(()=>{x.map(e=>e.text===A.text?T(e.children||e.links):null)},[I,A,x]),pe(()=>{window.innerWidth{_(n.children)},[n]);const{formatMessage:we}=(0,R.A)(),$e=e=>({groupName:e.groupName,isExternal:e.isExternal,isLink:e.isLink,url:e.url}),ve=(e,t,o,i=!1,a=!1)=>{const r=Z()(o),s=r||!o?o:o.groupName,l=i?" nav__card":"",d={attributes:{"aria-labelledby":s?Y()(s):we(ee.megaMenuNavigationPrimaryAriaLabel)},className:`drawer__navigation--primary${l}`,hasCardList:a,heading:s||"",includesClickOut:t||!1,isCard:i,links:e,layout:k,maxItemsPerColumn:n.maxItemsPerColumn?n.maxItemsPerColumn:"default"===k?V?n.children.length+2:n.children.length:10,showContentDivider:!0,isMegamenu:!0};return!r&&o&&(d.headingUrl=o.url||"",d.isHeadingALink=o.isLink||!1,d.isHeadingUrlExternal=o.isExternal||!1),s&&(d.headingAttributes={id:Y()(s)}),d},Ce=(e,t)=>{const n=t||"",o=e===A.text?"active":"",a=N?{className:I?"":"active",onClick:e=>ye(e),key:n}:{className:o,onMouseEnter:e=>!h.showMenuOnClick&&ye(e),onClick:()=>{return h.showMenuOnClick&&(t=e,void x.forEach((e,n)=>{t===e.text&&(S(e),B(!I),T([]),W(t,g?.text,n))}));var t},onKeyDown:e=>{13===e.keyCode&&ye(e)},key:n};return N?i.createElement("li",{...a},i.createElement("span",null,e),i.createElement(oe.A,{width:"1rem",height:"1rem"})):i.createElement("li",{...a},i.createElement(ce.E0,{href:h.showMenuOnClick?void 0:A.url},i.createElement("span",null,e),i.createElement(oe.A,{width:"1rem",height:"1rem"})))},ke=(e,t,n,o="#")=>{const a=e===K?"active":"",r={className:"li-with-chevron",onClick:()=>n(e,t),key:t||""};return i.createElement("li",{...r},i.createElement(ce.EP,{className:a,href:o,onClick:e=>(e.preventDefault(),!1),role:"link"},i.createElement("span",null,e),i.createElement(oe.A,{width:"1rem",height:"1rem"})))},xe=({handleLinkClickUrl:e,url:t,label:n,clickEventLabel:o,key:a})=>i.createElement(ce.CT,{key:a,onClick:()=>(e=>{window.location.href=e})(e)},i.createElement("span",null,i.createElement("a",{href:t,onClick:()=>o&&he(o)},n))),Ee=Q()(n,"clickOutLinks")&&n.clickOutLinks.map((e,t)=>xe({handleLinkClickUrl:e.url,url:e.url,label:e.text,clickEventLabel:e.text,key:t})),Ae=i.createElement(ce.uf,{showBorderHighlight:h.showBorderHighlight,showUnderlineOnHover:!h.showMenuOnClick},x.map((e,t)=>Ce(le(e),t)),V&&xe({handleLinkClickUrl:n.url,url:n.url,label:`${we(ee.allText)} ${n.text}`,clickEventLabel:`${g?.text}|Viewall`,key:null}),Ee),Se=e=>{let t=!1;const o=e.filter(e=>!e.isCard).map((e,n)=>{if(e.hasChildren)return ke(e.text||e.groupName,n,J,e.url);if(e.links){t=!0;return((e,t,n=!1)=>{const o=$e(e),a=`${D.join("|")}|`;return i.createElement(ce.__,{...ve(e.links,!1,o),key:t,noHeadingGroupName:n,showDividerOnTop:!0,isHeadingEmpty:!0,trackingText:a,trackingTextIndex:t,navHighlightColour:$})})(e,n,""===e.groupName)}return xe({handleLinkClickUrl:e.url,url:e.url,label:e.text,clickEventLabel:null,key:n})});return t?i.createElement(i.Fragment,null,o):i.createElement(ce.uf,{showBorderHighlight:h.showBorderHighlight},o,V&&xe({handleLinkClickUrl:n.url,url:n.url,label:`${we(ee.allText)} ${n.text}`,clickEventLabel:`${g?.text}|Viewall`,key:null}))},Le=i.createElement(ce.$0,{onClick:fe},K?i.createElement(i.Fragment,null,i.createElement(ce.uf,{showBorderHighlight:h.showBorderHighlight},ke(K,null,e=>{X("pop",e);const t=D.length&&D[D.length-1];P(t);const n=z(O,t);n&&F(n)})),Se(M.children),(e=>{const t=e.filter(e=>e.isCard);if(!j()(t)){const e=t[0].groupName,n=t.map(e=>e.links);return i.createElement(ce.__,{...ve(n,!1,e,!0,!0),showDividerOnTop:!0,isHeadingEmpty:!0})}return!1})(M.children),M.hasClickOut&&i.createElement(ce.YA,null,i.createElement("a",{href:M.url},M.clickOutText?M.clickOutText:`${we(ee.destinationClickOut)} ${M.text}`))):Se(O),!K&&i.createElement(ce.B7,null,o&&i.createElement(ce.BP,null,s&&(s.isAuthenticated?i.createElement(se.A,{accountLinks:v,className:"drawer-account__options"}):i.createElement(ce.ef,{href:C,rel:"nofollow"},we(ee.megaMenuSignInLinkText)))),i.createElement(y.LQ,{use:"MegaMenu"}),U.length>0&&i.createElement(ce.x8,{links:U}))),Te=i.createElement(ce.TZ,{onClick:fe},I?Ae:i.createElement(i.Fragment,null,i.createElement(ce.uf,{showBorderHighlight:h.showBorderHighlight},Ce(le(A))),A&&(A.hasChildren?L.map((e,t)=>{const n=$e(e);return i.createElement(ce.__,{...A.hasClickOut&&t+1>=L.length?ve([...e.links,{isExternal:!1,text:`${we(ee.destinationClickOut)} ${A.text}`,url:A.url}],A.hasClickOut,n):ve(e.links,!1,n),key:t})}):i.createElement(ce.__,{...ve(L)})))),Ne=i.createElement(ce.pM,{onClick:fe},x.map((e,t)=>{const o=e.children||e.links;if(!o)return null;const a=$e(e),r=`${g?.text||n?.text}|`;return i.createElement(ce.__,{...ve(o,!1,a),marginTopSize:ce.bi.LARGE,trackingText:r,key:t,hasExtraTopMargin:w,navHighlightColour:$})}),V&&i.createElement(ce.be,null,xe({handleLinkClickUrl:n.url,url:n.url,label:`${we(ee.allText)} ${n.text}`,clickEventLabel:null,key:null}))),He=i.createElement(ce.TZ,{onClick:fe},Ae,A&&f?L?.map((e,t)=>{const o=Boolean(Q()(e,"groupName"))||Q()(e,"isCard",!1),a=$e(e),r=((e="",t="")=>`${e}|${t}|`)(g?.text||n?.text,A?.text);return i.createElement(ce.__,{...h.showClickOutLink&&A.hasClickOut&&t+1>=L.length?ve([...e.links,{isExternal:!1,text:A.clickOutText?A.clickOutText:`${we(ee.destinationClickOut)} ${A.text}`,url:A.url,hasClickOut:!0}],A.hasClickOut,a,e.isCard):ve(e.links,!1,a,e.isCard),showBlankHeading:o,key:t,hasClickOutWithCard:e.isCard&&A.hasClickOut,isCard:e.isCard,trackingText:r,trackingTextIndex:t})}):i.createElement("div",null)),Ie=i.createElement(ne.A,{min:"xl"},e=>e&&i.createElement(ce.No,{"aria-label":we(ee.closeButtonLabel),ButtonIcon:ie.A,isIconButton:!0,label:we(ee.closeButtonLabel),onClickHandler:l,hasExtraTopMargin:w,hasLinkBanner:u})),Be=me.getItem("nav_invisible")?"override-header":"",Oe=K&&M.showSecondaryFooterAllLink;return i.createElement(ce.dt,{ref:G,"data-testid":"mega-menu-content"},i.createElement(te.A,{palette:c},i.createElement(ce.XU,{isSlim:r,hasLinkBanner:u,hasSecondaryFooterAllLink:Oe,hasExtraTopMargin:w},i.createElement(ce.RC,{className:Be,isCentered:a,navHighlightColour:$},(()=>{let e=(()=>{const e=[...x,V&&{isExternal:!1,text:`${we(ee.allText)} ${n.text}`,url:n.url}].filter(Boolean),t=n.headingData?$e(n.headingData):"",o=V;return i.createElement(ce.Gy,{onClick:fe},i.createElement(ce.__,{...ve(e,o,t)}))})();return N&&"default"!==k?e=h.multipleIteration?Le:Te:("column"===k&&(e=Ne),"verbose"===k&&(e=He)),e})(),h.showCloseCTA&&Ie)),Oe&&i.createElement(ce.be,null,xe({handleLinkClickUrl:M.url,url:M.url,label:`${we(ee.allText)} ${M.text}`,clickEventLabel:null,key:null}))))};ye.propTypes={accountProps:r().shape({accountLinks:r().array,signInLink:r().string,redirectURL:r().string}),collapseMegaMenu:r().func,containerMinHeight:r().number,hasExtraTopMargin:r().bool,hasLinkBanner:r().bool,isAccountsEnabled:r().bool,isContentCentered:r().bool,isDrawerOpen:r().bool,isSlim:r().bool,megaMenuContent:r().object,navHighlightColour:r().string,primaryNavLink:r().object,theme:r().string,user:r().shape({isAuthenticated:r().bool.isRequired}),utilityLinks:l.A.propTypes.links,variationName:r().string,variations:r().shape({layout:r().string,multipleIteration:r().bool,showBorderHighlight:r().bool,showClickOutLink:r().bool,showCloseCTA:r().bool,showMenuOnClick:r().bool})},ye.displayName="MegaMenu";const be=(0,o.y)(ye,"MegaMenu");be.Verbose=(0,m.y)(be,"Verbose",{layout:"verbose"}),be.Column=(0,m.y)(be,"Column",{layout:"column"}),be.MultipleColumn=(0,m.y)(be,"MultipleColumn",{layout:"verbose",multipleIteration:!0,showBorderHighlight:!0}),be.NewVerbose=(0,m.y)(be,"NewVerbose",{layout:"verbose",multipleIteration:!0,showBorderHighlight:!0,showClickOutLink:!0,showCloseCTA:!0,showMenuOnClick:!0});const fe=be;var we=n(32485),$e=n.n(we),ve=n(22354);const Ce=(0,w.defineMessages)({accountDropdownAssistiveLabel:{id:"UtilityNavigation.AccountDropdownAssistive",defaultMessage:"Account Navigation",description:"ARIA label for account navigation"},accountDropdownLabel:{id:"UtilityNavigation.AccountDropdown",defaultMessage:"Account",description:"ARIA label for account navigation dropdown"},marketSwitcherLabel:{id:"UtilityNavigation.MarketSwitcherLabel",defaultMessage:"Country",description:"ARIA label for market switcher",isConfigurable:!0},menuButtonLabel:{id:"UtilityNavigation.UtilityNavigationButton",defaultMessage:"Open Navigation Menu",description:"ARIA label for account navigation button"},signInLabel:{id:"UtilityNavigation.SignInLabel",defaultMessage:"Sign In",description:"ARIA label for user account sign in button",isConfigurable:!0},searchLabel:{id:"UtilityNavigation.SearchLabel",defaultMessage:"Search",description:"ARIA label for search link"},shoppingCartLabel:{id:"UtilityNavigation.ShoppingCartLabel",defaultMessage:"Shopping Cart",description:"Label for Shopping cart"},shoppingCartAriaLabel:{id:"UtilityNavigation.ShoppingCartAriaLabel",defaultMessage:"item(s) in Cart",description:"ARIA label for Shopping cart"},signOutLabel:{id:"UtilityNavigation.SignOut",defaultMessage:"Sign Out",description:"ARIA label for user account sign out button"}});var ke=n(26488),xe=n(30597),Ee=n(90090),Ae=n(10934),Se=n(62067);const Le=(0,w.defineMessages)({emptyCartHeader:{id:"ShopifyCartEmpty.EmptyCartHeader",defaultMessage:"YOUR SHOPPING CART IS EMPTY",description:"ShopifyCartEmpty component header"},emptyCartButtonLabel:{id:"ShopifyCartEmpty.EmptyCartButtonLabel",defaultMessage:"GO SHOPPING",description:"ShopifyCartEmpty component button label"},emptyCartButtonLink:{id:"ShopifyCartEmpty.EmptyCartButtonLink",defaultMessage:"/shop/listing/all",description:"ShopifyCartEmpty component button link"},retailerLabel:{id:"ShopifyCartItem.RetailerLabel",defaultMessage:"Retailer:",description:"ShopifyCartItem Retailer label"},subtotalLabel:{id:"ShopifyCartItem.SubtotalLabel",defaultMessage:"Subtotal",description:"ShopifyCartItem Subtotal label"},checkoutText:{id:"ShopifyCartItem.CheckoutText",defaultMessage:"Shipping and taxes calculated at checkout",description:"ShopifyCartItem checkout text"},checkoutLabel:{id:"ShopifyCartItem.CheckoutLabel",defaultMessage:"CHECK OUT",description:"ShopifyCartItem checkout label"},cartHeader:{id:"ShopifyCart.CartHeader",defaultMessage:"Shopping Cart",description:"ShopifyCart Cart header"}});var Te=n(18117),Ne=n(20312),He=n.n(Ne);const Ie=({children:e,align:t,appElement:n,className:o,overlayClassName:a,...r})=>(i.useEffect(()=>{n&&He().setAppElement(n)},[n]),i.createElement(He(),{...r,portalClassName:o,className:o,overlayClassName:a},e));Ie.propTypes={align:r().string,appElement:r().oneOfType([r().string,r().element]),children:r().node,className:r().string,overlayClassName:r().string};const Be=Ie,Oe=(0,v.Ay)(Be).withConfig({displayName:"ShopifyCartModalWrapper"})` .shopify__content { position: absolute; right: 0; bottom: 8rem; left: auto; margin-top: 56px; outline: none; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); background: ${(0,x.HK)("colors.background.white")}; padding: ${(0,x.Kq)(2.5)}; width: 370px; overflow: auto; inset: 0 4px 4px auto; } .shopify__overlay { position: fixed; top: ${(0,x.Kq)(0)}; right: ${(0,x.Kq)(0)}; bottom: ${(0,x.Kq)(0)}; left: ${(0,x.Kq)(0)}; z-index: 1000; overflow: hidden; } `,_e=(0,v.Ay)(E.A.Utility).withConfig({displayName:"ShopifyCartCloseButton"})` position: absolute; top: ${(0,x.Kq)(1)}; right: ${(0,x.Kq)(1)}; padding: 0; fill: ${(0,x.HK)("colors.discovery.body.light.context-tertiary")}; .icon-close { padding: 8px; } &, &:focus, &:hover { border: 0; background-color: transparent; } `,Ke=(0,v.Ay)(E.A.Utility).withConfig({displayName:"ShopifyCartItemRemoveButton"})` right: ${(0,x.Kq)(1)}; /* stylelint-disable-next-line declaration-no-important */ z-index: 0 !important; margin-left: 10px; padding: 0; fill: ${(0,x.HK)("colors.discovery.body.light.context-tertiary")}; &, &:focus, &:hover { border: 0; background-color: transparent; } `,Pe=((0,v.Ay)(c.A).withConfig({displayName:"ShopifyCartItemResponsiveAsset"})` position: relative; grid-column: 1; grid-row: 1; width: 100px; height: 100px; &${Te.B}::after { position: absolute; top: 0; left: 0; opacity: 1; width: 100%; height: 100%; content: ''; } img { width: 100%; height: 100%; } `,v.Ay.div.withConfig({displayName:"OverlaySummaryItemContent"})` &&& { grid-column: 1; grid-row: 1; align-self: end; z-index: 2; padding: 0 ${(0,x.Kq)(2)} ${(0,x.Kq)(3)}; text-decoration: none; ${(0,x.H4)(C.LO.md)} { margin: 0 auto; padding: 0 0 ${(0,x.Kq)(5)}; width: 100%; } } `,v.Ay.div.withConfig({displayName:"ShopifyCartItemObject"})` display: inline-flex; margin-top: ${(0,x.Kq)(1.9)}; overflow-y: auto; `),De=v.Ay.div.withConfig({displayName:"ShopifyCartItemRetailer"})` display: inline-flex; margin-top: ${(0,x.Kq)(5)}; border-bottom: 1px solid #75757a; padding-bottom: ${(0,x.Kq)(.65)}; text-align: left; ${({theme:e})=>(0,x._o)(e,"color","colors.consumption.body.inverted.bg-card")}; ${(0,x.Gg)("typography.definitions.globalEditorial.context-secondary")}; `,qe=v.Ay.div.withConfig({displayName:"ShopifyCartItemBrandDetail"})` margin-left: ${(0,x.Kq)(1)}; `,Me=v.Ay.div.withConfig({displayName:"ShopifyCartItemProductTitle"})` padding-bottom: ${(0,x.Kq)(2)}; text-align: left; line-height: 18px; letter-spacing: 0; font-family: plain_regularregular; font-size: 12px; `,Re=v.Ay.div.withConfig({displayName:"ShopifyCartItemBrandNameWrapper"})` display: flex; justify-content: space-between; width: 100%; text-align: left; font-family: plain_regularregular; ${({theme:e})=>(0,x._o)(e,"color","colors.consumption.body.standard.body-deemphasized")}; ${(0,x.Gg)("typography.definitions.globalEditorial.context-primary")}; svg { float: right; padding-bottom: ${(0,x.Kq)(2)}; width: 1rem; } `,Fe=v.Ay.span.withConfig({displayName:"ShopifyCartItemBrandName"})``,Ue=v.Ay.div.withConfig({displayName:"ShopifyCartDangerousHed"})` ${(0,x.Gg)("typography.definitions.discovery.hed-core-secondary")}; `,Ve=v.Ay.div.withConfig({displayName:"ShopifyCartEmptyHed"})` margin-top: ${(0,x.Kq)(5)}; margin-bottom: ${(0,x.Kq)(3)}; ${(0,x.Gg)("typography.definitions.foundation.title-primary")}; `,Ge=(0,v.Ay)(E.A.Utility).withConfig({displayName:"ShopifyCartEmptyButtonWrapper"})` margin-left: ${(0,x.Kq)(.5)}; width: 330px; `,We=v.Ay.div.withConfig({displayName:"ShopifyCartEmptyDiv"})` position: fixed; right: 0; bottom: 0; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); background: ${(0,x.HK)("colors.background.white")}; padding: 1rem 1.25rem; width: 374px; height: 8rem; `,je=v.Ay.div.withConfig({displayName:"ShopifyCartItemWrapper"})` ${({theme:e})=>(0,x._o)(e,"color","colors.interactive.base.dark")}; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; margin-bottom: ${(0,x.Kq)(16)}; text-align: center; text-decoration: none; ${({layoutProportions:e})=>"overlay-limited-height"===e?"max-height: 100%;":""} `,ze=v.Ay.div.withConfig({displayName:"ShopifyCartItemQuantityBox"})` display: inline-flex; flex-direction: row; align-items: center; border: 1px solid; ${({theme:e})=>(0,x._o)(e,"border-color","colors.interactive.base.light")}; height: 30px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; `,Ye=v.Ay.div.withConfig({displayName:"ShopifyCartItemQuantityCount"})` margin-right: ${(0,x.Kq)(1)}; margin-left: ${(0,x.Kq)(1)}; `,Xe=v.Ay.div.withConfig({displayName:"ShopifyCartItemCheckoutObject"})` position: fixed; right: 0; bottom: 0; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); background: ${(0,x.HK)("colors.background.white")}; padding: 1rem 1.25rem; width: 374px; height: 8rem; `,Ze=(0,v.Ay)(E.A.Utility).withConfig({displayName:"ShopifyCartItemCheckout"})` width: 100%; `,Je=v.Ay.div.withConfig({displayName:"ShopifyCartItemTotalLabel"})` ${(0,x.Gg)("typography.definitions.globalEditorial.context-title")}; ${({theme:e})=>(0,x._o)(e,"color","colors.interactive.base.dark")}; `,Qe=v.Ay.div.withConfig({displayName:"ShopifyCartItemTotalDek"})` padding-bottom: 5px; ${(0,x.Gg)("typography.definitions.globalEditorial.context-secondary")}; ${({theme:e})=>(0,x._o)(e,"color","colors.consumption.body.inverted.bg-card")}; `,et=v.Ay.div.withConfig({displayName:"ShopifyCartItemPrice"})` padding-left: ${(0,x.Kq)(10)}; ${({theme:e})=>{(0,x._o)(e,"color","colors.consumption.body.standard.body")}}; ${(0,x.Gg)("typography.definitions.globalEditorial/numerical-small")}; `,tt=(v.Ay.div.withConfig({displayName:"ShopifyCartItemSalePrice"})` padding-left: ${(0,x.Kq)(8)}; text-decoration: line-through; ${({theme:e})=>{(0,x._o)(e,"color","colors.consumption.body.standard.accent")}}; ${(0,x.Gg)("typography.definitions.globalEditorial/numerical-small")}; `,v.Ay.div.withConfig({displayName:"ShopifyCartItemQuantityContainer"})` display: flex; align-items: center; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; font-family: plainmedium; font-size: 12px; `),nt=v.Ay.div.withConfig({displayName:"ShopifyCartItemTotal"})` display: flex; justify-content: space-between; `,ot=v.Ay.div.withConfig({displayName:"ShopifyCartItemTotalPrice"})``,it=(0,v.Ay)(E.A.Utility).withConfig({displayName:"ShopifyCartItemQuantity"})` transform: scale(0.6); /* stylelint-disable-next-line declaration-no-important */ z-index: 0 !important; padding: 0; fill: ${(0,x.HK)("colors.discovery.body.light.context-tertiary")}; &, &:focus, &:hover { border: 0; background-color: transparent; } `,at=v.Ay.div.withConfig({displayName:"ShopifyCartItemRetailerLabel"})` ${(0,x.Gg)("typography.definitions.globalEditorial.context-title")}; ${({theme:e})=>(0,x._o)(e,"color","colors.background.black")}; margin-right: ${(0,x.Kq)(.25)}; `,rt=v.Ay.div.withConfig({displayName:"ShopifyCartItemRetailerName"})` padding-left: ${(0,x.Kq)(1)}; text-transform: capitalize; `,st=()=>{const{formatMessage:e}=(0,R.A)();return i.createElement(i.Fragment,null,i.createElement(Ve,null,e(Le.emptyCartHeader)),i.createElement(Ge,{"data-testid":"ShopifyEmptyCartButton",label:e(Le.emptyCartButtonLabel),href:e(Le.emptyCartButtonLink),inputKind:"link"}),i.createElement(We,null))};st.displayName="ShopifyCartEmpty";const lt=st;var dt=n(56004),ct=n.n(dt),mt=n(80046),ut=n(58332),pt=n(56099),gt=n(60162),ht=n(29946);const yt=({shopifyCartItems:e,setShopifyCartItems:t,shopifyConfig:n,appConfig:o})=>{const a=ct()?.buildClient(n),{formatMessage:r}=(0,R.A)(),s=e=>{let t=0;for(const n of e)t+=(n?.price??0)*(n?.quantity??0);return t},[l,d]=(0,i.useState)(()=>s(e)),c=e=>{d(s(e)),(0,ht.v)("shopifyCartItems",e),t(e)},m=e=>{const{variantId:t,quantity:n}=e;return{variantId:t,quantity:n}},u=e.reduce((e,t)=>{const{retailer:n}=t;return e[n]||(e[n]=[]),e[n].push(t),e},{});return i.createElement(i.Fragment,null,i.createElement(je,null,Object.entries(u).map(([t])=>i.createElement(i.Fragment,{key:`shopify-cart-item-${t}`},i.createElement(De,null,i.createElement(at,null,r(Le.retailerLabel)),i.createElement(rt,null,t)),u[t].map(t=>i.createElement(i.Fragment,{key:t.variantId},i.createElement(Pe,null,i.createElement("img",{src:`${t.image.src}${C.Ay.SHOPIFY_IMAGE_SIZE_MAP.small}`,width:"30%",alt:t.title}),i.createElement(qe,null,i.createElement(Re,null,i.createElement(Fe,null,t.vendor),i.createElement(Ke,{onClickHandler:()=>(t=>{const n=e.filter(e=>e.variantId!==t),o=e.find(e=>e.variantId===t);(0,gt.Mw)("remove-from-cart",o),c(n)})(t.variantId),role:"button",ButtonIcon:mt.A,isIconButton:!0,width:"0.5rem",height:"0.5rem",label:"ShopifyCartItemRemoveButton"})),i.createElement(Me,null,t.title),i.createElement(tt,null,i.createElement(ze,null,i.createElement(it,{onClickHandler:()=>(t=>{const n=e.find(e=>e.variantId===t),o=e.findIndex(e=>e.variantId===t);n.quantity>1?(e[o].quantity-=1,(0,gt.Mw)("remove-from-cart",e[o])):((0,gt.Mw)("remove-from-cart",{...e[o],quantity:0}),delete e[o]);const i=e.filter(Boolean);c(i)})(t.variantId),ariaLabel:"Decrease Quantity",role:"button",ButtonIcon:pt.A,isIconButton:!0,label:"ShopifyCartItemQuantity"}),i.createElement(Ye,null,t.quantity),i.createElement(it,{onClickHandler:()=>(t=>{const n=e.map(e=>{if(e.variantId===t){const t=e.quantity+1,n={...e,quantity:t};return(0,gt.Mw)("add-to-cart",n),n}return e});c(n)})(t.variantId),ariaLabel:"Increase Quantity",role:"button",ButtonIcon:ut.A,isIconButton:!0,label:"ShopifyCartItemQuantity"})),i.createElement(et,null,"$",t.price))))))))),i.createElement(Xe,null,i.createElement(nt,null,i.createElement(Je,null,r(Le.subtotalLabel)),i.createElement(ot,null,"$",l)),i.createElement(Qe,null,r(Le.checkoutText)),i.createElement(Ze,{label:r(Le.checkoutLabel),onClickHandler:()=>{const t=e.map(m);a.checkout.create().then(e=>{const n=e.id;a.checkout.addLineItems(n,t).then(e=>{(0,ht.v)("shopifyCartItems",[]);const t=new URL(e.webUrl);window.location=`https://checkout.${o.brandSlug}.com/${t.pathname}`})})},inputKind:"link"})))};yt.propTypes={appConfig:r().object,setShopifyCartItems:r().func,shopifyCartItems:r().array,shopifyConfig:r().object},yt.displayName="ShopifyCartItem";const bt=(0,ve.Ng)(({shopifyCartItems:e})=>({shopifyCartItems:e}),e=>{const{setShopifyCartItems:t}=(0,Se.A)(e);return{setShopifyCartItems:t}})(yt),ft=({closeButtonCallback:e,showShopifyCart:t,shopifyCartItems:n,setShopifyCartItems:o,appConfig:a,onCartDataChange:r,shopifyConfiguration:s})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"ShopifyCart"})},[]);const l=(0,i.useRef)(),{formatMessage:d}=(0,R.A)(),c=()=>{e()};return(0,i.useEffect)(()=>{t?(document.body.style.overflow="hidden",document.getElementById("app-root").style.opacity=.2):(document.body.style.overflow="unset",document.getElementById("app-root").style.opacity=1);const e=e=>{t&&l.current&&!l.current.contains(e.target)&&c()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[t]),(0,i.useEffect)(()=>{const e=(0,ht.O)("shopifyCartItems");e?.length>0&&(r(e),o(e))},[n?.length]),i.createElement(Oe,{isOpen:t,contentLabel:"Shopify cart",onRequestClose:c,shouldReturnFocusAfterClose:!1,role:"dialog",className:"shopify__content",overlayClassName:"shopify__overlay"},i.createElement(Ue,null,d(Le.cartHeader)),i.createElement(_e,{onClickHandler:c,role:"button",ButtonIcon:ie.A,label:"ShopifyCartCloseButton",isIconButton:!0}),n?.length>0?i.createElement(bt,{shopifyCartItems:n,shopifyConfig:s,appConfig:a}):i.createElement(lt,null))};ft.propTypes={appConfig:r().object,closeButtonCallback:r().func,onCartDataChange:r().func,setShopifyCartItems:r().func,shopifyCartItems:r().array,shopifyConfiguration:r().object,showShopifyCart:r().bool},ft.displayName="ShopifyCart";const wt=(0,ve.Ng)(({shopifyCartItems:e,appConfig:t,shopifyConfiguration:n})=>({shopifyCartItems:e,appConfig:t,shopifyConfiguration:n}),e=>{const{setShopifyCartItems:t}=(0,Se.A)(e);return{setShopifyCartItems:t}})(ft),$t=(0,o.y)(wt,"ShopifyCart");var vt=n(8877),Ct=n(70698),kt=n(27985),xt=n(49829);const Et=v.Ay.nav.withConfig({displayName:"UtilityNavigationWrapper"})` justify-self: self-end; display: flex; align-items: center; `,At=(0,v.Ay)(kt.$K).withConfig({displayName:"UtilityNavigationButton"})` .icon-menu { padding: 8px; width: initial; height: initial; } .icon-search { transform: scale(0.6); } .icon-close { padding: 8px; } path { stroke: ${({theme:e})=>(0,x.HK)(e,(0,Ct.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; } `,St=e=>`\n display: block;\n content: '';\n height: ${(0,x.Kq)(4)};\n width: 1px;\n background-color: ${(e=>(0,x.HK)(e,"colors.foundation.menu.dividers"))(e)};\n top: 50%;\n margin-top: -${(0,x.Kq)(2)};\n position: absolute;\n`,Lt=e=>`\n@media (min-width: ${C.LO.md}) {\n &::after {\n ${St(e)}\n right: 0;\n }\n}\n`,Tt=v.Ay.div.withConfig({displayName:"UtilityNavigationDropdown"})` position: relative; ${({theme:e,hasDivider:t})=>t&&Lt(e)}; `,Nt=(0,v.Ay)(E.A.Utility).withConfig({displayName:"SiteHeaderCartButton"})` position: absolute; /* stylelint-disable-next-line declaration-no-important */ && { margin: ${(0,x.Kq)(2)} 0 0 ${(0,x.Kq)(2)}; } ${(0,xt.W)()}; padding-bottom: ${(0,x.Kq)(2)}; @media (max-width: ${C.LO.md}) { margin-right: 0; } `,Ht=v.Ay.span.withConfig({displayName:"SiteHeaderCartQuantity"})` position: absolute; top: 2rem; right: -0.25rem; align-items: center; z-index: 1; border-radius: 50%; background-color: ${({theme:e})=>(0,x.HK)(e,(0,Ct.l1)(e,(0,Ct.iq)(e)?"colors.background.white":"colors.background.black"))}; width: 17.25px; height: 17.25px; text-align: center; text-transform: uppercase; line-height: 17px; letter-spacing: 1px; color: ${({theme:e})=>(0,x.HK)(e,(0,Ct.l1)(e,(0,Ct.iq)(e)?"colors.background.black":"colors.background.white"))}; font-size: 10px; @media (max-width: ${C.LO.md}) { left: 2.25rem; } &:hover, &:focus { border: 0; background-color: ${(0,x.HK)("colors.foundation.icon.hover")}; } `,It=v.Ay.div.withConfig({displayName:"SiteHeaderCart"})` position: relative; svg path { fill: ${({theme:e})=>(0,x.HK)(e,(0,Ct.l1)(e,(0,Ct.iq)(e)?"colors.consumption.lead.inverted.link":"colors.background.black"))}; } &:hover, &:focus { border: 0; background-color: transparent; cursor: pointer; span { background-color: ${(0,x.HK)("colors.foundation.icon.hover")}; } svg path { fill: ${({theme:e})=>(0,x.HK)(e,(0,Ct.iq)(e)?"colors.consumption.lead.inverted.link-hover":"colors.foundation.icon.hover")}; } } `;var Bt=n(76955),Ot=n(32788);const _t=(0,v.Ay)(Bt.sH).withConfig({displayName:"Link"}).attrs(({theme:e})=>({colorSecondaryLinkToken:(0,Ct.l1)(e,"colors.foundation.collapsed-menu.nav-link.hover"),colorStaticLinkToken:(0,Ct.l1)(e,"colors.foundation.collapsed-menu.nav-link.default")}))` display: block; padding: ${(0,x.Kq)(1.5)} ${(0,x.Kq)(1)}; white-space: nowrap; &:link, &:visited { ${({theme:e,hasInvertedSubscribeButton:t})=>t?`color: ${(0,x.HK)(e,(0,Ct.l1)(e,"colors.background.white"))};}`:`color: ${(0,x.HK)(e,(0,Ct.l1)(e,"colors.foundation.collapsed-menu.nav-link.hover"))};}`} } &:hover + div ${Ot.mO}, &:focus + div ${Ot.mO} { transform: translateY(0); visibility: visible; opacity: 1; } &:hover, &:focus { text-decoration: none; } ${({theme:e})=>(0,Ct.iq)(e)&&`&:link,\n &:visited {\n color : ${(0,x.HK)(e,(0,Ct.l1)(e,"colors.consumption.lead.inverted.link"))}\n }\n &:hover,\n &:focus {\n color : ${(0,x.HK)(e,(0,Ct.l1)(e,"colors.consumption.lead.inverted.link-hover"))}\n }`} @media (min-width: ${C.LO.md}) { padding-right: ${(0,x.Kq)(2)}; padding-left: ${(0,x.Kq)(2)}; } `;_t.defaultProps={linkStyle:"navigation",typeToken:"typography.definitions.foundation.link-primary"};const Kt=_t;var Pt=n(39832),Dt=n(82552);const qt=v.Ay.div.withConfig({displayName:"NavCTADivider"})` ${({theme:e})=>Lt(e)} `,Mt=e=>v.AH` ${(e=>`\n@media (min-width: ${C.LO.md}) {\n &::before {\n ${St(e)}\n left: 0;\n }\n}\n`)(e)}; ${Lt(e)}; `,Rt=v.AH` .nav-cta__component, .consumer-marketing-unit--nav-cta { height: 100%; &:hover, &:focus-within, &:focus { ~ .consumer-marketing-unit--nav-rollover, ~ .nav-rollover__component > div { ${Ot.Rw} } } + ${qt} { display: none; } } .nav-rollover__component > div, .consumer-marketing-unit--nav-rollover { &:hover, &:focus, &:focus-within { ${Ot.Rw} } } .consumer-marketing-unit--nav-rollover, .nav-rollover__component > div { ${Ot.Er} display: none; top: ${(0,x.Kq)(7)}; right: 0; align-items: center; justify-content: center; z-index: ${C.KV.navFixed}; @media (min-width: ${C.LO.md}) { display: flex; } } `,Ft=(e,t)=>`\n background-color: ${(0,x.HK)(t,(0,Ct.l1)(t,e?"colors.consumption.body.inverted.link":"colors.foundation.collapsed-menu.nav-link.hover"))};\n border-radius: 2px;\n color: ${(0,x.HK)(t,(0,Ct.l1)(t,"colors.background.white"))};;\n\n &:active,\n &:focus,\n &:hover,\n &:visited,\n &:link {\n color: ${(0,x.HK)(t,(0,Ct.l1)(t,"colors.background.white"))};\n`,Ut=v.Ay.li.withConfig({displayName:"ListItem"})` display: inline-block; position: relative; cursor: pointer; &:not(:last-child):not(:nth-last-child(2)) { ${({theme:e,hasDivider:t})=>t&&Lt(e)}; } ${({hasInvertedSubscribeButtons:e,hasCMUnit:t,hasJourneyUnit:n,isBrandLogoCenteredOnDesktop:o,isColorTokenInverted:i,theme:a,utilityLinksCnt:r})=>e&&r<2?`\n @media (min-width: ${C.LO.md}) {\n display: block;\n }\n ${Ft(i,a)};`:e&&2===r?`\n @media (min-width: ${C.LO.md}) and (max-width: ${C.LO.lg}) {\n display: block !important;\n }\n ${Ft(i,a)}`:n||o?`@media (max-width: ${C.LO.md}) {\n &:nth-last-child(n + 2) {\n display: none;\n }}`:t?`@media (max-width: ${C.LO.md}) {\n &:last-child {\n display: block;\n }}`:`@media (max-width: ${C.LO.md}) {\n display: none;\n }`} ${Rt} ${Dt.N} { padding: ${(0,x.Kq)(1.5)}; ${({theme:e,hasDivider:t})=>t&&Mt(e)}; } ${({shouldHideOnMobile:e})=>e&&`@media (max-width: ${C.LO.md}) {\n display: none;\n }`} `,Vt=v.Ay.ul.withConfig({displayName:"StyledLinks"})` display: flex; align-items: ${({hasSiblings:e})=>e?"stretch":null}; margin: 0; padding: 0; list-style: none; /* Available spaces small - 1 medium - 2 large - 3 xlarge - 4 xxlarge - 5 If hasSiblings reduce number of available space for utility items by 1 Note: the n count was increased by 1 in all spaces due to the addition of a slot for Consumer Marketing Units within a hardcoded ListItem that is always present across all brands. */ ${Ut} { ${({hasPrimaryLink:e,hidePrimaryLink:t})=>e&&t?`\n @media (max-width: ${C.LO[t]}){\n &:first-child {\n display: none;\n }\n }\n `:null} ${({hasSiblings:e,isBrandLogoCenteredOnDesktop:t})=>e?`\n\n ${t?`\n @media (min-width: ${C.LO.md}) and (max-width: ${C.LO.lg}) {\n &:nth-last-child(n + 2) {\n display: none;\n }\n }\n `:`\n @media (min-width: ${C.LO.md}) and (max-width: ${C.LO.lg}) {\n &:nth-last-child(n + 3) {\n display: none;\n }\n }\n `}\n\n @media (min-width: ${C.LO.lg}) and (max-width: ${C.LO.xl}) {\n &:nth-last-child(n + 4) {\n display: none;\n }\n }\n\n @media (min-width: ${C.LO.xl}) and (max-width: ${C.LO.xxl}) {\n &:nth-last-child(n + 5) {\n display: none;\n }\n }\n }`:`\n @media (max-width: ${C.LO.md}) {\n &:nth-last-child(n + 3) {\n display: none;\n }\n }\n\n @media (min-width: ${C.LO.md}) and (max-width: ${C.LO.lg}) {\n &:nth-last-child(n + 4) {\n display: none;\n }\n }\n\n ${t?`\n @media (min-width: ${C.LO.md}) and (max-width: ${C.LO.lg}) {\n &:nth-last-child(n + 3) {\n display: none;\n }\n }\n `:`\n @media (min-width: ${C.LO.md}) and (max-width: ${C.LO.lg}) {\n &:nth-last-child(n + 4) {\n display: none;\n }\n }\n `};\n\n @media (min-width: ${C.LO.lg}) and (max-width: ${C.LO.xl}) {\n &:nth-last-child(n + 5) {\n display: none;\n }\n }\n `}; } `,Gt=({utilityLinks:e,hasInvertedSubscribeButton:t,hasJourneyUnit:n,hasPrimaryLink:o,hasSiblings:a,hidePrimaryLink:r,isBrandLogoCenteredOnDesktop:s,shouldHideMenuOnMobile:l})=>i.createElement(Vt,{hasSiblings:a,hasPrimaryLink:o,hidePrimaryLink:r,isBrandLogoCenteredOnDesktop:s},e.map(({isActive:a,isExternal:r,text:d,url:c,isSubscribeButton:m=!1,isColorTokenInverted:u=!1,hideFromUtilityNavigation:p=!1},g)=>!p&&i.createElement(Ut,{key:d,hasPrimaryLink:o,isActive:a,hasDivider:!t,hasJourneyUnit:n,hasInvertedSubscribeButtons:m&&t,isBrandLogoCenteredOnDesktop:s,isColorTokenInverted:u,utilityLinksCnt:e.length,shouldHideOnMobile:l&&g<2},i.createElement(Kt,{href:c,isActive:a,onClick:()=>(e=>{window.dataLayer&&window.dataLayer.push({event:"navigation-click",navigationType:"header",clickText:e})})(d),as:r?Pt.A:"a",hasInvertedSubscribeButton:m&&t,isColorTokenInverted:u,"data-testid":m?"NavCTA":null},d),m&&i.createElement(y.dd,null))),i.createElement(Ut,{hasDivider:!t,hasJourneyUnit:n,isBrandLogoCenteredOnDesktop:s,hasCMUnit:!0},n&&i.createElement(y.IJ,null),!t&&i.createElement(qt,null),i.createElement(h.A,{position:"nav-rollover"}),i.createElement(y.dd,null)));Gt.propTypes={hasInvertedSubscribeButton:r().bool,hasJourneyUnit:r().bool,hasPrimaryLink:r().bool,hasSiblings:r().bool,hidePrimaryLink:r().oneOf(ae.hg),isBrandLogoCenteredOnDesktop:r().bool,shouldHideMenuOnMobile:r().bool,utilityLinks:r().array};const Wt=Gt,{useState:jt,useEffect:zt}=i,Yt=({accountProps:e,assistiveLabel:t,isInverted:n=!1,label:o,signInLabel:a,user:r})=>{const{accountLinks:s,signInLink:l}=e||{},d=(0,vt.B)();if(!s?.length||!l)return null;const{isAuthenticated:c}=r;if(c&&d){const e=[...s.map(({text:e,url:t})=>({name:e,url:t}))];return i.createElement(Tt,null,i.createElement(xe.A,{id:"utility-navigation-dropdown",options:e,isInverted:n,label:o,showLabel:!0,assistiveLabel:t,align:{sm:"right",md:"left"}}))}return i.createElement(Tt,{onClick:()=>{return e=a,void(window.dataLayer&&window.dataLayer.push({event:"navigation-click",navigationType:"header",clickText:e}));var e}},i.createElement(Kt,{href:l},a))};Yt.propTypes={accountProps:r().object,assistiveLabel:r().string,isInverted:r().bool,label:r().string,signInLabel:r().string,user:r().shape({isAuthenticated:r().bool.isRequired})};const Xt=({assistiveLabel:e,hasDivider:t,internationalSites:n,label:o,showLabel:a})=>i.createElement(Tt,{hasDivider:t},i.createElement(xe.A,{label:o,showLabel:a,options:n,name:"market-switch-dropdown",assistiveLabel:e,align:{sm:"right",md:"left"}}));Xt.propTypes={assistiveLabel:r().string,hasDivider:r().bool,internationalSites:r().arrayOf(r().shape({name:r().string,url:r().string})),label:r().string,showLabel:r().bool};const Zt=({iconName:e,shouldSwitchMenuIcon:t,formatMessage:n,menuButtonLabel:o,icon:a,onButtonClick:r,hrefLink:s,trackSearchSource:l,isHamburgerMenuHidden:d})=>{let c;return c="menu"!==e||d?i.createElement(At,{className:$e()({"navigation-button--hide-on-desktop":t}),ariaLabel:n(Ce.searchLabel),label:n(Ce.searchLabel),ButtonIcon:a,isIconButton:!0,inputKind:"link",href:s,onClickHandler:l("icon")}):i.createElement(At,{className:$e()({"navigation-button--hide-on-desktop":t}),label:o,ButtonIcon:a,isIconButton:!0,role:"button","aria-label":o,onClickHandler:r}),c},Jt=({ariaLabel:e,accountProps:t,buttonIcon:n,componentConfig:o,isAccountsEnabled:a,isBrandLogoCenteredOnDesktop:r,isHamburgerMenuHidden:s=!1,hasInvertedSubscribeButton:l,hasPrimaryLink:d,hideNavButton:c=!1,hidePrimaryLink:m,homeLocation:u,hrefLink:p="",internationalSites:g,isInverted:h=!1,journey:y,links:b,marketSwitcherAssistiveLabel:w,onButtonClick:$,signInLabel:v,shouldSwitchMenuIcon:C=!1,user:k,hasCart:x,isShopifyCartWidgetOpen:E=!1,setShopifyWidgetState:A,theme:S})=>{const{formatMessage:L}=(0,R.A)(),T=b?b.slice(0,3):[],N=T?.length>0,H=g?.length>0,I=a&&k,[B,O]=jt(0),[_,K]=jt({width:void 0,height:void 0}),P=!!y?.url,D=()=>{K({width:window.innerWidth,height:window.innerHeight})},q=(zt(()=>(window.addEventListener("resize",D),D(),()=>window.removeEventListener("resize",D)),[]),_),{icon:M,iconName:F}=((e,t,n,o)=>{const{width:i}=n,a=i{A(!E)};return i.createElement(Et,{"aria-label":e},H&&!C&&i.createElement(Xt,{assistiveLabel:w||L(Ce.marketSwitcherLabel),hasDivider:!l&&!C,internationalSites:g,label:u.name,showLabel:!!u.name}),N&&i.createElement(Wt,{utilityLinks:T,hasInvertedSubscribeButton:l,hasSiblings:(H||I)&&!C,hasJourneyUnit:P,hasPrimaryLink:d,hidePrimaryLink:m,isBrandLogoCenteredOnDesktop:r,shouldHideMenuOnMobile:C,theme:S}),I&&i.createElement(Yt,{accountProps:t,isInverted:h,assistiveLabel:L(Ce.accountDropdownAssistiveLabel),label:L(Ce.accountDropdownLabel),signInLabel:v||L(Ce.signInLabel),signOutLabel:Q()(o,"SignOutButton.settings.buttonLabel")||L(Ce.signOutLabel),user:k}),!c&&i.createElement(Zt,{iconName:F,shouldSwitchMenuIcon:C,formatMessage:L,menuButtonLabel:U,icon:M,onButtonClick:$,hrefLink:p,isHamburgerMenuHidden:s,trackSearchSource:e=>()=>(0,Ee.W8)(`navigation-site-search-${e}`)}),x&&i.createElement(It,{onClick:V},i.createElement(Nt,{ariaLabel:`${B} ${L(Ce.shoppingCartAriaLabel)}`,label:L(Ce.shoppingCartLabel),ButtonIcon:Ae.A,isIconButton:!0,inputKind:"link",tabIndex:0}),B>0&&i.createElement(Ht,null,B)),i.createElement($t,{showShopifyCart:E,closeButtonCallback:V,onCartDataChange:e=>{const t=e?.length||void 0;O(void 0===t?0:t),document.body.style.overflow=E?"hidden":"unset"}}))};Jt.propTypes={accountProps:r().object,ariaLabel:r().string,buttonIcon:r().string,componentConfig:r().object,hasCart:r().bool,hasInvertedSubscribeButton:r().bool,hasPrimaryLink:r().bool,hideNavButton:r().bool,hidePrimaryLink:r().oneOf(ae.hg),homeLocation:r().shape({name:r().string}),hrefLink:r().string,internationalSites:r().arrayOf(r().shape({name:r().string,url:r().string})),isAccountsEnabled:r().bool,isBrandLogoCenteredOnDesktop:r().bool,isHamburgerMenuHidden:r().bool,isInverted:r().bool,isShopifyCartWidgetOpen:r().bool,journey:r().shape({url:r().string}),links:r().array,marketSwitcherAssistiveLabel:r().string,onButtonClick:r().func,setShopifyWidgetState:r().func,shouldSwitchMenuIcon:r().bool,signInLabel:r().string,theme:r().string,user:r().shape({isAuthenticated:r().bool.isRequired})},Jt.displayName="UtilityNavigation";const Qt=(0,s.M3)((0,ve.Ng)(({isShopifyCartWidgetOpen:e,journey:t})=>({isShopifyCartWidgetOpen:e,journey:t}),e=>{const{setShopifyWidgetState:t}=(0,Se.A)(e);return{setShopifyWidgetState:t}})(Jt),{keysToPluck:["componentConfig"]}),en=(0,o.y)(Qt,"UtilityNavigation");var tn=n(69328),nn=n(55976),on=n(49870),an=n.n(on);const rn=v.i7` 0% { opacity: 0; } 100% { opacity: 1; } `,sn=v.Ay.a.withConfig({displayName:"UnitWrapper"})` display: none; width: 230px; text-decoration: none; @media (min-width: calc(${C.LO.lg} - 1px)) { display: flex; } `,ln=v.Ay.div.withConfig({displayName:"ExpandedContainer"})` display: flex; align-items: center; justify-content: space-between; animation: ${rn} 1.2s cubic-bezier(0.39, 0.575, 0.565, 1) both; background-color: ${(0,x.HK)("colors.interactive.base.white")}; padding: 12px 17px 15px 23px; height: 110px; ${({backgroundImage:e})=>e&&`\n background-image: url('${e}');\n background-size: cover;\n `} `,dn=v.Ay.div.withConfig({displayName:"LeftContainer"})` display: flex; flex-direction: column; ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.list")}; `,cn=v.Ay.div.withConfig({displayName:"CollapsedContainer"})` display: flex; align-items: center; justify-content: center; animation: ${rn} 1.2s cubic-bezier(0.39, 0.575, 0.565, 1) both; height: 16px; ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.list")}; `,mn=v.Ay.div.withConfig({displayName:"Hed"})` line-height: 16.78px; color: ${(0,x.HK)("colors.interactive.base.black")}; font-size: 14px; font-style: italic; & strong { font-weight: 800; } & del { font-weight: 600; } `,un=v.Ay.div.withConfig({displayName:"Copy"})` margin-top: 2px; line-height: 12px; color: ${(0,x.HK)("colors.interactive.base.black")}; font-size: 10px; font-style: italic; `,pn=v.Ay.div.withConfig({displayName:"CollapsedCopy"})` margin-top: 2px; text-decoration: none; line-height: 12px; color: ${(0,x.HK)("colors.interactive.base.black")}; font-size: 12px; font-weight: 500; font-style: italic; &:hover { text-decoration: underline; } `,gn=v.Ay.button.withConfig({displayName:"CTA"})` display: flex; align-items: center; justify-content: center; margin-top: 7px; background-color: ${(0,x.HK)("colors.interactive.base.black")}; width: 79px; height: 25px; text-transform: uppercase; text-decoration: none; line-height: 9px; letter-spacing: 1.18421px; color: ${(0,x.HK)("colors.interactive.base.white")}; font-size: 7.89474px; font-weight: 700; &:hover { text-decoration: none; } `,hn=v.Ay.img.withConfig({displayName:"Image"})` width: 72px; height: 88px; `;var yn=n(98750);const bn={Hed:(0,yn.J)(mn),Copy:(0,yn.J)(un),CollapsedCopy:(0,yn.J)(pn)},fn=({isExpanded:e,data:{backgroundImage:t,hed:n,copy:o,cta:a,image:r,collapsedCta:s}})=>i.createElement(sn,{href:a.url,className:"nav-left__container"},e?i.createElement(ln,{backgroundImage:t},i.createElement(dn,null,i.createElement(bn.Hed,{html:n}),i.createElement(bn.Copy,{html:o}),i.createElement(gn,null,a.text)),i.createElement(hn,{src:r.url,alt:r.alt})):i.createElement(cn,null,i.createElement(bn.CollapsedCopy,{html:s})));fn.displayName="NavLeft",fn.propTypes={data:r().shape({backgroundImage:r().string,hed:r().string.isRequired,copy:r().string,collapsedCta:r().string.isRequired,cta:r().shape({text:r().string.isRequired,url:r().string.isRequired}),image:r().shape({url:r().string.isRequired,alt:r().string.isRequired})}),isExpanded:r().bool},fn.requireDataFields=["hed","image.url","image.alt","cta.text","cta.url","collapsedCta"];const wn=fn;var $n=n(58872);const vn=an()([$n.Z])(wn),Cn=v.i7` 0% { opacity: 0; } 100% { opacity: 1; } `,kn=v.Ay.a.withConfig({displayName:"UnitWrapper"})` display: none; width: 230px; text-decoration: none; &:hover { text-decoration: underline; } @media (min-width: calc(${C.LO.lg} - 1px)) { display: flex; } `,xn=v.Ay.div.withConfig({displayName:"ExpandedContainer"})` display: flex; align-items: center; justify-content: space-between; animation: ${Cn} 1.2s cubic-bezier(0.39, 0.575, 0.565, 1) both; background-color: #ffffff; height: 110px; `,En=v.Ay.img.withConfig({displayName:"ExpandedImage"})` object-fit: cover; `,An=v.Ay.div.withConfig({displayName:"CollapsedContainer"})` display: flex; align-items: center; justify-content: center; animation: ${Cn} 1.2s cubic-bezier(0.39, 0.575, 0.565, 1) both; ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.list")}; `,Sn=v.Ay.span.withConfig({displayName:"CollapsedCopy"})` margin-top: 2px; line-height: 12px; color: #000; font-size: 12px; font-weight: 500; font-style: italic; `,Ln={CollapsedCta:(0,yn.J)(Sn)},Tn=({isExpanded:e,data:{expandedImage:t,url:n,collapsedCta:o}})=>i.createElement(kn,{href:n,className:"nav-left__container"},e?i.createElement(xn,null,i.createElement(En,{src:t.src,alt:t.alt})):i.createElement(An,null,i.createElement(Ln.CollapsedCta,{html:o})));Tn.displayName="NavLeft.Image",Tn.propTypes={data:r().shape({expandedImage:r().shape({src:r().string.isRequired,alt:r().string.isRequired}),url:r().string.isRequired,collapsedCta:r().string.isRequired}),isExpanded:r().bool},Tn.requireDataFields=["expandedImage.src","expandedImage.alt","url","collapsedCta"];const Nn=Tn,Hn=an()([$n.Z])(Nn);var In=n(51806);const Bn=vn;Bn.Image=Hn;const On=(0,In.A)(Bn,"nav-left__component");var _n=n(64744),Kn=n(24208);const Pn=(0,w.defineMessages)({navigationWrapper:{id:"OverlayNavigation.OverlayNavigationWrapper",defaultMessage:"Overlay Navigation",description:"ARIA label navigation wrapper"},closeButtonLabel:{id:"OverlayNavigation.OverlayNavigationButton",defaultMessage:"Close Navigation Menu",description:"ARIA label for the close button on navigation menu"},utilityLinks:{id:"OverlayNavigation.OverlayNavigationUtilityLinks",defaultMessage:"Utility",description:"ARIA label for the utility links"},primaryLinks:{id:"OverlayNavigation.OverlayNavigationPrimaryLinks",defaultMessage:"Primary",description:"ARIA label for the primary links"},searchLabel:{id:"OverlayNavigation.OverlayNavigationSearchLabel",defaultMessage:"Search",description:"Text for the search link"},secondaryLinks:{id:"OverlayNavigation.OverlayNavigationSecondaryLinks",defaultMessage:"Secondary",description:"ARIA label for the secondary links"},signInLabel:{id:"OverlayNavigation.OverlayNavigationSignInLabel",defaultMessage:"Sign In",description:"Text for the sign in link"}});var Dn=n(63175),qn=n(77203),Mn=n(18550);const{useEffect:Rn,useState:Fn,useRef:Un,useCallback:Vn}=i,Gn=({accountProps:e,additionalCSS:t,appDownloadUrls:n=[],brandName:o,hasSearch:a,hasTopRule:r,invertedLogo:s,isCenteredOnDesktop:l,isAccountsEnabled:d,isVisible:m,logo:u,logoBaseUrl:p="/",onClose:g,primaryLinks:h,signInLabel:b,searchLink:f,shouldShowOverlayTop:w=!0,shouldOverridePrimaryLinkBISize:$=!0,secondaryLinks:v,socialLinks:C,socialLinksHeading:k,theme:x="standard",user:E,utilityLinks:A})=>{const{formatMessage:S}=(0,R.A)(),L=Un(),[T,N]=Fn(null),H=(0,_n.A)(m),I=Vn(e=>{"Escape"===e.key&&g()},[g]);Rn(()=>{const t=[];if(a){const e=S(Pn.searchLabel);t.push({text:e,url:f})}const{accountLinks:n,signInLink:o}=e||{};if(d&&E&&n?.length>0&&o){const{isAuthenticated:e}=E;e?t.push(...n):t.push({text:b||S(Pn.signInLabel),url:o})}t.push(...A),N(t)},[e,S,a,d,f,b,E,A]),Rn(()=>{L&&H(L.current)},[L,H]),Rn(()=>{const e=L?.current;return m&&L?((0,Kn.mh)(e),window.addEventListener("keydown",I)):((0,Kn.fY)(e),window.removeEventListener("keydown",I)),()=>{(0,Kn.fY)(e),window.removeEventListener("keydown",I)}},[m,L,I]);const B=e=>{window.dataLayer&&window.dataLayer.push({event:"navigation-click",navigationType:"menu",clickText:e})},O=h?.length>0,_=v?.length>0,K=T?.length>0,P=C?.length>0,D="inverted"===x?s:u,q=S(Pn.closeButtonLabel);return i.createElement(te.A,{palette:x},i.createElement(Mn.eK,{role:"dialog","aria-modal":"true","aria-label":S(Pn.navigationWrapper),isVisible:m,ref:L,hasTopRule:r,additionalCSS:t?.wrapper,topRuleAdditionalCSS:t?.topRule,shouldShowOverlayTop:w},w&&i.createElement(Mn.OA,{additionalCSS:t?.top},D&&i.createElement(Mn.ss,{isCenteredOnDesktop:l},i.createElement("a",{href:p,"aria-label":o},i.createElement(c.A,{...D}))),i.createElement(Mn.xj,null,i.createElement(Mn.xA,{label:q,ButtonIcon:ie.A,isIconButton:!0,"aria-label":q,onClickHandler:g}))),i.createElement(Mn.Gf,{tabIndex:"0"},K&&i.createElement("nav",{"aria-label":S(Pn.utilityLinks)},i.createElement(Mn.i8,null,T.filter(e=>!e.hideFromOverlayNavigation).map(({isExternal:e,text:t,url:n,isSubscribeButton:o=!1,hasInvertedSubscribeLink:a=!1,isColorTokenInverted:r=!1,...s})=>i.createElement(Mn.Iv,{key:t},i.createElement(Mn.BT,{onClick:()=>B(t),href:n,as:e?Pt.A:"a",isSubscribeButton:o&&a,isColorTokenInverted:r,...s},t))),i.createElement(y.LQ,{use:"OverlayNavigation"})),n?.length>0&&i.createElement(qn.A,{appDownloadUrls:n})),O&&i.createElement("nav",{"aria-label":S(Pn.primaryLinks)},i.createElement(Mn.E,null,h.map(({isExternal:e,text:t,url:n,...o})=>n&&i.createElement(Mn.Gd,{key:t},i.createElement(Mn.xi,{onClick:()=>B(t),href:n,as:e?Pt.A:"a",shouldOverridePrimaryLinkBISize:$,...o},t))))),(_||P)&&i.createElement("nav",{"aria-label":S(Pn.secondaryLinks)},_&&i.createElement(Mn._Z,null,v.map(({isExternal:e,text:t,url:n,...o})=>i.createElement(Mn.Ot,{key:t},i.createElement(Mn.Z6,{onClick:()=>B(t),href:n,as:e?Pt.A:"a",...o},t)))),P&&i.createElement(Mn.FR,null,i.createElement(Mn.mu,null,k),i.createElement(Dn.A.Standard,{links:C}))))))};Gn.propTypes={accountProps:r().object,additionalCSS:r().object,appDownloadUrls:r().array,brandName:r().string,hasSearch:r().bool,hasTopRule:r().bool,invertedLogo:r().shape(c.A.propTypes).isRequired,isAccountsEnabled:r().bool,isCenteredOnDesktop:r().bool,isVisible:r().bool,logo:r().shape(c.A.propTypes).isRequired,logoBaseUrl:r().string,onClose:r().func,primaryLinks:l.A.propTypes.links,searchLink:r().string,secondaryLinks:l.A.propTypes.links,shouldOverridePrimaryLinkBISize:r().bool,shouldShowOverlayTop:r().bool,signInLabel:r().string,socialLinks:r().array,socialLinksHeading:r().string,theme:r().string,user:r().shape({isAuthenticated:r().bool.isRequired}),utilityLinks:l.A.propTypes.links},Gn.displayName="OverlayNavigation";const Wn=Gn,jn=(0,o.y)(Wn,"OverlayNavigation");var zn=n(48690);const Yn=(0,w.defineMessages)({buttonLabel:{id:"Drawer.ButtonLabel",defaultMessage:"Close drawer",description:"Drawer component button label"}});var Xn=n(56341);const Zn=v.DU` .body__universal_drawer--open { overflow: hidden; .modal-container{ display:block; } } .modal-container{ display:none; } `,Jn=(0,v.Ay)("div").withConfig({displayName:"UniversalDrawerModalWrapper"})` .universal_drawer { transition: 'transform 100ms cubic-bezier(0.23, 1, 0.32, 1)'; animation: fadeIn 0.3s; outline: none; padding: ${(0,x.Kq)(6)} 0 0; max-height: 100%; overflow: hidden; ${(0,x.R9)("align",e=>["left","right","bottom"].includes(e),`\n ${(0,x.H4)(C.LO.md)} {\n max-width: 50%;\n }\n .universal_drawer__social-icons {\n justify-content: flex-start;\n }\n `)} } .show-menu { display: block; @media (min-width: 100px) and (max-width: ${C.LO.lg}) { height: 100vh; } } .hide-menu { display: none; } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-moz-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-o-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-ms-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .universal_drawer.universal_drawer--open { left: 0; height: 100vh; ${(0,x.H4)(C.LO.lg)} { outline: none; height: auto; max-height: 100vh; overflow: hidden; transition-delay: '.2s'; } transition-delay: '.2s'; overflow: hidden; .universal_drawer__content { transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1); opacity: 1; } ${(0,x.R9)("align","right","\n right: 0;\n left: unset;\n margin-left: auto;\n ")} ${(0,x.R9)("align","bottom","\n right: 0;\n max-width: 100%;\n position: absolute;\n bottom: 0;\n ")} } .universal_drawer.universal_drawer--open.universal_drawer--open-positioned { transform: translateZ(0); ${(0,x.H4)(C.LO.lg)} { overflow-y: auto; } } .universal_drawer.universal_drawer--open.universal_drawer--open-positioned { transform: translateZ(0); ${({hideDrawerScroll:e})=>!e&&`\n ${(0,x.H4)(C.LO.lg)} {\n overflow-y: auto;\n }\n `} } .universal_drawer.universal_drawer--open.universal_drawer--filter-mobile { padding: 0; overflow-y: auto; } ${(0,x.R9)("animation","slide-down","\n .universal_drawer {\n transform: translate3d(0, -100%, 0);\n }\n\n .universal_drawer.universal_drawer--open {\n transition: 'transform 0.8s cubic-bezier(0.23, 1, 0.32, 1)';\n\n .universal_drawer__content {\n transition-delay: 0.8s;\n }\n }\n\n .universal_drawer.universal_drawer--closing {\n transform: translate3d(0, -100%, 0);\n transition: 'transform 0.6s cubic-bezier(0.23, 1, 0.32, 1)';\n transition-delay: 0.3s;\n }\n ")} ${(0,x.R9)("animation","slide-right","\n .universal_drawer {\n transform: translate3d(-100%, 0, 0);\n }\n\n .universal_drawer.universal_drawer--open {\n transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);\n\n .universal_drawer__content {\n transition-delay: 0.2s;\n }\n }\n\n .universal_drawer.universal_drawer--closing {\n transform: translate3d(-100%, 0, 0);\n transition: transform 0.25s cubic-bezier(0.4, 0, 1, 1);\n }\n ")} ${(0,x.R9)("animation","slide-left","\n .universal_drawer {\n transform: translate3d(100%, 0, 0);\n }\n\n .universal_drawer.universal_drawer--open {\n transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);\n\n .universal_drawer__content {\n transition-delay: 0.2s;\n }\n }\n\n .universal_drawer.universal_drawer--closing {\n transform: translate3d(100%, 0, 0);\n transition: transform 0.25s cubic-bezier(0.4, 0, 1, 1);\n }\n ")} ${(0,x.R9)("animation","slide-up","\n .universal_drawer {\n height: 0;\n transform: translate3d(0, 100%, 0);\n }\n\n .universal_drawer.universal_drawer--open {\n height: auto;\n transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), \n height 0.8s cubic-bezier(0.23, 1, 0.32, 1);\n\n .universal_drawer__content {\n transition-delay: 0.2s;\n }\n }\n\n .universal_drawer.universal_drawer--closing {\n height: 0;\n transform: translate3d(0, 100%, 0);\n transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), \n height 0.8s cubic-bezier(0.23, 1, 0.32, 1);\n transition-delay: 0.2s;\n }\n ")} .universal_drawer.universal_drawer--closing { .universal_drawer__content { transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1); opacity: 0; } } .universal_drawer__overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); &.universal_drawer__overlay--open { transition: background-color 300ms; &.universal_drawer__overlay--increased-top-position { top: ${(0,x.Kq)(0)}; .universal_drawer.universal_drawer--open.universal_drawer--open-positioned { width: calc(100% - ${(0,x.Kq)(10)}); } ${(0,x.H4)(C.LO.lg)} { .universal_drawer.universal_drawer--open.universal_drawer--open-positioned { width: auto; } } } &.universal_drawer--overlay-color-white { background-color: rgba( ${(0,x.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 0.7 ); } &.universal_drawer--overlay-color-black { background-color: rgba( ${(0,x.HK)("colors.interactive.base.black",{rgbOnly:!0})}, 0.7 ); } } &.universal_drawer__overlay--closing { transition-delay: 0.4s; &.universal_drawer--overlay-color-white { background-color: rgba( ${(0,x.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 0 ); } &.universal_drawer--overlay-color-black { background-color: rgba( ${(0,x.HK)("colors.interactive.base.black",{rgbOnly:!0})}, 0 ); } } &.universal_drawer__overlay--align-right { z-index: ${(0,x.fl)("persistentTopLayer")}; } &.universal_drawer__overlay--hide-on-desktop { display: block; ${(0,x.H4)(C.LO.lg)} { display: none; } } &.universal_drawer__overlay--hide-on-mobile { display: block; ${(0,x.L7)(`calc(${C.LO.lg} - 1px)`)} { display: none; } } } `,Qn=(0,v.Ay)(E.A.Utility).withConfig({displayName:"UniversalDrawerButton"})` ${({theme:e})=>(0,Xn.j)(e,!0)} position: absolute; top: ${(0,x.Kq)(1)}; right: ${(0,x.Kq)(1)}; width: ${(0,x.Kq)(4)}; height: ${(0,x.Kq)(4)}; .icon-close { padding: 8px; } `,eo=(0,v.Ay)("div").withConfig({displayName:"UniversalModalShow"})` display: block; `,to=(0,v.Ay)("div").withConfig({displayName:"UniversalModalhide"})` display: none; `,no=({className:e,hideDrawerScroll:t=!1,onClose:n,overlayColor:o="black",theme:a="standard",variations:r={animation:"slide-down",align:"center",increasedTopPosition:!1},children:s,showCloseButton:l=!1,hideOnDesktop:d=!1,hideOnMobile:c=!1,isDrawerOpen:m=!1,variationName:u,registryName:g})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"UniversalDrawer",variation:u})},[]);const{formatMessage:h}=(0,R.A)(),y=m?eo:to;(0,i.useEffect)(()=>{m?(document.querySelector("body").classList.add("body__universal_drawer--open"),document.querySelector("html").classList.add("html__universal_drawer--open")):(document.querySelector("body").classList.remove("body__universal_drawer--open"),document.querySelector("html").classList.remove("html__universal_drawer--open"))},[m]);const b=$e()("universal_drawer__overlay","universal_drawer__overlay--open",`universal_drawer--overlay-color-${o}`,`universal_drawer__overlay--align-${r.align}`,{"universal_drawer__overlay--hide-on-desktop":d,"universal_drawer__overlay--hide-on-mobile":c,"universal_drawer__overlay--increased-top-position":r.increasedTopPosition}),f=$e()("universal_drawer",e,"universal_drawer--open","universal_drawer--open-positioned",`universal_drawer--align-${r.align}`);return i.createElement(te.A,{palette:a},i.createElement(F.xo,{into:g},i.createElement(y,null,i.createElement(Jn,{"data-testid":"UniversalDrawerModalWrapper",hideDrawerScroll:t,animation:r.animation,align:r.align},i.createElement(zn.A,{backdropClassName:b,modalClassName:f,onClose:n,closeOnEsc:!0,closeOnBackdropClick:!0},l&&i.createElement(Qn,{isIconButton:!0,ButtonIcon:ie.A,label:h(Yn.buttonLabel),role:"button",onClickHandler:n}),s))),i.createElement(Zn,null)))};no.propTypes={children:r().node,className:r().string,hideDrawerScroll:r().bool,hideOnDesktop:r().bool,hideOnMobile:r().bool,isDrawerOpen:r().bool,onClose:r().func.isRequired,overlayColor:r().oneOf(["black","white"]),registryName:r().string,showCloseButton:r().bool,theme:r().string,variationName:r().string,variations:r().shape({animation:r().oneOf(["slide-down","slide-right","slide-left","slide-up","none"]),align:r().oneOf(["center","left","right","bottom"]),increasedTopPosition:r().bool})},no.displayName="UniversalDrawer";const oo=(0,M.N)((0,o.y)(no,"UniversalDrawer"));oo.SiteHeaderDrawer=(0,m.y)(oo,"SiteHeaderDrawer",{animation:"none",align:"center",increasedTopPosition:!0});const io=oo,{useState:ao,useRef:ro,useEffect:so,memo:lo}=i,co=lo(jn),mo=lo(en),uo=lo(tn.A),po=({drawerProps:e,accountProps:t,appDownloadUrls:n,brandName:o,className:a,hasContentHeaderLogo:r,hasSearch:s,hasTopRule:l,hideUtilityNavButton:d,headerInvertedLogo:m,headerLogo:u,internationalInfo:h,invertedLogo:y,isAccountsEnabled:b,isFixedHeight:f,isHamburgerMenuHidden:w=!1,isPointerEventEnabledOnHover:$,linkBannerData:v,logo:C,logoBaseUrl:k,primaryLinks:x,secondaryLinks:E,searchLink:A,showBannerUnderNav:S,socialLinks:L,socialLinksHeading:T,theme:N="standard",user:H,utilityLinks:I,variations:B={isDrawerEnabled:!1},fadeWidth:O="sm",showNavigationWithlinkBanner:_,isCenteredOnDesktop:K,hasCart:P,variationName:D,hasSEOSupport:q=!1})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"SiteHeader",variation:D})},[D]);const M=(0,R.A)(),W=ro([]),j=ro(null),z=ro(null),Y=ro(null),X=ro(null),Z=ro(null),[J,Q]=ao(Ct.N_),[ee,ne]=ao(!1),[oe,ie]=ao(!1),[re,se]=ao("Menu"),[le,de]=ao(!1),[ce]=ao(I.filter(e=>e.showInTopNav).sort((e,t)=>t.forceLeftOfNav-e.forceLeftOfNav)),me=i.useMemo(()=>x.filter(e=>e.hasChildren),[x]),[ue,pe]=ao(q?me:{}),[ge,he]=ao(x),[ye,be]=ao(!1),we=I.filter(e=>!e.forceLeftOfNav),$e=!B.isDrawerEnabled,ve=e=>{window.dataLayer&&window.dataLayer.push({event:"menu-click",menuAction:e})},Ce=i.useCallback(()=>{ne(!ee);ve(ee?"Close":"Open"),se(ee?"Menu":"Close")},[ee]),ke=()=>Q(e=>(0,Ct.nA)(e)),xe=()=>Q(e=>(0,Ct.Ee)(e,j)),Ee=e=>{const t=W.current.map(t=>t.contains(e.target));!oe||!le||z.current.contains(e.target)||t.includes(!0)&&"click"!==e.type||(q&&pe(me),se("Menu"),ie(!1),ve("Close"))},Ae=i.useCallback(e=>{if(B.isDrawerEnabled){const t=ge.find(t=>t.text===e);t.hasChildren?(ie(!0),de(!0),pe(q?me.reduce((t,n)=>(t.push({...n,isActive:n.text===e&&n.hasChildren}),t),[]):{...t,isActive:!0}),he(ge.reduce((t,n)=>(t.push({...n,isActive:n.text===e&&n.hasChildren}),t),[]))):(le&&oe&&ve("Close"),ie(!1),de(!1),se("Menu"))}},[q,oe,le,ge,me,B.isDrawerEnabled]);so(()=>{oe||he(x),oe&&ve("Open")},[oe,x]),so(()=>(X.current=window.Kendra.WINDOW_EVENT.on(g.m.SCROLL_THROTTLE,function(){se("Menu"),ie(!1)}),()=>{X.current&&X.current.off()}),[]),so(()=>(xe(),Y.current=window.Kendra.WINDOW_EVENT.on(g.m.SCROLL_THROTTLE,ke),Z.current=window.Kendra.WINDOW_EVENT.on(g.m.RESIZE_DEBOUNCE,xe),()=>{Y.current&&Y.current.off(),Z.current&&Z.current.off()}),[]),so(()=>{if(window&&window.document){const e=window.document.querySelector('[data-testid="MobileProductCardOuter"]');J.showSticky?e?.classList.add("headerIsSticky"):e?.classList.remove("headerIsSticky")}}),so(()=>{const e=v?.links?.length>0&&"visual-link-banner"!==v?.bannerType;if(window?.location){const{pathname:t}=window.location;be(!(t.includes("/hotels/")||!e))}},[v]);const{clippedMenu:Se,headerHeight:Le,showSticky:Te}=J,Ne={wrapper:Te?kt.nT:kt.pM,top:Se?kt.RQ:kt.WM,topRule:!Se&&kt._U,fixedHeight:f?kt.K5:""},He=i.useMemo(()=>B.isDrawerEnabled?ge.filter(e=>e.showInTopNav):x.filter(e=>e.showInTopNav),[ge,x,B.isDrawerEnabled]),Ie=ce[0],Be=ae.th.large,Oe="inverted"===N?y:C,_e=i.createElement(uo,{ariaLabel:M.formatMessage(U.primaryNavigationLabel),hasDivider:!0,hasBottomBorder:B.isDrawerEnabled,hasContentHeaderLogo:r,hidePrimaryLink:Be,isCentered:K,isSlim:Se,links:He,primaryLink:Ie,onHover:Ae,shouldUseHoverState:le,fadeWidth:O,isPointerEventEnabledOnHover:$,theme:N}),Ke=S?i.createElement(i.Fragment,null,_e,i.createElement(nn.A,{palette:N,showBannerUnderNav:S})):i.createElement(i.Fragment,null,i.createElement(nn.A,{hasBorder:!1,palette:N}),_e),Pe=_?Ke:i.createElement(nn.A,{hasBorder:!1,pallette:N});return i.createElement(te.A,{palette:N},i.createElement(kt.o_,{"data-testid":"PersistentTop SiteHeaderWrapper",className:a,headerHeight:Le,hasContentHeaderLogo:r,additionalCSS:Ne.wrapper},i.createElement(kt.JL,{ref:j,hasTopRule:l,headerHeight:Le,"data-testid":"SiteHeaderStickyWrapper",topRuleAdditionalCSS:Ne.topRule,shouldHideShadow:B.isDrawerEnabled,onClick:e=>{if(window.dataLayer){const t=(e.target.innerText||"").toLowerCase();["","subscribe","sign in","newsletter"].includes(t)||window.dataLayer.push({event:"navigation-click",navigationType:"header",clickText:t})}},hasSEOSupport:q},i.createElement("div",{"data-testid":"SiteHeaderContent"},i.createElement(kt.K5,{hasContentHeaderLogo:r,additionalCSS:f?Ne.fixedHeight:Ne.top},i.createElement(kt.vT,null,i.createElement(On,{isExpanded:!Se})),Oe&&i.createElement(kt.c1,{isCenteredOnDesktop:K},i.createElement("a",{href:k,"aria-label":o,"data-testid":"Logo"},i.createElement(c.A,{...Oe}))),i.createElement(kt.rH,null,i.createElement(mo,{ariaLabel:M.formatMessage(U.utilityNavigationLabel),accountProps:t,isAccountsEnabled:b,buttonIcon:re,hasEnableIcon:!0,hasPrimaryLink:!!Ie,hidePrimaryLink:Be,hideNavButton:d,hrefLink:e.searchAction||"/search",links:ce,isHamburgerMenuHidden:w,onButtonClick:Ce,shouldSwitchMenuIcon:B.isDrawerEnabled,user:H,...h,hasCart:P,isBrandLogoCenteredOnDesktop:K,theme:N})))),i.createElement("div",{ref:z},ye?Pe:_e)),B.isDrawerEnabled&&q&&i.createElement(io.SiteHeaderDrawer,{hasLinkBanner:_,theme:N,className:"universal_drawer--megamenu",isDrawerOpen:oe,onClose:()=>ie(!1),registryName:"mega-menu-siteheader-modal"},ue.map((e,t)=>i.createElement("div",{key:t,ref:e=>{W.current[t]=e},className:e.isActive?"show-menu":"hide-menu"},i.createElement(fe,{isSlim:Se,megaMenuContent:e,collapseMegaMenu:Ee,isDrawerOpen:oe,theme:N,hasLinkBanner:ye&&_})))),i.createElement(F.hA,{name:"mega-menu-siteheader-modal",className:"modal-container"}),($e||ee)&&i.createElement(co,{accountProps:t,appDownloadUrls:n,isAccountsEnabled:b,user:H,hasSearch:s,hasTopRule:l,primaryLinks:x,utilityLinks:I,searchLink:A,secondaryLinks:E,socialLinks:L,socialLinksHeading:T,logo:u,logoBaseUrl:k,invertedLogo:m,isCenteredOnDesktop:K,brandName:o,isVisible:ee,onClose:Ce,theme:N}),B.isDrawerEnabled&&!q&&i.createElement(V.A.SiteHeaderDrawer,{appElement:e.appElement,isOpen:oe,hasBodyScrollWhenDrawerOpen:!1,onClose:()=>ie(!1),contentLabel:M.formatMessage(U.drawerLabel),hasLinkBanner:_,theme:N,className:"drawer--megamenu"},!le&&i.createElement(G.A,{accountProps:t,...e,contentAlign:"center",showSearch:s,isAccountsEnabled:b,user:H,utilityLinks:we}),le&&i.createElement(fe,{isSlim:Se,megaMenuContent:ue,isDrawerOpen:oe,collapseMegaMenu:Ee,theme:N,hasLinkBanner:ye&&_})),B.isDrawerEnabled&&oe&&!le&&q&&i.createElement(V.A.SiteHeaderDrawer,{appElement:e.appElement,isOpen:oe,onClose:()=>ie(!1),contentLabel:M.formatMessage(U.drawerLabel),hasLinkBanner:_,theme:N,className:"drawer--megamenu"},i.createElement(G.A,{accountProps:t,...e,contentAlign:"center",showSearch:s,isAccountsEnabled:b,user:H,utilityLinks:we}))))};po.propTypes={accountProps:r().object,appDownloadUrls:r().array,brandName:r().string,className:r().string,drawerProps:r().shape({appElement:r().any,searchAction:r().string}),fadeWidth:r().string,hasCart:r().bool,hasContentHeaderLogo:r().bool,hasSearch:r().bool,hasSEOSupport:r().bool,hasTopRule:r().bool,headerInvertedLogo:r().shape(c.A.propTypes).isRequired,headerLogo:r().shape(c.A.propTypes).isRequired,hideUtilityNavButton:r().bool,internationalInfo:r().object,invertedLogo:r().shape(c.A.propTypes).isRequired,isAccountsEnabled:r().bool,isCenteredOnDesktop:r().bool,isFixedHeight:r().bool,isHamburgerMenuHidden:r().bool,isPointerEventEnabledOnHover:r().bool,isShopifyCartWidgetOpen:r().bool,linkBannerData:r().shape(nn.A.propTypes.linkBannerData),logo:r().shape(c.A.propTypes).isRequired,logoBaseUrl:r().string,primaryLinks:r().array,searchLink:r().string,secondaryLinks:r().array,showBannerUnderNav:r().bool,showNavigationWithlinkBanner:r().bool,socialLinks:r().array,socialLinksHeading:r().string,theme:r().string,user:r().shape({isAuthenticated:r().bool.isRequired}),utilityLinks:r().array,variationName:r().string,variations:r().shape({hasTopRule:r().bool,isDrawerEnabled:r().bool})},po.displayName="SiteHeader";const go=(0,s.M3)(po,{keysToPluck:["linkBannerData"]});go.TopRule=(0,m.y)(go,"TopRule",{},{hasTopRule:!0}),go.DrawerEnabled=(0,m.y)(go,"DrawerEnabled",{isDrawerEnabled:!0});const ho=go,yo=(0,M.N)((0,o.y)(ho,"SiteHeader"));var bo=n(52188),fo=n(26890),wo=n(61599);const $o=(0,w.defineMessages)({primaryLinksLabel:{id:"DynamicChannelNav.PrimaryLinks",defaultMessage:"Primary",description:"ARIA label for the standard navigation primary links"}});var vo=n(71862);const Co=({hasBorderDropdown:e=!0,links:t})=>{const[n,o]=i.useState(!1);return i.createElement(vo.ML,null,i.createElement(vo.bL,{"data-testid":"MoreDropdownLabel","aria-expanded":n,onMouseOver:()=>o(!0),onMouseOut:()=>o(!1),type:"button"},"More",i.createElement(vo.of,{"data-testid":"MoreMenuDropdownToggleIcon"})),i.createElement(vo.vs,{hasBorderDropdown:e,"data-testid":"StandardNavigationDropdown"},t&&t.length>0&&i.createElement(vo.TU,{links:t,linkClassName:"more-menu__link"})))};Co.propTypes={hasBorderDropdown:r().bool,links:r().array};const ko=Co;class xo extends i.Component{constructor(e,t){super(e,t),this.getUpdatedWidth=()=>{const{moreMenuWidth:e}=this.state;return{itemsWidthMap:this.getItemsWidth(),moreMenuWidth:this.moreMenuEL.current?this.moreMenuEL.current.offsetWidth:e,navWidth:this.navigationEl.current.offsetWidth}},this.getElementMarginRight=e=>Number(window.getComputedStyle(e).marginRight.replace("px","").replace("rem","")),this.getUpdatedLinks=this.getUpdatedLinks.bind(this),this.handleResize=this.handleResize.bind(this),this.moreMenuEL=i.createRef(),this.navigationLinksEl=i.createRef(),this.navigationEl=i.createRef(),this.linksInTopNav=this.props.items.filter(e=>e.showInTopNav),this.state={itemsWidthMap:{},moreMenuWidth:null,navWidth:null,shouldFilterVisibleLinks:!1,didMount:!1}}componentDidMount(){const{hideLinksWhenResize:e}=this.props;let t={didMount:!0};e&&(window.addEventListener("resize",this.handleResize),t={...t,...this.getUpdatedWidth(),shouldFilterVisibleLinks:!0}),this.setState(t)}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}getItemsWidth(){const e=this.linksInTopNav,{itemsWidthMap:t}=this.state,n={...t};return[...this.navigationLinksEl.current.children].forEach((t,o)=>{const i=e[o].text,a=t.offsetWidth+this.getElementMarginRight(t),r=a!==n[i];n[i]=r?a:n[i]}),n}getUpdatedLinks(){const{items:e}=this.props,{moreMenuWidth:t,shouldFilterVisibleLinks:n}=this.state;if(!n)return{visibleLinks:e};let o=this.getSortedLinks(this.linksInTopNav,0);o.visibleLinks.length!==this.linksInTopNav.length&&(o=this.getSortedLinks(this.linksInTopNav,t));const{visibleLinks:i,moreMenuLinks:a}=o;return{visibleLinks:i[2]?i:[],moreMenuLinks:a}}getSortedLinks(e,t){let n=t+20;const{itemsWidthMap:o,navWidth:i}=this.state;return e.reduce((e,t)=>(n+=o[t.text],n{this.setState({isDrawerOpen:!this.state.isDrawerOpen}),(0,Ee.W8)("hamburger-menu-"+(this.state.isDrawerOpen?"collapsed":"expanded"))},this.doToggleSearchDrawer=()=>{this.setState({isSearchDrawerOpen:!this.state.isSearchDrawerOpen},()=>{this.state.isSearchDrawerOpen&&this.trackSearchSource("icon")})},this.trackScrollPosition=this.trackScrollPosition.bind(this);const{shouldKeepSubscribeLinkActive:n}=e;this.handleScroll=this.handleScroll.bind(this),this.scrollSubscription=null,this.shouldKeepSubscribeLinkActive=n,this.withHeadline=this.props.hasHeadline&&this.props.pageHeadline,this.handleClickNavigation=this.handleClickNavigation.bind(this),this.handleToggleShopifyCart=this.handleToggleShopifyCart.bind(this),this.onCartDataChange=this.onCartDataChange.bind(this),this.state={showHeadline:!1,isDrawerOpen:!1,isScrolled:!1,lastScrollPosition:0,isContentHeaderVisible:!0,shopifyCartQuantity:0,isSearchDrawerOpen:!1,isClient:!1}}componentDidMount(){this.setState({isClient:!0});const{drawerProps:e,headlineElementClass:t,mainContentElementClass:n}=this.props,{appElement:o}=e;this.registerContentHeaderVisibilityObserver(),this.scrollSubscription=window.Kendra.WINDOW_EVENT.on(g.m.SCROLL_THROTTLE,this.handleScroll),He().setAppElement(o),this.withHeadline&&(this.headlineNode=document.querySelector(t),this.mainContentNode=document.querySelector(`.${n}`)),window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"StandardNavigation",variation:this.props.variationName})}componentWillUnmount(){this.scrollSubscription&&(this.scrollSubscription.off(),this.scrollSubscription=null),this.observer.disconnect()}onContentHeaderVisibilityChange(e){const[t]=e;this.setState({isContentHeaderVisible:t.isIntersecting})}onCartDataChange(e){const t=e?.length||void 0;this.setState({shopifyCartQuantity:void 0===t?0:t})}handleToggleShopifyCart(){this.props.setShopifyWidgetState(!this.props.isShopifyCartWidgetOpen)}handleClickNavigation(e){"Newsletter"!==e.target.innerText&&window.dataLayer&&window.dataLayer.push({event:"navigation-click",navigationType:"header",clickText:e.target.innerText})}registerContentHeaderVisibilityObserver(){this.observer=new IntersectionObserver(this.onContentHeaderVisibilityChange.bind(this));const e=document.querySelector(".content-header");e&&this.observer.observe(e)}handleScroll(){const{isScrolled:e,lastScrollPosition:t}=this.state,n=window.pageYOffset;(this.withHeadline||this.props.seriesData)&&this.trackScrollPosition(),(0,fo.q)(e,n,t)&&this.setState({isScrolled:n-t>0,lastScrollPosition:n})}isNavigationThemeInverted(e){return"inverted"===e&&!this.state.isDrawerOpen&&this.state.isContentHeaderVisible}shouldDisplaySeriesPagination(){const{isContentHeaderVisible:e,isDrawerOpen:t}=this.state;return!e&&!t}trackScrollPosition(){if(!this.props.seriesData&&this.headlineNode&&this.mainContentNode){const{top:e,bottom:t}=this.mainContentNode.getBoundingClientRect(),{bottom:n}=this.headlineNode.getBoundingClientRect(),o=e<0&&n<0&&t>=0;this.setState({showHeadline:o})}}trackSearchSource(e){return()=>(0,Ee.W8)(`navigation-site-search-${e}`)}render(){const{accountProps:e,className:t,contentAlign:n="left",drawerProps:o,decorationStyle:a="default",hasBookmark:r=!1,hasHeadline:s,hasBorderDropdown:l,hasSearch:d=!0,hasSearchBar:c=!1,hasSearchBarWithDrawer:m,headlineAlign:u,headerInvertedLogo:p,hideLinksWhenResize:g=!1,intl:h,invertedLogo:w,isAccountsEnabled:$=!1,isLogoWide:v=!1,logo:C,logoBaseUrl:k="/",pageHeadline:x,primaryLinks:E,secondaryLinks:A,seriesData:S=null,shouldConsiderSeriesPagination:L=!1,shouldEnableFullArticleInverted:T,shouldHideSeriesPagination:N=!0,shouldKeepSubscribeLinkActive:H=!1,showLinkBanner:I=!1,isVisualLinkBanner:B=!1,theme:O="standard",user:_,utilityLinks:K,variations:P={hasLinkBanner:!1,logoAlign:"left",mobileOption:"search",mobileNoBorderBottom:!1,palette:"standard"}}=this.props,{isClient:D}=this.state;let{mobileOption:q}=P;const M=!(0,Lo.Zm)(),{logoAlign:R,mobileLogoAlign:F,mobileNoBorderBottom:U,hasCart:W}=P,{showHeadline:j,shopifyCartQuantity:z}=this.state,Y=this.isNavigationThemeInverted(P.palette||O)?"inverted":"standard",X="inverted"===Y?{logo:w,headerLogo:p}:{logo:C,headerLogo:C},Z=K.filter(e=>!0===e.forceLeftOfNav),J=K.filter(e=>!1===e.forceLeftOfNav),Q=K.filter(e=>e.showInTopNavMobile),ee=!!K.find(e=>e.showInTopNav&&"nav-cta"===e.cmPosition),te=this.state.isDrawerOpen?ie.A:ke.A;H&&(q="cm");const{shouldExcludeSeriesPagination:ne=!1}=S||{},oe=!N&&!ne&&S&&this.shouldDisplaySeriesPagination(),ae=!L&&!B&&(P.hasLinkBanner||I),re=(h.formatMessage(bo.A.saveBookmarkLabel),{href:o.searchAction,inputKind:"link",onClickHandler:this.trackSearchSource("icon")});m&&(delete re.inputKind,delete re.href,re.role="button",re.onClickHandler=this.doToggleSearchDrawer);const se=d&&i.createElement(i.Fragment,null,c?i.createElement(vo.Kd,null,i.createElement(Ao.A,{onSubmit:this.trackSearchSource("input-box"),queryParameters:this.props.searchQueryParameters})):i.createElement(vo.QU,{...re,ariaLabel:h.formatMessage(bo.A.searchLabel),label:h.formatMessage(bo.A.searchLabel),ButtonIcon:this.state.isSearchDrawerOpen?ie.A:f.A,isIconButton:!0,shouldEnableFullArticleInverted:T}));return i.createElement(i.Fragment,null,i.createElement(y.Ay,{className:O}),i.createElement(vo.Hb,{className:t,isLogoWide:v,palette:Y,seriesData:S,shouldDisplaySeriesPagination:oe,decorationStyle:a,decorationTheme:O,logoAlign:R,mobileLogoAlign:F,mobileOption:q,isDrawerOpen:this.state.isDrawerOpen,mobileNoBorderBottom:U,isHeadlineColorInverted:"inverted"===Y&&s,shouldKeepSubscribeLinkActive:H,shouldEnableFullArticleInverted:T,"data-testid":"StandardNavigationWrapper"},i.createElement(vo.Bn,{"data-testid":"StandardNavigationDrawer"},(E.length>0||A.length>0)&&i.createElement(vo.nO,{ButtonIcon:te,isIconButton:!0,className:"standard-navigation__drawer-toggle",label:h.formatMessage(bo.A.navigationMenuButtonLabel),onClickHandler:this.doToggleDrawer,role:"button","aria-expanded":this.state.isDrawerOpen,shouldEnableFullArticleInverted:T})),"center"===R&&Z&&Z.length>0&&i.createElement(vo.Ac,null,i.createElement(vo.q8,{attributes:{"aria-label":h.formatMessage(bo.A.secondaryLinksLabel)},links:Z,shouldAllowNavItemHide:!0})),i.createElement(vo.E4,null,i.createElement(vo.H7,{href:k,"data-testid":"Logo"},i.createElement(vo.E8,{...X.logo}))),"left"===R&&i.createElement(vo.re,{headLineVisible:s&&j,"data-testid":"StandardNavigationHeadLineBlock",className:$e()({"standard-navigation__headline-block--headline":s&&j})},i.createElement(vo.nk,{"aria-hidden":"true",headlineAlign:u},x),i.createElement(vo.cf,null,!j&&i.createElement(Eo,{hasBorderDropdown:l,hideLinksWhenResize:g,items:E}))),i.createElement(vo.kr,{onClick:this.handleClickNavigation,shouldEnableFullArticleInverted:T},$&&_&&i.createElement(So.A,{...e,user:_,className:"standard-navigation__section--utility-links-login"}),i.createElement(i.Fragment,null,D&&J.length>0&&i.createElement(vo.ck,{attributes:{"aria-label":h.formatMessage(bo.A.utilityLinksLabel)},links:M?Q:J,shouldAllowNavItemHide:!0,shouldEnableFullArticleInverted:T}),D&&i.createElement(vo.Tz,null,i.createElement(b.Z,{group:"consumer-marketing"},i.createElement(To,{position:"nav-dialog"})),!ee&&i.createElement(i.Fragment,null,i.createElement(y.IJ,null),i.createElement(b.Z,{group:"consumer-marketing"},i.createElement(To,{position:"nav-cta"}),i.createElement(To,{position:"nav-rollover"})),i.createElement(y.dd,null))),i.createElement(b.Z,{group:"subs-cta"},i.createElement(To,{position:"nav-gift"})))),se,i.createElement(i.Fragment,null,W&&i.createElement(vo.gV,{onClick:this.handleToggleShopifyCart},i.createElement(vo.wH,{ariaLabel:`${z} ${h.formatMessage(bo.A.shoppingCartAriaLabel)}`,label:h.formatMessage(bo.A.shoppingCartLabel),ButtonIcon:wo.A,isIconButton:!0,inputKind:"link",tabIndex:0}),z>0&&i.createElement(vo.Zs,null,z))),i.createElement($t,{showShopifyCart:this.props.isShopifyCartWidgetOpen,closeButtonCallback:this.handleToggleShopifyCart,onCartDataChange:this.onCartDataChange})),i.createElement(V.A,{appElement:o.appElement,isOpen:this.state.isDrawerOpen,onClose:this.doToggleDrawer,contentLabel:h.formatMessage(bo.A.drawerLabel)},i.createElement(G.A,{accountProps:e,...o,contentAlign:n,showSearch:d,isAccountsEnabled:$,user:_,utilityLinks:J})),E&&i.createElement(vo.dU,{linksArr:E}),A&&i.createElement(vo.Fy,{linksArr:A}),ae&&i.createElement(nn.A,null),!N&&i.createElement(vo.Lq,{shouldDisplaySeriesPagination:oe,className:$e()({"series-pagination__standard-navigation--hidden":!oe}),"data-testid":"StandardNavigationSeriesPagination"}),m&&this.state.isSearchDrawerOpen&&i.createElement(V.A,{appElement:o.appElement,contentLabel:h.formatMessage(bo.A.searchLabel),className:"drawer--search",isOpen:this.state.isSearchDrawerOpen,onClose:()=>this.doToggleSearchDrawer()},i.createElement(vo.VX,null,i.createElement(Ao.A,{searchLink:o.searchAction,shouldSetFocus:this.state.isSearchDrawerOpen}))))}}No.propTypes={accountProps:r().object,className:r().string,contentAlign:r().oneOf(["center","left"]),decorationStyle:r().oneOf(["default","border-thin","light-shadow"]),drawerProps:r().shape({appElement:r().any,searchAction:r().string}).isRequired,hasBookmark:r().bool,hasBorderDropdown:r().bool,hasHeadline:r().bool,hasSearch:r().bool,hasSearchBar:r().bool,hasSearchBarWithDrawer:r().bool,headerInvertedLogo:r().shape(c.A.propTypes).isRequired,headlineAlign:r().oneOf(["left","center"]),headlineElementClass:r().string,hideLinksWhenResize:r().bool,intl:r().shape({formatMessage:r().func}),invertedLogo:r().shape(c.A.propTypes).isRequired,isAccountsEnabled:r().bool,isLogoWide:r().bool,isShopifyCartWidgetOpen:r().bool,isVisualLinkBanner:r().bool,logo:r().shape(c.A.propTypes).isRequired,logoBaseUrl:r().string,mainContentElementClass:r().string,pageHeadline:r().string,primaryLinks:l.A.propTypes.links,savedStoriesLabel:r().string,searchQueryParameters:r().object,secondaryLinks:r().array,seriesData:r().shape({hed:r().string,dek:r().string,image:r().object,links:r().arrayOf(r().shape({hed:r().string,dek:r().string,image:r().object,isPublished:r().bool,promoHed:r().string,url:r().string})),shouldExcludeSeriesPagination:r().bool}),setShopifyWidgetState:r().func,shouldConsiderSeriesPagination:r().bool,shouldEnableFullArticleInverted:r().bool,shouldHideSeriesPagination:r().bool,shouldKeepSubscribeLinkActive:r().bool,showLinkBanner:r().bool,theme:r().string,user:r().shape({isAuthenticated:r().bool.isRequired}),utilityLinks:l.A.propTypes.links,variationName:r().string,variations:r().shape({hasCart:r().bool,hasLinkBanner:r().bool,logoAlign:r().oneOf(["center","left"]).isRequired,mobileLogoAlign:r().oneOf(["center"]),mobileNoBorderBottom:r().bool,mobileOption:r().oneOf(["search","cm"]).isRequired,palette:r().oneOf(["inverted","standard"]),showHeadline:r().bool})};No.displayName="StandardNavigation";const Ho=(0,ve.Ng)(({isShopifyCartWidgetOpen:e,standardNavigationConfig:t})=>({isShopifyCartWidgetOpen:e,...t}),e=>{const{setShopifyWidgetState:t}=(0,Se.A)(e);return{setShopifyWidgetState:t}})((0,u.Ay)(No)),Io=(0,m.y)(Ho,"LogoCenterWithSearch",{logoAlign:"center",mobileOption:"search"});Ho.LogoCenterWithSearch=Io;const Bo=(0,m.y)(Ho,"LogoCenterWithSearchBar",{logoAlign:"center",mobileLogoAlign:"center",mobileOption:"cm"},{hasSearch:!0,hasSearchBar:!0});Ho.LogoCenterWithSearchBar=Bo;const Oo=(0,m.y)(Ho,"LogoCenterWithCM",{logoAlign:"center",mobileOption:"cm"});Ho.LogoCenterWithCM=Oo;const _o=(0,m.y)(Ho,"LogoCenterWithCMNoSearch",{logoAlign:"center",mobileOption:"cm"},{hasSearch:!1});Ho.LogoCenterWithCMNoSearch=_o;const Ko=(0,m.y)(Ho,"LogoLeftWithSearch",{logoAlign:"left",mobileOption:"search"},{hideLinksWhenResize:!0});Ho.LogoLeftWithSearch=Ko;const Po=(0,m.y)(Ho,"LogoLeftWithSearch",{logoAlign:"left",mobileOption:"search",hasCart:!0},{hideLinksWhenResize:!0});Ho.LogoLeftWithSearchAndCart=Po;const Do=(0,m.y)(Ho,"LogoLeftWithSearchAndLinkBanner",{logoAlign:"left",mobileOption:"search",hasLinkBanner:!0},{hideLinksWhenResize:!0});Ho.LogoLeftWithSearchAndLinkBanner=Do;const qo=(0,m.y)(Ho,"LogoLeftWithSearchAndLinkBannerAndCart",{logoAlign:"left",mobileOption:"search",hasLinkBanner:!0,hasCart:!0},{hideLinksWhenResize:!0});Ho.LogoLeftWithSearchAndLinkBannerAndCart=qo;const Mo=(0,m.y)(Ho,"LogoLeftWithCM",{logoAlign:"left",mobileOption:"cm"});Ho.LogoLeftWithCM=Mo;const Ro=(0,m.y)(Ho,"LogoLeftWithCMNoSearch",{logoAlign:"left",mobileOption:"cm"},{hasSearch:!1});Ho.LogoLeftWithCMNoSearch=Ro;const Fo=(0,m.y)(Ho,"LogoLeftWithSearchAndHeadline",{logoAlign:"left",mobileOption:"search"},{hasHeadline:!0,headlineAlign:"left",hideLinksWhenResize:!0});Ho.LogoLeftWithSearchAndHeadline=Fo;const Uo=(0,m.y)(Ho,"LogoLeftWithSearchWithHeadlineAndLinkBanner",{logoAlign:"left",mobileOption:"search",hasLinkBanner:!0},{hasHeadline:!0,headlineAlign:"left",hideLinksWhenResize:!0});Ho.LogoLeftWithSearchWithHeadlineAndLinkBanner=Uo;const Vo=(0,m.y)(Ho,"LogoLeftWithSearchAndHeadlineCenter",{logoAlign:"left",mobileOption:"search"},{hasHeadline:!0,headlineAlign:"center",hideLinksWhenResize:!0});Ho.LogoLeftWithSearchAndHeadlineCenter=Vo;const Go=(0,m.y)(Ho,"LogoCenterWithSearchAndLinkBanner",{logoAlign:"center",mobileOption:"search",hasLinkBanner:!0});Ho.LogoCenterWithSearchAndLinkBanner=Go;const Wo=(0,m.y)(Ho,"LogoDesktopLeftMobileCenterWithSearch",{logoAlign:"left",mobileLogoAlign:"center",mobileOption:"search",mobileNoBorderBottom:!0},{hasHeadline:!0,hasBorderDropdown:!1,headlineAlign:"left",hideLinksWhenResize:!0});Ho.LogoDesktopLeftMobileCenterWithSearch=Wo;const jo=(0,m.y)(Ho,"LogoLeftWithSearchInverted",{logoAlign:"left",mobileOption:"search",palette:"inverted"},{hideLinksWhenResize:!0});Ho.LogoLeftWithSearchInverted=jo;const zo=Ho,Yo=(0,M.N)((0,o.y)(zo,"StandardNavigation"));var Xo=n(98904),Zo=n(37384),Jo=n(77630);const Qo=v.Ay.div.withConfig({displayName:"EnhancedSearchDrawerWrapper"})` position: fixed; top: ${({topPosition:e})=>e}px; right: 0; left: 0; transition: opacity 0.2s ease-in-out; visibility: visible; opacity: 1; z-index: ${({zIndex:e})=>e}; background-color: white; padding: 8px 0; width: 100%; height: ${({height:e,calculatedHeight:t})=>"auto"===e?`${t}px`:`${e}px`}; &.enhanced-search-drawer { display: block; } `,ei=v.Ay.div.withConfig({displayName:"EnhancedSearchDrawerOverlay"})` position: fixed; right: 0; bottom: 0; left: 0; transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out; visibility: ${({isOpen:e})=>e?"visible":"hidden"}; opacity: ${({isOpen:e})=>e?1:0}; z-index: ${({zIndex:e})=>e-1}; background-color: rgba(0, 0, 0, 0.5); &.drawer--overlay-color-black { background-color: rgba(0, 0, 0, 0.5); } &.drawer--overlay-color-white { background-color: rgba(255, 255, 255, 0.7); } `,ti=({appElement:e="#app-root",className:t,isOpen:n=!1,onClose:o,headerSelector:a,headerRef:r,theme:s="standard",contentLabel:l="Enhanced Search Drawer",children:d,height:c="auto",zIndex:m=C.KV.dropdown-1,overlayColor:u="black"})=>{const[p,g]=(0,i.useState)(0),[h,y]=(0,i.useState)(0),b=(0,i.useRef)(null),f=(0,i.useCallback)(()=>{if(!n)return;let e=null;if(r&&r.current?e=r.current:a&&(e=document.querySelector(a)),e){const t=e.getBoundingClientRect().bottom;g(t),requestAnimationFrame(()=>{if(b.current){const e=b.current.querySelector('input[type="search"]');if(e){const t=e.getBoundingClientRect();y(t.bottom+16)}else{const e=b.current.getBoundingClientRect();y(e.bottom+16)}}}),b.current&&b.current.style.setProperty("top",`${t}px`,"important")}},[n,a,r]);(0,i.useEffect)(()=>{if(n)return f(),window.addEventListener("scroll",f),window.addEventListener("resize",f),()=>{window.removeEventListener("scroll",f),window.removeEventListener("resize",f)}},[n,f]);return i.createElement(te.A,{palette:s},i.createElement(ei,{isOpen:n,zIndex:m,onClick:()=>{o&&o()},className:`drawer--overlay-color-${u}`,style:{top:`${h}px`}}),n&&i.createElement(Qo,{ref:b,className:$e()("enhanced-search-drawer",t),topPosition:p,height:c,zIndex:m,role:"dialog","aria-label":l,"data-testid":"EnhancedSearchDrawer"},d))};ti.propTypes={appElement:r().oneOfType([r().string,r().element]),children:r().node,className:r().string,contentLabel:r().string,headerRef:r().object,headerSelector:r().string,height:r().oneOfType([r().number,r().oneOf(["auto"])]),isOpen:r().bool.isRequired,onClose:r().func.isRequired,overlayColor:r().oneOf(["black","white"]),theme:r().string,zIndex:r().number};const ni=ti,oi=({accountProps:e,adStyle:t="default",className:n,utilityNavLinkColorToken:o,customMobileOptionLink:a,customMobileOptionLinkText:r,drawerProps:s,hasBoxShadowInMobile:d=!1,hasLeftMarginOnMobile:c=!1,hasLinkbannerCrossSlideAnimation:m=!1,hasNoRightMarginforSm:u=!1,hasSearch:w=!0,hasSearchBarWithDrawer:$=!1,hasScrollingNavigationContentCenterAligned:v=!1,hasSearchBar:C=!1,hasTopStory:k,hasUnderlineActiveLink:x,hasUtilityLinksCenterAlign:E=!1,headerLogo:A,headerLogoDim:S,headerInvertedLogo:L,headerTheme:T,hideNavWhenLinkBannerEnabled:N,intl:H,invertedLogo:I,isHomepage:B,isAccountsEnabled:O,isEditorPicksAvailable:_=!1,isNavigationActiveState:K,isVisualLinkBanner:P=!1,journeyRibbonHeight:D,logo:q,logoBaseUrl:M="/",mobileLogoAlignment:R="center",navigationHideStrategy:U="default",primaryLinks:W,profileLinkLabel:z,primaryNavigationSize:Y="default",seriesData:X,shouldBundlePagesBehaveLikeHP:Z=!0,shouldInvertMenuHeader:J=!1,shouldHideSeriesPagination:Q=!0,showLinkBanner:ee=!1,showMarketSwitcherInDrawerOverlay:ne=!1,showNavigationDrawerOnTopInDesktop:oe=!1,shouldNavigationScroll:re=!0,showSignInOnMobile:se,showAccountAfterNavCta:le=!1,showNavigationDrawerOnTopOnScroll:ce=!1,showOverlayNavigation:me=!1,showPrimaryNavOnScroll:ue=!1,showSecondaryFooterAllLink:pe=!1,showUtilityLinkOnNavigationBottom:ge=!1,scrollingHeaderLogoDim:he,socialLinksHeading:ye,theme:be="standard",shouldUseLightIconTheme:we=!1,user:ve,utilityLinks:Ce,variationName:xe,variations:Ae={isDrawerEnabled:!1,isLargeOnHomeOnly:!1,headerLayout:"default-header-layout",hasLinkBanner:!1,hasOnlyMenuToRight:!1,hasSearchBarInSecondRow:!1,hasXLargeLogo:!1,shouldUseCustomStyle:!1,showMegaMenuForMobile:!1,showScrollingNavigation:!1,showSecondRowOnScroll:!1},hasSEOSupport:Se=!1,onDrawerStateChange:Le,shouldInvertSecondaryMenuTheme:Te=!0,shouldShow100AnnivLogo:Ne=!1,searchPlaceholder:He,featureFlags:{enableEnhancedSearch:Ie=!1}={}})=>{let Be=B;i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"StackedNavigation",variation:xe})},[xe]);const Oe=(0,i.useRef)(null),_e=(0,vt.B)(),[Ke,Pe]=(0,i.useState)(!1),[De,qe]=(0,i.useState)(!1),[Me,Re]=(0,i.useState)(!1),Fe=(0,i.useRef)(0),[Ue,Ve]=(0,i.useState)(!0),[Ge,We]=(0,i.useState)(W),[je,ze]=(0,i.useState)(!1),[Ye,Xe]=(0,i.useState)({}),[Ze,Je]=(0,i.useState)(!1),[Qe,et]=(0,i.useState)(!1),[tt,nt]=(0,i.useState)(""),[ot,it]=(0,i.useState)(!1),at=(0,i.useRef)(null),rt=(0,i.useRef)(null),st=Ae.isDrawerEnabled?Ge:W,lt=st.filter(e=>e.hasChildren),[dt,ct]=(0,i.useState)(Se?lt:{});(0,i.useEffect)(()=>{if(!_||!Ae.isDrawerEnabled||ot)return;const e=e=>{const t=Object.keys(e);return st.map(n=>{if(n.hasChildren&&n.children){const o=((e,t,n)=>e.children.map(e=>{if(t.includes(e.text)){const t=n[e.text],o=[];if(!j()(t)){const e=t.length>1;t.forEach((t,n)=>{const i={groupName:0===n?"Editors' Pick"+(e?"s":""):"",isCard:!0,links:[{...t,cardPosition:n+1}]};o.push(i)})}return{...e,children:[...e.children,...o]}}return e}))(n,t,e);return{...n,children:o}}return n})};fetch("/editor-picks").then(e=>e.json()).then(t=>{const{editorPicks:n}=t;if(!j()(n)){const t=e(n);it(!0),We(t)}}).catch(e=>e)},[st,Ae.isDrawerEnabled,ot,_]);const mt=e=>{"Newsletter"!==e.target.innerText&&"NEWSLETTER"!==e.target.innerText&&window.dataLayer&&window.dataLayer.push({event:"navigation-click",navigationType:"header",clickText:e.target.innerText})},ut=(0,i.useCallback)(()=>{const e=window.pageYOffset;(0,fo.q)(Me,e,Fe.current,U)&&(e<=0&&-1!==window.navigator.userAgent.indexOf("Safari")&&-1===window.navigator.userAgent.indexOf("Chrome")?Re(!1):Re(e-Fe.current>0),Fe.current=e)},[Me,Fe,U]),pt=()=>{Xe({}),Je(!1),We(st.map(e=>(e.isActive=!1,e))),Se&&ct(lt)},gt=e=>{const[t]=e;Ve(t.isIntersecting)},ht=(0,i.useCallback)(()=>{at.current=new IntersectionObserver(gt);const e=document.querySelector(".article__content-header");e&&at.current.observe(e)},[]);(0,i.useEffect)(()=>re||m?(re&&(rt.current=window.Kendra.WINDOW_EVENT.on(g.m.SCROLL_THROTTLE,ut)),ht(),()=>{re&&rt.current&&rt.current.off(),at.current.disconnect()}):null,[ut,re,m,ht]),(0,i.useEffect)(()=>{Ze||We(st)},[Ze,st]),(0,i.useEffect)(()=>{Ye.hasChildren?(ze(!0),Se||ct(Ye),Je(!0)):(Je(!1),ze(!1))},[Ye,Se]);const yt=e=>{const t={type:e,subject:"hamburger_menu",placement:"top"};(0,de.kg)(t)},bt=()=>{Se&&pt(),Le&&Le(!Ke),Pe(!Ke),(0,Ee.W8)("hamburger-menu-"+(Ke?"collapsed":"expanded")),yt(Ke?"close":"open")},ft=()=>{qe(!De)},wt=()=>{et(!Qe),Qe||nt("")},$t=(0,i.useCallback)(()=>{tt&&nt("")},[tt]);(0,i.useEffect)(()=>{if(Qe){const e=document.querySelector('.drawer--search input[name="q"]');if(e)return e.addEventListener("input",$t),()=>{e.removeEventListener("input",$t)}}},[Qe,$t]);let Ct=k&&Ke?"standard":T;Ct||(Ct="inverted"!==be||Ke&&!J&&"inverted"!==be||!Ue?"standard":"inverted");const kt=(t=!1)=>{const n=t&&e&&e.accountLinks&&e.accountLinks.find(e=>e.isProfileLink);return n&&i.createElement(b.Z,{group:"subs-cta"},i.createElement(Jo.TB,{href:n.url},z||n.text||H.formatMessage(Xo.A.profileLinkLabel)))},xt=Ke?ie.A:ke.A,Et=Ce.filter(e=>!1===e.forceLeftOfNav),At=Ce.filter(e=>!0===e.showInTopNavMobile),St=(Lt=e,Tt=ve,O&&ve&&i.createElement(Jo.Zp,{...Lt,accountAvatar:"inverted"===Ct?e.accountIconInverted:e.accountIcon,user:Tt,utilityNavLinkColorToken:o}));var Lt,Tt;const Nt=((e,t,n,a,r,s)=>{const d={href:r.searchAction,inputKind:"link"};return($||!0===Ie)&&(delete d.inputKind,delete d.href,d.role="button",d.onClickHandler=()=>{if(Ie){const e={type:"initiate",subject:"search",platform:"verso"};(0,de.ce)(e)}wt()}),i.createElement(Jo.Ao,{hasSearchBarInSecondRow:Ae.hasSearchBarInSecondRow,onClick:mt,shouldUseCustomStyle:Ae.shouldUseCustomStyle,showAccountAfterNavCta:le,utilityNavLinkColorToken:o},e.length>0&&i.createElement(l.A.Horizontal,{attributes:{"aria-label":s.formatMessage(Xo.A.utilityLinksLabel)},links:e,shouldAllowNavItemHide:!0}),!le&&a,i.createElement(Jo.VV,null,i.createElement(y.IJ,null),i.createElement(b.Z,{group:"consumer-marketing"},i.createElement(h.A,{position:"nav-cta"})),i.createElement(y.dd,null),i.createElement(b.Z,{group:"consumer-marketing"},i.createElement(h.A,{position:"nav-rollover"}),i.createElement(h.A,{position:"nav-dialog"}))),le&&a,t&&i.createElement(i.Fragment,null,n?i.createElement(Jo._e,{onClick:ft,type:"button",label:s.formatMessage(Xo.A.searchLabel)},s.formatMessage(Xo.A.openSearchMenuLabel),i.createElement(Jo.PH,null)):i.createElement(Jo.mk,{...d,ButtonIcon:Qe?ie.A:f.A,isIconButton:!0,label:H.formatMessage(Xo.A.searchLabel),hasTopStory:k,enableEnhancedSearch:Ie,shouldUseLightIconTheme:we})))})(Et,w,C,St,s,H),Ht=((e,t)=>i.createElement(Jo.Ao,{hasOnlyMenuToRight:Ae.hasOnlyMenuToRight,shouldUseCustomStyle:Ae.shouldUseCustomStyle},e.length>0&&i.createElement(l.A.Horizontal,{"data-testid":"StackedNavigationSectionUtilityLinksMobileLeft",attributes:{"aria-label":t.formatMessage(Xo.A.utilityLinksLabel)},links:e,shouldAllowNavItemHide:!0})))(At,H),It=((e,t,n)=>i.createElement(Jo.TH,{hasOnlyMenuToRight:Ae.hasOnlyMenuToRight,showNavigationDrawerOnTopInDesktop:oe},i.createElement(Jo.dG,{ButtonIcon:e,hasOnlyMenuToRight:Ae.hasOnlyMenuToRight,isIconButton:!0,label:n.formatMessage(Xo.A.navigationMenuButtonLabel),onClickHandler:bt,role:"button","aria-expanded":t}),i.createElement(Jo.E9,null)))(xt,Ke,H),Bt="overlay"===t,Ot="fixed-header-layout"===Ae.headerLayout,_t="standard"===Ct?{logo:q,headerLogo:A}:{logo:I,headerLogo:L},{hasXLargeLogo:Kt,isLargeOnHomeOnly:Pt}=Ae;Z||(Be=!1);const{shouldExcludeSeriesPagination:Dt=!1,links:qt}=X||{},Mt=()=>!(Q||Ke||Dt||Ue||!qt?.length),Rt=!k&&(Kt&&!Pt||Kt&&Pt&&Be)&&!Me,Ft=Rt?"xlarge":"large",Ut=Ce.filter(e=>e.showInTopNav).filter(e=>e.forceLeftOfNav),Vt=st.filter(e=>e.showInTopNav),Gt=Ut[0],Wt=ae.th.large;let jt=!P&&(ee||Ae.hasLinkBanner);m&&Ue&&(jt=!1);const zt=Ke&&Ae.hasOnlyMenuToRight,Yt=oe||Me&&ce,Xt=!Ae.hasSearchBarInSecondRow&&v;return i.createElement(te.A,{palette:Ct},i.createElement(Jo.xQ,{ref:Oe,"data-testid":"StackedNavigationHeader",className:$e()(`stacked-navigation--${Ae.headerLayout}`,`stacked-navigation--theme-${Ct}`,{"stacked-navigation--is-scrolled":Me},n),hasOnlyMenuToRight:Ae.hasOnlyMenuToRight,hasScrollingNavigation:Ae.showScrollingNavigation,hasSearchBarInSecondRow:Ae.hasSearchBarInSecondRow,navigationTheme:Ct,headerLayout:Ae.headerLayout,primaryNavigationSize:Y,isDrawerOpen:Ke,hasLinkBanner:jt,hasBoxShadowInMobile:d,hasLinkbannerCrossSlideAnimation:m,hideNavWhenLinkBannerEnabled:N,isScrolled:Me,showPrimaryNavOnScroll:ue,showSecondRowOnScroll:Ae.showSecondRowOnScroll,shouldReduceStackedNavigationHeaderHeight:zt,shouldUseCustomStyle:Ae.shouldUseCustomStyle,adOverlay:Bt,xlLogoVisible:Rt,showAccountAfterNavCta:le,hasUtilityLinksCenterAlign:E,enableMobileLinkBannerScroll:m,isContentHeaderVisible:Ue,hasSEOSupport:Se,hasTopStory:k,utilityNavLinkColorToken:o,journeyRibbonHeight:D},i.createElement(y.Ay,{className:be}),i.createElement(b.Z,{group:"consumer-marketing"},i.createElement(h.A,{position:"cm-banner"})),i.createElement(Jo.qQ,{isDrawerOpen:Ke,xlLogoVisible:Rt,headerLayout:Ae.headerLayout,hasOnlyMenuToRight:Ae.hasOnlyMenuToRight,hasScrollingNavigation:Ae.showScrollingNavigation,hasSearchBarInSecondRow:Ae.hasSearchBarInSecondRow,isNavigationActiveState:K,shouldReduceStackedNavigationHeaderHeight:zt,collapseHeightWhenDrawerOpen:oe&&Ke,hasUtilityLinksCenterAlign:E,enableEnhancedSearch:Ie},i.createElement(Jo.Rx,null,i.createElement(i.Fragment,null,i.createElement(Jo.lR,null,i.createElement(b.Z,{group:"consumer-marketing"},i.createElement(h.A,{position:"nav-left"}))),Yt&&It,i.createElement(Jo.BI,{className:$e()(`stacked-navigation__section--${Ft}-logo`),isHomepage:Be,logoSize:Ft,headerLogoDim:S,scrollingHeaderLogoDim:he,headerLayout:Ae.headerLayout,isScrolled:Me,shouldUseCustomStyle:Ae.shouldUseCustomStyle,shouldShow100AnnivLogo:Ne,hasTopStory:k},i.createElement(Jo.Bl,{href:M,"data-testid":"Logo"},i.createElement(Zo.A,{..._t.logo}))),Ot&&Nt,Ae.hasOnlyMenuToRight&&It)),!k&&st.length>0&&i.createElement(i.Fragment,null,Ae.showScrollingNavigation?i.createElement(Jo.gs,{"data-testid":"StackedNavigationScrollingSection",hasScrollingNavigationContentCenterAligned:v},i.createElement(Jo.q7,null,i.createElement(tn.A,{ariaLabel:H.formatMessage(Xo.A.primaryNavigationLabel),hasDivider:!0,hasGradient:!Xt,isCentered:Xt,hasBottomBorder:!1,hidePrimaryLink:Wt,isLeftSpaceDisabled:!0,isSlim:!1,links:Vt,primaryLink:Gt,onHover:e=>{const t=st.find(t=>t.text===e);t.text!==Ye.text?(Xe({...t,isActive:!0}),Se&&ct(lt.reduce((t,n)=>(t.push({...n,isActive:n.text===e&&n.hasChildren}),t),[])),We(st.reduce((t,n)=>(t.push({...n,isActive:n.text===e&&n.hasChildren}),t),[])),window.dataLayer&&window.dataLayer.push({event:"navigation-click",navigationType:"header",clickText:`Nav Link/${e}`})):pt()},shouldUseHoverState:je,isMenuDrawerOpen:Ze,drawerProps:s,isRightSpaceDisabled:Xt,collapseMegaMenu:pt,isNavigationActiveState:K,showMoreLink:!0,shouldOpenDrawerOnClick:!0,showChevron:!0,defaultNavLinkCount:Xt?6:5,hideMoreLinkOnLargerScreens:Xt})),Ae.hasSearchBarInSecondRow&&i.createElement(Jo.sl,null,i.createElement(Ao.A,{placeholder:He}))):i.createElement(Jo.mS,{"data-testid":"StackedNavigationSectionPrimaryLinks"},i.createElement(Jo.S6,{attributes:{"aria-label":H.formatMessage(Xo.A.primaryLinksLabel)},links:st,hasUnderlineActiveLink:x,shouldAllowNavItemHide:!0,shouldUseCustomStyle:Ae.shouldUseCustomStyle,isNavigationActiveState:K}))),i.createElement(Jo.FT,{hasScrollingNavigation:Ae.showScrollingNavigation,mobileLogoAlignment:R,hasOnlyMenuToRight:Ae.hasOnlyMenuToRight,hasNoRightMarginforSm:u},It,Ae.hasOnlyMenuToRight?i.createElement(Jo.Ci,{hasOnlyMenuToRight:Ae.hasOnlyMenuToRight,headerLogo:q,shouldUseCustomStyle:Ae.shouldUseCustomStyle,shouldShow100AnnivLogo:Ne},i.createElement(Jo.Bl,{href:M},i.createElement(Zo.A,{..._t.logo}))):i.createElement(Jo.Ci,{headerLogo:A,shouldShow100AnnivLogo:Ne},i.createElement(Jo.Bl,{href:M},i.createElement(Zo.A,{..._t.headerLogo}))),(!Ot||ge)&&Nt,i.createElement(Jo.GI,{hasLeftMarginOnMobile:c,hasOnlyMenuToRight:Ae.hasOnlyMenuToRight},le?i.createElement(i.Fragment,null,Ae.hasOnlyMenuToRight&&Ht,i.createElement(y.IJ,null),_e&&ve?.isAuthenticated&&kt(O),se&&!ge&&St):i.createElement(i.Fragment,null,Ae.hasOnlyMenuToRight&&Ht,_e&&ve?.isAuthenticated&&kt(O),se&&!ge&&St,i.createElement(y.IJ,null)),i.createElement(b.Z,{group:"subscription-workflow"},i.createElement(h.A,{position:"mob-nav-cta"})),Bt&&i.createElement(Jo.ak,{hasNoRightMarginforSm:u,href:a||"/go/failsafe"},r||H.formatMessage(Xo.A.subscribeLabel))),Ae.hasSearchBarInSecondRow&&i.createElement(Jo.sl,null,i.createElement(Ao.A,{placeholder:He})))),Ie&&i.createElement(Jo.rb,{isDrawerOpen:Ke,hasDividerInMobileView:!0}),jt&&i.createElement(Jo.Yq,{palette:Ct,isScrolled:Me,...m&&{hasLinkbannerCrossSlideAnimation:m,showOnMobile:!Ue}}),Ae.isDrawerEnabled&&!Se&&i.createElement(V.A.SiteHeaderDrawer,{appElement:s.appElement,isOpen:Ze,onClose:()=>pt(),contentLabel:H.formatMessage(Xo.A.drawerLabel),theme:be,className:"drawer--megamenu",hideOnMobile:!0},je&&i.createElement(Jo.mW,{xlLogoVisible:Rt,journeyRibbonHeight:D},i.createElement(fe.NewVerbose,{collapseMegaMenu:pt,isDrawerOpen:Ze,isSlim:!1,megaMenuContent:dt,theme:be,showSecondaryFooterAllLink:pe,primaryNavLink:Ye,isContentCentered:v,hasLinkBanner:jt}))),$&&i.createElement(V.A,{appElement:s.appElement,contentLabel:H.formatMessage(Xo.A.searchLabel),className:"drawer--search",isOpen:Qe,hasBodyScrollWhenDrawerOpen:!1,onClose:()=>wt()},i.createElement(Jo.Lh,{xlLogoVisible:Rt},i.createElement(Ao.A,{searchLink:s.searchAction,shouldSetFocus:Qe,placeholder:H.formatMessage(Xo.A.searchLabel)}))),!0===Ie&&i.createElement(ni,{headerRef:Oe,contentLabel:H.formatMessage(Xo.A.searchLabel),className:"drawer--search",isOpen:Qe,onClose:()=>wt(),theme:be,height:"auto",overlayColor:"black"},i.createElement(Jo.Lh,{xlLogoVisible:Rt,enableEnhancedSearch:Ie,hasError:!!tt},i.createElement(Ao.A,{searchLink:s.searchAction,shouldSetFocus:Qe,placeholder:He,onSubmit:e=>{const t=e.target.querySelector('input[name="q"]'),n=t?.value?.trim(),o=n?(n.match(/[a-zA-Z0-9]/g)||[]).length:0;return!n||o<2?(e.preventDefault(),e.stopPropagation(),nt(H.formatMessage(Xo.A.searchValidationError)),!1):(tt&&nt(""),!0)},enableEnhancedSearch:Ie}),tt&&i.createElement(Jo.YS,null,tt))),Ae.isDrawerEnabled&&Se&&i.createElement(io.SiteHeaderDrawer,{isDrawerOpen:Ze,onClose:()=>pt(),theme:be,className:"universal_drawer--megamenu",hideOnMobile:!0,registryName:"stacked-navigation-mega-modal"},dt.map((e,t)=>i.createElement("div",{key:t,className:e.isActive?"show-menu":"hide-menu"},i.createElement(Jo.mW,{xlLogoVisible:Rt},i.createElement(fe.NewVerbose,{collapseMegaMenu:pt,isDrawerOpen:Ze,isSlim:!1,megaMenuContent:e,theme:be,showSecondaryFooterAllLink:pe,primaryNavLink:e,hasLinkBanner:jt})))))),!me&&i.createElement(Jo.Zq,{isOpen:Ke,xlLogoVisible:Rt,onClose:bt,isScrolled:Me,journeyRibbonHeight:D,showNavigationDrawerOnTopInDesktop:oe,fixedHeader:Ot?"fixed-":"",appElement:s.appElement,contentLabel:H.formatMessage(Xo.A.drawerLabel),className:$e()("drawer--megamenu",{"drawer--megamenu-topstory":k}),hideOnDesktop:Ae.isDrawerEnabled,hasSearchBarInSecondRow:Ae.hasSearchBarInSecondRow,cropWidth:Ae.isDrawerEnabled},Ae.isDrawerEnabled?i.createElement(fe.MultipleColumn,{isSlim:!1,megaMenuContent:{children:st},collapseMegaMenu:pt,isDrawerOpen:Ze,theme:be,utilityLinks:Et,user:ve,accountProps:e,isAccountsEnabled:O,showSecondaryFooterAllLink:pe,hasLinkBanner:jt}):i.createElement(G.A,{...s,user:ve,accountProps:e,isAccountsEnabled:O,showSearch:w,showMarketSwitcher:ne,utilityLinks:Et,theme:be,shouldInvertSecondaryMenuTheme:Te,hasSearchBarWithDrawer:$,searchPlaceholder:He,drawerProps:s,enableEnhancedSearch:Ie})),me&&i.createElement(jn,{accountProps:e,additionalCSS:Ae.shouldShowOverlayTop?void 0:Ae?.overlayCSS,isAccountsEnabled:O,user:ve,hasSearch:w,hasTopRule:!Ae.shouldShowOverlayTop,primaryLinks:W,utilityLinks:Ce,searchLink:s.searchAction,secondaryLinks:s.secondaryLinks,socialLinks:s.socialIconsProps.links,socialLinksHeading:ye,logo:A,invertedLogo:L,isCenteredOnDesktop:!0,isVisible:Ke,onClose:bt,theme:be,shouldShowOverlayTop:Ae.shouldShowOverlayTop}),i.createElement(Jo.n9,{shouldDisplaySeriesPagination:Mt(),className:$e()({"series-pagination__standard-navigation--hidden":!Mt}),"data-testid":"StackedSeriesNavigationPagination"}),i.createElement(F.hA,{name:"stacked-navigation-mega-modal",className:"modal-container"}))};oi.propTypes={accountProps:r().object,adStyle:r().string,className:r().string,customMobileOptionLink:r().string,customMobileOptionLinkText:r().string,drawerProps:r().object.isRequired,featureFlags:r().shape({enableEnhancedSearch:r().bool}),hasBoxShadowInMobile:r().bool,hasLeftMarginOnMobile:r().bool,hasLinkbannerCrossSlideAnimation:r().bool,hasNoRightMarginforSm:r().bool,hasScrollingNavigationContentCenterAligned:r().bool,hasSearch:r().bool,hasSearchBar:r().bool,hasSearchBarWithDrawer:r().bool,hasSEOSupport:r().bool,hasTopStory:r().bool,hasUnderlineActiveLink:r().bool,hasUtilityLinksCenterAlign:r().bool,headerInvertedLogo:r().shape(Zo.A.propTypes).isRequired,headerLogo:r().shape(Zo.A.propTypes).isRequired,headerLogoDim:r().shape(Zo.A.propTypes),headerTheme:r().string,hideNavWhenLinkBannerEnabled:r().bool,intl:r().shape({formatMessage:r().func}),invertedLogo:r().shape(Zo.A.propTypes).isRequired,isAccountsEnabled:r().bool,isEditorPicksAvailable:r().bool,isHomepage:r().bool,isNavigationActiveState:r().bool,isVisualLinkBanner:r().bool,journeyRibbonHeight:r().number,logo:r().shape(Zo.A.propTypes).isRequired,logoBaseUrl:r().string,mobileLogoAlignment:r().oneOf(["center","left"]),navigationHideStrategy:r().oneOf(["default","delta"]),onDrawerStateChange:r().func,primaryLinks:l.A.propTypes.links,primaryNavigationSize:r().oneOf(["default","large"]),profileLinkLabel:r().string,scrollingHeaderLogoDim:r().shape(Zo.A.propTypes),searchPlaceholder:r().string,seriesData:r().object,shouldBundlePagesBehaveLikeHP:r().bool,shouldHideSeriesPagination:r().bool,shouldInvertMenuHeader:r().bool,shouldInvertSecondaryMenuTheme:r().bool,shouldNavigationScroll:r().bool,shouldShow100AnnivLogo:r().bool,shouldUseLightIconTheme:r().bool,showAccountAfterNavCta:r().bool,showLinkBanner:r().bool,showMarketSwitcherInDrawerOverlay:r().bool,showNavigationDrawerOnTopInDesktop:r().bool,showNavigationDrawerOnTopOnScroll:r().bool,showOverlayNavigation:r().bool,showPrimaryNavOnScroll:r().bool,showSecondaryFooterAllLink:r().bool,showSignInOnMobile:r().bool,showUtilityLinkOnNavigationBottom:r().bool,socialLinksHeading:r().string,subscribeLink:r().string,theme:r().string,user:r().shape({isAuthenticated:r().bool.isRequired}),utilityLinks:l.A.propTypes.links,utilityNavLinkColorToken:r().string,variationName:r().string,variations:r().shape({isDrawerEnabled:r().bool,isLargeOnHomeOnly:r().bool,headerLayout:r().oneOf(["default-header-layout","fixed-header-layout"]),hasLinkBanner:r().bool,hasOnlyMenuToRight:r().bool,hasSearchBarInSecondRow:r().bool,hasXLargeLogo:r().bool,overlayCSS:r().object,shouldShowOverlayTop:r().bool,shouldUseCustomStyle:r().bool,showMegaMenuForMobile:r().bool,showScrollingNavigation:r().bool,showSecondRowOnScroll:r().bool})},oi.displayName="StackedNavigation";const ii=(0,s.M3)((0,u.Ay)(oi),{keysToPluck:["hasTopStory","isHomepage","featureFlags"]});ii.FixedHeader=(0,m.y)(ii,"FixedHeader",{headerLayout:"fixed-header-layout"}),ii.FixedHeaderWithLinkBanner=(0,m.y)(ii,"FixedHeaderWithLinkBanner",{headerLayout:"fixed-header-layout",hasLinkBanner:!0}),ii.FixedHeaderLargeLogo=(0,m.y)(ii,"FixedHeaderLargeLogo",{headerLayout:"fixed-header-layout",hasXLargeLogo:!0,isLargeOnHomeOnly:!0}),ii.FixedHeaderNormalLogoWithScrolling=(0,m.y)(ii,"FixedHeaderNormalLogoWithScrolling",{headerLayout:"fixed-header-layout",showScrollingNavigation:!0,showSecondRowOnScroll:!0}),ii.FixedHeaderNormalLogoWithSearchBar=(0,m.y)(ii,"FixedHeaderNormalLogoWithSearchBar",{headerLayout:"fixed-header-layout",hasSearchBarInSecondRow:!0,isDrawerEnabled:!0,showMegaMenuForMobile:!0,showScrollingNavigation:!0,showSecondRowOnScroll:!0}),ii.FixedHeaderLogoWithSearchBar=(0,m.y)(ii,"FixedHeaderLogoWithSearchBar",{headerLayout:"fixed-header-layout",hasSearchBarInSecondRow:!0,hasXLargeLogo:!0,isLargeOnHomeOnly:!0,isDrawerEnabled:!0,showMegaMenuForMobile:!0,showScrollingNavigation:!0,showSecondRowOnScroll:!0}),ii.FixedHeaderLargeLogoWithRightMenu=(0,m.y)(ii,"FixedHeaderLargeLogoWithRightMenu",{headerLayout:"fixed-header-layout",hasOnlyMenuToRight:!0,isLargeOnHomeOnly:!0,shouldShowOverlayTop:!1,shouldUseCustomStyle:!0,overlayCSS:{topRule:`top: ${(0,x.Kq)(8)}; border: 0;`}}),ii.FixedHeaderLargeLogoWithRightMenuAndLinkBanner=(0,m.y)(ii,"FixedHeaderLargeLogoWithRightMenuAndLinkBanner",{headerLayout:"fixed-header-layout",hasLinkBanner:!0,hasOnlyMenuToRight:!0,shouldShowOverlayTop:!1,shouldUseCustomStyle:!0,overlayCSS:{topRule:`top: ${(0,x.Kq)(8)}; border: 0;`}}),ii.FixedHeaderXLargeLogoWithMegaMenu=(0,m.y)(ii,"FixedHeaderXLargeLogoWithMegaMenu",{headerLayout:"fixed-header-layout",hasSearchBarInSecondRow:!1,hasXLargeLogo:!0,isLargeOnHomeOnly:!1,isDrawerEnabled:!0,showMegaMenuForMobile:!0,showScrollingNavigation:!0,showSecondRowOnScroll:!1});const ai=ii,ri=(0,M.N)((0,o.y)(ai,"StackedNavigation"));class si{static generateTransitionStyle(e){return e.isOpen?[this.generateTransitionRule(e.enter),this.generateReducedMotionTransitionRule(e.reducedMotionEnter)].join("\n"):[this.generateTransitionRule(e.exit),this.generateReducedMotionTransitionRule(e.reducedMotionExit)].join("\n")}static generateReducedMotionTransitionRule(e){return void 0===e?"":`@media (prefers-reduced-motion: reduce) {\n ${this.generateTransitionRule(e)}\n }`}static generateTransitionRule(e){if(void 0===e)return"";const{animatedProperties:t,durations:n,easingFunctions:o,delays:i}=e;return`transition: ${e.animatedProperties.map((e,a)=>`\n ${t[a]} ${n[a]}\n cubic-bezier(${o[a]}) ${i?.[a]??"0ms"}\n `).join(",\n")};`}}var li=n(49702),di=n(4384);class ci extends li.xg{constructor(e){super(),this.layout=e}getStyleForBreakpoint(e){switch(e){case di.Rp.SM:case di.Rp.MD:case di.Rp.LG:return[["max-width","400px"],["width","calc(100% - 48px)"],["grid-template-columns","none"],["grid-column","none"]];case di.Rp.XL:return[["max-width","50%"],["width","100%"],["grid-template-columns","none"],["grid-column","none"]];case di.Rp.XXL:case di.Rp.XXXL:return[["max-width","640px"],["width","100%"],["grid-template-columns","subgrid"],this.layout===di.p5.TRIGGERABLE_RIGHT?["grid-column","-5 / -1"]:["grid-column","1 / 5"]];default:return[["max-width","400px"],["width","calc(100% - 48px)"],["grid-template-columns","none"],["grid-column","none"]]}}}var mi=n(75163);const ui=v.Ay.div.withConfig({displayName:"TriggerableContainerContent"})` ${({layout:e})=>function(e){switch(e){case di.p5.TRIGGERABLE_RIGHT:case di.p5.TRIGGERABLE_LEFT:return pi;case di.p5.TRIGGERABLE_TOP:return gi;default:return""}}(e)} `;const pi=v.AH` position: fixed; width: 100%; height: ${({position:e})=>`calc(100% - ${e.bottom}px)`}; inset-block-start: ${({position:e})=>e.bottom}px; inset-inline-start: 0; display: grid; grid-template-columns: repeat(12, 1fr); cursor: pointer; z-index: ${C.KV.oneNav+1}; visibility: hidden; `,gi=v.AH` width: 100%; height: ${({position:e})=>`${e.height}px`}; position: fixed; top: ${({position:e})=>`${e.top}px`}; left: 0; z-index: ${C.KV.oneNav+1}; visibility: ${({isOpen:e})=>e?"visible":"hidden"}; opacity: ${({isOpen:e})=>e?"1":"0"}; ${({isOpen:e})=>si.generateTransitionStyle({isOpen:e,enter:{animatedProperties:["opacity","visibility"],easingFunctions:["0.37,0,0.63,1","0,0,0,0"],durations:["350ms","350ms"]},exit:{animatedProperties:["opacity","visibility"],easingFunctions:["0.37,0,0.63,1","0,0,0,0"],durations:["350ms","350ms"]}})} `,hi=v.Ay.div.withConfig({displayName:"DrawerWrapper"})` ${({layout:e})=>function(e){switch(e){case di.p5.TRIGGERABLE_RIGHT:case di.p5.TRIGGERABLE_LEFT:return yi;case di.p5.TRIGGERABLE_TOP:return bi;default:return""}}(e)} `;const yi=v.AH` /** * RTL (Right-to-Left) Support - Component-level CSS custom property * This multiplier automatically flips transform directions in RTL contexts. * * Default to LTR (1), but when html[dir='rtl'], set to -1 * This allows transforms to automatically flip: calc(var(--direction-multiplier, 1) * 100%) */ --direction-multiplier: 1; html[dir='rtl'] & { --direction-multiplier: -1; } cursor: default; display: grid; position: absolute; inset-block-start: 0; visibility: visible; ${({layout:e})=>e===di.p5.TRIGGERABLE_LEFT&&"inset-inline-start: 0;"} ${({layout:e})=>e===di.p5.TRIGGERABLE_RIGHT&&"inset-inline-end: 0;"} background: var(${mi.pT.Color.SurfaceNavigation}); ${({layout:e})=>function(e){switch(e){case di.p5.TRIGGERABLE_LEFT:return v.AH` border-right: 1px solid var(${mi.pT.Color.BorderNavigation}); `;case di.p5.TRIGGERABLE_RIGHT:return v.AH` border-left: 1px solid var(${mi.pT.Color.BorderNavigation}); `;default:return""}}(e)} height: 100%; overflow: hidden; @media (prefers-reduced-motion: no-preference) { transform: ${({isOpen:e,layout:t})=>vi(e,t,"100%")}; } @media (prefers-reduced-motion: reduce) { visibility: ${({isOpen:e})=>e?"visible":"hidden"}; opacity: ${({isOpen:e})=>e?"1":"0"}; } ${({isOpen:e})=>si.generateTransitionStyle({isOpen:e,enter:{animatedProperties:["transform"],easingFunctions:["0.37,0,0.63,1"],durations:["300ms"]},exit:{animatedProperties:["transform"],easingFunctions:["0.65,0,0.35,1"],durations:["300ms"]},reducedMotionEnter:{animatedProperties:["opacity","visibility"],easingFunctions:["0.37,0,0.63,1","0,0,0,0"],durations:["350ms","350ms"]},reducedMotionExit:{animatedProperties:["opacity","visibility"],easingFunctions:["0.37,0,0.63,1","0,0,0,0"],durations:["350ms","350ms"]}})} ${({layout:e})=>new ci(e).generateStyleForBreakpoints()} `,bi="\n height: 100%;\n",fi=v.Ay.div.withConfig({displayName:"GridWrapper"})` ${({layout:e})=>function(e){switch(e){case di.p5.TRIGGERABLE_RIGHT:case di.p5.TRIGGERABLE_LEFT:return wi;case di.p5.TRIGGERABLE_TOP:return $i;default:return""}}(e)} `;const wi=v.AH` /** * RTL (Right-to-Left) Support - Component-level CSS custom property * Inherits from parent DrawerWrapperVertical, but defined here for clarity */ --direction-multiplier: 1; html[dir='rtl'] & { --direction-multiplier: -1; } display: flex; flex-direction: column; height: 100%; overflow: hidden; @media (prefers-reduced-motion: no-preference) { transform: ${({isOpen:e,layout:t})=>vi(e,t,"5%")}; opacity: ${({isOpen:e})=>e?"1":"0"}; } ${({isOpen:e})=>si.generateTransitionStyle({isOpen:e,enter:{animatedProperties:["opacity","transform"],easingFunctions:["0,0,1,1","0.37,0,0.63,1"],durations:["400ms","300ms"],delays:["200ms","150ms"]},exit:{animatedProperties:["opacity"],easingFunctions:["0,0,1,1"],durations:["300ms"]}})} `,$i=v.AH` height: 100%; `;function vi(e,t,n){if(e)return"translateX(0)";switch(t){case di.p5.TRIGGERABLE_RIGHT:return`translateX(calc(var(--direction-multiplier, 1) * ${n}))`;case di.p5.TRIGGERABLE_LEFT:return`translateX(calc(var(--direction-multiplier, 1) * -${n}))`;default:return"translateX(0)"}}class Ci{static add(e,t){document.addEventListener(e,t)}static remove(e,t){document.removeEventListener(e,t)}static emit(e,t){const n=new CustomEvent(e,{detail:t});document.dispatchEvent(n)}}var ki;!function(e){e.TRIGGER="container-trigger",e.SEQ_LEVEL="seq-level"}(ki||(ki={}));const xi={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0,toJSON:()=>null};function Ei(e){(0,i.useEffect)(()=>function(e){const t=e=>{e.preventDefault()};e&&(document.addEventListener("wheel",t,{passive:!1}),document.addEventListener("touchmove",t,{passive:!1}));return()=>{document.removeEventListener("wheel",t),document.removeEventListener("touchmove",t)}}(e),[e])}function Ai(e,t,n,o){(0,i.useEffect)(()=>function(e,t,n,o){t&&document.addEventListener("mousedown",t=>Si(t,e,n,o));return()=>{document.removeEventListener("mousedown",t=>Si(t,e,n,o))}}(e,t,n,o),[n,e,t,o])}function Si(e,t,n,o){const i=e.target,a=n?.contains(i),r=i.getAttribute("data-target-id");a||r===t||Ci.emit(ki.TRIGGER,{containerId:t,isOpen:!1,position:o})}const Li=(0,i.createContext)(null),Ti=v.Ay.div.withConfig({displayName:"Overlay",shouldForwardProp:e=>!["isOpen","blockStart"].includes(e)})` position: fixed; width: 100%; background: var(${mi.pT.Color.SurfaceNavigationOverlay}); height: ${({blockStart:e})=>`calc(100% - ${e}px)`}; inset-block-start: ${({blockStart:e})=>e}px; inset-inline-start: 0; z-index: ${C.KV.oneNav}; opacity: ${({isOpen:e})=>e?1:0}; visibility: ${({isOpen:e})=>e?"visible":"hidden"}; ${({isOpen:e})=>si.generateTransitionStyle({isOpen:e,enter:{animatedProperties:["opacity","visibility"],easingFunctions:["0,0,1,1","0,0,0,0"],durations:["300ms","300ms"]},exit:{animatedProperties:["opacity","visibility"],easingFunctions:["0,0,1,1","0,0,0,0"],durations:["200ms","200ms"],delays:["150ms","150ms"]}})} `;const Ni=i.memo(function({isOpen:e,hasOverlay:t,position:n,className:o}){return t?i.createElement(Ti,{"data-testid":"one-nav-overlay",isOpen:e,blockStart:n.bottom,tabIndex:-1,className:o}):null});function Hi(e,t,n,o){const[a,r]=(0,i.useState)(0),s=(0,i.useRef)();(0,i.useEffect)(()=>{t?s.current=document.activeElement:s.current?.focus()},[t]),(0,i.useEffect)(()=>{if(!o)return;const t=new MutationObserver(e=>{e.forEach(e=>{"DIV"===e.target.nodeName&&r(e=>e+1)})});return t.observe(e.current,{childList:!0,subtree:!0}),()=>t.disconnect()},[e,o]),(0,i.useEffect)(()=>{const o=e.current?.querySelectorAll('[tabindex]:not([tabindex="-1"])');if(null==o||0===o.length)return;const i=o[0],a=o[o.length-1],r=e=>function(e,t,n,o){const i=e.key===C.p1.KEY_ESCAPE,a=i&&o;if(a)return void o();const r=e.key===C.p1.KEY_TAB;if(!r)return;e.shiftKey&&document.activeElement===t&&(e.preventDefault(),n.focus());e.shiftKey||document.activeElement!==n||(e.preventDefault(),t.focus())}(e,i,a,n);return t&&(setTimeout(()=>{i.focus()},10),document.addEventListener("keydown",r)),()=>document.removeEventListener("keydown",r)},[e,t,a,n])}const Ii=v.Ay.div.withConfig({displayName:"FocusTrapContainer",className:"standard"})``;function Bi({children:e,isActive:t,onEscPress:n,hasContentObservation:o,className:a}){const r=(0,i.useRef)(null);return function(e,t){(0,i.useEffect)(()=>{e.current&&(t?e.current.removeAttribute("inert"):e.current.setAttribute("inert",""))},[e,t])}(r,t),Hi(r,t,n,o),i.createElement(Ii,{ref:r,className:a},e)}function Oi({id:e,children:t,hasOverlay:n,hasDefaultContainer:o,layout:a,theme:r}){const s=(0,i.useRef)(null),{isOpen:l,position:d,triggerElement:c}=function(e){const[t,n]=(0,i.useState)(!1),[o,a]=(0,i.useState)(null),[r,s]=(0,i.useState)(xi);return(0,i.useEffect)(()=>{const t=t=>{const{isOpen:o,triggerElement:i,position:r,containerId:l,keepOtherContainersOpen:d}=t.detail;l===e?(n(o),a(i??null),s(r??xi)):o&&!d&&(n(!1),Ci.emit(ki.TRIGGER,{containerId:e,isOpen:!1,position:r}))};return Ci.add(ki.TRIGGER,t),()=>Ci.remove(ki.TRIGGER,t)},[e]),{isOpen:t,triggerElement:o,position:r}}(e);return Ai(e,l,s.current,d),Ei(l),i.createElement(v.NP,{theme:{oneNavTheme:r}},i.createElement(Li.Provider,{value:{triggerElement:c,isOpen:l,containerId:e,position:d}},i.createElement(Ni,{isOpen:l,hasOverlay:n,position:d,className:`theme-${r}`}),i.createElement(Bi,{isActive:l,hasContentObservation:!0,onEscPress:()=>{Ci.emit(ki.TRIGGER,{containerId:e,isOpen:!1,position:d})},className:`theme-${r}`},i.createElement("div",{ref:s,tabIndex:-1},o?i.createElement(ui,{tabIndex:-1,position:d,layout:a,isOpen:l,"data-active-triggerable-container":l?e:null},i.createElement(hi,{tabIndex:-1,isOpen:l,onWheel:_i,onTouchMove:_i,layout:a},i.createElement(fi,{tabIndex:-1,isOpen:l,layout:a},t))):i.createElement(i.Fragment,null,t)))))}function _i(e){e.stopPropagation()}var Ki=n(51054);const Pi=(0,i.createContext)(null);var Di=n(35932);const qi=v.Ay.span.withConfig({displayName:"IconWrapper"})` grid-area: ${({areaName:e})=>e??""}; justify-self: ${({areaName:e})=>e??""}; display: inline-flex; align-items: center; justify-content: center; width: ${(0,x.Kq)(2)}; height: ${(0,x.Kq)(2)}; svg { width: 100%; height: 100%; path { fill: ${({fill:e="currentColor"})=>e}; } circle { stroke: ${({strokeColor:e="currentColor"})=>e}; } } `;var Mi=n(80089);const Ri=({icon:e,className:t,areaName:n,fill:o,strokeColor:a,transform:r,...s})=>{const l=(0,Mi.R)(...e);return null==l?null:i.createElement(qi,{className:t,"data-testid":"clickable-icon",fill:o,strokeColor:a,transform:r,areaName:n},i.createElement(l,{...s}))};var Fi=n(64409);function Ui(e,t,n,o){const i=t&&n?.active?n.active:n?.default,a=i?.label,r=i?.stateIcon,s=i?.badge,l=e?.type===di.X2.LINK?e.target:null,d=e?.type===di.X2.LINK?e.rel:void 0,c=o??(e?.type===di.X2.TRIGGER?"button":void 0),m=function(e){switch(e?.type){case di.X2.LINK:case di.X2.ACCORDION:case di.X2.SEQ_LEVEL:case di.X2.TRIGGER_AND_SEQ_LEVEL:return e.url;default:return null}}(e);return{target:l,rel:d,url:m,currentStateIcon:r,currentLabel:a,currentBadge:s,usedRole:c,targetId:Wi(e)}}function Vi(e,t,n,o,i,a,r){const s=Wi(o);return l=>{if(i!==di.H5.DISABLED)if(o.type!==di.X2.LINK)if(o.type!==di.X2.ACCORDION){if(null!=s)switch(o.type){case di.X2.SEQ_LEVEL:return void function(e,t,n,o){e.preventDefault(),Ci.emit(ki.SEQ_LEVEL,{containerId:t,seqLevel:n.seqLevel}),Fi.OM.trackClickable({event:e,label:o.default.label,subject:Fi.SZ.SEQ_LEVEL})}(l,s,o,r);case di.X2.TRIGGER:return void function(e,t,n,o,i,a){e.preventDefault(),Ci.emit(ki.SEQ_LEVEL,{containerId:t,seqLevel:"default"}),Ci.emit(ki.TRIGGER,{containerId:t,position:ji(o,i.relatedRowId),triggerElement:o.current,isOpen:!n}),Gi(a)?(0,de.ce)({type:"initiate",subject:"search",platform:"verso"}):Fi.OM.trackClickable({event:e,label:a.default.label,subject:t,trackingStatus:n,isWithoutContentData:!0})}(l,s,n,e,o,r);case di.X2.TRIGGER_AND_SEQ_LEVEL:return void function(e,t,n,o,i,a){e.preventDefault(),Ci.emit(ki.SEQ_LEVEL,{containerId:t,seqLevel:i.seqLevel}),Fi.OM.trackClickable({event:e,label:a.default.label,subject:t,trackingStatus:n,isWithoutContentData:!0});const r=!!document.querySelector(`[data-active-triggerable-container="${i.trigger}"]`),s=document.querySelector(`[data-seq-level="${i.seqLevel}"]`),l=s?.getAttribute("data-seq-level");if(r&&l!==i.seqLevel)return;Ci.emit(ki.TRIGGER,{containerId:t,position:ji(o,i.relatedRowId),triggerElement:o.current,isOpen:!n})}(l,s,n,e,o,r);default:return}}else!function(e,t,n){e.preventDefault(),Fi.OM.trackClickable({event:e,label:n.default.label,subject:t.subject,trackingStatus:t.status},t.schema)}(l,a,r);else!function(e,t,n,o){Gi(n)?(0,de.ce)({type:"initiate",subject:"search",platform:"verso"}):Fi.OM.trackClickable({event:e,label:n.default.label,subject:t.subject??o,trackingStatus:t.status},t.schema)}(l,a,r,t);else l.preventDefault()}}function Gi(e){return"Search"===e.default.stateIcon?.[0]}function Wi(e){if(null==e)return;return e.type===di.X2.TRIGGER||e.type===di.X2.SEQ_LEVEL||e.type===di.X2.TRIGGER_AND_SEQ_LEVEL?e.trigger:void 0}function ji(e,t){if(t===di.H$.FULL_PAGE)return;const n=void 0!==t?document.getElementById(t)?.getBoundingClientRect():void 0;return n&&n.height>0?n:e.current?.closest('[data-trigger-row="true"]')?.getBoundingClientRect()}function zi(e){const{designSettings:t,isHighlighted:n,states:o,status:a=di.H5.DEFAULT,trackingData:r={},role:s,"aria-expanded":l,"aria-controls":d,"aria-labelledby":c}=e,{layout:m,containerId:u}=(0,i.useContext)(Pi),[p,g]=(0,i.useState)(!1),h=(0,i.useRef)(null),y=e.action,{targetId:b,usedRole:f,target:w,rel:$,url:v,currentLabel:k,currentStateIcon:x,currentBadge:E}=Ui(y,p,o,s);!function(e,t){(0,i.useEffect)(()=>{if(t){const n=n=>{const{isOpen:o,containerId:i}=n.detail;i===t&&e(o)};return Ci.add(ki.TRIGGER,n),()=>Ci.remove(ki.TRIGGER,n)}},[e,t])}(g,b);const A=Vi(h,u,p,y,a,r,o),S=a===di.H5.DISABLED,{badgePosition:L=di.NT.START,labelBlockPosition:T=di.NT.START,stateIconPosition:N=di.NT.END}=t?.gridPosition??{};return i.createElement(Di.LP,{component:di.uA.TEXT_CLICKABLE,action:y,states:o,"data-testid":b,"data-target-id":b,ref:h,href:v||void 0,target:S?void 0:w,rel:S?void 0:$,onClick:A,onKeyDown:e=>function(e,t){e.key===C.p1.KEY_ENTER&&t(e)}(e.nativeEvent,A),designSettings:t,label:k,badge:E,stateIcon:x,isActive:a===di.H5.ACTIVE,className:S?"disabled":"",tabIndex:S?-1:0,"aria-disabled":!!S||void 0,"aria-hidden":!!S||void 0,role:f,"aria-expanded":l,"aria-controls":d,"aria-labelledby":c,layout:m,as:v?"a":"span",isHighlighted:n},i.createElement(Di.Dn,{badgePosition:L,areaName:T,hasGap:null!=k&&null!=E},E&&i.createElement(Ri,{icon:E}),k&&i.createElement(Di.s5,{"data-snowplow-event-label":!0},k)),x&&i.createElement(Ri,{icon:x,areaName:N}))}const Yi=(0,i.memo)(({items:e,defaultDesignSettings:t})=>i.createElement(i.Fragment,null,e?.map((e,n)=>{const o=e.designSettings??t;return i.createElement(zi,{key:n,...e,designSettings:o,trackingData:{subject:Fi.SZ.ACCORDION}})})));var Xi;function Zi(e){switch(e){case Xi.LABEL:return{type:di.$_.LABEL_TEXT,scalable:!0};case Xi.CHILD:return{type:di.$_.SECONDARY_TEXT,scalable:!0};default:return{type:di.$_.PRIMARY_FILLED,scalable:!0}}}function Ji(e){if(!e?.label&&!e?.stateIcon)throw new Error("ClickableState must have at least a label or an icon.");return{default:{label:e.label||"",stateIcon:e.stateIcon},active:{label:e.label||"",stateIcon:e.stateIcon}}}!function(e){e.LABEL="label",e.CHILD="child"}(Xi||(Xi={}));const Qi=v.Ay.div.withConfig({displayName:"AccordionContainer"})` width: 100%; `,ea=v.Ay.div.withConfig({displayName:"AccordionHeader",shouldForwardProp:e=>!["isOpen","stickyTopPosition"].includes(e)})` cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(${mi.pT.Color.SurfaceNavigation}); ${({isOpen:e,stickyTopPosition:t})=>e&&v.AH` z-index: 10; position: sticky; top: ${t}px; `} `,ta=v.Ay.div.withConfig({displayName:"AccordionContent",shouldForwardProp:e=>!["isOpen"].includes(e)})` display: grid; background: var(${mi.pT.Color.SurfaceNavigationElevated}); grid-template-rows: ${({isOpen:e})=>e?"1fr":"0fr"}; @media (prefers-reduced-motion: reduce) { visibility: ${({isOpen:e})=>e?"visible":"hidden"}; opacity: ${({isOpen:e})=>e?"1":"0"}; } ${({isOpen:e})=>si.generateTransitionStyle({isOpen:e,enter:{animatedProperties:["grid-template-rows"],easingFunctions:["0.25,0.1,0.25,1"],durations:["350ms"]},exit:{animatedProperties:["grid-template-rows"],easingFunctions:["0.25,0.1,0.25,1"],durations:["350ms"]},reducedMotionEnter:{animatedProperties:["opacity","visibility","grid-template-rows"],easingFunctions:["0.25,0.1,0.25,1","0,0,0,0","0.25,0.1,0.25,1"],durations:["350ms","350ms","500ms"]},reducedMotionExit:{animatedProperties:["opacity","visibility","grid-template-rows"],easingFunctions:["0.25,0.1,0.25,1","0,0,0,0","0.25,0.1,0.25,1"],durations:["350ms","350ms","500ms"]}})} `,na=v.Ay.div.withConfig({displayName:"AccordionContentInner",shouldForwardProp:e=>!["isOpen"].includes(e)})` ${Di.LP} { padding-left: ${(0,x.Kq)(2)}; } overflow: hidden; visibility: ${({isOpen:e})=>e?"visible":"hidden"}; opacity: ${({isOpen:e})=>e?"1":"0"}; transform: ${({isOpen:e})=>e?"translateX(0)":"translateX(100%)"}; ${({isOpen:e})=>si.generateTransitionStyle({isOpen:e,enter:{animatedProperties:["opacity"],easingFunctions:["0.25,0.1,0.25,1"],durations:["350ms"],delays:["150ms"]},exit:{animatedProperties:["opacity"],easingFunctions:["0.25,0.1, 0.25,1"],durations:["350ms"],delays:["150ms"]},reducedMotionEnter:{animatedProperties:["opacity"],easingFunctions:["0.25,0.1, 0.25,1"],durations:["350ms"],delays:["150ms"]},reducedMotionExit:{animatedProperties:["opacity"],easingFunctions:["0.25,0.1,0.25,1"],durations:["350ms"],delays:["150ms"]}})} `,oa="data-contains-sticky-element",ia=`[${oa}]`;const aa=({states:e,items:t,action:n,status:o})=>{const a=function(e){return`${e.default.label}-${e.default.stateIcon}`}(e),{changeAccordionState:r,isOpen:s,onKeyDown:l,currentOpenAccordionRef:d,accordionContentRef:c,accordionsState:m}=function(e){const{accordionsState:t,setAccordionsState:n}=(0,i.useContext)(Pi),o=(0,i.useRef)(null),a=(0,i.useRef)(null),r=t===e,s=()=>{n(t=>t===e?null:e)},l=e=>{e.key===C.p1.KEY_ENTER&&s()};return{changeAccordionState:s,isOpen:r,currentOpenAccordionRef:o,accordionContentRef:a,onKeyDown:l,accordionsState:t}}(a);!function(e,t){(0,i.useEffect)(()=>{const n=t.current?.closest(ia);n?.setAttribute(oa,String(e))})}(s,c);const u=function(e,t){const[n,o]=(0,i.useState)(0);return(0,i.useEffect)(()=>{const e=t.current?.closest(ia);if(null!=e){const t=e.previousElementSibling,n=t?.getBoundingClientRect().height??0;o(n)}},[e,t]),n}(s,c),p=m===a?e?.active:e?.default;return i.createElement(Qi,{"data-testid":"accordion"},i.createElement(ea,{id:`accordion-header-${a}`,isOpen:s,onClick:r,onKeyDown:e=>l(e),"data-testid":"accordion-header",ref:d,stickyTopPosition:u},i.createElement(zi,{component:di.uA.TEXT_CLICKABLE,action:n,states:Ji(p),status:o,designSettings:Zi(Xi.LABEL),"aria-expanded":s,"aria-controls":`accordion-content-${a}`,"aria-labelledby":`accordion-header-${a}`,role:"button",trackingData:{subject:Fi.SZ.ACCORDION,status:s}})),i.createElement(ta,{id:`accordion-content-${a}`,isOpen:s,"data-testid":s?"accordion-content-open":"","aria-hidden":!s,"aria-labelledby":`accordion-header-${a}`,role:"region",ref:c},i.createElement(na,{"aria-hidden":!s,"aria-disabled":!s,isOpen:s},i.createElement(Yi,{"aria-hidden":!s,"aria-disabled":!s,defaultDesignSettings:Zi(Xi.CHILD),items:t}))))};var ra=n(68848);const sa=(0,v.Ay)(ra.q).withConfig({displayName:"LogoClickableStyled"})` &:focus-visible { &:after { border: 2px solid var(${mi.pT.Color.BorderFocus}); } } `,la=v.Ay.img.withConfig({displayName:"LogoClickableImage"})` max-width: 100%; width: auto; ${({height:e})=>new li.Fb("height","auto",e).generateStyleForBreakpoints()}; padding: ${(0,x.Kq)(1.5)} 0; box-sizing: content-box; @media ${Fi.HP.md} { padding: ${(0,x.Kq)(1)} 0; } @media ${Fi.HP.xl} { padding: ${(0,x.Kq)(1.5)} 0; } `,da=v.Ay.div.withConfig({displayName:"LogoClickableSvg"})` max-width: 100%; width: auto; svg { width: 100%; height: inherit; } ${({height:e})=>new li.Fb("height","auto",e).generateStyleForBreakpoints()}; padding: ${(0,x.Kq)(1.5)} 0; box-sizing: content-box; @media ${Fi.HP.md} { padding: ${(0,x.Kq)(1)} 0; } @media ${Fi.HP.xl} { padding: ${(0,x.Kq)(1.5)} 0; } `;const ca=v.Ay.div.withConfig({displayName:"CTAWrapper"})` ${(0,x.Gg)("typography.definitions.navigation.text-primary")}; .journey-unit__container { display: flex; align-items: center; height: 100%; } a { outline: solid 2px transparent; border-radius: 0; &:focus { outline: 2px solid var(${mi.pT.Color.BorderFocus}); } &:focus:not(:focus-visible) { outline: none; } } `,ma=v.Ay.div.withConfig({displayName:"RolloverWrapper"})` display: none; @media (min-width: ${Fi.MP.xl}px) { display: block; } z-index: ${C.KV.oneNav+C.KV.navFixed}; position: fixed; ${({rolloverPosition:e,triggerDOMRect:t})=>v.AH` inset-block-start: ${t?.bottom}px; left: ${e===ga.INLINE_START?t?.left:t?.right}px; transform: ${e===ga.INLINE_START?"":"translateX(-300px)"};, `} .nav-rollover__component { div { transform: translateY(-14px); transition: opacity 0.2s linear 0s, transform 0.2s ease 0s, visibility 0.2s linear 0s; visibility: hidden; transition-delay: 300ms; opacity: 0; z-index: 80; ${({isOpen:e})=>e&&ua} } } `,ua=v.AH` transform: translateY(0); visibility: visible; opacity: 1; transition-delay: 0s; `;function pa({navRolloverId:e}){const t=(0,i.useRef)(null);return i.createElement(ca,{"data-testid":"one-nav-journey-cta",ref:t,onMouseEnter:()=>{Ci.emit(ki.TRIGGER,{containerId:e,isOpen:!0,triggerElement:t.current,keepOtherContainersOpen:!0})},onMouseLeave:()=>Ci.emit(ki.TRIGGER,{containerId:e,isOpen:!1,triggerElement:t.current})},i.createElement(y.IJ,null))}var ga;function ha({navRolloverId:e}){const{isOpen:t,triggerElement:n}=(0,i.useContext)(Li),o=(0,Fi.MB)(),a=(0,i.useRef)();a.current=n;const r=n?.getBoundingClientRect();return o?i.createElement(ma,{isOpen:t,"data-testid":"one-nav-journey-rollover-"+(t?"open":"close"),rolloverPosition:ya(r?.x),triggerDOMRect:r,onMouseEnter:()=>{Ci.emit(ki.TRIGGER,{containerId:e,isOpen:!0,triggerElement:a.current,keepOtherContainersOpen:!0})},onMouseLeave:()=>Ci.emit(ki.TRIGGER,{containerId:e,isOpen:!1,triggerElement:a.current})},i.createElement(y.dd,null)):null}function ya(e){return void 0===e?ga.INLINE_END:e`rgba(var(${mi.pT.Color.SurfaceNavigationElevated}), ${e})`,wa=v.Ay.div.withConfig({displayName:"CurationBannerWrapper"})` min-height: 40px; display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; background: var(${mi.pT.Color.SurfaceNavigationElevated}); border-bottom: 1px solid var(${mi.pT.Color.BorderNavigation}); `,$a=v.Ay.div.withConfig({displayName:"CurationBannerImageWrapper"})` flex-shrink: 0; `,va=v.Ay.img.withConfig({displayName:"CurationBannerImageContainer"})``,Ca=v.Ay.div.withConfig({displayName:"CurationBannerDekWrapper"})` ${({theme:e})=>(0,x.C_)(e)} justify-content: center; align-items: center; margin: 0; padding: 0 1rem; text-align: center; white-space: nowrap; color: var(${mi.pT.Color.TextNavigationBrand}); ${(0,x.Gg)("typography.definitions.navigation.text-secondary")} `,ka=v.Ay.div.withConfig({displayName:"CurationBannerLinksWrapper"})` ${(0,x.Gg)("typography.definitions.navigation.text-secondary")} display: grid; position: relative; `,xa=v.Ay.div.withConfig({displayName:"CurationBannerLinksContainer"})` width: 100%; display: flex; overflow-x: auto; scrollbar-width: none; ::-webkit-scrollbar { display: none; } gap: ${(0,x.Kq)(1)}; scroll-snap-type: x mandatory; ${(0,x.Gg)("typography.definitions.navigation.text-secondary")} &:before, &:after { content: ''; position: absolute; top: 0; width: 8px; height: 100%; pointer-events: none; z-index: 1; } &:before { left: -1px; background: linear-gradient( to right, ${fa(1)} 10%, ${fa(.8)} 20%, ${fa(0)} 100% ); } &:after { right: 0; background: linear-gradient( to left, ${fa(1)} 10%, ${fa(.8)} 20%, ${fa(0)} 100% ); } `,Ea=v.Ay.a.withConfig({displayName:"CurationBannerLinkWrapper"})` ${(0,x.Gg)("typography.definitions.navigation.text-secondary")} user-select: none; text-decoration: none; &:hover, &:focus, &:active { text-decoration: none; } display: inline-flex; align-items: center; justify-content: center; text-align: center; border-radius: 4px; padding-inline: ${(0,x.Kq)(1.5)}; padding: ${(0,x.Kq)(1)} ${(0,x.Kq)(1.5)}; scroll-snap-align: center; color: var(${mi.pT.Color.TextNavigation}); background: var(${mi.pT.Color.SurfaceNavigation}); padding: ${(0,x.Kq)(1)} ${(0,x.Kq)(1.5)}; border-radius: 4px; &:focus-visible { outline: 1px solid var(${mi.pT.Color.BorderFocus}); outline-offset: -1px; } &:hover { background: var(${mi.pT.Color.SurfaceHover}); } &:active { background: var(${mi.pT.Color.SurfacePressed}); } `,Aa=v.Ay.span.withConfig({displayName:"CurationBannerLinkContainer"})` ${({theme:e})=>(0,x.C_)(e)} white-space: nowrap; `,Sa=v.Ay.div.withConfig({displayName:"StyledClickable",shouldForwardProp:e=>!["visibilityOptions"].includes(e)})` ${({component:e})=>function(e){if(e===di.uA.STICKY_HERO_AD)return v.AH` width: 100%; /** The classname of StickyHeroAdWrapper */ .ad-stickyhero { /** Makes the close button go to the end of the block. */ width: 100%; /** Removes padding in the articles pages. */ padding-top: 0; } `;if(e===di.uA.JOURNEY_UNITS)return v.AH` .journey-unit__container { width: 100%; } `;if(e===di.uA.CURATION_BANNER)return v.AH` width: 100%; & ${wa} { width: 100%; } `;if(e===di.uA.NOTIFICATION_BANNER)return v.AH` width: 100%; `;if(e===di.uA.SEARCH_CLICKABLE)return v.AH` width: 100%; `;if(e===di.uA.RIBBON_BANNER)return v.AH` width: 100%; `;return""}(e)}; ${({visibilityOptions:e,columns:t})=>new ba(e,t?"grid":"flex").generateStyleForBreakpoints()}; ${({layout:e})=>(e===di.p5.TRIGGERABLE_LEFT||e===di.p5.TRIGGERABLE_RIGHT)&&v.AH` border-bottom: 1px solid var(${mi.pT.Color.BorderSubNavigation}); &:last-child { border-bottom: none; } `} `;var La=n(19607);class Ta extends li.xg{getStyleForBreakpoint(e){switch(e){case li.Rp.SM:case li.Rp.MD:case li.Rp.LG:return[["max-width","100%"],["width","100%"],["grid-template-columns","none"],["grid-column","none"]];case li.Rp.XL:return[["max-width","50%"],["width","50%"],["grid-template-columns","none"],["grid-column","none"]];case li.Rp.XXL:case li.Rp.XXXL:return[["max-width","640px"],["width","100%"],["grid-template-columns","subgrid"],["grid-column","-4 / -1"]];default:return[["max-width","100%"],["width","100%"],["grid-template-columns","none"],["grid-column","none"]]}}}const Na=v.Ay.div.withConfig({displayName:"IdentityDropdownGrid"})` position: fixed; width: 100%; height: ${({blockStart:e})=>`calc(100% - ${e}px)`}; inset-block-start: ${({blockStart:e})=>e}px; inset-inline-start: 0; display: grid; grid-template-columns: repeat(12, 1fr); z-index: ${C.KV.oneNav+1}; visibility: hidden; `,Ha=v.Ay.div.withConfig({displayName:"IdentityDropdownContentWrapper"})` cursor: default; display: grid; position: absolute; inset-block-start: 0; inset-inline-end: 0; background: var(${mi.pT.Color.SurfaceNavigation}); ${(new Ta).generateStyleForBreakpoints()}; visibility: ${({isOpen:e})=>e?"visible":"hidden"}; @media (prefers-reduced-motion: no-preference) { transform: ${({isOpen:e})=>e?"scaleY(1)":"scaleY(0)"}; transform-origin: 0 0; } @media (prefers-reduced-motion: reduce) { opacity: ${({isOpen:e})=>e?"1":"0"}; } ${({isOpen:e})=>si.generateTransitionStyle({isOpen:e,enter:{animatedProperties:["transform","visibility"],easingFunctions:["0.65,0,0.35,1","0,0,0,0"],durations:["350ms","350ms"]},exit:{animatedProperties:["transform","visibility"],easingFunctions:["0.65,0,0.35,1","0,0,0,0"],durations:["350ms","350ms"]},reducedMotionEnter:{animatedProperties:["opacity","visibility"],easingFunctions:["0.37,0,0.63,1","0,0,0,0"],durations:["350ms","350ms"]},reducedMotionExit:{animatedProperties:["opacity","visibility"],easingFunctions:["0.37,0,0.63,1","0,0,0,0"],durations:["350ms","350ms"]}})} `,Ia=v.Ay.div.withConfig({displayName:"IdentityContent"})` width: 100%; display: flex; flex-direction: column; `;function Ba({identityClickables:e,designSettings:t}){return i.createElement(Ia,null,e.map(e=>i.createElement(Lr,{component:di.uA.TEXT_CLICKABLE,key:e.text,states:{default:{label:e.text}},action:{type:di.X2.LINK,url:e.url,rel:"nofollow",target:di.yK.SELF},"aria-label":e.text,designSettings:t,trackingData:{schema:Fi.Z3.USER_ACCOUNT_EVENT}})))}function Oa({identityClickables:e}){const{position:t,isOpen:n}=(0,i.useContext)(Li);return i.createElement(Na,{blockStart:t.bottom,isOpen:n,"aria-hidden":!n,"data-testid":"identity-dropdown"},i.createElement(Ha,{isOpen:n},i.createElement(Ba,{identityClickables:e,designSettings:{type:di.$_.SECONDARY_TEXT,scalable:!0}})))}var _a=n(34967);const Ka=(0,w.defineMessages)({signIn:{id:"IdentityUnits.SignIn",defaultMessage:"Sign In",description:"Label for sign in link"}});const Pa=(0,_a.A)(function({type:e,user:t,accountProps:n}){const o=function(e,t){const{formatMessage:n}=(0,R.A)();return e.isAuthenticated?t.accountLinks.map(e=>({text:e.text,url:e.url})):[{text:n(Ka.signIn),url:t.signInLink}]}(t,n);return e===di.zB.DROPDOWN_TRIGGER?i.createElement(zi,{component:di.uA.TEXT_CLICKABLE,action:{type:di.X2.TRIGGER,trigger:"identityDropdown"},states:{default:{stateIcon:["Account","thinner"]}},status:di.H5.DEFAULT,designSettings:{type:di.$_.PRIMARY_TEXT}}):e===di.zB.DROPDOWN?i.createElement(Oa,{identityClickables:o}):e===di.zB.DRAWER_LINKS?i.createElement(Ba,{identityClickables:o,designSettings:{type:di.$_.TERTIARY_TEXT,scalable:!0}}):null},{keysToPluck:["user","accountProps"]}),Da={sm:!0,md:!0,lg:!0,xl:!0,xxl:!0,xxxl:!0};function qa({data:e,theme:t="standard"}){if(null==e||!e.links.length)return null;const{imageUrl:n,heading:o,imageAltText:a,links:r}=e;return i.createElement(v.NP,{theme:{curationBannerTheme:t}},i.createElement(wa,null,n&&i.createElement($a,null,i.createElement(va,{src:n,alt:a||o||"Curation Banner"})),o&&i.createElement(Ca,null,o),r.length>0&&i.createElement(ka,null,i.createElement(xa,null,r.map((e,t)=>{const{url:n,isExternal:o,label:a}=e;return i.createElement(Ea,{key:n,href:n,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,onClick:()=>Fi.OM.trackBannerClick({index:t,label:a,subject:Fi.yV.BANNER_CURATION,content_url:n,total_index:r.length})},i.createElement(Aa,null,a))})))))}const Ma=v.Ay.div.withConfig({displayName:"RibbonLiveIndicatorWrapper"})` padding-right: ${(0,x.Kq)(1)}; padding-left: ${(0,x.Kq)(1)}; position: relative; `,Ra=v.Ay.div.withConfig({displayName:"RibbonLiveIndicator"})` border-radius: 50%; background-color: ${(0,x.HK)("colors.interactive.feedback.invalid-primary")}; width: 0.5rem; height: 0.5rem; `,Fa=v.Ay.div.withConfig({displayName:"RibbonLiveIndicatorAnimation"})` position: absolute; animation: pulsate 2.5s ease-in-out; animation-iteration-count: infinite; opacity: 0; border-radius: 50%; border: 3px solid ${(0,x.HK)("colors.interactive.feedback.invalid-primary")}; background-color: ${(0,x.HK)("colors.interactive.feedback.invalid-primary")}; width: 0.5rem; height: 0.5rem; @keyframes pulsate { 0% { transform: scale(0.1, 0.1); opacity: 0; } 35% { opacity: 1; } 75% { transform: scale(3, 3); opacity: 0; } } `,Ua=v.Ay.div.withConfig({displayName:"RibbonDivider"})` width: 1px; height: 1.5rem; background: var(${mi.pT.Color.BorderSubNavigation}); `,Va=v.Ay.div.withConfig({displayName:"Ribbon"})` display: flex; justify-content: center; align-items: center; width: 100%; border-bottom: 1px solid var(${mi.pT.Color.BorderNavigation}); `,Ga=v.Ay.div.withConfig({displayName:"RibbonWrapper"})` ${(0,x.Gg)("typography.definitions.navigation.text-secondary")}; min-height: 2.5rem; width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; background: var(${mi.pT.Color.SurfaceNavigation}); color: var(${mi.pT.Color.TextNavigation}); `,Wa=v.Ay.div.withConfig({displayName:"RibbonHrefWrapper"})` background: var(${mi.pT.Color.SurfaceNavigation}); padding: 0 ${(0,x.Kq)(1)}; display: flex; gap: ${(0,x.Kq)(1)}; align-items: center; `,ja=v.Ay.span.withConfig({displayName:"RibbonDek"})` padding: ${(0,x.Kq)(.5)} ${(0,x.Kq)(1)}; ${({theme:e})=>(0,x.C_)(e)} `,za=v.Ay.div.withConfig({displayName:"RibbonLabelWrapper"})` display: flex; align-items: center; ${Ma} + * { padding-left: 0; } `,Ya=v.Ay.span.withConfig({displayName:"RibbonLabel"})` padding: ${(0,x.Kq)(.5)} ${(0,x.Kq)(1)}; ${({theme:e})=>(0,x.C_)(e)} color: var(${mi.pT.Color.TextNavigationBrand}); `,Xa=v.Ay.a.withConfig({displayName:"RibbonHref"})` user-select: none; text-decoration: none; &:hover, &:focus, &:active { text-decoration: none; } display: flex; justify-content: center; align-items: center; color: var(${mi.pT.Color.TextNavigation}); min-height: 2.5rem; &:hover { background: var(${mi.pT.Color.SurfaceHover}); } &:focus-visible { min-height: 2.25rem; z-index: 1; outline: 2px solid var(${mi.pT.Color.BorderFocus}); } ${({hasFilledClickable:e,theme:t})=>e&&v.AH` &:hover { background: var(${mi.pT.Color.SurfaceNavigation}); } `} `,Za=({hasLiveIndicator:e})=>e?i.createElement(Ma,null,i.createElement(Ra,null,i.createElement(Fa,null))):null;function Ja({data:e}){if(!e)return null;const{dangerousDek:t,hasLiveIndicator:n=!1,hasDivider:o=!0,clickableLabel:a,hasFilledClickable:r,clickableUrl:s,theme:l="standard"}=e;return i.createElement(v.NP,{theme:{palette:l}},i.createElement(Va,{"data-testid":"promotion-banner"},i.createElement(Ga,{className:l},t&&i.createElement(i.Fragment,null,i.createElement(Xa,{href:s,onClick:()=>Fi.OM.trackBannerClick({index:1,label:"promotion-banner-text",subject:Fi.yV.BANNER_PROMOTION,content_url:s||"",total_index:1})},i.createElement(ja,{dangerouslySetInnerHTML:{__html:t}})),o&&i.createElement(Ua,null)),a&&i.createElement(za,null,i.createElement(Za,{hasLiveIndicator:n}),i.createElement(Wa,null,i.createElement(Xa,{href:s,hasFilledClickable:r,onClick:()=>Fi.OM.trackBannerClick({index:2,label:a,subject:Fi.yV.BANNER_PROMOTION,content_url:s||"",total_index:1})},i.createElement(Ya,{hasFilledClickable:r,dangerouslySetInnerHTML:{__html:a}})))))))}Ja.displayName="PromotionBanner";const Qa=v.Ay.div.withConfig({displayName:"CountdownWrapper"})` padding: 0 ${(0,x.Kq)(1)}; display: flex; align-items: center; span { min-width: 22px; /* must be fixed because of dynamic content */ text-align: center; ${({theme:e})=>(0,x.C_)(e)} } `,er=(0,w.defineMessages)({month:{id:"Countdown.Month",defaultMessage:"Month",description:"Month (singular)"},months:{id:"Countdown.Months",defaultMessage:"Months",description:"Month (plural)"},day:{id:"Countdown.Day",defaultMessage:"Day",description:"Day (singular)"},days:{id:"Countdown.Days",defaultMessage:"Days",description:"Day (plural)"}}),tr=({startDate:e,endDate:t})=>{const n=function(e,t){const n=()=>{const n=new Date(e).getTime(),o=new Date(t).getTime(),i=Date.now();return i{const n=new Date(e).getTime(),o=new Date(t).getTime(),i=()=>{const e=Date.now();eclearInterval(r)},[e,t]),o}(e,t);return i.createElement(Qa,null,i.createElement(nr,{time:n}))},nr=({time:e})=>{const t=Math.floor(e/1e3),n={months:Math.floor(t/2592e3),days:Math.floor(t%2592e3/86400),hours:Math.floor(t%86400/3600),minutes:Math.floor(t%3600/60),seconds:t%60};return n.months?or(n.months):n.days?ir(n.days):ar(n)},or=e=>{const t=(0,R.A)(),n=1===e?t.formatMessage(er.month):t.formatMessage(er.months);return i.createElement(i.Fragment,null,e," ",n)},ir=e=>{const t=(0,R.A)(),n=1===e?t.formatMessage(er.day):t.formatMessage(er.days);return i.createElement("span",null,e," ",n)},ar=e=>{const t=[{value:e.months,label:"months"},{value:e.days,label:"days"},{value:e.hours,label:"hours"},{value:e.minutes,label:"minutes"},{value:e.seconds,label:"seconds"}],n=t.findIndex(e=>e.value>0),o=-1===n?t.slice(-1):t.slice(n);return i.createElement(i.Fragment,null,o.map((e,t)=>i.createElement(i.Fragment,{key:e.label},i.createElement("span",null,String(e.value).padStart(2,"0")),t=n)return dr.AFTER;if(o>=t)return dr.LIVE;if(o>=e)return dr.BEFORE;return dr.WAITING}(n,o,a),p=function(e,t,n,o){return{[dr.BEFORE]:t,[dr.LIVE]:n,[dr.AFTER]:o}[e]}(u,r,s,l),{dangerousDek:g,clickableLabel:h,clickableUrl:y}=p??{},b=function(e,t){if(!e||!t)return!1;const n=e,o=t,i=Date.now();return i>n&&iFi.OM.trackBannerClick({index:1,label:"event-banner-text",subject:Fi.yV.BANNER_EVENT,content_url:y||"",total_index:1})},i.createElement(ja,{dangerouslySetInnerHTML:{__html:g}})),c&&i.createElement(Ua,null)),b&&i.createElement(i.Fragment,null,i.createElement(Xa,{href:y,onClick:()=>Fi.OM.trackBannerClick({index:2,label:"event-banner-countdown",subject:Fi.yV.BANNER_EVENT,content_url:y||"",total_index:1})},i.createElement(tr,{startDate:n,endDate:o})),c&&i.createElement(Ua,null)),h&&i.createElement(za,null,!b&&u===dr.LIVE&&i.createElement(Za,{hasLiveIndicator:d}),i.createElement(Wa,null,i.createElement(Xa,{href:y,hasFilledClickable:t,onClick:()=>Fi.OM.trackBannerClick({index:3,label:h,subject:Fi.yV.BANNER_EVENT,content_url:y||"",total_index:1})},i.createElement(Ya,{className:$e()({[mi.pT.Component.PrimaryFilledLinkButton]:t,[mi.pT.Component.Compact]:t}),dangerouslySetInnerHTML:{__html:h}})))))))}function pr({ribbonBannerData:e}){if(!e)return null;const{type:t,data:n}=e;return"promotion"===t?i.createElement(Ja,{data:n}):"event"===t?i.createElement(ur,{data:n}):null}ur.displayName="EventBanner",pr.displayName="RibbonBanner";const gr=v.Ay.div.withConfig({displayName:"SearchClickableTriggerableContainerWrapper"})` width: 100%; `,hr=v.Ay.div.withConfig({displayName:"SearchClickableWrapper"})` width: 100%; height: 100%; margin: 16px 0; outline: none; `,yr=v.Ay.label.withConfig({displayName:"SearchIconWrapper"})` min-width: 32px; width: 16px; height: 16px; display: flex; justify-content: center; align-items: center; margin-right: -8px; svg { width: 16px; height: 16px; stroke: var(${mi.pT.Color.TextCardActive}); } `,br=v.Ay.form.withConfig({displayName:"SearchForm"})` ${(0,x.Gg)("typography.definitions.utility.input-core")}; width: 100%; height: 40px; display: flex; align-items: center; box-sizing: border-box; padding: 0; margin: 0; outline: none; border-radius: 100px; border: 1px solid var(${mi.pT.Color.BorderNavigation}); background: var(${mi.pT.Color.SurfaceNavigationElevated}); color: var(${mi.pT.Color.TextDisabled}); &:focus-within { background: var(${mi.pT.Color.SurfaceNavigation}); color: var(${mi.pT.Color.TextNavigation}); border: 1px solid var(${mi.pT.Color.BorderNavigationActive}); } &:focus-within { ${yr} { display: none; } } `,fr=v.Ay.input.withConfig({displayName:"SearchInput"})` width: 100%; /** For text input vertical alignment */ height: 40px; line-height: 40px; border: none; background-color: transparent; outline: none; padding: 0; margin-left: 16px; `,wr=v.Ay.button.withConfig({displayName:"SearchActionButton"})` text-decoration: none; &:hover, &:focus, &:active { text-decoration: none; } background-color: transparent; display: flex; justify-content: center; align-items: center; outline: none; border: 1px solid transparent; border-radius: 100px; &:focus { border: 1px solid var(${mi.pT.Color.BorderFocus}); } &:hover { border: 1px solid var(${mi.pT.Color.BorderNavigationActive}); } margin: 2px 2px 2px 8px; `,$r=(0,v.Ay)(wr).withConfig({displayName:"CloseButton"})` width: 38px; height: 34px; svg { width: 16px; height: 16px; stroke: var(${mi.pT.Color.TextCardActive}); } `,vr=(0,v.Ay)(wr).withConfig({displayName:"CancelButton"})` height: 34px; padding: 3px 4px; ${(0,x.Gg)("typography.definitions.navigation.text-tertiary")}; color: var(${mi.pT.Color.TextNavigation}); `;var Cr=n(36652);const kr=(0,w.defineMessages)({search:{id:"SearchClickable.Search",defaultMessage:"Search",description:"Label for search clickable input placeholder"},cancel:{id:"SearchClickable.Cancel",defaultMessage:"Cancel",description:"Label for search clickable cancel button"}});function xr({type:e}){const[t,n]=(0,i.useState)(""),o=(0,i.useRef)(null),{formatMessage:a}=(0,R.A)();(0,i.useEffect)(()=>{o.current&&o.current.focus();const e=e=>{e.detail&&"search_clickable"===e.detail.containerId&&e.detail.isOpen&&setTimeout(()=>{o.current?.focus()},100)};return Ci.add(ki.TRIGGER,e),()=>{Ci.remove(ki.TRIGGER,e)}},[]);return i.createElement(br,{onSubmit:e=>function(e,t){if(e.preventDefault(),0===t.trim().length)return;const n=`${window.location.origin}/search?q=${t}&source=new_search`;window.location.assign(n)}(e,t)},i.createElement(yr,{onClick:()=>{(0,de.ce)({type:"initiate",subject:"search",platform:"verso"}),o.current?.focus()}},i.createElement(Cr.A,null)),i.createElement(fr,{ref:o,tabIndex:e===di.BV.TOP_NAVBAR?0:void 0,value:t,onChange:e=>n(e.target.value),placeholder:a(kr.search),"aria-label":a(kr.search)}),i.createElement(Er,{hasCloseButton:e===di.BV.TOP_NAVBAR,searchQuery:t,setSearchQuery:n}))}function Er({hasCloseButton:e,searchQuery:t,setSearchQuery:n}){const{formatMessage:o}=(0,R.A)(),a=0===t.length;return e&&a?i.createElement($r,{type:"button","aria-label":"close search",onClick:()=>{Ci.emit(ki.TRIGGER,{containerId:"search_clickable",isOpen:!1})}},i.createElement(mt.A,null)):a?null:i.createElement(vr,{type:"button","aria-label":o(kr.cancel),onClick:()=>{n("")}},o(kr.cancel))}var Ar=n(4808);const Sr={[di.uA.TEXT_CLICKABLE]:zi,[di.uA.ACCORDION]:aa,[di.uA.JOURNEY_UNITS]:({customConfig:e})=>{const{hasNavCTA:t,navRollover:n,hasNavDrawer:o}=e;return i.createElement(i.Fragment,null,o&&i.createElement(y.LQ,{use:"OneNavTextClickable"}),t&&i.createElement(pa,{navRolloverId:n?.rolloverId}),n?.isRollover&&i.createElement(ha,{navRolloverId:n.rolloverId}))},[di.uA.CURATION_BANNER]:function(e){try{const{curationBannerData:t}=e;return t?i.createElement(qa,{data:t}):null}catch(e){return null}},[di.uA.RIBBON_BANNER]:pr,[di.uA.LOGO_CLICKABLE]:({action:e,label:t,height:n})=>{const{url:o,svgContent:a}=function(){const e=(0,v.DP)(),t=(0,x.nv)(e,"decorations.standard.logo");if(t&&t.svgContent)return{url:"",svgContent:t.svgContent};const{oneNavTheme:n}=e,o=(0,x.nv)(e,`decorations.${n}.logo`);return o?"object"==typeof o&&o.sources?{url:o.url||o.sources.sm?.url||""}:"string"==typeof o?{url:o}:{url:""}:{url:""}}();return i.createElement(sa,{"data-testid":"logo-clickable",href:e,"aria-label":t,onClick:e=>Fi.OM.trackClickable({event:e,label:t,subject:Fi.SZ.LOGO_CLICKABLE})},a?i.createElement(da,{dangerouslySetInnerHTML:{__html:a},height:n}):i.createElement(la,{src:o,alt:t??"",height:n}))},[di.uA.STICKY_HERO_AD]:function(){const{setIsHeroAdVisible:e}=(0,i.useContext)(Qr),t=(0,i.useContext)(Pi),n=t?.hasBaseAds;return n?i.createElement(La.$,{setIsHeroAdVisible:e}):null},[di.uA.IDENTITY_UNITS]:Pa,[di.uA.NOTIFICATION_BANNER]:()=>i.createElement(Ar.A,{isOneNav:!0}),[di.uA.SEARCH_CLICKABLE]:function({type:e}){switch(e){case di.BV.DRAWER:return i.createElement(hr,{tabIndex:0},i.createElement(xr,{type:e}));case di.BV.TOP_NAVBAR:return i.createElement(gr,null,i.createElement(xr,{type:e}));default:return null}}},Lr=(0,i.memo)(e=>{const{component:t,visibility:n=Da,...o}=e,{layout:a}=(0,i.useContext)(Pi),r=Sr[t];return i.createElement(Sa,{"data-testid":"one-nav-clickable",visibilityOptions:n,component:t,layout:a},i.createElement(r,{...o}))});class Tr extends li.xg{constructor(e,t){super(),this.visibilityOptions=e,this.cssValue=t}getStyleForBreakpoint(e){return[["display",!1===this.visibilityOptions[e]?"none":this.cssValue]]}}const Nr=v.Ay.div.withConfig({displayName:"OneNavAreaContainer"})` grid-template-columns: ${({columns:e})=>e}; ${({justifyContent:e})=>e&&new li.Fb("justify-content","",e).generateStyleForBreakpoints()}; ${({alignItems:e})=>e&&new li.Fb("align-items","",e).generateStyleForBreakpoints()}; ${({gap:e,layout:t})=>e?new li.Fb("gap","",e).generateStyleForBreakpoints():t===di.p5.HORIZONTAL&&`gap: ${(0,x.Kq)(1)}`}; ${e=>function(e){switch(e.areaType){case di._.HEADER:return v.AH` z-index: 10; background: var(${mi.pT.Color.SurfaceNavigation}); position: sticky; top: 0; border-bottom: 1px solid var(${mi.pT.Color.BorderNavigation}); `;case di._.CTA:return v.AH` z-index: 10; background: var(${mi.pT.Color.SurfaceNavigationFeatureBrand}); position: fixed; bottom: 0; left: 0; width: calc(100% - 1rem); margin-bottom: 0.5rem; margin-left: 0.5rem; ${Di.LP} { color: var(${mi.pT.Color.TextNavigationFeature}); &:hover { background-color: var( ${mi.pT.Color.SurfaceNavigationFeatureBrandHover} ); } :active { background-color: var( ${mi.pT.Color.SurfaceNavigationFeatureBrandHover} ); } } opacity: 0; animation: fadeIn 250ms linear 300ms forwards; @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } `;case di._.DEFAULT:default:return function(e){const{visibilityOptions:t,columns:n}=e;return v.AH` ${new Tr(t,n?"grid":"flex").generateStyleForBreakpoints()}; `}(e)}}(e)} `;const Hr=({items:e,visibility:t,areaType:n,...o})=>{const{layout:a}=(0,i.useContext)(Pi);return i.createElement(Nr,{"data-area-type":n,"data-testid":"one-nav-area-container",visibilityOptions:"object"==typeof t?t:Da,"aria-label":"Navigation Area",layout:a,"data-contains-sticky-element":n===di._.HEADER,areaType:n,...o},e?.map((e,t)=>i.createElement(Lr,{key:t,...e})))},Ir={root:null,threshold:[0,.75,1]};var Br;function Or(e,t,n){const{oneNavContainerRef:o,oneNavSpacerRef:a,layout:r}=(0,i.useContext)(Pi),s=(0,Fi.MB)(),l=(0,i.useRef)(0),d=(0,i.useRef)(0),[c,m]=(0,i.useState)(!0),u=function(e){const[t,n]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{const t=e.current;if(!t)return;const o=new IntersectionObserver(e=>{e.forEach(e=>{const t=e.intersectionRatio>=.75;n(t)})},Ir);return o.observe(t),()=>{o.disconnect()}},[e,n]),t}(a),p=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(null==t||r!==di.p5.HORIZONTAL||!s)return;const i=()=>{n!==di.T6.HERO_AD?("hideOnScroll"in t&&function(e,t,n,o,i){const a=window.scrollY,r=Pr(e,a),s=_r(i);if(null==s)return;const l=(d=r,c=t.current,d>=c?Br.DOWN:Br.UP);var d,c;t.current=r;const m=r>=s;l===Br.DOWN&&m?o(e=>Kr(e,!1,r,n)):l===Br.UP&&o(e=>Kr(e,!0,r,n))}(o,l,d,m,t.hideOnScroll),"showOnlyOnTop"in t&&function(e,t,n){const o=window.scrollY,i=Pr(e,o),a=_r(n);t(i<=a)}(o,m,t.showOnlyOnTop),"showOnThreshold"in t&&function(e,t,n){const o=window.scrollY,i=Pr(e,o),a=_r(n),r=i>=a;t(i<=300||r)}(o,m,t.showOnThreshold)):function(e,t,n){e(()=>!!t||(n??!1))}(m,e,u)};return i(),p.current=window.Kendra.WINDOW_EVENT.on(g.m.SCROLL_THROTTLE,i),()=>{p.current&&p.current.off()}},[t,e,o,n,u,s,r]),c}function _r(e){switch(typeof e){case"number":return e;case"boolean":return e?300:null;case"object":{const t=function(e,t){const n=Object.keys(e),o=n.filter(e=>Fi.MP[e]<=t),i=o.sort((e,t)=>Fi.MP[t]-Fi.MP[e]);if(i[0])return i[0];return di.Rp.SM}(e,window.innerWidth);return _r(e[t])}default:return null}}function Kr(e,t,n,o){return Math.abs(o.current-n)<50?e:(o.current=n,t)}function Pr(e,t){const n=t-(e.current?.getBoundingClientRect().bottom??0);return Math.max(n,0)}!function(e){e.UP="up",e.DOWN="down"}(Br||(Br={}));const Dr=v.Ay.nav.withConfig({displayName:"OneNavRowGrid",shouldForwardProp:e=>!["isRowVisible","visibilityConfig","rowType","rowId","rowGridStyles","seqLevel","rowsCount"].includes(e)})` /** * RTL (Right-to-Left) Support - Component-level CSS custom property * This multiplier automatically flips transform directions in RTL contexts. * * Default to LTR (1), but when html[dir='rtl'], set to -1 * This allows transforms to automatically flip: calc(var(--direction-multiplier, 1) * 5%) */ --direction-multiplier: 1; html[dir='rtl'] & { --direction-multiplier: -1; } height: 100%; ${({rowType:e})=>function(e){if(e!==di.T6.HERO_AD)return v.AH` background: var(${mi.pT.Color.SurfaceNavigation}); `;return""}(e)} ${({rowGridStyles:e})=>e}; `;const qr=v.AH` ${({visibilityConfig:e,isRowVisible:t,rowType:n})=>v.AH` ${e&&new Tr(e,"grid").generateStyleForBreakpoints()}; ${function(e,t){const n=t!==di.T6.HERO_AD&&t!==di.T6.NO_STYLE;if(e)return v.AH` grid-template-rows: 1fr; border-bottom-color: var(${mi.pT.Color.BorderNavigation}); border-bottom-style: solid; border-bottom-width: ${n?"1px":"0"}; `;return v.AH` grid-template-rows: 0fr; border-bottom: none; `}(t,n)}; ${function(e,t){if(t===di.T6.HERO_AD)return si.generateTransitionStyle({isOpen:e,enter:{animatedProperties:["grid-template-rows"],easingFunctions:["0.12,0,0.39,0"],durations:["500ms"]},exit:{animatedProperties:["grid-template-rows"],easingFunctions:["0.61,1,0.88,1"],durations:["550ms"]},reducedMotionEnter:{animatedProperties:["opacity","visibility","grid-template-rows"],easingFunctions:["0.37,0,0.63,1","1,1,0,0","1,1,0,0"],durations:["500ms","500ms","500ms"]},reducedMotionExit:{animatedProperties:["opacity","visibility","grid-template-rows"],easingFunctions:["0.37,0,0.63,1","1,1,0,0","1,1,0,0"],durations:["550ms","550ms","550ms"]}});return si.generateTransitionStyle({isOpen:e,enter:{animatedProperties:["grid-template-rows"],easingFunctions:["0.12,0,0.39,0"],durations:["200ms"]},exit:{animatedProperties:["grid-template-rows"],easingFunctions:["0.61,1,0.88,1"],durations:["350ms"]},reducedMotionEnter:{animatedProperties:["opacity","visibility","grid-template-rows"],easingFunctions:["0.37,0,0.63,1","1,1,0,0","1,1,0,0"],durations:["200ms","200ms","200ms"]},reducedMotionExit:{animatedProperties:["opacity","visibility","grid-template-rows"],easingFunctions:["0.37,0,0.63,1","1,1,0,0","1,1,0,0"],durations:["350ms","350ms","350ms"]}})}(t,n)}; `} @media (prefers-reduced-motion: reduce) { visibility: ${({isRowVisible:e})=>e?"visible":"hidden"}; opacity: ${({isRowVisible:e})=>e?"1":"0"}; } `,Mr=v.AH` ${({seqLevel:e,rowId:t,rowsCount:n})=>{if(n<=1)return"";const o=e===t,i=o?"0%":"5%";return v.AH` transform: translateX(calc(var(--direction-multiplier, 1) * ${i})); opacity: ${o?"1":"0"}; height: ${o?"100%":"0"}; ${si.generateTransitionStyle({isOpen:o,enter:{animatedProperties:["transform","opacity"],easingFunctions:["0.33,1,0.68,1","0,0,1,1"],durations:["400ms","300ms"]},reducedMotionEnter:{animatedProperties:["opacity"],easingFunctions:["0.37,0,0.63,1"],durations:["350ms"]}})} `}} `;const Rr=v.Ay.div.withConfig({displayName:"OneNavRowContent",shouldForwardProp:e=>!["rowType","rowContentStyles","visibilityConfig"].includes(e)})` ${({gap:e})=>new li.Fb("gap","1rem",e).generateStyleForBreakpoints()}; ${({rowType:e})=>e!==di.T6.HERO_AD&&e!==di.T6.NO_STYLE&&v.AH` padding-inline-start: 0.5rem; padding-inline-end: 0.5rem; `} overflow: hidden; ${({rowContentStyles:e})=>e}; `,Fr=v.AH` justify-items: stretch; ${({visibilityConfig:e})=>e&&new Tr(e,"grid").generateStyleForBreakpoints()}; ${({columns:e})=>new li.Fb("grid-template-columns","repeat(12, minmax(min-content, 1fr))",e).generateStyleForBreakpoints()}; justify-content: ${({justifyContent:e})=>new li.Fb("justify-content","stretch",e).generateStyleForBreakpoints()}; align-items: ${({alignItems:e})=>new li.Fb("align-items","center",e).generateStyleForBreakpoints()}; `,Ur=v.AH` height: 100%; position: relative; display: flex; flex-direction: column; scrollbar-width: none; ::-webkit-scrollbar { display: none; } overscroll-behavior-y: contain; overflow-y: scroll; /** Reserve space for the CTA area.*/ &:has([data-area-type='${di._.CTA}']) { padding-bottom: 48px; } /** Make the content scrollable. Prevents propagation of scroll event to the document in collaboration with 'overscroll-behavior-y'. */ &:after { content: ''; position: absolute; top: 0; bottom: -${"1px"}; left: 0; right: 0; visibility: hidden; } `,Vr=v.Ay.header.withConfig({displayName:"OneNavContainer"}).attrs({className:"one-nav"})` display: flex; flex-direction: column; ${({layoutStyles:e})=>e}; /** based on the value of layoutMap */ `,Gr=v.AH` /** Position changes based on rendering environment (SSR vs. CSR). */ position: ${({isCSR:e})=>e?"fixed":"sticky"}; z-index: ${C.KV.oneNav}; width: 100%; top: 0; left: 0; right: 0; max-height: max-content; `,Wr=v.AH` overflow: hidden; height: 100%; gap: ${({gap:e})=>e}; `,jr=v.AH` width: 100%; height: 100%; `,zr=v.Ay.div.withConfig({displayName:"OneNavSpacer",shouldForwardProp:e=>!["isCSR"].includes(e)})` background: var(${mi.pT.Color.Surface}); height: ${({height:e,isCSR:t})=>t?e:"0"}px; width: 100%; background: var(${mi.pT.Color.SurfaceNavigation}); `,Yr=v.DU` .onenav-site-navigation { /** Prevents scrolling or bounce behavior when reaching scroll limits */ overscroll-behavior: none; /** used for more specificity when redefining styles */ .page { /** removes padding-top on the whole page, which is set for different navigations */ padding-top: 0 !important; /** prevents HeroAd from appearing in OneNav with unnecessary animation */ .one-nav { .ad-stickyhero { padding-top: 0; position: relative; top: 0; transform: none; .ad__slot--hero .cns-ads-stage { padding: 8px 0; } /** * prevents ads from bouncing when the ‘X’ button is pressed and * aligns this button with the burger button */ .button.ad-stickyhero-button { float: unset; position: absolute; width: max-content; margin-right: ${(0,x.Kq)(1)}; @media (max-width: ${Fi.MP.lg}) { float: unset; position: absolute; width: max-content; } .button__icon-container { max-width: max-content; } } } } /** this is to remove the spacing between OneNav and main content(main.page__main-content) on GQSports */ .page__main-content { &::before { height: 0; } } } /** Fix sticky ness issue of the VersoCommerceCollectionCuratedWrapper component with the help of "src/components/compositions/verso-commerce-collection-curated/hooks.ts" function*/ [class^="VersoCommerceCollectionCuratedWrapper"] { [class^="FilterComponentWrapper"] { position: static; } } } `,Xr={[di.p5.HORIZONTAL]:{elementType:"header",hasSpacer:!0,containerStyles:Gr,rowGridStyles:qr,rowContentStyles:Fr},[di.p5.TRIGGERABLE_TOP]:{elementType:"div",hasSpacer:!1,containerStyles:jr,rowGridStyles:qr,rowContentStyles:Fr},[di.p5.TRIGGERABLE_RIGHT]:{elementType:"div",hasSpacer:!1,containerStyles:Wr,rowGridStyles:Mr,rowContentStyles:Ur},[di.p5.TRIGGERABLE_LEFT]:{elementType:"div",hasSpacer:!1,containerStyles:Wr,rowGridStyles:Mr,rowContentStyles:Ur}},Zr={[di.T6.DEFAULT]:"nav",[di.T6.HERO_AD]:"div",[di.T6.NO_STYLE]:"div"},Jr=({children:e,rowType:t=di.T6.DEFAULT,rowRef:n,isRowVisible:o,id:a,...r})=>{const{layout:s,seqLevel:l,rowsCount:d}=(0,i.useContext)(Pi),c=Xr[s];return i.createElement(Dr,{...r,id:a,ref:n,rowType:t,isRowVisible:o,"data-testid":"one-nav-row-grid","data-trigger-row":!0,layout:s,seqLevel:l,rowId:a,rowsCount:d,as:Zr[t],rowGridStyles:c.rowGridStyles},i.createElement(Rr,{"data-testid":"one-nav-row-content",rowType:t,layout:s,rowContentStyles:c.rowContentStyles,...r},e))},Qr=(0,i.createContext)(null),es=({areas:e,scrollConfig:t,columns:n,visibility:o=!0,rowType:a,id:r,...s})=>{const{seqLevel:l,layout:d}=(0,i.useContext)(Pi),[c,m]=(0,i.useState)(!1),u=(0,i.useRef)(null),p=Or(c,t,a),g=d===di.p5.HORIZONTAL||l===r||void 0===r;return i.createElement(Qr.Provider,{value:{setIsHeroAdVisible:m}},i.createElement(Jr,{rowRef:u,isRowVisible:p,columns:n,visibilityConfig:o,"aria-label":"Navigation Row",rowType:a??di.T6.DEFAULT,id:r,...s},g&&e.map((e,t)=>i.createElement(Hr,{key:t,...e}))))},ts=e=>{const{oneNavSpacerRef:t,oneNavContainerRef:n}=(0,i.useContext)(Pi),[o,a]=(0,i.useState)(0);!function(e,t){(0,i.useEffect)(()=>{const n=e.current;if(null===n)return;const o=new ResizeObserver(()=>{t(n.offsetHeight)});return o.observe(n),()=>{o.disconnect()}},[e,t])}(n,a);const r=(0,Fi.MB)();return i.createElement(zr,{className:e.className,ref:t,height:o,isCSR:r})};const ns="default";function os(e,t,n,o){const a=(0,Fi.MB)(),r=(0,i.useRef)(null),s=(0,i.useRef)(null),[l,d]=(0,i.useState)(null),[c,m]=(0,i.useState)(ns);!function(e,t){(0,i.useEffect)(()=>{const n=n=>{const{containerId:o,seqLevel:i}=n.detail;o===e&&t(i??ns)};return Ci.add(ki.SEQ_LEVEL,n),()=>Ci.remove(ki.SEQ_LEVEL,n)},[e,t])}(e,m);return{oneNavContainerRef:r,contextValue:{containerId:e,oneNavContainerRef:r,oneNavSpacerRef:s,layout:t,accordionsState:l,setAccordionsState:d,seqLevel:c,rowsCount:n.length,hasBaseAds:o},isCSR:a,layout:t,seqLevel:c}}const is=({id:e,layout:t,rows:n,oneNavTheme:o,hasBaseAds:a})=>{const{oneNavContainerRef:r,contextValue:s,isCSR:l,seqLevel:d}=os(e,t,n,a),c=Xr[t];return i.createElement(Pi.Provider,{value:s},c.hasSpacer&&i.createElement(ts,{className:$e()({[`theme-${o}`]:null!=o&&"standard"!==o})}),i.createElement(Vr,{"data-testid":`one-nav-container-${e}`,className:$e()({[`theme-${o}`]:null!=o&&"standard"!==o}),ref:r,isCSR:l,layoutStyles:c.containerStyles,as:c.elementType,"data-seq-level":d},n.map((e,t)=>i.createElement(es,{key:t,...e}))))};var as=n(43481);function rs({oneNavTheme:e,oneNavTriggerableContainers:t}){return null==t||0===t.length?null:i.createElement(i.Fragment,null,t.map(({id:t,layout:n,hasOverlay:o,hasDefaultContainer:a,rows:r})=>i.createElement(Oi,{key:t,id:t,layout:n,theme:e,hasOverlay:o??!0,hasDefaultContainer:a??!0},i.createElement(is,{id:t,layout:n,rows:r}))))}const ss=(0,o.y)(function({oneNav:e,oneNavTriggerableContainers:t,theme:n,featureValue:o,brandName:a,hasBaseAds:r}){const s=e?.enableNewSearch||!1;if(null==e)return null;try{const{id:l,layout:d,rows:c,theme:m}=e,u=[n,m].find(e=>"standard"!==e&&null!=e)||"standard",p=a?`${a.toLowerCase()}-notice-banner`:"";let g=function(e,t){const n=0,o=e.length-1;return e.map((e,i)=>({...e,areas:e.areas.map(e=>e.items?{...e,items:e.items.filter(e=>!function(e){return"string"==typeof e.component&&e.component===di.uA.NOTIFICATION_BANNER}(e)||(t===as.R.ABOVE_NAV&&i===n||t===as.R.BELOW_HERO_AD&&i===o))}:e)}))}(c,p&&o[p]?.props?.experimentBannerPosition);const h=`${a.toLowerCase().replace(/\s+/g,"-")}-new-search`;return g=function(e,t,n){const o=Boolean(t)||Boolean(n);return e.map(e=>({...e,areas:e.areas.map(e=>({...e,items:e.items?.map(e=>function(e){return e.component===di.uA.TEXT_CLICKABLE&&"Search"===e.states?.default?.stateIcon?.[0]}(e)?{...e,action:o?{type:di.X2.TRIGGER,trigger:"search_clickable"}:{type:di.X2.LINK,url:"/search",target:di.yK.SELF}}:e)||[]}))}))}(g,h?o[h]?.searchExperimentEnabled:void 0,s),i.createElement(Ki.A,null,i.createElement(v.NP,{theme:e=>({...e,oneNavTheme:u})},i.createElement(Yr,null),i.createElement(is,{id:l,layout:d,rows:g,oneNavTheme:u,hasBaseAds:r}),i.createElement(rs,{oneNavTheme:u,oneNavTriggerableContainers:t})))}catch(e){return i.createElement(i.Fragment,null)}},"OneNavEnvironment"),ls={SimpleNavigation:q,SiteHeader:yo,StackedNavigation:ri,StandardNavigation:Yo,OneNav:ss},ds=({isPersistent:e,children:t})=>e?i.createElement(d.A,null,t):t;ds.propTypes={children:r().node,isPersistent:r().bool};const cs=({brandName:e,featureFlags:{enableGqlForLinkBanner:t=!1,isLogoWide:n,shouldKeepSubscribeLinkActive:o,showNavigationWithlinkBanner:a=!1},featureValue:r,hasContentHeaderLogo:s,hasSearch:l=!0,headerInvertedLogo:d,headerLogo:c,headerLogoDim:m,headerTheme:u,invertedLogo:g,isAccountsEnabled:h,journeyRibbonHeight:y,linkBannerData:b,logo:f,logoBaseUrl:w,navigation:{account:$,appDownloadUrls:v,internationalInfo:C,pageHeadline:k,primaryLinks:x,searchLink:E,secondaryLinks:A,socialLinksHeading:S,socialLinks:L,utilityLinks:T,hasSEOSupport:N,isEditorPicksAvailable:H},navigationTheme:I,rootBrandName:B,hasLinkbannerCrossSlideAnimation:O,seriesData:_,shouldPrioritizeSeriesPagination:K,shouldEnableFullArticleInverted:P,user:D,onDrawerStateChange:q,navPattern:M="StandardNavigation",oneNav:R,oneNavTriggerableContainers:F,hasBaseAds:U})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"ConnectedNavigation"})},[]);const V="visual-link-banner"===b.bannerType,G=t&&!V&&b?.links?.length>0,W={accountProps:$,appDownloadUrls:v,className:"site-navigation",showLinkBanner:G,showNavigationWithlinkBanner:G||a,drawerProps:{appElement:"#app-root",internationalInfo:C,rootBrandName:B,primaryLinks:x,secondaryLinks:A,searchAction:E,socialIconsProps:{links:L}},hasContentHeaderLogo:s,hasSearch:l,hasSearchBar:!1,headerLogo:c,headerLogoDim:m,headerInvertedLogo:d,headerTheme:u,pageHeadline:k,isLogoWide:n,isAccountsEnabled:h,isEditorPicksAvailable:H,isPersistent:!0,isVisualLinkBanner:V,logo:c,invertedLogo:g,logoBaseUrl:w,primaryLinks:x,secondaryLinks:A,seriesData:_,shouldEnableFullArticleInverted:P,shouldKeepSubscribeLinkActive:o,shouldConsiderSeriesPagination:b&&_&&K,user:D,utilityLinks:T,hasSEOSupport:N},j={SimpleNavigation:{hasSearch:!1},SiteHeader:{brandName:e,hasSearch:l,internationalInfo:C,invertedLogo:g,isPersistent:!1,logo:f,searchLink:E,socialLinks:L,socialLinksHeading:S},StackedNavigation:{logo:f,invertedLogo:g,socialLinksHeading:S,hasLinkbannerCrossSlideAnimation:O,onDrawerStateChange:q,journeyRibbonHeight:y},OneNav:{oneNav:R,oneNavTriggerableContainers:F,isPersistent:!1,featureValue:r,brandName:e,theme:I,hasBaseAds:U}};Object.assign(W,j[M]);const z=ls[M];return i.createElement(ds,{isPersistent:W.isPersistent},i.createElement(z,{...W}))};cs.propTypes={brandName:r().string,featureFlags:r().shape({enableGqlForLinkBanner:r().bool,isLogoWide:r().bool,shouldKeepSubscribeLinkActive:r().bool,showNavigationWithlinkBanner:r().bool}),featureValue:r().object,hasContentHeaderLogo:r().bool,hasLinkbannerCrossSlideAnimation:r().bool,hasSearch:r().bool,headerInvertedLogo:r().shape(c.A.propTypes).isRequired,headerLogo:r().shape(c.A.propTypes).isRequired,headerLogoDim:r().shape(c.A.propTypes),headerTheme:r().oneOf(["standard","inverted","transparent"]),invertedLogo:r().shape(c.A.propTypes).isRequired,isAccountsEnabled:r().bool,isEditorPicksAvailable:r().bool,journeyRibbonHeight:r().number,linkBannerData:r().shape({hed:r().hed,dek:r().dek,image:r().shape(c.A.propTypes),links:r().arrayOf(r().shape({url:r().string,text:r().string,isExternal:r().bool})),bannerType:r().string,tracking:r().shape(nn.A.propTypes.tracking)}),logo:r().shape(c.A.propTypes).isRequired,logoBaseUrl:r().string,navigation:r().shape({account:r().object,appDownloadUrls:r().array,hasSEOSupport:r().bool,internationalInfo:l.A.object,isEditorPicksAvailable:r().bool,pageHeadline:r().string,primaryLinks:l.A.propTypes.links,searchLink:r().string,secondaryLinks:r().array,socialLinksHeading:r().string,socialLinks:r().array,utilityLinks:l.A.propTypes.links}),navPattern:r().oneOf(Object.keys(ls)),navigationTheme:r().string,onDrawerStateChange:r().func,oneNav:r().any,oneNavTriggerableContainers:r().any,rootBrandName:r().string,seriesData:r().shape({hed:r().string,dek:r().string,image:r().object,links:r().arrayOf(r().shape({hed:r().string,dek:r().string,image:r().object,isPublished:r().bool,promoHed:r().string,url:r().string}))}),shouldEnableFullArticleInverted:r().bool,shouldPrioritizeSeriesPagination:r().bool,shouldUseGQLForLinkBanner:r().bool,user:r().shape({isAuthenticated:r().bool.isRequired}),hasBaseAds:r().bool},cs.displayName="ConnectedNavigation";const ms=(0,s.M3)(cs,{keysToPluck:["brandName","rootBrandName","config","featureFlags","hasSearch","headerLogo","headerInvertedLogo","invertedLogo","isAccountsEnabled","linkBannerData","logo","logoBaseUrl","navigation","seriesData","user","oneNav","oneNavTriggerableContainers"]}),us=(0,o.y)(ms,"ConnectedNavigation")},46897:(e,t,n)=>{n.d(t,{A:()=>$});var o=n(13465),i=n(96540),a=n(5556),r=n.n(a),s=n(68397),l=n(52663),d=n(53499),c=n(72362),m=n(38267),u=n(26865),p=n(96472);const g=m.Ay.div.withConfig({displayName:"VisualStoryCarouselWrapper"})` h2 { margin: 0; ${({theme:e,mainTitleFont:t})=>(0,u.Gg)(e,t)}; } section { margin: 0 auto; div[class^='CarouselListWrapper'] { margin: 0; ul[class^='CarouselList'] { margin: ${(0,u.Kq)(2)} 0 0 0; padding-bottom: 11px; @media (min-width: ${p.LO.md}) { justify-content: center; &::-webkit-scrollbar { display: none; } -ms-overflow-style: none; scrollbar-width: none; } } li { margin: 0; padding: 0; width: 120px; @media (min-width: ${p.LO.lg}) { width: 150px; } .summary-item { border: none; padding: 0 5px; .summary-item__asset-container { height: 90px; } .aspect-ratio--overlay-container { margin: 3px auto; border: 3px solid transparent; border-radius: 50%; box-shadow: 0 0 0 2px ${({theme:e})=>(0,u.HK)(e,"colors.interactive.base.brand-primary")}; width: 90px; height: 90px; } .responsive-asset div[class*='AspectRatioContainer']::before { padding-top: 0; } } picture { display: flex; justify-content: center; img { transition: transform 0.5s ease-in-out; width: unset; max-width: unset; height: 90px; } img:hover { transform: scale(1.3); } } .summary-item__hed-link { text-decoration: none; color: ${({theme:e})=>(0,u.HK)(e,"colors.discovery.body.white.heading")}; &:hover, &:focus, &:active { text-decoration: underline; } } .summary-item__content { padding-top: 10px; padding-bottom: 0; .summary-item__hed { ${({theme:e,bubbleFont:t})=>(0,u.Gg)(e,t)}; /* stylelint-disable-next-line value-no-vendor-prefix */ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; overflow: hidden; text-align: center; text-transform: uppercase; text-overflow: ellipsis; color: ${({theme:e})=>(0,u.HK)(e,"colors.discovery.body.white.heading")}; } .summary-item__hed-link::after { margin-bottom: 0; border: none; } } a:not(.button):not(.text):not(.link):link { text-decoration: none; } a:not(.button):not(.text):not(.link):hover { text-decoration: underline; } } } &:has(div[class*='CarouselNavigationWrapper']) ul[class^='CarouselList'] { justify-content: flex-start; } } &.bundleLayout section { padding-right: ${(0,u.Kq)(3)}; padding-left: ${(0,u.Kq)(3)}; max-width: ${p.LO.lg}; @media (min-width: ${p.LO.md}) { padding-right: ${(0,u.Kq)(6)}; padding-left: ${(0,u.Kq)(6)}; max-width: ${p.LO.lg}; } @media (min-width: ${p.LO.lg}) { padding-right: ${(0,u.Kq)(6)}; padding-left: ${(0,u.Kq)(6)}; max-width: ${p.LO.xl}; } @media (min-width: ${p.LO.xl}) { padding-right: ${(0,u.Kq)(8)}; padding-left: ${(0,u.Kq)(8)}; max-width: ${p.LO.xxl}; } } `;var h=n(60663);const y=!(0,c.Zm)(),b=(0,h.Y)(()=>window.sessionStorage),f=({bubbleFont:e="typography.definitions.globalEditorial.context-tertiary",className:t,container:n,hasBottomBorder:o=!0,hasTopBorder:a=!0,mainTitleFont:r,sectionTitleVariation:c="LineAboveLineBelowTextCenter"})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(d.G.RENDER,{name:"VisualStoryCarousel"})},[]);const m=i.useRef(null);i.useEffect(()=>{const e=m.current?.querySelectorAll("li")||[],t=()=>{const e=window.location.href;b.setItem("visual_story_origin",e)};return e.forEach(e=>{e.addEventListener("click",t)}),()=>{e.forEach(e=>{e.removeEventListener("click",t)})}},[]);const{dangerousDek:u,dangerousHed:p,items:h}=n,f="bundleLayout"===t?c:"LineAboveLineBelowTextLeft",w="LineAboveLineBelowTextCenter"===f?"center":"left";return i.createElement(g,{isMobile:y,className:t,"data-testid":"visual-story-carousel",bubbleFont:e,mainTitleFont:r,ref:m},i.createElement(s.A,{headerProps:{dangerousHed:p,dangerousDek:u,hasTopBorder:a,hasBottomBorder:o,contentAlign:w,shouldDisplayDangerousDek:""!==u,sectionTitleVariation:f},carouselSettings:{hasPaginationDots:!1,hideScrollbar:!1,itemsDensity:"min",scrollType:"set-by-set",showControls:!y,showLabels:!1,shouldRightAlignFooterControls:!0}},h.map((e,t)=>i.createElement(s.A.CarouselItem,{key:`carousel-watch-${t}`,trackingEventData:{itemIndex:t,totalItems:h?.length,placement:"mid-content",snowplowNavEventSubject:"carousel",label:"Visual Story"}},i.createElement(l.A,{key:t,...e})))))};f.propTypes={bubbleFont:r().string,className:r().string,container:r().object,hasBottomBorder:r().bool,hasTopBorder:r().bool,mainTitleFont:r().string,sectionTitleVariation:r().string},f.displayName="VisualStoryCarousel";const w=f,$=(0,o.y)(w,"VisualStoryCarousel")},47135:(e,t,n)=>{n.d(t,{A:()=>T});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(32485),l=n.n(s),d=n(53499),c=n(38267),m=n(76955),u=n(96472),p=n(26865),g=n(73275),h=n(60511),y=n(41803),b=n(40653),f=n(10642),w=n(85095);const $=(0,c.Ay)(g.A).withConfig({displayName:"CollageVideoItemResponsiveAsset"})` ${y.Ay} { ${({hasNoUnderline:e})=>e&&"\n &:link {\n text-decoration: none;\n }\n &:hover {\n text-decoration: underline;\n }\n "} } ${({theme:e})=>(0,p._o)(e,"background","colors.discovery.body.light.background")}; @media (max-width: ${u.LO.lg}) { margin-bottom: ${(0,p.Kq)(2)}; } `,v=(0,c.Ay)(f.A).withConfig({displayName:"CollageVideoItemRubric"})` display: block; margin-top: ${(0,p.Kq)(2)}; margin-bottom: ${(0,p.Kq)(1)}; ${({theme:e})=>(0,p._o)(e,"color","colors.discovery.body.white.context-signature")}; `,C=(0,c.Ay)(h.A).withConfig({displayName:"CollageVideoItemInlineVideoItem"})` ${y.Ay} { ${({hasNoUnderline:e})=>e&&"\n &:link {\n text-decoration: none;\n }\n &:hover {\n text-decoration: underline;\n }\n "} } &.inline-video-item { padding-bottom: 0; @media (min-width: ${u.LO.lg}) { border-width: 1px; border-bottom-style: solid; } } h2, h3 { ${({theme:e,isDenseSummaryCollageThree:t})=>t?(0,p.Gg)(e,"typography.definitions.discovery.hed-core-primary"):(0,p.Gg)(e,"typography.definitions.discovery.hed-bulletin-primary")}; @media (max-width: ${u.LO.lg}) { margin-bottom: ${(0,p.Kq)(2)}; } @media (min-width: ${u.LO.lg}) { } } `,k=(0,c.Ay)(m.vm).withConfig({displayName:"CollageVideoItemHed"})` ${(0,p.Gg)("typography.definitions.discovery.hed-core-primary")} ${({theme:e})=>(0,p._o)(e,"color","colors.discovery.body.white.heading")}; @media (min-width: ${u.LO.md}) { margin-bottom: ${(0,p.Kq)(3)}; } `;k.defaultProps={bottomSpacing:2,topSpacing:0};const x=(0,c.Ay)(m.sH).withConfig({displayName:"CollageVideoItemHeadingLink"})``;x.defaultProps={colorStaticLinkToken:"colors.discovery.body.white.heading",getLinkStyles:"global"};const E=(0,c.Ay)("div").withConfig({displayName:"CollageVideoItemWrapper"})` && { @media (min-width: ${u.LO.lg}) { ${b.E}:nth-child(4) &${w.O9} { padding-top: 0; } } } ${v} { @media (min-width: ${u.LO.lg}) { display: none; } } ${k} { @media (min-width: ${u.LO.lg}) { display: none; } @media (max-width: ${u.LO.md}) { display: block; } } `;var A=n(62327);const S=({analyticsDataAttribute:e={},className:t,hasNoUnderline:n=!1,hedTag:o="h2",isFeatured:i=!1,item:a={},nonFeaturedItemConfig:s={shouldHideIcon:!1,shouldPlayInline:!1},scriptUrl:c,shouldAutoplay:m=!1,isDenseSummaryCollageThree:u})=>{if(r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(d.G.RENDER,{name:"CollageVideoItem"})},[]),!c)return null;const{dangerousHed:p}=a,g=r.createElement(k,{dangerouslySetInnerHTML:{__html:p},as:o}),h=i?r.createElement($,{...a,shouldAutoplay:m,scriptUrl:c,hasNoUnderline:n,videoEmbedPosition:A.sm}):r.createElement(C,{...a,scriptUrl:c,...s,hedTag:o,isDenseSummaryCollageThree:u,hasNoUnderline:n,videoEmbedPosition:A.sm});return r.createElement(E,{className:l()("CollageVideoItemWrapper",t),...e,isDenseSummaryCollageThree:u},h,u&&i&&r.createElement(v,{name:a.rubric.name}),u&&i&&r.createElement(x,{href:a.url},g))};S.propTypes={analyticsDataAttribute:a().object,className:a().string,hasNoUnderline:a().bool,hedTag:a().string,isDenseSummaryCollageThree:a().bool,isFeatured:a().bool,item:a().object.isRequired,nonFeaturedItemConfig:a().shape({playIconStyle:a().oneOf(["dark","white","cne"]),shouldHideIcon:a().bool,shouldPlayInline:a().bool}),scriptUrl:a().string.isRequired,shouldAutoplay:a().bool},S.displayName="CollageVideoItem";const L=S,T=(0,o.y)(L,"CollageVideoItem")},47940:(e,t,n)=>{n.d(t,{A:()=>L});var o=n(13465),i=n(31581),a=n(96540),r=n(5556),s=n.n(r),l=n(68397),d=n(91706),c=n(52663),m=n(38267),u=n(35864),p=n(68116),g=n(277),h=n(86659),y=n(40653),b=n(26865),f=n(1123),w=n(96472),$=n(99906);const v=(0,m.Ay)(h.A).withConfig({displayName:"PodcastsSectionTitleWrapper"})` ${(0,f.aU)("padding")} ${y.E} { grid-column: 1/-1; } `,C=(0,m.Ay)(u.default).withConfig({displayName:"SummaryAudioCollectionTitle"})` grid-column: 1/-1; border-top: 1px solid ${(0,b.HK)("colors.discovery.body.white.accent")}; border-bottom: 1px solid ${(0,b.HK)("colors.discovery.body.white.accent")}; `,k=m.Ay.div.withConfig({displayName:"PodcastsList"})` padding-top: ${(0,b.Kq)(4)}; `,x=(0,m.Ay)(h.A.NoMargins).withConfig({displayName:"CarouselWrapper"})` ${(0,f.aU)("padding")} ${y.E} { grid-column: 1/-1; width: 100%; } `,E=m.Ay.section.withConfig({displayName:"SummaryAudioCollection"})` padding-top: ${(0,b.Kq)(5)}; ${({theme:e})=>e&&`background: ${(0,b.HK)(e,"colors.discovery.lead.secondary.background")};\n }`} ${k} { ${p.IB}, ${g.up} { display: none; } ${(0,b.L7)(`${$.VS.md}px`)} { display: none; } } ${x} { ${p.IB}, ${g.up} { display: none; } ${({itemCount:e})=>3===e&&m.AH` ${(0,b.H4)(w.LO.md)} { display: none; } `} } `,A=({dangerousHed:e,hasDividerAbove:t=!0,hasDividerBelow:n=!0,hasBorder:o=!1,hasItemsRule:i=!1,hideIssueDate:r=!1,items:s,minItemsRequired:m=0,shouldHidePublishDate:u=!1,textAlign:p="center"})=>m&&s?.lengtha.createElement(l.A.CarouselItem,{key:e.copilotID,"data-testid":"PodcastsList"},a.createElement(c.A,{key:t,...e,hasBorder:o,shouldHidePublishDate:u,hasRule:i,hideIssueDate:r}))))));A.propTypes={dangerousHed:s().string.isRequired,hasBorder:s().bool,hasDividerAbove:s().bool,hasDividerBelow:s().bool,hasItemsRule:s().bool,hideIssueDate:s().bool,items:s().arrayOf(s().shape({categories:s().shape({tags:s().array}),dangerousDek:s().string,dangerousHed:s().string,image:s().object,url:s().string})).isRequired,minItemsRequired:s().number,shouldHidePublishDate:s().bool,textAlign:s().string};const S=A,L=(0,i.N)((0,o.y)(S,"SummaryAudioCollection"))},48171:(e,t,n)=>{n.d(t,{N:()=>a,h:()=>r});var o=n(96540);const i=(0,o.createContext)(void 0),a=({children:e,theme:t})=>o.createElement(i.Provider,{value:{theme:t}},e),r=()=>{const e=(0,o.useContext)(i);if(void 0===e)throw new Error("useThemingContext must be used within a ThemeProvider");return e}},48209:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(5556),i=n.n(o),a=n(96540),r=n(53499);const s=({children:e,className:t,delta:n=10,shouldPreventDefaultEvent:o=!1,onSwipeDown:i,onSwipeLeft:s,onSwipeRight:l,onSwipeUp:d})=>{const[c,m]=(0,a.useState)(0),[u,p]=(0,a.useState)(0),[g,h]=(0,a.useState)(!1);(0,a.useEffect)(()=>{window.Kendra.TRACK_COMPONENT.broadcast(r.G.RENDER,{name:"Swipe"})},[]);const y=e=>{o&&e.preventDefault()},b={className:t,style:{touchAction:"none"},onTouchStart:e=>{y(e),m((e=>e.clientX||e.touches[0].clientX)(e)),p((e=>e.clientY||e.touches[0].clientY)(e)),h(!0)},onTouchMove:e=>{if(!g)return;y(e);const t=(e=>e.clientX||e.changedTouches[0].clientX)(e),o=(e=>e.clientY||e.changedTouches[0].clientY)(e),a=((e,t)=>{const o=e-c,a=t-u;return Math.abs(o)>=n&&Math.abs(o)>=Math.abs(a)?o>n?l:s:Math.abs(a)>=n&&(a>n?d:i)})(t,o);a&&(a(!0),h(!1))},onTouchEnd:e=>{y(e),m(0),p(0),h(!1)}};return a.createElement("span",{...b},e)};s.propTypes={children:i().node,className:i().string,delta:i().number,onSwipeDown:i().func,onSwipeLeft:i().func,onSwipeRight:i().func,onSwipeUp:i().func,shouldPreventDefaultEvent:i().bool};const l=s},48887:(e,t,n)=>{n.d(t,{A:()=>N});var o=n(2404),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(1165),d=n(69148),c=n(29670),m=n(11542),u=n(66657),p=n(11025),g=n(15316),h=n(19607),y=n(26938),b=n(38080),f=n(36382),w=n(90114),$=n(39832),v=n(94631);const C=(0,m.z5)("payment"),k=(0,m.z5)("featureFlags");const x=new l.default({a:function(e){const{isExternal:t,...n}=e;return{type:t?$.A:"a",props:n}},h2:function(e={}){return"sidebar:heading"===e.type?{type:f.A,props:e.props}:e},"inline-embed":w.A,blockquote:({props:e})=>({type:y.A,props:e})});function E(e){return function(e){return Array.isArray(e)&&"string"==typeof e[0]}(e)&&e[1]&&"object"==typeof e[1]&&!Array.isArray(e[1])?e.slice(2):e.slice(1)}function A(e){const t=e[0],n=e[1]||{},o="inline-embed"===t&&"callout:feature-large"===n.type,i="inline-embed"===t&&"callout:feature-medium"===n.type;return o||i||"ad"===t}function S(e,t){return`${e}-${t}`}class L{constructor({GeneralContentWrapper:e=()=>null,FullBleedContentWrapper:t=()=>null,RailContent:n=()=>null,payment:o,featureFlags:i,interlude:a,shouldUsePaddingTopForHomePageBody:r}){this.interludeProps=a,this.interludePosition=a?.strategy&&(0,g.Kq)(a,g.em),this.GeneralContentWrapper=e,this.FullBleedContentWrapper=t,this.shouldUsePaddingTopForHomePageBody=r,this.RailContent=n,this.chunkCount=0,this.shouldRenderMidContent=!(0,c.D)("ads",o,i)}closeSmallGroup(e,t,n){let o=t;if(e.length>0){++this.chunkCount;const i=this.GeneralContentWrapper;o=[...t,s.createElement(i,{shouldUsePaddingTopForHomePageBody:this.shouldUsePaddingTopForHomePageBody,key:S("small-group",n)},s.createElement(v.ie,{className:"body__container article__body",shouldEnableDataJourneyHook:!1},x.convert(["div",{className:"body__inner-container"},...e])),s.createElement(v.$R,null,s.createElement(p.A,null,this.RailContent(this.chunkCount))))]}return o}wrapInFullSizeContainer(e,t,n){const o=this.FullBleedContentWrapper;return[...t,s.createElement(o,{key:S("full",n)},s.createElement(v.ie,{className:"channel--body body__container",shouldEnableDataJourneyHook:!1},x.convert(e)))]}visit(e){const t=E(e);let n=[],o=[];return this.isSingleChunk=!t.some(e=>"ad"===e[0]),this.finalAdSet=!1,t.forEach((e,t)=>{const[i]=e;if("ad"===i?this.shouldRenderMidContent&&(n=this.closeSmallGroup(o,n,t),o=[],n=[...n,s.createElement(u.A,{className:"full-bleed-ad row-mid-content-ad",key:S("ad",t)},s.createElement(b.Z,{group:"ads"},s.createElement(h.A,{position:"mid-content",shouldDisplayLabel:!0,shouldHoldSpace:!0})))]):A(e)?(n=this.closeSmallGroup(o,n,t),o=[],n=this.wrapInFullSizeContainer(e,n,t)):o=[...o,e],this.interludePosition===t)if(A(e)||"ad"===i)n=[...n,s.createElement(d.A,{...this.interludeProps,isRightRail:!1})];else{const e=(({brand:e,interludeOverrideId:t,playerBase:n,isRailEligible:o,isTitleLinkDisabled:i})=>["inline-embed",{type:"cneinterlude",props:{brand:e,interludeOverrideId:t,playerBase:n,isRailEligible:o,isRightRail:!1,isTitleLinkDisabled:i}}])({...this.interludeProps,isRightRail:!1});o=[...o,e]}}),n=this.closeSmallGroup(o,n,"final"),this.finalAdSet=!0,n}}const T=({FullBleedContentWrapper:e,GeneralContentWrapper:t,RailContent:n,jsonml:o,payment:i,featureFlags:a,interlude:r,shouldUsePaddingTopForHomePageBody:s})=>new L({FullBleedContentWrapper:e,GeneralContentWrapper:t,RailContent:n,jsonml:o,payment:i,featureFlags:a,interlude:r,shouldUsePaddingTopForHomePageBody:s}).visit(o);T.propTypes={className:r().string,featureFlags:r().object,FullBleedContentWrapper:r().oneOfType([r().func,r().object]),GeneralContentWrapper:r().oneOfType([r().func,r().object]),interlude:r().object,jsonml:r().array.isRequired,payment:r().object,RailContent:r().func};const N=s.memo(C(k(T)),i())},48990:(e,t,n)=>{n.d(t,{Qo:()=>g,a2:()=>p,ri:()=>h});var o=n(5556),i=n.n(o),a=n(96540),r=n(6442),s=n(60700),l=n(73730),d=n(8877),c=n(65525),m=n(12972),u=n(97195);const p=({isEthycaEnabled:e})=>a.createElement(m.jL,{className:e?"consent-privacy-icon":"oneTrust_button__icon-container",iconPosition:"before",size:"default"},a.createElement(m.G9,{className:"oneTrust_button-icon",as:u.A,size:"default",isinline:!0})),g=()=>{const[e,t]=a.useState();return a.useEffect(()=>{if(window.Fides?.initialized)return t(window.Fides?.getModalLinkLabel()),()=>{};const e=()=>{t(window.Fides?.getModalLinkLabel())};return window.addEventListener("FidesInitialized",e),()=>{window.removeEventListener("FidesInitialized",e)}},[]),a.useEffect(()=>{setTimeout(()=>{window.Fides?.initialized&&t(window.Fides?.getModalLinkLabel())},1e3)},[]),e};p.propTypes={isEthycaEnabled:i().bool};const h=e=>{const{className:t,element:n,hasUnderlineActiveLink:o,links:i,listAttributes:u={},alignment:h,linkClassName:y,shouldAllowNavItemHide:b,showOneTrustButton:f,shouldStyleListItems:w,isCollapsible:$=!1,isEthycaEnabled:v=!1,isNavigationClosed:C=!1,isNavigationActiveState:k,navigationJustification:x,hasNavigationSection:E=!1,trackingText:A,trackingTextIndex:S,isMegamenu:L,navHighlightColour:T}=e,{formatMessage:N}=(0,r.A)(),H=(0,d.B)(),I=g(),B=a.createElement("li",{className:v?"consent_btn":"oneTrust_btn"},a.createElement(p,{isEthycaEnabled:v}),H&&a.createElement(l.A.Utility,{id:v?"fides-modal-link":"ot-sdk-btn",className:v?"consent-sdk-show-settings":"ot-sdk-show-settings ot-sdk-btn--visible",label:I??N(s.A.oneTrustButtonLabel),isInline:!0}));return a.createElement(m.W9,{alignment:h,as:"ul",ref:n,isCollapsible:$,isNavigationClosed:C,navigationJustification:x,hasNavigationSection:E,className:t,"data-testid":"navigation__list",...u},i&&i.map((e,t)=>a.createElement(c.U,{alignment:h,className:y,link:e,key:t,shouldAllowNavItemHide:b,shouldStyleListItems:w,paymentGroup:e.paymentGroup,isNavigationClosed:C,navigationJustification:x,hasNavigationSection:E,trackingText:A,trackingTextIndex:S,isNavigationActiveState:k,hasUnderlineActiveLink:o,isMegamenu:L,navHighlightColour:T})),(v||f)&&B)};h.propTypes={alignment:i().string,className:i().string,element:i().oneOfType([i().func,i().object]),hasNavigationSection:i().bool,hasUnderlineActiveLink:i().bool,isCollapsible:i().bool,isEthycaEnabled:i().bool,isMegamenu:i().bool,isNavigationActiveState:i().bool,isNavigationClosed:i().bool,linkClassName:i().string,links:i().arrayOf(c.c.propTypes.link).isRequired,listAttributes:i().object,navHighlightColour:i().string,navigationJustification:i().string,shouldAllowNavItemHide:i().bool,shouldStyleListItems:i().bool,showOneTrustButton:i().bool,trackingText:i().string,trackingTextIndex:i().number}},49702:(e,t,n)=>{var o;n.d(t,{xg:()=>a,Rp:()=>o,Fb:()=>r}),function(e){e.SM="sm",e.MD="md",e.LG="lg",e.XL="xl",e.XXL="xxl",e.XXXL="xxxl"}(o||(o={}));var i=n(99906);class a{generateStyleForBreakpoints(){const e=[];for(const t of Object.values(o))e.push(this.getElementStyles(t));return e.join("\n")}getElementStyles(e){const t=this.getStyleForBreakpoint(e);return this.generateCSSMediaQueries(t,e)}generateCSSMediaQueries(e,t){const n=e.map(([e,t])=>`${e.toString()}: ${t};`).join("\n");return`\n ${t===o.SM?n:""}\n @media (min-width: ${i.Vh[t]}px) {\n ${n}\n }`}}class r extends a{constructor(e,t,n){super(),this.cssProperty=e,this.cssDefaultValue=t,this.cssMediaQueryValues=n}getStyleForBreakpoint(e){return[[this.cssProperty,this.cssMediaQueryValues?.[e]??this.cssDefaultValue]]}}},49829:(e,t,n)=>{n.d(t,{W:()=>s});var o=n(38267),i=n(26865),a=n(96472),r=n(50531);function s(){return o.AH` display: flex; position: relative; margin: 0 ${(0,i.Kq)(2)} 0 auto; border: 0; background-color: transparent; padding: 0; width: ${(0,i.Kq)(4)}; ${(0,i.H4)(a.LO.md)} { margin: 0 ${(0,i.Kq)(3)} 0 ${(0,i.Kq)(2)}; } &:hover, &:focus { border: 0; background-color: transparent; svg path { fill: ${(0,i.HK)("colors.foundation.icon.hover")}; } } ${r.ny} { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: ${(0,i.Kq)(4)}; height: 100%; ${r.a2} { width: 100%; height: auto; } } svg path { fill: ${(0,i.HK)("colors.foundation.icon.default")}; } `}},49938:(e,t,n)=>{n.d(t,{f:()=>i});var o=n(14307);const i=(e,t)=>{const n={type:"click",label:e?.target?.textContent?.toString(),subject:t||"sub_header_menu",items:[{content_title:e?.target?.textContent?.toString(),content_url:e?.target?.href}],placement:"header"};(0,o.kg)(n)}},50152:(e,t,n)=>{n.d(t,{A:()=>k});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(6442),d=n(56892),c=n(53788),m=n(52188),u=n(8231),p=n(37384),g=n(60663),h=n(8877),y=n(71862),b=n(94373),f=n(99906);const{oidcCookies:w}=c.A,$=(0,g.Y)(()=>window.localStorage),v=()=>{const e=`(max-width: ${f.Vh.lg}px)`;return window.matchMedia(e).matches},C=({accountAvatar:e,accountLabel:t,accountLinks:n,className:o,signInLabel:a,signInLink:r="/account/sign-in",user:c,tooltip:p,utilityNavLinkColorToken:g})=>{const b=(0,l.A)(),f=s.useRef(null),C=(0,h.B)(),{isAuthenticated:k}=c,[x,E]=s.useState(!!p),[A,S]=s.useState("showAuthenticatedTooltip"),[L,T]=s.useState(!1),[N,H]=s.useState(!1),I=s.useMemo(()=>n?.map(e=>e.text.toLowerCase()),[n]);s.useEffect(()=>{window.cnBus?.on("journey.unit.render.begin",e=>{e&&"verso"===e.renderer&&"NavCTA"===e.component?.name&&T(!0)})},[]),s.useEffect(()=>{if(p){if(window&&window.dataLayer){const e=window.dataLayer[0]?.site?.env,{brandSlug:t}=window.dataLayer[0]?.content||{};S(`${e}-${t}-showAuthenticatedTooltip`)}const e=Boolean((0,d.getCookie)(w.access));k||e||$.setItem(A,!0),setTimeout(()=>{if(k){Boolean($.getItem(A))&&$.removeItem(A),E(!1)}},6e3)}},[k,p,A,6e3]),s.useEffect(()=>{const e=()=>{H(!1)},t=t=>{"Escape"===t.key&&N&&H(!N),"Tab"===t.key&&(I.includes(t.target.innerText.toLowerCase())||e())},n=t=>{f.current&&!f.current.contains(t.target)&&e()};return document.addEventListener("keydown",t),document.addEventListener("click",n),()=>{document.removeEventListener("keydown",t),document.removeEventListener("click",n)}},[N,I]);const B=()=>{H(!N)},O=e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),H(!N))},_=s.createElement(y.gB,{className:"StandardNavigationSuccessLoginAlert",dataTestId:"success-login-tooltip",isVisible:x,onClose:()=>{E(!1),$.removeItem(A)},...p,arrowPosition:v()&&p?.arrowPositionOnMobile||p?.arrowPosition},s.createElement("p",null,p?.dangerousBookmarkMessage)),K=s.createElement(s.Fragment,null,k?s.createElement(y.Z_,{tabIndex:0,onKeyDown:O,"aria-expanded":N,onClick:B,ref:f},L&&s.createElement(y.kc,null),s.createElement(y.wG,{isAuthenticated:!0,tabIndex:0},s.createElement(y.Ts,{...e}),s.createElement(y.of,{"data-testid":"AccountDropdownToggleIcon"}))):s.createElement(y.Z_,{href:r,rel:"nofollow",as:"a","data-testid":"signIn"},L&&s.createElement(y.kc,null),s.createElement(y.wG,{isAuthenticated:!1},s.createElement(y.Ts,{...e}),s.createElement(y.Gy,null,a||b.formatMessage(m.A.signInLabel))))),P=s.createElement(s.Fragment,null,k?s.createElement(y.Z_,{tabIndex:0,onKeyDown:O,"aria-expanded":N,onClick:B,ref:f},t||b.formatMessage(m.A.accountLabel),s.createElement(y.of,{"data-testid":"AccountDropdownToggleIcon"})):s.createElement(y.Z_,{href:r,rel:"nofollow",as:"a","data-testid":"signIn"},a||b.formatMessage(m.A.signInLabel)));return s.createElement("div",{className:i()("standard-navigation-account",e&&"standard-navigation-account-with-avatar",o)},C&&s.createElement(s.Fragment,null,k&&!(!x||!Boolean($.getItem(A)))&&_,e?K:P,k&&s.createElement(y.vs,{className:e&&"account-dropdown__avatar-links",accountLinks:n,as:u.A,"data-testid":"StandardNavigationDropdown",expanded:N,utilityNavLinkColorToken:g})))};C.propTypes={accountAvatar:r().shape(p.A.propTypes),accountLabel:r().string,accountLinks:r().array,className:r().string,signInLabel:r().string,signInLink:r().string,tooltip:r().shape(b.A.propTypes),user:r().shape({isAuthenticated:r().bool.isRequired}),utilityNavLinkColorToken:r().string};const k=C},50417:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(13465),i=n(31581),a=n(62251);const r=(0,i.N)((0,o.y)(a.A,"ContributorHeader"))},50624:(e,t,n)=>{n.d(t,{N:()=>a,w:()=>i});var o=n(96540);const i=(0,o.createContext)({}),a=()=>(0,o.useContext)(i)},51054:(e,t,n)=>{n.d(t,{A:()=>p});var o=n(22354),i=n(5556),a=n.n(i),r=n(96540),s=n(38798);const l=(0,n(72267).defineMessages)({errorMessage:{id:"ErrorBoundary.ErrorMessage",defaultMessage:"An error occurred.",description:"Error message"}});var d=n(53499);const c=(e,t)=>{Sentry.withScope(n=>{n.setTags(t.tags),n.setExtras(t.extra),Sentry.captureException(e,t)})};class m extends r.Component{constructor(e){super(e),this.state={hasError:!1}}componentDidMount(){window.Kendra.TRACK_COMPONENT.broadcast(d.G.RENDER,{name:"ErrorBoundary"})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){const{sentryDSN:n}=this.props;if(!n)return;const o={extra:t,tags:{timestamp:(new Date).getTime(),errorContext:"client",source:"ErrorBoundary"}};"undefined"!=typeof Sentry?c(e,o):((e,t,n)=>{const o=document.createElement("script");o.setAttribute("async","async"),o.id="error-boundary-sentry-logging",o.integrity="sha384-aUot8tg7PBjpaNw1irUMJOYjTkC/Acnd2QwobKnxvPf97XlMHI4w3aO7zDWPRKfp",o.crossOrigin="anonymous",o.src="https://browser.sentry-cdn.com/7.17.3/bundle.es5.min.js",o.onload=()=>{Sentry.init({dsn:e,defaultIntegrations:!1}),c(t,n)},document.body.appendChild(o)})(n,e,o)}render(){const{intl:e}=this.props;return this.state.hasError?r.createElement("div",{className:"error-boundary"},e.formatMessage(l.errorMessage)):this.props.children}}m.propTypes={children:a().node,intl:a().object,sentryDSN:a().string};const u=(0,s.Ay)(m),p=(0,o.Ng)(e=>{const{sentry:t}=e;return{sentryDSN:t&&t.dsn}})(u)},51172:(e,t,n)=>{n.d(t,{A:()=>ke});var o=n(47655),i=n(5556),a=n.n(i),r=n(96540),s=n(65848),l=n(13465),d=n(6442);const c=(0,n(72267).defineMessages)({continueReadingText:{id:"SummarySpotlight.ContinueReading",defaultMessage:"Continue reading »",description:"Continue reading Summary Spotlight article."},selectedStoriesHeading:{id:"SummarySpotlight.SelectedStories",defaultMessage:"Selected Stories",description:"Title of the selected stories section"}});var m=n(52663),u=n(38267),p=n(26865),g=n(96472),h=n(99906),y=n(40653),b=n(68116);const f=u.Ay.div.withConfig({displayName:"SpotlightRelatedItems",hasBorder:!1})` margin-top: ${(0,p.Kq)(3)}; ${({template:e})=>"spotlight-contributor"===e&&u.AH` margin-top: ${(0,p.Kq)(5)}; `} ${(0,p.H4)(g.LO.md)} { margin-top: ${(0,p.Kq)(2)}; } a { text-decoration: none; } ${({single:e})=>e&&u.AH` ${(0,p.H4)(g.LO.md)} { align-self: unset; } ${y.A} { display: unset; } ${b.tP} { display: none; } `} ${(0,p.L7)(`${h.VS.md}px`)} { ${b.Rp} { grid-gap: ${(0,p.Kq)(1)}; grid-template-columns: none; } } .summary-item { border-top-width: 1px; border-top-style: solid; padding-top: ${(0,p.Kq)(2)}; ${b.IB} { margin-bottom: 0; &:hover { text-decoration: underline; } } ${({theme:e})=>(0,p._o)(e,"border-color","colors.discovery.body.white.border")}; } ${({hideSummaryItemBottomSpacing:e})=>e&&u.AH` ${b.tP} { margin-bottom: 0; } ${b.Tr} { padding-bottom: 0; } `} ${({showItemsAsList:e})=>e&&`\n ${y.A} {\n grid-template-columns: repeat(1, 1fr);\n grid-template-rows: repeat(2, auto);\n grid-column-gap: 0;\n }\n `} `,w=u.Ay.div.withConfig({displayName:"SpotlightRelatedItem"})` ${b.tP} { width: ${(0,p.Kq)(8)}; } a { text-decoration: none; } `;var $=n(86659),v=n(90090);const C=({items:e,shouldShowDangerousBottomDek:t,summaryItemVariation:n="SideBySideDense",summaryItemVariationWithNoAssest:o="TextBelowDesktopOnlyNoAsset",template:i,trackingNamespace:a,showItemsAsList:s,actionBarConfig:l})=>{if(!e.length)return null;const d=1===e.length,c="spotlight-contributor"===i?m.A[o]:m.A[n],u="spotlight-contributor"===i?"Author Spotlight/Recirc":a;return r.createElement(f,{single:d,"data-testid":"SpotlightRelatedItems",template:i,...t&&{hideSummaryItemBottomSpacing:!0},showItemsAsList:s},r.createElement($.A.NoMarginsTwoUp,null,e.map((e,t)=>r.createElement(w,{key:t,...e.image,...e,analyticsDataAttribute:(0,v.NY)(!0,u,"spotlight-contributor"===i?t:t+1),dangerousDek:`${e.dangerousHed}`,alternateClickHandlerStrategy:t=>((e,t)=>{const n=e.nativeEvent;(0,v.W8)(i,{hitType:"event",eventCategory:"click tracking",eventAction:{"data-section-title":u}}),n.target.parentElement.classList.contains("rubric__link")||(n.preventDefault(),n.metaKey?window.open(t.url,"_blank"):window.location=t.url)})(t,e),shouldHideDangerousHed:!0,shouldHideBylines:!0,hasBorder:!1,sideBySideVerticalAlign:"top","data-testid":"SpotlightRelatedItem",shouldShowAllContentWhenDense:!0,as:c,actionBarConfig:l}))))};C.propTypes={actionBarConfig:a().object,items:a().arrayOf(a().shape({categories:a().shape({tags:a().array}),contributors:a().shape({author:a().shape({items:a().arrayOf(a().shape({dangerousBio:a().string,dangerousTitle:a().string,name:a().string,socialMedia:a().array,url:a().string}))})}),dangerousDek:a().string,dangerousHed:a().string,image:a().object,url:a().string})).isRequired,shouldShowDangerousBottomDek:a().bool,showItemsAsList:a().bool,summaryItemVariation:a().string,summaryItemVariationWithNoAssest:a().string,template:a().oneOf(["spotlight-story","spotlight-contributor","spotlight-article"]).isRequired,trackingNamespace:a().string.isRequired};const k=C;var x=n(1817),E=n(35864),A=n(22539),S=n(63637),L=n(36211);const T=(0,u.Ay)(A.A).withConfig({displayName:"SelectedStoriesList"})``,N=u.Ay.section.withConfig({displayName:"SelectedStoriesGrid"})` ${(0,p.L7)(`${h.VS.md}px`)} { display: none; } ${T} { padding: 0; ${S.Rp} { display: grid; grid-template-areas: ${({isImageOnRight:e})=>e?"content image":"image content"}; grid-template-columns: ${({isImageOnRight:e,selectedStoriesImageWidth:t})=>e?`auto ${(0,p.Kq)(t||7.5)}`:`${(0,p.Kq)(t||7.5)} auto`}; gap: ${(0,p.Kq)(4)}; margin-bottom: ${(0,p.Kq)(2)}; padding-bottom: ${(0,p.Kq)(2)}; :last-of-type { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; } } ${b.Tr} { padding-top: 0; ${L.Y} { ${(0,p.Gg)("typography.definitions.discovery.hed-core-secondary")}; } ${b.IB} { margin: 0; } } } `,H=(0,u.Ay)(E.default).withConfig({displayName:"SelectedStoriesSectionTitle"})` ${(0,p.H4)(g.LO.md)} { margin-top: ${(0,p.Kq)(5)}; border-bottom-width: 1px; } ${(0,p.H4)(g.LO.md)} { margin-top: ${(0,p.Kq)(4)}; } h2 { ${({theme:e})=>(0,p.Gg)(e,"typography.definitions.discovery.subhed-section-secondary")}; justify-self: center; } ${(0,p.L7)(g.LO.md)} { margin-bottom: ${(0,p.Kq)(1)}; } ${(0,p.H4)(g.LO.md)} { margin-bottom: ${(0,p.Kq)(2)}; } `,I=u.Ay.section.withConfig({displayName:"SelectedStory"})` text-align: left; .summary-item__content { padding-bottom: 0; } `,B=u.Ay.section.withConfig({displayName:"SelectedStoriesCarousel"})` .selected-stories-carousel { margin-top: ${(0,p.Kq)(1)}; margin-bottom: ${(0,p.Kq)(5)}; .summary-item { width: ${(0,p.Kq)(23.75)}; } ${x.tU} { width: ${(0,p.Kq)(23.75)}; } } ${(0,p.H4)(g.LO.md)} { display: none; } `;var O=n(24277);const _=({items:e,sectionTitleVariation:t="TextCenter",selectedStoriesHeadline:n,selectedStoriesImageWidth:o,shouldUseDekForselectedStoriesHeadline:i=!1,summaryItemVariation:a="TextBelowDesktopOnlyThirds",shouldHideSelectedStoriesByline:s=!1,shouldHideSelectedStoriesHeadline:l=!1,shouldHideDangerousDek:m=!1,shouldShowStackedRatingsCard:u=!1,stackedRatingsCardProps:p,snowplowEvent:g,trackingNamespace:h,isImageOnRight:y,actionBarConfig:b})=>{const f=(0,d.A)();return e.length?r.createElement(N,{selectedStoriesImageWidth:o,isImageOnRight:y},!l&&r.createElement(H,{as:O.A[t],className:"SelectedStoriesSectionTitle",dangerousHed:i?n:f.formatMessage(c.selectedStoriesHeading),hasDividerBelow:!0}),r.createElement(T,{snowplowEvent:{...g,placement:"right-rail"},items:e,shouldHideFinalBorder:!0,shouldHideSponsoredAd:!0,hasMarginSpacing:!0,hideRubricItemSummary:!0,hasUnderlineHed:!1,shouldShowStackedRatingsCard:u,...p,shouldHideBylines:s,shouldHideDangerousDek:m,summaryItemVariation:a,trackingNamespace:h,shouldEnableBundleComponentAnalytics:!0,actionBarConfig:b})):null};_.propTypes={actionBarConfig:a().object,isImageOnRight:a().bool,items:a().arrayOf(a().shape({categories:a().shape({tags:a().array}),contributors:a().shape({author:a().shape({items:a().arrayOf(a().shape({dangerousBio:a().string,dangerousTitle:a().string,name:a().string,socialMedia:a().array,url:a().string}))})}),dangerousDek:a().string,dangerousHed:a().string,image:a().object,signalType:a().string,url:a().string})).isRequired,sectionTitleVariation:a().string,selectedStoriesHeadline:a().string,selectedStoriesImageWidth:a().number,shouldHideDangerousDek:a().bool,shouldHideSelectedStoriesByline:a().bool,shouldHideSelectedStoriesHeadline:a().bool,shouldShowStackedRatingsCard:a().bool,shouldUseDekForselectedStoriesHeadline:a().bool,snowplowEvent:a().object,stackedRatingsCardProps:a().object,summaryItemVariation:a().string,trackingNamespace:a().string.isRequired},_.displayName="LargeDeviceSelectedStories";const K=_;var P=n(68397),D=n(57642);const q=({items:e,isDotClickable:t=!1,sectionTitleVariation:n="TextCenter",selectedStoriesHeadline:o,shouldShowStackedRatingsCard:i=!1,shouldUseDekForselectedStoriesHeadline:a=!1,stackedRatingsCardProps:s,summaryItemVariation:l="TextBelowLeft",shouldHideSelectedStoriesHeadline:u=!1,shouldHideDangerousDek:p=!1,snowplowEvent:g,trackingNamespace:h,actionBarConfig:y})=>{const b=(0,d.A)();if(!e.length)return null;const f=m.A[l];return r.createElement(B,null,!u&&r.createElement(H,{as:O.A[n],className:"SelectedStoriesSectionTitle",dangerousHed:a?o:b.formatMessage(c.selectedStoriesHeading),hasDividerBelow:!1}),r.createElement(P.A,{className:"selected-stories-carousel",carouselSettings:{showControls:!1,hasPaginationDots:!0,isPaginationClickable:t}},e.map((t,n)=>r.createElement(P.A.CarouselItem,{key:t.copilotID,"data-testid":"SelectedStoriesSummaryList"},r.createElement(I,{...t.image,...t,...s,analyticsDataAttribute:(0,v.NY)(!0,h,n),snowplowEvent:g&&{...g,items:[{content_title:t.dangerousHed,content_url:t.url}],index:n,total_index:e.length,placement:"right-rail"},hideRubricItemSummary:!0,shouldHideBylines:!0,shouldHideDangerousDek:p,hasUnderlineHed:!1,hasBorder:!1,as:i?D.A:f,actionBarConfig:y})))))};q.propTypes={actionBarConfig:a().object,isDotClickable:a().bool,items:a().arrayOf(a().shape({categories:a().shape({tags:a().array}),contributors:a().shape({author:a().shape({items:a().arrayOf(a().shape({dangerousBio:a().string,dangerousTitle:a().string,name:a().string,socialMedia:a().array,url:a().string}))})}),dangerousDek:a().string,dangerousHed:a().string,image:a().object,signalType:a().string,url:a().string})).isRequired,sectionTitleVariation:a().string,selectedStoriesHeadline:a().string,shouldHideDangerousDek:a().bool,shouldHideSelectedStoriesHeadline:a().bool,shouldShowStackedRatingsCard:a().bool,shouldUseDekForselectedStoriesHeadline:a().bool,snowplowEvent:a().object,stackedRatingsCardProps:a().object,summaryItemVariation:a().string,trackingNamespace:a().string.isRequired},q.displayName="SmallDeviceSelectedStories";const M=q;var R=n(81520),F=n(86157),U=n(7228),V=n(87468),G=n(20388),W=n(76955);const j=(0,u.Ay)($.A.NoMarginsTwoUp).withConfig({displayName:"SummarySpotlightGrid"})` /* up to md screens, we should not render a grid */ ${(0,p.L7)(`${h.VS.lg}px`)} { && { display: unset; } } > ${y.E} { :nth-of-type(1) { text-align: center; } :nth-of-type(2) { display: flex; flex-direction: column; justify-content: space-between; ${(0,p.H4)(g.LO.xxl)} { grid-column: span 5; } } } `,z=u.Ay.h2.withConfig({displayName:"SpotlightMainFeatureHeader"})` margin: 0 auto; padding-bottom: ${(0,p.Kq)(3)}; text-align: center; text-transform: uppercase; ${({template:e})=>"spotlight-contributor"===e&&u.AH` ${(0,p.H4)(g.LO.md)} { padding-bottom: ${(0,p.Kq)(6)}; } `} ${({theme:e})=>u.AH` ${(0,p.Gg)(e,"typography.definitions.discovery.hed-feature")} ${(0,p._o)(e,"color","colors.discovery.body.light.heading")}; `}; ${(0,p.H4)(g.LO.lg)} { max-width: 80%; } a { text-decoration: none; color: inherit; &:hover { text-decoration: underline; } } `,Y=u.Ay.div.withConfig({displayName:"SpotlightMainFeatureCover"})``,X=u.Ay.div.withConfig({displayName:"SpotlightRatingWrapper"})` display: flex; flex-flow: column; justify-content: center; ${x.es} { display: flex; margin: auto; padding-top: 16px; width: 64%; ${(0,p.Xm)(g.LO.sm,`${h.VS.md}px`)} { margin: 0; } ${(0,p.Xm)(g.LO.md,`${h.VS.lg}px`)} { margin-bottom: ${(0,p.Kq)(6)}; } } `,Z=u.Ay.a.withConfig({displayName:"SpotlightMainFeatureCoverImageWrapper"})` display: flex; flex-direction: column; align-items: center; `,J=(0,u.Ay)(F.A).withConfig({displayName:"SpotlightMainFeatureCoverImage"})` display: inline-block; ${(0,p.H4)(g.LO.md)} { ${({shouldHaveLargerFeaturedImage:e})=>e?"max-width: 80%;":"max-width: 70%;"} } ${(0,p.H4)(g.LO.lg)} { ${U.BF} { object-fit: cover; ${({template:e})=>"spotlight-story"===e&&u.AH` max-height: 70vh; `} } } ${({template:e})=>"spotlight-contributor"===e&&u.AH` ${(0,p.H4)(g.LO.md)} { max-width: ${(0,p.Kq)(50)}; } ${(0,p.L7)(`${h.VS.md}px`)} { display: none; } `}; img { ${({hasRoundedCorners:e})=>e&&u.AH` border-radius: ${(0,p.Kq)(2)}; `} } `,Q=(0,u.Ay)(G.A).withConfig({displayName:"SpotlightMainFeatureCredit"})` grid-area: dek; padding: 0 5%; text-align: center; ${(0,p.L7)(`${h.VS.lg}px`)} { margin-bottom: ${(0,p.Kq)(3)}; } ${({theme:e})=>u.AH` ${(0,p._o)(e,"color","colors.discovery.body.light.heading")}; `}; ${(0,p.H4)(g.LO.md)} { padding: 0 20%; ${({template:e})=>"spotlight-contributor"===e&&u.AH` padding: 0; `} } ${({template:e})=>"spotlight-contributor"===e&&u.AH` margin-top: ${(0,p.Kq)(6)}; margin-bottom: 0; ${(0,p.H4)(g.LO.lg)} { margin-top: ${(0,p.Kq)(5)}; } ${(0,p.L7)(`${h.VS.md}px`)} { display: none; } ${(0,p.Xm)(g.LO.md,`${h.VS.lg}px`)} { margin: ${(0,p.Kq)(6)} 0; } `}; `,ee=(0,u.Ay)(V.A).withConfig({displayName:"SpotlightMainFeatureByline"})` margin-top: ${(0,p.Kq)(3)}; margin-bottom: ${(0,p.Kq)(.8)}; padding: 0; ${({template:e})=>"spotlight-contributor"===e&&u.AH` display: none; `}; span, a { ${(0,p.Gg)("typography.definitions.foundation.title-primary")}; } span { text-transform: uppercase; ${({theme:e})=>u.AH` ${(0,p._o)(e,"color","colors.discovery.body.light.heading")}; `}; } `,te=(0,u.Ay)(W.sH).withConfig({displayName:"SpotlightMainFeatureLink"})``,ne=u.Ay.div.withConfig({displayName:"SpotlightMainFeatureContent"})` ${({theme:e})=>u.AH` ${(0,p.Gg)(e,"typography.definitions.consumptionEditorial.body-core")} ${(0,p._o)(e,"color","colors.discovery.body.light.description")}; `}; ${(0,p.Xm)(g.LO.md,`${h.VS.xl}px`)} { ${({hasCustomPadding:e})=>e&&`padding-bottom: ${(0,p.Kq)(6)};`} } ${({template:e,shouldUseDropCap:t})=>t&&"spotlight-contributor"!==e&&u.AH` &::first-letter { ${({theme:e})=>(0,p.Gg)(e,"typography.definitions.consumptionEditorial.display-large")}; /* These values were hard-coded to work with the tny-fiction BI. If your brand has a requirement for the dropcap, there may be some custom styling needed. */ margin-bottom: ${(0,p.Kq)(-2)}; float: left; padding: 9px 4px 0 0px; ${({hasAdditionalDropcapStyling:e})=>e&&` padding: ${(0,p.Kq)(2)} ${(0,p.Kq)(2)} ${(0,p.Kq)(2)} 0;`} } `} /* We declare the styles here because SpotlightMainFeatureLink is wrapped in renderToStaticMarkup. styled-components sets a component's styles in the DOM after mounting, a phase that won't happen if we render this component to static HTML during the production build. */ ${te} { ${({theme:e})=>(0,p._o)(e,"color","colors.interactive.base.brand-primary")}; ${({hasSpecialStyleForFeatureLink:e,theme:t})=>e&&u.AH` ${(0,p._o)(t,"color","colors.consumption.body.standard.link")}; ${(0,p.Gg)(t,"typography.definitions.foundation.link-primary")} `} display: block; margin: ${(0,p.Kq)(3)} 0 0 0; width: 100%; height: auto; text-align: center; text-decoration: none; text-underline-offset: 5px; /* this was agreed in VQA and is not one of our theme values */ white-space: nowrap; ${(0,p.H4)(g.LO.md)} { display: inline-block; margin: 0 0 0 ${(0,p.Kq)(1)}; width: auto; text-align: unset; } } ${te}:hover { text-decoration: underline; } ${({hasMarginTopOnMobile:e})=>e&&u.AH` ${(0,p.L7)(`${h.VS.md}px`)} { margin-top: ${(0,p.Kq)(3)}; } `} ${({hasMarginTopOnTablet:e})=>e&&u.AH` ${(0,p.Xm)(g.LO.md,`${h.VS.lg}px`)} { margin-top: ${(0,p.Kq)(3)}; } `} a { ${({theme:e})=>u.AH` ${(0,p._o)(e,"color","colors.discovery.body.light.description")}; `}; } ${({shouldCenterContent:e})=>e&&u.AH` margin: auto; `} `,oe=u.Ay.div.withConfig({displayName:"SpotlightMainFeatureBottomWrapper"})` .spotlight-mobile-only-cta { display: block; margin-top: ${(0,p.Kq)(3)}; padding-bottom: ${(0,p.Kq)(1)}; text-align: center; text-decoration: underline; ${({theme:e})=>u.AH` ${(0,p.Gg)(e,"typography.definitions.utility.button-utility")} `}; @media (min-width: ${g.LO.md}) { display: none; } } `;var ie=n(14307),ae=n(1123),re=n(33500),se=n(18730),le=n(11586);const de=u.Ay.section.withConfig({displayName:"SpotlightSummaryContainer"})` padding: ${(0,p.Kq)(3)}; ${({shouldHaveBackgroundWhite:e,shouldUseLightColorBackground:t,isSpecialTheme:n,theme:o})=>e?`${(0,p._o)(o,"background-color","colors.background.white")};`:n?`${(0,p._o)(o,"background-color","colors.consumption.lead.special.background")};`:t?`${(0,p._o)(o,"background-color","colors.discovery.body.light.background")};`:`${(0,p._o)(o,"background-color","colors.background.light")};`} ${(0,p.H4)(g.LO.md)} { padding-top: ${(0,p.Kq)(6)}; padding-bottom: ${(0,p.Kq)(6)}; } ${(0,ae.VO)()} ${(0,ae.aU)("padding")} ${f} { ${le.fI} { position: absolute; right: ${(0,p.Kq)(.5)}; bottom: ${(0,p.Kq)(.5)}; background: transparent; height: ${(0,p.Kq)(3)}; ${le.eC} { border: none; background: none; text-decoration: none; } ${({theme:e})=>`\n ${(0,p._o)(e,"border-color","colors.discovery.body.black.border")};\n \n svg {\n path {\n ${(0,p._o)(e,"fill","colors.discovery.body.white.accent")};\n }\n }\n \n `} } } `,ce=u.Ay.div.withConfig({displayName:"SpotlightSummaryInnerContainer"})` margin: 0 auto; max-width: calc(${g.LO.xxl} - (2 * ${(0,p.Kq)(8)})); `,me=u.Ay.div.withConfig({displayName:"SpotlightSummarySingleColumn"})` .summary-item { width: 100%; } `,ue=(0,u.Ay)(E.default).withConfig({displayName:"SpotlightHeader"})` ${({shouldUseDekForselectedStoriesHeadline:e,showSectionTitleInsideContent:t,shouldStackHedAndDek:n})=>!e&&!t&&!n&&u.AH` display: flex; justify-content: space-between; `} ${({template:e})=>"spotlight-contributor"===e&&u.AH` ${(0,p.L7)(`${h.VS.md}px`)} { display: block; ${re.bU} { width: 100%; text-align: center; } } `} ${({shouldCenterSectionTitleHedOnMobile:e})=>e&&u.AH` ${(0,p.L7)(`${h.VS.md}px`)} { ${re.bU} { justify-self: center; } } `} margin-bottom: ${(0,p.Kq)(3)}; ${({shouldShowHeaderDivider:e})=>!e&&`border-bottom: ${(0,p.Kq)(.125)} solid\n ${(0,p.HK)("colors.discovery.body.white.accent")};\n `} padding-bottom: ${(0,p.Kq)(2)}; ${(0,p.H4)(g.LO.md)} { margin-bottom: ${(0,p.Kq)(4)}; } ${re.sM} { margin-top: 0; padding-top: 0; text-underline-offset: 3px; /* this was agreed in VQA and is not one of our theme values */ ${({theme:e})=>(0,p.pe)(e,"colors.foundation.collapsed-menu.utility-link.default","colors.foundation.collapsed-menu.utility-link.hover","navigation")} ${({theme:e})=>(0,p.Gg)(e,"typography.definitions.foundation.link-primary")}; a { text-decoration: none; transition-duration: unset; &:hover { text-decoration: underline; } } ${({template:e})=>"spotlight-contributor"===e&&u.AH` ${(0,p.L7)(`${h.VS.md}px`)} { display: none; } `} ${({shouldStackHedAndDek:e})=>e&&u.AH` padding-top: ${(0,p.Kq)(1.5,"px")}; `} } ${({showSectionTitleInsideContent:e})=>e&&u.AH` margin-bottom: ${(0,p.Kq)(1,"px")}; border-bottom: none; padding-bottom: 0; ${(0,p.H4)(g.LO.md)} { margin-bottom: ${(0,p.Kq)(1,"px")}; } ${re.bU} { ${(0,p.Gg)("typography.definitions.discovery.subhed-section-tertiary")} } `} `,pe=(0,u.Ay)(se.v).withConfig({displayName:"SpotlightDangerousBottomDek"})` margin-top: ${({hasEnhancedTopSpacing:e})=>(0,p.Kq)(e?2:3)}; text-align: center; ${(0,p.H4)(g.LO.lg)} { text-align: left; } ${({hideOnTabletDesktop:e})=>e&&u.AH` ${(0,p.H4)(g.LO.md)} { display: none; } `} ${({theme:e})=>(0,p.Gg)(e,"typography.definitions.foundation.link-primary")}; a { text-decoration: none; } `,ge=u.Ay.section.withConfig({displayName:"SpotlightSummaryGrid"})` display: grid; ${(0,ae.VO)()} grid-template-areas: 'stories' 'body'; grid-template-columns: 100%; ${(0,p.H4)(g.LO.md)} { grid-template-areas: 'body'; } `,he=(u.Ay.h2.withConfig({displayName:"SpotlightMainFeatureHeader"})` margin: 0 auto; padding-bottom: ${(0,p.Kq)(3)}; text-align: center; text-transform: uppercase; ${({theme:e})=>u.AH` ${(0,p.Gg)(e,"typography.definitions.discovery.hed-feature")} ${(0,p._o)(e,"color","colors.discovery.body.brand.heading")}; `}; ${(0,p.H4)(g.LO.lg)} { max-width: 80%; } `,(0,u.Ay)(W.sH).withConfig({displayName:"SpotlightContinueReadingLink"})``);he.defaultProps={colorToken:"colors.interactive.base.black",linkStyle:"navigation",typeToken:"typography.definitions.utility.button-utility"};const ye="Author Spotlight/Story",be=({bookmarkId:e,commentingCtaUrl:t,contentType:n,contributors:o,copilotID:i,customizedContinueReadingText:a,dangerousDek:l,dangerousHed:m,hasBookmark:u,hasCustomPadding:p,hasMarginTopOnMobile:g=!1,hasMarginTopOnTablet:h=!1,hasNativeImgLazyLoading:y,hasRating:b=!1,hasSpecialStyleForFeatureLink:f=!1,hasRoundedCorners:w,hedTag:$,image:C,iconBookmarkOnClickHandler:x,isDotClickable:E=!1,isImageOnRight:A=!1,rating:S,related:L=[],reviewsCount:T,rubric:N,sectionTitleDangerousHed:H,showSectionTitleInsideContent:I,sectionTitleVariation:B="TextCenter",selectedStories:_=[],selectedStoriesHeadline:P,selectedStoriesImageWidth:D,shouldUseDekForselectedStoriesHeadline:q=!1,shouldHideDangerousDek:F,shouldHaveLargerFeaturedImage:U=!1,shouldHideSelectedStoriesHeadline:V=!1,shouldHideFeatureItemHeader:G=!1,shouldHideFeatureItemByline:W=!1,shouldHideSelectedStoriesByline:ae=!1,shouldHideFeatureItemCaption:re=!1,shouldLazyLoadCoverImage:se=!1,shouldShowMobileCta:le=!1,shouldUseDropCap:de=!1,hasAdditionalDropcapStyling:ce=!1,shouldShowDangerousBottomDek:me,shouldShowSelectedStoriesBelowInMobile:ge=!1,shouldShowStackedRatingsCard:be=!1,stackedRatingsCardProps:fe,snowplowEvent:we,summaryItemVariation:$e,summaryItemVariationWithNoAssest:ve,template:Ce,url:ke,showItemsAsList:xe,shouldCenterContent:Ee=!1,signalType:Ae,actionBarConfig:Se,shouldHideCustmizeText:Le})=>{const Te=(0,d.A)(),Ne="spotlight-story"===Ce?`Story Spotlight/${N.name}`:`Author Spotlight/${m}`,He=(e=!1)=>{const t=(0,v.NY)(!0,Ne,0);return e&&(t["data-section-title"]=`${t["data-section-title"]}-image`),{...t,href:ke}},Ie={dangerousHed:H,className:"SpotlightSectionTitle"},Be={...we&&we,subject:"summary_spotlight",type:"click"};return r.createElement(j,null,r.createElement(Y,null,I&&r.createElement(ue,{as:O.A[B],shouldUseDekForselectedStoriesHeadline:q,showSectionTitleInsideContent:I,...Ie,template:Ce}),!G&&r.createElement(z,{"data-testid":"SpotlightMainFeatureHeader",as:$,dangerouslySetInnerHTML:{__html:(0,s.qV)(r.createElement("a",{...He()},m))},onClick:()=>(0,ie.kg)({...Be,placement:"hero",items:[{content_title:m,content_url:window&&window.location.origin+ke,content_id:i,content_type:n}]}),template:Ce}),!ge&&r.createElement(M,{snowplowEvent:Be,items:_,shouldHideSelectedStoriesHeadline:V,sectionTitleVariation:B,selectedStoriesHeadline:P,shouldUseDekForselectedStoriesHeadline:q,shouldHideDangerousDek:F,isDotClickable:E,trackingNamespace:ye,actionBarConfig:Se}),r.createElement(X,{hasCustomPadding:p},r.createElement(Z,{...He(!0),tabIndex:"-1",onClick:()=>(0,ie.kg)({...Be,placement:"hero",items:[{content_title:m,content_url:window&&window.location.origin+ke,content_id:i,content_type:n}]})},r.createElement(J,{"data-testid":"SpotlightCoverImage",template:Ce,hasNativeImgLazyLoading:y,shouldHaveLargerFeaturedImage:U,isLazy:se,...C,hasRoundedCorners:w,signalType:Ae,actionBarConfig:Se})),b&&(0,R.Z)(S,fe.ratingMethod,T,u,e,x)),!W&&r.createElement(ee,{"data-testid":"SpotlightAuthorName",contributors:o,template:Ce}),!re&&r.createElement(Q,{"data-testid":"SpotlightMainFeatureCredit",dangerousCaptionText:"spotlight-contributor"===Ce?"":C.caption,dangerousCredit:C.credit,template:Ce})),r.createElement(r.Fragment,null,r.createElement(ne,{"data-testid":"SpotlightMainFeatureContent",dangerouslySetInnerHTML:{__html:l+("spotlight-contributor"===Ce||Le?"":(0,s.qV)(r.createElement(te,{tabIndex:"-1",...He(),dangerouslySetInnerHTML:{__html:a||Te.formatMessage(c.continueReadingText)}})))},shouldUseDropCap:de,hasAdditionalDropcapStyling:ce,hasMarginTopOnMobile:g,hasMarginTopOnTablet:h,template:Ce,hasSpecialStyleForFeatureLink:f,hasCustomPadding:p,shouldCenterContent:Ee}),r.createElement(K,{snowplowEvent:Be,items:_,sectionTitleVariation:B,selectedStoriesHeadline:P,shouldUseDekForselectedStoriesHeadline:q,stackedRatingsCardProps:fe,shouldShowStackedRatingsCard:be,shouldHideSelectedStoriesByline:ae,shouldHideSelectedStoriesHeadline:V,shouldHideDangerousDek:F,summaryItemVariation:A?$e:void 0,trackingNamespace:ye,isImageOnRight:A,selectedStoriesImageWidth:D,actionBarConfig:Se}),ge&&r.createElement(M,{snowplowEvent:Be,items:_,shouldHideSelectedStoriesHeadline:V,stackedRatingsCardProps:fe,shouldShowStackedRatingsCard:be,sectionTitleVariation:B,selectedStoriesHeadline:P,shouldUseDekForselectedStoriesHeadline:q,shouldHideDangerousDek:F,isDotClickable:E,trackingNamespace:ye}),r.createElement(oe,null,r.createElement(k,{items:L,...me&&P&&{shouldShowDangerousBottomDek:me},summaryItemVariation:$e,summaryItemVariationWithNoAssest:ve,template:Ce,trackingNamespace:Ne,showItemsAsList:xe,actionBarConfig:Se}),me&&P&&r.createElement(pe,{dangerouslySetInnerHTML:{__html:P},hasEnhancedTopSpacing:me}),t&&a&&le&&r.createElement(he,{href:t,dangerouslySetInnerHTML:{__html:a},className:"spotlight-mobile-only-cta"}))))};be.propTypes={actionBarConfig:a().object,bookmarkId:a().string,commentingCtaUrl:a().string,contentType:a().string,contributors:a().shape({author:a().shape({items:a().arrayOf(a().shape({dangerousBio:a().string,dangerousTitle:a().string,name:a().string,socialMedia:a().array,url:a().string}))})}).isRequired,copilotID:a().string,customizedContinueReadingText:a().string,dangerousDek:a().string.isRequired,dangerousHed:a().string.isRequired,hasAdditionalDropcapStyling:a().bool,hasBookmark:a().bool,hasCustomPadding:a().bool,hasMarginTopOnMobile:a().bool,hasMarginTopOnTablet:a().bool,hasNativeImgLazyLoading:a().bool,hasRating:a().bool,hasRoundedCorners:a().bool,hasSpecialStyleForFeatureLink:a().bool,hedTag:a().string,iconBookmarkOnClickHandler:a().func,image:a().object.isRequired,isDotClickable:a().bool,isImageOnRight:a().bool,rating:a().number,related:a().arrayOf(a().shape({dangerousBio:a().string,dangerousTitle:a().string,name:a().string,socialMedia:a().array,url:a().string})),reviewsCount:a().number,rubric:a().shape({name:a().string}),sectionTitleDangerousHed:a().string,sectionTitleVariation:a().string,selectedStories:a().arrayOf(a().shape({dangerousBio:a().string,dangerousTitle:a().string,name:a().string,socialMedia:a().array,url:a().string})),selectedStoriesHeadline:a().string,selectedStoriesImageWidth:a().number,shouldHaveLargerFeaturedImage:a().bool,shouldHideCustmizeText:a().bool,shouldHideDangerousDek:a().bool,shouldHideFeatureItemByline:a().bool,shouldHideFeatureItemCaption:a().bool,shouldHideFeatureItemHeader:a().bool,shouldHideSelectedStoriesByline:a().bool,shouldHideSelectedStoriesHeadline:a().bool,shouldLazyLoadCoverImage:a().bool,shouldShowMobileCta:a().bool,shouldShowDangerousBottomDek:a().bool,shouldShowSelectedStoriesBelowInMobile:a().bool,shouldShowStackedRatingsCard:a().bool,shouldUseDekForselectedStoriesHeadline:a().bool,shouldUseDropCap:a().bool,shouldCenterContent:a().bool,showItemsAsList:a().bool,showSectionTitleInsideContent:a().bool,signalType:a().string,snowplowEvent:a().object,stackedRatingsCardProps:a().object,summaryItemVariation:a().string,summaryItemVariationWithNoAssest:a().string,template:a().oneOf(["spotlight-story","spotlight-contributor","spotlight-article"]),url:a().string.isRequired};const fe=be;var we=n(53499),$e=n(61229);const ve=({customizedContinueReadingText:e,dangerousHed:t,dangerousDek:n,hasCustomPadding:o,hasMarginTopOnMobile:i=!1,hasMarginTopOnTablet:a=!1,hasRating:l,hasRoundedCorners:d,hasSpecialStyleForFeatureLink:c=!1,hedTag:m,items:u,isDotClickable:p=!1,isImageOnRight:h=!1,isSpecialTheme:y=!1,sectionTitleVariation:b="TextLeftWithLineBelowTitle",selectedStories:f,selectedStoriesImageWidth:w,shouldUseDekForselectedStoriesHeadline:$=!1,shouldHaveBackgroundWhite:v=!1,shouldHideDangerousDek:C=!1,shouldHaveLargerFeaturedImage:k=!1,shouldHideSelectedStoriesHeadline:x=!1,shouldHideFeatureItemHeader:E=!1,shouldHideFeatureItemCaption:A=!1,shouldHideFeatureItemByline:S=!1,shouldHideSelectedStoriesByline:L=!1,shouldLazyLoadCoverImage:T=!1,shouldUseLightColorBackground:N=!1,shouldUseMainContentDropCap:H,hasAdditionalDropcapStyling:I=!1,shouldShowDangerousBottomDek:B=!1,shouldShowSelectedStoriesBelowInMobile:_=!1,shouldShowHeaderDivider:K=!1,shouldShowStackedRatingsCard:P=!1,shouldStackHedAndDek:D=!1,shouldUseLargeIconSize:q=!1,shouldShowHeaderCta:M=!1,shouldShowMobileCta:R=!1,shouldCenterContent:F=!1,shouldCenterSectionTitleHedOnMobile:U=!1,stackedRatingsCardRatingMethod:V,summaryItemVariation:G,summaryItemVariationWithNoAssest:W,template:j,showItemsAsList:z,shouldHideCustmizeText:Y,actionBarConfig:X,variations:{showSectionTitleInsideContent:Z}={}})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(we.G.RENDER,{name:"SummarySpotlight"})},[]);let J={};P&&(J={shouldUseLargeIconSize:q,hasIcon:!0,hideRubric:!1,ratingMethod:V});const Q=u[0],ee=e&&(M||R)?`${Q.url}#${g.h2}`:null,te={dangerousDek:$?"":n,dangerousHed:t,hasDividerBelow:!0,className:"SpotlightSectionTitle",hasDividerAbove:K,link:ee&&M?{html:(0,s.qV)(r.createElement(he,{href:ee,className:"spotlight-desktop-only-cta"},e))}:null};return r.createElement(de,{"data-testid":"SpotlightSummaryContainer",shouldHaveBackgroundWhite:v,shouldUseLightColorBackground:N,isSpecialTheme:y},r.createElement(ce,null,r.createElement(me,null,!Z&&r.createElement(ue,{"data-testid":"SpotlightOuterSectionTitle",as:O.A[b],shouldUseDekForselectedStoriesHeadline:$,shouldStackHedAndDek:D,shouldShowHeaderDivider:K,shouldCenterSectionTitleHedOnMobile:U,...te,template:j}),r.createElement(ge,null,r.createElement(fe,{...Q,customizedContinueReadingText:e,commentingCtaUrl:ee,shouldShowMobileCta:R,sectionTitleVariation:b,showSectionTitleInsideContent:Z,...Z&&{sectionTitleDangerousHed:t},...t&&{snowplowEvent:{label:t}},selectedStoriesHeadline:n,selectedStoriesImageWidth:w,hasMarginTopOnMobile:i,hasMarginTopOnTablet:a,related:u.slice(1),selectedStories:f,isDotClickable:p,isImageOnRight:h,hedTag:m,shouldHideFeatureItemHeader:E,shouldUseDropCap:H,hasAdditionalDropcapStyling:I,shouldHideSelectedStoriesHeadline:x,stackedRatingsCardProps:J,shouldUseDekForselectedStoriesHeadline:$,shouldShowDangerousBottomDek:B,shouldShowSelectedStoriesBelowInMobile:_,hasRating:l,shouldShowStackedRatingsCard:P,shouldHaveLargerFeaturedImage:k,shouldHideFeatureItemCaption:A,shouldHideDangerousDek:C,shouldHideFeatureItemByline:S,shouldHideSelectedStoriesByline:L,summaryItemVariation:G,summaryItemVariationWithNoAssest:W,template:j,hasSpecialStyleForFeatureLink:c,showItemsAsList:z,shouldLazyLoadCoverImage:T,hasRoundedCorners:d,shouldHideCustmizeText:Y,hasCustomPadding:o,shouldCenterContent:F,actionBarConfig:X})),!B&&"spotlight-contributor"===j&&r.createElement(pe,{"data-testid":"SpotlightMobileDangerousDek",dangerouslySetInnerHTML:{__html:n},hideOnTabletDesktop:!0}))))};ve.propTypes={actionBarConfig:a().object,customizedContinueReadingText:a().string,dangerousDek:a().string.isRequired,dangerousHed:a().string.isRequired,hasAdditionalDropcapStyling:a().bool,hasCustomPadding:a().bool,hasMarginTopOnMobile:a().bool,hasMarginTopOnTablet:a().bool,hasRating:a().bool,hasRoundedCorners:a().bool,hasSpecialStyleForFeatureLink:a().bool,hedTag:a().string,isDotClickable:a().bool,isImageOnRight:a().bool,isSpecialTheme:a().bool,items:a().arrayOf(a().shape({categories:a().shape({tags:a().array}),contributors:a().shape({author:a().shape({items:a().arrayOf(a().shape({dangerousBio:a().string,dangerousTitle:a().string,name:a().string,socialMedia:a().array,url:a().string}))})}),dangerousDek:a().string,dangerousHed:a().string,contentType:a().string,copilotID:a().string,image:a().object,url:a().string})).isRequired,sectionTitleVariation:a().string,selectedStories:a().arrayOf(a().shape({categories:a().shape({tags:a().array}),contributors:a().shape({author:a().shape({items:a().arrayOf(a().shape({dangerousBio:a().string,dangerousTitle:a().string,name:a().string,socialMedia:a().array,url:a().string}))})}),dangerousDek:a().string,dangerousHed:a().string,id:a().string,image:a().object,url:a().string})),selectedStoriesImageWidth:a().number,shouldHaveBackgroundWhite:a().bool,shouldHaveLargerFeaturedImage:a().bool,shouldHideCustmizeText:a().bool,shouldHideDangerousDek:a().bool,shouldHideFeatureItemByline:a().bool,shouldHideFeatureItemCaption:a().bool,shouldHideFeatureItemHeader:a().bool,shouldHideSelectedStoriesByline:a().bool,shouldHideSelectedStoriesHeadline:a().bool,shouldLazyLoadCoverImage:a().bool,shouldShowHeaderCta:a().bool,shouldShowMobileCta:a().bool,shouldShowDangerousBottomDek:a().bool,shouldShowHeaderDivider:a().bool,shouldShowSelectedStoriesBelowInMobile:a().bool,shouldShowStackedRatingsCard:a().bool,shouldStackHedAndDek:a().bool,shouldUseDekForselectedStoriesHeadline:a().bool,shouldUseLargeIconSize:a().bool,shouldUseLightColorBackground:a().bool,shouldUseMainContentDropCap:a().bool,shouldCenterContent:a().bool,shouldCenterSectionTitleHedOnMobile:a().bool,showItemsAsList:a().bool,stackedRatingsCardRatingMethod:a().string,summaryItemVariation:a().string,summaryItemVariationWithNoAssest:a().string,template:a().oneOf(["spotlight-story","spotlight-contributor","spotlight-article"]).isRequired,variations:a().shape({showSectionTitleInsideContent:a().bool})},ve.displayName="SummarySpotlight";const Ce=(0,l.y)((0,$e.j)(ve),"SummarySpotlight");Ce.StorySummarySpotlight=(0,o.y)(Ce,"StorySummarySpotlight",{showSectionTitleInsideContent:!0},{sectionTitleVariation:"TextCenter",shouldShowDangerousBottomDek:!0,shouldLazyLoadCoverImage:!0,showItemsAsList:!1}),Ce.ContributorSummarySpotlight=(0,o.y)(Ce,"ContributorSummarySpotlight",{showSectionTitleInsideContent:!0},{sectionTitleVariation:"TextCenter",shouldShowDangerousBottomDek:!0,shouldLazyLoadCoverImage:!0});const ke=Ce},51211:(e,t,n)=>{n.d(t,{A:()=>T});var o=n(5556),i=n.n(o),a=n(96540),r=n(6442),s=n(53499),l=n(38267),d=n(76955),c=n(26865),m=n(96472);const u=l.Ay.div.withConfig({displayName:"FeedItemWrapper"})` border-width: 0 0 1px; border-style: solid; ${({theme:e})=>(0,c._o)(e,"border-color","colors.discovery.body.white.divider")}; padding-top: ${(0,c.Kq)(2)}; padding-bottom: ${(0,c.Kq)(2)}; text-align: left; @media (min-width: ${m.LO.md}) { display: grid; grid-column: 1 / span 12; grid-template-columns: repeat(12, 1fr); } &:first-of-type { border: 1px 0 0; border-style: solid; ${({theme:e})=>(0,c._o)(e,"border-color","colors.discovery.body.white.divider")}; } `,p=l.Ay.time.withConfig({displayName:"FeedItemTime"})` ${({theme:e})=>(0,c.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")}; display: block; margin-bottom: ${(0,c.Kq)(2)}; ${({theme:e})=>(0,c._o)(e,"color","colors.discovery.body.white.context-tertiary")}; @media (min-width: ${m.LO.md}) { grid-column: 1; margin-top: ${(0,c.Kq)(.5)}; } `,g=l.Ay.div.withConfig({displayName:"FeedItemContent"})` @media (min-width: ${m.LO.md}) { grid-column: 2 / span 8; margin-top: ${(0,c.Kq)(.5)}; } `,h=(0,l.Ay)(d.sH).withConfig({displayName:"FeedItemLink"})` margin-top: 0; margin-bottom: ${(0,c.Kq)(2)}; text-decoration: none; &:hover, &:focus { text-decoration: underline; } `;h.defaultProps={colorToken:"colors.discovery.body.white.heading",typeToken:"typography.definitions.discovery.hed-bulletin-primary"};const y=(0,l.Ay)(d.vm).withConfig({displayName:"FeedItemHead"})` margin-top: 0; margin-bottom: ${(0,c.Kq)(2)}; text-decoration: none; &:hover, &:focus { text-decoration: underline; } `;y.defaultProps={as:"h2",colorToken:"colors.discovery.body.white.heading",typeIdentity:"typography.definitions.discovery.hed-bulletin-primary"};const b=l.Ay.div.withConfig({displayName:"FeedItemDek"})` ${({theme:e})=>(0,c.Gg)(e,"typography.definitions.discovery.description-core")}; ${({theme:e})=>(0,c._o)(e,"color","colors.discovery.body.white.description")}; `,f=({className:e,dangerousDek:t,dangerousHed:n,href:o,publishDate:i})=>(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"FeedItem"})},[]),a.createElement(u,{className:e},a.createElement(p,null,i),a.createElement(g,null,a.createElement(h,{href:o},a.createElement(y,{dangerouslySetInnerHTML:{__html:n}})),a.createElement(b,{dangerouslySetInnerHTML:{__html:t}}))));f.propTypes={className:i().string,dangerousDek:i().string.isRequired,dangerousHed:i().string.isRequired,href:i().string.isRequired,publishDate:i().string.isRequired},f.displayName="FeedItem";const w=f;var $=n(48188),v=n(35864);const C=(0,n(72267).defineMessages)({loadMoreNewsPreamble:{id:"NewsFeed.LoadMoreNewsPreamble",defaultMessage:"Show More News",description:"News feed component button label preamble"}});var k=n(84248);const x=l.Ay.div.withConfig({displayName:"NewsFeedWrapper"})` @media (min-width: ${m.LO.md}) { display: grid; grid-template-columns: repeat(12, 1fr); } `,E=l.Ay.div.withConfig({displayName:"NewsFeedSectionTitle"})` grid-column: 1 / span 12; margin-bottom: ${(0,c.Kq)(2)}; `,A=(0,l.Ay)(k.A).withConfig({displayName:"NewsFeedContentTabs"})``,S=(0,l.Ay)($.A.Section).withConfig({displayName:"NewsFeedContentNavigation"})``,L=({className:e,dangerousHed:t,defaultTab:n,feed:o,links:i,sectionTitleVariation:l="TextCenter",shouldUseTabs:d=!1})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"NewsFeed"})},[]);const c=(0,r.A)(),m=v.default[l],u=o.map(e=>e.map((e,t)=>a.createElement(w,{...e,key:t}))),p=d?a.createElement(A,{buttonLabel:c.formatMessage(C.loadMoreNewsPreamble),defaultTab:n,tabContent:u,tabLabels:i}):a.createElement(a.Fragment,null,a.createElement(S,{attributes:{"aria-label":"Secondary",tabIndex:0},hasBorder:!0,justify:"center",links:i}),u);return a.createElement(x,{className:e,"data-testid":"NewsFeedWrapper"},t&&a.createElement(E,{as:m,dangerousHed:t,"data-testid":"NewsFeedSectionTitle",hedTag:"h2"}),p)};L.propTypes={className:i().string,dangerousHed:i().string,defaultTab:i().number,feed:i().arrayOf(i().arrayOf(i().shape(w.propTypes))).isRequired,links:i().arrayOf(i().shape($.A.propTypes.links)).isRequired,sectionTitleVariation:i().string,shouldUseTabs:i().bool};const T=L},51298:(e,t,n)=>{n.d(t,{A:()=>Un});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(62193),d=n.n(l),c=n(19607),m=n(11542),u=n(53499),p=n(38267),g=n(96472);const h=p.Ay.div.withConfig({displayName:"InterstitialWrapper"})` position: fixed; z-index: ${g.KV.interstitialLayer}; `,y=({children:e})=>(s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"Interstitial"})},[]),s.createElement(h,null,e));y.propTypes={children:r().node};const b=y;var f=n(62282),w=n(38080),$=n(49870),v=n.n($),C=n(7307),k=n(45102),x=n(90090),E=n(31170);const A=e=>{const t=e.displayName||e.name||"Component";class n extends s.Component{componentDidUpdate(){this.emit()}emitIncognitoDetectionEvent(){(this.props.browser||{}).incognitoMode&&x.Uc.emitUniqueGoogleTrackingEvent("privacy-mode-true")}emitSparrowInViewPaywallTrackingEvent(){const{cnt:e,max:t,name:n,position:o}=function(e){const{name:t,position:n}=e,o=e.payment||{};let i,a;return o.form&&({max:a,cnt:i}=o[o.form]||{}),{cnt:i,max:a,name:t,position:n}}(this.props),i=t&&e&&t-e,a=o||n,r={...e&&{dim2:e},...i&&{dim3:i},...a&&{dim4:a}};E.Ay.emitUniqueSparrowTrackingEvent("paywall","in-view",r)}emit(){const{isVisible:e}=this.props;e&&(this.emitSparrowInViewPaywallTrackingEvent(),this.emitIncognitoDetectionEvent())}render(){return s.createElement(e,{...this.props})}}return n.propTypes={browser:r().shape({incognitoMode:r().bool}),isVisible:r().bool,name:r().string,payment:r().shape({sample:r().shape({cnt:r().number,max:r().number})}),position:r().string},n.displayName=`withAnalytics(${t})`,n};var S=n(56822);const L=e=>{const t=e.displayName||e.name||"Component",n=t,o="initialize-start",i="initialize-end";class a extends s.Component{constructor(t){super(t),this.render=()=>s.createElement(e,{...this.props}),(0,S.N9)((0,S.hK)(n,o))}componentDidMount(){(0,S.N9)((0,S.hK)(n,i)),(0,S.I6)((0,S._l)(n,o,i))}}return a.displayName=`withLifecycleTiming(${t})`,a};var T=n(20249),N=n.n(T);const H=e=>{let t=e.target.id||e.target.className||e.target.tagName;e.target.innerText&&(t+=`-${e.target.innerText}`),t=N()(t),E.Ay.trackSparrowEvent("paywall","click",{dim7:t})},I={},B=v()([L,A,e=>{const t=e.displayName||e.name||"Component",n=t=>s.createElement("div",{onClick:H,role:"none"},s.createElement(e,{...t}));return n.displayName=`withPaywallSparrowClickTracking(${t})`,n}]),O=e=>{s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"PaywallConductor"})},[]);const{component:t,name:n,payment:o,paywall:i}=e;if(void 0===o.form)return null;if(void 0===i.strategy)return null;const a=C.A[e.strategy||i.strategy];if(void 0===a)return null;if(!a.names.includes(n))return null;const r=I[n]||B(t);return I[n]=r,s.createElement(r,{...k.A.execute(a,e)})};O.propTypes={component:r().func.isRequired,logo:r().object,name:r().string.isRequired,payment:r().object.isRequired,paywall:r().shape({strategy:r().string}),strategy:r().string,user:r().object.isRequired},O.displayName="PaywallConductor";const _=O;var K=n(2404),P=n.n(K),D=n(59867);const q=(e,t="scrolling")=>{const n=e.displayName||e.name;class o extends s.Component{constructor(){super(),this.setScrollState=e=>{const{scrollTop:t}=e.target.scrollingElement,n=function(e,t){const n=e-t;return n<0?"up":n>0?"down":""}(t,this.state.scrollTop),o=n&&n!==this.state.direction;this.setState({scrollTop:t}),o&&this.setState({direction:n})},this.render=()=>{const n={[t]:{direction:this.state.direction}};return s.createElement(e,{...this.props,...n})},this.state={scrollTop:0},this.setScrollState=this.setScrollState.bind(this),this.scrollSubscription=null}componentDidMount(){this.scrollSubscription=window.Kendra.WINDOW_EVENT.on(D.m.SCROLL_THROTTLE,this.setScrollState)}shouldComponentUpdate(e,t){return!P()(this.props,e)||this.state.direction!==t.direction}componentWillUnmount(){this.scrollSubscription&&(this.scrollSubscription.off(),this.scrollSubscription=null)}}return o.displayName=`withScrollingState(${n})`,o};var M=n(15356),R=n(13465);const F=(0,m.z5)("logo"),U=(0,m.z5)("user"),V=(0,m.z5)("paywall"),G=(0,m.z5)("payment"),W=(0,M.qj)({name:"footer",className:"site-footer"}),j=v()([M.qw,V,U,G,q,W,F])((0,R.y)(_,"PaywallConductor"));var z=n(49741),Y=n(46511),X=n(14363),Z=n(7760),J=n(85152),Q=n(24608),ee=n(64663);const te=({apiKey:e})=>{const t=(0,s.useContext)(ee.c$);return(0,s.useEffect)(()=>{t.performance&&(()=>{if(!document.getElementById("parsely-script")){const e=document.createElement("script");e.id="parsely-script",e.src="https://d1z2jf7jlzjs58.cloudfront.net/p.js",document.body.appendChild(e)}})()},[t.performance]),s.createElement(s.Fragment,null,s.createElement("div",{id:"parsely-root",style:{display:"none"}},s.createElement("div",{id:"parsely-cfg","data-parsely-site":e})),s.createElement("script",{dangerouslySetInnerHTML:{__html:"\n window.PARSELY = {\n autotrack: false,\n onReady: () => { window.PARSELY.resolver(); }\n };\n window.PARSELY.ready = new Promise((resolver) => { window.PARSELY.resolver = resolver; });\n "}}))};te.propTypes={apiKey:r().string.isRequired};const ne=te;var oe=n(58514),ie=n(72631),ae=n(88631),re=n(51257),se=n(33735);const le=p.Ay.aside.withConfig({displayName:"PaywallModalWrapper"})` position: fixed; top: 0; transition: height 0s, width 0s; overflow: hidden; @media print { display: none; } .cns-ads-container div { display: none; } `,de=(0,p.Ay)(z.A).withConfig({displayName:"ConsumerMarketingUnitWrapper"})``,ce=function(e){s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"PaywallModal"})},[]);const{className:t,position:n="paywall-modal-call-to-action"}=e;return s.createElement(le,{className:i()("paywall-modal",t)},s.createElement(de,{className:"paywall-modal__consumer-marketing-unit",position:n,aria:{"aria-live":"assertive"}}))};ce.propTypes={className:r().string,position:r().string};const me=ce;var ue=n(9527),pe=n(66657),ge=n(91668),he=n(2820),ye=n(67198),be=n(46468),fe=n(52064),we=n(76573),$e=n(18106),ve=n(22354),Ce=n(6442),ke=n(94528),xe=n(30616),Ee=n(56187),Ae=n(44354),Se=n(14307),Le=n(91470);let Te="https://openai-middleware-foodbrands.gp-nonprod-na-0.conde.digital/api/v1/responses";const Ne=async(e,t,n,o=null)=>{if(!e)throw new Error("Missing required parameter: query");const i={input:e,prompt:t,previous_response_id:o,store:!0};"production"===n&&(Te="https://openai-middleware-foodbrands.gp-prod-na-0.conde.digital/api/v1/responses");try{const e=await fetch(Te,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!e.ok){const t=await e.json().catch(()=>({error:{message:"Unknown error"}}));throw new Error(`OpenAI API error: ${t.error?.message||e.statusText}`)}const t=await e.json(),n=t?.data;if(n?.status&&"completed"!==n?.status)throw new Error(`OpenAI API error: ${n.error?.message||n.status}`);return t}catch(e){throw e}},He=e=>{try{const t={text:"",id:e?.data?.id||null};if(e?.success&&e?.data){if(e.data.output_text)return t.text=e.data.output_text,t.id=e.data.id,t;if(Array.isArray(e.data.output)){const n=e.data.output.find(e=>"message"===e.type);if(n?.content&&Array.isArray(n.content)){const o=n.content.find(e=>"output_text"===e.type&&e.text);if(o?.text)return t.text=o.text,t.id=e.data.id,t}}}return t.text="Unable to extract response content",t}catch(t){return{text:"Error processing response",id:e?.data?.id||null}}},Ie=async(e,t,n,o=null)=>{try{const i=await Ne(e,t,o,n);return He(i)}catch(e){return{text:"Seems like I'm having trouble understanding your question. Please try again later.",id:null}}};var Be=n(21686);const{useState:Oe,useEffect:_e,useRef:Ke,useMemo:Pe}=s;function De(e){try{const t=new URL(e).pathname;return t.startsWith("/recipe")?"recipe":t.startsWith("/story")?"article":null}catch(e){return"invalid_url"}}const qe=({aiChatBotConfig:e,className:t,contentType:n,env:o,isOpenAIModalVisible:i,engagementChatbotConfig:a,modalSource:r})=>{_e(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"OpenAIModal"})},[]);const{data:l}=e||{},{inputPlaceholderText:d,promptHeaderText:c,disclaimer:m,title:p,subHed:g,promptInfo:h,navigationEntryPointPrompts:y,contentTypePrompts:b}=a||{},{formatMessage:f}=(0,Ce.A)(),w=Ke(null),$=Ke(null),v=Ke(null),[C,k]=Oe(""),[x,E]=Oe([]),[A,S]=Oe(null),[L,T]=Oe(!1),[N,H]=Oe(!0),[I,B]=Oe(!1),[O,_]=Oe([]),[K,P]=Oe(!1),[D,q]=Oe(d||f(ke.A.textInputPlaceholderText)),[M,R]=Oe(!1),[F,U]=Oe(!1),V=Pe(()=>[f(ke.A.defaultPrompt1),f(ke.A.defaultPrompt2),f(ke.A.defaultPrompt3)],[f]),G=async(e,t=null)=>{e&&e.preventDefault(),R(!1),B(!0),w.current&&(U(!0),w.current.value="");const n=t||C;if(!n.trim())return B(!1),void(w.current&&U(!1));try{if(n.trim()){E([...x,{text:n,isUser:!0}]),T(!0);let e=n;N&&l&&(e="Context:\n",e+=function(e,t,n,o,i){const a=e=>"string"==typeof e?e:Array.isArray(e)?e.every(e=>"string"==typeof e)?e.join(""):e.slice("object"!=typeof e[1]||Array.isArray(e[1])?1:2).map(a).join(" "):"",r=e=>e.replace(/"/g,'"').replace(/–/g,"–").replace(/—/g,"—").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/'/g,"'").replace(/°/g,"°"),s=(l=r(a(e)),l.replace(/<\/?(?:div|p|a|strong|span|section|header)[^>]*>/g,"").trim()).replace(/\b(div|p|strong|span|section|header)\b(?!\w)/g,"");var l;const d=`Ingredients:\n${t?.map(e=>e.ingredients?.map(e=>r(e.dangerousDescription)).join("\n"))}`;return`${s} ${d}. Preparation:\n${n?.map(e=>e.steps?.map(e=>r(e.dangerousDescription.replace(/<[^>]+>/g,""))).join("\n"))} Serving Proportion: ${o?.description} Serving Time: ${i?.prepTime} prep, ${i?.activeTime} active, ${i?.totalTime} total`.replace(/\s+/g," ").trim()}(l.body,l.ingredientGroups,l.instructions,l.servingSizeInfo,l.times),e+=`\nUser Query: ${n}`,H(!1),R(!0));const t=await Ie(e,h,A,o);t&&t.id&&S(t.id),E(e=>[...e,{text:t.text,isUser:!1}]),B(!1),w.current&&U(!1)}}catch(e){E(e=>[...e,{text:"Seems like I'm having trouble understanding your question. Please try again later.",isUser:!1}]),B(!1),w.current&&U(!1)}k("")};return _e(()=>{if(i){document.body.style.overflow="hidden";const e="homepage"!==n&&"bundle"!==n?b||[]:y||[];_(e.length>0?e:V),E([]),S(null),H(!0),k("")}else document.body.style.overflow="unset"},[i]),_e(()=>{const e=$.current;if(e){const t=()=>{const t=e.querySelector(".user-message:last-of-type, .bot-message:last-of-type");if(!t)return void P(!1);const n=e.scrollTop+e.clientHeight,o=t.offsetTop+t.offsetHeight;P(o>n+10)};return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}return()=>{}},[x]),_e(()=>{if(!L||!v.current||!$.current)return;const e=v.current,t=$.current,n=t.clientHeight,o=e.offsetTop-n/2+e.offsetHeight/2;t.scrollTo({top:o,behavior:"smooth"}),T(!1)},[L,x]),_e(()=>{const e=e=>{const t=$.current;if(t){t.querySelectorAll("a").forEach((e,t)=>{})}let n=e.target;if("A"!==e.target.tagName&&(n=e.target.closest("a")),n&&"A"===n.tagName&&((async(e,t)=>{const n={type:"click",label:t,subject:"chatbot",...e&&{items:[{content_title:t,content_url:e,content_type:De(e)}]}};await(0,Ee.c)(),(0,Se.kg)(n,null,{skipDuplicateEvent:!1})})(n.href,n.textContent),"true"===n.getAttribute("data-chatbot-link"))){e.preventDefault();const t=n.getAttribute("data-track-url");setTimeout(()=>{window.open(t,"_blank")},100)}},t=$.current;return t&&t.addEventListener("click",e),()=>{t&&t.removeEventListener("click",e)}},[x]),s.createElement(Be.uU,{className:t,closeTimeoutMS:400,isOpen:i},s.createElement(Be.uu,null,s.createElement(Be.tc,null,p||f(ke.A.hed)),s.createElement(Be.M1,{isIconButton:!0,ariaLabel:f(ke.A.closeButtonAriaLabel),label:f(ke.A.closeButtonLabel),onClickHandler:async()=>{try{const e=r;(0,Ae.hY)();const t={type:"close",label:"OpenAIModalCloseButton",subject:"chatbot",placement:"StackedNavigation"===e?"top_nav":"inline"};await(0,Ee.c)(),await(0,Se.kg)(t,null,{skipDuplicateEvent:!1})}catch(e){}},role:"button",ButtonIcon:xe.A})),s.createElement(Be.R5,null,s.createElement(Be.sn,{ref:$,reducedPadding:M},s.createElement(Be.lV,null,g||f(ke.A.subHed)),x.length>0&&x.map((e,t)=>{const n=t===x.length-1&&e.isUser;return e.isUser?s.createElement(Be.lN,{key:t,ref:n?v:null,className:"user-message",dangerouslySetInnerHTML:{__html:e.text}}):s.createElement(Be.tR,{key:t,className:"bot-message",dangerouslySetInnerHTML:{__html:(o=e.text,o?o.replace(/【\d+:\d+†source\*\*]/g,"").replace(/#### (.*?)(\n|$)/g,"

$1

").replace(/### (.*?)(\n|$)/g,"

$1

").replace(/## (.*?)(\n|$)/g,"

$1

").replace(/# (.*?)(\n|$)/g,"

$1

").replace(/\*\*(.*?)\*\*/g,"$1").replace(/\*([^*]+)\*/g,"$1").replace(/```([\s\S]*?)```/g,"
$1
").replace(/`([^`]+)`/g,"$1").replace(/\[(.*?)\]\((.*?)\)/g,(e,t,n)=>`${t}`).replace(/^- (.*?)$/gm,"
  • $1
  • ").replace(/(
  • .*?<\/li>[\n\r]?)+/g,e=>`
      ${e.replace(/[\n\r]/g,"")}
    `).replace(/\n/g,"
    "):"")}});var o}),I&&s.createElement(Be.Xg,{"data-testid":"loading-indicator"},f(ke.A.loadingText),s.createElement(Be.aj,null),s.createElement(Be.aj,null),s.createElement(Be.aj,null)),K&&s.createElement(Be.Iw,{onClick:()=>{$.current&&(P(!1),R(!0),$.current.scrollTo({top:$.current.scrollHeight,behavior:"smooth"}))},"aria-label":f(ke.A.scrollToBottomAriaLabel)},s.createElement(Le.Arrow,null)))),s.createElement(Be.Ye,null,0===x.length&&O.length>0&&s.createElement(Be.Ho,{className:"prompt-suggestions"},s.createElement(Be.lU,null,c||f(ke.A.promptHeaderText)),s.createElement(Be.Xo,{className:"prompt-buttons"},O.map((e,t)=>s.createElement(Be.tb,{key:t,className:"prompt-button",onClick:()=>(async e=>{k(e),await G(null,e),_([])})(e)},s.createElement(Be.c3,null,e))))),s.createElement(Be.$V,null,s.createElement(Be.W5,{name:"aichatbot-form",action:"",method:"POST",onSubmit:G},s.createElement(Be.cb,null,s.createElement(Be.Iy,{submitted:F},s.createElement(Be.Tq,{inputRef:w,type:"aichatbot-input",placeholder:D,name:"aichatbot-input",formName:"aichatbot-form",label:"aichatbot-input",hideLabel:!0,onInputFocus:()=>{q("")},onInputBlur:e=>{e?.target?.value||D||q(d||f(ke.A.textInputPlaceholderText))},onInputChange:(e,t)=>{k(t)}}),s.createElement(Le.Arrow,{onClick:e=>{e.preventDefault(),G(e)}})),s.createElement(Le.Arrow,{onClick:e=>{e.preventDefault(),G(e)}})))),s.createElement(Be.R5,null,s.createElement(Be.yE,null,m||f(ke.A.disclaimerText)))))};qe.displayName="OpenAIModal",qe.propTypes={aiChatBotConfig:r().object,className:r().string,contentType:r().string,engagementChatbotConfig:r().object,env:r().string,isOpenAIModalVisible:r().bool,modalSource:r().string};const Me=(0,R.y)(qe,"OpenAIModal"),Re=(0,ve.Ng)(e=>{const{openAIModalConfig:t,engagementChatbotConfig:n,coreDataLayer:{content:{contentType:o},site:{env:i}}}=e;return{...t,contentType:o,engagementChatbotConfig:n,env:i}})(Me);var Fe=n(12501),Ue=n(73275),Ve=n(76399),Ge=n(84743),We=n.n(Ge),je=n(52037),ze=n.n(je);const Ye=(e,t="en-US",n="America/New_York",o="MMMM DD [at] hh:mmA z")=>{const i=((e="")=>""===e?new Date:new Date(e))(e),a=new Date(e)-new Date;let r="";return n&&t&&i&&(r=We().tz(e,n).locale(t).format(o)),{duration:a,time:r}},Xe=e=>ze()(e,2,"0");const Ze=(0,n(72267).defineMessages)({watchLiveOn:{id:"EventBanner.WatchLiveOn",defaultMessage:"Watch live on",description:"url where user can watch an event live"},liveOn:{id:"EventBanner.LiveOn",defaultMessage:"Live on",description:"Live event"},sponsorPreamble:{id:"EventBanner.SponsorPreamble",defaultMessage:"Countdown Presented By",description:"Event banner component sponsor preamble"},eventDays:{id:"EventBanner.eventDays",defaultMessage:"Days",description:"Event banner component days"},eventHours:{id:"EventBanner.eventHours",defaultMessage:"Hours",description:"Event banner component hours"},eventMinutes:{id:"EventBanner.eventMinutes",defaultMessage:"Minutes",description:"Event banner component minutes"},eventSeconds:{id:"EventBanner.eventSeconds",defaultMessage:"Seconds",description:"Event banner component seconds"},closeBanner:{id:"EventBanner.CloseBanner",defaultMessage:"Close Banner",description:"Close event banner"}});var Je=n(23211);const Qe=({eventDate:e,hasLowerCaseText:t,days:n,hours:o,minutes:i,seconds:a})=>{const{formatMessage:r}=(0,Ce.A)();return e?s.createElement(Je.DK,null,s.createElement(Je.f9,null,s.createElement(Je.aZ,null,s.createElement("span",{className:"notranslate"},n)),s.createElement(Je.cw,{hasLowerCaseText:t},r(Ze.eventDays))),s.createElement(Je.v9,null,s.createElement("span",{className:"notranslate"},":")),s.createElement(Je.f9,null,s.createElement(Je.aZ,null,s.createElement("span",{className:"notranslate"},o)),s.createElement(Je.cw,{hasLowerCaseText:t},r(Ze.eventHours))),s.createElement(Je.v9,null,s.createElement("span",{className:"notranslate"},":")),s.createElement(Je.f9,null,s.createElement(Je.aZ,null,s.createElement("span",{className:"notranslate"},i)),s.createElement(Je.cw,{hasLowerCaseText:t},r(Ze.eventMinutes))),s.createElement(Je.v9,null,s.createElement("span",{className:"notranslate"},":")),s.createElement(Je.f9,null,s.createElement(Je.aZ,null,s.createElement("span",{className:"notranslate"},a)),s.createElement(Je.cw,{hasLowerCaseText:t},r(Ze.eventSeconds)))):null};Qe.propTypes={days:r().string,eventDate:r().number.isRequired,hasLowerCaseText:r().bool,hours:r().string,minutes:r().string,seconds:r().string};const et=Qe,tt=({getTrackingAttributes:e,hasLowerCaseText:t,isEventHappening:n,showButtonAndLogoOnTimeUp:o,timeUpMessage:i,trackingNamespace:a,urlData:r})=>{const l=e(`${a} post Timer Message`);return s.createElement(Je.Fv,{"data-testid":"PostCountdownComponent",isEventHappening:n,showButtonAndLogoOnTimeUp:o},s.createElement(Je.je,{"data-testid":"PostTimerMessage",dangerouslySetInnerHTML:{__html:i},isEventHappening:n,showButtonAndLogoOnTimeUp:o}),s.createElement(Je.tj,{"data-testid":"EventLink",hasLowerCaseText:t,href:r.href,...l,isEventHappening:n},r.text))};tt.propTypes={getTrackingAttributes:r().func,hasLowerCaseText:r().bool,isEventHappening:r().bool,showButtonAndLogoOnTimeUp:r().bool,timeUpMessage:r().string,trackingNamespace:r().string,urlData:r().object,watchLiveOnLabel:r().func},tt.displayName="PostCountdownComponent";const nt=tt,ot=({isEventHappening:e,notifyButton:t,onClickHandler:n,showButtonAndLogoOnTimeUp:o,shouldEnableBundleComponentAnalytics:i,trackingNamespace:a})=>e&&!o?null:s.createElement(Je.KC,{shouldEnableBundleComponentAnalytics:i,trackingNamespace:`${a} Notify`,inputKind:"link",btnStyle:"filled",target:"_blank","aria-label":"Opens in a new window",isEventHappening:e,showButtonAndLogoOnTimeUp:o,...t,onClickHandler:n});ot.propTypes={isEventHappening:r().bool,notifyButton:r().shape({href:r().string,label:r().string}),onClickHandler:r().func,shouldEnableBundleComponentAnalytics:r().bool,showButtonAndLogoOnTimeUp:r().bool,trackingNamespace:r().string},ot.displayName="NotifyCTA";const it=ot;var at=n(86157);const rt=({sponsorLogo:e,sponsorBaseUrl:t,formatMessage:n})=>{if(!e)return null;const o={};return t&&(o.href=t,o.as="a"),s.createElement(s.Fragment,null,n(Ze.sponsorPreamble),s.createElement(Je.CA,{"data-testid":"EventSponsoredLogoWrapper",...o},s.createElement(Je.gu,{...e})))};rt.propTypes={formatMessage:r().func,sponsorBaseUrl:r().string,sponsorLogo:r().shape(at.A.propTypes)},rt.displayName="SponsorLogo";const st=rt;var lt=n(50531),dt=n(76955),ct=n(40653);const mt=p.Ay.div.withConfig({displayName:"EventBannerCustomWrapper",shouldForwardProp:e=>!["isTiffanyCampaign"].includes(e)})` ${({isTiffanyCampaign:e})=>e?`\n @media (max-width: ${g.LO.md}) {\n ${Je.z1} {\n display: flex!important;\n }\n ${Je.Ri} {\n margin-top: 8px;\n margin-bottom: 8px;\n display: block;\n }\n }\n @media (min-width: ${g.LO.md}) {\n display: block;\n ${Je.z1} {\n margin-left: 10px;\n align-items: flex-start;\n ${Je.Ri} {\n height: auto;\n min-height: 2rem;\n align-items: flex-start;\n width: 100%;\n }\n ${Je.gu} {\n height: auto;\n width: 100%;\n max-width: 100%;\n img {\n height: 20px;\n width: auto;\n }\n }\n }\n }\n @media (min-width: ${g.LO.lg}) {\n ${Je.z1} {\n margin-left: 0;\n padding-left: 16px;\n display: flex;\n }\n }\n ${Je.sT} {\n background: #81d8d0;\n ${Je.aZ},\n ${Je.v9},\n ${Je.je} {\n color: black;\n }\n }\n ${Je.cw} {\n color: black;\n }\n ${Je.tj} {\n color: black;\n }\n ${Je.PQ} {\n color: black;\n @media (min-width: ${g.LO.md}) {\n text-align: left;\n }\n }\n ${Je.KC}, ${Je.KC}:hover {\n color: black;\n background: #81d8d0;\n border-color: black;\n }\n ${Je.PQ}, ${Je.je}, ${lt.Lj} {\n text-box: trim-both text alphabetic;\n }\n ${Je.je} {\n text-align: center;\n }\n ${Je.L$} {\n @media (max-width: ${g.LO.md}) {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 1rem;\n text-align: center;\n }\n > ${ct.E}:first-child {\n display: block;\n }\n }\n `:""} `,ut=(0,p.Ay)(dt.vm).withConfig({displayName:"EventBannerTiffanyWrapper"})` vertical-align: middle; @media (min-width: ${g.LO.md}) { margin-right: unset; text-align: left; } `;ut.defaultProps={typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const pt=(0,p.Ay)(dt.vm).withConfig({displayName:"EventInfo"})` && { line-height: 1rem; } align-self: center; text-decoration: none; color: black; margin-top: 10px; `;pt.defaultProps={as:"span",typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const gt=({formatMessage:e,getTrackingAttributes:t,hasLowerCaseText:n,hasHiddenEventTimestamp:o,isEventHappening:i,isTiffanyCampaign:a=!1,notifyButton:r,showButtonAndLogoOnTimeUp:l,shouldEnableBundleComponentAnalytics:d,sponsorLogo:c,sponsorBaseUrl:m,trackingNamespace:u,urlData:p})=>{const g=t(`${u} Sponsored`),h=e=>{window.dataLayer&&e&&window.dataLayer.push({event:e.action,eventCategory:"click tracking",eventAction:e.action,eventLabel:e.label})};return s.createElement(Je.hb,{isEventHappening:i,showButtonAndLogoOnTimeUp:l},(!i||i&&l)&&r?s.createElement(it,{"data-testid":"EventBannerNotifyCTA",isEventHappening:i,notifyButton:r,showButtonAndLogoOnTimeUp:l,shouldEnableBundleComponentAnalytics:d,trackingNamespace:u,onClickHandler:()=>{h({action:`${u} Notify`,label:"Notify Me"})}}):s.createElement(st,{sponsorLogo:c,sponsorBaseUrl:m,formatMessage:e}),a&&s.createElement(pt,null,"Sponsored by Tiffany & Co."),(!a&&!i&&!o||!a&&i&&!l)&&s.createElement(Je.tj,{hasLowerCaseText:n,href:p.href,...g,showButtonAndLogoOnTimeUp:l,isEventHappening:i,onClick:()=>h({action:`${u} Sponsored`,label:p.text})},p.text))};gt.propTypes={formatMessage:r().func,getTrackingAttributes:r().func,hasHiddenEventTimestamp:r().bool,hasLowerCaseText:r().bool,isEventHappening:r().bool,isTiffanyCampaign:r().bool,notifyButton:r().shape({href:r().string,label:r().string}),shouldEnableBundleComponentAnalytics:r().bool,showButtonAndLogoOnTimeUp:r().bool,sponsorBaseUrl:r().string,sponsorLogo:r().object,trackingNamespace:r().string,urlData:r().object,watchLiveOnLabel:r().func},gt.displayName="SponsoredComponent";const ht=gt;var yt=n(72362);const bt=({bannerExpiryTimeStamp:e,bannerStartTimeStamp:t,className:n,cls:o,eventBannerTags:i=[],eventTimeStamp:a,isTiffanyCampaign:r=!1,logo:l,logoBaseUrl:d="/",pageTags:c,timeZone:m,timeFormat:p,hasHiddenEventTimestamp:g=!1,hasLowerCaseText:h=!0,showButtonAndLogoOnTimeUp:y=!1,shouldEnableBundleComponentAnalytics:b,shouldShowCloseButton:f=!1,shouldHideCloseButtonDuringEvent:w=!1,timeUpMessage:$,sponsorLogo:v,sponsorBaseUrl:C,notifyButton:k,trackingNamespace:E,url:A,timeUpUrl:S,locale:L,hasConsistentSpacing:T})=>{s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"EventBanner"})},[]);const{formatMessage:N}=(0,Ce.A)(),[H,I]=(0,s.useState)(),[B,O]=(0,s.useState)(!1),[_,K]=(0,s.useState)(!1),[P,D]=(0,s.useState)("00"),[q,M]=(0,s.useState)("00"),[R,F]=(0,s.useState)("00"),[U,V]=(0,s.useState)("00"),G=(0,s.useCallback)(e=>{if(e>0){O(!1);const{days:t,hours:n,mins:o,secs:i}=(e=>{let t=Math.floor(e/1e3%60),n=Math.floor(e/6e4%60),o=Math.floor(e/36e5%24),i=Math.floor(e/864e5);return o=Xe(o),n=Xe(n),t=Xe(t),i=Xe(i),{days:i,hours:o,mins:n,secs:t}})(e);D(t),M(n),F(o),V(i)}else O(!0);return{days:P,hours:q,minutes:R,seconds:U}},[P,q,R,U]);(0,s.useEffect)(()=>{const{duration:e,time:t}=Ye(a,L,m,p);I(t);const n=setTimeout(()=>{G(e)},1e3);return()=>clearTimeout(n)},[a,L,p,m,G,H]);if(!e||void 0===B||_||!(()=>{if(!i?.length)return!0;return!!c.split("|").some(e=>i.includes(e))})()||((e,t)=>{const n=(new Date).valueOf();return!!(t&&new Date(t).valueOf()n)})(t,e))return null;const W=B&&S?S:A,j=!(r||B&&w)&&f,z=e=>{if(!e||!b)return{};return(0,x.NY)(b,e)},Y=z(E);let X={};o&&o.isEnabled&&B?X={style:{minHeight:(0,yt.Zm)()?`${o.desktop.minHeightDuringEvent}px`:`${o.mobile.minHeightDuringEvent}px`}}:o&&o.isEnabled&&!B&&(X={style:{minHeight:(0,yt.Zm)()?`${o.desktop.minHeightBeforeEvent}px`:`${o.mobile.minHeightBeforeEvent}px`}});let Z=k,J=W;return r&&B&&(Z={href:S.href,label:S.text},J={href:W.href,text:W.text}),s.createElement(mt,{isTiffanyCampaign:r},s.createElement(Je.sT,{hasConsistentSpacing:T,...X},s.createElement(Je.JR,{ButtonIcon:Ve.A,onClickHandler:()=>{K(!0)},role:"button",label:N(Ze.closeBanner),"aria-expanded":Ve.A,shouldEnableBundleComponentAnalytics:b,trackingNamespace:`${E} close`,shouldShowCloseButton:j,isIconButton:!0}),s.createElement(Je.L$,{className:n,isEventHappening:B,showButtonAndLogoOnTimeUp:y},s.createElement(Je.z1,{...Y},s.createElement(Je.Ri,{"data-testid":"EventBannerLogoWrapper",isNotClickable:!d?.length,href:d,isEventHappening:B,showButtonAndLogoOnTimeUp:y,onClick:()=>{return e={action:E,label:""},void(window.dataLayer&&e&&window.dataLayer.push({event:e.action,eventCategory:"click tracking",eventAction:e.action,eventLabel:e.label}));var e}},s.createElement(Je.gu,{...l})),r&&s.createElement(ut,null,s.createElement("b",null,"THE SEPTEMBER TO REMEMBER"),s.createElement("br",null)),!B&&!g&&s.createElement(Je.PQ,{"data-testid":"EventBannerDek"},H)),B?s.createElement(nt,{"data-testid":"PostCountdownComponent",getTrackingAttributes:z,hasLowerCaseText:h,isEventHappening:B,showButtonAndLogoOnTimeUp:y,timeUpMessage:$,trackingNamespace:E,urlData:W}):s.createElement(et,{"data-testid":"EventCountdown",eventDate:a,hasLowerCaseText:h,days:P,hours:q,minutes:R,seconds:U}),s.createElement(s.Fragment,null,s.createElement(ht,{isTiffanyCampaign:r,formatMessage:N,getTrackingAttributes:z,hasLowerCaseText:h,hasHiddenEventTimestamp:g,isEventHappening:B,notifyButton:Z,showButtonAndLogoOnTimeUp:y,shouldEnableBundleComponentAnalytics:b,sponsorLogo:v,sponsorBaseUrl:C,trackingNamespace:E,urlData:W})))))};bt.propTypes={bannerExpiryTimeStamp:r().number.isRequired,bannerStartTimeStamp:r().number,className:r().string,cls:r().object,eventBannerTags:r().array,eventTimeStamp:r().number.isRequired,hasConsistentSpacing:r().bool,hasHiddenEventTimestamp:r().bool,hasLowerCaseText:r().bool,isTiffanyCampaign:r().bool,locale:r().string.isRequired,logo:r().shape(Ue.A.propTypes).isRequired,logoBaseUrl:r().string,notifyButton:r().shape({href:r().string,label:r().string}),pageTags:r().string,shouldEnableBundleComponentAnalytics:r().bool,shouldHideCloseButtonDuringEvent:r().bool,shouldShowCloseButton:r().bool,showButtonAndLogoOnTimeUp:r().bool,sponsorBaseUrl:r().string,sponsorLogo:r().shape(Ue.A.propTypes),timeFormat:r().string,timeUpMessage:r().string.isRequired,timeUpUrl:r().object,timeZone:r().string.isRequired,trackingNamespace:r().string,url:r().object.isRequired},bt.displayName="EventBanner";const ft=(0,m.M3)(bt,{keysToPluck:["hasConsistentSpacing"]}),wt=(0,R.y)(ft,"EventBanner");var $t=n(68089),vt=n(43428),Ct=n(34854),kt=n(13446),xt=n(95928),Et=n(29484);const At=()=>{if(!(()=>{const e=(0,Et.UA)(window.location.search);return e.utm_source&&"internal"===e.utm_medium||!1})())return!1;const e=`redirectedForFirstTimeFrom-${(0,Et.UA)(window.location.search).utm_source}`;return!(!window.localStorage||window.localStorage.getItem(e))&&(window.localStorage.setItem(e,!0),!0)},St=new Set,Lt=()=>{if(window.Kendra&&window.Kendra.TRACK_COMPONENT&&window.dataLayer)try{const e=window.Kendra.TRACK_COMPONENT.history();if(e&&e.length>0){const t=e.filter(e=>{const t=`${e.value.name}-${e.value.variation||"Default"}`;return!St.has(t)&&(!!(e=>{let t=!1,n=[];return n=document.querySelectorAll(`[class*=${e}]`),n&&!n.length&&(n=document.querySelectorAll(`[data-event-click*=${e}]`)),n&&!n.length&&(n=document.querySelectorAll(`[data-in-view*=${e}]`)),n&&!n.length&&(n=document.querySelectorAll(`[data-testid=${e}]`)),"CoreIcons"===e?t=!0:n&&n.length&&(t=Object.keys(n).some(e=>0!==n[e].clientWidth&&0!==n[e].clientHeight)),t})(e.value.name)&&(St.add(t),!0))});if(0===t.length)return;const n=t.map(e=>({name:e.value.name,variationName:e.value.variation||"Default"}));window.dataLayer.push({event:"components-loaded",components:n})}}catch(e){}};var Tt=n(55976),Nt=n(22445),Ht=n(64687);const It=e=>e===Ht.UA?window?.Fides?.consent?.functional:window.OnetrustActiveGroups?.split(",").includes("C0003"),Bt=({isEnabled:e=!0,scriptPath:t="/verso/static/crash-detection.js"})=>{const n=window?.Fides?Ht.UA:void 0,[o,i]=(0,s.useState)(()=>It(n));return(0,Ht.qn)(()=>{i(It(n))}),(0,s.useEffect)(()=>{if(e&&o&&(()=>{try{const{userAgent:e}=window.navigator;return e.includes("Safari")&&!e.includes("Chrome")&&!e.includes("Edg")&&!e.includes("Edge")}catch(e){return!1}})()){const e=(0,Nt.A)(t,document.body,{type:"text/javascript",id:"crash-detection-script",async:!0},()=>{});return()=>{e&&e.parentNode&&e.parentNode.removeChild(e)}}},[e,o,t]),null};Bt.propTypes={isEnabled:r().bool,scriptPath:r().string};const Ot=Bt;var _t=n(4081),Kt=n(40510),Pt=n(8877),Dt=n(4808),qt=n(53788),Mt=n(79712),Rt=n(56892),Ft=n(25203);const Ut=[...n(42735).a,"utm_campaign","utm_medium","source"],Vt=[["bizproplus","executive"],["bizpro","professional"],["biz","standard"]],Gt=Vt.map(([e])=>e),Wt=Object.fromEntries(Vt);const jt=({container:e})=>{const t=e.querySelector("iframe[data-io-event]");var n;if(t instanceof HTMLIFrameElement)try{const e="string"!=typeof(n=t.getAttribute("data-io-products"))?[]:n.split(",").map(e=>e.trim()).filter(Boolean),o=function(){try{const e=(0,Rt.getCookie)(qt.A.accessCookie);if(!e)return[];const t=(0,Mt.A)(e),{martech:n=[],"org-access":o=[]}=t?.fct??{};return[...new Set([...n,...o])]}catch(e){return[]}}(),i=function({products:e=[]}){try{return Gt.find(t=>e.some(e=>e.endsWith(`:${t}`)||e.includes(`:${t}:`)))||"fallback"}catch(e){return"fallback"}}({products:e.length?o.filter(t=>e.includes(t)):[]}),a=function(e,t){try{if("string"!=typeof e)return null;const n=new URL(e),o=n.searchParams,i=t??"fallback",a=i in Wt?Wt[i]:"fallback",r=[...Object.values(Wt),"fallback"].find(e=>n.pathname.endsWith(`/${e}`));return r?r!==a&&(n.pathname=n.pathname.replace(new RegExp(`/${r}$`),`/${a}`)):n.pathname=`${n.pathname.replace(/\/$/,"")}/${a}`,n.search=o.toString(),n.toString()}catch(t){return e}}(function({targetUrl:e,keys:t=[]}){try{const n=(0,Ft.hh)(t);if(!n)return e;const o=new URL(e);return new URLSearchParams(n).forEach((e,t)=>{o.searchParams.set(t,e)}),o.toString()}catch(t){return e}}({targetUrl:t.src,keys:[...Ut]}),i);t.src=a}catch(e){}},zt=({container:e})=>{e.querySelectorAll("script").forEach(e=>{const t=document.createElement("script");Array.from(e.attributes).forEach(e=>{t.setAttribute(e.name,e.value)}),e.src||(t.textContent=e.textContent),e.parentNode?.replaceChild(t,e)})},Yt={"magazine/2017/10/30/faces-of-an-epidemic":zt,"story/welfare-state-algorithms":zt},Xt=({markup:e,canonicalUrl:t,className:n})=>{const o=(0,s.useRef)(null);return(0,s.useEffect)(()=>{const n=o.current;if(!n||!e)return;const i=(e=>{const t=/(?<=\.com\/).*$/.exec(e),n=t?.length?t[0]:"";return Object.keys(Yt).find(e=>n.includes(e))})(t);if(i){(0,Yt[i])({container:n})}jt({container:n})},[t,e]),s.createElement("div",{ref:o,className:n,dangerouslySetInnerHTML:{__html:e}})};var Zt=n(36185);const Jt=({navPattern:e=""})=>{const t="SiteHeader"===e;return s.useLayoutEffect(()=>{if(!window.MutationObserver)return;let n,o;const i={attributes:!0,attributeFilter:["style","class"]},a=(t=300)=>{clearTimeout(o),o=setTimeout(()=>(0,Kt._)(e),t)};try{if(t){const e=document.querySelector('[data-testid="SiteHeaderStickyWrapper"]'),t=document.querySelector('[data-testid="PersistentTop SiteHeaderWrapper"]');if(!e&&!t)return;n=new MutationObserver(()=>a(530)),e&&n.observe(e,i),t&&n.observe(t,i),requestAnimationFrame(()=>a(0))}else{const e=document.querySelector("header, nav");if(!e)return;n=new MutationObserver(()=>a(300)),n.observe(e,i);const t=document.getElementById("link-banner");t&&n.observe(t,i),requestAnimationFrame(()=>a(0))}}catch(e){}return()=>{n&&n.disconnect(),clearTimeout(o)}},[e,t]),t?null:s.createElement(Zt.LP,null)};Jt.propTypes={navPattern:r().string};const Qt=Jt;var en=n(1899);const tn={PAYWALL_SCORE:"sophi:paywallScore",DECISION:"sophi:decision"};var nn=n(92704),on=n(56475);const an=({groupingServiceUrl:e,isSophiEnabled:t})=>{const n=s.useRef(!1),[o,i]=s.useState(!1),[a,r]=s.useState(""),[l,d]=s.useState(null),c=s.useCallback(async()=>{if(!n.current){n.current=!0;try{const t=window.location.hostname,n={domain:t,referrer:document.referrer||"",url:`https://${t}${window.location.pathname||"/"}`,cookie:document.cookie||"",userAgent:navigator.userAgent||"",timestamp:(new Date).toISOString(),...l&&{sophiDecision:l},...a&&{xid:a}};await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n),credentials:"include"}),window.cnBus&&window.cnBus.emit("cngroups.updated",{})}catch(e){}}},[e,l,a]);return s.useEffect(()=>{const e=(0,Rt.getCookie)("CN_xid");if(e&&r(e),window.Kendra?.XID){const e=window.Kendra.XID.on(on.b.SET,r);return()=>e?.off()}},[]),s.useEffect(()=>{if(!e)return;const t=({sales_sharing_targeted_advertising:e})=>{i(!0===e)};if(window.Kendra?.CONSENT){const e=window.Kendra.CONSENT.on([nn.M.CONSENT_DEFAULT,nn.M.CONSENT_ACCEPTED,nn.M.CONSENT_REJECTED,nn.M.CONSENT_UPDATED],t,{emitLast:!0});return()=>e?.off()}},[e]),s.useEffect(()=>{if(!o||!t)return;const e=e=>d(e);if(window.cnBus?.on){return window.cnBus.on(tn.DECISION,e)}},[o,t]),s.useEffect(()=>{o&&e&&(t?l&&c():a&&c())},[o,e,t,a,l,c]),null};an.propTypes={groupingServiceUrl:r().string,isSophiEnabled:r().bool};const rn=an;var sn=n(89674),ln=n(26865),dn=n(1123),cn=n(22514),mn=n(73730);const un=(0,p.Ay)(cn.A).withConfig({displayName:"StyledNewsletterDrawer"})` height: auto; `,pn=(0,p.Ay)("div").withConfig({displayName:"DrawerContent"})` ${(0,dn.VO)()} padding: 0 ${(0,ln.Kq)(3)} ${(0,ln.Kq)(3)} ${(0,ln.Kq)(3)}; max-height: 60vh; overflow-y: auto; ${(0,ln.H4)(g.LO.md)} { /* Keep the scroll container full-width; center content via inner wrapper */ padding-right: 0; padding-left: 0; } `,gn=(0,p.Ay)("div").withConfig({displayName:"DrawerContentInner"})` width: 100%; ${(0,ln.H4)(g.LO.md)} { margin: 0 auto; padding: 0 var(--grid-margin, ${(0,ln.Kq)(6)}); max-width: 1600px; } `,hn=(0,p.Ay)(mn.A.Primary).withConfig({displayName:"DrawerContinueButton"})` display: block; margin: ${(0,ln.Kq)(3)} auto 0; width: 100%; @media (min-width: ${g.LO.lg}) { width: calc((100% - ${(0,ln.Kq)(2)} * 2) / 3); } `,yn=(0,p.Ay)("div").withConfig({displayName:"DrawerSelectionControlListItems"})` display: grid; grid-template-columns: 1fr; gap: ${(0,ln.Kq)(2)}; /* ~1rem gutters between cards */ @media (min-width: ${g.LO.md}) { grid-template-columns: repeat(2, 1fr); /* 768+ : 2 columns */ } @media (min-width: ${g.LO.lg}) { grid-template-columns: repeat(3, 1fr); /* 1024+ : 3 columns */ } `;(0,p.Ay)(dt.vm).withConfig({displayName:"DrawerNewsletterSectionHed"})` display: block; margin: ${(0,ln.Kq)(2)} 0 ${(0,ln.Kq)(1)}; border-top: 1px solid ${(0,ln.HK)("colors.interactive.base.body")}; padding: ${(0,ln.Kq)(1)} 0 ${(0,ln.Kq)(2)}; `.defaultProps={as:"div",colorToken:"colors.interactive.base.body",typeIdentity:"typography.definitions.discovery.subhed-section-collection"};(0,p.Ay)("div").withConfig({displayName:"DrawerNewsletterCategoryWrapper"})` padding-bottom: ${(0,ln.Kq)(4)}; `;var bn=n(99010),fn=n(10604),wn=n(28846);const $n=p.i7` from { transform: translateX(-50%) translateY(20px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } `,vn=p.i7` from { transform: translateX(-50%) translateY(0); opacity: 1; } to { transform: translateX(-50%) translateY(20px); opacity: 0; } `,Cn=(0,p.Ay)("div").withConfig({displayName:"ToastWrapper"})` position: fixed; bottom: ${(0,ln.Kq)(2)}; left: 50%; transform: translateX(-50%); animation: ${({isExiting:e})=>e?vn:$n} 0.3s ease forwards; z-index: ${1e4}; border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); background-color: ${(0,ln.HK)("colors.background.white")}; padding: ${(0,ln.Kq)(1.5)} ${(0,ln.Kq)(2)}; min-width: 280px; max-width: 90vw; text-align: center; color: ${(0,ln.HK)("colors.interactive.base.black")}; pointer-events: auto; `,kn=(0,p.Ay)("div").withConfig({displayName:"ToastTitle"})` ${(0,ln.Gg)("typography.definitions.utility.card-heading")} margin-bottom: ${(0,ln.Kq)(.5)}; color: ${(0,ln.HK)("colors.interactive.base.black")}; `,xn=(0,p.Ay)("div").withConfig({displayName:"ToastMessage"})` ${(0,ln.Gg)("typography.definitions.utility.body")} color: ${(0,ln.HK)("colors.interactive.base.black")}; `,En=({title:e,message:t,isExiting:n=!1,onClose:o})=>s.createElement(Cn,{role:"status","aria-live":"polite",isExiting:n,"data-testid":"Toast",onAnimationEnd:()=>n&&o?.()},e&&s.createElement(kn,null,e),t&&s.createElement(xn,null,t));En.propTypes={isExiting:r().bool,message:r().string.isRequired,onClose:r().func,title:r().string},En.displayName="Toast";const An=En;var Sn=n(40961);const Ln=(0,s.createContext)(null),Tn=window.document,Nn=({children:e,autoDismissTimeout:t=5e3})=>{const[n,o]=(0,s.useState)(null),[i,a]=(0,s.useState)(!1),r=(0,s.useRef)(null),l=(0,s.useRef)(null),d=(0,s.useCallback)(()=>{r.current&&(clearTimeout(r.current),r.current=null),l.current&&(clearTimeout(l.current),l.current=null)},[]);(0,s.useEffect)(()=>()=>d(),[d]);const c=(0,s.useCallback)(()=>{a(!0),l.current=setTimeout(()=>{o(null),a(!1)},300)},[]),m=(0,s.useCallback)(({title:e,message:n,timeout:i})=>{d(),a(!1),o({title:e,message:n});const s=i||t;r.current=setTimeout(()=>{c()},s)},[t,d,c]),u=s.useMemo(()=>({addToast:m}),[m]),p=n&&Tn?Sn.createPortal(s.createElement(An,{title:n.title,message:n.message,isExiting:i,onClose:()=>{o(null),a(!1)}}),document.body):null;return s.createElement(Ln.Provider,{value:u},e,p)};Nn.propTypes={autoDismissTimeout:r().number,children:r().node.isRequired},Nn.displayName="ToastProvider";const Hn="Done",In="Select newsletters",Bn="newsletter-drawer",On="GlobalQueryTriggeredNewsletterDrawer",_n="newsletter_onboarding_sheet",Kn="impressions",Pn="signups",Dn="close",qn="continue",Mn=({config:e={},userPlatform:t={},user:n={}})=>{const{onboardingTitle:o,onboardingDek:i}=e?.newsletter?.manage||{},[a,r]=s.useState(!1),[l,d]=s.useState({}),{addToast:c}=(()=>{const e=(0,s.useContext)(Ln);if(!e)throw new Error("useToast must be used within a ToastProvider");return e})(),m=s.useRef(!1),u=s.useMemo(()=>e?.newsletterList||[],[e?.newsletterList]),p=n?.isAuthenticated&&n?.amguuid&&n?.email,g=s.useMemo(()=>e?.newsletterList.filter(e=>e.showNewsletterInOnboarding).map(e=>{const t=e?.subscribe||{};return{id:e.newsletterId,name:`newsletter-list-${e.newsletterId}`,value:"true",inputAttributes:{"data-id":e.newsletterId},dangerousHed:e.newsletterHubCustomHed||t.dangerousHed,dangerousDek:e.newsletterHubCustomDek||t.dangerousDek,alertBadge:e.alertBadge||"",frequencyBadge:e.frequencyBadge||"",category:e.category||"Newsletters",image:t.imageUrl?{altText:t.imageAltText||void 0,sources:{sm:{url:t.imageUrl}}}:void 0}}),[e?.newsletterList]);if(s.useEffect(()=>{if(m.current)return;if(!p||0===u.length)return;const{postLoadAction:e}=(0,fn.A)(window.location.search||"");if("newsletter"!==e)return;m.current=!0;const o=new URL(window.location.href);o.searchParams.delete("postLoadAction"),window.history.replaceState({},"",o.toString());(async()=>{try{const e=u.map(e=>e.newsletterId),o=await wn.A.getNewsletterSubscriptions({amgUUID:n.amguuid,xClientID:t?.xClientID,newsletterIds:e,sendAllNewsletterIds:!0}),i=new Set((o?.newsletterSubscriptions?.data||[]).filter(e=>"SUBSCRIBED"===e?.attributes?.status).map(e=>e?.attributes?.newsletterId?.toString()));d(u.reduce((e,t)=>(e[t.newsletterId]=i.has(t.newsletterId),e),{}))}catch(e){}r(!0),(0,Se.pu)({type:"impression",subject:_n+"_"+Kn})})()},[p,u,g,n?.amguuid,t?.xClientID]),!a||0===u.length)return null;const h=async e=>{const o=e?.target?.getAttribute("data-id"),i=Boolean(e?.target?.checked);if(o&&(d(e=>({...e,[o]:i})),n?.isAuthenticated)){const e=o;try{await wn.A.saveNewsletterSubscriptions({amgUUID:n.amguuid,payload:{email:n.email,siteCode:t.siteCode,sourceCode:On,formName:Bn,subscriptions:[{status:"SUBSCRIBED",newsletterId:e}]},xClientID:t.xClientID});const o=g.find(t=>String(t.id)===String(e));if((0,Se.pu)({type:"click",newsletter_id:String(e),newsletter_title:o?.dangerousHed,cadence:o?.frequencyBadge,subject:_n+"_"+Pn}),i){const e=o?.dangerousHed,t=e?e.replace(/<[^>]*>/g,""):"Newsletter";c({title:t,message:"You've signed up to this newsletter"})}}catch(e){}}},y=()=>{if("fixed"===document.body.style.position){document.querySelector("body").classList.remove("body__drawer--open");const e=parseInt(document.body.style.top,10)||0;document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,-1*e)}};return s.createElement(un,{isOpen:a,onClose:()=>{(0,Se.pu)({type:"click",subject:_n+"_"+Dn}),y(),r(!1)},showCloseButton:!0,shouldCloseOnOverlayClick:!1,hideChannelNavigation:!0,overlayColor:"black",contentLabel:"Newsletter sign up",drawerTitle:o,drawerDek:i,variations:{animation:"slide-up",align:"bottom"}},s.createElement(pn,null,s.createElement(gn,null,s.createElement("div",null,s.createElement(sn.A,{dangerousLegend:In,formName:Bn,items:g},s.createElement(yn,null,g.map((e,t)=>{const o=l?l[e.id]:void 0;return s.createElement(bn.A,{key:`${e.name}.${e.value}`,id:e.id,name:e.name,value:e.value,inputAttributes:e.inputAttributes,dangerousHed:e.dangerousHed,dangerousDek:e.dangerousDek,alertBadge:e.alertBadge,frequencyBadge:e.frequencyBadge,image:e.image,formName:Bn,index:t,isChecked:o,isAuthenticated:Boolean(n?.isAuthenticated),onChangeHandler:h,variant:"compact"})})))),s.createElement(hn,{label:Hn,onClickHandler:()=>{(0,Se.pu)({type:"click",subject:_n+"_"+qn}),y(),r(!1)},shouldUseFullWidth:!0}))))};Mn.propTypes={config:r().shape({newsletterList:r().arrayOf(r().shape({newsletterId:r().oneOfType([r().string,r().number]),category:r().string,alertBadge:r().string,frequencyBadge:r().string,slug:r().string,subscribe:r().shape({buttonLabel:r().string,dangerousDek:r().string,dangerousHed:r().string,imageAltText:r().string,imageUrl:r().string})}))}),user:r().shape({isAuthenticated:r().bool,amguuid:r().string,email:r().string}),userPlatform:r().shape({siteCode:r().string,userPlatformProxy:r().string,xClientID:r().string})};const Rn=(0,ve.Ng)(e=>({config:e.config,user:e.user,userPlatform:e.userPlatform}))(e=>s.createElement(Nn,null,s.createElement(Mn,{...e}))),Fn=({attributes:e,additionalNavigation:t=null,children:n,className:o,componentConfig:a,config:r,crossDomainLinks:l,crashDetectionScriptPath:m,hasBaseAds:p=!1,hasContentHeaderLogo:g,hasFooterAdsMargins:h=!1,hasFooterMargins:y=!0,hasEventBannerHidden:$,hasTopStory:v=!1,hideFooter:C=!1,hideHeader:k=!1,coreDataLayer:x,deepLinkImageId:E,engagementChatbotConfig:A,featureFlags:S,featureValue:L,fullPageTheme:T="standard",groupingServiceConfig:N,isHeroAdVisible:H=!0,interactiveOverride:I,redirectMsg:B,showContentFooterWithHeaderOverride:O=!1,showNavWithHeaderOverride:_=!0,theme:K="standard",navigationTheme:P,hasFooterAd:q=!0,shouldPrioritizeSeriesPagination:M=!1,seriesData:R,linkBannerData:F,globalMessage:U=null,showBackgroundGradientColor:V=!1,fourd:G,hasLinkbannerCrossSlideAnimation:W=!1,snowplow:ee,mainRef:te=null,fingerprint:le,persistentLogin:de,idmapper:ce,shouldScrollToTopStory:ve,hasExtraMarginForHeader:Ce=!1,user:ke,lang:xe=$e.xN,parsely:Ee,shouldBeStickyVideo:Ae=!1,shouldEnableFullArticleInverted:Le,hasConsistentSpacing:Te,aiChatBotConfig:Ne,dispatch:He,payment:Ie,sophiConfig:Be={enabled:!1,hostId:""}})=>{const Oe=r?.design?.theme||T,_e=r?.newsletterList?.some(e=>e.showNewsletterInOnboarding),Ke="US"===(0,Rt.getCookie)("CN_geo_country_code")&&Be.enabled&&Be.hostId;(0,ae.ck)(Ke?Be.hostId:null);let Pe=!1,De=!1,qe=!1,Me=!1,Ue=[];const Ve=[],Ge=[],We=[],je=s.useRef(),ze=s.useRef(null),[Ye,Xe]=s.useState(!1),[Ze,Je]=s.useState(0),Qe=e=>{(0,Se.kg)({type:"scroll",placement:"vertical",index:e})};let et=!0;const tt=(0,Pt.B)(),nt=e=>{const t=window.Fides?(0,Ct.be)():(e=>Array.isArray(e?.detail)?e?.detail:[])(e),n=["C0004"],o=!!t.some(e=>n.includes(e));je.current.updateConsent(t);const i=window?.dataLayer.find(e=>"data-layer-loaded"===e.event),a=i?.site?.env;(0,Se.JE)((0,Se.Ec)()||o,a,ee?.slug),(()=>{const e=(0,Se.iw)?.(),{collectorURL:t,slug:n,enableSnowplow:o,appInfoObj:i}=ee,a=x?.site?.env;if(("staging"===a||Se.QD.includes(n))&&(e?.C0009||e?.C0004)&&!window.__snowplowAlreadyInitialized&&(window.__snowplowAlreadyInitialized=!0,ee&&o)){const e=[x,ke];(0,Se.up)(t,n,e,i,l)}})()},ot=()=>{(0,Se.Ec)()||(0,Rt.deleteCookie)("sp_client")},it=()=>{const e=window&&window.document&&window.document.documentElement.scrollHeight,t=(window&&window.pageYOffset)/(e-(window&&window.innerHeight))*100;t>=25&&!Pe&&(Qe(25),(0,Se.Hh)(),Pe=!0),t>=50&&!De&&(Qe(50),(0,Se.Hh)(),De=!0),t>=75&&!qe&&(Qe(75),(0,Se.Hh)(),qe=!0),t>=100&&!Me&&(Qe(100),(0,Se.Hh)(),Me=!0),et=(0,re.W)(et,window.scrollY)},at=()=>{if(E){if(!new URLSearchParams(window.location.search).get("image"))return;const e=document.getElementById(E);e&&setTimeout(()=>{e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},1)}else(0,ye.A)(window.location.hash)},rt=e=>()=>{e.scrollBy({left:-300,behavior:"smooth"}),(0,Se.kg)({type:"back",subject:"table",placement:"mid-content"})},st=e=>()=>{e.scrollBy({left:300,behavior:"smooth"}),(0,Se.kg)({type:"forward",subject:"table",placement:"mid-content"})},lt=(e,t,n)=>()=>{const{scrollLeft:o,scrollWidth:i,clientWidth:a}=e,r=0===o,s=o>=i-a;t.disabled=r,n.disabled=s,s?e.classList.remove("has-shadow"):e.classList.add("has-shadow")},dt=()=>{const e=document.querySelectorAll("table"),t=[];e.length>0&&(e.forEach(e=>{const n=(e=>{const t=e.parentElement;if(t&&t.classList.contains("scrollable-table-container"))return t;const n=document.createElement("div");n.className="table-container";const o=document.createElement("div");return o.className="scrollable-table-container",e.classList.contains("simple-table")||e.classList.add("simple-table"),e.parentNode.insertBefore(n,e),n.appendChild(o),o.appendChild(e),o})(e);n&&!t.includes(n)&&t.push(n)}),Ue=document.querySelectorAll(".scrollable-table-container"),Ue.forEach((e,t)=>{const n=document.createElement("div"),o=document.createElement("button"),i=document.createElement("button"),a=e.scrollWidth>e.clientWidth;Ve[t]=o,Ge[t]=i,We[t]=n,a?(e.classList.add("has-shadow"),n.classList.add("scroll-arrows"),o.classList.add("chevron","left"),i.classList.add("chevron","right"),o.disabled=!0,n.appendChild(o),n.appendChild(i),e.parentElement.insertAdjacentElement("afterend",n),o.addEventListener("click",rt(e)),i.addEventListener("click",st(e)),e.addEventListener("scroll",lt(e,o,i))):(e.parentElement.classList.add("has-bottom-margin"),e.classList.remove("has-shadow"));const r=e.parentElement,s=r.querySelectorAll("a"),l=Array.from(s).some(e=>e.href.includes("cna.st"));if(r&&l&&!r.classList.contains("table-impression-tracked")){const e=new IntersectionObserver(n=>{n.forEach(n=>{if(n.isIntersecting&&!n.target.classList.contains("table-impression-tracked")){n.target.classList.add("table-impression-tracked");const o=n.target.querySelectorAll('a[href*="cna.st"]');if(o.length>0){const e=[];if(Array.from(o).forEach((t,n)=>{const o={currentTarget:t,target:t,type:"impression"};(0,vt.P)({event:o,linkProps:t.getAttribute("href"),setLinkProps:()=>{},onClickHandler:(o,i)=>{e.push({...i,target:t,currentTarget:t,label:t.textContent||`Product ${n+1}`,link:t.getAttribute("href"),position:n+1})},type:"AffiliateLinkSimpleTable",label:"affiliate_link_simple_table"})}),e.length>3)for(let t=0;t0&&(0,Se.F$)(e)}window.dataLayer&&window.dataLayer.push({event:"table-impression",table:{index:t,position:t+1}}),e.unobserve(n.target)}})},{root:null,rootMargin:"0px",threshold:.5});e.observe(r)}}))};s.useEffect(()=>{if(xt.A.persistentLogin(de),je.current=new kt.wp(le||{}),window.Fides||window.addEventListener("OneTrustGroupsUpdated",nt),window.addEventListener("FidesUpdated",nt),ze.current=window.Kendra.WINDOW_EVENT.on(D.m.SCROLL_DEBOUNCE,it),window.addEventListener("load",()=>{dt(),at()}),S.showRedirectMsg&&B&&At()&&Xe(!0),ee){const{collectorURL:e,slug:t,enableSnowplow:n,appInfoObj:o}=ee;if(n){const n=window.document.getElementsByTagName("a");for(let e=0;e{const t=(0,Se.D3)(e.target);t&&(0,Se.UP)(t)});const i=[x,ke];(0,Se.up)(e,t,i,o,l),document?.body?.addEventListener("ceros-analytics-event",Se.iu)}}return window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"BasePage"}),(()=>{const e=()=>{Lt()};"complete"===document.readyState?setTimeout(e,2e3):"interactive"===document.readyState?window.addEventListener("load",()=>{setTimeout(e,2e3)}):document.addEventListener("DOMContentLoaded",()=>{window.addEventListener("load",()=>{setTimeout(e,2e3)})})})(),window?.Fides?.initialized?ot():window.addEventListener("FidesInitialized",ot),window.addEventListener("FidesUpdated",ot),()=>{window.removeEventListener("load",()=>{dt(),at()}),window.removeEventListener("OneTrustGroupsUpdated",nt),window.removeEventListener("FidesUpdated",nt),ze.current&&ze.current.off(),window.removeEventListener("FidesInitialized",ot),window.removeEventListener("FidesUpdated",ot),Ue.forEach((e,t)=>{const n=Ve[t],o=Ge[t],i=We[t];n.removeEventListener("click",rt(e)),o.removeEventListener("click",st(e)),e.removeEventListener("scroll",lt(e,n,o)),i&&i.remove()})}},[]),s.useEffect(()=>{window.cnBus.on("journey.unit.render.end",()=>{const e=document.querySelector(".journey-unit__container .NewsletterRibbonComponent");e&&Je(e.offsetHeight)})},[]),(0,ae.Xz)({user:ke,payment:Ie,dispatch:He});const{bannerType:ct}=F,mt="visual-link-banner"===ct,ut=mt&&!g,{publicKey:pt,shouldRenderParsely:gt=!0}=Ee||{},ht=x?.content?.tags||"",yt="header"===(0,$t.u)(I),bt="all"===(0,$t.u)(I),ft=G?G.enableFourdUser:null;if(bt)return s.createElement(s.Fragment,null,pt&>&&s.createElement(ne,{apiKey:pt}),s.createElement(Xt,{canonicalUrl:x?.page?.canonical||"",className:"interactive-override-container interactive-override-container--all",markup:I.markup}),ee?.enableSnowplow&&s.createElement(oe.A,{brand:ee.slug||""}),s.createElement(Ot,{isEnabled:!0}),s.createElement(Q.A,{shouldEnableFourdUser:ft,shouldEnableInfinityId:S.enableInfinityId,idmConfig:ce}));const Et=(_||!yt)&&!k,St=M&&R&&F.links.length>0,Nt=a?.ConnectedNavigation?.settings?.navPattern||"",Ht=A?.enableChatBot||!1,It=!St&&a?.[Nt]?.variation||"",Bt="OneNav"===Nt,qt=h?6:0,Mt=K,Ft={fullPageTheme:Oe,theme:Mt},Ut="main-content",Vt=s.createElement(_t.qX,{...e,className:i()("page",{"page-prioritize-series-pagination":St,[`theme-${Oe}`]:Oe===Mt&&"standard"!==Oe},o),hasConsistentSpacing:Te,hasFooterMargins:y&&"inverted"!==Oe,hasContentHeaderLogo:g,isNavigationHidden:!Et,shouldBeStickyVideo:Ae,showScrolledLinkBannerSpacing:W,isVisualLinkBanner:mt,hasExtraMarginForHeader:Ce,journeyRibbonHeight:Ze},Ye&&s.createElement(f.A,{contentAlign:"center",isFixed:!0,delayDuration:1e4},s.createElement("p",null,B)),Ht&&s.createElement(Re,{aiChatBotConfig:Ne}),S.showGlobalMessage&&U&&s.createElement(f.A,{contentAlign:"center",delayDuration:U.delayDuration},s.createElement("p",null,U.text)),pt&>&&s.createElement(ne,{apiKey:pt}),s.createElement(he.A.Provider,{value:Ft},s.createElement(_t.B3,{isNavigationHidden:!Et}),p&&s.createElement(w.Z,{group:"ads"},s.createElement(_t.UU,{position:"out-of-page"}),s.createElement(_t.UU,{position:"outstream"}),s.createElement(_t.UU,{position:"overlay"})),s.createElement(_t.S6,{href:ve?"#topstory-content":`#${Ut}`,"data-testid":"BasePageSkipLink"},"Skip to main content"),s.createElement(b,null,s.createElement(w.Z,{group:"paywall"},s.createElement(me,{className:"paywall-modal--paywall",position:"paywall-modal-full-barrier"}),s.createElement(j,{name:"incognito-modal",component:me,className:"paywall-modal--incognito"})),s.createElement(Fe.v0,null)),Et&&s.createElement(be.A,{featureValue:L,navigationTheme:[P,Oe,Mt].find(e=>"standard"!==e&&null!=e),hasContentHeaderLogo:g,shouldEnableFullArticleInverted:Le,hasLinkbannerCrossSlideAnimation:W,journeyRibbonHeight:Ze,hasBaseAds:p}),ut&&s.createElement(Tt.A,{hasDivider:mt}),t,s.createElement(ue.A,null,s.createElement(Fe.RJ,null),s.createElement(w.Z,{group:"paywall"},s.createElement(se.A,null)),s.createElement(Y.A,null),s.createElement(X.A,null),s.createElement(Z.A,null),s.createElement(J.A,null),S.hasRiser&&s.createElement(z.A,{position:"cm-riser"}),_e&&s.createElement(Rn,null)),("StackedNavigation"===Nt||"StandardNavigation"===Nt||"SiteHeader"===Nt)&&s.createElement(Qt,{navPattern:Nt}),!Bt&&p&&H&&!yt&&s.createElement(c.$,{navVariation:It,className:i()({[`theme-${Mt}`]:Mt!==Oe})}),s.createElement(Dt.A,{experimentFlags:L}),s.createElement(_t.vY,{id:Ut,tabIndex:"-1",isInverted:"inverted"===Oe,className:i()("page__main-content"),hasTopStory:v,showBackgroundGradientColor:V,ref:te,hasConsistentSpacing:Te},!v&&s.createElement(Fe.Rv,null),!d()(r?.eventBanner)&&!$&&s.createElement(wt,{"data-testid":"EventBanner",className:"page__event_banner",pageTags:ht}),yt?s.createElement(s.Fragment,null,s.createElement(Xt,{canonicalUrl:x?.page?.canonical||"",className:"interactive-override-container interactive-override-container--header",markup:I.markup}),O&&(0,Kt.X)(n)):n),s.createElement(_t.fu,{className:"page__main-footer-filler"}),p&&q&&s.createElement(pe.A,{topSpacing:qt},tt&&s.createElement(Fe.wi,null),s.createElement(w.Z,{group:"consumer-marketing"},s.createElement(z.A,{position:"cm-footer"}))),((e,t,n,o)=>e?null:s.createElement(_t.dW,{hasMargins:t,noFooterMargin:"inverted"===n,hasConsistentSpacing:o},s.createElement(_t.do,null,s.createElement(ge.A,null))))(C,y,Oe,Te)),s.createElement(Q.A,{shouldEnableFourdUser:ft,shouldEnableInfinityId:S.enableInfinityId,idmConfig:ce}),S.enableUserContext&&s.createElement(ie.A,null),N?.isEnabled&&"US"===(0,Rt.getCookie)("CN_geo_country_code")&&s.createElement(rn,{groupingServiceUrl:N?.endpoint,isSophiEnabled:Ke}),ee?.enableSnowplow&&s.createElement(oe.A,{brand:ee.slug||""}),s.createElement(Ot,{isEnabled:!0,scriptPath:m}),s.createElement(en.h,null));return s.createElement(fe.CZ,null,s.createElement(we.pd,{lang:xe},Vt))};Fn.propTypes={additionalNavigation:r().node,aiChatBotConfig:r().object,attributes:r().object,children:r().node.isRequired,className:r().string,componentConfig:r().shape({ConnectedNavigation:r().shape({settings:r().shape({navPattern:r().string})})}),config:r().shape({design:r().shape({theme:r().string}),eventBanner:r().object,groupingServiceUrl:r().string,newsletterList:r().array}),coreDataLayer:r().shape({content:r().shape({tags:r().string,contentType:r().string}),page:r().shape({canonical:r().string})}),crashDetectionScriptPath:r().string,crossDomainLinks:r().array,deepLinkImageId:r().string,engagementChatbotConfig:r().object,eventBannerTags:r().array,groupingServiceConfig:r().shape({endpoint:r().string,isEnabled:r().bool}),featureFlags:r().shape({hasRiser:r().bool,showRedirectMsg:r().bool,showGlobalMessage:r().bool,enableInfinityId:r().bool,enableUserContext:r().bool}),featureValue:r().object,fingerprint:r().object,fourd:r().shape({enableFourdUser:r().bool}),fullPageTheme:r().oneOf(["standard","inverted"]),globalMessage:r().shape({text:r().string.isRequired,delayDuration:r().number}),hasBaseAds:r().bool,hasConsistentSpacing:r().bool,hasContentHeaderLogo:r().bool,hasEventBannerHidden:r().bool,hasExtraMarginForHeader:r().bool,hasFooterAd:r().bool,hasFooterAdsMargins:r().bool,hasFooterMargins:r().bool,hasLinkbannerCrossSlideAnimation:r().bool,hasTopStory:r().bool,hideFooter:r().bool,hideHeader:r().bool,idmapper:r().shape({isEnabled:r().bool,publicKey:r().string}),interactiveOverride:r().shape({markup:r().string,behavior:r().string}),isHeroAdVisible:r().bool,lang:r().oneOf($e.YZ),linkBannerData:r().shape({bannerType:r().string,hed:r().hed,dek:r().dek,image:r().shape(Ue.A.propTypes),links:r().arrayOf(r().shape({url:r().string,text:r().string,isExternal:r().bool})),tracking:r().shape({trackingIdentifier:r().string,attributes:r().object})}),mainRef:r().object,navigationTheme:r().string,parsely:r().shape({publicKey:r().string,shouldRenderParsely:r().bool}),persistentLogin:r().object,redirectMsg:r().string,seriesData:r().shape({hed:r().string,dek:r().string,image:r().object,links:r().arrayOf(r().shape({hed:r().string,dek:r().string,image:r().object,isPublished:r().bool,promoHed:r().string,url:r().string}))}),shouldBeStickyVideo:r().bool,shouldEnableFullArticleInverted:r().bool,shouldPrioritizeSeriesPagination:r().bool,shouldScrollToTopStory:r().bool,showBackgroundGradientColor:r().bool,showContentFooterWithHeaderOverride:r().bool,showNavWithHeaderOverride:r().bool,snowplow:r().shape({collectorURL:r().string,enableSnowplow:r().bool,slug:r().string,appInfoObj:r().object}),theme:r().oneOf(["standard","inverted","special"]),user:r().object,dispatch:r().func,payment:r().shape({negotiation:r().shape({content:r().shape({contentType:r().string,channelSlug:r().string})})}),sophiConfig:r().shape({enabled:r().bool,hostId:r().string})},Fn.displayName="BasePage";const Un=(0,m.M3)(Fn,{keysToPluck:["config","redirectMsg","componentConfig","coreDataLayer","crashDetectionScriptPath","deepLinkImageId","featureFlags","hasTopStory","parsely","seriesData","linkBannerData","globalMessage","snowplow","fourd","user","fingerprint","idmapper","crossDomainLinks","engagementChatbotConfig","payment","groupingServiceConfig","sophiConfig","persistentLogin"]})},51558:(e,t,n)=>{n.d(t,{$:()=>o});const o=e=>{if(window.matchMedia("(any-pointer: fine)").matches){const t=e.currentTarget,n=e.nativeEvent.offsetX,o=e.nativeEvent.offsetY;let i=0;i=`${n/t.offsetWidth*100}% ${o/t.offsetHeight*100}%`,t.style.backgroundPosition=i}}},52009:(e,t,n)=>{n.d(t,{$:()=>a,I:()=>i});var o=n(82692);function i(e){return{sm:[(0,o.G)([e.md,e.sm],null)],lg:[(0,o.G)([e.xxl,e.xl,e.lg],null)]}}function a(e,t){const n=i(e);if(!t)return n;return{...t.reduce((t,n)=>(t[n]=[e[n]??null],t),{}),...n}}},52064:(e,t,n)=>{n.d(t,{CZ:()=>i.C,YV:()=>o.Y});var o=n(35363),i=n(96461)},52188:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({navigationMenuButtonLabel:{id:"StandardNavigation.MenuButton",defaultMessage:"Open Navigation Menu",description:"Label for the menu button"},secondaryLinksLabel:{id:"StandardNavigation.SecondaryLinksLabel",defaultMessage:"Secondary",description:"ARIA label for secondary links"},utilityLinksLabel:{id:"StandardNavigation.UtilityLinksLabel",defaultMessage:"Utility",description:"ARIA label for utility links"},openSearchMenuLabel:{id:"StandardNavigation.OpenSearchMenuLabel",defaultMessage:"Open Search Menu",description:"ARIA label open search menu button"},searchLabel:{id:"StandardNavigation.SearchLabel",defaultMessage:"Search",description:"ARIA label for search link"},drawerLabel:{id:"StandardNavigation.Drawer",defaultMessage:"Navigation and Sign Up Menu",description:"ARIA label for the drawer modal"},accountLabel:{id:"StandardNavigation.AccountLabel",defaultMessage:"My Account",description:"Label for account link",isConfigurable:!0},signInLabel:{id:"StandardNavigation.SignInLabel",defaultMessage:"Sign In",description:"Label for sign in link",isConfigurable:!0},saveBookmarkLabel:{id:"StandardNavigation.saveBookmarkLabel",defaultMessage:"Save story",description:"Label for the bookmark icon"},shoppingCartLabel:{id:"StandardNavigation.ShoppingCartLabel",defaultMessage:"Shopping Cart",description:"Label for Shopping cart"},shoppingCartAriaLabel:{id:"StandardNavigation.ShoppingCartAriaLabel",defaultMessage:"item(s) in Cart",description:"ARIA label for Shopping cart"}})},52327:(e,t,n)=>{n.d(t,{K$:()=>c,Ni:()=>u,Q9:()=>g,Qv:()=>d,Wh:()=>m,Wx:()=>l,Yc:()=>p});var o=n(38267),i=n(26865),a=n(76955),r=n(96472),s=n(99906);const l=(0,o.Ay)(a.vm).withConfig({displayName:"InfoSliceValue"})` display: table-cell; vertical-align: top; `;l.defaultProps={colorToken:"colors.consumption.body.standard.body",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const d=(0,o.Ay)(a.vm).withConfig({displayName:"InfoSliceKey"})` display: table-cell; padding-right: ${(0,i.Kq)(1)}; vertical-align: top; ${({shouldContentWrap:e})=>e&&"white-space: nowrap;"} `;d.defaultProps={colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.globalEditorial.context-title"};const c=o.Ay.div.withConfig({displayName:"InfoSliceItem"})` display: table; align-items: center; padding: ${(0,i.Kq)(.5)} 0; `,m=o.Ay.li.withConfig({displayName:"InfoSliceListItem"})` @media (max-width: ${s.VS.md}px) { ${({hasCustomPadding:e})=>!e&&"margin: 0 auto;"} } @media (min-width: ${r.LO.md}) { margin-right: ${(0,i.Kq)(3)}; :last-child { margin-right: ${(0,i.Kq)(0)}; } } `,u=o.Ay.ul.withConfig({displayName:"InfoSliceList"})` display: flex; flex-direction: column; margin: 0; border-width: 2px 0 0; border-style: solid; padding: ${(0,i.Kq)(1.5)} 0; ${({theme:e})=>(0,i._o)(e,"border-color","colors.consumption.body.standard.divider")}; ${({hasCustomPadding:e})=>e&&`\n padding: ${(0,i.Kq)(2)} 0 ${(0,i.Kq)(1)} 0;\n `} list-style: none; @media (min-width: ${r.LO.md}) { flex-direction: row; flex-wrap: wrap; align-items: center; ${({isMusicReview:e})=>e&&"\n justify-content: center;\n border-width: 0 0 0;"} } ${({isMusicReview:e})=>e&&"\n justify-content: center;\n border-width: 0 0 0;"} `,p=(0,o.Ay)(a.vm).withConfig({displayName:"InfoSliceHed"})` padding-bottom: ${(0,i.Kq)(2)}; ${({theme:e})=>(0,i._o)(e,"border-color","colors.consumption.body.standard.divider")}; `;p.defaultProps={as:"h2",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-primary"};const g=o.Ay.div.withConfig({displayName:"InfoSliceWrapper"})``},52679:(e,t,n)=>{n.d(t,{$m:()=>i.$m,LW:()=>v,Oq:()=>H,RI:()=>C,SE:()=>w,Vd:()=>N,Y_:()=>k,cu:()=>T,eb:()=>$,et:()=>E});var o=n(38267),i=n(33500),a=n(96472),r=n(99906),s=n(1123),l=n(6613),d=n(26865),c=n(76955),m=n(51e3),u=n(18117),p=n(77527),g=n(77307),h=n(277),y=n(74423),b=n(68116),f=n(95015);const w=o.Ay.div.withConfig({displayName:"SummaryCollageOneAside"})` display: none; grid-row: 1 / -1; justify-self: end; ${g.o6} { top: ${(0,d.Kq)(10)}; } ${(0,d.Xm)(a.LO.md,`${r.VS.lg}px`)} { display: block; grid-column: 7 / -1; } ${(0,d.H4)(a.LO.lg)} { display: block; grid-column: 9 / -1; } `,$=o.Ay.div.withConfig({displayName:"SummaryCollageOneTitle"})` grid-column: 1 / -1; ${i.QW} { > h2 { color: ${({customizedSectionTitleColorToken:e})=>e&&(0,d.HK)(e)}; } } ${({isSingleFeature:e})=>!e&&`\n margin-bottom: ${(0,d.Kq)(2)};\n\n ${(0,d.H4)(a.LO.md)} {\n margin-bottom: ${(0,d.Kq)(1)};\n }\n\n ${(0,d.H4)(a.LO.lg)} {\n margin-bottom: ${(0,d.Kq)(0)};\n }\n `} `,v=o.Ay.div.withConfig({displayName:"SummaryCollageOneCtaIcon"})` border-radius: ${(0,d.Kq)(1)}; background-color: ${({theme:e})=>(0,d.HK)(e,"colors.discovery.lead.secondary.background")}; background-image: ${({icon:e})=>`url('${e}')`}; width: ${(0,d.Kq)(6)}; height: ${(0,d.Kq)(6)}; ${(0,d.H4)(a.LO.lg)} { margin-right: ${(0,d.Kq)(2)}; } ${(0,d.L7)(`${r.VS.lg}px`)} { margin-bottom: ${(0,d.Kq)(2)}; } `,C=(0,o.Ay)(c.sH).withConfig({displayName:"SummaryCollageOneAnchorLink"})` ${(0,d.Gg)("typography.definitions.foundation.link-primary")} display: inline-block; margin-bottom: ${(0,d.Kq)(2)}; vertical-align: top; ${(0,d.H4)(a.LO.lg)} { margin-bottom: ${({showCtaIcon:e})=>e?0:(0,d.Kq)(4)}; } `,k=o.Ay.div.withConfig({displayName:"SummaryCollageOneCtaLink"})` grid-column: 1 / -1; text-align: center; span { display: block; width: 100%; text-align: center; } ${({showCtaIcon:e})=>e&&`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n \n ${(0,d.H4)(a.LO.lg)} {\n flex-direction: row;\n }\n `} `;C.defaultProps={colorSecondaryLinkToken:"colors.interactive.base.dark",colorStaticLinkToken:"colors.interactive.base.brand-primary",linkStyle:"global"};const x=o.AH` ${(0,s.VO)()} ${(0,s.aU)("padding")} display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--grid-gap); margin: 0 auto; width: 100%; max-width: ${a.LO.xxl}; row-gap: var(--grid-gap); .summary-item--layout-placement-text-below { &.summary-item--text-align-left, &.summary-item--text-align-center { .summary-item__hed { ${(0,d.Gg)("typography.definitions.discovery.hed-break-out")}; } .summary-item__dek { ${(0,d.Gg)("typography.definitions.discovery.description-feature")}; } } } ${({theme:e,shouldUseHedFeatureToken:t})=>t&&`\n .summary-item .summary-item__hed {\n ${(0,d.Gg)(e,"typography.definitions.discovery.hed-feature")};\n }\n `}; .summary-item__hed-link { &::after { border-bottom: 1px solid ${(0,d.HK)("colors.discovery.body.white.accent")}; } } .summary-item__content:empty { display: none; } ${m.eO} { justify-content: center; } ${(0,d.H4)(a.LO.md)} { grid-template-columns: repeat(12, 1fr); } `,E=o.Ay.div.withConfig({displayName:"SummaryCollageOneItemComponent"})` grid-column: 1 / -1; &&& { border-bottom: 0; .summary-item__content { margin: 0; @media (min-width: 0) and (max-width: ${a.LO.lg}) { margin: 0; } ${({customizedBylineColorToken:e})=>e&&o.AH` ${y.H1}, ${y.CR} { color: ${(0,d.HK)(e)}; } `} ${({customizedPublishDateColorToken:e})=>e&&o.AH` ${h.Y0} { color: ${(0,d.HK)(e)}; } `} } @media (min-width: 0) and (max-width: ${a.LO.md}) { padding-bottom: 0; } ${({hasEnhancedDailyCartoon:e})=>e&&`\n ${(0,d.H4)(a.LO.md)} {\n padding-bottom: 0;\n }\n `}; } `,A=o.AH` &&& { grid-gap: ${(0,d.Kq)(4)}; grid-template-rows: auto 1fr auto; height: 100%; } ${E} { display: grid; align-items: center; } ${u.B}.summary-item__image { .summary-item__image { display: grid; justify-items: center; ${({hasEnhancedDailyCartoon:e})=>e&&`\n ${(0,d.H4)(a.LO.lg)} {\n gap: 0;\n .responsive-cartoon__image-link {\n margin-bottom: ${(0,d.Kq)(3)};\n }\n\n ${p.Jp} {\n margin-bottom: ${(0,d.Kq)(1)};\n }\n }\n `} picture { max-width: ${(0,d.Kq)(37.5)}; ${(0,d.H4)(a.LO.lg)} { max-width: ${({hasEnhancedDailyCartoon:e})=>(0,d.Kq)(e?62.5:50)}; } ${(0,d.L7)(`${r.VS.md}px`)} { max-width: ${({hasEnhancedDailyCartoon:e})=>(0,d.Kq)(e?68.75:50)}; } } } .responsive-cartoon__caption { margin-top: 0; ${(0,d.H4)(a.LO.lg)} { margin-top: ${({hasEnhancedDailyCartoon:e})=>e?0:(0,d.Kq)(2)}; width: 85%; } } } `,S=o.AH` ${(0,d.Xm)(0,a.LO.lg)} { .summary-item__asset-container { ${(0,s.aU)("margin",!0)}; } } `,L=o.AH` &&& { grid-template-rows: unset; background-color: ${(0,d.HK)("colors.discovery.body.dark.background")}; ${b.IB} { a { color: ${(0,d.HK)("colors.discovery.body.dark.description")}; } } max-width: ${a.LO.xxl}; ${(0,d.Xm)(a.LO.sm,a.LO.md)} { column-gap: ${(0,d.Kq)(9)}; margin: ${(0,d.Kq)(0)}; padding: ${(0,d.Kq)(0)}; } ${(0,d.H4)(a.LO.md)} { column-gap: ${(0,d.Kq)(3)}; margin: ${(0,d.Kq)(0)}; padding: ${(0,d.Kq)(5)} ${(0,d.Kq)(3)}; } ${(0,d.H4)(a.LO.lg)} { margin: ${(0,d.Kq)(0)}; padding: ${(0,d.Kq)(7)} ${(0,d.Kq)(6)}; } ${(0,d.H4)(a.LO.xl)} { column-gap: 2rem; margin: ${(0,d.Kq)(0)}; padding: ${(0,d.Kq)(10)} ${(0,d.Kq)(8)}; } ${(0,d.H4)(a.LO.xxl)} { column-gap: 2rem; margin: auto; padding: ${(0,d.Kq)(10)} ${(0,d.Kq)(8)}; } } ${l.as} { color: ${(0,d.HK)("colors.discovery.body.dark.context-signature")}; } .summary-item__rubric { color: ${(0,d.HK)("colors.discovery.body.dark.context-signature")}; } .summary-item__dek { color: ${(0,d.HK)("colors.discovery.body.dark.description")}; } .summary-item__hed--hed-core-primary { ${(0,d.Gg)("typography.definitions.discovery.hed-core-primary")} color: ${(0,d.HK)("colors.discovery.body.dark.heading")}; } .summary-item__hed { color: ${(0,d.HK)("colors.discovery.body.dark.heading")}; } .summary-item--dark-background-right { ${(0,d.H4)(a.LO.md)} { grid-column: 2 / -2; margin: ${(0,d.Kq)(0)} ${(0,d.Kq)(-3)}; } ${(0,d.H4)(a.LO.lg)} { grid-column: 2 / -2; margin: ${(0,d.Kq)(0)} ${(0,d.Kq)(-3)}; padding: ${(0,d.Kq)(0)}; } ${(0,d.H4)(a.LO.xl)} { grid-column: 2 / -2; margin: ${(0,d.Kq)(0)} ${(0,d.Kq)(-4)}; padding: ${(0,d.Kq)(0)}; } ${(0,d.H4)(a.LO.xxl)} { grid-column: 2 / -2; margin: ${(0,d.Kq)(0)}; padding: ${(0,d.Kq)(0)}; } .summary-item__asset-container { ${(0,d.H4)(a.LO.md)} { margin-left: ${(0,d.Kq)(-3)}; } ${(0,d.H4)(a.LO.xl)} { margin-left: ${(0,d.Kq)(0)}; } } } .summary-item__content { margin: ${(0,d.Kq)(0)}; ${(0,d.H4)(a.LO.md)} { padding-right: ${(0,d.Kq)(3)}; } ${(0,d.H4)(a.LO.lg)} { padding-right: ${(0,d.Kq)(5)}; } ${(0,d.H4)(a.LO.xl)} { padding-right: ${(0,d.Kq)(3)}; } ${(0,d.H4)(a.LO.xxl)} { padding-right: ${(0,d.Kq)(6)}; } } `,T=o.Ay.div.withConfig({displayName:"SummaryCollageOneGridWithMargin"})` ${x} ${({isSingleFeature:e})=>e&&A} ${({hasFullWidthImage:e})=>e&&S} ${({isFullBleedDarkBackground:e})=>e&&L} background-color: ${({customNativeBackgroundColor:e})=>e?(0,d.HK)(e):""}; ${({hasPaddingOnContent:e})=>e&&o.AH` ${b.Rp} { padding-bottom: 0; } `} padding-top: ${({hasPaddingOnContent:e})=>e?"16px":0}; padding-bottom: ${({hasPaddingOnContent:e})=>e?"16px":0}; ${({hasEnhancedDailyCartoon:e,theme:t})=>e&&o.AH` ${(0,d.Xm)(a.LO.md,`${r.VS.lg}px`)} { ${$}, ${E}, ${k} { grid-column: 1 / 7; } } ${(0,d.L7)(`${r.VS.lg}px`)} { &&& { gap: ${(0,d.Kq)(3)}; } } ${(0,d.H4)(a.LO.lg)} { &&& { grid-row-gap: 0; } ${k} { margin-top: ${(0,d.Kq)(4)}; } ${$}, ${E}, ${k} { grid-column: 1 / 9; } } ${i.QW} { display: flex; justify-content: center; margin-bottom: ${(0,d.Kq)(3)}; ${i.bU} { ${(0,d.Gg)(t,"typography.definitions.discovery.subhed-section-primary")}; } } `} ${({showCartoonLink:e})=>e&&o.AH` ${(0,d.L7)(`${r.VS.lg}px`)} { &&& { grid-row-gap: 0; } } `} ${f.C} { color: ${({customizedSectionDekColorToken:e})=>e&&(0,d.HK)(e)}; ${({customizedSectionDekTypeToken:e})=>e&&(0,d.Gg)(e)}; } ${({customizedBackgroundColorToken:e,hasRoundedCorners:t})=>(e||t)&&o.AH` ${b.Rp} { border-radius: ${({hasRoundedCorners:e})=>e?"20px":""}; background-color: ${({customizedBackgroundColorToken:e})=>e?(0,d.HK)(e):""}; padding-bottom: 0; .aspect-ratio--overlay-container { img { border-radius: 0; } ${(0,d.H4)(a.LO.sm)} { border-top-left-radius: ${({hasRoundedCorners:e})=>e?"20px":""}; border-top-right-radius: ${({hasRoundedCorners:e})=>e?"20px":""}; } ${(0,d.H4)(a.LO.md)} { border-top-left-radius: ${({hasRoundedCorners:e})=>e?"20px":""}; border-top-right-radius: ${({hasRoundedCorners:e})=>e?"0px":""}; border-bottom-left-radius: ${({hasRoundedCorners:e})=>e?"20px":""}; } } } .summary-item__content { ${(0,d.L7)(a.LO.md)} { padding-top: ${(0,d.Kq)(4)}; padding-right: ${(0,d.Kq)(3)}; padding-bottom: ${(0,d.Kq)(7)}; padding-left: ${(0,d.Kq)(3)}; } } `} `,N=o.Ay.div.withConfig({displayName:"SummaryCollageOneIsFullBleed"})` ${({isFullBleedDarkBackground:e})=>e&&o.AH` background-color: ${(0,d.HK)("colors.discovery.body.dark.background")}; ${b.IB} { a { color: ${(0,d.HK)("colors.discovery.body.dark.description")}; } } max-width: 100%; `} `,H=(0,o.Ay)(i.Vy).withConfig({displayName:"SummaryCollageOneDangerousDek"})` display: flex; justify-content: center; margin-top: ${(0,d.Kq)(4)}; padding-left: 0; ${({theme:e})=>(0,d._o)(e,"color","colors.interactive.base.black")}; ${(0,d.L7)(`${r.VS.md}px`)} { grid-column: 1 / -1; } ${(0,d.Xm)(a.LO.md,`${r.VS.lg}px`)} { grid-column: 1 / 7; } ${(0,d.H4)(a.LO.lg)} { grid-column: 1 / 9; } `},52813:(e,t,n)=>{n.d(t,{Ic:()=>i,YE:()=>r,_3:()=>a,xY:()=>s});var o=n(38267);function i(){return o.AH` position: absolute; margin: 0; border: 0; padding: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; `}const a="\n position: absolute;\n margin: -1px;\n border: 0;\n padding: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n";function r(){return o.AH` ${i} &:active, &:focus { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: initial; } `}function s(){return o.AH` text-indent: -9999px; `}},52818:(e,t,n)=>{n.d(t,{A:()=>O});var o=n(5556),i=n.n(o),a=n(96540),r=n(62193),s=n.n(r),l=n(2404),d=n.n(l),c=n(69571),m=n(70920),u=n(53499),p=n(14307);const g=e=>{(0,p.d6)({type:e,subject:"carousel"})};var h=n(80471),y=n(1899),b=n(65947);const f=new Set,w=({slide:e,index:t,...n})=>{const[o,i]=(0,h.Wx)({threshold:1,trackVisibility:!0,delay:100,triggerOnce:!0});return i&&(({slide:e,index:t})=>{const n=`${e.productId||e.id}-${t}`;if(f.has(n))return;f.add(n);const o=e.multipleOffers?.[0]||e.offers?.[0]||{},i=(0,b.h)(o.price),a=(0,b.h)(o.reducedPrice),r=a&&i&&i>a,s=r?i-a:null,l=r?Math.round((i-a)/i*100):null,d={product_brand:e.productBrand||e.brand||"",product_id:e.productId||e.id||"",product_name:e.name||e.dangerousHed||"",index:t,product_price:i,is_product_discount:r||!1,product_discount_amount:s,product_discount_perc:l,currency_code:o.currency||"USD",product_component:"unified_product_card_slideshow",product_rating:e.rating||null,product_ref:"Copilot",product_type:e.contentType,product_system:"commerce"};(0,p.r_)({type:"impression",subject:"unified_product_card_slideshow"},d)})({slide:e,index:t}),a.createElement("div",{ref:o},a.createElement(y.A,{...n}))};w.propTypes={index:i().number.isRequired,slide:i().object.isRequired};var $=n(30668),v=n(31243),C=n(96472),k=n(38267),x=n(10553);const E=(0,k.Ay)(x.A).withConfig({displayName:"CNEVideoEmbedWrapper"})` ${({width:e})=>`width: ${e};`} `,A=({scriptUrl:e,width:t="100%",shouldPause:n=!1,shouldGoFullScreenOnPlay:o=!1,hidePosterTitle:i,videoEmbedPosition:r=""})=>{const s=window.matchMedia(`(max-width: ${C.LO.md})`),[l,d]=(0,a.useState)(s?.matches||!1),[c,m]=(0,a.useState)(n);return(0,a.useEffect)(()=>{s.matches!==l&&d(s.matches),c!==n&&m(e=>!e);const e=()=>{d(s.matches),m(n)};return s.addEventListener("change",e),()=>s.removeEventListener("change",e)},[l,s,c,n]),a.createElement(E,{width:t,scriptUrl:e,shouldAutoplay:!l,additionalEmbedParams:{hidePosterTitle:i||l,hasAnimatedThumb:!0},shouldMute:!l,shouldGoFullScreenOnPlay:o?l:o,shouldPause:c,videoEmbedPosition:r})};A.propTypes={hidePosterTitle:i().bool,scriptUrl:i().string.isRequired,shouldGoFullScreenOnPlay:i().bool,shouldPause:i().bool,videoEmbedPosition:i().string,width:i().string};const S=A;var L=n(62327),T=n(53448);const N={sm:"250px",lg:"500px"},H=({children:e,index:t,totalSlides:n,...o})=>{const{ref:i,inView:r}=(0,h.Wx)({threshold:.5,triggerOnce:!0});return(0,a.useEffect)(()=>{r&&(({index:e,totalIndex:t})=>{(0,p.d6)({type:"impression",subject:"carousel",index:e,total_index:t,placement:"horizontal"})})({index:t,totalIndex:n})},[r,t,n]),a.createElement(v.R2,{ref:i,...o},e)};H.propTypes={children:i().node,index:i().number.isRequired,totalSlides:i().number.isRequired,placement:i().string};const I=e=>e&&["product","commerce-product"].includes(e.contentType),B=({hasHoverEffect:e=!1,isLazy:t=!0,slides:n=[],textAlign:o="center"})=>{(0,a.useEffect)(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"CarouselMixedAspectRatio"})},[]);const[i,r]=(0,m.A)(),[l,p]=(0,a.useState)({}),h=(0,a.useRef)(l),y=(0,a.useCallback)(e=>{h.current=e,p(e)},[]),b="firstFullyVisibleItemIndex",f="lastPartiallyVisibleItemIndex",C=(0,a.useRef)(null),k=(0,a.useCallback)(()=>{let e=0,t=0;s()(h?.current)||(e=h.current[b],t=h.current[f]);const n=(0,$.Wq)(C,e,t);d()(n,h.current)||y(n)},[y]),x=(0,a.useCallback)(()=>{C.current&&k()},[k]),E=(e,t)=>{let n=e;const o=e.includes("?")?"&":"?";return n+=0===t?`${o}autoplay=1&muted=1&continuousPlay=0&hideHoverTitle=true&loopVideo=1&hasAnimatedThumb=1&aspectRatio=9x16`:3===t?`${o}autoplay=0&muted=0&continuousPlay=0&hideHoverTitle=true&loopVideo=1&hasAnimatedThumb=1&aspectRatio=9x16`:`${o}adsDisabled=1&autoplay=0&muted=0&continuousPlay=0&hideHoverTitle=true&loopVideo=1&hasAnimatedThumb=1&aspectRatio=9x16`,n};(0,a.useEffect)(()=>{let e=C.current;return e&&(s()(l)&&k(),e.addEventListener("scroll",(0,$.S9)(x),!0),window.addEventListener("resize",(0,$.Hc)(x))),()=>{e&&(e.removeEventListener("scroll",$.S9),window.removeEventListener("resize",$.Hc),e=null,C.current=null,h.current={})}},[]),(0,a.useEffect)(()=>{r&&k()},[r,k]);const A=(0,a.useMemo)(()=>l&&(0,$.dK)(C),[l]),B=(0,a.useMemo)(()=>l&&(0,$.Lu)(C),[l]),O=e=>{e?.lg&&e?.sm||k()},_=(n,o,i,r)=>o?a.createElement(v.Bl,{href:o,target:i,hasHoverEffect:e},a.createElement(v.vI,{...n,isLazy:t,assetWidth:r,hasNativeImgLazyLoading:!0,assetHeightSmBasedOnContent:K,onAssetLoaded:()=>{O(r)},onAssetContainerLoaded:()=>{O(r)}})):a.createElement(v.vI,{...n,isLazy:t,hasNativeImgLazyLoading:!0,assetWidth:r,assetHeightSmBasedOnContent:K,hasHoverEffect:e,onAssetLoaded:()=>{O(r)},onAssetContainerLoaded:()=>{O(r)}});if(0===n.length)return null;const K=(0,$.vB)(n),P=n.map(e=>{if(e?.children){return{...e.children?.props?.children?.props,href:e?.children?.props?.href,target:e?.children?.props?.target}}return e});let D=0;return a.createElement(a.Fragment,null,a.createElement(v.sy,null,a.createElement(v.hQ,{ref:C},a.createElement(v.bo,{className:$.Vr,ref:i},r&&P.filter(e=>{if(!e)return!1;const t=Array.isArray(e?.image)?e.image[0]:e?.image;return t&&t.sources||e.scriptUrl}).map((e,t)=>{const{dangerousCaption:i,dangerousCredit:r,dangerousDek:s,dangerousHed:l,scriptUrl:d,contentType:c,image:m,href:u,target:p,lookNumber:g}=e,h=Array.isArray(m)?m[0]:m,y={...e,image:h},b="cneembed"===c,f=I(e),C=((e,t,n)=>{const o=I(e);return o&&t?{sm:"150px",lg:"300px"}:t&&!o?(0,$.Nh)(t,n):N})(e,h,K);return t===n.length-1&&k(),f?((e,t,n,o,i)=>a.createElement(v.R2,{key:`asset-${n}`,assetWidth:i,isCNEVideo:!1,className:$.ro},a.createElement(w,{slide:t,index:n,dangerousHed:o,...t,type:"card",isLazy:!0,componentConfigOverride:{type:"card"},data_item:{...t,id:e.productId||e.id,brand:{name:e.productBrand||e.brand},offers:e.multipleOffers||e.offers,index:n,component:"unified_product_card_slideshow"},brand:e.productBrand||e.brand,name:e.name||o,offers:e.multipleOffers||e.offers,hasImageCreditText:!1,shouldDisableCreditText:e.shouldDisableCreditText})))(e,y,t,l,C):a.createElement(H,{key:`asset-${t}`,"data-carousel-item":"",assetWidth:C,isCNEVideo:b,assetHeightSmBasedOnContent:K,className:$.ro,index:t,totalSlides:n.length},a.createElement(v.YQ,{isCNEVideo:b,assetHeightSmBasedOnContent:K},((e,t,n,o,i,r,s,l,d,c)=>a.createElement(a.Fragment,null,e&&t?a.createElement(S,{scriptUrl:n(t,o),hidePosterTitle:!0,shouldGoFullScreenOnPlay:!1,videoEmbedPosition:L.sm}):i(r,s,l,d),c&&a.createElement(T.V,{lookNumber:c})))(b,d,E,D++,_,h,u,p,C,g)),a.createElement(v._e,{isCNEVideo:b,textAlign:o},((e,t,n,o)=>a.createElement(a.Fragment,null,e&&a.createElement(v.Lc,{dangerouslySetInnerHTML:{__html:e}}),t&&a.createElement(v.Lc,{dangerouslySetInnerHTML:{__html:t}}),n&&a.createElement(v.LN,{dangerouslySetInnerHTML:{__html:n}}),o&&a.createElement(v.Lc,{dangerouslySetInnerHTML:{__html:o}})))(l,s,r,i)))}))),a.createElement(v.Be,null,a.createElement(v.zp,null,a.createElement(v.O3,{onClick:()=>{if(B){const e=Math.max(l[b],0);(0,$.nd)(C,e)}g("back")},direction:"back",disabled:!B},a.createElement(c.A,null)),a.createElement(v.O3,{onClick:()=>{if(A){let e=Math.min(l[f],n.length-1);0===l[f]&&(e+=1),(0,$.NY)(C,e)}g("forward")},direction:"forward",disabled:!A},a.createElement(c.A,null))))))};B.propTypes={hasHoverEffect:i().bool,isLazy:i().bool,slides:i().arrayOf(i().object),textAlign:i().string},B.displayName="CarouselMixedAspectRatio";const O=B},53448:(e,t,n)=>{n.d(t,{V:()=>c});var o=n(5556),i=n.n(o),a=n(96540),r=n(38267),s=n(26865),l=n(75163);const d=r.Ay.div.withConfig({displayName:"LookNumberBadge"})` position: absolute; right: 0; bottom: 0; left: 0; background: var(${l.pT.Color.OverlaySubtle180deg}); padding: ${(0,s.Kq)(1)} ${(0,s.Kq)(1)} ${(0,s.Kq)(.5)} ${(0,s.Kq)(1)}; color: ${({theme:e})=>(0,s.HK)(e,"colors.discovery.body.black.context-signature")}; ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; `,c=({lookNumber:e})=>e?a.createElement(d,null,e):null;c.propTypes={lookNumber:i().string}},53499:(e,t,n)=>{n.d(t,{G:()=>o,J:()=>a});var o,i=n(53836);!function(e){e.RENDER="RENDER"}(o||(o={}));class a extends i.J{constructor(){super(500)}}},53788:(e,t,n)=>{n.d(t,{A:()=>o});const o=Object.freeze({amgPartnerCookieName:"amg_user_partner",authCompleteCookieName:"CN_authComplete",authCookieName:"CN_userAuth",authTrackingCookieName:"CN_authCheck",emailHashCookie:"CN_ipeh",oidcCookies:{access:"CN_token_access",id:"CN_token_id",refresh:"CN_token_refresh"},signOutAuthCookies:{legacy:["amg_user_partner","CN_userAuth","_wired_logged_in","vfauthtok"],paywall:["pay_ent_sub","pay_ent_pass"]},vfAuthCookieName:"vfauthtok",wiredAuthCookieName:"_wired_logged_in",xidCookie:"CN_xid",accessCookie:"CN_access"})},53985:(e,t,n)=>{n.d(t,{$N:()=>y,E4:()=>f,EY:()=>b,Nc:()=>I,Nz:()=>k,Pv:()=>B,aZ:()=>w,eN:()=>C,ew:()=>H,t6:()=>O,yh:()=>$,yj:()=>N});var o=n(38267),i=n(26865),a=n(48286),r=n(76955),s=n(96472),l=n(29912),d=n(15622),c=n(50531);const m=e=>"feature-medium"===e,u=e=>"feature-small"===e||"feature-large"===e,p=e=>"feature-small"===e||"feature-medium"===e,g=e=>"feature-medium"===e||"feature-large"===e,h=e=>"feature-large"===e,y=o.Ay.div.withConfig({displayName:"ProductEmbedCTA"})` grid-column: 1/-1; grid-row: 2/3; margin-top: ${(0,i.Kq)(2)}; .button--text-inside { padding: ${(0,i.Kq)(2)} 0.5rem; } ${({useEmbedSize:e,embedSize:t})=>!e&&h(t)&&o.AH` ${c.eM} { width: 100%; max-width: ${(0,i.Kq)(34)}; &:hover, &:focus { width: 100%; max-width: ${(0,i.Kq)(34)}; } } ${(0,i.L7)(s.LO.md)} { ${c.eM} { max-width: 100%; &:hover, &:focus { max-width: 100%; } } } `} ${({hasGalleryProductEmbedPadding:e})=>e&&` ${(0,i.L7)(s.LO.md)}{\n ${d.dU} > a {\n padding: ${(0,i.Kq)(1)} 0;}\n } \n }`} ${({hasProductEmbedPadding:e,hasGalleryProductEmbedPadding:t})=>(e||t)&&`${d.dU}{\n ${c.Lj}{\n padding:${(0,i.Kq)(1)} ${(0,i.Kq)(2)} 0;\n margin-bottom: ${(0,i.Kq)(1)};\n }\n }`} ${({buttonAlign:e})=>"right"===e&&"position: relative;"} ${(0,i.H4)(s.LO.md)} { position: relative; grid-column: 2/3; max-width: ${(0,i.Kq)(46)}; } & a { &:focus, &:link, &:visited, &:hover { text-decoration: none; } transition-timing-function: ease-in; transition-property: color, background, border; } `,b=(0,o.Ay)(r.sH).withConfig({displayName:"ProductEmbedImageLink"})` grid-area: product-image; grid-column: 1/2; grid-row: 1/2; ${({hasGallerySlideBackground:e})=>!e&&`padding-left: ${(0,i.Kq)(2)};`} &&&& { text-decoration: none; } ${(0,i.H4)(s.LO.md)} { grid-row: 1/-1; padding-left: 0; } div[class*='UnifiedProductCardTextBadge-']:not( div[class*='UnifiedProductCardSeal-'] + div[class*='UnifiedProductCardTextBadge-'] ) { max-width: calc(100% - 24px); } `,f=o.Ay.div.withConfig({displayName:"ProductEmbedAssetContainer"})` display: flex; position: relative; container-type: inline-size; div[class*='UnifiedProductCardTextBadge-']:not( div[class*='UnifiedProductCardSeal-'] + div[class*='UnifiedProductCardTextBadge-'] ) { max-width: calc(100% - 24px); } `,w=o.Ay.div.withConfig({displayName:"ProductEmbedImage"})``,$=o.Ay.div.withConfig({displayName:"ProductEmbedContent"})` grid-area: product-content; grid-column: 2/3; grid-row: 1/2; padding-right: ${(0,i.Kq)(2)}; ${({contentAlign:e})=>"space-between"===e&&o.AH` display: flex; flex-direction: column; justify-content: space-between; height: 100%; `} ${({contentAlign:e,contentPosition:t})=>"center"===e&&"start"===t&&o.AH` display: flex; flex-direction: column; justify-content: center; `} ${(0,i.H4)(s.LO.md)} { padding-right: 0; } `,v=o.AH` ${(0,i.Gg)("typography.definitions.consumptionEditorial.subhed-aux-secondary")} margin: 0; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.subhed")}; `,C=(0,o.Ay)(r.vm).withConfig({displayName:"ProductEmbedHed"})` ${v} ${l.q} & { ${v} } `;C.defaultProps={as:"h2"};const k=(0,o.Ay)(r.vm).withConfig({displayName:"ProductEmbedDek"})` ${(0,i.Gg)("typography.definitions.consumptionEditorial.description-embed")} margin-top: ${(0,i.Kq)(1)}; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.body")}; ${(0,i.H4)(s.LO.md)} { margin-top: ${(0,i.Kq)(2)}; } ${({showLess:e,showClampedProductDescription:t,productDescriptionLineLength:n})=>t&&`\n ${e?"overflow: hidden;":`\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${n};\n `}\n`} `;k.defaultProps={as:"div"};const x=o.AH` && { grid-template-columns: repeat(2, 1fr); padding-right: 0; padding-left: 0; ${(0,i.H4)(s.LO.md)} { grid-template-columns: minmax(${(0,i.Kq)(20)}, 30%) 1fr; } } `,E=o.AH` && { margin-bottom: ${(0,i.Kq)(3)}; .product-offer__buy-button { max-width: ${(0,i.Kq)(33)}; } ${(0,i.H4)(s.LO.md)} { padding-right: 0; padding-left: 0; } ${(0,i.Xm)(0,s.LO.md)} { .product-offer__cta-block a { padding: ${(0,i.Kq)(2)} ${(0,i.Kq)(.5)}; } .product-offer__buy-button .button__label { padding: 0; } } } `,A=o.AH` && { display: flex; flex-direction: column; margin-bottom: ${(0,i.Kq)(3)}; padding: 0; .product-offer__buy-button { max-width: ${(0,i.Kq)(33)}; } } `,S=o.AH` &.callout--group-item { && { grid-column: 1/-1; ${(0,i.H4)(s.LO.md)} { grid-column-gap: ${(0,i.Kq)(2)}; grid-template-columns: minmax(${(0,i.Kq)(10)}, 40%) 1fr; grid-row-gap: ${(0,i.Kq)(2)}; margin-bottom: ${(0,i.Kq)(5)}; padding: ${(0,i.Kq)(2)} 0 ${(0,i.Kq)(8)}; ${b} { padding-left: ${(0,i.Kq)(2)}; } ${$} { padding-right: ${(0,i.Kq)(2)}; } ${y} { position: absolute; grid-column: 1/-1; max-width: none; } } } } `,L=o.AH` && { display: flex; flex-direction: column; margin-bottom: ${(0,i.Kq)(5)}; padding-bottom: ${(0,i.Kq)(6)}; ${({hasGalleryProductEmbedPadding:e})=>e&&`\n &&&{\n margin-bottom: ${(0,i.Kq)(8)};\n ${(0,i.L7)(s.LO.md)}{\n margin-bottom: ${(0,i.Kq)(6)};\n }}\n `} ${b} { ${({hasProductEmbedPadding:e})=>e?` padding: 0 ${(0,i.Kq)(1)};`:`padding: 0 ${(0,i.Kq)(2)};`} ${({hasGalleryProductEmbedPadding:e})=>e&&" padding: 0;"} } ${$} { padding-left: ${(0,i.Kq)(2)}; } ${C} { ${({shouldHaveAlternateHedSpacing:e})=>e?`margin: ${(0,i.Kq)(.6)} 0 ${(0,i.Kq)(2)};`:`margin: ${(0,i.Kq)(1)} 0 0;`} ${({hasProductEmbedPadding:e})=>e&&`margin:${(0,i.Kq)(1)} 0;`} ${({hasGalleryProductEmbedPadding:e})=>e&&`margin:${(0,i.Kq)(2)} 0;`} } ${({marginDek:e,imageAlign:t})=>"bottom"===e&&"top"===t&&"padding-bottom: 0;"} ${k} { margin: ${(0,i.Kq)(2)} 0 0; ${({hasProductEmbedPadding:e,hasGalleryProductEmbedPadding:t})=>(e||t)&&`margin-bottom:${(0,i.Kq)(2)};`} ${({marginDek:e})=>"bottom"===e&&`\n position: relative;\n margin: ${(0,i.Kq)(2)} 0 ${(0,i.Kq)(2)};\n `} } ${y} { ${({hasTopMargin:e})=>e?"margin-top: 1rem;":"margin: 0;"} ${({marginDek:e})=>e&&"position: relative;"} ${({noDek:e})=>e&&`margin-top: ${(0,i.Kq)(2)};`} } ${(0,i.H4)(s.LO.md)} { margin-bottom: ${(0,i.Kq)(7)}; padding-bottom: ${(0,i.Kq)(5)}; ${b} { padding: 0; } ${$} { padding: 0; } ${C} { ${({shouldShowBrandName:e})=>e?`margin: ${(0,i.Kq)(1)} 0 0;`:`margin: ${(0,i.Kq)(2)} 0 ${(0,i.Kq)(2)};`} ${({hasProductEmbedPadding:e})=>e&&`margin:${(0,i.Kq)(1)} 0;`} ${({hasGalleryProductEmbedPadding:e})=>e&&`margin:${(0,i.Kq)(2)} 0;`} } ${k} { margin: 0 0 ${(0,i.Kq)(2)}; } } } &.callout--group-item { ${(0,i.H4)(s.LO.md)} { height: calc(100% - ${(0,i.Kq)(7)}); } } `,T=o.AH` .grid--item & { &.callout--group-item { &.callout--group-item-1 { max-width: 960px; } &.callout--group-item-1, &.callout--group-item-2 { ${$} { ${(0,i.R9)("contentAlign","center",o.AH` display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; `)} } ${(0,i.Xm)(s.LO.sm,s.LO.md)} { display: block; padding: 16px 1rem 4rem; max-width: 100%; ${b} { padding-left: 0; } } } } } `,N=(0,o.Ay)(r.vm).withConfig({displayName:"ProductEmbedImageCreditWrapper"})` padding-top: ${(0,i.Kq)(1)}; padding-bottom: ${(0,i.Kq)(2)}; `;N.defaultProps={as:"p",colorToken:"colors.consumption.body.standard.body-deemphasized",typeIdentity:"typography.definitions.globalEditorial.accreditation-core"};const H=(0,o.Ay)(r.c7).withConfig({displayName:"ProductEmbedWrapper"})` display: grid; position: relative; grid-column-gap: ${(0,i.Kq)(2)}; grid-column: 1/-1; grid-template-areas: 'product-image product-content'; grid-template-columns: minmax(${(0,i.Kq)(10)}, 40%) 1fr; grid-row-gap: ${(0,i.Kq)(2)}; ${({theme:e})=>(0,i._o)(e,"background-color","colors.consumption.body.standard.bg-card")}; padding: ${(0,i.Kq)(2)} 0; ${({hasProductEmbedPadding:e})=>e&&`padding: ${(0,i.Kq)(1)} 0;`} ${({hasGalleryProductEmbedPadding:e})=>e&&"padding:0;"} ${(0,i.H4)(s.LO.md)} { grid-column-gap: ${(0,i.Kq)(4)}; grid-column: 1 / span 8; grid-template-areas: 'product-image product-content'; grid-template-columns: minmax(auto, ${(0,i.Kq)(30)}) 1fr; grid-template-rows: auto; grid-row-gap: 0; margin-bottom: ${(0,i.Kq)(7)}; ${({shouldHaveModerateWrapperPadding:e})=>e?`padding: ${(0,i.Kq)(2)};`:`padding: ${(0,i.Kq)(5)} ${(0,i.Kq)(4)};`} ${({hasGalleryProductEmbedPadding:e})=>e&&"padding:0;"} } /* image align styles */ ${(0,i.R9)("imageAlign","top",L)} ${(0,i.R9)("imageAlign","center",T)} ${(0,i.R9)("imageAlign","left",S)} /* no-image styles */ ${(0,i.R9)("noImage",!0,o.AH` display: flex; `)} ${({useEmbedSize:e,embedSize:t})=>e&&t&&o.AH` ${b} { padding: 0; ${m(t)&&"margin: auto 0;"} ${u(t)&&`${(0,i.H4)(s.LO.md)} {\n padding: 0;\n }`} } ${$} { padding-left: 0; ${p(t)&&"margin: auto 0;"} ${g(t)&&"padding-right: 0;"} ${u(t)&&`${(0,i.H4)(s.LO.md)} {\n padding-left: 0;\n }`} } ${C} { ${(e=>(0,i.Gg)(m(e)?"typography.definitions.discovery.subhed-section-tertiary":"typography.definitions.consumptionEditorial.subhed-aux-primary"))(t)} ${({theme:e})=>(0,i._o)(e,"color","colors.interactive.base.black")}; ${p(t)&&"margin-top: 0;\n line-height: 1.125em;"} ${u(t)&&`${(0,i.H4)(s.LO.md)} {\n margin-top: 0;\n }`} } ${k} { ${g(t)&&o.AH` ${(0,i.Gg)("typography.definitions.consumptionEditorial.body-core")} margin-top: ${(0,i.Kq)(1)}; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.body")}; `} } ${y} { ${g(t)&&`margin-top: ${(0,i.Kq)(2)};`} ${h(t)&&`${(0,i.H4)(s.LO.md)} {\n position: relative;\n margin-top: ${(0,i.Kq)(2)};\n max-width: ${(0,i.Kq)(43)};\n }`} } /* image size styles */ ${(e=>{switch(e){case"feature-small":return x;case"feature-medium":return E;case"feature-large":return A;default:return null}})(t)} `} ${({noRightLeftPadding:e})=>e&&o.AH` && { padding: 0; &:not(:nth-child(1)) { margin-top: 1rem; } ${b} { padding: 0; } ${$} { padding: 0; } ${N} { padding-bottom: 0; } } `} ${({noBottomPadding:e,hasSidePadding:t,shouldHaveModerateWrapperPadding:n,hasGalleryProductEmbedPadding:a})=>(e||t)&&((e,t,n,a)=>o.AH` && { & { padding-bottom: 0; } ${e&&"text-align: center;\n "} ${(0,i.H4)(s.LO.md)} { grid-column: 3 / span 4; text-align: left; } ${$} { display: flex; flex-direction: column; justify-content: space-between; height: 100%; } ${y} { position: relative; ${e&&`\n margin-right: ${(0,i.Kq)(-2)};\n margin-left: ${(0,i.Kq)(-2)};\n ${(0,i.H4)(s.LO.md)} {\n margin-right: ${(0,i.Kq)(-4)};\n margin-left: ${(0,i.Kq)(-4)};\n }\n `} ${n&&` \n ${(0,i.H4)(s.LO.md)} {\n margin-right: ${(0,i.Kq)(-2)};\n margin-left: ${(0,i.Kq)(-2)};\n }\n `} ${a&&` \n ${(0,i.H4)(s.LO.md)} {\n margin-right: 0;\n margin-left: 0;\n }\n `} width: unset; min-width: unset; max-width: unset; ${t&&`\n & a {\n &:active,\n &:focus {\n ${({theme:e})=>(0,i._o)(e,"background-color","colors.interactive.base.brand-primary")};\n ${({theme:e})=>(0,i._o)(e,"border-color","colors.interactive.base.brand-primary")};\n }\n }\n `} } } ${l.q} > .body__inner-container > && { ${(0,i.H4)(s.LO.md)} { margin-right: auto; margin-left: auto; width: 50%; } } `)(e,t,n,a)} `;H.defaultProps={bottomSpacing:5};const I=o.Ay.div.withConfig({displayName:"ProductEmbedBrandName"})` margin-top: ${(0,i.Kq)(1)}; text-align: left; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.globalEditorial.context-secondary")}; text-transform: uppercase; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.standard.body-deemphasized")}; `,B=o.Ay.div.withConfig({displayName:"ProductEmbedHedWrapper"})` ${({hasBottomMargin:e})=>e?`\n ${(0,i.L7)(s.LO.md)} {\n margin-bottom: ${(0,i.Kq)(2)};\n }`:" "} ${({hasProductEmbedHedTextCentreAlign:e})=>e&&`\n text-align:center;\n &{\n margin-bottom: ${(0,i.Kq)(0)};\n }`} `,O=(0,o.Ay)(a.A).withConfig({displayName:"ProductEmbedClampedDescription"})` && { ${c.eM} { ${({showLess:e})=>e?`margin: -${(0,i.Kq)(1)} 0 ${(0,i.Kq)(2)} 0;`:`margin: ${(0,i.Kq)(1)} 0 ${(0,i.Kq)(2)} 0;`} padding: 0; min-width: auto; height: 24px; } ${c.Lj} { padding: 0; width: 100%; text-align: left; ${(0,i.Gg)("typography.definitions.utility.button-bulletin")}; ${({theme:e})=>` ${(0,i._o)(e,"color","colors.interactive.base.black")};`}; } } ${c.ny} { svg { width: 24px; height: 24px; } padding: 0; } `},54318:(e,t,n)=>{n.d(t,{$:()=>a});var o=n(67098),i=n.n(o);const a=(e,t)=>{if(e[t]){const n=i()(e[t])?.trim();return n?.replace(/[^a-zA-Z0-9 ]/g,""),n?.toLowerCase().split(" ").join("-")}return null}},54370:(e,t,n)=>{function o(...e){const t=e.filter(Boolean);if(t.length<=1){return t[0]||null}return function(e){t.forEach(t=>{"function"==typeof t?t(e):t&&(t.current=e)})}}n.d(t,{P:()=>o})},54495:(e,t,n)=>{n.d(t,{n:()=>i});var o=n(96540);const i=(e,t=!1,n=1)=>{let i=!1;return{enhancedChildren:o.Children.map(e,e=>o.isValidElement(e)&&"product"===e.props.contentType&&e.props.isUpcEnabled?(i=!0,o.cloneElement(e,{hideLandscapeLayout:!0,hasImageCreditText:t,productMultiImageCount:n})):e),hasUnifiedProductCard:i}}},54608:(e,t,n)=>{n.d(t,{A:()=>S});var o=n(13465),i=n(31581),a=n(96540),r=n(5556),s=n.n(r),l=n(6442);const d=(0,n(72267).defineMessages)({viewMoreText:{id:"FeaturedContributorAllFiction.ViewMore",defaultMessage:"View more",description:"View more all fiction in featured contributor page"}});var c=n(38267),m=n(26865),u=n(96472),p=n(99906),g=n(68116),h=n(33500),y=n(4534);const b=c.Ay.div.withConfig({displayName:"AllFictionFooter"})` display: flex; justify-content: center; margin-top: ${(0,m.Kq)(4)}; `,f=c.Ay.a.withConfig({displayName:"AllFictionViewMore"})` ${(0,m.Gg)("typography.definitions.foundation.link-primary")} display: flex; align-items: center; justify-content: center; border: 1px solid ${(0,m.HK)("colors.discovery.body.white.accent")}; min-width: ${(0,m.Kq)(20)}; height: ${(0,m.Kq)(6)}; text-decoration: none; ${({theme:e})=>e&&`\n background: ${(0,m.HK)(e,"colors.discovery.lead.secondary.background")};\n color: ${(0,m.HK)(e,"colors.interactive.base.black")};\n `} :hover { ${({theme:e})=>e&&`\n background: ${(0,m.HK)(e,"colors.interactive.base.black")};\n color: ${(0,m.HK)(e,"colors.interactive.base.white")};\n `} } `,w=c.Ay.div.withConfig({displayName:"AllFictionDesktop"})``,$=c.Ay.div.withConfig({displayName:"AllFictionMobile"})` ${y.Vo} { ${g.Rp}:last-child { border-bottom: none; } } `,v=c.Ay.section.withConfig({displayName:"ContributorAllFiction"})` ${({theme:e})=>e&&`background: ${(0,m.HK)(e,"colors.discovery.lead.secondary.background")}; }`} padding-top: ${(0,m.Kq)(4)}; ${h.QW} { margin-bottom: ${(0,m.Kq)(1)}; border-top: 1px solid ${(0,m.HK)("colors.discovery.body.white.accent")}; border-bottom: 1px solid ${(0,m.HK)("colors.discovery.body.white.accent")}; ${(0,m.H4)(`${p.VS.lg+1}px`)} { margin-bottom: ${(0,m.Kq)(4)}; } } ${g.Tr} { margin-bottom: 0; } ${w} { ${(0,m.L7)(`${p.VS.lg}px`)} { display: none; } } ${$} { ${(0,m.H4)(`${p.VS.lg+1}px`)} { display: none; } ${(0,m.L7)(`${p.VS.lg}px`)} { display: block; } } ${y.Ee} { &:not(.summary-item--layout-placement-side-by-side-mobile-only) { .summary-item__hed { ${(0,m.H4)(u.LO.md)} { ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.discovery.hed-core-secondary")}; } } } } `;var C=n(91706),k=n(62930);const x=(e,t,n=1)=>n*e>=t,E=({dangerousHed:e,hasBorderOnMobileAndTabletOnly:t=!0,hasBorderOnMobileOnly:n=!1,hasItemsRule:o=!1,hideIssueDate:i=!1,hideRubricItemSummary:r=!0,sectionTitleVariation:s="LineAboveLineBelowTextCenter",shouldHideContributors:c,shouldHidePublishDate:m,mobileSummaryItemVariation:u="SideBySideDense",mobileSummaryItemVerticalAlign:p="center",items:g,paginatedContainerPosition:h,pageNumber:y=1,pageSize:E,totalResults:A,showViewMoreButton:S=!1})=>{const L=(0,l.A)(),T=(e=>2===e.length?C.A.TwoColumns:e.length%4==0?C.A.FourColumns:C.A.ThreeColumns)(g),[N,H]=a.useState(g),[I,B]=a.useState(""),[O,_]=a.useState(!1),[K,P]=a.useState({currentPage:y,itemsCount:g.length,isLastPage:x(E,A,y)});if(a.useEffect(()=>{B(window.location.href.split(/[?#]/)[0])},[]),A<2)return null;const{isLastPage:D,currentPage:q}=K,M={dangerousHed:e,hasBorderOnMobileAndTabletOnly:t,hasItemsRule:o,hideIssueDate:i,hideRubricItemSummary:r,sectionTitleVariation:s,shouldHideContributors:c,shouldHidePublishDate:m,hasBorderOnMobileOnly:n,items:N};return a.createElement(v,null,a.createElement(w,{as:T,...M}),a.createElement($,{as:T,...M,summaryItemVariation:u,sideBySideVerticalAlign:p}),S&&!D&&a.createElement(b,null,a.createElement(f,{href:!O&&`${I}?page=${q+1}`,onClick:!O&&(e=>{e.preventDefault();const{currentPage:t}=K,n=t+1,o=`${window.location.href.split(/[?#]/)[0]}?page=${n}&container=${h}&format=json`;return _(!0),fetch(o).then(e=>e.json()).then(({bundle:e})=>{const{items:t,totalResults:o}=e.containers[0],i=N.concat(t);H(i),P({currentPage:n,itemsCount:i.length,isLastPage:x(E,o,n)}),_(!1)}).catch(e=>{_(!1)})}),title:L.formatMessage(d.viewMoreText)},L.formatMessage(d.viewMoreText),O&&a.createElement(k.jl,{height:"20px",width:"20px",margin:"0"}))))};E.propTypes={dangerousHed:s().string.isRequired,hasBorderOnMobileAndTabletOnly:s().bool,hasBorderOnMobileOnly:s().bool,hasItemsRule:s().bool,hideIssueDate:s().bool,hideRubricItemSummary:s().bool,items:s().arrayOf(s().shape({categories:s().shape({tags:s().array}),dangerousDek:s().string,dangerousHed:s().string,image:s().object,url:s().string})).isRequired,mobileSummaryItemVariation:s().string,mobileSummaryItemVerticalAlign:s().oneOf(["top","center"]),pageNumber:s().number,pageSize:s().number.isRequired,paginatedContainerPosition:s().number,sectionTitleVariation:s().string,shouldHideContributors:s().bool,shouldHidePublishDate:s().bool,showViewMoreButton:s().bool,totalResults:s().number.isRequired};const A=E,S=(0,i.N)((0,o.y)(A,"ContributorAllFiction"))},54765:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(13465),i=n(96540),a=n(5556),r=n.n(a),s=n(68397),l=n(75871),d=n(1899),c=n(13099),m=n(38267),u=n(26865),p=n(1123);m.Ay.div.withConfig({displayName:"Title"})` margin-bottom: ${(0,u.Kq)(4)}; `;const g=m.Ay.div.withConfig({displayName:"VersoNativeProductCarouselWrapper"})` ${p.VO} ${({hasMargin:e})=>e&&(0,p.aU)("padding")} `;var h=n(53499);const y=({dangerousHed:e,dangerousDek:t,hasNoHorizontalScrollCarousel:n,hasMargin:o=!0,sectionTitleVariation:a="LineAboveLineBelowTextCenter",isFirstProductListingContainer:r,affiliateDisclaimer:m,items:u=[],showDisclaimer:p})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(h.G.RENDER,{name:"VersoNativeProductCarousel"})},[]);const y=u.length>0&&p&&r;return i.createElement(g,{hasMargin:o,"data-testid":"verso-native-product-carousel-wrapper"},i.createElement(c.M.TextCenterNoTopRule,{isEnabled:y,disclaimerHtml:m}),u.length&&i.createElement(s.A,{headerProps:{dangerousHed:e,dangerousDek:t,shouldDisplayDangerousDek:!!t,sectionTitleVariation:a},carouselSettings:{hideScrollbar:!n,hasPaginationDots:!0}},u.map((t,n)=>{const o={...t,id:t.productId,offers:t.multipleOffers,offersLength:t.multipleOffers?.length||0,layout:"ProductEmbed",index:n};return i.createElement(s.A.CarouselItem,{key:`product-bundle-${n}`,trackingEventData:{carouselName:e,itemIndex:n,totalItems:u.length}},t.isUpcEnabled?i.createElement(d.A,{type:"card",brand:t.productBrand,offers:t.multipleOffers,index:n,...t,className:"product__carousel__card",isLazy:!0,hedTag:"h3",data_item:o,hasImpressionTracking:!0,layout:"ContentCarousel",shouldDisableCreditText:!0,componentUsed:"carousel",bookmarkMeta:t}):i.createElement(l.A,{index:n,...t,className:"product__carousel__card",isLazy:!0,hedTag:"h3",layout:"ContentCarousel",component:"carousel"}))})))};y.propTypes={affiliateDisclaimer:r().string,dangerousDek:r().string,dangerousHed:r().string.isRequired,hasMargin:r().bool,hasNoHorizontalScrollCarousel:r().bool,isFirstProductListingContainer:r().bool,items:r().array.isRequired,sectionTitleVariation:r().string,showDisclaimer:r().bool},y.displayName="VersoNativeProductCarousel";const b=y,f=(0,o.y)(b,"VersoNativeProductCarousel")},55082:(e,t,n)=>{n.d(t,{BV:()=>f,CX:()=>ne,G5:()=>A,GC:()=>B,MC:()=>Y,Mw:()=>E,Ng:()=>Q,Pd:()=>W,Qh:()=>C,Qk:()=>w,S6:()=>U,SL:()=>D,TX:()=>S,U:()=>K,WE:()=>R,Wu:()=>N,Xc:()=>H,_6:()=>q,a_:()=>F,dN:()=>y,hK:()=>te,hl:()=>M,i$:()=>ee,ir:()=>oe,j4:()=>O,jZ:()=>J,je:()=>V,k$:()=>P,kV:()=>$,lD:()=>G,lM:()=>x,lo:()=>L,nH:()=>v,p0:()=>z,pt:()=>k,qp:()=>_,x1:()=>T,xU:()=>j,yn:()=>b,zJ:()=>I});var o=n(38267),i=n(76955),a=n(73730),r=n(26865),s=n(48286),l=n(50531),d=n(96472),c=n(63175),m=n(73275),u=n(94037),p=n(7228),g=n(66524),h=n(15622);const y=o.Ay.div.withConfig({displayName:"GallerySlideCaptionCtaBlock"})` ${({contentAlign:e,showCommentCount:t})=>"left"===e&&t?`display: flex;\n justify-content: space-between;\n align-items: center;\n margin-top:${(0,r.Kq)(2)};\n width: 100%;`:`margin-top:${(0,r.Kq)(4)}; \n`} ${({hasReadReviewCTA:e})=>e&&`\n margin-top: 0;\n flex-basis: content;\n .button__icon-container {\n margin-top: -${(0,r.Kq)(2)}\n }\n `} `,b=o.Ay.div.withConfig({displayName:"GallerySlideCaptionMetaOneContainer"})` ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.numerical-small")}; margin-top: ${(0,r.Kq)(3)}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.subhed")}; `,f=o.Ay.div.withConfig({displayName:"GallerySlideCaptionMetaOne"})` ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.numerical-small")}; display: inline; margin-right: ${(0,r.Kq)(.5)}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.subhed")}; `,w=o.Ay.span.withConfig({displayName:"GallerySlideCaptionPromotionText"})` &::before { content: '\00a0'; } `,$=o.Ay.div.withConfig({displayName:"GallerySlideCaptionPostCta"})` ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.utility.assistive-text")}; margin-top: ${(0,r.Kq)(2)}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.body")}; `,v=o.Ay.div.withConfig({displayName:"GallerySlideCaptionMetaTwo"})` ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.context-secondary")}; margin-top: ${(0,r.Kq)(1)}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.subhed")}; `,C=(0,o.Ay)(a.A.Utility).withConfig({displayName:"GallerySlideCaptionButton"})` ${({showCommentCount:e})=>e&&`margin-top: ${(0,r.Kq)(4)};`} .slide-venue & { margin-top: 0; } `,k=o.Ay.div.withConfig({displayName:"GallerySlideRankingContainerScore"})``,x=o.Ay.div.withConfig({displayName:"GallerySlideRankingContainerRank"})``,E=o.Ay.div.withConfig({displayName:"GallerySlideRankingContainerWrapper"})``,A=o.Ay.span.withConfig({displayName:"GallerySlideCaptionHedText"})``;A.defaultProps={colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-primary"};const S=(0,o.Ay)(i.vm).withConfig({displayName:"GallerySlideCaptionHed"})` margin-top: ${(0,r.Kq)(1.5)}; margin-bottom: 0; .slide-venue & { margin-top: ${(0,r.Kq)(1)}; .icon { transition: transform 0.2s; vertical-align: bottom; } } .slide-venue .external-link:hover &, .slide-venue .external-link:focus & { ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.link-hover")}; .icon { transform: translateX(${(0,r.Kq)(1)}); path { ${({theme:e})=>(0,r._o)(e,"fill","colors.consumption.body.standard.link-hover")}; } } } ${({theme:e,hasGallerySlideBackground:t})=>t&&`${(0,r.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")};`} `;S.defaultProps={as:"h2",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-primary"};const L=o.Ay.div.withConfig({displayName:"GallerySlideCaptionBrandNameNotClickable"})` ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; margin-top: ${(0,r.Kq)(1)}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.body-deemphasized")}; &:first-child { margin-top: ${(0,r.Kq)(3)}; } `,T=o.Ay.div.withConfig({displayName:"GallerySlideCaptionOffers"})` ${({showCommentCount:e})=>e&&"display: flex;\n flex-direction: column;\n justify-content: space-between;\n "} ${({hasReadReviewCTA:e})=>e&&` display: flex;\n flex-direction: row;\n ${(0,r.L7)(d.LO.md)} {\n ${h.dU} {\n width: 70%;\n }\n }\n `} ${({hasGallerySlideBackground:e})=>e&&`margin-left: -${(0,r.Kq)(2)};\n margin-right: -${(0,r.Kq)(2)};\n `} margin-top: ${(0,r.Kq)(2)}; ${(0,r.L7)(d.LO.md)} { ${({hasGallerySlideBackground:e})=>e&&`margin-top: ${(0,r.Kq)(3)};`} } `,N=o.Ay.div.withConfig({displayName:"GallerySlideCaptionDek"})` &, & h1, & h2 { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.consumptionEditorial.description-embed")}; margin-top: ${(0,r.Kq)(2)}; ${({hasGallerySlideBackground:e})=>e&&`${(0,r.H4)(d.LO.md)}{\n margin-top: ${(0,r.Kq)(3)};\n }`} ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.body")}; a:not(.button) { ${({theme:e})=>(0,r.pe)(e,"colors.consumption.body.standard.link","colors.consumption.body.standard.link-hover")}; } } ${({isClampingEnabled:e})=>e?"\n ul {\n li:last-child {\n margin-bottom: 1rem;\n }\n }":""} ${({showLess:e,isClampingEnabled:t,productDescriptionLineLength:n})=>t&&`\n ${e?"overflow: hidden;":`\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${n};\n `}\n`} .slide-venue & { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.consumptionEditorial.body-core")} margin-top: ${(0,r.Kq)(2)}; } `,H=o.Ay.div.withConfig({displayName:"GallerySlideCaptionDekContainer"})``,I=o.Ay.div.withConfig({displayName:"GallerySlideCaptionDetail"})` ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.context-title")}; margin-top: ${(0,r.Kq)(2)}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.body-deemphasized")}; .slide-venue & { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.body-deemphasized")}; } `,B=o.Ay.span.withConfig({displayName:"GallerySlideCaptionPreHeaderOne"})``,O=o.Ay.div.withConfig({displayName:"GallerySlideCaptionPreHeaderOneWrapper"})` padding-top: ${(0,r.Kq)(2)}; ${({hasGallerySlideTextPadding:e})=>e&&`\n ${(0,r.H4)(d.LO.md)} {\n padding-top: ${(0,r.Kq)(1.5)};\n }`} ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.numerical-small")}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.body-deemphasized")}; `,_=o.Ay.div.withConfig({displayName:"GallerySlideCaptionPreHeaderTwo"})` ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.context-title")}; margin-top: ${(0,r.Kq)(3)}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.body-deemphasized")}; .slide-venue & { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; margin-top: ${(0,r.Kq)(4)}; } `,K=o.Ay.div.withConfig({displayName:"GallerySlideCaptionPromotionHed"})``,P=o.Ay.div.withConfig({displayName:"GallerySlideCaptionCreditWrapper"})` html[dir='rtl'] & { direction: rtl; text-align: start; } ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")}; padding-top: ${(0,r.Kq)(1)}; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.body-deemphasized")}; `,D=o.Ay.div.withConfig({displayName:"GallerySlideFigCaption"})` display: block; margin: 0; a { &:not(.button) { text-decoration: none; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.link")}; &:hover, &:focus { text-decoration: underline; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.link-hover")}; } } } `,q=o.Ay.div.withConfig({displayName:"BookmarkWrapper"})` float: right; line-height: 0; ${g.A} { svg { .icon-loader-fill { ${(0,r._o)("fill","colors.interactive.base.white")} } .icon-loader-stroke { ${(0,r._o)("stroke","colors.interactive.base.white")} } } } `,M=o.Ay.div.withConfig({displayName:"GallerySlideCaptionWrapper"})` html[dir='rtl'] & { direction: rtl; text-align: start; } ${(0,r.H4)(d.LO.md)} { grid-column: 1 / -1; } `,R=o.Ay.div.withConfig({displayName:"GallerySlideZoomWrapper"})` :hover { background-image: ${({url:e})=>`url(${e})`}; ${({useFixedZoomedImageSize:e})=>e&&"background-size: auto 150vh"} } background-repeat: no-repeat; overflow: hidden; @media (any-pointer: fine) { img { &:hover { ${({hasMouseMoved:e})=>e&&"opacity: 0;"} transition: opacity 0.5s; cursor: crosshair; } } } `,F=(0,o.Ay)(m.A).withConfig({displayName:"GallerySlideResponsiveAsset"})` & { ${p.BF} { display: block; width: 100%; } } & .responsive-image { display: block; } `,U=(0,o.Ay)(c.A.Overlay).withConfig({displayName:"GallerySlideSocialIcons"})``,V=o.Ay.div.withConfig({displayName:"GallerySlideAssetContainerInner"})` position: relative; `,G=(0,o.Ay)(V).withConfig({displayName:"GallerySlideNativeShareContainer"})` bottom: 20px; float: right; svg { cursor: pointer; } `,W=o.Ay.div.withConfig({displayName:"GallerySlideSocialShareIcon"})` position: absolute; right: 5px; bottom: 35px; width: max-content; `,j=o.Ay.div.withConfig({displayName:"GallerySlideAssetContainer"})``,z=o.Ay.div.withConfig({displayName:"GallerySlideAssetWrapper"})` display: block; picture { width: 100%; } ${({orientation:e})=>"landscape"===e&&o.AH` ${(0,r.H4)(d.LO.md)} { grid-column: 1 / -1; } `} ${({contentType:e})=>"clip"===e&&o.AH` margin: 0; `} `,Y=o.Ay.figure.withConfig({displayName:"GallerySlideFigure"})` width: 100%; ${(0,r.H4)(d.LO.md)} { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: ${(0,r.Kq)(3)}; } `,X=e=>e&&o.AH` & { ${O} { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.numerical-large")} ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.subhed")}; } ${S} { margin-top: ${(0,r.Kq)(1.5)}; } } `,Z=(e,t)=>e&&"left"===t&&o.AH` & { & { ${(0,r.H4)(d.LO.md)} { ${O} { margin-top: ${(0,r.Kq)(2)}; margin-right: ${(0,r.Kq)(3)}; } ${_} { margin-top: ${(0,r.Kq)(3)}; } } } } `,J=o.Ay.div.withConfig({displayName:"GallerySlideWrapper"})` & { margin-bottom: ${(0,r.Kq)(5)}; } ${({hasGallerySlideBackground:e})=>e&&o.AH` ${({theme:e})=>(0,r._o)(e,"background-color","colors.background.light")}; && { margin-bottom: ${(0,r.Kq)(8)}; ${(0,r.L7)(d.LO.md)} { margin-bottom: ${(0,r.Kq)(6)}; } } `} ${({hasBackground:e})=>e&&o.AH` ${({theme:e})=>(0,r._o)(e,"background-color","colors.consumption.body.standard.bg-card")}; margin: 0 ${(0,r.Kq)(3)} ${(0,r.Kq)(2)}; padding-bottom: ${(0,r.Kq)(6)}; ${(0,r.H4)(d.LO.md)} { margin: 0 0 ${(0,r.Kq)(12)}; } + .gallery-slide__cm-container { margin: ${(0,r.Kq)(12)} 0; } ${Y} { margin: 0; } ${M} { ${(0,r.H4)(d.LO.md)} { grid-column: 1 / -1; } } ${D} { margin-right: ${(0,r.Kq)(2)}; margin-left: ${(0,r.Kq)(2)}; ${(0,r.H4)(d.LO.md)} { ${({contentAlign:e,showBookMarkIcon:t})=>"left"===e&&t?`margin-right:${(0,r.Kq)(3)};\n margin-left: ${(0,r.Kq)(3)};`:`margin-right:${(0,r.Kq)(6)}; \n margin-left: ${(0,r.Kq)(6)};`} } } `} ${({hasReadReviewCTA:e})=>e&&o.AH` && { ${(0,r.L7)(d.LO.md)} { margin: 0; } } `} ${({hasBackground:e,contentAlign:t})=>!e&&"left"===t&&o.AH` & { ${j} { justify-content: flex-start; } } `} ${({hasBackground:e})=>!e&&o.AH` & { ${Y} { margin: 0; } ${M} { ${({hasGallerySlideBackground:e})=>!e&&"margin: 0 22px;"} ${(0,r.H4)(d.LO.lg)} { margin: 0; } ${(0,r.L7)(d.LO.md)} { ${({hasCaptionMargin:e})=>!e&&"margin: 0;"} } } } `} ${({contentType:e})=>e&&("clip"===e||"cnevideo"===e)&&"\n & {\n width: 100%;\n }\n "} ${({hasBackground:e,orientation:t})=>e&&"landscape"===t&&o.AH` ${z} { width: 100%; height: 100%; } `} ${({hasBackground:e,orientation:t})=>!e&&"portrait"===t&&o.AH` & ${z} { display: block; ${j} { display: block; justify-content: center; ${p.BF} { width: auto; } } ${(0,r.H4)(d.LO.md)} { grid-column: 1 / -1; } } `} ${({hasBackground:e,orientation:t})=>e&&"portrait"===t&&o.AH` & ${z} { position: relative; grid-column: 1 / -1; padding-bottom: 100%; height: 0; ${V} { height: 100%; } ${j} { position: absolute; top: 0; right: 0; bottom: 0; left: 0; ${({theme:e})=>(0,r._o)(e,"background-color","colors.consumption.body.standard.bg-card")}; } ${({theme:e})=>(0,r._o)(e,"background-color","colors.consumption.body.standard.bg-photo")}; &::before { display: block; padding-top: 100%; width: 100%; content: ''; } ${p.BF} { margin: auto; max-width: 100%; max-height: 100%; } } `} ${({hasBackground:e,orientation:t,image:n})=>e&&"portrait"===t&&n&&o.AH` & ${z} { ${F} { display: block; padding-bottom: 0; width: 100%; height: 100%; text-align: center; img${p.BF} { display: inline-block; width: auto; max-width: 100%; height: 100%; } } } `} ${({hasBackground:e,orientation:t,contentAlign:n})=>!e&&"left"===n&&"portrait"===t&&o.AH` ${z} { justify-content: flex-start; } `} ${({shouldOrderedGallery:e})=>X(e)} ${({shouldOrderedGallery:e,contentAlign:t})=>Z(e,t)} ${({showMultipleBuyButtons:e})=>e&&o.AH` & { .product-offer__cta-block .product-offer__buy-button { width: 100%; ${(0,r.H4)(d.LO.md)} { width: 50%; } } .product-offer__buy-button-side { width: 100%; } } `} ${({awardList:e})=>e&&o.AH` & { display: flex; margin-bottom: 0; } ${Y} { display: grid; grid-template-rows: auto auto; column-gap: ${(0,r.Kq)(3)}; border-top: 1px solid; ${({theme:e})=>(0,r._o)(e,"border-color","colors.consumption.body.standard.divider")}; padding: ${(0,r.Kq)(2)} 0; ${(0,r.H4)(d.LO.sm)} { grid-template-columns: 3fr 3fr; } ${(0,r.H4)(d.LO.md)} { grid-template-columns: repeat(6, 1fr); } ${z} { grid-column: 1/4; grid-row: 1/5; order: 0; ${(0,r.H4)(d.LO.sm)} { grid-column: 1/1; grid-row: 1/1; margin-bottom: ${(0,r.Kq)(2)}; } ${(0,r.H4)(d.LO.md)} { grid-column: 1/4; grid-row: 1/5; margin-bottom: 0; } } ${E} { display: flex; grid-column: 4/-1; grid-row: 1/1; margin-bottom: ${(0,r.Kq)(2)}; div { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.numerical-large")} } ${(0,r.H4)(d.LO.sm)} { grid-column: 2/3; grid-row: 1/1; align-items: center; } ${(0,r.H4)(d.LO.md)} { grid-column: 4/-1; grid-row: 1/1; } } ${x} { border-right: 1px solid; ${({theme:e})=>(0,r._o)(e,"border-color","colors.consumption.body.standard.divider")}; padding-right: ${(0,r.Kq)(2)}; h2 { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.context-secondary")} } } ${k} { padding-left: ${(0,r.Kq)(2)}; h2 { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.globalEditorial.context-secondary")} } } ${S} { grid-column: 4/-1; grid-row: 2/2; margin-top: 0; a { ${({theme:e})=>(0,r.pe)(e,"colors.consumption.body.standard.link","colors.consumption.body.standard.link-hover","navigation")}; } ${(0,r.H4)(d.LO.sm)} { grid-column: 1/3; } ${(0,r.H4)(d.LO.md)} { grid-column: 4/-1; grid-row: 2/2; } } ${N} { grid-column: 4/-1; margin: 0; ${({theme:e})=>(0,r._o)(e,"color","colors.consumption.body.standard.body-deemphasized")}; ${(0,r.H4)(d.LO.sm)} { grid-column: 1/3; } ${(0,r.H4)(d.LO.md)} { grid-column: 4/-1; } } ${N} p { grid-column: 4/6; grid-row: 3/3; margin-top: 0; } ${u.F} { grid-column: 4/6; width: 160px; ${(0,r.L7)(d.LO.md)} { grid-column: 1/-1; width: 100%; } .product-offer__buy-button { margin-top: ${(0,r.Kq)(2)}; ${(0,r.L7)(d.LO.md)} { width: 100%; } } } } `} ${({isHorizontal:e})=>e&&o.AH` ${Y} { display: grid; ${S} { margin-top: 0; margin-bottom: 0.2em; } ${N} p { margin-top: 0; } ${(0,r.H4)(d.LO.sm)} { ${z} { grid-column: 1/-1; order: 0; } ${S} { grid-column: 1/-1; order: 0; } ${N} { grid-column: 1/-1; order: 1; } } ${(0,r.H4)(d.LO.lg)} { grid-template-rows: auto 1fr; ${z} { grid-column: 4/-1; grid-row: 1/-1; order: 0; } ${S} { grid-column: 1/4; grid-row: 1/1; order: 0; } ${N} { grid-column: 1/4; grid-row: 2/-1; order: 0; } } } `} ${({defaultVotingPrompt:e})=>e&&o.AH` & { margin-bottom: 0; } ${N} { p { margin-bottom: 0; } } `} `,Q=o.Ay.figcaption.withConfig({displayName:"GallerySlideFigCaptionWrapper"})` ${({shouldOrderedGallery:e})=>X(e)} ${({shouldOrderedGallery:e,contentAlign:t})=>Z(e,t)} ${({hasGallerySlideBackground:e})=>e&&`padding: 0 ${(0,r.Kq)(2)};`} ${({contentAlign:e})=>"left"===e&&o.AH` text-align: left; ${P} { text-align: left; } `} ${({contentAlign:e})=>"center"===e&&o.AH` text-align: center; ${P} { text-align: center; } `} `,ee=(0,o.Ay)(s.A).withConfig({displayName:"GallerySlideCaptionClampedDek"})` && { ${l.eM} { transform-origin: center; ${({showLess:e})=>e?`margin: -${(0,r.Kq)(1)} 0 ${(0,r.Kq)(2)} 0;`:`margin: ${(0,r.Kq)(1)} 0 ${(0,r.Kq)(2)} 0;`} padding: 0; min-width: auto; height: 24px; } ${l.Lj} { padding: 0; width: 100%; text-align: left; ${(0,r.Gg)("typography.definitions.utility.button-bulletin")}; ${({theme:e})=>` ${(0,r._o)(e,"color","colors.interactive.base.black")};`}; } } ${l.ny} { svg { width: 24px; height: 24px; } padding: 0; } `,te=(0,o.Ay)(a.A.Utility).withConfig({displayName:"ReadReviewCTA"})` width: 50%; `,ne=(0,o.Ay)(i.sH).withConfig({displayName:"GallerySlideCaptionSeasonName"})``,oe=(0,o.Ay)(i.sH).withConfig({displayName:"GallerySlideCaptionBrandNameClickable"})``},55252:(e,t,n)=>{n.d(t,{A:()=>o});const o=n(26048).A},55614:(e,t,n)=>{n.d(t,{A:()=>$});var o=n(13465),i=n(31581),a=n(47655),r=n(32485),s=n.n(r),l=n(5556),d=n.n(l),c=n(96540),m=n(53499),u=n(73730),p=n(73275),g=n(28934),h=n(90090),y=n(99623);const b=({btnStyle:e="filled",buttonVariation:t="Utility",className:n,fullPageTheme:o="standard",hasBorders:i=!0,id:a,marginTopType:r="small",hasMinimalBottomMargin:l=!1,hasSolidBorders:d=!1,hasRoundedImage:p,hideTopBorder:b=!1,hideBottomBorder:f=!1,image:w,imageMinWidth:$=72,index:v,isLink:C=!1,isInvertedTheme:k=!1,hasConsistentSpacing:x=!1,isSpecialTheme:E=!1,typeTokenSet:A,link:S,shouldEnableBundleComponentAnalytics:L,target:T,trackingNamespace:N,text:H,variations:I={imagePosition:"left",layoutPlacement:"text-below-mobile-only"},variationName:B})=>{c.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"Ticker",variation:B})},[B]);const O=u.A[t],{imagePosition:_,layoutPlacement:K}=I,P=S?.text?.length>0,D=(0,h.NY)(L,N||"ticker position",v),{applyStyleForNoImage:q,applyStyleForLandscapeImg:M,updatedLayoutPlacement:R,updatedImagePosition:F}=((e,t,n)=>{const o=e?.segmentedSources?.sm?.[0]?.width,i=e?.segmentedSources?.sm?.[0]?.height;let a=!1,r=!1,s=n,l=t;return o&&i&&"dense"!==n?i>o||i===o?(s="side-by-side",l="left"):r=!0:a=!0,{applyStyleForNoImage:a,applyStyleForLandscapeImg:r,updatedLayoutPlacement:s,updatedImagePosition:l}})(w,_,K),U=k||"inverted"===o,V=((e,t,n,o,i,a)=>function(r){return c.createElement(t,{href:n.href,target:n.target||o,onClick:()=>i(n.href,n.text,"ticker_logo","click",a)},c.createElement(e,{...r}))})(g.MZ,g.Qy,S,T,y.N,a);return c.createElement(g.ab,{...D,className:s()("ticker-wrapper",n),hasBorders:i,hideTopBorder:b,hideBottomBorder:f,marginTopType:r,hasMinimalBottomMargin:l,isInverted:U,isSpecialTheme:E,hasSolidBorders:d,layoutPlacement:R,applyStyleForNoImage:q,applyStyleForLandscapeImg:M,hasConsistentSpacing:x},(({image:e,HyperlinkedTickerImage:t,marginTopType:n,hasRoundedImage:o,updatedImagePosition:i,imageMinWidth:a,updatedLayoutPlacement:r,applyStyleForNoImage:s})=>e&&e.segmentedSources?c.createElement(t,{...e,className:"ticker__image",marginTopType:n,hasRoundedImage:o,imagePosition:i,imageMinWidth:a,layoutPlacement:r,shouldHoldImageSpace:!0,applyStyleForNoImage:s}):null)({image:w,HyperlinkedTickerImage:V,marginTopType:r,hasRoundedImage:p,updatedImagePosition:F,imageMinWidth:$,updatedLayoutPlacement:R,applyStyleForNoImage:q}),c.createElement(g.u0,{layoutPlacement:R,applyStyleForNoImage:q,applyStyleForLandscapeImg:M},H&&c.createElement(g.GK,{"data-testid":"TickerText",dangerouslySetInnerHTML:{__html:H},isLink:C,isInverted:U,layoutPlacement:R,typeTokenSet:A,applyStyleForNoImage:q,applyStyleForLandscapeImg:M}),(({isLink:e,isLinkTextDefined:t,link:n,target:o,trackNavigationClick:i,id:a,isInverted:r,updatedLayoutPlacement:s,typeTokenSet:l,applyStyleForNoImage:d,applyStyleForLandscapeImg:m,TickerLink:u,ButtonComponent:p,btnStyle:g,shouldEnableBundleComponentAnalytics:h})=>e&&t?c.createElement(u,{className:"ticker__link",dangerouslySetInnerHTML:{__html:n.text},href:n.href,target:n.target||o,onClick:()=>i(n.href,n.text,"ticker_link","click",a),isInverted:r,layoutPlacement:s,typeTokenSet:l,applyStyleForNoImage:d,applyStyleForLandscapeImg:m}):!e&&t?c.createElement(p,{componentId:a,btnStyle:g,subject:"ticker_button",href:n.href,inputKind:"link",label:n.text,target:n.target||o,isInverted:r,shouldEnableBundleComponentAnalytics:h,typeTokenSet:l,applyStyleForNoImage:d}):null)({isLink:C,isLinkTextDefined:P,link:S,target:T,trackNavigationClick:y.N,id:a,isInverted:U,updatedLayoutPlacement:R,typeTokenSet:A,applyStyleForNoImage:q,applyStyleForLandscapeImg:M,TickerLink:g.bM,ButtonComponent:O,btnStyle:e,shouldEnableBundleComponentAnalytics:L})))};b.propTypes={btnStyle:d().string,buttonVariation:d().string,className:d().string,fullPageTheme:d().oneOf(["standard","inverted"]),hasBorders:d().bool,hasConsistentSpacing:d().bool,hasMinimalBottomMargin:d().bool,hasRoundedImage:d().bool,hasSolidBorders:d().bool,hideTopBorder:d().bool,hideBottomBorder:d().bool,id:d().string,image:d().shape(p.A.propTypes),imageMinWidth:d().oneOf([48,56,64,72]),index:d().number,isInvertedTheme:d().bool,isLink:d().bool,isSpecialTheme:d().bool,link:d().shape({href:d().string,text:d().string,target:d().string}).isRequired,marginTopType:d().oneOf(["small","none","large"]),shouldEnableBundleComponentAnalytics:d().bool,target:d().string,text:d().string.isRequired,trackingNamespace:d().object,typeTokenSet:d().oneOf(["default","utility"]),variationName:d().string,variations:d().shape({imagePosition:d().oneOf(["left","right"]),layoutPlacement:d().oneOf(["side-by-side","text-below-mobile-only","dense"])})},b.displayName="Ticker";const f=b;f.ImageLeft=(0,a.y)(f,"ImageLeft",{imagePosition:"left",layoutPlacement:"text-below-mobile-only"}),f.ImageRight=(0,a.y)(f,"ImageRight",{imagePosition:"right",layoutPlacement:"text-below-mobile-only"}),f.SideBySide=(0,a.y)(f,"SideBySide",{imagePosition:"left",layoutPlacement:"side-by-side"}),f.Utility=(0,a.y)(f,"Utility",{imagePosition:"left",layoutPlacement:"dense"},{typeTokenSet:"utility",hasBorders:!1,hasRoundedImage:!0,imageMinWidth:48,isLink:!0});const w=f,$=(0,i.N)((0,o.y)(w,"Ticker"))},55976:(e,t,n)=>{n.d(t,{A:()=>P});var o=n(13465),i=n(32485),a=n.n(i),r=n(5556),s=n.n(r),l=n(96540),d=n(11542),c=n(49235),m=n(52627),u=n(53499),p=n(59867),g=n(99623),h=n(38267),y=n(26865),b=n(96472),f=n(70698),w=n(69328),$=n(20320);const v=(0,h.Ay)(w.A).withConfig({displayName:"LinkBannerLinkList"})` ${({hasGradient:e,theme:t})=>e&&`&::after {\n background: linear-gradient(90deg, rgba(${(0,y.HK)(t,(0,f.iq)(t)?"colors.consumption.lead.inverted.background":"colors.foundation.menu-bg.collapsed",{rgbOnly:!0})}, 0) 0%, rgba(${(0,y.HK)(t,(0,f.iq)(t)?"colors.consumption.lead.inverted.background":"colors.foundation.menu-bg.collapsed",{rgbOnly:!0})}, 1) 75%);;\n }`} ${$.BY} { ${$.SJ} { ${$.Tw}:first-child { margin-right: 0; max-width: 66px; ${$.xW} { max-width: 85px; } } } height: ${59}px; @media (min-width: ${b.LO.md}) { height: ${59}px; } ${({hasExtraSpace:e})=>e&&`\n & + ${$.BY} {\n @media (min-width: ${b.LO.xl}) {\n margin-left: ${(0,y.Kq)(5)}\n }\n }\n `} ${({theme:e,hasDivider:t})=>t&&`\n &::before {\n ${(0,y._o)(e,"background-color","colors.discovery.body.black.accent")};\n }\n \n &:visited:before {\n ${(0,y._o)(e,"background-color","colors.discovery.body.black.accent")};\n }\n &:hover::before {\n ${(0,y._o)(e,"background-color","colors.discovery.body.black.accent")};\n } \n &:focus-visible::before {\n ${(0,y._o)(e,"background-color","colors.discovery.body.black.accent")};\n }\n\n \n `} } ${({hasDivider:e,theme:t})=>e&&`&:last-child {\n margin-left: 0;\n }\n &:not(:last-child){\n border-right: 1px solid;\n margin-left: 0;\n padding-right: ${(0,y.Kq)(2)};\n border-color:${(0,y.HK)(t,"colors.discovery.body.white.divider")}\n }`} ${$.k2} { ${({theme:e,hasDivider:t})=>(0,y.pe)(e,(0,f.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default",((e,t)=>{let n=null;return n=e?(0,f.iq)(t)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default":(0,f.iq)(t)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.hover",n})(t,e),"navigation")} } ${$.k2} { ${({hasUnderline:e})=>e&&"&:link {\n text-decoration: underline;\n }\n "} ${({hasDivider:e})=>e&&"&:link {\n text-decoration: none;\n }\n "} ${({hasCarouselControls:e})=>e&&"&:link {\n text-decoration: none;\n color: inherit;\n }"} } ${$.k2} { ${({hasSmallTypeface:e,theme:t})=>e&&`${(0,y.Gg)(t,"typography.definitions.globalEditorial.numerical-small")}\n font-weight: 500;\n `} } ${$.k} { margin-right: 0; margin-left: ${(0,y.Kq)(2)}; ${({hasDivider:e})=>e&&`line-height: ${(0,y.Kq)(1.375,"px")};`} width: fit-content; } ${$.k2} { ${({hasMediumTypeface:e})=>e&&"font-size: 18px;"} } ${$.Fs} { ${({shouldHaveBottomMargin:e})=>e&&`margin-bottom: ${(0,y.Kq)(4)}`} } ${({hasCarouselControls:e})=>e&&"&& {\n height: 100%\n }"} ${$.XG} { ${({hasExtraSpace:e})=>e&&`margin-right: ${(0,y.Kq)(5)};`} ${$.k2} { ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; ${({theme:e})=>(0,y._o)(e,"color",(0,f.iq)(e)?"colors.consumption.lead.inverted.heading":"colors.discovery.body.white.context-signature")}; } } ${({isFeatured:e})=>e&&h.AH` ${$.Io} { font-size: 11px; font-weight: 600; line-height: 12px; letter-spacing: 1.2px; text-align: left; } ${$.k2} { font-size: 13px; font-weight: 600; line-height: 17px; letter-spacing: 0.1px; text-align: left; text-transform: unset; } ${$.BY} { :not(:last-child)::after { background: #e2e2e2; } } `} ${$.k2} { display: block; } `;var C=n(73275);const k=({hasCarouselControls:e=!1,hasDefaultChevron:t,hasDivider:n,hasExtraSpace:o=!1,hasGradient:i=!1,hasUnderline:a=!1,hasMediumTypeface:r=!1,hasNativeImgLazyLoading:s,hasSmallTypeface:d=!1,hasSmallViewportTitle:c,hed:m,hideLinkListImage:u=!1,hideHed:p=!1,image:g,isCentered:h=!0,isFeatured:y,links:b,shouldCenterAlignContent:f,shouldHaveBottomMargin:w,trackingNamespace:$})=>{const C={image:u||!g?.segmentedSources&&!g?.sources?null:g,text:p?null:m};return l.createElement(v,{disableSubHeaderTracking:!0,hasCarouselControls:e,hasExtraSpace:o,hed:m,hasGradient:i,hasUnderline:a,hasMediumTypeface:r,hasNativeImgLazyLoading:s,hasSmallTypeface:d,hasSmallViewportTitle:c,isCentered:h,isFeatured:y,links:b,primaryLink:(C.image||C.text)&&C,shouldCenterAlignContent:f,shouldHaveBottomMargin:w,trackingNamespace:$,hasDivider:n,hasDefaultChevron:t})};k.propTypes={hasCarouselControls:s().bool,hasDefaultChevron:s().bool,hasDivider:s().bool,hasExtraSpace:s().bool,hasGradient:s().bool,hasMediumTypeface:s().bool,hasNativeImgLazyLoading:s().bool,hasSmallTypeface:s().bool,hasSmallViewportTitle:s().bool,hasUnderline:s().bool,hed:s().string,hideHed:s().bool,hideLinkListImage:s().bool,image:s().shape(C.A.propTypes),isCentered:s().bool,isFeatured:s().bool,links:s().arrayOf(s().shape({url:s().string,text:s().string,isExternal:s().bool,onClick:s().func})),shouldCenterAlignContent:s().bool,shouldHaveBottomMargin:s().bool,trackingNamespace:s().string};const x=k;var E=n(30050),A=n(67198),S=n(89635),L=n(90090),T=n(26890),N=n(95788);const H=(e,t,n,o={})=>{(0,g.N)(e,n,`link_banner_${t}`,"click","link-banner");const{trackingIdentifier:i,attributes:a={}}=o;i&&(0,L.W8)(`recirc-linkbanner-${i}-click`,{"gtm.elementUrl":e,...a,type:t}),window.dataLayer&&"visual-link-banner"===t&&window.dataLayer.push({event:"link-title",navigationType:"visual-link-list",clickText:n})},I=(e,t,n)=>{const{trackingIdentifier:o="",attributes:i={}}=e;o&&(0,L.zJ)(`recirc-linkbanner-${o}-impression`,{componentPosition:t,...i,type:n})},B=({clsConfig:e,hasAllExternalLinks:t=!1,hasBorder:n=!0,hasCustomBackground:o=!1,hasDefaultChevron:i=!1,hasExtraSpace:r=!1,hasHedLinkColor:s,hasLinkListGradient:d=!1,hasMediumTypeface:g=!1,hasSmallTypeface:h=!1,hasSmallViewportTitle:y=!1,hasUnderline:b=!1,isResponsive:f=!1,hideHed:w=!1,hideLinkListImage:$=!1,hideMarqueeHed:v=!1,hideMobileMarqueeImage:C=!0,shouldReplaceWithDropdown:k=!1,isCentered:L=!0,scrollToSection:B,linkBannerData:O={hed:"",dek:"",image:{},links:[]},palette:_="standard",shouldCenterAlignContent:K=!1,showMobileCompactView:P=!1,showBannerUnderNav:D,theme:q,trackingNamespace:M,typesWithBottomMargin:R=[],hasShadow:F=!0,hasDivider:U})=>{const[V,G]=l.useState(!1),{hed:W,image:j,links:z,tracking:Y={},bannerType:X,hasNativeImgLazyLoading:Z}=O;l.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"LinkBanner",variation:X})},[X]);const J=l.useRef(),[Q,ee]=l.useState(!1),te=l.useRef(0),[ne,oe]=l.useState(!1),ie=l.useRef(null),ae=l.useRef(null);if(l.useEffect(()=>(ie.current=window.Kendra.WINDOW_EVENT.on(p.m.SCROLL_THROTTLE,()=>{const e=window.pageYOffset;(0,T.q)(Q,e,te.current,"delta")&&(ee(e-te.current>0),te.current=e)}),()=>{ie.current&&ie.current.off()}),[Q,X]),l.useEffect(()=>{const e=(0,N.X)(J),t=()=>{(0,N.q)(J)&&(I(Y,e,X),ae.current&&ae.current.off())};if(!(0,N.q)(J))return ae.current=window.Kendra.WINDOW_EVENT.on(p.m.SCROLL_THROTTLE,t),function(){ae.current&&ae.current.off()};I(Y,e,X)},[Y,X]),l.useEffect(()=>{function e(){Math.round(100*window.devicePixelRatio/2)>=400?G(!0):G(!1)}return z.forEach(e=>{e.text.length>50&&oe(!0)}),k&&(e(),window.addEventListener("resize",e)),function(){window.removeEventListener("resize",e)}},[k,z]),0===z.length)return null;const re="visual-link-banner"===X||"visual-carousel"===X,se={hasCarouselControls:re,hasNoStickyPosition:"visual-carousel"===X,hasMediumTypeface:"visual-carousel"===X&&g,hasSmallTypeface:h,hasSmallViewportTitle:y,hasExtraSpace:r,hasGradient:"visual-link-banner"!==X&&d,hasUnderline:b,hed:W,hasNativeImgLazyLoading:Z,hideLinkListImage:!!re||$,hideHed:w,image:j,isCentered:L,isFeatured:"featured"===q,links:z.map(e=>({...e,isExternal:t||e.isExternal,onClick:()=>H(e.url,X,e.text,Y)})),shouldHaveBottomMargin:R.includes(X),shouldCenterAlignContent:K,trackingNamespace:M,hasDivider:U,hasDefaultChevron:i},le={hasUnderline:b,hasCustomBackground:o,hasHedLinkColor:s,hideMarqueeHed:v,hideMobileMarqueeImage:C,isCentered:L,isResponsive:f,linkBannerData:{...O,hed:v?null:W,links:B?O.links.map(e=>({...e,url:"#"})):O.links},showMobileCompactView:P,onLinkClick:(e,t,n,o)=>{("#"===t||B)&&e.preventDefault();H(B||t,n,o,Y),B&&(0,A.A)(`.${B}`)}},de=z.map(e=>({name:e.text,url:e.url}));if(V&&k)return l.createElement(c.A,{palette:_},l.createElement(S.zt,{options:de,showLabel:!0,shouldTrim:ne,label:O.hed,hasDropdown:V,as:m.A}));let ce={};return e?.improveCls&&(ce={style:{minHeight:`${e.minHeight}px`}}),l.createElement(c.A,{palette:_},l.createElement(S.uN,{...ce,id:"link-banner",ref:J,"data-testid":"LinkBanner",hasBorder:n,hasCustomBackground:o,hasHedLinkColor:s,hasShadow:F,showBannerUnderNav:D,hasCarouselControls:se.hasCarouselControls,hasLightBackground:se.hasLightBackground,hasNoStickyPosition:se.hasNoStickyPosition,isScrolled:Q,className:a()({"visual-link-banner--is-scrolled":Q})},"link-list"===X||"visual-link-banner"===X||"visual-carousel"===X?l.createElement(x,{...se}):l.createElement(E.A,{...le})))};B.displayName="LinkBanner";const O=["marquee","link-list","visual-link-banner","visual-carousel"];B.propTypes={clsConfig:s().object,hasAllExternalLinks:s().bool,hasBorder:s().bool,hasCustomBackground:s().bool,hasDefaultChevron:s().bool,hasDivider:s().bool,hasExtraSpace:s().bool,hasHedLinkColor:s().bool,hasLinkListGradient:s().bool,hasMediumTypeface:s().bool,hasShadow:s().bool,hasSmallTypeface:s().bool,hasSmallViewportTitle:s().bool,hasUnderline:s().bool,hideHed:s().bool,hideLinkListImage:s().bool,hideMarqueeHed:s().bool,hideMobileMarqueeImage:s().bool,isCentered:s().bool,isResponsive:s().bool,isScrolled:s().bool,linkBannerData:E.A.propTypes.linkBannerData,palette:s().oneOf(["standard","inverted"]),scrollToSection:s().string,shouldCenterAlignContent:s().bool,shouldReplaceWithDropdown:s().bool,showBannerUnderNav:s().bool,showMobileCompactView:s().bool,theme:s().string,trackingNamespace:s().string,type:s().oneOf(O),typesWithBottomMargin:s().arrayOf(s().oneOf(O))};const _=(0,d.M3)(B,{keysToPluck:["linkBannerData"]}),K=(0,o.y)(_,"LinkBanner");K.propTypes=_.propTypes;const P=K},56082:(e,t,n)=>{n.d(t,{$k:()=>w,Br:()=>$,Ff:()=>H,Ge:()=>K,Ht:()=>T,ID:()=>v,Lt:()=>N,NJ:()=>P,Og:()=>b,Z:()=>O,_8:()=>h,_y:()=>_,bd:()=>f,cc:()=>B,d$:()=>S,iq:()=>y,mg:()=>D,mo:()=>L,qJ:()=>A,q_:()=>q,r9:()=>C,rD:()=>k,t9:()=>E,vo:()=>g,y_:()=>x});var o=n(38267),i=n(76955),a=n(26865),r=n(48209),s=n(36990),l=n(73730),d=n(55082),c=n(5239),m=n(7228);const u="0.4s",p=(e=!1)=>`\n display: flex;\n position: relative;\n flex-direction: row;\n flex-wrap: nowrap;\n transition: transform ${u} ease-in-out;\n margin: 0;\n padding: 0;\n width: 100%;\n min-width: 0;\n height: 100%;\n min-height: 0;\n list-style: none;\n\n ${e?"display: block;":""}\n`,g=o.Ay.ul.withConfig({displayName:"GalleryEmbedSlideList"})` && { ${({isListicleLayout:e})=>p(e)} } `,h=o.Ay.li.withConfig({displayName:"GalleryEmbedSlideListItem"})` && { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; margin: 0 auto; padding: 0; width: 100%; min-width: 0; min-height: 0; ${(0,a.R9)("isListicleLayout",!0,"\n display: block;\n ")} } `,y=o.Ay.hr.withConfig({displayName:"GalleryEmbedHr"})` && { display: block; margin: 0; border: 0; padding: 0; height: 1px; ${({isListicleLayout:e,hasMixedMediaSlides:t})=>e||t&&"\n display: none;\n "} } `,b=(0,o.Ay)(r.A).withConfig({displayName:"GalleryEmbedSwipe"})` && { display: block; ${({theme:e})=>(0,a._o)(e,"background-color","colors.consumption.body.standard.bg-photo")}; ${(0,a.R9)("noHed",!0,`\n margin-top: ${(0,a.Kq)(5)};\n `)} } `,f=o.Ay.div.withConfig({displayName:"GalleryEmbedWrapper"})` position: relative; margin: 0 0 ${(0,a.Kq)(4)}; overflow: hidden; /* Grid gap override */ ${d.jZ} ${d.MC} { grid-gap: 0; } ${c.nw} & { margin: 0; } &:first-child { ${y}:first-child { display: none; } ${b} { margin-top: 0; } } ${({isListicleLayout:e})=>e&&`\n .gallery__slides__slide {\n margin-bottom: ${(0,a.Kq)(4)};\n }\n ${d.MC} {\n display: block;\n grid-template-columns: inherit;\n }\n ${m.BF} {\n margin: 0 auto;\n }\n `} ${d.jZ} ${d.a_} .responsive-image__image { margin: auto; width: auto; min-width: 0; min-height: 0; /* This is an arbitrary height so that the gallery doesn't take up too much vertical space */ max-height: 550px; } `,w=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedCredit"})` /* This is to override .body a:not(.button):link, .body a:not(.button):visited */ && { a { color: inherit; } } `;w.defaultProps={as:"div",colorToken:"colors.consumption.body.standard.body-deemphasized",topSpacing:"3",typeIdentity:"typography.definitions.globalEditorial.context-tertiary"};const $=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedSlideTitle"})``;$.defaultProps={as:"div",colorToken:"colors.consumption.body.standard.subhed",topSpacing:2,typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-primary"};const v=o.Ay.h2.withConfig({displayName:"GalleryEmbedTitle"})` &&& { ${(0,a.Gg)("typography.definitions.consumptionEditorial.subhed-aux-primary")} ${({theme:e})=>(0,a._o)(e,"color","colors.consumption.body.standard.subhed")}; margin: 0; padding: ${(0,a.Kq)(2)} 0; } `,C=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedCaptionSlideBody"})``;C.defaultProps={as:"div",colorToken:"colors.consumption.body.standard.body",topSpacing:2,typeIdentity:"typography.definitions.consumptionEditorial.description-embed"};const k=(0,o.Ay)(s.A).withConfig({displayName:"GalleryEmbedListWrapper"})` ${({isListicleLayout:e})=>p(e)} .gallery__item__slide--mid-gallery-ad { margin-bottom: 1.5rem; } `,x=(0,o.Ay)(l.A.Utility).withConfig({displayName:"GalleryEmbedCaptionButton"})` margin-top: ${(0,a.Kq)(3)}; `,E=o.Ay.figcaption.withConfig({displayName:"GalleryEmbedCaptionWrapper"})` margin-bottom: ${(0,a.Kq)(4)}; `,A=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedCaptionMetaOneWrapper"})` line-height: 0; `;A.defaultProps={as:"div",colorToken:"colors.consumption.body.standard.subhed",topSpacing:3};const S=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedCaptionMetaOne"})``;S.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const L=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedCaptionSellerName"})` display: block; `;L.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.subhed",topSpacing:2,typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const T=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedCaptionDetail"})``;T.defaultProps={as:"div",colorToken:"colors.consumption.body.standard.accent",topSpacing:2,typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const N=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedCaptionPrice"})``;N.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.body-deemphasized",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const H=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedCaptionReducedPrice"})` margin-left: ${(0,a.Kq)(1)}; `;H.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.accent",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const I="32px",B=o.Ay.div.withConfig({displayName:"GalleryEmbedControlsStyles"})` display: flex; align-items: center; justify-content: space-between; padding: ${(0,a.Kq)(3)} 0 0; width: 100%; line-height: 0; `,O=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedControlsAdTitle"})``;O.defaultProps={as:"div",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const _=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedControlsCounter"})` display: inline-block; `;_.defaultProps={as:"span",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const K=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedControlsCounterIndex"})``;K.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const P=(0,o.Ay)(i.vm).withConfig({displayName:"GalleryEmbedControlsCounterCount"})``;P.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.body-deemphasized",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const D=o.Ay.div.withConfig({displayName:"GalleryEmbedControlsController"})` display: inline-block; `,q=(0,o.Ay)(l.A.Utility).withConfig({displayName:"GalleryEmbedControlsButton"})` display: inline-block; /* This +10 is to offset the lag that happens when transitioning a svg fill-color */ transition: transform ${u+10} ease-in-out; border: 1px solid; ${({theme:e})=>(0,a._o)(e,"border-color","colors.interactive.base.black")}; background-color: transparent; cursor: pointer; padding: 0; width: ${I}; min-width: ${I}; height: ${I}; && { &:focus, &:hover, &:active { border-width: 1px; background-color: transparent; } ${({isDisabled:e})=>e&&`\n opacity: 0.8;\n border: 1px solid;\n ${({theme:e})=>(0,a._o)(e,"border-color","colors.interactive.base.light")};\n pointer-events: none;\n\n svg {\n ${({theme:e})=>(0,a._o)(e,"fill","colors.interactive.base.light")};\n }\n `} } &:focus, &:hover { border: 1px solid; background-color: none; ${({theme:e})=>(0,a._o)(e,"border-color","colors.interactive.base.brand-primary")}; svg { ${({theme:e})=>(0,a._o)(e,"fill","colors.interactive.base.brand-primary")}; } } &&:active, &&:focus, &&:hover { background-color: none; } &&:disabled { opacity: 0.8; border-width: 1px; background-color: transparent; svg { ${({theme:e})=>(0,a._o)(e,"fill","colors.interactive.base.light")}; } } svg { position: relative; right: -1px; /* Small offset from icon's center */ transition: fill ${u} ease-in-out; height: 20px; ${({theme:e})=>(0,a._o)(e,"fill","colors.interactive.base.black")}; } ${({isBackArrow:e})=>e?"transform: rotate(180deg)":`margin-left: ${(0,a.Kq)(2)}`} `},56317:(e,t,n)=>{n.d(t,{g:()=>o});const o=n(38267).Ay.figure.withConfig({displayName:"CneAudioEmbedFigure"})` margin: 0; `},56341:(e,t,n)=>{n.d(t,{j:()=>r});var o=n(38267),i=n(26865),a=n(52813);function r(e,t=!0,n="colors.foundation.collapsed-menu.nav-link.default",r="colors.foundation.collapsed-menu.nav-link.hover"){const s=t?"justify-content: flex-start;":"";return o.AH` display: flex; position: relative; align-items: center; border: 0; border-radius: 0; background-color: transparent; padding: 0 ${(0,i.Kq)(1)}; width: 100%; min-width: ${(0,i.Kq)(5)}; height: 100%; ${s} svg { display: block; width: 100%; height: 100%; path { fill: ${(0,i.HK)(e,n)}; } } &:focus, &:hover { border: 0; background-color: transparent; svg path { fill: ${(0,i.HK)(e,r)}; } } .button__icon-container { width: ${(0,i.Kq)(4)}; height: ${(0,i.Kq)(4)}; } .button__label { ${(0,a.Ic)()} } `}},56475:(e,t,n)=>{n.d(t,{Q:()=>a,b:()=>o});var o,i=n(53836);!function(e){e.SET="SET"}(o||(o={}));class a extends i.J{constructor(){super(2)}}},56857:(e,t,n)=>{n.d(t,{A:()=>R});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(73275),l=n(10642),d=n(38080),c=n(11025),m=n(90090),u=n(53499),p=n(89957),g=n(14307);const h=({subItems:e,subItemsLengthLimit:t})=>{if(!e||!e.length)return[];const[n,...o]=e,{image:i}=n||{},{contentType:a}=i||{};if(a){return[n,...o.slice(0,t)]}return h({subItems:o,subItemsLengthLimit:t})};var y=n(38267),b=n(26865),f=n(76955),w=n(35864),$=n(19607),v=n(96472),C=n(1123),k=n(89085),x=n(52663),E=n(36211),A=n(75163);const S=(0,y.Ay)(w.default.LineAboveLineBelowTextCenter).withConfig({displayName:"Title"})` grid-column: 1/-1; grid-row: 1; margin-bottom: ${(0,b.Kq)(4)}; `,L=(0,y.Ay)(f.vm).withConfig({displayName:"SubtopicDiscoveryFirstHed"})` text-decoration: none; line-height: 114%; & h2 { ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.discovery.hed-bulletin-primary")} color: ${({theme:e})=>`${(0,b.HK)(e,"colors.discovery.body.white.heading")};`} } `;L.defaultProps={as:"a"};const T=y.Ay.div.withConfig({displayName:"SubtopicDiscoveryHedContainer"})` border-bottom: ${(0,b.Kq)(.125,"px")} solid ${(0,b.HK)("colors.consumption.body.standard.divider")}; &:last-child { border-bottom: none; } & .rubric--discovery { ${A.pT.Color.SurfaceRubricCard}: ${(0,b.HK)("colors.foundation.footer.bg")}; } `,N=(0,y.Ay)(f.vm).withConfig({displayName:"SubtopicDiscoveryImage"})` display: block; position: relative; margin-bottom: ${(0,b.Kq)(2)}; `;N.defaultProps={as:"a"};const H=y.Ay.div.withConfig({displayName:"SubtopicDiscoveryItemContainer"})` grid-column: span 4; ${(0,b.H4)(v.LO.md)} { grid-column: span 3; } `,I=(0,y.Ay)(f.vm).withConfig({displayName:"SubtopicDiscoverySubsequentHed"})` text-decoration: none; line-height: 106%; & h2 { ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.discovery.hed-bulletin-primary")} color: ${({theme:e})=>`${(0,b.HK)(e,"colors.discovery.body.white.heading")};`} } `;I.defaultProps={as:"a"};const B=(0,y.Ay)($.A).withConfig({displayName:"SubtopicDiscoveryAdRail"})``,O=y.Ay.div.withConfig({displayName:"SubtopicDiscoveryAdRailContainer"})` display: block; `,_=y.Ay.div.withConfig({displayName:"SubtopicDiscoveryGridContent"})` display: grid; grid-column: span 12; grid-template-columns: repeat(4, 1fr); ${(0,b.Xm)(v.LO.sm,v.LO.md)} { grid-row-gap: ${(0,b.Kq)(4)}; } ${(0,b.H4)(v.LO.md)} { grid-template-columns: repeat(9, 1fr); column-gap: var(--grid-gap); row-gap: var(--grid-gap); } ${(0,b.H4)(v.LO.lg)} { grid-column: ${({shouldUseSummaryItem:e})=>""+(e?"span 12":"span 11")}; } `,K=((0,y.Ay)("div").withConfig({displayName:"SubtopicDiscoveryGrid"})` ${(0,k.universalGridCore)()}; ${(0,C.aU)("padding")}; `,(0,y.Ay)(x.A).withConfig({displayName:"SubtopicDiscoverySummaryItem"})` ${E.Y} { ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.discovery.hed-core-secondary")} } `),P=({item:e,subItemsLengthLimit:t,firstHedIdx:n,shouldEnableBundleComponentAnalytics:o,trackingNamespace:i,hasNativeImgLazyLoading:a,shouldUseSummaryItem:d=!1,onItemClick:c})=>{const u=(0,m.NY)(o,`${i?.SubtopicDiscoveryItemHed} ${n+1} hero`),{dangerousCategoryTitle:p,parsedSubItems:g=[]}=e||{},y=p?.label,b=h({subItems:g,subItemsLengthLimit:t});if(!b.length)return null;const[f,...w]=b,{artist:$,dangerousHed:v,genre:C,image:k,url:x}=f||{},{altText:E}=k||"",A=(e,t)=>{c&&c(e,t,n)};return r.createElement(H,null,r.createElement(T,null,r.createElement(l.A.DiscoveryCard,{name:p.label,url:p.link}),d?r.createElement(K,{...f,shouldHidePublishDate:!1,rubric:C,subHed:$,url:`/${x}/`}):r.createElement(r.Fragment,null,r.createElement(N,{href:`/${x}`,"aria-label":E,className:"SubtopicDiscoveryImage",onClick:()=>A(f,y),...u},r.createElement(s.A,{...k,isLazy:!0,hasNativeImgLazyLoading:a})),r.createElement(L,{href:`/${x}`,"aria-label":v,className:"SubtopicDiscoveryFirstHed",onClick:()=>A(f,y),...u},r.createElement("h2",{dangerouslySetInnerHTML:{__html:v}})))),!d&&(w||[]).map((e,t)=>{const{dangerousHed:a,url:s}=e||{},l=(0,m.NY)(o,`${i?.SubtopicDiscoveryItemHed} ${n+1} secondary`,t);return r.createElement(T,{key:t},r.createElement(I,{href:`/${s}`,"aria-label":a,className:"SubtopicDiscoverySubsequentHed",onClick:()=>A(e,y),...l},r.createElement("h2",{dangerouslySetInnerHTML:{__html:a}})))}))};P.propTypes={firstHedIdx:a().number,hasNativeImgLazyLoading:a().bool,item:a().shape({dangerousCategoryTitle:a().shape({label:a().string,link:a().string}),parsedSubItems:a().arrayOf(a().shape({dangerousHed:a().string,image:a().object,url:a().string}))}),shouldEnableBundleComponentAnalytics:a().bool,shouldUseSummaryItem:a().bool,subItemsLengthLimit:a().number,trackingNamespace:a().object,onItemClick:a().func};const D=({items:e,subItemsLengthLimit:t,shouldEnableBundleComponentAnalytics:n,trackingNamespace:o,shouldUseSummaryItem:i,onItemClick:a})=>e.map((e,s)=>r.createElement(P,{key:s,item:e,subItemsLengthLimit:t,firstHedIdx:s,hasNativeImgLazyLoading:e.hasNativeImgLazyLoading,shouldEnableBundleComponentAnalytics:n,trackingNamespace:o,shouldUseSummaryItem:i,onItemClick:a})),q=({dangerousDek:e="",dangerousHed:t="",items:n=[],shouldShowContainerTitle:o=!1,subItemsLengthLimit:i=2,showAdRightRail:a=!1,shouldEnableBundleComponentAnalytics:s,shouldUseSummaryItem:l=!1,trackingNamespace:m})=>{const{hasTrackedImpression:y,setHasTrackedImpression:b,trackImpressionEvent:f,handleItemClick:w}=((e,t)=>{const[n,o]=r.useState(!1);return{hasTrackedImpression:n,setHasTrackedImpression:o,trackImpressionEvent:()=>{e.forEach((n,o)=>{let i=[];const{dangerousCategoryTitle:a,parsedSubItems:r=[]}=n||{};h({subItems:r,subItemsLengthLimit:t}).forEach(e=>{const{dangerousHed:t,url:n,id:o,contentType:a}=e||{};i.push({content_title:t,content_id:o,content_type:a,content_url:n?.startsWith("/")?`${window.location.origin}${n}`:n})});const s={type:"impression",subject:"subtopic_discovery",label:a?.label||"Subtopic Discovery",items:i,index:o,total_index:e.length};(0,g.kg)(s)})},handleItemClick:(t,n,o)=>{const{dangerousHed:i,url:a,id:r,contentType:s}=t||{},l={type:"click",subject:"subtopic_discovery",label:n||"Subtopic Discovery",items:[{content_title:i,content_id:r,content_type:s,content_url:a?.startsWith("/")?`${window.location.origin}${a}`:a}],index:o,total_index:e.length};(0,g.kg)(l)}}})(n,i),$=r.useRef();return(0,p.Mp)(".subtopic-discovery-grid",{threshold:.1},e=>{e&&!y&&(f(),b(!0))},[y]),r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"SubtopicDiscovery"})},[]),r.createElement(r.Fragment,null,t&&o&&r.createElement(S,{dangerousDek:e,dangerousHed:t,hedTag:"h2"}),r.createElement(_,{shouldUseSummaryItem:l,ref:$,className:"subtopic-discovery-grid"},r.createElement(D,{items:n,subItemsLengthLimit:i,shouldEnableBundleComponentAnalytics:s,shouldUseSummaryItem:l,trackingNamespace:m,onItemClick:w})),a&&r.createElement(O,{className:"grid-layout__aside"},r.createElement(c.A,null,r.createElement(d.Z,{group:"ads"},r.createElement(B,{position:"rail"})))))};q.propTypes={dangerousDek:a().string,dangerousHed:a().string,items:a().array,shouldEnableBundleComponentAnalytics:a().bool,shouldShowContainerTitle:a().bool,shouldUseSummaryItem:a().bool,showAdRightRail:a().bool,subItemsLengthLimit:a().number,trackingNamespace:a().object},q.displayName="SubtopicDiscovery";const M=q,R=(0,o.y)(M,"SubtopicDiscovery")},56892:(e,t,n)=>{n.r(t),n.d(t,{createCookie:()=>r.n,default:()=>l,deleteCookie:()=>o.Y,getCookie:()=>i.R,getCookieDomain:()=>a.R,getCookieDomainFromHostname:()=>a.A,getCookieFromPrefix:()=>s.Z});var o=n(36099),i=n(76510),a=n(88546),r=n(87664),s=n(94386);const l={getCookieDomain:a.R,getCookieDomainFromHostname:a.A,deleteCookie:o.Y,getCookie:i.R,createCookie:r.n,getCookieFromPrefix:s.Z}},57221:(e,t,n)=>{n.d(t,{C2:()=>w,Gi:()=>b,Q$:()=>f,QY:()=>v,h8:()=>x,js:()=>$,kC:()=>E,pM:()=>k,qX:()=>C});var o=n(38267),i=n(48286),a=n(40653),r=n(86659),s=n(96472),l=n(76955),d=n(14952),c=n(92027),m=n(26865),u=n(16800),p=n(1123),g=n(7228),h=n(5239),y=n(75163);const b=o.Ay.header.withConfig({displayName:"SectionHeaderWrapper"})` && { ${({shouldHideTopSpacing:e})=>e&&"\n margin-top: 0px;\n "} ${({shouldHideBottomSpacing:e})=>e&&"\n margin-bottom: 0px;\n "} } ${(0,p.aU)("padding")} ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?null:`padding-bottom: ${(0,m.Kq)(5)};`} display: grid; ${({shouldEnableLede:e})=>e&&`\n grid-template-columns: 1fr;\n ${h.zT} {\n grid-column: inherit;\n }\n `} ${({fullPageTheme:e,theme:t})=>{const n={inverted:"colors.consumption.lead.inverted.background",light:"colors.background.light",default:"colors.discovery.lead.primary.background"},o=n[e]||n.default;return`${(0,m._o)(t,"background-color",o)}`}} ${({hasSectionColor:e,theme:t})=>e&&`${(0,m._o)(t,"background","colors.background.light")}`} [class*='GridWrapper-'] [class*='SectionHeaderSubhedClamp-'] { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`\n padding-bottom: ${(0,u.F)(t,"gap-md")};\n @media (max-width: ${s.LO.md}) {\n padding-bottom: ${(0,u.F)(t,"gap-sm")};\n }\n `:null} } [class*='GridWrapper-'] .section-header__subhed { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?"\n padding-top: 0px;\n ":null} } `,f=o.Ay.div.withConfig({displayName:"SectionHeaderContainer"})` ${({hasSectionContainerWidth:e})=>!e&&" max-width: 850px;"} ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`padding: ${(0,m.Kq)(0)} 0;`:`padding: ${(0,m.Kq)(4)} 0;`} ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?"\n display: flex;\n flex-flow: column;\n gap: 24px;\n ":null} ${({hasSectionColor:e})=>e&&`padding: ${(0,m.Kq)(5)} 0 ${(0,m.Kq)(4)};`} text-align: ${({contentAlign:e})=>e}; &.section-header__container--minimal-padding { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`padding: ${(0,m.Kq)(0)} 0;`:`padding: ${(0,m.Kq)(5)} 0;`} } @media (min-width: ${s.LO.md}) { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?`padding: ${(0,m.Kq)(0)} 0;`:`padding: ${(0,m.Kq)(5)} 0;`} ${({hasSectionColor:e})=>e&&`padding: ${(0,m.Kq)(5)} 0 ${(0,m.Kq)(4)};`} } && { ${({shouldHideTopSpacing:e})=>e&&"\n padding-top: 0px;\n "} ${({hidePaddingBottom:e})=>e&&"\n padding-bottom: 0px;\n "} } `,w=(0,o.Ay)(c.A).withConfig({displayName:"SectionHeaderLedeSection"})` grid-column: 1; grid-row: 1; ${({theme:e})=>(0,m._o)(e,"background","colors.background.white")}; ${({shouldUseLedeAsLogo:e})=>e&&"\n .lead-asset__content {\n padding: 32px 0;\n }\n "} .lead-asset__content__photo, ${g.BF} { max-height: none; } ${h.zw}, ${g.BF} { ${({shouldUseLedeAsLogo:e})=>e?`\n width: 21em;\n text-align: center;\n margin: 0 auto;\n\n @media (max-width: ${s.LO.md}) {\n width: 16em;\n }\n `:"\n width: 100%;\n "} } `,$=o.Ay.span.withConfig({displayName:"SectionHeaderHedDivider"})` @media (min-width: ${s.LO.md}) { margin-top: ${(0,m.Kq)(4)}; margin-bottom: ${(0,m.Kq)(2)}; } display: block; grid-column: 1 / -1; margin-top: ${(0,m.Kq)(2)}; margin-right: auto; margin-bottom: ${({subHedPosition:e})=>"above"===e?(0,m.Kq)(2):0}; margin-left: ${({contentAlign:e})=>"center"===e?"auto":0}; border-bottom-width: ${(0,m.Kq)(.25,"px")}; border-bottom-style: solid; border-bottom-color: var(${y.pT.Color.BorderAccent}); width: ${(0,m.Kq)(12.5,"px")}; && { ${({hasInvertedDivider:e,dividerLength:t,mobileDividerLength:n})=>e&&`border-bottom-width: ${(0,m.Kq)(1.5,"px")};\n border-bottom-style: solid;\n border-bottom-color: var(${y.pT.Color.BorderInverted});\n \n @media (min-width: ${s.LO.md}) {\n width: ${(0,m.Kq)(t,"px")};\n }\n\n @media (max-width: ${s.LO.md}) {\n width: ${(0,m.Kq)(n,"px")};\n }`} ${({shouldHideTopSpacing:e})=>e&&"\n margin-top: 0px;\n "} ${({shouldIncreaseBottomSpacingDivider:e})=>e&&"\n margin-bottom: 48px;\n "} } `,v=(0,o.Ay)(l.vm).withConfig({displayName:"SectionHeaderHed"})` ${({fullPageTheme:e,theme:t})=>"inverted"===e?(0,m._o)(t,"color","colors.consumption.lead.inverted.heading"):(0,m._o)(t,"color","colors.discovery.lead.primary.hed")}; ${({hasSectionColor:e,theme:t,showSubChannelHed:n})=>n?`\n ${(0,m.Gg)(t,"typography.definitions.discovery.subhed-section-secondary")}\n `:e?`\n ${(0,m.Gg)(t,"typography.definitions.discovery.subhed-section-primary")}\n `:""} ${({shouldUseCollectionHeaderFont:e,theme:t})=>e&&`\n ${(0,m.Gg)(t,"typography.definitions.discovery.page-hed-subsection")}\n `} `;v.defaultProps={as:"h1",bottomSpacing:0,topSpacing:0,typeIdentity:"typography.definitions.discovery.page-hed-section"};const C=(0,o.Ay)(l.vm).withConfig({displayName:"SectionHeaderSubhed"})` padding: ${({contentAlign:e})=>"center"===e?`${(0,m.Kq)(2)} ${(0,m.Kq)(3)} 0 ${(0,m.Kq)(3)}`:`${(0,m.Kq)(2)} ${(0,m.Kq)(3)} 0 0`}; color: var(${y.pT.Color.TextDescription}); ${({hasSectionColor:e,showSmallerSubHed:t})=>(e||t)&&(0,m.Gg)("typography.definitions.consumptionEditorial.description-core")} ${({showtwolineSubHed:e})=>e&&(0,m.Gg)("typography.definitions.consumptionEditorial.display-medium")} @media (max-width: ${s.LO.md}) { ${({hasSectionContainerWidth:e})=>e&&`\n margin-left:${(0,m.Kq)(3)};\n margin-right:${(0,m.Kq)(3)};\n `} } ${({fullPageTheme:e,shouldInvertDangerousDek:t,theme:n})=>"inverted"===e&&t?`${(0,m._o)(n,"color","colors.consumption.lead.inverted.description")}`:""} `;C.defaultProps={typeIdentity:"typography.definitions.discovery.description-page"};const k=(0,o.Ay)(i.A).withConfig({displayName:"SectionHeaderSubhedClamp"})``,x=(0,o.Ay)(r.A.WithMargins).withConfig({displayName:"SectionHeaderGrid"})` ${a.E} { grid-column-end: -1; grid-column-start: 1; justify-self: ${({hasSectionContainerWidth:e,contentAlign:t})=>e?"auto":`${t}`}; } @media (max-width: ${s.LO.md}) { ${({hasSectionContainerWidth:e})=>e&&"&.grid {\n --grid-margin: 0;\n }"} } `,E=o.Ay.div.withConfig({displayName:"ChipWrapper"})` ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,u.F)(t,"gap-md")?"margin: 0px;":`margin: ${(0,m.Kq)(2)} 0 0 0;`} .list-item-wrapper:first-child { margin-left: initial; } .list-item-wrapper:last-child { margin-right: unset; } ${d.OO} { a { padding-top: 0.7rem; padding-bottom: 0.7rem; } @media (min-width: ${s.LO.md}) { flex-wrap: wrap; overflow-x: none; justify-content: center; padding: ${(0,m.Kq)(1)} ${(0,m.Kq)(3)}; .list-item-wrapper { margin-bottom: ${(0,m.Kq)(1)}; } } @media (max-width: ${s.LO.md}) { ${({hasSectionContainerWidth:e})=>e?`\n padding-left:${(0,m.Kq)(3)};\n padding-right:${(0,m.Kq)(3)};\n `:"width: 350px;\n padding-left: 0;"} ${({shouldCenterAlignChipsInMobile:e})=>e&&"justify-content: center"}; padding-top: 0.7rem; padding-bottom: 0.7rem; } } `},57745:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(89434);var i=n(11762),a=n(26830);const r={googleSignIn:async(e,t,n={})=>{const{id_token:o,access_token:r}=e.getAuthResponse(!0),s=await(0,i.Lk)({googleIdToken:o,googleAccessToken:r,...t}),l=await s.json(),{data:{id:d}={}}=l;if(s.ok){return{loginResult:200===s.status?"login":"registration",amguuid:d}}const c={user:{account:{loginFailureMessage:"auth_service_error"}},...n};return a.A.trackGoogleSignInFailure(c),{loginResult:"failure"}},signOut:()=>new Promise((e,t)=>{o.o().then(n=>{n.load("client:auth2",()=>{n.auth2.init({}).then(()=>{n.auth2.getAuthInstance().signOut().then(t=>e(t)).catch(e=>t(e))}).catch(e=>t(e))},e=>{throw e})}).catch(e=>t(e))})}},57926:(e,t,n)=>{n.d(t,{A:()=>xt});var o=n(13465),i=n(32485),a=n.n(i),r=n(96540),s=n(5556),l=n.n(s),d=n(6442),c=n(79859),m=n.n(c),u=n(20659),p=n(53499),g=n(72267);const h=(0,g.defineMessages)({viewAllButton:{id:"VersoFeatures.viewAllButton",defaultMessage:"View All",description:"Aria label text for verso feature view all button"}});var y=n(68397),b=n(52663),f=n(25433),w=n(47655),$=n(90090),v=n(35864),C=n(73730),k=n(42361),x=n(59867),E=n(38267),A=n(26865),S=n(16800),L=n(99906),T=n(89085),N=n(96472),H=n(50531),I=n(1123),B=n(91783),O=n(18117),_=n(7228),K=n(6613),P=n(1817),D=n(6528),q=n(36211),M=n(68116),R=n(88154),F=n(75699),U=n(23311);const V=E.Ay.div.withConfig({displayName:"SummaryCollageFiveFooterWrapper"})` display: flex; grid-column: 1 / -1; align-items: center; justify-content: flex-end; a { ${({theme:e})=>(0,A.pe)(e,"colors.consumption.lead.standard.link")}; ${H.ny} { padding-left: ${(0,A.Kq)(.3)}; .icon-arrow { transform: scale(0.6); width: 18px; } } } ${H.Lj} { ${({theme:e})=>(0,A.Gg)(e,"typography.definitions.foundation.link-secondary")}; } `,G=E.Ay.span.withConfig({displayName:"SummaryCollageFiveSectionTitle"})` grid-column: 1/-1; grid-row: 1; ${({shouldUseAlternativeStyle:e})=>e?`margin-bottom: ${(0,A.Kq)(0)};`:` margin-bottom: ${(0,A.Kq)(2)};\n @media (min-width: ${N.LO.md}) {\n margin-bottom: ${(0,A.Kq)(1)};\n }\n @media (min-width: ${N.LO.lg}) {\n margin-bottom: ${(0,A.Kq)(0)};\n }`} `,W=`\n &&& {\n ${(0,A.H4)(N.LO.md)} {\n padding-right: ${(0,A.Kq)(3)};\n padding-left: ${(0,A.Kq)(3)};\n\n .summary-item__content.summary-item__content--minimal {\n padding-top: ${(0,A.Kq)(4)};\n }\n\n .summary-item__image {\n padding-right: ${(0,A.Kq)(2)};\n padding-left: ${(0,A.Kq)(2)};\n }\n }\n\n @media (min-width: ${L.Vh.md+1}px) {\n padding-right: ${(0,A.Kq)(1)};\n padding-left: ${(0,A.Kq)(1)};\n\n .summary-item__image {\n padding: 0;\n }\n }\n\n ${(0,A.H4)(N.LO.lg)} {\n padding-right: ${(0,A.Kq)(3)};\n padding-left: ${(0,A.Kq)(3)};\n\n .summary-item__image {\n padding: 0;\n }\n }\n }\n`,j=E.AH` .summary-item__hed { ${(0,A.H4)(N.LO.md)} { ${(0,A.Gg)("typography.definitions.discovery.hed-core-secondary")}; } } `,z=E.AH` && { border-top: 1px solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding-top: ${(0,A.Kq)(4)}; } `,Y=E.AH` .summary-item__hed { margin-bottom: 0.5rem; } ${(0,A.Xm)(0,`${L.VS.md}px`)} { &&& { grid-column: 1 / span 12; grid-row: auto; grid-template-areas: 'content content content image'; grid-template-columns: repeat(4, 1fr); &.summary-item--has-border-sides { && { border-right-style: none; } } } margin: 0; border-bottom: 1px solid ${(0,A.HK)("colors.discovery.body.white.divider")}; ${({shouldUseAlternativeStyle:e})=>e?"":"padding: 0 0 16px 0;"} } `,X=E.AH` &&& { grid-column: 1 / -1; grid-row: 2 / span 1; margin-right: 0; margin-left: 0; border-right: none; border-bottom: 1px solid ${(0,A.HK)("colors.discovery.body.white.divider")}; border-left: none; padding-right: 0; padding-bottom: 24px; padding-left: 0; } ${(0,A.Xm)(0,`${L.VS.md}px`)} { padding-bottom: 16px; } ${(0,A.H4)(N.LO.md)} { margin-top: -8px; } &&& { .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-break-out")}; } } .summary-item__dek { ${(0,A.Gg)("typography.definitions.discovery.description-core")}; ${(0,A.Xm)(N.LO.lg,`${L.VS.xl}px`)} { max-height: 5rem; overflow: scroll; text-align: left; text-overflow: ellipsis; } } .summary-item__content { .rubric.summary-item__rubric { margin-bottom: 16px; ${(0,A.Xm)(N.LO.md,`${L.VS.lg}px`)} { margin-bottom: ${(0,A.Kq)(1)}; } } } ${(0,A.Xm)(N.LO.md,`${L.VS.lg}px`)} { &.summary-item--layout-proportions-66-33.summary-item--layout-position-image-left { ${`\n ${(0,I.VO)()}\n \n display: grid;\n grid-column-gap: ${(0,A.Kq)(2)};\n grid-template-areas: 'image content';\n grid-template-columns: repeat(2, 1fr);\n align-items: center;\n\n &.summary-item--layout-position-image-right {\n grid-template-areas: 'content image';\n }\n\n &.summary-item--videodekposition {\n ${(0,A.H4)(`${L.VS.md}px`)} {\n border-bottom: 0;\n }\n\n .summary-item__image-link {\n max-width: 100%;\n }\n }\n\n &.summary-item--videodekposition:first-of-type {\n ${(0,A.L7)(N.LO.md)} {\n display: block;\n }\n }\n\n .summary-item__asset-container--align-top {\n align-self: start;\n }\n\n .summary-item__asset-container {\n grid-area: image;\n }\n\n .summary-item__content {\n grid-area: content;\n padding-top: 0;\n }\n\n &.summary-item--videodekposition:first-of-type\n > .summary-item__content--margintop {\n padding-top: 0;\n ${(0,A.H4)(N.LO.md)} {\n margin-top: calculate-spacing(2);\n }\n }\n`}; grid-template-columns: 1fr; align-items: start; .summary-item__asset-container, .summary-item__content { grid-column: 1 / -1; grid-row: auto; } .summary-item__asset-container { padding-bottom: 24px; } .summary-item__content.summary-item__content--bottom-dek { .summary-item__byline-date-icon--pre-dek { margin: 8px 0 14px 0; } } } } ${(0,A.Xm)(0,`${L.VS.md}px`)} { &&& { grid-column: 1 / span 12; grid-row: auto; border-bottom: 1px solid ${(0,A.HK)("colors.discovery.body.white.divider")}; &.summary-item--has-border-sides { border-right-style: none; } } margin: 0; padding: 0 0 10px 0; &.summary-item--layout-proportions-66-33.summary-item--layout-position-image-left { ${(0,D.qk)()} grid-template-columns: 1fr; align-items: start; .summary-item__asset-container, .summary-item__content { grid-column: 1 / -1; grid-row: auto; .rubric { &.summary-item__rubric { margin-bottom: 8px; } } } .summary-item__asset-container { padding-bottom: 16px; } } } `,Z=E.AH` && { grid-column: 1 / 4; grid-row: 3 / span 1; padding-right: 16px; } &.summary-item--has-border-sides { border-right: none; } ${Y} ${(0,A.Xm)(N.LO.md,`${L.VS.lg}px`)} { &&& { grid-column: 1 / 7; grid-row: 3 / span 1; border-bottom: 1px solid ${(0,A.HK)("colors.discovery.body.white.divider")}; padding-right: 12px; } padding-bottom: 24px; &.summary-item--has-border-sides { && { border-right-style: none; } } &::after { position: absolute; top: 0; right: 0; border-right: 1px solid ${(0,A.HK)("colors.discovery.body.white.divider")}; height: 80%; content: ''; } } ${(0,A.Xm)("1025px",`calc(${N.LO.xl} - 1px)`)} { .summary-item__content--bottom-dek { margin-right: ${(0,A.Kq)(-4)}; width: 100%; } } `,J=E.AH` &&& { grid-column: 4 / 7; } margin-left: calc(-1 * var(--grid-gap)); padding-right: 16px; padding-left: 16px; ${(0,A.Xm)(N.LO.md,`${L.VS.lg}px`)} { &.summary-item--has-border-sides { && { border-right-style: none; } } &&& { grid-column: 7 / -1; grid-row: 3 / span 1; border-bottom: 1px solid ${(0,A.HK)("colors.discovery.body.white.divider")}; padding-right: 0; padding-left: 12px; } padding-bottom: 16px; } ${Y} ${(0,A.Xm)("1025px",`calc(${N.LO.xl} - 1px)`)} { .summary-item__content--bottom-dek { margin-right: ${(0,A.Kq)(-2)}; } } `,Q=E.AH` && { grid-column: 7 / 10; grid-row: 3 / span 1; padding-right: 16px; } margin-left: -16px; ${(0,A.Xm)(N.LO.md,`${L.VS.lg}px`)} { &&& { grid-column: 1 / 7; grid-row: 4 / span 1; margin-left: 0; padding-right: 12px; padding-bottom: 0; } } ${(0,A.Xm)(0,`${L.VS.md}px`)} { margin-left: 0; } ${Y} ${(0,A.Xm)("1025px",`calc(${N.LO.xl} - 1px)`)} { .summary-item__content--bottom-dek { margin-right: ${(0,A.Kq)(-2)}; } } `,ee=E.AH` && { grid-column: 10 / -1; padding-left: 16px; } margin-left: calc(-1 * var(--grid-gap)); ${(0,A.Xm)(N.LO.md,`${L.VS.lg}px`)} { grid-row: 4 / span 1; padding-bottom: 0; && { grid-column: 7/-1; } padding-left: 12px; } ${(0,A.Xm)(0,`${L.VS.md}px`)} { &&& { border-bottom: none; } } ${(0,A.Xm)("1025px",`calc(${N.LO.xl} - 1px)`)} { .summary-item__content--bottom-dek { margin-right: ${(0,A.Kq)(-1)}; } } ${Y} &.summary-item--has-border-sides { && { border-right-style: none; } } `,te=E.Ay.div.withConfig({displayName:"SummaryCollageFiveItem"})` grid-column: 1 / -1; //1 .summary-item__image, ${_.BF} { width: 100%; } ${B.WE} { margin-bottom: 0; } ${({shouldEnableDenseMobile:e})=>e&&`\n .aspect-ratio--overlay-container {\n ${(0,A.L7)(N.LO.md)} {\n top: auto;\n height: fit-content;\n }\n }\n `} /* Remove bottom border from all devices except mobile */ && { ${(0,A.H4)(N.LO.md)} { border-bottom: none; } } && ${R.UZ} { ${(0,A.L7)(N.LO.md)} { color: ${(0,A.HK)("colors.consumption.lead.standard.context-signature")}; } } && ${R.jY} { ${(0,A.L7)(N.LO.md)} { margin: ${(0,A.Kq)(2)} 0; } } && ${R.S3} { ${(0,A.L7)(N.LO.md)} { margin-bottom: 0.5rem; ${(0,A.Gg)("typography.definitions.discovery.hed-core-secondary")}; &::after { display: block; margin-top: ${(0,A.Kq)(1)}; margin-bottom: ${(0,A.Kq)(2)}; width: 5rem; content: ''; } } } &&& ${F.zQ} { ${(0,A.L7)(N.LO.md)} { border-bottom: 1px solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding: ${(0,A.Kq)(2)} 0; } ${(0,A.H4)(N.LO.md)} { display: flex; flex-direction: column; text-align: center; gap: 1rem; } ${R.tH}::after { display: none; } } &&& ${U.C} { order: -2; } ${({shouldDisplayItemsBelow:e,summaryItemPosition:t})=>e&&E.AH` &.summary-item--layout-placement-side-by-side { align-items: start; } &.summary-item--layout-position-image-right.summary-item--layout-proportions-33-66 { .summary-item__content { &.summary-item__content--no-rubric { padding-top: 0; } } } &.summary-item { ${B.WE} { margin-bottom: 0; } } ${(e=>{switch(e){case 1:return X;case 2:return Z;case 3:return J;case 4:return Q;case 5:return ee;default:return""}})(t)}; `} /* 1. css-grid: spans 6 columns starting 3 columns in (desktop/tablet) 2. css-grid: spans 2 rows starting from the first row (desktop/tablet) 3. override featured summary-item typography token for this composition */ ${({DangerousHedProp:e,hasMinimalSummaryItem:t,shouldDisplayItemsBelow:n,summaryItemPosition:o})=>{switch(o){case 1:return E.AH` ${(e=>E.AH` ${(0,A.H4)(N.LO.md)} { grid-column: 4 / span 6; margin-right: calc(var(--border-offset) * -1); margin-left: calc(var(--border-offset) * -1); border-right: 1px solid ${(0,A.HK)("colors.discovery.body.white.border")}; border-left: 1px solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding-right: var(--border-offset); padding-left: var(--border-offset); &.summary-item--card { margin-right: 0; margin-left: 0; border: 0; padding: 0; } } &.summary-item:not(.summary-item--card) { .summary-item__content { padding-bottom: 0; } } .summary-item__content.summary-item__content--bottom-dek { position: relative; height: 100%; .summary-item__metadata-secondary-without-mobile-margin { margin-bottom: ${(0,A.Kq)(4)}; } .summary-item__byline-date-icon--pre-dek { margin: 8px 0 14px 0; } } ${O.B}.summary-item__image { ${(0,A.Xm)(0,N.LO.md)} { width: auto; } } ${e&&W} .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-break-out")}; ${(0,A.H4)(N.LO.md)} { ${(0,A.Gg)("typography.definitions.discovery.hed-feature")}; } } .summary-item__dek { @media (max-width: ${N.LO.md}) { ${(0,A.Gg)("typography.definitions.discovery.description-feature")}; } } &.summary-item--card { ${(0,A.Xm)(0,N.LO.md)} { margin-right: ${(0,A.Kq)(-3)}; margin-left: ${(0,A.Kq)(-3)}; } .summary-item__content { ${(0,A.H4)(N.LO.lg)} { padding-top: ${(0,A.Kq)(4)}; } } } &.summary-item { ${(0,A.H4)(N.LO.md)} { margin-bottom: 0; } } `)(t)}; ${e?"grid-row: 2 / span 2;":"grid-row: 1 / span 2;"} `;case 2:return E.AH` ${j} ${(0,A.H4)(N.LO.md)} { position: relative; /* 2 */ grid-column: 1 / span 3; /* 1 */ grid-row: 2; /* 1 */ ${!e&&"grid-row: 1;"} &.summary-item--card { margin-bottom: 0; } } ${t&&z} `;case 3:return E.AH` ${j} &.summary-item { ${(0,A.H4)(N.LO.md)} { margin-bottom: 0; } } ${(0,A.H4)(N.LO.md)} { grid-column: 1 / span 3; } `;case 4:return E.AH` ${j} ${(0,A.H4)(N.LO.md)} { position: relative; /* 2 */ grid-column: 10 / span 3; /* 1 */ grid-row: 2; /* 1 */ ${!e&&"grid-row: 1;"} &.summary-item--card { margin-bottom: 0; } } ${t&&z} `;case 5:return E.AH` ${j} &.summary-item { ${(0,A.H4)(N.LO.md)} { margin-bottom: 0; } } ${(0,A.H4)(N.LO.md)} { grid-column: 10 / span 3; /* 1 */ } ${(0,A.Xm)(0,N.LO.md)} { && { margin-bottom: 0; padding-bottom: 0; } } `;default:return""}}} ${({headerHeight:e})=>e&&`\n ${M.kW} {\n top: ${(0,A.Kq)(e)};\n }\n `} `,ne=`\n&& {\n .summary-item__rubric {\n margin-bottom: ${(0,A.Kq)(2)};\n }\n\n .summary-item__hed {\n margin-bottom: ${(0,A.Kq)(2)};\n }\n\n .summary-item--card {\n .summary-item__content {\n padding-top: ${(0,A.Kq)(2)};\n }\n }\n\n\n ${(0,A.H4)(N.LO.lg)} {\n .summary-item__rubric {\n margin-bottom: ${(0,A.Kq)(2)};\n }\n\n .summary-item__hed {\n margin-bottom: ${(0,A.Kq)(2)};\n\n &.summary-item__hed--no-margin-bottom {\n margin-bottom: 0;\n }\n }\n }\n}\n`,oe=`\n ${(0,A.H4)(N.LO.lg)} {\n .summary-item__dek {\n margin-bottom: ${(0,A.Kq)(1)};\n }\n\n .summary-item__metadata-primary {\n margin-bottom: ${(0,A.Kq)(1)};\n }\n\n .summary-item__metadata-secondary {\n margin-bottom: ${(0,A.Kq)(2)};\n }\n }\n }\n`,ie=(0,E.Ay)("div").withConfig({displayName:"SummaryCollageFiveWrapper"})` ${(0,T.cssVariablesCollage)()}; ${(0,T.universalGridCore)()}; ${(0,I.aU)("padding")}; ${(0,A.Xm)(0,N.LO.md)} { ${G} { grid-column: 1 / span 12; } } ${()=>`\n ${P.tU} {\n ${P.HD} {\n padding: ${(0,A.Kq)(2)} 0 0;\n }\n\n ${K.fq} {\n margin-bottom: ${(0,A.Kq)(1)};\n }\n }\n`}; ${({hasTopPadding:e})=>e&&`padding-top: ${(0,A.Kq)(4)}`}; ${(0,A.Xm)(0,`${L.VS.md}px`)} { &&& { column-gap: 0; } } ${({shouldUseAlternativeStyle:e,hasConsistentSpacing:t,theme:n})=>e?`padding-bottom: ${t&&"0px"!==(0,S.F)(n,"gap-md")?"20px":(0,A.Kq)(5)};\n\n ${(0,A.H4)(N.LO.lg)} {\n row-gap: ${(0,A.Kq)(3)};\n }\n \n ${(0,A.Xm)(N.LO.md,`${L.VS.lg}px`)} {\n row-gap: ${(0,A.Kq)(2)};\n } \n \n ${(0,A.L7)(`${L.VS.md}px`)} {\n grid-gap: 0;\n } `:` ${(0,A.H4)(N.LO.md)} {\n padding-bottom: ${t&&"0px"!==(0,S.F)(n,"gap-md")?"20px":(0,A.Kq)(5)};`} ${({hasMinimalSummaryItem:e})=>e&&` ${(0,A.H4)(N.LO.lg)} {\n padding-bottom: ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,S.F)(t,"gap-md")?"0px":(0,A.Kq)(2)};\n }`} ${({hideVerticalBorders:e})=>e&&" .summary-item {\n margin-right: 0;\n margin-left: 0;\n border-right: 0;\n border-left: 0;\n padding: 0;\n }"} ${({dangerousHed:e})=>e?` ${te}:not(:nth-child(2)) {\n ${oe}\n };`:`${ne}{\n ${te}:not(:first-child) {\n ${oe}\n }\n };`} ${({shouldUseAlternativeStyle:e})=>e?`${q.Y} {\n margin: ${(0,A.Kq)(2)} 0;\n }\n ${M.Rp} {\n padding-bottom: ${(0,A.Kq)(2)};\n ${(0,A.L7)(N.LO.md)} {\n padding: ${(0,A.Kq)(2)} 10px;\n }\n }\n \n & > div[data-section-title='summary collage 5/hero'] {\n ${(0,A.L7)(N.LO.md)} {\n margin-top: ${(0,A.Kq)(3)};\n }\n \n ${(0,A.Xm)(`${L.VS.md}px`,`${L.VS.lg}px`)} {\n margin-top: ${(0,A.Kq)(1)};\n }\n \n ${(0,A.H4)(N.LO.lg)} {\n margin-top: 0;\n }\n }`:""} `,ae=E.Ay.div.withConfig({displayName:"SummaryCollageFiveBGWrapper"})` ${({hasLightBackground:e,theme:t})=>e&&`\n background: ${(0,A.HK)(t,"colors.discovery.body.light.background")};\n `} `;var re=n(57642),se=n(75989),le=n(72362),de=n(14307),ce=n(74644);const me=({className:e,dangerousDek:t="",dangerousHed:n,featuredFooter:o,hasBylineBeforeDek:i=!1,hasConsistentSpacing:s=!1,hideRubricItemSummary:l=!1,hideVerticalBorders:d=!1,hasLightBackground:c=!1,hasMinimalSummaryItem:m=!1,hasSectionTitleDekColor:u=!1,hasTopPadding:g=!1,items:h,recircRiver:y,sectionTitleVariation:f="LineAboveLineBelowTextCenter",shouldAlignDekAtBottom:w=!1,shouldHideBylines:E=!1,shouldHideMetadataSecondary:A=!1,shouldMakePrimaryCardSticky:S=!1,shouldEnableBundleComponentAnalytics:L,shouldShowDek:T=!1,shouldShowStackedRatingsCard:N=!1,shouldTitleHasTopSpacing:H,shouldTrackSnowplowEvent:I=!1,shouldUseFeaturedFooter:B,shouldUseAlternativeStyle:O=!1,summaryItemRubricVariation:_,summaryItemVariation:K="TextBelowLeft",trackingNamespace:P,variations:D={shouldDisplayItemsBelow:!1,shouldShowSubHed:!1,shouldEnableDenseMobile:!1},variationName:q})=>{const[M,R]=(0,r.useState)(0),F=(0,r.useRef)(null),U=()=>{const e=document.querySelector(".site-navigation");let t=0;e&&({offsetHeight:t}=e),R(t/8)};(0,r.useEffect)(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"SummaryCollageFive",variation:q})},[q]),(0,r.useEffect)(()=>{if(S)return F.current=window.Kendra.WINDOW_EVENT.on(x.m.SCROLL_THROTTLE,U),()=>{F.current&&F.current.off()}});const W=!(0,le.Zm)();if(h.length<5)return null;const{shouldDisplayItemsBelow:j,shouldShowSubHed:z,shouldEnableDenseMobile:Y}=D,X=m?{shouldHideBylines:!0,hideRubricItemSummary:!0,shouldHidePublishDate:!0,shouldHideMetadataSecondary:!0,shouldHideIcon:!0,shouldHideDangerousDek:!0,hasUnderlineHed:!1,hasTighterVerticalSpacing:!0}:{},Z=v.default[f]||v.default,J=h.slice(0,5),Q=n;let ee=0,ne={};N&&(ne={hasIcon:!0,hasRoundedBorder:!1,hideRubric:!1,maxDekLines:0,maxHedLines:0});const oe=(e,t,o,i,a,r)=>{I&&(0,de.kg)({type:e,subject:"summary_collage_five",label:(0,ce.Fi)(r??n),items:[{content_title:t.dangerousHed,content_type:t.contentType,content_id:t.copilotID,content_url:new URL(t?.url,window.location.origin)}],index:o,total_index:a||h.length,placement:i,subject_version:W&&Y?"mobile_dense":"default"})};return r.createElement(ae,{hasLightBackground:c},r.createElement(ie,{className:a()("summary-collage-five",e),dangerousHed:n,hasMinimalSummaryItem:m,hasTopPadding:g,hideVerticalBorders:d,shouldDisplayItemsBelow:j,shouldUseAlternativeStyle:O,shouldHideBottomMargin:!0,hasConsistentSpacing:s},r.createElement(G,{as:Z,dangerousHed:n,hedTag:"h2",className:"summary-collage-five__title",dangerousSubHed:z&&t?t:void 0,dangerousDek:T&&t?t:void 0,hasSectionTitleDekColor:u,hasTopSpacing:H,shouldUseAlternativeStyle:O}),J.filter(e=>e.image).map((e,t)=>{const n=j?0===t?"SideBySideTwoThirdsImageLeft":"SideBySideThirdsImageRightHedOnly":K,o=b.A[n],a=N?re.A:o,s=(0,$.NY)(L,0===t?P?.center:P?.aside,t>0?ee++:void 0),d=X?.shouldHidePublishDate;return r.createElement(te,{as:(!Y||0===t)&&a,...e,...ne,DangerousHedProp:Q,key:t,hasMinimalSummaryItem:m,isSticky:S&&0===t,analyticsDataAttribute:s,hasBylineBeforeDek:i,headerHeight:M,hedTag:"h3",hideRubricItemSummary:l,shouldDisplayItemsBelow:j,summaryItemPosition:t+1,recircRiver:y,rubricVariation:_,shouldEnableDenseMobile:Y,index:t,shouldAlignDekAtBottom:w,shouldHideBylines:E,shouldHideMetadataSecondary:A,shouldUseAlternativeStyle:O,...X,shouldTrackItemImpressionForSnowplow:I,impressionHandler:()=>oe("impression",e,t,0===t?"hero":"secondary",0===t?1:5),clickHandler:()=>oe("click",e,t,0===t?"hero":"secondary",0===t?1:5)},Y&&t>0&&r.createElement(se.A,{className:`mobile_dense_smart_item-${t}`,key:t,contributors:!E&&e.contributors,image:e.image,dangerousHed:e.dangerousHed,dangerousDek:e.dangerousDek,date:d&&e.date,rubric:e.rubric,url:e.url,rubricVariation:"DiscoveryItem",contentType:e.contentType,shouldHideIcon:X?.shouldHideIcon,variationsProp:o?.variationsProp,shouldTrackSnowplowEvent:I,impressionHandler:()=>oe("impression",e,t-1,"secondary",4),clickHandler:()=>oe("click",e,t-1,"secondary",4)}))}),B&&o&&o.link&&o.label&&r.createElement(V,null,r.createElement(C.A.Utility,{btnStyle:"text",href:o.link,inputKind:"link",label:o.label,ButtonIcon:k.A,hasEnableIcon:!0}))))};me.propTypes={className:l().string,dangerousDek:l().string,dangerousHed:l().string,featuredFooter:l().shape({link:l().string,label:l().string}),hasBylineBeforeDek:l().bool,hasConsistentSpacing:l().bool,hasLightBackground:l().bool,hasMinimalSummaryItem:l().bool,hasSectionTitleDekColor:l().bool,hasTopPadding:l().bool,hideRubricItemSummary:l().bool,hideVerticalBorders:l().bool,items:l().arrayOf(l().shape(b.A.propTypes)).isRequired,recircRiver:l().string,sectionTitleVariation:l().string,shouldAlignDekAtBottom:l().bool,shouldEnableBundleComponentAnalytics:l().bool,shouldHideBylines:l().bool,shouldHideMetadataSecondary:l().bool,shouldMakePrimaryCardSticky:l().bool,shouldShowDek:l().bool,shouldShowStackedRatingsCard:l().bool,shouldTitleHasTopSpacing:l().bool,shouldTrackSnowplowEvent:l().bool,shouldUseAlternativeStyle:l().bool,shouldUseFeaturedFooter:l().bool,summaryItemRubricVariation:l().string,summaryItemVariation:l().string,trackingNamespace:l().object,variationName:l().string,variations:l().shape({shouldDisplayItemsBelow:l().bool,shouldShowSubHed:l().bool,shouldEnableDenseMobile:l().bool})},me.displayName="SummaryCollageFive";const ue=(0,o.y)(me,"SummaryCollageFive");ue.RowsWithDekAndItemsBelow=(0,w.y)(ue,"RowsWithDekAndItemsBelow",{shouldDisplayItemsBelow:!0,shouldShowSubHed:!0},{}),ue.DenseMobile=(0,w.y)(ue,"DenseMobile",{shouldEnableDenseMobile:!0},{});const pe=ue;var ge=n(85127),he=n(22539),ye=n(11025),be=n(38080),fe=n(40653),we=n(33500),$e=n(29752),ve=n(99337),Ce=n(56503),ke=n(19607);const xe=E.Ay.div.withConfig({displayName:"SummaryCollageNineTitle"})` ${we.bU} { ${(0,A.Gg)("typography.definitions.discovery.subhed-section-collection")} } ${({enableChannelFeatures:e})=>e&&`\n ${we.sM} {\n margin-bottom: ${(0,A.Kq)(2)};\n }\n `} `,Ee=E.Ay.div.withConfig({displayName:"SummaryCollageNineTitleWrapper"})` --border-width: ${({theme:e})=>(0,A.Pp)(e,"borderWidth")}; grid-column: 1 / -1; align-self: flex-end; order: 2; border-bottom: var(--border-width, 1px) solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding-bottom: ${(0,A.Kq)(1)}; ${(0,A.H4)(N.LO.lg)} { grid-column: 10 / span 3; grid-row: 1 / span 1; margin-left: calc(var(--border-offset) * -1); border-top: none; border-bottom: none; border-left: var(--border-width, 1px) solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding-left: var(--border-offset); width: calc(100% + var(--border-offset)); } ${({showTopBorderInSummaryTitle:e})=>{e&&E.AH` border-top: var(--border-width, 1px) solid ${(0,A.HK)("colors.discovery.body.white.border")}; ${(0,A.H4)(N.LO.lg)} { position: relative; &::before { position: absolute; top: 0; left: var(--border-offset); background-color: ${(0,A.HK)("colors.discovery.body.white.border")}; width: calc(100% - var(--border-offset)); height: 1px; content: ''; } } `}} `,Ae=(0,E.Ay)(ge.A).withConfig({displayName:"SummaryCollageNineSummaryCollageFour"})` grid-column: 1 / -1; ${({enableChannelFeatures:e})=>e&&`\n @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) {\n display: none;\n }`}; &&& { grid-template-columns: repeat(4, 1fr); order: 1; padding-top: 0; padding-right: 0; padding-left: 0; .summary-item, .summary-item--has-border { @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { border-bottom: 0; } } .summary-list--collection-list { @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { border-top: 0; } } ${({enableChannelFeatures:e,theme:t})=>e&&`\n ${M.hU} {\n &::after {\ndisplay: none;\n }\n }\n ${(0,A.H4)(N.LO.lg)} {\n grid-row: 2;\n }\n ${ve.CP} {\n ${(0,A.H4)(N.LO.lg)} {\n grid-column: 4 / span 3;\n grid-row: 1;\n }\n @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) {\n grid-column: 5 / span 4;\n grid-row: 1;\n }\n @media (min-width: ${N.LO.md}) and (max-width: calc(${N.LO.lg} - 1px)) {\n border-bottom: var(--border-width, 1px) solid ${(0,A.HK)(t,"colors.discovery.body.white.border")};\n }\n }\n ${ve.Ip} {\n ${(0,A.H4)(N.LO.lg)} {\n grid-column: 1 / span 3;\n grid-row: 1;\n }\n @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) {\n grid-column: 1 / span 4;\n grid-row: 1;\n }\n @media (min-width: ${N.LO.md}) and (max-width: calc(${N.LO.lg} - 1px)) {\n border-bottom: var(--border-width, 1px) solid ${(0,A.HK)(t,"colors.discovery.body.white.border")};\n }\n }\n ${ve.As} {\n ${(0,A.H4)(N.LO.lg)} {\n grid-column: 1 / span 3;\n grid-row: 2;\n }\n @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) {\n grid-column: 1 / span 4;\n grid-row: 2;\n }\n @media (min-width: ${N.LO.md}) and (max-width: calc(${N.LO.lg} - 1px)) {\n border-bottom: var(--border-width, 1px) solid ${(0,A.HK)(t,"colors.discovery.body.white.border")};\n }\n }\n ${ve.W} { \n ${(0,A.H4)(N.LO.lg)} {\n border-top: none;\n grid-column: 4 / span 3;\n grid-row: 2;\n }\n @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) {\n grid-column: 5 / span 4;\n grid-row: 2;\n }\n @media (min-width: ${N.LO.md}) and (max-width: calc(${N.LO.lg} - 1px)) {\n border-bottom: var(--border-width, 1px) solid ${(0,A.HK)(t,"colors.discovery.body.white.border")};\n }\n }\n @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) {\ngrid-column: 1 / span 8;\ngrid-row: 2;\ngrid-template-columns: repeat(8, 1fr);\n }\n `} ${(0,A.H4)(N.LO.lg)} { grid-column-gap: var(--grid-gap); grid-column: 1 / span 9; ${({enableChannelFeatures:e})=>!e&&"\n grid-row: 1 / span 3; "} grid-template-columns: repeat(9, 1fr); grid-template-rows: minmax(${(0,A.Kq)(5)}, auto) 1fr; grid-row-gap: ${(0,A.Kq)(2)}; } ${ve.CP} { position: unset; margin-bottom: 0; border-bottom: none; ${({enableChannelFeatures:e})=>!e&&`\n ${(0,A.H4)(N.LO.lg)} {\n grid-column: 4 / -1;\n }`} @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { padding-bottom: ${(0,A.Kq)(1)}; } @media (min-width: 0) and (max-width: calc(${N.LO.md} - 1px)) { padding-bottom: ${(0,A.Kq)(2)}; } .summary-item__dek { display: block; } .summary-item__content { margin-bottom: 0; padding-bottom: 0; } .summary-item__image-link { padding-right: 0; @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { } } .summary-item__byline { @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { margin-bottom: 0; } } } ${ve.W} { border-bottom: none; @media (min-width: 0) and (max-width: calc(${N.LO.lg})) { ${({enableChannelFeatures:e,theme:t})=>e&&`display: block; \n @media (min-width: ${N.LO.md}) and (max-width: calc(${N.LO.lg} - 1px)) {\n border-bottom: var(--border-width, 1px) solid ${(0,A.HK)(t,"colors.discovery.body.white.border")};\n }`} } ${({enableChannelFeatures:e})=>!e&&`\n ${(0,A.H4)(N.LO.lg)} {\n grid-column: 4 / -1;\n }`} @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { display: block; } .summary-item__dek { display: block; } .summary-item__content { ${(0,A.H4)(N.LO.lg)} { ${({enableChannelFeatures:e})=>e?`margin-top: 0;\n padding: ${(0,A.Kq)(2)} 0 ${(0,A.Kq)(4)};`:`margin-top: ${(0,A.Kq)(2)};`} } @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { padding: ${(0,A.Kq)(2)} 0 ${(0,A.Kq)(4)}; } @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { padding-bottom: ${(0,A.Kq)(2)}; } } .summary-item__image-link { ${(0,A.H4)(N.LO.lg)} { ${({enableChannelFeatures:e})=>e?"margin-top: 0;":`margin-top: ${(0,A.Kq)(2)};`} } @media (min-width: 0) and (max-width: calc(${N.LO.lg})) { ${({enableChannelFeatures:e})=>e&&" max-width: 100%;"} } } } ${ve.jk} { .summary-item:last-child { @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { padding-bottom: ${(0,A.Kq)(1)}; } @media (min-width: 0) and (max-width: calc(${N.LO.md} - 1px)) { padding-bottom: ${(0,A.Kq)(2)}; } } ${(0,A.H4)(N.LO.lg)} { grid-column: 1 / span 3; grid-row-start: 1; margin: 0 calc(var(--border-offset) * -1) 0 0; border-right: var(--border-width, 1px) solid ${(0,A.HK)("colors.discovery.body.white.border")}; border-left: none; padding-right: var(--border-offset); padding-left: 0; } @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { margin-bottom: ${(0,A.Kq)(2)}; } @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { margin-bottom: 0; } .summary-item__hed { /* TOFIX: Lots of overrides happening here, this reassigns the default token for .summary-item__hed */ ${(0,A.Gg)("typography.definitions.discovery.hed-core-primary")} } .summary-item__dek { display: block; } .summary-item--has-border { margin-bottom: 0; } .summary-item__content { padding-bottom: 0; } .summary-item--has-rule .summary-item__hed-link::after { display: block; } } } `,Se=(0,E.Ay)(he.A.Collection).withConfig({displayName:"SummaryCollageNineSummaryList"})` --border-width: ${({theme:e})=>(0,A.Pp)(e,"borderWidth")}; ${M.Rp} { ${({enableChannelFeatures:e})=>e&&`\n ${K.fq} {\n display: block;\n grid-row: 1;\n }\n ${M.Tr} {\n grid-row: 2;\n}`} } &&& { order: 3; margin: 0; border-top: none; padding: 0; ${(0,A.H4)(N.LO.lg)} { grid-column: 10 / span 3; grid-row: 2 / span 2; margin-left: calc(var(--border-offset) * -1); border-left: var(--border-width, 1px) solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding-right: 0; padding-left: var(--border-offset); width: calc(100% + var(--border-offset)); height: 100%; } /* reset width of child elements */ &: { width: auto; } .summary-list__item { grid-template-areas: 'content image'; grid-template-columns: 1fr 75px; padding-top: ${(0,A.Kq)(2)}; padding-bottom: ${(0,A.Kq)(2)}; &:first-of-type { ${(0,A.H4)(N.LO.lg)} { border-top: var(--border-width, 1px) solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding-top: ${(0,A.Kq)(2.5)}; } } &:last-of-type { ${(0,A.H4)(N.LO.lg)} { border-bottom: none; } @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { padding-bottom: 0; } } &.summary-item--has-border { margin-bottom: 0; } &.summary-item--layout-placement-side-by-side { grid-column-gap: var(--grid-gap); } .summary-item__image-link { align-self: start; max-width: 75px; height: auto; } .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-bulletin-primary")} margin-bottom: ${(0,A.Kq)(1)}; } } ${({displayHed:e})=>!e&&` && {\n order: 2;\n\n ${(0,A.H4)(N.LO.lg)} {\n grid-row: 1 / span 3;\n }\n \n .summary-list__item {\n &:first-of-type {\n ${(0,A.H4)(N.LO.lg)} {\n border-top: none;\n padding-top: 0;\n }\n }\n }\n }\n `} } `,Le=E.Ay.div.withConfig({displayName:"SummaryCollageNineGridItemList"})` ${({isCenterAlignedWithTopDividerOnly:e,theme:t})=>e&&`${fe.A}{\n ${fe.E} {\n .summary-list__items {\n ${Ce.pO} {\n ${M.hU} {\n ${q.Y} {\n text-transform: capitalize;\n line-height: 1.45em;\n ${(0,A.Gg)(t,"typography.definitions.discovery.hed-core-secondary")};\n color: ${(0,A.HK)("colors.discovery.body.white.heading")};\n padding-top: 0;\n }\n }\n\n ${M.IB} {\n ${(0,A.Gg)(t,"typography.definitions.discovery.description-core")};\n padding-bottom: 8px;\n text-transform: none;\n color: ${(0,A.HK)(t,"colors.discovery.body.white.description")};\n }\n\n ${Ce.Bb} {\n color:\n ${(0,A.HK)(t,"colors.consumption.lead.standard.context-signature")};\n ${(0,A.Gg)(t,"typography.definitions.globalEditorial.context-primary")};\n text-align: center;\n padding-top: 20px;\n border-bottom: none;\n padding-bottom: 0;\n border-top: var(--border-width, 1px) solid;\n border-top-color: ${(0,A.HK)(t,"colors.discovery.body.white.border")};;\n }\n\n ${Ce.P_} {\n padding-top:24px;\n padding-bottom: 24px;\n color: ${(0,A.HK)(t,"colors.discovery.body.white.description")};\n }\n }\n }\n }\n }`} grid-column: 1 / -1; order: ${({hasHed:e})=>e?3:2}; ${({enableChannelFeatures:e,theme:t})=>e&&`\n @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) {\n grid-column: 1 / span 12;\n padding-top: 32px;\n}\n${M.Rp} {\n border-bottom: var(--border-width, 1px) solid ${(0,A.HK)(t,"colors.discovery.body.white.border")};\n}\n${M.tP} {\n display: none;\n}\n `} ${({enableChannelFeatures:e,showSummaryCarousel:t})=>e&&t&&`\n @media (min-width: 0) and (max-width: calc(${N.LO.md} - 1px)) {\n display: none;\n }\n `} ${(0,A.H4)(N.LO.lg)} { ${({enableChannelFeatures:e})=>e?"grid-column: 7 / span 2;":"grid-column: 10 / span 3;"} grid-row: ${({hasHed:e})=>e?"2 / span 2":"1 / span 3"}; } .summary-list__item--before-hidden { border-bottom: none; } `,Te=E.Ay.div.withConfig({displayName:"SummaryCollageNineAdRailContainer"})` display: block; grid-column: 10 / span 3; @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { display: none; } `,Ne=(0,E.Ay)(ke.A).withConfig({displayName:"SummaryCollageNineAdRail"})``,He=E.Ay.div.withConfig({displayName:"SummaryCollageNineGridItemListButtonWrapper"})` display: flex; align-items: center; justify-content: center; ${(0,A.H4)(N.LO.lg)} { display: none; } .button--show-list { margin-top: ${(0,A.Kq)(4)}; } `,Ie=E.Ay.div.withConfig({displayName:"SummaryCollageNineSummaryListItems"})` &&&&& { ${(0,A.H4)(N.LO.lg)} { display: none; } } && { grid-column: 1 / span 12; grid-row: 2; margin: 0; border-top: none; padding: 0; .summary-item { margin: 0 0 ${(0,A.Kq)(2)}; padding: ${(0,A.Kq)(2.5)} 0; ${(0,A.H4)(N.LO.lg)} { position: relative; margin-bottom: 0; overflow: hidden; } &:first-child { ${(0,A.H4)(N.LO.lg)} { padding-top: 0; } ${(0,A.L7)(N.LO.md)} { padding-top: ${(0,A.Kq)(2.5)}; } } &:last-child { ${(0,A.Xm)(0,N.LO.md)} { margin-bottom: 0; padding-bottom: 0; } ${(0,A.Xm)(0,N.LO.lg)} { &::after { display: none; } } } .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-core-primary")} color: ${(0,A.HK)("colors.discovery.body.white.heading")}; } .summary-item__metadata-primary, .summary-item__metadata-secondary { display: none; } } } && { ${(0,A.H4)(N.LO.lg)} { grid-column: 9 / -1; margin-left: calc(var(--border-offset) * -1); padding-left: var(--border-offset); width: calc(100% + var(--border-offset)); } ${({hideVerticalBorders:e})=>e&&"&&& {\n border-left: 0;\n padding-left: 0;\n }"} ${({hasUnderHeroItem:e})=>e&&"grid-row-end: span 3;"} .summary-item:last-child { @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { border-bottom: var(--border-width, 1px) solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding-bottom: ${(0,A.Kq)(2.5)}; } } ${(0,A.H4)(N.LO.lg)} { grid-column: 1 / span 3; grid-row-start: 1; margin: 0 calc(var(--border-offset) * -1) 0 0; padding-right: var(--border-offset); padding-left: 0; } @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { margin-bottom: ${(0,A.Kq)(2)}; } @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { margin-bottom: 0; } .summary-item__hed { /* TOFIX: Lots of overrides happening here, this reassigns the default token for .summary-item__hed */ ${(0,A.Gg)("typography.definitions.discovery.hed-core-primary")} } .summary-item__dek { display: block; } .summary-item--has-border { margin-bottom: 0; } .summary-item__content { padding-bottom: 0; } .summary-item--has-rule .summary-item__hed-link::after { display: block; } } `,Be=E.Ay.div.withConfig({displayName:"SummaryCollageNineGrid"})` ${(0,I.VO)()} ${(0,T.cssVariablesCollage)()} ${(0,I.aU)("padding")} display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--grid-gap); margin: 0 auto; width: 100%; max-width: ${N.LO.xxl}; row-gap: 0; ${(0,A.H4)(N.LO.md)} { grid-template-columns: repeat(12, 1fr); } ${({enableChannelFeatures:e,theme:t})=>e&&`\n ${Ee} {\n grid-column: 1 / span 12;\n border-left: none;\n border-bottom: none;\n padding-bottom: 0;\n }\n ${Ae} {\n ${q.Y} {\n ${(0,A.Gg)(t,"typography.definitions.discovery.hed-core-primary")}\n }\n }\n \n ${Le} {\n ${fe.A} {\n border-left: none;\n ${M.Rp} {\n &:first-of-type {\n border-top: none;\n padding-top: 0;\n }\n }\n }\n ${q.Y} { \n ${(0,A.Gg)(t,"typography.definitions.discovery.hed-core-secondary")}\n } }\n \n `} ${(0,A.H4)(N.LO.lg)} { ${({enableChannelFeatures:e})=>e?" grid-template-rows: auto;":` grid-template-rows: minmax(${(0,A.Kq)(4)}, auto) repeat(2, 1fr);`} } .summary-item--has-border { &:last-child { @media (min-width: 0) and (max-width: calc(${N.LO.lg} - 1px)) { margin-bottom: 0; border-bottom: 0; } } } `,Oe=(0,E.Ay)($e.A).withConfig({displayName:"SummaryCollageNineSummaryCarousel"})``;var _e=n(88456),Ke=n(8877);const Pe=({className:e,curatedSearchHed:t,dangerousDek:n,dangerousHed:o,shouldEnableChannelFeatures:i=!1,featuredDangerousHed:s,featuredFooter:l,hasUnderlineHed:d,hideBottomBorders:c=!1,hideRubricItemSummary:m=!1,hideVerticalBorders:u=!1,hideBottomBordersforMainFour:g,listItemsLimit:h=5,isCenterAlignedWithTopDividerOnly:y,items:b=[],primarySummaryItemVariation:f="TextBelowLeft",rightColumnFeature:w,recircRiver:$,sectionTitleVariation:C="TextLeft",shouldUseFeaturedTitleAndFooter:k=!1,shouldEnableBundleComponentAnalytics:x,shouldHideBylines:E=!1,shouldHideBylinesInSummaryList:A,shouldHideDangerousDek:S=!0,shouldHideDangerousDekInFeaturedItems:T=!1,shouldHideDangerousDekInSummaryList:N=!0,shouldLimitListItemsOnMobile:H=!1,shouldUseDekAsHed:I=!1,showTopBorderInSummaryTitle:B=!1,summaryListSummaryItemVariation:O=null,summaryListHed:_,summaryItemVariation:K="SideBySideThirdsImageRight",summarySectionTitleVariation:P="TextLeft",trackingNamespace:D,showSummaryCarousel:q=!0,shouldTrackSnowplowEvent:M=!1})=>{const[R,F]=r.useState(!0),U=!(0,le.Zm)(),V=(0,Ke.B)();r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"SummaryCollageNine"})},[]);const G=v.default[C],W=I?n:k&&s||o,j=S?"":n,z=_||t,Y=!!W,[X,Z]=(0,r.useState)(5);let J={};w&&(J={hasFeatured:!0,summaryItemFeatured:w});const Q={type:"click",label:W,subject:"summary_collage_nine",subject_version:U?"mobile_dense":"default"},ee=(e,t,n,o,i,a)=>{M&&(0,de.kg)({type:e,label:W,subject:"summary_collage_nine",items:[{content_title:t.dangerousHed||"",content_type:t.contentType||"",content_id:t.copilotID||"",content_url:new URL(t.url||"",window.location.origin)}],index:n,total_index:i,placement:o,subject_version:U?a||"mobile_dense":"default"})};return(0,r.useEffect)(()=>{H&&window.innerWidth{Z(R?5:h),F(!R)},label:R?"Show More":"Show Less",inputKind:"button"}))),i&&r.createElement(Te,{className:"grid-layout__aside"},r.createElement(ye.A,null,r.createElement(be.Z,{group:"ads"},r.createElement(Ne,{position:"rail"})))))};Pe.propTypes={className:l().string,curatedSearchHed:l().string,dangerousDek:l().string,dangerousHed:l().string,featuredDangerousHed:l().string,featuredFooter:l().shape({link:l().string,label:l().string}),hasUnderlineHed:l().bool,hideBottomBorders:l().bool,hideBottomBordersforMainFour:l().bool,hideRubricItemSummary:l().bool,hideVerticalBorders:l().bool,isCenterAlignedWithTopDividerOnly:l().bool,items:l().arrayOf(l().shape(b.A.propTypes)),listItemsLimit:l().number,primarySummaryItemVariation:he.A.propTypes.summaryItemVariation,recircRiver:l().string,rightColumnFeature:l().shape({ctaUrl:l().string,header:l().string,ctaTextLabel:l().string,itemIndex:l().number,hideOnMobile:l().bool}),sectionTitleVariation:l().string,shouldEnableBundleComponentAnalytics:l().bool,shouldEnableChannelFeatures:l().bool,shouldHideBylines:l().bool,shouldHideBylinesInSummaryList:l().bool,shouldHideDangerousDek:l().bool,shouldHideDangerousDekInFeaturedItems:l().bool,shouldHideDangerousDekInSummaryList:l().bool,shouldLimitListItemsOnMobile:l().bool,shouldTrackSnowplowEvent:l().bool,shouldUseDekAsHed:l().bool,shouldUseFeaturedTitleAndFooter:l().bool,showSummaryCarousel:l().bool,showTopBorderInSummaryTitle:l().bool,summaryItemVariation:he.A.propTypes.summaryItemVariation,summaryListHed:l().string,summaryListSummaryItemVariation:l().string,summarySectionTitleVariation:l().string,trackingNamespace:l().object},Pe.displayName="SummaryCollageNine";const De=Pe;De.displayName="SummaryCollageNine";const qe=(0,o.y)(De,"SummaryCollageNine");var Me=n(90447),Re=n(82317);const Fe=(0,g.defineMessages)({seeMore:{id:"SummaryCollageThree.seeMore",defaultMessage:"See More Videos",description:"label text for see more button"}});var Ue=n(47135),Ve=n(99366),Ge=n(85095),We=n(49235),je=n(62327);const ze=({buttonUrl:e="",customTextForSeeMoreButton:t,dangerousHed:n,dangerousDek:o,desktopFeatureColSpan:i="use8",desktopFeatureColSpanForVideo:a="use8",hasBorder:s=!0,hasConsistentSpacing:l=!1,hasExtraPadding:c=!1,hasExtraBottomPadding:m=!1,hasExtraTopPadding:u=!1,hasIncreasedTitleSpacing:g=!1,hasMinimalSummaryItem:h=!1,hasModerateBottomMarginOnDek:y=!1,hasNoBottomPadding:f=!1,hasNoMarginBottonOnLastItem:w=!1,hasNoMarginBottomLastItemHed:k=!1,hasOtherTitleSpacing:x=!1,hasTopSpacing:E=!1,hideRubricItemSummary:A,hideVerticalBorders:S=!1,isPrimaryItemFullBleed:L=!1,items:T,isDenseSummaryCollageThree:N,isSpecial:H=!1,recircRiver:I,sectionTitleVariation:B="LineAboveLineBelowTextCenter",shouldDisplayDangerousDek:O,shouldEmbedFeaturedVideo:_=!1,shouldEnableBundleComponentAnalytics:K,shouldHideBylines:P=!1,shouldHideDangerousDek:D=!1,shouldHideDangerousDekFirstChild:q=!1,shouldHidePublishDate:M=!0,shouldHideSpaceAtTop:R=!1,shouldTrackSnowplowEvent:F=!1,shouldUseDiscoveryTypeToken:U=!1,shouldShowSeeMoreButton:V=!1,shouldUseAlternativeStyle:G=!1,showMoreButtonVariation:W="UtilityInverted",summaryItemRubricVariation:j,summaryItemVariation:z="TextBelowLeft",theme:Y="standard",variations:X={shouldUseDenseMobileVariation:!1},variationName:Z})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"SummaryCollageThree",variation:Z})},[Z]);const J=!(0,le.Zm)(),{formatMessage:Q}=(0,d.A)(),{shouldUseDenseMobileVariation:ee}=X,te=h?{shouldHideBylines:!0,hideRubricItemSummary:!0,shouldHidePublishDate:!0,shouldHideMetadataSecondary:!0,shouldHideIcon:!0,shouldHideDangerousDek:!0,hasUnderlineHed:!1,hasTighterVerticalSpacing:!0}:{},ne=O&&o,oe=C.A[W],ie=v.default[B],ae=b.A[z],re="SummaryCollageThreeItem",se=T.every(e=>"cnevideo"===e.contentType)?a:i,me=(e,t,o,i,a,r)=>{F&&(0,de.kg)({type:e,subject:"summary_collage_three",label:(0,ce.Fi)(r??n),items:[{content_title:t.dangerousHed,content_type:t.contentType,content_id:t.copilotID,content_url:new URL(t?.url,window.location.origin)}],index:o,total_index:a,placement:i,subject_version:ee&&J?"mobile_dense":"default"})};return r.createElement(We.A,{palette:Y},r.createElement(Ge.OB,{className:Y},r.createElement(Ge.n,{summaryCollageColSpan:se,dangerousHed:n,hasDangerousDek:ne,hasExtraPadding:c,hasExtraBottomPadding:m,hasExtraTopPadding:u,hasMinimalSummaryItem:h,hasNoBottomPadding:f,hideVerticalBorders:S,hasConsistentSpacing:l,hasTopSpacing:E&&!R,isDenseSummaryCollageThree:N,shouldShowSeeMoreButton:V,shouldUseAlternativeStyle:G,hasModerateBottomMarginOnDek:y,hasNoMarginBottomLastItemHed:k,hasNoMarginBottonOnLastItem:w},n&&r.createElement(Ge.WD,{as:ie,dangerousHed:n,hasIncreasedTitleSpacing:g,hasOtherTitleSpacing:x,shouldUseAlternativeStyle:G}),ne&&r.createElement(Ge.mi,{dangerouslySetInnerHTML:{__html:o},shouldUseDiscoveryTypeToken:U}),T.map((e,t)=>{const o=_&&e?.image?.scriptUrl,i=(0,$.NY)(K,n,t),a=0===t?q:D;return o?r.createElement(Ge.O9,{as:Ue.A,"data-testid":re,analyticsDataAttribute:i,hasBorder:s,isFeatured:0===t,item:e,key:e.copilotID,scriptUrl:e.image.scriptUrl,videoEmbedPosition:je.sm,isDenseSummaryCollageThree:N,shouldUseAlternativeStyle:G}):r.createElement(Ge.O9,{as:(!ee||0===t)&&ae,"data-testid":re,...e,analyticsDataAttribute:i,hasExtraPadding:c,hideRubricItemSummary:A,shouldHideDangerousDek:a,key:t,hedTag:"h3",recircRiver:I,rubricVariation:j,shouldHideBylines:P,...te,isPrimaryItemFullBleed:L,index:t,hasMinimalSummaryItem:h,isSpecial:H,shouldUseAlternativeStyle:G,shouldHidePublishDate:M,shouldUseDenseMobileVariation:ee,shouldTrackItemImpressionForSnowplow:F,impressionHandler:()=>me("impression",e,0!==t?t-1:t,0===t?"hero":"secondary",0===t?1:2),clickHandler:()=>me("click",e,0!==t?t-1:t,0===t?"hero":"secondary",0===t?1:2)},ee&&t>0&&r.createElement(Ve.A,{className:`mobile_dense_smart_item-${t}`,key:t,contributors:e.contributors,image:e.image,dangerousHed:e.dangerousHed,dangerousDek:!D&&e.dangerousDek,date:!M&&e.date,rubric:e.rubric,url:e.url,shouldTrackSnowplowEvent:F,impressionHandler:()=>me("impression",e,t-1,"secondary",2),clickHandler:()=>(window.location=e.url,me("click",e,t-1,"secondary",2))}))}),V&&r.createElement(Ge.jO,null,r.createElement(oe,{btnStyle:"outlined",label:t||Q(Fe.seeMore),ariaLabel:t||Q(Fe.seeMore),href:e,inputKind:"link",isSpecial:H})))))},Ye=(0,w._)(C.A);ze.propTypes={buttonUrl:l().string,className:l().string,customTextForSeeMoreButton:l().string,dangerousDek:l().string,dangerousHed:l().string,desktopFeatureColSpan:l().oneOf(["use8","use9"]),desktopFeatureColSpanForVideo:l().oneOf(["use8","use9"]),hasBorder:l().bool,hasConsistentSpacing:l().bool,hasExtraBottomPadding:l().bool,hasExtraPadding:l().bool,hasExtraTopPadding:l().bool,hasIncreasedTitleSpacing:l().bool,hasMinimalSummaryItem:l().bool,hasModerateBottomMarginOnDek:l().bool,hasNoBottomPadding:l().bool,hasNoMarginBottomLastItemHed:l().bool,hasNoMarginBottonOnLastItem:l().bool,hasOtherTitleSpacing:l().bool,hasTopSpacing:l().bool,hideRubricItemSummary:l().bool,hideVerticalBorders:l().bool,isDenseSummaryCollageThree:l().bool,isPrimaryItemFullBleed:l().bool,isSpecial:l().bool,items:l().arrayOf(l().shape(b.A.propTypes)).isRequired,recircRiver:l().string,sectionTitleVariation:l().string,shouldDisplayDangerousDek:l().bool,shouldEmbedFeaturedVideo:l().bool,shouldEnableBundleComponentAnalytics:l().bool,shouldHideBylines:l().bool,shouldHideDangerousDek:l().bool,shouldHideDangerousDekFirstChild:l().bool,shouldHidePublishDate:l().bool,shouldHideSpaceAtTop:l().bool,shouldShowSeeMoreButton:l().bool,shouldTrackSnowplowEvent:l().bool,shouldUseAlternativeStyle:l().bool,shouldUseDiscoveryTypeToken:l().bool,showMoreButtonVariation:l().oneOf(Ye),summaryItemRubricVariation:l().string,summaryItemVariation:he.A.propTypes.summaryItemVariation,theme:l().oneOf(["standard","inverted","special"]),variationName:l().string,variations:l().shape({shouldUseDenseMobileVariation:l().bool})},ze.displayName="SummaryCollageThree";const Xe=ze;Xe.DenseMobile=(0,w.y)(Xe,"DenseMobile",{shouldUseDenseMobileVariation:!0});const Ze=Xe,Je=(0,o.y)(Ze,"SummaryCollageThree");var Qe=n(86659),et=n(63637);const tt=(0,E.Ay)(Qe.A.WithMargins).withConfig({displayName:"SummaryCollageSevenWrapper"})` ${(0,T.cssVariablesCollage)()}; && { ${({hasTopSpacing:e})=>e?`\n ${(0,A.H4)(N.LO.md)} {\n ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,S.F)(t,"gap-sm")?"margin-top: 0;":`margin-top: ${(0,A.Kq)(4)};`}\n }\n `:""} ${({isSpecial:e})=>e?`\n padding-top: ${(0,A.Kq)(6)};\n padding-bottom: ${(0,A.Kq)(6)};\n `:""} } && { row-gap: 0; } > ${fe.E} { ${({dangerousHed:e})=>!e&&"\n &:first-child{\n grid-column: 1/-1;\n grid-row: 1;\n }"} } > ${fe.E} { grid-column: 1 / -1; ${(0,A.H4)(N.LO.lg)} { grid-column: span 9; } ${Ge.n} { > ${fe.E}:first-child { ${(0,A.H4)(N.LO.lg)} { grid-column: 4 / -1; grid-row: 1 / span 2; } } > ${fe.E}:not(:first-child) { ${(0,A.H4)(N.LO.lg)} { grid-column: 1 / span 3; } } } } > ${fe.E}:last-child { grid-column: 1 / -1; ${(0,A.H4)(N.LO.lg)} { grid-column: 10 / span 3; } } ${et.Ls} { margin-bottom: ${(0,A.Kq)(2)}; } ${et.Ls} ${we.bU} { ${({hasSectionTitleHedFeature:e})=>E.AH` ${(0,A.Gg)(e?"typography.definitions.discovery.hed-feature":"typography.definitions.discovery.subhed-section-tertiary")} padding: 0 `} } ${E.AH` ${Ge.n} { padding: 0; ${(0,A.H4)(N.LO.lg)} { grid-template-columns: repeat(9, 1fr); grid-template-rows: max-content; } .summary-item__metadata-secondary { margin-bottom: ${(0,A.Kq)(2)}; } > ${fe.E}:first-child { ${Ge.O9} { ${(0,A.H4)(N.LO.lg)} { margin-left: calc(var(--border-offset) * -1); border-left: 1px solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding-left: var(--border-offset); } .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-break-out")}; ${(0,A.H4)(N.LO.md)} { ${(0,A.Gg)("typography.definitions.discovery.hed-feature")}; } } .summary-item__dek { ${(0,A.Gg)("typography.definitions.discovery.description-feature")}; } } } > ${fe.E}:not(:first-child) { ${Ge.O9} { .summary-item__hed { margin-bottom: ${(0,A.Kq)(2)}; ${(0,A.H4)(N.LO.md)} { ${(0,A.Gg)("typography.definitions.discovery.hed-core-secondary")}; margin-bottom: ${(0,A.Kq)(2)}; } } } } } `}; ${Ge.n} { ${({hideVerticalBorders:e})=>e&&E.AH` > ${fe.E}:first-child { ${Ge.O9} { margin-left: 0; border-left: 0; padding-left: 0; } } `} } `,nt=E.Ay.span.withConfig({displayName:"SectionTitle"})` ${({hideTitleTopSpacing:e})=>e?"":`\n margin-top: ${(0,A.Kq)(2)};\n `} margin-bottom: ${(0,A.Kq)(4)}; ${(0,A.Xm)(0,N.LO.md)} { margin-bottom: ${(0,A.Kq)(3)}; } ${we.bU} { ${({isSpecial:e,theme:t})=>e&&`${(0,A._o)(t,"color","colors.background.white")};`} } `,ot=E.Ay.div.withConfig({displayName:"SummaryCollageFourIsFullBleed"})` ${({isFullBleedSpecialBackground:e})=>e&&E.AH` background-color: ${(0,A.HK)("colors.consumption.lead.special.background")}; max-width: 100%; `} `,it=(0,E.Ay)(he.A.Collection).withConfig({displayName:"SummaryCollageSevenSummaryList"})` && { border-top: 0; padding: 0; ${(0,A.H4)(N.LO.lg)} { .summary-item--layout-proportions-33-66 { grid-gap: ${(0,A.Kq)(2)}; } } } ${K.fq}.summary-item__rubric { margin-bottom: ${(0,A.Kq)(1)}; ${(0,A.Xm)(0,N.LO.md)} { margin-bottom: ${(0,A.Kq)(2)}; } } .summary-list__item:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; } .summary-item__byline { margin-bottom: 0; } .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-bulletin-primary")} } && { .summary-item__hed-link::after { display: none; } } .summary-item__image-link { align-self: center; } .summary-item--layout-placement-side-by-side { .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-bulletin-primary")} margin-bottom: ${(0,A.Kq)(2)}; ${(0,A.Xm)(0,N.LO.md)} { ${(0,A.Gg)("typography.definitions.discovery.hed-bulletin-primary")} } } } `,at=({curatedSearchHed:e,dangerousHed:t,hasSectionTitleHedFeature:n=!1,hasTopSpacing:o=!1,hideBottomBorders:i=!1,hideRubricItemSummary:a=!1,hideTitleTopSpacing:s=!1,hideVerticalBorders:l=!1,items:d,isSpecial:c=!1,isFullBleedSpecialBackground:m=!1,sectionTitleVariation:u="LineAboveLineBelowTextCenter",imageAlignment:g="default",shouldHideBylines:h=!1,shouldHideSpaceAtTop:y=!1,shouldRemoveSummaryItemBorder:b=!1,summaryItemVariation:f="NoAssetTextCenter",summarySectionTitleVariation:w="TextCenter",recircRiver:$})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"SummaryCollageSeven"})},[]);const C=v.default[u],k=r.createElement(tt,{"data-testid":"SummaryCollageSevenWrapper",dangerousHed:!t,hideVerticalBorders:l,hasTopSpacing:o,hasSectionTitleHedFeature:n,isSpecial:c},t&&r.createElement(nt,{as:C,dangerousHed:t,hideTitleTopSpacing:s,isSpecial:c}),r.createElement(Je,{items:d.slice(0,3),hideRubricItemSummary:a,hasBorder:!i,hideVerticalBorders:l,recircRiver:$,shouldHideBylines:h,shouldHideSpaceAtTop:y,isSpecial:c}),r.createElement(it,{hideRubricItemSummary:a,dangerousHed:e,shouldHideDangerousDek:!0,shouldHidePublishDate:!0,items:d.slice(3),sectionTitleVariation:w,summaryItemVariation:f,recircRiver:$,shouldHideBylines:h,hideBottomBorders:i,imageAlignment:g,isSpecial:c,shouldRemoveSummaryItemBorder:b}));return m?r.createElement(ot,{isFullBleedSpecialBackground:m},k):k};at.propTypes={curatedSearchHed:l().string,dangerousHed:l().string,hasSectionTitleHedFeature:l().bool,hasTopSpacing:l().bool,hideBottomBorders:l().bool,hideRubricItemSummary:l().bool,hideTitleTopSpacing:l().bool,hideVerticalBorders:l().bool,imageAlignment:l().oneOf(["top","default","bottom"]),isFullBleedSpecialBackground:l().bool,isSpecial:l().bool,items:l().arrayOf(l().shape(b.A.propTypes)).isRequired,recircRiver:l().string,sectionTitleVariation:l().string,shouldHideBylines:l().bool,shouldHideSpaceAtTop:l().bool,shouldRemoveSummaryItemBorder:l().bool,summaryItemVariation:he.A.propTypes.summaryItemVariation,summarySectionTitleVariation:l().string},at.displayName="SummaryCollageSeven";const rt=at,st=(0,o.y)(rt,"SummaryCollageSeven"),lt=E.Ay.div.withConfig({displayName:"SummaryCollageSixWrapper"})` ${et.Ls} { margin-bottom: ${(0,A.Kq)(2)}; } ${(0,A.Xm)(0,N.LO.md)} { ${({hasTwoColumnLayout:e})=>e&&`\n margin: 0 ${(0,A.Kq)(3)};\n .summary-list--collection-list {\n padding: 0;\n }\n `} } ${({hasTitleBorder:e})=>e&&E.AH` ${et.Ls} { border-bottom: ${({hasDividerBelowHed:e})=>e&&`1px solid ${(0,A.HK)("colors.discovery.body.white.border")}`}; border-top: ${({hasDividerAboveHed:e})=>e&&`1px solid ${(0,A.HK)("colors.discovery.body.white.divider")}`}; margin-bottom: ${(0,A.Kq)(4)}; } ${we.bU} { padding-left: 0; } `} ${({hideVerticalBorders:e,hasTwoColumnLayout:t})=>e&&!t&&E.AH` &&& { .summary-item:first-child { margin-right: 0; border-right: 0; padding-right: 0; } } `} .summary-list__items { ${(0,T.cssVariablesCollage)()} ${(0,T.universalGridCore)(!1)} } .summary-item { grid-column: 1 / -1; margin-bottom: ${(0,A.Kq)(5)}; ${({hideBottomBorders:e})=>!e&&E.AH` border-bottom: 1px solid ${(0,A.HK)("colors.discovery.body.white.border")}; `} padding-bottom: ${(0,A.Kq)(5)}; ${(0,A.H4)(N.LO.lg)} { border-bottom: 0; padding-bottom: 0; } } .summary-item:first-child { ${({hasTwoColumnLayout:e})=>e&&`\n ${(0,A.H4)(N.LO.md)} {\n grid-column: 1 / span 6;\n }\n `} ${({hasTwoColumnLayout:e})=>!e&&E.AH` ${(0,A.H4)(N.LO.lg)} { grid-column: 1 / span 8; grid-row: ${({shouldCondenseRightCells:e})=>e?"1 / span 6":"1 / span 5"}; margin-right: calc(var(--border-offset) * -1); border-right: 1px solid ${(0,A.HK)("colors.discovery.body.white.border")}; border-bottom: 0; padding-right: var(--border-offset); ${({summaryCollageColSpan:e})=>"use6"===e&&"grid-column: 1 / span 6;"}; } `} ${({hasTwoColumnLayout:e})=>!e&&E.AH` ${K.fq}.summary-item__rubric { margin-right: auto; margin-left: auto; } .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-break-out")}; ${(0,A.H4)(N.LO.md)} { ${(0,A.Gg)("typography.definitions.discovery.hed-feature")}; } } `} .summary-item__dek { ${(0,A.Gg)("typography.definitions.discovery.description-feature")}; } } ${({hasTwoColumnLayout:e})=>!e&&E.AH` .summary-item__hed-link::after { margin-right: auto; margin-left: auto; } .summary-item:not(:first-child) { ${(0,A.H4)(N.LO.lg)} { grid-column: 9 / span 4; margin-bottom: 0; border-bottom: 1px solid ${(0,A.HK)("colors.discovery.body.white.border")}; padding: 0 0 ${(0,A.Kq)(4)} 0; ${({summaryCollageColSpan:e})=>"use6"===e&&"grid-column: 7 / span 6;"}; } .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-bulletin-primary")} } .summary-item__hed-link { &::after { display: none; } } .summary-item__hed { ${(0,A.Gg)("typography.definitions.discovery.hed-bulletin-secondary")} } .summary-item__dek, .summary-item__metadata-primary, .summary-item__metadata-secondary { display: none; } } `} ${({hasTwoColumnLayout:e,theme:t})=>e&&E.AH` ${et.Ls} { margin-bottom: ${(0,A.Kq)(4)}; padding: 0; padding-top: 0; padding-bottom: 0; * { ${(0,A.Gg)(t,"typography.definitions.discovery.subhed-section-secondary")}; } } .summary-item { border-bottom: unset; .summary-item__content { flex: 5; } } ${(0,A.Xm)(0,N.LO.md)} { .summary-item { &:nth-of-type(n + 3) { display: flex; column-gap: 1rem; .summary-item__asset-container { flex: 1; align-self: center; } } } } ${(0,A.H4)(N.LO.md)} { .summary-item { &:nth-of-type(2) { grid-column: 7 / span 6; } &:nth-of-type(n + 3) { grid-column: span 3; grid-row: 2; } } } `} .summary-item:last-child { border-bottom: none; padding-bottom: 0; } `,dt=(0,E.Ay)(he.A.Collection).withConfig({displayName:"SummaryCollageSixSummaryList"})` ${K.fq}.summary-item__rubric { margin-bottom: ${(0,A.Kq)(1)}; } &&& { .summary-item__hed { margin-bottom: ${(0,A.Kq)(2)}; } } .summary-item__publish-date { margin-bottom: ${(0,A.Kq)(3)}; } .summary-list__items { .summary-list__item { .summary-item__hed { ${({hasTwoColumnLayout:e})=>e&&(0,A.Gg)("typography.definitions.discovery.hed-core-secondary")} } ${(0,A.Xm)(0,N.LO.md)} { margin-bottom: ${({hasTwoColumnLayout:e})=>e?(0,A.Kq)(4):0}; } padding-bottom: ${({hasTwoColumnLayout:e})=>e?"unset":0}; } .summary-item:first-child { margin-bottom: ${({hasTwoColumnLayout:e})=>e?(0,A.Kq)(4):0}; } } `,ct=({className:e,dangerousHed:t,dangerousDek:n,desktopFeatureColSpan:o,hasDividerAboveHed:i=!0,hasDividerBelowHed:a=!0,hasSectionTitlePrimary:s,hasTitleBorder:l=!0,hasTwoColumnLayout:d=!1,hideBottomBorders:c=!1,hideRubricItemSummary:m=!1,hideVerticalBorders:u=!1,items:g,sectionTitleVariation:h="TextLeft",shouldEnableBundleComponentAnalytics:y,shouldHideBylines:b=!1,shouldCondenseRightCells:f=!1,summaryItemVariation:w="TextBelowLeft",summaryListSummaryItemVariation:$=null,recircRiver:v,shouldHidePublishDate:C=!0,hasBorder:k=!0,shouldAlignDekInCenter:x=!1,trackingNamespace:E})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"SummaryCollageSix"})},[]);const A=g.map((e,t)=>(!d&&0!==t&&e.image&&(e.image=null),d&&(e.shouldHidePublishDate=C,e.hasBorder=k),e));return r.createElement(lt,{className:e,hasTwoColumnLayout:d,hasTitleBorder:l,hideBottomBorders:c,hideVerticalBorders:u,shouldCondenseRightCells:f,summaryCollageColSpan:o,hasDividerBelowHed:a},r.createElement(dt,{shouldAlignDekInCenter:x,hasTwoColumnLayout:d,dangerousHed:t,dangerousDek:n,hideRubricItemSummary:m,items:A,sectionTitleVariation:h,summaryItemVariation:$||w,recircRiver:v,shouldEnableBundleComponentAnalytics:y,shouldHideBylines:b,hasSectionTitlePrimary:s,hasDividerAboveHed:i,hasDividerBelowHed:a,trackingNamespace:E}))};ct.propTypes={className:l().string,dangerousDek:l().string,dangerousHed:l().string,desktopFeatureColSpan:l().string,hasBorder:l().bool,hasDividerAboveHed:l().bool,hasDividerBelowHed:l().bool,hasSectionTitlePrimary:l().bool,hasTitleBorder:l().bool,hasTwoColumnLayout:l().bool,hideBottomBorders:l().bool,hideRubricItemSummary:l().bool,hideVerticalBorders:l().bool,items:l().arrayOf(l().shape(b.A.propTypes)).isRequired,recircRiver:l().string,sectionTitleVariation:l().string,shouldAlignDekInCenter:l().bool,shouldCondenseRightCells:l().bool,shouldEnableBundleComponentAnalytics:l().bool,shouldHideBylines:l().bool,shouldHidePublishDate:l().bool,summaryItemVariation:he.A.propTypes.summaryItemVariation,summaryListSummaryItemVariation:l().string,trackingNamespace:l().string};const mt=ct;mt.displayName="SummaryCollageSix";const ut=(0,o.y)(mt,"SummaryCollageSix");var pt=n(91706),gt=n(72147),ht=n(40391),yt=n(46897),bt=n(55659),ft=n(73275);const wt={};wt[1]=Re.A,wt[3]=Je,wt[4]=ge.A,wt[5]=pe,wt[6]=ut,wt[7]=st,wt[8]=f.A,wt[9]=qe,wt[12]=Me.A;const $t={};$t[2]=pt.A.TwoColumns,$t[4]=pt.A.FourColumns,$t[6]=pt.A.FourColumns,$t[8]=pt.A.FourColumns;const vt={Carousel:y.A,Bubbles:y.A,CollageOne:Re.A,CollageThree:Je,CollageFour:ge.A,CollageFive:pe,CollageFiveRowsWithDekAndItemsBelow:pe.RowsWithDekAndItemsBelow,CollageSix:ut,CollageSeven:st,CollageEight:f.A,CollageNine:qe,CollageTweleve:Me.A,GridTwoColumns:pt.A.TwoColumns,GridTwoColumnsWithAd:pt.A.TwoColumnsWithAdSection,GridThreeColumns:pt.A.ThreeColumns,GridFourColumns:pt.A.FourColumns,SummaryCollectionRow:gt.A},Ct=({backgroundColor:e=null,carouselContentAlign:t,carouselSummaryItemVariation:n="TextBelowLeft",carouselItemProps:o,contentTypesForViewAll:i,container:s,enableComponentsWithBackgroundColor:l=[],hasBorderOnMobileAndTabletOnly:c,hasBottomBorderOnLargeScreen:g,hasBottomBorderLargeMargin:f,hasCarouselTopMargin:w,hasCarouselSectionTitle:v,hasControls:C=!0,shouldUseCustomMargin:k,hasFullBleedCarouselWithPaddingWrapperOnMobile:x=!1,hasIncreasedPaddingTop:E=!1,hasIncreasedVerticalPadding:A=!1,hasIncreasedVerticalPaddingTop:S=!1,hasMarginOnDesktop:L=!1,hasMinimalVerticalSpacing:T=!1,hasModerateSpacing:N=!1,hasNoTopBottomMarginOnMobile:H=!1,hasReducedBottomMargin:I,hasReducedMargin:B,hasUnderlineHed:O=!0,hideDangerousDek:_=!1,hideRubricItemSummary:K,hideStrapline:P,isCarouselFullBleed:D=!1,isCarouselFullBleedRight:q=!1,isCarouselBodyFullBleedRight:M=!1,isDestinationBundle:R,hasConsistentSpacing:F,lowestHierarchy:U,shouldEnableBookmarkDrawers:V,shouldEnableCardLevelBookmark:G,shouldEnableCommentsCount:W,shouldHideBylines:j,shouldHideCarouselBylines:z=!0,shouldDisableCarouselTitleLetterSpacing:Y,shouldOverrideTypeToken:X=!1,shouldPreferCollectionGrid:Z,shouldTreatTabletLikeMobile:J,shouldUseAdInCollectionGrid:Q,shouldUseBookmarkV2:ee,shouldUseMediumBreakpoint:te,sectionTitleVariation:ne="TextCenter",summaryCollageVariation:oe,summaryItemVariation:ie,shouldTrackItemImpressionForSnowplow:ae=!1,hasDividerAboveCarouselSectionTitle:re=!0,hasDividerBelowCarouselSectionTitle:se=!0,shouldApplyCustomHeaderHeight:le=!1,hideDesktopPagination:de=!1,itemsDensity:ce="default",shouldTrackSnowplowEvent:me})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"VersoFeatures"})},[]);const{formatMessage:ue}=(0,d.A)(),pe=s&&s.layout,ge=(({items:e=[]},t,n,o,i)=>{if(o&&vt[o])return vt[o];const a=e.length;return n&&0!==a&&a%3==0?pt.A.ThreeColumnsWithAdSection:t?$t[a]||wt[a]||a&&wt[9]||null:wt[a]?.[i]||wt[a]||$t[a]||a&&wt[9]||null})(s,Z,Q,pe,oe);if(!ge)return null;const he=(0,bt.$B)(),{curatedSearchHed:ye="",shouldHideVideoDek:be,dangerousDek:fe,dangerousHed:we,items:$e,shouldEnableBundleComponentAnalytics:ve,viewAllButton:Ce,productVisualAsset:ke}=s,xe=b.A[n],Ee=$e.some(e=>e.offers),Ae=e=>m()(i,e.contentType);if(ge&&ge.CarouselItem&&"Bubbles"===pe)return r.createElement(yt.A,{container:s,className:"bundleLayout"});if(ge&&ge.CarouselItem)return r.createElement(u.Tn,{backgroundColor:e,className:a()("product__carousel",{"product__carousel--has-increased-padding":e,"product__carousel--has-moderate-padding":N,"product__carousel--has-full-bleed":D,"product__carousel--has-full-bleed-right":q,"product__carousel--body-has-full-bleed-right":M}),hasOffersLink:Ee,hasCarouselTopMargin:w,shouldOverrideTypeToken:X,hasFullBleedCarouselWithPaddingWrapperOnMobile:x,hasMarginOnDesktop:L,shouldDisableCarouselTitleLetterSpacing:Y,hasConsistentSpacing:F,shouldApplyCustomHeaderHeight:le},ke&&r.createElement(u.zK,null,r.createElement(ft.A,{...ke,isLazy:!1})),r.createElement(y.A,{headerProps:{contentAlign:t,dangerousHed:we,dangerousDek:fe,sectionTitleVariation:!!v&&ne,shouldDisplayDangerousDek:!P,hasBorderTop:!!v&&re,hasBorderBottom:!!v&&se},carouselSettings:{hasPaginationDots:!0,showControls:C,shouldCenterAlignIfItemsAreLess:"Bubbles"===pe,hideDesktopPagination:de,itemsDensity:ce},ctaProps:Ce&&Ce.shouldShowViewAllButton?{style:"filled",clickHandler:()=>{Ce.viewAllSlug&&(window.location.href=Ce.viewAllSlug)},text:`${ue(h.viewAllButton)} ${U} ${Ce.viewAllContentType}`}:{},trackingEventData:{snowplowNavEventSubject:"carousel"}},$e.map((e,t)=>{const n=(0,$.NY)(ve,we,t);return r.createElement(y.A.CarouselItem,{...o,key:`product-bundle-${t}`,itemsDensity:ce,trackingEventData:{carouselName:s.dangerousHed,itemIndex:t,totalItems:$e.length,label:s.dangerousHed,subject_version:he?"mobile_dense":"default"}},r.createElement(xe,{...e,analyticsDataAttribute:n,hasBorder:!1,hasBorderOnMobileAndTabletOnly:!1,hasRule:!0,hasUnderlineHed:O,isMobile:he,hedTag:"h3",hideRubricItemSummary:(!R||!ht.O.includes(e.contentType))&&K,isLazy:t>4,shouldHideBylines:z,shouldHideDangerousDek:_,shouldHideIcon:!1,shouldHideMetadataSecondary:!1,shouldAppendReadMoreLinkForDek:Ae(e)}))})));const Se=l.length>0&&l.includes(pe)?e:null,Le=l.length>0&&l.includes(pe);return r.createElement(u.Ae,{className:a()("verso-features",{"verso-features--has-increased-padding":A,"verso-features--has-increased-padding-top":E}),hasMinimalVerticalSpacing:T,hasReducedBottomMargin:I,hasReducedMargin:B,hasIncreasedVerticalPaddingTop:S,hasNoTopBottomMarginOnMobile:H,backgroundColor:Se,shouldUseCustomMargin:k,hasConsistentSpacing:F},ke&&r.createElement(u.zK,null,r.createElement(ft.A,{...ke,isLazy:!1})),r.createElement(ge,{...s,hideRubricItemSummary:K,recircRiver:(Te=ye,Te.replace(/<[^>]*>/g,"")),shouldHideBylines:j,summaryItemVariation:ie,hasBottomBorderOnLargeScreen:g,hasBottomBorderLargeMargin:f,hasBorderOnMobileAndTabletOnly:c,hasConsistentSpacing:F,shouldTreatTabletLikeMobile:J,shouldUseMediumBreakpoint:te,shouldHideVideoDek:be,isInverted:Le,shouldUseBookmarkV2:ee,shouldEnableBookmarkDrawers:V,shouldEnableCardLevelBookmark:G,shouldEnableCommentsCount:W,shouldTrackItemImpressionForSnowplow:ae,shouldTrackSnowplowEvent:me,isMobile:he}));var Te};Ct.propTypes={backgroundColor:l().oneOf([null,"light","dark","brand","black","white"]),carouselContentAlign:l().oneOf(["left","center"]),carouselItemProps:l().object,carouselSummaryItemVariation:l().string,container:l().object,contentTypesForViewAll:l().array,enableComponentsWithBackgroundColor:l().array,hasBorderOnMobileAndTabletOnly:l().bool,hasBottomBorderLargeMargin:l().bool,hasBottomBorderOnLargeScreen:l().bool,hasCarouselSectionTitle:l().bool,hasCarouselTopMargin:l().bool,hasConsistentSpacing:l().bool,hasControls:l().bool,hasDividerAboveCarouselSectionTitle:l().bool,hasDividerBelowCarouselSectionTitle:l().bool,hasFullBleedCarouselWithPaddingWrapperOnMobile:l().bool,hasIncreasedPaddingTop:l().bool,hasIncreasedVerticalPadding:l().bool,hasIncreasedVerticalPaddingTop:l().bool,hasMarginOnDesktop:l().bool,hasMinimalVerticalSpacing:l().bool,hasModerateSpacing:l().bool,hasNoTopBottomMarginOnMobile:l().bool,hasReducedBottomMargin:l().bool,hasReducedMargin:l().bool,hasUnderlineHed:l().bool,hideDangerousDek:l().bool,hideDesktopPagination:l().bool,hideRubricItemSummary:l().bool,hideStrapline:l().bool,isCarouselBodyFullBleedRight:l().bool,isCarouselFullBleed:l().bool,isCarouselFullBleedRight:l().bool,isDestinationBundle:l().bool,itemsDensity:l().oneOf(["default","min"]),lowestHierarchy:l().string,sectionTitleVariation:l().string,shouldApplyCustomHeaderHeight:l().bool,shouldDisableCarouselTitleLetterSpacing:l().bool,shouldEnableBookmarkDrawers:l().bool,shouldEnableCardLevelBookmark:l().bool,shouldEnableCommentsCount:l().bool,shouldHideBylines:l().bool,shouldHideCarouselBylines:l().bool,shouldOverrideTypeToken:l().bool,shouldPreferCollectionGrid:l().bool,shouldTrackItemImpressionForSnowplow:l().bool,shouldTrackSnowplowEvent:l().bool,shouldTreatTabletLikeMobile:l().bool,shouldUseAdInCollectionGrid:l().bool,shouldUseBookmarkV2:l().bool,shouldUseCustomMargin:l().bool,shouldUseMediumBreakpoint:l().bool,summaryCollageVariation:l().string,summaryItemVariation:l().string,viewAllButton:l().shape({shouldShowViewAllButton:l().bool,viewAllContentType:l().string,viewAllSlug:l().string})},Ct.displayName="VersoFeatures";const kt=Ct,xt=(0,o.y)(kt,"VersoFeatures")},58293:(e,t,n)=>{n.d(t,{FF:()=>c,Sr:()=>h,Tw:()=>m,wF:()=>g});var o=n(38267),i=n(46005),a=n(11541),r=n(26865),s=n(18730),l=n(96472);const{timingButtonDefault:d}=l.L6,c=o.Ay.label.withConfig({displayName:"DropdownWrapper"})` display: block; position: relative; ${({configWidth:e})=>e?`width: ${e}%;`:""} ${({isDisabled:e})=>e?"cursor: default;\n pointer-events: none;":""} ${({isInline:e})=>e?`display: flex;\n justify-content: space-between;\n margin-bottom: 0;\n width: 100%;\n @media (min-width: ${l.LO.md}) {\n align-items: center;\n width: max-content;\n }\n .dropdown__assistive-label {\n margin-right: ${(0,r.Kq)(1)};\n padding-bottom: 0;\n }\n `:""} `,m=(0,o.Ay)(s.v).withConfig({displayName:"DropdownName"})` ${({theme:e,typeToken:t})=>(0,r.Gg)(e,t)}; display: block; ${({hasNoPadding:e})=>!e&&`padding-bottom: ${(0,r.Kq)(1)};`} ${({theme:e,colorToken:t})=>(0,r._o)(e,"color",t)}; `;m.defaultProps={as:"span",colorToken:"colors.interactive.base.black",typeToken:"typography.definitions.utility.label"};const u=o.AH` .dropdown__value-container { ${({theme:e})=>(0,r.FM)(e,"active","border")} ${({theme:e})=>(0,r.FM)(e,"active","background")} } .dropdown__placeholder, .dropdown__single-value { ${({theme:e})=>(0,r.FM)(e,"active","text")} } .dropdown__icon { svg { ${({theme:e})=>(0,r.FM)(e,"active","icon")} } } `,p=o.AH` min-width: ${(0,r.Kq)(21)}; .dropdown--disabled { cursor: default; pointer-events: none; } .dropdown__assistive-label { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.utility.label")}; display: block; padding-bottom: ${(0,r.Kq)(1)}; ${({theme:e})=>(0,r._o)(e,"color","colors.interactive.base.black")}; } .dropdown__control { position: relative; align-items: initial; border: none; border-radius: 0; padding: 0; width: 100%; overflow: hidden; text-align: left; } ${({hideBackgroundColor:e})=>e?"\n .dropdown__control,\n .dropdown__value-container {\n background-color: unset;\n }":""} .dropdown__control--is-focused { ${u} } .dropdown__control--menu-is-open { box-shadow: none; } .dropdown__control--is-disabled { .dropdown__value-container { ${({theme:e})=>(0,r.FM)(e,"disabled","border")} ${({hasEnableGreyout:e,theme:t})=>e?"opacity:0.5":(0,r.FM)(t,"disabled","background")} } .dropdown__placeholder, .dropdown__single-value { ${({theme:e})=>(0,r.FM)(e,"disabled","text")} } .dropdown__icon { svg { ${({theme:e})=>(0,r.FM)(e,"disabled","icon")} } } } .dropdown__value-container { ${({theme:e})=>(0,r.FM)(e,"normal","border")} ${({theme:e})=>(0,r.FM)(e,"normal","background")} ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.utility.input-core")}; display: flex; align-items: center; transition-property: background, border; transition-duration: ${d}; transition-timing-function: ease-in; box-shadow: none; padding: ${(0,r.Kq)(2)} ${(0,r.Kq)(6)} ${(0,r.Kq)(2)} ${(0,r.Kq)(1)}; height: 50px; overflow: hidden; /* styles the searchable dropdown's input when typing */ > .css-0:first-child { ${({theme:e})=>(0,r.FM)(e,"active","text")} display: inline-block; position: relative; top: initial; transform: none; margin: 0; width: 100%; max-width: 100%; } } .dropdown__value-container--has-value { ${({theme:e})=>(0,r.FM)(e,"valid","border")} ${({theme:e})=>(0,r.FM)(e,"valid","background")} .dropdown__icon { svg { ${({theme:e})=>(0,r.FM)(e,"valid","icon")} } } .dropdown__input-container { position: absolute; } } /* prevent long searchable input string from running into icon container overrides react-select auto-generated width of input field */ .dropdown__input { input { && { padding-right: ${(0,r.Kq)(6)}; } } } .dropdown__placeholder { position: absolute; } .dropdown__placeholder, .dropdown__single-value { ${({theme:e})=>(0,r.FM)(e,"normal","text")} ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.utility.input-core")}; display: inline-block; top: initial; transform: none; transition: color ${d} ease-in; margin: 0; max-width: initial; .dropdown__value-container--has-value & { ${({theme:e})=>(0,r.FM)(e,"valid","text")} } } .dropdown__indicators { position: absolute; top: 0; right: 0; bottom: 0; } .dropdown__indicator-separator { width: 0; } .dropdown__icon { top: 50%; margin-right: ${(0,r.Kq)(2)}; svg { ${({theme:e})=>(0,r.FM)(e,"normal","icon")} width: 10px; height: 10px; stroke: black; stroke-width: 3px; } } .dropdown__menu { animation: dropdown-menu-fade-in ${d} ease; margin: 0; border: 0; border-radius: 0; box-shadow: none; width: 100%; } @keyframes dropdown-menu-fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } .dropdown__menu-list { ${({theme:e})=>(0,r.FM)(e,"normal","border")} border-top: none; border-right: none; border-left: none; padding: 0; max-height: ${(0,r.Kq)(20)}; } .dropdown__menu-notice, .dropdown__option { ${({theme:e})=>(0,r.FM)(e,"normal","border")} ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.utility.input-core")}; position: relative; border-top: none; background-color: transparent; padding: ${(0,r.Kq)(1)} ${(0,r.Kq)(2)}; min-height: ${(0,r.Kq)(5)}; text-align: left; text-decoration: none; line-height: unset; ${({theme:e})=>(0,r._o)(e,"color","colors.interactive.base.black")}; transition-duration: ${d}; transition-property: color, background; transition-timing-function: ease-in; &::before { ${({theme:e})=>(0,r.FM)(e,"normal","background")} } /* remove last list option border to avoid double border with bottom of menu list */ &:last-of-type { border-bottom: 0; } &:active, &:focus, &:hover { /* override color provided by react-select */ background-color: transparent; } &:not(.dropdown__option--is-selected):not( .dropdown__menu-notice--no-options ) { &:active::after, &:focus::after, &:hover::after { position: absolute; top: 0; left: 0; opacity: 0.4; z-index: -1; ${({theme:e})=>(0,r._o)(e,"background-color","colors.interactive.base.light")}; width: 100%; height: 100%; content: ''; } } } .css-d7l1ni-option { /* stylelint-disable declaration-no-important */ background-color: ${(0,r.HK)("colors.interactive.base.hover")} !important; /* stylelint-enable declaration-no-important */ } :not(.dropdown__option--is-selected) { &.dropdown__option--is-focused::after { position: absolute; top: 0; left: 0; opacity: 0.4; z-index: -1; ${({theme:e})=>(0,r._o)(e,"background-color","colors.interactive.base.light")}; width: 100%; height: 100%; content: ''; } } .dropdown__option--is-selected::after { position: absolute; top: 0; left: 0; opacity: 1; z-index: -1; ${({theme:e})=>(0,r._o)(e,"background-color","colors.interactive.base.light")}; width: 100%; height: 100%; content: ''; } `,g=(0,o.Ay)(i.Ay).withConfig({displayName:"DropdownSelect"})` ${p} ${({configWidth:e})=>e?"width: 100%;":""} `,h=(0,o.Ay)(a.A).withConfig({displayName:"AsyncDropdownSelect"})` ${p} .dropdown__value-container { font-weight: bold; } `},58447:(e,t,n)=>{n.d(t,{A:()=>u});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(25433),l=n(90447),d=n(53499);const c=({dangerousDek:e="",dangerousHed:t="Todays's Pick",items:n=[],dangerousCategoryTitle:o="Most Recent",shouldEnableBundleComponentAnalytics:i=!1,shouldEnableBookmarkDrawers:a=!1,shouldEnableCardLevelBookmark:c=!1,shouldEnableCommentsCount:m=!1,enableBestStoriesStyling:u=!0})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(d.G.RENDER,{name:"BestStories"})},[]);const p=n.slice(0,3),g=n.slice(3,8);return 12===n.length?r.createElement(l.A,{dangerousHed:t,dangerousDek:e,enableBestStoriesStyling:u,items:n,rightColumnFeature:{header:"",itemIndex:0,hideOnMobile:!1,overrideFeaturedLinks:!1},shouldTrackSnowplowEvent:!0,shouldUseDekAsHed:!0,hasUnderlineHed:!1,hideRubricItemSummary:!0,isCenterAlignedWithTopDividerOnly:!0,shouldHideBylines:!1,summaryItemVariation:"TextBelowLeft",summaryListHed:o,summaryListSummaryItemVariation:"SideBySideThirdsImageRight",summaryItemRubricVariation:"DiscoveryItem",summarySectionTitleVariation:"TextLeftLineAboveWithHedBackground",sectionTitleVariation:"TextLeftLineAboveWithHedBackground",isBestStories:!0}):r.createElement(s.A,{dangerousHed:t,dangerousDek:e,dangerousCategoryTitle:o,items:n,shouldEnableBundleComponentAnalytics:i,sumCollageFourItems:p,sumListItems:g,shouldEnableBookmarkDrawers:a,shouldEnableCardLevelBookmark:c,shouldEnableCommentsCount:m})};c.propTypes={dangerousCategoryTitle:a().string,dangerousDek:a().string,dangerousHed:a().string,enableBestStoriesStyling:a().bool,items:a().array,shouldEnableBookmarkDrawers:a().bool,shouldEnableBundleComponentAnalytics:a().bool,shouldEnableCardLevelBookmark:a().bool,shouldEnableCommentsCount:a().bool},c.displayName="BestStories";const m=(0,o.y)(c,"BestStories"),u=(0,o.y)(m,"BestStories")},58514:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(96540),i=n(5556);function a(){const e=window.snowplowQueue||[];for(this.push=function(e){e()},window.snowplowQueue=this;e.length;)e.shift()()}function r(){const e=window.snowplowInitQueue||[];for(this.push=function(e){e()},window.snowplowInitQueue=this;e.length;)e.shift()()}const s=({brand:e})=>{const t=window.location.search.indexOf("no_snowplow")<0;return(0,o.useEffect)(()=>{if(t){const e=window?.dataLayer.find(e=>"data-layer-loaded"===e.event),t=e?.site?.env;((e="production")=>{var t,n,o,i,s,l,d;t=window,n=document,o="script",i=("staging"===e?"https://globalservices-stag.conde.digital/":"https://globalservices.conde.digital/")+"p77xzrbz9z.js",t[s="snowplowCN"]||(t.GlobalSnowplowNamespace=t.GlobalSnowplowNamespace||[],t.GlobalSnowplowNamespace.push(s),t[s]=function(){(t[s].q=t[s].q||[]).push(arguments)},t[s].q=t[s].q||[],l=n.createElement(o),d=n.getElementsByTagName(o)[0],l.async=1,l.src=i,d.parentNode.insertBefore(l,d)),window.snowplowCN(()=>{new r,new a})})(t)}},[t,e]),null};s.propTypes={brand:n.n(i)().string.isRequired};const l=s},59867:(e,t,n)=>{n.d(t,{j:()=>a,m:()=>o});var o,i=n(53836);!function(e){e.RESIZE_DEBOUNCE="resize-debounce",e.SCROLL_DEBOUNCE="scroll-debounce",e.RESIZE_THROTTLE="resize-throttle",e.SCROLL_THROTTLE="scroll-throttle",e.LOAD_DEBOUNCE="load-debounce",e.UNLOAD_DEBOUNCE="unload-debounce",e.FOCUS_DEBOUNCE="focus-debounce",e.BLUR_DEBOUNCE="blur-debounce",e.KEY_DOWN="keydown",e.KEY_DOWN_DEBOUNCE="keydown-debounce"}(o||(o={}));class a extends i.J{constructor(){super(50),this.debounceTimers={},this.throttleTimers={},this.delays={[o.RESIZE_DEBOUNCE]:200,[o.SCROLL_DEBOUNCE]:100,[o.RESIZE_THROTTLE]:200,[o.SCROLL_THROTTLE]:100,[o.LOAD_DEBOUNCE]:20,[o.UNLOAD_DEBOUNCE]:20,[o.FOCUS_DEBOUNCE]:20,[o.BLUR_DEBOUNCE]:20,[o.KEY_DOWN_DEBOUNCE]:20},this.attachNativeListeners()}attachNativeListeners(){const e={resize:[o.RESIZE_THROTTLE,o.RESIZE_DEBOUNCE],scroll:[o.SCROLL_THROTTLE,o.SCROLL_DEBOUNCE],keydown:[o.KEY_DOWN,o.KEY_DOWN_DEBOUNCE],load:[o.LOAD_DEBOUNCE],unload:[o.UNLOAD_DEBOUNCE],focus:[o.FOCUS_DEBOUNCE],blur:[o.BLUR_DEBOUNCE]};Object.entries(e).forEach(([e,t])=>{window.addEventListener(e,e=>{t.forEach(t=>{t.includes("throttle")?this.throttledBroadcast(t,e):t.includes("debounce")?this.debouncedBroadcast(t,e):this.broadcast(t,e)})})})}throttledBroadcast(e,t){const n=Date.now(),o=this.delays[e],i=this.throttleTimers[e];!i||n-i.lastRun>=o?(this.broadcast(e,t),this.throttleTimers[e]={timer:null,lastRun:n}):i.timer||(this.throttleTimers[e]={timer:setTimeout(()=>{this.broadcast(e,t),this.throttleTimers[e]={timer:null,lastRun:Date.now()}},o-(n-i.lastRun)),lastRun:i.lastRun})}debouncedBroadcast(e,t){this.debounceTimers[e]&&clearTimeout(this.debounceTimers[e]);const n=this.delays[e];this.debounceTimers[e]=setTimeout(()=>{this.broadcast(e,t),this.debounceTimers[e]=void 0},n)}}},60156:(e,t,n)=>{n.d(t,{A:()=>V});var o=n(13465),i=n(96540),a=n(5556),r=n.n(a),s=n(97200),l=n.n(s),d=n(38221),c=n.n(d),m=n(6442),u=n(67805),p=n(97111),g=n(38267),h=n(96472),y=n(26865),b=n(76955),f=n(42361);const w=g.Ay.div.withConfig({displayName:"CTACardWrapper"})` position: relative; border-radius: ${({theme:e})=>(0,y.Pp)(e,"cardRadiusSm")}; background-color: ${(0,y.HK)("colors.discovery.body.brand.background")}; padding-top: ${({aspectRatio:e})=>e[1]/e[0]*100}%; ${(0,y.H4)(h.LO.md)} { border-radius: ${({theme:e})=>(0,y.Pp)(e,"cardRadiusMd")}; } ${(0,y.H4)(h.LO.lg)} { border-radius: ${({theme:e})=>(0,y.Pp)(e,"cardRadiusLg")}; } `,$=g.Ay.div.withConfig({displayName:"CTACardContent"})` display: flex; position: absolute; top: 0; right: 0; bottom: 0; left: 0; flex-direction: column; padding: 0 ${(0,y.Kq)(3)} ${(0,y.Kq)(2)} ${(0,y.Kq)(3)}; ${(0,y.H4)(h.LO.lg)} { padding: 0 ${(0,y.Kq)(5)} ${(0,y.Kq)(5)} ${(0,y.Kq)(5)}; } `,v=g.Ay.div.withConfig({displayName:"CTACardBody"})` display: flex; flex: 1 0 auto; align-items: center; `,C=g.Ay.div.withConfig({displayName:"CTACardFooter"})` height: ${(0,y.Kq)(6)}; `,k=(0,g.Ay)(b.sH).withConfig({displayName:"CTACardText"})``;k.defaultProps={colorToken:"colors.discovery.body.brand.heading",typeIdentity:"typography.definitions.discovery.hed-core-secondary"};const x=(0,g.Ay)(f.A).withConfig({displayName:"CTACardIcon"})` border-radius: 50%; background-color: ${(0,y.HK)("colors.discovery.body.brand.context-signature")}; width: ${(0,y.Kq)(6)}; height: ${(0,y.Kq)(6)}; fill: ${(0,y.HK)("colors.discovery.body.brand.context-texture")}; svg { transform: scale(0.6); } `,E=({aspectRatio:e=[1,1],children:t,url:n})=>i.createElement(w,{aspectRatio:e},i.createElement($,null,i.createElement(v,null,i.createElement(k,{href:n},t)),i.createElement(C,null,i.createElement("a",{href:n},i.createElement(x,null)))));E.propTypes={aspectRatio:r().arrayOf(r().number),children:r().node.isRequired,url:r().string.isRequired};const A=E;const S=(0,n(72267).defineMessages)({ctaMessage:{id:"VersoFilterableSummaryList.CTAMessage",defaultMessage:"See more {groupName} recipes",description:"Message to display in the CTACard"}});var L=n(1123),T=n(14952),N=n(22482),H=n(69147),I=n(52663),B=n(36211),O=n(72662);const _=(0,g.Ay)(H.A).withConfig({displayName:"FilterableSummaryList"})` margin: 0 auto; ${({hasToggleGridColor:e})=>!e&&`max-width:${h.LO.fullBleed};\n ${(0,L.VO)()}`} ${({hasPadding:e})=>!e&&(0,L.aU)("padding")} ${O.oX}:first-child { box-sizing: content-box; ${({hasPadding:e})=>e?`padding-left:${(0,y.Kq)(8)};\n ${(0,y.Xm)(0,h.LO.md)}\n { \n padding-left:${(0,y.Kq)(3)}; \n }`:"padding-left: 0;"} } ${O.oX}:last-child { box-sizing: content-box; ${({hasPadding:e})=>e?`padding-right:${(0,y.Kq)(8)};\n ${(0,y.Xm)(0,h.LO.md)}\n { padding-right:${(0,y.Kq)(3)}; \n }`:null} } ${O.ig} { ${({hasPadding:e})=>e&&`padding-right:${(0,y.Kq)(8)};\n ${(0,y.Xm)(0,h.LO.md)}\n { padding-right:${(0,y.Kq)(3)}; \n }`} } ${(0,y.H4)(h.LO.xxl)} { ${N.kC}, ${N.wq} { ${({hasToggleGridColor:e})=>!e&&"margin-left: revert;\n margin-right: revert;"} ${T.cW} , ${T.OO} { padding-right: revert; padding-left: revert; } ${O.oX}:first-child { ${({hasPadding:e})=>!e&&"padding-left: revert;"} } ${O.oX}:last-child { ${({hasPadding:e})=>!e&&"padding-right: revert;"} } } } header { ${({hasPadding:e})=>e?"padding-right: calc(1 * var(--grid-margin));\n padding-left: calc(1 * var(--grid-margin));":null} } `;(0,g.Ay)(I.A).withConfig({displayName:"SummaryItemExpernalLinkWrapper"})` ${B.Y} { ${({theme:e})=>`${(0,y.Gg)(e,"typography.definitions.discovery.hed-core-secondary")};\n ${(0,y._o)(e,"color","colors.discovery.body.white.heading")}`} } `;var K=n(67611),P=n(1899),D=n(67170),q=n(53499);var M=n(60162),R=n(19607);const F=({copilotId:e,config:t,buttonConfig:n,ctaCardAspectRatio:o=[2,1],dangerousHed:a,dangerousDek:r,dropShipSellers:s=[],editor:d,groups:g,hasAffiliateLinkDisabled:h,hasBorder:y,hasBorderBottom:b,hasCarouselSliderPagination:f,hasControls:w,hasImageGrid:$,hasAtRetailerNameLowerCase:v=!1,hasImpressionTracking:C=!0,hasMediumMarginBottom:k,hasNavigationButtonVariation:x,hasPadding:E,hasProductPriceColor:L,hasProductNewPriceColor:T,hasProductWhiteBackground:N,hasGridColumn:H,hasUnderlineHed:B,isProductCardName:O,isProductCardRetailerName:F=!1,shouldCheckProductInView:U,hasMarginTopAuto:V=!1,hasNoBottomPaddingForGridContent:G,hasPLPBrandNameContextTitle:W,hasPLPCardNameDescriptionCore:j,paginationStyle:z,sectionTitleVariation:Y="TextCenter",shouldChipsRedirectOnClick:X=!1,shouldEnableBookmarkDrawers:Z,shouldEnableCardLevelBookmark:J,shouldEnableCommentsCount:Q,shouldEnableBundleComponentAnalytics:ee=!1,shouldHideDangerousDek:te,shouldHidePublishDate:ne,shouldLimitSavingToContentTypes:oe,shouldPlayInline:ie=!1,shouldRenderCtaCard:ae=!1,showOfferUrl:re,showShopNowButton:se=!1,summaryItemVariation:le="TextBelowLeft",shouldUseAlternativeTitleStyle:de,shouldUseProductPriceSecondary:ce,shouldOpenInternalLinksInNewTab:me,shouldEnableSnowplowTracking:ue,shouldUseSmallHed:pe=!1,stackedRatingsCardRatingMethod:ge,expVariationName:he,isDropshipProduct:ye=!1,trackingNamespace:be,isDotClickable:fe=!1,layout:we="Carousel",gridConfig:$e,priceFormatting:ve,affiliateDisclaimer:Ce,isFirstProductListingContainer:ke,isUpcEnabled:xe,isPlpCurated:Ee,isContentCenter:Ae,hasCustomSlider:Se,hideDesktopPagination:Le,isSeriesNavigation:Te,isPimCollectionContainer:Ne,hideRubricLink:He,showDisclaimer:Ie,showRichTextInDek:Be,containerIndex:Oe,enableEditorNote:_e,editorNoteTitle:Ke,hasReadMoreFeature:Pe,showClampedProductDescription:De,productDescriptionLineLength:qe})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(q.G.RENDER,{name:"VersoFilterableSummaryList"})},[]);const[Me,Re]=(0,i.useState)(!1),{formatMessage:Fe}=(0,m.A)(),Ue=we||"Carousel",Ve="ContentCarousel"===Ue,Ge="GridFourColumns"===Ue?"PLP":we,We=a?a.replace(/[^a-zA-Z]+/gi,"-").toLowerCase():"",{gridItemColSpan:je}=$e||{},ze=["commerce-product","product"],Ye=e=>ze.includes(e);i.useEffect(()=>{Ve&&!C||(window.addEventListener("scroll",c()(()=>{(0,M.Yp)(Ge,document.getElementsByClassName("impressionTracking"))},1e3)),window.addEventListener("load",()=>(0,M.Yp)(Ge,document.getElementsByClassName("impressionTracking"))))},[Ge,Ve,C]);const{adsConfig:{enableNativeSponsoredProductforCommerce:Xe=!1,nativeSponsorProductPositionGrid:Ze=1,nativeSponsorProductPositionCarousel:Je=3}={}}=t||{},Qe=["GridFourColumns","ContentCarousel"].includes(Ue);let et;"GridFourColumns"===Ue?et=Ze:"ContentCarousel"===Ue&&(et=Je);const tt=et?et-1:void 0,nt="ContentCarousel"===we?"carousel":"plp_grid",ot=t=>{const n=t.items.map((t,n)=>{const o=t.contentType,{isCurrent:a,isTextExternalLink:r}=t,l={...t,layout:we,index:n};if(Ye(o))return"clip"===t.image?.contentType&&(t.image=xe?{...t.image,sources:{},segmentedSources:{}}:void 0),xe?i.createElement(P.A,{...t,isLazy:!0,key:`${t.dangerousHed}-${n}`,dropShipSellers:s,isDropshipProduct:ye,showOfferUrl:re||h,data_item:l,hasImpressionTracking:C,expVariationName:he,layout:Ue,shouldDisableCreditText:!0,componentUsed:nt,enableEditorNote:_e,editorNoteTitle:Ke,hasReadMoreFeature:Pe,showClampedProductDescription:De,productDescriptionLineLength:qe,bookmarkMeta:t}):i.createElement(K.A,{...t,key:`${t.dangerousHed}-${n}`,hasAtRetailerNameLowerCase:v,hasImageGrid:$,hasProductPriceColor:L,hasProductNewPriceColor:T,shouldUseProductPriceSecondary:ce,hasProductWhiteBackground:N,isLazy:!0,isProductCardName:O,isProductCardRetailerName:F,hasMarginTopAuto:V,hasPLPBrandNameContextTitle:W,hasPLPCardNameDescriptionCore:j,hasUnderlineHed:B,hasCarouselControl:Ve,shouldCheckProductInView:U,layout:Ue,copilotID:e,dropShipSellers:s,isDropshipProduct:ye,showOfferUrl:re,hasImpressionTracking:C,data_item:t,onClick:({event:e,actionId:o})=>{(0,M.g1)({window,product:{...t,expVariationName:he,index:n,layout:Ue},index:n,actionId:o,layout:Ge,event:e,layoutTitle:We})},expVariationName:he,layoutName:We,priceFormatting:ve,hideDesktopPagination:Le});const d=((e,t,n)=>("cnevideo"===t&&n&&(e.image={...e.image,url:e?.url||"",dangerousHed:e.dangerousHed||""}),e))(t,o,ie);let c=I.A[le];const{showAssetOnly:m,showLinkedAsset:u}=d;return c=(({isTextExternalLink:e,showLinkedAsset:t,showAssetOnly:n,content:o})=>e||t&&e?I.A.SideBySideDenseNoAsset:n||t?D.A:"externallink"===o&&Ae?I.A.TextBelowCenter:I.A[le])({isTextExternalLink:r,showLinkedAsset:u,showAssetOnly:m,content:o}),i.createElement(c,{gridItemColSpan:d?.showAssetOnly||d?.showLinkedAsset?1:je,shouldHideIcon:!0,shouldHideMetadataSecondary:!0,...d,hasNativeImgLazyLoading:!0,key:`${t.dangerousHed}-${n}`,hasBorder:y,hasUnderlineHed:B,shouldHideDangerousDek:!r||te,shouldHidePublishDate:!0,hasHedCorePrimary:!0,shouldPlayInline:ie,hasNoBottomMarginForCneVideo:"cnevideo"===o,hasNoBottomPaddingForCneVideo:"cnevideo"===o,hasNoBottomPaddingForGridContent:G&&"GridFourColumns"===Ue,hasMediumMarginBottom:k,buttonSize:"default",showShopNowButton:se&&"externallink"===o,isPlpCurated:Ee,shouldOpenInternalLinksInNewTab:me,hideDesktopPagination:Le,shouldUseSmallHed:pe&&"externallink"===o&&"GridFourColumns"!==Ue,layout:Ue,index:n,isSeriesNavigation:Te,isCurrent:a,hideRubricLink:He,isTextExternalLink:r})}),o=tt>=0&&tt{const t=i.createElement(R.A,{key:"sponsor-product-ad",position:"sponsor-product",templateLayout:Ue,onEmpty:()=>Re(!0),skipChildFilter:!0});e.splice(tt,0,t)})(n),n};function it(e){switch(Ue){case"ContentCarousel":case"GridFourColumns":case"EditorsPicksCarousel":return ot(e);case"ArticleCarousel":return(e=>{const t=I.A[le];return e.items.map((e,n)=>i.createElement(t,{...e,key:`${e.dangerousHed}-${n}`,hasBorder:y,hasUnderlineHed:B,shouldHideDangerousDek:te,shouldHidePublishDate:ne}))})(e);default:return e.items.map((t,n)=>i.createElement(p.A,{...t,key:`${t.hed}-${n}`,hasNativeImgLazyLoading:!0,ratingMethod:ge,shouldTrackSnowplowEvent:ue,totalItems:e?.items?.length,sectionTitle:a,shouldEnableBookmarkDrawers:Z,shouldEnableCardLevelBookmark:J,shouldEnableCommentsCount:Q,shouldLimitSavingToContentTypes:oe}))}}const at=H&&"GridFourColumns"===Ue,[rt]=i.useState(parseInt(l()(),10));return g&&0!==g.length?i.createElement(_,{dangerousHed:a,dangerousDek:r,editor:d,sectionTitleVariation:Y,shouldChipsRedirectOnClick:X,shouldEnableBundleComponentAnalytics:ee,shouldEnableSnowplowTracking:ue,shouldUseAlternativeTitleStyle:de,hasImpressionTracking:!0,trackingNamespace:be,isDotClickable:fe,hasCarouselSliderPagination:f,hasCarouselControl:Ve,hasControls:w,hasNavigationButtonVariation:x,hasToggleGridColor:at,hasPadding:E,layout:Ue,pos:rt,paginationStyle:z,buttonConfig:n,gridConfig:$e,hasBorderBottom:b,affiliateDisclaimer:Ce,isFirstProductListingContainer:ke,isPimCollectionContainer:Ne,showDisclaimer:Ie,isPlpCurated:Ee,hasCustomSlider:Se,hideDesktopPagination:Le,isUpcEnabled:xe,groups:g,isSeriesNavigation:Te,showRichTextInDek:Be,containerIndex:Oe,enableEditorNote:_e,editorNoteTitle:Ke,hasReadMoreFeature:Pe,showClampedProductDescription:De,productDescriptionLineLength:qe},g.map(e=>{const t=it(e);ae&&e.url&&t.push(i.createElement(A,{aspectRatio:o,key:`cta-${e.label}`,url:e.url},Fe(S.ctaMessage,{groupName:e.label.toLocaleLowerCase()})));const n=(e=>e.filter(e=>(e?.props?.image?.id||e?.props?.aspectRatio||"cnevideo"===e?.props?.contentType&&(e?.props?.image?.scriptUrl||e?.props?.url)||"externallink"===e?.props.contentType&&e?.props?.isTextExternalLink||e?.props?.skipChildFilter)&&e))(t);return i.createElement(u.D,{key:e.label,name:e.label,url:e.url},n)})):null};F.propTypes={affiliateDisclaimer:r().string,buttonConfig:r().object,config:r().shape({adsConfig:r().shape({enableNativeSponsoredProductforCommerce:r().bool,nativeSponsorProductPositionGrid:r().number,nativeSponsorProductPositionCarousel:r().number})}),containerIndex:r().number,copilotId:r().string,editorNoteTitle:r().string,enableEditorNote:r().bool,ctaCardAspectRatio:r().arrayOf(r().number),dangerousDek:r().string,dangerousHed:r().string,dropShipSellers:r().arrayOf(r().string),editor:r().object,expVariationName:r().string,gridConfig:r().object,groups:r().arrayOf(r().object),hasAffiliateLinkDisabled:r().bool,hasAtRetailerNameLowerCase:r().bool,hasBorder:r().bool,hasBorderBottom:r().bool,hasCarouselSliderPagination:r().bool,hasControls:r().bool,hasCustomSlider:r().bool,hasGridColumn:r().bool,hasImageGrid:r().bool,hasImpressionTracking:r().bool,hasMarginTopAuto:r().bool,hasMediumMarginBottom:r().bool,hasNavigationButtonVariation:r().bool,hasNoBottomPaddingForGridContent:r().bool,hasPadding:r().bool,hasReadMoreFeature:r().bool,hasPLPBrandNameContextTitle:r().bool,hasPLPCardNameDescriptionCore:r().bool,hasProductNewPriceColor:r().bool,hasProductPriceColor:r().bool,hasProductWhiteBackground:r().bool,hasToggleGridColor:r().bool,hasUnderlineHed:r().bool,hideDesktopPagination:r().bool,hideRubricLink:r().bool,isContentCenter:r().bool,isDotClickable:r().bool,isDropshipProduct:r().bool,isFirstProductListingContainer:r().bool,isPimCollectionContainer:r().bool,isPlpCurated:r().bool,isProductCardName:r().bool,isProductCardRetailerName:r().bool,isSeriesNavigation:r().bool,isTextExternalLink:r().bool,isUpcEnabled:r().bool,layout:r().string,paginationStyle:r().string,priceFormatting:r().shape({fractionDigits:r().number,shouldFormatDecimalSeparator:r().bool}),productDescriptionLineLength:r().number,sectionTitleVariation:r().string,shouldCheckProductInView:r().bool,shouldChipsRedirectOnClick:r().bool,shouldEnableBookmarkDrawers:r().bool,shouldEnableBundleComponentAnalytics:r().bool,shouldEnableCardLevelBookmark:r().bool,shouldEnableCommentsCount:r().bool,shouldEnableSnowplowTracking:r().bool,shouldHideDangerousDek:r().bool,shouldHidePublishDate:r().bool,shouldLimitSavingToContentTypes:r().bool,shouldOpenInternalLinksInNewTab:r().bool,shouldPlayInline:r().bool,shouldRenderCtaCard:r().bool,shouldUseAlternativeTitleStyle:r().bool,shouldUseProductPriceSecondary:r().bool,shouldUseSmallHed:r().bool,showClampedProductDescription:r().bool,showDisclaimer:r().bool,showNewProductCardDesign:r().bool,showOfferUrl:r().bool,showRichTextInDek:r().bool,showShopNowButton:r().bool,stackedRatingsCardRatingMethod:r().string,summaryItemVariation:r().string,trackingNamespace:r().shape({toggle:r().string,card:r().string})},F.displayName="VersoFilterableSummaryList";const U=F,V=(0,o.y)(U,"VersoFilterableSummaryList")},60162:(e,t,n)=>{n.d(t,{Mw:()=>x,QM:()=>k,TZ:()=>E,Yp:()=>S,g1:()=>A,gY:()=>u});var o=n(62193),i=n.n(o),a=n(58156),r=n.n(a),s=n(14307);const l={"add-to-cart":"add","remove-from-cart":"remove","product-click":"click","product-impression":"impressions","product-detail-view":"detail","save-event":"save","bookmark-hover":"hover"},d=["PLP","ContentCarousel","GalleryShopView","ProductEmbed","VisualCarousel"];function c(e,t,n=!1){let o=window.location.pathname?.split("/").pop();if("ContentCarousel"===e)return n&&(o=`pdp-product-reco-${o}`),`${o}-${t}-product-carousel`;if("ProductEmbed"===e){const{dataLayer:e}=window,t=e[0]?.content?.contentType;return`${t}-${o}`}return"VisualCarousel"===e?`${o}-visual-carousel`:e}const m=(e,t)=>{let n;if("EUR"===t){const t=e.toString().split(",");t[0]=t[0].replace(".",","),n=t.join(".")}else n=e;const o=n?.toString().replace(/[^0-9.]/g,"");return o?parseFloat(o):null},u=(e,t,n,o,i)=>{const a=e?.currency,{assetType:r,assetTypeIndex:s,imageTotalIndex:l,clipTotalIndex:d,videoTotalIndex:c}=((e,t)=>{const n=Array.isArray(e.image)?e.image:e.image&&[e.image]||[];if(0===n.length)return{assetType:null,assetTypeIndex:null,imageTotalIndex:null,clipTotalIndex:null,videoTotalIndex:null};const o="number"==typeof e.total_index?e.total_index:n.length,i=n.length>o?n.slice(0,o):n,{assetType:a,index:r}=p(i,t),{imageTotalIndex:s,clipTotalIndex:l,videoTotalIndex:d}=g(i,o);return{assetType:a,assetTypeIndex:r,imageTotalIndex:s,clipTotalIndex:l,videoTotalIndex:d}})(e,o),u={type:n||t,subject:e?.component||"product"},h=e?.videoIds,y=C(e,r,s,l,d,c,i),b=((e,t)=>{if(!e?.sale_price)return{isDiscount:!1,discountAmount:null,discountPercentage:null};const n=m(e.price,t),o=n-m(e.sale_price,t);return{isDiscount:!0,discountAmount:o,discountPercentage:Math.round(100*o/n)}})(e,a),f=((e,t,n,o)=>e?{product_brand:e.brand,product_id:e.id,product_name:e.name?.replace(/<[^>]*>/g,""),index:"number"==typeof e.index?parseInt(e.index,10):null,placement:e.placement,product_price:m(e.price,o),is_product_discount:n.isDiscount,product_discount_amount:n.discountAmount,product_discount_perc:n.discountPercentage,currency_code:o,product_component:e.component,product_rating:"number"==typeof e.rating?parseInt(e.rating,10):null,product_category:e.category,product_ref:e.ref||null,hotel_location:e.hotelLink?.split("/")[2],product_type:e.type||null,product_system:"commerce",features_list:t}:{product_brand:null,product_id:null,product_name:null,index:null,placement:null,product_price:null,is_product_discount:!1,product_discount_amount:null,product_discount_perc:null,currency_code:o,product_component:null,product_rating:null,product_category:null,product_ref:null,hotel_location:null,product_type:null,product_system:"commerce",features_list:t})(e,y,b,a);return{eventData:u,eventEntityProps:f,videoIds:h}},p=(e,t)=>{const n=e[t];if(!n)return{assetType:null,index:null};const{contentType:o}=n;let i;return i="clip"===o?"clip":"cnevideo"===o?"video":"image",{assetType:i,index:t}},g=(e,t)=>{const{clipTotalIndex:n,videoTotalIndex:o}=e.reduce((e,{contentType:t})=>("clip"===t&&e.clipTotalIndex++,"cnevideo"===t&&e.videoTotalIndex++,e),{clipTotalIndex:0,videoTotalIndex:0});return{imageTotalIndex:t-(n+o)||null,clipTotalIndex:n||null,videoTotalIndex:o||null}},h=(e,t,n)=>e===t?n:null,y=e=>{const t=parseInt(e,10);return Number.isNaN(t)?null:t},b=e=>e.textBadge?.name?`badges-${e.textBadge.name}`:"badges",f=e=>e.textBadge?.name?1:null,w=e=>e.showProsConsData?1:null,$=e=>e.hasBookmarkingFeature?1:0,v=e=>{const t=parseInt(e,10);return Number.isNaN(t)?null:t},C=(e,t,n,o,i,a,r)=>e?[{name:"image",index:h(t,"image",n),total_index:y(o)},{name:"rating",index:y(e.rating),total_index:10},{name:"pros&cons",index:null,total_index:w(e)},{name:b(e),index:null,total_index:f(e)},{name:"clip",index:h(t,"clip",n),total_index:y(i)},{name:"video",index:h(t,"video",n),total_index:y(a)},{name:"MBB",index:v(r),total_index:y(e.offersLength)},{name:"bookmark",index:null,total_index:$(e)}]:[];function k(e,t,n,o,a,r,d){const c=function(e,t){const n={};if(Object.keys(l).includes(e)){n.event=e;const o={},{currencyCode:i,actionField:a,products:r,impressions:s,expVariationName:d}=t;o[l[e]]="product-impression"===e?s:{products:r},i&&(o.currencyCode=i),d&&(o.expVariationName=d),a&&(o[l[e]].actionField=a),n.ecommerce=o}return n}(e,t),m="product-impression"===e?"impression":l[e]||"click";let p=null;const g=("product-impression"===e?c.ecommerce?.impressions:c.ecommerce?.[m]?.products)??[];for(const e of g){if(!e)continue;const{eventData:t,eventEntityProps:i,videoIds:l}=u(e,m,o,a,d);if("save"===m){p={eventData:t,eventEntityProps:i,targetEvent:n,actionId:r,videoIds:l};break}let c=null;if("click"===m&&e?.isBookmarked){c={schema:"iglu:com.condenast/save/jsonschema/2-0-1",data:(0,s.yP)({subject:e?.component||"product",isFromBookmark:!0,isDefault:!0,isAutoSelected:!1})}}(0,s.r_)(t,i,n,r,l,c)}return p||!i()(c)&&(window.dataLayer&&(window.dataLayer.push({ecommerce:null}),window.dataLayer.push(c)),!0)}function x(e,t){const{title:n,category:o,productId:i,price:a,vendor:r,variantId:s,quantity:l,currencyCode:d}=t,c={products:[{name:n,brand:r,variant:s,id:i&&i.length>0?i:new URLSearchParams(window.location.hash.substring(1)).get("cid"),category:o,price:a,quantity:l}],currencyCode:d};if(window?.referrer){const e=new URL(window.referrer),t=e?.pathname?.split("/"),n=`${t[1]?`${t[1]}-`:""}${t.pop()}`;c.actionField={list:n}}return k(e,{...c})}function E(e,t){const{dangerousHed:n,brand:o,id:a,offers:s=[],categoriesPaths:l=[],categorySlug:d="",quantity:c,index:m,rating:u,list:p,contentType:g,component:h,placement:y,hotelLink:b,total_index:f,showProsConsData:w,name:$,showBadge:v,textBadge:C,videoIds:k,image:x,offersLength:E,isBookmarked:A,hasBookmarkingFeature:S}=e;let L;const T="commerce-product"===g?a:"",N="venue"===g||"hotel"===g?"hotel":"product",H="commerce-product"===g?"PIM":"Copilot",I=r()(e,"categoriesPaths[0].ancestors",[]);return"commerce-product"!==g||i()(I)||(L=I.map(e=>e.name).join("/")),d?{brand:o?.name,name:$||n,id:a,price:s[0]?.price,sale_price:s[0]?.reducedPrice||s[0]?.comparisonPrice,currency:s[0]?.currency,category:"commerce-product"===g?L:d,quantity:c,position:m,variant:T,actionField:t?.referrer,list:p,type:N,index:m,rating:u,component:h,placement:y,hotelLink:b,ref:H,total_index:f,showProsConsData:w,showBadge:v,textBadge:C,videoIds:k,image:x,offersLength:E,isBookmarked:A,hasBookmarkingFeature:S}:(l.forEach(e=>{!L&&Array.isArray(e)&&(L=e.find(e=>"product-category"===e.slug)?e[0]?.slug:"")}),{brand:o?.name,name:$||n,id:a,price:s[0]?.price,sale_price:s[0]?.reducedPrice||s[0]?.comparisonPrice,currency:s[0]?.currency,category:L,quantity:c,position:m,variant:T,actionField:t?.referrer,list:p,type:N,index:m,rating:u,component:h,placement:y,hotelLink:b,ref:H,total_index:f,showProsConsData:w,showBadge:v,textBadge:C,videoIds:k,image:x,offersLength:E,isBookmarked:A,hasBookmarkingFeature:S})}function A(e){const{window:t,product:n,index:o,actionId:a,layout:r,event:s=null,layoutTitle:l="",type:d,image_index:m=0,offerIndex:u,eventType:p}=e;if(void 0!==t&&t.dataLayer){if(i()(n))return!1;n.id=n.id||n.copilotID||n.variantKey;const{list:e,...g}=E(n,t),{isPDPPage:h}=n,y=c(r,l,h),{expVariationName:b}=n,f={actionField:{list:y},products:[{...g,position:o,quantity:1,list:y}]};return b&&(f.expVariationName=b),k(p||"product-click",f,s,d,m,a,u)}return!1}function S(e,t=[],n="",o=0,i=!1){if(!d.includes(e))return!1;const a=[];let r,s;const l=[...t].map((e,t)=>{const n=JSON.parse(e.getAttribute("data-item"));return e.setAttribute("data-item",JSON.stringify({...n,index:t})),e}),m=e=>e.classList.value.split(" ").includes("impressionTrackingFired");if(i)return l.forEach(t=>{let i;i=function(e,t,n={}){if(!e)throw new Error("No DOM element provided");const o={root:null,rootMargin:"0px 0px -50px 0px",threshold:.3,...n},i=new IntersectionObserver(e=>{e.forEach(e=>{t(e.isIntersecting,e)})},o);return i.observe(e),()=>i.unobserve(e)}(t,l=>{if(l&&!m(t)){t.classList.add("impressionTrackingFired");const l=JSON.parse(t.getAttribute("data-item"));r||(r=l.offers&&l.offers.find(e=>!!e.currency)?.currency),s||({expVariationName:s}=l);const d=l.id||l.copilotID||l.variantKey;l.quantity=1,l.id=d;const{isPDPPage:m}=l;if(l.list=c(e,n,m),a.push(E(l)),a.length>0){const e={currencyCode:r,impressions:a};s&&(e.expVariationName=s),k("product-impression",e,null,null,o)}"function"==typeof i&&i()}})}),!0;{const t=l.filter(e=>!m(e)&&function(e){const t=e.getBoundingClientRect(),n=window.innerWidth||document.documentElement.clientWidth,o=window.innerHeight||document.documentElement.clientHeight;return o>=t.top>=0&&n>=t.left>=0&&n>=t.right>=0&&(t.right-n<=n-t.left||t.right<=n)&&(t.bottom-o<=o-t.top||t.bottom<=o)}(e));if(!t.length)return!1;if(t.forEach(t=>{t.classList.add("impressionTrackingFired");const o=JSON.parse(t.getAttribute("data-item"));r||(r=o.offers&&o.offers.find(e=>!!e.currency)?.currency),s||({expVariationName:s}=o);const i=o.id||o.copilotID||o.variantKey;o.quantity=1,o.id=i;const{isPDPPage:l}=o;o.list=c(e,n,l),a.push(E(o))}),a.length){const e={currencyCode:r,impressions:a};return s&&(e.expVariationName=s),k("product-impression",e,null,null,o)}return!1}}},60254:(e,t,n)=>{n.d(t,{PK:()=>c,Y$:()=>d,bQ:()=>m,js:()=>u});var o=n(38267),i=n(1123),a=(n(26865),n(96472)),r=n(89085),s=n(21608),l=n(75163);const d=`\n color: var(${l.pT.Color.TextPubdate});\n &:hover, &:active {\n color: var(${l.pT.Color.TextPubdate});\n text-decoration: none;\n }\n cursor: unset;\n display: block;\n text-align: center;\n`,c=`\n ${(0,r.universalGridCore)(!1)}\n grid-column: main;\n width: 100%;\n`,m=o.AH` ${(0,i.aU)("padding")} background: var(${l.pT.Color.Surface}); `,u=`\n margin-left: 0;\n padding-left: 0;\n\n @media (min-width: ${a.LO.lg}) {\n margin-left: 0;\n padding-left: 0;\n }\n\n @media (min-width: ${a.LO.xxl}) {\n margin-left: 0;\n padding-left: 0;\n }\n\n &::before,\n &::after {\n @media (min-width: ${a.LO.sm}) and (max-width: ${a.LO.md}) {\n display: none;\n }\n }\n\n ${s.Jy} {\n &:only-child {\n padding-right: 0;\n }\n @media (min-width: ${a.LO.md}) {\n margin-left: 0;\n padding-left: 0;\n }\n }\n`},60824:(e,t,n)=>{n.d(t,{V:()=>a,c:()=>o});var o,i=n(53836);!function(e){e.LIBRARY_PUBADS_READY="library.pubads_ready",e.LIBRARY_SLOT_RENDER_ENDED_FILLED="library.slot_render_ended.filled",e.LIBRARY_SLOT_RENDER_ENDED_EMPTY="library.slot_render_ended.empty",e.LIBRARY_STICKY_HERO_RENDER_ENDED="library.sticky_hero.render_ended",e.LIBRARY_STICKY_HERO_IMPRESSION_VIEWABLE="library.sticky_hero.impression_viewable",e.LIBRARY_CREATIVE_SPACER="library.creative.spacer",e.LIBRARY_CREATIVE_SUPPRESSED="library.creative.suppressed",e.LIBRARY_COMPONENT_DID_UPDATE="library.component_did_update",e.LIBRARY_ADBLOCK_DETECTED="library.environment.adblock.detected",e.LIBRARY_ADBLOCK_NOT_DETECTED="library.environment.adblock.notdetected",e.LIBRARY_ROADBLOCK_DETECTED="library.roadblock.detected",e.LIBRARY_EXCLUDE_POSITIONS="library.exclude_positions",e.VERSO_CMU_COMPONENT_DID_MOUNT="verso.cmu.component_did_mount",e.VERSO_CMU_COMPONENT_DID_UPDATE="verso.cmu.component_did_update"}(o||(o={}));class a extends i.J{constructor(){super(100)}}},61229:(e,t,n)=>{n.d(t,{j:()=>s});var o=n(5556),i=n.n(o),a=n(96540),r=n(38267);function s(e){const t=t=>{const{componentBI:n}=t,{displayName:o}=e;if(!n||!o)return a.createElement(e,{...t});const i=n[o]||null;return i?a.createElement(r.NP,{"data-testid":"ComponentBIProvider",theme:i},a.createElement(e,{...t})):a.createElement(e,{...t})};return t.propTypes={componentBI:i().object},t}},61670:(e,t,n)=>{n.d(t,{dx:()=>c,j0:()=>l,mO:()=>d});var o=n(38267),i=n(76955),a=n(26865),r=n(96472),s=n(70698);const l=o.Ay.div.withConfig({displayName:"BreadcrumbTrailWrapper"})` ${({theme:e,shouldRemoveBackgroundColor:t})=>{const n=(0,s.iq)(e)?"colors.background.black":"colors.background.light";return t?"background-color: transparent;":`${(0,a._o)(e,"background-color",n)};`}}; ${({hasMinimalVerticalSpacing:e})=>e?"padding: 0px, 0px":`padding-top: ${(0,a.Kq)(2.4)};\n padding-bottom: ${(0,a.Kq)(2.4)};`} width: 100%; @media (max-width: ${r.LO.md}) { overflow-y: hidden; overflow-x: scroll; &::-webkit-scrollbar { display: none; } } `,d=o.Ay.div.withConfig({displayName:"BreadcrumbTrailScrollContainer"})` display: flex; width: max-content; `,c=(0,o.Ay)(i.vm).withConfig({displayName:"BreadcrumbTrailItem"})` display: inline-flex; flex-direction: row; align-items: center; ${({theme:e})=>(0,s.iq)(e)&&`\n ${(0,a._o)(e,"color","colors.consumption.lead.inverted.link")};`} a:active, a:link { text-decoration: none; } a:hover, a:focus { text-decoration: underline; } .icon { margin: 0 ${(0,a.Kq)(.2)}; path { ${({theme:e})=>(0,s.iq)(e)&&`\n ${(0,a._o)(e,"fill","colors.consumption.lead.inverted.link")};\n `} } } &:last-of-type { a { ${({theme:e,shouldUseContentHeaderColorForLink:t})=>{const n=(0,s.iq)(e)?(0,a.pe)(e,"colors.consumption.lead.inverted.link",null):(0,a.pe)(e,"colors.discovery.lead.secondary.link",null);return t?(0,a.pe)(e,"colors.consumption.lead.standard.context-signature",null):n}} &:active, &:link { text-decoration: none; } &:hover, &:focus { text-decoration: underline; } } span { ${({theme:e})=>(0,a._o)(e,"color","colors.discovery.lead.secondary.link")}; } .icon { display: none; } } `;c.defaultProps={typeIdentity:"typography.definitions.globalEditorial.tags"}},62067:(e,t,n)=>{n.d(t,{A:()=>o});const o=e=>({setShopifyCartItems:t=>{e({type:"SET_KEY",key:"shopifyCartItems",value:t})},setShopifyWidgetState:t=>{e({type:"SET_KEY",key:"isShopifyCartWidgetOpen",value:t})}})},62096:(e,t,n)=>{n.d(t,{GW:()=>l,Ge:()=>m,M4:()=>c,dk:()=>r,dy:()=>d,vX:()=>s});var o=n(38267),i=n(76955),a=n(26865);const r=o.Ay.div.withConfig({displayName:"ScoreBoxWrapper"})` position: relative; width: ${({size:e})=>"lg"===e?(0,a.Kq)(15.625):(0,a.Kq)(9.25)}; ${({size:e})=>"sm"===e&&"\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n "} `,s=o.Ay.div.withConfig({displayName:"ScoreCircle"})` position: relative; margin-bottom: ${({size:e})=>"lg"===e?(0,a.Kq)(2):(0,a.Kq)(0)}; border: ${({size:e})=>"lg"===e?(0,a.Kq)(1.125):(0,a.Kq)(.75)} solid ${({isBest:e})=>e?({theme:e})=>"inverted"===e.palette?(0,a.HK)("colors.consumption.lead.inverted.accent"):(0,a.HK)("colors.consumption.lead.standard.accent"):(0,a.HK)("colors.consumption.lead.standard.context-signature")}; border-radius: 50%; padding-bottom: ${(0,a.Kq)(2)}; width: ${({size:e})=>"lg"===e?(0,a.Kq)(15.625):(0,a.Kq)(9.25)}; height: ${({size:e})=>"lg"===e?(0,a.Kq)(15.625):(0,a.Kq)(9.25)}; text-align: center; color: ${({isBest:e})=>e?({theme:e})=>"inverted"===e.palette?(0,a.HK)("colors.consumption.lead.inverted.accent"):(0,a.HK)("colors.consumption.lead.standard.accent"):(0,a.HK)("colors.consumption.lead.standard.context-signature")}; `,l=(0,o.Ay)(i.vm).withConfig({displayName:"Rating"})` display: block; position: absolute; top: 50%; transform: translateY(-50%); width: 100%; color: ${({isBest:e})=>e?({theme:e})=>"inverted"===e.palette?(0,a.HK)("colors.consumption.lead.inverted.accent"):(0,a.HK)("colors.consumption.lead.standard.accent"):(0,a.HK)("colors.consumption.lead.standard.context-signature")}; ${(0,a.Gg)("typography.definitions.globalEditorial.numerical-large")}; ${({isBlurred:e})=>e&&"\n filter: blur(10px);\n "} ${({size:e})=>"sm"===e&&"\n font-size: 24px;\n "} `,d=(0,o.Ay)(i.vm).withConfig({displayName:"BestNewMusicText"})` ${(0,a.Gg)("typography.definitions.globalEditorial.context-primary")}; width: ${(0,a.Kq)(15.625)}; text-align: center; color: ${({isBest:e})=>e?({theme:e})=>"inverted"===e.palette?(0,a.HK)("colors.consumption.lead.inverted.accent"):(0,a.HK)("colors.consumption.lead.standard.accent"):(0,a.HK)("colors.consumption.lead.standard.context-signature")}; `,c=o.Ay.svg.withConfig({displayName:"SvgStyle"})` margin-bottom: ${(0,a.Kq)(.5,"px")}; margin-left: ${({size:e})=>"lg"===e?(0,a.Kq)(4.5625,"px"):0}; width: ${({size:e})=>"lg"===e?(0,a.Kq)(6.5):(0,a.Kq)(3.75)}; height: ${({size:e})=>"lg"===e?(0,a.Kq)(3.375):(0,a.Kq)(1.875)}; `,m=o.Ay.div.withConfig({displayName:"SvgWrapper"})` svg { fill: ${({isBest:e})=>e?({theme:e})=>"inverted"===e.palette?(0,a.HK)("colors.consumption.lead.inverted.accent"):(0,a.HK)("colors.consumption.lead.standard.accent"):(0,a.HK)("colors.consumption.lead.standard.context-signature")}; } line-height: 0em; `},62171:(e,t,n)=>{n.d(t,{A:()=>Ie});var o=n(5556),i=n.n(o),a=n(96540),r=n(6442),s=n(72267);const l=(0,s.defineMessages)({groupedNavigationFilterLabel:{id:"CuratedShows.GroupedNavigationFilterLabel",defaultMessage:"Search for a designer...",description:"CuratedShows component grouped navigation filter label"},groupedNavigationBrowserFilterLabel:{id:"CuratedShows.GroupedNavigationBrowserFilterLabel",defaultMessage:"Search...",description:"CuratedShows component grouped navigation filter label"},groupedNavigationSummaryCarouselFilterLabel:{id:"CuratedShows.GroupedNavigationSummaryCarouselFilterLabel",defaultMessage:"Search...",description:"CuratedShows component grouped navigation filter label"},buttonLabel:{id:"CuratedShows.ButtonLabel",defaultMessage:"View all shows",description:"CuratedShows component button label"},drawerContentLabel:{id:"CuratedShows.DrawerContentLabel",defaultMessage:"Runway All Shows navigation",description:"CuratedShows component drawer content label"}});var d=n(94327),c=n(31226),m=n(39733),u=n(90506),p=n(13465),g=n(38221),h=n.n(g);var y=n(53499),b=n(38267),f=n(76955),w=n(26865),$=n(48188),v=n(96472);const C=b.Ay.div.withConfig({displayName:"GroupedNavigationWrapper"})` padding-top: ${(0,w.Kq)(4)}; ${({hasFilter:e})=>e&&`padding-top: ${(0,w.Kq)(2)};`} .navigation__heading { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.foundation.title-primary")}; margin: 0; line-height: normal; ${({theme:e})=>(0,w._o)(e,"color","colors.foundation.expanded-utility.nav-link.default")}; } .navigation__list-item { white-space: normal; } .content-divider { display: block; margin-bottom: ${(0,w.Kq)(2)}; border-bottom-width: ${(0,w.Kq)(.5)}; border-bottom-style: solid; ${({theme:e})=>(0,w._o)(e,"border-bottom-color","colors.discovery.lead.secondary.accent")}; padding-top: ${(0,w.Kq)(1)}; width: ${(0,w.Kq)(2)}; } .grouped-navigation__link { ${({theme:e})=>(0,w.pe)(e,"colors.foundation.expanded-utility.nav-link.default","colors.foundation.expanded-utility.nav-link.hover","navigation")} &.link--primary { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.foundation.link-primary")}; } &.link--secondary { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.foundation.link-secondary")}; } } `,k=b.Ay.div.withConfig({displayName:"GroupedNavigationFilter"})` position: static; border-width: 0 0 1px; border-style: none; padding-top: 2rem; width: 100%; ${({theme:e})=>(0,w._o)(e,"color","colors.discovery.body.white.divider")}; .icon { position: absolute; top: 10px; pointer-events: none; } `,x=b.Ay.div.withConfig({displayName:"GroupedNavigationFilterContent"})` position: relative; width: 100%; text-align: center; `,E=(0,b.Ay)(f.vm).withConfig({displayName:"GroupedNavigationFilterInput"})` ${({theme:e})=>(0,w.FM)(e,"normal","background")}; ${({theme:e})=>(0,w.FM)(e,"normal","text")}; border: 1px solid #d8d8d8; padding-left: 48px; width: 385px; height: 50px; @media (max-width: ${v.LO.lg}) { width: 100%; } `;E.defaultProps={as:"input",typeIdentity:"typography.definitions.foundation.link-secondary"};const A=b.Ay.div.withConfig({displayName:"GroupedNavigationContent"})` display: flex; width: 100% ${({hasFilter:e})=>e&&`\n padding-top: ${(0,w.Kq)(4)};\n height: calc(100% - 60px);\n width: 100%\n\n `}; height: 100%; `,S=b.Ay.div.withConfig({displayName:"GroupedNavigationLinks"})` flex: 1; padding-top: 2rem; width: 100%; height: 100%; overflow-y: auto; && li { padding-bottom: ${(0,w.Kq)(2)}; &.link--primary { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.foundation.link-primary")}; } &.link--secondary { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.foundation.link-secondary")}; } } `,L=(0,b.Ay)(f.vm).withConfig({displayName:"GroupedNavigationNoResult"})` margin: 30px 10px; text-align: center; text-transform: lowercase; color: rgb(0, 0, 0); `;L.defaultProps={as:"div",typeIdentity:"typography.definitions.foundation.title-primary"};const T=(0,b.Ay)(f.vm).withConfig({displayName:"GroupedNavigationQuote"})` color: rgb(0, 0, 0); `;T.defaultProps={as:"span",typeIdentity:"typography.definitions.foundation.title-primary"};const N=(0,b.Ay)($.A.Vertical).withConfig({displayName:"GroupedNavigationGroup"})` padding-right: 1rem; `,H=(b.Ay.div.withConfig({displayName:"GroupedNavigationIndex"})` position: static; padding-right: ${(0,w.Kq)(1)}; overflow-y: auto; `,(0,s.defineMessages)({filterInputAriaLabelText:{id:"GroupedNavigationHasSummaryCarousel.FilterInputAriaLabel",defaultMessage:"Filter links",description:"Grouped Navigation Filter component aria label text",isConfigurable:!0}}));var I=n(34751),B=n(68397),O=n(35864);const _=({className:e,dangerousHed:t,groupedLinks:n,showContentDivider:o=!0,hasFilter:i=!1,analyticsEventForFilter:s,filterLabel:l})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(y.G.RENDER,{name:"GroupedNavigationHasSummaryCarousel"})},[]);const{formatMessage:c}=(0,r.A)(),m=a.useRef(null),[p,g]=(0,a.useState)(""),[b,f]=((e,t)=>{const[n,o]=(0,a.useState)(e),i=(0,a.useCallback)(h()(e=>{o(e)},t),[]);return[n,e=>{i(e)}]})(n,200);let w=[];if(b.length>0){w=[];let e=0;b.forEach(t=>{(!w.length||e>=9)&&(w.push([]),e=0),t.links&&(e=e+t.links.length+1),e<9?w[w.length-1].push(t):(w.push([]),w[w.length-1].push(t),e=t.links.length)}),w.length%2!=0&&(w.push([]),w[w.length-1].push({groupName:"",links:[]}))}return n&&n.length?a.createElement(C,{className:e,hasFilter:i,"data-testid":"GroupedNavigationWrapper"},t&&a.createElement(O.default,{dangerousHed:t,hasDividerAbove:!0,hasDividerBelow:!0,textAlign:"center","data-testid":"section-title"}),i&&a.createElement(k,null,a.createElement(x,null,a.createElement(u.A,null),a.createElement(E,{placeholder:l,"aria-label":l||c(H.filterInputAriaLabelText),name:"filter",type:"text",onChange:e=>{const t=e.target.value;g(t),f(()=>((e,t)=>{if(!t?.trim())return e;const n=e=>e.toString().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9\s]/gi,"");return e.map(e=>({...e,links:e.links?.filter(e=>/(\s|')/.test(t)?n(e.text).includes(n(t)):e.text.match(/([a-zA-Z]\.){2,}/)?e.text.split(" ").filter(e=>n(e).startsWith(n(t))).length:e.text.split(/([ \-'’.]+)/).filter(e=>n(e).startsWith(n(t))).length)})).filter(e=>e.links?.length)})(n,t))},onFocus:()=>{s&&(0,d.W8)(s)},value:p}))),a.createElement(A,{hasFilter:i},a.createElement(S,{ref:m},b.length>0?a.createElement(I.F5,{backgroundColor:"white"},a.createElement(B.A,{carouselSettings:{showControls:!0,hasPaginationDots:!0,isPaginationClickable:!0}},w.map((e,n)=>a.createElement(B.A.CarouselItem,{key:`grouped-navigation-${n}`,trackingEventData:{carouselName:t,itemIndex:n,totalItems:w.length}},e.map(e=>{if(!e.links)return null;const t=e.links.map(e=>{const t=!0===e.isSecondary?"link--secondary":"link--primary";return{...e,className:t}});return a.createElement(N,{key:e.groupName,className:"grouped-navigation__group",links:t,linkClassName:"grouped-navigation__link",heading:e.groupName,showContentDivider:o,shouldStyleListItems:!0,attributes:{}})}))))):a.createElement(L,null,"0 results for"," ",a.createElement(T,null,'"',p,'"'))))):null},K=i().shape({text:i().string.isRequired,url:i().string.isRequired,isSecondary:i().bool,analyticsEvent:i().string}),P=i().arrayOf(i().shape({links:i().arrayOf(K),groupName:i().string,groupId:i().string}));_.propTypes={analyticsEventForFilter:i().string,className:i().string,dangerousHed:i().string,filterLabel:i().string,groupedLinks:P,hasFilter:i().bool,showContentDivider:i().bool},_.displayName="GroupedNavigationHasSummaryCarousel";const D=(0,p.y)(_,"GroupedNavigationHasSummaryCarousel");var q=n(97200),M=n.n(q);const R=(e,t)=>{if(!t?.trim())return e;const n=e=>e.toString().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9\s]/gi,"");return e.map(e=>({...e,links:e.links?.filter(e=>/(\s|')/.test(t)?n(e.text).includes(n(t)):e.text.match(/([a-zA-Z]\.){2,}/)?e.text.split(" ").filter(e=>n(e).startsWith(n(t))).length:e.text.split(/([ \-'’.]+)/).filter(e=>n(e).startsWith(n(t))).length)})).filter(e=>e.links?.length)};var F=n(86659);const U=b.Ay.div.withConfig({displayName:"GroupedNavigationWrapper"})` padding-top: ${(0,w.Kq)(4)}; scroll-behavior: smooth; ${({hasFilter:e})=>e&&`padding-top: ${(0,w.Kq)(2)};`} .navigation__heading { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.foundation.link-feature")}; margin: 0; line-height: normal; ${({theme:e})=>(0,w._o)(e,"color","colors.foundation.expanded-utility.nav-link.default")}; } .navigation__list-item { width: 50%; white-space: normal; @media (min-width: ${v.LO.lg}) { width: 33.3%; } } .navigation__list { margin-bottom: 0; } .content-divider { display: block; margin-bottom: ${(0,w.Kq)(2)}; border-bottom-width: ${(0,w.Kq)(.5)}; border-bottom-style: solid; ${({theme:e})=>(0,w._o)(e,"border-bottom-color","colors.discovery.lead.secondary.accent")}; padding-top: ${(0,w.Kq)(1)}; width: ${(0,w.Kq)(3)}; } .grouped-navigation__link { ${({theme:e})=>(0,w.pe)(e,"colors.foundation.expanded-utility.nav-link.default","colors.foundation.expanded-utility.nav-link.hover","navigation")} &.link--primary { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.foundation.link-primary")}; } &.link--secondary { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.discovery.hed-bulletin-primary")}; } } `,V=b.Ay.div.withConfig({displayName:"GroupedNavigationFilter"})` position: static; border-width: 0 0 1px; border-style: none; padding-top: 2rem; width: 100%; ${({isPaginated:e})=>e&&`\n border-bottom: 1px solid rgb(223, 223, 223);\n padding-bottom: ${(0,w.Kq)(4)};\n `} ${({theme:e})=>(0,w._o)(e,"color","colors.discovery.body.white.divider")}; .icon { position: absolute; top: 10px; pointer-events: none; } @media (min-width: ${v.LO.lg}) { display: flex; flex-direction: row; } `,G=b.Ay.div.withConfig({displayName:"GroupedNavigationFilterContent"})` position: relative; width: 100%; text-align: left; @media (min-width: ${v.LO.lg}) { width: 25%; } `,W=b.Ay.div.withConfig({displayName:"GroupedNavigationFilterBrowser"})` position: relative; padding-top: 5%; width: 100%; text-align: left; @media (min-width: ${v.LO.lg}) { ${({isPaginated:e})=>e?"padding-top: 0px;":"padding-top: 1%;"}; padding-left: 2%; width: 75%; } `,j=(0,b.Ay)(f.vm).withConfig({displayName:"GroupedNavigationFilterInput"})` ${({theme:e})=>(0,w.FM)(e,"normal","background")}; ${({theme:e})=>(0,w.FM)(e,"normal","text")}; border: 1px solid #d8d8d8; padding-left: 48px; width: 100%; height: 50px; `;j.defaultProps={as:"input",typeIdentity:"typography.definitions.foundation.link-secondary"};const z=b.Ay.div.withConfig({displayName:"GroupedNavigationContent"})` display: flex; width: 100% ${({hasFilter:e})=>e&&`\n padding-top: ${(0,w.Kq)(4)};\n\n `}; height: 100%; `,Y=(0,b.Ay)(F.A.ContentWithAdRail).withConfig({displayName:"GroupedNavigationAdRail"})` &&& { margin: 0 0; padding: 0 0; height: 100%; --grid-margin: 0; } `,X=b.Ay.div.withConfig({displayName:"GroupedNavigationLinks"})` flex: 1; padding-top: 1rem; width: 100%; height: 100%; overflow-y: auto; @media (min-width: ${v.LO.lg}) { padding-top: 2rem; } && li { padding-bottom: ${(0,w.Kq)(2)}; &.link--primary { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.foundation.link-primary")}; } &.link--secondary { ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.foundation.link-secondary")}; } } `,Z=(0,b.Ay)($.A).withConfig({displayName:"GroupedNavigationGroup"})` margin-bottom: 15px; ${({isPaginated:e})=>!e&&"border-bottom: 1px solid #dddddd;"} &:last-child { border-bottom: 0; } `,J=(b.Ay.div.withConfig({displayName:"GroupedNavigationIndex"})` position: static; padding-right: ${(0,w.Kq)(1)}; overflow-y: auto; `,(0,b.Ay)(f.vm).withConfig({displayName:"AtoZIndexWrapper"})` width: 100%; text-align: center; @media (min-width: ${v.LO.lg}) { text-align: left; } `);J.defaultProps={as:"nav"};const Q=(0,b.Ay)(f.vm).withConfig({displayName:"AtoZIndexList"})` display: inline; top: 10px; margin-top: 0; padding: 0; list-style: none; `;Q.defaultProps={as:"ul"};const ee=(0,b.Ay)(f.vm).withConfig({displayName:"AtoZIndexValue"})` display: inline-block; width: 25px; `;ee.defaultProps={as:"span"};const te=(0,b.Ay)(f.sH).withConfig({displayName:"AtoZIndexLink"})` display: inline; padding-top: ${(0,w.Kq)(.25)}; padding-bottom: ${(0,w.Kq)(.25)}; letter-spacing: 0; `;te.defaultProps={colorSecondaryLinkToken:"colors.foundation.expanded-utility.nav-link.hover",colorStaticLinkToken:"colors.foundation.expanded-utility.nav-link.default",colorToken:"colors.foundation.expanded-utility.nav-link.default",linkStyle:"navigation",typeToken:"typography.definitions.foundation.link-feature"};const ne=(0,b.Ay)(f.vm).withConfig({displayName:"AtoZIndexText"})` display: inline; padding-top: ${(0,w.Kq)(.25)}; padding-bottom: ${(0,w.Kq)(.25)}; color: #757575; `;ne.defaultProps={as:"li",colorToken:"colors.foundation.expanded-utility.nav-link.default",typeIdentity:"typography.definitions.foundation.link-feature"};const oe=(0,b.Ay)(f.vm).withConfig({displayName:"AtoZHeading"})` top: 10px; padding-right: 10px; padding-bottom: 4%; color: rgb(0, 0, 0); @media (min-width: ${v.LO.lg}) { display: inline; padding-bottom: 0%; } `;oe.defaultProps={typeIdentity:"typography.definitions.foundation.link-feature"};const ie=(0,b.Ay)(f.vm).withConfig({displayName:"GroupedNavigationNoResult"})` margin: 30px 10px; text-align: center; text-transform: lowercase; color: rgb(0, 0, 0); `;ie.defaultProps={as:"div",typeIdentity:"typography.definitions.foundation.title-primary"};const ae=(0,b.Ay)(f.vm).withConfig({displayName:"GroupedNavigationQuote"})` color: rgb(0, 0, 0); `;ae.defaultProps={as:"span",typeIdentity:"typography.definitions.foundation.title-primary"};const re=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],se=({links:e,navId:t,setLinkValue:n,isPaginated:o,setFilterResult:i})=>{if(!e||!e.length)return null;const r=e=>{e.preventDefault();const t=document.getElementById(e.target.hash.replace("#",""));if(!t)return;const{offsetTop:n}=t,o=n-90,i=4*(o-window.pageYOffset)/400;let a;a=setInterval(function(){const e=Math.ceil(window.pageYOffset);e>=o&&i>=0||e<=o&&i<=0?clearInterval(a):window.scrollBy(0,i)},4)},s=t=>{t.preventDefault();const o=t.target.hash.replace("#","").split("-")[1];n(o),i(()=>R([e[o]],""))};return a.createElement(J,{"data-testid":"AtoZIndexWrapper"},a.createElement(oe,null,"Browse by letter:"),a.createElement(Q,null,re.map(n=>{const i=e.find(e=>e.groupName===n),l=e.findIndex(e=>e.groupName===n),d=o?l:t,c=o?s:r;return i?a.createElement(ee,{key:n},a.createElement(te,{"data-testid":"AtoZIndexLink",href:"#"+("#"===i.groupName?`other-${d}`:`${i.groupName.toLowerCase()}-${d}`),onClick:c},n)):a.createElement(ee,{key:n},a.createElement(ne,null,n," "))})))};se.propTypes={isPaginated:i().bool,links:i().arrayOf(i().shape({groupName:i().string.isRequired})),navId:i().string,setFilterResult:i().func,setLinkValue:i().func};const le=se;var de=n(19607),ce=n(11025),me=n(38080);const ue=(0,s.defineMessages)({filterInputAriaLabelText:{id:"GroupedNavigationHasBrowser.FilterInputAriaLabel",defaultMessage:"Filter links",description:"Grouped Navigation Filter component aria label text",isConfigurable:!0}}),pe=({className:e,dangerousHed:t,groupedLinks:n,hasAtoZIndex:o=!0,hasFilter:i=!1,analyticsEventForFilter:s,filterLabel:l="Search..",showContentDivider:c=!1,isPaginated:m=!1})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(y.G.RENDER,{name:"GroupedNavigationHasBrowser"})},[]);const{formatMessage:p}=(0,r.A)(),g=M()(),[b,f]=(0,a.useState)(""),w=m?[n[0]]:n,[$,v]=((e,t)=>{const[n,o]=(0,a.useState)(e),i=(0,a.useCallback)(h()(e=>{o(e)},t),[]);return[n,e=>{i(e)}]})(w,200),[C,k]=(0,a.useState)("0");return n&&n.length?a.createElement(U,{className:e,hasFilter:i,"data-testid":"GroupedNavigationWrapper"},t&&a.createElement(O.default,{dangerousHed:t,hasDividerAbove:!0,hasDividerBelow:!0,textAlign:"center","data-testid":"section-title"}),i&&a.createElement(V,{isPaginated:m},a.createElement(G,null,a.createElement(u.A,null),a.createElement(j,{placeholder:l,"aria-label":l||p(ue.filterInputAriaLabelText),name:"filter",type:"text",onChange:e=>{const t=e.target.value,o=m?[n[C]]:n;f(t),v(()=>R(o,t))},onFocus:()=>{s&&(0,d.W8)(s)},value:b})),a.createElement(W,{isPaginated:m},o&&a.createElement(le,{links:n,navId:g,setLinkValue:k,isPaginated:m,setFilterResult:v}))),a.createElement(Y,null,$.length>0?a.createElement(z,{hasFilter:i},a.createElement(X,null,$.map(e=>{if(!e.links)return null;const t=e.links.map(e=>{const t=!0===e.isSecondary?"link--secondary":"link--primary";return{...e,className:t}}),n={};return o&&(n.id="#"===e.groupName?`other-${g}`:`${e.groupName.toLowerCase()}-${g}`),a.createElement(Z,{key:e.groupName,className:"grouped-navigation__group",links:t,linkClassName:"grouped-navigation__link",heading:e.groupName,showContentDivider:c,shouldStyleListItems:!0,attributes:n,isPaginated:m})}))):a.createElement(ie,null,"0 results for"," ",a.createElement(ae,null,'"',b,'"')),a.createElement(me.Z,{group:"ads"},a.createElement(ce.A,null,a.createElement(de.A,{position:"rail"}))))):null},ge=i().shape({text:i().string.isRequired,url:i().string.isRequired,isSecondary:i().bool,analyticsEvent:i().string}),he=i().arrayOf(i().shape({links:i().arrayOf(ge),groupName:i().string,groupId:i().string}));pe.propTypes={analyticsEventForFilter:i().string,className:i().string,dangerousHed:i().string,filterLabel:i().string,groupedLinks:he,hasAtoZIndex:i().bool,hasFilter:i().bool,isPaginated:i().bool,showContentDivider:i().bool},pe.displayName="GroupedNavigationHasBrowser";const ye=(0,p.y)(pe,"GroupedNavigationHasBrowser");var be=n(6082),fe=n(96747),we=n(67170),$e=n(51054),ve=n(34520),Ce=n(35089),ke=n(89085),xe=n(1123);const Ee=(0,b.Ay)("div").withConfig({displayName:"CuratedShowsWrapper"})` ${(0,ke.universalGridCore)()} ${(0,xe.aU)("padding")} &&& { row-gap: 0; } `,Ae=b.Ay.div.withConfig({displayName:"CuratedShowsFullWrapper"})` grid-column: 1 / -1; `,Se=(0,b.Ay)(ve.A.Right).withConfig({displayName:"CuratedShowsDrawer"})` &&& { padding: 0 ${(0,w.Kq)(4)}; } `,Le=b.Ay.div.withConfig({displayName:"CuratedShowsListWrapper"})` display: none; @media (min-width: ${v.LO.lg}) { display: block; position: sticky; top: ${(0,w.Kq)(8)}; margin-bottom: auto; border: 1px solid ${({theme:e})=>(0,w.HK)(e,"colors.discovery.body.white.divider")}; height: 100%; max-height: calc(100vh - ${(0,w.Kq)(8)}); ${({hideCuratedShowsList:e})=>!e&&`\n grid-column: 1 / span 3;\n @media (min-width: ${v.LO.xxl}) {\n grid-column: 1 / span 2;\n }\n `} ${Ce.UW} { position: absolute; padding-left: ${(0,w.Kq)(2)}; width: 100%; } } `,Te=b.Ay.div.withConfig({displayName:"CuratedShowsGridWrapper"})` grid-column: 1 / -1; margin-bottom: auto; @media (min-width: ${v.LO.lg}) { ${({hideCuratedShowsList:e})=>e?"grid-column: 1 / -1;":"\n grid-column: 4 / -1;\n "} border: 1px solid ${({theme:e})=>(0,w.HK)(e,"colors.discovery.body.white.divider")}; } @media (min-width: ${v.LO.xxl}) { ${({hideCuratedShowsList:e})=>e?"grid-column: 1 / -1;":"\n grid-column: 3 / -1;\n "} } `,Ne=b.Ay.div.withConfig({displayName:"CuratedShowsViewAllWrapper"})` display: flex; grid-column: 1 / -1; grid-row: 2; justify-content: center; border-top: 1px solid ${({theme:e})=>(0,w.HK)(e,"colors.discovery.body.white.divider")}; padding-top: ${(0,w.Kq)(2)}; .button__icon-container--after { display: flex; padding-left: ${(0,w.Kq)(.5)}; fill: ${({theme:e})=>(0,w.HK)(e,"colors.interactive.base.brand-secondary")}; } @media (min-width: ${v.LO.lg}) { display: none; } `,He=({curatedShows:e,allShows:t,label:n="",hasCuratedShowsVariation:o="CuratedShowsWithImage",hideCuratedShowsList:i})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(y.G.RENDER,{name:"CuratedShows"})},[]);const[s,u]=(0,a.useState)(!1),{formatMessage:p}=(0,r.A)(),g=""===n?p(l.buttonLabel):n;switch(o){case"CuratedShowsWithImage":return a.createElement(Ee,null,!i&&a.createElement(Le,{hideCuratedShowsList:i},a.createElement($e.A,null,a.createElement(be.A,{hasAtoZIndex:!0,groupedLinks:t,hasFilter:!0,filterLabel:p(l.groupedNavigationFilterLabel)}))),a.createElement(Te,{hideCuratedShowsList:i},a.createElement($e.A,null,a.createElement(fe.A,{items:e}))),a.createElement(Ne,null,a.createElement(c.A.Utility,{btnStyle:"text",label:g,onClickHandler:()=>{u(!0),(0,d.W8)("view_all_shows")},ButtonIcon:()=>a.createElement(m.A,{width:"1rem",height:"1rem"}),iconPosition:"after",hasEnableIcon:!0})),a.createElement(Se,{isOpen:s,onClose:()=>{u(!1)},contentLabel:p(l.drawerContentLabel),showCloseButton:!0,hideOnDesktop:!0},a.createElement(be.A,{hasAtoZIndex:!0,groupedLinks:t,hasFilter:!0,filterLabel:p(l.groupedNavigationFilterLabel)})));case"CuratedShowsWithSummaryCarousel":return a.createElement(Ee,null,a.createElement(Ae,null,a.createElement($e.A,null,a.createElement(D,{groupedLinks:t,hasFilter:!0,filterLabel:p(l.groupedNavigationSummaryCarouselFilterLabel)}))));case"CuratedShowsWithBrowser":return a.createElement(Ee,null,a.createElement(Ae,null,a.createElement($e.A,null,a.createElement(ye,{hasAtoZIndex:!0,groupedLinks:t,hasFilter:!0,filterLabel:p(l.groupedNavigationBrowserFilterLabel)}))));default:return null}};He.propTypes={allShows:be.X.isRequired,curatedShows:i().arrayOf(i().shape(we.A.propTypes)).isRequired,hasCuratedShowsVariation:i().string,hideCuratedShowsList:i().bool,label:i().string};const Ie=He},62251:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(47655),i=n(5556),a=n.n(i),r=n(96540),s=n(6442),l=n(15956);const d=({btnStyle:e="filled",rubric:t,dek:n,source:o,target:i,url:a})=>{const s=o||"Explore Now";return r.createElement(l.e8,null,r.createElement(l.ww,null,t&&r.createElement(l.Cj,{"data-testid":"ToutHed",dangerouslySetInnerHTML:{__html:t}}),n&&r.createElement(l.lP,{"data-testid":"ToutDek",dangerouslySetInnerHTML:{__html:n}})),a&&r.createElement(l.Zy,{btnStyle:e,href:a,label:s,target:i,inputKind:"link"}))};d.propTypes={btnStyle:a().string,dek:a().string,rubric:a().string,source:a().string,target:a().string,url:a().string},d.displayName="Tout";const c=d;var m=n(11542),u=n(53499);const p=(0,n(72267).defineMessages)({seeMoreContributorLink:{id:"ContributorHeader.SeeMoreContributorLink",defaultMessage:"See More By",description:"See More article link of contributor"}});var g=n(24283);const h=({avatarImageShape:e="rectangle",clampBreakpoint:t="xxl",contributorBioAlignment:n="default",contributorHedMaxLines:o=0,contributorHedMaxLinesOnMobile:i=0,dangerousBio:a,dangerousShortBio:l,descriptionToken:d,featureFlags:{enableFictionContributor:m},hasAvatarImageBackground:h=!1,hasSmallAvatar:y=!1,clampReadLessText:b,clampReadMoreText:f,image:w,ledeAlignment:$="default",name:v,fallbackBioSuffix:C,shouldHideTitle:k=!1,shouldRemoveNameMargin:x=!1,showSocialIcons:E=!0,socialIconsProps:A,socialIconType:S="standard",title:L,url:T="",className:N,shouldApplyMaxWidth:H=!1,hasLeftAlignedHeader:I=!1,hasPaddingTop:B=!0,showSeeMoreLink:O,variations:{isFeaturedAuthor:_,isDenseHeader:K}={isFeaturedAuthor:!1,isDenseHeader:!1},externalLinkData:P,hasBorders:D=!1})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"ContributorHeader"})},[]);const{formatMessage:q}=(0,s.A)(),M=`${q(p.seeMoreContributorLink)} ${v} `,R=a||(C?`${v} ${C}`:"");let F=r.createElement(g.tr,{"data-testid":"ContributorHeaderBio",dangerouslySetInnerHTML:{__html:R},isFeaturedAuthor:_,isDenseHeader:K,enableFictionContributor:m,contributorBioAlignment:n,descriptionToken:d});const U=r.createElement(r.Fragment,null,v&&r.createElement(g.y,{"data-testid":"ContributorHeaderName",shouldRemoveNameMargin:x,isDenseHeader:K},v),L&&!k&&r.createElement(g.vo,{isDenseHeader:K},L)),V=r.createElement(g.JR,{isImage:w},w&&r.createElement(g.BQ,{...w}),r.createElement(g.HY,{isDenseHeader:K},U));return o>0&&(F=r.createElement(g.s_,{lines:o,clampReadMoreText:f,clampReadLessText:b,contributorBioAlignment:n,isCollapsible:!0,enableFictionContributor:m,breakpoint:t,linesInMobile:i},F)),r.createElement(g.Wz,{className:N,enableFictionContributor:m},r.createElement(g.Qk,{shouldApplyMaxWidth:H,hasLeftAlignedHeader:I,hasPaddingTop:B},w&&!K&&r.createElement(g.vk,{ledeAlignment:$,hasAvatarImageBackground:h,hasLeftAlignedHeader:I},r.createElement(g.wh,{...w,avatarImageShape:e,hasSmallAvatar:y})),r.createElement(g.eS,{ledeAlignment:$,isContributorImageEmpty:!w,isFeaturedAuthor:_,hasLeftAlignedHeader:I,hasBorders:D},K?V:U,l&&r.createElement(g.lf,{"data-testid":"ContributorHeaderShortBio",dangerouslySetInnerHTML:{__html:l}}),R&&F,E&&A&&r.createElement(g.qL,{...A,variations:{theme:S}}),O&&r.createElement(g.tX,{href:T},M,"»"),K&&P&&r.createElement(c,{...P}))))};h.propTypes={avatarImageShape:a().oneOf(["round","rectangle"]),clampBreakpoint:a().string,clampReadLessText:a().string,clampReadMoreText:a().string,className:a().string,contributorBioAlignment:a().oneOf(["center","default","left","right"]),contributorHedMaxLines:a().number,contributorHedMaxLinesOnMobile:a().number,dangerousBio:a().string,dangerousShortBio:a().string,descriptionToken:a().string,externalLinkData:a().object,fallbackBioSuffix:a().string,featureFlags:a().object,hasAvatarImageBackground:a().bool,hasBorders:a().bool,hasLeftAlignedHeader:a().bool,hasPaddingTop:a().bool,hasSmallAvatar:a().bool,image:a().object,ledeAlignment:a().oneOf(["center","default"]),name:a().string.isRequired,shouldApplyMaxWidth:a().bool,shouldHideTitle:a().bool,shouldRemoveNameMargin:a().bool,showSeeMoreLink:a().bool,showSocialIcons:a().bool,socialIconsProps:a().object,socialIconType:a().oneOf(["footer","has-background","circular","overlay","standard"]),title:a().string,url:a().string,variations:a().shape({isFeaturedAuthor:a().bool,isDenseHeader:a().bool})},h.displayName="ContributorHeader";const y=(0,m.M3)(h,{keysToPluck:["featureFlags"]});y.FeaturedAuthor=(0,o.y)(y,"FeaturedAuthor",{isFeaturedAuthor:!0},{clampBreakpoint:"xxxl",contributorHedMaxLines:6,contributorHedMaxLinesOnMobile:10,contributorBioAlignment:"left",shouldHideTitle:!0,showSocialIcons:!1,shouldRemoveNameMargin:!0,shouldApplyMaxWidth:!0,hasLeftAlignedHeader:!0,hasPaddingTop:!0}),y.DenseHeader=(0,o.y)(y,"DenseHeader",{isDenseHeader:!0},{avatarImageShape:"round",shouldHideTitle:!1,shouldRemoveNameMargin:!0,showSocialIcons:!1});const b=y},62747:(e,t,n)=>{n.d(t,{S:()=>f,L:()=>b});var o=n(96540),i=n(7462),a=n(56892),r=n(60663),s=(n(58156),n(55364)),l=n.n(s);var d=n(84410);var c,m,u=n(72362),p=n(9170);!function(e){e.MERGE_KEY="MERGE_KEY"}(c||(c={})),function(e){e.EXPERIMENT_DATA="experimentData",e.COMPONENT_CONFIG="componentConfig"}(m||(m={}));var g=n(3624),h=n(56822);class y{constructor(e,t){this.config=e,this.store=t,this.localStorage=(0,r.Y)(()=>window.localStorage)}getGbInstance(){return this.gb}canCreate(){return!(0,p.w)(window.navigator.userAgent)&&!!(this.config.growthbook.enableClient&&this.config.growthbook.apiHost&&this.config.growthbook.clientSdkKey)}async initialize(){if(void 0!==window._growthbook)return this.gb=window._growthbook,this.postInit(),!0;if(!this.canCreate())return!1;(0,h.N9)("gb-react-start");const e=(0,a.getCookie)("amg_user_partner"),t=(0,a.getCookie)("cn-debug"),n=(0,a.getCookie)("CN_xid"),o=(0,a.getCookie)("CN_segments"),r=(0,a.getCookie)("CN_geo_country_code"),{apiHost:s,clientSdkKey:l}=this.config.growthbook,{userAgent:d}=window.navigator,p=this.store.getState(),{user:g,coreDataLayer:y}=p,{section:b,contentType:f,hasBuyButtons:w,brandSlug:$}=y.content,v=new i.LE({prefix:"gbStickyBuckets__"}),C=["tatler","woi"].includes($)&&!!n;return C&&this.localStorageXidCleanUp("gbStickyBuckets__",n),!(!s||!l)&&(this.gb=new i.NN({apiHost:s,clientKey:l,enableDevMode:"true"===t,stickyBucketService:C?v:void 0,attributes:{userAgent:d,id:n,url:window.location.href,isMobile:!(0,u.Zm)(),loggedIn:g.isAuthenticated||!1,segment:o,section:b,contentType:f,hasBuyButtons:"true"===w,amgUserPartner:e,countryCode:r},trackingCallback:(e,t)=>{const n=[],o=this.createSnowplowExp(e,t);n.push(o),this.store.dispatch({type:c.MERGE_KEY,key:m.EXPERIMENT_DATA,value:o}),this.setupDataLayerExperiments(n),(0,h.N9)("gb-react-tracking-end"),(0,h.I6)("gb-react-tracking-finish","gb-react-end","gb-react-tracking-end")}}),await this.gb.init({streaming:!1}),(0,h.N9)("gb-react-end"),(0,h.I6)("gb-react-ready","gb-react-start","gb-react-end"),this.postInit(),!0)}postInit(){this.registerSegmentUpdateListener()}updateComponentBeforeRendering(e){const t=this.store.getState()["head.pageType"]||"";if(this.isNewFormatExperiment(e))for(const n of e.updates)n.pageType&&!n.pageType.includes(t)||this.dispatchExperimentData(n.reduxKey,n.payload);else this.dispatchExperimentData(m.COMPONENT_CONFIG,function(e,t){let n={};try{if(Array.isArray(e.updates)&&t)e.updates.forEach(e=>{e.pageType&&!e.pageType.includes(t)||(n=l()({},n,e.payload))});else if(e.client&&t){const{client:o}=e;Object.keys(o).forEach(e=>{const i=`${t}PageContext`.toLowerCase();i&&i.includes(e.toLowerCase().replace("Context",""))&&(n=l()({},n,o[e]))})}}catch(e){return n}return n}(e,t))}isNewFormatExperiment(e){return Array.isArray(e.updates)&&e.updates.every(e=>"object"==typeof e&&"string"==typeof e.reduxKey&&"object"==typeof e.payload&&(void 0===e.pageType||Array.isArray(e.pageType)))}dispatchExperimentData(e,t){this.store.dispatch({type:c.MERGE_KEY,key:e,value:t})}localStorageXidCleanUp(e,t){if(!t)return;const n=[];for(let o=0;othis.localStorage.removeItem(e))}setupDataLayerExperiments(e){if(!Array.isArray(window.dataLayer)||"object"!=typeof window.dataLayer[0]||0===e.length)return;if(window.dataLayer[0].experiments=function(e=[],t=[]){const n=[...t,...e],o=new Map;return n.forEach(e=>{const t=o.get(e.experiment_id);(!t||e.status===d.m.CLIENT_ASSIGNMENT&&t.status===d.m.EDGE_ASSIGNMENT)&&o.set(e.experiment_id,e)}),Array.from(o.values())}(e,window.dataLayer[0].experiments||[]),window.cns){const{experiments:e}=window.dataLayer[0],{pageContext:t}=window.cns;t.experiments=function(e){if(!e?.length)return{};const t=[],n=[],o=[];return e.forEach(e=>{const{variation_name:i,experiment_id:a,payload:r}=e;t.push(`${i}`),n.push(`${a}`),Array.isArray(r)?o.push(...r):r&&o.push(r)}),{bucketLabel:t,experimentLabel:n,payload:o}}(e)}const t=window.Kendra.GROWTHBOOK;t&&t.broadcast&&t.broadcast(g.U.EXPERIMENTS_ASSIGNMENTS_PROCESSED)}createSnowplowExp(e,t){return{experiment_id:e.key,status:d.m.CLIENT_ASSIGNMENT,feature_id:t.featureId||"",variation:t.key,variation_name:t.name||"",payload:t.value}}updateComponentsWithAssignments(e){e.forEach(e=>{e.value&&"object"==typeof e.value&&this.updateComponentBeforeRendering(e.value)})}makeExperimentAssignments(e){const t=[];if(Object.keys(e).length>0){const n=Object.keys(e);for(const e of n){const n=this.gb.evalFeature(e);"defaultValue"!==n.source&&t.push(n)}}return t}runExperiments(){try{const e=this.gb.getFeatures(),t=this.makeExperimentAssignments(e);this.updateComponentsWithAssignments(t)}catch(e){}}handleSegmentUpdate(){const e=(0,a.getCookie)("CN_segments")||null;this.gb.updateAttributes({segment:e}),this.runExperiments()}registerSegmentUpdateListener(){window.cnBus&&window.cnBus.on("segments.updated",()=>this.handleSegmentUpdate())}}const b=(0,o.createContext)({isGBReady:!1}),f=({children:e,config:t,store:n})=>{const[a,r]=(0,o.useState)(()=>!!window._growthbook?.ready),s=(0,o.useRef)(),l=(0,o.useRef)(new y(t,n));return(0,o.useEffect)(()=>((async()=>{const e=l.current;await e.initialize(),e.runExperiments(),s.current=setInterval(()=>{const t=window._growthbook??e.getGbInstance();t?.ready&&(r(!0),clearInterval(s.current))},200)})().catch(e=>{r(!1)}),()=>{s.current&&clearInterval(s.current)}),[]),o.createElement(i.iX,{growthbook:l.current.getGbInstance()},o.createElement(b.Provider,{value:{isGBReady:a}},e))}},62930:(e,t,n)=>{n.d(t,{Ay:()=>a,jl:()=>o.A});var o=n(32272),i=n(13644);const a={Circle:o.A,Vogue:i.A}},63486:(e,t,n)=>{n.d(t,{M:()=>r});var o=n(38267),i=n(96472),a=n(26865);const r=o.Ay.a.withConfig({displayName:"InternalLinkEmbedWrapper"})` transition: color ${i.L6.timingLinkDefault} ease; ${({theme:e})=>(0,a.pe)(e,"colors.consumption.body.standard.link","colors.consumption.body.standard.link-hover")} `},63500:(e,t,n)=>{n.d(t,{C1:()=>S,E0:()=>I,NU:()=>E,Ny:()=>O,PA:()=>k,PU:()=>P,WV:()=>N,Ye:()=>K,b5:()=>T,dF:()=>L,fX:()=>_,iM:()=>H,nj:()=>v,r1:()=>C,s3:()=>B,wF:()=>x,zb:()=>A});var o=n(38267),i=n(26865),a=n(52813),r=n(96472),s=n(99906),l=n(73730),d=n(50531),c=n(34520),m=n(37384),u=n(86659),p=n(50152),g=n(90098),h=n(71862),y=n(32788),b=n(40653),f=n(81591),w=n(17514);const $=o.AH` /* Hidden on mobile because it overlaps with the logo */ display: none; ${(0,i.Xm)(r.LO.md,`${s.VS.lg}px`)} { display: ${({isFixed:e,isScrollingDown:t})=>!e&&t?"none":"flex"}; } // Show on screens where there is enough space ${(0,i.H4)("1400px")} { display: flex; } `,v=o.Ay.nav.withConfig({displayName:"ChannelNavigationWrapper"})` position: relative; z-index: ${r.KV.persistentTopLayer}; max-height: ${(0,i.Kq)(24)}; ${({isFixed:e})=>e&&"\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n "}; `;v.displayName="ChannelNavigationWrapper";const C=o.Ay.div.withConfig({displayName:"ChannelNavigationContainer"})` position: relative; ${({hideLinksOnMobile:e})=>`padding-bottom: ${(0,i.Kq)(e?0:7)};`} @media (min-width: ${r.LO.md}) { border-bottom: 1px solid rgba(51, 51, 51, 1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); background: ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.background")}; padding-bottom: 0; } `,k=o.Ay.div.withConfig({displayName:"ChannelNavigationContent"})` display: flex; position: relative; flex-wrap: wrap; z-index: 1; margin: 0 auto; border-bottom: 1px solid ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.divider")}; background: ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.background")}; @media (min-width: ${r.LO.lg}) { flex-wrap: ${({isScrollingDown:e})=>e?"nowrap":"wrap"}; } `,x=o.Ay.div.withConfig({displayName:"ChannelNavigationLogoWrapper"})` display: flex; justify-content: center; margin: 0 auto; padding: ${(0,i.Kq)(1)}; @media (min-width: ${r.LO.lg}) { ${({isScrollingDown:e})=>e?`\n left: ${(0,i.Kq)(3)};\n position: absolute;\n padding: ${(0,i.Kq)(1)};\n width: unset;\n `:`\n width:100vw; \n padding: ${(0,i.Kq)(1)} 0;\n `} } `,E=(0,o.Ay)(m.A).withConfig({displayName:"ChannelNavigationLogo"})` width: ${(0,i.Kq)(12)}; @media (min-width: ${r.LO.lg}) { display: flex; padding: ${(0,i.Kq)(1)} 0; width: ${(0,i.Kq)(21)}; height: ${(0,i.Kq)(11)}; ${({isScrollingDown:e})=>e&&`\n ${(0,a.Ic)()}\n `}; } `,A=(0,o.Ay)(m.A).withConfig({displayName:"ChannelNavigationScrollViewLogo"})` @media (max-width: ${r.LO.lg}) { ${(0,a.Ic)()} } padding: ${(0,i.Kq)(.5)} 0; width: ${(0,i.Kq)(10.375)}; height: unset; `,S=(0,o.Ay)(u.A.NoMargins).withConfig({displayName:"ChannelNavigationLinksWrapper"})` > ${b.E} { grid-column: 1 / -1; text-align: center; overflow-x: auto; overflow-y: hidden; white-space: nowrap; -webkit-overflow-scrolling: touch; /* Hide scrollbars */ scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE and Edge */ &::-webkit-scrollbar { display: none; /* Chrome, Safari, Opera */ } @media (min-width: ${r.LO.md}) { grid-column: 2 / span 10; margin: 0 auto; } } position: absolute; top: auto; transition: transform 0.5s ease-in-out; background: ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.background")}; width: 100%; ${({isScrollingDown:e})=>e?"transform: translateY(-100%);":"transform: translateY(0%);"} && { --grid-gap: ${(0,i.Kq)(1)}; @media (min-width: ${r.LO.lg}) { display: grid; position: initial; align-items: center; justify-content: center; transform: none; margin: ${(0,i.Kq)(2)} auto; } } @media (max-width: ${s.VS.lg}px) { ${({hideLinksOnMobile:e})=>e?`${(0,a.Ic)()};`:`padding: ${(0,i.Kq)(2)} 0 ${(0,i.Kq)(2)}\n ${(0,i.Kq)(3)};\n `} } &::after { position: absolute; right: 0; bottom: ${(0,i.Kq)(2)}; background: linear-gradient( to right, rgba(0, 0, 0, 0.01) 31.25%, ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.background")} 100% ); width: ${(0,i.Kq)(6)}; height: ${(0,i.Kq)(8)}; content: ''; pointer-events: none; } `,L=o.Ay.ul.withConfig({displayName:"ChannelNavigationLinksList"})` display: flex; margin: 0 auto; list-style: none; text-align: center; padding-inline-start: 0; @media (max-width: ${r.LO.md}) { ${({hideLinksOnMobile:e})=>e?`${(0,a.Ic)()};`:""} } `,T=o.Ay.li.withConfig({displayName:"ChannelNavigationLinkItem"})` padding-right: ${(0,i.Kq)(2)}; @media (min-width: ${r.LO.md}) { margin-right: 0; padding-right: ${(0,i.Kq)(3)}; } &:last-child { padding-right: 0; } `,N=o.Ay.a.withConfig({displayName:"ChannelNavigationLink"})` ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-primary")} position: relative; border: none; min-width: auto; text-decoration: none; white-space: nowrap; color: rgb( ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.link",{rgbOnly:!0})}, ${({isActive:e})=>e?"1":"0.6"} ); &:hover { color: ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.link-hover")}; } /* Highlight indicator for new links (e.g., Schedule) */ ${({isHighlighted:e,theme:t})=>e&&o.AH` padding-left: ${(0,i.Kq)(2)}; &::before { position: absolute; top: ${(0,i.Kq)(.6)}; left: 0; transform: translateY(-50%); animation: blink 1.2s ease-in-out infinite; border-radius: 50%; background-color: ${(0,i.HK)(t,"colors.interactive.base.light")}; width: ${(0,i.Kq)(1)}; height: ${(0,i.Kq)(1)}; content: ''; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } `} `,H=(0,o.Ay)(c.A.Right).withConfig({displayName:"ChannelNavigationChannelDrawer"})` &&& { ${({hideDrawerScroll:e})=>e&&"\n height: 100%;\n "} } @media (min-width: ${r.LO.md}) { width: ${(0,i.Kq)(50)}; max-width: ${(0,i.Kq)(50)}; && { height: 100%; } } `,I=o.Ay.div.withConfig({displayName:"ChannelNavigationGroupedNavigation"})` padding: 0 ${(0,i.Kq)(4)} ${(0,i.Kq)(2)}; height: 100%; `,B=(0,o.Ay)(c.A).withConfig({displayName:"ChannelNavigationGlobalDrawer"})` &&& { height: 100vh; } `,O=o.Ay.div.withConfig({displayName:"ChannelNavigationConsumerMarketingWrapper"})` ${$} position: absolute; top: ${({isScrollingDown:e})=>e?(0,i.Kq)(1.9):(0,i.Kq)(14.9)}; right: ${(0,i.Kq)(24)}; ${(0,i.Xm)(r.LO.md,`${s.VS.lg}px`)} { top: ${(0,i.Kq)(.8)}; right: ${(0,i.Kq)(16)}; z-index: 1; } .nav-cta__component { &:hover, &:focus, &:focus-within { ~ .nav-rollover__component > div { ${y.Rw} } } } .nav-rollover__component > div { ${y.Er} display: none; right: 0; @media (min-width: ${r.LO.xl}) { display: flex; } } .nav-rollover__component > div { &:hover, &:focus, &:focus-within { ${y.Rw} } } `,_=(0,o.Ay)(p.A).withConfig({displayName:"ChannelNavigationAccount"})` position: absolute; right: ${(0,i.Kq)(3)}; border: none; background: transparent; padding: ${(0,i.Kq)(1)} ${(0,i.Kq)(1.5)}; @media (min-width: ${r.LO.md}) { left: inherit; padding: 0; min-width: auto; } &&&.standard-navigation-account { position: absolute; top: ${({isScrollingDown:e})=>e?(0,i.Kq)(1.4):(0,i.Kq)(14.4)}; margin-right: ${({isAccountWithAvatar:e})=>e?(0,i.Kq)(4):(0,i.Kq)(3)}; margin-left: ${(0,i.Kq)(1.5)}; width: ${(0,i.Kq)(12)}; height: ${(0,i.Kq)(6)}; white-space: nowrap; } ${w.U7} { white-space: normal; } @media (max-width: ${r.LO.lg}) { // The below line is to surface SignIn in mobile devices with avatar enabled // and hide the SignIn in mobile devices if avatar is not enabled ${({isAccountWithAvatar:e})=>!e&&"display: none;"} &&&.standard-navigation-account { top: ${(0,i.Kq)(.4)}; z-index: 1; margin-right: ${(0,i.Kq)(2)}; } } ${h.Z_} { justify-content: flex-end; color: ${({theme:e})=>(0,i.HK)(e,"colors.interactive.base.white")}; &:hover, &:link, &:visited, &:active { color: ${({theme:e})=>(0,i.HK)(e,"colors.interactive.base.white")}; svg { path { fill: ${({theme:e})=>(0,i.HK)(e,"colors.interactive.base.white")}; } } } ${h.wG}:hover { ${({theme:e})=>(0,i._o)(e,"background","colors.interactive.base.dark")}; border-color: transparent; } // Journey divider follows the same rules as the Journey nav-cta unit. ${h.kc} { ${$} } } .standard-navigation-account--icon, ${h.of} { svg { path { fill: ${({theme:e})=>(0,i.HK)(e,"colors.interactive.base.white")}; } } } ${h.vs} { top: ${(0,i.Kq)(6)}; right: ${(0,i.Kq)(.8)}; background-color: ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.background")}; color: ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.link")}; &::before, &::after { content: none; } @media (min-width: ${r.LO.md}) { right: ${(0,i.Kq)(.4)}; } } ${h.vs} .account-links__navigation { background-color: ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.background")}; .navigation__list-item { &:hover { background-color: ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.background")}; } .navigation__link { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-secondary")}; color: ${({theme:e})=>(0,i.HK)(e,"colors.consumption.lead.inverted.link")}; } } } ${h.Gy} { ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.inverted.body")}; @media (max-width: ${r.LO.lg}) { display: none; } } ${h.vs} ${f.H}.account-links__sign-out { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-secondary")}; color: ${(0,i.HK)("colors.consumption.lead.inverted.link")}; &:hover { background-color: ${(0,i.HK)("colors.consumption.lead.standard.divider")}; color: ${(0,i.HK)("colors.consumption.lead.standard.link")}; } } ${h.gB} { top: ${(0,i.Kq)(6.75)}; background-color: ${(0,i.HK)("colors.interactive.base.black")}; ${({theme:e})=>(0,i._o)(e,"border-color","colors.discovery.body.black.border")}; ${(0,i.L7)(r.LO.md)} { left: -${(0,i.Kq)(29)}; } .alert-arrow { &::before { border-color: transparent transparent ${(0,i.HK)("colors.discovery.body.black.border")}; } &::after { border-color: transparent transparent ${(0,i.HK)("colors.interactive.base.black")}; } } .alert-message { padding: ${(0,i.Kq)(3)} ${(0,i.Kq)(2)}; max-width: fit-content; white-space: normal; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.lead.inverted.context-signature")}; } .close-alert-button { svg { ${({theme:e})=>(0,i._o)(e,"fill","colors.interactive.base.white")}; } } } `,K=(0,o.Ay)(l.A.Utility).withConfig({displayName:"ChannelNavigationToggle"})` position: absolute; top: ${(0,i.Kq)(1.75)}; right: ${(0,i.Kq)(2)}; z-index: ${(0,i.fl)("dropdown")}; border: none; background: transparent; padding: ${(0,i.Kq)(1)} ${(0,i.Kq)(1.5)}; width: ${(0,i.Kq)(4)}; height: ${(0,i.Kq)(4)}; @media (min-width: ${r.LO.lg}) { top: ${({isScrollingDown:e})=>e?(0,i.Kq)(2.5):(0,i.Kq)(15.5)}; left: inherit; padding: 0; min-width: auto; } & > div { position: absolute; } .icon-menu { width: initial; height: initial; } .icon-close { width: initial; height: initial; } svg path { fill: currentColor; stroke: currentColor; } &:focus { outline: 2px auto -webkit-focus-ring-color; border: unset; background: transparent; } &:hover { border-width: unset; border-style: none; border-color: transparent; background: transparent; ${(0,i._o)("color","colors.consumption.lead.inverted.link-hover")}; } ${d.ny} { padding-bottom: ${(0,i.Kq)(.4)}; } `,P=o.Ay.div.withConfig({displayName:"ChannelNavigationSecondaryMenu"})` padding-top: ${(0,i.Kq)(8)}; height: 100%; ${g.jZ} { display: block; } @media (min-width: ${r.LO.lg}) { padding-top: ${(0,i.Kq)(12)}; ${g.jZ} { display: none; } } `},63510:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(13465),i=n(80908);const a=(0,o.y)(i.A,"GallerySlide")},63665:(e,t,n)=>{n.d(t,{Oi:()=>f,Rx:()=>b,ST:()=>$,ZE:()=>y,__:()=>h,bf:()=>v,h9:()=>C,mn:()=>w});var o=n(38267),i=n(87468),a=n(96163),r=n(73275),s=n(91783),l=n(8544),d=n(89085),c=n(1123),m=n(76955),u=n(26865),p=n(96472);const g=(0,o.Ay)(s.Pu).withConfig({displayName:"ContentPromoEmbedResponsiveClip"})` z-index: 10; border-width: 1px; border-style: solid; ${({theme:e})=>(0,u._o)(e,"border-color","colors.interactive.base.white")}; background-color: transparent; `,h=(0,o.Ay)(r.A).withConfig({displayName:"ContentPromoEmbedResponsiveAsset"})` &::after { position: absolute; bottom: 0; left: 0; transition: opacity 0.3s; opacity: 1; background: linear-gradient(to top, #000, transparent 65%); width: 100%; height: 100%; content: ''; } picture, img { width: 100%; } `,y=(0,o.Ay)(m.sH).withConfig({displayName:"ContentPromoEmbedWrapper"})` display: block; position: relative; &:hover { ${h}::after { opacity: 0.7; } } @media (min-width: ${p.LO.md}) { margin-bottom: ${(0,u.Kq)(2)}; } ${({hasMobilePadding:e})=>e&&o.AH` @media (min-width: ${p.LO.sm}) { margin-bottom: ${(0,u.Kq)(2)}; } `} ${g} `,b=o.Ay.div.withConfig({displayName:"ContentPromoEmbedTextContainerWrapper"})` &.grid { ${(0,d.universalGridCore)()} } &.grid.grid-margins { ${(0,c.aU)("padding")} } position: absolute; bottom: ${(0,u.Kq)(4)}; left: 0; align-items: flex-end; width: 100%; height: auto; @media (min-width: ${p.LO.md}) { bottom: ${(0,u.Kq)(6)}; } `,f=o.Ay.div.withConfig({displayName:"ContentPromoEmbedTextWrapper"})` display: flex; grid-column: 1 / -1; flex-direction: column; align-items: center; justify-content: flex-end; width: 100%; height: auto; @media (min-width: ${p.LO.md}) { grid-column: 3 / span 8; } `,w=(0,o.Ay)(m.vm).withConfig({displayName:"ContentPromoEmbedHedWrapper"})` && { margin: 0; text-align: center; ${({theme:e})=>(0,u._o)(e,"color","colors.interactive.base.white")}; } `;w.defaultProps={as:"div",typeIdentity:"typography.definitions.discovery.hed-core-primary"};const $=(0,o.Ay)(i.A).withConfig({displayName:"ContentPromoEmbedBylines"})` margin-top: ${(0,u.Kq)(1)}; `,v=(0,o.Ay)(a.A).withConfig({displayName:"ContentPromoEmbedItemsCount"})` display: flex; align-items: center; justify-content: center; margin-top: ${(0,u.Kq)(1)}; height: 35px; & + ${$} { margin-top: 0; } ${l.RD} { margin-right: 0; height: auto; } .icon-gallery { path { ${({theme:e})=>(0,u._o)(e,"fill","colors.interactive.base.white")}; } } ${l.DS} { ${({theme:e})=>(0,u.Gg)(e,"typography.definitions.globalEditorial.accreditation-core")} ${({theme:e})=>(0,u._o)(e,"color","colors.interactive.base.white")}; &:hover { text-decoration: none; ${({theme:e})=>(0,u._o)(e,"color","colors.interactive.base.white")}; } } `;v.defaultProps={colorToken:"colors.interactive.base.white",typeIdentity:"typography.definitions.globalEditorial.accreditation-core"};const C=o.Ay.div.withConfig({displayName:"ContentPromoEmbedCtaWrapper"})` margin-top: ${(0,u.Kq)(3)}; `},63815:(e,t,n)=>{n.d(t,{J6:()=>m,Lh:()=>l,_A:()=>d,nv:()=>c,qn:()=>s,s5:()=>p,tV:()=>r,wx:()=>u});var o=n(38267),i=n(76955),a=n(26865);const r=o.Ay.div.withConfig({displayName:"ReviewRatingDataWrapper"})` display: flex; position: relative; flex-direction: row; align-items: center; margin-top: ${(0,a.Kq)(2)}; width: 100%; `,s=(0,o.Ay)(i.vm).withConfig({displayName:"ReviewRatingDataLabel"})` margin-right: ${(0,a.Kq)(1)}; `;s.defaultProps={as:"span",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-primary"};const l=(0,o.Ay)(i.vm).withConfig({displayName:"ReviewRatingDataValue"})` ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-primary")} color: ${({theme:e})=>(0,a.HK)(e,"colors.consumption.body.standard.subhed")}; `,d=o.Ay.div.withConfig({displayName:"ReviewRatingDataExplainer"})` margin-left: ${(0,a.Kq)(.5)}; .review-rating-data__info-button, .review-ratingdata__close-button { margin: 0; border: 0; background-color: ${({theme:e})=>(0,a.HK)(e,"colors.interactive.base.white")}; fill: ${({theme:e})=>(0,a.HK)(e,"colors.consumption.body.standard.accent")}; padding: 0; &:hover, &:focus { border: 0; background: none; } } .icon { padding-right: 5px; width: 24px; height: 24px; } .review-rating-data__info-button { .button__icon-container, .icon { padding-right: 0; width: 18px; height: 18px; } } .icon.icon-close { width: 35px; height: 35px; } `,c=o.Ay.div.withConfig({displayName:"ReviewRatingDataExplainerModal"})` padding: ${(0,a.Kq)(2)} 0 ${(0,a.Kq)(2)} ${(0,a.Kq)(2)}; `,m=o.Ay.div.withConfig({displayName:"ReviewRatingDataExplainerModalList"})` display: flex; letter-spacing: 0; `,u=o.Ay.span.withConfig({displayName:"ReviewRatingDataExplainerModalListRating"})` flex: 1; ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.consumptionEditorial.citation")} font-weight: bold; `,p=o.Ay.span.withConfig({displayName:"ReviewRatingDataExplainerModalListDescribe"})` flex: 9; ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.consumptionEditorial.citation")} `},64185:(e,t,n)=>{n.d(t,{A:()=>L});var o=n(13465),i=n(31581),a=n(96540),r=n(5556),s=n.n(r),l=n(6442),d=n(91706),c=n(38267),m=n(26865),u=n(96472),p=n(99906),g=n(33500),h=n(4534),y=n(68116),b=n(277);const f=c.Ay.div.withConfig({displayName:"ContributorContributorCollectionDesktop"})` ${b.up} { ${({hideAuthorByline:e})=>e&&"display: none"} } `,w=c.Ay.div.withConfig({displayName:"ContributorContributorCollectionMobile"})` ${y.tP} { width: ${(0,m.Kq)(12.5)}; } ${y.Rp} { grid-template-columns: auto auto ${(0,m.Kq)(12.5)}; } ${h.Vo} { grid-template-columns: none; ${y.Rp}:last-child { border-bottom: none; } } `,$=c.Ay.div.withConfig({displayName:"ContributorCollectionFooter"})` display: flex; justify-content: center; margin-top: ${(0,m.Kq)(2)}; padding-bottom: ${(0,m.Kq)(8)}; `,v=c.Ay.a.withConfig({displayName:"ContributorCollectionViewMore"})` ${(0,m.Gg)("typography.definitions.foundation.link-primary")} display: flex; align-items: center; justify-content: center; border: 1px solid ${(0,m.HK)("colors.discovery.body.white.accent")}; min-width: ${(0,m.Kq)(20)}; height: ${(0,m.Kq)(6)}; text-decoration: none; ${({theme:e})=>e&&`\n background: ${(0,m.HK)(e,"colors.discovery.lead.secondary.background")};\n color: ${(0,m.HK)(e,"colors.interactive.base.black")};\n `} :hover { ${({theme:e})=>e&&`\n background: ${(0,m.HK)(e,"colors.interactive.base.black")};\n color: ${(0,m.HK)(e,"colors.interactive.base.white")};\n `} } `,C=c.Ay.section.withConfig({displayName:"ContributorCollection"})` padding-top: ${(0,m.Kq)(5)}; ${({theme:e})=>e&&`background: ${(0,m.HK)(e,"colors.discovery.lead.secondary.background")};\n }`} ${g.QW} { margin-bottom: ${(0,m.Kq)(1)}; border-top: 1px solid ${(0,m.HK)("colors.discovery.body.white.accent")}; border-bottom: 1px solid ${(0,m.HK)("colors.discovery.body.white.accent")}; ${(0,m.H4)(u.LO.lg)} { margin-bottom: ${(0,m.Kq)(4)}; } } ${f} { ${(0,m.L7)(`${p.VS.lg}px`)} { display: none; } } ${w} { ${(0,m.H4)(u.LO.lg)} { display: none; } } ${h.Ee} { &:not(.summary-item--layout-placement-side-by-side-mobile-only) { .summary-item__hed { ${(0,m.H4)(u.LO.md)} { ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.discovery.hed-core-secondary")}; } } } } `;const k=(0,n(72267).defineMessages)({viewMoreText:{id:"FeaturedContributor.ViewMore",defaultMessage:"View more",description:"View more about author in author hub"}});var x=n(62930);const E=(e,t,n=1)=>n*e>=t,A=({dangerousHed:e,hasBorderOnMobileAndTabletOnly:t,hasBorderOnMobileOnly:n=!1,hasItemsRule:o=!1,hideAuthorByline:i=!1,hideIssueDate:r=!1,hideRuleFromMobile:s,items:c,sectionTitleVariation:m="LineAboveLineBelowTextCenter",shouldHideDangerousDekMobileOnly:u,shouldHidePublishDate:p,shouldShowAllContentWhenDense:g,showViewMoreButton:h,summaryItemVariationForMobile:y="SideBySideDense",paginatedContainerPosition:b,pageNumber:A=1,limit:S,totalResults:L})=>{const T=(0,l.A)(),N=(e=>2===e.length?d.A.TwoColumns:e.length%4==0?d.A.FourColumns:d.A.ThreeColumns)(c),[H,I]=a.useState(c),[B,O]=a.useState(""),[_,K]=a.useState(!1),[P,D]=a.useState({currentPage:A,isLastPage:E(S,L,A)});a.useEffect(()=>{O(window.location.href.split(/[?#]/)[0])},[]);const{isLastPage:q,currentPage:M}=P;return a.createElement(C,null,a.createElement(f,{as:N,dangerousHed:e,hasBorderOnMobileAndTabletOnly:t,hasBorderOnMobileOnly:n,hasItemsRule:o,hideAuthorByline:i,hideIssueDate:r,items:H,sectionTitleVariation:m,shouldHidePublishDate:p}),a.createElement(w,{as:N,dangerousHed:e,hasBorderOnMobileAndTabletOnly:t,hasBorderOnMobileOnly:n,hasItemsRule:o,hideAuthorByline:i,hideIssueDate:r,hideRuleFromMobile:s,items:H,sectionTitleVariation:m,shouldHideDangerousDekMobileOnly:u,shouldHidePublishDate:p,shouldShowAllContentWhenDense:g,summaryItemVariation:y}),h&&!q&&a.createElement($,null,a.createElement(v,{href:!_&&`${B}?page=${M+1}`,onClick:!_&&(e=>{e.preventDefault();const{currentPage:t}=P,n=t+1,o=`${window.location.href.split(/[?#]/)[0]}?page=${n}&container=${b}&format=json`;return K(!0),fetch(o).then(e=>e.json()).then(({bundle:e})=>{const{items:t,totalResults:n}=e.containers[0];return I(H.concat(t)),n}).then(e=>{D({currentPage:n,isLastPage:E(S,e,n)}),K(!1)}).catch(e=>{K(!1)})}),title:T.formatMessage(k.viewMoreText)},T.formatMessage(k.viewMoreText),_&&a.createElement(x.jl,{height:"20px",width:"20px",margin:"0"}))))};A.propTypes={dangerousHed:s().string.isRequired,hasBorderOnMobileAndTabletOnly:s().bool,hasBorderOnMobileOnly:s().bool,hasItemsRule:s().bool,hideAuthorByline:s().bool,hideIssueDate:s().bool,hideRuleFromMobile:s().bool,items:s().arrayOf(s().shape({categories:s().shape({tags:s().array}),dangerousDek:s().string,dangerousHed:s().string,image:s().object,url:s().string})).isRequired,limit:s().number.isRequired,pageNumber:s().number,paginatedContainerPosition:s().number,sectionTitleVariation:s().string,shouldHideDangerousDekMobileOnly:s().bool,shouldHidePublishDate:s().bool,shouldShowAllContentWhenDense:s().bool,showViewMoreButton:s().bool,summaryItemVariationForMobile:s().string,totalResults:s().number.isRequired};const S=A,L=(0,i.N)((0,o.y)(S,"ContributorCollectionItems"))},64214:(e,t,n)=>{n.d(t,{A:()=>Ee});var o=n(5556),i=n.n(o),a=n(96540),r=n(32485),s=n.n(r),l=n(38267);const d=l.Ay.div.withConfig({displayName:"SmartComponentWrapper"})``;var c=n(53499),m=n(13465),u=n(76955),p=n(37338),g=n(96472),h=n(1123),y=n(26865),b=n(99906),f=n(7228);const w=l.AH` max-width: 48px; height: 48px; `,$=l.AH` max-width: 300px; height: auto; `,v=(0,l.Ay)(u.c7).withConfig({displayName:"SmartContainerHeader"})` display: flex; flex-direction: column; align-items: center; gap: ${(0,y.Kq)(1)}; border-top: ${({theme:e})=>(0,y.Pp)(e,"dividerWidth")} solid; padding-top: ${(0,y.Kq)(2)}; padding-bottom: ${(0,y.Kq)(6)}; ${(0,y.L7)(`${b.VS.md}px`)} { padding-bottom: ${(0,y.Kq)(4)}; } ${(0,y.H4)(`${b.Vh.lg}px`)} { gap: ${(0,y.Kq)(2)}; } ${({softRule:e,theme:t})=>(0,y._o)(t,"border-top-color",e?"colors.discovery.body.white.border":"colors.discovery.body.white.divider")}; `,C=l.Ay.div.withConfig({displayName:"SmartContainerHeaderImage"})` ${({imageSize:e})=>l.AH` img { ${"icon"===e?w:$} } `} ${({imagePosition:e})=>"below"===e?l.AH` order: 3; padding-bottom: 0; `:l.AH` &:not(picture) { ${(0,y.Xm)(0,`${b.VS.md}px`)} { padding-bottom: ${(0,y.Kq)(1)}; } } `} ${({isContributor:e,theme:t})=>e?l.AH` ${f.BF} { border-radius: 50%; background: ${(0,y.HK)(t,"colors.discovery.lead.secondary.background")}; } `:""}; `,k=(0,l.Ay)(u.vm).withConfig({displayName:"SmartContainerHeaderHed"})``;k.defaultProps={as:"h2",colorToken:"colors.discovery.body.white.heading",textAlign:"center",typeIdentity:"typography.definitions.discovery.subhed-section-primary"};const x=(0,l.Ay)(u.vm).withConfig({displayName:"SmartContainerHeaderDek"})``;x.defaultProps={colorToken:"colors.discovery.body.white.heading",textAlign:"center",typeIdentity:"typography.definitions.discovery.description-page"};const E=(0,l.Ay)(u.c7).withConfig({displayName:"SmartContainerContent"})``,A=(0,l.Ay)(u.c7).withConfig({displayName:"SmartContainerFooter"})` display: none; `,S=(0,l.Ay)(u.c7).withConfig({displayName:"SmartContainerAd"})` display: none; `,L=l.Ay.div.withConfig({displayName:"SmartItem"})` position: relative; `;var T=n(23311);const N=l.AH` ${T.C}:not(picture) { overflow: visible; &::after { display: block; position: absolute; top: 0; right: calc(-1 * var(--grid-gap) / 2); background-color: ${(0,y.HK)("colors.discovery.body.white.border")}; width: 1px; height: 100%; content: ''; } } `,H=({styleSettings:e})=>l.AH` ${e.fullBleed&&l.AH` ${(0,h.aU)("padding",!0)}; max-width: none; `} `,I=(e,t={})=>l.AH` --smart-container-layout: 'grid'; ${H({styleSettings:t})} ${E} { display: grid; grid-template-columns: repeat(4, 1fr); ${(0,y.H4)(`${b.Vh.xl}px`)} { grid-template-columns: repeat(12, 1fr); } gap: var(--grid-gap); } ${L} { width: auto; ${({itemLength:e,showItemDivider:t})=>{const n=function(e){switch(e){case 1:return 12;case 2:return 6;default:return e%3==0&&e<=9?4:3}}(e);let o;return o=4===n?"3n":3===n?"4n":`${e}n`,l.AH` grid-column: span ${n}; ${(0,y.H4)(`${b.Vh.xl}px`)} { &:not(:nth-child(${o}), :last-child) { ${t&&N} } } `}} } `,B=(e,t={})=>l.AH` --smart-container-layout: 'carousel'; --grid-gap: ${(0,y.Kq)(4)}; ${H({styleSettings:t})} ${E} { display: flex; ${(0,y.L7)(`${b.VS.xxl}px`)} { margin-right: calc(-1 * var(--grid-margin)); margin-left: calc(-1 * var(--grid-margin)); padding-right: var(--grid-margin); padding-left: var(--grid-margin); } padding-bottom: ${(0,y.Kq)(3)}; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--grid-gap); } ${L} { flex-shrink: 0; align-self: stretch; scroll-snap-align: center; ${({showItemDivider:e})=>e&&l.AH` &:not(:last-child) { ${N} } `} } ${A} { display: flex; } ${(0,y.Xm)(0,`${b.VS.md}px`)} { ${L} { width: 70%; } } ${(0,y.Xm)(`${b.Vh.lg}px`,`${b.VS.lg}px`)} { ${L} { width: 38%; } } ${(0,y.H4)(`${b.Vh.xl}px`)} { ${L} { width: calc(24% - ${(0,y.Kq)(4)}); } } `,O={grid:I,carousel:(e,t)=>l.AH` ${({itemLength:e})=>e>4?B(0,t):l.AH` ${(0,y.Xm)(0,`${b.VS.lg}px`)} { ${B(0,t)} } ${(0,y.H4)(`${b.Vh.xl}px`)} { ${I(0,t)} } `} `,river:(e,t={})=>l.AH` --smart-container-layout: 'river'; --margin: ${(0,y.Kq)(1)}; --padding: ${(0,y.Kq)(2)}; ${H({styleSettings:t})} ${E} { ${L}.story-unit { border-bottom: 1px solid ${(0,y.HK)("colors.discovery.body.white.border")}; padding: var(--padding) 0; &:first-child { padding-top: 0; } &:last-child { border-bottom: none; padding-bottom: 0; } } } ${(0,y.H4)(`${b.Vh.xl}px`)} { ${E} { display: grid; grid-template-columns: repeat(12, 1fr); ${S} { display: inline-block; grid-column: 9/13; grid-row: 1 / span 4; margin: var(--margin); padding: var(--padding); } ${L} { grid-column: span 8; } } } `},_=(0,l.Ay)(u.c7).withConfig({displayName:"SmartContainerWrapper"})` margin: 0 auto; ${(0,h.VO)()}; ${(0,h.aU)("padding")} width: 100%; max-width: ${g.LO.xxl}; ${({layout:e,styleSettings:t})=>(0,p.Q)("layout",{layout:e,styleSettings:t},O)} .small { font-variant: small-caps; text-transform: lowercase; font-style: normal; } h3 { .small { font-synthesis-small-caps: none; } } `;var K=n(73275),P=n(99366),D=n(10642),q=n(87468),M=n(88154),R=n(42667),F=n(11586);const U=(0,p.a)("SmartItem"),V=l.AH` ${({additionalContent:e})=>e?l.AH` --aspect-ratio-box-max-height: ${(0,y.Kq)(100)}; `:l.AH` --aspect-ratio-box-max-height: ${(0,y.Kq)(75)}; ${(0,y.Xm)(`${b.Vh.lg}px`,`${b.VS.xl}px`)} { --aspect-ratio-box-max-height: ${(0,y.Kq)(65.25)}; } ${(0,y.H4)(`${b.Vh.xxl}px`)} { --aspect-ratio-box-max-height: ${(0,y.Kq)(81)}; } `} min-height: var(--aspect-ratio-box-max-height); `,G=l.AH` /* Targets sibling of each direct child */ ${R.$P} { > * + * { margin-top: ${(0,y.Kq)(2)}; } ${R.T6} + ${R.dC} { margin-top: ${(0,y.Kq)(1)}; } } `,W={"side-by-side":(e,t={})=>l.AH` --smart-item-layout: 'side-by-side'; display: flex; width: 100%; ${V}; ${T.C} { flex-basis: ${t.image?.inset?"calc(50% - var(--smart-item-asset-h-inset))":"50%"}; .responsive-asset { img { object-fit: ${t.image?.inset?"contain":"cover"}; ${!t.image?.inset&&l.AH` height: auto; min-height: 100%; `} } } } ${({textPosition:e})=>e&&l.AH` flex-direction: ${"start"===e&&"row-reverse"}; `} ${R.T3} { display: flex; flex-basis: 50%; flex-direction: column; align-items: center; justify-content: center; padding: ${(0,y.Kq)(3)}; ${G} & > * { max-width: ${(0,y.Kq)(62.5)}; } ${(0,y.H4)(`${b.Vh.xl}px`)} { padding-right: ${(0,y.Kq)(6)}; padding-left: ${(0,y.Kq)(6)}; } } ${l.AH` ${({additionalContent:e})=>e&&l.AH` display: grid; ${({textPosition:e})=>"end"===e?l.AH` grid-template-areas: 'image content' 'image additionalContent'; `:l.AH` grid-template-areas: 'content image' 'additionalContent image'; `}; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr min-content; ${T.C} { grid-area: image; } ${R.oR} { grid-area: additionalContent; } ${R.T3} { grid-area: content; } `} `}; ${U("side-by-side",t,e)}; `,stack:(e,t={})=>l.AH` --smart-item-layout: 'stack'; display: flex; flex-direction: column-reverse; ${R.T3} { margin: ${(0,y.Kq)(6)} ${(0,y.Kq)(3)}; ${G} } ${T.C} { margin-top: 0; } ${l.AH` ${({additionalContent:e})=>e&&`\n ${R.oR}{\n order:2;\n }\n `} `}; ${U("stack",t,e)}; `,overlay:(e,t={})=>l.AH` --smart-item-layout: 'overlay'; display: grid; position: relative; grid-template-areas: 'content'; grid-template-columns: 1fr; justify-content: ${"left"===t?.textAlign||"right"===t?.textAlign?t?.textAlign:"center"}; ${V}; ${R.T3} { display: flex; grid-area: content; flex-direction: column; justify-content: ${"left"===t?.textAlign||"right"===t?.textAlign?"center":t?.textAlign}; z-index: 1; margin: auto; padding: ${(0,y.Kq)(6)} ${(0,y.Kq)(3)} ${(0,y.Kq)(4)} ${(0,y.Kq)(3)}; width: 100%; height: 100%; ${G} } ${T.C} { position: unset; grid-area: content; .responsive-asset { img { object-fit: cover; width: 100%; } } &::after { ${(({textAlign:e})=>l.AH` position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: ${({additionalContent:t})=>((e,t)=>{let n="",o="rgba(0, 0, 0, .85) 0, transparent 100%";switch(e){case"start":n="to bottom",o=t?"rgba(0, 0, 0, .85) 0, transparent 65%, rgba(0, 0, 0, .85) 100%":o;break;case"left":n="to right";break;case"right":n="to left";break;default:n="to top"}return`linear-gradient(${n}, ${o})`})(e,t)}; content: ''; pointer-events: none; `)({textAlign:t?.textAlign})} } } ${(0,y.H4)(`${b.Vh.lg}px`)} { ${R.T3} { padding: ${(0,y.Kq)(4)} 0; /* Existing styles. Once text align goes live, we can remove this padding. */ max-width: ${(0,y.Kq)(62)}; ${["left","right"].includes(t?.textAlign)&&`padding: ${(0,y.Kq)(3)} ${(0,y.Kq)(6)};`} ${"start"===t?.textAlign&&`padding-top: ${(0,y.Kq)(12)};`}; } ${R.oR} { max-width: ${(0,y.Kq)(62)}; } } ${(0,y.Xm)(`${b.Vh.lg}px`,`${b.VS.lg}px`)} { ${R.T3} { ${["left","right"].includes(t?.textAlign)&&`padding: ${(0,y.Kq)(3)};`} } } ${l.AH` ${({additionalContent:e})=>e&&`\n grid-template-areas: "content" \n "additionalContent";\n grid-template-rows: 1fr min-content;\n ${T.C}{\n grid-area: content-start/content-start/additionalContent-end/additionalContent-end;\n }\n ${R.oR}{\n margin:auto;\n grid-area: additionalContent;\n z-index:1;\n }\n \n `} `}; ${(0,y.H4)(`${b.Vh.xl}px`)} { ${R.$P} { margin-right: auto; margin-left: auto; max-width: ${(0,y.Kq)(62.5)}; } ${R.T3}, ${R.oR} { margin: unset; padding-right: ${(0,y.Kq)(6)}; padding-left: ${(0,y.Kq)(6)}; width: 50%; max-width: 50%; } ${()=>"left"===t?.textAlign?`\n ${R.T3}, ${R.oR} {\n margin-right: auto;\n }\n `:"right"===t?.textAlign?`\n ${R.T3}, ${R.oR} {\n margin-left: auto;\n }\n `:`\n ${R.T3} , ${R.oR} {\n margin: auto;\n }\n `}; } ${U("overlay",t,e)}; `},j=l.AH` --smart-item-asset-h-inset: ${(0,y.Kq)(3)}; --smart-item-asset-v-inset: ${(0,y.Kq)(3)}; ${(0,y.H4)(`${b.Vh.lg}px`)} { --smart-item-asset-h-inset: ${(0,y.Kq)(2)}; } ${(0,y.H4)(`${b.Vh.xl}px`)} { --smart-item-asset-h-inset: ${(0,y.Kq)(6)}; --smart-item-asset-v-inset: ${(0,y.Kq)(4)}; } `,z=(0,l.Ay)(u.c7).withConfig({displayName:"FocusUnitWrapper"})` ${j} ${({layout:e,styleSettings:t})=>(0,p.Q)("layout",{layout:e,styleSettings:t},W)}; ${({theme:e})=>"standard"!==e.palette&&"background: rgba(0,0,0);"} ${R.oK} { ${({presetCategory:e})=>"TEXT_ONLY"===e?(0,y.Gg)("typography.definitions.discovery.hed-break-out"):(0,y.Gg)("typography.definitions.discovery.hed-feature")}; } ${({signalType:e})=>e&&`\n ${(0,y.H4)(`${b.Vh.lg}px`)} {\n ${R.T3} {\n padding-top: ${(0,y.Kq)(8)};\n }\n }\n `} &:hover { cursor: pointer; } `,Y=e=>"transparent"===e||"inverted"===e?"black":"white",X=l.Ay.div.withConfig({displayName:"FocusUnitActionBarWrapper"})` display: flex; justify-content: center; ${F.fI} { background: transparent; height: ${(0,y.Kq)(6)}; ${F.eC} { border: none; background: none; text-decoration: none; } ${F.tr} { ${(0,y.Gg)("typography.definitions.globalEditorial.context-title")}; } ${({theme:e})=>`\n ${(0,y._o)(e,"border-color",`colors.discovery.body.${Y(e.palette)}.border`)};\n\n ${F.tr} {\n ${(0,y._o)(e,"color",`colors.discovery.body.${Y(e.palette)}.accent`)};\n }\n \n svg {\n path {\n ${(0,y._o)(e,"fill",`colors.discovery.body.${Y(e.palette)}.accent`)};\n }\n }\n \n `} } `;var Z=n(87911),J=n(86157),Q=n(6009),ee=n(54634),te=n(47655);const ne={audio:{defaultLabel:"audioPrimaryLabel",defaultIcon:' '}},oe=({additionalContent:e=null,className:t,layout:n=["stack","side-by-side","side-by-side"],contributors:o,dangerousDek:i,dangerousHed:r,date:l,id:d,image:c,hasNativeImgLazyLoading:m,rubric:u,insetType:p="focus",url:g,styleSettings:h=[],maxContributors:y,maxContributorsNames:b,textPosition:f,rubricVariation:w="ItemAsText",shouldLinkBylines:$=!1,signalType:v})=>{const C=h.map(e=>e?.image),{presetCategory:k}=a.useContext(Q.j7),x=D.A[w];return a.createElement(z,{layout:n,styleSettings:h,className:s()("smart-item",t),image:c,presetCategory:k,textPosition:f,..."clip"===c?.contentType&&{onClick:()=>{window.location=g}},additionalContent:e,contributors:o,date:l,signalType:v,id:d},c&&a.createElement(Z.A,{className:"smart-item__asset-container",...c,hasNativeImgLazyLoading:m,styleSettings:C,insetType:p,shouldYieldControlOfVideoPlayPause:!0}),a.createElement(R.T3,null,a.createElement(R.$P,null,u&&a.createElement(M.UZ,{className:"smart-item__rubric",as:x,...u}),a.createElement(M.kw,{className:"smart-item__hed-link",href:g,image:c},a.createElement(R.oK,{className:"smart-item__hed",dangerouslySetInnerHTML:{__html:r}})),i&&a.createElement(R.tJ,{className:"smart-item__dek",dangerouslySetInnerHTML:{__html:i}}),o&&a.createElement(R.T6,{className:"smart-item__contributor",as:q.A,contributors:o,maxContributors:y,maxContributorsNames:b,shouldLink:$}),l&&a.createElement(M.J8,{className:"smart-item__published-date"},l),v&&a.createElement(X,null,a.createElement(ee.A,{actionButtons:[v],actionBarConfig:ne,isInteractive:!1})))),e&&a.createElement(R.oR,null,e))};oe.propTypes={additionalContent:i().element,className:i().string,contributors:i().shape(q.A.propTypes.contributors),dangerousDek:i().string,dangerousHed:i().string.isRequired,date:i().string,hasNativeImgLazyLoading:i().bool,id:i().string,image:i().shape(J.A.propTypes),insetType:i().oneOf(["focus","default"]),layout:i().arrayOf(i().oneOf(["stack","side-by-side","overlay"])),maxContributors:i().number,maxContributorsNames:i().number,rubric:i().shape(D.A.propTypes),rubricVariation:i().oneOf((0,te._)(D.A)),shouldLinkBylines:i().bool,signalType:i().string,styleSettings:i().arrayOf(i().shape({image:i().shape({inset:i().bool}),textAlign:i().oneOf(["start","center","end","left","right"])})),textPosition:i().oneOf(["start","center","end"]),url:i().string.isRequired},oe.displayName="FocusUnit";const ie=oe,ae=(0,m.y)(ie,"SmartItem"),re=l.Ay.div.withConfig({displayName:"CardUnitHeader"})``,se={"side-by-side":e=>l.AH` --smart-item-layout: 'side-by-side'; display: grid; grid-column-gap: ${(0,y.Kq)(2)}; grid-template-rows: auto; margin-bottom: ${(0,y.Kq)(2)}; width: 100%; height: min-content; ${(0,y.L7)(`${b.Vh.lg}px`)} { padding: ${(0,y.Kq)(2)}; } ${(0,y.Xm)(`${b.Vh.lg}px`,`${b.VS.lg}px`)} { padding-right: ${(0,y.Kq)(2)}; padding-left: ${(0,y.Kq)(2)}; min-height: ${(0,y.Kq)(12)}; } ${re} { grid-column: 1; ${M.jY} { padding-top: ${(0,y.Kq)(1)}; } } ${T.C} { grid-column: 2; grid-row: 1 / final; margin-top: 0; margin-left: auto; ${(0,y.L7)(`${b.Vh.lg}px`)} { width: ${(0,y.Kq)(14)}; max-height: ${(0,y.Kq)(10)}; } ${(0,y.Xm)(`${b.Vh.lg}px`,`${b.VS.lg}px`)} { width: ${(0,y.Kq)(20)}; max-height: ${(0,y.Kq)(15)}; } } ${M.Xr} { grid-column: 1; margin-top: ${(0,y.Kq)(2)}; ${(0,y.H4)(`${b.Vh.lg}px`)} { margin-top: auto; } } `,stack:()=>l.AH` --smart-item-layout: 'stack'; display: flex; grid-column: span 3; flex-direction: column; padding: ${(0,y.Kq)(2)}; & > * { text-align: center; } ${T.C} { margin-top: auto; max-height: 40%; } ${M.Xr} { margin-top: 24%; } ${M.jY} { margin-top: ${(0,y.Kq)(1)}; } ${(0,y.L7)(`${b.VS.md}px`)} { min-width: ${(0,y.Kq)(31.25)}; min-height: ${(0,y.Kq)(42.5)}; } ${(0,y.H4)(`${b.Vh.lg}px`)} { padding: ${(0,y.Kq)(3)}; } ${(0,y.L7)(`${b.VS.lg}px`)} { aspect-ratio: 3 / 4; } ${(0,y.H4)(`${b.Vh.xl}px`)} { min-height: ${(0,y.Kq)(40)}; ${T.C} { margin-bottom: ${(0,y.Kq)(2)}; } ${M.Xr} { margin-top: 10%; } } ${(0,y.H4)(`${b.Vh.xxl}px`)} { aspect-ratio: 3 / 4; padding: ${(0,y.Kq)(3)}; ${T.C} { max-height: ${(0,y.Kq)(16)}; } ${M.Xr} { margin-top: 10%; } } ${(0,y.H4)(`${b.Vh.xxxl}px`)} { ${T.C} { max-height: 45%; } ${M.Xr} { margin-top: 20%; } padding: ${(0,y.Kq)(4)}; } `},le=(0,l.Ay)(u.c7).withConfig({displayName:"CardUnitWrapper"})` border-radius: ${(0,y.Kq)(2)}; cursor: pointer; padding: ${(0,y.Kq)(3)}; ${({cardColor:e})=>e&&`background: ${e};`} ${({layout:e,styleSettings:t})=>(0,p.Q)("layout",{layout:e,styleSettings:t},se)}; `,de=({cardColor:e="#F6F6F6",className:t,layout:n=["side-by-side","side-by-side","stack"],dangerousDek:o,dangerousHed:i,id:r,image:l,hasNativeImgLazyLoading:d,rubric:c,url:m,styleSettings:u=[]})=>{const p=u.map(e=>e.image);return a.createElement(le,{className:s()("smart-item",t),layout:n,styleSettings:u,cardColor:e,..."clip"===l?.contentType&&{onClick:()=>{window.location=m}},id:r},a.createElement(re,null,a.createElement(M.S3,{className:"smart-item__hed",dangerouslySetInnerHTML:{__html:i}}),a.createElement(M.jY,{className:"smart-item__dek",dangerouslySetInnerHTML:{__html:o}})),a.createElement(Z.A,{className:"smart-item__asset-container",...l,hasNativeImgLazyLoading:d,styleSettings:p}),c&&a.createElement(M.Xr,{className:"smart-item__CTA",href:m,dangerouslySetInnerHTML:{__html:c?.name},image:l}))};de.propTypes={cardColor:i().string,className:i().string,dangerousDek:i().string,dangerousHed:i().string.isRequired,id:i().string,image:i().shape(J.A.propTypes),hasNativeImgLazyLoading:i().bool,layout:i().arrayOf(i().oneOf(["side-by-side","stack"])),rubric:i().shape(D.A.propTypes),styleSettings:i().arrayOf(i().shape({})),url:i().string.isRequired},de.displayName="SmartItem";const ce=de,me=(0,m.y)(ce,"SmartItem"),ue={StoryUnit:P.A,FocusUnit:ae,CardUnit:me};var pe=n(87797);const ge=()=>null;const he=({itemsLength:e,listen:t=!1})=>{const[n,o]=a.useState(1),[i,r]=a.useState(0);return{ref:function(e,{observe:t}){const n=a.useRef(null);return a.useEffect(()=>{const o=n?.current;if(!o||!t)return ge;const i=new ResizeObserver(t=>{e(o,t[0])});return i.observe(o),()=>i.disconnect()},[t,e,n]),n}((t,n)=>{const{scrollWidth:i,clientWidth:a}=n.target,r=i/e,s=Math.round(a/r),l=Math.ceil(e/s);o(l)},{observe:t}),handleScroll:t?e=>{const{scrollWidth:t,scrollLeft:o}=e.target,i=t/n,a=Math.ceil(o/i);r(a)}:ge,selectedDot:i,carouselDots:n}};var ye=n(94327),be=n(89957),fe=n(96872),we=n(14307);const $e=({bundle:e,dangerousDek:t,dangerousHed:n,header:o,image:i,items:r,itemType:s="StoryUnit",layout:l=["river","river","grid"],styleSettings:d=[],itemLayouts:c={},itemStyleSettings:m={default:[]},index:u,template:p,sectionName:g,showHeader:h=!0,showItemDivider:y=!0})=>{const{imageSize:b,imagePosition:f,isContributor:w,softRule:$}=o||{},T=`smart-container__content-${u}`,{clickHandler:N}=(({selector:e,index:t,template:n,sectionName:o,bundle:i,items:r})=>{const s=a.useContext(Q.j7),{containers:l=[]}=i||{},d=a.useMemo(()=>({preset_type:s.presetName||"none",package_type:n,section_name:o,package_position:(0,fe.SV)(l,t)}),[l,s.presetName,o,t,n]),c=l.filter(e=>"verso-mid-content-ad"!==e.template);return(0,be.ol)(e,void 0,(e,i)=>{const a=(0,fe.jv)(r,window);if(e){(0,ye.zJ)("package-impression",d);const e=(0,fe.nO)("impression",o,n,a,t,c.length,s.presetName||"none");(0,we.kg)(e),i()}}),{clickHandler:a.useCallback(e=>{const{target:i}=e,a=i.closest(".smart-item"),l=i.closest(".smart-item--tout");let m;const u=a.getAttribute("id"),p=r.find(e=>e.id===u);l&&(m=i.getAttribute("href"));const g=(0,fe.jv)([p],window),h=(0,fe.nO)("click",o,n,g,t,c.length,s.presetName||"none");if(a){const e=a.querySelector(".smart-item__hed-link");(0,ye.W8)("package-interaction",{...d,url:m||e?.href,title:e?.innerText})}(0,we.kg)(h)},[d,o,n,t,s,c,r])}})({selector:`.${T}`,index:u,template:p,sectionName:g,bundle:e,items:r}),{handleScroll:H,carouselDots:I,selectedDot:B,ref:O}=he({itemsLength:r.length,listen:l.includes("carousel")}),P="string"==typeof s?ue[s]:s;return a.createElement(_,{layout:l,styleSettings:d,itemLength:r.length,className:"smart-container__wrapper",onClick:N,showItemDivider:y},h&&a.createElement(v,{className:"smart-container__header",softRule:$},i&&a.createElement(C,{className:"smart-container__header__image",as:K.A,isLazy:!0,hasNativeImgLazyLoading:r[0].image.hasNativeImgLazyLoading,...i,imageAttributes:{"aria-hidden":!0},imageSize:b,imagePosition:f,isContributor:w}),a.createElement(k,{className:"smart-container__header__hed",dangerouslySetInnerHTML:{__html:n}}),t&&a.createElement(x,{className:"smart-container__header__dek",dangerouslySetInnerHTML:{__html:t}})),a.createElement(E,{className:T,onScroll:H,ref:O},r.map((e,t)=>{const n=c[t]??c.default,o=m[t]??m.default;return a.createElement(L,{as:P,className:"smart-item",key:t,...e,layout:n,styleSettings:o})}),"river"===l[2]&&a.createElement(S,{className:"smart-container__ad"},a.createElement("h3",null,"It is a ad section"),a.createElement("img",{src:r[0].image.sources.sm.url,alt:"ad"}))),a.createElement(A,{className:"smart-container__footer",as:pe.A,dotLength:I,selectedDotIndex:B,onDotClick:()=>null}))};$e.propTypes={bundle:i().shape({containers:i().array}).isRequired,dangerousDek:i().string,dangerousHed:i().string,header:i().shape({imageSize:i().oneOf(["icon","banner"]),imagePosition:i().oneOf(["above","below"]),isContributor:i().bool,softRule:i().bool}),image:i().shape(K.A.propTypes),index:i().number.isRequired,itemLayouts:i().objectOf(i().oneOfType([i().arrayOf(i().oneOf(["dense","side-by-side","stack"])),i().arrayOf(i().oneOf(["overlay","side-by-side","stack"]))])),items:i().arrayOf(i().object).isRequired,itemStyleSettings:i().objectOf(i().arrayOf(i().shape({inset:i().bool,textAlign:i().oneOf(["start","center","end"]),image:i().shape({inset:i().bool,showBackgroundColor:i().bool,showOutline:i().bool,shape:i().oneOf(["default","circle","curved"])})}))),itemType:i().oneOfType([i().string,i().elementType]),layout:i().arrayOf(i().oneOf(["grid","river","carousel"])),sectionName:i().string.isRequired,showHeader:i().bool,showItemDivider:i().bool,styleSettings:i().arrayOf(i().shape({fullBleed:i().bool})),template:i().string.isRequired},$e.displayName="SmartContainer";const ve=$e,Ce=(0,m.y)(ve,"SmartContainer");var ke=n(11542);const xe=({id:e,className:t,themeExtensions:n={},...o})=>(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(c.G.RENDER,{name:"SmartComponent"})},[]),a.createElement(d,{className:s()("smart-component",t)},a.createElement(Q.XG,{id:e,themeExtensions:n},a.createElement(Ce,{...o}))));xe.propTypes={className:i().string,dangerousHed:i().string,id:i().string,themeExtensions:i().shape({componentStylePools:i().objectOf(i().objectOf(i().func))})},xe.displayName="SmartComponent";const Ee=(0,ke.M3)(xe,{keysToPluck:["bundle"]})},64409:(e,t,n)=>{n.d(t,{yV:()=>s.yV,SZ:()=>s.SZ,OM:()=>s.OM,Z3:()=>s.Z3,MP:()=>a,HP:()=>r,MB:()=>l.M});var o=n(4384),i=n(55058);const a={[o.Rp.SM]:i.Vh.sm,[o.Rp.MD]:i.Vh.md,[o.Rp.LG]:i.Vh.lg,[o.Rp.XL]:i.Vh.xl,[o.Rp.XXL]:i.Vh.xxl,[o.Rp.XXXL]:i.Vh.xxxl},r={[o.Rp.SM]:`(min-width: ${a[o.Rp.SM]}px)`,[o.Rp.MD]:`(min-width: ${a[o.Rp.MD]}px)`,[o.Rp.LG]:`(min-width: ${a[o.Rp.LG]}px)`,[o.Rp.XL]:`(min-width: ${a[o.Rp.XL]}px)`,[o.Rp.XXL]:`(min-width: ${a[o.Rp.XXL]}px)`,[o.Rp.XXXL]:`(min-width: ${a[o.Rp.XXXL]}px)`};a[o.Rp.SM],a[o.Rp.MD],a[o.Rp.LG],a[o.Rp.XL],a[o.Rp.XXL],a[o.Rp.XXXL];var s=n(5879),l=n(70346)},64663:(e,t,n)=>{n.d(t,{c$:()=>y,as:()=>b});var o=n(96540),i=n(5556),a=n.n(i),r=n(5922),s=n(20681),l=n.n(s),d=n(64687),c=n(14307),m=n(65592),u=n(34854),p=n(92704),g=n(70099),h=n(56892);const y=o.createContext(d.DV),b=(y.Consumer,({children:e,isEnabled:t=!0})=>{const[n,i]=(0,o.useState)(!1),[a,s]=(0,o.useState)(null),[b,f]=(0,o.useState)(null),w=(e,t,n)=>{const o=[{schema:"iglu:com.condenast/click_info/jsonschema/2-0-0",data:{click_text:n?`${e}: ${n}`:e}}];switch(e){case"Banner Accept Cookies":case"Preferences Allow All":(0,r.zm)("trackConsentAllow",t,o),window.Kendra.CONSENT.broadcast(p.M.CONSENT_ACCEPTED,(0,u.rp)(t));break;case"Banner Reject All":case"Preferences Reject All":case"Banner - Continue without Accepting":(0,r.zm)("trackConsentDeny",t,o),window.Kendra.CONSENT.broadcast(p.M.CONSENT_REJECTED,(0,u.rp)(t));break;case"Preferences Save Settings":(0,r.zm)("trackConsentSelected",t,o),window.Kendra.CONSENT.broadcast(p.M.CONSENT_UPDATED,(0,u.rp)(t));break;case"withdrawn":(0,r.zm)("trackConsentWithdrawn",t,o),window.Kendra.CONSENT.broadcast(p.M.CONSENT_UPDATED,(0,u.rp)(t))}};(0,o.useEffect)(()=>{if(n)if(window.Kendra.USER_CONTEXT.broadcast(g.Y.ONE_TRUST_LOADED),window.Fides){const e=(window.dataLayer??[]).filter(e=>(0,u.Sh)(e));e.length>0&&(0,r.sv)("trackCmpVisible",{elapsedTime:e[0].Fides.timestamp})}else(0,r.sv)("trackCmpVisible",{elapsedTime:performance.now()})},[n]),(0,o.useEffect)(()=>{const e=()=>{window.cnBus?.emit("consent.updated")};return window.addEventListener("FidesInitialized",e),window.addEventListener("FidesUpdated",e),window.Fides?.initialized&&e(),()=>{window.removeEventListener("FidesInitialized",e),window.removeEventListener("FidesUpdated",e)}},[]),(0,o.useEffect)(()=>{const e=(0,c.P2)();f(e);const t=()=>{window.Kendra.CONSENT.broadcast(p.M.CONSENT_DEFAULT,(0,u.rp)((0,u.be)()))};return window.Fides?.initialized?t():window.addEventListener("FidesInitialized",t),()=>{window.removeEventListener("FidesInitialized",t)}},[]),(0,o.useEffect)(()=>{if(a){const{dataLayer:e,Fides:t}=window;if(t)(0,m.n)(e,b,a,w,f);else{const t=l()(e,e=>e?.[2]?.optanonAction||e?.optanonAction);if(b){const e=b.some(e=>a.indexOf(e)<=-1),n=t?.[2]?.optanonAction||t?.optanonAction,o=t?.[2]?.optanonLabel||t?.optanonLabel;e&&n&&!n.toLowerCase().includes("reject")?w("withdrawn",a,n):w(n,a,o),f(a)}}}},[a]);const $=(0,o.useCallback)(e=>{setTimeout(()=>{if(window.Fides){(0,m.S)(e,s);const t=()=>window.dataLayer.filter(e=>(0,u.Sh)(e)).length>0;i((0,u.Sh)(e)||t())}else{const t=(0,c.aW)()?.split(",")||window.OnetrustActiveGroups?.split(",")?.slice(1,-1),o=e[2]?.optanonAction||e?.optanonAction,a=e[2]?.optanonLabel||e?.optanonLabel;if(!(0,h.getCookie)("OptanonAlertBoxClosed")&&window.OneTrust&&window.OneTrust.GetDomainData){const{IsBannerLoaded:e,ShowAlertNotice:t}=window.OneTrust.GetDomainData();!o&&!n&&e&&t&&i(!0)}if("OneTrustGroupsUpdated"===e.event&&e.OnetrustActiveGroups&&s(t),o){const e=a?`${o}: ${a}`:o;(0,c.rp)(e),(0,c.F0)(e,null,"click","consent_preferences")}}},1)},[]);let v;(0,o.useEffect)(()=>{Array.isArray(window.dataLayer)&&(window.dataLayer.push=function(...e){Array.prototype.push.apply(this,e),$.apply(this,e)})},[$]),v=t?(0,d.Sr)():{...d.IA};const[C,k]=(0,o.useState)(v);(0,o.useEffect)(()=>{const e=()=>{if(window.Fides){const e=(0,d.S2)(window.Fides.consent,e=>d.Cv[e])||v;k({...v,...e})}};return window.addEventListener("FidesInitialized",e),window.Fides?.initialized&&e(),()=>{window.removeEventListener("FidesInitialized",e)}},[]);const x=(0,o.useCallback)(e=>{t&&(Array.isArray(e?.detail)||e?.detail?.consent?k({...v,...(0,d.K2)(e.detail,window?.Fides&&d.UA)}):k({...v,...(0,d.Sr)(window?.Fides&&d.UA)}))},[t,v]);return(0,d.qn)(x),o.createElement(y.Provider,{value:C},e)});b.displayName="ConsentProvider",b.propTypes={children:a().node.isRequired,isEnabled:a().bool}},65226:(e,t,n)=>{n.d(t,{YN:()=>s,bI:()=>a,y:()=>l});var o=n(99906);const i=e=>{const[t,n]=e.split("/");return Math.ceil(100*t/n)},a=e=>{const{columnSpans:t,isFullBleed:n}=e||{};return t?o.Ay.sizesDescending.reduce((e,a,r)=>{const s=i(t[a]),l=o.Ay.sizesDescending[r+1],d=l?i(t[l]):0;if("xxxl"!==a||n)"sm"===a?e.push(`${s}vw`):s!==d&&e.push(`(min-width: ${o.Ay.minThresholds[a]}px) ${s}vw`);else{const t=o.Ay.minThresholds.xxxl,n=Math.ceil(t*s/100);e.push(`(min-width: ${t}px) ${n}px`)}return e},[]).join(", "):"100vw"};function r(e){const t=e.height/e.width,n=function(e){if(!e)return NaN;const[t,n]=e.split(":").map(e=>parseInt(e,10));return n/t}(e.aspectRatio);return Math.round(1e4*(t||n))/100}function s(e,t){if(!e||!t.sm)return"";const n=r(t.sm);let i=`\n .${e} {\n height: 0;\n padding-bottom: ${n}%;\n }`;if(t.lg){const a=r(t.lg);a!==n&&(i+=`\n @media (min-width: ${o.Ay.minThresholds.lg}px) {\n .${e} {\n padding-bottom: ${a}%;\n }\n }`)}return i}function l(e,t){if(!t?.aspectRatio||"number"!=typeof e)return"";const[n,o]=t.aspectRatio.split(":").map(Number);if(!n||!o)return"";return`height: ${Math.round(e*o/n)}px;overflow: hidden;`}},65780:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({contentLabel:{id:"Lightbox.ContentLabel",defaultMessage:"Photo Gallery",description:"Lightbox component content label"},closeButtonIconLabel:{id:"Lightbox.CloseButtonIconLabel",defaultMessage:"Close Lightbox",description:"Lightbox component close button icon label"}})},65881:(e,t,n)=>{n.d(t,{Q:()=>a});var o=n(38267),i=n(26865);const a=o.Ay.div.withConfig({displayName:"ButtonCalloutWrapper"})` display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-start; margin: ${(0,i.Kq)(2)} 0 ${(0,i.Kq)(4.5)}; gap: ${(0,i.Kq)(2)}; `},66042:(e,t,n)=>{n.d(t,{MD:()=>r,Rc:()=>l,dM:()=>s,zD:()=>d});var o=n(38267),i=n(26865),a=n(73730);const r=o.Ay.div.withConfig({displayName:"TabsWrapper"})` grid-column: 1 / span 12; text-align: center; ${({alignLeft:e})=>e?"text-align: left;":""} .tab-link.tab-link--active { ${({theme:e})=>(0,i._o)(e,"color","colors.discovery.lead.primary.link-hover")}; } `,s=o.Ay.div.withConfig({displayName:"TabsContentWrapper"})``,l=o.Ay.div.withConfig({displayName:"TabsPanel"})` display: ${({isActive:e})=>e?"block":"none"}; `,d=(0,o.Ay)(a.A.Primary).withConfig({displayName:"TabsButtonPrimary"})` margin-top: ${(0,i.Kq)(5)}; `},66472:(e,t,n)=>{n.d(t,{cs:()=>c,fm:()=>p,pN:()=>m,tX:()=>d,uB:()=>u,wp:()=>l});var o=n(38267),i=n(76955),a=n(26865),r=n(96472),s=n(66042);const l=o.Ay.ul.withConfig({displayName:"EventsListItems"})` padding: 0; list-style-type: none; `,d=(0,o.Ay)(i.vm).withConfig({displayName:"EventsListItem"})``;d.defaultProps={as:"li"};const c=(0,o.Ay)(i.vm).withConfig({displayName:"EventsListTitle"})` margin: 0 0 ${(0,a.Kq)(4)} 0; padding: 0; @media (min-width: ${r.LO.md}) { margin: 0 0 ${(0,a.Kq)(4)} 0; } `;c.defaultProps={as:"h1",colorToken:"colors.discovery.body.light.heading",typeIdentity:"typography.definitions.discovery.subhed-section-secondary"};const m=o.Ay.div.withConfig({displayName:"EventsListContainer"})``,u=o.Ay.div.withConfig({displayName:"EventsListMonth"})``,p=o.Ay.div.withConfig({displayName:"EventsListWrapper"})` ${({theme:e,isSortByMonth:t})=>t?(0,a._o)(e,"background-color","colors.discovery.body.white.background"):(0,a._o)(e,"background-color","colors.discovery.body.light.background")}; padding: ${(0,a.Kq)(4)} ${(0,a.Kq)(2)}; @media (min-width: ${r.LO.md}) { padding: ${(0,a.Kq)(6)} ${(0,a.Kq)(3)}; } ${s.dM} { ${c} { margin-top: ${(0,a.Kq)(4)}; } ${m} { text-align: left; } } ${({isSortByMonth:e})=>e&&`\n ${u} {\n margin: 0 0 ${(0,a.Kq)(6)} 0;\n\n @media (min-width: ${r.LO.md}) {\n margin: 0 0 ${(0,a.Kq)(7)} 0;\n }\n\n &:last-of-type {\n margin: 0;\n }\n }\n ${c} {\n margin: 0 0 ${(0,a.Kq)(2)} 0;\n }\n`}; `},66862:(e,t,n)=>{n.d(t,{A:()=>W});var o=n(13465),i=n(31581),a=n(47655),r=n(5556),s=n.n(r),l=n(96540),d=n(35864),c=n(38267),m=n(26865),u=n(76955),p=n(86659),g=n(73730),h=n(18117),y=n(96472),b=n(72662);const f=c.Ay.div.withConfig({displayName:"ProductVisualWrapper"})` ${({hasNoHeroProductVisualImage:e,isFirstProductListingContainer:t})=>e&&`\n ${(0,m.H4)(y.LO.md)} {\n margin-top: ${t?(0,m.Kq)(4):(0,m.Kq)(15)};\n }`} `,w=(0,c.Ay)(p.A.MarginsOnly).withConfig({displayName:"SectionTitleWrapper"})` padding-bottom: ${(0,m.Kq)(2)}; `,$=c.Ay.div.withConfig({displayName:"ExpertCardWrapper"})` grid-column: 1 / span 4; margin: ${(0,m.Kq)(2)} ${(0,m.Kq)(3)}; ${({hasNoHeroProductVisualImage:e})=>e&&`\n margin: 0;\n text-align: center;\n ${(0,m.L7)(y.LO.md)} {\n margin-bottom : ${(0,m.Kq)(2)};\n }\n `} ${(0,m.H4)(y.LO.md)} { grid-column: 1 / span 3; grid-row: 2; margin: ${(0,m.Kq)(3)} 0 ${(0,m.Kq)(5)} ${(0,m.Kq)(6)}; } `,v=(0,c.Ay)(u.vm).withConfig({displayName:"Title"})` ${({shouldUseHedInExpertCard:e})=>e?(0,m.Gg)("typography.definitions.discovery.hed-core-secondary"):(0,m.Gg)("typography.definitions.discovery.hed-feature")} margin-bottom: ${(0,m.Kq)(2)}; ${({theme:e})=>(0,m.iq)(e)&&`\n ${(0,m._o)(e,"color","colors.consumption.lead.inverted.heading")};\n `} `,C=((0,c.Ay)(u.vm).withConfig({displayName:"DisclaimerText"})` margin-bottom: ${(0,m.Kq)(2)}; ${(0,m.Gg)("typography.definitions.globalEditorial.context-secondary")}; ${({theme:e})=>(0,m.iq)(e)&&`\n ${(0,m._o)(e,"color","colors.consumption.lead.inverted.description")};\n `} `,(0,c.Ay)(u.vm).withConfig({displayName:"SubHed"})` ${(0,m.Gg)("typography.definitions.discovery.description-page")}; margin: ${(0,m.Kq)(2)} 0 ${(0,m.Kq)(3)} 0; ${({theme:e})=>(0,m.iq)(e)&&`\n ${(0,m._o)(e,"color","colors.consumption.lead.inverted.description")};\n `} ${({showRichTextInDek:e})=>e&&"\n ul, ol {\n list-style-position: inside;\n padding-left: 0;\n }\n "} `),k=c.Ay.div.withConfig({displayName:"ButtonsWrapper"})``,x=(0,c.Ay)(g.A.Utility).withConfig({displayName:"UtilityButton"})` margin: 0 ${(0,m.Kq)(1.5)} ${(0,m.Kq)(2)} 0; ${(0,m.H4)(y.LO.md)} { margin: 0 ${(0,m.Kq)(1.5)} ${(0,m.Kq)(1.5)} 0; } `,E=c.Ay.div.withConfig({displayName:"ProductCardCarouselWrapper"})` grid-column: 1 / span 4; margin: ${(0,m.Kq)(-5)} 0 ${(0,m.Kq)(4)} 0; overflow-x: clip; ${({hasNoHeroProductVisualImage:e})=>e&&`\n ${(0,m.L7)(y.LO.md)} {\n margin: 0 0 ${(0,m.Kq)(4)} 0;\n }\n `} ${(0,m.H4)(y.LO.md)} { grid-column: 4 / -1; grid-row: 2; margin-top: ${(0,m.Kq)(-13)}; margin-left: ${(0,m.Kq)(3)}; } ${b.aF} { margin: ${(0,m.Kq)(2)} 0; ${({hasNoHeroProductVisualImage:e})=>!e&&`\n margin-top: ${(0,m.Kq)(-3)};\n `} ${b.ig} { margin-right: ${(0,m.Kq)(3)}; ${(0,m.H4)(y.LO.md)} { margin-right: ${(0,m.Kq)(6)}; } } ${b.l9} { padding-top: ${(0,m.Kq)(2)}; } ${b.oX}:first-child { box-sizing: content-box; ${({hasPadding:e})=>e?`padding-left: ${(0,m.Kq)(3)};\n ${(0,m.H4)(y.LO.md)}\n { \n padding-left: 0;\n }`:"padding-left: 0;"} } ${b.oX}:last-child { box-sizing: content-box; ${({hasPadding:e})=>e?`padding-right: ${(0,m.Kq)(3)};\n ${(0,m.H4)(y.LO.md)}\n { \n padding-right: ${(0,m.Kq)(6)};\n }`:"padding-right: 0;"} } } `,A=c.Ay.div.withConfig({displayName:"GridWrapper"})` display: grid; grid-gap: 0; grid-template-columns: repeat(4, 1fr); margin: 0 0 ${(0,m.Kq)(4)} 0; width: 100%; row-gap: 0; ${h.B} { grid-column: 1 / span 4; img { width: 100vw; } } ${(0,m.H4)(y.LO.md)} { grid-template-columns: repeat(12, 1fr); margin: 0 0 ${(0,m.Kq)(5)} 0; ${h.B} { grid-column: 1 / span 12; grid-row: 1; img { width: 100vw; } } } `,S=({title:e,subHed:t,links:n=[],shouldUseHedInExpertCard:o,hasNoHeroProductVisualImage:i,showRichTextInDek:a})=>e||0!==n.length?l.createElement($,{hasNoHeroProductVisualImage:i},e&&l.createElement(v,{shouldUseHedInExpertCard:o,as:o?"h2":"p",dangerouslySetInnerHTML:{__html:e}}),t&&l.createElement(C,{showRichTextInDek:a,dangerouslySetInnerHTML:{__html:t}}),l.createElement(k,null,n.map((e,t)=>l.createElement(x,{key:`btn-${t}`,btnStyle:"outlined",inputKind:"link",label:e.label,href:e.href,target:e.target})))):null;S.propTypes={hasNoHeroProductVisualImage:s().bool,links:s().array,shouldUseHedInExpertCard:s().bool,showRichTextInDek:s().bool,subHed:s().string,title:s().string};const L=S;var T=n(38221),N=n.n(T),H=n(44210),I=n(52663),B=n(67170),O=n(1899),_=n(19607),K=n(60162),P=n(68397);const D=({cardLayout:e,productList:t,carouselViewProps:n,hasBorder:o=!1,hasUnderlineHed:i=!0,productProps:a,layoutName:r,isLazy:s,shouldAppendReadMoreLinkForDek:d=!0,summaryItemVariation:c="TextBelowLeft",isUpcEnabled:m,isContentCenter:u,isPlpCurated:p,shouldOpenInternalLinksInNewTab:g,hideRubricLink:h,hasNoHeroProductVisualImage:y,shouldHideDangerousDek:b,templateLayout:f,isSponsoredProductEnabledforCommerce:w,nativeSponsorProductPositionCarousel:$,enableEditorNote:v,editorNoteTitle:C,hasReadMoreFeature:k,showClampedProductDescription:x,productDescriptionLineLength:A})=>{const S="ContentCarousel",[L,T]=(0,l.useState)(!1),D=["product","commerce-product"];l.useEffect(()=>{window.addEventListener("scroll",N()(()=>(0,K.Yp)(S,document.getElementsByClassName("impressionTracking")),1e3)),window.addEventListener("load",()=>(0,K.Yp)(S,document.getElementsByClassName("impressionTracking")))},[S]);const q=(t,n)=>{const{contentType:y}=t||"",f={...t,index:n,layout:"VisualCarousel"};let w=e,$=I.A[c];var E;switch("article"!==y&&"gallery"!==y&&"externallink"!==y||(w="summary-item-card"),E=y,m&&D.includes(E)&&(w="unified-product-card"),t.isTextExternalLink||t.showLinkedAsset&&t.isTextExternalLink?$=I.A.SideBySideDenseNoAsset:t.showAssetOnly||t.showLinkedAsset?$=B.A:u&&"externallink"===y&&($=I.A.TextBelowCenter),w){case"summary-item-card":return l.createElement($,{...t,key:`${t.dangerousHed}-${n}`,...a,hasUnderlineHed:i,isLazy:s,shouldAppendReadMoreLinkForDek:d,hasBorder:o,showShopNowButton:"externallink"===y,buttonSize:"default",shouldUseSmallHed:"externallink"===y,isPlpCurated:p,shouldOpenInternalLinksInNewTab:g,layout:S,index:n,hideRubricLink:h,shouldHideDangerousDek:b,isTextExternalLink:t.isTextExternalLink});case"unified-product-card":return l.createElement(O.A,{...t,key:`${t.dangerousHed}-${n}`,data_item:f,isLazy:s,hasImpressionTracking:!0,layoutName:r,layout:S,shouldDisableCreditText:!0,componentUsed:"carousel",enableEditorNote:v,editorNoteTitle:C,hasReadMoreFeature:k,showClampedProductDescription:x,productDescriptionLineLength:A,bookmarkMeta:t});default:return l.createElement(H.A,{...t,isLazy:s,key:`${t.dangerousHed}-${n}`,...a,hasImpressionTracking:!0,data_item:t,onClick:(e,o)=>{(0,K.g1)({window,product:t,index:n,actionId:o,layout:S,event:e,layoutTitle:r})},layoutName:r,layout:S})}},{showControls:M,dangerousHed:R,itemsDensity:F}=n,U=$-1;return l.createElement(E,{hasPadding:n?.hasPadding,hasNoHeroProductVisualImage:y},l.createElement(P.A,{carouselSettings:{showControls:M,controlsPosition:y?"header":"footer",itemsDensity:F}},t.map((e,n)=>l.createElement(l.Fragment,{key:`fragment-${n}`},((e,n)=>e&&D.includes(e.contentType)&&n===U&&UT(!0)})),l.createElement(P.A.CarouselItem,{key:`carouselItem-${n}`,itemsDensity:F,trackingEventData:{carouselName:R,itemIndex:n,totalItems:t.length}},q(e,n))))))};D.propTypes={cardLayout:s().oneOf(["summary-item-card","plp-product-card"]),carouselViewProps:s().object,enableEditorNote:s().bool,editorNoteTitle:s().string,hasBorder:s().bool,hasNoHeroProductVisualImage:s().bool,hasReadMoreFeature:s().bool,hasUnderlineHed:s().bool,hideRubricLink:s().bool,isContentCenter:s().bool,isLazy:s().bool,isPlpCurated:s().bool,isSponsoredProductEnabledforCommerce:s().bool,isUpcEnabled:s().bool,layoutName:s().string,nativeSponsorProductPositionCarousel:s().number,productDescriptionLineLength:s().number,productList:s().array,productProps:s().object,shouldAppendReadMoreLinkForDek:s().bool,shouldHideDangerousDek:s().bool,shouldOpenInternalLinksInNewTab:s().bool,showClampedProductDescription:s().bool,summaryItemVariation:s().string,templateLayout:s().string};const q=D;var M=n(73275),R=n(49235),F=n(13099);const U=e=>{const{hed:t,productVisualAsset:n,sectionTitleVariation:o="LineAboveLineBelowTextCenter",expertCardContent:i,productList:a=[],carouselViewProps:r={showControls:!0,hasPadding:!0,itemsDensity:"min"},productProps:s={isDropshipProduct:!0,isProductCardName:!0,hasUnderlineHed:!1,hasImageGrid:!0,hasProductPriceColor:!0},shouldUseHedInExpertCard:c=!0,theme:m="standard",isLazy:u,variations:p={layout:"plp-product-card"},isFirstProductListingContainer:g,showDisclaimer:h,affiliateDisclaimer:y,summaryItemVariation:b,shouldAppendReadMoreLinkForDek:$,isUpcEnabled:v,isContentCenter:C,isPlpCurated:k,shouldOpenInternalLinksInNewTab:x,hideRubricLink:E,showRichTextInDek:S=!1,shouldHideDangerousDek:T,templateLayout:N,config:H,enableEditorNote:I,editorNoteTitle:B,hasReadMoreFeature:O,showClampedProductDescription:_,productDescriptionLineLength:K}=e,{layout:P}=p,D=t?t.replace(/[^a-zA-Z]+/gi,"-").toLowerCase():"";let U=t,V={};var G,W;c&&t&&(U=void 0,G=t,W=i?.title,V={title:G,subHed:W}),r.dangerousHed=D;const j=d.default[o],z=H?.adsConfig?.enableNativeSponsoredProductforCommerce||!1,Y=H?.adsConfig?.nativeSponsorProductPositionCarousel||3;return l.createElement(R.A,{palette:m},l.createElement(f,{hasNoHeroProductVisualImage:!n,isFirstProductListingContainer:g&&h},g&&h&&l.createElement(F.M.TextCenterNoTopRule,{isEnabled:h,hasDisclaimerBottomMargin:!n,disclaimerHtml:y}),U&&l.createElement(w,null,l.createElement(j,{dangerousHed:U})),l.createElement(A,null,i&&l.createElement(L,{...i,...V,hasNoHeroProductVisualImage:!n,shouldUseHedInExpertCard:c,showRichTextInDek:S}),n&&l.createElement(M.A,{...n,isLazy:u}),a.length>0&&l.createElement(q,{cardLayout:P,productList:a,carouselViewProps:r,productProps:s,layoutName:D,isLazy:u,summaryItemVariation:b,shouldAppendReadMoreLinkForDek:$,isUpcEnabled:v,isContentCenter:C,isPlpCurated:k,shouldOpenInternalLinksInNewTab:x,hideRubricLink:E,hasNoHeroProductVisualImage:!n,shouldHideDangerousDek:T,templateLayout:N,isSponsoredProductEnabledforCommerce:z,nativeSponsorProductPositionCarousel:Y,enableEditorNote:I,editorNoteTitle:B,hasReadMoreFeature:O,showClampedProductDescription:_,productDescriptionLineLength:K}))))};U.propTypes={affiliateDisclaimer:s().string,carouselViewProps:s().object,config:s().shape({adsConfig:s().shape({enableNativeSponsoredProductforCommerce:s().bool,nativeSponsorProductPositionCarousel:s().number})}),editorNoteTitle:s().string,enableEditorNote:s().bool,expertCardContent:s().object,hasReadMoreFeature:s().bool,hed:s().string,hideRubricLink:s().bool,isContentCenter:s().bool,isFirstProductListingContainer:s().bool,isLazy:s().bool,isPlpCurated:s().bool,isUpcEnabled:s().bool,productDescriptionLineLength:s().number,productList:s().array,productProps:s().object,productVisualAsset:s().object,sectionTitleVariation:s().string,shouldAppendReadMoreLinkForDek:s().bool,shouldHideDangerousDek:s().bool,shouldOpenInternalLinksInNewTab:s().bool,shouldUseHedInExpertCard:s().bool,showClampedProductDescription:s().bool,showDisclaimer:s().bool,showRichTextInDek:s().bool,summaryItemVariation:s().string,templateLayout:s().string,theme:s().oneOf(["standard","inverted"]),variations:s().shape({layout:s().oneOf(["summary-item-card","plp-product-card"])})};const V=U;V.PLPProductCard=(0,a.y)(V,"PLPProductCard",{layout:"plp-product-card"}),V.SummaryItemCard=(0,a.y)(V,"SummaryItemCard",{layout:"summary-item-card"});const G=V,W=(0,i.N)((0,o.y)(G,"ProductVisual"))},67170:(e,t,n)=>{n.d(t,{A:()=>x});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(53499),l=n(38267),d=n(26865),c=n(96472),m=n(76955),u=n(73275);const p=(0,l.Ay)(m.sH).withConfig({displayName:"SummaryItemSimpleAnchor"})` display: block; position: relative; ${({hasMobilePaddingBottom:e})=>`padding-bottom: ${(0,d.Kq)(e?4:3)};}`}; && { ${({hasUnderlineHed:e})=>!e&&"text-decoration: none"} } `,g=(0,l.Ay)(m.vm).withConfig({displayName:"SummaryItemSimpleHed"})` ${({hasMobilePaddingBottom:e})=>`padding-bottom: ${(0,d.Kq)(e?.5:1.5)};}`}; text-align: center; ${({theme:e})=>(0,d.Gg)(e,"typography.definitions.discovery.hed-core-secondary")} ${({theme:e})=>(0,d._o)(e,"color","colors.discovery.lead.secondary.hed")}; `,h=(0,l.Ay)(m.vm).withConfig({displayName:"SummaryItemSimpleSubHed"})` text-align: center; ${({theme:e,showPrice:t})=>t?(0,d.Gg)(e,"typography.definitions.discovery.hed-core-secondary"):(0,d.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")} ${({theme:e})=>(0,d._o)(e,"color","colors.discovery.body.white.context-tertiary")}; `,y=(0,l.Ay)(u.A).withConfig({displayName:"SummaryItemResponsiveAsset"})` ${({hasMobilePaddingBottom:e})=>`padding-bottom: ${(0,d.Kq)(e?1.5:.5)};}`}; @media (min-width: ${c.LO.md}) { padding-bottom: ${(0,d.Kq)(1)}; } img { width: 100%; } `,b=l.Ay.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; `,f=l.Ay.div.withConfig({displayName:"SummaryItemLiveSpacerAsset"})` position: static; opacity: 0.3; width: 4px; `,w=l.Ay.div.withConfig({displayName:"SummaryItemLiveEllipseAsset"})` top: 7px; left: 4px; flex: none; flex-grow: 0; order: 0; margin: 4px 0; ${({theme:e})=>(0,d._o)(e,"background-color","colors.interactive.base.white")}; width: 5px; height: 5px; `,$=l.Ay.div.withConfig({displayName:"SummaryItemLiveLabelAsset"})` top: 2px; left: 13px; flex: none; flex-grow: 0; order: 1; margin: 4px 0; height: 15px; ${({theme:e})=>(0,d.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")} line-height: 15px; ${({theme:e})=>(0,d._o)(e,"color","colors.interactive.base.white")}; `,v=(0,l.Ay)(m.vm).withConfig({displayName:"SummaryItemCustomMessage"})` ${({theme:e})=>(0,d.Gg)(e,"typography.definitions.globalEditorial.ad-label")} ${({theme:e})=>(0,d._o)(e,"color","colors.consumption.body.standard.adlabel")}; text-align: center; ${({theme:e,isRunwayRecommendationSubHed:t})=>t&&`\n ${(0,d.Gg)(e,"typography.definitions.globalEditorial.context-secondary")}\n ${(0,d._o)(e,"color","colors.consumption.body.standard.subhed")}\n `}; `;v.displayName="SummaryItemCustomMessage";const C=({image:e,isLive:t=!1,isRunwayRecommendationSubHed:n=!1,hasMobilePaddingBottom:o,hed:i,showAssetOnly:a=!1,showLinkedAsset:l=!1,subHed:d,liveLabel:c="LIVE",url:m,customMessage:u,showPrice:C,hasUnderlineHed:k=!0,isInternalLink:x,onItemClick:E})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"SummaryItemSimple"})},[]);const A=e&&r.createElement(y,{...e,hasNativeImgLazyLoading:!0,hasMobilePaddingBottom:o}),S=()=>{E&&E()};if(a)return A;const L=e&&r.createElement(p,{href:m,"data-testid":"SummaryItemSimple",onClick:S,target:x?"_self":"_blank",hasMobilePaddingBottom:o},r.createElement(y,{...e,hasNativeImgLazyLoading:!0}));return l?L:r.createElement(p,{href:m,"data-testid":"SummaryItemSimple",onClick:S,hasUnderlineHed:k,hasMobilePaddingBottom:o},A,e&&t&&r.createElement(b,null,r.createElement(w,null),r.createElement(f,null),r.createElement($,null," ",c," ")),i&&r.createElement(g,{as:"h3",hasMobilePaddingBottom:o},i),d&&r.createElement(h,{showPrice:C,as:"p"},C?d:null),u&&r.createElement(v,{isRunwayRecommendationSubHed:n}," ",u," "))};C.propTypes={customMessage:a().string,hasMobilePaddingBottom:a().bool,hasUnderlineHed:a().bool,hed:a().string,image:a().shape(y.propTypes),isInternalLink:a().bool,isLive:a().bool,isRunwayRecommendationSubHed:a().bool,liveLabel:a().string,onItemClick:a().func,showAssetOnly:a().bool,showLinkedAsset:a().bool,showPrice:a().bool,subHed:a().string,url:a().string.isRequired};const k=C,x=(0,o.y)(k,"SummaryItemSimple")},67198:(e,t,n)=>{n.d(t,{A:()=>o});const o=(e,t="smooth",n=-48)=>{if(e)try{let o;try{o=document.querySelector(e)}catch(t){o=document.getElementById(e.substr(1))}if(o){const e=document.querySelector(".site-navigation"),i=e?e.offsetHeight:0;setTimeout(()=>{window.scrollTo({top:window.scrollY+n+o.getBoundingClientRect().top-i,behavior:t})},1),o.focus()}}catch(e){}}},67275:(e,t,n)=>{n.d(t,{Jv:()=>T,K1:()=>x,L7:()=>B,Lz:()=>S,NK:()=>E,S_:()=>N,XN:()=>_,ab:()=>K,fm:()=>H,kC:()=>O,pY:()=>I,qC:()=>L,rT:()=>D,t3:()=>k,yk:()=>P});var o=n(38267),i=n(96472),a=n(1123),r=n(26865),s=n(16800),l=n(73730),d=n(89085),c=n(66657),m=n(20139),u=n(86659),p=n(40653),g=n(15641),h=n(52679),y=n(33500),b=n(99585),f=n(20659),w=n(28934),$=n(26805);const v=`\n ${(0,a.VO)()}\n ${(0,a.aU)("padding")}\n\n margin: 0 auto;\n width: 100%;\n max-width: ${i.LO.xxl};\n`,C=(0,o.Ay)(c.A).withConfig({displayName:"MultiPackageBaseRow"})` &:first-child, & ~ & { ${({hasMarginTopMultiPackageRow:e})=>e?"":"margin-top: 0;"} } ${({alignItem:e})=>e&&`\n && {\n text-align: ${e};\n }\n `} ${({hasRightAndLeftMargin:e})=>e?`\n ${(0,r.H4)(i.LO.md)} {\n padding: ${(0,r.Kq)(0)} ${(0,r.Kq)(8)};\n }`:""} inline-embed[name='align-right'] { text-align: right; } inline-embed[name='align-center'] { text-align: center; } `,k=(0,o.Ay)(l.A.Utility).withConfig({displayName:"MultiPackageRow"})` &&& { align-items: center; width: auto; } `,x=(0,o.Ay)(C).withConfig({displayName:"MultiPackageRow"})` ${({hasNoTopMargin:e})=>e?"":`margin-top: ${(0,r.Kq)(7)};`} ${({hasLightBgForLinkBanner:e,hasPlpFilterableContainerLightBackgroundColor:t,theme:n,isInvertedTheme:o})=>e||t?`background-color: ${(0,r.HK)(n,"colors.discovery.body.light.background")};`:o?`background-color: ${(0,r.HK)(n,"colors.consumption.lead.inverted.background")};`:""} ${({hasMediumMargin:e,hasNoBottomMargin:t,hasReducedMargin:n,isNativeAd:o})=>e?`margin-bottom: ${(0,r.Kq)(4)};`:t||o&&n?"margin-bottom: 0;":n?`margin-bottom: ${(0,r.Kq)(2)};`:`margin-bottom: ${(0,r.Kq)(7)};`} ${({hasMarginBottomMultiPackageRow:e,hasConsistentSpacing:t,theme:n})=>t&&"0px"!==(0,s.F)(n,"gap-md")?"margin-bottom: 0;":e?`\n ${(0,r.H4)(i.LO.lg)} {\n margin-bottom: ${(0,r.Kq)(5)};\n }\n ${(0,r.Xm)(i.LO.md,i.LO.lg)} {\n margin-bottom: ${(0,r.Kq)(4)};\n }\n ${(0,r.Xm)(0,i.LO.md)} {\n margin-bottom: ${(0,r.Kq)(3)};\n }`:""} ${({hasNoTopBottomMarginOnMobile:e})=>e?` ${(0,r.Xm)(0,i.LO.md)} {\n margin-top: 0;\n margin-bottom: 0;\n }`:""} ${({hasStickyLinkBanner:e})=>e?`\n position: sticky;\n top: 0px;\n z-index: ${i.KV.stickyLayer};\n `:""} /* TODO: this should be a configuration for a layout Specificity is required due to star selector in homepage */ ${(0,r.H4)(i.LO.lg)} { ${m.S}.homepage__half-column-row + && { width: 50%; max-width: 800px; ${y.bU} { ${(0,r.Gg)("typography.definitions.discovery.subhed-section-secondary")}; } } .homepage__half-column-row + && > ${h.cu} { padding-left: var(--grid-gap); } ${g.yj} { margin: 0 auto; max-width: 1600px; } } ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,s.F)(t,"gap-md")?"\n margin-top: 0;\n margin-bottom: 0;\n ":""} `,E=(0,o.Ay)(u.A.WithMargins).withConfig({displayName:"DiscoveryQuoteRow"})` ${({hasTopAndBottomBorderQuote:e,theme:t})=>e?`\n border-top:1px solid ${(0,r.HK)(t,"colors.discovery.body.white.divider")};\n\n border-bottom:1px solid ${(0,r.HK)(t,"colors.discovery.body.white.divider")};`:""} ${p.E} { grid-column: 1/-1; ${(0,r.H4)(i.LO.md)} { grid-column: 3/11; } } `,A=o.AH` &.puzzles-games-landing-page { .ticker-wrapper { margin-bottom: 0; } .ticker-view > div:nth-child(2) { margin-top: ${(0,r.Kq)(4)}; } .summary-collage-six-puzzles-games .summary-item:first-child h3 { ${(0,r.Gg)("typography.definitions.discovery.description-core")}; font-size: ${(0,r.Kq)(4)}; } .verso-features { margin-bottom: ${(0,r.Kq)(4)}; } > div:nth-child(3) .summary-collage-six-puzzles-games .summary-list--collection-list { ${(0,r.L7)(i.LO.lg)} { padding-top: 0; } } .summary-river-puzzles-games { h2 { font-size: 24px; } & > section { .summary-item:last-child { border-bottom: 0; } > div { margin-bottom: ${(0,r.Kq)(2)}; > div:first-child { margin-bottom: 0; } } } .summary-item { padding-top: ${(0,r.Kq)(2)}; } } .summary-item--is-dense .summary-item__asset-container { ${(0,r.Xm)(0,i.LO.xl)} { display: block; } ${(0,r.H4)(i.LO.xl)} { float: none; margin-left: 0; } } .summary-list--collection-list { ${(0,r.Xm)(0,i.LO.lg)} { border-top: 0; padding-top: 0; } } .summary-list__items .summary-item:not(:first-child) { margin-bottom: 0; padding-bottom: ${(0,r.Kq)(2)}; } .summary-list__items .summary-item:first-child { ${(0,r.Xm)(0,i.LO.lg)} { padding-bottom: ${(0,r.Kq)(2)}; } ${(0,r.H4)(i.LO.lg)} { padding-bottom: 0; } } .summary-collage-six-puzzles-games .summary-item h3 { ${(0,r.Gg)("typography.definitions.discovery.hed-core-secondary")}; } .summary-collage-six-puzzles-games h2, .summary-collection-grid h2 { ${(0,r.Gg)("typography.definitions.discovery.subhed-section-primary")}; } .verso-embed-row inline-embed h1 { margin: 0; font-size: ${(0,r.Kq)(5.5)}; } .verso-embed-row { margin: ${(0,r.Kq)(4)} 0; } ${b.I_} { max-width: initial; } .verso-features h2 { font-size: 24px; } .summary-collage-six-puzzles-games h2 { font-size: 20px; } .summary-item__dek > a { ${(0,r.Gg)("typography.definitions.foundation.link-primary")}; display: block; padding-top: ${(0,r.Kq)(2.5)}; text-decoration: none; color: ${(0,r.HK)("colors.interactive.base.brand-primary")}; } .summary-item__dek > a:hover { text-decoration: underline; } } `,S=o.Ay.div.withConfig({displayName:"MultiPackageContainer"})` ${({showFooterAdPadding:e})=>e&&`padding-bottom: ${(0,r.Kq)(10,"px")};`} ${({customClass:e})=>e&&"puzzles-games-landing-page"===e&&A} ${({hasMarginBottomMultiPackageRow:e})=>e?"\n .verso-features {\n && {\n margin-bottom: 0;\n }\n }\n ":""} ${({hasEvenSpacingMultiPackageRow:e})=>e&&o.AH` > ${x}, > .ad-container { margin-top: ${(0,r.Kq)(6)}; margin-bottom: 0; ${(0,r.H4)(i.LO.md)} { margin-top: ${(0,r.Kq)(7)}; margin-bottom: 0; } :last-child { margin-bottom: ${(0,r.Kq)(6)}; ${(0,r.H4)(i.LO.md)} { margin-bottom: ${(0,r.Kq)(7)}; } } } > ${x} { :first-child { margin-top: 0; } :empty { margin-top: 0; margin-bottom: 0; } > ${f.Ae} { margin-bottom: 0; } } > ${$.ec} + .journey-unit__container, > .ticker-view { + * { margin-top: 0; } > ${m.S}, ${w.ab} { margin-top: 0; margin-bottom: 0; } } `} .ticker-view .ticker-wrapper { ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,s.F)(t,"gap-md")?"margin-top: 0; margin-bottom: 0;":""} } `,L=o.Ay.div.withConfig({displayName:"SectionJumpLinksWrapper"})` ${({theme:e})=>(e=>`\n background: ${(0,r.HK)(e,"colors.consumption.body.inverted.display-texture")};\n ${(0,r.H4)(i.LO.md)} {\n width: ${i.LO.md};\n padding: ${(0,r.Kq)(3)} ${(0,r.Kq)(9)} ${(0,r.Kq)(5)} ${(0,r.Kq)(9)};\n }\n padding: ${(0,r.Kq)(2)} ${(0,r.Kq)(5)} ${(0,r.Kq)(3.5)} ${(0,r.Kq)(5)};\n margin: auto;\n div {\n div {\n h1 {\n text-align: center;\n }\n div {\n a {\n font-family: Izmir, helvetica, sans-serif;\n font-style: normal;\n line-height: ${(0,r.Kq)(2.4,"rem")};\n font-size: ${(0,r.Kq)(2)};\n &:not(.button):link,\n &:not(.button):visited {\n color: rgb(0, 0, 0);\n }\n }\n display: grid;\n ${(0,r.H4)(i.LO.md)} {\n grid-template-columns: 1fr 1fr 1fr;\n grid-row-gap: ${(0,r.Kq)(1.5)};\n }\n grid-template-columns: 1fr 1fr;\n grid-row-gap: ${(0,r.Kq)(1)};\n }\n }\n }\n }\n `)(e)} `,T=(0,o.Ay)(x).withConfig({displayName:"MultiPackageReadMore"})` display: flex; justify-content: center; ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,s.F)(t,"gap-md")?"\n margin-top: 0;\n margin-bottom: 0;\n ":""} `,N=o.Ay.div.withConfig({displayName:"PromoBoxWrapper"})` ${v} `,H=o.Ay.div.withConfig({displayName:"EventsListWrapper"})` ${(0,a.VO)()} margin: 0 auto; width: 100%; max-width: ${i.LO.xxl}; ${(0,r.H4)(i.LO.lg)} { padding-right: var(--grid-margin); padding-left: var(--grid-margin); } `,I=o.Ay.div.withConfig({displayName:"PromoBoxWrapper"})` ${v} `,B=o.Ay.div.withConfig({displayName:"NewsletterWrapper"})` ${v} padding-top: ${(0,r.Kq)(6)}; padding-bottom: ${(0,r.Kq)(6)}; ${(0,r.H4)(i.LO.md)} { padding-top: ${(0,r.Kq)(9)}; padding-bottom: ${(0,r.Kq)(9)}; } `,O=o.Ay.div.withConfig({displayName:"CMUnitWrapper"})` ${v} ${(0,r.H4)(i.LO.lg)} { padding-right: var(--grid-margin); padding-left: var(--grid-margin); } `,_=o.Ay.div.withConfig({displayName:"SubTopicDiscoveryWrapper"})` ${(0,d.universalGridCore)(!0)} ${(0,a.aU)("padding")} margin: 0 auto; width: 100%; max-width: ${i.LO.xxl}; ${(0,r.H4)(i.LO.lg)} { padding-right: var(--grid-margin); padding-left: var(--grid-margin); } `,K=o.Ay.div.withConfig({displayName:"TickerWrapper"})` ${({isInvertedTheme:e})=>e?`\n ${(0,a.VO)()}\n ${(0,a.aU)("padding",!0)}`:`${v}`} `,P=(0,o.Ay)("div").withConfig({displayName:"MultipackageNoItemsBlock"})` ${(0,a.VO)()} ${(0,a.aU)("padding")} margin: 0 auto; margin-bottom: ${(0,r.Kq)(4)}; width: 100%; max-width: ${i.LO.xxl}; color: white; font-family: 'LabGrotesque'; ${({hasRule:e,theme:t})=>e?`\n &::before {\n border-top: 1px solid ${(0,r.HK)(t,"colors.discovery.body.white.divider")};\n content: '';\n grid-column: 1/-1;\n margin-bottom: ${(0,r.Kq)(4)};\n display: block;\n }\n `:""} h3 { margin: 0 auto; width: fit-content; ${(0,r.Gg)("typography.definitions.consumptionEditorial.subhed-break-secondary")} } p { font-family: Proxima Nova; font-size: 12px; } `,D=o.Ay.div.withConfig({displayName:"MultiPackageBodyWrapperGrid"})` ${(0,d.universalGridCore)()} ${(0,a.aU)("padding")} `},67506:(e,t,n)=>{n.d(t,{O6:()=>a,T5:()=>i,mJ:()=>r,pH:()=>s});n(29484);const o=["category","color","brand"],i=e=>!!(e.metadata&&"contentreference"===e.metadata.contentType&&"commerce-tools"===e.provider||"commerce-product"===e.contentType),a=e=>{if(!e)return"";const t=e.replace("?","").split("&"),n=[];let i="",a="";return t.forEach(e=>{const[t,r]=e.split("=");if(o.includes(t)){const e=decodeURIComponent(r).replace(/ /g,"+");n.push(`${t}=${e}`)}else"sort"===t?i=decodeURIComponent(r):"page"===t&&(a=r)}),{queryString:n.join("&"),sort:i,page:a}},r=e=>e.toLowerCase().replace(/[^\w ]+/g,"").replace(/ +/g,"-"),s=({key:e,value:t},n)=>{const o=n.find(t=>t.label.toLowerCase()===e.toLowerCase()),i=o&&o.children.filter(e=>t.includes(r(e.label))).map(e=>e.value);return{key:o?.value||e,value:i}}},67611:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(44210);const i=(0,n(13465).y)(o.A,"PLPProductCard")},67616:(e,t,n)=>{function o(e){return Array.isArray(e)?e.length>0&&e.some(e=>e?.credit&&""!==e.credit):Boolean(e?.credit&&""!==e.credit)}n.d(t,{q:()=>o})},67805:(e,t,n)=>{n.d(t,{D:()=>d,S:()=>c});var o=n(96540),i=n(5556),a=n.n(i),r=n(53499);const s=({children:e,name:t})=>{if(o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(r.G.RENDER,{name:"Slot"})},[]),!t)throw new Error("A slot must contain a name!");return e};s.propTypes={children:a().node.isRequired,name:a().string.isRequired};const l={Slot:s,getSlots:(e,t=[])=>{const n=new Set(t),i={};let a;const r=[];return o.Children.forEach(e,e=>{a=e.props.name,r.push(e.props.url),e.type===s&&a&&(0===n.size||n.has(a))&&(i[a]=e)}),{slots:i,urlData:r}}},{Slot:d,getSlots:c}=l},68089:(e,t,n)=>{n.d(t,{u:()=>o});const o=e=>e?.markup&&e?.behavior},68426:(e,t,n)=>{n.d(t,{K:()=>c,v:()=>d});var o=n(38267),i=n(76955),a=n(26865),r=n(96472),s=n(53985),l=n(40653);const d=o.Ay.div.withConfig({displayName:"GroupCalloutWrapper"})` /* NOTE: Specificity required because of containsArticles */ && { display: grid; grid-column-gap: ${({isUpcEnabled:e})=>e?(0,a.Kq)(2):(0,a.Kq)(5)}; grid-row-gap: ${({hasRowGap:e})=>e?"1rem":0}; margin: 0; width: 100%; @media (max-width: ${r.LO.md}) { grid-column-gap: ${({isUpcEnabled:e})=>e?(0,a.Kq)(1):"20px"}; } } &.grid-even.grid-items-2 { ${(0,a.L7)(r.LO.md)} { grid-template-columns: ${({showSingleCol:e})=>e?"1fr":""}; } } ${(0,a.L7)(r.LO.md)} { &.product-group.grid-items-3 ${l.E} { margin-bottom: 0; } } .responsive-cartoon { &::before { ${({theme:e})=>(0,a._o)(e,"border-color","colors.consumption.body.standard.divider")}; display: inline-block; grid-column: 1/-1; border-width: 0 0 1px; border-style: solid; height: 0; content: ''; } &::after { ${({theme:e})=>(0,a._o)(e,"border-color","colors.consumption.body.standard.divider")}; display: inline-block; grid-column: 1/-1; border-width: 1px 0 0; border-style: solid; height: 0; content: ''; } } .responsive-cartoon__caption { ${(0,a.Gg)("typography.definitions.globalEditorial.context-secondary")} margin-top: 0; } ${({hasGridMargins:e})=>e?`\n && {\n margin-bottom: ${(0,a.Kq)(3)};\n margin-top: ${(0,a.Kq)(3)};\n\n ${(0,a.H4)(r.LO.md)} {\n margin-bottom: ${(0,a.Kq)(6)};\n margin-top: ${(0,a.Kq)(6)};\n }\n }\n `:""} ${({isUpcEnabled:e})=>e?"\n && {\n margin-bottom: 0;\n margin-top: 0;\n }\n ":""} &.callout--group-2, &.callout--group-3, &.callout--group-4 { ${s.eN} { ${(0,a.Gg)("typography.definitions.consumptionEditorial.subhed-aux-secondary")} } } &.callout--group-2 { ${(0,a.R9)("containsInstagram",!0,"grid-template-columns: repeat(auto-fit, minmax(326px, 1fr));")} } ${(0,a.R9)("containsProducts",!0,"margin-bottom: unset;")} .product-embed.product-embed--image-top { ${e=>!e&&`${s.Nz} {\n display: none;\n }`}; } .product-embed.product-embed--no-bottom-padding { ${(0,a.H4)(r.LO.md)} { grid-column: unset; } } .callout--group-item { margin: 0; &.product-embed { height: 100%; } } p { margin: 0; } ${(0,a.H4)(r.LO.md)} { &.callout--group-2 { grid-template-columns: repeat(2, 1fr); ${(0,a.R9)("isXSmallGroup2",!0,"margin: 0 auto; width: 50%;")} } &.callout--group-3 { grid-template-columns: repeat(3, 1fr); } &.callout--group-4 { grid-template-columns: repeat(4, 1fr); } } ${({hasThreeColumnsOnMobile:e})=>e?`\n ${(0,a.L7)(r.LO.md)} {\n &.callout--group-3 {\n grid-template-columns: repeat(3, 1fr);\n }\n `:""} ${(0,a.R9)("isFullBleed",!0,`\n ${(0,a.Xm)(r.LO.md,r.LO.xl)} {\n position: relative;\n left: 50%;\n grid-gap: unset;\n margin-left: -50vw;\n width: 100vw;\n\n .caption {\n margin-right: ${(0,a.Kq)(1)};\n margin-left: ${(0,a.Kq)(1)};\n }\n }\n `)} figure.callout--group-item { margin: 0; } ${(0,a.R9)("containsArticles",!0,o.AH` margin-top: ${(0,a.Kq)(4)}; padding-top: ${(0,a.Kq)(2)}; ${(0,a.H4)(r.LO.md)} { margin-top: ${(0,a.Kq)(1)}; } &.callout--inset-left, &.callout--inset-right { border-width: 2px 0 0; border-style: solid; ${({theme:e})=>(0,a._o)(e,"border-color","colors.consumption.body.standard.display-texture")}; .content-card-embed--side-by-side { display: grid; grid-column-gap: ${(0,a.Kq)(3)}; grid-template-columns: 75px auto; } .content-card-embed__image { margin-bottom: 0; } .content-card-embed__hed { ${(0,a.Gg)("typography.definitions.discovery.hed-bulletin-primary")} margin-bottom: ${(0,a.Kq)(1)}; } .content-card-embed__hed-link { &:link, &:visited { text-decoration: none; ${({theme:e})=>(0,a._o)(e,"color","colors.consumption.body.standard.subhed")}; } &:active, &:focus, &:hover { text-decoration: underline; ${({theme:e})=>(0,a._o)(e,"color","colors.consumption.body.standard.subhed")}; } } .content-card-embed__byline-authors { text-align: left; } .content-card-embed__rubric { ${(0,a.Gg)("typography.definitions.globalEditorial.context-primary")} ${({theme:e})=>(0,a._o)(e,"color","colors.consumption.body.standard.display-signature")}; } .content-card-embed { background-color: transparent; padding: ${(0,a.Kq)(2)} 0 0; &:not(:last-child) { border-width: 1px; border-style: solid; ${({theme:e})=>(0,a._o)(e,"border-color","colors.consumption.body.standard.divider")}; padding-bottom: ${(0,a.Kq)(2)}; } } } `)} `,c=(0,o.Ay)(i.vm).withConfig({displayName:"GroupCalloutTitle"})` border-width: 0 0 2px; border-style: solid; padding: 0 0 ${(0,a.Kq)(2)}; `;c.defaultProps={as:"h2",colorToken:"colors.consumption.body.standard.display-texture",typeIdentity:"typography.definitions.discovery.subhed-section-tertiary"}},69147:(e,t,n)=>{n.d(t,{A:()=>S});var o=n(13465),i=n(96540),a=n(5556),r=n.n(a),s=n(32485),l=n.n(s),d=n(6442),c=n(67805),m=n(15343),u=n(83108),p=n(13099),g=n(35864),h=n(68397),y=n(53499),b=n(90090),f=n(22482),w=n(34751),$=n(72362);const v=(0,n(72267).defineMessages)({atArticleGalleryCarouselBtnText:{id:"FilterableSummaryList.AtArticleGalleryCarouselBtnText",defaultMessage:"VIEW ALL {categoryName}",description:"Article and Gallery carousel button text"},atArticleGalleryCarouselBtnTextWithCtaLink:{id:"FilterableSummaryList.AtArticleGalleryCarouselBtnTextWithCtaLink",defaultMessage:"{categoryName}",description:"Article and Gallery carousel button text for cta link"}});var C=n(62193),k=n.n(C);const x=(e,t)=>t?.find(t=>t?.label===e)?.items?.length,E=({affiliateDisclaimer:e,buttonConfig:t={name:"",showButton:!1,url:""},children:n,className:o,dangerousDek:a,dangerousHed:r,defaultToggleChipTitle:s,editor:C,hasBorderBottom:E,hasGridBottomPadding:A,hasCustomMargin:S=!1,hasModerateSpacingOnMobile:L,hasPadding:T,itemsDensity:N,hasProductDisclaimerAlternativeStyle:H,hasToggleGridColor:I,hasHigherHorizontalPadding:B=!1,sectionTitleVariation:O,selectedToggleChipTitle:_,shouldAppendFilterInUrl:K=!0,shouldChipsRedirectOnClick:P=!1,shouldEnableSnowplowTracking:D,shouldDisplaySingleSlot:q=!1,shouldNotDisplayAllLabel:M=!1,shouldEnableBundleComponentAnalytics:R=!1,shouldShowDangerousDek:F,shouldApplyCustomHeaderHeight:U=!1,shouldUseInteractiveBrandColor:V=!1,isFirstProductListingContainer:G=!1,shouldUseAlternativeTitleStyle:W=!1,toggleChipRole:j,trackingNamespace:z,layout:Y,gridConfig:X,groups:Z,hasTitleMarginTop:J=!1,hasTitleNoMargin:Q,isEditorsPicksCarousel:ee=!1,isPlpCurated:te,isUpcEnabled:ne,isSeriesNavigation:oe,showDisclaimer:ie,shouldHideMarginUnderDek:ae,showRichTextInDek:re,containerIndex:se})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(y.G.RENDER,{name:"FilterableSummaryList"})},[]);const le=(0,$.Zm)()?6:4,{formatMessage:de}=(0,d.A)(),{slots:ce,urlData:me}=(0,c.S)(n),ue=Object.keys(ce),[pe,ge]=i.useState(ue),[he,ye]=i.useState(pe[0]),[be,fe]=i.useState(s);i.useEffect(()=>{((e,t)=>{{const n=decodeURIComponent(window?.location?.hash),o=e.findIndex(e=>`#${e.toLowerCase()}`===n.toLowerCase());t(e[o>=0?o:0])}})(pe,ye)},[pe]);const we=r||a,$e=e=>z?.[e]||r,ve=$e("toggle"),Ce=$e("card");if(0===pe.length)return null;const ke=((e,t)=>e.length>1||t)(pe,q),xe=((e,t,n)=>e.hasCtaLink?t(n.atArticleGalleryCarouselBtnTextWithCtaLink,{categoryName:e.name}):t(n.atArticleGalleryCarouselBtnText,{categoryName:e.name}))(t,de,v),{isDynamicGridItemLayout:Ee,shouldDisplayDenseGrid:Ae}=X||{},Se=(e,t)=>{if(!(e=>te&&evoid 0!==e?{...e,shouldEagerLoad:!0}:e)(n);return{...e,props:{...e.props,image:o}}},Le=(e,t)=>l()({"text-external-link":e,"two-col-external-link":e&&2===t,"one-col-external-link":e&&2!==t}),Te=(e,t)=>{const{isTextExternalLink:n,gridItemColSpan:o}=e.props,a=Se(e,t),r=(0,b.NY)(R,`${Ce}/${he}/`,t,!1),s=i.cloneElement(a,{analyticsDataAttribute:r});return i.createElement("div",{className:Le(n,o)},s)},Ne=()=>i.Children.map(ce[he].props.children,Te),He=()=>t.showButton&&t.url?i.createElement(w.sZ,null,i.createElement("div",{className:"more-products"},i.createElement(w.lV,{className:"article-gallery__more-button",label:xe,btnStyle:"outlined",ariaLabel:xe,href:t.hasCtaLink?t.url:`/products/shop${t.url}`,inputKind:"link"}))):null,Ie=()=>Ee?i.createElement(f.Np,{shouldDisplayDenseGrid:Ae,hasGridBottomPadding:A,isUpcEnabled:ne,containerIndex:se},Ne()):i.createElement(f.l_,{isUpcEnabled:ne},Ne()),Be=(e=>{const t=[];for(const[n,o]of Object.entries(e))t.push({label:n,items:o.props.children});return t})(ce),Oe=(e,t)=>{const n=(0,b.NY)(R,`${Ce}/${he}/`,t,!1),o=i.cloneElement(e,{analyticsDataAttribute:n}),a=`${we}/${he}`;return i.createElement(h.A.CarouselItem,{...R,key:`${he}-${t}`,itemsDensity:_e(),trackingEventData:{itemIndex:t,totalItems:e?.length,carouselName:a,shouldTrackSnowplowEvent:D}},o)},_e=()=>N||"min",Ke=()=>i.createElement(f.wq,{shouldApplyCustomHeaderHeight:U,shouldUseInteractiveBrandColor:V},i.createElement(p.M.TextCenterNoTopRule,{isEnabled:ie&&G,hasHigherHorizontalPadding:B,hasProductDisclaimerAlternativeStyle:H,disclaimerHtml:e}),i.createElement(h.A,{headerProps:{dangerousHed:we,dangerousDek:a,shouldDisplayDangerousDek:!0,contentAlign:W?"left":"center",sectionTitleVariation:O},carouselSettings:{itemsDensity:_e()},groups:Be},i.Children.map(ce[he].props.children,Oe)),He()),Pe=(e,t)=>{e.detail.checked?(e=>{ge([e]),_&&fe(_)})(t):(ye(ue[0]),ge(ue),fe(s))},De=(e,t)=>{var n,o;ye(t),q&&Pe(e,t),n=t,o="body",(0,b.zJ)("toggle-click",{clickText:n,clickType:o})},qe=()=>i.createElement(p.M.TextCenterNoTopRule,{isEnabled:ie&&G,disclaimerHtml:e});function Me(){switch(Y){case"GridFourColumns":return Ie();case"FullBleed":return i.createElement("div",null,Ne());case"FullBleedSideBySideContent":return i.createElement(f.Mn,null,Ne());default:return Ke()}}const Re=(e,t)=>({index:t,analyticsDataAttribute:(0,b.NY)(R,`${ve}/${e}`),key:e,isChecked:e===he,hasToggleGridColor:I,onChange:t=>De(t,e),isAnchorUrl:K,redirectUrl:me[t],shouldUrlRedirect:P,shouldDisplaySingleChip:q,shouldTrackSnowplowEvent:D,role:j,totalCount:x(e,Z),sectionTitle:r}),Fe=(e,t)=>(e=>M&&"All"===e)(e)?null:i.createElement(m.A,{...Re(e,t)},e),Ue=()=>ke?i.createElement(f.kC,{className:"clip-list",hasToggleGridColor:I,hasPadding:T,hasModerateSpacingOnMobile:L},i.createElement(u.A,{contentAlign:"center",layout:"nowrap",hasToggleGridColor:I,label:be},pe.map(Fe))):null,Ve=()=>i.createElement(f.h7,null,i.createElement(f.Te,null,C.editorPhoto?i.createElement(f.WT,{...C.editorPhoto}):null,i.createElement(f.QG,null,i.createElement(f.Vt,null,C.name),i.createElement(f.Q,null,C.title)),i.createElement(f.U0,null,C.editorNote)),Ke()),Ge=((e,t,n)=>e&&!t.includes(n))(we,["ContentCarousel","Carousel","EditorsPicksCarousel","ArticleCarousel"],Y),We=((e,t)=>!e&&"GridFourColumns"===t)(we,Y),je=((e,t)=>e&&!k()(t))(ee,C);return i.createElement(f.ek,{className:o,hasToggleGridColor:I,hasPadding:T,hasBorderBottom:E,isSeriesNavigation:oe},Ge&&i.createElement(f._p,{hasDangerousDek:F&&a,hasCustomMargin:S,shouldUseAlternativeTitleStyle:W,shouldUseInteractiveBrandColor:V},i.createElement(f.aW,{className:"section-title",hasPadding:T,hasTitleMarginTop:J,as:g.default[O],dangerousHed:r,dangerousDek:a,hasTitleNoMargin:Q,affiliateDisclaimer:e,shouldHideMarginUnderDek:ae,hasHigherHorizontalPadding:B,hasProductDisclaimerAlternativeStyle:H,isUpcEnabled:ne,showRichTextInDek:re}),"GridFourColumns"===Y&&qe(),Ue()),We&&qe(),je?Ve():Me())};E.propTypes={affiliateDisclaimer:r().string,buttonConfig:r().object,carouselControlTheme:r().string,children:r().node.isRequired,className:r().string,containerIndex:r().number,controlButtonIcon:r().oneOf(["ChevronIcon","ArrowIcon"]),controlPlacement:r().oneOf(["right","space-between"]),controlPosition:r().oneOf(["top","bottom","center"]),dangerousDek:r().string,dangerousHed:r().string,defaultToggleChipTitle:r().string,editor:r().object,gridConfig:r().object,groups:r().array,hasBorderBottom:r().bool,hasCarouselSliderPagination:r().bool,hasControls:r().bool,hasCustomMargin:r().bool,hasCustomSlider:r().bool,hasGridBottomPadding:r().bool,hasHigherHorizontalPadding:r().bool,hasModerateSpacingOnCarousel:r().bool,hasModerateSpacingOnMobile:r().bool,hasNavigationButtonVariation:r().bool,hasNoHorizontalScrollCarousel:r().bool,hasPadding:r().bool,hasPagination:r().bool,hasProductDisclaimerAlternativeStyle:r().bool,hasTitleMarginTop:r().bool,hasTitleNoMargin:r().bool,hasToggleGridColor:r().bool,hideDesktopPagination:r().bool,isDotClickable:r().bool,isEditorsPicksCarousel:r().bool,isFirstProductListingContainer:r().bool,isPimCollectionContainer:r().bool,isPlpCurated:r().bool,isSeriesNavigation:r().bool,isUpcEnabled:r().bool,itemsDensity:r().oneOf(["default","min"]),layout:r().string,paginationStyle:r().string,pos:r().number,sectionTitleVariation:r().string,selectedToggleChipTitle:r().string,shouldAppendFilterInUrl:r().bool,shouldApplyCustomHeaderHeight:r().bool,shouldChipsRedirectOnClick:r().bool,shouldDisplaySingleSlot:r().bool,shouldEnableBundleComponentAnalytics:r().bool,shouldEnableSnowplowTracking:r().bool,shouldHideMarginOnCarousel:r().bool,shouldHideMarginUnderDek:r().bool,shouldNotDisplayAllLabel:r().bool,shouldShowDangerousDek:r().bool,shouldUseAlternativeTitleStyle:r().bool,shouldUseInteractiveBrandColor:r().bool,showDisclaimer:r().bool,showRichTextInDek:r().bool,toggleChipRole:r().string,trackingNamespace:r().shape({toggle:r().string,card:r().string})},E.displayName="FilterableSummaryList";const A=E,S=(0,o.y)(A,"FilterableSummaryList")},69148:(e,t,n)=>{n.d(t,{A:()=>B});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(22354),l=n(6442);const d=(0,n(72267).defineMessages)({headerText:{id:"VideoWrapper.headerText",defaultMessage:"WATCH",description:"VideoWrapper component header text"},headerTextRelatedOverride:{id:"VideoWrapper.headerTextRelatedOverride",defaultMessage:"Featured Video",description:"VideoWrapper component header text with related video override"},moreLink:{id:"VideoWrapper.moreLink",defaultMessage:"More {brandName} Videos",description:'VideoWrapper component "more" link'}});var c=n(38267),m=n(96472),u=n(76955),p=n(26865);const g=c.Ay.figure.withConfig({displayName:"VideoFigure"})` clear: both; margin: ${(0,p.Kq)(2)} 0; ${({isTitleLeftAligned:e})=>`text-align: ${e?"left":"center"};`} div[data-testid="cnevideoembed"] { text-align: -webkit-center; } border-width: 1px 0; border-style: solid; ${({theme:e})=>(0,p._o)(e,"border-color","colors.consumption.body.standard.divider")}; padding: ${(0,p.Kq)(2)} 0 0; ${({isRightRail:e,theme:t,isTitleBelowVideo:n})=>e&&`\n margin: ${(0,p.Kq)(4)} 0;\n width: 300px;\n border-width: 2px 0;\n ${(0,p._o)(t,"border-top-color","colors.discovery.body.white.heading")};\n ${(0,p._o)(t,"border-bottom-color","colors.discovery.body.white.heading")};\n padding: ${n?"0;":`0 0 ${(0,p.Kq)(1)} 0;`}\n\n @media (min-width: ${m.LO.xl}) {\n width: 370px;\n }\n\n iframe {\n height: auto;\n }\n `} ${({isRightRail:e})=>!e&&`\n @media (max-width: ${m.LO.md}) {\n background-color: #000000;\n border-top-color: #000000;\n border-bottom-color: #000000;\n margin-right: calc(-1 * var(--grid-margin));\n margin-left: calc(-1 * var(--grid-margin));\n }\n `} `,h=c.Ay.div.withConfig({displayName:"Container"})` @media print { display: none; } &:first-child { > figure.${g.styledComponentId} { ${({applyMarginForInterlude:e})=>`\n margin-top: ${e?"2.5rem;":"0;"} \n `} } } `,y=(0,c.Ay)(u.sH).withConfig({displayName:"InterludeTitleLink"})` display: block; @media (max-width: ${m.LO.md}) { padding: 0 ${(0,p.Kq)(3)}; } `;y.defaultProps={colorToken:"colors.discovery.body.white.heading",displayName:"InterludeTitleLink"};const b=(0,c.Ay)(u.vm).withConfig({displayName:"InterludeHeader"})` margin: 0 0 ${(0,p.Kq)(1)} 0; @media (max-width: ${m.LO.md}) { padding: 0 ${(0,p.Kq)(3)}; } text-transform: uppercase; font-style: normal; ${({isRightRail:e,theme:t,isTitleLeftAligned:n})=>e?`\n ${(0,p._o)(t,"color","colors.consumption.lead.standard.context-tertiary")};\n margin: ${n?`${(0,p.Kq)(2)} 0`:`${(0,p.Kq)(2)}`};\n `:`\n ${(0,p._o)(t,"color","colors.consumption.lead.standard.context-tertiary")};\n &::after {\n display: block;\n ${(0,p._o)(t,"background-color","colors.consumption.body.standard.divider")};\n width: 50px;\n height: 1px;\n content: '';\n }\n `} ${({isTitleLeftAligned:e})=>`\n &::after {\n margin: ${(0,p.Kq)(1)} ${e?"0 0;":"auto 0 auto;"}\n }`} ${({isRightRail:e,theme:t})=>!e&&`\n @media (max-width: ${m.LO.md}) {\n ${(0,p._o)(t,"color","colors.consumption.lead.inverted.accreditation")};\n &::after {\n width: 100%;\n ${(0,p._o)(t,"background-color","colors.foundation.menu.dividers")}; \n }\n }\n `} `;b.defaultProps={colorToken:"colors.discovery.body.white.heading",displayName:"InterludeHeader",isTitleBelowVideo:!1,isTitleLeftAligned:!1,typeIdentity:"typography.definitions.globalEditorial.context-primary"};const f=(0,c.Ay)(u.vm).withConfig({displayName:"InterludeTitle"})` ${({isTitleLeftAligned:e,theme:t})=>`${(0,p._o)(t,"color","colors.consumption.lead.standard.context-tertiary")}; \n ${e?`margin: 0 0 ${(0,p.Kq)(2)};`:`margin: 0 ${(0,p.Kq)(2)} ${(0,p.Kq)(2)};`}\n `} ${({isRightRail:e,theme:t})=>!e&&`\n @media (max-width: ${m.LO.md}) {\n ${(0,p._o)(t,"color","colors.consumption.lead.inverted.context-tertiary")};\n }\n `} `;f.defaultProps={displayName:"InterludeTitle",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-secondary"};const w=(0,c.Ay)(u.vm).withConfig({displayName:"InterludeRightRailTitle"})` margin: ${(0,p.Kq)(2)}; ${({isTitleLeftAligned:e})=>`\n padding: 0 ${(0,p.Kq)(2)} ${e?"0 0":""};\n ${e?"margin-left: 0":""}\n `} `;w.defaultProps={displayName:"InterludeRightRailTitle",typeIdentity:"typography.definitions.discovery.hed-bulletin-primary"};const $=({children:e,headerText:t,isLoading:n,isTitleBelowVideo:o=!1,isTitleLeftAligned:i=!1,isRightRail:a,isTitleLinkDisabled:s,tracker:c,shouldOverrideHeaderText_variation:m=!1,shouldUseInterludeHeaderForRightRail:u=!1,video:p={}})=>{const h=(0,l.A)(),$=e=>()=>{e("Interlude Verso Title Click","Player Event")},v=({tracker:e,video:t,isTitleLeftAligned:n,isTitleBelowVideo:o,isRightRail:i})=>{const a=i?r.createElement(w,{isTitleLeftAligned:n,isTitleBelowVideo:o},t.title_text_override||t.title):r.createElement(f,{isTitleLeftAligned:n},t.title_text_override||t.title);return t.live_metadata||s?a:r.createElement(y,{rel:"noopener noreferrer",target:"_blank","aria-label":"Opens in a new window",href:t.title_url_override||t.url,onClick:$(e)},a)},C=n?null:r.createElement(r.Fragment,null,r.createElement(b,{isRightRail:a,isTitleLeftAligned:i,isTitleBelowVideo:o},((e,n,o)=>e&&!o?n?h.formatMessage(d.headerTextRelatedOverride):h.formatMessage(d.headerText):n?h.formatMessage(d.headerTextRelatedOverride):t)(a,m,u)),!a&&!o&&v({tracker:c,video:p,isTitleLeftAligned:i,isTitleBelowVideo:o,isRightRail:a})),k=n||!a&&!o?null:v({tracker:c,video:p,isTitleLeftAligned:i,isTitleBelowVideo:o,isRightRail:a});return r.createElement(g,{isRightRail:a,"data-testid":"cne-interlude-container"+(a?"-right-rail":""),isTitleLeftAligned:i,isTitleBelowVideo:o},C,e,k)};$.propTypes={children:a().node,headerText:a().string,isLoading:a().bool,isRightRail:a().bool,isTitleBelowVideo:a().bool,isTitleLeftAligned:a().bool,isTitleLinkDisabled:a().bool,shouldOverrideHeaderText_variation:a().bool,shouldUseInterludeHeaderForRightRail:a().bool,tracker:a().func,video:a().shape({title:a().string,url:a().string,live_metadata:a().object,title_text_override:a().string,title_url_override:a().string})};const v=$;var C=n(1521);const k=(e={})=>{const t=e[e["head.pageType"]];return t?.headerProps?.lede?.metadata?.contentType||t?.header?.lede?.contentType},x=({hasExcludedEmbedInBody:e,hasExcludedEmbedInHeader:t}={})=>[t,e].some(e=>e);var E=n(70978),A=n(22445),S=n(99906),L=n(53499),T=n(62327);let N=0;class H extends r.Component{constructor(e){super(e),this.onVideoChange=e=>{this.setState({video:e})},this.onVideoLoad=()=>{this.setState({loading:!1})},this.registerTracker=e=>{this.setState({tracker:e})},this.attemptInterludeActivation=()=>{if(this.props.isRailEligible){const e=(()=>{const e=`(min-width: ${S.Ay.maxThresholds.lg}px)`;return window.matchMedia(e).matches})();if(e&&!this.props.isRightRail||!e&&this.props.isRightRail)return}this.callbackName=this.props.playerBase.match("test")?"CNE_TEST_CALLBACK":`CNE_onReady_${Date.now()}${N++}`,window[this.callbackName]=({headerText:e,scriptSrc:t,video:n},o)=>{o?this.setState({disabled:!0}):this.setState({disabled:!1,headerText:e,scriptSrc:t,video:n})},this.script=(0,A.A)(this.getInterludeSrc(),document.head,{async:!0})},this.getInterludeSrc=this.getInterludeSrc.bind(this),this.state={disabled:!0,headerText:"",scriptSrc:"",video:{},loading:!0,tracker:()=>{}}}async componentDidMount(){this.attemptInterludeActivation(),window.Kendra.TRACK_COMPONENT.broadcast(L.G.RENDER,{name:"CNEInterludeEmbed",variation:this.props.variationName})}componentDidUpdate(e){e.isRailEligible&&!this.props.isRailEligible&&this.attemptInterludeActivation()}componentWillUnmount(){this.script&&this.script.classList.add("cancelled"),this.callbackName&&delete window[this.callbackName]}getInterludeSrc(){const{ledeContentType:e,hasExcludedEmbed:t}=this.props,n="cneembed"===e||"cnevideo"===e,o={verso:!0,onReady:this.callbackName,hasExcludedEmbed:x({hasExcludedEmbedInHeader:n,hasExcludedEmbedInBody:t}),embeddedVideos:this.props.embeddedVideos.join(","),rightRail:this.props.isRightRail};return this.props.interludeOverrideId?o.interludeOverrideId=this.props.interludeOverrideId:this.props.relatedVideo?.related?.cneId&&(o.interludeOverrideId=this.props.relatedVideo.related.cneId),(0,E.A)(`${this.props.playerBase}/interlude/${this.props.brand}.js`,o)}render(){return r.createElement(h,{applyMarginForInterlude:this.props.shouldApplyMarginForInterlude},this.state.disabled?null:r.createElement(v,{brandName:this.props.humanName,isRightRail:this.props.isRightRail,brand:this.props.brand,headerText:this.state.headerText,isTitleLeftAligned:this.props.isTitleLeftAligned,isTitleBelowVideo:this.props.isTitleBelowVideo,isTitleLinkDisabled:this.props.isTitleLinkDisabled,shouldOverrideHeaderText_variation:this.props.shouldOverrideHeaderTextForInterludeId?!!this.props.interludeOverrideId:!!this.props.relatedVideo?.related?.cneId,isLoading:this.state.loading,video:this.state.video,tracker:this.state.tracker,shouldUseInterludeHeaderForRightRail:this.props.shouldUseInterludeHeaderForRightRail},r.createElement(C.A,{shouldAutoplay:!0,shouldMute:!1,scriptUrl:this.state.scriptSrc,onVideoChange:this.onVideoChange,registerTracker:this.registerTracker,isRightRail:this.props.isRightRail,isTitleLeftAligned:this.props.isTitleLeftAligned,isTitleBelowVideo:this.props.isTitleBelowVideo,onVideoLoad:this.onVideoLoad,videoEmbedPosition:this.props.videoEmbedPosition||T.jV,isStickyType:!!this.props.variation,variationName:{stickyVariation:this.props.variation},shouldSkipAdPrefetch_variation:this.props.shouldSkipAdPrefetch_variation,shouldSkipAdPrebid_variation:this.props.shouldSkipAdPrebid_variation,positionInstance:this.props.positionInstance})))}}H.propTypes={brand:a().string,embeddedVideos:a().arrayOf(a().string),hasExcludedEmbed:a().bool,humanName:a().string,interludeOverrideId:a().string,isRailEligible:a().bool,isRightRail:a().bool,isTitleBelowVideo:a().bool,isTitleLeftAligned:a().bool,isTitleLinkDisabled:a().bool,ledeContentType:a().string,playerBase:a().string,positionInstance:a().number,relatedVideo:a().object,shouldApplyMarginForInterlude:a().bool,shouldOverrideHeaderTextForInterludeId:a().bool,shouldSkipAdPrebid_variation:a().bool,shouldSkipAdPrefetch_variation:a().bool,shouldUseInterludeHeaderForRightRail:a().bool,variation:a().string,variationName:a().string,videoEmbedPosition:a().string},H.defaultProps={brand:"",embeddedVideos:[],hasExcludedEmbed:!1,humanName:"",isRailEligible:!1,isRightRail:!1,isTitleBelowVideo:!1,isTitleLeftAligned:!1,playerBase:"https://player.cnevids.com",positionInstance:0,shouldOverrideHeaderTextForInterludeId:!1,shouldSkipAdPrebid_variation:!1,shouldSkipAdPrefetch_variation:!1,shouldUseInterludeHeaderForRightRail:!1},H.displayName="CNEInterludeEmbed";const I=(0,s.Ng)(e=>({ledeContentType:k(e)}))(H),B=(0,o.y)(I,"CNEInterludeEmbed")},69328:(e,t,n)=>{n.d(t,{A:()=>x});var o=n(96540),i=n(5556),a=n.n(i),r=n(32485),s=n.n(r),l=n(22776),d=n(99906),c=n(73275),m=n(90090),u=n(53499),p=n(70713),g=n(14307),h=n(49938),y=n(20320),b=n(68397),f=n(55659);const w=e=>e?.current?.querySelector("nav > ul"),$=(e,t)=>{const n=w(t),o=e||1,i=n?.querySelector(`li:nth-child(${o})`),a=i?.offsetLeft;n.scrollTo({left:a-48,behavior:"smooth"})},{deepPropsComparison:v}=n(89738),C={snowplowNavEventSubject:"carousel_navigation_list"},k=o.memo(({ariaLabel:e,className:t,collapseMegaMenu:n=()=>{},defaultNavLinkCount:i=6,dek:a,disableSubHeaderTracking:r=!1,hasBorders:d,hasBottomBorder:v,hasContentHeaderLogo:k,hasCarouselControls:x,hasSmallViewportTitle:E,hasDefaultChevron:A,hasDivider:S,hasGradient:L=!0,hasNativeImgLazyLoading:T,hideMoreLinkOnLargerScreens:N=!1,hidePrimaryLink:H,hasAnchorLinkList:I,hasAnchorLinkListDivider:B=!1,hasHeaderBorder:O,hed:_,isCentered:K,isLeftSpaceDisabled:P=!1,isMenuDrawerOpen:D,isPointerEventEnabledOnHover:q,isRightSpaceDisabled:M=!1,isSlim:R,shouldUseHoverState:F,links:U,onHover:V=()=>{},primaryLink:G,shouldDisplayDangerousDek:W=!1,shouldEnableBundleComponentAnalytics:j,shouldOpenDrawerOnClick:z=!1,showChevron:Y=!1,showMoreLink:X=!1,fadeWidth:Z="sm",trackingNamespace:J,theme:Q="standard"})=>{const ee=L&&"inverted"!==Q,[te,ne]=(0,o.useState)(!1),[oe,ie]=(0,o.useState)(!1),[ae,re]=(0,o.useState)(!1),[se,le]=(0,o.useState)(0),[de,ce]=(0,o.useState)(!1),[me,ue]=(0,o.useState)(!1),[pe,ge]=(0,o.useState)(null),he=(0,o.useRef)(),ye=!!k||R;o.useEffect(()=>{{const e=decodeURIComponent(window?.location?.hash).replace(/-/g," ");ge(e)}},[]);const be=(0,o.useCallback)(()=>{const e=(0,p.B$)(he);le(e)},[]),fe=(0,o.useMemo)(()=>(0,p.Lu)(he,se),[se]);(0,o.useEffect)(()=>{ue(!(!fe||ae)),fe&&!oe&&ce(!0),fe&&oe&&ce(!1)},[ae,oe,fe]);const we=(0,o.useCallback)(()=>{U.length<=4||oe?ce(!1):ce(!0),fe&&!oe&&ce(!0),ue(!(ae||!fe))},[ae,oe,fe,U]);(0,o.useEffect)(()=>{A&&we()},[ae,oe,fe,A,U,we]),(0,o.useEffect)(()=>{(0,p.S9)(be()),ie((e=>{const t=w(e),n=t?.querySelector("li:last-child");if(t&&n){const e=t.getBoundingClientRect(),o=n.getBoundingClientRect();return e.lefto.right-150}return null})(he)),re((e=>{const t=w(e),n=t?.querySelector("li:first-child");if(t&&n){const e=t.getBoundingClientRect(),o=n.getBoundingClientRect();return e.lefto.right}return null})(he)),window.addEventListener("scroll",(0,p.S9)(be),!0)},[se,be]);const $e=()=>{const e=window.document&&window.document.querySelector('ul.anchor-nav-list li[class*="active-InPage-nav"]');e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})};if(o.useEffect(()=>(window&&window.innerWidth<768&&window.addEventListener("DOMContentLoaded",$e),()=>{window.removeEventListener("DOMContentLoaded",$e)}),[]),o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"ScrollingNavigation"})},[]),!U?.length)return null;const ve=()=>{const e=(0,p.rI)(se,1,he);$(e,he),window.dataLayer&&window.dataLayer.push({event:"link-banner-left-arrow",navigationType:"visual-link-list"})},Ce=()=>{const e=(0,p.iT)(se,1,he);be();let t=e;e>1&&(t=e-3),$(t,he),U.length>=5&&ue(!0),U.length===e&&ce(!1),window.dataLayer&&window.dataLayer.push({event:"link-banner-right-arrow",navigationType:"visual-link-list"})},ke=(e,t)=>{13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),V(t))},xe=(e,t,n)=>{"function"==typeof n&&n();const o=e.split("#"),i=o[1]?.toLowerCase();if(i){{const{href:t}=window.location,n=t.split("#");o[0]!==n[0]&&(window.location.href=e);const a=document.getElementById(i),r=200;window.scrollTo({top:a.offsetTop-r,behavior:"smooth"});const s=`#${i}`;window.history.replaceState(void 0,void 0,s);const l=decodeURIComponent(window?.location?.hash).replace(/-/g," ");ge(l)}t.preventDefault()}},Ee=e=>{ne(!te),n(),te||((e,t)=>{window.dataLayer&&window.dataLayer.push({event:"navigation-click",navigationType:"header",clickText:t});const n={type:"click",label:t,subject:"header_menu",items:[{content_title:t,content_url:e?.target?.href?.toString()}],placement:"header"};(0,g.kg)(n)})(e,"Nav Link/More")},Ae=(e,t,n,o,i)=>{if(t&&!o&&n.preventDefault(),V(e),n&&!r){const t={type:"click",label:e,subject:i?"header_menu":"sub_header_menu",items:[{content_title:e,content_url:n?.target?.href?.toString()}],placement:"header"};(0,g.kg)(t)}ne(!1)},Se=(e,t,n)=>{if(t||!t&&!e)return n},Le=(e,t)=>!(!e||!t)||!e&&void 0,Te=()=>{A||we()},Ne=()=>{A||(ce(!1),ue(!1))},He=()=>o.createElement(y.BY,{key:"More",isActive:te,shouldUseHoverState:!0,isSlim:ye,enableHoverStyle:!0,onClick:e=>z&&Ee(e),onKeyDown:({keyCode:e})=>(32===e||13===e)&&Ee()},o.createElement(y.k2,{role:"link",hasChildren:!0,href:null,"aria-expanded":te,"data-testid":"ScrollingNavigationMoreLink",isActive:te,shouldUseHoverState:!0,as:"a",onMouseOver:()=>!z&&Ee()},o.createElement("span",{dangerouslySetInnerHTML:{__html:"More"}})),Y?o.createElement(y.xE,{isactive:String(te)}):""),Ie=(e,n="all")=>{const i=e.map(({hasChildren:e,hasHrefForLinks:n,isActive:i,isExternal:a,isLink:r,onClick:d,text:c,url:u,showOnlyInBreakpoints:p,showInTopNav:g},h)=>{const b=i&&D;let f={};return j&&(f=(0,m.NY)(j,J||G?.text,h)),o.createElement(y.BY,{className:s()(t,{isDummyLinkClickable:n&&!1}),...f,key:c,isActive:i,shouldUseHoverState:F,isSlim:ye,enableHoverStyle:z,hasChildren:e,onClick:t=>(z||q||!g)&&Ae(c,e,t,r,g),onKeyDown:t=>e&&ke(t,c),showOnlyInBreakpoints:p,showInTopNav:g},o.createElement(y.k2,{tabIndex:"0",role:"link",hasChildren:e,href:Se(e,n,u),"aria-expanded":Le(e,i),"data-testid":"ScrollingNavigationLink",isActive:i,shouldUseHoverState:F,as:a?l.A:"a",onClick:d,onMouseOver:()=>!z&&Ae(c),onKeyDown:t=>e&&ke(t,c)},o.createElement("span",{dangerouslySetInnerHTML:{__html:c}})),Y&&e&&o.createElement(y.xE,{isactive:String(b)}))});return"more"===n&&i.push(He()),o.createElement(y.c0,{disableRightSpace:M},i)},Be=e=>{const{hasAnchorLinkList:t,hasChildren:n,hasHrefForLinks:i,url:a,isExternal:r,onClick:s,isActive:d,image:m}=e;return o.createElement(o.Fragment,null,t?o.createElement(y.xW,{tabIndex:"-1","data-testid":"ImageWrapper",hasAnchorLinkList:t,hasHeaderBorder:O,href:Se(n,i,a),as:r?l.A:"a",onClick:t?e=>xe(a,e,s):s,isActive:d},o.createElement(c.A,{...m,hasNativeImgLazyLoading:T})):o.createElement(y.Tw,{as:"div"},o.createElement(y.xW,{"data-testid":"ImageWrapper",src:m.segmentedSources.lg[0].url,...T&&{loading:"lazy"}})))},Oe=(e,n="all")=>{const i=e.map(({hasChildren:e,hasHrefForLinks:n,isActive:i,isExternal:a,isLink:r,onClick:d,text:c,url:u,image:p,rubric:g},h)=>{let b={};j&&(b=(0,m.NY)(j,J||G?.text,h));const f=!I&&{isClickable:!0,onClick:()=>{window.location.href=u}};return o.createElement(y.BY,{className:s()(t,{isDummyLinkClickable:n&&!1,"active-InPage-nav":I&&pe===`#${c.toLowerCase()}`}),...b,key:c,isActive:I?pe===`#${c.toLowerCase()}`:i,shouldUseHoverState:F,isSlim:ye,enableHoverStyle:z,hasChildren:e,onClick:t=>(z||q)&&Ae(c,e,t,r),onKeyDown:t=>e&&ke(t,c),hasCarouselControls:x,hasAnchorLinkList:I},p&&o.createElement(y.SJ,{...f,hasAnchorLinkList:I},o.createElement(Be,{hasAnchorLinkList:I,hasChildren:e,hasHrefForLinks:n,url:u,isExternal:a,onClick:d,isActive:i,image:p,hasNativeImgLazyLoading:T}),o.createElement(y.k,{hasAnchorLinkList:I},!I&&o.createElement(y.Io,{id:"rubric"},g),o.createElement(y.k2,{tabIndex:"0",role:"link",hasChildren:e,hasAnchorLinkList:I,href:Se(e,n,u),"aria-expanded":Le(e,i),"data-testid":"ScrollingNavigationLink",isActive:i,shouldUseHoverState:F,as:a?l.A:"a",onClick:I?e=>xe(u,e,d):d,onMouseOver:()=>!z&&Ae(c),onKeyDown:I?null:t=>e&&ke(t,c),hasCarouselControls:x},o.createElement("span",{dangerouslySetInnerHTML:{__html:c}})))),Y&&e&&o.createElement(y.xE,{isactive:String(i)}))});return"more"===n&&i.push(He()),o.createElement(o.Fragment,null,I?o.createElement(y.c0,{hasAnchorLinkList:I,hasSmallViewportTitle:E,numberOfItemsInCarousel:e.length,className:"anchor-nav-list"},o.createElement(b.A,{carouselSettings:{hideScrollbar:!0,showLabels:!1,shouldCenterAlignIfItemsAreLess:!0,shouldRightAlignFooterControls:(0,f.$B)()},headerProps:{hasDividerBelowHeader:B,hasTopBorder:!1,hasBottomBorder:!1,dangerousHed:_,dangerousDek:a,shouldDisplayDangerousDek:W,contentAlign:"center"},trackingEventData:{trackingEventData:C}},i)):o.createElement(y.c0,{hasAnchorLinkList:I,hasCarouselControls:x,numberOfItemsInCarousel:e.length},i))},_e=o.createElement(y.L$,{"data-testid":"ScrollingNavigationNavWrapper",hasBorders:d,hasBottomBorder:v,hasGradient:ee,isCentered:K,className:t,isMoreActive:te,links:U},o.createElement(y.l2,{"aria-label":e},G&&o.createElement(y.XG,{"data-testid":"ScrollingNavigationPrimaryItem",hidePrimaryLink:H,hasDivider:S},G.image&&!x&&o.createElement(y.pX,{...G.image,hasMargin:!!G.text,hasNativeImgLazyLoading:T}),G.text&&o.createElement(y.k2,{href:G.url,as:G.isExternal?l.A:"a"},G.text)),Ie(U.slice(i)))),Ke=o.createElement(o.Fragment,null,o.createElement(y.h7,{showDefaultNavListOnLargerScreens:N},Ie(U)),o.createElement(y.Mq,{hideMoreLinkWrapperOnLargerScreens:N},Ie(U.slice(0,i),"more")));if(x)return o.createElement(o.Fragment,null,o.createElement(y.L$,{"data-testid":"ScrollingNavigation",hasBorders:d,hasBottomBorder:v,hasGradient:ee,isCentered:K,fadeWidth:Z,className:t,hed:_,links:U},o.createElement(o.Fragment,null,o.createElement(y.Fs,{"aria-label":e,disableLeftSpace:P,hasCarouselControls:x,ref:he,onMouseEnter:Te,onMouseLeave:Ne,links:U},x&&o.createElement(o.Fragment,null,me&&o.createElement(y.bT,{onClick:ve,onMouseLeave:Ne,active:fe},o.createElement(y.e6,null)),de&&o.createElement(y.uo,{onClick:Ce},o.createElement(y.e6,null))),G&&o.createElement(y.XG,{"data-testid":"ScrollingNavigationPrimaryItem",hidePrimaryLink:H,hasDivider:S},G.image&&o.createElement(y.pX,{...G.image,hasMargin:!!G.text,hasNativeImgLazyLoading:T}),G.text&&o.createElement(y.k2,{href:G.url,as:G.isExternal?l.A:"a",dangerouslySetInnerHTML:{__html:G.text}})),X&&U.length>i?Ke:Oe(U)))),te&&_e);const Pe=X&&U.length>i?Ke:I&&Oe(U)||Ie(U);return o.createElement(o.Fragment,null,o.createElement(y.L$,{"data-testid":"ScrollingNavigation",hasBorders:d,hasBottomBorder:v,hasGradient:ee,isCentered:K,fadeWidth:Z,hasAnchorLinkList:I,className:t,links:U},o.createElement(o.Fragment,null,o.createElement(y.Fs,{"aria-label":e,disableLeftSpace:P,hasAnchorLinkList:I,links:U,onClick:e=>{G?.text&&!r&&(0,h.f)(e,U?.[0]?.showInTopNav?"header_menu":"sub_header_menu")}},G&&o.createElement(y.XG,{"data-testid":"ScrollingNavigationPrimaryItem",hidePrimaryLink:H,hasDivider:S},G.image&&o.createElement(y.pX,{...G.image,hasMargin:!!G.text,hasNativeImgLazyLoading:T}),G.text&&o.createElement(y.k2,{href:G.url,as:G.isExternal?l.A:"a",dangerouslySetInnerHTML:{__html:G.text}})),Pe))),te&&_e)},v);k.propTypes={ariaLabel:a().string,className:a().string,collapseMegaMenu:a().func,defaultNavLinkCount:a().number,dek:a().string,disableSubHeaderTracking:a().bool,fadeWidth:a().string,hasAnchorLinkList:a().bool,hasAnchorLinkListDivider:a().bool,hasBorders:a().bool,hasBottomBorder:a().bool,hasCarouselControls:a().bool,hasContentHeaderLogo:a().bool,hasDefaultChevron:a().bool,hasDivider:a().bool,hasGradient:a().bool,hasHeaderBorder:a().bool,hasNativeImgLazyLoading:a().bool,hasSmallViewportTitle:a().bool,hed:a().string,hideMoreLinkOnLargerScreens:a().bool,hidePrimaryLink:a().oneOf(d.hg),isCentered:a().bool,isLeftSpaceDisabled:a().bool,isMenuDrawerOpen:a().bool,isPointerEventEnabledOnHover:a().bool,isRightSpaceDisabled:a().bool,isSlim:a().bool,links:a().array,onHover:a().func,primaryLink:a().object,shouldDisplayDangerousDek:a().bool,shouldEnableBundleComponentAnalytics:a().bool,shouldOpenDrawerOnClick:a().bool,shouldUseHoverState:a().bool,showChevron:a().bool,showMoreLink:a().bool,theme:a().oneOf(["standard","inverted"]),trackingNamespace:a().string};const x=k},69389:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(13465),i=n(69561);const a=(0,o.y)(i.A,"ContentHeader")},69458:(e,t,n)=>{n.d(t,{A:()=>$});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(1165),d=n(53499),c=n(14307),m=n(15539),u=n(94327),p=n(89957),g=n(86157),h=n(74804),y=n(90114),b=n(13465);const f=new l.default({a:h.Nl,"inline-embed":y.A,"internal-link":h.xN}),w=({body:e,className:t,dangerousDek:n,dangerousHed:o,hasDividerAbove:a=!0,hasDividerBelow:r=!0,hasBulletBottomSpacing:l=!0,hasExtraDividerBelowSpacing:g=!1,hasMarginSpacing:h=!1,image:y,imageAlign:b="left",isSecondaryHed:w=!1,items:$,textItems:v,publishInfo:C,dividerColor:k,shouldOverrideLSFMarginBottom:x=!1,shouldOverrideMarginBottom:E=!1,uri:A})=>{s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(d.G.RENDER,{name:"LinkStack"})},[]);const S=(e,t,n)=>{if("click"===e)return[{content_title:n,content_url:t}];const o=[];return v.forEach(e=>{const t=e.content.match(/\[(.*?)\]\((.*?)\)/),n=t?t[2]:null;o.push({content_title:e.content.replace(/<[^>]*>/g,""),content_url:n})}),o},L=(e,t,n)=>{const i={type:e,label:o.replace(/<[^>]*>/g,""),subject:"link_stack",subject_id:A,subject_version:C.version.toString(),items:S(e,t,n)||[null],placement:"content_footer",total_index:v?.length};(0,c.kg)(i)};(0,p.ol)(".linkstack",void 0,e=>{e&&((0,u.zJ)("link-stack-impression",{linkStackId:A,linkStackVersion:C?.version}),L("impression"))});return $?.length?s.createElement(m.S3,{className:i()("linkstack",t),onClick:e=>{const{target:t}=e,n=t.closest(".link-stack--link-item")??t.closest(".link-stack--footer");"A"===t.tagName&&n&&((0,u.W8)("link-stack-click",{linkStackId:A,linkStackVersion:C?.version,clickURL:e.target.getAttribute("href")}),L("click",e.target.getAttribute("href"),e.target.innerText))},"data-testid":"LinkStack"},s.createElement(m.E8,{className:"link-stack--heading",dangerousHed:o,image:y,imageAlign:b,isSecondaryHed:w,hasDividerAbove:a,hasDividerBelow:r,hasExtraDividerBelowSpacing:g,dividerColor:k,"data-testid":"LinkStackHed"}),s.createElement(m.OE,{hasMarginSpacing:h},n&&s.createElement(m.$D,{className:"link-stack--description",dangerouslySetInnerHTML:{__html:n}}),s.createElement(m.XO,{shouldOverrideMarginBottom:E},$?.map((e,t)=>s.createElement(m.LM,{className:"link-stack--link-item",key:t,"data-testid":"LinkStackBullet",hasBulletBottomSpacing:l},f.convert(e)))),e&&s.createElement(m.O4,{shouldOverrideLSFMarginBottom:x,className:"link-stack--footer"},f.convert(e)))):null};w.propTypes={body:r().array,className:r().string,dangerousDek:r().string,dangerousHed:r().string.isRequired,dividerColor:r().string,hasBulletBottomSpacing:r().bool,hasDividerAbove:r().bool,hasDividerBelow:r().bool,hasExtraDividerBelowSpacing:r().bool,hasMarginSpacing:r().bool,image:r().shape(g.A.propTypes),imageAlign:r().oneOf(["left","right"]),isSecondaryHed:r().bool,items:r().arrayOf(r().array).isRequired,publishInfo:r().shape({version:r().number}).isRequired,shouldOverrideLSFMarginBottom:r().bool,shouldOverrideMarginBottom:r().bool,textItems:r().arrayOf(r().object),uri:r().string},w.displayName="LinkStack";const $=(0,b.y)(w,"LinkStack")},69561:(e,t,n)=>{n.d(t,{A:()=>bt});var o=n(47655),i=n(32485),a=n.n(i),r=n(5556),s=n.n(r),l=n(96540),d=n(68898),c=n(96163),m=n(10642),u=n(87468),p=n(42752),g=n(1521),h=n(21093),y=n(73275),b=n(6442),f=n(13465),w=n(88317);const $=({bylineVariation:e,contributors:t,hideAdaptationByline:n,shouldUseCustomPreambles:o=!1,preambles:i})=>t&&0!==Object.keys(t).length?l.createElement(w.ZU,{contributors:t,bylineVariation:e,isCompact:!1,hideAdaptationByline:n,shouldUseCustomPreambles:o,preambles:i}):null;$.propTypes={bylineVariation:s().string,contributors:s().object,hideAdaptationByline:s().bool,shouldUseCustomPreambles:s().bool,preambles:s().object};const v=$;var C=n(1757);const k=({hasExtraSpaceBetweenSeparator:e,hidePublishDate:t,publishDate:n,modifiedDate:o})=>{if(t||!n)return null;const i=o&&{datetime:o};return l.createElement(C.Lo,{hasExtraSpaceBetweenSeparator:e,"data-testid":"ContentHeaderPublishDate",...i},n)};k.propTypes={hasExtraSpaceBetweenSeparator:s().bool,hidePublishDate:s().bool,modifiedDate:s().string,publishDate:s().string};const x=k;var E=n(59561),A=n(21608);const S=({hideIssueDate:e,hideIssueDatePipeSeparator:t,issueDate:n,issueLink:o,showIssueCopyByDate:i})=>e||!n?null:l.createElement(A.Fu,{name:`${n}${i?" Issue":""}`,url:o,hideIssueDatePipeSeparator:t});S.propTypes={hideIssueDate:s().bool,hideIssueDatePipeSeparator:s().bool,issueDate:s().string,issueLink:s().string,showIssueCopyByDate:s().bool};const L=S,T=({authorsPosition:e,bylineVariation:t,contributors:n,hasExtraSpaceBetweenSeparator:o,hideAdaptationByline:i=!1,hideIssueDate:a,hideIssueDatePipeSeparator:r,hidePublishDate:s,hideRubric:d,isLiveStoryType:c=!1,isStoryLive:u=!1,issueDate:p,issueLink:g,modifiedDate:h,price:y,publishDate:b,publishDatePosition:f,rubric:w,rubricVariation:$,showIssueCopyByDate:C,sponsorName:k,shouldUseCustomPreambles:S=!1,preambles:T})=>{const N=m.A[$]||m.A,H=!a&&p&&w,I=("above"===e||"top"===f)&&!k;return c&&u?l.createElement(A.C7,null,l.createElement(E.A,{hasBackground:!0,isDiscovery:!1,shouldEnableAnimation:!0})):!(w||p||n)||d?null:(w||p||n)&&l.createElement(A.h9,{hasIssueDateAndRubricBlock:H,"data-testid":"ContentHeaderRubric"},"above"===e&&l.createElement(v,{bylineVariation:t,contributors:n,hideAdaptationByline:i,shouldUseCustomPreambles:S,preambles:T}),l.createElement(A.RL,{"data-testid":"ContentHeaderRubricDateBlock"},w&&l.createElement(A.Jy,{...w,isVerticalAlign:"above"===e||"top"===f||H,as:N}),y&&l.createElement(A.hl,null,"/ ",y),k&&l.createElement(A.Mh,{hasExtraSpaceBetweenSeparator:o,items:[{name:k}]}),I&&l.createElement(x,{hasExtraSpaceBetweenSeparator:o,hidePublishDate:s,modifiedDate:h,publishDate:b})),l.createElement(L,{hideIssueDate:a,hideIssueDatePipeSeparator:r,issueDate:p,issueLink:g,showIssueCopyByDate:C}))};T.propTypes={authorsPosition:s().string,bylineVariation:s().string,contributors:s().object,hasExtraSpaceBetweenSeparator:s().bool,hasNoRowPadding:s().bool,hideAdaptationByline:s().bool,hideIssueDate:s().bool,hideIssueDatePipeSeparator:s().bool,hidePublishDate:s().bool,hideRubric:s().bool,isLiveStoryType:s().bool,isStoryLive:s().bool,issueDate:s().string,issueLink:s().string,modifiedDate:s().string,preambles:s().object,price:s().string,publishDate:s().string,publishDatePosition:s().string,rubric:s().shape(m.A.propTypes),rubricVariation:s().string,shouldUseCustomPreambles:s().bool,showIssueCopyByDate:s().bool,sponsorName:s().string};const N=T;var H=n(38267),I=n(76955),B=n(26865),O=n(75163);const _=H.Ay.div.withConfig({displayName:"CategoriesWrapper"})` display: flex; flex-wrap: wrap; align-items: baseline; margin-top: ${(0,B.Kq)(.5)}; `,K=H.Ay.div.withConfig({displayName:"CategoriesTitle"})` margin-right: ${(0,B.Kq)(1)}; color: var(${O.pT.Color.TextByline}); ${(0,B.Gg)("typography.definitions.globalEditorial.accreditation-feature")} `,P=H.Ay.ul.withConfig({displayName:"CategoriesItemList"})` margin: 0; padding: 0; line-height: 1; `,D=H.Ay.li.withConfig({displayName:"CategoriesItem"})` display: inline-block; &:not(:last-child) { &::after { margin: 0 ${(0,B.Kq)(1)}; color: var(${O.pT.Color.BorderStory}); content: '|'; } } `,q=(0,H.Ay)(I.sH).withConfig({displayName:"CategoriesLink"})` ${({theme:e})=>(0,B.pe)(e,"colors.consumption.lead.standard.link",null,"global")}; `;q.defaultProps={typeToken:"typography.definitions.globalEditorial.accreditation-core"};const M=({title:e,tags:t=[]})=>l.createElement(_,null,l.createElement(K,null,e),l.createElement(P,null,t.map(e=>l.createElement(D,{key:e.name},l.createElement(q,{href:e.slug},e.name)))));M.propTypes={tags:s().array,title:s().string},M.displayName="Categories";const R=M,F=({hasCategoryEyebrow:e,tags:t,title:n})=>e&&t?.length>0?l.createElement(R,{title:n,tags:t}):null;F.propTypes={hasCategoryEyebrow:s().bool,tags:s().array,title:s().string};const U=F;var V=n(91470),G=n(72362);const W=({address:e,email:t,phone:n,socialMedia:o,link:i})=>{if(!e&&!n&&!t)return null;const{street:a,city:r,state:s,postalCode:d,country:c}=e,m=[];[a,r,s,d,c].forEach(e=>{e&&m.push(e)});const u={Instagram:V.Instagram,Facebook:V.Facebook,Pinterest:V.Pinterest,LinkedIn:V.LinkedIn,Twitter:V.Twitter};let p=i.replace(/^(https?:|)\/\//,"");return p=p.includes("www.")?p:`www.${p}`,l.createElement(C.Nj,null,e&&l.createElement(C.yx,{"data-testid":"HeaderAddressDetails",href:"",onClick:e=>(e=>{e.preventDefault(),m?.length>0&&((0,G.ox)()?window.open(`maps://maps.apple.com/maps?q=${m}`):window.open(`https://maps.google.com?q=${m}`))})(e)},l.createElement("div",{className:"StreetAndCity"},a&&l.createElement("span",{"data-testid":"HeaderAddressStreet"},a),r&&l.createElement("span",{"data-testid":"HeaderAddressCity"},m[0]!==r&&", ",r,m[0]!==s&&", ")),l.createElement("div",{className:"StatePostalAndCountry"},s&&l.createElement("span",{"data-testid":"HeaderAddressState"},s),d&&l.createElement("span",{"data-testid":"HeaderAddressPostalCode"},m[0]!==d&&", ",d),c&&l.createElement("span",{"data-testid":"HeaderAddressCountry"},m[0]!==c&&", ",c))),l.createElement(C.Ao,null,n&&l.createElement("div",null,l.createElement("a",{"data-testid":"HeaderAddressPhone",href:`tel:${n}`,"aria-label":"Opens in a new window",rel:"nofollow noopener noreferrer",target:"_blank"},n)),i&&l.createElement("a",{"data-testid":"HeaderAddressWebUrl",href:i,"aria-label":"Opens in a new window",rel:"nofollow noopener noreferrer",target:"_blank"},p)),l.createElement(C.dd,null,t&&l.createElement("a",{"data-testid":"HeaderAddressEmail",href:`mailto:${t}`,"aria-label":"Opens in a new window",rel:"nofollow noopener noreferrer",target:"_blank"},l.createElement(V.Email,null)),o?.length>0&&o.map((e,t)=>{const n=u[e.network];return n&&l.createElement("a",{key:t,"data-testid":`HeaderAddress${e.network}`,href:e.handle,"aria-label":`Opens ${e.network} in a new window`,rel:"nofollow noopener noreferrer",target:"_blank"},l.createElement(n,null))})))};W.propTypes={address:s().object,email:s().string,link:s().string,phone:s().string,socialMedia:s().array};const j=W;var z=n(40133);const Y=e=>e.length>0?e[0]:null;function X({authorsPosition:e="hidden",business:t,bylineVariation:n,contentHeaderCategories:o={hasCategoryEyebrow:!1},contentSponsorNames:i=[],contributors:a,dividerType:r="both",externalLinks:s,hasContentDivider:d,hasDesktopTitleBlockDivider:c=!1,hasExtraSpaceBetweenSeparator:m=!1,hideIssueDate:u=!0,hideIssueDatePipeSeparator:p=!1,hasNoRowPadding:g=!1,hideAdaptationByline:h=!1,hidePublishDate:y=!1,hideRubric:f=!1,isBusinessContentHeader:w=!1,isLiveStoryType:$,isStoryLive:k,issueDate:A,issueLink:S,itemsCount:L,metadataVideo:T={},modifiedDate:H,dangerousHed:I,price:B,podcastPagePrimaryCta:O,podcastPagePrimaryCtaLabel:_,publishDate:K,publishDatePosition:P="bottom",rubric:D,rubricVariation:q,shouldDisplayLiveIndicator:M=!1,showIssueCopyByDate:R=!1,showItemCount:F=!1,showPodcastButton:V=!1,theme:G="standard",shouldUseCustomPreambles:W=!1,preambles:X}){const Z=d&&"above"!==e,J="inverted"===G?"outlined":"filled",Q=c&&("both"===r||"top"===r),{formatMessage:ee}=(0,b.A)();return l.createElement(C.jc,{rowWithTopBorder:Q,isBusinessContentHeader:w,"data-testid":"ContentHeaderTitleBlockWrapper"},T.isLive&&M&&l.createElement(E.A,null),l.createElement(N,{authorsPosition:e,bylineVariation:n,contributors:a,hasExtraSpaceBetweenSeparator:m,hasNoRowPadding:g,hideIssueDate:u,hideIssueDatePipeSeparator:p,hideAdaptationByline:h,hidePublishDate:y,hideRubric:f,isLiveStoryType:$,isStoryLive:k,issueDate:A,issueLink:S,modifiedDate:H,price:B,publishDate:K,publishDatePosition:P,rubric:D,rubricVariation:q,showIssueCopyByDate:R,sponsorName:Y(i),shouldUseCustomPreambles:W,preambles:X}),l.createElement(U,{...o}),l.createElement(C.AH,{dangerouslySetInnerHTML:{__html:I},"data-testid":"ContentHeaderHed"}),"below"===e&&l.createElement(C.g1,null,l.createElement(v,{bylineVariation:n,contributors:a,shouldUseCustomPreambles:W,preambles:X}),l.createElement(x,{hasExtraSpaceBetweenSeparator:m,hidePublishDate:y,modifiedDate:H,publishDate:K})),F&&L&&l.createElement(C.V3,{...L}),Z&&l.createElement(C.XD,null),w&&l.createElement(j,{address:t?.address,phone:t?.phone,email:t?.email,socialMedia:t?.socialMedia,link:t?.url}),V&&O&&l.createElement(C.Cl,null,l.createElement(C.$I,{btnStyle:J,href:O,label:_||ee(z.A.primaryCTALabel),target:"blank",inputKind:"link"}),s.length>0&&l.createElement(C.fi,{href:s[0].url,target:"blank"},"Or, choose where to Listen")))}X.propTypes={authorsPosition:s().oneOf(["above","below","hidden"]),business:s().shape({address:s().object,phone:s().string,email:s().string,socialMedia:s().array,url:s().string}),bylineVariation:s().string,contentHeaderCategories:s().shape({title:s().string,tags:s().array,hasCategoryEyebrow:s().boolean}),contentSponsorNames:s().array,contributors:s().object,dangerousHed:s().oneOfType([s().string,s().object]).isRequired,dividerType:s().string,externalLinks:s().array,hasContentDivider:s().bool,hasDesktopTitleBlockDivider:s().bool,hasDivider:s().bool,hasExtraSpaceBetweenSeparator:s().bool,hasNoRowPadding:s().bool,hideAdaptationByline:s().bool,hideIssueDate:s().bool,hideIssueDatePipeSeparator:s().bool,hidePublishDate:s().bool,hideRubric:s().bool,isBusinessContentHeader:s().bool,isLiveStoryType:s().bool,isStoryLive:s().bool,issueDate:s().string,issueLink:s().string,itemsCount:s().shape(c.A.propTypes),metadataVideo:s().shape({isLive:s().bool,premiereDate:s().string,series:s().string,videoLength:s().number}),modifiedDate:s().string,podcastPagePrimaryCta:s().string,podcastPagePrimaryCtaLabel:s().string,preambles:s().object,price:s().string,publishDate:s().string,publishDatePosition:s().oneOf(["top","bottom"]),rubric:s().shape(m.A.propTypes),rubricVariation:s().string,shouldDisplayLiveIndicator:s().bool,shouldUseCustomPreambles:s().bool,showIssueCopyByDate:s().bool,showItemCount:s().bool,showPodcastButton:s().bool,theme:s().oneOf(["standard","inverted","special"])},X.displayName="TitleBlock";const Z=(0,f.y)(X,"TitleBlock");var J=n(92027),Q=n(94409),ee=n(24573),te=n(97624),ne=n(33193),oe=n(96472),ie=n(18117),ae=n(39832);const re=H.Ay.div.withConfig({displayName:"SponsorContentContainer"})` margin-top: ${(0,B.Kq)(3)}; text-align: center; ${ie.B} { display: inline-flex; margin-top: 0; margin-bottom: 0; width: 66px; } `,se=(0,H.Ay)(y.A).withConfig({displayName:"SponsorImage"})` margin-right: auto; margin-left: auto; img { border: 1px solid; border-radius: 50%; border-color: var(${O.pT.Color.BorderStory}); width: 64px; height: 64px; } `,le=H.Ay.div.withConfig({displayName:"SponsoredContent"})` ${({theme:e})=>(0,B.Gg)(e,"typography.definitions.globalEditorial.syndication")} display: block; margin: ${(0,B.Kq)(2,"px")} 0 ${(0,B.Kq)(2,"px")}; color: var(${O.pT.Color.TextSubtle}); @media (min-width: 0) and (max-width: ${oe.LO.md}) { margin: ${(0,B.Kq)(1.5,"px")} 0 ${(0,B.Kq)(1.5,"px")}; } `,de=(0,H.Ay)(ae.A).withConfig({displayName:"SponsoredContentCampaignLink"})` text-decoration: none; `,ce=({sponsorByline:e,sponsoredContentHeaderProps:t})=>{const{sponsorLogo:n,sponsorName:o,campaignUrl:i}=t;if(!o||!e)return null;const a=`${e} ${o}`;return l.createElement(re,null,l.createElement(de,{additionalRelVals:["sponsored"],href:i},l.createElement(se,{...n}),l.createElement(le,null,a)))};ce.propTypes={sponsorByline:s().string,sponsoredContentHeaderProps:s().shape({campaignUrl:s().string,sponsorLogo:s().shape(y.A.propTypes),sponsorName:s().string}),theme:s().oneOf(["standard","inverted","special"])};const me=ce;var ue=n(96591),pe=n(80607);const ge=({venueAwards:e})=>l.createElement(l.Fragment,null,e&&l.createElement(pe.bk,{dangerouslySetInnerHTML:{__html:e}}));ge.propTypes={venueAwards:s().string};const he=({bylinesBlock:e,contributorImage:t,dangerousDek:n,dividerType:o,hasContributorImageBackground:i,hasDesktopTitleBlockDivider:a,hasLede:r,hideTopRating:s,isBusinessContentHeader:d,isSponsoredContent:c,signage:m,sponsorByline:u,sponsoredContentHeaderProps:p,publishDateBlock:g,publishDatePosition:y,rating:f,reviewRating:w,shouldShowAuthorsInTitleBlock:$,showContributorImage:v=!1,socialTitle:C,socialDescription:k,pageUrl:x,shouldDisplaySignageInline:E,showNativeShareButton:A,venueAwards:S,hideByLine:L=!1,hideDangerousDek:T=!1,isLiveStoryType:N=!1,metadataVideo:H={},shouldDisplayPremiereDate:I=!1,shouldShowAIStyles:B=!1,showSponsorBlock:O=!1})=>{const{rating:_,count:K}=f||{},P=ge({venueAwards:S}),D={showDek:!T&&!!n,showVenueAwards:!!S,showByline:!$&&!c&&!L,showNativeShareButton:A},{isLive:q,premiereGap:M,premiereDate:R}=H,{formatMessage:F}=(0,b.A)();return l.createElement(pe.zY,{className:"content-header__accreditation",shouldShowAuthorsInTitleBlock:$,isBusinessContentHeader:d,hasLede:r,rowWithBottomBorder:a&&("both"===o||"bottom"===o),"data-testid":"ContentHeaderAccreditation"},D.showDek&&l.createElement(pe.b3,{className:B?"ai-generated-article-dek":null,dangerouslySetInnerHTML:{__html:n},as:"div"}),E&&m&&l.createElement(pe.fv,null,m),I&&R&&!q&&l.createElement(pe.bw,null,l.createElement(ue.A,{premiereDate:R,premiereGap:M,containerTheme:void 0,hideTimeStampIcon:!0})),N&&O&&l.createElement(me,{sponsorByline:u,sponsoredContentHeaderProps:{...p}}),P,w&&!s&&l.createElement(ee.A,{rating:w}),D.showByline&&l.createElement(pe.K4,null,v&&t&&l.createElement(pe.h4,{...t,sizes:d?"100%":"66px",hasContributorImageBackground:i,isBusinessContentHeader:d}),l.createElement(pe.fz,null,e,"bottom"===y&&g)),A&&l.createElement(pe.Nh,null,l.createElement(te.A,{shareData:{url:x,title:C,text:k}})),!!_&&!!K&&l.createElement(h.A,{averageRatingCount:Math.round(10*_)/10,hasBorderTop:!0,link:{label:F(ne.A.readReviews),onClick:e=>{e.preventDefault();const t=document.getElementById("reviews"),{top:n}=(0,Q.A)(t);window.scrollTo(0,n-56)},url:"#reviews"},totalRatingCount:K}))};he.propTypes={bylinesBlock:s().node,contributorImage:s().shape(y.A.propTypes),dangerousDek:s().string,dividerType:s().string,hasContributorImageBackground:s().bool,hasDesktopTitleBlockDivider:s().bool,hasLede:s().bool,hideByLine:s().bool,hideDangerousDek:s().bool,hideTopRating:s().bool,isBusinessContentHeader:s().bool,isLiveStoryType:s().bool,isSponsoredContent:s().bool,metadataVideo:s().shape({isLive:s().bool,premiereDate:s().string,premiereGap:s().number,series:s().string,videoLength:s().number}),pageUrl:s().string,publishDateBlock:s().node,publishDatePosition:s().string,rating:s().shape(h.A.propTypes),reviewRating:s().number,shouldDisplayPremiereDate:s().bool,shouldDisplaySignageInline:s().bool,shouldShowAuthorsInTitleBlock:s().bool,shouldShowAIStyles:s().bool,showContributorImage:s().bool,showNativeShareButton:s().bool,showSponsorBlock:s().bool,signage:s().string,socialDescription:s().string,socialTitle:s().string,sponsorByline:s().string,sponsoredContentHeaderProps:s().shape({campaignUrl:s().string,sponsorLogo:s().shape(y.A.propTypes),sponsorName:s().string}),venueAwards:s().string};const ye=he;var be=n(90072),fe=n(68089),we=n(62327),$e=n(53499),ve=n(14307);const Ce=e=>{e&&(0,ve.UP)((0,ve.D3)(e.target))};var ke=n(16695),xe=n(59867);const Ee=[...Object.entries(oe.Ni).map(([e,t])=>[e,[parseInt(t[0]),parseInt(t[1])]]),["xxxl",[1600,1/0]]],Ae=({additionalPhotos:e,authorsTitleBlockPosition:t="hidden",awards:n,business:o={address:{},phone:"",email:"",socialMedia:[],link:""},bylineVariation:i,captionStyle:r="default",captionWidth:s="standard",config:c={adsConfig:{contentHeaderRubricName:void 0}},className:m,contentHeaderCategories:u,contentSponsorNames:p=[],contributorImage:h,contributors:y,ctaText:b,dangerousDek:f,dangerousHed:$,dividerType:v="both",showFullHeaderViewInMobile:C=!1,externalLinks:k=[],hasDesktopTitleBlockDivider:x=!1,hasLedeLightboxButton:E,hasLightbox:A=!1,hasSlideshow:S=!1,hasStaticPositionedAward:L=!1,hideAdaptationByline:T=!1,hideByLine:N=!1,hideContributors:H=!1,hideDangerousDek:I=!1,hideRubric:B=!1,hideTopDisclaimerOnMobile:O,hideTopRating:_,hidePublishDate:K=!1,interactiveOverride:P,isBusinessContentHeader:D,isLiveStoryType:q=!1,isImagePositionBottomInSmallScreen:M,isStoryLive:R=!1,issueDate:F,issueLink:U,lede:V,modifiedDate:G,offers:W,price:j,publishDate:z,rating:Y,reviewRating:X,rubric:Q,rubricVariation:ee,itemsCount:te,hasContributorImageBackground:ne=!1,metadataVideo:oe={},showContentDivider:ie=!1,showContributorImage:ae=!0,showContributorImageOnMobile:re=!0,showSponsorBlock:se=!1,showHeaderButton:le,signage:de,hideIssueDate:ce,hideIssueDatePipeSeparator:me=!1,hideLede:ue=!1,hideLedeCaption:pe=!1,hasDisabledCloseOnClickForLightbox:ge,hasNarrowHeader:he=!1,podcastPagePrimaryCta:ve,podcastPagePrimaryCtaLabel:Ae,shouldDisplayPremiereDate:Se=!1,shouldDisplaySignageInline:Le=!1,shouldShortenHeadline:Te=!1,showFullWidthLeadImage:Ne=!1,showIssueCopyByDate:He=!1,showTextOverlayDek:Ie=!1,slideShowVariation:Be,socialTitle:Oe,socialDescription:_e,summary:Ke,theme:Pe={},sponsoredContentHeaderProps:De,sponsorByline:qe,variations:Me={contentAlign:"center",contentPosition:"above",hasDivider:!1,hasExtraSpaceBetweenSeparator:!1,hasInlinePublishDate:!1,hasLedeLightbox:!1,hasNoRowPadding:!1,leadRailAnchor:!1,ledeAlign:"default",publishDatePosition:"bottom",shouldUseSmallLede:!1,showPodcastButton:!1},hasNativeShareButton:Re=!1,shouldEnableNativeShareOnDesktop:Fe=!1,showBreadCrumb:Ue,venueAwards:Ve,variationName:Ge,isFullBleedVideo:We=!1,cneVideoEmbedProps:je={additionalEmbedParams:{},dangerousCaption:"",isStickyType:!1,scriptUrl:"",shouldAutoplay:!0,shouldHaveTeaser:!0,shouldMute:!0,variationsVideo:{},variationVideoName:{}},shouldAlignCenterWhenNoCaption:ze=!1,shouldUseCustomPreambles:Ye=!1,shouldStackBylinesOnMobile:Xe=!1,preambles:Ze})=>{const{copyWidth:Je,contentAlign:Qe,contentPosition:et,hasExtraSpaceBetweenSeparator:tt=!1,hasLedeLightbox:nt,hasNoRowPadding:ot,hasInlinePublishDate:it,ledeAlign:at,leadRailAnchor:rt,mediaWidth:st,publishDatePosition:lt="bottom",hasDivider:dt,showPodcastButton:ct,shouldUseSmallLede:mt}=Me,{additionalEmbedParams:ut,dangerousCaption:pt,isStickyType:gt,scriptUrl:ht,shouldAutoplay:yt,shouldHaveTeaser:bt,shouldMute:ft,variationsVideo:wt,variationVideoName:$t}=je;l.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast($e.G.RENDER,{name:"ContentHeader",variation:Ge})},[Ge]);const[vt,Ct]=(0,l.useState)("xxxl"),kt=(0,l.useMemo)(()=>{if("fullbleed"===st&&"xxxl"!==vt){if("above"===(!["xl","xxl"].includes(vt)&&M?"above":et))return{...Pe,art:void 0}}return Pe},[vt,Pe,et,st,M]),xt=l.useCallback(()=>{let e=window.innerWidth;Ct((Ee.find(([t,n])=>e>n[0]&&e{const e=window.Kendra.WINDOW_EVENT.on(xe.m.RESIZE_DEBOUNCE,xt);return xt(),()=>{e&&e.off()}},[xt]),Q&&(Q.name=c.adsConfig?.contentHeaderRubricName||Q.name);const Et=(e=>e&&1===Object.keys(e).length&&e.author&&1===e.author.items.length)(y)&&it,At="storyimage"===(0,fe.u)(P),St=l.createElement(Z,{authorsPosition:t,business:o,bylineVariation:i,contentHeaderCategories:u,contentSponsorNames:p,contributors:y,dangerousHed:$,dividerType:v,externalLinks:k,hasContentDivider:ie,hasDesktopTitleBlockDivider:x,hasDivider:dt,hasNoRowPadding:ot,hasExtraSpaceBetweenSeparator:tt,hideAdaptationByline:T,hideIssueDate:ce,hideIssueDatePipeSeparator:me,hideRubric:B,hidePublishDate:K,isBusinessContentHeader:D,isLiveStoryType:q,isStoryLive:R,issueDate:F,issueLink:U,itemsCount:te,metadataVideo:oe,modifiedDate:G,podcastPagePrimaryCta:ve,podcastPagePrimaryCtaLabel:Ae,price:j,publishDate:z,publishDatePosition:lt,rubric:Q,rubricVariation:ee,showIssueCopyByDate:He,shouldUseCustomPreambles:Ye,preambles:Ze,showPodcastButton:ct,theme:kt.text});let Lt=J.A;A&&nt&&(Lt=e?(0,d.A)({Component:J.A,slides:e,hasSlideshow:S,slideShowVariation:Be,hasDisabledCloseOnClickForLightbox:ge}):(0,d.A)({Component:J.A,slides:[V]}));const{showNativeShareButton:Tt,pageUrl:Nt}=(0,be.W)(Re,Fe),Ht="hidden"!==t,It=y&&Object.keys(y).length>1,Bt=y&&!H&&l.createElement(w.ZU,{contributors:y,bylineVariation:i,isCompact:!1,inlinePublishDate:Et,clickHandler:Ce,shouldUseCustomPreambles:Ye,shouldStackBylinesOnMobile:Xe,preambles:Ze}),Ot=G&&{datetime:G},_t=!K&&""!==z&&null!=z&&l.createElement(w.yB,{inlinePublishDate:Et,"data-testid":"ContentHeaderPublishDate",mediaWidth:st,contentAlign:Qe,...Ot},z),Kt=(0,ke.d)(),Pt=Kt?.isAIContext&&Ke?.display,Dt=l.createElement(l.Fragment,null,l.createElement(ye,{bylinesBlock:Bt,contributorImage:h,dangerousDek:f,hideDangerousDek:I,dividerType:v,hasContributorImageBackground:ne,hasDesktopTitleBlockDivider:x,hasLede:!!V,hideTopRating:_,hideByLine:N,isBusinessContentHeader:D,isSponsoredContent:p.length>0,isLiveStoryType:q,isStoryLive:R,metadataVideo:oe,publishDateBlock:_t,publishDatePosition:lt,rating:Y,reviewRating:X,shouldDisplayPremiereDate:Se,shouldDisplaySignageInline:Le,shouldShowAuthorsInTitleBlock:Ht,shouldShowAIStyles:Pt,showContributorImage:ae,showSponsorBlock:se,signage:de,socialTitle:Oe,socialDescription:_e,sponsorByline:qe,sponsoredContentHeaderProps:De,pageUrl:Nt,showNativeShareButton:Tt,venueAwards:Ve,mediaWidth:st,contentAlign:Qe,contentPosition:et,theme:kt.text}),l.createElement(w.KW,{ctaText:b,hideTopDisclaimerOnMobile:O,offers:W,showHeaderButton:le,buttonPosition:"content-header"})),qt=ze&&!V?.caption;return l.createElement(w.Ys,{className:a()("content-header",{[m]:m,[`theme-${kt.art}`]:kt.art===kt.text&&null!=kt.art,fullbleed:"fullbleed"===st,inset:"fullbleed"!==st}),isLiveStoryType:q,publishDatePosition:lt,contentAlign:Qe,shouldShowAuthorsInTitleBlock:Ht,captionStyle:r,copyWidth:Je,mediaWidth:st,contentPosition:et,isBusinessContentHeader:D,isLedeOverride:At,shouldShortenHeadline:Te,shouldBylineContentStacked:It,hasExtraSpaceBetweenSeparator:tt,hasLede:!!V,hideLede:ue&&null!=kt.art,hasNarrowHeader:he,showBreadCrumb:Ue,showTextOverlayDek:Ie,isLedeTextCenterForMobile:qt,showContributorImageOnMobile:re,isImagePositionBottomInSmallScreen:M},l.createElement(w.GB,{mediaWidth:st,showFullWidthLeadImage:Ne,contentPosition:et,isFullBleedVideo:We,"data-testid":"ContentHeaderContainer"},dt&&l.createElement(w.s6,{className:a()({[`theme-${kt.text}`]:kt.art!==kt.text&&kt.text})}),l.createElement(w.zt,{isBusinessContentHeader:D,className:a()({[`theme-${kt.text||"standard"}`]:kt.art!==kt.text})},$&&St,Dt),At?l.createElement(w.rj,{contentPosition:et,dangerouslySetInnerHTML:{__html:P.markup}}):!We&&!ue&&V&&l.createElement(w.oi,{awards:n,hasLightboxButton:E,hasStaticPositionedAward:L,hideLedeCaption:pe,hasDisabledCloseOnClickForLightbox:ge,lede:V,captionWidth:s,shouldRenderRailAnchor:rt,shouldUseSmallLede:mt,mediaWidth:st,ledeAlign:at,showFullWidthLeadImage:Ne,isBusinessContentHeader:D,shouldAlignCenterWhenNoCaption:ze,as:Lt,themeClassName:a()({[`theme-${kt.art}`]:kt.art!==kt.text&&kt.art})}),We&&l.createElement(g.A,{dangerousCaption:pt,scriptUrl:ht,shouldAutoplay:yt,shouldMute:ft,shouldHaveTeaser:bt,additionalEmbedParams:ut,isStickyType:gt,videoEmbedPosition:we.m1,variationName:$t,variations:wt})))};Ae.propTypes={additionalPhotos:s().array,authorsTitleBlockPosition:s().oneOf(["above","below","hidden"]),awards:s().array,business:s().shape({address:s().object,phone:s().string,email:s().string,socialMedia:s().array}),bylineVariation:s().string,captionStyle:s().oneOf(["default","span-content-well"]),captionWidth:s().oneOf(["standard","fullbleed"]),className:s().string,cneVideoEmbedProps:s().shape({additionalEmbedParams:s().object,dangerousCaption:s().string,isStickyType:s().bool,scriptUrl:s().string,shouldAutoplay:s().bool,shouldHaveTeaser:s().bool,shouldMute:s().bool,variationsVideo:s().object,variationVideoName:s().object}),config:s().object,contentHeaderCategories:s().shape({title:s().string,tags:s().array}),contentSponsorNames:s().array,contributorImage:s().shape(y.A.propTypes),contributors:s().shape(u.A.propTypes.contributors),ctaText:s().string,dangerousDek:s().string,dangerousHed:s().string,dividerType:s().oneOf(["both","bottom","top"]),externalLinks:s().array,hasContributorImageBackground:s().bool,hasDesktopTitleBlockDivider:s().bool,hasDisabledCloseOnClickForLightbox:s().bool,hasLedeLightboxButton:s().bool,hasLightbox:s().bool,hasNarrowHeader:s().bool,hasNativeShareButton:s().bool,hasSlideshow:s().bool,hasStaticPositionedAward:s().bool,hasStickyBoxIndexPosition:s().bool,hideAdaptationByline:s().bool,hideByLine:s().bool,hideContributors:s().bool,hideDangerousDek:s().bool,hideIssueDate:s().bool,hideIssueDatePipeSeparator:s().bool,hideLede:s().bool,hideLedeCaption:s().bool,hidePublishDate:s().bool,hideRubric:s().bool,hideTopDisclaimerOnMobile:s().bool,hideTopRating:s().bool,interactiveOverride:s().shape({markup:s().string,behavior:s().string}),isBusinessContentHeader:s().bool,isDekClampCollapsible:s().bool,isFullBleedVideo:s().bool,isImagePositionBottomInSmallScreen:s().bool,isLiveStoryType:s().bool,isStoryLive:s().bool,issueDate:s().string,issueLink:s().string,itemsCount:s().shape(c.A.propTypes),lede:s().oneOfType([s().shape(y.A.propTypes),s().shape(p.A.propTypes),s().shape(g.A.propTypes)]),metadataVideo:s().shape({isLive:s().bool,premiereDate:s().string,premiereGap:s().number,series:s().string,videoLength:s().number}),modifiedDate:s().string,numberOfLinesToClamp:s().number,offers:s().array,podcastPagePrimaryCta:s().string,podcastPagePrimaryCtaLabel:s().string,preambles:s().object,price:s().string,publishDate:s().string.isRequired,rating:s().shape(h.A.propTypes),reviewRating:s().number,rubric:s().shape(m.A.propTypes),rubricVariation:s().string,shouldAlignCenterWhenNoCaption:s().bool,shouldUseCustomPreambles:s().bool,shouldStackBylinesOnMobile:s().bool,shouldDisplayPremiereDate:s().bool,shouldDisplaySignageInline:s().bool,shouldEnableNativeShareOnDesktop:s().bool,shouldShortenHeadline:s().bool,showBreadCrumb:s().bool,showContentDivider:s().bool,showContributorImage:s().bool,showContributorImageOnMobile:s().bool,showFullHeaderViewInMobile:s().bool,showFullWidthLeadImage:s().bool,showHeaderButton:s().bool,showIssueCopyByDate:s().bool,showSponsorBlock:s().bool,showTextOverlayDek:s().bool,signage:s().string,slideShowVariation:s().string,socialDescription:s().string,socialTitle:s().string,sponsorByline:s().string,sponsoredContentHeaderProps:s().shape({campaignUrl:s().string,sponsorLogo:s().shape(y.A.propTypes),sponsorName:s().string}),summary:s().shape({content:s().string,isAIGenerated:s().bool,display:s().bool}),theme:s().shape({art:s().string,text:s().string}),variationName:s().string,variations:s().shape({contentAlign:s().oneOf(["center","left"]),contentPosition:s().oneOf(["above","below"]),copyWidth:s().oneOf(["grid","fullbleed"]),hasDivider:s().bool,hasExtraSpaceBetweenSeparator:s().bool,hasInlinePublishDate:s().bool,hasLedeLightbox:s().bool,hasNoRowPadding:s().bool,leadRailAnchor:s().bool,ledeAlign:s().oneOf(["default","center"]),mediaWidth:s().oneOf(["small","smallrule","grid","fullbleed"]),publishDatePosition:s().oneOf(["top","bottom"]),shouldUseSmallLede:s().bool,showPodcastButton:s().bool}),venueAwards:s().string},Ae.displayName="ContentHeader";const Se=Ae;var Le=n(20388),Te=n(99906),Ne=n(27985),He=n(86659),Ie=n(40653),Be=n(89085),Oe=n(1123);const _e=H.Ay.header.withConfig({displayName:"TextOverlayWrapper"})` .responsive-clip { height: 100%; } overflow: hidden; `,Ke=H.Ay.div.withConfig({displayName:"Accreditation"})` ${({contentAlign:e})=>"center"===e?`margin: ${(0,B.Kq)(2)} auto`:`margin: ${(0,B.Kq)(2)} 0`} `,Pe=H.Ay.time.withConfig({displayName:"PublishDate"}).attrs(({datetime:e})=>({dateTime:e}))` ${({theme:e,showEnhancedPublishDate:t})=>(0,B.Gg)(e,t?"typography.definitions.globalEditorial.context-tertiary":"typography.definitions.globalEditorial.accreditation-core")} display: block; margin: ${(0,B.Kq)(1)} 0 ${(0,B.Kq)(4)}; text-align: ${({contentAlign:e})=>e}; color: var(${O.pT.Color.TextPubdate}); `,De=(0,H.Ay)(He.A.WithMargins).withConfig({displayName:"ContentGrid"})` > ${Ie.E} { grid-column: 1 / span 4; margin-bottom: ${(0,B.Kq)(4)}; ${Ke}, ${Pe} { margin-bottom: 0; } @media (min-width: ${oe.LO.md}) { grid-column: ${({contentAlign:e})=>"left"===e?"1 / span 10":"2 / span 10"}; } ${(0,B.H4)(oe.LO.lg)} { margin-bottom: ${(0,B.Kq)(8)}; } } `,qe=H.Ay.div.withConfig({displayName:"ImageWrapper"})` display: flex; position: relative; align-items: flex-end; justify-content: ${({contentAlign:e})=>e}; @media (orientation: landscape) { display: grid; min-height: 400px; } @media (max-width: ${oe.LO.md}) { display: grid; min-height: 667px; } @media (min-width: ${oe.LO.md}) { display: grid; height: calc( 100vh - ${Ne.S4} - ${Ne._J} ); } @media (min-width: ${oe.LO.lg}) { display: grid; height: calc( 100vh - ${Ne.S4} - ${Ne.iN} ); } @media (min-width: ${oe.LO.xl}) { display: grid; min-height: 720px; } ${({shouldLimitContentWidth:e})=>e&&`\n ${(0,Oe.VO)()}\n ${(0,B.H4)(oe.LO.lg)} {\n grid-template-columns: repeat(12, 1fr);\n gap: var(--grid-gap);\n }\n\n ${De} {\n ${(0,B.H4)(oe.LO.lg)} {\n padding: 0;\n }\n\n ${(0,B.Xm)(oe.LO.lg,`${Te.VS.xl}px`)} {\n grid-column: 3 / span 8;\n }\n\n ${(0,B.H4)(oe.LO.xl)} {\n grid-column: 4 / span 6;\n }\n }\n `} &::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: ${({background:e})=>"gradient"===e?"linear-gradient(to top, rgb(0, 0, 0) 0, transparent 65%)":"rgba(0, 0, 0, 0.65)"}; content: ''; pointer-events: none; } `,Me=H.Ay.div.withConfig({displayName:"Image"})` position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; .responsive-asset { &::before { display: block; width: 100%; content: ''; } } > *, picture, .responsive-asset picture, /* set to override the css specifity set on this component */ img { object-fit: cover; object-position: top; width: 100%; height: 100%; } picture { position: absolute; top: 0; left: 0; height: 100%; } `,Re=H.Ay.div.withConfig({displayName:"ContentAlign"})` display: flex; flex-wrap: wrap; justify-content: ${({contentAlign:e})=>e}; width: 100%; ${({bottomSpacing:e})=>e&&`margin-bottom: ${(0,B.Kq)(e)};`} `,Fe=H.Ay.div.withConfig({displayName:"Content"})` position: relative; z-index: 2; `,Ue=(0,H.Ay)(I.vm).withConfig({displayName:"Hed"})` text-align: ${({contentAlign:e})=>e}; color: var(${O.pT.Color.TextHeading}); `;Ue.defaultProps={as:"h1",topSpacing:2,typeIdentity:"typography.definitions.consumptionEditorial.hed-standard"};const Ve=(0,H.Ay)(I.vm).withConfig({displayName:"Figure"})` grid-column: 1 / span 4; margin-top: 0; text-align: start; color: var(${O.pT.Color.TextImageCaption}); @media (min-width: ${oe.LO.md}) { grid-column: 1 / span 12; } `;Ve.defaultProps={as:"figure",topSpacing:2,typeIdentity:"typography.definitions.consumptionEditorial.description-embed"};const Ge=H.Ay.div.withConfig({displayName:"DekAndCaption"})` padding-top: ${(0,B.Kq)(1,"px")}; ${(0,Be.universalGridCore)()} ${(0,Oe.aU)("padding")} ${Ve} { text-align: left; ${(0,B.H4)(oe.LO.lg)} { grid-column: 2 / -2; } } `,We=H.Ay.div.withConfig({displayName:"DekWrapper"})` grid-column: 1 / span 4; text-align: ${({contentAlign:e})=>e}; @media (min-width: ${oe.LO.md}) { grid-column: 3 / span 8; } `,je=(0,H.Ay)(I.vm).withConfig({displayName:"Dek"})` text-align: ${({contentAlign:e})=>e}; color: var(${O.pT.Color.TextDek}); ${({hasDekMarginReduced:e})=>e&&`\n margin: ${(0,B.Kq)(2)} 0 0 0;\n `} `;je.defaultProps={as:"p",bottomSpacing:4,topSpacing:3,typeIdentity:"typography.definitions.consumptionEditorial.description-core"};const ze=H.Ay.span.withConfig({displayName:"ContentDivider"})` display: block; margin-top: ${(0,B.Kq)(4)}; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: var(${O.pT.Color.BorderAccent}); width: 100px; ${({contentAlign:e})=>"center"===e&&`margin: ${(0,B.Kq)(4)} auto 0`} `,Ye=H.Ay.div.withConfig({displayName:"ContributorImage"})` display: block; margin-top: ${(0,B.Kq)(4)}; border-radius: 50%; min-width: 60px; max-width: 66px; min-height: 60px; max-height: 66px; overflow: hidden; ${({contentAlign:e})=>"center"===e&&`margin: ${(0,B.Kq)(4)} auto 0`} `,Xe=(0,H.Ay)(y.A).withConfig({displayName:"TextOverlayLogoImage"})` grid-column: 1 / span 4; img { max-width: 100%; height: 100px; vertical-align: bottom; } `,Ze=(0,H.Ay)(I.sH).withConfig({displayName:"TextOverlayLogoLink"})` display: grid; grid-template-columns: repeat(4, 1fr); gap: ${(0,B.Kq)(2)}; @media (max-width: ${oe.LO.md}) { padding-right: calc(1 * ${(0,B.Kq)(3)}); padding-left: calc(1 * ${(0,B.Kq)(3)}); } `,Je=H.Ay.div.withConfig({displayName:"TextOverlayLogo"})` position: relative; z-index: 1; margin: auto; margin-top: 1.5rem; `,Qe=({lede:e=null})=>{if(!e||0===Object.keys(e).length)return null;const t="cnevideo"===e.modelName,n="gallery"===e.modelName,o=(0,be.w)(e);return l.createElement(Me,null,!t&&!n&&l.createElement(y.A,{...o}),t&&e.scriptEmbedUrl&&l.createElement(g.A,{shouldAutoplay:!0,scriptUrl:e.scriptEmbedUrl,videoEmbedPosition:we.m1}),n&&l.createElement(p.A,{...e,showNoAdsFromParent:!0}))};Qe.propTypes={lede:s().oneOfType([s().shape(y.A.propTypes),s().shape(p.A.propTypes),s().shape(g.A.propTypes)])},Qe.displayName="ImageBlock";const et=Qe;var tt=n(25020);const nt=({background:e="gradient",bylineVariation:t="Inverted",className:n="",contentAlign:o="center",contentHeaderCategories:i,contributorImage:a,contributors:r,dangerousDek:s,dangerousHed:d,hasNativeShareButton:c,hideContributors:p=!1,hideDangerousDek:g=!1,hideLedeCaption:h=!1,hidePublishDate:b,hideShareButtons:f,hideRubric:w,showEnhancedPublishDate:$=!1,isLiveStoryType:v=!1,isStoryLive:C=!1,lede:k,ledeCaption:x,logoImage:A,logoBaseUrl:S="/",modifiedDate:L,numberOfLinesToClamp:T=2,preambles:N,publishDate:H,rubric:I,shouldUseCustomPreambles:B,shouldUseCutomColorLiveIndicator:O=!1,showContentDivider:_=!1,showContributorImage:K=!0,showLogo:P,showTextOverlayDek:D=!1,showSponsorBlock:q=!1,socialDescription:M,socialTitle:R,sponsoredContentHeaderProps:F,sponsorByline:V,theme:G={},hasDekMarginReduced:W=!1,shouldLimitContentWidth:j=!1,isDekClampCollapsible:z=!0})=>{const{showNativeShareButton:Y,pageUrl:X}=(0,be.W)(c),Z=k&&!h&&(k.caption&&k.caption.trim()||k.credit&&k.credit.trim()||x),J=L&&{datetime:L};return l.createElement(_e,{className:n,"data-testid":"ContentHeader"},l.createElement(qe,{className:"theme-inverted",background:e,contentAlign:o,shouldLimitContentWidth:j},l.createElement(et,{lede:k}),P&&A?l.createElement(Je,null,l.createElement(Ze,{href:S},l.createElement(Xe,{...A}))):null,l.createElement(De,{contentAlign:o},l.createElement(Fe,null,!w&&(v&&C?l.createElement(Re,{contentAlign:o},l.createElement(E.A,{hasBackground:!0,isDiscovery:!1,shouldEnableAnimation:!0,shouldUseCutomColorLiveIndicator:O})):I?l.createElement(Re,{contentAlign:o,"data-testid":"ContentHeaderRubric"},l.createElement(m.A.Item,{...I})):null),l.createElement(Re,{contentAlign:o},l.createElement(U,{...i})),l.createElement(Ue,{dangerouslySetInnerHTML:{__html:d},"data-testid":"ContentHeaderHed",contentAlign:o}),!g&&s&&D&&l.createElement(je,{dangerouslySetInnerHTML:{__html:s},contentAlign:o,"data-testid":"ContentHeaderDek",hasDekMarginReduced:W}),_&&l.createElement(ze,{contentAlign:o}),v&&q?l.createElement(me,{sponsorByline:V,sponsoredContentHeaderProps:{...F}}):null,K&&a&&l.createElement(Ye,{contentAlign:o},l.createElement(y.A,{...a})),l.createElement(Ke,{contentAlign:o},r&&!p&&l.createElement(u.A,{contributors:r,bylineVariation:t,contentAlign:o,isCompact:!1,shouldUseCustomPreambles:B,preambles:N}),!b&&l.createElement(Pe,{"data-testid":"ContentHeaderPublishDate",contentAlign:o,showEnhancedPublishDate:$,...J},H)),!f&&Y&&l.createElement(Re,{contentAlign:o,bottomSpacing:4},l.createElement(te.A,{hasDarkBackground:!0,shareData:{url:X,title:R,text:M},theme:"inverted"}))))),(Z||s&&!g)&&l.createElement(Ge,{className:`theme-${G.text}`},Z&&l.createElement(Ve,{contentAlign:o},l.createElement(Le.A,{dangerousCaptionText:k.caption,dangerousCredit:v?k.credit||x:k.credit,topSpacing:0})),!g&&s&&!D&&l.createElement(We,null,l.createElement(tt.A,{isCollapsible:z,lines:T},l.createElement(je,{dangerouslySetInnerHTML:{__html:s},contentAlign:o,"data-testid":"ContentHeaderDek"})))))};nt.propTypes={background:s().oneOf(["gradient","solid"]),bylineVariation:s().string,className:s().string,contentAlign:s().oneOf(["center","left"]),contentHeaderCategories:s().shape({title:s().string,tags:s().array}),contributorImage:s().shape(y.A.propTypes),contributors:s().shape(u.A.propTypes.contributors),dangerousDek:s().string,dangerousHed:s().string,hasDekMarginReduced:s().bool,hasNativeShareButton:s().bool,hideContributors:s().bool,hideDangerousDek:s().bool,isDekClampCollapsible:s().bool,hideLedeCaption:s().bool,hidePublishDate:s().bool,hideRubric:s().bool,hideShareButtons:s().bool,isLiveStoryType:s().bool,isRubricInverted:s().bool,isStoryLive:s().bool,lede:s().oneOfType([s().shape(y.A.propTypes),s().shape(p.A.propTypes),s().shape(g.A.propTypes)]),ledeCaption:s().string,logoBaseUrl:s().string,logoImage:s().shape(y.A.propTypes),modifiedDate:s().string,numberOfLinesToClamp:s().number,preambles:s().object,publishDate:s().string,rubric:s().shape(m.A.propTypes),shouldLimitContentWidth:s().bool,shouldUseCustomPreambles:s().bool,shouldUseCutomColorLiveIndicator:s().bool,showContentDivider:s().bool,showContributorImage:s().bool,showEnhancedPublishDate:s().bool,showLogo:s().bool,showSponsorBlock:s().bool,showTextOverlayDek:s().bool,socialDescription:s().string,socialTitle:s().string,sponsorByline:s().string,sponsoredContentHeaderProps:s().shape({campaignUrl:s().string,sponsorLogo:s().shape(y.A.propTypes),sponsorName:s().string}),theme:s().shape({art:s().string,text:s().string})},nt.displayName="TextOverlay";const ot=nt;const it=(0,n(72267).defineMessages)({ratingLinkLabel:{id:"SplitScreenContentHeader.RatingLinkLabel",defaultMessage:"Read Reviews",description:"SplitScreenContentHeader component Rating Link Label"},variousArtists:{id:"SplitScreenContentHeader.VariousArtists",defaultMessage:"Various Artists",description:"SplitScreenContentHeader component various artists text"}});var at=n(52009),rt=n(9481);const st=({className:e,isCNEVideo:t,lede:n})=>{if(!n)return null;if(t){if(!n.scriptEmbedUrl)return null;let t=null;"cnevideo"===n.modelName&&n.cneVideoOverrides&&Object.keys(n.cneVideoOverrides).length&&(t={...n.cneVideoOverrides});const o=t?{shouldAutoplay:Boolean(!t.disableAutoplay),shouldMute:Boolean(t.muted),shouldPlayContinuously:Boolean(t.continuousPlay),isStickyType:Boolean(t.sticky),shouldDisableAds:Boolean(t.disableAds),shouldLoopVideo:Boolean(t.loopVideo)}:{shouldAutoplay:!0};return l.createElement(rt.iD,{"data-testid":"ContentHeaderLeadAsset",className:e},l.createElement(g.A,{hasMargins:!1,...o,scriptUrl:n.scriptEmbedUrl,videoEmbedPosition:we.m1}))}return l.createElement(rt.iD,{"data-testid":"ContentHeaderLeadAsset",className:e},l.createElement(rt.vp,{...n,shouldEagerLoad:!0,hasNativeImgLazyLoading:!0}))};st.propTypes={className:s().string,isCNEVideo:s().bool,lede:s().object};const lt=st;var dt=n(74400),ct=n(55252),mt=n(88722);const ut=({contributors:e,contributorsPosition:t,hideContributors:n,hideIssueDate:o,hidePublishDate:i,issueDate:a,issueLink:r,publishDate:s,publishDatePosition:d,rubric:c,rubricVariation:u,hideRubric:p,bylineVariation:g})=>{const h=m.A[u]||m.A,y=m.A.Item,b=e&&0!==Object.keys(e).length;return l.createElement(rt.XI,{"data-testid":"ContentHeaderRubric"},b&&!n&&"top"===t&&l.createElement(rt.s8,{contributors:e,bylineVariation:g,isCompact:!1,contributorsPosition:t}),c&&!p&&l.createElement(rt.cd,{as:h,...c}),!o&&a&&l.createElement(rt.HW,{as:y,name:a,url:r}),!i&&s&&"top"===d&&l.createElement(rt.Mr,{"data-testid":"ContentHeaderPublishDate"},s))};ut.propTypes={contributors:s().object,contributorsPosition:s().oneOf(["top","bottom"]),hideContributors:s().bool,hideIssueDate:s().bool,hidePublishDate:s().bool,hideRubric:s().bool,issueDate:s().string,issueLink:s().string,publishDate:s().string,publishDatePosition:s().oneOf(["top","bottom"]),rubric:s().shape(m.A.propTypes),rubricVariation:s().string,bylineVariation:s().string};const pt=({signage:e,shouldDisplaySignage:t})=>e&&t?l.createElement("div",{"data-testid":"ContentHeaderRubricSignage"},l.createElement(rt.gU,{name:e})):null;function gt({artists:e,brandSlug:t="",captionPosition:n="belowHeader",className:o,contentAlign:i="center",config:r={adsConfig:{contentHeaderRubricName:void 0}},contributorImage:s,contributorsBelowHeaderPosition:d="top",dangerousDek:c,dangerousHed:m,hasContributorImageBackground:u=!1,showFullHeaderViewInMobile:p=!1,hasBottomSpacingOnMobileHeader:g=!1,hasMargin:h=!1,hasNativeShareButton:y,hideTitleBlockByline:f=!1,hideContributorBelowHeader:w=!0,hideContributorTitle:$=!1,hideContributors:v=!1,hideDangerousDek:C=!1,hideDekBelowHeader:k=!1,hideHeaderDividerInMobile:x,hideInfoSliceBelowHeader:E=!1,hideIssueDate:A,hidePublishDate:S=!1,hideReleaseYear:L=!1,hideRubric:T=!1,hideCaption:N=!1,imageAlignment:H="center",infoSliceFields:I,interactiveOverride:B,isInset:O=!1,isMusicReview:_,isTextRight:K=!1,isTrackReview:P,issueDate:D,issueLink:q,isRatingClickable:M,isSplitScreenArtistLarge:R,rubric:F,rubricVariation:U,contributors:V,contributorsPosition:G="bottom",bylineVariation:W,publishDate:j,publishDatePosition:z="bottom",lede:Y,ledeContentAlign:X="left",modifiedDate:Z,musicRating:J={score:null},offers:ee,offersCTA:ne,shouldEnableNativeShareOnDesktop:ie=!1,shouldFitToViewport:ae=!0,shouldHeaderFitToViewport:re=!1,showContentDivider:se=!1,showContributorImage:le=!0,showHeaderDivider:de=!0,socialDescription:ce,socialTitle:me,theme:ue={},rating:pe,signage:ge,shouldDisplaySignage:he,showReviewLink:ye=!0,textAlign:we="center",shouldAlignCenterWhenNoCaption:ve=!1,shouldUseViewportBasedScoreBox:Ce=!1,scoreSubscriptionUrl:ke=""}){F&&(F.name=r.adsConfig?.contentHeaderRubricName||F.name);const[xe,Ee]=l.useState("100vw");l.useEffect(()=>{if(O){const e=`(min-width: ${oe.LO.md})`;if(window.matchMedia(e).matches){const e=window.visualViewport?.width;e&&Ee(`${e}px`)}}window.Kendra.TRACK_COMPONENT.broadcast($e.G.RENDER,{name:"SplitScreenContentHeader"})},[O]);const Ae="CTA-firework"===(0,fe.u)(B),{showNativeShareButton:Se,pageUrl:Le}=(0,be.W)(y,ie),{score:Te,isBestNewMusic:Ne,isBestNewReissue:He}=J,Ie=(0,mt.i)(I),Be=I?.releaseYear,Oe=(e=>{if(!e)return;const t={...e};return new Set(["photo","cartoon"]).has(e.contentType)&&!e.segmentedSources&&e.sources&&(t.segmentedSources=(0,at.I)(e.sources)),t})(Y),_e="cnevideo"===Y?.modelName,Ke=!Y||_e,{rating:Pe,count:De}=pe||{},qe=_?rt.Zj:rt._k,{formatMessage:Me}=(0,b.A)(),Re=(e=!1,t=!1,n="score-box-header")=>l.createElement(rt.Ui,null,l.createElement(ct.A,{rating:Te,isBestNewMusic:Ne,isBestNewReissue:He,isTrackReview:P,hideLabel:e,enableBlur:t,trackingSubject:"score_editorial",shouldTrackImpression:Ce,scoreSubscriptionUrl:ke,trackingClassName:n})),Fe=_&&(Ne||He||P||null!=Te),Ue=Z&&{datetime:Z},Ve=O&&Oe?.segmentedSources?.lg[0]?.aspectRatio,Ge=Ve?-1!==(We=Ve).indexOf(":")?We.split(":"):null:null;var We;const je=ve&&(!Y?.caption||""===Y?.caption);return l.createElement(rt.YR,{className:a()("content-header",o),isFullWidth:Ke,isTextRight:K,imageAlignment:H,ledeContentAlign:X,shouldFitToViewport:!ae,isMusicReview:_,"data-testid":"SplitScreenContentHeaderWrapper",showHeaderDivider:de,shouldHeaderFitToViewport:re,shouldUseViewportBasedScoreBox:Ce,hidePublishDate:S,mediaContentType:Oe?.contentType||"",hasMargin:h,imgAspectRatioForDesktop:Ge,viewportWidth:xe,hasLedeTextAlignCenterForMobile:je,...p&&{hideHeaderDividerInMobile:x}},l.createElement(qe,{className:a()({[`theme-${ue.art}`]:ue.art===ue.text&&null!=ue.text,"with-divider-desktop":null!=ue.art||de,"with-divider-mobile":!p||!x,inset:O,fullbleed:!O}),showHeaderDivider:null!=ue.art||de,shouldFitToViewport:!ae,shouldUseViewportBasedScoreBox:Ce},l.createElement(rt.yN,{className:a()({[`theme-${ue.text||"standard"}`]:ue.art!==ue.text}),contentAlign:i,textAlign:we,hasBottomSpacingOnMobileHeader:g,shouldUseViewportBasedScoreBox:Ce},Ce&&Fe&&Re(!0,!0,"score-box-header-desktop"),l.createElement("div",{className:"content-header-text"},l.createElement(pt,{signage:ge,shouldDisplaySignage:he}),l.createElement(ut,{contributors:V,contributorsPosition:G,rubric:F,rubricVariation:U,hideContributors:v,hideIssueDate:A,hidePublishDate:S,issueDate:D,issueLink:q,publishDate:j,publishDatePosition:z,hideRubric:T,bylineVariation:W}),l.createElement(rt.Kz,{dangerouslySetInnerHTML:{__html:m},"data-testid":"ContentHeaderHed",isMusicReview:_}),Ae&&l.createElement(rt.ZR,{dangerouslySetInnerHTML:{__html:B.markup},textAlign:we}),se&&l.createElement(rt.yR,{ledeContentAlign:X,hasLedeTextAlignCenterForMobile:je}),e&&_?l.createElement(rt.VM,{isMusicReview:_},0===e.length&&l.createElement(rt.ci,{isSplitScreenArtistLarge:R},Me(it.variousArtists)),e.map((t,n)=>l.createElement(l.Fragment,{key:n},l.createElement(rt.ax,{key:n,href:"/".concat(t.uri)},l.createElement(rt.ci,{dangerouslySetInnerHTML:{__html:t.name},isSplitScreenArtistLarge:R})),!(n===e.length-1)&&l.createElement(rt.Vt,{dangerouslySetInnerHTML:{__html:" / "},isSplitScreenArtistLarge:R})))):!C&&c&&l.createElement(rt.RL,{dangerouslySetInnerHTML:{__html:c}}),(le&&s||V&&!v&&!f&&"bottom"===G||!S&&"bottom"===z)&&l.createElement("div",{className:"accreditation-info"},le&&s&&l.createElement(rt.$W,{...s,sizes:"66px",hasContributorImageBackground:u}),V&&!v&&!f&&"bottom"===G&&l.createElement(rt.s8,{contributors:V,bylineVariation:W,isCompact:!1,contentAlign:i}),!S&&"bottom"===z&&l.createElement(rt.Mr,{"data-testid":"ContentHeaderPublishDate",...Ue},j)),(_||P)&&Be&&!L&&l.createElement(rt.Z1,{"data-testid":"SplitScreenContentHeaderReleaseYear"},Be),!!Pe&&!!De&&l.createElement(rt.oF,{averageRatingCount:Math.round(10*Pe)/10,brandSlug:t,hasBorderTop:!0,showReviewLink:ye,link:{label:Me(it.ratingLinkLabel),onClick:e=>{e.preventDefault();const t=document.getElementById("reviews"),{top:n}=(0,Q.A)(t);t?.focus(),window.scrollTo(0,n-56)},url:"#reviews"},totalRatingCount:De,isRatingClickable:M}),ee?.length&&l.createElement(rt.cR,{hideTopDisclaimerOnMobile:!0,showHeaderButton:!0,ctaText:ne,offers:ee}),Se&&l.createElement(rt.jL,null,l.createElement(te.A,{shareData:{url:Le,title:me,text:ce}})))),l.createElement(rt.Uk,{className:a()({[`theme-${ue.art}`]:ue.art!==ue.text&&null!=ue.art}),isMusicReview:_,shouldUseViewportBasedScoreBox:Ce},l.createElement(lt,{lede:Oe,isCNEVideo:_e}),Ce&&Fe&&Re(!0,!0,"score-box-header-mobile"),!Ce&&Fe&&Re(!1,!1,"score-box-header"))),(Y?.caption||Y?.credit)&&!N&&l.createElement(rt.de,{className:a()("align-"+(K?"start":"end"),{"below-image":"belowImage"===n})},l.createElement(rt.Hz,{dangerousCaptionText:Y.caption,dangerousCredit:Y.credit})),!w&&"top"===d&&l.createElement(rt.de,null,(0,mt.O)({contributors:V,hideContributors:v,hideContributorTitle:$,bylineVariation:W,isMusicReview:_,contentAlign:i})),!E&&Ie.length>0&&l.createElement(rt.de,null,l.createElement(rt.L5,null,l.createElement(dt.A,{items:Ie,isMusicReview:_}))),!C&&!k&&_&&c&&l.createElement(rt.de,null,l.createElement(rt.ld,{dangerouslySetInnerHTML:{__html:c}})),!w&&"bottom"===d&&l.createElement(rt.de,null,(0,mt.O)({contributors:V,hideContributors:v,hideContributorTitle:$,bylineVariation:W,isMusicReview:_,contentAlign:i})))}pt.propTypes={shouldDisplaySignage:s().bool,signage:s().string},gt.propTypes={artists:s().array,brandSlug:s().string,bylineVariation:s().string,captionPosition:s().oneOf(["belowHeader","belowImage"]),className:s().string,config:s().object,contentAlign:s().oneOf(["center","left"]),contributorImage:s().shape(y.A.propTypes),contributors:s().shape(u.A.propTypes.contributors),contributorsBelowHeaderPosition:s().oneOf(["top","bottom"]),contributorsPosition:s().oneOf(["top","bottom"]),dangerousDek:s().string,dangerousHed:s().string.isRequired,hasBottomSpacingOnMobileHeader:s().bool,hasContributorImageBackground:s().bool,hasMargin:s().bool,hasNativeShareButton:s().bool,hideCaption:s().bool,hideContributorBelowHeader:s().bool,hideContributors:s().bool,hideContributorTitle:s().bool,hideDangerousDek:s().bool,hideDekBelowHeader:s().bool,hideHeaderDividerInMobile:s().bool,hideInfoSliceBelowHeader:s().bool,hideIssueDate:s().bool,hideTitleBlockByline:s().bool,hidePublishDate:s().bool,hideReleaseYear:s().bool,hideRubric:s().bool,imageAlignment:s().oneOf(["center","top","left","right","bottom"]),infoSliceFields:s().object,interactiveOverride:s().shape({markup:s().string,behavior:s().string}),isInset:s().bool,isMusicReview:s().bool,isRatingClickable:s().bool,isSplitScreenArtistLarge:s().bool,issueDate:s().string,issueLink:s().string,isTextRight:s().bool,isTrackReview:s().bool,lede:s().oneOfType([s().shape(y.A.propTypes)]),ledeContentAlign:s().oneOf(["left","center"]),modifiedDate:s().string,musicRating:s().object,offers:s().array,offersCTA:s().string,publishDate:s().string.isRequired,publishDatePosition:s().oneOf(["top","bottom"]),rating:s().shape(h.A.propTypes),rubric:s().shape(m.A.propTypes),rubricVariation:s().string,scoreSubscriptionUrl:s().string,shouldAlignCenterWhenNoCaption:s().bool,shouldDisplaySignage:s().bool,shouldEnableNativeShareOnDesktop:s().bool,shouldFitToViewport:s().bool,shouldHeaderFitToViewport:s().bool,shouldRenderScoreBoxInTitleBlock:s().bool,shouldUseViewportBasedScoreBox:s().bool,showContentDivider:s().bool,showContributorImage:s().bool,showFullHeaderViewInMobile:s().bool,showHeaderDivider:s().bool,showReviewLink:s().bool,signage:s().string,socialDescription:s().string,socialTitle:s().string,textAlign:s().oneOf(["left","center"]),theme:s().shape({art:s().string,text:s().string})},gt.displayName="SplitScreenContentHeader";const ht=gt;var yt=n(96307);Se.TextAboveCenterGridWidth=(0,o.y)(Se,"TextAboveCenterGridWidth",{contentAlign:"center",contentPosition:"above"}),Se.TextAboveCenterGridWidthTopCardSmall=(0,o.y)(Se,"TextAboveCenterGridWidthTopCardSmall",{contentAlign:"center",contentPosition:"above",copyWidth:"fullbleed",leadRailAnchor:!0,mediaWidth:"small"}),Se.TextAboveCenterFullBleed=(0,o.y)(Se,"TextAboveCenterFullBleed",{contentAlign:"center",contentPosition:"above",mediaWidth:"fullbleed"}),Se.TextAboveCenterFullBleedNoContributor=(0,o.y)(Se,"TextAboveCenterFullBleedNoContributor",{contentAlign:"center",contentPosition:"above",mediaWidth:"fullbleed"},{hasDesktopTitleBlockDivider:!1,captionStyle:"span-content-well",captionWidth:"fullbleed",showContributorImage:!1}),Se.TextAboveCenterFullBleedTop=(0,o.y)(Se,"TextAboveCenterFullBleedTop",{contentAlign:"center",contentPosition:"above",copyWidth:"fullbleed"}),Se.TextAboveCenterFullBleedGridWidthCard=(0,o.y)(Se,"TextAboveCenterFullBleedGridWidthCard",{contentAlign:"center",contentPosition:"above",copyWidth:"fullbleed"}),Se.TextAboveCenterFullBleedCard=(0,o.y)(Se,"TextAboveCenterFullBleedCard",{contentAlign:"center",contentPosition:"above",mediaWidth:"fullbleed",copyWidth:"fullbleed"}),Se.TextAboveLeftSmall=(0,o.y)(Se,"TextAboveLeftSmall",{contentAlign:"left",contentPosition:"above",leadRailAnchor:!0,mediaWidth:"small"}),Se.TextAboveLeftSmallWithRule=(0,o.y)(Se,"TextAboveLeftSmallWithRule",{contentAlign:"left",contentPosition:"above",hasLedeLightbox:!0,leadRailAnchor:!0,mediaWidth:"smallrule",hasInlinePublishDate:!0,hasNoRowPadding:!0},{}),Se.TextAboveCenterSmallWithRule=(0,o.y)(Se,"TextAboveCenterSmallWithRule",{contentAlign:"center",contentPosition:"above",leadRailAnchor:!0,ledeAlign:"center",mediaWidth:"smallrule",hasInlinePublishDate:!0,hasNoRowPadding:!0},{}),Se.InlineImage=(0,o.y)(Se,"InlineImage",{contentAlign:"center",contentPosition:"above",leadRailAnchor:!0,ledeAlign:"center",mediaWidth:"smallrule",hasInlinePublishDate:!0,hasNoRowPadding:!0},{dividerType:"bottom",hideLede:!0,showContributorImage:!1}),Se.TextAboveLeftFullBleed=(0,o.y)(Se,"TextAboveLeftFullBleed",{contentAlign:"left",contentPosition:"above",copyWidth:"grid",hasLedeLightbox:!0,mediaWidth:"fullbleed"}),Se.TextAboveLeftGridWidth=(0,o.y)(Se,"TextAboveLeftGridWidth",{contentAlign:"left",contentPosition:"above",mediaWidth:"grid"}),Se.TextAboveLeftGridWidthCard=(0,o.y)(Se,"TextAboveLeftGridWidthCard",{contentAlign:"left",contentPosition:"above",mediaWidth:"grid"}),Se.TextAboveLeftNoImg=(0,o.y)(Se,"TextAboveLeftNoImg",{contentAlign:"left",contentPosition:"above"},{className:"content-header--no-lede",lede:null}),Se.TextBelowCenterGridWidth=(0,o.y)(Se,"TextBelowCenterGridWidth",{contentAlign:"center",contentPosition:"below"}),Se.TextBelowCenterFullBleed=(0,o.y)(Se,"TextBelowCenterFullBleed",{contentAlign:"center",contentPosition:"below",mediaWidth:"fullbleed"}),Se.TextBelowCenterFullBleedNoContributor=(0,o.y)(Se,"TextBelowCenterFullBleedNoContributor",{contentAlign:"center",contentPosition:"below",mediaWidth:"fullbleed"},{hasDesktopTitleBlockDivider:!1,captionStyle:"span-content-well",captionWidth:"fullbleed",showContributorImage:!1}),Se.TextBelowLeftGridWidth=(0,o.y)(Se,"TextBelowLeftGridWidth",{contentAlign:"left",contentPosition:"below"}),Se.TextBelowLeftFullBleed=(0,o.y)(Se,"TextBelowLeftFullBleed",{contentAlign:"left",contentPosition:"below",mediaWidth:"fullbleed"}),Se.TextOverlay=(0,o.y)(ot,"TextOverlayContentHeader",{}),Se.TextOverlayWithLogo=(0,o.y)(ot,"TextOverlayContentHeaderWithLogo",{isFeatured:!0}),Se.TextOverlayCenterFullBleedGradient=(0,o.y)(ot,"TextOverlayCenterFullBleedGradient",{contentAlign:"center",background:"gradient"}),Se.SplitScreenImgRight=(0,o.y)(ht,"SplitScreenImageRightInset",{},{isInset:!0,isTextRight:!1,showContributorImage:!1,hideHeaderDividerInMobile:!0}),Se.SubjectFocus=(0,o.y)(Se,"SubjectFocus",{contentAlign:"left",contentPosition:"above",hasExtraSpaceBetweenSeparator:!0,leadRailAnchor:!0,mediaWidth:"small",publishDatePosition:"top"},{showContributorImage:!1}),Se.SplitScreenImageRightFullBleed=(0,o.y)(ht,"SplitScreenImageRightFullBleed",{},{isTextRight:!1,showContributorImage:!1}),Se.SplitScreenImageRightInset=(0,o.y)(ht,"SplitScreenImageRightInset",{},{isInset:!0,isTextRight:!1,showContributorImage:!1,hideHeaderDividerInMobile:!0}),Se.SplitScreenImageLeftFullBleed=(0,o.y)(ht,"SplitScreenImageLeftFullBleed",{},{isTextRight:!0,showContributorImage:!1}),Se.SplitScreenImageLeftInset=(0,o.y)(ht,"SplitScreenImageLeftInset",{},{isInset:!0,isTextRight:!0,showContributorImage:!1,hideHeaderDividerInMobile:!0}),Se.BusinessContentHeader=(0,o.y)(Se,"BusinessContentHeader",{contentAlign:"center",contentPosition:"below",mediaWidth:"fullbleed",showContentDivider:!0,hideRubric:!0}),Se.PodcastContentHeader=(0,o.y)(Se,"PodcastContentHeader",{contentAlign:"center",contentPosition:"below",shouldUseSmallLede:!0,showPodcastButton:!0,hasDivider:!0},{hideLedeCaption:!0}),Se.TextAboveCenterFullBleedVideo=(0,o.y)(Se,"ContentHeaderFullBleedVideo",{contentAlign:"center",contentPosition:"above",mediaWidth:"fullbleed",isFullBleedVideo:!0}),Se.SplitScreenWithMultiReviewContent=(0,o.y)(yt.A,"SplitScreenWithMultiReviewContent",{});const bt=Se},70099:(e,t,n)=>{n.d(t,{R:()=>a,Y:()=>o});var o,i=n(53836);!function(e){e.EMAIL_SHA_UPDATED="EMAIL_SHA_UPDATED",e.ONE_TRUST_LOADED="ONE_TRUST_LOADED",e.UPDATED="UPDATED"}(o||(o={}));class a extends i.J{constructor(){super(5)}}},70231:(e,t,n)=>{n.d(t,{A:()=>C});var o=n(5556),i=n.n(o),a=n(96540),r=n(13465),s=n(62251),l=n(6442);const d=(0,n(72267).defineMessages)({hedText:{id:"FeaturedStories.HedText",defaultMessage:"Featured Articles By {contributorName}",description:"Hed text for Featured Stories Section"}});var c=n(30259);const m=({selectedStories:e,contributorName:t})=>{const{formatMessage:n}=(0,l.A)();return e&&e.length?a.createElement(c.o9,null,a.createElement(c.z4,{className:"FeaturedStoriesSectionTitle",dangerousHed:n(d.hedText,{contributorName:t})}),a.createElement(c.eG,{items:e,shouldHideFinalBorder:!0,shouldHideSponsoredAd:!0,hasMarginSpacing:!0,hideRubricItemSummary:!0,hasUnderlineHed:!1,shouldHideBylines:!0,summaryItemVariation:"SideBySideThirdsImageLeftWithNoDekNoBorder",shouldUseSmallHed:!0})):null};m.propTypes={contributorName:i().string,selectedStories:i().array.isRequired},m.displayName="FeaturedStories";const u=m;var p=n(29752),g=n(74898);const h=({selectedStories:e,contributorName:t})=>{const{formatMessage:n}=(0,l.A)();return e&&e.length?a.createElement(g.e,null,a.createElement(g.z,{className:"FeaturedStoriesSectionTitle",dangerousHed:n(d.hedText,{contributorName:t})}),a.createElement(p.A,{className:"featured-stories-carousel",items:e,shouldShowViewAllButton:!1,isSummaryHeadingSecondary:!0})):null};h.propTypes={contributorName:i().string,selectedStories:i().array.isRequired},h.displayName="SmallDeviceFeaturedStories";const y=h;var b=n(12378);const f=({selectedStories:e=[],header:t,hasBorders:n})=>{const o=t&&t.name||"",i=e&&e.length>0;return a.createElement(b.O,{hasFeaturedStories:i},t&&a.createElement(s.A.DenseHeader,{...t,hasBorders:n,showSeeMoreLink:!0}),a.createElement(u,{selectedStories:e,contributorName:o}),a.createElement(y,{selectedStories:e,contributorName:o}))};f.propTypes={hasBorders:i().bool,header:i().object.isRequired,selectedStories:i().array,showSeeMoreLink:i().bool};const w=f;var $=n(5676);const v=({dangerousHed:e,selectedStories:t,header:n,hasBordersForHeader:o,hasConsistentSpacing:i=!1})=>{const r={dangerousHed:e,className:"ContributorSpotlightSectionTitle"};return a.createElement($.hO,{hasConsistentSpacing:i,"data-testid":"ContributorSpotlightContainer"},a.createElement($.zv,null,a.createElement($.UH,null,e&&a.createElement($.Vm,{...r}),a.createElement($.k6,null,a.createElement(w,{header:n,selectedStories:t,hasBorders:o})))))};v.propTypes={dangerousHed:i().string,hasBordersForHeader:i().bool,hasConsistentSpacing:i().bool,header:i().object,selectedStories:i().array},v.displayName="ContributorSpotlight";const C=(0,r.y)(v,"ContributorSpotlight")},70698:(e,t,n)=>{n.d(t,{Ee:()=>l,N_:()=>r,iq:()=>d,l1:()=>c,nA:()=>s});const o="up",i="down",a="none",r={direction:a,pageYOffset:0,showSticky:!0,clippedMenu:!1},s=e=>{const t=(()=>{try{return window?.pageYOffset||0}catch(e){return 0}})();if(0===t)return{...e,...r};const n=((e,t)=>{const n=e-t;return 0===n?a:n<0?o:i})(t,e.pageYOffset),s=e.direction!==n?t:e.changeDirectionPageYOffset,l=((e,t,n)=>{switch(e){case i:return t>=n+100;case o:return t<=n-100;default:return!1}})(n,t,s);let{showSticky:d,clippedMenu:c}=e;return l&&(d=n===o),c=n===o||c&&n===i,{...e,direction:n,pageYOffset:t,changeDirectionPageYOffset:s,showSticky:d,clippedMenu:c}},l=(e,t)=>({...e,headerHeight:t?.current?.getBoundingClientRect()?.height||0}),d=({palette:e})=>"inverted"===e,c=(e,t)=>{if(d(e)){if(/\.collapsed/.exec(t))return t.replace(".collapsed",".expanded");if(/\.expanded/.exec(t))return t.replace(".expanded",".collapsed")}return t}},70926:(e,t,n)=>{n.d(t,{A:()=>u});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(53499),d=n(73275),c=n(41108);const m=({attributes:e,className:t,dangerousCaption:n,dangerousCredit:o,image:a,contentAlign:r})=>{if(s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(l.G.RENDER,{name:"AssetEmbed"})},[]),!a)return null;const d=n||o;return s.createElement(c.$m,{...e,isAlignedLeft:"left"===r,isAlignedRight:"right"===r,className:i()("asset-embed",t)},s.createElement(c.HO,{className:"asset-embed__asset-container"},s.createElement(c.oc,{...a,className:"asset-embed__responsive-asset",isLazy:!0,hasNativeImgLazyLoading:!0})),d&&s.createElement(c.kW,{dangerousCaptionText:n,dangerousCredit:o,className:"asset-embed__caption"}))};m.propTypes={attributes:r().object,className:r().string,contentAlign:r().oneOf(["left","right"]),dangerousCaption:r().string,dangerousCredit:r().string,image:r().shape(d.A.propTypes)},m.displayName="AssetEmbed";const u=m},71724:(e,t,n)=>{n.d(t,{Oy:()=>r,TW:()=>s,rB:()=>i});var o=n(54318);function i(e,t=[]){return Array.isArray(t)?t.find(t=>e.template===t.template):null}const a=e=>e.some(e=>"product"===e.contentType||"commerce-product"===e.contentType),r=e=>{const t=[];return e.map(e=>("verso-plp-manual-curated"!==e.template&&"verso-plp-search-curated"!==e.template&&"verso-filterable-summary-list"!==e.template&&"verso-pim-collection"!==e.template&&"verso-plp-curated-visual"!==e.template&&"verso-plp-filterable-feature"!==e.template&&"verso-native-product-carousel"!==e.template||(e?.groups?.length>0?(e=>{const t=[];return e.forEach(e=>{e?.items?.length>0?t.push(a(e.items)):t.push(!1)}),t.some(Boolean)})(e?.groups)&&t.push(e):e?.productList?.length>0?a(e.productList)&&t.push(e):e?.items?.length>0&&a(e.items)&&t.push(e)),t)),t},s=e=>{const{hed:t,dangerousHed:n,container:i,containerId:a}=e||{};return t?(0,o.$)(e,"hed"):n?(0,o.$)(e,"dangerousHed"):i?.hed?(0,o.$)(i,"hed"):i?.dangerousHed?(0,o.$)(i,"dangerousHed"):a?e.containerId:i?.containerId?i.containerId:void 0}},71750:(e,t,n)=>{n.d(t,{$k:()=>y,E$:()=>b,L5:()=>w,P4:()=>k,Rx:()=>C,WZ:()=>v,Wc:()=>x,fq:()=>$,g8:()=>f,jo:()=>E,xh:()=>g,zc:()=>h});var o=n(38267),i=n(26865),a=n(1123),r=n(76955),s=n(96472),l=n(92027),d=n(77346),c=n(87468),m=n(7228),u=n(5239),p=n(65881);const g=o.Ay.header.withConfig({displayName:"BundleHeaderWrapper"})` display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; ${({hasMarginBottom:e})=>e&&`\n margin-bottom: ${(0,i.Kq)(6)};\n `} ${({isDestinationBundle:e,theme:t})=>e&&o.AH` background: ${(0,i.HK)(t,"colors.background.light")}; `} ${({overlayType:e,isDirectoryBundle:t,isFullBleedForXXXL:n})=>"none"!==e&&!t&&!n&&`\n ${u.nw} {\n @media (min-width: ${s.LO.xxl}) {\n width: ${s.LO.xxl};\n margin: 0 auto;\n }\n }\n `} ${u.zT} { grid-column: inherit; ${({isDestinationBundle:e,theme:t})=>e&&o.AH` background: ${(0,i.HK)(t,"colors.background.light")}; ${u.PJ} { @media (min-width: ${s.LO.xxl}) { padding-left: 0; padding-right: 0; } } ${u.hx} { grid-column: 1/-1; } `} ${u.PJ} { margin-top: ${(0,i.Kq)(2)}; @media (min-width: ${s.LO.md}) { margin-top: ${(0,i.Kq)(2)}; } ${u.hx} { ${({isInverted:e,theme:t})=>e&&`\n background: ${(0,i.HK)(t,"colors.background.black")};\n `} .caption__credit { ${({isInverted:e,theme:t})=>e&&`\n color: ${(0,i.HK)(t,"colors.consumption.lead.inverted.description")};\n `} } } } } `,h=(0,o.Ay)(l.A).withConfig({displayName:"BundleHeaderSection"})` grid-column: 1; grid-row: 1; background: ${({theme:e})=>(0,i.HK)(e,"colors.background.light")}; ${({shouldApplyDarkBackground:e,theme:t})=>e&&`\n background: ${(0,i.HK)(t,"colors.consumption.lead.inverted.background")};\n `} ${({hasTopMargin:e})=>e&&`\n ${(0,i.H4)(s.LO.lg)} {\n margin-top: -8%;\n }\n `} ${({overlayType:e})=>"gradient"===e?o.AH` &:after { background: linear-gradient(to top, rgb(0, 0, 0) 0, transparent 65%); content: ''; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } `:"solid"===e?o.AH` &:after { background-color: rgba( ${(0,i.HK)("colors.interactive.base.black",{rgbOnly:!0})}, 0.35 ); content: ''; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } `:""} .lead-asset__content__photo, ${u.zw} ${m.BF} { ${(0,i.H4)(s.LO.md)} { max-height: none; } } ${u.zw}, ${m.BF} { width: 100%; } `,y=o.Ay.div.withConfig({displayName:"BundleHeaderHedDekGrid"})` ${(0,a.VO)()} display: grid; grid-column: 1; grid-row: 1; grid-template-columns: repeat(4, 1fr); column-gap: var(--grid-gap); z-index: 1; width: 100%; row-gap: var(--grid-gap); ${({isInverted:e,theme:t})=>e&&`\n background: ${(0,i.HK)(t,"colors.consumption.lead.inverted.background")};\n `} ${(0,a.aU)("padding")} ${({headerPosition:e})=>"center"===e?"place-items: center center;":"place-items: start center;"} ${(0,i.H4)(s.LO.md)} { grid-template-columns: repeat(12, 1fr); } `,b=o.Ay.div.withConfig({displayName:"BundleHeaderHedDekBlock"})` grid-column: 1 / -1; text-align: center; @media (min-width: ${s.LO.lg}) { ${({isDirectoryBundle:e})=>e?"grid-column: 4 / 10":"grid-column: 2 / -2;"} ${({showHeaderOnTop:e,showHeaderOnBottom:t})=>(e||t)&&"\n grid-column: 3 / -3;\n "} } `,f=(0,o.Ay)(d.A).withConfig({displayName:"SectionHeaderStyle"})` margin-top: ${(0,i.Kq)(5)}; margin-bottom: ${(0,i.Kq)(2)}; color: ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.heading")}; ${({isInverted:e,theme:t})=>e&&`\n color: ${(0,i.HK)(t,"colors.discovery.body.white.heading")};\n `} @media (min-width: ${s.LO.xl}) { margin-top: ${(0,i.Kq)(8)}; margin-bottom: ${(0,i.Kq)(4)}; } `,w=(0,o.Ay)(r.vm).withConfig({displayName:"BundleHeaderHed"})` margin-top: ${(0,i.Kq)(5)}; margin-bottom: ${(0,i.Kq)(2)}; ${({theme:e,shouldDecorateHeader:t})=>t?`text-decoration: underline; text-decoration-color: ${(0,i.HK)(e,"colors.discovery.lead.primary.accent")};`:"text-decoration: none"}; ${({theme:e,shouldOverrideTypeToken:t})=>(0,i.Gg)(e,t?"typography.definitions.consumptionEditorial.hed-standard":"typography.definitions.consumptionEditorial.display-small")}; @media (min-width: ${s.LO.xl}) { margin-top: ${(0,i.Kq)(8)}; margin-bottom: ${(0,i.Kq)(4)}; ${({theme:e,shouldOverrideTypeToken:t})=>(0,i.Gg)(e,t?"typography.definitions.consumptionEditorial.hed-standard":"typography.definitions.discovery.hed-break-out")}; } `;w.defaultProps={as:"h1",colorToken:"colors.consumption.body.standard.body",typeIdentity:"typography.definitions.consumptionEditorial.body-core"};const $=(0,o.Ay)(r.vm).withConfig({displayName:"BundleHeaderDekText"})` ${({isDestinationBundle:e,shouldOverrideDirectoryBundle:t,shouldOverrideTypeToken:n,theme:o})=>e||t||n?(0,i.Gg)(o,"typography.definitions.consumptionEditorial.description-core"):(0,i.Gg)(o,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; ${({shouldOverrideDirectoryBundle:e,isDirectoryBundle:t,shouldOverrideTypeToken:n,theme:o})=>!e&&!n&&(t?(0,i.Gg)(o,"typography.definitions.consumptionEditorial.subhed-break-secondary"):(0,i.Gg)(o,"typography.definitions.consumptionEditorial.subhed-aux-secondary"))}; margin-top: 0; color: ${({isDestinationBundle:e,theme:t})=>e?(0,i.HK)(t,"colors.discovery.body.black.description"):(0,i.HK)(t,"colors.discovery.body.white.description")}; ${({shouldOverrideDirectoryBundle:e,theme:t})=>e&&`\n ${(0,i._o)(t,"color","colors.consumption.body.inverted.body-deemphasized")}\n `} ${({isDirectoryBundle:e,theme:t})=>e?o.AH` margin-bottom: ${(0,i.Kq)(4)}; color: ${(0,i.HK)(t,"colors.discovery.body.white.context-texture")}; @media (max-width: ${s.LO.lg}) { font-size: ${(0,i.Kq)(2)}; } `:""}; ${({showByline:e,showHeaderOnTop:t})=>!e&&t&&`\n margin-bottom: ${(0,i.Kq)(5)};\n\n @media (min-width: ${s.LO.lg}) {\n margin-bottom: ${(0,i.Kq)(6)};\n }\n `} ${({shouldOverrideBundleHeaderDekText:e})=>e&&`\n @media (min-width: ${s.LO.xl}) {\n text-align: justify;\n font-size: ${(0,i.Kq)(3.3,"px")};\n margin-bottom: ${(0,i.Kq)(8,"px")};\n }\n\n @media (max-width: ${s.LO.xl}) {\n text-align: left;\n font-size: ${(0,i.Kq)(2.75,"px")};\n margin: ${(0,i.Kq)(6,"px")} 0 ${(0,i.Kq)(8,"px")} 0;\n }\n `} ${({shouldAddBottomSpacing:e})=>e&&`\n margin-bottom: ${(0,i.Kq)(5)};\n\n @media (min-width: ${s.LO.lg}) {\n margin-bottom: ${(0,i.Kq)(6)};\n }\n `} `,v=o.Ay.div.withConfig({displayName:"BundleHeaderFullBleedContainer"})` display: grid; grid-column: -1 / 1; align-items: center; text-align: center; @media (min-width: ${s.LO.lg}) { grid-column: 4 / 10; } `,C=(0,o.Ay)(r.vm).withConfig({displayName:"BundleHeaderFullBleedHedText"})` margin-bottom: ${(0,i.Kq)(1)}; font-size: 2em; font-weight: bold; ${({isDestinationBundle:e,theme:t})=>!0===e?o.AH` margin-bottom: 0; ${(0,i.Gg)(t,"typography.definitions.discovery.page-hed-section")}; `:""} ${({isDirectoryBundle:e,theme:t})=>e?o.AH` margin-bottom: ${(0,i.Kq)(2)}; ${(0,i.Gg)(t,"typography.definitions.discovery.page-hed-subsection")}; @media (max-width: ${s.LO.lg}) { font-size: ${(0,i.Kq)(4)}; } `:""} `;C.defaultProps={as:"h1",colorToken:"colors.discovery.body.white.background",typeIdentity:"typography.definitions.consumptionEditorial.body-core"};const k=o.Ay.div.withConfig({displayName:"ButtonGroupWrapper"})` a { margin-right: ${(0,i.Kq)(2.5)}; border: none; @media (max-width: ${s.LO.lg}) { margin-right: 0; width: 100%; } } a:hover { border: none; } /* Style the apply now button specifically with higher specificity */ &&& .apply-now-button-group { a { display: inline-block; transition: background-color 0.2s ease; margin-top: ${(0,i.Kq)(2.5)}; margin-right: ${(0,i.Kq)(2.5)}; border: none; background-color: #2b2b2b; padding: ${(0,i.Kq)(2.2)} ${(0,i.Kq)(3)}; text-decoration: none; color: white; font-weight: 600; @media (max-width: ${s.LO.lg}) { margin-right: 0; width: 100%; } &:hover { border: none; background-color: #767676; color: white; } } } ${p.Q} { justify-content: center; @media (max-width: ${s.LO.lg}) { margin: ${(0,i.Kq)(2)} 0 ${(0,i.Kq)(.5)}; } } `,x=(0,o.Ay)(c.A).withConfig({displayName:"BundleHeaderBylines"})` margin-top: ${(0,i.Kq)(2)}; margin-bottom: ${(0,i.Kq)(5)}; @media (min-width: ${s.LO.xl}) { margin-top: ${(0,i.Kq)(4)}; margin-bottom: ${(0,i.Kq)(6)}; } `;x.defaultProps={colorToken:"colors.consumption.lead.standard.accreditation",typeIdentity:"typography.definitions.globalEditorial.accreditation-core"};const E=(0,o.Ay)(r.vm).withConfig({displayName:"BundleHeaderSubHed"})` margin-bottom: ${(0,i.Kq)(2)}; `;E.defaultProps={colorToken:"colors.discovery.body.white.heading",typeIdentity:"typography.definitions.discovery.subhed-section-primary"}},71862:(e,t,n)=>{n.d(t,{of:()=>ye,kc:()=>le,bL:()=>ge,TU:()=>ue,ML:()=>pe,Ts:()=>de,wG:()=>ce,Gy:()=>me,Z_:()=>se,gV:()=>Le,wH:()=>Ae,Zs:()=>Se,Tz:()=>Te,Bn:()=>Ke,nO:()=>Ie,VX:()=>Ue,vs:()=>ae,re:()=>qe,cf:()=>De,nk:()=>Pe,E8:()=>Be,H7:()=>Oe,ik:()=>be,q8:()=>ve,ck:()=>ke,dU:()=>we,Kd:()=>Ee,QU:()=>xe,Fy:()=>$e,E4:()=>_e,aL:()=>fe,Ac:()=>Ce,kr:()=>He,Lq:()=>he,gB:()=>Fe,Hb:()=>Re});var o=n(38267),i=n(26865),a=n(96472),r=n(99906),s=n(76955),l=n(52813),d=n(1123),c=n(15737),m=n(49829),u=n(56341),p=n(5556),g=n.n(p),h=n(96540);const y=({linksArr:e,className:t})=>h.createElement("div",{"aria-hidden":"true",className:t},h.createElement("ul",null,e.map((e,t)=>h.createElement("li",{key:t},h.createElement("a",{"aria-hidden":"true",tabIndex:-1,href:e.url},e.text),e.children&&h.createElement("ul",null,e.children.map((e,t)=>h.createElement("li",{key:t},h.createElement("a",{"aria-hidden":"true",tabIndex:-1,href:e.url},e.text))))))));y.propTypes={className:g().string,linksArr:g().array};const b=y;var f=n(73730),w=n(13465),$=n(11542),v=n(73275),C=n(90090),k=n(53499);const x=o.Ay.div.withConfig({displayName:"SeriesPaginationContentWrapper"})` display: flex; align-items: center; justify-content: flex-start; margin: auto; overflow-x: auto; overflow-y: hidden; padding: 0 ${(0,i.Kq)(2)}; height: 100%; @media (max-width: ${a.LO.sm}) { &::after { display: block; position: absolute; top: 0; right: 0; z-index: 99; background: linear-gradient( to right, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.8) 73% ); width: 50px; height: 100%; content: ''; } } `,E=o.Ay.div.withConfig({displayName:"SeriesPaginationImage"})` flex-shrink: 0; img { height: 27px; } `,A=(0,o.Ay)(s.sH).withConfig({displayName:"SeriesPaginationLink"})` ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.foundation.link-primary")}; padding-top: ${(0,i.Kq)(3)}; padding-bottom: ${(0,i.Kq)(3)}; @media (max-width: ${a.LO.md}) { padding-top: ${(0,i.Kq)(4)}; padding-bottom: ${(0,i.Kq)(4)}; } `;A.defaultProps={colorSecondaryToken:"colors.foundation.collapsed-menu.nav-link.hover",colorStaticLinkToken:"colors.foundation.collapsed-menu.nav-link.default",linkStyle:"navigation"};const S=(0,o.Ay)(A).withConfig({displayName:"SeriesPaginationPlaceholder"})` ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.inverted.body-deemphasized")}; &:hover { cursor: default; text-decoration: none; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.inverted.body-deemphasized")}; } `,L=o.Ay.li.withConfig({displayName:"SeriesPaginationListItem"})` display: inline-block; padding: 0 0 0 ${(0,i.Kq)(5)}; white-space: nowrap; &:last-of-type { padding-right: ${(0,i.Kq)(2)}; } `,T=o.Ay.ul.withConfig({displayName:"SeriesPaginationUnorderedList"})` display: flex; align-items: center; justify-content: flex-start; margin: 0; padding: 0; height: 100%; list-style: none; @media (max-width: ${a.LO.sm}) { padding: 0 50px 0 0; } `,N=o.Ay.section.withConfig({displayName:"SeriesPaginationWrapper"})` border-width: 0 0 1px; border-style: solid; width: 100%; height: 60px; ${({theme:e})=>(0,i._o)(e,"border-color","colors.discovery.body.white.divider")}; ${({theme:e})=>(0,i._o)(e,"background","colors.foundation.menu-bg.collapsed")}; @media (max-width: ${a.LO.lg} - 1) { border-width: 1px 0; } @media (max-width: ${a.LO.md}) { height: 60px; } `,H=({href:e,prefix:t,hed:n})=>{const o=`${t} ${n}`;return h.createElement(A,{href:e,dangerouslySetInnerHTML:{__html:o},onClick:()=>(0,C.W8)("seriespagination",{title:o})})};H.propTypes={hed:g().string,href:g().string,prefix:g().string};const I=({prefix:e,hed:t})=>{const n=`${e} ${t}`;return h.createElement(S,{dangerouslySetInnerHTML:{__html:n}})};I.propTypes={hed:g().string,prefix:g().string};const B=({links:e,prefixDivider:t,shouldIncludeIndex:n})=>e.length&&h.createElement(T,null,e.map((e,o)=>{const i=o,{hed:a="",isExternal:r=!1,isPublished:s=!1,url:l=""}=e,d=!s&&!r?I:H,c=`${n?o+1:""}${t}`;return h.createElement(L,{key:i},h.createElement(d,{href:l,prefix:c,hed:a}))}));B.propTypes={links:g().arrayOf(g().shape({url:g().string,hed:g().string,isPublished:g().bool})),prefixDivider:g().string,shouldIncludeIndex:g().bool};const O=({className:e,prefixDivider:t=":",seriesData:n,shouldIncludeIndex:o=!0})=>{h.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(k.G.RENDER,{name:"SeriesPagination"})},[]);const{image:i,links:a=[]}=n||{};if(!a.length)return null;const r={links:a,prefixDivider:t,shouldIncludeIndex:o};return h.createElement(N,{className:e},h.createElement(x,null,(i?.segmentedSources||i?.sources)&&h.createElement(E,null,h.createElement(v.A,{...i})),h.createElement(B,{...r})))};O.displayName="SeriesPagination",O.propTypes={className:g().string,prefixDivider:g().string,seriesData:g().shape({hed:g().hed,dek:g().dek,image:g().shape(v.A.propTypes),links:g().arrayOf(g().shape({hed:g().string,dek:g().string,image:g().object,isCurrent:g().bool,isExternal:g().bool,isPublished:g().bool,promoDek:g().string,promoHed:g().string,url:g().string})),shouldExcludeSeriesPagination:g().bool}),shouldIncludeIndex:g().bool};const _=(0,$.M3)(O,{keysToPluck:["seriesData"]}),K=(0,w.y)(_,"SeriesPagination");var P=n(48188),D=n(47655),q=n(91583),M=n(39733);const R=({className:e,variations:t={style:"chevron"},variationName:n})=>(h.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(k.G.RENDER,{name:"Toggle",variation:n})},[n]),h.createElement("i",{className:e},"triangle"===t.style?h.createElement(q.A,{style:{transform:"scale(0.7)"}}):h.createElement(M.A,null)));R.propTypes={className:g().string,variationName:g().string,variations:g().shape({style:g().oneOf(["chevron","triangle"])})},R.displayName="Toggle";const F=R;F.Triangle=(0,D.y)(F,"Triangle",{style:"triangle"});const U=F,V=(0,w.y)(U,"Toggle");var G=n(12972),W=n(37384),j=n(7228),z=n(82552),Y=n(51e3),X=n(32788),Z=n(94373),J=n(26348);const Q="transition: opacity 0.3s ease-in-out;",ee="300ms",te=(0,i.Kq)(7),ne=o.AH` display: flex; align-items: center; ${G.M8},${G.SE} { ${(0,i.Gg)("typography.definitions.foundation.link-primary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.collapsed-menu.nav-link.hover","navigation")}; transition: color ${ee} ease-in-out; } ${G.W9} { margin: 0; } ${G.J$} { display: flex; align-items: center; transition: color ${ee} ease-in-out; padding: 0; } `,oe=o.AH` ${ne} display: none; @media (min-width: ${a.LO.xl}) { display: flex; margin-left: ${(0,i.Kq)(4)}; ${G.W9} { max-height: ${(0,i.Kq)(3)}; overflow: hidden; } ${G.J$} { margin-right: ${(0,i.Kq)(2)}; } } `,ie=o.AH` position: relative; ${G.J$} { margin: 0; padding: ${(0,i.Kq)(2)} ${(0,i.Kq)(3)}; overflow: hidden; &:hover { background-color: ${(0,i.HK)("colors.foundation.menu.dividers")}; ${G.M8},${G.SE} { text-decoration: none; color: ${({utilityNavLinkColorToken:e})=>e?(0,i.HK)(e):""}; } } } ${G.M8},${G.SE} { ${(0,i.Gg)("typography.definitions.foundation.link-secondary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default",null,"navigation")}; display: block; width: 100%; } `,ae=o.Ay.div.withConfig({displayName:"StandardNavigationDropdown"})` display: ${e=>e.expanded?"block":"none"}; position: absolute; top: ${(0,i.Kq)(9)}; right: -23px; z-index: ${a.KV.dropdown}; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); background-color: ${(0,i.HK)("colors.foundation.menu-bg.collapsed")}; padding: ${(0,i.Kq)(2)} 0; &:hover { display: block; } &::before { position: absolute; top: -19px; right: 20px; z-index: 1; border-top: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid ${(0,i.HK)("colors.foundation.menu-bg.collapsed")}; border-left: 10px solid transparent; width: 0; height: 0; content: ''; } &::after { position: absolute; top: -21px; right: 20px; border-top: 10px solid transparent; border-right: 10px solid transparent; border-left: 10px solid transparent; width: 0; height: 0; content: ''; } &.account-links__sign-out-separator--show { .account-links__navigation { .navigation__list { ${G.J$}:last-of-type { padding-top: 0; .navigation__link { border-top: 1px solid ${(0,i.HK)("colors.foundation.menu.dividers")}; padding-top: ${(0,i.Kq)(2)}; } } } } } .account-links__navigation { ${ie} } ${({hasBorderDropdown:e,theme:t})=>e&&`\n border: 1px solid ${(0,i.HK)(t,"colors.foundation.menu.dividers")};\n\n &::after {\n border-bottom: 11px solid ${(0,i.HK)(t,"colors.foundation.menu.dividers")};\n }\n `} `,re=o.AH` ${(0,c.or)()} ${(0,i.Gg)("typography.definitions.foundation.link-utility")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.utility-link.default","colors.foundation.collapsed-menu.utility-link.hover","navigation")}; display: flex; align-items: center; background-color: transparent; cursor: pointer; height: 100%; &::after { position: absolute; right: 0; bottom: -15px; width: 100px; height: 15px; content: ''; } @media (min-width: ${r.VS.md}px) { &:hover { + ${ae} { display: block; } .icon-chevron path { fill: ${(0,i.HK)("colors.foundation.collapsed-menu.utility-link.hover")}; } } } `,se=o.Ay.button.withConfig({displayName:"StandardNavigationAccountLabel"})` ${re} `,le=o.Ay.div.withConfig({displayName:"JourneyUnitDivider"})` margin-right: ${(0,i.Kq)(2)}; margin-left: ${(0,i.Kq)(2)}; border-left: 1px solid ${(0,i.HK)("colors.foundation.menu.dividers")}; width: 0; height: 32px; @media (min-width: ${a.LO.lg}) { margin-left: 0; } `,de=(0,o.Ay)(W.A).withConfig({displayName:"NavigationAccountIcon"})` && { margin-left: ${(0,i.Kq)(.2)}; width: ${(0,i.Kq)(2)}; height: ${(0,i.Kq)(2)}; ${j.BF} { vertical-align: unset; } } `,ce=o.Ay.div.withConfig({displayName:"NavigationAccountIconWrapper"})` && { transition: none; &::after { content: none; } } display: inherit; ${({isAuthenticated:e})=>e&&"border: 1px solid transparent;"} padding: ${(0,i.Kq)(1)}; width: max-content; ${de} + i { margin: 0 ${(0,i.Kq)(.5)}; } &:hover { display: inherit; ${({isAuthenticated:e})=>e&&"border: 1px solid;"} border-radius: 20px; ${({theme:e})=>"inverted"===e?`${(0,i._o)(e,"background","colors.interactive.base.dark")};`:`${(0,i._o)(e,"background","colors.interactive.base.highlight")};`} ${({theme:e,isAuthenticated:t})=>t&&`${(0,i._o)(e,"border-color","colors.interactive.base.light")};`} } /* In Mobile: hover states does not exist for a Signed out user */ @media (max-width: ${r.VS.md}px) { ${({isAuthenticated:e})=>!e&&"\n &:hover {\n border: none;\n background: none;\n }\n "} } // Overriding the dimensions of the chevron icon only when seen with avatar .icon-chevron { width: ${(0,i.Kq)(2)}; height: ${(0,i.Kq)(2)}; } `,me=o.Ay.div.withConfig({displayName:"NavigationAccountSignIn"})` display: none; @media (min-width: ${a.LO.md}) { display: block; ${(0,i.Gg)("typography.definitions.foundation.link-primary")}; ${(0,i._o)("color","colors.interactive.base.black")}; margin-top: ${(0,i.Kq)(.2)}; margin-left: ${(0,i.Kq)(1.36)}; } `,ue=(0,o.Ay)(P.A.Vertical).withConfig({displayName:"MoreDropdownNavigation"})` ${ie} `,pe=o.Ay.div.withConfig({displayName:"MoreDropdownWrapper"})` display: block; position: relative; height: 100%; @media (min-width: 0) and (max-width: ${a.LO.sm}) { display: none; } .icon-chevron path { fill: ${(0,i.HK)("colors.foundation.collapsed-menu.nav-link.default")}; } ${ae} { top: ${te}; margin-right: ${(0,i.Kq)(3)}; ${G.W9} { max-height: none; } ${G.M8},${G.SE} { ${(0,i.Gg)("typography.definitions.foundation.link-primary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default",null,"navigation")}; } } `,ge=o.Ay.button.withConfig({displayName:"MoreDropdownLabel"})` ${re} background-color: transparent; ${(0,i.Gg)("typography.definitions.foundation.link-primary")}; ${({theme:e})=>(0,i.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.collapsed-menu.nav-link.hover","navigation")}; &::after { position: absolute; right: 0; bottom: -40px; width: 80px; height: 70px; content: ''; } &:hover { .icon-chevron path { fill: ${(0,i.HK)("colors.foundation.collapsed-menu.nav-link.hover")}; } } `,he=(0,o.Ay)(K).withConfig({displayName:"StandardNavigationSeriesPagination"})` transform: translateY(-${te}); opacity: 1; ${({shouldDisplaySeriesPagination:e})=>!e&&"display: none;"} `,ye=(0,o.Ay)(V).withConfig({displayName:"AccountDropdownToggleIcon"})` display: flex; align-content: center; justify-content: center; margin-left: ${(0,i.Kq)(.5)}; width: ${(0,i.Kq)(2,"px")}; height: ${(0,i.Kq)(2)}; svg { align-self: center; path { transition: fill 0.2s ease-in-out; fill: ${(0,i.HK)("colors.foundation.collapsed-menu.utility-link.default")}; } } .icon-chevron { transform: rotate(90deg); } `,be=(0,o.Ay)(P.A.Horizontal).withConfig({displayName:"StandardNavigationNavPrimaryLinks"})` ${Q} `,fe=o.Ay.div.withConfig({displayName:"StandardNavigationSectionPrimaryLinks"})` ${oe} ${({isDynamic:e})=>e&&`\n display: none;\n\n @media (min-width: ${a.LO.sm}) {\n display: flex;\n margin-left: ${(0,i.Kq)(4)};\n\n ${be} {\n ${G.W9} {\n max-height: ${(0,i.Kq)(3)};\n overflow: hidden;\n }\n\n ${G.J$} {\n margin-right: ${(0,i.Kq)(2)};\n height: ${(0,i.Kq)(3)};\n }\n }\n }\n `} ${({isHidden:e})=>e&&"\n visibility: hidden;\n "} `,we=(0,o.Ay)(b).withConfig({displayName:"StandardNavigationPrimaryLinks"})` ${l._3} `,$e=(0,o.Ay)(b).withConfig({displayName:"StandardNavigationSecondaryLinks"})` ${l._3} `,ve=(0,o.Ay)(P.A.Horizontal).withConfig({displayName:"StandardNavigationNavSecondaryLinks"})` ${Q} `,Ce=o.Ay.div.withConfig({displayName:"StandardNavigationSectionSecondaryLinks"})` ${oe} `,ke=(0,o.Ay)(P.A.Horizontal).withConfig({displayName:"StandardNavigationNavUtilityLinks"})``,xe=(0,o.Ay)(f.A.Utility).withConfig({displayName:"StandardNavigationSearchButton"})` &&&& .icon-search { transform: scale(0.5); } ${(0,m.W)()}; ${({shouldEnableFullArticleInverted:e,theme:t})=>e&&`\nsvg path {\nfill: ${(0,i.HK)(t,"colors.consumption.lead.inverted.link")};\ntransition: fill ${ee} ease-in-out;\n}\n`} `,Ee=o.Ay.div.withConfig({displayName:"StandardNavigationSearchBarWrapper"})` grid-column-end: 5; grid-column-start: 1; align-items: start; @media (min-width: ${a.LO.md}) { width: 100%; } @media (min-width: ${a.LO.lg}) { grid-column-end: none; grid-column-start: none; grid-row-start: -1; padding-top: ${(0,i.Kq)(1)}; padding-bottom: ${(0,i.Kq)(1)}; width: auto; } `,Ae=(0,o.Ay)(f.A.Utility).withConfig({displayName:"StandardNavigationCartButton"})` /* stylelint-disable-next-line declaration-no-important */ display: flex; position: relative; margin: 0 ${(0,i.Kq)(2)} 0 auto; border: 0; background-color: transparent; width: ${(0,i.Kq)(4)}; height: 100%; .icon-shopping { width: initial; height: initial; } ${(0,i.H4)(a.LO.md)} { margin: 0 ${(0,i.Kq)(3)} 0 ${(0,i.Kq)(2)}; } &:hover, &:focus { border: 0; background-color: transparent; svg path { fill: ${(0,i.HK)("colors.foundation.icon.hover")}; } } svg path { fill: ${(0,i.HK)("colors.foundation.icon.default")}; } `,Se=o.Ay.span.withConfig({displayName:"StandardNavigationCartQuantity"})` position: absolute; top: 2rem; right: 1.25rem; align-items: center; z-index: 1; border-radius: 50%; background: ${(0,i.HK)("colors.background.black")}; width: 17.25px; height: 17.25px; text-align: center; text-transform: uppercase; line-height: 18px; color: ${(0,i.HK)("colors.background.white")}; font-size: 10px; &:hover, &:focus { border: 0; background-color: ${(0,i.HK)("colors.foundation.icon.hover")}; } `,Le=o.Ay.div.withConfig({displayName:"StandardNavigationCart"})` position: relative; &:hover, &:focus { border: 0; background-color: transparent; cursor: pointer; span { background-color: ${(0,i.HK)("colors.foundation.icon.hover")}; } svg path { fill: ${(0,i.HK)("colors.foundation.icon.hover")}; } } `,Te=o.Ay.div.withConfig({displayName:"StandardNavigationConsumerMarketingUnitWrapper"})``,Ne=o.AH` ${Te} { .nav-cta__component, .consumer-marketing-unit--nav-cta { &:hover, &:focus, &:focus-within { ~ .nav-rollover__component > div, ~ .consumer-marketing-unit--nav-rollover { ${X.Rw} } } } .nav-rollover__component > div, .consumer-marketing-unit--nav-rollover { &:hover, &:focus, &:focus-within { ${X.Rw} } } .consumer-marketing-unit--nav-cta { ~ ${G.M8}:hover, ~ ${G.SE}:hover { text-decoration: none; } &:hover, &:focus-within, &:focus { ~ ${G.M8}, ~ ${G.SE} { color: ${(0,i.HK)("colors.foundation.collapsed-menu.nav-link.hover")}; } } } .consumer-marketing-unit--nav-rollover, .nav-rollover__component > div { ${X.Er} display: none; top: ${te}; right: 0; align-items: center; justify-content: center; z-index: ${a.KV.navFixed}; @media (min-width: ${a.LO.md}) { display: flex; } } .consumer-marketing-unit--nav-dialog { position: absolute; top: ${te}; right: 0; transform: translateY(0); z-index: ${a.KV.navFixed}; } } nav { &.navigation--horizontal { .consumer-marketing-unit--nav-rollover, .nav-rollover__component > div { top: ${(0,i.Kq)(4)}; } } } `,He=o.Ay.div.withConfig({displayName:"StandardNavigationSectionUtilityLinks"})` ${Q} ${ne} position: relative; justify-content: flex-end; @media (min-width: ${a.LO.md}) { margin-left: auto; } ${G.J$} { display: none; position: relative; margin-right: ${(0,i.Kq)(2)}; @media (min-width: ${a.LO.md}) { display: inline-flex; align-items: center; } .consumer-marketing-unit--nav-cta { position: absolute; top: 0; left: 0; cursor: pointer; } } ${Ne} .standard-navigation__section--utility-links-login { margin: 0 ${(0,i.Kq)(4)} 0 0; &::after { display: none; content: ''; @media (min-width: ${a.LO.md}) { display: inline-block; position: absolute; top: ${(0,i.Kq)(2,"px")}; right: ${(0,i.Kq)(-2)}; margin: 0; background-color: ${(0,i.HK)("colors.foundation.menu.dividers")}; width: 2px; height: 20px; } } ${se} { ${({shouldEnableFullArticleInverted:e,theme:t})=>e&&`color: ${(0,i.HK)(t,"colors.consumption.lead.inverted.link")};`} } } .standard-navigation-account { display: none; position: relative; height: 100%; @media (min-width: ${a.LO.md}) { display: block; } } ${z.N} { padding: 0; @media (min-width: ${a.LO.md}) and (max-width: ${a.LO.lg}) { padding-right: ${(0,i.Kq)(2)}; } } `,Ie=(0,o.Ay)(f.A.Utility).withConfig({displayName:"StandardNavigationDrawerButtonToggle"})` ${({theme:e})=>(0,u.j)(e)} justify-content: center; transition: fill ${ee} ease-in-out; ${({shouldEnableFullArticleInverted:e,theme:t})=>e&&`\n svg path {\n fill: ${(0,i.HK)(t,"colors.consumption.lead.inverted.link")};\n transition: fill ${ee} ease-in-out;\n }\n `} .icon-close { padding: 8px; } .icon-menu { margin: 8px; width: initial; height: initial; } `,Be=(0,o.Ay)(v.A).withConfig({displayName:"StandardNavigationLogoImage"})` display: block; text-align: center; ${j.BF} { max-height: ${te}; object-fit: contain; } `,Oe=(0,o.Ay)(s.sH).withConfig({displayName:"StandardNavigationLogoLink"})` width: 100%; height: auto; `,_e=o.Ay.div.withConfig({displayName:"StandardNavigationSectionLogo"})` ${ne} justify-content: center; margin: auto; max-width: ${(0,i.Kq)(25)}; @media (min-width: ${a.LO.xl}) { min-width: ${(0,i.Kq)(15)}; } `,Ke=o.Ay.div.withConfig({displayName:"StandardNavigationDrawer"})` height: ${te}; @media (min-width: ${a.LO.sm}) { width: ${(0,i.Kq)(6)}; } @media (min-width: ${a.LO.md}) { width: ${(0,i.Kq)(7)}; } `,Pe=o.Ay.div.withConfig({displayName:"StandardNavigationHeadLineBlockHeadLine"})` ${(0,i.Gg)("typography.definitions.consumptionEditorial.subhed-aux-secondary")}; position: absolute; transform: translateY(25px); transition: opacity 200ms, transform 400ms, color 300ms; visibility: hidden; opacity: 0; margin-right: ${(0,i.Kq)(4)}; margin-left: ${(0,i.Kq)(4)}; width: 100%; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; @media (min-width: ${a.LO.md}) { visibility: visible; } @media only screen and (max-width: ${a.LO.md}) { display: none; } ${({headlineAlign:e})=>(e=>"left"===e?"text-align: left;":"center"===e?"text-align: center;":"")(e)} `,De=o.Ay.div.withConfig({displayName:"StandardNavigationHeadLineBlockChannelNavigation"})` position: static; transition: opacity 300ms 100ms, transform 400ms; opacity: 1; width: 100%; `,qe=o.Ay.div.withConfig({displayName:"StandardNavigationHeadLineBlock"})` ${Q} display: flex; align-items: center; height: 100%; ${({headLineVisible:e})=>e&&`\n ${Pe} {\n position: static;\n transform: initial;\n transition: opacity 300ms 100ms, transform 400ms;\n opacity: 1;\n }\n\n ${De} {\n position: absolute;\n transform: translateY(-25px);\n opacity: 0;\n }\n `} `,Me=(e,t,n,o)=>"center"===e?`\n @media (min-width: ${a.LO.md}) {\n grid-template-columns: auto 1fr 2fr 1fr auto;\n }\n padding: 0 ${(0,i.Kq)(2)};\n\n @media (min-width: ${a.LO.md}) {\n ${(0,d.aU)("padding")};\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n ${_e} {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n height: ${te};\n }\n\n ${xe} {\n margin: 0 ${(0,i.Kq)(3)} 0 ${(0,i.Kq)(2)};\n }\n }\n\n ${Ce} {\n @media (min-width: ${a.LO.md}) {\n display: flex;\n margin-left: ${(0,i.Kq)(2)};\n\n ${G.J$} {\n margin-right: 0;\n }\n }\n }\n `:"left"===e?`\n && {\n grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;\n }\n ${fe} + ${xe} {\n @media (min-width: ${a.LO.md}) {\n margin-left: auto;\n }\n }\n\n ${_e} {\n @media (min-width: ${a.LO.md}) {\n margin-left: 0;\n }\n\n ${Oe} ${Be} {\n text-align: left;\n\n @media (min-width: ${a.LO.md}) {\n text-align: center;\n }\n }\n }\n\n ${"center"===t&&((e,t)=>`\n && {\n grid-template-columns: repeat(3, 1fr);\n }\n @media (min-width: ${a.LO.md}) {\n && {\n grid-template-columns: auto auto minmax(0, 1fr) auto auto;\n }\n }\n\n ${qe} {\n display: none;\n\n @media (min-width: ${a.LO.md}) {\n display: flex;\n }\n }\n\n ${Oe} ${Be} {\n text-align: center;\n }\n\n ${e&&`\n grid-template-columns: repeat(3, 1fr);\n\n @media (min-width: ${a.LO.md}) {\n grid-template-columns: auto auto minmax(0, 1fr) auto auto;\n }\n `};\n\n ${t&&`\n @media (min-width: 0) and (max-width: ${a.LO.md}) {\n border-bottom: none;\n }\n `};\n`)(n,o)};\n `:"",Re=o.Ay.header.withConfig({displayName:"StandardNavigationWrapper"})` display: grid; position: relative; grid-template-columns: repeat(3, 1fr); justify-content: space-between; transform: translateY(0); transition: background-color ${ee} ease-in-out; z-index: 2; background-color: ${(0,i.HK)("colors.foundation.menu-bg.collapsed")}; width: 100%; @media (min-width: ${a.LO.md}) { grid-template-columns: auto 2fr auto auto; } ${({shouldEnableFullArticleInverted:e,theme:t})=>e&&`\n transition: background-color ${ee} ease-in-out;\n background-color: ${(0,i.HK)(t,"colors.consumption.lead.inverted.background")};`} ${({shouldDisplaySeriesPagination:e})=>e&&`\n transform: translateY(-${te});\n transition: transform 300ms ease-in-out;\n `} ${({seriesData:e,shouldDisplaySeriesPagination:t,palette:n})=>e&&`\n transition: transform ${ee} ease-in-out;\n\n ${"inverted"===n&&`\n transition: transform ${ee} ease-in-out,\n background-color 0ms ease-in-out 0ms;\n\n ${fe},\n ${He} {\n ${G.M8},\n ${G.SE},\n ${se} {\n transition: none;\n }\n }\n `};\n\n ${t&&`\n transition: transform ${ee} ease-in-out,\n background-color 0ms ease-in-out ${ee};\n `};\n\n ~ ${he} {\n transition: opacity 100ms ease-in-out;\n }\n `} ${({palette:e,theme:t})=>"inverted"===e&&`\n transition: background-color ${ee} ease-in-out,\n transform ${ee} ease-in-out;\n background-color: ${(0,i.HK)(t,"colors.consumption.lead.inverted.background")};\n\n ${ae} {\n transition: background-color ${ee} ease-in-out,\n transform ${ee} ease-in-out;\n background-color: ${(0,i.HK)(t,"colors.consumption.lead.inverted.background")};\n }\n\n ${fe},\n ${He} {\n ${G.M8},${G.SE},\n ${se} {\n ${(0,i.pe)(t,"colors.consumption.lead.inverted.link","colors.consumption.lead.inverted.link","navigation")};\n transition: color ${ee} ease-in-out;\n }\n }\n\n ${pe} {\n ${ge} {\n ${(0,i.pe)(t,"colors.consumption.lead.inverted.link",null,"navigation")};\n\n &:hover {\n .icon-chevron path {\n fill: ${(0,i.HK)(t,"colors.foundation.collapsed-menu.nav-link.hover")};\n }\n }\n }\n\n .icon-chevron path {\n fill: ${(0,i.HK)(t,"colors.consumption.lead.inverted.link")};\n }\n\n ${ae} {\n ${G.M8},${G.SE} {\n ${(0,i.pe)(t,"colors.consumption.lead.inverted.link",null,"navigation")};\n transition: none;\n }\n }\n }\n\n ${ae} .account-links__navigation {\n ${G.J$} {\n &:hover {\n background-color: ${(0,i.HK)(t,"colors.interactive.base.dark")};\n }\n\n ${G.M8},${G.SE} {\n ${(0,i.pe)(t,"colors.consumption.lead.inverted.link","colors.consumption.lead.inverted.link","navigation")};\n\n &:hover {\n text-decoration: none;\n }\n }\n }\n\n ${G.M8},${G.SE} {\n &:hover {\n text-decoration: none;\n }\n }\n }\n\n ${ae} {\n border: 1px solid ${(0,i.HK)(t,"colors.consumption.lead.inverted.divider")};\n\n &::before {\n border-bottom-color: ${(0,i.HK)(t,"colors.consumption.lead.inverted.background")};\n }\n\n &::after {\n border-bottom-color: ${(0,i.HK)(t,"colors.consumption.lead.inverted.divider")};\n }\n }\n\n ${ye} path {\n fill: ${(0,i.HK)(t,"colors.consumption.lead.inverted.link")};\n }\n\n ${ae} ${ue} {\n ${G.J$}:hover {\n background: ${(0,i.HK)(t,"colors.consumption.lead.inverted.link")};\n\n ${G.M8},${G.SE} {\n transition: color ${ee} ease-in-out;\n color: ${(0,i.HK)(t,"colors.consumption.lead.inverted.link-hover")};\n }\n }\n }\n\n ${xe} {\n &,\n &:hover,\n &:focus {\n svg path {\n fill: ${(0,i.HK)(t,"colors.consumption.lead.inverted.link")};\n transition: fill ${ee} ease-in-out;\n }\n }\n }\n\n ${Ie} {\n &,\n &:hover,\n &:focus {\n svg path {\n fill: ${(0,i.HK)(t,"colors.consumption.lead.inverted.link")};\n transition: fill ${ee} ease-in-out;\n }\n }\n }\n `} ${({isLogoWide:e})=>e&&`\n ${Ke} {\n width: unset;\n }\n\n ${He} {\n margin: 0;\n }\n\n ${_e} {\n min-width: ${(0,i.Kq)(34)};\n }\n `} ${({decorationStyle:e,decorationTheme:t,theme:n})=>((e,t,n)=>"border-thin"===e&&"standard"===t?`border-bottom: 1px solid ${(0,i.HK)(n,"colors.foundation.menu.dividers")};`:"border-thin"===e&&"inverted"===t?`border-bottom: 1px solid ${(0,i.HK)(n,"colors.consumption.lead.inverted.divider")};`:"light-shadow"===e&&"inverted"===t?"box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);":"")(e,t,n)} ${({logoAlign:e,mobileLogoAlign:t,isDrawerOpen:n})=>Me(e,t,n)} ${({mobileOption:e})=>(e=>"search"===e?`\n ${ke} {\n display: none;\n\n @media (min-width: ${a.LO.md}) {\n display: block;\n }\n\n &.consumer-marketing-unit--no-failsafe {\n display: none;\n }\n }\n\n ${He} {\n display: none;\n\n @media (min-width: ${a.LO.md}) {\n display: flex;\n }\n }\n `:"cm"===e?`\n ${ke} {\n ${G.J$} {\n\n display: flex;\n margin-right: ${(0,i.Kq)(2)};\n\n &:not(:first-child) {\n display: none;\n }\n\n @media (min-width: ${a.LO.md}) {\n display: inline-flex;\n align-items: center;\n\n &:not(:first-child) {\n display: inline-flex;\n }\n }\n }\n }\n }\n\n ${He} {\n margin: 0 1rem;\n\n @media (min-width: ${a.LO.md}) {\n margin: 0 0 0 auto;\n }\n }\n\n ${xe} {\n display: none;\n\n @media (min-width: ${a.LO.md}) {\n display: flex;\n }\n }\n `:"")(e)} ${({isDrawerOpen:e})=>e&&`\n ${He},\n ${be},\n ${ve},\n ${qe} {\n opacity: 0;\n }\n `} ${({isHeadlineColorInverted:e})=>e&&`\n transition: color ${ee} ease-in-out;\n color: ${(0,i.HK)("colors.discovery.lead.secondary.hed")};\n `} `,Fe=(o.Ay.div.withConfig({displayName:"StandardNavigationIconWrapper"})` display: flex; ${Y.$K} { border: none; } `,(0,o.Ay)(Z.A).withConfig({displayName:"StandardNavigationSuccessLoginAlert"})` top: ${(0,i.Kq)(7)}; right: -${(0,i.Kq)(1)}; left: unset; z-index: ${a.KV.tooltip+1}; margin-left: ${(0,i.Kq)(1)}; border: 1px solid; border-radius: 2px; ${(0,i.H4)(a.LO.md)} { top: ${(0,i.Kq)(5.9)}; left: -${(0,i.Kq)(27)}; margin-left: -${(0,i.Kq)(2)}; width: ${(0,i.Kq)(46)}; } ${({theme:e})=>(0,i._o)(e,"border-color","colors.discovery.body.white.border")}; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35); width: ${(0,i.Kq)(45)}; height: ${(0,i.Kq)(10)}; ${({theme:e})=>(0,i._o)(e,"background-color","colors.interactive.base.white")}; .close-alert-button { svg { ${({theme:e})=>(0,i._o)(e,"fill","colors.interactive.social.primary")}; transform: rotate(45); } } .alert-message { padding: ${(0,i.Kq)(3)} ${(0,i.Kq)(2)}; max-width: fit-content; ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.utility.label")}; ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.body.special.body")}; } .alert-arrow { border-color: transparent; ::before { position: absolute; bottom: -8px; left: -8px; border-width: 0 8px 11px 8px; border-style: solid; border-color: transparent transparent ${(0,i.HK)("colors.discovery.body.white.border")} transparent; content: ''; } ::after { position: absolute; bottom: -9px; left: -7px; border-width: 0 7px 9px 7px; border-style: solid; border-color: transparent transparent ${(0,i.HK)("colors.interactive.base.white")} transparent; content: ''; } } `),Ue=o.Ay.div.withConfig({displayName:"StandardNavigationDrawerSearchBarWrapper"})` margin: auto; margin-top: ${(0,i.Kq)()}; background-color: ${(0,i.HK)("colors.background.white")}; padding: ${(0,i.Kq)(2)} 0; width: 35%; input { &[type='search'] { appearance: none; border-radius: 0; border-color: ${(0,i.HK)("colors.interactive.base.dark")}; } } ${(0,i.L7)(a.LO.md)} { margin-top: ${(0,i.Kq)(3)}; padding: 0; width: 95%; } ${J.Fw} { background: none; } `},71886:(e,t,n)=>{n.d(t,{A:()=>$});var o=n(5556),i=n.n(o),a=n(96540),r=n(6442),s=n(53499),l=n(64663),d=n(70920),c=n(37210),m=n(38267),u=n(26865);const p=m.Ay.iframe.withConfig({displayName:"RedditEmbedIframe"})` display: block; border: 0; border-radius: 8px; width: 600px; max-width: 100%; overflow: hidden; `,g=m.Ay.div.withConfig({displayName:"RedditEmbedContainer"})` margin: ${(0,u.Kq)(5)} auto; .reddit-embed { margin-right: auto; margin-left: auto; } `;var h=n(76573);const y=(0,n(72267).defineMessages)({redditEmbedAriaLabelText:{id:"RedditEmbed.AriaLabelText",defaultMessage:"social media post",description:"ARIA label for the reddit embed container on Reddit Embed"},consentBannerHeader:{id:"RedditEmbed.ConsentBannerHeader",defaultMessage:"Reddit content",description:"Header for message banner"}}),{useContext:b,useMemo:f}=a,w=({attributes:e,className:t,height:n,hidePostContent:o,hidePostContentIfEditedAfter:i,hideUsername:m,showParentComment:u,showPostTitle:w,url:$})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"RedditEmbed"})},[]);const v=b(l.c$),[C,k]=(0,d.A)(),x=(0,h.h2)(),{formatMessage:E}=(0,r.A)(),A=v.targeting&&k,S=f(()=>{const e=new URL($);return e.hostname="embed.reddit.com",e.searchParams.set("embed","true"),e.searchParams.set("ref_source","embed"),e.searchParams.set("ref","share"),e.searchParams.set("utm_medium","widgets"),e.searchParams.set("utm_source","embedv2"),e.searchParams.set("utm_term",23),e.pathname.match("/comment/")?e.searchParams.set("utm_name","comment_embed"):e.searchParams.set("utm_name","post_embed"),e.searchParams.set("embed_host_url",window.location.toString()),m&&e.searchParams.set("showusername","false"),i&&(e.searchParams.set("showedits","false"),e.searchParams.set("created",i)),o&&e.searchParams.set("showmedia","false"),u&&(e.searchParams.set("context","1"),e.searchParams.set("depth","2")),w&&e.searchParams.set("showtitle","true"),e.searchParams.set("locale",x),e.toString()},[o,i,m,x,u,w,$]);return a.createElement(g,{"aria-label":E(y.redditEmbedAriaLabelText),className:t,ref:C},A?a.createElement(p,{className:"reddit-embed",src:S,style:{height:`${n}px`},...e}):a.createElement(c.A,{hasConsent:v.targeting,url:$,consentBannerHeader:y.consentBannerHeader}))};w.propTypes={attributes:i().object,className:i().string,height:i().string.isRequired,hidePostContent:i().bool,hidePostContentIfEditedAfter:i().string,hideUsername:i().bool,showParentComment:i().bool,showPostTitle:i().bool,url:i().string.isRequired},w.displayName="RedditEmbed";const $=w},72147:(e,t,n)=>{n.d(t,{A:()=>R});var o=n(47655),i=n(96540),a=n(32485),r=n.n(a),s=n(5556),l=n.n(s),d=n(52663),c=n(35864),m=n(38080),u=n(90090),p=n(1184),g=n(13465),h=n(53499),y=n(89957),b=n(14307),f=n(38267),w=n(19607),$=n(74423),v=n(33500),C=n(68116),k=n(40653),x=n(86659),E=n(99906),A=n(75989),S=n(11586),L=n(26865),T=n(1123),N=n(96472);const H=f.Ay.div.withConfig({displayName:"SummaryCollectionRowWrapper"})` background-color: ${({hasBackgroundColor:e,isInvertedTheme:t})=>e?(0,L.HK)(!t&&e?"colors.discovery.body.light.background":"colors.interactive.base.black"):"transparent"}; ${(0,L.H4)(N.LO.lg)} { ${({shouldHaveIncreasedHorizontalPadding:e})=>e?`padding: 0 ${(0,L.Kq)(8)}`:""}; } ${C.Rp} { ${S.fI} { position: absolute; right: ${(0,L.Kq)(.5)}; bottom: ${(0,L.Kq)(.5)}; background: transparent; height: ${(0,L.Kq)(3)}; ${S.eC} { border: none; background: none; text-decoration: none; } ${({theme:e})=>`\n ${(0,L._o)(e,"border-color","colors.discovery.body.black.border")};\n \n svg {\n path {\n ${(0,L._o)(e,"fill","colors.discovery.body.white.accent")};\n }\n }\n \n `} } } `,I=f.Ay.div.withConfig({displayName:"SummaryCollectionRowSectionTitleWrapper"})` ${(0,T.VO)()} margin: 0 auto; ${(0,T.aU)("padding")} max-width: ${N.LO.xxl}; `,B=f.Ay.div.withConfig({displayName:"SummaryCollectionRowSectionTitle"})` ${v.bU} { ${(0,L.Gg)("typography.definitions.discovery.subhed-section-collection")}; } `,O=`\n &:last-child {\n padding-bottom: 0;\n \n ${(0,L.H4)(N.LO.md)}{\n padding-bottom: ${(0,L.Kq)(2)};\n }\n }\n`,_=(0,f.Ay)(({columnAmount:e,variation:t,shouldHideDangerousDek:n,shouldHideDangerousHed:o,hasExtraRubricSpace:a,hasLessBottomSpace:r,hasTighterBylineSpacing:s,...l})=>{const c=d.A[t];return i.createElement(c,{...l})}).withConfig({displayName:"SummaryCollectionRowItem"})` ${H} & { align-items: start; padding-bottom: ${(0,L.Kq)(2)}; ${(0,L.H4)(N.LO.md)} { border-bottom: 0; } .summary-item__rubric { ${({isInvertedTheme:e})=>(0,L.Gg)(e?"typography.definitions.discovery.subhed-section-tertiary":"typography.definitions.globalEditorial.context-primary")}; display: block; color: ${(0,L.HK)("colors.discovery.body.light.context-signature")}; ${(0,L.H4)(N.LO.md)} { margin-bottom: ${({hasExtraRubricSpace:e})=>e?(0,L.Kq)(1):(0,L.Kq)(.5)}; } > * { ${({isInvertedTheme:e,theme:t})=>e&&`color:${(0,L.HK)(t,"colors.discovery.body.white.background")}`}; } } .summary-item__hed-link { display: ${({shouldHideDangerousHed:e})=>e?"none":"block"}; &::after { display: none; } color: ${({isInvertedTheme:e})=>`${(0,L.HK)(e?"colors.discovery.body.white.description":"colors.discovery.body.light.heading")}`}; } .summary-item__hed { ${({isInvertedTheme:e})=>(0,L.Gg)(e?"typography.definitions.globalEditorial.context-tertiary":"typography.definitions.discovery.hed-bulletin-primary")}; margin-bottom: 0; } .summary-item__hed:hover { ${({isInvertedTheme:e,theme:t})=>e&&`color: ${(0,L.HK)(t,"colors.consumption.lead.inverted.link-hover")}`}; } .summary-item__dek { ${(0,L.Gg)("typography.definitions.discovery.description-page")} display: ${({shouldHideDangerousDek:e})=>e?"none":"block"}; margin: ${(0,L.Kq)(2)} 0 ${(0,L.Kq)(1)}; color: ${(0,L.HK)("colors.discovery.body.white.description")}; } .summary-item__content { ${({hasLessBottomSpace:e})=>e?`padding-bottom: ${(0,L.Kq)(0)}`:""} ${({isInvertedTheme:e})=>e?`padding-bottom: ${(0,L.Kq)(2)};\n padding-top: ${(0,L.Kq)(3)}`:""}; } .summary-item__byline { margin-top: ${({hasTighterBylineSpacing:e})=>e?(0,L.Kq)(1):(0,L.Kq)(2)}; ${$.f9}, ${$.CR}, ${$.H1}, ${$.QW} { ${(0,L.Gg)("typography.definitions.globalEditorial.accreditation-core")}; color: ${(0,L.HK)("colors.discovery.body.light.accreditation")}; } ${$.QW}:link { color: ${(0,L.HK)("colors.discovery.body.light.accreditation")}; } } .summary-item__metadata-secondary { margin: ${(0,L.Kq)(2)} 0 0 0; } ${(0,L.R9)("hasBorder",!1,O)}; } `,K=(0,f.Ay)(A.A).withConfig({displayName:"SummaryCollectionRowSmartItem"})` align-items: start; padding-bottom: ${(0,L.Kq)(2)}; ${(0,L.H4)(N.LO.md)} { display: grid; border-bottom: 0; } .smart-item__rubric { ${({isInvertedTheme:e})=>(0,L.Gg)(e?"typography.definitions.discovery.subhed-section-tertiary":"typography.definitions.globalEditorial.context-primary")}; display: block; color: ${(0,L.HK)("colors.discovery.body.light.context-signature")}; ${(0,L.H4)(N.LO.md)} { margin-bottom: ${({hasExtraRubricSpace:e})=>e?(0,L.Kq)(1):(0,L.Kq)(.5)}; } > * { ${({isInvertedTheme:e,theme:t})=>e&&`color:${(0,L.HK)(t,"colors.discovery.body.white.background")}`}; } } .smart-item__hed-link { display: ${({shouldHideDangerousHed:e})=>e?"none":"block"}; &::after { display: none; } color: ${({isInvertedTheme:e})=>`${(0,L.HK)(e?"colors.discovery.body.white.description":"colors.discovery.body.light.heading")}`}; } .smart-item__hed { ${({isInvertedTheme:e})=>(0,L.Gg)(e?"typography.definitions.globalEditorial.context-tertiary":"typography.definitions.discovery.hed-bulletin-primary")}; margin-bottom: 0; } .smart-item__hed:hover { ${({isInvertedTheme:e,theme:t})=>e&&`color: ${(0,L.HK)(t,"colors.consumption.lead.inverted.link-hover")}`}; } .smart-item__dek { ${(0,L.Gg)("typography.definitions.discovery.description-page")} display: ${({shouldHideDangerousDek:e})=>e?"none":"block"}; margin: ${(0,L.Kq)(2)} 0 ${(0,L.Kq)(1)}; color: ${(0,L.HK)("colors.discovery.body.white.description")}; } .smart-item__content { ${({hasLessBottomSpace:e})=>e?`padding-bottom: ${(0,L.Kq)(0)}`:""} ${({isInvertedTheme:e})=>e?`padding-bottom: ${(0,L.Kq)(2)};\n padding-top: ${(0,L.Kq)(3)}`:""}; } .smart-item__byline { margin-top: ${({hasTighterBylineSpacing:e})=>e?(0,L.Kq)(1):(0,L.Kq)(2)}; ${$.f9}, ${$.CR}, ${$.H1}, ${$.QW} { ${(0,L.Gg)("typography.definitions.globalEditorial.accreditation-core")}; color: ${(0,L.HK)("colors.discovery.body.light.accreditation")}; } ${$.QW}:link { color: ${(0,L.HK)("colors.discovery.body.light.accreditation")}; } } .smart-item__metadata-secondary { margin: ${(0,L.Kq)(2)} 0 0 0; } ${(0,L.L7)(N.LO.md)} { border-bottom: 1px solid ${(0,L.HK)("colors.discovery.body.white.border")}; padding: ${(0,L.Kq)(2)} 0; } `,P=(0,f.Ay)(w.A).withConfig({displayName:"SummaryCollectionRowAd"})` padding-bottom: ${(0,L.Kq)(2)}; ${(0,L.H4)(N.LO.md)} { border-bottom: 0; } ${(0,L.R9)("isBorderSpaceDisabled",!0,O)}; `,D=(0,f.Ay)(x.A.ThreeUp).withConfig({displayName:"SummaryCollectionRowItems"})` .ad--trending { display: ${({showTrendingAd:e})=>e?"block":"none"}; } ${(0,L.R9)("showTrendingAd",!0,f.AH` ${k.E}:last-of-type ${_} { display: none; } `)} padding-top: ${(0,L.Kq)(2)}; padding-bottom: ${(0,L.Kq)(5)}; ${(0,L.L7)(`${E.VS.md}px`)} { ${({hasNoBottomSpacingInMobile:e})=>e&&"padding-bottom: 0;"}; } ${k.E} { grid-column: 1 / -1; /* crosshairs x axis */ :nth-child(n) { @media (min-width: ${N.LO.md}) and (max-width: ${E.VS.lg}px) { position: relative; &::before { position: absolute; bottom: 0; background: ${({theme:e})=>(0,L.HK)(e,"colors.discovery.body.white.border")}; width: 100%; height: 1px; content: ''; } } } ${({shouldRemoveLastItemBorder:e})=>e&&f.AH` &:last-child ${C.Rp} { ${(0,L.L7)(`${E.VS.md}px`)} { border-bottom: none; padding-bottom: 0; } } `}; } @media only screen and (min-width: ${E.VS.md}px) and (max-width: ${E.VS.lg}px) { padding-bottom: 0; ${k.E} { ${({columnAmount:e,hasFullWidth:t})=>1===e||t?"grid-column: 1 / -1":"grid-column: "+(4===e?"span 6":"span 4")} } } ${(0,L.H4)(N.LO.lg)} { padding-bottom: 0; ${k.E} { ${({columnAmount:e,hasFullWidth:t})=>1===e||t?"grid-column: 1 / -1":"grid-column: "+(4===e?"span 3":"span 4")} } } `,q=({actionBarConfig:e,className:t,dangerousHed:n,dangerousSubHed:o,hasBackgroundColor:a=!0,hasNoBottomSpacingInMobile:s=!1,hasBorderItem:l=!0,hasExtraRubricSpace:d=!1,hasLessBottomSpace:g=!1,hasNoDividerWidth:f=!1,hasSummaryItemAssetSpacing:w=!1,hasTighterBylineSpacing:$=!1,hideRubricItemSummary:v,imageAlignment:C="default",shouldTrackSnowplowRecircEvent:k,itemHedTag:x,items:E,isInvertedTheme:A=!1,nativeTrendingPosition:S=3,sectionTitleVariation:L="LineAboveLineBelowTextCenter",shouldShowSectionTitle:T=!0,shouldHideDangerousDek:N=!0,shouldHideDangerousHed:O=!1,shouldHideSponsoredContent:q=!1,shouldEnableBundleComponentAnalytics:M,shouldHaveIncreasedHorizontalPadding:R,shouldRemoveLastItemBorder:F=!1,shouldShowAllContentWhenDense:U=!1,shouldTriggerDynamicUKExperienceTracking:V=!1,summaryItemRubricVariation:G,summaryItemVariation:W="SideBySideThirds",shouldUseSmartItem:j=!1,titleHedTag:z="h2",trackingNamespace:Y,template:X,variations:{columnAmount:Z,hasFullWidth:J}={},variationName:Q})=>{(0,i.useEffect)(()=>{window.Kendra.TRACK_COMPONENT.broadcast(h.G.RENDER,{name:"SummaryCollectionRow",variation:Q})},[Q]);const ee=x||(n?"h3":"h2"),[te,,ne]=(0,p.qe)("trending-ad"),oe=E.map(e=>e.dangerousHed).join("|"),ie=e=>e.replace(/<\/?[^>]+(>|$)/g,""),ae=(e,t,o,i,a,r)=>{let s={type:e,label:ie(o),subject:"recirc_unit",items:[{content_title:ie(o),content_id:i,content_type:a,content_url:r}],strategy:(0,b.Cu)(r),placement:"verso-hp-trending",index:t,total_index:E.length};if(V){const{strategy:e,placement:t,...o}=s;s=Object.assign(o,{label:n,subject:"summary_collection",subject_version:"version_uk"})}(0,b.kg)(s)};(0,y.ol)(".summary-collection-row",void 0,e=>{e&&(0,u.zJ)("summary-collection-row-impressions",{"summary-collection-row-titles":oe,"summary-collection-row-template":X})});const re=(e,t,n,o,i)=>{(0,u.W8)("summary-collection-row-clicks",{"summary-collection-row-click-position":e,"summary-collection-row-click-title":t,"summary-collection-row-template":X}),k&&ae("click",e-1,t,n,o,i)};return i.createElement(H,{className:r()(t,{"summary-collection-row--four-columns":4===Z}),"data-testid":"SummaryCollectionRowWrapper",isInvertedTheme:A,hasBackgroundColor:a,shouldHaveIncreasedHorizontalPadding:R},n&&T&&i.createElement(I,null,i.createElement(B,{as:c.default[L],dangerousHed:n,dangerousSubHed:o,"data-testid":"SummaryCollectionRowSectionTitle",hedTag:z,hasNoDividerWidth:f})),i.createElement(D,{dataTestId:"SummaryCollectionRowItems",showTrendingAd:!q&&te,columnAmount:Z,hasFullWidth:J,hasNoBottomSpacingInMobile:s,shouldRemoveLastItemBorder:F},E.map((t,o)=>{const a=!q&&o===S-1,r=(0,u.NY)(M,Y?.item,o);return i.createElement(i.Fragment,{key:o},a&&i.createElement(m.Z,{group:"ads"},i.createElement(P,{"data-testid":"SummaryCollectionRowAd",position:"trending",isBorderSpaceDisabled:!l,onFilled:ne})),j?i.createElement(K,{className:`mobile_dense_smart_item-${o}`,key:o,contributors:t.contributors,"data-testid":"SummaryCollectionRowSmartItem",bylineVariation:"ItemWithoutPreamble",image:t.image,dangerousHed:t.dangerousHed,dangerousDek:t.dangerousDek,rubric:t.rubric,url:t.url,rubricVariation:G,contentType:t.contentType,shouldTrackSnowplowEvent:V,impressionHandler:()=>{return e=o+1,n=t.dangerousHed,i=t.copilotID,a=t.contentType,r=t.url,void(k&&ae("impression",e-1,n,i,a,r));var e,n,i,a,r},clickHandler:()=>re(o+1,t.dangerousHed,t.copilotID,t.contentType,t.url)}):i.createElement(_,{...t,analyticsDataAttribute:r,variation:W,hasBorder:l,recircPlacement:k&&"verso-hp-trending",hedTag:ee,isRecircListItem:k&&!V,key:o,recircId:o+1,rubricVariation:G,"data-testid":"SummaryCollectionRowItem",shouldHideDangerousDek:N,shouldHideDangerousHed:O,hasTighterBylineSpacing:$,hasLessBottomSpace:g,hasExtraRubricSpace:d,hasSummaryItemAssetSpacing:w,hideRubricItemSummary:v,parentDangerousHed:n,shouldTriggerDynamicUKExperienceTracking:V,shouldShowAllContentWhenDense:U,totalItems:E.length,imageAlignment:C,isInvertedTheme:A,sectionTemplate:X,clickHandlerHed:()=>re(o+1,t.dangerousHed,t.copilotID,t.contentType,t.url),actionBarConfig:e}))})))};q.propTypes={actionBarConfig:l().object,className:l().string,dangerousHed:l().string,dangerousSubHed:l().string,experience:l().string,hasBackgroundColor:l().bool,hasBorderItem:l().bool,hasExtraRubricSpace:l().bool,hasLessBottomSpace:l().bool,hasNoBottomSpacingInMobile:l().bool,hasNoDividerWidth:l().bool,hasSummaryItemAssetSpacing:l().bool,hasTighterBylineSpacing:l().bool,hideRubricItemSummary:l().bool,imageAlignment:l().oneOf(["top","default","bottom"]),isInvertedTheme:l().bool,itemHedTag:l().string,items:l().arrayOf(l().shape(d.A.propTypes)).isRequired,nativeTrendingPosition:l().number,sectionTitleVariation:l().string,shouldEnableBundleComponentAnalytics:l().bool,shouldHaveIncreasedHorizontalPadding:l().bool,shouldHideDangerousDek:l().bool,shouldHideDangerousHed:l().bool,shouldHideSponsoredContent:l().bool,shouldRemoveLastItemBorder:l().bool,shouldShowAllContentWhenDense:l().bool,shouldShowSectionTitle:l().bool,shouldTrackSnowplowRecircEvent:l().bool,shouldTriggerDynamicUKExperienceTracking:l().bool,shouldUseSmartItem:l().bool,summaryItemRubricVariation:l().string,summaryItemVariation:l().oneOf(["TextBelowLeft","TextBelowCenter","TextBelowLeftCard","TextBelowCenterCard","ImageRatio43","ImageRatio169","ImageRatio11","CircularImage","TextBelowDesktopOnly","TextBelowDesktopOnlyImageRight","TextBelowDesktopOnlyThirds","TextBelowDesktopOnlyThirdsImageRight","TextBelowDesktopOnlyThirdsImageRightThumbnail","SideBySide","SideBySideImageRight","SideBySideThirds","SideBySideThirdsImageRight","SideBySideDesktopOnly","SideBySideDesktopOnlyImageRight","SideBySideDesktopOnlyThirds","SideBySideDesktopOnlyThirdsImageRight","SideBySideCenterDesktopOnlyThirdsCircularImage","SideBySideDesktopOnlyThirdsCircularImage","NoAssetTextCenter"]),template:l().string,titleHedTag:l().string,trackingNamespace:l().object,variationName:l().string,variations:l().shape({columnAmount:l().number,hasFullWidth:l().bool})},q.displayName="SummaryCollectionRow";const M=(0,g.y)(q,"SummaryCollectionRow");M.FourColumnsTighterBylineSpaceWithDek=(0,o.y)(M,"FourColumnsTighterBylineSpaceWithDek",{columnAmount:4},{shouldHideDangerousDek:!1,hasTighterBylineSpacing:!0,hasLessBottomSpace:!0,hasExtraRubricSpace:!0}),M.OneColumnWithFullWidth=(0,o.y)(M,"OneColumnWithFullWidth",{columnAmount:1,hasFullWidth:!0},{shouldHideDangerousDek:!1,hasTighterBylineSpacing:!0,hasLessBottomSpace:!0,hasExtraRubricSpace:!0});const R=M},72542:(e,t,n)=>{n.d(t,{CM:()=>m,CW:()=>$,F3:()=>v,H$:()=>c,MS:()=>u,Rh:()=>E,TC:()=>b,cH:()=>p,ep:()=>h,h2:()=>k,n3:()=>C,ny:()=>f,uG:()=>y,y1:()=>x,yO:()=>w});var o=n(38267),i=n(40653),a=n(86659),r=n(96472),s=n(76955),l=n(7228),d=n(26865);const c=(0,o.Ay)(s.vm).withConfig({displayName:"VersoIssueFeatureDek"})` margin-top: 0; margin-bottom: ${(0,d.Kq)(6)}; ${(0,d.H4)(r.LO.md)} { order: 2; margin-top: ${(0,d.Kq)(2)}; margin-bottom: ${(0,d.Kq)(2)}; } a { color: ${(0,d.HK)("colors.discovery.lead.secondary.description")}; } ${({shouldUseDescriptionPrimary:e})=>!e&&(0,d.Gg)("typography.definitions.discovery.description-core")}; `;c.defaultProps={colorToken:"colors.discovery.lead.secondary.description",typeIdentity:"typography.definitions.discovery.description-feature"};const m=(0,o.Ay)(s.vm).withConfig({displayName:"VersoIssueFeatureHed"})` margin-top: ${(0,d.Kq)(6)}; ${(0,d.H4)(r.LO.md)} { margin-top: ${(0,d.Kq)(2)}; } `;m.defaultProps={colorToken:"colors.discovery.lead.primary.hed",typeIdentity:"typography.definitions.discovery.hed-core-primary"};const u=(0,o.Ay)(a.A.WithMargins).withConfig({displayName:"VersoIssueFeatureWrapper"})` > ${i.E} { grid-column: 1/-1; } .small { font-variant: small-caps; text-transform: lowercase; font-style: normal; } `,p=o.Ay.span.withConfig({displayName:"VersoIssueFeatureSectionTitle"})``,g=o.AH` background-color: ${(0,d.HK)("colors.discovery.body.dark.background")}; `,h=(0,o.Ay)(a.A.TwoUpFullBleedNoGap).withConfig({displayName:"VersoIssueFeatureMain"})` && { align-items: center; column-gap: ${(0,d.Kq)(4)}; } > ${i.E}:first-child { order: 2; } > ${i.E} + ${i.E} { order: 1; } ${(0,d.H4)(r.LO.md)} { > ${i.E}:first-child { order: ${({layoutPosition:e})=>"image-left"===e?2:1}; } > ${i.E} + ${i.E} { order: ${({layoutPosition:e})=>"image-left"===e?1:2}; } } ${({isDarkBackground:e})=>e&&g} `,y=o.Ay.div.withConfig({displayName:"VersoIssueFeatureDekContainer"})` text-align: center; ${(0,d.H4)(r.LO.md)} { ${({contentAlign:e})=>`text-align: ${e};`} } `,b=o.Ay.div.withConfig({displayName:"VersoIssueFeatureTocWrap"})` margin-bottom: ${(0,d.Kq)(6)}; text-align: center; ${(0,d.H4)(r.LO.md)} { margin-bottom: 0; ${({contentAlign:e})=>`text-align: ${e};`} } `,f=(0,o.Ay)(s.sH).withConfig({displayName:"VersoIssueFeatureToc"})``;f.defaultProps={as:"a",colorSecondaryLinkToken:"colors.interactive.base.dark",colorStaticLinkToken:"colors.interactive.base.brand-primary",colorToken:"colors.interactive.base.brand-primary",typeToken:"typography.definitions.foundation.link-primary"};const w=o.Ay.div.withConfig({displayName:"VersoIssueFeatureMagazineContainer"})` padding-top: ${(0,d.Kq)(4)}; text-align: center; ${(0,d.H4)(r.LO.md)} { padding-top: 0; } `,$=(0,o.Ay)(s.vm).withConfig({displayName:"VersoIssueFeatureMagazineIssueDate"})``;$.defaultProps={as:"div",bottomSpacing:.5,typeIdentity:"typography.definitions.globalEditorial.context-primary"};const v=(0,o.Ay)(s.vm).withConfig({displayName:"VersoIssueFeatureMagazineIssueName"})``;v.defaultProps={colorToken:"colors.discovery.body.white.context-signature",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const C=o.Ay.div.withConfig({displayName:"VersoIssueFeatureMagazineIssueImage"})` margin: auto; ${({isFullBleed:e})=>e?`\n ${l.BF} {\n width: 100%;\n }\n `:`\n max-width: 154px;\n ${(0,d.H4)(r.LO.md)} {\n max-width: 244px;\n }\n span {\n box-shadow: 0 0 24px 0 rgba(45, 45, 45, 0.16);\n }\n padding: ${(0,d.Kq)(2)} 0;\n `} `,k=(0,o.Ay)(s.sH).withConfig({displayName:"VersoIssueFeatureMagazineLink"})``,x=(0,o.Ay)(s.vm).withConfig({displayName:"VersoIssueFeatureMagazineIssueCaption"})``;x.defaultProps={bottomSpacing:2,colorToken:"colors.interactive.base.dark",typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const E=(0,o.Ay)(s.vm).withConfig({displayName:"VersoIssueFeatureDek"})` margin-top: 0; margin-bottom: ${(0,d.Kq)(6)}; ${(0,d.H4)(r.LO.md)} { margin-top: ${(0,d.Kq)(2)}; margin-bottom: ${(0,d.Kq)(2)}; } `;E.defaultProps={colorToken:"colors.consumption.body.standard.body",typeIdentity:"typography.definitions.discovery.hed-bulletin-primary"}},72631:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(96540),i=n(64663),a=n(56892),r=n(22445),s=n(56475);const l=()=>{const e=(0,o.useRef)(!1),t=(0,o.useContext)(i.c$),[n,l]=(0,o.useState)("");return(0,o.useEffect)(()=>{const e=(0,a.getCookie)("CN_xid");e&&l(e);const t=window.Kendra.XID.on(s.b.SET,l);return()=>t.off()},[]),(0,o.useEffect)(()=>{if(!e.current&&t.performance&&n){const t=encodeURIComponent(window?.document?.referrer),n=encodeURIComponent(window?.location?.href);(0,r.A)(`/user-context?referrer=${t}&verso=true&location=${n}`,document?.body,{async:!0}),e.current=!0,window.cnBus&&window.cnBus.emit("segments.updated")}},[t.performance,n,e]),null}},73036:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(13465),i=n(51298),a=n(7462),r=n(96540),s=n(11542);function l(e,t){for(const n in t)t[n]&&"object"==typeof t[n]&&!Array.isArray(t[n])?e[n]=l(e[n]&&"object"==typeof e[n]?e[n]:{},t[n]):e[n]=t[n];return e}const d=(0,o.y)((c=i.A,(0,s.M3)(e=>{const t=(0,r.useContext)(a.Gj),{growthbook:n}=t;let o={},i={};const s=n??window._growthbook;if(s){const e=Object.keys(s.getFeatures()),t=c.displayName||"";for(const n of e){const e=s.getFeatureValue(n,{targets:[]}),{targets:a}=e;Array.isArray(a)&&a.includes(t)&&e.props&&(i=l(i,e.props)),o={...o,[n]:e}}}const d=l({...e},i);return r.createElement(c,{...d,featureValue:o})},{keysToPluck:[]})),"BasePage");var c},73806:(e,t,n)=>{n.d(t,{I:()=>o});const o={RUNWAY:"Runway",STREET_STYLE:"StreetStyle",IMAGE_SEARCH:"ImageSearch"};Object.freeze(o)},74139:(e,t,n)=>{n.d(t,{$9:()=>d,D1:()=>a,NY:()=>m,No:()=>c,W$:()=>l,_J:()=>s});var o=n(51895),i=n(50643);const a={BOOKMARK_MOVE_FAILED:"bookmark could not be moved",COLLECTION_COUNT_UNAVAILABLE:"could not get collection count",COLLECTION_DATA_FETCHING_ISSUE:"could not fetch collection data",COLLECTION_NOT_MADE:"collection could not be made",DUPLICATE_NAME:"collection name exists",MISSING_ACCESS_TOKEN:"user not logged in",RECORD_ALREADY_EXISTS:"Record already exists"},r=({federatedGraphqlUrl:e,organizationId:t,query:n=i.bw,includeBookmarks:a=!1})=>(0,o.j)({federatedGraphqlUrl:e,query:n,variables:{organizationId:t,limit:200,offset:0,bookmarksLimit:200,sortOrder:"DESC",sortBy:"createdAt",bookmarksOffset:0,includeBookmarks:a},queryLabelForError:"allCollections"}),s=async({copilotIds:e,federatedGraphqlUrl:t,organizationId:n,updateCollectionId:a})=>{const r=e.map(e=>({copilotId:e})),s=await(async({addBookmarkIds:e,addCopilotDetails:t,collectionName:n,federatedGraphqlUrl:a,meta:r,organizationId:s,removeBookmarkIds:l,removeCopilotIds:d,updateCollectionId:c})=>{const m={addBookmarkIds:e,addCopilotDetails:t,collectionName:n,meta:r,organizationId:s,removeBookmarkIds:l,removeCopilotIds:d,updateCollectionId:c};try{return await(0,o.j)({federatedGraphqlUrl:a,query:i.Jx,variables:m,queryLabelForError:"updateCollection"})}catch(e){}return null})({addCopilotDetails:r,updateCollectionId:a,federatedGraphqlUrl:t,organizationId:n});return null===s?{success:!1,error:"Failed to add bookmark to collection"}:{success:!0,data:s}},l=async({federatedGraphqlUrl:e,organizationId:t})=>{try{const{data:{allCollections:{allCollectionCount:n}}}=await r({query:i.d2,federatedGraphqlUrl:e,organizationId:t});return n}catch(e){if(e.message.includes(a.MISSING_ACCESS_TOKEN))return 0}return 0},d=async({federatedGraphqlUrl:e,organizationId:t})=>{const{data:{allCollections:{collections:n}}}=await r({query:i.bw,federatedGraphqlUrl:e,organizationId:t});return n},c=async({copilotIds:e=[],collectionName:t,federatedGraphqlUrl:n,organizationId:r})=>{const s={copilotDetails:e.map(e=>({copilotId:e})),collectionName:t,organizationId:r};try{const{data:{createCollection:e}}=await(({federatedGraphqlUrl:e,createCollectionVariables:t})=>(0,o.j)({federatedGraphqlUrl:e,query:i.oU,variables:t,queryLabelForError:"createCollection"}))({createCollectionVariables:s,federatedGraphqlUrl:n});return e}catch(e){return e.message.includes(a.RECORD_ALREADY_EXISTS)?{errorType:a.DUPLICATE_NAME}:{errorType:a.COLLECTION_NOT_MADE}}},m=async({fromCollectionId:e,toCollectionId:t,federatedGraphqlUrl:n,copilotId:r})=>{try{const a=await(async({fromCollectionId:e,toCollectionId:t,copilotIds:n,bookmarkIds:a,moveAll:r,federatedGraphqlUrl:s})=>{const l={fromCollectionId:e,toCollectionId:t,copilotIds:n,bookmarkIds:a,moveAll:r};return await(0,o.j)({federatedGraphqlUrl:s,query:i.IY,variables:l,queryLabelForError:"moveBookmarks"})})({fromCollectionId:e,toCollectionId:t,federatedGraphqlUrl:n,copilotIds:[r]});return{success:!0,data:a}}catch(e){return e.message.includes(a.MISSING_ACCESS_TOKEN)?{success:!1,error:"Authentication required to move bookmark"}:{success:!1,error:e.message||a.BOOKMARK_MOVE_FAILED}}}},74148:(e,t,n)=>{n.d(t,{C1:()=>s,J9:()=>h,MJ:()=>l,MO:()=>b,T3:()=>m,Uc:()=>g,Vi:()=>w,X0:()=>u,aH:()=>p,aU:()=>d,eH:()=>y,ps:()=>r,qp:()=>f,uA:()=>a,x4:()=>v,xZ:()=>c});var o=n(96540),i=n(65947);const a=(e,t)=>{if(e&&t){const n=(0,i.h)(e),o=(0,i.h)(t);if(null!==n&&null!==o&&n>0){const e=(n-o)/n*100,t=Math.round(e);return t>=100?null:t}}return null},r=e=>!e,s=(e,t)=>e&&!t,l=(e,t)=>e&&t,d=(e,t)=>null!==t&&(!!e&&""!==e.trim()),c=e=>e,m=e=>!!e,u=(e,t,n,o,i)=>{const{price:r,reducedPrice:s,showDiscountPercentLabel:l,sellerName:d,hasCheckPriceFeature:c,showSellerNameBelowPrice:m,showPriceOnButton:u,hasPriceSection:p,defaultTextForEmbedSize:g,defaultCTAText:h,ctaAtRetailerName:y,hasMultipleLines:b,shouldConsiderPriceText:f,showOfferUrl:w,offerUrl:$,ctaHref:v,isActionIdEnabledForComponent:C,component:k,onClickHandler:x,gtmTrackOnClick:E,position:A}=e,S=a(r,s),L=()=>((e,t,n,o)=>!e||"number"!=typeof t||isNaN(t)||t<=0?"":` (${n(o.productOfferDiscountPercentageLabel,{percentage:t})})`)(l,S,t,n),T=((e,t,n,o)=>t?`${e} ${t}${n?o():""}`:`${e}`)(r,s,l,L);const N=e=>((e,t,n,o,i)=>t&&!n?`

    ${o(i.productOfferVariationSellerNameString)}\n

    \n

    ${t}

    `:!t&&n?`${e}

    ${o(i.productOffeVariationrDefaultCTA)}

    `:t||n?`${e}

    ${t}

    `:o(i.productOffeVariationrDefaultCTA))(e,d,r,t,n),H=e=>(e=>{const{priceText:t,hasCheckPriceFeature:n,sellerName:o,showSellerNameBelowPrice:i,showPriceOnButton:a,price:r,hasPriceSection:s,defaultTextForEmbedSize:l,defaultCTAText:d,ctaAtRetailerName:c,hasMultipleLines:m,shouldConsiderPriceText:u,formatMessage:p,translations:g,getCtaTextForSellerBelowPriceVariationFn:h}=e,y=((e,t,n,o)=>e&&t?n(o.productOfferCheckPriceString,{sellerName:t}):null)(n,o,p,g);if(y)return y;if(i)return h(t,o,r,p,g);const b=((e,t,n,o,i,a)=>!e||!t&&!n||o?i||a:null)(a,r,o,s,l,d);if(b)return b;const f=((e,t,n,o,i,a,r)=>e&&!t?a(r.productOfferPriceString,{priceValue:n||o,sellerName:e}):i||t?null:a(r.productOfferPriceString,{priceValue:o,sellerName:e}))(o,r,c,d,l,p,g);if(f)return f;const w=((e,t,n,o,i,a)=>e?null:t?i(a.productOfferDefaultPriceString,{priceValue:`${n}`,sellerName:o}):`${n}`)(o,m,t,d,p,g);return w||(l&&!r&&o?o:p(r&&u?g.productOfferDefaultPriceString:g.productOfferPriceString,{priceValue:t,sellerName:o}))})({priceText:e,hasCheckPriceFeature:c,sellerName:d,showSellerNameBelowPrice:m,showPriceOnButton:u,price:r,hasPriceSection:p,defaultTextForEmbedSize:g,defaultCTAText:h,ctaAtRetailerName:y,hasMultipleLines:b,shouldConsiderPriceText:f,formatMessage:t,translations:n,getCtaTextForSellerBelowPriceVariationFn:N}),I=H(T),B=e=>((e,t,n)=>e?t:n)(e,$,v),O=B(w),_=O?.includes("cna.st")&&C;return{finalPrice:T,ctaText:I,getUrlFn:B,getAriaIdFn:()=>(e=>e.replace(/(<([^>]+)>)/gi,"").replace(/ /g,""))(H(s||r)),handleClickFn:e=>{const t=H(s||r),n=B(w);(e=>{const{event:t,enableActionIdMapping:n,handleLinkClick:o,onClickHandler:i,gtmTrackOnClick:a,ctaText:r,position:s,url:l,component:d,extractTrackingParameters:c}=e;t.stopPropagation();const m=t?.currentTarget?.getAttribute("href"),u=c();if(n&&m){t.preventDefault();const{href:e}=o({event:t,onClickHandler:i,gtmTrackOnClick:a,linkProps:m,label:r,position:s,link:l,type:"upcEmbedded",component:d,queryParams:u});window.open(e,"_blank","noopener, noreferrer")}else i({label:r,position:s,link:l,event:t}),a(t,null,null,null,s)})({event:e,enableActionIdMapping:_,handleLinkClick:i,onClickHandler:x,gtmTrackOnClick:E,ctaText:t,position:A,url:n,component:k,extractTrackingParameters:o})},getCtaTextFn:H,currentOfferUrl:O,enableActionIdMapping:_,bookmarkOnlyWithPriceOnButton:e.showPriceOnButton&&e.hasBookmarkingEnabled,isProductSummaryGridOffer:e.isProductSummaryGridOffer||!1,wrapperClassName:(K=e.className,`${K||""} product-offer`.trim())};var K},p=(e,t)=>e[t],g=(e,t,n)=>e(t,n),h=({price:e,reducedPrice:t,showPriceOnButton:n,contentAlign:i,sellerName:a,ProductOfferPrice:r,ProductOfferPriceWrapper:s,ProductOfferReducedPrice:l,ProductOfferSellerName:d,shouldShowRegularPrice:c,shouldShowReducedPrice:m})=>[c(e,t)&&o.createElement(r,{key:"regular-price",contentAlign:i},e),m(e,t)&&o.createElement(s,{key:"reduced-price",contentAlign:i},o.createElement(r,{as:"del",contentAlign:i},e),o.createElement(l,{showPriceOnButton:n,contentAlign:i},t)),o.createElement(d,{key:"seller-name",contentAlign:i,dangerouslySetInnerHTML:{__html:a}})].filter(Boolean),y=(e,t)=>{o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast("RENDER",{name:"ProductOffer",variation:e,productId:t})},[e,t])},b=(e,t,n,i,a)=>$(e)?o.createElement(a,{contentAlign:n,dangerouslySetInnerHTML:{__html:t},showSellerNameBelowButton:e,isCttEnabled:i}):null,f=e=>{const{offerId:t,showOfferButtonSideBySide:n,btnStyle:o,showSellerNameBelowPrice:i,getCtaTextFn:a,reducedPrice:r,price:s,productId:l,getAriaIdFn:d,dataAttrs:c,sellerName:m,offerUrl:u,amazonAffiliateAttributes:p,hasPriceSection:g,hasMultipleLines:h,getUrlFn:y,showOfferUrl:b,handleClickFn:f,finalPrice:w,isCtaInternal:$,isExternalProduct:v,ctaText:C}=e;return{id:t,className:"product-offer__buy-button"+(n?" product-offer__buy-button-side":""),btnStyle:o,ariaLabel:i?"":a(r||s),ariaLabelledby:i?`upc_${l} button_label_${d()}`:"",ariaDescribedby:i?"":l,dataAttrs:{...c,"data-buy-button":!0,"data-offer-retailer":m,"data-offer-url":u,...p},hasPriceSection:g,hasMultipleLines:h,href:y(b),onClickHandler:f,priceLabel:w,rel:$?"noopener":"sponsored noopener",target:v?"_blank":"_self",label:C,inputKind:"link"}},w=(e,t,n)=>({label:e(t.productOffersaveBookmarkLabel),url:n||"#",network:"bookmark",behavior:"bookmark"}),$=e=>!!e,v=e=>e?`${e} `:""},74200:(e,t,n)=>{n.d(t,{A:()=>I});var o=n(13465),i=n(96540),a=n(5556),r=n.n(a),s=n(6442);const l=(0,n(72267).defineMessages)({toggleLabel:{id:"ChannelNavigation.ToggleLabel",defaultMessage:"Open Navigation Menu",description:"ChannelNavigation component toggle label"},channelDrawerContentLabel:{id:"ChannelNavigation.ChannelDrawerContentLabel",defaultMessage:"Runway filters navigation",description:"ChannelNavigation component channel drawer content label"},globalDrawerContentLabel:{id:"ChannelNavigation.GlobalDrawerContentLabel",defaultMessage:"Navigation Menu",description:"ChannelNavigation component global drawer content label"}});var d=n(11542),c=n(56187),m=n(53499),u=n(90090),p=n(22354),g=n(55918),h=n(6082),y=n(62930),b=n(86286),f=n(86778);const w=({dataUrl:e,storeKey:t,data:n,setData:o,loaderType:a="Circle",...r})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"GroupedNavigationContainer"})},[]);const[s,l]=(0,i.useState)(!1),[d,c]=(0,i.useState)(!1),u=y.Ay[a];return(0,i.useEffect)(()=>{!async function(){if(!n&&e){l(!0);try{const n=await(0,g.Ze)({url:`${e}`}),i=n?n[t]:[];o(t,i)}catch(e){c(!0)}finally{l(!1)}}}()},[e]),i.createElement(i.Fragment,null,d&&i.createElement(f.A.ContentCenterNoBackground,{ariaLive:"polite",className:"brand-background__lede",dangerousHed:"Oops",dangerousDek:"something went wrong"}),s&&i.createElement(b.rL,null,i.createElement(u,null)),n&&i.createElement(h.A,{groupedLinks:n,...r}))};w.propTypes={analyticsEventForFilter:r().string,data:r().array,dataUrl:r().string.isRequired,filterLabel:r().string,hasAtoZIndex:r().bool,hasFilter:r().bool,loaderType:r().string,setData:r().func.isRequired,storeKey:r().string.isRequired};const $=(0,p.Ng)((e,{storeKey:t})=>({data:e.groupedNavigation?.[t]||null}),e=>({setData:(t,n)=>{e({type:"MERGE_KEY",key:"groupedNavigation",value:{[t]:n}})}}))(w);var v=n(19525),C=n(76399),k=n(26488),x=n(70698),E=n(63500),A=n(12501),S=n(59867);const L=({keyValue:e,href:t,text:n,isActive:o,onClick:a,isHighlighted:r})=>i.createElement(E.b5,{key:e},i.createElement(E.WV,{tabIndex:0,isActive:o,label:n,href:t,isInline:!0,onClick:a,isHighlighted:r},n)),T=({isFixed:e,logo:t,scrollViewLogo:n,channelNavigationLinks:o,channelNavigationLogoBaseUrl:a,overrideChannelNavigationLinks:r,secondaryMenuProps:d,showExternalProfileLink:p,loaderType:g,onNavigationLinkClick:h,activeLinkIndex:y,user:b,hideDrawerScroll:f,isAccountsEnabled:w=!1,subnav:T=[],activeSubnavItem:N,accountProps:H={accountLinks:[]},hideLinksOnMobile:I=!1})=>{(0,i.useEffect)(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"ChannelNavigation"})},[]);const[B,O]=(0,i.useState)(!1),[_,K]=i.useState(!1),[P,D]=(0,i.useState)(null),[q,M]=(0,i.useState)(x.N_),R=(0,i.useRef)(null),{formatMessage:F}=(0,s.A)(),U=r||o,V=()=>{(0,u.W8)("hamburger-menu-collapsed"),K(!1)},G=()=>{M(e=>({...(0,x.nA)(e),scrollHeight:(document?.body?.scrollHeight??0)-(document?.body?.clientHeight??0)}))};(0,i.useEffect)(()=>{const e=window.Kendra.WINDOW_EVENT.on(S.m.SCROLL_THROTTLE,G);return()=>e.off()},[]);const{pageYOffset:W}=q,j=_?C.A:k.A,z=e||_||W>0,Y=((e,t)=>{const{showSticky:n,pageYOffset:o,scrollHeight:i}=t||{};return e||!n&&o>0||i===o})(e,q);return U&&U.length?i.createElement(E.nj,{isFixed:z},i.createElement(E.r1,{ref:R,role:"navigation","aria-label":"Channel navigation",hideLinksOnMobile:I},i.createElement(E.PA,{isScrollingDown:Y},(({logo:e,scrollViewLogo:t,channelNavigationLogoBaseUrl:n,isScrollingDown:o})=>e&&t?i.createElement(E.wF,{isScrollingDown:o},i.createElement("a",{href:n},i.createElement(E.NU,{isScrollingDown:o,...e}),o&&i.createElement(E.zb,{isScrollingDown:o,...t}))):null)({logo:t,scrollViewLogo:n,channelNavigationLogoBaseUrl:a,isScrollingDown:Y})),i.createElement(E.C1,{isScrollingDown:Y,hideLinksOnMobile:I},(({links:e,activeLinkIndex:t,onNavigationLinkClick:n,setDrawerState:o,setActiveFilter:a})=>e&&e.length?i.createElement(E.dF,{"data-journey-hook":"channel-navigation"},e.map((e,i)=>{const r=void 0===t||i===t,s=e.isHighlighted||!1;return L({keyValue:e.key||e.type,href:e.href,text:e.text,isActive:r,isHighlighted:s,onClick:async t=>{e.apiEndpoint&&(t.preventDefault(),await(0,c.a)(),o(!0),a({...e})),n&&n(e),await(0,c.c)(),(0,u.W8)(e.analyticsEvent)}})})):null)({links:U,activeLinkIndex:y,onNavigationLinkClick:h,setDrawerState:O,setActiveFilter:D}),(({subnav:e,activeSubnavItem:t})=>e&&0!==e.length?i.createElement(E.dF,{"data-journey-hook":"channel-navigation-secondary"},e.map(e=>L({keyValue:e.url,href:e.url,text:e.text,isActive:e.text===(t||"Coverage"),onClick:()=>{(0,u.W8)(e.analyticsEvent)}}))):null)({subnav:T,activeSubnavItem:N})),i.createElement(E.Ny,{isFixed:e,isScrollingDown:Y},i.createElement(A.IJ,null),i.createElement(A.dd,null)),(({showExternalProfileLink:e,isAccountsEnabled:t,user:n,accountProps:o={},isScrollingDown:a,isFixed:r})=>{if(e){const{signInLabel:t="",signInLink:n=""}=e;return i.createElement(E.fX,{isFixed:r,isScrollingDown:a,isAccountWithAvatar:!1,signInLabel:t,signInLink:n,user:{isAuthenticated:!1}})}if(t&&n){const{accountIconInverted:e,accountLinks:t=[],savedStoriesLabel:s,accountLabel:l,signInLabel:d,signInLink:c,tooltip:m}=o;return i.createElement(E.fX,{isFixed:r,isScrollingDown:a,isAccountWithAvatar:!!e,accountLinks:t,savedStoriesLabel:s,accountLabel:l,accountAvatar:e,signInLabel:d,signInLink:c,user:n,className:"standard-navigation__section--utility-links-login",tooltip:m})}return null})({showExternalProfileLink:p,isAccountsEnabled:w,user:b,accountProps:H,isScrollingDown:Y,isFixed:e}),i.createElement(E.Ye,{tabIndex:0,isIconButton:!0,isScrollingDown:Y,ButtonIcon:j,label:"Open Navigation Menu",onClickHandler:()=>{_?V():((0,u.W8)("hamburger-menu-expanded"),K(!0))},role:"button","aria-expanded":_})),(({activeFilter:e,drawerState:t,setDrawerState:n,hideDrawerScroll:o,loaderType:a,formatMessage:r})=>e?i.createElement(E.iM,{isOpen:t,onClose:()=>{n(!1)},hideDrawerScroll:o,contentLabel:r(l.channelDrawerContentLabel),showCloseButton:!0,className:"channel-navigation-drawer"},i.createElement(E.E0,null,i.createElement($,{storeKey:e.key,dataUrl:e.apiEndpoint,hasAtoZIndex:e.hasAtoZIndex,loaderType:a,hasFilter:e.hasFilter,filterLabel:e.filterLabel}))):null)({activeFilter:P,drawerState:B,setDrawerState:O,hideDrawerScroll:f,loaderType:g,formatMessage:F}),(({secondaryNavState:e,onClose:t,secondaryMenuProps:n,showExternalProfileLink:o,isAccountsEnabled:a,accountProps:r,user:s})=>{const l=!a&&o,{utilityLinks:d,primaryLinks:c,secondaryLinks:m,socialIconsProps:u,secondaryMenuSignInLabel:p,secondaryMenuSignInLink:g}=n||{},h=l?void 0:r;return i.createElement(E.s3,{isOpen:e,onClose:t,contentLabel:"Navigation Menu"},i.createElement(E.PU,null,i.createElement(v.A,{contentAlign:"center",user:l?{isAuthenticated:!1}:s,isAccountsEnabled:!!l||a,accountProps:h,utilityLinks:d,primaryLinks:c,secondaryLinks:m,socialIconsProps:u,secondaryMenuSignInLabel:p,secondaryMenuSignInLink:g})))})({secondaryNavState:_,onClose:V,secondaryMenuProps:d,showExternalProfileLink:p,isAccountsEnabled:w,accountProps:H,user:b})):null},N=r().shape({text:r().string,key:r().string,apiEndpoint:r().string});T.propTypes={accountProps:r().object,activeLinkIndex:r().number,activeSubnavItem:r().string,channelNavigationLinks:r().arrayOf(N),channelNavigationLogoBaseUrl:r().string,hideDrawerScroll:r().bool,hideLinksOnMobile:r().bool,isAccountsEnabled:r().bool,isFixed:r().bool,loaderType:r().string,logo:r().object,onNavigationLinkClick:r().func,overrideChannelNavigationLinks:r().arrayOf(N),scrollViewLogo:r().object,secondaryMenuProps:r().object,showExternalProfileLink:r().object,subnav:r().array,user:r().shape({isAuthenticated:r().bool.isRequired})},T.displayName="ChannelNavigation";const H=(0,d.M3)(T,{keysToPluck:["user","isAccountsEnabled","accountProps"]}),I=(0,o.y)(H,"ChannelNavigation")},74400:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(47655),i=n(15571);i.A.displayName="InfoSlice",i.A.Default=(0,o.y)(i.A,"Default",{}),i.A.WithHed=(0,o.y)(i.A,"WithHed",{shouldContentWrap:!0,hasCustomPadding:!0,showHed:!0});const a=i.A},74679:(e,t,n)=>{n.d(t,{A:()=>w});var o=n(5556),i=n.n(o),a=n(96540),r=n(6442),s=n(53499),l=n(64663),d=n(70920),c=n(37210),m=n(38267),u=n(26865);const p=m.Ay.blockquote.withConfig({displayName:"BlueskyEmbedBlockquote"})``,g=m.Ay.div.withConfig({displayName:"BlueskyEmbedContainer"})` margin: ${(0,u.Kq)(5)} auto; .bluesky-embed { margin-right: auto; margin-left: auto; } `;const h=(0,n(72267).defineMessages)({blueskyEmbedAriaLabelText:{id:"BlueskyEmbed.AriaLabelText",defaultMessage:"social media post",description:"ARIA label for the bluesky embed container on Bluesky Embed"},consentBannerHeader:{id:"BlueskyEmbed.ConsentBannerHeader",defaultMessage:"Bluesky content",description:"Header for message banner"}}),{useContext:y,useEffect:b}=a,f=({attributes:e,className:t,url:n,uri:o,cid:i})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"BlueskyEmbed"})},[]);const m=y(l.c$),[u,f]=(0,d.A)(),{formatMessage:w}=(0,r.A)(),$=m.targeting&&f;return b(()=>{$&&(()=>{if(!document.getElementById("embed-bsky-app")){const e=document.createElement("script");e.id="embed-bsky-app",e.setAttribute("charset","utf-8"),e.src="https://embed.bsky.app/static/embed.js",e.setAttribute("data-testid","embed-bsky-script"),document.body.appendChild(e)}})(),"bluesky"in window&&bluesky.scan()},[$]),a.createElement(g,{"data-testid":"bluesky-embed","aria-label":w(h.blueskyEmbedAriaLabelText),className:t,ref:u},$?a.createElement(p,{"data-testid":"bluesky-embed-blockquote",className:"bluesky-embed","data-bluesky-uri":o,"data-bluesky-cid":i,...e},a.createElement(c.A,{hasConsent:m.targeting,url:n,consentBannerHeader:h.consentBannerHeader})):a.createElement(c.A,{hasConsent:m.targeting,url:n,consentBannerHeader:h.consentBannerHeader}))};f.propTypes={attributes:i().object,children:i().node,cid:i().string.isRequired,className:i().string,uri:i().string.isRequired,url:i().string.isRequired},f.displayName="BlueskyEmbed";const w=f},74804:(e,t,n)=>{n.d(t,{Nl:()=>l,Zy:()=>u,cg:()=>c,qW:()=>m,xN:()=>d});var o=n(15609),i=n(39832),a=n(32764),r=n(79244),s=n(36382);function l(e){const{isExternal:t,...n}=e;return{type:t?i.A:"a",props:n}}function d({props:e}){return{type:o.A,props:e}}function c(e={}){let t=1,n=1,o=1,i=1;try{t=parseInt(e.width,10),n=parseInt(e.height,10),o=parseInt(e.mobilewidth,10),i=parseInt(e.mobileheight,10)}catch(e){}return{type:a.A,props:{width:t,height:n,mobileWidth:o,mobileHeight:i,url:e.url}}}function m(e={}){return{type:r.A,props:{tiktokUrl:e.url}}}function u(e={}){return"sidebar:heading"===e.type?{type:s.A,props:e.props}:e}},74898:(e,t,n)=>{n.d(t,{e:()=>p,z:()=>u});var o=n(38267),i=n(26865),a=n(96472),r=n(35864),s=n(6613),l=n(68116),d=n(44802),c=n(34751),m=n(29752);const u=(0,o.Ay)(r.default).withConfig({displayName:"FeaturedStoriesSectionTitle"})` padding-bottom: 0; ${(0,i.L7)(a.LO.md)} { margin-top: ${(0,i.Kq)(3)}; border-bottom-width: 1px; } h2 { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; justify-self: start; width: 444.8px; height: 18px; color: ${({theme:e})=>(0,i.HK)(e,"colors.discovery.body.white.context-tertiary")}; } `,p=o.Ay.section.withConfig({displayName:"FeaturedStoriesCarousel"})` ${m.A} { ul { margin-right: ${(0,i.Kq)(-3)}; margin-left: ${(0,i.Kq)(-3)}; li { width: 60%; &:last-child { padding-right: ${(0,i.Kq)(3)}; } } } } ${c.F5} { padding-bottom: 0; } ${(0,i.H4)(a.LO.md)} { display: none; } ${d.nk} { display: none; } ${d.wq} { margin-bottom: 0; } ${s.fq} { display: none; } ${l.Tr} { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.discovery.hed-core-secondary")}; } `},75389:(e,t,n)=>{n.d(t,{A:()=>Z});var o=n(5556),i=n.n(o),a=n(96540),r=n(22354),s=n(80471),l=n(64214),d=n(35864),c=n(52663),m=n(38267),u=n(68116),p=n(36211),g=n(26865),h=n(96472),y=n(99906);const b=m.Ay.div.withConfig({displayName:"VarietyInvertedWrapper"})` display: grid; grid-template-columns: 1fr; ${(0,g.H4)(h.LO.lg)} { grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr; gap: ${(0,g.Kq)(2)}; } `,f=m.Ay.div.withConfig({displayName:"MainStory"})` ${({theme:e})=>`\n grid-column: 1;\n display: flex;\n justify-content: center;\n\n ${u.Rp} {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n\n ${u.tP} {\n width: 100%;\n }\n }\n\n ${p.Y} {\n ${(0,g.Gg)(e,"typography.definitions.discovery.hed-break-out")};\n }\n\n ${u.IB} {\n ${(0,g.Gg)(e,"typography.definitions.discovery.description-feature")};\n }\n\n ${u.Tr} {\n padding-bottom: ${(0,g.Kq)(2)};\n }\n\n &&& {\n ${(0,g.H4)(h.LO.md)} {\n ${p.Y} {\n margin-bottom: ${(0,g.Kq)(1)};\n font-size: ${(0,g.Kq)(3.5)};\n }\n }\n }\n\n\n ${(e=>`\n ${(0,g.H4)(h.LO.lg)} {\n grid-column: 1 / 7;\n margin-right: ${(0,g.Kq)(2)};\n padding-right: ${(0,g.Kq)(3)};\n position: relative;\n\n ${u.Rp}:after {\n content: '';\n position: absolute;\n right: ${(0,g.Kq)(-2)};\n height: 100%;\n width: 1px;\n ${(0,g._o)(e,"background","colors.discovery.body.black.border")};\n }\n\n ${u.Tr} {\n padding: ${(0,g.Kq)(2)}\n ${(0,g.Kq)(3)}\n 0\n ${(0,g.Kq)(3)};\n }\n }\n `)(e)};\n `} `,w=m.Ay.div.withConfig({displayName:"StoryList"})` ${({theme:e})=>`\n display: grid;\n grid-column: 1;\n grid-row: 2;\n\n ${u.Tr} {\n padding: 0;\n }\n\n ${u.Rp} {\n padding: ${(0,g.Kq)(2)} 0;\n }\n\n ${p.Y} {\n ${(0,g.Gg)(e,"typography.definitions.discovery.hed-core-primary")};\n }\n \n ${(0,g.L7)(`${y.VS.lg}px`)} {\n ${u.Rp} {\n &:first-child {\n padding-top: ${(0,g.Kq)(2)};\n border-top: 1px solid;\n ${(0,g._o)(e,"border-top-color","colors.discovery.body.black.border")};\n }\n ${(0,g._o)(e,"border-color","colors.discovery.body.black.border")};\n }\n }\n\n ${u.Rp}:last-child {\n padding-bottom: 0;\n }\n\n ${u.Rp} {\n ${u.Tr} {\n ${u.tP} {\n display: none;\n }\n }\n }\n \n &&& {\n ${(0,g.L7)(`${y.VS.md}px`)} {\n ${u.Rp} {\n grid-template-areas: 'content content content';\n grid-gap: 0;\n \n ${u.Tr} {\n ${u.tP} {\n width: ${(0,g.Kq)(14)};\n float: right;\n margin-left: ${(0,g.Kq)(2)};\n display: block;\n }\n }\n }\n }\n }\n\n ${(e=>`\n ${(0,g.H4)(h.LO.lg)} {\n grid-column: 7 / -1;\n grid-row: 1;\n grid-template-columns: 1fr;\n grid-template-rows: repeat(3, min-content);\n padding-left: ${(0,g.Kq)(3)};\n\n ${u.Rp} {\n grid-template-columns: repeat(3, 1fr);\n grid-template-areas: 'image content content';\n gap: ${(0,g.Kq)(2)};\n ${(0,g._o)(e,"border-bottom-color","colors.discovery.body.black.border")};\n padding: ${(0,g.Kq)(3)} 0;\n\n &:first-child {\n padding-top: 0;\n }\n\n &:last-child {\n padding-bottom: 0;\n }\n }\n\n ${u.tP} {\n width: 100%;\n justify-self: left;\n }\n }\n \n ${(0,g.Xm)(h.LO.lg,`${y.VS.xl}px`)} {\n ${u.tP} {\n width: ${(0,g.Kq)(23)};\n }\n }\n `)(e)};\n `} `;var $=n(96872),v=n(14307);const C=({items:e,template:t})=>{const n=(n,o,i)=>{const a={type:"click",subject:t,items:(0,$.jv)([n],window),placement:(0,$.R6)(o,e.length),index:o,total_index:i};(0,v.kg)(a)},[o,...i]=e;return a.createElement(b,null,a.createElement(f,null,a.createElement(c.A.TextBelowCenter,{...o,hasBorder:!1,clickHandler:()=>n(o,1,e.length),hideRubricItemSummary:!0})),a.createElement(w,null,i.map((t,o)=>a.createElement(c.A.SideBySideImageWarp,{key:o,...t,shouldHideFinalBorder:!0,clickHandler:()=>n(t,o+2,e.length),hideRubricItemSummary:!0}))))};C.propTypes={items:i().array.isRequired,template:i().string.isRequired};const k=C,x=(0,m.Ay)(c.A.TextBelowLeft).withConfig({displayName:"LargeScreenItem"})` display: none; &&& { ${(0,g.H4)(h.LO.lg)} { display: unset; ${({lastItem:e})=>e&&`\n ${u.tP}:after {\n display: none;\n }\n `} } } `,E=(0,m.Ay)(c.A.SideBySideImageWarp).withConfig({displayName:"SmallScreenItem"})` display: block; & > ${u.tP} { display: none; } ${(0,g.H4)(h.LO.lg)} { display: none; } `,A=m.Ay.div.withConfig({displayName:"InvertedWrapper"})` display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; ${u.Rp} { grid-column: span 4; } ${(0,g.H4)(h.LO.lg)} { grid-template-columns: repeat(12, 1fr); ${u.Rp} { grid-column: span 3; } } && { ${(0,g.L7)(`${y.VS.lg}px`)} { ${u.Rp} { grid-gap: 0; grid-template-areas: 'content content content'; ${u.Tr} { ${u.tP} { display: block; float: right; margin-left: ${(0,g.Kq)(2)}; width: ${(0,g.Kq)(14)}; } } } } } `,S=({items:e,template:t})=>{const n=(n,o,i)=>{const a={type:"click",subject:t,items:(0,$.jv)([n],window),placement:(0,$.R6)(o,e.length),index:o,total_index:i};(0,v.kg)(a)};return a.createElement(A,null,e.map((t,o)=>a.createElement(a.Fragment,{key:o},a.createElement(x,{...t,hasBorder:!1,shouldHideFinalBorder:!0,lastItem:o===e.length-1,clickHandler:()=>n(t,o,e.length)}),a.createElement(E,{...t,shouldHideFinalBorder:!0,clickHandler:()=>n(t,o,e.length)}))))};S.propTypes={items:i().arrayOf(i().object).isRequired,template:i().string.isRequired};const L=S;var T=n(68397),N=n(6613),H=n(72662),I=n(33500);const B=(0,m.Ay)("div").withConfig({displayName:"ForYouCarouselWrapper"})` ${u.Tr} { ${N.zM} { &:hover { text-decoration: underline; } } } ${H.aF} { padding-right: ${(0,g.Kq)(6)}; padding-left: ${(0,g.Kq)(6)}; max-width: ${(0,g.Kq)(128)}; ${(0,g.Xm)(0,`${y.VS.md}px`)} { padding-right: ${(0,g.Kq)(3)}; padding-left: ${(0,g.Kq)(3)}; } ${(0,g.Xm)(`${y.Vh.xl}px`,`${y.VS.xxl}px`)} { max-width: ${(0,g.Kq)(160)}; } @media (min-width: ${h.LO.xl}) { padding-right: ${(0,g.Kq)(8)}; padding-left: ${(0,g.Kq)(8)}; max-width: ${(0,g.Kq)(200)}; } @media (min-width: ${h.LO.xxl}) { padding-bottom: 0; } } &&& { ${I.QW} { padding-left: 0; } } `;var O=n(72362);const _=({items:e,carouselSummaryItemVariation:t="TextBelowLeft",dangerousHed:n,hasBorder:o=!1,showLabels:i=!1,hasPaginationDots:r=!0,shouldHideContributors:s=!0,template:l})=>{const d=c.A[t],m=!(0,O.Zm)();return a.createElement(B,null,a.createElement(T.A,{headerProps:{dangerousHed:n},carouselSettings:{showLabels:i,hasPaginationDots:r},trackingEventData:{snowplowNavEventSubject:"carousel"}},e.map((t,i)=>a.createElement(T.A.CarouselItem,{key:`product-bundle-${i}`,trackingEventData:{carouselName:t.dangerousHed,itemIndex:i,totalItems:e.length,label:n,snowplowNavEventSubject:l,subject_version:m?"mobile_dense":"default"}},a.createElement(d,{...t,hasBorder:o,hedTag:"h3",shouldHideContributors:s,isLazy:i>4,clickHandlerRubric:e=>{e.stopPropagation()}})))))};_.propTypes={carouselSummaryItemVariation:i().string,dangerousHed:i().string,hasBorder:i().bool,hasPaginationDots:i().bool,items:i().arrayOf(i().object).isRequired,shouldHideContributors:i().bool,showLabels:i().bool,template:i().string};const K=_;var P=n(53499),D=n(82856),q=n(24695),M=n(76955),R=n(1123),F=n(74423);const U=(0,m.Ay)(M.vm).withConfig({displayName:"ForyouDek"})` ${({theme:e})=>`\n display: flex;\n justify-content: center;\n padding-bottom: ${(0,g.Kq)(6)};\n ${(0,g._o)(e,"color","colors.interactive.base.white")};\n ${(0,g.Gg)(e,"typography.definitions.utility.label")};\n svg {\n margin-right: ${(0,g.Kq)(1)};\n path {\n ${(0,g._o)(e,"fill","colors.discovery.body.dark.heading")};\n }\n }\n\n span {\n display: flex;\n align-items: center;\n }\n `} `,V=(0,m.Ay)(M.c7).withConfig({displayName:"ForyouWrapper"})` ${({layout:e,theme:t})=>e&&`\n ${(0,R.VO)()};\n ${"carousel"!==e&&(e=>`\n ${(0,g._o)(e,"background","colors.discovery.body.black.background")};\n\n ${I.QW} {\n padding-top: ${(0,g.Kq)(0)};\n padding-bottom: ${(0,g.Kq)(2)};\n border: none;\n\n ${I.bU} {\n ${(0,g._o)(e,"color","colors.discovery.body.dark.heading")};\n }\n }\n\n ${N.zM} {\n ${(0,g._o)(e,"color","colors.interactive.base.white")};\n }\n\n ${p.Y}, ${u.IB} {\n ${(0,g._o)(e,"color","colors.discovery.body.black.heading")};\n }\n\n ${F.H1}, ${F.CR} {\n ${(0,g._o)(e,"color","colors.discovery.body.black.accreditation")};\n }\n `)(t)};\n ${"variety-inverted"===e&&(e=>`\n ${(0,R.aU)("padding")};\n ${(0,g._o)(e,"background","colors.discovery.body.black.background")};\n padding: ${(0,g.Kq)(6)} ${(0,g.Kq)(3)};\n \n ${(0,g.H4)(h.LO.md)} {\n padding-left: ${(0,g.Kq)(6)};\n padding-right: ${(0,g.Kq)(6)};\n }\n ${(0,g.H4)(h.LO.lg)} {\n margin: 0 calc(1 * var(--grid-margin));\n }\n\n ${(0,g.H4)(h.LO.xl)} {\n padding-left: ${(0,g.Kq)(8.5)};\n padding-right: ${(0,g.Kq)(8.5)};\n }\n\n ${I.QW} {\n padding-top: ${(0,g.Kq)(0)};\n padding-bottom: ${(0,g.Kq)(2)};\n border: none;\n\n ${I.bU} {\n ${(0,g._o)(e,"color","colors.discovery.body.dark.heading")};\n }\n }\n `)(t)};\n ${"inverted"===e&&(e=>`\n padding: ${(0,g.Kq)(6)} calc(1 * var(--grid-margin));\n\n ${u.Tr} {\n padding-bottom: 0;\n }\n\n ${u.Rp} {\n ${(0,g._o)(e,"border-bottom-color","colors.discovery.body.black.border")};\n \n &:last-child {\n ${u.tP}:after {\n display: none;\n }\n }\n }\n\n && {\n ${(0,g.H4)(h.LO.md)} {\n margin: 0 calc(1 * var(--grid-margin));\n ${p.Y} {\n margin-bottom: ${(0,g.Kq)(1)};\n }\n }\n\n ${(0,g.H4)(h.LO.lg)} {\n padding: ${(0,g.Kq)(6)} ${(0,g.Kq)(4)};\n\n ${u.tP} {\n position: relative;\n \n &:after {\n display: block;\n position: absolute;\n top: 0px;\n right: calc(-1* var(--grid-gap) / 2);\n width: 1px;\n height: 100%;\n content: "";\n ${(0,g._o)(e,"background-color","colors.discovery.body.black.border")};\n }\n }\n }\n }\n `)(t)};\n ${"carousel"===e&&`\n ${I.QW}{\n padding-left:${(0,g.Kq)(6)};\n } \n `};\n `} `,G=(0,m.Ay)(M.c7).withConfig({displayName:"ForyouComponent"})` ${(0,R.VO)()}; margin: 0 auto; max-width: ${(0,g.Kq)(200)}; `;var W=n(49380),j=n(70251),z=n(27767);const Y=({bundle:e,dangerousDek:t,dangerousHed:n,id:o,index:i,template:r,sectionName:c,applicationID:m,canonicalUrl:u,contentID:p,vulcanUrl:g,renditions:h,brandSlug:y,language:b,recommendationsApiUrl:f,strategy:w,pageSize:C=4,varietyInvertedRenditions:x,varietyMainStoryRendition:E,carouselRenditions:A,layout:S="",showSectionTitle:T=!0,excludeCategories:N})=>{const[H,I]=a.useState(!0),[B,O]=a.useState([]),[_,M]=a.useState(!1),R={applicationID:m,vulcanUrl:g,contentID:p,recommendationsApiUrl:f,brandSlug:y,language:b,isSmallScreen:_,canonicalUrl:u,strategy:w,pageSize:C,photoConfig:h,varietyInvertedRenditions:x,varietyMainStoryRendition:E,carouselRenditions:A,isPersonalizedHomepage:!0,amgUserId:v.QQ,layout:S,excludeCategories:N};(0,j.w)(()=>M((0,W.eD)())),a.useEffect(()=>{M((0,W.eD)())},[]);const{ref:F,entry:Y}=(0,s.Wx)({threshold:.1,trackVisibility:!0,delay:100,triggerOnce:!0}),{containers:X=[]}=e||{},Z=X.filter(e=>"verso-mid-content-ad"!==e.template),J=X.filter(e=>"verso-fifty-fifty"===e.template).flatMap(e=>e.items||[]).map(e=>e.copilotID).filter(Boolean);a.useEffect(()=>{if(Y?.isIntersecting&&"carousel"!==S){const e={type:"impression",subject:r,items:(0,$.jv)(B,window),placement:(0,$.R6)(i,Z.length),total_index:Z.length};(0,v.kg)(e)}},[Y,i,B,Z.length,r,S]),a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(P.G.RENDER,{name:"ForYou"})},[]);const{personalizedClientData:Q={}}=(0,z.A)({...R,excludeCopilotIds:J});if(a.useEffect(()=>{O(Q),I(!1)},[Q]),H&&m)return a.createElement(D.A,null);if(!B?.length)return null;const ee=B.map(e=>({...e,id:e.contentId}));return S?a.createElement(G,null,a.createElement(V,{ref:F,layout:S},T&&a.createElement(d.default,{dangerousHed:n}),t&&a.createElement(U,null,a.createElement("span",null,a.createElement(q.Subscribe,null)," ",t)),"variety-inverted"===S&&a.createElement(k,{items:B,template:r}),"inverted"===S&&a.createElement(L,{items:B,template:r}),"carousel"===S&&a.createElement(K,{items:B,dangerousHed:n,template:r,layout:S}))):a.createElement(l.A,{dangerousDek:t,dangerousHed:n,id:o,index:i,items:ee,template:r,sectionName:c})};Y.propTypes={applicationID:i().string,brandSlug:i().string,bundle:i().shape({containers:i().array}).isRequired,canonicalUrl:i().string,carouselRenditions:i().object,contentID:i().string,dangerousDek:i().string,dangerousHed:i().string,excludeCategories:i().array,id:i().string,index:i().number.isRequired,language:i().string,layout:i().string,pageSize:i().number,recommendationsApiUrl:i().string,renditions:i().object,sectionName:i().string.isRequired,showSectionTitle:i().bool,strategy:i().string,template:i().string,varietyInvertedRenditions:i().object,varietyMainStoryRendition:i().object,vulcanUrl:i().string};const X=(0,r.Ng)(e=>{const{config:{contentSystem:t,recommendations:n},renditions:o,appConfig:i,coreDataLayer:a,bundle:r,"head.contentID":s,"head.canonicalUrl":l}=e;return{contentID:s,bundle:r,vulcanUrl:t?.mediaDomain?`https://${t.mediaDomain}`:"",renditions:o?.homepage?.["verso-for-you-package"]||{},varietyInvertedRenditions:o?.homepage?.["variety-inverted-for-you-package"]||{},varietyMainStoryRendition:o?.homepage?.["variety-main-story-rendition"]||{},carouselRenditions:o?.homepage?.["carousel-for-you-package"]||{},brandSlug:i?.brandSlug,language:a?.content?.contentLang,canonicalUrl:l,recommendationsApiUrl:n?.personalisedApiUrl||""}},{})(Y);const Z=(0,n(13465).y)(X,"ForYou")},75697:(e,t,n)=>{n.d(t,{HU:()=>p,Hv:()=>h,OR:()=>w,S_:()=>m,Wy:()=>$,Z:()=>b,Z8:()=>f,aO:()=>y,s6:()=>g,zx:()=>u});var o=n(38267),i=n(76955),a=n(26865),r=n(1123),s=n(96472),l=n(40653),d=n(73275),c=n(73730);const m=(0,o.Ay)(i.c7).withConfig({displayName:"PromoBoxWrapper"})` display: flex; position: relative; align-items: center; justify-content: center; text-align: center; text-decoration: none; ${({theme:e,hasTopLine:t,shouldFetchBITokens:n=!0})=>t?`\n border-top: ${n?(0,a.Pp)(e,"dividerWidth"):"1px"} solid;\n ${(0,a._o)(e,"border-color",n?"colors.discovery.body.white.border":"colors.discovery.body.white.divider")};\n padding-top: ${(0,a.Kq)(6)};\n `:""} ${({isCardVariation:e})=>e?`\n display: grid;\n position: relative;\n grid-template-columns: repeat(12, 1fr);\n\n @media (min-width: ${s.LO.md}) {\n ${(0,r.aU)("margin",!0)}\n }\n `:""} ${({hasFullGridWidth:e})=>e&&`@media (min-width: ${s.LO.md}) {\n margin-left: 0;\n margin-right: 0;\n }`} ${({contentAlign:e})=>"below"===e?"\n flex-wrap: wrap;\n ":""} ${({hasFullWidthForAsset:e})=>e&&`\n &:focus-visible {\n outline-offset: ${(0,a.Kq)(.5)};\n }\n `} `,u=(0,o.Ay)(d.A).withConfig({displayName:"PromoBoxResponsiveAsset"})` width: 100%; ${({isCardVariation:e})=>e?`\n grid-column: 1/-1;\n grid-row: 1;\n z-index: 1;\n\n &.responsive-asset {\n display: none;\n }\n @media (min-width: ${s.LO.md}) {\n &.responsive-asset {\n display: block;\n }\n }\n `:""} ${({contentAlign:e})=>"below"===e?"\n &::after {\n display: none;\n }\n ":""} ${({hasFullWidthForAsset:e})=>e&&"\n .responsive-image__image {\n width: 100%;\n }\n"} ${({hasRoundedEdges:e})=>e&&`\n &.responsive-asset {\n border-radius: ${(0,a.Kq)(1)};\n }\n @media (max-width: ${s.LO.md}) {\n &.responsive-asset {\n border-radius: ${(0,a.Kq)(1)};\n }\n } \n `} ${({shouldEnableBackgroundImgForMobile:e})=>e&&`\n @media (max-width: ${s.LO.md}) {\n &.responsive-asset {\n display: block;\n }\n } \n `} `,p=o.Ay.div.withConfig({displayName:"PromoBoxCallout"})` position: relative; text-decoration: none; ${({theme:e,isCardVariation:t})=>t?`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n ${(0,a._o)(e,"background-color","colors.discovery.body.brand.background")};\n padding: ${(0,a.Kq)(2)} ${(0,a.Kq)(2)};\n text-align: center;\n text-decoration: none;\n\n @media (min-width: ${s.LO.md}) {\n padding: ${(0,a.Kq)(6)} ${(0,a.Kq)(7)};\n }\n \n `:""} ${({contentAlign:e})=>"below"===e?`\n margin-top: ${(0,a.Kq)(1)};\n\n @media (min-width: ${s.LO.md}) {\n margin-top: ${(0,a.Kq)(5)};\n }\n `:""} ${({isInverted:e,theme:t})=>e&&`${(0,a._o)(t,"background-color","colors.discovery.body.black.background")}`} `,g=(0,o.Ay)(i.vm).withConfig({displayName:"PromoBoxText"})` margin-top: ${(0,a.Kq)(1)}; ${({contentAlign:e,theme:t})=>"below"===e?`\n ${(0,a.Gg)(t,"typography.definitions.discovery.description-core")}\n ${(0,a._o)(t,"color","colors.discovery.body.white.description")};\n margin-top: ${(0,a.Kq)(2)};\n `:""} @media (min-width: ${s.LO.md}) { margin-top: ${(0,a.Kq)(2)}; } ${({isCardVariation:e,theme:t})=>e?`\n ${(0,a.Gg)(t,"typography.definitions.discovery.description-core")}\n ${(0,a._o)(t,"color","colors.discovery.body.brand.description")};\n margin-top: ${(0,a.Kq)(2)};\n\n @media (min-width: ${s.LO.md}) {\n margin-top: ${(0,a.Kq)(3)}\n }\n `:""} ${({isInvertedTheme:e,theme:t})=>e?`color: ${(0,a.HK)(t,"colors.background.white")}}`:""} ${({isInverted:e,theme:t})=>e&&`color: ${(0,a.HK)(t,"colors.background.white")};`} ${({contentTextAlign:e})=>`text-align: ${e}`}; `;g.defaultProps={as:"div",colorToken:"colors.discovery.body.black.description",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const h=(0,o.Ay)(i.vm).withConfig({displayName:"PromoBoxTitle"})` margin-top: ${(0,a.Kq)(2)}; text-align: center; ${({contentAlign:e,theme:t})=>"below"===e?`\n margin-top: 0;\n ${(0,a._o)(t,"color","colors.discovery.body.white.heading")};\n `:""} @media (min-width: ${s.LO.md}) { ${({theme:e})=>(0,a.Gg)(e,"typography.definitions.discovery.hed-break-out")} } ${({isCardVariation:e,theme:t})=>e?`\n ${(0,a.Gg)(t,"typography.definitions.discovery.hed-core-primary")}\n ${(0,a._o)(t,"color","colors.discovery.body.brand.heading")};\n margin-top: 0;\n width: 100%;\n\n @media (min-width: ${s.LO.md}) {\n ${(0,a.Gg)(t,"typography.definitions.discovery.hed-feature")}\n width: 100%;\n }\n\n @media (min-width: ${s.LO.lg}) {\n ${(0,a.Gg)(t,"typography.definitions.discovery.hed-break-out")}\n }\n `:""} ${({isInvertedTheme:e,theme:t})=>e?`color: ${(0,a.HK)(t,"colors.background.white")}}`:""} ${({isInverted:e,theme:t})=>e&&`color: ${(0,a.HK)(t,"colors.background.white")};`} `;h.defaultProps={as:"span",colorToken:"colors.discovery.body.black.heading",typeIdentity:"typography.definitions.discovery.hed-core-primary"};const y=(0,o.Ay)(i.c7).withConfig({displayName:"PromoBoxButtonContainer"})` display: flex; flex-direction: ${({secondaryButtonPosition:e})=>"inverted"===e?"column-reverse":"column"}; align-items: center; justify-content: center; `,b=(0,o.Ay)(c.A.Primary).withConfig({displayName:"PromoBoxButtonPrimary"})` margin-top: ${({isCardVariation:e})=>e?(0,a.Kq)(2):(0,a.Kq)(1)}; @media (min-width: ${s.LO.md}) { margin-top: ${({isCardVariation:e,secondaryButtonPosition:t})=>{"inverted"===t?(0,a.Kq)(2):e?(0,a.Kq)(4):(0,a.Kq)(5)}}; } ${({isInverted:e,theme:t})=>e&&`background-color: ${(0,a.HK)(t,"colors.background.black")};\n color: ${(0,a.HK)(t,"colors.background.white")};\n \n &:hover {\n background-color: ${(0,a.HK)(t,"colors.background.white")};\n color: ${(0,a.HK)(t,"colors.background.black")};\n }\n `} `,f=o.Ay.button.withConfig({displayName:"PromoBoxButtonSecondary"})` margin-top: ${({isCardVariation:e})=>e?(0,a.Kq)(2):(0,a.Kq)(1)}; @media (min-width: ${s.LO.md}) { margin-top: ${({isCardVariation:e,secondaryButtonPosition:t})=>{"inverted"!==t?(0,a.Kq)(2):e?(0,a.Kq)(4):(0,a.Kq)(5)}}; } `,w=o.Ay.div.withConfig({displayName:"PromoBoxContent"})` ${({isCardVariation:e})=>e?`\n && {\n grid-column: 1/-1;\n grid-row: 1;\n z-index: 2;\n }\n\n ${l.E} {\n grid-column: 1/-1;\n }\n\n @media (min-width: ${s.LO.md}) {\n ${l.E} {\n grid-column: 3/11;\n }\n }\n `:""} `,$=o.Ay.div.withConfig({displayName:"PromoBoxCalloutContent"})` ${l.E} { grid-column: span 4; @media (min-width: ${s.LO.md}) { grid-column: 3 / span 8; } } ${({isCardVariation:e})=>e?`\n @media (min-width: ${s.LO.md}) {\n ${l.E} {\n grid-column: span 12;\n }\n }\n `:""} `},75699:(e,t,n)=>{n.d(t,{$E:()=>r.$E,jY:()=>r.jY,S3:()=>r.S3,kw:()=>r.kw,J8:()=>r.J8,UZ:()=>r.UZ,zQ:()=>$});var o=n(38267),i=n(76955),a=n(37338),r=n(88154),s=n(23311),l=n(26865),d=n(13983),c=n(99906);const m=(0,l.Kq)(26),u=(0,l.Kq)(14),p=(0,l.Kq)(8);function g(e){const[t,n]=e.split(":");return Number(t)/Number(n)<=1?u:m}function h({image:e,isContributor:t}){if(t)return o.AH` grid-template-columns: auto ${p}; `;const n=function(e){return e?[e.segmentedSources?.sm?.[0].aspectRatio,e.segmentedSources?.lg?.[0].aspectRatio].filter(Boolean):[]}(e);if(!n.length)return o.AH` grid-template-columns: auto max-content; `;const[i,a]=n.map(g);return o.AH` grid-template-columns: auto ${i}; ${(0,l.H4)(`${c.Vh.lg}px`)} { grid-template-columns: auto ${a}; } `}const y={"side-by-side":(e,t={})=>o.AH` --smart-item-layout: 'side-by-side'; display: grid; grid-column-gap: ${(0,l.Kq)(2)}; ${h}; grid-template-rows: auto; width: 100%; height: min-content; gap: ${(0,l.Kq)(1)}; ${r.UZ}, ${r.kw}, ${r.jY}, ${r.$E} ,${r.J8} { grid-column: 1; } ${s.C} { --aspect-ratio-box-max-height: ${(0,l.Kq)(19.5)}; grid-column: 2; grid-row: 1/6; margin-top: 0; max-height: var(--aspect-ratio-box-max-height); .responsive-asset, .responsive-cartoon { position: relative; } } ${t.textAlign&&o.AH` text-align: ${t.textAlign}; `} ${t.inset&&o.AH` padding: var(--smart-item-inset); `} `,dense:()=>o.AH` --smart-item-layout: 'dense'; display: block; ${r.UZ} { display: block; } & > *:not(:first-child) { margin-top: ${(0,l.Kq)(.5)}; } ${s.C} { float: right; margin-bottom: ${(0,l.Kq)(1)}; margin-left: ${(0,l.Kq)(2)}; ${({hasDek:e})=>e&&o.AH` margin-top: ${(0,l.Kq)(1)}; `} ${({isContributor:e})=>o.AH` ${e?d.fd:d.NG} `} &+${r.$E} { margin-top: 0; } } &::after { display: table; clear: both; content: ''; } `,stack:(e,t={})=>o.AH` --smart-item-layout: 'stack'; gap: ${(0,l.Kq)(1)}; ${t.inset&&o.AH` & > * { padding-right: var(--smart-item-inset); padding-left: var(--smart-item-inset); } `} ${t.textAlign&&o.AH` text-align: ${t.textAlign}; `} display: flex; flex-direction: column; ${s.C} { ${t.image?.inset&&o.AH` --aspect-ratio-box-max-height: ${(0,l.Kq)(33.375)}; max-height: var(--aspect-ratio-box-max-height); `} order: -2; margin-bottom: ${(0,l.Kq)(1)}; .responsive-asset, .responsive-cartoon { display: block; position: relative; margin: 0 auto; } } ${({isContributor:e})=>e&&o.AH` position: relative; ${s.C} { position: unset; } `} `};var b=n(74423),f=n(7228);const w=o.AH` --smart-item-inset: 0; --smart-item-asset-h-inset: 0; --smart-item-asset-v-inset: 0; ${(0,l.H4)(`${c.Vh.lg}px`)} { --smart-item-asset-h-inset: 0; --smart-item-inset: ${(0,l.Kq)(4)}; } `,$=(0,o.Ay)(i.c7).withConfig({displayName:"SmartItemWrapper"})` ${w} cursor: pointer; text-decoration: none; ${({bylinesPosition:e})=>"top"===e&&o.AH` order: -1; ${b.CR} { display: none; } `} ${({layout:e,styleSettings:t})=>(0,a.Q)("layout",{layout:e,styleSettings:t},y)} ${r.UZ} { ${({styleSettings:e})=>{const t=e?.some(e=>"center"===e?.textAlign);return t&&o.AH` align-self: center; `}} } ${s.C} { ${f.Em} { ${(0,l.H4)(`${c.Vh.lg}px`)} { width: auto; } } } `;$.defaultProps={as:"div"}},75871:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(13465),i=n(83237);const a=(0,o.y)(i.A,"ProductEmbed")},75989:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(96540),i=n(5556),a=n.n(i),r=n(32485),s=n.n(r),l=n(80471),d=n(10642),c=n(44944),m=n(87468),u=n(75699),p=n(87911),g=n(86157),h=n(47655);const y={audio:{defaultLabel:"audioPrimaryLabel",defaultIcon:'Listen'}};const b=({className:e,clickHandler:t,impressionHandler:n,shouldTrackSnowplowEvent:i,layout:a=["dense","side-by-side","stack"],contributors:r,dangerousDek:c,dangerousHed:g,date:h,id:b,image:f,hasNativeImgLazyLoading:w,rubric:$,url:v,styleSettings:C=[],bylinesPosition:k,bylinesTextAlign:x="left",bylineVariation:E,isContributor:A=!1,maxContributors:S,maxContributorsNames:L,rubricVariation:T="ItemAsText",shouldLinkBylines:N=!1,signalType:H,shouldHideIcon:I=!0,variationsProp:B,contentType:O})=>{const{ref:_,entry:K}=(0,l.Wx)({threshold:.5,trackVisibility:!0,delay:100,triggerOnce:!0});(0,o.useEffect)(()=>{K?.isIntersecting&&i&&n()},[K,i,n]);const P=C.map(e=>e.image),D=function({rubric:e,image:t,dangerousDek:n,contributors:o,bylinesPosition:i,date:a}){let r=0;const s=[];return e?.name&&(s.push("rubric"),r++),t&&n?s.push("hed","image","dek"):t&&!n?(r++,s.push("image","hed")):s.push("hed"),o&&"top"===i?s.splice(r,0,"bylines"):o&&s.push("bylines"),a&&s.push("date"),s}({rubric:$,image:f,dangerousDek:c,contributors:r,bylinesPosition:k,date:h}),q=d.A[T];return o.createElement(u.zQ,{layout:a,hasRubric:Boolean($?.name),hasDek:Boolean(c),hasBylines:Boolean(r),bylinesPosition:k,isContributor:A,styleSettings:C,className:s()("smart-item","story-unit",e),onClick:()=>{"clip"===f?.contentType&&(window.location=v),t()},image:f,id:b,ref:_},D.map(e=>{switch(e){case"hed":return o.createElement(u.kw,{className:"smart-item__hed-link",href:v,key:"hedWrapper",image:f},o.createElement(u.S3,{className:"smart-item__hed",dangerouslySetInnerHTML:{__html:g}}));case"dek":return o.createElement(u.jY,{key:"dek",className:"smart-item__dek",dangerouslySetInnerHTML:{__html:c}});case"rubric":return o.createElement(u.UZ,{key:"rubric",className:"smart-item__rubric",as:q,...$});case"image":return o.createElement(p.A,{key:"asset",className:"smart-item__asset-container",...f,hasNativeImgLazyLoading:w,styleSettings:P,isContributor:A,shouldYieldControlOfVideoPlayPause:!0,signalType:H,actionBarConfig:y,shouldHideIcon:I,variationsProp:B,contentCategory:O});case"bylines":return o.createElement(u.$E,{key:"bylines",className:"smart-item__contributor",as:m.A,contentAlign:x,contributors:r,maxContributors:S,maxContributorsNames:L,bylinesPosition:k,shouldLink:N,bylineVariation:E});case"date":return o.createElement(u.J8,{key:"date",className:"smart-item__published-date"},h);default:return null}}))};b.propTypes={bylinesPosition:a().oneOf(["top","bottom"]),bylinesTextAlign:a().oneOf(["left","right","center"]),bylineVariation:a().oneOf((0,h._)(c.A)),className:a().string,clickHandler:a().func,contentType:a().string,contributors:a().shape(m.A.propTypes.contributors),dangerousDek:a().string,dangerousHed:a().string.isRequired,date:a().string,hasNativeImgLazyLoading:a().bool,id:a().string,image:a().shape(g.A.propTypes),impressionHandler:a().func,isContributor:a().bool,layout:a().arrayOf(a().oneOf(["dense","side-by-side","stack"])),maxContributors:a().number,maxContributorsNames:a().number,rubric:a().shape(d.A.propTypes),rubricVariation:a().oneOf((0,h._)(d.A)),shouldHideIcon:a().bool,shouldLinkBylines:a().bool,shouldTrackSnowplowEvent:a().bool,signalType:a().string,styleSettings:a().arrayOf(a().shape({inset:a().bool,textAlign:a().oneOf(["start","center","end"]),image:a().shape({inset:a().bool,showOutline:a().bool})})),url:a().string.isRequired,variationsProp:a().object},b.displayName="SmartItem";const f=b},76573:(e,t,n)=>{n.d(t,{h2:()=>o.h,pd:()=>i.p});var o=n(34549),i=n(63761)},76896:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({productOfferPriceString:{id:"ProductOffer.price",defaultMessage:"{priceValue} at {sellerName}",description:"price string for product offer button"},productOfferDefaultPriceString:{id:"ProductOffer.defaultPriceString",defaultMessage:"{priceValue} {sellerName}",description:"default price string for product offer button"},productOffersaveBookmarkLabel:{id:"ProductOffer.productOffersaveBookmarkLabel",defaultMessage:"Save story",description:"Label for the bookmark icon"},productOfferVariationSellerNameString:{id:"ProductOffer.variationSellerNameString",defaultMessage:"Shop at",description:"Seller name string"},productOffeVariationrDefaultCTA:{id:"ProductOffer.variationDefaultCTA",defaultMessage:"Shop Now",description:"Default CTA string"},productOfferDiscountPercentageLabel:{id:"ProductOffer.productOfferDiscountPercentageLabel",defaultMessage:"{percentage}% off",description:"Discount Percentage label"},productOfferCheckPriceString:{id:"ProductOffer.checkPrice",defaultMessage:"Check Price at {sellerName}",description:"Check price string for product offer button when functional tag is present"}})},76997:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(13465),i=n(47655),a=n(42752),r=n(52818);a.A.ContentPromo=(0,i.y)(a.A,"ContentPromo",{display:"promo"}),a.A.MixedMediaCarousel=(0,i.y)(r.A,"MixedMediaCarousel",{});const s=a.A,l=(0,o.y)(s,"GalleryEmbed")},77203:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(5556),i=n.n(o),a=n(96540),r=n(9580);const s=({appDownloadUrls:e})=>a.createElement(r.wb,null,a.createElement("ul",null,e.map(e=>a.createElement(r.Rb,{key:e.url},a.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer","aria-label":"Opens in a new window"},a.createElement(r.ku,{...e.logo}))))));s.propTypes={appDownloadUrls:i().array};const l=s},77262:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(13465),i=n(47655),a=n(5556),r=n.n(a),s=n(96540),l=n(6442),d=n(37384),c=n(26891);const m=(0,n(72267).defineMessages)({viewGalleryCTAText:{id:"GalleryRecircCards.ViewGalleryCTAText",defaultMessage:"View gallery »",description:"View gallery button text in End Of Page Recirculation."},viewNextGalleryCTAText:{id:"GalleryRecircCards.viewNextGalleryCTAText",defaultMessage:"View next gallery »",description:"View next gallery button text in End Of Page Recirculation."},keepOnLaughingText:{id:"GalleryRecircCards.keepOnLaughingText",defaultMessage:"Keep on laughing",description:"Keep on laughing text in End Of Page Recirculation."},midGalleryRecircHeading:{id:"GalleryRecircCards.midGalleryRecircHeading",defaultMessage:"Want more laughs? Try another cartoon gallery.",description:"Want more laughs? Try another cartoon gallery text for mid gallery recirc"}}),u=({hed:e="",isEndOfPageRecirc:t=!1,onBeforeRedirect:n,items:o,recircInteractionAnalytics:i,showCropViewOnMobile:a=!1,variations:r={shouldOpenInSameTab:!1,shouldUseItemDangerousDek:!1,shouldUseItemDangerousHed:!1}})=>{const{formatMessage:d}=(0,l.A)(),{shouldOpenInSameTab:u,shouldUseItemDangerousDek:p,shouldUseItemDangerousHed:g}=r;if(!o.length)return null;const h=d(t?m.viewNextGalleryCTAText:m.viewGalleryCTAText);return s.createElement(c.kU,{isEndOfPageRecirc:t},!t&&s.createElement(c.zO,null,e||d(m.midGalleryRecircHeading)),o.map((e,o)=>s.createElement(c.Zn,{isEndOfPageRecirc:t,key:e.id||o},s.createElement(c.a4,{href:e.url,isEndOfPageRecirc:t,showCropViewOnMobile:a,"data-testid":"GalleryRecircContent",onClick:t=>((e,t)=>{e.preventDefault(),n&&n(t),i&&i(t);const o=u?"_self":"_blank";window.open(t.url,o,"noopener,noreferrer")})(t,e)},s.createElement(c.vs,{isEndOfPageRecirc:t},t&&s.createElement(c.qD,{"data-testid":"GalleryEndRecircHeading"},d(m.keepOnLaughingText)),s.createElement(c.Nb,{"data-testid":"GalleryRecircTitle",isEndOfPageRecirc:t,dangerouslySetInnerHTML:{__html:g&&e.dangerousHed?e.dangerousHed:e?.source?.hed||""}}),s.createElement(c.GN,{"data-testid":"GalleryRecircViewGalleryCTA",dangerouslySetInnerHTML:{__html:p&&e.dangerousDek?e.dangerousDek:h}})),s.createElement(c.EX,{isEndOfPageRecirc:t,"data-testid":"GalleryRecircImage",...e.items[0]}),t&&s.createElement(c.qD,{"data-testid":"GalleryEndRecircHeading"},d(m.keepOnLaughingText))))))};u.propTypes={hed:r().string,isEndOfPageRecirc:r().bool,items:r().arrayOf(r().shape({dangerousDek:r().string,dangerousHed:r().string,url:r().string,items:r().arrayOf(r().shape({altText:r().string,dangerousCaption:r().string,dangerousCredit:r().string,isDesktopPortrait:r().bool,segmentedSources:d.A.propTypes.segmentedSources,sources:d.A.propTypes.sources,links:r().arrayOf(r().shape({behavior:r().string,label:r().string.isRequired,url:r().string,network:r().string})),tagCloud:r().shape({tags:r().arrayOf(r().shape({tag:r().string.isRequired,url:r().string})),sectionHeader:r().string})}))}).isRequired).isRequired,onBeforeRedirect:r().func,recircInteractionAnalytics:r().func,showCropViewOnMobile:r().bool,variations:r().shape({shouldOpenInSameTab:r().bool,shouldUseItemDangerousDek:r().bool,shouldUseItemDangerousHed:r().bool})},u.displayName="GalleryRecircCards";const p=u;p.CaptionContestRecirc=(0,i.y)(p,"CaptionContestRecirc",{shouldOpenInSameTab:!0,shouldUseItemDangerousDek:!0,shouldUseItemDangerousHed:!0},{isEndOfPageRecirc:!1});const g=p,h=(0,o.y)(g,"GalleryRecircCards")},77346:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(13465),i=n(31581),a=n(47655),r=n(82103);r.A.displayName="SectionHeader",r.A.SubHedToggleChips=(0,a.y)(r.A,"SubHedToggleChips",{showSubHedToggleChips:!0});const s=r.A,l=(0,i.N)((0,o.y)(s,"SectionHeader"))},77630:(e,t,n)=>{n.d(t,{Ao:()=>re,BI:()=>ve,Bl:()=>Ie,Ci:()=>Z,E9:()=>Oe,FT:()=>X,GI:()=>G,Lh:()=>De,PH:()=>M,Rx:()=>te,S6:()=>be,TB:()=>U,TH:()=>Q,VV:()=>ie,YS:()=>qe,Yq:()=>ce,Zp:()=>Y,Zq:()=>Be,_e:()=>q,ak:()=>ne,dG:()=>J,gs:()=>z,lR:()=>He,mS:()=>W,mW:()=>Ke,mk:()=>F,n9:()=>Pe,q7:()=>_e,qQ:()=>ue,rb:()=>me,sl:()=>j,xQ:()=>Ne});var o=n(38267),i=n(76955),a=n(96472),r=n(55058),s=n(52813),l=n(49829),d=n(40653),c=n(10246),m=n(26865),u=n(12972),p=n(88456),g=n(50152),h=n(55976),y=n(48188),b=n(34520),f=n(81591),w=n(50531),$=n(56341),v=n(1123),C=n(7228),k=n(71862),x=n(89085),E=n(82552),A=n(32788),S=n(17514),L=n(20320),T=n(26348),N=n(89635);const H=(0,m.Kq)(8),I=(0,m.Kq)(6),B=(0,m.Kq)(9),O=o.i7` 0% { height: 0; } 100% { height: ${N.zs}px; } `,_=o.i7` 0% { height: ${N.zs}px; } 100% { height: 0; } `,K=o.i7` 0% { height: 0; } 100% { height: ${N.HS}px; } `,P=o.i7` 0% { height: ${N.HS}px; } 100% { height: 0; } `,D=e=>!!e&&`\n width: ${e.sm.width}px;\n height: ${e.sm.height}px;\n\n ${(0,m.H4)(a.LO.md)} {\n width: ${e.md.width}px;\n height: ${e.md.height}px;\n }\n\n ${(0,m.H4)(a.LO.lg)} {\n width: ${e.lg.width}px;\n height: ${e.lg.height}px;\n }\n\n ${(0,m.H4)(a.LO.xl)} {\n width: ${e.xl.width}px;\n height: ${e.xl.height}px;\n }\n\n ${(0,m.H4)(a.LO.xxl)} {\n width: ${e.xxl.width}px;\n height: ${e.xxl.height}px;\n }\n `,q=o.Ay.button.withConfig({displayName:"StackedNavigationSearchToggle"})` ${(0,s.xY)()}; display: flex; position: relative; align-items: center; justify-content: center; margin: 0; border-radius: 0; background-color: transparent; padding: 0; width: ${(0,m.Kq)(4)}; min-width: ${(0,m.Kq)(4)}; height: 100%; color: transparent; ${(0,m.H4)(a.LO.md)} { margin: 0 ${(0,m.Kq)(3)} 0 ${(0,m.Kq)(2)}; } `,M=o.Ay.div.withConfig({displayName:"StackedNavigationSearchToggleIcon"})` position: absolute; top: 0; right: 0; bottom: 0; left: 0; ${({theme:e})=>`background-image: url('/verso/static/${e.meta.name}/assets/icons/search.svg')`}; background-repeat: no-repeat; background-position: center; background-size: ${(0,m.Kq)(3)} ${(0,m.Kq)(3)}; width: 100%; height: ${(0,m.Kq)(3)}; `,R=o.AH` position: relative; z-index: 2; border-bottom: 1px solid ${(0,m.HK)("colors.foundation.menu.dividers")}; && { width: 100%; } `,F=(0,o.Ay)(p.A.Utility).withConfig({displayName:"StackedNavigationSearch"})` ${(0,l.W)()}; grid-column: 12 / -1; justify-self: flex-end; transition: opacity 0.3s ease-in-out; &&&& .icon-search, &&&& .icon-close { transform: scale(0.5); } ${({shouldUseLightIconTheme:e,theme:t})=>e&&o.AH` .icon-close > g { stroke: ${(0,m.HK)(t,"colors.interactive.base.light")}; } `}; ${({enableEnhancedSearch:e,theme:t})=>e&&o.AH` .icon-close > g { ${(0,m._o)(t,"stroke",(0,m.iq)(t)?"colors.interactive.base.light":"colors.interactive.base.black")}; } `}; `,U=(0,o.Ay)(i.sH).withConfig({displayName:"StackedNavigationProfileLink"})` ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.foundation.meta-secondary")}; position: absolute; right: 20px; align-self: center; z-index: 0; `,V=o.AH` ${u.M8} { ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.foundation.link-primary")}; } ${u.M8}, ${u.SE} { ${({shouldUseCustomStyle:e})=>e&&"font-size: 14px;"} } ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.foundation.link-primary")}; min-width: ${(0,m.Kq)(5)}; `,G=o.Ay.div.withConfig({displayName:"StackedNavigationSectionMobileOption"})` display: flex; ${({hasLeftMarginOnMobile:e})=>e&&`margin-left: ${(0,m.Kq)(-3)};`} ${u.W9} { margin: 0; } ${u.J$} { display: flex; align-items: center; padding: 0; } ${V} `,W=o.Ay.div.withConfig({displayName:"StackedNavigationSectionPrimaryLinks"})` margin: 0 auto; width: max-content; && { display: none; grid-row: 2 / 3; justify-content: center; z-index: 1; } ${u.J$} { &:last-child { margin-right: 0; } display: flex; align-items: center; padding: 0; } ${u.W9} { margin: 0; } ${V} `,j=o.Ay.div.withConfig({displayName:"StackedNavigationSearchBarWrapper"})` width: 100%; input { &[type='search'] { ${({theme:e})=>`border: 1px solid;\n ${(0,m._o)(e,"border-color","colors.interactive.base.dark")};\n `} border-radius: 0; appearance: none; } } ${({enableEnhancedSearch:e})=>e&&`\n ${(0,m.L7)(a.LO.md)} {\n margin-top: 0;\n padding: 4px 0;\n } \n ${T.Fw} {\n background: none;\n }\n `} `,z=o.Ay.div.withConfig({displayName:"StackedNavigationScrollingSection"})` && { display: none; ${(0,m.H4)(a.LO.lg)} { padding: 0 ${(0,m.Kq)(4)} 0 ${(0,m.Kq)(6)}; } ${(0,m.H4)(a.LO.xxl)} { padding: 0 ${(0,m.Kq)(6)} 0 ${(0,m.Kq)(8)}; } } ${u.J$} { &:last-child { margin-right: 0; } display: flex; padding: 0; } ${({hasScrollingNavigationContentCenterAligned:e})=>e&&`&& {\n justify-content: center;\n ${(0,m.H4)(a.LO.lg)} {\n padding: 0 ${(0,m.Kq)(4)};\n }\n ${(0,m.H4)(a.LO.xxl)} {\n padding: 0 ${(0,m.Kq)(6)};\n }\n }`} ${(0,m.H4)(a.LO.lg)} { padding: 0 0 0 ${(0,m.Kq)(2)}; } ${j} { max-width: ${(0,m.Kq)(58.75)}; ${(0,m.H4)(a.LO.xxl)} { margin: 0 0 0 ${(0,m.Kq)(6)}; } } ${u.W9} { flex-wrap: nowrap; margin: 0; } ${V} ${({theme:e})=>`border-bottom: 1px solid;\n ${(0,m._o)(e,"border-color","colors.foundation.menu.dividers")};\n `} `,Y=(0,o.Ay)(g.A).withConfig({displayName:"StackedNavigationSectionUtilityLinksLogin"})` ${k.Z_} { ${({theme:e})=>(0,m.pe)(e,"colors.foundation.collapsed-menu.utility-link.default","colors.foundation.collapsed-menu.utility-link.hover","navigation")}; } ${k.Gy} { margin-top: ${(0,m.Kq)(0)}; } &.standard-navigation-account { ${(0,m.H4)(a.LO.md)} { margin-right: ${(0,m.Kq)(2)}; } position: relative; height: 100%; } &&.standard-navigation-account-with-avatar { ${(0,m.H4)(a.LO.md)} { margin-right: 0; } ${(0,m.H4)(a.LO.lg)} { margin-right: -${(0,m.Kq)(.6)}; height: ${(0,m.Kq)(5)}; } } ${k.Z_} { ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.foundation.link-utility")}; display: flex; align-items: center; cursor: pointer; height: 100%; &::after { position: absolute; right: 0; bottom: -15px; width: 220px; height: 15px; content: ''; } &:hover { ${k.vs} { display: block; } .icon-chevron path { fill: ${({theme:e})=>(0,m.HK)((0,m.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.utility-link.hover")}; } } } `,X=(0,o.Ay)("div").withConfig({displayName:"StackedNavigationBottom"})` ${(0,x.universalGridCore)()} ${(0,v.VO)()} && { position: relative; grid-column: 1/-1; grid-row: 1/-1; grid-template-columns: ${(0,m.Kq)(6)} auto ${(0,m.Kq)(6)}; } && { width: 100%; max-width: 100%; } &&& { ${({mobileLogoAlignment:e})=>"left"===e&&`grid-template-columns: ${(0,m.Kq)(4)} auto 1fr;`} ${(0,m.H4)(a.LO.md)} { grid-template-columns: inherit; } } .consumer-marketing-unit { display: none; } ${({hasScrollingNavigation:e})=>e?o.AH` && { row-gap: ${(0,m.Kq)(1)}; } ${j} { grid-column: 1 / -1; } `:""} `,Z=o.Ay.div.withConfig({displayName:"StackedNavigationSectionLogo"})` display: flex; grid-column: 2 / span 1; align-items: center; justify-content: center; opacity: 1; margin: auto; min-width: ${(0,m.Kq)(6)}; max-width: ${(0,m.Kq)(26)}; ${(0,m.H4)(a.LO.md)} { grid-column: 5 / span 4; } ${(0,m.H4)(a.LO.xl)} { opacity: 0; z-index: -1; } ${C.BF} { max-height: ${(0,m.Kq)(6)}; ${({headerLogo:e,navigationTheme:t,theme:n})=>{if("standard"===t){return`content: url(${e?.sources?.sm?.url||`/verso/static/${n.meta.name}/assets/logo-header.svg`});`}return""}} ${({shouldUseCustomStyle:e})=>e&&`\n max-height: none;\n height: ${(0,m.Kq)(4,"px")};`} ${({shouldShow100AnnivLogo:e})=>e&&`\n width: ${(0,m.Kq)(19.438)};\n height: ${(0,m.Kq)(1.75)};\n `} } ${V} ${({hasOnlyMenuToRight:e})=>e&&`\n grid-row: 1;\n ${(0,m.Xm)(a.LO.md,a.LO.lg)} {\n padding-left: ${(0,m.Kq)(4)};\n }\n `} ${({hasOnlyMenuToRight:e})=>e&&"grid-row: 1;"} `,J=(0,o.Ay)(p.A.Utility).withConfig({displayName:"StackedNavigationDrawerToggle"})` ${({theme:e})=>(0,$.j)(e,!0)} ${({hasOnlyMenuToRight:e})=>e&&"justify-content: flex-end;"} .icon-menu { margin: 8px; width: initial; height: initial; } .icon-close { padding: 8px; } .icon-menu { fill: ${({theme:e})=>(0,m.HK)(e,(0,m.iq)(e)?"colors.consumption.lead.inverted.link":"colors.foundation.collapsed-menu.nav-link.default")}; &:hover, &:focus { fill: ${({theme:e})=>(0,m.HK)(e,"colors.foundation.collapsed-menu.nav-link.hover")}; } } `,Q=o.Ay.div.withConfig({displayName:"StackedNavigationDrawer"})` && { transition: none; } grid-column: 1/2; margin-right: auto; height: inherit; ${({hasOnlyMenuToRight:e})=>e&&`grid-row: 1;\n ${(0,m.H4)(a.LO.sm)} {\n grid-column: 3;\n margin-right: 0;\n }\n ${(0,m.H4)(a.LO.md)} {\n grid-column: 12;\n }\n ${(0,m.H4)(a.LO.lg)} {\n grid-column: 3;\n margin-left: 0;\n margin-right: 1.5rem;\n }`} ${({showNavigationDrawerOnTopInDesktop:e})=>e&&`${(0,m.H4)(a.LO.md)} {\n ${w.eM} {\n padding: ${(0,m.Kq)(2)};\n }\n\n ${S.S2} {\n display: none;\n }\n }\n ${(0,m.Xm)(a.LO.md,`${r.VS.lg}px`)} {\n display: grid;\n grid-column: 1 / span 3;\n align-content: center;\n }`} `,ee=o.AH` display: flex; align-items: center; transition: opacity 0.3s ease-in-out; .navigation__link { ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.foundation.link-primary")}; } ${u.W9} { margin: 0; } ${u.J$} { display: flex; align-items: center; padding: 0; ${({hasOnlyMenuToRight:e})=>e&&"margin-right: 0;"} } `,te=o.Ay.div.withConfig({displayName:"StackedNavigationTop"})` display: none; grid-column: 1/-1; grid-row: 1/2; grid-template-columns: ${(0,m.Kq)(34)} auto ${(0,m.Kq)(34)}; div[class*='StackedNavigationDrawer-'] .button__icon-container .icon-close g { stroke: ${({theme:e})=>(0,m.HK)(e,"colors.foundation.collapsed-menu.nav-link.default")}; } `,ne=(0,o.Ay)(i.sH).withConfig({displayName:"StackedNavigationSectionMobileOptionLink"})` margin-right: ${(0,m.Kq)(2)}; ${({hasNoRightMarginforSm:e})=>e&&o.AH` ${(0,m.H4)(a.LO.sm)} { margin-right: 0; } `} &:link { ${({theme:e})=>`${(0,m._o)(e,"color","colors.foundation.collapsed-menu.nav-link.default")};`} } `,oe=o.AH` ${ne} { ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.foundation.link-primary")}; } .consumer-marketing-unit--mob-nav-cta { position: absolute; right: ${(0,m.Kq)(2)}; width: 80px; ${(0,m.H4)(a.LO.md)} { right: ${(0,m.Kq)(4)}; } } `,ie=o.Ay.div.withConfig({displayName:"StackedNavigationConsumerMarketingUnitWrapper"})``,ae=o.AH` ${ie} { .nav-cta__component, .consumer-marketing-unit--nav-cta { &:hover, &:focus, &:focus-within { ~ .consumer-marketing-unit--nav-rollover, ~ .nav-rollover__component > div { ${A.Rw} } } } .consumer-marketing-unit--nav-cta { ~ ${u.M8}:hover, ~ ${u.SE}:hover { text-decoration: none; } &:hover, &:focus-within, &:focus { ~ ${u.M8}, ~ ${u.SE} { color: ${(0,m.HK)("colors.foundation.collapsed-menu.nav-link.hover")}; } } } .consumer-marketing-unit--nav-rollover:hover, .consumer-marketing-unit--nav-rollover:focus, .consumer-marketing-unit--nav-rollover:focus-within { ${A.Rw} } .consumer-marketing-unit--nav-rollover { ${A.Er} display: none; top: ${(0,m.Kq)(7)}; align-items: center; justify-content: center; z-index: ${a.KV.navFixed}; @media (min-width: ${a.LO.md}) { display: flex; } } .consumer-marketing-unit--nav-dialog { position: absolute; top: ${(0,m.Kq)(7)}; right: 0; transform: translateY(0); z-index: ${a.KV.navFixed}; } } nav { &.navigation--horizontal { .consumer-marketing-unit--nav-rollover { top: ${(0,m.Kq)(4)}; } } } `,re=o.Ay.div.withConfig({displayName:"StackedNavigationSectionUtilityLinks"})` ${f.H} { &:hover { text-decoration: none; } } display: flex; grid-column: 3/-1; align-items: center; transition: opacity 0.3s ease-in-out; margin-left: auto; ${({hasOnlyMenuToRight:e})=>e&&"grid-column: 1 / 3; margin-left: 0;"} ${({hasSearchBarInSecondRow:e})=>e&&o.AH` ${(0,m.H4)(a.LO.lg)} { padding-right: ${(0,m.Kq)(4)}; } ${(0,m.H4)(a.LO.xxl)} { padding-right: ${(0,m.Kq)(6)}; } `} ${u.J$} { display: flex; position: relative; align-items: center; margin-right: ${(0,m.Kq)(2)}; padding: 0; ${({hasOnlyMenuToRight:e})=>e&&"margin-right: 0;"} } ${u.W9} { display: none; margin: 0; ${(0,m.H4)(a.LO.lg)} { display: flex; } ${({hasOnlyMenuToRight:e})=>e&&`display: flex; margin-left: ${(0,m.Kq)(2)}`} } ${(0,m.H4)(a.LO.md)} { grid-column: 10/-1; } ${V} .consumer-marketing-unit--nav-cta { ${({adOverlay:e})=>e&&o.AH` ${oe} & { position: absolute; top: 50%; right: ${(0,m.Kq)(2)}; transform: translateY(-50%); margin: 0; cursor: pointer; width: 115; ~ ${u.M8}:hover { text-decoration: none; } &:hover, &:focus, &:focus-within { ~ .navigation__link { color: ${({theme:e})=>(0,m.HK)(e,"colors.foundation.collapsed-menu.nav-link.hover")}; } } } `} .consumer-marketing-unit--nav-rollover:hover, .consumer-marketing-unit--nav-rollover:focus, .consumer-marketing-unit--nav-rollover:focus-within { ${A.Rw} } .consumer-marketing-unit--nav-rollover { ${A.Er} display: none; align-items: center; justify-content: center; ${(0,m.H4)(a.LO.md)} { display: flex; } } .consumer-marketing-unit--nav-dialog { position: absolute; right: 0; transform: translateY(-14px); z-index: ${a.KV.navFixed}; } } ${ae} ${E.N} { padding: 0; @media (min-width: ${a.LO.md}) and (max-width: ${a.LO.lg}) { padding-right: ${(0,m.Kq)(2)}; } } ${({showAccountAfterNavCta:e})=>e&&o.AH` ${(0,m.H4)(a.LO.lg)} { ${Y} { margin-right: 0; } ${E.N} { padding-right: ${(0,m.Kq)(2)}; } } `} .consumer-marketing-unit--nav-rollover { ${({shouldUseCustomStyle:e})=>e&&`left: ${(0,m.Kq)(18)};`} } .nav-rollover__component > div { ${({shouldUseCustomStyle:e})=>e&&`left: ${(0,m.Kq)(0)};`} } `,se=o.AH` &${R} { background: ${(0,m.HK)("colors.foundation.menu-bg.collapsed")}; } ${U} { ${({theme:e})=>(0,m.pe)(e,"colors.interactive.base.brand-primary","colors.interactive.base.brand-secondary","navigation")}; } ${W}, ${z} { .navigation__link { ${({theme:e})=>(0,m.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.collapsed-menu.nav-link.hover","navigation")}; } } ${re} { .navigation__link { ${({theme:e})=>(0,m.pe)(e,"colors.foundation.collapsed-menu.utility-link.default","colors.foundation.collapsed-menu.utility-link.hover","navigation")}; } .sign-out-button { &:hover { text-decoration: none; color: ${({utilityNavLinkColorToken:e})=>e?(0,m.HK)(e):""}; } } } ${Y} { ${k.Z_} { ${({theme:e})=>(0,m.pe)(e,"colors.foundation.collapsed-menu.utility-link.default","colors.foundation.collapsed-menu.utility-link.hover","navigation")}; } } `,le=o.AH` ${(0,m.H4)(a.LO.lg)} { ${({hasScrollingNavigation:e,shouldReduceStackedNavigationHeaderHeight:t,isDrawerOpen:n,hasSearchBarInSecondRow:i})=>{if(e){const e=i?`height: ${(0,m.Kq)(23)}`:`height: ${(0,m.Kq)(20)}`;return o.AH` &&& { ${e}; } `}return n?o.AH` &&& { height: ${(0,m.Kq)(14)}; } `:t?o.AH` &&& { height: ${(0,m.Kq)(8)}; } `:o.AH` &&& { height: ${(0,m.Kq)(20)}; } `}} } `,de=o.AH` justify-content: center; margin: auto; ${(0,m.H4)(a.LO.lg)} { ${te} { height: ${(0,m.Kq)(14)}; ${({shouldReduceStackedNavigationHeaderHeight:e})=>e&&`height: ${(0,m.Kq)(8)};`} } ${W} { height: ${(0,m.Kq)(6)}; } ${z} { height: ${B}; ${({hasSearchBarInSecondRow:e})=>!e&&`height: ${I};\n ${L.BY} {\n height: ${I};\n }\n `} } &&& { ${re} { top: ${(0,m.Kq)(5)}; ${({hasScrollingNavigation:e})=>e&&`top: ${(0,m.Kq)(6)};`} ${({hasOnlyMenuToRight:e})=>e&&`top: ${(0,m.Kq)(6.5)};`} ${({hasUtilityLinksCenterAlign:e})=>e&&`\n height: inherit;\n top: ${(0,m.Kq)(0)};\n `} } } ${C.BF} { ${({shouldReduceStackedNavigationHeaderHeight:e})=>e&&"height: 44px;"} } } `,ce=(0,o.Ay)(h.A).withConfig({displayName:"LinkBannerStackedNavigation"})` @media (max-width: ${r.VS.lg}px) { border-top: 1px solid ${(0,m.HK)("colors.foundation.menu.dividers")}; } ${({showOnMobile:e})=>void 0!==e&&o.AH` ${(0,m.L7)(`${r.VS.lg}px`)} { display: ${e?"block":"none"}; } `} ${({hasLinkbannerCrossSlideAnimation:e,isScrolled:t,showOnMobile:n})=>e?o.AH` ${(0,m.H4)(a.LO.lg)} { overflow: hidden; ${t?o.AH` animation: ${O} 0.3s cubic-bezier(0, 0.59, 0.32, 1) forwards; `:o.AH` animation: ${_} 0.3s cubic-bezier(0, 0.59, 0.32, 1) forwards; `} } ${(0,m.L7)(`${r.VS.lg}px`)} { overflow: hidden; ${n?o.AH` animation: ${K} 0.3s cubic-bezier(0, 0.59, 0.32, 1) forwards; `:o.AH` animation: ${P} 0.3s cubic-bezier(0, 0.59, 0.32, 1) forwards; `} } `:""} `,me=o.Ay.div.withConfig({displayName:"StackedNavigationGridDivider"})` display: none; border-bottom: 1px solid; ${({theme:e})=>(0,m._o)(e,"border-color","colors.foundation.menu.dividers")}; width: 100%; height: 1px; ${({isDrawerOpen:e,hasDividerInMobileView:t})=>e&&t&&`\n ${(0,m.L7)(a.LO.lg)} {\n display: block;\n }\n `} `,ue=(0,o.Ay)("div").withConfig({displayName:"StackedNavigationGrid"})` ${(0,x.universalGridCore)()} ${(0,v.VO)()} && { position: relative; grid-row-gap: 0; width: 100%; max-width: 100%; } ${({enableEnhancedSearch:e,theme:t})=>e&&`border-bottom: 1px solid ${(0,m.HK)(t,(0,m.iq)(t)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")};\n `} ${(0,m.H4)(a.LO.lg)} { ${({shouldReduceStackedNavigationHeaderHeight:e})=>e&&`&&& {\n height: ${(0,m.Kq)(8)};\n }`} ${({collapseHeightWhenDrawerOpen:e})=>e&&`&&& {\n height: ${(0,m.Kq)(8)};\n ${W},\n ${re} {\n display: none;\n }\n }`} } ${({isNavigationActiveState:e})=>e&&"&&&& {\n height: 100%;\n }"} ${({xlLogoVisible:e})=>e&&o.AH` ${le} ${de} `} `,pe=o.AH` top: 0; ${z} { display: none; } ${({hasLinkbannerCrossSlideAnimation:e})=>e?"":o.AH` ${W} { display: none; } ${ue} { @media (min-width: ${a.LO.lg}) { height: ${(0,m.Kq)(8)}; } } `} ${ce} `,ge=o.AH` top: 0; ${({hasLinkbannerCrossSlideAnimation:e})=>e?"":o.AH` ${ue} { @media (min-width: ${a.LO.lg}) { height: ${(0,m.Kq)(8)}; } } `} ${ce} `,he=o.AH` ${(0,m.H4)(a.LO.xl)} { ${X} { .consumer-marketing-unit { display: flex; } ${Z} { display: flex; grid-column: 5 / span 4; } } ${Q} { position: absolute; top: 0; bottom: 0; left: 0; } ${Z} { opacity: 1; z-index: initial; } } `,ye=o.AH` ${(0,m.H4)(a.LO.xl)} { ${Q} { position: inherit; margin-right: 1.5rem; margin-left: 0; } } `,be=(0,o.Ay)(y.A.Horizontal).withConfig({displayName:"StackedNavigationNavigationPrimaryLink"})` transition: opacity 0.3s ease-in-out; ${u.J$} { margin-right: ${(0,m.Kq)(2)}; } ${u.M8} { ${({shouldUseCustomStyle:e})=>e&&"font-size: 14px;"} } `,fe=o.AH` display: flex; align-items: center; justify-content: center; margin: auto; min-width: ${(0,m.Kq)(20)}; max-width: 100%; ${({headerLayout:e,headerLogo:t,scrollingHeaderLogoDim:n,isHomepage:i,theme:r,hasTopStory:s,shouldShow100AnnivLogo:l,isScrolled:d=!1})=>{if("fixed-header-layout"===e){const e=t?.sources?.sm?.url||`/verso/static/${r.meta.name}/assets/logo.svg`;return o.AH` ${C.BF} { ${d&&i&&n?D(n?.sources):`${(0,m.H4)(a.LO.lg)} {\n width: 128px;\n height: ${i&&d?32:30}px;\n }`} ${(0,m.H4)(a.LO.lg)} { ${({navigationTheme:t})=>"standard"===t&&`content: url(${e});`} ${({shouldUseCustomStyle:e})=>e&&"height: 40px;"} } ${s&&o.AH` ${(0,m.H4)(a.LO.lg)} { height: ${(0,m.Kq)(5)}; } `} ${l&&o.AH` ${(0,m.H4)(a.LO.lg)} { width: ${(0,m.Kq)(33.32)}; height: ${(0,m.Kq)(3)}; } `} } `}return""}} `,we=o.AH` .navigation__link { ${({theme:e})=>(0,m.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.collapsed-menu.nav-link.hover","navigation")}; } ${ee} justify-content: center; margin: auto; min-width: ${(0,m.Kq)(38)}; max-width: 100%; ${({headerLayout:e,logoSize:t,shouldShow100AnnivLogo:n})=>"fixed-header-layout"===e&&"xlarge"===t?`\n ${C.BF} {\n width: ${(0,m.Kq)(26.25)};\n height: ${(0,m.Kq)(6.125)};\n\n ${(0,m.H4)(a.LO.lg)} {\n width: ${(0,m.Kq)(37.5)};\n height: ${(0,m.Kq)(8.75)};\n\n ${n&&o.AH` width: ${(0,m.Kq)(33.32)}; height: ${(0,m.Kq)(3)}; `}\n }\n `:""} ${({shouldUseCustomStyle:e})=>e&&`\n height: 52px;\n @media (min-width: ${a.LO.md}) and (max-width: ${a.LO.lg}) {\n height: 52px;\n }`} `,$e=o.AH` .navigation__link { ${({theme:e})=>(0,m.pe)(e,"colors.foundation.collapsed-menu.nav-link.default","colors.foundation.collapsed-menu.nav-link.hover","navigation")}; } ${ee} justify-content: center; margin: auto; min-width: ${(0,m.Kq)(38)}; max-width: 100%; ${({headerLayout:e,headerLogoDim:t})=>{const{sources:n}=t;return"fixed-header-layout"===e&&n?`\n ${C.BF} {\n ${D(n)}\n }\n `:""}} `,ve=o.Ay.div.withConfig({displayName:"StackedNavigationSectionLogoSize"})` ${({logoSize:e,headerLogoDim:t,isScrolled:n,isHomepage:o})=>t&&!o||t&&!n?$e:"large"===e?fe:we} `,Ce=o.AH` &, *, ${k.bL}, ${k.Z_} { ${({hasTopStory:e,hasLinkbannerCrossSlideAnimation:t})=>e?"\n transition: background-color 0.1s cubic-bezier(0,.59,.32,1), color 0.1s cubic-bezier(0,.59,.32,1),\n fill 0.1s cubic-bezier(0,.59,.32,1), border-bottom-color 0.1s cubic-bezier(0,.59,.32,1),\n border-bottom 0.1s cubic-bezier(0,.59,.32,1), border-color 0.1s cubic-bezier(0,.59,.32,1),\n height 0.1s cubic-bezier(0,.59,.32,1), top 0.1s cubic-bezier(0,.59,.32,1);\n ":t?"\n transition: background-color 0.3s cubic-bezier(0,.59,.32,1), color 0.3s cubic-bezier(0,.59,.32,1),\n fill 0.3s cubic-bezier(0,.59,.32,1), border-bottom-color 0.3s cubic-bezier(0,.59,.32,1),\n border-bottom 0.3s cubic-bezier(0,.59,.32,1), border-color 0.3s cubic-bezier(0,.59,.32,1),\n height 0.3s cubic-bezier(0,.59,.32,1), top 0.3s cubic-bezier(0,.59,.32,1);\n ":"\n transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out,\n fill 0.3s ease-in-out, border-bottom-color 0.3s ease-in-out,\n border-bottom 0.3s ease-in-out, border-color 0.3s ease-in-out,\n height 0.3s ease-in-out, top 0.3s ease-in-out;\n "} } &${R} { border-bottom: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); ${({shouldUseCustomStyle:e})=>e&&"box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);"} ${({hasTopStory:e})=>e&&"box-shadow: none;"} &.stacked-navigation--hidden-shadow { box-shadow: none; } } &.stacked-navigation--hidden-shadow.stacked-navigation--is-scrolled { & ${te} { border-bottom: none; } } ${({hasLinkBanner:e,hasLinkbannerCrossSlideAnimation:t,hideNavWhenLinkBannerEnabled:n,xlLogoVisible:o,isDrawerOpen:i,hasSearchBarInSecondRow:r})=>{const s=r?B:I;return!e||t?`\n ${W} {\n align-items: center;\n height: ${(0,m.Kq)(6)};\n overflow: hidden;\n\n ${(0,m.H4)(a.LO.lg)} {\n display: flex;\n }\n }\n\n ${z} {\n align-items: center;\n height: ${s};\n overflow: hidden;\n\n ${(0,m.H4)(a.LO.lg)} {\n display: flex;\n }\n }\n `:e&&!n?`\n && {\n ${W} {\n align-items: center;\n height: ${(0,m.Kq)(8)};\n overflow: hidden;\n ${(0,m.H4)(a.LO.sm)} {\n height: 0;\n }\n ${(0,m.H4)(a.LO.lg)} {\n display: flex;\n height: ${(0,m.Kq)(8)};\n }\n }\n ${!o&&!i&&ue} {\n @media (min-width: ${a.LO.lg}) {\n height: ${(0,m.Kq)(14)};\n }\n }\n ${z} {\n align-items: center;\n height: ${s};\n overflow: hidden;\n z-index: 40;\n\n ${(0,m.H4)(a.LO.lg)} {\n display: flex;\n }\n }\n }\n `:""}} ${be} { margin: ${(0,m.Kq)(2)} 0; } ${(0,m.H4)(a.LO.lg)} { ${j} { margin: ${(0,m.Kq)(2)} 0 ${(0,m.Kq)(2)} auto; } } ${j} { ${(0,m.L7)(a.LO.md)} { ${({hasBoxShadowInMobile:e,isDrawerOpen:t})=>e&&!t&&o.AH` border-bottom: 1px solid ${(0,m.HK)("colors.foundation.menu.dividers")}; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); `} } } ${({hasSearchBarInSecondRow:e})=>e?o.AH` ${ue} { height: ${(0,m.Kq)(14)}; ${(0,m.H4)(a.LO.lg)} { height: ${(0,m.Kq)(17)}; } } `:o.AH` ${ue} { height: ${(0,m.Kq)(7)}; ${(0,m.H4)(a.LO.lg)} { height: ${(0,m.Kq)(14)}; } } `} ${({isScrolled:e,isContentHeaderVisible:t,hasLinkBanner:n,hasLinkbannerCrossSlideAnimation:i,enableMobileLinkBannerScroll:s,showSecondRowOnScroll:l,showPrimaryNavOnScroll:d,journeyRibbonHeight:c})=>e&&n&&c>0?o.AH` ${!s&&!d&&`\n ${ue} {\n ${(0,m.L7)(`${r.VS.lg}px`)} {\n height: 0;\n overflow: hidden;\n }\n }\n `} ${ue} { ${s&&!t&&`\n ${(0,m.L7)(`${r.VS.lg}px`)} {\n height: 0;\n overflow: hidden;\n transition: top 0.5s ease-in-out;\n }\n `} } && { ${W}, ${z}, ${z} ${L.BY} { transition: height 0.3s ease-in-out; height: 0; } ${i&&o.AH` ${W} { transition: height 0.3s cubic-bezier(0, 0.59, 0.32, 1); } `} ${ue} { ${(0,m.H4)(a.LO.lg)} { height: ${(0,m.Kq)(8)}; } } } `:e&&n?o.AH` ${!s&&!d&&`\n ${(0,m.L7)(`${r.VS.lg}px`)} {\n top: -${(0,m.Kq)(7)};\n transition: top 0.5s ease-in-out;\n }`} ${ue} { ${s&&!t&&`\n ${(0,m.L7)(`${r.VS.lg}px`)} {\n height: 0;\n overflow: hidden;\n }\n `} } && { ${W}, ${z}, ${z} ${L.BY} { transition: height 0.3s ease-in-out; height: 0; } ${i&&o.AH` ${W} { transition: height 0.3s cubic-bezier(0, 0.59, 0.32, 1); } `} ${ue} { ${(0,m.H4)(a.LO.lg)} { height: ${(0,m.Kq)(8)}; } } } `:e&&!l&&o.AH` ${W}, ${z}, ${z} ${L.BY} { transition: height 0.3s ease-in-out; height: 0; } ${i&&o.AH` ${W} { transition: height 0.3s cubic-bezier(0, 0.59, 0.32, 1); } `} ${ue} { ${(0,m.H4)(a.LO.lg)} { height: ${(0,m.Kq)(8)}; } } `} & ${te} { border-bottom: 1px solid ${(0,m.HK)("colors.foundation.menu.dividers")}; height: ${H}; ${({shouldReduceStackedNavigationHeaderHeight:e})=>e&&"border-bottom: 0px !important;"} ${(0,m.H4)(a.LO.lg)} { display: grid; } } & ${X} { height: ${(0,m.Kq)(7)}; ${({hasTopStory:e,isDrawerOpen:t})=>e&&t&&o.AH` border-bottom: 1px solid ${(0,m.HK)("colors.foundation.menu.dividers")}; `} @media (min-width: 0) and (max-width: ${r.VS.md}px) { grid-template-columns: ${(0,m.Kq)(11)} auto ${(0,m.Kq)(11)}; ${({hasOnlyMenuToRight:e})=>e&&`\n grid-template-columns: ${(0,m.Kq)(16)} auto ${(0,m.Kq)(16)};\n column-gap: 0;\n `} } ${(0,m.H4)(a.LO.lg)} { display: none; } } ${re} { ${(0,m.H4)(a.LO.lg)} { position: absolute; top: ${(0,m.Kq)(1.75)}; right: 0; grid-column: 3/-1; ${({hasScrollingNavigation:e})=>e&&`top: ${(0,m.Kq)(3)};`} ${({hasOnlyMenuToRight:e})=>e&&`\n top: ${(0,m.Kq)(3)};\n right: auto;\n left: ${(0,m.Kq)(3)};\n grid-column: 1 / 4;\n `} ${({hasUtilityLinksCenterAlign:e})=>e&&`\n height: inherit;\n top: ${(0,m.Kq)(0)};\n `} } } .consumer-marketing-unit--nav-cta, .consumer-marketing-unit--mob-nav-cta { line-height: 0; } .consumer-marketing-unit--nav-rollover, .nav-rollover__component > div { top: calc(${(0,m.Kq)(8)} - ${(0,m.Kq)(2)}); right: ${(0,m.Kq)(9)}; z-index: ${a.KV.navFixed}; ${({hasUtilityLinksCenterAlign:e,xlLogoVisible:t})=>e&&t&&o.AH` top: ${(0,m.Kq)(11)}; `} ${({showAccountAfterNavCta:e})=>e&&o.AH` right: ${(0,m.Kq)(23)}; `} } .consumer-marketing-unit--nav-dialog { top: ${(0,m.Kq)(6)}; } ${Y} { ${k.vs} { top: calc(${(0,m.Kq)(8)} - ${(0,m.Kq)(4)}); } ${k.vs}.account-dropdown__avatar-links { top: ${(0,m.Kq)(6.4)}; right: ${(0,m.Kq)(-1.5)}; width: max-content; &::before { content: none; } ${(0,m.H4)(a.LO.lg)} { top: ${(0,m.Kq)(5.6)}; right: ${(0,m.Kq)(.2)}; } } } & ${G} { align-items: center; justify-content: flex-end; padding-right: ${(0,m.Kq)(2)}; ${(0,m.H4)(a.LO.md)} { grid-column: 10 / span 3; ${({hasOnlyMenuToRight:e})=>e&&"\n grid-column: 1 / span 3;"} } .consumer-marketing-unit { display: block; } ${({hasOnlyMenuToRight:e})=>e&&"grid-row: 1; justify-content: flex-start; padding-right: 0;"} } ${({hasLinkBanner:e})=>e&&pe} ${({xlLogoVisible:e})=>e&&de} `,ke=o.AH` &${R} { transition: transform 0.5s ease-in-out; } ${({isScrolled:e})=>e&&`\n &${he}{\n ${(0,m.H4)(a.LO.xl)} {\n transform: translateY(-130px);\n\n ${Z} {\n transition: opacity 0.5s ease-in-out;\n transition-delay: 0.3s;\n }\n\n ${W},\n ${te} {\n transform: translateY(-130px);\n opacity: 0;\n }\n }\n }\n `} ${te} { transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; ${(0,m.H4)(a.LO.xl)} { display: grid; } } ${W}, ${z} { align-items: center; transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; ${(0,m.H4)(a.LO.xl)} { display: flex; } } ${ue} { grid-template-rows: ${(0,m.Kq)(6)}; ${(0,m.H4)(a.LO.xl)} { grid-template-rows: ${(0,m.Kq)(16)} ${(0,m.Kq)(6)}; } } ${X} { ${(0,m.H4)(a.LO.xl)} { grid-row: 2/3; } } ${we}, ${fe} { ${C.BF} { width: auto; height: 100px; } } ${Y} { display: none; ${k.vs} { top: calc(${(0,m.Kq)(16)} - ${(0,m.Kq)(8)}); } ${(0,m.H4)(a.LO.lg)} { display: block; } } ${G} { display: none; } `,xe=o.AH` ${W} { grid-column: 4 / span 6; } ${z} { grid-column: 1 / -1; } `,Ee=o.AH` ${W} { grid-column: 2 / span 10; } ${z} { grid-column: 1 / -1; } `,Ae=(e,t)=>e?`\n &&& {\n ${te} {\n border-bottom: 1px solid ${(0,m.HK)(t,"colors.consumption.lead.inverted.divider")};\n }\n transition: border-bottom-width 0.5s ease-in-out;\n border-bottom-width: 0;\n }\n `:`\n &&& {\n ${te} {\n border-bottom: 1px solid;\n ${(0,m._o)(t,"border-bottom-color",(0,m.iq)(t)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")}\n }\n }\n `,Se=o.AH` ${({headerLayout:e,hasLinkBanner:t,isScrolled:n,theme:o})=>"fixed-header-layout"!==e||t?"fixed-header-layout"===e&&t?`${R} {\n ${ge} {\n border-bottom: none;\n\n ${ce} {\n @media (max-width: ${r.VS.md}px) {\n border-top: 1px solid ${(0,m.HK)(o,"colors.consumption.lead.inverted.divider")};\n }\n }\n }\n }\n ${Ae(n,o)}`:"":`\n &&& {\n ${R} {\n border-bottom: 1px solid\n ${(0,m.HK)(o,(0,m.iq)(o)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")};\n }\n }\n\n ${Ae(n,o)}\n `} ${R}, ${k.vs} { background: ${(0,m.HK)("colors.consumption.lead.inverted.background")}; } ${Y} { ${k.vs}.account-dropdown__avatar-links { border: 1px solid; ${({theme:e})=>(0,m._o)(e,"border-color","colors.background.dark")}; } ${k.Gy} { ${(0,m._o)("color","colors.interactive.base.white")}; } ${k.wG} { &:hover { background-color: ${(0,m.HK)("colors.interactive.base.dark")}; ${({theme:e})=>(0,m._o)(e,"border-color","colors.background.dark")}; } } ${k.of} { svg { align-self: center; path { fill: ${(0,m.HK)("colors.consumption.lead.inverted.link")}; } } &:hover, &:active, &:focus { svg path { background-color: ${(0,m.HK)("colors.interactive.base.dark")}; fill: ${(0,m.HK)("colors.consumption.lead.inverted.link")}; } } } } ${W}, ${re}, ${Y}, ${z} { .navigation__link, ${k.Z_} { ${({theme:e})=>(0,m.pe)(e,"colors.consumption.lead.inverted.link","colors.consumption.lead.inverted.link","navigation")}; } } ${k.vs} .account-links__navigation { ${u.J$} { &:hover { background-color: ${(0,m.HK)("colors.interactive.base.dark")}; } .navigation__link { ${({theme:e})=>(0,m.pe)(e,"colors.consumption.lead.inverted.link","colors.consumption.lead.inverted.link","navigation")}; &:hover { text-decoration: none; } } } .navigation__link { &:hover { text-decoration: none; } } } ${k.vs} { border: 1px solid ${(0,m.HK)("colors.consumption.lead.inverted.divider")}; ${f.H}.account-links__sign-out { &:hover { background-color: ${(0,m.HK)("colors.interactive.base.dark")}; text-decoration: none; color: ${(0,m.HK)("colors.consumption.lead.inverted.link")}; } } &::before { border-bottom-color: ${(0,m.HK)("colors.consumption.lead.inverted.background")}; } &::after { border-bottom-color: ${(0,m.HK)("colors.consumption.lead.inverted.divider")}; } } .standard-navigation-account--icon path { fill: ${({theme:e})=>(0,m.HK)(e,"colors.consumption.lead.inverted.link")}; } ${F}, ${J} { &, &:hover, &:focus { svg path { fill: ${({theme:e})=>(0,m.HK)(e,"colors.consumption.lead.inverted.link")}; } } } ${U} { ${({theme:e})=>(0,m.pe)(e,"colors.consumption.lead.inverted.link","colors.consumption.lead.inverted.link","navigation")}; } `,Le=o.AH` ${R} { background: transparent; } ${k.vs} { background: ${(0,m.HK)("colors.consumption.lead.inverted.background")}; } ${Y} { ${k.vs}.account-dropdown__avatar-links { border: 1px solid; ${({theme:e})=>(0,m._o)(e,"border-color","colors.background.dark")}; } ${k.Gy} { ${(0,m._o)("color","colors.interactive.base.white")}; } ${k.wG} { &:hover { background-color: ${(0,m.HK)("colors.interactive.base.dark")}; ${({theme:e})=>(0,m._o)(e,"border-color","colors.background.dark")}; } } ${k.of} { svg { align-self: center; path { fill: ${(0,m.HK)("colors.consumption.lead.inverted.link")}; } } &:hover, &:active, &:focus { svg path { background-color: ${(0,m.HK)("colors.interactive.base.dark")}; fill: ${(0,m.HK)("colors.consumption.lead.inverted.link")}; } } } } ${re} { .navigation__link, ${k.Z_} { ${({theme:e})=>(0,m.pe)(e,"colors.consumption.lead.inverted.link","colors.consumption.lead.inverted.link","navigation")}; } } ${k.vs} .account-links__navigation { ${u.J$} { &:hover { background-color: ${(0,m.HK)("colors.interactive.base.dark")}; } .navigation__link { ${({theme:e})=>(0,m.pe)(e,"colors.consumption.lead.inverted.link","colors.consumption.lead.inverted.link","navigation")}; &:hover { text-decoration: none; } } } .navigation__link { &:hover { text-decoration: none; } } } ${k.vs} { border: 1px solid ${(0,m.HK)("colors.consumption.lead.inverted.divider")}; .account-links__sign-out { &:hover { background-color: ${(0,m.HK)("colors.interactive.base.dark")}; text-decoration: none; } } &::before { border-bottom-color: ${(0,m.HK)("colors.consumption.lead.inverted.background")}; } &::after { border-bottom-color: ${(0,m.HK)("colors.consumption.lead.inverted.divider")}; } } .standard-navigation-account--icon path { fill: ${({theme:e})=>(0,m.HK)(e,"colors.consumption.lead.inverted.link")}; } ${F}, ${J} { &, &:hover, &:focus { svg path { fill: ${({theme:e})=>(0,m.HK)(e,"colors.consumption.lead.inverted.link")}; } } } `,Te=o.AH` ${F}, ${re}, ${be} { opacity: 0; } `,Ne=o.Ay.header.withConfig({displayName:"StackedNavigationHeader"})` ${({hasSEOSupport:e})=>e&&"\n z-index: 999; "} ${R} ${({navigationTheme:e})=>"inverted"===e?Se:"transparent"===e?Le:se} ${({isDrawerOpen:e})=>e&&Te} ${({isScrolled:e})=>e&&he} ${({isScrolled:e,hasOnlyMenuToRight:t})=>e&&t&&ye} ${({adOverlay:e})=>e&&oe} ${({primaryNavigationSize:e})=>"default"===e?xe:Ee} ${({hasLinkBanner:e})=>e&&pe} ${({headerLayout:e})=>"fixed-header-layout"===e?Ce:ke} `,He=o.Ay.div.withConfig({displayName:"StackedNavigationSectionCmUnitNavLeft"})` display: flex; align-items: center; justify-content: center; `,Ie=o.Ay.a.withConfig({displayName:"StackedNavigationLogoLink"})` width: 100%; height: 100%; .responsive-image { display: flex; justify-content: center; ${C.BF} { object-fit: contain; transition: all 0.3s ease-in-out; } } `,Be=(0,o.Ay)(b.A).withConfig({displayName:"StackedNavigationScrolledDrawer"})` ${({isScrolled:e,isOpen:t,fixedHeader:n,xlLogoVisible:o})=>e&&t?`padding-top: ${(0,m.Kq)(6)};`:o&&n&&t?`${(0,m.H4)(a.LO.lg)} {\n && {\n padding-top: ${(0,m.Kq)(12)};\n }\n }`:n&&t?`${(0,m.H4)(a.LO.xl)} {\n padding-top: ${(0,m.Kq)(12)};\n }`:t&&!e?`${(0,m.H4)(a.LO.xl)} {\n &&& {\n padding-top: ${(0,m.Kq)(22)};\n }\n\n }`:""} ${({cropWidth:e})=>e?`width: calc(100% - ${(0,m.Kq)(8)});`:""} ${({journeyRibbonHeight:e})=>`margin-top: ${e}px;`} ${({hasSearchBarInSecondRow:e})=>e?"":`\n ${c.XU} ${d.E} {\n margin-top: ${(0,m.Kq)(1)};\n }\n `} `,Oe=o.DU` .body__drawer--open { ${U} { display: none; } } `,_e=o.Ay.div.withConfig({displayName:"ScrollingNavigationNavWrapper"})``,Ke=o.Ay.div.withConfig({displayName:"StackedNavigationMegaMenuWrapper"})` margin-top: ${(0,m.Kq)(2)}; ${({xlLogoVisible:e,journeyRibbonHeight:t})=>e&&`margin-top: calc(${(0,m.Kq)(6)} + ${t}px);`} `,Pe=(0,o.Ay)(k.Lq).withConfig({displayName:"StackedSeriesNavigation"})` transform: unset; height: ${(0,m.Kq)(8)}; `,De=o.Ay.div.withConfig({displayName:"StackedNavigationDrawerSearchBarWrapper"})` margin: auto; ${({xlLogoVisible:e})=>e?`margin-top:${(0,m.Kq)(14)};`:`margin-top:${(0,m.Kq)(8)};`} background-color: ${(0,m.HK)("colors.background.white")}; padding: ${(0,m.Kq)(2)} 0; width: 35%; input { &[type='search'] { border: 1px solid ${({hasError:e})=>e?"rgb(157, 0, 0)":(0,m._o)("colors.interactive.base.dark")}; border-radius: 0; appearance: none; } } ${({enableEnhancedSearch:e})=>e&&"\n background: none;\n input {\n &[type='search'] {\n border-radius: 40px;\n }\n }\n margin-top: 0;\n padding: 8px 0;\n "} ${(0,m.L7)(a.LO.md)} { margin-top: ${(0,m.Kq)(3)}; padding: 0; width: 95%; ${({enableEnhancedSearch:e})=>e&&"\n margin-top: 0;\n padding: 4px 0;\n "} } ${T.Fw} { background: none; } `,qe=o.Ay.div.withConfig({displayName:"StackedNavigationSearchError"})` ${({theme:e})=>(0,m.Gg)(e,"typography.definitions.utility.assistive-text")}; margin-top: ${(0,m.Kq)(1)}; margin-left: ${(0,m.Kq)(2)}; color: rgb(157, 0, 0); font-size: 14px; `},78853:(e,t,n)=>{n.d(t,{A:()=>A});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(52663),l=n(35864),d=n(90090),c=n(53499),m=n(38267),u=n(96472),p=n(99906),g=n(26865),h=n(86659),y=n(40653),b=n(33500),f=n(16800);const w=(0,m.Ay)(h.A.EvenFourMobileUp).withConfig({displayName:"HorizontalListGrid"})` &&& { grid-row-gap: 0; /* the grids are designed around 'max-widths', so the tablet grid kicks in at 769, but we actually want 768 */ @media (min-width: ${u.LO.md}) { grid-template-columns: repeat(12, 1fr); } @media (min-width: ${u.LO.md}) and (max-width: ${p.VS.lg}px) { position: relative; grid-column-gap: ${(0,g.Kq)(4)}; grid-template-columns: repeat(12, 1fr); /* crosshairs y axis */ &::after { position: absolute; left: 50%; background: ${({theme:e})=>(0,g.HK)(e,"colors.discovery.body.white.divider")}; width: 1px; height: 100%; content: ''; } } > ${y.E} { @media (max-width: ${p.VS.lg}px) { padding-top: ${(0,g.Kq)(2)}; } @media (min-width: ${u.LO.lg}) { /* grids dont turn over until xxl so had to override */ grid-column: auto / span 3; } /* crosshairs x axis */ :nth-child(1), :nth-child(2) { @media (min-width: ${u.LO.md}) and (max-width: ${p.VS.lg}px) { position: relative; &::before { position: absolute; bottom: 0; background: ${({theme:e})=>(0,g.HK)(e,"colors.discovery.body.white.divider")}; width: 100%; height: 1px; content: ''; } } } :nth-last-child(1) { > div { @media (max-width: ${p.VS.md}px) { border-bottom: none; } } } @media (min-width: ${u.LO.md}) and (max-width: ${p.VS.lg}px) { grid-column: auto / span 6; } } } `,$=m.Ay.div.withConfig({displayName:"HorizontalListItem"})` &&& { border-color: ${({theme:e})=>(0,g.HK)(e,"colors.discovery.body.white.divider")}; @media (max-width: ${p.VS.md}px) { border-bottom-width: 1px; border-bottom-style: solid; padding: 0; ${({hasTopMobilePadding:e})=>e&&"padding-top: 1rem; padding-bottom: 2rem"} } @media (min-width: ${u.LO.md}) and (max-width: ${p.VS.lg}px) { border: none; } @media (max-width: ${p.VS.lg}px) { grid-column-gap: ${(0,g.Kq)(0)}; align-items: center; padding-bottom: 0; ${({hasTopMobilePadding:e})=>e&&"padding-top: 1rem; padding-bottom: 2rem"} } @media (min-width: ${u.LO.lg}) { grid-column-gap: ${(0,g.Kq)(2)}; border: none; padding-top: ${(0,g.Kq)(2)}; height: 100%; &::before { top: ${(0,g.Kq)(2)}; left: calc(var(--grid-gap) / -2); height: calc(100% - 1rem); } } .summary-item__hed-link, .summary-item__hed-link:link, .summary-item__hed-link:visited { .summary-item__hed { margin-bottom: ${(0,g.Kq)(1)}; ${({theme:e})=>(0,g.Gg)(e,"typography.definitions.discovery.subhed-section-tertiary")}; color: ${({theme:e})=>(0,g.HK)(e,"colors.discovery.lead.primary.hed")}; } } .summary-item__asset-container { @media (max-width: ${p.VS.lg}px) { margin: ${(0,g.Kq)(2)} ${(0,g.Kq)(2)} ${(0,g.Kq)(2)} 0; ${({shouldThumbnailAlignTop:e})=>e&&"align-self: baseline; margin-top: 0;"} } } .summary-item__asset-container { width: ${(0,g.Kq)(8)}; } &.summary-item--text-align-center { .summary-item__asset-container { margin: 0 auto; } } &.summary-item--layout-placement-side-by-side { grid-column-gap: ${(0,g.Kq)(2)}; align-items: normal; &.summary-item--layout-proportions-33-66 { grid-template-columns: ${(0,g.Kq)(8)} 1fr 1fr; } &.summary-item--layout-proportions-66-33 { grid-template-columns: 1fr 1fr ${(0,g.Kq)(8)}; } .summary-item__content { padding-top: 0; } } .summary-item__content { padding: ${(0,g.Kq)(2)} 0 ${(0,g.Kq)(2)}; @media (max-width: ${p.VS.lg}px) { margin-bottom: 0; } } .summary-item__dek { margin: 0; /* allows short deks to occupy same space as wrapped deks */ min-height: 30px; ${({theme:e,shouldEnableDekStyling:t})=>t&&(0,g.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")}; ${({theme:e,shouldEnableDekStyling:t})=>t&&`color: ${(0,g.HK)(e,"colors.discovery.body.white.context-tertiary")}`}; } } `,v=m.Ay.div.withConfig({displayName:"HorizontalListTitle"})` margin-bottom: ${(0,g.Kq)(3)}; ${b.bU} { color: ${({theme:e})=>(0,g.HK)(e,"colors.discovery.lead.primary.hed")}; ${({theme:e,sectionTitleTypeToken:t})=>(0,g.Gg)(e,`typography.definitions.discovery.${t}`)}; } `,C=(0,m.Ay)(h.A.WithMargins).withConfig({displayName:"HorizontalListWrapper"})` grid-row-gap: ${(0,g.Kq)(0)}; && { ${({hasTopSpacing:e})=>e?`\n ${(0,g.H4)(u.LO.md)} {\n ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,f.F)(t,"gap-sm")?"margin-top: 0;":`margin-top: ${(0,g.Kq)(4)};`}\n }\n `:""} } > ${y.E} { grid-column: 1 / span 4; @media (min-width: ${u.LO.md}) { grid-column: 1 / span 12; } } `,k=m.Ay.div.withConfig({displayName:"HorizontalListContainer"})` --divider-width: ${({theme:e})=>(0,g.Pp)(e,"dividerWidth")}; ${({hasDividerAbove:e,theme:t})=>e?`\n border-top: var(--divider-width) solid ${(0,g.HK)(t,"colors.discovery.body.white.divider")};\n margin-top: ${(0,g.Kq)(3)};\n\n ${(0,g.H4)(u.LO.md)} {\n padding-top: ${(0,g.Kq)(3)};\n }\n `:""} `,x=({dangerousHed:e="",hasDividerAbove:t=!1,hasTopMobilePadding:n=!1,hasTopSpacing:o=!1,hasVerticalRule:i=!0,hideRubricItemSummary:a=!1,items:m=[],sectionTitleVariation:u="LineAboveLineBelowTextCenter",sectionTitleTypeToken:p="subhed-section-primary",shouldEnableDekStyling:g=!0,shouldHideBylines:h=!1,shouldEnableBundleComponentAnalytics:y=!1,shouldThumbnailAlignTop:b=!1,summaryItemVariation:f="SideBySideThirds"})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(c.G.RENDER,{name:"HorizontalList"})},[]);const x=l.default[u]||l.default,E=s.A[f]||s.A;return m&&m.length>0?r.createElement(C,{"data-testid":"HorizontalListWrapper",hasTopSpacing:o},r.createElement(k,{hasDividerAbove:t},e&&r.createElement(v,{as:x,dangerousHed:e,sectionTitleTypeToken:p}),r.createElement(w,{"data-testid":"HorizontalListGrid"},m.map((t,o)=>{const s=(0,d.NY)(y,e,o);return r.createElement($,{as:E,key:t.copilotID,hedTag:"h3",analyticsDataAttribute:s,...t,hasRule:!1,hasTopMobilePadding:n,hideRubricItemSummary:a,hasVerticalRule:i&&o>0,shouldEnableDekStyling:g,shouldHideBylines:h,shouldThumbnailAlignTop:b})})))):null};x.propTypes={dangerousHed:a().string,hasDividerAbove:a().bool,hasTopMobilePadding:a().bool,hasTopSpacing:a().bool,hasVerticalRule:a().bool,hideRubricItemSummary:a().bool,items:a().array,sectionTitleTypeToken:a().oneOf(["subhed-section-primary","subhed-section-collection"]),sectionTitleVariation:a().string,shouldEnableBundleComponentAnalytics:a().bool,shouldEnableDekStyling:a().bool,shouldHideBylines:a().bool,shouldThumbnailAlignTop:a().bool,summaryItemVariation:a().string},x.displayName="HorizontalList";const E=x,A=(0,o.y)(E,"HorizontalList")},79012:(e,t,n)=>{n.d(t,{YJ:()=>l,$T:()=>m,Hf:()=>u,Iy:()=>c,Hp:()=>d,TJ:()=>p,IL:()=>s});var o=n(38267),i=n(26865);const a=(...e)=>{if("string"==typeof e[0])return({theme:t})=>a(t,...e);const[t,n,o=!0]=e,{delay:r,duration:s,easing:l,pattern:d}=(0,i.nv)(t,"motion")||{delay:[],duration:{},easing:{},pattern:{}},c=o?"animation":"transition";if(d[n]){const e={};return d[n].duration&&(e[`${c}-duration`]=s[d[n].duration.split(".")[1]]),d[n].delay&&(e[`${c}-delay`]=r[d[n].delay.split(".")[1]]),{[`${c}-timing-function`]:`cubic-bezier(${l[d[n].easing]})`,...e}}if(l[n])return{[`${c}-timing-function`]:`cubic-bezier(${l[n]})`};const[m,u]=n.split("-");return"duration"===m&&s[u]?{[`${c}-duration`]:s[u]}:"delay"===m&&r[u]?{[`${c}-delay`]:r[u]}:{error:"Invalid input, no matching pattern or property value found."}};var r=n(73730);const s=o.Ay.div.withConfig({displayName:"AccordionWrapper"})` & > :first-child { margin-top: ${(0,i.Kq)(2.5)}; border-top: 1px solid; ${({theme:e})=>(0,i._o)(e,"border-top-color","colors.consumption.body.standard.divider")}; } `,l=o.Ay.div.withConfig({displayName:"AccordionContainer"})` margin-top: ${(0,i.Kq)(2.5)}; margin-bottom: ${(0,i.Kq)(2.5)}; border-bottom: 1px solid; ${({theme:e})=>(0,i._o)(e,"border-bottom-color","colors.consumption.body.standard.divider")}; .icon-large-chevron { float: right; transform-origin: center; width: 1rem; height: 0.75rem; overflow: hidden; } `,d=o.Ay.div.withConfig({displayName:"AccordionItemContainerLabel"})` display: block; width: 100%; box-sizing: border-box; overflow: hidden; ${(0,i.Gg)("typography.definitions.consumptionEditorial.subhed-aux-secondary")}; ${({theme:e})=>(0,i._o)(e,"color","colors.background.black")}; && { text-transform: none; } &&&&& > p { margin: 0; padding: 0; } `;d.defaultProps={typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-secondary"};const c=o.Ay.div.withConfig({displayName:"AccordionItemContainerContent"})` ${(0,i.Gg)("typography.definitions.consumptionEditorial.body-core")}; display: grid; grid-template-rows: 0fr; padding: 10px 0; min-height: 0; ${({theme:e})=>`transition: grid-template-rows ${a(e,"duration-250",!1)["transition-duration"]} ${a(e,"standard-in-and-out",!1)["transition-timing-function"]};`} > * { overflow: hidden; ${({theme:e})=>`transition: margin ${a(e,"duration-250",!1)["transition-duration"]} ${a(e,"standard-in-and-out",!1)["transition-timing-function"]}, padding ${a(e,"duration-250",!1)["transition-duration"]} ${a(e,"standard-in-and-out",!1)["transition-timing-function"]}, opacity ${a(e,"duration-250",!1)["transition-duration"]} ${a(e,"standard-in-and-out",!1)["transition-timing-function"]};`} } &.opening-animation { grid-template-rows: 0fr; &&&& > * { opacity: 0; margin: 0; border: none; padding: 0; } &&&&& > div.product-embed { margin: 0 auto; } } &.closing-animation { grid-template-rows: 1fr; &&&& > figure.iframe-embed, figure.cne-video-embed, figure.asset-embed { margin: 0; } } && > :first-child { margin-block-start: ${(0,i.Kq)(1)}; } &&&&& > p { margin-block-start: ${(0,i.Kq)(1)}; margin-block-end: ${(0,i.Kq)(1)}; padding: 0; } /* Addidng the Accordion Animation to essential motion so if reduce motion feature is on these will be included. */ @media (prefers-reduced-motion) { ${({theme:e})=>`transition: grid-template-rows ${a(e,"duration-250",!1)["transition-duration"]} ${a(e,"standard-in-and-out",!1)["transition-timing-function"]};`} > * { overflow: hidden; ${({theme:e})=>`transition: margin ${a(e,"duration-250",!1)["transition-duration"]} ${a(e,"standard-in-and-out",!1)["transition-timing-function"]}, padding ${a(e,"duration-250",!1)["transition-duration"]} ${a(e,"standard-in-and-out",!1)["transition-timing-function"]}, opacity ${a(e,"duration-250",!1)["transition-duration"]} ${a(e,"standard-in-and-out",!1)["transition-timing-function"]};`} } } `,m=o.Ay.div.withConfig({displayName:"AccordionItemContainer"})` display: flex; align-items: center; cursor: pointer; ${({isCollapsible:e})=>!e&&"\n pointer-events: none;\n "} `,u=(0,o.Ay)(r.A.Utility).withConfig({displayName:"AccordionItemContainerButton"})` align-self: flex-start; fill: #615f66; float: right; transform-origin: center; ${({isActive:e})=>e&&"transform:rotate(180deg);"} padding: ${(0,i.Kq)(1)}; white-space: nowrap; svg { stroke: #615f66; stroke-width: 3px; } &, &:focus, &:hover { border: 0; background-color: transparent; } `,p=o.Ay.div.withConfig({displayName:"AccordionItemWrapper"})``},79133:(e,t,n)=>{function o(e){const t=e.split("/");""===t[0]&&t.shift(),""===t[t.length-1]&&t.pop();const n=t[t.length-1];let o;return o=["article","gallery","series","membership"].includes(t[0])?`${t[0]}-${n}`:"special"===t[0]?`rich-${n}`:`post-${n}`,o}function i(e){const t=[];for(let n=0;n<3;n++)e&&e[n]&&t.push(o(e[n].url));window.dataLayer&&window.location.href.search("/video")<0&&window.dataLayer.push({CriteoProductIDList:t})}n.d(t,{q:()=>i})},79694:(e,t,n)=>{n.d(t,{h:()=>o,i:()=>a});var o,i=n(53836);!function(e){e.IDM_RESULTS_EVENT="idm.results"}(o||(o={}));class a extends i.J{constructor(){super(5)}}},80089:(e,t,n)=>{n.d(t,{R:()=>s});var o=n(97504),i=n(91470),a=n(24695);const r={standard:o.Ay,thin:i,thinner:a};function s(e,t="standard"){const n=r[t][e];return n||null}},80607:(e,t,n)=>{n.d(t,{K4:()=>g,Nh:()=>y,b3:()=>w,bk:()=>f,bw:()=>C,fv:()=>$,fz:()=>b,h4:()=>h,zY:()=>v});var o=n(38267),i=n(26865),a=n(76955),r=n(52027),s=n(96472),l=n(73275),d=n(18117),c=n(75761),m=n(74423),u=n(60254),p=n(75163);const g=o.Ay.div.withConfig({displayName:"ContentHeaderByline"})` margin-top: 0; ${d.B} { display: inline-block; width: ${(0,i.Kq)(8.25)}; height: ${(0,i.Kq)(8.25)}; } ${m.f9} { margin-top: 0; &:first-child { margin-top: 0; } } `,h=(0,o.Ay)(l.A).withConfig({displayName:"ContentHeaderContributorImage"})` ${(0,r.P)("100%","60px","66px")}; /* 1, 2 */ margin-right: auto; margin-left: auto; img { width: 100%; } ${({hasContributorImageBackground:e})=>e&&"\n display: inline-block;\n margin: 0 auto;\n border-radius: 50%;\n background-color: #f5f5f5;\n overflow: hidden;\n "} ${({isBusinessContentHeader:e})=>e&&`\n ${(0,r.P)("100%","173px","173px")}; /* 1, 2 */\n margin-right: auto;\n margin-left: auto;\n\n img {\n width: 100%;\n }\n @media (min-width: ${s.LO.sm}) {\n ${(0,r.P)("100%","153px","153px")}; /* 1, 2 */\n }\n @media (min-width: ${s.LO.md}) {\n ${(0,r.P)("100%","172px","172px")}; /* 1, 2 */\n }\n @media (min-width: ${s.LO.lg}) {\n ${(0,r.P)("100%","206px","206px")}; /* 1, 2 */\n }\n @media (min-width: ${s.LO.xl}) {\n ${(0,r.P)("100%","262px","262px")}; /* 1, 2 */\n }\n @media (min-width: ${s.LO.xxl}) {\n ${(0,r.P)("100%","340px","340px")}; /* 1, 2 */\n }\n\n`} `,y=o.Ay.div.withConfig({displayName:"ContentHeaderNativeShareButton"})` && { display: flex; grid-column: 1/-1; justify-content: center; margin-top: ${(0,i.Kq)(3)}; } ${u.PK} ${u.bQ} `,b=o.Ay.div.withConfig({displayName:"ContentHeaderBylineContent"})` display: flex; flex: auto; flex-direction: column; flex-wrap: wrap; gap: ${(0,i.Kq)(1)}; justify-self: start; `,f=(0,o.Ay)(a.vm).withConfig({displayName:"ContentHeaderDekRewards"})` color: var(${p.pT.Color.TextHeading}); > img { margin-right: ${(0,i.Kq)(.8)}; margin-left: ${(0,i.Kq)(2)}; &:first-of-type { margin-left: 0; } } `;f.defaultProps={as:"div",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const w=o.Ay.p.withConfig({displayName:"ContentHeaderDek"})` @media (min-width: ${s.LO.lg}) { && { grid-column: 3 / span 8; } } cursor: unset; text-align: center; color: var(${p.pT.Color.TextDek}); &:hover, &:active { text-decoration: none; color: var(${p.pT.Color.TextDek}); } .small { text-transform: lowercase; font-style: inherit; font-variant: small-caps; } a { transition: color ${s.L6.timingLinkDefault} ease; } ${(0,i.Gg)("typography.definitions.consumptionEditorial.description-core")}; `,$=(0,o.Ay)(a.vm).withConfig({displayName:"ContentHeaderSignageLabel"})` color: var(${p.pT.Color.TextDek}); &:hover { color: var(${p.pT.Color.TextDek}); } ${(0,i.Gg)("typography.definitions.discovery.description-core")}; `,v=o.Ay.div.withConfig({displayName:"ContentHeaderAccreditation"})` ${({rowWithBottomBorder:e})=>e&&`\n &::after {\n display: block;\n grid-column: 1/-1;\n border: 0;\n border-bottom: 1px solid var(${p.pT.Color.BorderStory});\n padding-top: ${(0,i.Kq)(2)};\n width: 100%;\n height: 0;\n content: '';\n }\n ${u.js}\n\n @media (min-width: ${s.LO.lg}) {\n margin-left: auto;\n }\n\n @media (min-width: ${s.LO.xxl}) {\n margin-left: auto;\n }\n `} ${u.PK} row-gap: ${(0,i.Kq)(2)}; > * { grid-column: 1/-1; } ${({isBusinessContentHeader:e})=>e&&`\n @media (min-width: ${s.LO.md}) {\n grid-column: 9 / span 12;\n grid-template-columns: repeat(12,1fr);\n width: min-content;\n align-items: center;\n }\n`} `,C=o.Ay.div.withConfig({displayName:"SummaryPremiereWrapper"})` max-width: 1600px; ${c.S} { display: flex; border: 0; } ${c.b} { padding: ${(0,i.Kq)(3)} 0 0 0; ${({theme:e})=>`${(0,i.Gg)(e,"typography.definitions.globalEditorial.context-tertiary")};\n `} } `},80908:(e,t,n)=>{n.d(t,{A:()=>j});var o=n(47655),i=n(5556),a=n.n(i),r=n(96540),s=n(32485),l=n.n(s),d=n(6442),c=n(73275),m=n(63175),u=n(38759),p=n(39832),g=n(53985),h=n(11542),y=n(69571),b=n(50700),f=n(90090),w=n(97624),$=n(90072),v=n(60162),C=n(86157),k=n(23261),x=n(68606),E=n(55082);const A=({brandName:e,collectionLink:t})=>e?t?r.createElement(E.ir,{href:t},u.a9.convert(e)):r.createElement(E.lo,null,u.a9.convert(e)):null;A.propTypes={brandName:a().string,collectionLink:a().string},A.displayName="GallerySlideCaptionBrandName";const S=A;var L=n(43211);const T=({ctaHref:e,ctaRel:t="nofollow noopener noreferrer",ctaText:n,dataAttrs:o,dangerousMetaOne:i,dangerousMetaTwo:a,dangerousPostCTA:s,hasReadReviewCTA:l,isCtaInternal:d,onClickHandler:c,promotionText:m,shouldUseBookmarkV2:u,contentType:p,copilotId:g,urlToBookmark:h,showCommentCount:y,contentAlign:b,showBookMarkIcon:f,shouldEnableBookmarkDrawers:w,shouldEnableCardLevelBookmark:$,subtype:v})=>{const C="photo"===p&&l||!1;return r.createElement(E.dN,{showCommentCount:y,contentAlign:b,hasReadReviewCTA:l},i&&r.createElement(E.yn,null,i&&r.createElement(E.BV,{dangerouslySetInnerHTML:{__html:i}})),m&&r.createElement(E.Qk,{dangerouslySetInnerHTML:{__html:m}}),a&&r.createElement(E.nH,{dangerouslySetInnerHTML:{__html:a}}),n&&e&&r.createElement(E.Qh,{"aria-label":"Opens in a new window",dataAttrs:o,href:e,inputKind:"link",label:n,onClickHandler:c,rel:d?"noopener noreferrer":t,target:"_blank"}),s&&r.createElement(E.kV,{dangerouslySetInnerHTML:{__html:s}}),$&&f&&!C&&r.createElement(k.A,{urlToBookmark:h,copilotID:g,contentType:p,isPageScoped:!1,shouldEnableBookmarkDrawers:w,shouldEnableCardLevelBookmark:$,shouldUseBookmarkV2:u,subject:"gallery_slide",subtype:v}))};T.propTypes={contentAlign:a().string,contentType:a().string,copilotId:a().string,ctaHref:a().string,ctaRel:a().string,ctaText:a().string,dangerousMetaOne:a().string,dangerousMetaTwo:a().string,dangerousPostCTA:a().string,dataAttrs:a().object,hasReadReviewCTA:a().bool,isCtaInternal:a().bool,onClickHandler:a().func,promotionText:a().string,shouldEnableBookmarkDrawers:a().bool,shouldEnableCardLevelBookmark:a().bool,shouldUseBookmarkV2:a().bool,showBookMarkIcon:a().bool,showCommentCount:a().bool,subtype:a().string,urlToBookmark:a().string};const N=({ctaHref:e,dangerousHed:t,hasGallerySlideBackground:n,isClickable:o,hasIcon:i,productId:a})=>{if(!t)return null;const s=r.createElement(E.TX,{hasGallerySlideBackground:n,id:(e=>{if(e)return e})(a)},r.createElement(E.G5,{hasGallerySlideBackground:n,dangerouslySetInnerHTML:{__html:t}}),i&&r.createElement(y.A,null));return o&&e?r.createElement(p.A,{href:e},s):s};N.propTypes={ctaHref:a().string,dangerousHed:a().string,hasGallerySlideBackground:a().bool,hasIcon:a().bool,isClickable:a().bool,productId:a().string};const H=(e,t)=>{if(e&&e.links){const t=Object.keys(e.links).find(t=>"twitter"===e.links[t].network);if(void 0!==t){return new URL(decodeURIComponent(e.links[t].url)).searchParams.get("url")}}return t},I=({bookmarkMeta:e,brand:t,buttonVariation:n,btnStyle:o,className:i,collectionLink:a,commentsCount:s,contentType:l,ctaAnalyticsName:d,ctaHref:c,ctaRel:p,ctaText:g,ctaAtRetailerName:h,dangerousCredit:y,dangerousDetail:C,dangerousHed:k,dangerousMetaOne:A,dangerousMetaTwo:I,dataAttrs:B,defaultVotingPrompt:O,dek:_,dropShipSellers:K,hasPhotoBookmark:P,featureFlags:D={},itemSocialSharesProps:q,hasSlideHedIcon:M,hasMultipleLines:R,hasGallerySlideBackground:F,hasGallerySlideTextPadding:U,hasReadReviewCTA:V,hedHref:G,hidePriceComponentWhenNoPrice:W,id:j,image:z,isCtaInternal:Y,isHedClickable:X,hasPriceSection:Z,offers:J,productData:Q,promotionHed:ee,promotionText:te,showMultipleBuyButtons:ne,showPriceOnButton:oe,showSellerNameBelowButton:ie,dangerousPostCTA:ae,dangerousPreHeaderTwo:re,seasonName:se,socialTitle:le,socialDescription:de,subtype:ce,productId:me,preHeaderOne:ue,variations:pe,showOfferUrl:ge,name:he,showLocalisedOffers:ye,hasHotelOrProductType:be,showClampedProductDescription:fe,productDescriptionLineLength:we,urlToBookmark:$e,shouldEnableBookmarkDrawers:ve,shouldEnableCardLevelBookmark:Ce,shouldEnableCommentsCount:ke,actionIdFlags:xe={}})=>{const Ee=ne?4:1,{contentAlign:Ae,isOrdered:Se,shouldBrandNameBelowHed:Le,shouldDekBelowOffer:Te,showSlideCount:Ne,showCommentCount:He,showBookMarkIcon:Ie}=pe,{hasNativeShareButton:Be,hasSlideSharingIcon:Oe,enableBookmarking:_e,shouldUseBookmarkV2:Ke}=D,[Pe,De]=(0,r.useState)(!1),[qe,Me]=(0,r.useState)(!1),{showNativeShareButton:Re,pageUrl:Fe}=(0,$.W)(Be),Ue={url:H(q,Fe),title:le,text:de},Ve=xe?.enableActionIdForGallerySlide,Ge=(e,t,n)=>{(0,v.g1)({window,product:{...Q},index:e,actionId:n,layout:"ProductEmbed",event:t,layoutTitle:k,offerIndex:e??null})},We=e=>{De(e)},je=!O,ze=()=>r.createElement(E.Wu,{isClampingEnabled:fe,showLess:qe,productDescriptionLineLength:we},u.a9.convert(_)),Ye=()=>{const e=qe?"close":"open";return r.createElement(E.i$,{lines:we,linesInExtraLargeDesktop:we,isCollapsible:!0,showLess:qe,offset:-5,onTextClick:()=>{Me(!qe),(0,v.g1)({window,product:{...Q},index:Q.index,layout:"ProductEmbed",type:e})},showClampedProductDescription:fe},ze())},Xe=[t,he].filter(Boolean).join(" "),Ze=d?({position:e,event:t,actionId:n})=>{(0,f.W8)(d),be&&Ge(e,t,n)}:({position:e,event:t,actionId:n})=>{be&&Ge(e,t,n)};return r.createElement(E.Ng,{className:i,contentAlign:Ae,shouldOrderedGallery:Se,hasGallerySlideBackground:F},r.createElement(E.SL,null,"photo"===l&&P&&_e?r.createElement(E._6,null,r.createElement(L.A,{bookmarkMeta:e,copilotID:j,image:z,contentType:l})):null,y&&r.createElement(E.k$,{dangerouslySetInnerHTML:{__html:y}}),Ne&&ue&&r.createElement(E.j4,{hasGallerySlideTextPadding:U},r.createElement(E.GC,{"data-testid":"GallerySlideCaptionPreHeaderOne"},ue)),Oe&&r.createElement(E.lD,null,r.createElement(w.A,{shareData:Ue,showOnlyIcon:!0,parentCallBack:We}),q&&Pe&&!Re&&r.createElement(E.Pd,{"data-testid":"GallerySlideSocialShareIcon"},r.createElement(m.A.Circular,{...q}))),re&&r.createElement(E.qp,{dangerouslySetInnerHTML:{__html:re}}),ee&&r.createElement(E.U,{dangerouslySetInnerHTML:{__html:ee}}),se?se&&r.createElement(E.CX,{href:a},se):null,!Le&&r.createElement(S,{brandName:Xe,collectionLink:a}),r.createElement(N,{ctaHref:G||c,dangerousHed:k,gtmClickHandler:Ge,hasIcon:M,hasGallerySlideBackground:F,hasHotelOrProductType:be,isActionIdEnabledForComponent:Ve,isClickable:X,productId:me}),Le&&r.createElement(S,{brandName:Xe,collectionLink:a}),r.createElement(E.Xc,{"data-testid":"GallerySlideCaptionDekContainer"},C&&r.createElement(E.zJ,{dangerouslySetInnerHTML:{__html:C}}),!Te&&(0,u.Uc)(_)&&(fe?Ye():ze()),ke&&He&&r.createElement(x.A,{totalCommentsCount:s}),je&&r.createElement(E.x1,{hasGallerySlideBackground:F,showCommentCount:He,hasReadReviewCTA:V},V&&"photo"!==l&&0===J?.length&&r.createElement(E.hK,{label:"Read Review",href:G,inputKind:"link",shouldUseFullWidth:!1}),J&&r.createElement(b.A,{buttonVariation:n,btnStyle:o,contentType:l,dataAttrs:B,defaultCTAText:g,ctaAtRetailerName:h,isCtaInternal:Y,hasPriceSection:Z,hasMultipleLines:R,offers:J,onClickHandler:Ze,hidePriceComponentWhenNoPrice:W,productId:me,showCount:Ee,showLocalisedOffers:ye,showPriceOnButton:oe,showOfferUrl:ge,showSellerNameBelowButton:ie,dropShipSellers:K,hasGallerySlideBackground:F,isActionIdEnabledForComponent:Ve,hasReadReviewCTA:V,component:"gallery_slide_component"}),"product"!==l&&r.createElement(T,{ctaText:g,ctaRel:p,ctaHref:c,dataAttrs:B,isCtaInternal:Y,dangerousPostCTA:ae,dangerousMetaOne:A,dangerousMetaTwo:I,onClickHandler:Ze,promotionText:te,contentType:l,copilotId:j,urlToBookmark:$e,shouldEnableBookmarkDrawers:ve,shouldEnableCardLevelBookmark:Ce,shouldUseBookmarkV2:Ke,showCommentCount:He,showBookMarkIcon:Ie,contentAlign:Ae,hasReadReviewCTA:V,subtype:ce})),Te&&(0,u.Uc)(_)&&Ye())))};I.propTypes={actionIdFlags:a().object,bookmarkMeta:a().shape({slug:a().string,title:a().string}),brand:a().string,btnStyle:a().oneOf(["filled","outlined","text"]),buttonVariation:a().string,className:a().string,collectionLink:a().string,commentsCount:a().number,contentType:a().string.isRequired,ctaAnalyticsName:a().string,ctaAtRetailerName:a().string,ctaHref:a().string,ctaRel:a().string,ctaText:a().string,dangerousCredit:a().string.isRequired,dangerousDetail:a().string,dangerousHed:a().string,dangerousMetaOne:a().string,dangerousMetaTwo:a().string,dangerousPostCTA:a().string,dangerousPreHeaderTwo:a().string,dataAttrs:a().object,defaultVotingPrompt:a().string,dek:a().array,dropShipSellers:a().array,featureFlags:a().object,hasGallerySlideBackground:a().bool,hasGallerySlideTextPadding:a().bool,hasHotelOrProductType:a().bool,hasMultipleLines:a().bool,hasPhotoBookmark:a().bool,hasPriceSection:a().bool,hasReadReviewCTA:a().bool,hasSlideHedIcon:a().bool,hedHref:a().string,hidePriceComponentWhenNoPrice:a().bool,id:a().string,image:a().shape(C.A.propTypes),isCtaInternal:a().bool,isExternalProduct:a().bool,isHedClickable:a().bool,itemSocialSharesProps:a().shape({showBookmark:a().bool,links:a().array}),name:a().string,offers:a().array,preHeaderOne:a().string,productData:a().object,productDescriptionLineLength:a().number,productId:a().string,promotionHed:a().string,promotionText:a().string,seasonName:a().string,shouldEnableBookmarkDrawers:a().bool,shouldEnableCardLevelBookmark:a().bool,shouldEnableCommentsCount:a().bool,showClampedProductDescription:a().bool,showLocalisedOffers:a().bool,showMultipleBuyButtons:a().bool,showOfferUrl:a().bool,showPriceOnButton:a().bool,showSellerNameBelowButton:a().bool,socialDescription:a().string,socialTitle:a().string,subtype:a().string,urlToBookmark:a().string,variations:a().shape({contentAlign:a().oneOf(["center","left"]).isRequired,hasBackground:a().bool,isOrdered:a().bool,shouldBrandNameBelowHed:a().bool,shouldDekBelowOffer:a().bool,showSlideCount:a().bool,showBookMarkIcon:a().bool,showCommentCount:a().bool})},I.displayName="GallerySlideCaption";const B=(0,h.M3)(I,{keysToPluck:["featureFlags"]});var O=n(43428),_=n(53499),K=n(59867),P=n(51558),D=n(96472),q=n(25203),M=n(22039);const R=e=>!!D.qx&&window.matchMedia(e).matches,F=()=>R(`screen and (min-width: ${D.LO.md})`),U=({bookmarkMeta:e,brand:t,buttonVariation:n,btnStyle:o,className:i,commentsCount:a,contentType:s,ctaAnalyticsName:c,ctaHref:m,cta:h,ctaRel:y,id:b,subtype:f,ctaAtRetailerName:w,dangerousCredit:$,dangerousDetail:C,dangerousHed:k,dangerousMetaOne:x,dangerousMetaTwo:A,dangerousPostCTA:S,data_item:L,dangerousPreHeaderTwo:T,defaultVotingPrompt:N,dek:H,dropShipSellers:I,hasNativeImgLazyLoading:D=!1,hasPhotoBookmark:U=!1,functionalTags:V=[],hidePriceComponentWhenNoPrice:G=!1,itemSocialSharesProps:W,image:j,index:z,hasSlideHedIcon:Y=!1,hedHref:X,isHedClickable:Z,hasPriceSection:J,hasGallerySlideBackground:Q,hasGallerySlideTextPadding:ee,hasReadReviewCTA:te,isLazy:ne,name:oe,offers:ie,promotionHed:ae,productId:re,promotionText:se,preHeaderOne:le,shouldHoldImageSpace:de=!1,shouldLimitLongPortraits:ce=!0,showOrderedGallery:me,showMultipleBuyButtons:ue,showPriceOnButton:pe,showOfferUrl:ge,showSellerNameBelowButton:he,socialIconsProps:ye,variationDisplayName:be,showSlideCount:fe=!0,variations:we={contentAlign:"left",hasBackground:!0,hasCaption:!0,isOrdered:!1,shouldBrandNameBelowHed:!1,shouldDekBelowOffer:!1,hasMultipleLines:!1},showLocalisedOffers:$e,variationName:ve,seal:Ce,showClampedProductDescription:ke=!1,productDescriptionLineLength:xe,shouldEnableBookmarkDrawers:Ee,shouldEnableCardLevelBookmark:Ae,shouldEnableCommentsCount:Se,showZoomedImage:Le=!1,textBadge:Te,hasReadMoreFeature:Ne=!1,actionIdFlags:He={}})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(_.G.RENDER,{name:"GallerySlide",variation:ve})},[ve]);const[Ie,Be]=(0,r.useState)(!1),Oe=r.useRef(null),_e="product"===s||"commerce-product"===s||"hotel"===s,{formatMessage:Ke}=(0,d.A)(),Pe=(0,u.C0)(h,s,Ke),De=JSON.stringify({pattern:"GallerySlide",variation:be}),qe=!!V&&V.some(e=>"_isSponsored"===e.name),{contentAlign:Me,hasBackground:Re,hasCaption:Fe,isOrdered:Ue,shouldBrandNameBelowHed:Ve,hasMultipleLines:Ge,hasCaptionMargin:We,showBookMarkIcon:je,showCommentCount:ze}=we,Ye=Ue||me&&!!le.length,Xe=j&&{...j,id:b},Ze=Xe&&(0,u.Qu)(Xe),Je="recipe"===s,Qe="product"===s?{"data-buy-button":!0}:{},et=$||j&&j.credit||"",tt=j?.additionalMetaData?.seasonName||"",nt=j?.additionalMetaData?.link,ot=e=>{if(ie&&ie.length>0)return e?ie[0].offerUrl:ie[0].purchaseUri},it=ot(ge);let at=!0;I?.length>0&&(at=I?.some(e=>!ot(ge)?.toLowerCase().includes(e)));const rt={dangerousHed:k,brand:{name:t},id:re||b,index:L?.index||z,contentType:s,offers:ie,offersLength:ie?.length||0,component:"gallery_slide_component",hotelLink:X,image:j},st=(e,t,n)=>{(0,v.g1)({window,product:{...rt},index:e,actionId:n,layout:"ProductEmbed",event:t,layoutTitle:k,offerIndex:e??null})};r.useEffect(()=>{if("product"!==s)return;const e=()=>{const e=document.getElementsByClassName("product-embed");(0,v.Yp)("ProductEmbed",e)};return window.addEventListener("load",e),Oe.current=window.Kendra.WINDOW_EVENT.on(K.m.SCROLL_DEBOUNCE,e),()=>{window.removeEventListener("load",e),Oe.current&&Oe.current.off()}},[s]);const lt=ke&&["commerce-product","product"].includes(s),dt={bookmarkMeta:e,brand:t,buttonVariation:n,btnStyle:o,className:i,commentsCount:a,contentType:s,ctaAnalyticsName:c,ctaHref:m,ctaRel:y,ctaText:Pe,ctaAtRetailerName:w,dangerousCredit:et,dangerousDetail:C,dangerousHed:k,dangerousMetaOne:x,dangerousMetaTwo:A,dangerousPostCTA:S,dangerousPreHeaderTwo:T,dataAttrs:Qe,defaultVotingPrompt:N,dek:H,dropShipSellers:I,hasPhotoBookmark:U,hasGallerySlideBackground:Q,hasSlideHedIcon:Y,hedHref:X,hidePriceComponentWhenNoPrice:G,itemSocialSharesProps:W,isCtaInternal:Je,isExternalProduct:at,hasPriceSection:J,isHedClickable:Z,name:oe,offers:ie,preHeaderOne:le,productId:re,promotionHed:ae,promotionText:se,seasonName:tt,showMultipleBuyButtons:ue,showPriceOnButton:pe,showOfferUrl:ge,showSellerNameBelowButton:he,showClampedProductDescription:lt&&Ne,productDescriptionLineLength:xe,shouldEnableBookmarkDrawers:Ee,shouldEnableCardLevelBookmark:Ae,shouldEnableCommentsCount:Se,collectionLink:nt,variations:{showSlideCount:fe,...we,isOrdered:Ye,shouldBrandNameBelowHed:Ve||me}},ct=He?.enableActionIdForGallerySlide,mt=it?.includes("cna.st")&&ct,ut=(e,t)=>{_e&&(()=>{const n=e?.currentTarget?.getAttribute("href"),o=(0,q.hh)();mt&&n?(e.preventDefault(),(0,O.P)({event:e,gtmTrackOnClick:st,linkProps:n,position:t,type:"GallerySlideImage",component:"gallery_slide_component",queryParams:o})):st(t,e)})()},pt=()=>"product"===s&&ie&&ie.length>0?r.createElement(g.EY,{as:p.A,hasGallerySlideBackground:Q,href:it,target:at?"_blank":"_self",rel:"sponsored noopener",attributes:{tabIndex:-1,"aria-hidden":!0,"data-offer-retailer":ie[0].sellerName,"data-offer-url":ie[0].offerUrl},onClick:(e,t)=>ut(e,t),component:"gallery_slide_component"},Ce&&Object.prototype.hasOwnProperty.call(Ce,"sealUrl")&&r.createElement(M.rU,{seal:Ce}),Te&&Object.prototype.hasOwnProperty.call(Te,"name")?r.createElement(M.sN,{config:{position:"top-left",badgeText:Te.name},className:"standard"}):null,r.createElement(E.a_,{className:l()("GallerySlideResponsiveAsset",i),...Xe,isLazy:ne,hasNativeImgLazyLoading:D,onClick:(e,t)=>ut(e,t)})):"cnevideo"===(s||j?.contentType)?r.createElement(E.a_,{className:l()("GallerySlideResponsiveAsset",i),...Xe,isLazy:ne,shouldAutoplay:!1,shouldPlayContinuously:!1}):r.createElement(E.a_,{className:l()("GallerySlideResponsiveAsset",i),...Xe,isLazy:ne,hasNativeImgLazyLoading:D,shouldHoldImageSpace:de}),[gt,ht]=(0,r.useState)(!1),yt=!Le||!F()||Ie||D;return r.createElement(E.jZ,{className:_e?l()("product-embed",i):i,"data-event-boundary":"click","data-in-view":De,"data-event-click":De,defaultVotingPrompt:N,hasBackground:Re,hasCaptionMargin:We,hasMultipleLines:Ge,shouldOrderedGallery:Ye,contentAlign:Me,showMultipleBuyButtons:ue,orientation:Ze,image:j,hasReadReviewCTA:te,contentType:s||j?.contentType,shouldLimitLongPortraits:ce,isSponsored:qe,hasGallerySlideBackground:Q,"data-item":JSON.stringify(rt),"data-testid":"GallerySlideWrapper",showBookMarkIcon:je},r.createElement(E.MC,null,Xe&&r.createElement(E.p0,{orientation:Ze,contentType:s},r.createElement(E.xU,null,r.createElement(E.je,null,Le&&(()=>{const e=Xe?.segmentedSources?.lg?.length,t=Xe?.segmentedSources?.lg[e-1]?.url;if(!t||!F())return pt();const n=(o=Xe.height,R(`screen and (min-height: ${o}px)`));var o;return r.createElement(E.WE,{hasMouseMoved:gt,onMouseMove:e=>{ht(!0),(0,P.$)(e)},url:t,useFixedZoomedImageSize:n},r.createElement(E.a_,{className:l()("GallerySlideResponsiveAsset",i),...Xe,isLazy:ne,hasNativeImgLazyLoading:D,shouldHoldImageSpace:de,onAssetLoaded:()=>Be(!0)}))})(),!Le&&pt(),ye&&ye.links.length>0&&r.createElement(E.S6,{...ye})))),Fe&&yt&&r.createElement(E.hl,{as:B,...dt,contentAlign:Me,contentType:s,subtype:f,ctaAtRetailerName:w,hasMultipleLines:Ge,hasCaptionMargin:We,hasGallerySlideTextPadding:ee,hasGallerySlideBackground:Q,hasHotelOrProductType:_e,hasReadReviewCTA:te,id:b,image:U?j:void 0,productData:rt,productId:re,showBookMarkIcon:je,showCommentCount:ze,showLocalisedOffers:$e,urlToBookmark:m,actionIdFlags:He})))};U.propTypes={actionIdFlags:a().object,bookmarkMeta:a().shape({slug:a().string,title:a().string}),brand:a().string,btnStyle:a().oneOf(["filled","outlined","text"]),buttonVariation:a().string,className:a().string,commentsCount:a().number,contentType:a().string.isRequired,cta:a().shape({article:a().string,product:a().string,recipe:a().string,review:a().string}),ctaAnalyticsName:a().string,ctaAtRetailerName:a().string,ctaHref:a().string,ctaRel:a().string,dangerousCredit:a().string.isRequired,dangerousDetail:a().string,dangerousHed:a().string,dangerousMetaOne:a().string,dangerousMetaTwo:a().string,dangerousPostCTA:a().string,dangerousPreHeaderTwo:a().string,data_item:a().object,defaultVotingPrompt:a().string,dek:a().array,dropShipSellers:a().array,hasNativeImgLazyLoading:a().bool,functionalTags:a().arrayOf(a().shape({name:a().string})),hasGallerySlideBackground:a().bool,hasGallerySlideTextPadding:a().bool,hasPhotoBookmark:a().bool,hasPriceSection:a().bool,hasReadMoreFeature:a().bool,hasReadReviewCTA:a().bool,hasSlideHedIcon:a().bool,hedHref:a().string,hidePriceComponentWhenNoPrice:a().bool,id:a().string,image:a().shape(c.A.propTypes),index:a().number,isHedClickable:a().bool,isLazy:a().bool,itemSocialSharesProps:a().shape({showBookmark:a().bool,links:a().array}),name:a().string,offers:a().array,preHeaderOne:a().string,price:a().string,productDescriptionLineLength:a().number,productId:a().string,promotionHed:a().string,promotionText:a().string,reducedPrice:a().string,seal:a().arrayOf(a().shape({id:a().string,startDate:a().string,endDate:a().string,sealUrl:a().string})),shouldEnableBookmarkDrawers:a().bool,shouldEnableCardLevelBookmark:a().bool,shouldEnableCommentsCount:a().bool,shouldHoldImageSpace:a().bool,shouldLimitLongPortraits:a().bool,showClampedProductDescription:a().bool,showLocalisedOffers:a().bool,showMultipleBuyButtons:a().bool,showOfferUrl:a().bool,showOrderedGallery:a().bool,showPriceOnButton:a().bool,showSellerNameBelowButton:a().bool,showSlideCount:a().bool,showZoomedImage:a().bool,socialIconsProps:a().shape(m.A.propTypes),subtype:a().string,textBadge:a().arrayOf(a().shape({name:a().string,startDate:a().string,endDate:a().string})),variationDisplayName:a().string,variationName:a().string,variations:a().shape({contentAlign:a().oneOf(["center","left"]).isRequired,hasBackground:a().bool,hasCaption:a().bool,hasCaptionMargin:a().bool,hasMultipleLines:a().bool,isOrdered:a().bool,shouldBrandNameBelowHed:a().bool,shouldDekBelowOffer:a().bool,showBookMarkIcon:a().bool,showCommentCount:a().bool})},U.displayName="GallerySlide";const V=U,G=({contentType:e,dangerousCredit:t,dangerousHed:n,dek:o,image:i,isLazy:a,variationDisplayName:s})=>{const l=JSON.stringify({pattern:"GallerySlideHorizontal",variation:s}),d=i&&{...i},c=d&&(0,u.Qu)(d);return r.createElement(E.jZ,{"data-event-boundary":"click","data-in-view":l,"data-event-click":l,hasBackground:!1,shouldOrderedGallery:!1,contentAlign:"left",orientation:"horizontal",image:i,isHorizontal:!0,"data-testid":"GallerySlideWrapper"},r.createElement(E.MC,null,n&&r.createElement(E.TX,null,r.createElement(E.G5,{dangerouslySetInnerHTML:{__html:n}})),(0,u.Uc)(o)&&r.createElement(E.Wu,null,u.a9.convert(o)),d&&r.createElement(E.p0,{orientation:c,contentType:e},r.createElement(E.xU,null,r.createElement(E.je,null,r.createElement(E.a_,{...d,isLazy:a}),t&&r.createElement(E.k$,{dangerouslySetInnerHTML:{__html:t}}))))))};G.propTypes={contentType:a().string.isRequired,dangerousCredit:a().string.isRequired,dangerousHed:a().string,dek:a().array,image:a().shape(c.A.propTypes),isLazy:a().bool,variationDisplayName:a().string},G.displayName="GallerySlideHorizontal";const W=G;V.CardLeft=(0,o.y)(V,"CardLeft",{contentAlign:"left",hasBackground:!0,hasCaption:!0,hasCaptionMargin:!0,isOrdered:!1}),V.CardCenter=(0,o.y)(V,"CardCenter",{contentAlign:"center",hasBackground:!0,hasCaption:!0,hasCaptionMargin:!0,isOrdered:!1}),V.CardOrderedLeft=(0,o.y)(V,"CardOrderedLeft",{contentAlign:"left",hasBackground:!0,hasCaption:!0,hasCaptionMargin:!0,isOrdered:!0}),V.CardOrderedCenter=(0,o.y)(V,"CardOrderedCenter",{contentAlign:"center",hasBackground:!0,hasCaption:!0,hasCaptionMargin:!0,isOrdered:!0}),V.ItemCenter=(0,o.y)(V,"ItemCenter",{contentAlign:"center",hasBackground:!1,hasCaption:!0,isOrdered:!1,hasCaptionMargin:!1}),V.ItemCenterNoCaption=(0,o.y)(V,"ItemCenterNoCaption",{contentAlign:"center",hasBackground:!1,hasCaption:!1,hasCaptionMargin:!1,isOrdered:!1}),V.ItemLeft=(0,o.y)(V,"ItemLeft",{contentAlign:"left",hasBackground:!1,hasCaption:!0,isOrdered:!1,hasCaptionMargin:!1}),V.ItemLeftMultipleLine=(0,o.y)(V,"ItemLeftMultipleLine",{contentAlign:"left",hasBackground:!1,hasCaption:!0,hasCaptionMargin:!1,isOrdered:!1,hasMultipleLines:!0}),V.ItemLeftCaptionAbove=(0,o.y)(V,"ItemLeftCaptionAbove",{contentAlign:"left",hasBackground:!1,hasCaption:!0,hasCaptionMargin:!1,isOrdered:!1,shouldBrandNameBelowHed:!0}),V.ItemLeftCaptionAboveMultipleButtons=(0,o.y)(V,"ItemLeftCaptionAboveMultipleButtons",{contentAlign:"left",hasBackground:!1,hasCaption:!0,hasCaptionMargin:!1,isOrdered:!1,shouldBrandNameBelowHed:!0},{buttonVariation:"Primary",btnStyle:"outlined",showMultipleBuyButtons:!0,showPriceOnButton:!0,showSlideCount:!0}),V.CardLeftWithCaptionAboveMultipleButtons=(0,o.y)(V,"CardLeftWithCaptionAboveMultipleButtons",{contentAlign:"left",hasBackground:!0,hasCaption:!0,hasCaptionMargin:!0,isOrdered:!1},{buttonVariation:"Primary",btnStyle:"outlined",showMultipleBuyButtons:!0,showPriceOnButton:!0,showSlideCount:!0}),V.CardCenterWithCaptionAboveMultipleButtons=(0,o.y)(V,"CardCenterWithCaptionAboveMultipleButtons",{contentAlign:"center",hasBackground:!0,hasCaption:!0,hasCaptionMargin:!0,isOrdered:!1},{buttonVariation:"Primary",btnStyle:"outlined",showMultipleBuyButtons:!0,showPriceOnButton:!0,showSlideCount:!0}),V.ItemLeftCaptionAboveMultipleButtonsWithPrice=(0,o.y)(V,"ItemLeftCaptionAboveMultipleButtonsWithPrice",{contentAlign:"left",hasBackground:!0,hasCaption:!0,hasCaptionMargin:!1,isOrdered:!1,shouldBrandNameBelowHed:!1,shouldDekBelowOffer:!0},{buttonVariation:"Utility",showMultipleBuyButtons:!0,showPriceOnButton:!0,hasPriceSection:!0,showSellerNameBelowButton:!0}),V.ItemOrderedCenter=(0,o.y)(V,"ItemOrderedCenter",{contentAlign:"center",hasBackground:!1,hasCaption:!0,hasCaptionMargin:!1,isOrdered:!0}),V.ItemOrderedLeft=(0,o.y)(V,"ItemOrderedLeft",{contentAlign:"left",hasBackground:!1,hasCaption:!0,hasCaptionMargin:!1,isOrdered:!0}),V.NoCaption=(0,o.y)(V,"NoCaption",{contentAlign:"left",hasBackground:!1,hasCaption:!1,hasCaptionMargin:!0,isOrdered:!0}),V.SplitScreenImageRight=(0,o.y)(W,"SplitScreenImageRight",{}),V.ItemLeftCaptionAboveMultipleButtonsWithDekBelowOffer=(0,o.y)(V,"ItemLeftCaptionAboveMultipleButtonsWithDekBelowOffer",{contentAlign:"left",hasBackground:!1,hasCaption:!0,hasCaptionMargin:!1,isOrdered:!1,shouldBrandNameBelowHed:!0,shouldDekBelowOffer:!0},{buttonVariation:"Primary",btnStyle:"outlined",showMultipleBuyButtons:!0,showPriceOnButton:!0,showSlideCount:!0}),V.CardLeftWithBookmarkAndComment=(0,o.y)(V,"CardLeftWithBookmarkAndComment",{contentAlign:"left",hasBackground:!0,hasCaption:!0,hasCaptionMargin:!0,isOrdered:!1,showBookMarkIcon:!0,showCommentCount:!0},{buttonVariation:"Primary",btnStyle:"outlined",showMultipleBuyButtons:!0,showPriceOnButton:!0,showSlideCount:!0});const j=V},81318:(e,t,n)=>{n.d(t,{s:()=>d});var o=n(14307),i=n(5922),a=n(60162),r=n(62193),s=n.n(r);const l=(e,t,n)=>{if(!e)return null;const{offerUrl:i="",purchaseUri:a="",sellerName:r="",offerId:s=""}=e,l=i||a,d=((e="",t=[])=>t.some(t=>e.includes(t)))((e=>{if(!e)return"";try{return new URL(e).origin}catch(e){return""}})(a),o.Zs),c=window.location.origin;let m=!0;try{m=new URL(l).origin!==c}catch(e){}const u=n?.currentTarget||n?.target,p=(e=>{const t=e?.className;return e&&t?"object"==typeof t&&void 0!==t.baseVal?t.baseVal||t.animVal:t.toString():null})(u),g=u?.tagName,h=(e=>{if(!e)return"middle";const t=window.document.querySelector("header"),n=window.document.querySelector("footer");return t&&t.contains(e)?"top":n&&n.contains(e)?"bottom":"middle"})(u);return{schema:"iglu:com.condenast/click_info/jsonschema/2-0-3",data:{action_id:t?.toString(),click_url:a||i,click_id:s?.toString(),click_class:p,click_text:r,click_type:g?.toString()||"BUTTON",click_target:"_blank",data_offer_url:i,placement:h,is_external:m,is_affiliate:d,offer_id:s?.toString()}}},d=({type:e,copilotID:t,bookmarkMeta:n,contentType:r,trackingSubject:d="unified_product_card",subjectId:c,subjectName:m,item:u,layout:p,targetEvent:g=null,label:h,error:y,errorType:b,errorMessage:f})=>{const w=((e,t,n,o,i,a,r,s)=>({...e&&{type:e},...t&&{label:t},subject:n,...o&&{error:o},items:[{...i&&{content_id:i},...a&&{content_title:a},...r&&{content_type:r},...s&&{content_url:s}}]}))(e,h,d,y,t,n?.name||n?.dangerousHed||"",r,n?.url||n?.ctaHref||""),$=(0,o.yP)({subject:d,...null!=c&&{subjectId:String(c)},...null!=m&&{subjectName:String(m)},isFromBookmark:!0,isDefault:!0,isAutoSelected:!1}),{context:v,actionId:C}=((e,t,n,o)=>{const i="unsave"!==o,r=(0,a.g1)({window,product:{...e,isBookmarked:i},index:0,layout:t,event:n,type:o,eventType:"save-event"});return{context:{schema:"iglu:com.condenast/product/jsonschema/2-0-1",data:r?.eventEntityProps||{}},actionId:r?.actionId}})(u,p,g,e),k=u?.offers?.[0],x=l(k,C,g),E=((e,t,n)=>e||t?[{schema:"iglu:com.condenast/error_info/jsonschema/1-0-1",data:{...e&&{type:e},...t&&{message:t},...n&&{subject:n}}}]:[])(b,f,r),A={schema:"iglu:com.condenast/save_event/jsonschema/2-0-1",data:w},S=((e,t,n,o)=>[e,t,...s()(n)?[]:[n],...o])({schema:"iglu:com.condenast/save/jsonschema/2-0-1",data:$},v,x,E);(0,i.YH)({event:A,context:S})}},81591:(e,t,n)=>{n.d(t,{H:()=>a});var o=n(38267),i=n(76955);const a=(0,o.Ay)(i.sH).withConfig({displayName:"SignOutButtonWrapper"})` display: block; background-color: initial; width: 100%; text-align: inherit; `},82103:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(15343),d=n(83108),c=n(90090),m=n(53499),u=n(57221);const p=({lede:e,ledeLogoBaseUrl:t="",shouldUseLedeAsLogo:n})=>{if(!e)return null;const o=s.createElement(u.C2,{lede:e,captionWidth:"standard",shouldUseLedeAsLogo:n,hideLedeCaption:!0});return t?s.createElement("a",{href:t,"aria-label":"Lede Logo"},o):o};p.propTypes={lede:r().object,ledeLogoBaseUrl:r().string,shouldUseLedeAsLogo:r().bool};const g=p,h="above",y="below",b=({chipLengthToCenterAlignInMobile:e,hasNoHorizontalScroll:t=!0,hidePaddingBottom:n=!1,className:o,contentAlign:a="center",customTitle:r,dangerousHed:p,fullPageTheme:b="standard",dividerLength:f=12.5,hasConsistentSpacing:w=!1,hasInvertedDivider:$=!1,hasInvertedTheme:v=!1,hasMinimalVerticalPadding:C=!1,hasSectionContainerWidth:k,hedTag:x="h1",subHed:E,subHedMaxLines:A=0,subHedPosition:S=y,lede:L,ledeLogoBaseUrl:T="",mobileDividerLength:N=12.5,shouldCenterAlignChipsInMobile:H=!1,shouldEnableLede:I=!1,shouldEnableSubNavigation:B=!0,shouldHideBottomSpacing:O=!1,shouldHideTopSpacing:_=!1,shouldInvertDangerousDek:K=!1,shouldIncreaseBottomSpacingDivider:P=!1,shouldUseCollectionHeaderFont:D,shouldUseLedeAsLogo:q=!1,shouldUseCustomTitle:M=!1,showDivider:R=!1,showSmallerSubHed:F=!1,showSubChannelHed:U=!1,showTwolineSubHed:V,variations:G={showSubHedToggleChips:!0},toggleChipsWithLink:W,toggleChipRole:j="switch",type:z})=>{s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"SectionHeader"})},[]);const{showSubHedToggleChips:Y}=G,X=A>0,Z=W?.length===e;let J=E?s.createElement(u.qX,{hasSectionContainerWidth:k,className:"section-header__subhed","data-testid":"SectionHeaderSubhed",dangerouslySetInnerHTML:{__html:E},contentAlign:a,showSmallerSubHed:F,showtwolineSubHed:V,fullPageTheme:b,shouldInvertDangerousDek:K}):null;J&&X&&(J=s.createElement(u.pM,{lines:A,linesInExtraLargeDesktop:A,isCollapsible:!0},J));const[Q,ee]=s.useState(W);return s.useEffect(()=>{{const e=window?.location?.pathname;ee(e)}},[W]),s.createElement(u.Gi,{className:i()("section-header",o,{"inverted-section-header":v}),shouldEnableLede:I,fullPageTheme:b,shouldHideTopSpacing:_,shouldHideBottomSpacing:O,hasConsistentSpacing:w,"data-testid":"SectionHeader"},I&&s.createElement(g,{lede:L,ledeLogoBaseUrl:T,shouldUseLedeAsLogo:q}),(!q||!L)&&s.createElement(u.h8,{contentAlign:a,hasSectionContainerWidth:k},s.createElement(u.Q$,{className:i()("section-header__container",C&&"section-header__container--minimal-padding"),contentAlign:a,hasSectionContainerWidth:k,shouldHideTopSpacing:_,hidePaddingBottom:n,hasConsistentSpacing:w},S===h&&J,S===h&&R&&s.createElement(u.js,{contentAlign:a,subHedPosition:S,dividerLength:f,mobileDividerLength:N,hasInvertedDivider:$,shouldIncreaseBottomSpacingDivider:P,shouldHideTopSpacing:_}),s.createElement(u.QY,{className:"section-header__hed","data-testid":"SectionHeaderHed",dangerouslySetInnerHTML:{__html:U?p:M&&r?r:p},fullPageTheme:b,as:x,showSubChannelHed:U,shouldUseCollectionHeaderFont:D}),S===y&&R&&s.createElement(u.js,{contentAlign:a,subHedPosition:S,dividerLength:f,mobileDividerLength:N,hasInvertedDivider:$,shouldIncreaseBottomSpacingDivider:P,shouldHideTopSpacing:_}),S===y&&J,B&&Y&&W&&W.length>0&&s.createElement(u.kC,{hasSectionContainerWidth:k,shouldCenterAlignChipsInMobile:Z&&H,hasConsistentSpacing:w},s.createElement(d.A,{contentAlign:"center",layout:"nowrap",hasNoHorizontalScroll:t},W.map(e=>s.createElement(l.A,{analyticsDataAttribute:{},key:e.label,isChecked:e.url===Q,onChange:()=>{return t=e.label,n=z,void(0,c.zJ)("toggle-click",{clickText:t,clickType:n});var t,n},redirectUrl:e.url,role:j},e.label)))))))};b.propTypes={chipLengthToCenterAlignInMobile:r().number,className:r().string,contentAlign:r().oneOf(["center","left"]),customTitle:r().string,dangerousHed:r().string.isRequired,dividerLength:r().number,fullPageTheme:r().oneOf(["inverted","standard"]),hasConsistentSpacing:r().bool,hasInvertedDivider:r().bool,hasInvertedTheme:r().bool,hasMinimalVerticalPadding:r().bool,hasNoHorizontalScroll:r().bool,hasSectionContainerWidth:r().bool,hedTag:r().string,hidePaddingBottom:r().bool,lede:r().object,ledeLogoBaseUrl:r().string,mobileDividerLength:r().number,shouldCenterAlignChipsInMobile:r().bool,shouldEnableLede:r().bool,shouldEnableSubNavigation:r().bool,shouldHideBottomSpacing:r().bool,shouldHideTopSpacing:r().bool,shouldIncreaseBottomSpacingDivider:r().bool,shouldInvertDangerousDek:r().bool,shouldUseCollectionHeaderFont:r().bool,shouldUseCustomTitle:r().bool,shouldUseLedeAsLogo:r().bool,showDivider:r().bool,showSmallerSubHed:r().bool,showSubChannelHed:r().bool,showTwolineSubHed:r().bool,subHed:r().string,subHedMaxLines:r().number,subHedPosition:r().oneOf([y,h]),toggleChipRole:r().string,toggleChipsWithLink:r().array,type:r().string,variations:r().shape({showSubHedToggleChips:r().bool})};const f=b},82317:(e,t,n)=>{n.d(t,{A:()=>E});var o=n(47655),i=n(32485),a=n.n(i),r=n(5556),s=n.n(r),l=n(96540),d=n(13465),c=n(35864),m=n(52663),u=n(90090),p=n(47135),g=n(53499),h=n(61229),y=n(52679),b=n(16963),f=n(11025),w=n(38080),$=n(19607),v=n(62327);const C=({analyticsDataAttribute:e,ctaLink:t={},showCtaIcon:n=!1,dangerousDek:o,showCartoonLink:i})=>{if(i&&o)return l.createElement(y.Oq,{"data-testid":"SummaryCollageOneDangerousDek"},l.createElement(y.$m,{dangerouslySetInnerHTML:{__html:o}}));const{label:a,html:r,url:s,icon:d}=t;return r||a&&s?l.createElement(y.Y_,{...e,showCtaIcon:n},n&&d&&l.createElement(y.LW,{icon:d}),r?l.createElement("span",{dangerouslySetInnerHTML:{__html:r}}):l.createElement(y.RI,{"data-testid":"SummaryCollageOneAnchorLink",href:s,dangerouslySetInnerHTML:{__html:a},showCtaIcon:n})):null};C.propTypes={analyticsDataAttribute:s().object,ctaLink:s().shape({html:s().string,label:s().string,url:s().string}),dangerousDek:s().string,showCartoonLink:s().bool,showCtaIcon:s().bool};const k=({className:e,ctaLink:t,customizedBackgroundColorToken:n,customizedBylineColorToken:o,customizedPublishDateColorToken:i,customizedSectionDekColorToken:r,customizedSectionDekTypeToken:s,customizedSectionTitleColorToken:d,customNativeBackgroundColor:h,dangerousDek:k,dangerousHed:x,hasFullWidthImage:E,hasListInDek:A=!1,hasNoBottomPaddingContent:S=!1,hasRoundedCorners:L=!1,hasPaddingOnContent:T,hasUnderlineHed:N,hideRubricItemSummary:H=!1,items:I,isBorderContextSignature:B=!1,recircRiver:O,sectionTitleVariation:_="LineAboveLineBelowTextCenter",shouldDisplayDangerousDek:K,shouldEmbedFeaturedVideo:P=!1,shouldEnableBundleComponentAnalytics:D,shouldHideBylines:q=!1,shouldHideDangerousDek:M=!1,shouldHideDangerousHed:R=!1,shouldHidePublishDate:F=!1,shouldHideTitle:U=!1,shouldUseHedFeatureToken:V,showAdRail:G,showCartoonLink:W=!1,summaryItemRubricVariation:j,summaryItemVariation:z="TextBelowLeft",trackingNamespace:Y,variations:X={isFullBleedDarkBackground:!1,isSingleFeature:!1,hasEnhancedDailyCartoon:void 0,isHeroFeature:!1},variationName:Z})=>{l.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(g.G.RENDER,{name:"SummaryCollageOne",variation:Z})},[Z]);const{isFullBleedDarkBackground:J,isSingleFeature:Q,hasEnhancedDailyCartoon:ee,isHeroFeature:te}=X,ne=m.A[z],oe=c.default[_];let ie={},ae={};const re=P&&I[0]?.image?.scriptUrl;Q&&(ie={hedTag:"h2"},ee?ie.link={}:k&&!K&&(ie.link={html:k}),ae={shouldHoldImageSpace:!1});const se=(0,u.NY)(D,Y?.item||x),le=(0,u.NY)(D,Y?.featuredLink||x),de=l.createElement(y.cu,{"data-testid":"SummaryCollageOneSingleFeature",className:a()("summary-collage-one",e),isHeroFeature:te,isSingleFeature:Q,hasFullWidthImage:E,isFullBleedDarkBackground:J,hasEnhancedDailyCartoon:ee,showCartoonLink:W,shouldUseHedFeatureToken:V,customizedBackgroundColorToken:n,customizedSectionDekTypeToken:s,customizedSectionDekColorToken:r,customNativeBackgroundColor:h,hasRoundedCorners:L,hasPaddingOnContent:T},!U&&x&&l.createElement(y.eb,{isSingleFeature:Q,customizedSectionTitleColorToken:d},l.createElement(oe,{...ie,dangerousHed:x,isBorderContextSignature:B})),l.createElement(b.A,{dangerousDek:k,shouldDisplayDangerousDek:K}),re?l.createElement(y.et,{as:p.A,analyticsDataAttribute:se,isFeatured:!0,item:I[0],key:I[0].copilotID,scriptUrl:I[0].image.scriptUrl,videoEmbedPosition:v.sm}):l.createElement(y.et,{...I[0],analyticsDataAttribute:se,as:ne,hasNoBottomPaddingContent:S,hasUnderlineHed:N,hedTag:"h3",hideRubricItemSummary:H,shouldPlayInline:!0,recircRiver:O,rubricVariation:j,hasListInDek:A,shouldHideBylines:q,shouldHideDangerousDek:M,shouldHideDangerousHed:R,shouldHidePublishDate:F,customizedBylineColorToken:o,customizedPublishDateColorToken:i,responsiveCartoonVariation:ee&&"WithNoSocialIcons",hasWrapperButtonRole:!ee,...ae,hasEnhancedDailyCartoon:ee}),G&&l.createElement(y.SE,null,l.createElement(f.A,null,l.createElement(w.Z,{group:"ads"},l.createElement($.A,{position:"rail"})))),Q&&l.createElement(C,{ctaLink:t,analyticsDataAttribute:le,showCtaIcon:ee,dangerousDek:k,showCartoonLink:W}));return J?l.createElement(y.Vd,{isFullBleedDarkBackground:J},de):de};k.propTypes={className:s().string,ctaLink:s().shape({html:s().string,label:s().string,url:s().string,icon:s().string}),customizedBackgroundColorToken:s().string,customizedBylineColorToken:s().string,customizedPublishDateColorToken:s().string,customizedSectionDekColorToken:s().string,customizedSectionDekTypeToken:s().string,customizedSectionTitleColorToken:s().string,customNativeBackgroundColor:s().string,dangerousDek:s().string,dangerousHed:s().string,hasEnhancedDailyCartoon:s().bool,hasFullWidthImage:s().bool,hasListInDek:s().bool,hasNoBottomPaddingContent:s().bool,hasPaddingOnContent:s().bool,hasRoundedCorners:s().bool,hasUnderlineHed:s().bool,hideRubricItemSummary:s().bool,isBorderContextSignature:s().bool,items:s().arrayOf(s().shape(m.A.propTypes)).isRequired,recircRiver:s().string,sectionTitleVariation:s().string,shouldDisplayDangerousDek:s().bool,shouldEmbedFeaturedVideo:s().bool,shouldEnableBundleComponentAnalytics:s().bool,shouldHideBylines:s().bool,shouldHideDangerousDek:s().bool,shouldHideDangerousHed:s().bool,shouldHidePublishDate:s().bool,shouldHideTitle:s().bool,shouldUseHedFeatureToken:s().bool,showAdRail:s().bool,showCartoonLink:s().bool,summaryItemRubricVariation:s().string,summaryItemVariation:s().oneOf(["TextBelowLeft","TextBelowCenter","TextBelowLeftCard","TextBelowCenterCard","ImageRatio43","ImageRatio169","ImageRatio11","CircularImage","TextBelowDesktopOnly","TextBelowDesktopOnlyImageRight","TextBelowDesktopOnlyThirds","TextBelowDesktopOnlyThirdsImageRight","TextBelowDesktopOnlyThirdsImageRightThumbnail","SideBySide","SideBySideImageRight","SideBySideThirds","SideBySideThirdsImageRight","SideBySideDarkBackgroundRight","SideBySideDesktopOnly","SideBySideDesktopOnlyImageRight","SideBySideDesktopOnlyThirds","SideBySideDesktopOnlyThirdsImageRight"]),trackingNamespace:s().object,variationName:s().string,variations:s().shape({isFullBleedDarkBackground:s().bool,isSingleFeature:s().bool,hasEnhancedDailyCartoon:s().bool,isHeroFeature:s().bool})},k.displayName="SummaryCollageOne";const x=(0,d.y)((0,h.j)(k),"SummaryCollageOne");x.SingleFeature=(0,o.y)(x,"SingleFeature",{isSingleFeature:!0},{sectionTitleVariation:"LineAboveLineBelowTextLeft",shouldHideDangerousDek:!0,shouldHideDangerousHed:!0}),x.FullBleedDarkBackground=(0,o.y)(x,"FullBleedDarkBackground",{isFullBleedDarkBackground:!0},{shouldHideDangerousDek:!1,shouldHideDangerousHed:!1,shouldHideTitle:!0}),x.FullBleedDarkBackgroundWithTitle=(0,o.y)(x,"FullBleedDarkBackgroundWithTitle",{isFullBleedDarkBackground:!0},{shouldHideDangerousDek:!1,shouldHideDangerousHed:!1,shouldHideTitle:!1}),x.DailyCartoon=(0,o.y)(x,"DailyCartoon",{isSingleFeature:!0,hasEnhancedDailyCartoon:!0},{sectionTitleVariation:"SoftDivider",shouldHideDangerousDek:!0,shouldHideDangerousHed:!0,showAdRail:!0,showCartoonLink:!0}),x.HeroFeature=(0,o.y)(x,"HeroFeature",{isHeroFeature:!0},{shouldHideDangerousDek:!1,shouldHideDangerousHed:!1,shouldHideTitle:!0,summaryItemRubricVariation:"DiscoveryItem",summaryItemVariation:"SideBySideCenterImageLeft",shouldUseHedFeatureToken:!0});const E=x},82752:(e,t,n)=>{n.d(t,{ov:()=>v,Aj:()=>k,r7:()=>w,od:()=>$,gk:()=>C});var o=n(38267),i=n(96540),a=n(32485),r=n.n(a),s=n(5556),l=n.n(s),d=n(20312),c=n.n(d),m=n(31581);const u=({children:e,align:t,appElement:n,className:o,additionalClassName:a,...s})=>(i.useEffect(()=>{n&&c().setAppElement(n)},[n]),i.createElement(c(),{...s,portalClassName:o,className:{base:r()("drawer",a,{[`drawer--align-${t}`]:t}),afterOpen:"drawer--open",beforeClose:"drawer--closing"}},e));u.propTypes={additionalClassName:l().string,align:l().string,appElement:l().oneOfType([l().string,l().element]),children:l().node,className:l().string};const p=(0,m.N)(u);var g=n(73730),h=n(26865),y=n(76955),b=n(96472),f=n(56341);const w=o.DU` .body__drawer--open { overflow: hidden; } `,$=(0,o.Ay)(p).withConfig({displayName:"DrawerModalWrapper"})` .drawer { transition: 'transform 100ms cubic-bezier(0.23, 1, 0.32, 1)'; animation: fadeIn 0.3s; outline: none; background-color: ${({theme:e,isBookmarkDrawersEnabled:t})=>!t&&(0,h.HK)(e,"standard"===e.palette?"colors.foundation.menu-bg.expanded":"colors.consumption.lead.inverted.background")}; ${({drawerTitle:e})=>`padding: ${(0,h.Kq)(e?3:6)} 0 0;`} max-height: 100%; overflow: hidden; ${(0,h.R9)("align",e=>["left","right","bottom"].includes(e),`\n ${(0,h.H4)(b.LO.md)} {\n max-width: 50%;\n }\n .drawer__social-icons {\n justify-content: flex-start;\n }\n `)} } div[class*='SecondaryMenuContent-'] a[class*='SocialIconExternalLink-'] .icon path { fill: ${({theme:e})=>(0,h.HK)(e,"colors.foundation.expanded-menu.nav-link.default")}; } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-moz-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-o-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-ms-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .drawer.drawer--open { left: 0; height: 100vh; ${(0,h.H4)(b.LO.lg)} { outline: none; height: auto; max-height: 100vh; overflow: hidden; transition-delay: '.2s'; } transition-delay: '.2s'; overflow: hidden; .drawer__content { transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1); opacity: 1; } ${(0,h.R9)("align","right","\n right: 0;\n left: unset;\n margin-left: auto;\n ")} ${(0,h.R9)("align","bottom","\n right: 0;\n max-width: 100%;\n position: absolute;\n bottom: 0;\n ")} } .drawer.drawer--open.drawer--open-positioned { transform: translateZ(0); ${({hideDrawerScroll:e})=>!e&&`\n ${(0,h.H4)(b.LO.lg)} {\n overflow-y: auto;\n }\n `} } .drawer.drawer--open.drawer--megamenu { background-color: ${({theme:e})=>(0,h.HK)(e,"inverted"===e.palette?"colors.background.black":"colors.foundation.menu-bg.expanded")}; } .drawer.drawer--open.drawer--search { background-color: ${({theme:e})=>(0,h.HK)(e,"colors.background.white")}; height: auto; } .drawer.drawer--open.drawer--filter-mobile { padding: 0; overflow-y: auto; } ${(0,h.R9)("animation","slide-down","\n .drawer {\n transform: translate3d(0, -100%, 0);\n }\n\n .drawer.drawer--open {\n transition: 'transform 0.8s cubic-bezier(0.23, 1, 0.32, 1)';\n\n .drawer__content {\n transition-delay: 0.8s;\n }\n }\n\n .drawer.drawer--closing {\n transform: translate3d(0, -100%, 0);\n transition: 'transform 0.6s cubic-bezier(0.23, 1, 0.32, 1)';\n transition-delay: 0.3s;\n }\n\n .drawer.drawer--open.drawer--megamenu {\n transform: translateZ(0);\n }\n ")} ${(0,h.R9)("animation","slide-right","\n .drawer {\n transform: translate3d(-100%, 0, 0);\n }\n\n .drawer.drawer--open {\n transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);\n\n .drawer__content {\n transition-delay: 0.2s;\n }\n }\n\n .drawer.drawer--closing {\n transform: translate3d(-100%, 0, 0);\n transition: transform 0.25s cubic-bezier(0.4, 0, 1, 1);\n }\n ")} ${(0,h.R9)("animation","slide-left","\n .drawer {\n transform: translate3d(100%, 0, 0);\n }\n\n .drawer.drawer--open {\n transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);\n\n .drawer__content {\n transition-delay: 0.2s;\n }\n }\n\n .drawer.drawer--closing {\n transform: translate3d(100%, 0, 0);\n transition: transform 0.25s cubic-bezier(0.4, 0, 1, 1);\n }\n ")} ${(0,h.R9)("animation","slide-up","\n .drawer {\n height: 0;\n transform: translate3d(0, 100%, 0);\n }\n\n .drawer.drawer--open {\n height: auto;\n transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), \n height 0.8s cubic-bezier(0.23, 1, 0.32, 1);\n\n .drawer__content {\n transition-delay: 0.2s;\n }\n }\n\n .drawer.drawer--closing {\n height: 0;\n transform: translate3d(0, 100%, 0);\n transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), \n height 0.8s cubic-bezier(0.23, 1, 0.32, 1);\n transition-delay: 0.2s;\n }\n ")} .drawer.drawer--closing { .drawer__content { transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1); opacity: 0; } } .drawer__overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; ${({hideChannelNavigation:e})=>e?"z-index : 999;":`z-index: ${(0,h.fl)("persistentBottomLayer")};`} transition: opacity 0.5s ease; background-color: rgba( ${(0,h.HK)("colors.interactive.base.black",{rgbOnly:!0})}, 0 ); &.drawer__overlay--opening { opacity: 1; &.drawer__overlay--increased-top-position { ${({hasSpecificTopPosition:e})=>e>0?`top: ${e}px;`:`top: ${(0,h.Kq)(0)};`} .drawer.drawer--open.drawer--open-positioned { width: calc(100% - ${(0,h.Kq)(10)}); } ${(0,h.H4)(b.LO.lg)} { .drawer.drawer--open.drawer--open-positioned { width: auto; } } } &.drawer--overlay-color-white { background-color: rgba( ${(0,h.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 0.7 ); } &.drawer--overlay-color-black { background-color: rgba( ${(0,h.HK)("colors.interactive.base.black",{rgbOnly:!0})}, 0.7 ); } } &.drawer__overlay--closing { opacity: 0; &.drawer--overlay-color-white { background-color: rgba( ${(0,h.HK)("colors.interactive.base.white",{rgbOnly:!0})}, 0 ); } &.drawer--overlay-color-black { background-color: rgba( ${(0,h.HK)("colors.interactive.base.black",{rgbOnly:!0})}, 0 ); } } &.drawer__overlay--align-right { z-index: ${(0,h.fl)("hyperstitialLayer")}; } &.drawer__overlay--hide-on-desktop { display: block; ${(0,h.H4)(b.LO.lg)} { display: none; } } &.drawer__overlay--hide-on-mobile { display: block; ${(0,h.L7)(`calc(${b.LO.lg} - 1px)`)} { display: none; } } } `,v=(0,o.Ay)(g.A.Utility).withConfig({displayName:"DrawerButton"})` ${({theme:e})=>(0,f.j)(e,!0)} position: absolute; top: ${(0,h.Kq)(1)}; right: ${(0,h.Kq)(1)}; width: ${(0,h.Kq)(4)}; height: ${(0,h.Kq)(4)}; .icon-close { padding: 6px; path { ${({theme:e,isBookmarkDrawersEnabled:t})=>t&&(0,h._o)(e,"stroke","standard"===e.palette?"colors.interactive.base.border":"colors.interactive.base.white")}; } } `,C=(0,o.Ay)(y.vm).withConfig({displayName:"DrawerTitle"})` margin-bottom: ${(0,h.Kq)(.5)}; padding: 0 ${(0,h.Kq)(6)}; text-align: center; `;C.defaultProps={as:"div",colorToken:"colors.interactive.base.black",typeIdentity:"typography.definitions.utility.subheading"};const k=(0,o.Ay)(y.vm).withConfig({displayName:"DrawerDek"})` margin-bottom: ${(0,h.Kq)(2)}; padding: 0 ${(0,h.Kq)(3)}; text-align: center; `;k.defaultProps={as:"div",colorToken:"colors.interactive.base.black",typeIdentity:"typography.definitions.utility.body"}},83237:(e,t,n)=>{n.d(t,{A:()=>T});var o=n(47655),i=n(32485),a=n.n(i),r=n(5556),s=n.n(r),l=n(38221),d=n.n(l),c=n(96540),m=n(6442);const u=(0,n(72267).defineMessages)({priceWithNoSellerPreamble:{id:"ProductEmbed.PriceWithNoSellerPreamble",defaultMessage:"Buy for {price}",description:"ProductEmbed component price text without seller name preamble"},priceWithSellerPreamble:{id:"ProductEmbed.PriceWithSellerPreamble",defaultMessage:"{price} at {sellerName}",description:"ProductEmbed component price text with seller name preamble"},defaultTextPreamble:{id:"ProductEmbed.DefaultTextPreamble",defaultMessage:"Learn More",description:"ProductEmbed component default text for price button"},defaultCtaText:{id:"ProductEmbed.DefaultCtaText",defaultMessage:"Buy It",description:"ProductEmbed component default CTA text",isConfigurable:!0},venueCtaText:{id:"ProductEmbed.VenueCtaText",defaultMessage:"Book Now",description:"ProductEmbed component CTA text for venue content type"}});var p=n(90090),g=n(89957),h=n(13099),y=n(39832),b=n(73275),f=n(43428),w=n(50700),$=n(53985);const v=({dangerousHed:e,dangerousDek:t,embedSize:n,hedTag:o,hasProductEmbedHedTextCentreAlign:i,productBrand:a,productId:r,shouldShowBrandName:s,shouldDekBelowOffer:l,hasBottomMargin:d,getClampedDescription:m})=>c.createElement(c.Fragment,null,c.createElement($.Pv,{hasBottomMargin:d,hasProductEmbedHedTextCentreAlign:i},s&&a&&c.createElement($.Nc,{dangerouslySetInnerHTML:{__html:a}}),e?c.createElement($.eN,{as:o,id:(e=>{if(e)return e})(r),dangerouslySetInnerHTML:{__html:e}}):c.createElement($.eN,{dangerouslySetInnerHTML:{__html:t}}),!l&&t&&e&&"feature-small"!==n&&m(t)));v.propTypes={dangerousDek:s().string,dangerousHed:s().string,embedSize:s().string,getClampedDescription:s().func,hasBottomMargin:s().bool,hasProductEmbedHedTextCentreAlign:s().bool,hedTag:s().string,productBrand:s().string,productId:s().string,shouldDekBelowOffer:s().bool,shouldShowBrandName:s().bool};const C=v;var k=n(53499),x=n(60162),E=n(25203),A=n(22039);const S=e=>{const{className:t,contentType:n,ctaHref:o,ctaText:i,ctaAtRetailerName:r,dangerousCredit:s,dangerousDek:l,dangerousHed:v,embedSize:S,internalLink:L,isEmbedSizeEnabled:T=!1,offerRetailer:N,offerUrl:H,image:I,isSponsored:B,isFirstProduct:O,hasProductEmbedPadding:_=!1,hasProductEmbedHedTextCentreAlign:K,hasGalleryProductEmbedPadding:P=!1,hedTag:D="div",multipleOffers:q,productBrand:M,productId:R,id:F,productOfferVariation:U,shouldHaveAlternateHedSpacing:V=!1,shouldHaveModerateWrapperPadding:G=!1,shouldShowBrandName:W=!1,shouldShowBrandInProductName:j=!1,showAffiliateDisclaimerOnFirstProduct:z,showOfferUrl:Y,showPriceOnButton:X,variations:Z={imageAlign:"left",noBottomPadding:!1,hasSidePadding:!1,hasTopMargin:!0,shouldDekBelowOffer:!1,hasMultipleLines:!1,hasBottomMargin:!1},dropShipSellers:J,showLocalisedOffers:Q,isLazy:ee=!1,variationName:te,shouldEnableBundleComponentAnalytics:ne=!1,index:oe,showClampedProductDescription:ie=!1,hasReadMoreFeature:ae=!1,productDescriptionLineLength:re,component:se="product_embed",actionIdFlags:le={},textBadge:de,seal:ce}=e,me=ie&&ae,ue=le?.enableActionIdForProductEmbed;c.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(k.G.RENDER,{name:"ProductEmbed",variation:te})},[te]);const[pe,ge]=(0,c.useState)(!1),{formatMessage:he}=(0,m.A)(),ye=((e,t,n)=>"venue"===e?n(u.venueCtaText):t||n(u.defaultCtaText))(n,i,he);let be=!0;J?.length>0&&(be=J?.some(e=>!H?.toLowerCase().includes(e)));const{imageAlign:fe,marginDek:we,contentAlign:$e,buttonAlign:ve,hasTopMargin:Ce,contentPosition:ke,shouldDekBelowOffer:xe,hasMultipleLines:Ee}=Z,Ae={tabIndex:-1,"aria-hidden":!0,"data-offer-retailer":N,"data-offer-url":H},Se={dangerousHed:v,brand:{name:M},id:R||F,index:oe,contentType:n,offers:q,offersLength:q?.length||0,component:"product_embed",hotelLink:L,textBadge:de,seal:ce,image:I};c.useEffect(()=>{window.addEventListener("load",()=>(0,x.Yp)("ProductEmbed",document.getElementsByClassName("product-embed"))),window.addEventListener("scroll",d()(()=>{(0,x.Yp)("ProductEmbed",document.getElementsByClassName("product-embed"))},1e3))},[]);const Le=(e,t,n)=>{(0,x.g1)({window,product:{...Se},index:e,actionId:n,layout:"ProductEmbed",event:t,layoutTitle:v,offerIndex:e??null})};(0,g.ol)(".product-embed",void 0,e=>{e&&(0,p.zJ)("productembeds")});const Te=!(!T||!S),Ne=he(u.defaultTextPreamble),He={dangerousHed:M&&j?`${M} ${v}`:v,dangerousDek:l,embedSize:S,marginDek:we,productBrand:M,productId:R,shouldShowBrandName:W,shouldDekBelowOffer:xe},Ie=e=>c.createElement($.Nz,{className:"product-embed__dek",marginDek:we,dangerouslySetInnerHTML:{__html:e},showClampedProductDescription:me,productDescriptionLineLength:re,showLess:pe}),Be=e=>{const t=pe?"close":"open";return c.createElement($.t6,{lines:re,linesInExtraLargeDesktop:re,isCollapsible:!0,showLess:pe,offset:-5,onTextClick:()=>{ge(!pe),(0,x.g1)({window,product:{...Se},index:Se.index,layout:"ProductEmbed",type:t})},showClampedProductDescription:me},Ie(e))},Oe=L??(Y?H:o),_e=Oe?.includes("cna.st")&&ue,Ke=(e,t)=>{const n=e?.currentTarget?.getAttribute("href"),o=(0,E.hh)();if(_e&&n){e.preventDefault();const{href:i}=(0,f.P)({event:e,gtmTrackOnClick:Le,linkProps:n,position:t,type:"GallerySlideImage",component:se,queryParams:o});L&&window.open(i,"_blank","noopener, noreferrer")}else Le(t,e)};let Pe={};return ne&&(Pe=(0,p.NY)(ne,"product carousel item",oe)),c.createElement(c.Fragment,null,z&&O&&c.createElement(h.M,{"data-testid":"ProductEmbedDisclaimer"}),c.createElement($.ew,{...Pe,"data-testid":"ProductEmbedWrapper",className:a()("product-embed",{[`product-embed--image-${fe}`]:fe&&I&&!Te},{"product-embed--no-bottom-padding":Z.noBottomPadding},t),imageAlign:fe&&I&&!Te?fe:null,id:F||R,marginDek:!Te&&we?we:null,hasTopMargin:Ce,isSponsored:B,embedSize:S,noImage:!I&&Te,noBottomPadding:Z.noBottomPadding,noRightLeftPadding:Z.noRightLeftPadding,hasSidePadding:Z.hasSidePadding,shouldHaveAlternateHedSpacing:V,shouldHaveModerateWrapperPadding:G,shouldShowBrandName:W,useEmbedSize:Te,hasProductEmbedPadding:_,"data-item":JSON.stringify(Se),hasGalleryProductEmbedPadding:P},c.createElement($.E4,null,ce&&c.createElement(A.rU,{seal:ce}),de&&c.createElement(A.sN,{config:{position:"top-left",badgeText:de.name},className:"standard"}),I&&(L?c.createElement($.EY,{href:Oe,onClick:(e,t)=>Ke(e,t)},c.createElement($.aZ,{hasNativeImgLazyLoading:!0,isLazy:ee,as:b.A,...I})):c.createElement($.EY,{as:y.A,href:Oe,target:be?"_blank":"_self",rel:"sponsored noopener",attributes:Ae,onClick:(e,t)=>Ke(e,t),component:se},c.createElement($.aZ,{hasNativeImgLazyLoading:!0,isLazy:ee,as:b.A,...I}),s&&c.createElement($.yj,{dangerouslySetInnerHTML:{__html:s}})))),c.createElement($.yh,{className:"product-embed__content",contentAlign:$e,contentPosition:ke},c.createElement(C,{...He,hasBottomMargin:Z.hasBottomMargin,hedTag:D,hasProductEmbedHedTextCentreAlign:K,showLess:pe,getClampedDescription:me?Be:Ie}),ye&&o&&c.createElement($.$N,{useEmbedSize:Te,as:w.A,marginDek:we,buttonAlign:ve,noDek:!l&&X,className:"product-embed__cta",defaultCTAText:ye,ctaAtRetailerName:r,defaultTextForEmbedSize:Te?Ne:null,hasMultipleLines:Ee,embedSize:S,offers:q,onClickHandler:({label:e,position:t,event:n,actionId:o})=>{const i={"click text":S?`${S}_${t+1}_${e}`:`default_${t+1}_${e}`};(0,p.W8)("buy-button-click",i),Le(t,n,o)},productId:R,showCount:4,showOfferUrl:Y,showPriceOnButton:X,productOfferVariation:U,dropShipSellers:J,showLocalisedOffers:Q,hasProductEmbedPadding:_,hasGalleryProductEmbedPadding:P,isActionIdEnabledForComponent:ue,component:se}),xe&&l&&v&&"feature-small"!==S&&(me?Be(l):Ie(l)))))};S.propTypes={actionIdFlags:s().object,className:s().string,component:s().string,contentType:s().string,ctaAtRetailerName:s().string,ctaHref:s().string,ctaText:s().string,dangerousCredit:s().string,dangerousDek:s().string,dangerousHed:s().string,dropShipSellers:s().array,embedSize:s().string,hasGalleryProductEmbedPadding:s().bool,hasProductEmbedHedTextCentreAlign:s().bool,hasProductEmbedPadding:s().bool,hasReadMoreFeature:s().bool,hedTag:s().string,id:s().string,image:s().shape(b.A.propTypes),index:s().number,internalLink:s().string,isEmbedSizeEnabled:s().bool,isFirstProduct:s().bool,isLazy:s().bool,isSponsored:s().bool,multipleOffers:s().array,offerRetailer:s().string,offerUrl:s().string,productBrand:s().string,productDescriptionLineLength:s().number,productId:s().string,productOfferVariation:s().string,seal:s().object,shouldEnableBundleComponentAnalytics:s().bool,shouldHaveAlternateHedSpacing:s().bool,shouldHaveModerateWrapperPadding:s().bool,shouldShowBrandInProductName:s().bool,shouldShowBrandName:s().bool,showAffiliateDisclaimerOnFirstProduct:s().bool,showClampedProductDescription:s().bool,showLocalisedOffers:s().bool,showOfferUrl:s().bool,showPriceOnButton:s().bool,textBadge:s().object,variationName:s().string,variations:s().shape({buttonAlign:s().oneOf(["left","right","center"]),contentAlign:s().oneOf(["start","end","center","space-between"]),contentPosition:s().oneOf(["start","end","center","top","bottom"]),imageAlign:s().oneOf(["left","top","center"]).isRequired,marginDek:s().oneOf(["top","bottom"]),noBottomPadding:s().bool.isRequired,hasMultipleLines:s().bool,hasBottomMargin:s().bool,hasSidePadding:s().bool,hasTopMargin:s().bool,noRightLeftPadding:s().bool,shouldDekBelowOffer:s().bool})},S.displayName="ProductEmbed";const L=S;L.ImageLeft=(0,o.y)(L,"ImageLeft",{imageAlign:"left",noBottomPadding:!1}),L.ImageTop=(0,o.y)(L,"ImageTop",{imageAlign:"top",noBottomPadding:!1}),L.ImageTopNoBottomPadding=(0,o.y)(L,"ImageTopNoBottomPadding",{imageAlign:"top",noBottomPadding:!0,hasBottomMargin:!0}),L.ImageTopDekwithMargin=(0,o.y)(L,"ImageTopDekwithMargin",{imageAlign:"top",noBottomPadding:!1,marginDek:"bottom"}),L.ImageTopNoBottomPaddingContentAlign=(0,o.y)(L,"ImageTopNoBottomPaddingContentAlign",{imageAlign:"top",noBottomPadding:!0,contentAlign:"end",hasBottomMargin:!0}),L.ImageTopNoBottomPaddingContentAlignWithMultiLine=(0,o.y)(L,"ImageTopNoBottomPaddingContentAlignWithMultiLine",{imageAlign:"top",noBottomPadding:!0,contentAlign:"end",hasMultipleLines:!0,hasBottomMargin:!0}),L.ImageLeftButtonAlignRight=(0,o.y)(L,"ImageLeftButtonAlignRight",{imageAlign:"left",noBottomPadding:!1,buttonAlign:"right"}),L.ImageLeftWithButtonAndTextCentered=(0,o.y)(L,"ImageLeftWithButtonAndTextCentered",{imageAlign:"center",noBottomPadding:!1,contentAlign:"center"}),L.ImageLeftWithButtonAndTextVerticallyCentered=(0,o.y)(L,"ImageLeftWithButtonAndTextVerticallyCentered",{imageAlign:"center",noBottomPadding:!1,contentAlign:"center",contentPosition:"start"}),L.ItemLeftCaptionAboveMultipleButtonsWithPrice=(0,o.y)(L,"ItemLeftCaptionAboveMultipleButtonsWithPrice",{imageAlign:"top",noBottomPadding:!1,hasSidePadding:!0,hasTopMargin:!0,shouldDekBelowOffer:!0},{shouldShowBrandName:!0,shouldShowBrandInProductName:!1,showPriceOnButton:!0,productOfferVariation:"ButtonWithPriceSection"}),L.ImageTopDekwithMarginNoRightLeftPadding=(0,o.y)(L,"ImageTopDekwithMarginNoRightLeftPadding",{imageAlign:"top",noBottomPadding:!1,marginDek:"bottom",noRightLeftPadding:!0}),L.ImageTopButtonAlignmentForSideBySideProduct=(0,o.y)(L,"ImageTopButtonAlignmentForSideBySideProduct",{imageAlign:"top",noBottomPadding:!1,contentAlign:"space-between"});const T=L},83254:(e,t,n)=>{n.d(t,{A:()=>J});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(38798),l=n(38221),d=n.n(l),c=n(7350),m=n.n(c);const u=(0,n(72267).defineMessages)({galleryLink:{id:"ImageSlideShow.galleryLink",defaultMessage:"See the gallery",description:"CTA to gallery"},lastSlideCTA:{id:"ImageSlideShow.lastSlideCTA",defaultMessage:"Explore the gallery",description:"Last slide overlay call to action"}});var p=n(73730),g=n(96472),h=n(73275),y=n(38267),b=n(26865),f=n(1123),w=n(35864),$=n(25751);const v=y.Ay.div.withConfig({displayName:"ImageSlideShowWrapper"})` ${(0,f.VO)()} ${({hasMarginTop:e})=>e&&`margin-top: ${(0,b.Kq)(4)};`} `,C=y.Ay.div.withConfig({displayName:"ImageSlideShowHeader"})` ${(0,f.aU)("padding")} `,k=y.Ay.div.withConfig({displayName:"ImageSlideShowFooter"})` ${(0,f.aU)("padding")} `,x=(0,y.Ay)(w.default).withConfig({displayName:"ImageSlideShowTitle"})``,E=y.Ay.div.withConfig({displayName:"ImageSlideShowCarousel"})` position: relative; transition: opacity 0.3s ease-in; opacity: 0; margin: ${(0,b.Kq)(4)} 0; overflow: hidden; @media (min-width: ${g.LO.md}) { ${(0,f.VO)()} ${(0,f.aU)("margin")} overflow: visible; } `,A=y.Ay.ul.withConfig({displayName:"ImageSlideShowCarouselList"})` display: flex; position: relative; transition: transform 0.3s cubic-bezier(0.34, 0.83, 1.06, 0.65); margin: 0; padding: 0; padding-right: ${(0,b.Kq)(4)}; padding-left: ${(0,b.Kq)(1.5)}; list-style: none; -webkit-overflow-scrolling: touch; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; &::-webkit-scrollbar { display: none; } @media (min-width: ${g.LO.md}) { padding: 0; ${(0,f.VO)()} } `,S=y.Ay.li.withConfig({displayName:"ImageSlideShowCarouselItem"})` display: flex; position: relative; flex-grow: 1; flex-shrink: 0; flex-wrap: wrap; align-items: center; align-self: stretch; margin-left: ${(0,b.Kq)(1.5)}; width: 100%; max-width: calc(100% - ${(0,b.Kq)(4.5)}); max-height: 100%; scroll-snap-align: center; &:last-child, &:last-of-type { margin-right: ${(0,b.Kq)(3)}; } @media (min-width: ${g.LO.md}) { align-content: start; margin: 0 1.35%; width: inherit; max-width: 100%; scroll-snap-align: start; ${({isLandscape:e})=>"width: "+(e?"48.6%":"23%")}; &:first-child { margin-left: 0; } &:last-child { margin-right: 0; } } `,L=y.Ay.button.withConfig({displayName:"ImageSlideShowCarouselButton"})` display: none; position: absolute; top: calc(50% - 22px); transition: opacity 0.3s ease-in; opacity: 0; background: none; ${({direction:e})=>""+("prev"===e?"left: -44px":"right: -44px")}; fill: ${({isInactive:e})=>e?(0,b.HK)("colors.interactive.base.light"):(0,b.HK)("colors.interactive.base.black")}; pointer-events: ${({isInactive:e})=>e?"none":"auto"}; @media (min-width: ${g.LO.md}) { display: block; } `,T=(0,y.Ay)($.A).withConfig({displayName:"ImageSlideShowCarouselArrow"})` ${({type:e})=>`transform: scale(${"prev"===e?"-0.85":"0.85"})`}; `,N=(y.Ay.div.withConfig({displayName:"ImageSlideShowCarouselSwipe"})``,y.Ay.div.withConfig({displayName:"ImageSlideShowSlide"})``,y.Ay.div.withConfig({displayName:"ImageSlideShowSlideImage"})` display: flex; position: relative; align-items: center; background-color: ${(0,b.HK)("colors.consumption.body.inverted.bg-photo")}; width: 100%; `),H=y.Ay.div.withConfig({displayName:"ImageSlideShowSlideMobileText"})` width: 100%; @media (min-width: ${g.LO.md}) { display: none; } `,I=y.Ay.div.withConfig({displayName:"ContentUpdatorWrapper"})` transition: opacity 0.3s linear; min-height: 50px; `,B=y.Ay.div.withConfig({displayName:"ImageSlideShowSlideText"})` display: none; width: 100%; @media (min-width: ${g.LO.md}) { display: block; } `,O=y.Ay.p.withConfig({displayName:"ImageSlideShowSlideCredit"})` margin: ${(0,b.Kq)(1.5)} 0 0; width: 100%; text-align: center; color: ${(0,b.HK)("colors.consumption.body.standard.body-deemphasized")}; ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.globalEditorial.accreditation-core")} `,_=y.Ay.p.withConfig({displayName:"ImageSlideShowSlideCaption"})` margin: ${(0,b.Kq)(.5)} 0 0; width: 100%; text-align: center; color: ${(0,b.HK)("colors.discovery.body.light.description")}; a { text-decoration: none; color: ${(0,b.HK)("colors.discovery.body.light.description")}; } a:hover { text-decoration: underline; } ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.consumptionEditorial.description-core")} `,K=y.Ay.div.withConfig({displayName:"ImageSlideShowLastSlide"})` display: flex; position: absolute; top: 0; right: 0; bottom: 0; left: 0; flex-wrap: wrap; background-color: ${(0,b.HK)("colors.consumption.body.inverted.bg-photo")}; padding: 0 ${(0,b.Kq)(2)}; `,P=y.Ay.h3.withConfig({displayName:"ImageSlideShowLastSlideHed"})` align-self: end; margin-top: 0; width: 100%; text-align: center; color: ${(0,b.HK)("colors.consumption.lead.inverted.heading")}; ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.discovery.hed-feature")} `,D=y.Ay.p.withConfig({displayName:"ImageSlideShowLastSlideDek"})` align-self: end; width: 100%; text-align: center; color: ${(0,b.HK)("colors.consumption.lead.inverted.description")}; ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.globalEditorial.context-secondary")} `,q=y.Ay.a.withConfig({displayName:"ImageSlideShowLastSlideLink"})` width: 100%; text-decoration: none; &:hover, &:focus { p { text-decoration: underline; } } & > div { display: flex; flex-wrap: wrap; width: 100%; @media (min-width: ${g.LO.lg}) { padding-bottom: ${(0,b.Kq)(4)}; } } `,M=y.Ay.div.withConfig({displayName:"ImageSlideShowCTA"})` margin-bottom: ${(0,b.Kq)(5)}; text-align: center; `,{useEffect:R,useRef:F,useState:U}=r,V=({caption:e,credit:t})=>{const[n,o]=U(1),[i,a]=U(""),[s,l]=U(""),d=F(null);return R(()=>(d.current||e===i&&t===s||(o(0),d.current=setTimeout(()=>{o(1),a(e),l(t),d.current=null},300)),()=>{clearTimeout(d.current),d.current=null}),[e,i,t,s]),r.createElement(I,{style:{opacity:n}},r.createElement(O,{dangerouslySetInnerHTML:{__html:s}}),r.createElement(_,{dangerouslySetInnerHTML:{__html:i}}))};V.propTypes={caption:a().string,credit:a().string};const G=V,{useState:W,useEffect:j,useRef:z}=r;let Y=null;const X=({dek:e,endSlideDek:t,endSlideHed:n,galleryLink:o,galleryLinkLabel:i,hasMarginTop:a,hasTitleDividerAbove:s,hasTitleDividerAboveDek:l,hasTitleDividerBelow:c,hed:y,hideLastSlide:b,intl:f,maxAllowedSlides:w=10,slideItems:$,trackingNamespace:I={backwardButton:"ImageSlideShow Control Backward",forwardButton:"ImageSlideShow Control Forward",lastSlideButton:"ImageSlideShow gallery link",swipe:"ImageSlideShow carousel swipe",viewMoreCTA:"ImageSlideShow View All Button"}})=>{const[R,F]=W(0),[U,V]=W(0),[X,Z]=W(!1),J=z(null),Q=z(null),[ee,te]=W(!0),[ne,oe]=W(!1),ie=e=>{window.dataLayer&&e&&window.dataLayer.push({event:e})},{forwardButton:ae,backwardButton:re,lastSlideButton:se,swipe:le,viewMoreCTA:de}=I,ce=`(min-width: ${g.LO.md})`;$.length=$.length<=w?$.length:w;const me=$.length+(b?0:1),[ue,pe]=W(!1),[ge,he]=W(!1);j(()=>{J.current&&(J.current.style.opacity=1);const e=()=>{if(Q.current){const e=[...Q.current.children].map(e=>e.offsetLeft);V(e);const t=[...J.current.querySelectorAll("[class^=ImageSlideShowSlideImage]")];let n=0;t.forEach(e=>{e.style.minHeight=0}),t.forEach(e=>{n{e.style.minHeight=`${n}px`}),[...J.current.querySelectorAll("button")].forEach(e=>{e.style.opacity=1,e.style.top=n/2-22+"px"})}const e=window.matchMedia(ce).matches;Z(e),e&&($<4||w<4)&&oe(!0)},t=d()(e,200);return window.addEventListener("resize",t),setTimeout(e,1e3),()=>{window.removeEventListener("resize",t),clearTimeout(e)}},[J,w,ce,$]);const ye=$.filter(e=>{const{width:t,height:n}=e.image.sources.sm;return t/n>=1}).length===$.length,be=()=>{const e=1+(X&&!ye?3:1);if(R0&&ee&&te(!1),t===me-e&&oe(!0),X&&Q.current.scrollTo({left:U[t],behavior:"smooth"}),ie(ae)}},fe=()=>{if(R>0){const e=R-1;F(e),0!==e||ee||te(!0),X&&Q.current.scrollTo({left:U[e],behavior:"smooth"}),ne&&oe(!1),ie(re)}},we=X?0:24,$e=m()(()=>{!ge&&X||(Y=setTimeout(()=>{if(clearTimeout(Y),Q.current&&U){const e=Q.current.scrollLeft+we,t=U.reduce((t,n)=>Math.abs(n-e)0&&ee&&te(!1),0!==n||ee||te(!0);const o=ye?2:X?4:1;n===me-o&&R===me-o&&oe(!0),n{39===e.keyCode?be():37===e.keyCode&&fe()}},r.createElement(L,{"data-testid":"ImageSlideShowPrevButton",direction:"prev",isInactive:ee,onClick:()=>fe(),type:"button"},r.createElement(T,{type:"prev"})),r.createElement(L,{"data-testid":"ImageSlideShowNextButton",direction:"next",isInactive:ne,onClick:()=>be(),type:"button"},r.createElement(T,{type:"next"})),r.createElement(A,{onScroll:()=>{$e()},onMouseOver:()=>he(!0),onMouseOut:()=>he(!1),ref:Q,style:{transform:"translateX(0)"}},$.map((e,t)=>{if(!e.image)return null;const{caption:n,credit:o}=e;return r.createElement(S,{key:`slide-${t}`,isLandscape:ye,style:{position:"relative"}},r.createElement(N,{key:`slide-${t}`},r.createElement(h.A,{...e.image})),(o||n)&&r.createElement(B,null,o&&r.createElement(O,{dangerouslySetInnerHTML:{__html:o}}),n&&r.createElement(_,{dangerouslySetInnerHTML:{__html:n}})))}),!b&&r.createElement(S,{isLandscape:ye},r.createElement(q,{href:o,onClick:()=>ie(se)},r.createElement(N,null,r.createElement(K,null,r.createElement(P,null,n),r.createElement(D,null,t||f.formatMessage(u.lastSlideCTA))))))),r.createElement(H,null,r.createElement(G,{caption:$[R]?.caption,credit:$[R]?.credit}))),r.createElement(k,null,o&&r.createElement(M,{"data-testid":"ImageSlideShowCTA"},r.createElement(p.A.Utility,{btnStyle:"outlined",href:o,inputKind:"link",label:i||f.formatMessage(u.galleryLink),onClickHandler:()=>{ie(de)},target:"_self"}))))};X.propTypes={dek:a().string,endSlideDek:a().string,endSlideHed:a().string,galleryLink:a().string,galleryLinkLabel:a().string,hasMarginTop:a().bool,hasTitleDividerAbove:a().bool,hasTitleDividerAboveDek:a().bool,hasTitleDividerBelow:a().bool,hed:a().string,hideLastSlide:a().bool,intl:a().object,maxAllowedSlides:a().number,slideItems:a().array,trackingNamespace:a().object};const Z=(0,s.Ay)(X),J=(0,o.y)(Z,"ImageSlideShow")},84248:(e,t,n)=>{n.d(t,{A:()=>u});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(53499),d=n(48188),c=n(66042);function m({className:e,marquee:t,tabContent:n,tabLabels:o,buttonLabel:a="View All",defaultTab:r=0,hasBorder:m=!0,isPreventDefault:u=!0,shouldChangeTabFromHash:p=!1,shouldUseRoleForLabelWrapper:g=!1,shouldUseTabRoleForNavigation:h=!1,showButton:y=!0,tabContentTextAlignment:b="center",tabLabelActiveClassName:f="tab-link tab-link--active",tabLabelAlignment:w="center",tabLabelInactiveClassName:$="tab-link"}){s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(l.G.RENDER,{name:"Tabs"})},[]);const[v,C]=s.useState(r),k=o&&o[r]?o[r]:"",[x,E]=s.useState(k.url),A=s.useCallback(()=>{if(!p||!window.location.hash)return;const e=o.findIndex(e=>e.url?.includes(window.location.hash)??!1);if(e>=0){const t=o[e];C(e),E(t.url||"")}},[o,p]);s.useEffect(()=>(window.addEventListener("hashchange",A),()=>window.removeEventListener("hashchange",A)),[A,o]),s.useEffect(()=>{A()},[A,o]);const S=o.map((e,t)=>({className:v===t?f:$,attributes:{tabIndex:0,role:"tab","aria-selected":v===t},parentAttributes:g?{role:"presentation"}:{},text:e.text,url:e&&e.url?e.url:"",onClick:n=>{u&&n.preventDefault(),C(t),E(e&&e.url?e.url:""),"function"==typeof e.onClick&&e.onClick()},disableClickTracking:e?.disableClickTracking||!1})),L=h?{}:{role:"tablist"};return s.createElement(c.MD,{className:i()("tabs-component",e),alignLeft:"left"===b,...L},t,s.createElement(d.A.Section,{attributes:{"aria-label":"Secondary",tabIndex:-1},links:S,hasBorder:m,justify:w,listAttributes:h?{role:"tablist"}:{}}),s.createElement(c.dM,null,n.map((e,t)=>t+1>o.length?null:s.createElement(c.Rc,{isActive:v===t,key:t,role:"tabpanel",tabIndex:0},e)),x&&y&&s.createElement(c.zD,{href:x,inputKind:"link",label:a})))}m.propTypes={buttonLabel:r().string,className:r().string,defaultTab:r().number,hasBorder:r().bool,isPreventDefault:r().bool,marquee:r().element,shouldChangeTabFromHash:r().bool,shouldUseRoleForLabelWrapper:r().bool,shouldUseTabRoleForNavigation:r().bool,showButton:r().bool,tabContent:r().array.isRequired,tabContentTextAlignment:r().oneOf(["center","left"]),tabLabelActiveClassName:r().string,tabLabelAlignment:r().oneOf(["center","left"]),tabLabelInactiveClassName:r().string,tabLabels:r().arrayOf(r().shape({onClick:r().function,text:r().oneOfType([r().string,r().object]),url:r().string,disableClickTracking:r().bool})).isRequired};const u=m},84410:(e,t,n)=>{var o;n.d(t,{m:()=>o}),function(e){e.CLIENT_ASSIGNMENT="CLIENT_ASSIGNMENT",e.EDGE_ASSIGNMENT="EDGE_ASSIGNMENT"}(o||(o={}))},84886:(e,t,n)=>{n.d(t,{A:()=>C});var o=n(13465),i=n(47655),a=n(32485),r=n.n(a),s=n(5556),l=n.n(s),d=n(96540),c=n(97200),m=n.n(c),u=n(58156),p=n.n(u),g=n(86659),h=n(68426),y=n(53499),b=n(67616);const f={};f[1]=g.A.EvenAny,f[2]=g.A.EvenTwo,f[3]=g.A.EvenThree,f[4]=g.A.EvenFour;const w=({className:e,children:t,childTypes:n=[],hasThreeColumnsOnMobile:o=!1,heading:i={},isUpcEnabled:a,isXSmallGroup2:s=!1,name:l,variations:c={isEven:!1,fullBleed:!1},showDangerousDek:u=!1,variationName:g})=>{d.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(y.G.RENDER,{name:"GroupCallout",variation:g})},[g]);const w=n.some(e=>"instagram"===e),$=n.some(e=>"product"===e),v=n.some(e=>"article"===e),C=n.some(e=>"image"===e);let k,x;const E=/^h[1-6]$/,A=d.Children.toArray(t).find(e=>{const{type:t}=e;return"string"==typeof t&&E.test(t)});x=d.Children.toArray(t).filter(e=>!E.test(e.type));let S="div";const L=c.childCountPerRow??d.Children.count(t);let T=!1;$&&(T=!0,S=L>=4?f[4]:f[L]);const N=r()("callout callout--group",`callout--${l}`,e,{"product-group":a});v&&(k="article",x=d.Children.map(x,e=>d.cloneElement(e,{...e.props,showButton:!1,showByline:!0,showRubric:!0,variations:{layout:"side-by-side"}})));const{hasRowGap:H,showSingleCol:I}=c,B=k?i[k]:null,O=A?A.props.children:B;let _=1,K=!1;d.Children.toArray(t).forEach(e=>{const t=(e=>e?.props?.image||e?.props?.children?.props?.image||null)(e),n=(e=>e?.props?.contentType&&"callout:anchor"===e?.props?.contentType?e?.props?.children?.props?.contentType:e?.props?.contentType)(e),o=["contentreference","product"].includes(n);Array.isArray(t)&&t.length>1&&o&&_++,K||(K=(0,b.q)(t))});const P=d.useMemo(()=>d.Children.map(x,(e,t)=>{const n=C?`callout--group-item-${p()(e,"props.image.id")}`:m()("callout--group-item-");return d.cloneElement(e,{index:t,key:n,className:`callout--group-item callout--group-item-${t+1}`,productMultiImageCount:_,hasImageCreditText:K,hideLandscapeLayout:!0})}),[]);return d.createElement(h.v,{as:S,className:N,containsInstagram:w,containsProducts:$,containsArticles:v,hasGridMargins:T,hasRowGap:H,hasThreeColumnsOnMobile:o,isUpcEnabled:a,isFullBleed:!$&&c.fullBleed,isXSmallGroup2:s,"data-testid":"GroupCalloutWrapper",showSingleCol:I,showDangerousDek:u},O&&d.createElement(h.K,{"data-testid":"GroupCalloutTitle"},O),P)};w.propTypes={children:l().node.isRequired,childTypes:l().array,className:l().string,hasThreeColumnsOnMobile:l().bool,heading:l().object,isUpcEnabled:l().bool,isXSmallGroup2:l().bool,name:l().string,showDangerousDek:l().bool,variationName:l().string,variations:l().shape({isEven:l().bool,fullBleed:l().bool,childCountPerRow:l().number,hasRowGap:l().bool,showSingleCol:l().bool})},w.displayName="GroupCallout";const $=w;$.Default=(0,i.y)($,"Default",{isEven:!1,fullBleed:!1}),$.Even=(0,i.y)($,"Even",{isEven:!0,fullBleed:!1}),$.FullBleed=(0,i.y)($,"FullBleed",{isEven:!1,fullBleed:!0}),$.OnlyTwo=(0,i.y)($,"OnlyTwo",{isEven:!0,fullBleed:!1,childCountPerRow:2,hasRowGap:!0,showSingleCol:!0},{name:"group-2"});const v=$,C=(0,o.y)(v,"GroupCallout")},85095:(e,t,n)=>{n.d(t,{O9:()=>C,OB:()=>S,WD:()=>x,jO:()=>L,mi:()=>E,n:()=>A});var o=n(38267),i=n(96472),a=n(26865),r=n(76955),s=n(86659),l=n(89085),d=n(99906),c=n(40653),m=n(33500),u=n(41803),p=n(6613),g=n(68116),h=n(36211),y=n(88154),b=n(75699),f=n(277),w=n(16800),$=n(75163);const v=`\n ${(0,a.H4)(i.LO.lg)} {\n border-right: 0;\n padding-right: 0;\n }\n`,C=o.Ay.div.withConfig({displayName:"SummaryCollageThreeItemWrapper"})` ${({theme:e})=>"inverted"===e.palette?`\n ${p.zM} {\n ${(0,a._o)(e,"color","colors.discovery.body.black.context-signature")};\n }\n\n ${g.hU} {\n &:hover,\n &:focus,\n &:active {\n ${(0,a._o)(e,"color","colors.discovery.body.black.heading")};\n }\n\n ${h.Y} {\n ${(0,a._o)(e,"color","colors.discovery.body.black.heading")};\n }\n }\n `:""} ${e=>o.AH` height: 100%; ${(0,a.Xm)(0,i.LO.lg)} { .inline-video-item { border-bottom: 0; } } ${e.isPrimaryItemFullBleed&&0===e.index&&`&{\n .summary-item__image-link {\n ${(0,a.Xm)(0,`${d.VS.lg}px`)} {\n margin-right: ${(0,a.Kq)(-3)};\n margin-left: ${(0,a.Kq)(-3)};\n }\n }\n \n }`} `} ${({shouldUseAlternativeStyle:e})=>e?`\n .summary-item__rubric {\n margin: ${(0,a.Kq)(2)} 0;\n }\n\n .summary-item__hed-link {\n margin-bottom: ${(0,a.Kq)(2)};\n }\n\n .summary-item__dek {\n margin-bottom: ${(0,a.Kq)(2)};\n }\n\n .summary-item__content {\n padding: 0;\n }\n\n .summary-item__byline-date-icon {\n margin-bottom: ${(0,a.Kq)(2)};\n }\n\n ${(0,a.L7)(i.LO.lg)} {\n .summary-item__byline-date-icon {\n margin-bottom: ${(0,a.Kq)(4)};\n }\n }`:""}; `,k=(e,t,n,r=0,s=!1)=>o.AH` &:nth-child(${r+1}) { ${(0,a.H4)(i.LO.lg)} { grid-column: 1 / span 8; grid-row: span 3; ${(0,a.H4)(i.LO.lg)} { margin-right: calc(var(--border-offset) * -1); ${t&&" margin-right: 0;"} } } ${C} { ${(e=>o.AH` ${({theme:e})=>"inverted"===e.palette?o.AH` ${(0,a.H4)(i.LO.lg)} { border-right: 1px solid ${(0,a.HK)("colors.discovery.body.black.divider")}; } `:o.AH` ${(0,a.H4)(i.LO.lg)} { border-right: 1px solid ${(0,a.HK)("colors.discovery.body.white.border")}; } `} ${(0,a.H4)(i.LO.lg)} { border-bottom: 0; ${({shouldUseAlternativeStyle:e})=>e?`padding-right: ${(0,a.Kq)(2)}`:"padding-right: var(--border-offset)"}; ${e&&" padding-right: 0;\n "} } .summary-item__hed { ${(0,a.Gg)("typography.definitions.discovery.hed-break-out")} } .summary-item__dek { ${(0,a.Gg)("typography.definitions.discovery.description-feature")} } `)(t)}; } } &:nth-child(1n + ${r+2}) { ${(0,a.H4)(i.LO.lg)} { grid-column: 9 / span 4; } ${C} { ${(e=>o.AH` ${(0,a.H4)(i.LO.lg)} { padding: 0 0 ${(0,a.Kq)(2)} 0; ${e&&`\n padding-bottom: ${(0,a.Kq)(2.5)};\n `} ${({shouldUseAlternativeStyle:e})=>e?"padding: 0":`padding: 0 0 ${(0,a.Kq)(2)} 0`}; .summary-item__hed { margin-bottom: ${(0,a.Kq)(2)}; } .summary-item__hed-link::after { margin-bottom: ${(0,a.Kq)(2)}; } .summary-item__dek { ${({shouldUseAlternativeStyle:e})=>e?`margin-bottom: ${(0,a.Kq)(1)}`:`margin-bottom: ${(0,a.Kq)(2)}`}; } .summary-item__metadata-primary { margin-bottom: ${(0,a.Kq)(1)}; } .summary-item__metadata-secondary { margin-bottom: ${(0,a.Kq)(2)}; } .summary-item__content { padding-bottom: 0; } } `)(n)}; } } &:nth-child(${r+3}) { ${C} { ${((e,t,n)=>o.AH` ${(0,a.Xm)(0,i.LO.lg)} { border-bottom: none; padding-bottom: 0; ${n&&`\n ${u.NA} {\n margin-bottom: 0;\n }\n `} } ${(0,a.H4)(i.LO.md)} { padding-bottom: 0; .inline-video-item { border-bottom: none; } } ${(0,a.L7)(i.LO.md)} { ${t&&".inline-video-item {\n border-bottom: 1px solid black;\n }\n "} } ${({shouldUseAlternativeStyle:e})=>e?`${(0,a.Xm)(i.LO.md,i.LO.lg)} {\n .summary-item__byline-date-icon {\n margin-bottom: 0;\n }\n }`:`${(0,a.H4)(i.LO.lg)} {\n padding-top: ${(0,a.Kq)(4)};\n }`}; ${e&&"\n padding-bottom: 0;\n "} `)(e,n,s)}; } } `,x=o.Ay.div.withConfig({displayName:"SummaryCollageThreeTitle"})` ${({theme:e})=>"inverted"===e.palette?`\n ${m.bU} {\n ${(0,a._o)(e,"color","colors.discovery.body.black.heading")};\n }\n `:""} margin-bottom: ${(0,a.Kq)(4)}; ${({shouldUseAlternativeStyle:e})=>e?"":`margin-bottom: ${(0,a.Kq)(2)};`}; ${({hasIncreasedTitleSpacing:e,hasOtherTitleSpacing:t})=>t?`\n margin-bottom: ${(0,a.Kq)(2)};\n padding-top: ${(0,a.Kq)(6)};\n\n ${(0,a.H4)(i.LO.lg)}{\n margin-bottom: ${(0,a.Kq)(3)};\n padding-top: ${(0,a.Kq)(5)};\n }\n `:e?`\n margin-bottom: ${(0,a.Kq)(4)};\n padding-top: ${(0,a.Kq)(4)};\n `:""} `,E=(0,o.Ay)(r.vm).withConfig({displayName:"SummaryCollageThreeDek"})` ${({theme:e})=>"inverted"===e.palette?`\n ${(0,a._o)(e,"color","colors.discovery.body.black.heading")};\n `:""} padding-right: ${(0,a.Kq)(1)}; padding-left: ${(0,a.Kq)(1)}; max-width: 600px; text-align: center; ${(0,a.Gg)("typography.definitions.consumptionEditorial.description-core")} ${({shouldUseDiscoveryTypeToken:e,theme:t})=>e&&`${(0,a.Gg)(t,"typography.definitions.discovery.description-page")};`}; `,A=(0,o.Ay)(s.A.WithMargins).withConfig({displayName:"SummaryCollageThreeWrapper"})` ${({hasExtraTopPadding:e,hasConsistentSpacing:t,theme:n})=>t&&"0px"!==(0,w.F)(n,"gap-md")?`padding-top: ${(0,a.Kq)(0)};`:e?`padding-top: ${(0,a.Kq)(5)};`:""} && { ${({hasTopSpacing:e})=>e?`\n ${(0,a.H4)(i.LO.md)} {\n ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,w.F)(t,"gap-sm")?"margin-top: 0;":`margin-top: ${(0,a.Kq)(4)};`}\n }\n `:""} } > ${c.E} { ${({dangerousHed:e})=>e&&"\n &:first-child {\n grid-column: 1/-1;\n grid-row: 1;\n margin-bottom: 0px;\n }\n "} ${({dangerousHed:e,hasDangerousDek:t})=>!e&&t&&`\n &:first-child {\n grid-column: 1/-1;\n margin: 0 auto;\n margin-bottom: ${(0,a.Kq)(2)};\n }\n `} } > ${c.E} { ${({hasDangerousDek:e,dangerousHed:t,hasModerateBottomMarginOnDek:n})=>e&&t&&`\n &:nth-child(2){\n grid-column: 1/-1;\n margin: 0 auto;\n margin-bottom: ${(0,a.Kq)(4)};\n ${(0,a.H4)(i.LO.lg)} {\n margin-bottom: ${(0,a.Kq)(6)};\n ${n&&`margin-bottom: ${(0,a.Kq)(4)}`}\n }\n }\n `} } > ${c.E} { grid-column: 1 / -1; ${({shouldUseAlternativeStyle:e})=>e?`\n &:nth-child(3),\n &:nth-child(4) {\n ${(0,a.H4)(i.LO.lg)} {\n ${C} {\n margin-top: ${(0,a.Kq)(3)};\n }\n }\n }`:`margin-bottom: ${(0,a.Kq)(2)}`}; ${(0,a.H4)(i.LO.lg)} { margin-bottom: 0; } ${({hasNoMarginBottonOnLastItem:e})=>e&&o.AH` &:last-child { ${(0,a.L7)(i.LO.lg)} { margin-bottom: 0; } } `} } && { ${(0,l.cssVariablesCollage)()} row-gap: 0; } ${y.UZ} { color: ${(0,a.HK)("colors.consumption.lead.standard.context-signature")}; } ${C} > ${b.zQ} { ${(0,a.L7)(i.LO.md)} { border-bottom: 1px solid ${(0,a.HK)("colors.discovery.body.white.border")}; padding: ${(0,a.Kq)(2)} 0; ${y.jY} { margin: ${(0,a.Kq)(2)} 0; } ${y.S3} { margin-bottom: 0.5rem; ${(0,a.Gg)("typography.definitions.discovery.hed-core-secondary")}; } ${y.S3}::after { display: block; margin-top: ${(0,a.Kq)(1)}; margin-bottom: ${(0,a.Kq)(2)}; border-bottom: 1px solid ${(0,a.HK)("colors.consumption.lead.standard.context-signature")}; width: 5rem; content: ''; } ${y.tH}::after { display: none; } } } ${C} > ${g.Tr} { ${(0,a.L7)(i.LO.md)} { padding: ${(0,a.Kq)(2)} 0 ${(0,a.Kq)(2)}; ${f.ir} { margin-bottom: 0; } } } ${C} { ${({shouldUseAlternativeStyle:e})=>e?`\n ${({hasBorder:e})=>e&&`border-bottom: 1px solid\n ${(0,a.HK)("colors.discovery.body.white.border")};`}`:`\n border-bottom: 1px solid\n ${(0,a.HK)("colors.discovery.body.white.border")};\n `}; ${({hasBorder:e})=>e&&`border-bottom: 1px solid\n ${(0,a.HK)("colors.discovery.body.white.border")};`} padding-bottom: 0; ${(0,a.H4)(i.LO.lg)} { border-bottom: 0; } ${({shouldUseDenseMobileVariation:e})=>e&&` ${(0,a.L7)(i.LO.md)} {\n border-bottom: 1px solid\n ${(0,a.HK)("colors.discovery.body.white.border")};}`} } ${C} { .summary-item__hed { ${(0,a.Gg)("typography.definitions.discovery.hed-core-primary")}; ${(0,a.H4)(i.LO.lg)} { ${(0,a.Gg)("typography.definitions.discovery.hed-core-secondary")}; } } } .inline-video-item__image-link { margin-bottom: ${(0,a.Kq)(2)}; } .inline-video-item__hed { ${({isDenseSummaryCollageThree:e})=>e?`\n margin-bottom: ${(0,a.Kq)(2.5)};\n `:`margin-bottom: ${(0,a.Kq)(2)}`} } ${({dangerousHed:e,hasDangerousDek:t,hasMinimalSummaryItem:n,hideVerticalBorders:i,isDenseSummaryCollageThree:a,hasNoMarginBottomLastItemHed:r})=>(e&&!t||t&&!e)&&o.AH` > ${c.E} { ${k(n,i,a,1,r)} } `} ${({dangerousHed:e,hasDangerousDek:t,summaryCollageColSpan:n})=>(e&&!t||t&&!e)&&"use9"===n&&o.AH` > ${c.E} { ${(0,a.H4)(i.LO.lg)} { &:nth-child(2) { grid-column: 1 / span 9; } &:nth-child(1n + 3) { grid-column: 10 / span 3; } &:nth-child(5) { grid-column: 1 / -1; } } } `} ${({dangerousHed:e,hasDangerousDek:t,hasMinimalSummaryItem:n,hideVerticalBorders:i,isDenseSummaryCollageThree:a})=>!e&&!t&&o.AH` > ${c.E} { ${k(n,i,a,0)} } `} ${({dangerousHed:e,hasDangerousDek:t,summaryCollageColSpan:n})=>!e&&!t&&"use9"===n&&o.AH` > ${c.E} { ${(0,a.H4)(i.LO.lg)} { &:nth-child(1) { grid-column: 1 / span 9; } &:nth-child(1n + 2) { grid-column: 10 / span 3; } } } `} ${({summaryCollageColSpan:e})=>"use4"===e&&o.AH` > ${c.E} { ${(0,a.H4)(i.LO.lg)} { &:nth-child(1) { grid-column: 1 / span 12; } &:nth-child(2) { grid-column: 1 / span 4; ${C} { border: none; .summary-item__hed { ${(0,a.Gg)("typography.definitions.discovery.hed-core-primary")}; } } } &:nth-child(3) { grid-column: 5 / span 4; } &:nth-child(4) { grid-column: 9 / span 4; ${C} { padding-top: 0; } } } ${(0,a.L7)(i.LO.lg)} { &:nth-child(2) { ${C} { .summary-item__hed { ${(0,a.Gg)("typography.definitions.discovery.hed-core-primary")}; } } } } } `} ${({dangerousHed:e,hasDangerousDek:t,hasMinimalSummaryItem:n,hideVerticalBorders:i,isDenseSummaryCollageThree:a})=>e&&t&&o.AH` > ${c.E} { ${k(n,i,a,2)} } `} > ${c.E} { ${({shouldShowSeeMoreButton:e})=>e&&`\n &:last-child {\n grid-column: 1 / -1;\n margin: 0 auto;\n ${(0,a.L7)(`${d.VS.md}px`)} {\n padding-bottom: ${(0,a.Kq)(5)};\n }\n\n ${(0,a.H4)(i.LO.lg)} {\n padding-top: ${(0,a.Kq)(4)};\n }\n }\n `} } ${({dangerousHed:e,hasDangerousDek:t,summaryCollageColSpan:n})=>e&&t&&"use9"===n&&`\n > ${c.E} {\n ${(0,a.H4)(i.LO.lg)} {\n &:nth-child(3) {\n grid-column: 1 / span 9;\n }\n\n &:nth-child(1n + 4) {\n grid-column: 10 / span 3;\n }\n }\n }\n `} ${({hasExtraBottomPadding:e,hasConsistentSpacing:t,theme:n})=>t&&"0px"!==(0,w.F)(n,"gap-md")?`padding-bottom: ${(0,a.Kq)(0)};`:e?`padding-bottom: ${(0,a.Kq)(5)};`:""} ${({hasExtraPadding:e})=>e&&`\n > ${c.E}{ \n &:nth-child(1) {\n ${C} {\n ${(0,a.H4)(i.LO.lg)} {\n padding-right: ${(0,a.Kq)(4)};\n }\n }\n }\n\n &:nth-child(2),\n &:nth-child(3) {\n ${C} {\n ${({shouldUseAlternativeStyle:e})=>e?`\n ${(0,a.H4)(i.LO.lg)} {\n padding-left: ${(0,a.Kq)(2)};`:`padding-left: ${(0,a.Kq)(2)};`};\n }\n }\n }\n }\n `} ${({dangerousHed:e,hasDangerousDek:t,hideVerticalBorders:n})=>!e&&!t&&n&&`\n > ${c.E}{ \n &:nth-child(1) {\n ${(0,a.H4)(i.LO.lg)} {\n margin-right: 0;\n }\n ${C} {\n ${v}\n }\n }\n }\n `} ${({dangerousHed:e,hasDangerousDek:t,hideVerticalBorders:n})=>(e&&!t||t&&!e)&&n&&`\n > ${c.E}{ \n &:nth-child(2) {\n ${(0,a.H4)(i.LO.lg)} {\n margin-right: 0;\n }\n ${C} {\n ${v}\n }\n }\n }\n `} ${({dangerousHed:e,hasDangerousDek:t,hasMinimalSummaryItem:n})=>!e&&!t&&n&&`\n .summary-item__content.summary-item__content--minimal {\n padding-bottom: ${(0,a.Kq)(2)};\n }\n `} ${(0,a.H4)(i.LO.md)} { padding-bottom: ${({isDenseSummaryCollageThree:e,hasConsistentSpacing:t,theme:n})=>t&&"0px"!==(0,w.F)(n,"gap-md")?(0,a.Kq)(0):e?(0,a.Kq)(2.5):(0,a.Kq)(5)}; ${({hasNoBottomPadding:e})=>e&&"padding-bottom: 0;"} } `,S=(0,o.Ay)(r.c7).withConfig({displayName:"SummaryCollageThreeBGWrapper"})` ${({theme:e})=>"inverted"===e.palette?`\n background: var(${$.pT.Color.Surface});\n `:""} `,L=(0,o.Ay)(r.c7).withConfig({displayName:"SummaryCollageThreeButtonWrapper"})``},85127:(e,t,n)=>{n.d(t,{A:()=>v});var o=n(13465),i=n(32485),a=n.n(i),r=n(5556),s=n.n(r),l=n(96540),d=n(88055),c=n.n(d),m=n(22539),u=n(52663),p=n(90090),g=n(53499),h=n(59867);const y=(e,t="")=>{try{return t?new URL(e,t).href:e}catch(t){return e}};var b=n(99337),f=n(57642);const w=({className:e,dangerousHed:t,shouldEnableSubItems:n=!1,hasBordersForFirstAndLastItem:o=!1,hasRoundedBorder:i,hasTitleBorder:r=!0,hasUnderHeroItem:s=!1,hideBottomBorders:d=!1,impressionHandler:w,hideRubricItemSummary:$=!1,hideLastFewSummaryImages:v=!0,hideSummaryListDeks:C=!0,hideSummaryMainItemDeks:k=!1,hideVerticalBorders:x=!1,isMainSummaryItemSticky:E=!1,items:A,placement:S,recircRiver:L,shouldEnableBundleComponentAnalytics:T,shouldEnableBookmarkDrawers:N,shouldEnableCardLevelBookmark:H,shouldEnableCommentsCount:I,shouldHideBylines:B=!1,shouldHidePublishDate:O=!0,shouldLimitSavingToContentTypes:_,shouldShowRecipeBadge:K,shouldUseHedCoreSecondaryToken:P=!1,shouldTrackSnowplowEvent:D=!1,sectionTitleVariation:q="TextLeft",shouldShowStackedRatingsCard:M=!1,snowplowEvent:R,summaryItemVariation:F="TextBelowLeft",trackingNamespace:U,hasCoverCollage:V,underHeroItemVariation:G="TextBelowLeft",isTitleFullWidth:W,windowLocation:j=""})=>{l.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(g.G.RENDER,{name:"SummaryCollageFour"})},[]);const[z,Y]=(0,l.useState)(0),X=(0,l.useRef)(null),Z=()=>{let e=document.querySelector(".site-navigation").offsetHeight;e/=8,Y(e)};(0,l.useEffect)(()=>{if(E)return X.current=window.Kendra.WINDOW_EVENT.on(h.m.SCROLL_THROTTLE,Z),()=>{X.current&&X.current.off()}});const J=c()(A),Q=v?J.map((e,t)=>(t>1&&e.image&&!V&&(e.image=null),V&&0===t&&(e.rubricVariation="Inverted",e.shouldHideEventDate=!1,e.metadataPrimary=""),e)):J,ee="recipe"===Q[0]?.contentType,te=s?3:void 0,ne=(0,p.NY)(T,U?.hero||t),oe=(0,p.NY)(T,U?.under||t),ie=V?u.A.OverlayCenter:u.A[F],ae=((e,t,n,o,i,a)=>e?{hideRubric:!1,ratingMethod:"starRating",sectionTitle:t,shouldEnableBookmarkDrawers:n,shouldEnableCardLevelBookmark:o,shouldEnableCommentsCount:i,shouldLimitSavingToContentTypes:a}:{})(M,t,N,H,I,_);return l.createElement(b.vg,{className:a()("summary-collage-four",e,{"summary-collage--without-vertical-borders":x}),hasTitleBorder:r,hasCoverCollage:V},(e=>{const{modifiedItems:t,hasCoverCollage:n,shouldShowStackedRatingsCard:o,summaryItemVariationForFirstElement:i,analyticsDataAttributeHero:a,headerHeight:r,hideRubricItemSummary:s,isMainSummaryItemSticky:d,recircRiver:c,shouldHideBylines:m,hideSummaryMainItemDeks:u,shouldHidePublishDate:p,hasBordersForFirstAndLastItem:g,shouldLimitSavingToContentTypes:h,snowplowEvent:w,windowLocation:$,stackedRatingsCardProps:v,hasRoundedBorder:C,isTitleFullWidth:k,shouldTrackSnowplowEvent:x,impressionHandler:E}=e,A=w&&t[0]?{...w,items:[{content_title:t[0].dangerousHed||"",content_type:t[0].contentType||"",content_id:t[0].copilotID||"",content_url:y(t[0].url||"",$)}],index:0,total_index:t.length-2,placement:"hero"}:null;return l.createElement(b.CP,{...t[0],hasCoverCollage:n,as:o?f.A:i,analyticsDataAttribute:a,className:"hero_summary_item",headerHeight:r,hideRubricItemSummary:s,isMainSummaryItemSticky:d,recircRiver:c,shouldHideBylines:m,shouldHideDangerousDek:u,shouldHidePublishDate:p,hasBordersForFirstAndLastItem:g,shouldLimitSavingToContentTypes:h,snowplowEvent:A,placement:"hero",...v,hasRoundedBorder:C,isTitleFullWidth:k,shouldTrackItemImpressionForSnowplow:x,impressionHandler:()=>{E("impression",t[0],0,"hero",t.length-2)}})})({modifiedItems:Q,hasCoverCollage:V,shouldShowStackedRatingsCard:M,summaryItemVariationForFirstElement:ie,analyticsDataAttributeHero:ne,headerHeight:z,hideRubricItemSummary:$,isMainSummaryItemSticky:E,recircRiver:L,shouldHideBylines:B,hideSummaryMainItemDeks:k,shouldHidePublishDate:O,hasBordersForFirstAndLastItem:o,shouldLimitSavingToContentTypes:_,snowplowEvent:R,windowLocation:j,stackedRatingsCardProps:ae,hasRoundedBorder:i,isTitleFullWidth:W,shouldTrackSnowplowEvent:D,impressionHandler:w}),K&&ee&&l.createElement(b.r_,{seal:{sealUrl:"/verso/static/epicurious-us/assets/icons/featuredRecipeBadge.svg"},hasStaticPositionedAward:!0}),!n&&l.createElement(b.jk,{className:"summary-collage-four__summary-list-item",hasUnderHeroItem:s,hasBordersForFirstAndLastItem:o,hideBottomBorders:d,hideVerticalBorders:x,as:m.A.Collection,dangerousHed:t,shouldEnableBundleComponentAnalytics:T,impressionHandler:w,shouldTrackItemImpressionForSnowplow:D,totalItems:2,sectionTitle:t,placement:S,snowplowEvent:{...R,total_index:2},shouldHideDangerousDek:C,items:Q.slice(1,te),sectionTitleVariation:q,summaryItemVariation:F,shouldHideBylines:B,shouldHidePublishDate:O,trackingNamespace:U?.aside,recircRiver:L,hasCoverCollage:V,hasRoundedBorder:i,...ae,shouldUseHedCoreSecondaryToken:P,shouldShowStackedRatingsCard:M,shouldLimitSavingToContentTypes:_,windowLocation:j}),n&&l.createElement(l.Fragment,null,l.createElement(b.Ip,{...Q[1],hasCoverCollage:V,as:M?f.A:ie,analyticsDataAttribute:ne,hideRubricItemSummary:$,recircRiver:L,snowplowEvent:{...R,total_index:8},shouldHideBylines:B,shouldHideDangerousDek:k,shouldHidePublishDate:O,...ae,placement:S}),l.createElement(b.As,{...Q[2],hasCoverCollage:V,as:M?f.A:ie,analyticsDataAttribute:ne,hideRubricItemSummary:$,recircRiver:L,shouldHideBylines:B,shouldHideDangerousDek:k,shouldHidePublishDate:O,...ae,placement:S})),s&&l.createElement(b.W,{...Q[3],hasCoverCollage:V,as:M?f.A:u.A[G],analyticsDataAttribute:oe,className:"summary-collage-four__under-main-item",hideRubricItemSummary:$,recircRiver:L,shouldHideBylines:B,shouldHideDangerousDek:k,shouldHidePublishDate:O,...ae,shouldTrackItemImpressionForSnowplow:D,impressionHandler:()=>{w("impression",Q[3],1,"hero",Q.length-2)},snowplowEvent:R&&Q[3]&&{...R,items:[{content_title:Q[3].dangerousHed||"",content_type:Q[3].contentType||"",content_id:Q[3].copilotID||"",content_url:y(Q[3].url||"",j)}],index:1,total_index:Q.length-2,placement:"hero"}}))};w.propTypes={className:s().string,dangerousHed:s().string,hasBordersForFirstAndLastItem:s().bool,hasCoverCollage:s().bool,hasRoundedBorder:s().bool,hasTitleBorder:s().bool,hasUnderHeroItem:s().bool,hideBottomBorders:s().bool,hideLastFewSummaryImages:s().bool,hideRubricItemSummary:s().bool,hideSummaryListDeks:s().bool,hideSummaryMainItemDeks:s().bool,hideVerticalBorders:s().bool,impressionHandler:s().func,isMainSummaryItemSticky:s().bool,isTitleFullWidth:s().bool,items:s().arrayOf(s().shape(u.A.propTypes)).isRequired,placement:s().string,recircRiver:s().string,sectionTitleVariation:s().string,shouldEnableBookmarkDrawers:s().bool,shouldEnableBundleComponentAnalytics:s().bool,shouldEnableCardLevelBookmark:s().bool,shouldEnableCommentsCount:s().bool,shouldEnableSubItems:s().bool,shouldHideBylines:s().bool,shouldHidePublishDate:s().bool,shouldLimitSavingToContentTypes:s().array,shouldShowRecipeBadge:s().bool,shouldShowStackedRatingsCard:s().bool,shouldTrackSnowplowEvent:s().bool,shouldUseHedCoreSecondaryToken:s().bool,snowplowEvent:s().object,summaryItemVariation:s().string,trackingNamespace:s().object,underHeroItemVariation:s().string,windowLocation:s().string};const $=w;$.displayName="SummaryCollageFour";const v=(0,o.y)($,"SummaryCollageFour")},85559:(e,t,n)=>{n.d(t,{A:()=>v});var o=n(22354),i=n(13465),a=n(5556),r=n.n(a),s=n(96540),l=n(6442),d=n(58156),c=n.n(d),m=n(8509),u=n(11080);const p=e=>{if(0===e.length)return{processedChildrenData:[],extractedHeadline:null};let t,n=e;return"product-summary-heading"===e[0]?.props?.name&&(t=c()(e,"[0].props.children.props.children"),n=e.slice(1)),{processedChildrenData:n,extractedHeadline:t||null}};var g=n(90239),h=n(66552),y=n(363);const b=e=>"string"==typeof e?e:"number"==typeof e||"boolean"==typeof e?String(e):Array.isArray(e)?e.map(b).join(""):s.isValidElement(e)?b(e.props.children):"",f=e=>{const{chunks:t,gridTitle:n,productsToDisplayOnLoad:o=3,showPriceOnButton:i=!0,showLocalisedOffers:a=!0,isUpcEnabled:r,actionIdFlags:d={},shouldUseBlackButton:f,children:w=[],isFullyRoundedButtonEnabled:$,showDiscountPercentLabel:v=!1,renditionConfig:C}=e,{processedChildrenData:k,extractedHeadline:x}=s.useMemo(()=>{const e=Array.isArray(w)?w:[w],{processedChildrenData:t,extractedHeadline:n}=p(e);return{processedChildrenData:t.map(e=>e?.props?(e=>{if(!e||e.length<3)return null;const t=c()(e,"[0].props",{}),n=c()(e,"[1].props",{}),o=c()(e,"[2].props.children.props.children.props",{}),i=c()(n,"children.props.children"),a=b(i),r=c()(e,"[2].props.children.props"),s=b(o?.children)||b(r?.children),l="string"==typeof s?s:"",d=(e,t)=>b(c()(e,t,"")),m=d(t,"dangerousHed"),u=d(t,"productBrand"),p=d(o,"href");return{...t,id:t.id||t.productId,dangerousHed:a,ctaName:l,href:p,productName:m,brand:u,offers:c()(t,"multipleOffers",[])}})(e.props.children):null).filter(Boolean),extractedHeadline:n}},[w]),E=Boolean(k.length),A=k.length?k:t||[],S=A.filter(Boolean).filter(e=>!(Array.isArray(e.functionalTags)&&e.functionalTags.length>0)||!e.functionalTags.some(e=>e&&"_no-product-summary-grid"===e.name)),{formatMessage:L}=(0,l.A)(),T=s.useContext(h.A),N=T?.isAdrail??!1,H=S.length>o?o:A.length,I=S.length>=10?10:S.length,[B,O]=(0,s.useState)(!0),[_,K]=(0,s.useState)(!1),[P,D]=(0,s.useState)(H);return(0,s.useEffect)(()=>{o>=S.length&&(O(!1),K(!1))},[S.length,o]),S.length>0&&s.createElement(y.rw,{isEnhancedPSG:E},s.createElement(y.Yw,{isEnhancedPSG:E},x||n||L(m.A.defaultProductSummaryGridTitle)),S.slice(0,P).map((e,t)=>s.createElement(u.A,{isEnhancedPSG:E,key:e.id||t,...e,itemIndex:t,showPriceOnButton:i,showLocalisedOffers:a,isUpcEnabled:r||e.isUpcEnabled,actionIdFlags:d,shouldUseBlackButton:f,isFullyRoundedButtonEnabled:$,showDiscountPercentLabel:v,renditionConfig:C,textBadge:e.textBadge,seal:e.seal,hasCheckPriceFeature:e.hasCheckPriceFeature,shouldShowAdRail:N})),s.createElement(g.A,null,s.createElement(y.u2,{isEnhancedPSG:E},S.length>3&&B&&s.createElement(y.N_,{onClick:()=>{(()=>{const e=I+P;e>=S.length?(D(S.length),O(!1)):D(e),K(!0)})(),window.dataLayer&&window.dataLayer.push({event:"product-grid-showmore","Product-Grid":"showmore"})}},s.createElement(y.KM,{showMore:B,showLess:_,isEnhancedPSG:E},L(m.A.showMore))),P>o&&_&&s.createElement(y.N_,{onClick:()=>{D(H),K(!1),O(!0)}},s.createElement(y.hQ,{showMore:B}),s.createElement(y.IT,null,L(m.A.showLess))),s.createElement(y.S7,{isEnhancedPSG:E},P," / ",S.length))))};f.propTypes={actionIdFlags:r().object,children:r().array,chunks:r().array.isRequired,gridTitle:r().string,isEnhancedPSG:r().bool,isFullyRoundedButtonEnabled:r().bool,isUpcEnabled:r().bool,layout:r().string,productsToDisplayOnLoad:r().number,renditionConfig:r().object,shouldUseBlackButton:r().bool,showDiscountPercentLabel:r().bool,showLocalisedOffers:r().bool,showPriceOnButton:r().bool},f.displayName="ProductSummaryGrid",f.extractTextFromChildren=b,f.processChildrenForProductSummary=p;const w=f,$=(0,i.y)(w,"ProductSummaryGrid"),v=(0,o.Ng)(e=>({isFullyRoundedButtonEnabled:e.commercePlatform?.psgIsFullyRoundedButtonEnabled,showDiscountPercentLabel:e.commercePlatform?.showDiscountPercentLabel,renditionConfig:e.commercePlatform?.psgRenditionConfig||{}}))($)},85788:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(5556),i=n.n(o),a=n(96540),r=n(53499),s=n(13465),l=n(35864),d=n(99585);const c=({body:e,copilotId:t,dangerousDek:n,dangerousHed:o,gridVariationForEmbed:i="NarrowContentWithWideAdRail",isEmbedWrapperFullBleed:s=!1,sectionTitleVariation:c="LineAboveLineBelowTextCenter",shouldUseConstrainedParagraph:m,shouldUseGridForEmbed:u=!0,shouldUseGridWrapperForEmbed:p=!1})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(r.G.RENDER,{name:"VersoEmbed"})},[]);const g=l.default[c],h=d.AL[i],y=a.createElement(d.I_,{constrainPagragraph:m,body:e,className:"verso-embed-container",shouldDisableMaxWidth:!0}),b=a.createElement(a.Fragment,null,o&&a.createElement(d.UC,{as:g,dangerousHed:o}),n&&a.createElement(d.Xo,{dangerouslySetInnerHTML:{__html:n}}));return a.createElement(a.Fragment,null,p&&a.createElement(h,null,a.createElement(a.Fragment,null,b,y)),u&&a.createElement(d.lq,{copilotId:t,isEmbedWrapperFullBleed:s},b,y),!u&&!p&&a.createElement(a.Fragment,null,b,y))};c.propTypes={body:i().array,copilotId:i().string,dangerousDek:i().string,dangerousHed:i().string,gridVariationForEmbed:i().string,isEmbedWrapperFullBleed:i().bool,sectionTitleVariation:i().string,shouldUseConstrainedParagraph:i().bool,shouldUseGridForEmbed:i().bool,shouldUseGridWrapperForEmbed:i().bool},c.displayName="VersoEmbed";const m=(0,s.y)(c,"VersoEmbed")},86286:(e,t,n)=>{n.d(t,{CY:()=>s,g3:()=>r,rL:()=>l});var o=n(38267),i=n(26865);const a=o.i7` 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } `,r=o.Ay.svg.withConfig({displayName:"CircleWrapper"})` path { transform-origin: 50% 50%; animation: ${a} 1.2s linear infinite; } `,s=o.Ay.svg.withConfig({displayName:"VogueWrapper"})` animation: rotate 2s linear infinite; width: 36px; height: 32px; & .path { stroke: #5652bf; stroke-linecap: round; animation: dash 1.5s ease-in-out infinite; } @keyframes E_o { 0% { opacity: 0; } 80.5556% { animation-timing-function: cubic-bezier(0, 0, 0.58, 1); opacity: 0; } 83.3333% { opacity: 1; } 97.2222% { animation-timing-function: cubic-bezier(0.42, 0, 1, 1); opacity: 1; } 100% { opacity: 0; } } @keyframes U_o { 0% { opacity: 0; } 63.8889% { animation-timing-function: cubic-bezier(0, 0, 0.58, 1); opacity: 0; } 66.6667% { opacity: 1; } 80.5556% { animation-timing-function: cubic-bezier(0.42, 0, 1, 1); opacity: 1; } 83.3333% { opacity: 0; } 100% { opacity: 0; } } @keyframes G_o { 0% { opacity: 0; } 47.2222% { animation-timing-function: cubic-bezier(0, 0, 0.58, 1); opacity: 0; } 50% { opacity: 1; } 63.8889% { animation-timing-function: cubic-bezier(0.42, 0, 1, 1); opacity: 1; } 66.6667% { opacity: 0; } 100% { opacity: 0; } } @keyframes O_o { 0% { opacity: 0; } 30.5556% { animation-timing-function: cubic-bezier(0, 0, 0.58, 1); opacity: 0; } 33.3333% { opacity: 1; } 47.2222% { animation-timing-function: cubic-bezier(0.42, 0, 1, 1); opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } } @keyframes V_o { 0% { opacity: 0; } 13.8889% { animation-timing-function: cubic-bezier(0, 0, 0.58, 1); opacity: 0; } 16.6667% { animation-timing-function: cubic-bezier(0, 0, 0.58, 1); opacity: 1; } 30.5556% { animation-timing-function: cubic-bezier(0.42, 0, 1, 1); opacity: 1; } 33.3333% { opacity: 0; } 100% { opacity: 0; } } `,l=o.Ay.div.withConfig({displayName:"LoaderWrapper"})` padding-top: ${(0,i.Kq)(6)}; text-align: center; `},86902:(e,t,n)=>{n.d(t,{J:()=>o,K:()=>i});const o={LAST_BOOKMARKED_PHOTO:"lastBookmarkedPhoto",SHOW_MESSAGE_BANNER:"showPhotoBookmarkMessageBanner",UNSAVED_BOOKMARK:"unsavedBookmarks"},i=e=>({setLastBookmarkedPhoto:({copilotID:t,image:n,contentType:i,contentTitle:a}={})=>{e({type:"SET_KEY",key:o.LAST_BOOKMARKED_PHOTO,value:{copilotID:t,image:n,contentType:i,contentTitle:a}})},setShowPhotoBookmarkMessageBanner:({showBanner:t})=>{e({type:"SET_KEY",key:o.SHOW_MESSAGE_BANNER,value:t})},doUpdateUnsavedBookmarks:({copilotID:t,isDeleted:n})=>{e({type:"MERGE_KEY",key:o.UNSAVED_BOOKMARK,value:{[t]:{isDeleted:n}}})}})},87160:(e,t,n)=>{n.d(t,{A:()=>p});var o=n(5556),i=n.n(o),a=n(96540),r=n(76955),s=n(38267),l=n(26865);const d=s.Ay.div.withConfig({displayName:"ContentWithCTAWrapper"})` display: grid; grid-gap: ${(0,l.Kq)(1)}; grid-template-columns: 1fr; overflow-anchor: none; `,c=s.Ay.div.withConfig({displayName:"ContentWithCTAButtonWrapper"})` display: flex; align-items: center; justify-content: center; `;var m=n(53499);const u=({contentComponent:e,ctaComponent:t,attributes:n={}})=>(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"ContentWithCTA"})},[]),a.createElement(d,{...n,"data-testid":"ContentWithCTA"},a.createElement(r.c7,null,e),a.createElement(c,{"data-journey-hook":"content-cta-button"},t)));u.propTypes={attributes:i().object,contentComponent:i().node.isRequired,ctaComponent:i().node.isRequired};const p=u},87911:(e,t,n)=>{n.d(t,{A:()=>u});var o=n(96540),i=n(5556),a=n.n(i),r=n(23311),s=n(86157),l=n(14207),d=n(2826),c=n(77818);function m({styleSettings:e,className:t,isContributor:n,insetType:i,isLazy:a=!0,signalType:m,actionBarConfig:u,shouldHideIcon:p,variationsProp:g,contentCategory:h,...y}){const b=(0,d.R)(h,g?.layoutPlacement),f=g?.hasAudioTag;return o.createElement(r.C,{className:t,styleSettings:e,isContributor:n,insetType:i},o.createElement(s.A,{shouldHoldImageSpace:!0,isLazy:a,signalType:m,actionBarConfig:u,...y}),b&&!p&&o.createElement(l.Ce,{className:"summary-item__icon-button",ButtonIcon:b,inputKind:"text",isIconButton:!0,label:"icon"}),f&&o.createElement(l.dl,{className:"summary-item__icon-floating"},o.createElement(c.A,null)))}m.propTypes={...s.A.propTypes,actionBarConfig:a().object,className:a().string,contentCategory:a().string,insetType:a().string,isContributor:a().bool,isLazy:a().bool,shouldHideIcon:a().bool,signalType:a().string,styleSettings:a().arrayOf(a().shape({inset:a().bool,showBackgroundColor:a().bool,showOutline:a().bool,shape:a().oneOf(["default","circle","curved"])})),variationsProp:a().object},m.displayName="SmartItemAsset";const u=m},87997:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(53499),l=n(56317);const d=({scriptUrl:e="",skin:t="",target:n="",audioId:o})=>{const i=r.useRef(null);r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"CNEAudioEmbed"})},[]);let a=(e=>{try{const t=new URL(e),[,,n,o]=t.pathname.split("/");return{audioHostname:t.hostname,audioType:n,audioId:o}}catch{return{}}})(e);return a={...a,skin:t,target:n},r.useEffect(()=>{if(!i.current)return;if(document.getElementById(`cneaudio-embed-${a.target}`))return;const e=document.createElement("script"),t=o||a.audioId;e.id=`cneaudio-embed-${a.target}`,e.src=`https://${a.audioHostname}/script/${a.audioType}/${t}?skin=${a.skin}&target=${a.target}`,e.defer=!0,i.current.insertBefore(e,i.current.firstChild)},[a.audioHostname,a.audioType,a.audioId,a.skin,a.target,o]),r.createElement(l.g,{"data-testid":"cne-audio-embed-figure"},r.createElement("div",{ref:i,"data-testid":"cne-audio-embed-container"},r.createElement("div",{id:a.target,"data-testid":"cne-audio-embed-target"})))};d.propTypes={audioId:a().string,scriptUrl:a().string,skin:a().string,target:a().string},d.displayName="CNEAudioEmbed";const c=d,m=(0,o.y)(c,"CNEAudioEmbed")},88154:(e,t,n)=>{n.d(t,{$E:()=>y,J8:()=>b,S3:()=>p,UZ:()=>h,Xr:()=>w,Zi:()=>m,jY:()=>g,kw:()=>f,tH:()=>u});var o=n(38267),i=n(76955),a=n(74423),r=n(26865),s=n(96472),l=n(99906),d=n(75163);const c=o.AH` ${({invertedColorToken:e,theme:t})=>["inverted","transparent"].includes(t.palette)&&e&&(0,r._o)("color",e)}; `,m=o.AH` & > b, & > strong { font-size: inherit; /* inherits parent font size and sets 1em to refer parent font size */ ${(0,r.H4)(`${l.Vh.lg}px`)} { font-size: inherit; /* inherits parent font size and sets 1em to refer parent font size */ } } & > b, & > strong { ${(0,r.Gg)("typography.definitions.globalEditorial.accreditation-feature")}; font-size: calc(1em - 1px); /* subtracts 1px from parent font size */ font-weight: inherit; ${(0,r.H4)(`${l.Vh.lg}px`)} { font-size: calc(1em - 1px); } } `,u=(0,o.Ay)(i.vm).withConfig({displayName:"SmartItemBaseText"})` ${({colorToken:e})=>(0,r._o)("color",e)}; ${({typeIdentity:e})=>(0,r.Gg)(e)}; ${c}; `,p=(0,o.Ay)(u).withConfig({displayName:"SmartItemHed"})` position: relative; z-index: ${s.KV.content}; &:hover { text-decoration: underline; } `;p.defaultProps={as:"h3",colorToken:"colors.discovery.body.white.heading",invertedColorToken:"colors.discovery.body.black.heading",typeIdentity:"typography.definitions.discovery.hed-core-primary"};const g=(0,o.Ay)(u).withConfig({displayName:"SmartItemDek"})` ${m} `;g.defaultProps={colorToken:"colors.discovery.body.white.description",invertedColorToken:"colors.discovery.body.black.description",typeIdentity:"typography.definitions.discovery.description-core"};const h=(0,o.Ay)(u).withConfig({displayName:"SmartItemRubric"})` ${d.pT.Color.TextRubric}: ${({colorToken:e,invertedColorToken:t,theme:n})=>["inverted","transparent"].includes(n.palette)&&t?(0,r.HK)(n,t):(0,r.HK)(n,e)}; `;h.defaultProps={colorToken:"colors.discovery.body.white.context-signature",invertedColorToken:"colors.discovery.body.black.context-signature",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const y=(0,o.Ay)(u).withConfig({displayName:"SmartItemBylines"})` span, ${a.CR}, ${a.QW}, ${a.H1} { margin: 0; text-align: inherit; ${({colorToken:e})=>(0,r._o)("color",e)}; ${({typeIdentity:e})=>(0,r.Gg)(e)}; ${c}; } `;y.defaultProps={colorToken:"colors.discovery.body.white.accreditation",invertedColorToken:"colors.discovery.body.black.accreditation",typeIdentity:"typography.definitions.globalEditorial.accreditation-core"};const b=(0,o.Ay)(u).withConfig({displayName:"SmartItemPublishedDate"})``;b.defaultProps={colorToken:"colors.discovery.body.white.context-tertiary",invertedColorToken:"colors.discovery.body.black.context-tertiary",typeIdentity:"typography.definitions.globalEditorial.context-tertiary"};const f=(0,o.Ay)(u).withConfig({displayName:"SmartItemHedLink"})` display: block; text-decoration: none; &:hover { text-decoration: none; } ${({image:e})=>(!e||"clip"!==e?.contentType)&&o.AH` &::after { position: absolute; z-index: 1; content: ''; inset: 0; } `} `;f.defaultProps={as:"a",colorToken:"colors.discovery.body.white.heading",invertedColorToken:"colors.discovery.body.black.heading"};const w=(0,o.Ay)(i.sH).withConfig({displayName:"SmartItemCTA"})` &::after { content: ' »'; } ${({image:e})=>(!e||"clip"!==e?.contentType)&&o.AH` &::before { position: absolute; content: ''; inset: 0; } `} `;w.defaultProps={as:"a",colorToken:"colors.interactive.base.black",hasUnderline:!1,typeIdentity:"typography.definitions.utility.button-utility"}},88258:(e,t,n)=>{n.d(t,{KK:()=>v,Uq:()=>h,W4:()=>f,Z$:()=>w,Zk:()=>C,Zv:()=>g,bB:()=>y,dG:()=>p,v$:()=>b,wJ:()=>$});var o=n(38267),i=n(73730),a=n(38860),r=n(26865),s=n(48209),l=n(96472),d=n(7228),c=n(55082),m=n(56082),u=n(62389);const p=o.DU` .body__lightbox--open { overflow: hidden; } .lightbox__overlay { position: fixed; top: 0; left: 0; transition: opacity 0.2s; opacity: 0; z-index: ${(0,r.fl)("interstitialLayer")}; background-color: ${({theme:e})=>(0,r.HK)(e,"colors.consumption.lead.standard.background")}; ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("background-color","colors.background.black")}; &.lightbox__overlay--open { opacity: 1; &.lightbox__overlay--closing { opacity: 0; } } } .lightbox { width: 100vw; height: 100dvh; } .listicle-variation { overflow-y: scroll; } `,g=o.Ay.div.withConfig({displayName:"LightboxWrapper"})` grid-column-start: main; `,h=(0,o.Ay)(s.A).withConfig({displayName:"LightboxSwipe"})` display: flex; width: 100%; height: 100%; `,y=(0,o.Ay)(i.A.Utility).withConfig({displayName:"LightboxCloseButtonIcon"})` position: fixed; top: ${(0,r.Kq)(.5)}; right: ${(0,r.Kq)(.5)}; z-index: 1; cursor: pointer; padding: 8px; line-height: 0; .icon-close { padding: 8px; fill: ${({theme:e})=>(0,r.HK)(e,"colors.interactive.base.dark")}; g { ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("stroke","colors.interactive.base.white")}; } } &, &:focus, &:hover { border: 1px solid ${({theme:e})=>(0,r.HK)(e,"colors.interactive.base.white")}; background-color: ${({theme:e})=>(0,r.HK)(e,"colors.interactive.base.white")}; ${({theme:e})=>(0,r.iq)(e)&&`\n border: none;\n background-color: rgba(\n ${(0,r.HK)(e,"colors.interactive.base.black",{rgbOnly:!0})},\n 0.4\n );\n\n ${(0,r.H4)(l.LO.xl)} {\n background-color: ${(0,r.HK)(e,"colors.interactive.base.black")};\n }\n `} } &:focus { border: 1px solid ${({theme:e})=>(0,r.HK)(e,"colors.interactive.base.brand-primary")}; ${({theme:e})=>(0,r.iq)(e)&&"border: none;"} } @media (min-width: ${l.LO.md}) { top: ${(0,r.Kq)(2)}; right: ${(0,r.Kq)(2)}; } ${({isGalleryEmbedVariation:e})=>e&&`\n & {\n top: ${(0,r.Kq)(3)};\n right: ${(0,r.Kq)(3)};\n padding: 0;\n }\n `} `,b=o.Ay.div.withConfig({displayName:"LightboxSlidesWrapper"})` display: flex; flex-direction: row; flex-wrap: nowrap; transition: transform 0.4s ease-in-out; height: 100%; &.listicle-variation-slide-wrapper { display: block; } `,f=o.Ay.div.withConfig({displayName:"LightboxSlideTopSpacer"})``,w=o.Ay.div.withConfig({displayName:"LightboxSlideImageCaptionOuter"})``,$=o.Ay.div.withConfig({displayName:"LightboxSlideCaptionContainer"})``,v=o.Ay.div.withConfig({displayName:"LightboxSlideWrapper"})` background-color: ${({theme:e})=>(0,r.HK)(e,"colors.consumption.lead.standard.background")}; width: 100vw; &.listicle-variation-slide { background-color: ${({theme:e})=>(0,r.HK)(e,"colors.interactive.base.white")}; padding: ${(0,r.Kq)(3)} ${(0,r.Kq)(9)}; ${a.Gk} { margin-bottom: 0; background-color: ${({theme:e})=>(0,r.HK)(e,"colors.interactive.base.white")}; } } ${a.Gk} { background-color: ${({theme:e})=>(0,r.HK)(e,"colors.consumption.lead.standard.background")}; text-align: initial; ${a.OZ} { ${({theme:e})=>(0,r.pe)(e,"colors.consumption.lead.standard.description",null)} &:hover { text-decoration: none; } } } ${({screenOrientation:e})=>"landscape"===e||"portrait"===e||"square"===e?`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: auto;\n\n ${w} {\n display: contents;\n }\n\n .responsive-image {\n display: flex;\n flex-direction: column;\n\n ${d.BF} {\n max-height: 85vh;\n object-fit: contain;\n }\n }\n\n ${$} {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n }\n\n ${a.Gk} {\n margin: ${(0,r.Kq)(2)} ${(0,r.Kq)(2)} ${(0,r.Kq)(5)};\n }\n\n @media (min-width: ${l.LO.md}) {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ${(0,r.Kq)(4)};\n height: initial;\n\n ${f} {\n display: none;\n }\n\n ${w} {\n display: block;\n }\n\n .responsive-asset {\n display: table-cell;\n }\n\n ${$} {\n display: table-caption;\n caption-side: bottom;\n }\n\n ${a.Gk} {\n margin: 0;\n margin-top: ${(0,r.Kq)(1)};\n }\n }\n\n ${"portrait"===e?`\n @media (min-width: ${l.LO.lg}) {\n display: flex;\n flex-direction: row;\n height: 100%;\n\n ${f} {\n display: none;\n }\n\n ${w} {\n display: contents;\n }\n\n .responsive-asset {\n display: flex;\n height: 100%;\n\n .responsive-image {\n height: 100%;\n\n ${d.BF} {\n height: 100%;\n max-height: initial;\n }\n }\n }\n\n ${$} {\n display: flex;\n flex-direction: column;\n align-self: flex-end;\n }\n\n ${a.Gk} {\n margin: 0;\n margin-bottom: ${(0,r.Kq)(6)};\n margin-left: ${(0,r.Kq)(2)};\n max-width: 180px;\n }\n }\n `:""}\n `:""} `,C=o.Ay.div.withConfig({displayName:"GalleryEmbedContainer"})` &&& { ${m.Og} { background-color: inherit; } ${m.bd} { margin: unset; } .gallery__slides__slide { margin-bottom: unset; } ${c.jZ} { margin-bottom: unset; } ${c.MC} { display: grid; grid-template-areas: 'left-col image right-col' 'left-col caption right-col'; grid-template-columns: 1fr minmax(0, 1fr) 1fr; grid-template-rows: auto; align-items: center; justify-items: center; } ${c.p0} { grid-column: left-col / right-col; grid-row: 1; img { width: 100%; min-width: unset; max-height: 100%; } ${(0,r.H4)(l.LO.xl)} { grid-area: image; grid-column: 2; } } ${c.Ng} { grid-column: left-col / right-col; grid-row: 2; margin: 0; padding: ${(0,r.Kq)(2)} ${(0,r.Kq)(3)} ${(0,r.Kq)(3)}; width: min-content; min-width: 93%; ${(0,r.H4)(l.LO.md)} { min-width: 100%; } ${c.Wu}, ${c.TX}, a { ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("color","colors.interactive.base.white")}; ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.foundation.link-secondary")}; margin-bottom: ${(0,r.Kq)(1)}; width: calc(100% - ${(0,r.Kq)(6)}); ${(0,r.H4)(l.LO.md)} { width: 100%; } } ${c.k$} { ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("color","colors.interactive.base.white")}; ${(0,r.Gg)("typography.definitions.globalEditorial.context-tertiary")} margin-bottom: ${(0,r.Kq)(.89)}; padding-top: 0; width: calc(100% - ${(0,r.Kq)(6)}); ${(0,r.H4)(l.LO.md)} { width: 100%; } } ${c.CX} { ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("color","colors.interactive.base.white")}; ${(0,r.Gg)("typography.definitions.globalEditorial.context-primary")} margin: 0 ${(0,r.Kq)(1)} ${(0,r.Kq)(1)} 0; } ${c.ir} { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; ${({theme:e})=>(0,r._o)(e,"color","colors.interactive.base.white")}; margin-bottom: ${(0,r.Kq)(1)}; } ${u.H6} { min-width: unset; height: auto; } ${c._6} { position: absolute; top: 0; right: 0; ${(0,r.H4)(l.LO.xl)} { position: relative; right: ${(0,r.Kq)(.5)}; } } ${u.w6} { .icon-bookmark-outline path { ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("stroke","colors.interactive.base.white")} } .icon-bookmark-fill path { ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("stroke","colors.interactive.base.white")} ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("fill","colors.interactive.base.white")} } } ${c.SL} { display: flex; position: relative; grid-template-columns: 4fr 1fr; flex-direction: column-reverse; } ${c.x1}, ${c.dN} { margin: unset; } ${c.Wu} { margin: unset; width: calc(100% - ${(0,r.Kq)(6)}); p { margin: unset; } ${(0,r.H4)(l.LO.xl)} { width: 100%; } } } ${({isListicleLayout:e})=>e&&`\n padding: 0;\n\n ${(0,r.H4)(l.LO.md)} {\n padding: ${(0,r.Kq)(8)};\n }\n ${(0,r.H4)(l.LO.xl)} {\n padding: ${(0,r.Kq)(3)};\n }\n\n ${c.jZ} {\n ${(0,r.H4)(l.LO.md)} {\n margin-bottom: ${(0,r.Kq)(3)};\n }\n }\n\n ${c.p0} {\n /*\n * Width must be set to prevent aspect ratio\n * container from collapsing to 0x0 when using shouldHoldImageSpace\n */\n width: 100%;\n\n picture,\n img {\n min-width: unset;\n height: auto;\n max-height: 100%;\n }\n }\n\n ${c.Ng} {\n grid-column: 1 / -1;\n grid-template-columns: 1fr auto 1fr;\n width: 100%;\n padding: ${(0,r.Kq)(2)} ${(0,r.Kq)(3)} ${(0,r.Kq)(3)};\n ${(0,r.H4)(l.LO.md)} {\n padding-left: 0;\n padding-right: 0;\n }\n ${(0,r.H4)(l.LO.xl)} {\n padding-left: ${(0,r.Kq)(3)};\n padding-right: ${(0,r.Kq)(4)};\n grid-area: right-col;\n grid-row: 1;\n }\n }\n `} ${({isListicleLayout:e})=>!e&&`\n padding: ${(0,r.Kq)(10)} 0 ${(0,r.Kq)(2)};\n height: 100vh;\n\n ${m.vo} {\n height: min-content;\n max-height: 80vh;\n ${(0,r.H4)(l.LO.md)} {\n height: 100vh;\n }\n }\n\n ${c.jZ} {\n display: flex;\n align-items: center;\n overflow-y: scroll;\n touch-action: pan-y;\n -webkit-overflow-scrolling: touch\n }\n\n ${c.MC} {\n max-height: 80vh;\n }\n\n ${c.p0} {\n img {\n ${(0,r.H4)(l.LO.md)} {\n height: ${(0,r.Kq)(67)};\n display: block;\n max-width: 100vw;\n width: auto;\n }\n }\n }\n\n ${c.Ng} {\n ${(0,r.H4)(l.LO.md)} {\n grid-area: caption;\n grid-column: 2;\n grid-row: 2; \n padding: ${(0,r.Kq)(2)} 0 ${(0,r.Kq)(3)};\n }\n }\n\n ${m.cc} {\n display: flex;\n flex-direction: column;\n justify-content: center; \n padding: 0;\n position: fixed;\n bottom: ${(0,r.Kq)(2)};\n\n ${(0,r.H4)(l.LO.md)} {\n position: unset;\n }\n\n ${m._y} {\n display: none;\n }\n\n ${m.mg} {\n display: flex;\n column-gap: ${(0,r.Kq)(5)};\n\n ${m.q_} {\n margin: 0;\n border: none;\n background-color: transparent;\n\n &[aria-disabled='true'],\n &[aria-disabled='true']:focus,\n &[aria-disabled='true']:active { \n opacity: 0.5;\n }\n }\n\n ${(0,r.H4)(l.LO.md)} {\n position: absolute;\n top: 50%;\n width: 100vw;\n justify-content: space-between;\n padding: 0 ${(0,r.Kq)(3)};\n }\n }\n }\n `} ${m.cc} ${m.Z} { padding: ${(0,r.Kq)(2)} 0 ${(0,r.Kq)(1)}; ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("color","colors.interactive.base.white")}; } ${m.q_} svg { width: fit-content; height: fit-content; ${({theme:e})=>(0,r.iq)(e)&&(0,r._o)("fill","colors.interactive.base.white")}; } } `},88317:(e,t,n)=>{n.d(t,{GB:()=>S,KW:()=>O,Ys:()=>B,ZU:()=>A,oi:()=>N,rj:()=>_,s6:()=>L,yB:()=>E,zt:()=>T});var o=n(38267),i=n(1123),a=n(26865),r=n(52027),s=n(76955),l=n(96472),d=n(99906),c=n(38860),m=n(7228),u=n(91783),p=n(18224),g=n(18117),h=n(87468),y=n(77527),b=n(5239),f=n(1757),w=n(21608),$=n(80607),v=n(60254),C=n(75163),k=n(63815),x=n(97927);const E=(0,o.Ay)(s.vm).withConfig({displayName:"ContentHeaderPublishDate"}).attrs(({datetime:e})=>({dateTime:e}))` ${v.Y$} ${({inlinePublishDate:e})=>e&&`\n & {\n float: left;\n padding-top: ${(0,a.Kq)(.5)};\n padding-left: 10px;\n line-height: 1.7;\n }\n `}; ${({mediaWidth:e,contentAlign:t})=>"smallrule"===e&&`\n float: left;\n ${"center"===t&&"float: none;"};\n `}; `;E.defaultProps={as:"time",typeIdentity:"typography.definitions.globalEditorial.context-tertiary"};const A=(0,o.Ay)(h.A).withConfig({displayName:"ContentHeaderBylines"})` ${({inlinePublishDate:e})=>e&&"\n float: left;\n min-width: 5%;\n "} `,S=o.Ay.div.withConfig({displayName:"ContentHeaderContainer"})` display: grid; grid-auto-rows: auto; grid-template-columns: [full-start] minmax(0, 1fr) [main-start] minmax(0, ${l.LO.xxl}) [main-end] minmax(0, 1fr) [full-end]; /* 1 */ overflow-x: hidden; background: var(${C.pT.Color.Surface}); width: 100%; .fixed-header-large-logo-nav-variation [class*='theme-']& { margin-top: ${(0,a.Kq)(-14)}; padding-top: ${(0,a.Kq)(14)}; } ${({isFullBleedVideo:e,mediaWidth:t})=>"fullbleed"===t&&e&&"display: block"} ${({mediaWidth:e,showFullWidthLeadImage:t})=>"fullbleed"===e&&t&&`\n grid-template-columns:\n [full-start] minmax(0, 1fr)\n [main-start] minmax(0, 2400px) [main-end]\n minmax(0, 1fr) [full-end];\n\n ${b.KW} {\n max-width: 2400px;\n ${b.ID} {\n ${b.zw} ${m.BF} {\n width: 100%;\n @media (min-width: ${l.LO.xl}) {\n max-height: 1800px;\n }\n }\n }\n }\n `} `,L=o.Ay.div.withConfig({displayName:"PodcastContentHeaderDivider"})` ${v.PK} && { ${v.bQ} } > * { grid-column: 1/-1; } ${()=>` @media (min-width: ${l.LO.sm}) {\n &::after {\n display: block;\n grid-column: 1/-1;\n border: 0;\n border-bottom: 1px solid var(${C.pT.Color.BorderStory});\n padding-bottom: ${(0,a.Kq)(2)};\n width: 100%;\n height: 0;\n content: '';\n }\n ${v.js}\n &::after {\n @media (min-width: ${l.LO.sm}) and (max-width: ${l.LO.md}) {\n display: block;\n }\n `} `,T=o.Ay.div.withConfig({displayName:"ContentHeaderHedAccreditationWrapper"})` ${(0,i.VO)()} display: grid; grid-column: main; grid-row: 1 / auto; row-gap: ${(0,a.Kq)(2)}; padding: ${(0,a.Kq)(5)} var(--grid-margin) ${(0,a.Kq)(3)}; width: 100%; &[class*='theme-'] { background: var(${C.pT.Color.Surface}); } ${f.jc} { grid-column: 1/-1; } ${$.zY} { grid-column: 1/-1; } ${({isBusinessContentHeader:e})=>e&&`\n display: grid;\n grid-column: main;\n grid-row: 1 / auto;\n grid-template-columns: repeat(12, 1fr);\n ${(0,i.VO)()}\n column-gap: var(--grid-gap);\n width: 100%;\n\n ${f.jc} {\n grid-column: 1/-1;\n padding-right: 0;\n padding-left: 0;\n }\n ${$.zY} {\n grid-column: 1/-1;\n }\n\n @media (min-width: ${l.LO.sm}) {\n grid-template-columns: repeat(4, 1fr);\n padding-top: ${(0,a.Kq)(5)};\n ${(0,i.aU)("padding")}\n\n ${f.jc} {\n grid-column: 1/5;\n grid-template-columns: repeat(8, 1fr);\n padding-top: 0;\n gap: 0;\n }\n\n ${f.Nj} {\n ${f.dd} {\n padding-top: 2.2rem;\n\n a {\n padding-right: 0;\n }\n }\n }\n }\n\n @media (min-width: ${l.LO.md}) {\n grid-template-columns: repeat(12, 1fr);\n column-gap: var(--grid-gap);\n padding-top: ${(0,a.Kq)(6)};\n ${(0,i.VO)()}\n ${(0,i.aU)("padding")}\n ${f.jc} {\n grid-column: 1/9;\n grid-template-columns: repeat(8, 1fr);\n padding-top: 0;\n padding-bottom: 0;\n gap: 0;\n }\n ${f.AH} {\n grid-column: 1/9;\n }\n ${$.zY} {\n grid-column: 9/13;\n gap: 0;\n grid-template-columns: none;\n padding-right: 0;\n }\n\n ${f.Nj} {\n grid-column: 1/9;\n }\n }\n\n @media (min-width: ${l.LO.lg}) {\n ${(0,i.aU)("padding")}\n ${f.jc} {\n grid-column: 1/10;\n grid-template-columns: repeat(9, 1fr);\n gap: 0;\n }\n ${$.zY} {\n grid-column: 10/13;\n grid-template-columns: none;\n margin: 0;\n padding-right: 0;\n padding-left: 0;\n }\n\n ${f.AH},${f.Nj},${f.XD} {\n grid-column: 1/9;\n }\n }\n\n @media (min-width: ${l.LO.xl}) {\n ${(0,i.aU)("padding")}\n ${f.jc} {\n grid-column: 1/9;\n grid-template-columns: repeat(12, 1fr);\n gap: 0;\n\n }\n ${f.XD},${f.AH},${f.Nj} {\n grid-column: 2/12;\n }\n ${$.zY} {\n grid-column: 9/13;\n grid-template-columns: none;\n margin: 0;\n padding-right: 0;\n padding-left: 0;\n }\n }\n\n @media (min-width: ${l.LO.xxl}) {\n ${(0,i.aU)("padding")}\n ${f.jc} {\n grid-column: 1/9;\n grid-template-columns: repeat(10, 1fr);\n gap: 0;\n\n ${f.AH},${f.Nj},${f.XD} {\n grid-column: 2/10;\n }\n }\n }\n `} `,N=o.Ay.div.withConfig({displayName:"ContentHeaderLeadAssetWrapper"})` ${v.PK} max-width: 100%; &[class*='theme-'] { background: var(${C.pT.Color.Surface}); } figure { display: grid; } @media (min-width: ${l.LO.sm}) { ${({mediaWidth:e})=>"fullbleed"!==e?(0,i.aU)("padding"):""} padding-top: 0; } @media (max-width: ${l.LO.sm}) { padding-right: 0; padding-left: 0; } ${({mediaWidth:e,ledeAlign:t})=>((e,t)=>"small"===e?`\n @media (min-width: ${l.LO.lg}) and (max-width: 1190px) {\n grid-template-columns: repeat(8, 1fr) minmax(300px, 4fr);\n }\n \n @media (min-width: ${l.LO.lg}) {\n .grid-layout__aside {\n grid-column: 9/-1;\n }\n }\n @media (min-width: ${l.LO.xl}) and (max-width: 1464px) {\n grid-template-columns: repeat(12, 1fr);\n }\n `:"smallrule"===e?` \n ${b.Ck} {\n top: 0; // 1\n @media (min-width: ${l.LO.xl}) {\n margin-top: ${(0,a.Kq)(2)};\n }\n }\n\n ${"center"===t&&`\n &&&{\n @media (min-width: ${l.LO.lg}) {\n grid-template-columns: repeat(12, 1fr);\n\n ${b.KW} {\n grid-column: 4 / span 6;\n }\n }\n }\n `};\n `:"")(e,t)} ${({isBusinessContentHeader:e})=>e&&`\n @media (min-width: ${l.LO.md}) {\n grid-column: 1 / span 20;\n }\n @media (min-width: ${l.LO.xl}) {\n max-height: 320px;\n }\n max-width:100%;\n `} ${({shouldUseSmallLede:e})=>e&&`\n && {\n padding-top: ${(0,a.Kq)(5)};\n }\n\n ${b.zw} {\n width: ${(0,a.Kq)(20.75)};\n height: ${(0,a.Kq)(20.75)};\n }\n `} `,H=`\n @media (min-width: ${l.LO.md}) {\n ${b.KW} {\n ${(0,i.aU)("padding")}\n display: grid;\n grid-gap: 1.25rem;\n grid-template-columns: repeat(12, 1fr);\n\n ${b.ID} {\n grid-column: 1 / -1;\n }\n\n ${b.hx} {\n grid-column: 2/-2;\n padding: 0;\n }\n }\n }\n\n @media (min-width: ${l.LO.sm}) {\n ${b.zT} {\n padding-top: ${(0,a.Kq)(1)};\n }\n }\n`,I=`\n ${f.jc},\n ${$.zY} {\n grid-column: full;\n max-width: 100vw;\n }\n`,B=o.Ay.header.withConfig({displayName:"ContentHeaderWrapper"})` display: flex; flex-direction: column; justify-content: center; ${u.WE} { display: block; } ${k.tV} { margin-top: 0; } ${k._A} { position: relative; } ${x.Ft} { margin-top: ${(0,a.Kq)(2)}; padding-bottom: 0; } ${({captionStyle:e})=>"span-content-well"===e&&H} ${({contentAlign:e,mediaWidth:t,hasNarrowHeader:n,shouldShortenHeadline:o,shouldShowAuthorsInTitleBlock:i,isLedeTextCenterForMobile:r})=>((e,t,n,o,i,r)=>"center"===e?`\n text-align: center;\n\n ${w.h9}, ${f.XD}, ${$.fz} {\n justify-self: center;\n justify-content: center;\n align-self: center;\n }\n\n ${k.tV} {\n justify-content: center;\n }\n `:"left"===e?`\n [class$='-byline']:last-of-type {\n margin-bottom: ${(0,a.Kq)(1)};\n }\n \n ${f.V3} {\n margin-top: ${(0,a.Kq)(2)};\n }\n\n ${w.h9}, ${f.XD} {\n justify-self: start;\n }\n \n &,* {\n text-align: left;\n }\n\n ${f.AH} {\n text-align: left;\n }\n \n .badge ul li {\n text-align: center;\n }\n \n ${S} > * {\n align-items: flex-start;\n justify-items: flex-start;\n }\n \n [class$='-byline'] {\n text-align: left;\n }\n\n ${$.K4} {\n @media (min-width: ${l.LO.xl}) {\n display: flex;\n align-items: center;\n width: 100%;\n }\n }\n \n ${"smallrule"!==t&&`\n ${$.K4} {\n ${g.B} {\n margin-right: ${(0,a.Kq)(3)};\n }\n }\n `};\n \n ${$.h4},\n ${$.fz} {\n flex-basis: content;\n }\n \n ${$.b3},\n ${E},\n ${f.Lo} {\n text-align: left;\n }\n\n ${$.fz} {\n flex: auto;\n padding-top: 0;\n }\n \n ${n?`\n @media (min-width: ${l.LO.md}) {\n ${f.AH},\n ${$.fv},\n ${w.h9},\n ${$.bw},\n ${$.b3} {\n grid-column: 3 / span 8;\n }\n }\n `:`@media (min-width: ${l.LO.lg}) {\n ${f.AH},\n ${$.b3} {\n grid-column: 1 / span 10;\n }\n }`}\n \n \n // With props.authorsTitleBlockPosition: 'above': headline should span 12 columns for all variations.\n ${i&&`\n @media (min-width: ${l.LO.lg}) {\n ${f.AH},\n ${$.b3} {\n grid-column: 1 / span 12;\n }\n }\n `};\n \n // With props.shouldShortenHeadline: headline should span 8 columns. Actual only for left aligned headlines.\n ${o&&`\n @media (min-width: ${l.LO.lg}) {\n ${f.AH} {\n grid-column: 1 / span 8;\n }\n }\n `};\n\n && {\n ${b.hx},\n ${c.eu} {\n text-align: left;\n \n ${r&&`\n ${(0,a.L7)(`${d.VS.md}px`)} {\n text-align: center;\n }\n `}\n }\n }\n `:`&& {\n ${b.hx},\n ${c.eu} {\n ${(0,a.L7)(`${d.VS.md}px`)} {\n ${r&&"\n text-align: center;\n "}\n }\n }\n }`)(e,t,n,o,i,r)} ${({copyWidth:e})=>"fullbleed"===e&&I} ${({mediaWidth:e,contentAlign:t,isBusinessContentHeader:n,shouldBylineContentStacked:i})=>((e,t,n,i)=>"fullbleed"===e?n?o.AH` ${"center"===t&&`\n ${$.zY} ${$.K4} {\n @media (min-width: ${l.LO.md}) {\n grid-column: 1/-5;\n width: fit-content;\n }\n\n @media (min-width: ${l.LO.md}) and (max-width: ${l.LO.lg}) {\n grid-column: 5/12;\n }\n }\n `}; ${b.KW} { max-width: 100%; } ${b.zw} ${m.BF} { @media (min-width: ${l.LO.xl}) { max-height: 320px; object-fit: cover; } } ${f.jc} { @media (min-width: ${l.LO.xxl}) { --grid-gap: ${(0,a.Kq)(8)}; } } ${$.zY} { @media (min-width: ${l.LO.xxl}) { grid-column-gap: ${(0,a.Kq)(6.5)}; } } `:o.AH` ${"center"===t&&`\n ${$.zY} ${$.K4} {\n @media (min-width: ${l.LO.lg}) {\n grid-column: 5/-5;\n }\n\n @media (min-width: ${l.LO.md}) and (max-width: ${l.LO.lg}) {\n grid-column: 3/-3;\n }\n }\n `}; ${b.KW} { max-width: ${l.LO.xxl}; } `:"grid"===e?`\n ${b.zw} ${m.BF} {\n @media (min-width: ${l.LO.xl}) {\n max-height: 1200px;\n }\n object-fit: cover;\n object-position: center;\n }\n `:"smallrule"===e?o.AH` ${"center"===t&&`\n @media (min-width: ${l.LO.md}) {\n ${f.AH},\n ${$.b3},\n ${$.K4} {\n grid-column: 4 / span 6;\n }\n ${!i&&`\n ${$.fz} {\n flex-direction: row;\n align-items: baseline;\n justify-content: center;\n }\n `}; \n }\n\n @media (min-width: 0) and (max-width: ${l.LO.md}) {\n ${E},${f.Lo} {\n line-height: 1.3em;\n }\n }\n `}; ${b.nw} { @media (min-width: ${l.LO.md}) and (max-width: 1190px) { grid-template-columns: repeat(8, 1fr) minmax(300px, 4fr); } @media (min-width: ${l.LO.lg}) { .grid-layout__aside { grid-column: 9/-1; } } @media (min-width: ${l.LO.xl}) and (max-width: 1464px) { grid-template-columns: repeat(12, 1fr); } ${b.ID} { @media (min-width: ${l.LO.md}) { margin-right: 0; margin-left: 0; } } } ${b.hx} { padding-top: ${(0,a.Kq)(1)}; ${c.eu} { padding-top: ${(0,a.Kq)(1)}; text-align: left; } } ${A} { float: none; } ${E},${f.Lo} { float: none; padding-left: 0; } ${w.Fu} { @media (min-width: ${l.LO.md}) { margin-left: ${(0,a.Kq)(1)}; } &::before { content: none; /* Remove previously set pseudo-element */ } } ${$.h4} { ${(0,r.P)("100%","48px","48px")}; margin-right: auto; margin-bottom: ${(0,a.Kq)(2)}; margin-left: auto; img { width: 100%; } } ${w.h9} { @media (min-width: 0) and (max-width: ${d.VS.md}px) { > div { margin: 0 ${(0,a.Kq)(.5)}; } } } ${f.jc} { ${y.Jp} { padding-right: ${(0,a.Kq)(3)}; padding-left: ${(0,a.Kq)(3)}; } } @media (min-width: ${l.LO.md}) { ${y.Jp} { padding-right: 0; padding-left: 0; } } @media (min-width: ${l.LO.lg}) { && { * { text-align: inherit; } } ${f.jc}, ${$.zY} { display: inherit; } ${"left"===t&&`\n ${f.AH},\n ${$.b3} {\n grid-column: 1 / span 8;\n }\n\n ${$.K4} {\n display: flex;\n }\n\n ${g.B} {\n margin-right: ${(0,a.Kq)(3)};\n }\n\n ${$.h4} {\n margin-bottom: 0;\n }\n `}; } `:"")(e,t,n,i)} ${({contentPosition:e,isLiveStoryType:t,mediaWidth:n,showBreadCrumb:o,isBusinessContentHeader:i,isLedeOverride:r})=>((e,t,n,o,i,r)=>"above"===e?`\n ${T}[class*=" theme-"],\n &.fullbleed ${T} {\n padding-bottom: ${(0,a.Kq)(5)};\n }\n\n &.inset ${b.nw} {\n padding-top: ${(0,a.Kq)(2)};\n }\n\n ${"small"===n&&`\n .disclaimer-container {\n @media (min-width: ${l.LO.xl}) {\n grid-template-columns: repeat(8, 1fr) minmax(300px, 3fr) 1fr;\n }\n }\n `};\n `:"below"===e?`\n &[class*=" theme-"] ${T},\n & ${T}[class*=" theme-"] {\n padding-bottom: ${(0,a.Kq)(5)};\n }\n\n ${T},\n &[class*=" theme-"] ${T} {\n padding-top: ${(0,a.Kq)(3)};\n }\n\n & ${T}[class*=" theme-"] {\n padding-top: ${(0,a.Kq)(5)};\n }\n\n &[class*=" theme-"].inset ${N},\n &.inset ${N}[class*=" theme-"] {\n padding-top: ${o?0:(0,a.Kq)(3)};\n }\n \n ${N} {\n grid-row: 1;\n }\n ${!r&&`${T} {\n grid-row: 3;\n }`}\n ${b.zT} {\n grid-row: 2;\n }\n\n ${i&&`\n ${T} {\n grid-row: 3;\n }\n\n @media (min-width: ${l.LO.sm}) {\n ${N} {\n max-width: 1600px;\n ${m.BF} {\n aspect-ratio: 3/2;\n object-fit: cover;\n }\n }\n }\n @media (min-width: ${l.LO.md}) {\n ${N} {\n max-height: fit-content;\n padding-right: var(--grid-margin);\n padding-left: var(--grid-margin);\n ${m.BF} {\n max-height: inherit;\n aspect-ratio: 16/9;\n }\n }\n }\n `} \n `:"")(e,0,n,o,i,r)} ${({publishDatePosition:e,hasExtraSpaceBetweenSeparator:t})=>"top"===e&&`\n ${f.Lo} {\n position: relative;\n\n &:not(:first-child)::before {\n position: absolute;\n left: calc(-${(0,a.Kq)(1)} - 0.5px);\n content: ' ';\n border-left: 1px solid currentColor;\n height: 80%;\n top: 10%;\n }\n }\n`} ${({theme:e})=>o.AH` @media print { display: block; .theme-inverted, .theme-special { ${({theme:e})=>(0,C.kT)(e,"standard",{[C.pT.Color.BorderAccent]:"colors.consumption.lead.standard.accent",[C.pT.Color.BorderStory]:"colors.consumption.lead.standard.divider",[C.pT.Color.Surface]:"colors.consumption.lead.standard.background",[C.pT.Color.Text]:"colors.consumption.body.standard.body",[C.pT.Color.TextByline]:"colors.consumption.lead.standard.accreditation",[C.pT.Color.TextDek]:"colors.consumption.lead.standard.description",[C.pT.Color.TextHeading]:"colors.consumption.lead.standard.heading",[C.pT.Color.TextImageCaption]:"colors.consumption.lead.standard.description",[C.pT.Color.TextImageCredit]:"colors.consumption.body.standard.body-deemphasized",[C.pT.Color.TextPubdate]:"colors.consumption.lead.standard.context-tertiary",[C.pT.Color.TextRubric]:"colors.consumption.lead.standard.context-signature",[C.pT.Color.TextSubtle]:"colors.consumption.lead.standard.syndication"})} } } `} ${({showContributorImageOnMobile:e})=>!e&&`\n ${(0,a.L7)(`${d.VS.lg}px`)} {\n ${$.h4} { display: none; }\n }\n }\n `} ${({isImagePositionBottomInSmallScreen:e})=>e&&`\n ${(0,a.L7)(`${d.VS.lg}px`)} {\n ${T} {\n grid-row: 1 / auto;\n }\n \n ${b.nw} {\n grid-row: 2 / auto;\n }\n\n ${b.zT} {\n grid-row: 3 / auto;\n }\n }\n `} `,O=(0,o.Ay)(p.A).withConfig({displayName:"ContentHeaderOffersData"})` margin: 0; &&.disclaimer-container { ${v.PK} ${v.bQ} display: block; margin-bottom: ${(0,a.Kq)(.5)}; @media (min-width: ${l.LO.lg}) { display: none; } } &&.offer-data { ${v.PK} ${v.bQ} } `,_=o.Ay.div.withConfig({displayName:"ContentHeaderLeadOverride"})` grid-column: full; max-width: 100vw; .interactive-override__wirewax-embed { @media (min-width: ${l.LO.lg}) { padding: 0 15vw; } } ${({contentPosition:e})=>"below"===e&&"grid-row: 1;"} `},88530:(e,t,n)=>{n.d(t,{A:()=>C});var o=n(13465),i=n(32485),a=n.n(i),r=n(96540),s=n(5556),l=n.n(s),d=n(6442),c=n(11542),m=n(38267),u=n(26865),p=n(1123),g=n(75163);const h=m.Ay.div.withConfig({displayName:"ContributorsWrapper"})` ${({theme:e})=>(0,u.Gg)(e,"typography.definitions.consumptionEditorial.description-embed")} border-width: 1px 0; border-style: solid; color: var(${g.pT.Color.Text}); ${({dividerColor:e,theme:t})=>""+(e?`${(0,p.mS)(e)};`:`border-color: var(${g.pT.Color.BorderStory});`)} &:empty { border: none; } ${({shouldHideBottomLine:e})=>e&&"border-bottom: none;"} `,y=m.Ay.div.withConfig({displayName:"ContributorsStaff"})` padding: ${(0,u.Kq)(4)} 0; `;var b=n(66769);const f=(0,n(72267).defineMessages)({authorPreamble:{id:"Contributors.AuthorPreamble",defaultMessage:"Written by {brandName} Staff",description:"Contributors component author preamble"}});var w=n(53499);const $=({brandName:e,className:t,contributors:n,maxContributors:o=2,dividerColor:i,shouldHideBottomLine:s=!1})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(w.G.RENDER,{name:"Contributors"})},[]);const{formatMessage:l}=(0,d.A)();return n&&n.length?r.createElement(h,{className:a()("contributors",t),dividerColor:i,shouldHideBottomLine:s,"data-testid":"Contributors"},n.length>o?r.createElement(y,null,l(f.authorPreamble,{brandName:e})):n.map((e,t)=>r.createElement(b.A,{...e,key:t,dividerColor:i}))):null};$.propTypes={brandName:l().string,className:l().string,contributors:l().arrayOf(l().shape(b.A.propTypes)),dividerColor:l().string,maxContributors:l().number,shouldHideBottomLine:l().bool},$.displayName="Contributors";const v=(0,c.M3)($,{keysToPluck:["brandName"]}),C=(0,o.y)(v,"Contributors")},88631:(e,t,n)=>{n.d(t,{Ay:()=>s,Xz:()=>i.A,ck:()=>a.A});var o=n(4934),i=n(8071),a=n(35512),r=n(75879);const s={...o.A,useSophi:i.A,useSophiLoader:a.A,addDemeterStub:r.c,getDemeterStubScript:r.w}},88722:(e,t,n)=>{n.d(t,{O:()=>s,i:()=>r});var o=n(96540),i=n(9481);const a={genre:"Genre:",label:"Label:",reviewDate:"Reviewed:",releaseDate:"Release Date:"},r=(e,t=!1,n=!1)=>{if(!e)return[];const o=[];return Object.keys(e).forEach(i=>{t&&"reviewDate"===i||("releaseYear"===i&&n?e[i]&&e[i].length&&o.push({key:a.releaseDate,value:e[i]}):e[i]&&e[i].length&&a[i]&&o.push({key:a[i],value:e[i]}))}),o},s=({contributors:e,hideContributors:t,hideContributorTitle:n,bylineVariation:a,isMusicReview:r,contentAlign:s,reviewDate:l,showReviewDateInByline:d=!1,BylineWithReviewDate:c,ReviewDate:m,ReviewDivider:u,reviewedText:p="Reviewed",isMiddle:g=!1})=>{if(!e||t)return null;const h=o.createElement(i.s8,{contributors:e,bylineVariation:n?"Item":a,isCompact:!1,isMusicReview:r,contentAlign:s});return l&&d&&c&&m&&u?o.createElement(c,{isMiddle:g},h,o.createElement(u,null),o.createElement(m,null,p," ",l)):h}},88820:(e,t,n)=>{n.d(t,{A:()=>K});var o=n(47655),i=n(32485),a=n.n(i),r=n(5556),s=n.n(r),l=n(96540),d=n(6442);const c=(0,n(72267).defineMessages)({title:{id:"EventsList.Title",defaultMessage:"Featured Events",description:"EventsList component title"}});var m=n(53499),u=n(38267),p=n(26865),g=n(76955),h=n(96472);const y={as:"span",colorToken:"colors.discovery.body.white.context-tertiary",typeIdentity:"typography.definitions.discovery.hed-bulletin-secondary"},b=u.Ay.div.withConfig({displayName:"EventWrapper"})` border-width: 1px 0 0; border-style: solid; ${({theme:e})=>(0,p._o)(e,"border-color","colors.discovery.body.light.divider")}; padding: ${(0,p.Kq)(2)} 0 ${(0,p.Kq)(3)} 0; @media (min-width: ${h.LO.md}) { display: grid; grid-template-columns: repeat(8, 1fr); } `,f=u.Ay.div.withConfig({displayName:"EventDetails"})` @media (min-width: ${h.LO.md}) { grid-column: 1 / span 4; } `,w=(0,u.Ay)(g.vm).withConfig({displayName:"EventTitle"})` margin: 0; a:visited, a:active, a:link { color: inherit; } `;w.defaultProps={as:"h2",colorToken:"colors.interactive.base.brand-primary",typeIdentity:"typography.definitions.discovery.hed-bulletin-primary"};const $=(0,u.Ay)(g.sH).withConfig({displayName:"EventTitleLink"})` margin: 0; `;$.defaultProps={colorToken:"colors.interactive.base.brand-primary",hasUnderline:!1,typeIdentity:"typography.definitions.discovery.hed-bulletin-primary"};const v=(0,u.Ay)(g.vm).withConfig({displayName:"EventDates"})` margin: 0; `;v.defaultProps={colorToken:"colors.discovery.body.white.context-tertiary",typeIdentity:"typography.definitions.discovery.hed-bulletin-secondary"};const C=(0,u.Ay)(g.vm).withConfig({displayName:"EventLocationAddress"})``;C.defaultProps={as:"div",typeIdentity:"typography.definitions.discovery.hed-bulletin-secondary"};const k=(0,u.Ay)(g.vm).withConfig({displayName:"EventLocationName"})``;k.defaultProps={...y,as:"p"};const x=(0,u.Ay)(g.vm).withConfig({displayName:"EventLocationCity"})``;x.defaultProps=y;const E=(0,u.Ay)(g.vm).withConfig({displayName:"EventLocationRegion"})``;E.defaultProps=y;const A=(0,u.Ay)(g.vm).withConfig({displayName:"EventLocationCountry"})``;A.defaultProps=y;const S=u.Ay.div.withConfig({displayName:"EventLocation"})` margin: 0 0 ${(0,p.Kq)(2)}; ${k} { margin: 0; } `,L=(0,u.Ay)(g.vm).withConfig({displayName:"EventBodyParagraph"})` margin: 0 0 ${(0,p.Kq)(2)} 0; @media (min-width: ${h.LO.md}) { grid-column: 5 / span 4; margin: 0; } `;L.defaultProps={...y,as:"p"};const T=({body:e,className:t,dangerousHed:n,eventEndDate:o,eventStartDate:i,showVenue:r=!1,url:s,venue:d})=>(l.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"Event"})},[]),l.createElement(b,{className:a()("event",t),"data-testid":"event-wrapper"},l.createElement(f,{className:"event-details"},s?l.createElement(w,{className:"event-title"},l.createElement($,{dangerouslySetInnerHTML:{__html:n},href:s,rel:"noopener noreferrer"})):l.createElement(w,{dangerouslySetInnerHTML:{__html:n}}),i&&l.createElement(v,{"test-id":"event-date"},i,o&&` - ${o}`),r&&d&&l.createElement(S,null,d.name&&l.createElement(k,null,d.name),d.address&&l.createElement(C,null,d.address.city&&l.createElement(x,null,d.address.city),d.address.region&&l.createElement(E,null,", ",d.address.region),d.address.country&&l.createElement(A,null," ",d.address.country)))),e&&l.createElement(L,{dangerouslySetInnerHTML:{__html:e}})));T.propTypes={body:s().string,className:s().string,dangerousHed:s().string.isRequired,eventEndDate:s().string,eventStartDate:s().string,showVenue:s().bool,url:s().string,venue:s().object};const N=T;var H=n(64836),I=n(84248),B=n(66472);const O=({className:e,events:t,links:n,marquee:o,shouldUseTabs:i=!1,title:r,variations:s={sortByMonth:!1},variationName:u})=>{l.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(m.G.RENDER,{name:"EventsList",variation:u})},[u]);let p={};const{formatMessage:g}=(0,d.A)(),h=t.map((e,t)=>(s.sortByMonth&&(p=function(e){return e.sort((e,t)=>new Date(e.startDate)-new Date(t.startDate)).reduce((e,t)=>{const n=t.startDate?new Date(t.startDate).toLocaleString("en-US",{month:"long"}):"";return e[n]?e[n].push(t):e[n]=[t],e},{})}(e)),l.createElement(B.pN,{key:t},s.sortByMonth&&e.length>0?l.createElement(l.Fragment,null,Object.keys(p).map((e,t)=>l.createElement(B.uB,{key:t,className:"events-list__month"},l.createElement(B.cs,null,e),l.createElement(B.wp,null,l.createElement(B.tX,{key:t},p[e].map((e,t)=>l.createElement(N,{...e,key:t,showVenue:!0}))))))):l.createElement(l.Fragment,null,l.createElement(B.cs,null,r||g(c.title)),e.length>0&&l.createElement(B.wp,null,e.map((e,t)=>l.createElement(B.tX,{key:t},l.createElement(N,{...e,showVenue:!0})))))))),y=o&&o.items?l.createElement(H.A,{...o,heading:""}):null,b=i?l.createElement(I.A,{marquee:y,showButton:!1,tabContent:h,tabLabels:n}):l.createElement(l.Fragment,null,h);return l.createElement(B.fm,{className:a()("events-list",e),isSortByMonth:s.sortByMonth},b)};O.propTypes={className:s().string,events:s().arrayOf(s().arrayOf(s().object)).isRequired,links:s().arrayOf(s().object),marquee:s().object,shouldUseTabs:s().bool,title:s().string,variationName:s().string,variations:s().shape({sortByMonth:s().bool.isRequired})};const _=O;_.SortByMonth=(0,o.y)(_,"SortByMonth",{sortByMonth:!0});const K=_},89434:(e,t,n)=>{n.d(t,{o:()=>i});const o=(e,t)=>{try{const n=window.gapi;n?e(n):setTimeout(()=>o(e,t),100)}catch(e){t(e)}},i=()=>new Promise((e,t)=>{o(e,t)})},89546:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(13465),i=n(96540),a=n(5556),r=n.n(a),s=n(84886),l=n(83237),d=n(13099),c=n(38267),m=n(26865);const u=c.Ay.div.withConfig({displayName:"VersoNativeProductTitle"})` margin-bottom: ${(0,m.Kq)(4)}; `;var p=n(53499),g=n(35864);const h=({dangerousHed:e,isSponsoredAffiliateLinksEnabled:t,sectionTitleVariation:n="LineAboveLineBelowTextCenter",items:o=[]})=>{i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"VersoNativeProduct"})},[]);const a=o.length>=3,r=o.length<=2,c=g.default[n];return i.createElement(i.Fragment,null,e&&i.createElement(u,{as:c,dangerousHed:e}),i.createElement(d.M.TextCenterNoTopRule,{isEnabled:t}),a&&i.createElement(s.A,{childTypes:["product"]},o.map((e,t)=>i.createElement(l.A.ImageTop,{...e,key:`native-product-embed-top-${t}`}))),r&&i.createElement(s.A,{childTypes:["product"]},o.map((e,t)=>i.createElement(l.A.ImageLeftWithButtonAndTextCentered,{...e,key:`native-product-embed-left-${t}`}))))};h.propTypes={dangerousHed:r().string.isRequired,isSponsoredAffiliateLinksEnabled:r().bool,items:r().array.isRequired,sectionTitleVariation:r().string},h.displayName="VersoNativeProduct";const y=h,b=(0,o.y)(y,"VersoNativeProduct")},89635:(e,t,n)=>{n.d(t,{HS:()=>l,uN:()=>c,zs:()=>d,zt:()=>m});var o=n(38267),i=n(26865),a=n(96472),r=n(70698),s=n(77906);const l=60,d=60,c=o.Ay.section.withConfig({displayName:"LinkBannerWrapper"})` ${({hasCarouselControls:e,hasNoStickyPosition:t})=>e&&!t&&`\n position: fixed;\n box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px;\n transform: translateY(0px);\n transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;\n z-index: 350;\n padding-top: var(--header-height, ${(0,i.Kq)(7,"px")});\n\n &.visual-link-banner--is-scrolled {\n position: fixed;\n opacity: 0;\n transform: translateY(-200px);\n transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;\n }\n `} ${({hasNoStickyPosition:e,hasShadow:t})=>e&&t&&"box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px;;"} ${({hasBorder:e,theme:t,hasShadow:n})=>e&&n&&`\n border-bottom: 1px solid;\n ${(0,i._o)(t,"border-color",(0,r.iq)(t)?"colors.consumption.lead.inverted.divider":"colors.foundation.menu.dividers")};\n `} ${({theme:e,hasCustomBackground:t,hasLightBackground:n})=>{let o;return o=t?"colors.consumption.lead.special.syndication":(0,r.iq)(e)?"colors.consumption.lead.inverted.background":n?"colors.discovery.body.light.background":"colors.foundation.menu-bg.collapsed",(0,i._o)(e,"background",o)}}; height: ${({hasCarouselControls:e})=>!e&&`${l}px`}; @media (min-width: ${a.LO.md}) { height: ${({hasCarouselControls:e})=>!e&&`${d}px`}; } .body__drawer--open & { display: ${({showBannerUnderNav:e})=>!e&&"none"}; } `,m=o.Ay.div.withConfig({displayName:"StyledNavigationDropdown"})` ${s.By} { margin-top: 0; max-height: ${(0,i.Kq)(15)}; ${({shouldTrim:e})=>e&&`\n min-width: ${(0,i.Kq)(32)};\n white-space: normal;\n `}; } ${s.TN} { height: ${(0,i.Kq)(3)}; ${({shouldTrim:e})=>e&&`margin-bottom: ${(0,i.Kq)(1)}`}; } ${s.EG} { ${({theme:e})=>(0,i._o)(e,"color","colors.consumption.lead.standard.context-signature")}; ${(0,i.Gg)("typography.definitions.globalEditorial.context-primary")}; } `},90072:(e,t,n)=>{n.d(t,{W:()=>s,w:()=>l});var o=n(96540),i=n(52009),a=n(72362);const r=new Set(["photo","cartoon"]),s=(e,t)=>{const[n,i]=(0,o.useState)(!1),[r,s]=(0,o.useState)("");return(0,o.useEffect)(()=>{if(e&&navigator?.share){const{protocol:e,host:n,pathname:o,search:r}=window.location;s(`${e}//${n}${o}${r}`),(0,a.Zm)()&&!t||i(!0)}},[e,t]),{showNativeShareButton:n,pageUrl:r}},l=e=>{const t={...e};return r.has(e.contentType)&&!e.segmentedSources&&e.sources&&(t.segmentedSources=(0,i.I)(e.sources)),t}},90098:(e,t,n)=>{n.d(t,{Db:()=>I,LX:()=>w,SD:()=>E,Uz:()=>C,iY:()=>N,jZ:()=>A,q4:()=>S,ry:()=>L,v:()=>$,vd:()=>k,wY:()=>x,we:()=>v,zR:()=>H,zh:()=>T});var o=n(38267),i=n(96472),a=n(76955),r=n(26865),s=n(40653),l=n(86659),d=n(48188),c=n(30597),m=n(77906),u=n(63175),p=n(51e3),g=n(26348);const h=(0,r.Kq)(2),y=(0,r.Kq)(5),b=(0,r.Kq)(4),f=o.AH` .navigation__list-item { display: flex; position: relative; align-items: center; .navigation__link { display: block; } &:last-of-type { margin-bottom: 0; } } .navigation__list { display: flex; flex-direction: column; margin: 0; } ${({contentAlign:e})=>"center"===e?"\n .navigation__list,\n .navigation__list-item {\n align-items: center;\n }\n ":""} `,w=(0,o.Ay)(l.A.WithMargins).withConfig({displayName:"SecondaryMenuGridWrapper"})` && { width: auto; } height: 100%; overflow-y: scroll; box-sizing: content-box; scrollbar-width: none; &::-webkit-scrollbar { width: 0; height: 0; } ${s.E} { grid-column: 1 / -1; } ${({isInverted:e,theme:t})=>e&&(0,r._o)(t,"background-color","colors.consumption.lead.inverted.background")}; ${({contentAlign:e,showUtilityLinksOnTop:t})=>"left"===e?o.AH` grid-template-columns: repeat(4, 1fr); max-width: none; `:"center"===e&&!0===t?o.AH` @media (min-width: ${i.LO.md}) { ${s.E} { grid-column: 4 / span 6; } } @media (min-width: ${i.LO.lg}) { padding-top: ${(0,r.Kq)(4)}; } `:"center"===e?o.AH` @media (min-width: ${i.LO.md}) { ${s.E} { grid-column: 5 / span 4; } } `:""} `,$=o.Ay.div.withConfig({displayName:"SecondaryMenuContent"})` padding-bottom: ${(0,r.Kq)(4)}; `,v=(0,o.Ay)(d.A.Vertical).withConfig({displayName:"SecondaryMenuNavigationPrimary"})` margin-top: ${(0,r.Kq)(6)}; margin-bottom: ${b}; .navigation__link { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.foundation.link-feature")}; ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"color","colors.consumption.lead.inverted.link"):(0,r._o)(t,"color","colors.foundation.expanded-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default")}; &:focus, &:hover { ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"color","colors.consumption.lead.inverted.link"):(0,r._o)(t,"color","colors.foundation.expanded-utility.nav-link.hover")}; } } .navigation__list-item { margin-bottom: ${b}; } ${f} ${({hasExtraTopMargin:e})=>e?`\n @media (max-width: calc(${i.LO.lg} - 1px)) {\n margin-top: ${(0,r.Kq)(12)};\n }\n `:""} ${({enableEnhancedSearch:e})=>e&&"margin-top: 0;"} `,C=(0,o.Ay)(d.A.Vertical).withConfig({displayName:"SecondaryMenuNavigationUtility"})` margin-top: ${(0,r.Kq)(4)}; margin-bottom: ${(0,r.Kq)(-2)}; .navigation__link { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.foundation.link-feature")}; ${({theme:e})=>(0,r._o)(e,"color","colors.interactive.base.brand-primary")}; &:focus, &:hover { ${({theme:e})=>(0,r._o)(e,"color","colors.interactive.base.brand-primary")}; } } .navigation__list-item { margin-bottom: ${b}; } ${f} `,k=o.Ay.div.withConfig({displayName:"SecondaryMenuBottom"})` border-top: 1px solid; ${({theme:e})=>(0,r._o)(e,"border-color","colors.consumption.lead.inverted.divider")}; padding-top: ${b}; padding-bottom: ${b}; @media (min-width: ${i.LO.md}) { padding-top: ${b}; } .navigation__list { ${({contentAlign:e})=>"center"===e?"\n justify-content: center;\n align-items: center;\n ":""} } &:empty { border: 0; padding: 0; } `,x=o.Ay.div.withConfig({displayName:"SecondaryMenuSearch"})` display: flex; ${({enableEnhancedSearch:e})=>e&&`flex-direction: column;\n align-items: center;\n justify-content: flex-end;\n margin-top: ${(0,r.Kq)(1.5)};\n margin-bottom: ${(0,r.Kq)(1.5)};\n width: 100%;\n `} ${({hasError:e})=>e&&`\n ${g.DO} input {\n border-color: rgb(157, 0, 0) !important;\n }\n `} ${({contentAlign:e})=>"center"===e?"\n justify-content: center;\n ":""} ${({enableEnhancedSearch:e})=>e&&`\n ${g.Fw} {\n width: 100%;\n }\n ${g.B9} {\n padding-top: 12px;\n padding-right: 0;\n padding-left: 0;\n }\n ${g.DO} {\n border-radius: 40px;\n ${(0,r.L7)(i.LO.md)} {\n height: ${(0,r.Kq)(5)};\n\n input {\n padding-left: ${(0,r.Kq)(4)};\n }\n }\n }\n `} .search-error { margin-top: 0; margin-bottom: ${(0,r.Kq)(1)}; margin-left: 0; width: 100%; text-align: left; color: rgb(157, 0, 0); font-size: 14px; ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.utility.assistive-text")}; } `,E=(0,o.Ay)(a.sH).withConfig({displayName:"SecondaryMenuSearchLink"})` &:hover { ${({theme:e})=>(0,r._o)(e,"color","colors.foundation.expanded-utility.nav-link.hover")}; } display: inline-block; margin-bottom: ${h}; ${({hasInvertedSearchStyles:e,isInverted:t,theme:n})=>e&&t?(0,r.pe)(n,"colors.consumption.lead.inverted.link",null,"navigation"):(0,r.pe)(n,"colors.foundation.expanded-menu.utility-link.default",null,"navigation")}; `;E.defaultProps={colorStaticLinkToken:"colors.foundation.expanded-utility.nav-link.default",typeToken:"typography.definitions.foundation.link-secondary"};const A=o.Ay.div.withConfig({displayName:"SecondaryMenuAccount"})` line-height: 0.8em; .navigation__link { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.foundation.link-secondary")}; ${({isInverted:e,theme:t})=>e?(0,r.pe)(t,"colors.consumption.lead.inverted.link",null,"navigation"):(0,r.pe)(t,"colors.foundation.expanded-menu.nav-link.default",null,"navigation")}; &:hover { ${({theme:e,isInverted:t})=>t?(0,r._o)(e,"color","colors.consumption.lead.inverted.link"):(0,r._o)(e,"color","colors.foundation.expanded-utility.nav-link.hover")}; } } .navigation__list-item { display: flex; align-items: center; margin-bottom: ${h}; .navigation__link { display: block; } } .account-links__sign-out { margin-bottom: ${h}; padding: 0; } ${({contentAlign:e})=>"center"===e?"\n text-align: center;\n .navigation__list-item {\n justify-content: center;\n }\n ":""} `,S=(0,o.Ay)(a.sH).withConfig({displayName:"SecondaryMenuSignInLink"})` &:hover { ${({theme:e})=>(0,r._o)(e,"color","colors.foundation.expanded-utility.nav-link.hover")}; } ${({isInverted:e,theme:t})=>e?(0,r.pe)(t,"colors.consumption.lead.inverted.link",null,"navigation"):(0,r.pe)(t,"colors.foundation.expanded-menu.utility-link.default",null,"navigation")}; display: inline-block; margin-bottom: ${h}; `;S.defaultProps={colorStaticLinkToken:"colors.foundation.expanded-menu.nav-link.default",typeToken:"typography.definitions.foundation.link-secondary"};const L=(0,o.Ay)(d.A.Vertical).withConfig({displayName:"SecondaryMenuUtilityLinks"})` .navigation__link { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.foundation.link-secondary")}; ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"color","colors.consumption.lead.inverted.link"):(0,r._o)(t,"color","colors.foundation.expanded-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default")}; &:focus, &:hover { ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"color","colors.consumption.lead.inverted.link"):(0,r._o)(t,"color","colors.foundation.expanded-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default")}; } } .navigation__list-item { margin-bottom: ${h}; } ${f} margin-bottom: ${h}; ${({utilityLinksOneItem:e})=>e&&"margin-bottom: 0;"} `,T=(0,o.Ay)(d.A.Vertical).withConfig({displayName:"SecondaryMenuSecondaryLinks"})` .navigation__link { ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.foundation.link-secondary")}; ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"color","colors.consumption.lead.inverted.link"):(0,r._o)(t,"color","colors.foundation.expanded-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default")}; &:focus, &:hover { ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"color","colors.consumption.lead.inverted.link"):(0,r._o)(t,"color","colors.foundation.expanded-menu.nav-link.default","colors.foundation.expanded-utility.nav-link.default")}; } } .navigation__list-item { margin-bottom: ${h}; } ${f} `,N=o.Ay.div.withConfig({displayName:"SecondaryMenuNavigationDropdownHeader"})` ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"color","colors.interactive.base.white"):(0,r._o)(t,"color","colors.interactive.base.black")}; ${({theme:e})=>(0,r.Gg)(e,"typography.definitions.utility.label")}; border-top: 2px solid; ${({theme:e})=>(0,r._o)(e,"border-color","colors.consumption.lead.inverted.divider")}; padding: ${(0,r.Kq)(4)} 0 ${(0,r.Kq)(1)}; `,H=(0,o.Ay)(c.A).withConfig({displayName:"SecondaryMenuNavigationDropdown"})` border: 1px solid; ${({theme:e,isInverted:t})=>t?(0,r._o)(e,"border-color","colors.consumption.lead.inverted.divider"):(0,r._o)(e,"border-color","colors.foundation.menu.dividers")}; ${m.EG} { ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"color","colors.interactive.base.light"):(0,r._o)(t,"color","colors.interactive.base.black")}; } ul { left: ${(0,r.Kq)(-.16)}; margin: 0; border: inherit; padding: 0; } li { border: inherit; &:hover { ${({theme:e})=>(0,r._o)(e,"background","colors.interactive.base.light")}; } } `,I=(0,o.Ay)(u.A.Standard).withConfig({displayName:"SecondaryMenuSocialIcons"})` display: flex; align-items: center; justify-content: center; ${({showBorderTop:e,theme:t})=>e?`border-top: 2px solid;\n ${(0,r._o)(t,"border-color","colors.foundation.menu.dividers")}`:""}; padding-top: ${b}; @media (min-width: ${i.LO.md}) { padding-top: ${y}; } ${p.KS} { @media (min-width: ${i.LO.md}) { width: ${(0,r.Kq)(5)}; height: ${(0,r.Kq)(5)}; } .icon { path { ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"fill","colors.interactive.base.white"):(0,r._o)(t,"fill","colors.interactive.base.black")}; } } &:focus, &:hover { .icon { path { ${({isInverted:e,theme:t})=>e?(0,r._o)(t,"fill","colors.interactive.base.white"):(0,r._o)(t,"fill","colors.interactive.base.black")}; } } } } `},90114:(e,t,n)=>{n.d(t,{A:()=>Ma});var o=n(5556),i=n.n(o),a=n(96540),r=n(2404),s=n.n(r),l=n(91542),d=n(70926),c=n(79712),m=n(56892),u=n(64663),p=n(70920),g=n(37210),h=n(38267),y=n(26865);const b=h.Ay.div.withConfig({displayName:"BizzaboEmbedContainer"})` margin: ${(0,y.Kq)(5)} auto; `,f=h.Ay.blockquote.withConfig({displayName:"BizzaboEmbedBlockquote"})` margin-right: auto; margin-left: auto; `;var w=n(72267);const $=(0,w.defineMessages)({consentBannerHeader:{id:"BizzaboEmbed.ConsentBannerHeader",defaultMessage:"Bizzabo content",description:"Header for message banner"}}),{useContext:v,useEffect:C}=a,k=({url:e})=>{const t=v(u.c$),[n,o]=(0,p.A)(),i=(()=>{const e=(0,m.getCookie)("pay_ent_pass"),t=(0,c.A)(e),{scopes:n=[]}=t||{};return n.includes("vogue-web-club")})();let r,s=null;const l=t.targeting&&o;C(()=>{if(l){const e=document.getElementById("bizzabo-tickets-widget");null!==e&&e.setAttribute("data-params",s),(()=>{if(!document.getElementById("bizzabo-embed")){const e=document.createElement("script");e.id="bizzabo-embed",e.src="https://organizer.bizzabo.com/widgets/tickets/tickets.js",e.async=!0,document.body.appendChild(e)}})()}},[l,s]);const d=e?e.split("|"):[];if(d.length<2)return"";const[h=null,y=null,w=null]=d;return s=`isInMinisite=true&widgetId=${y}`,r=`https://accounts.bizzabo.com/widgets/tickets/${h}?isPreview=true&widgetId=${y}`,i&&w&&(s+=`&promo=${w}`,r+=`&promo=${w}`),a.createElement(b,{ref:n},l?a.createElement(f,{className:"bizzabo-tickets-widget",id:"bizzabo-tickets-widget","data-event-id":h,"data-params":s}):a.createElement(g.A,{hasConsent:t.targeting,url:r,consentBannerHeader:$.consentBannerHeader}))};k.propTypes={url:i().string.isRequired};const x=k;var E=n(12564),A=n(13465),S=n(11542);const L=(0,w.defineMessages)({consentBannerHeader:{id:"IframeEmbed.ConsentBannerHeader",defaultMessage:"Content",description:"Header for message banner"}});var T=n(53499);const N=h.Ay.figure.withConfig({displayName:"CNEEventRegistrationEmbedWrapper"})` margin: ${(0,y.Kq)(5,"px")} auto; height: 100%; text-align: center; `,H=h.Ay.div.withConfig({displayName:"CNEEventRegistrationEmbedContainer"})` width: 100%; height: 100%; `,I=h.Ay.iframe.withConfig({displayName:"CNEEventRegistrationEmbedContent"})` border: 0; width: 100%; max-width: 100%; height: 100%; `,{useContext:B,useEffect:O,useState:_,useRef:K}=a,P=(0,S.z5)("user"),D=({className:e,offsetHeight:t=0,title:n="CNE Event Registration Embed",url:o,user:i})=>{O(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"CNEEventRegistrationEmbed"})},[]);const r=new URL(o),s=r.searchParams.get("loggedout"),l=r.searchParams.get("loggedin"),d=r.searchParams.get("privacy"),c=r.origin+r.pathname+(s||""),m=r.origin+r.pathname+(l||""),[h,y]=_(c),b=!!l,{isAuthenticated:f}=i,w=B(u.c$),[$,v]=(0,p.A)(),C=(w.targeting||"false"===d)&&v,k=K(),x=K(),E=({source:e,origin:n,data:o})=>{const{type:i,height:a}=o;let r;x.current&&k.current&&k.current.src.startsWith(n)&&k.current.contentWindow===e&&("string"==typeof o&&-1!==o.indexOf("apym")?r=o.replace("apym",""):"embed-size"===i&&(r=a),r&&(k.current.style.height=`${Number(r)+t}px`))};return O(()=>(window.addEventListener("message",E),()=>{window.removeEventListener("message",E)})),O(()=>{f?b&&y(m):y(c)},[f,b,m,c]),a.createElement(N,{"data-testid":"CNEEventRegistrationEmbedWrapper",className:e,ref:$},a.createElement(H,{ref:x},C?a.createElement(I,{title:n,src:h,ref:k,scrolling:"no"}):a.createElement(g.A,{hasConsent:w.targeting,url:h,consentBannerHeader:L.consentBannerHeader})))};D.propTypes={className:i().string,offsetHeight:i().number,title:i().string,url:i().string.isRequired,user:i().object},D.displayName="CNEEventRegistrationEmbed";const q=P(D),M=(0,A.y)(q,"CNEEventRegistrationEmbed");var R=n(69148),F=n(10553),U=n(87997),V=n(47655),G=n(32485),W=n.n(G),j=n(6442);const z=(0,w.defineMessages)({articleButtonCta:{id:"ContentCardEmbed.articleButtonCta",defaultMessage:"View Story",description:"Call to action for article embeds",isConfigurable:!0},recipeButtonCta:{id:"ContentCardEmbed.recipeButtonCta",defaultMessage:"View Recipe",description:"Call to action for recipe embeds",isConfigurable:!0}});var Y=n(21093),X=n(73275),Z=n(87468),J=n(76955),Q=n(73730),ee=n(96472);const te=h.AH` margin-bottom: ${(0,y.Kq)(2)}; ${(0,y.R9)("isSideBySide",!0,`\n ${(0,y.H4)(ee.LO.md)}{\n margin-bottom: 0;\n }\n `)} `,ne={bottomSpacing:(0,y.Kq)(2)},oe=h.Ay.div.withConfig({displayName:"ContentCardEmbedWrapper"})` /* Side By Side */ ${(0,y.R9)("isSideBySide",!0,h.AH` ${({theme:e,hasBorder:t,hasWhiteBg:n})=>(0,y._o)(e,"background-color",t||n?"colors.interactive.base.white":"colors.consumption.body.standard.bg-card")}; padding: ${(0,y.Kq)(3)}; ${(0,y.H4)(ee.LO.md)} { display: grid; grid-column-gap: ${(0,y.Kq)(5)}; grid-template-columns: 1fr 2fr; } `)} /* Stacked */ ${(0,y.R9)("isStacked",!0,`\n margin-bottom: ${(0,y.Kq)(4)};\n `)} ${({hasBorder:e})=>!0===e&&h.AH` border: 1px solid ${(0,y.HK)("colors.interactive.base.light")}; `} `,ie=h.Ay.div.withConfig({displayName:"ContentCardEmbedImage"})` ${te} `;ie.defaultProps=ne;const ae=(0,h.Ay)(J.sH).withConfig({displayName:"ContentCardEmbedImageLink"})` ${te} `;ae.defaultProps=ne;const re=h.Ay.div.withConfig({displayName:"ContentCardEmbedInfo"})``,se=h.Ay.div.withConfig({displayName:"ContentCardEmbedRubric"})` ${(0,y.Gg)("typography.definitions.globalEditorial.context-primary")} padding-bottom: ${(0,y.Kq)(1)}; color: ${(0,y.HK)("colors.consumption.lead.standard.context-signature")}; `,le=(0,h.Ay)(J.sH).withConfig({displayName:"ContentCardEmbedRubricLink"})` ${(0,y.Gg)("typography.definitions.globalEditorial.context-primary")} &:visited { text-decoration: underline; } `;le.defaultProps={colorToken:"colors.consumption.body.standard.display-signature"};const de=(0,h.Ay)(J.vm).withConfig({displayName:"ContentCardEmbedHed"})` ${oe} & { margin-top: 0; margin-bottom: ${(0,y.Kq)(2)}; ${(0,y.R9)("isSideBySide",!0,h.AH` ${(0,y.Gg)("typography.definitions.discovery.hed-core-primary")} `)} } `;de.defaultProps={as:"div",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-primary"};const ce=(0,h.Ay)(J.sH).withConfig({displayName:"ContentCardEmbedHedLink"})` ${oe} ${de} & { :link { text-decoration: none; } :hover, :focus, :visited { text-decoration: underline; } ${(0,y.R9)("isSideBySide",!0,h.AH` ${(0,y.Gg)("typography.definitions.discovery.hed-core-primary")} `)} ${(0,y.R9)("hasAlternateStyling",!0,h.AH` ${({theme:e,shouldEnableGlobalStyling:t})=>(0,y.pe)(e,"colors.consumption.body.standard.subhed","colors.consumption.body.standard.subhed",t?"global":"default")}; `)} } `;ce.defaultProps={colorSecondaryLinkToken:"colors.consumption.body.standard.subhed",colorStaticLinkToken:"colors.consumption.body.standard.subhed",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-primary"};const me=h.Ay.div.withConfig({displayName:"ContentCardEmbedDek"})` ${(0,y.Gg)("typography.definitions.consumptionEditorial.description-embed")} ${({theme:e})=>(0,y._o)(e,"color","colors.consumption.body.standard.body")}; margin-bottom: ${(0,y.Kq)(2)}; `,ue=(0,h.Ay)(Q.A.Utility).withConfig({displayName:"ContentCardEmbedCta"})` margin-top: ${(0,y.Kq)(2)}; text-align: center; ${(0,y.R9)("isStacked",!0,"\n width: auto;\n ")} `,pe={article:z.articleButtonCta,recipe:z.recipeButtonCta},ge=({artistName:e="",aspectRatioOverride:t="",buttonTextContent:n="",buttonTextMap:o={},className:i,contentType:r,contributors:s,dangerousDek:l,dangerousHed:d,image:c,isClickableImage:m=!1,rating:u,rubric:p,showButton:g=!0,showByline:h=!1,hasBorder:y=!1,hasAlternateStyling:b=!1,hasWhiteBg:f=!1,showSideBySide:w=!0,shouldEnableGlobalStyling:$=!1,showDek:v=!0,showImage:C=!0,showRubric:k=!1,target:x,url:E,variations:A={layout:"stacked"},variationName:S})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"ContentCardEmbed",variation:S})},[S]);const{formatMessage:L}=(0,j.A)(),N=pe[r]||pe.article,H=n||o[r]||L(N),I=u>0,B=w&&"side-by-side"===A.layout,O="stacked"===A.layout;return a.createElement(oe,{hasWhiteBg:f,className:W()("content-card-embed",`content-card-embed--${A.layout}`,i),hasBorder:y,isSideBySide:B,isStacked:O,"data-testid":"ContentCardEmbedWrapper"},C&&c&&(()=>{const e=E&&m?ae:ie,n={className:"content-card-embed__image",isSideBySide:B,isClickableImage:m,"data-testid":"ContentCardEmbedImage"};return E&&m&&(n.href=E,n.target="_blank"),t&&(c.aspectRatioOverride=t),a.createElement(e,{...n},a.createElement(X.A,{...c,hasNativeImgLazyLoading:!0}))})(),a.createElement(re,null,k&&p&&a.createElement(se,{className:"content-card-embed__rubric","data-testid":"ContentCardEmbedRubric",hasAlternateStyling:b},"string"==typeof p.url?a.createElement(le,{href:p.url,"data-testid":"ContentCardEmbedRubricLink"},p.name):p.name),a.createElement(de,{className:"content-card-embed__hed",isSideBySide:B,"data-testid":"ContentCardEmbedHed"},a.createElement(ce,{className:"content-card-embed__hed-link link",isSideBySide:B,hasAlternateStyling:b,href:E,dangerouslySetInnerHTML:{__html:d},"data-testid":"ContentCardEmbedHedLink",shouldEnableGlobalStyling:$})),I&&a.createElement(Y.A,{averageRatingCount:u}),v&&l&&O&&a.createElement(me,{dangerouslySetInnerHTML:{__html:l},"data-testid":"ContentCardEmbedDek"}),h&&s&&a.createElement(Z.A,{contributors:s,contentAlign:"left"}),e&&a.createElement("div",{className:"content-card-embed__artist"},e),g&&a.createElement(ue,{target:x,ariaLabel:H,href:E,label:H,inputKind:"link",isStacked:O,"data-testid":"ContentCardEmbedCta"})))};ge.propTypes={artistName:i().string,aspectRatioOverride:i().string,buttonTextContent:i().string,buttonTextMap:i().object,className:i().string,contentType:i().string,contributors:i().shape(Z.A.propTypes.contributors),dangerousDek:i().string,dangerousHed:i().string,hasAlternateStyling:i().bool,hasBorder:i().bool,hasWhiteBg:i().bool,image:i().shape(X.A.propTypes),isClickableImage:i().bool,rating:i().number,rubric:i().shape({url:i().string,name:i().string}),shouldEnableGlobalStyling:i().bool,showButton:i().bool,showByline:i().bool,showDek:i().bool,showImage:i().bool,showRubric:i().bool,showSideBySide:i().bool,target:i().string,url:i().string,variationName:i().string,variations:i().shape({layout:i().oneOf(["stacked","side-by-side"]).isRequired})},ge.displayName="ContentCardEmbed";const he=ge;var ye=n(80471),be=n(39832),fe=n(10642);const we=(0,w.defineMessages)({rubric:{id:"ExternalLinkEmbed.Rubric",defaultMessage:"Read More",description:"External Link Embed Rubric default text"}});var $e=n(90090),ve=n(4262);const Ce=h.Ay.div.withConfig({displayName:"ExternalLinkEmbedWrapper"})` display: grid; width: 100%; ${({layout:e})=>"inlineWithButton"!==e&&"\n border-width: 1px 0;\n border-style: solid;\n "} ${({layout:e})=>"inlineWithButton"===e&&`\n .external-link-embed__image-link {\n @media (min-width: ${ee.LO.md}) {\n margin-left: ${(0,y.Kq)(2)};\n width: ${(0,y.Kq)(27)};\n }\n margin-left: ${(0,y.Kq)(1)};\n width: ${(0,y.Kq)(16)};\n }\n `} ${({theme:e})=>(0,y._o)(e,"border-color","colors.consumption.body.standard.divider")}; ${({layout:e,isFullWidth:t})=>"inline"===e||"inlineWithButton"===e?`\n grid-gap: ${(0,y.Kq)(3)};\n grid-template-columns: repeat(3, 1fr);\n margin: ${(0,y.Kq)(4)} 0;\n padding: ${(0,y.Kq)(2)} 0;\n\n .external-link-embed__image-link {\n align-self: center;\n justify-self: end;\n }\n\n ${t&&"\n float: none;\n margin-left: 0;\n width: 100%;\n "}\n `:""} ${({layout:e,theme:t})=>"large"===e?`\n grid-template-columns: repeat(8, 1fr);\n grid-row-gap: ${(0,y.Kq)(2)};\n margin: ${(0,y.Kq)(4)} 0;\n padding: ${(0,y.Kq)(2)} 0;\n\n .external-link-embed__image-link {\n grid-column: 2 / span 6;\n ${(0,y._o)(t,"background-color","colors.discovery.body.light.background")};\n }\n `:""} `,ke=(0,h.Ay)("div").withConfig({displayName:"ExternalLinkEmbedResponsiveImage"})` ${({layout:e})=>"inline"===e&&"\n min-width: 75px;\n\n img {\n width: 75px;\n object-fit: cover;\n }\n "} ${({layout:e})=>"inlineWithButton"===e&&"\n img {\n object-fit: contain;\n }\n "} `,xe=h.Ay.div.withConfig({displayName:"ExternalLinkEmbedText"})` position: relative; ${({layout:e,textColumnSize:t})=>"large"===e?"\n grid-column: 2 / span 6;\n ":`\n align-self: center;\n width: 100%;\n line-height: 1;\n\n ${"medium"===t?"\n grid-column: 1 / 3;\n ":"\n grid-column: 1 / 4;\n "}\n `} a:link, a:visited { text-decoration: none; ${({theme:e})=>(0,y._o)(e,"color","colors.consumption.body.standard.subhed")}; } a:active, a:focus, a:hover { text-decoration: underline; ${({theme:e})=>(0,y._o)(e,"color","colors.consumption.body.standard.subhed")}; } .icon-arrow { margin-top: 2px; margin-left: 3px; html[dir='rtl'] & { margin-top: 2px; margin-right: 7px; } } a + .icon-arrow { margin-top: 7px; margin-left: 3px; } `,Ee=(0,h.Ay)(Z.A).withConfig({displayName:"ExternalLinkEmbedBylines"})``,Ae=(0,h.Ay)(J.vm).withConfig({displayName:"ExternalLinkEmbedHed"})` display: inline; ${({isLiveStory:e})=>e&&"\n font-weight: unset;\n "} ${({hasMeta:e})=>e?`\n display: block;\n margin: 0 0 ${(0,y.Kq)(1)};\n `:""} ${({theme:e,layout:t})=>"inlineWithButton"===t&&`\n @media(min-width: ${ee.LO.md}){\n ${(0,y.Gg)(e,"typography.definitions.discovery.hed-feature")}\n }\n `}; `;Ae.defaultProps={as:"span",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.discovery.hed-bulletin-primary"};const Se=(0,h.Ay)(J.vm).withConfig({displayName:"ExternalLinkEmbedDek"})` ${({layout:e})=>"large"===e||"inline"===e?"\n margin: 0;\n ":""} ${({hasMeta:e})=>e?"display: inline;":""} `;Se.defaultProps={as:"p",colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.discovery.description-core"};const Le=(0,h.Ay)(J.vm).withConfig({displayName:"ExternalLinkEmbedRubric"})``;Le.defaultProps={as:"div",bottomSpacing:2,colorToken:"colors.consumption.body.standard.display-signature",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const Te=(0,h.Ay)(ve.A).withConfig({displayName:"ExternalLinkEmbedArrowIcon"})` position: absolute; html[dir='rtl'] & { transform: rotate(180deg); } path { ${({theme:e})=>(0,y._o)(e,"fill","colors.discovery.body.white.accent")}; } `,Ne=(0,h.Ay)(Q.A).withConfig({displayName:"ExternalLinkEmbedButton"})` margin-top: ${(0,y.Kq)(3)}; border: 2px solid ${(0,y.HK)("colors.interactive.base.black")}; @media (min-width: ${ee.LO.md}) { margin-top: ${(0,y.Kq)(2)}; } ${({theme:e})=>`\n ${(0,y.Gg)(e,"typography.definitions.utility.button-utility")}};\n `}; `,He=h.Ay.div.withConfig({displayName:"ExternalLinkEmbedButtonWrapper"})` a:link, a:visited { text-decoration: none; ${({theme:e})=>`\n \n ${(0,y._o)(e,"color","colors.interactive.base.black")};\n `}; } a:active, a:focus, a:hover { text-decoration: none; ${({theme:e})=>`\n ${(0,y._o)(e,"background-color","colors.interactive.base.black")}\n \n ${(0,y._o)(e,"color","colors.interactive.base.white")};\n \n `}; } `;var Ie=n(46674);const Be="PLPPromotion",Oe="ArticleToPLP",_e=({url:e,position:t})=>{window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:"promotion-click",ecommerce:{promoClick:{promotions:[{id:Be,name:Oe,creative:e,position:t}]}}})},Ke=({className:e,contributors:t,dangerousDek:n,dangerousHed:o,hasArrowIcon:i=!0,image:r,isExternal:s=!0,isFullWidth:l=!1,rubric:d,showByline:c=!1,textColumnSize:m="medium",url:u,variations:p={layout:"inline"},variationName:g,isLiveStory:h=!1,source:y,position:b,id:f})=>{const{layout:w}=p;a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"ExternalLinkEmbed",variation:g})},[]);const[$,v]=(0,ye.Wx)({threshold:.5,trackVisibility:!0,delay:100,triggerOnce:!0});v&&"inlineWithButton"===w&&(({url:e,position:t})=>{(0,$e.zJ)("",{event:"promotion-impression",ecommerce:{promoView:{promotions:[{id:Be,name:Oe,creative:e,position:t}]}}})})({url:u,position:b});const C=(0,j.A)(),k=s?be.A:"a",x=Ie.A,E=c&&t,A=(({hasByline:e,url:t,contributors:n,dangerousHed:o,dangerousDek:i,LinkComponent:r,hasArrowIcon:s,rubric:l,textColumnSize:d,layout:c,intl:m,isLiveStory:u,source:p,position:g})=>a.createElement(xe,{textColumnSize:u?"medium":d,layout:c},"inline"===c&&l&&a.createElement(Le,null,"string"==typeof l?m.formatMessage(we.rubric):l.name),a.createElement(r,{attributes:{"aria-label":o},className:"external-link-embed__hed-link button",href:t,onClick:()=>"inlineWithButton"===c&&_e({url:t,position:g})},a.createElement(Ae,{hasMeta:i||e,layout:c,dangerouslySetInnerHTML:{__html:o},isLiveStory:u})),i&&a.createElement(Se,{hasMeta:i||e,layout:c,dangerouslySetInnerHTML:{__html:i}}),s&&a.createElement(Te,null),e&&a.createElement(Ee,{contributors:n,contentAlign:"left"}),"inlineWithButton"===c&&p&&a.createElement(He,null,a.createElement(Ne,{btnStyle:"outlined",label:p,href:t,inputKind:"link",onClickHandler:()=>"inlineWithButton"===c&&_e({url:t,position:g}),target:"_blank"}))))({hasByline:E,url:u,contributors:t,dangerousHed:o,dangerousDek:n,LinkComponent:k,hasArrowIcon:i,rubric:d,textColumnSize:m,layout:w,intl:C,isLiveStory:h,source:y,position:b,id:f});return a.createElement(Ce,{layout:w,hasMeta:n||E,isFullWidth:l,className:e,"data-testid":`external-link-embed--${w}`,isLiveStory:h,ref:$},"inline"===w&&A,"inlineWithButton"===w&&A,r?.sources&&a.createElement(k,{attributes:{"aria-label":o},className:"external-link-embed__image-link",href:u,onClick:()=>"inlineWithButton"===w&&_e({url:u,position:b})},a.createElement(ke,{altText:r.altText,sources:r.sources,as:x,layout:w})),"large"===w&&A)};Ke.displayName="ExternalLinkEmbed",Ke.propTypes={className:i().string,contributors:i().shape(Z.A.propTypes.contributors),dangerousDek:i().string,dangerousHed:i().string.isRequired,hasArrowIcon:i().bool,id:i().string,image:i().object,isExternal:i().bool,isFullWidth:i().bool,isLiveStory:i().bool,position:i().number,rubric:i().oneOfType([i().shape(fe.A.propTypes),i().string]),showByline:i().bool,source:i().string,textColumnSize:i().oneOf(["medium","large"]),url:i().string.isRequired,variationName:i().string,variations:i().shape({layout:i().string})};const Pe=Ke;Pe.Inline=(0,V.y)(Pe,"Inline",{layout:"inline"}),Pe.Large=(0,V.y)(Pe,"Large",{layout:"large"}),Pe.InlineWithButton=(0,V.y)(Pe,"InlineWithButton",{layout:"inlineWithButton"});const De=Pe,qe=(0,A.y)(De,"ExternalLinkEmbed");he.Stacked=(0,V.y)(he,"Stacked",{layout:"stacked"}),he.SideBySide=(0,V.y)(he,"SideBySide",{layout:"side-by-side"}),he.ExternalLink=(0,V.y)(qe,"ExternalLink",{layout:"inline"},{isExternal:!1}),he.ExternalLinkLarge=(0,V.y)(qe,"ExternalLinkLarge",{layout:"large"},{isExternal:!1});const Me=he,Re=(0,A.y)(Me,"ContentCardEmbed");var Fe=n(52027),Ue=n(63175),Ve=n(51e3),Ge=n(7228);const We=h.Ay.div.withConfig({displayName:"ContributorEmbedWrapper"})``,je=(0,h.Ay)(X.A).withConfig({displayName:"ContributorEmbedResponsiveAsset"})` display: block; max-width: 70px; @media (min-width: ${ee.LO.lg}) { max-width: 80px; } ${Ge.BF} { ${(0,Fe.P)("100%","70px","70px")} } @media (min-width: ${ee.LO.lg}) { ${Ge.BF} { ${(0,Fe.P)("100%","80px","80px")} } } `,ze=h.Ay.h3.withConfig({displayName:"ContributorEmbedName"})` && { margin: ${(0,y.Kq)(2)} 0 ${(0,y.Kq)(1)}; padding: 0; ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.discovery.subhed-section-tertiary")} } `,Ye=h.Ay.div.withConfig({displayName:"ContributorEmbedSocialLine"})` display: flex; align-items: center; justify-content: flex-start; margin-bottom: ${(0,y.Kq)(1)}; &:empty { display: none; /* 1 */ } `,Xe=(0,h.Ay)(J.vm).withConfig({displayName:"ContributorEmbedTitle"})``;Xe.defaultProps={colorToken:"colors.consumption.body.standard.body-deemphasized",typeIdentity:"typography.definitions.globalEditorial.context-tertiary"};const Ze=(0,h.Ay)(Ue.A.Standard).withConfig({displayName:"ContributorEmbedSocialIcons"})` ${Xe} + & { margin-left: ${(0,y.Kq)(2)}; } ${Ve.KS} { width: ${(0,y.Kq)(4)}; height: ${(0,y.Kq)(4)}; } ${Ve.Pq} { margin: 0; padding: 0; } ${Ve.eO} { margin: 0; } `,Je=({dangerousBio:e,name:t,photo:n,socialMedia:o,title:i})=>{if(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"ContributorEmbed"})},[]),!e)return null;const r={links:o};return a.createElement(We,{"data-testid":"contributor-embed-wrapper"},n&&a.createElement(je,{...n}),a.createElement(ze,null,t),a.createElement(Ye,null,i&&a.createElement(Xe,null,i),o&&a.createElement(Ze,{...r})),a.createElement("div",{dangerouslySetInnerHTML:{__html:e},"data-testid":"contributor-bio"}))};Je.propTypes={dangerousBio:i().string,name:i().string,photo:i().shape(X.A.propTypes),socialMedia:i().arrayOf(i().shape({label:i().string,network:i().string})),title:i().string};const Qe=Je;var et=n(96275),tt=n(53788),nt=n(99906);const ot=h.Ay.div.withConfig({displayName:"GameEmbedWrapper"})` display: flex; flex-direction: row; justify-content: center; transform: translateX(-50%); margin-left: 50%; width: 100vw; -webkit-overflow-scrolling: touch; @media (min-width: ${({breakpoint:e})=>nt.VS[e]}px) { transform: none; margin-left: 0; width: 100%; } `;ot.displayName="GameEmbedWrapper";const it=(0,S.z5)("user"),at=({className:e,crossword:t,id:o,gamesCDNURL:i,gamesAPIURL:r,user:s})=>{const[l,d]=a.useState(null),[c,u]=a.useState(!0);a.useEffect(()=>{n.e(7800).then(n.bind(n,55929)).then(e=>{d(e),u(!1)}).catch(e=>{u(!1)})},[]),a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"GameEmbed"})},[]);const{large:p}=nt.th,g=a.useMemo(()=>{if(!s?.isAuthenticated||!s?.amguuid)return;const e=(0,m.getCookie)(tt.A.oidcCookies.access)||(0,m.getCookie)(tt.A.authCookieName);return e?{userId:s.amguuid,authToken:e}:void 0},[s?.isAuthenticated,s?.amguuid]),h=a.useMemo(()=>({apiBaseUrl:`${r}/api/v1`,throttleMs:1e4}),[r]),[y,b]=a.useState({gameType:void 0,theme:t?.theme,isLoading:!0,userContext:g,stateSyncConfig:h,options:{game:null,session:void 0,settings:t?.settings}});a.useEffect(()=>{(async()=>{if(l)try{const{data:e}=await et.A.get(`${r}/api/v1/games/${o}`);b(t=>({...t,gameType:l.GameType[e.gameType],isLoading:!1,userContext:g,stateSyncConfig:h,options:{...t.options,game:{...e,gameURL:window.location.href},session:JSON.parse(localStorage.getItem(`shuffaloGameSession-${o}`)||"null")}}))}catch(e){}})()},[o,r,g,h,l]);const f=a.createElement("div",{style:{display:"none"},dangerouslySetInnerHTML:{__html:`\x3c!-- #puzzles-and-games-url: ${i}?id=${o} --\x3e`}});if(c||!l)return a.createElement(ot,{"data-testid":"GameEmbedWrapper",breakpoint:p,className:e},f,a.createElement("div",{className:"game-embed-loading"},"Loading game..."));const{GameLoader:w}=l;return a.createElement(ot,{"data-testid":"GameEmbedWrapper",breakpoint:p,className:e},f,a.createElement(w,{...y}))};at.propTypes={className:i().string,crossword:i().shape({theme:i().object,settings:i().object}),gamesCDNURL:i().string.isRequired,gamesAPIURL:i().string.isRequired,id:i().string.isRequired,user:i().shape({isAuthenticated:i().bool,amguuid:i().string})},at.displayName="GameEmbed";const rt=it(at),st=(0,A.y)(rt,"GameEmbed");var lt=n(22509);const dt=h.Ay.div.withConfig({displayName:"CrosswordEmbedWrapper"})` transform: translateX(-50%); margin-left: 50%; width: 100vw; -webkit-overflow-scrolling: touch; @media (min-width: ${({breakpoint:e})=>nt.VS[e]}px) { transform: none; margin-left: 0; width: 100%; } `,ct=h.Ay.div.withConfig({displayName:"CrosswordEmbedInfoWrapper"})` display: none; `,mt=h.Ay.div.withConfig({displayName:"CrosswordEmbedInvisibleDivWrapper"})` position: absolute; left: 0; opacity: 0; width: 100%; height: 100vh; `,ut=h.Ay.iframe.withConfig({displayName:"CrosswordEmbedContentIframe"})` border: none; width: 100%; height: 520px; overflow: hidden; @media (min-width: ${({breakpoint:e})=>nt.VS[e]}px) { height: 730px; } @media print { display: inline; } `;dt.displayName="CrosswordEmbedWrapper",ct.displayName="CrosswordEmbedInfoWrapper",mt.displayName="CrosswordEmbedInvisibleDivWrapper",ut.displayName="CrosswordEmbedContentIframe";const pt=(0,w.defineMessages)({title:{id:"CrosswordEmbed.Title",defaultMessage:"Embedded Crossword",description:"Title for crossword embed",isConfigurable:!0},signInMessage:{id:"CrosswordEmbed.SignInMessage",defaultMessage:"To save your progress, sign in to your {portal} account.",description:"Sign in message",isConfigurable:!0}}),gt=(0,S.z5)("user"),ht=({className:e,hasUnsafeReferrer:t,signInMessage:n,title:o,url:i,user:r})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"CrosswordEmbed"})},[]);const{formatMessage:s}=(0,j.A)(),l=a.useRef(),[d,c]=a.useState(null),{large:m}=nt.th,[u,p]=a.useState(i),g=n||s(pt.signInMessage,{portal:"New Yorker",emTag:e=>`${e.join("")}`}),[h,y]=a.useState(!0),{isAuthenticated:b}=r;a.useEffect(()=>{b&&y(!1)},[b]),a.useEffect(()=>{const e=e=>{if((/(http(s?)):\/\/cdn3.amuselabs.com/.test(e.origin)||i.startsWith(e.origin))&&"string"==typeof e.data){const t=JSON.parse(e.data),{frameHeight:n,playId:o,gridOffset:i}=t;if(o){const e=`${window.location.protocol}//${window.location.host}${window.location.pathname}?playId=${o}`;window.history.replaceState({path:e},window.title,e)}n&&(l.current.style.height=`${n}px`),void 0!==i&&window.scrollTo(0,l.current.getBoundingClientRect().top+window.pageYOffset-70)}},t=window.location.search.substr(1).split("&").find(e=>e.startsWith("playId")),n=t&&t.split("=")[1];return c(i),r.amguuid&&(c(`${i}&uid=${r.amguuid}`),p(`${i}&uid=${r.amguuid}`)),n&&(c(`${i}&playId=${n}`),p(`${i}&playId=${n}`)),window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[i,r]);const f=a.useCallback(()=>{lt.Rf({closeButtonCallback:()=>{y(!1)},dangerousDek:g,redirectURL:document.location.href,type:"crosswords",analyticsType:"crossword"})},[g]);return a.createElement(dt,{"data-testid":"CrosswordEmbedWrapper",breakpoint:m,className:e},a.createElement(ct,{dangerouslySetInnerHTML:{__html:``},"data-testid":"CrosswordEmbedInfoWrapper"}),h&&a.createElement(mt,{"data-testid":"CrosswordEmbedInvisibleDivWrapper","aria-hidden":"true",onClick:f,onKeyPress:f}),a.createElement(ut,{"data-testid":"CrosswordEmbedContentIframe",breakpoint:m,ref:l,title:o||s(pt.title),src:d,...t&&{referrerPolicy:"unsafe-url"}}),a.createElement("div",{style:{display:"none"},dangerouslySetInnerHTML:{__html:`\x3c!-- #puzzles-and-games-url: ${decodeURIComponent(u)} --\x3e`}}))};ht.propTypes={className:i().string,hasUnsafeReferrer:i().bool,signInMessage:i().string,title:i().string,url:i().string.isRequired,user:i().object},ht.displayName="CrosswordEmbed";const yt=gt(ht),bt=(0,A.y)(yt,"CrosswordEmbed");var ft=n(52663),wt=n(86157);const $t=({className:e,event:t})=>{const{formatDateTimeRange:n}=(0,j.A)();a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"EventEmbed"})},[]);const o=(0,a.useMemo)(()=>{if(t.eventDetails)return t.eventDetails;let e=new Date(t.startDate),o=new Date(t.endDate);if(isFinite(e)&&!isFinite(o))o=e;else if(!isFinite(e)&&isFinite(o))e=o;else if(!isFinite(e)&&!isFinite(o))return"";return n(e,o,{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})},[t,n]);return a.createElement(ft.A.EventEmbed,{className:e,contentType:"event",copilotID:t.id,dangerousHed:t.dangerousHed,dangerousDek:t.dangerousDek,image:t.image,hasAsset:!!t.image,shouldHideEventDate:!1,eventDate:o,venueName:t.venue&&t.venue.name,rubric:{name:t.rubric},isCtaButtonClickable:!0,isDense:!0,primaryCta:t.ctaLink,primaryCTALabel:t.ctaLabel,url:t.url})};$t.propTypes={className:i().string,event:i().shape({id:i().string,dangerousHed:i().string,dangerousDek:i().string,startDate:i().string,endDate:i().string,eventDetails:i().string,rubric:i().string,image:i().shape(wt.A.propTypes),ctaLabel:i().string,ctaLink:i().string,url:i().string,venue:i().shape({name:i().string})}).isRequired};const vt=$t;var Ct=n(54370),kt=n(76573);const xt=(0,w.defineMessages)({facebookEmbedAriaLabelText:{id:"FacebookEmbed.AriaLabelText",defaultMessage:"social media post",description:"ARIA label for the facebook embed container on Facebook Embed"},consentBannerHeader:{id:"FacebookEmbed.ConsentBannerHeader",defaultMessage:"Facebook content",description:"Header for message banner"}}),Et=h.Ay.div.withConfig({displayName:"FacebookEmbedContainer"})` align-self: center; margin: ${(0,y.Kq)(5)} auto; max-width: fill-available; text-align: center; justify-self: center; `,At=h.Ay.div.withConfig({displayName:"FacebookPost"})` align-self: center; justify-self: center; margin: 0 auto; max-width: fill-available; @media (max-width: ${ee.LO.md}) { & > span, & > span > iframe { max-width: fill-available; } } `,{useContext:St,useEffect:Lt,useRef:Tt}=a,Nt=({attributes:e,className:t,url:n,hideText:o})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"FacebookEmbed"})},[]);const{formatMessage:i}=(0,j.A)(),r=St(u.c$),[s,l]=(0,p.A)(),d=Tt(),c=(0,kt.h2)(),m=r.targeting&&l;return Lt(()=>{m&&((e="en-US")=>{if(document.getElementById("facebook-embed"))window?.FB?.XFBML?.parse();else{const t=document.createElement("script");t.id="facebook-embed",t.className="facebook-embed";const n="zh-Hant-TW"===e?"zh_TW":e.replace("-","_");t.src=`https://connect.facebook.net/${n}/sdk.js#xfbml=1&version=v20.0`,document.body.appendChild(t)}})(c)},[c,m]),a.createElement(Et,{...e,className:t,"data-type":"facebook","aria-label":i(xt.facebookEmbedAriaLabelText),ref:(0,Ct.P)(d,s)},m?a.createElement(At,{className:"fb-post","data-href":n,"data-show-text":o?"false":"true"}):a.createElement(g.A,{hasConsent:r.targeting,url:n,consentBannerHeader:xt.consentBannerHeader}))};Nt.propTypes={attributes:i().object,className:i().string,hideText:i().bool,url:i().string.isRequired},Nt.displayName="FacebookEmbed";const Ht=Nt;var It=n(31581),Bt=n(1633);const Ot=(0,w.defineMessages)({consentBannerHeader:{id:"FireworkEmbed.ConsentBannerHeader",defaultMessage:"Firework content",description:"Header for message banner"}}),{useContext:_t,useEffect:Kt}=a,Pt=({channel:e,caption:t,className:n,url:o,hasDividerAbove:i=!0,hasDividerBelow:r=!0})=>{const s=_t(u.c$),[l,d]=(0,p.A)(),[c,m]=-1!==o.indexOf("|")?o.split("|"):[null,null],h=e??c??"voguemagazine",y=m??o,b=`https://fw.tv/iframe/embed-feed?channel=${h}&playlist=${y}`,f=s.targeting&&d;Kt(()=>{f&&((()=>{if(!document.getElementById("firework-tracking")){const e=document.createElement("script");e.id="firework-tracking",document.body.appendChild(e),["fw:video:impression","fw:video:start","fw:video:first-quartile","fw:video:midpoint","fw:video:third-quartile","fw:video:complete","fw:video:session","fw:video:click-cta","fw:video:click-share","fw:video:share","fw:player:quit","fw:shopping:hydrate-products","fw:shopping:cart-updated","fw:shopping:request-checkout","fw:shopping:product-clicked","fw:embed-feed:impression","fw:embed-feed:thumbnail-load","fw:embed-feed:thumbnail-click","fw:livestream:join","fw:livestream:quit","fw:livestream:send-chat","fw:livestream:send-heart","fw:player:transition"].forEach(e=>{document.addEventListener(e,t=>{window.dataLayer.push({event:e,detail:t.detail||{}})},!1)})}})(),(()=>{if(!document.getElementById("firework-embed")){const e=document.createElement("script");e.id="firework-embed",e.src="https://asset.fwcdn3.com/js/embed-feed.js",e.async=!0,document.body.appendChild(e)}document.querySelectorAll(".grid-layout__content").forEach(e=>{""===e.style.width&&(e.style.width="inherit")})})())},[f]);const w=t.replace(/<[^>]*>/g,"").trim();return y?a.createElement(Bt.Os,{className:n,ref:l},w&&a.createElement(Bt.Hf,{dangerousHed:w,hasDividerAbove:i,hasDividerBelow:r,textAlign:"center",hedTag:"div","data-testid":"section-title"}),f?a.createElement(Bt._l,null,a.createElement("fw-embed-feed",{channel:h,playlist:y,mode:"row",open_in:"_modal",max_videos:"0",placement:"middle",player_placement:"bottom-right",pip:"false",player_minimize:"false",branding:"false"})):a.createElement(g.A,{hasConsent:s.targeting,url:b,consentBannerHeader:Ot.consentBannerHeader})):null};Pt.propTypes={caption:i().string,channel:i().string,className:i().string,hasDividerAbove:i().bool,hasDividerBelow:i().bool,url:i().string.isRequired},Pt.displayName="FireworkEmbed";const Dt=Pt,qt=(0,It.N)((0,A.y)(Dt,"FireworkEmbed"));var Mt=n(1123),Rt=n(38860),Ft=n(4178),Ut=n(41108),Vt=n(31243);const Gt=h.Ay.div.withConfig({displayName:"CalloutFeatureLargeWrapper"})` margin: 0; &&& { ${Ut.$m} { margin: 0 auto ${(0,y.Kq)(5)} auto; } } ${Rt.Gk} { margin: ${(0,y.Kq)(1,"px")} 0 0; } .body__grid-container & { ${Rt.Gk} { margin-right: ${(0,y.Kq)(3)}; margin-left: ${(0,y.Kq)(3)}; ${(0,y.H4)(ee.LO.md)} { margin-right: ${(0,y.Kq)(1)}; margin-left: ${(0,y.Kq)(1)}; } } ${Vt.zp} { margin-right: ${(0,y.Kq)(3)}; } figure:only-of-type ${Rt.Gk} { ${(0,Mt.aU)("margin")}; display: grid; grid-gap: 0 ${(0,y.Kq)(3)}; grid-template-columns: repeat(12, 1fr); max-width: ${ee.LO.xxl}; ${(0,y.L7)(ee.LO.md)} { margin-right: ${(0,y.Kq)(3)}; margin-left: ${(0,y.Kq)(3)}; } ${Rt.OZ}, ${Rt.eu} { grid-column: 1 / -1; ${(0,y.H4)(ee.LO.md)} { grid-column: 2 / -2; } } } } .asset-embed__responsive-asset { width: 100%; } .responsive-cartoon { &::before { display: inline-block; grid-column: 1/-1; border-width: 0 0 1px; border-style: solid; height: 0; content: ''; ${({theme:e})=>(0,y._o)(e,"border-color","colors.consumption.body.standard.divider")}; } &::after { ${({theme:e})=>(0,y._o)(e,"border-color","colors.consumption.body.standard.divider")}; display: inline-block; grid-column: 1/-1; border-width: 1px 0 0; border-style: solid; height: 0; content: ''; } } .responsive-cartoon__caption { ${(0,y.Gg)("typography.definitions.globalEditorial.context-secondary")} margin-top: 0; } ${(0,y.R9)("calloutFeatureLargeNested",!0,`\n display: flex;\n flex-direction: column;\n margin-bottom: ${(0,y.Kq)(1,"px")};\n\n @media (min-width: ${ee.LO.md}) {\n margin: 0;\n\n .asset-embed {\n margin: 0;\n padding: 0 0 0 ${(0,y.Kq)(1)};\n width: 50%;\n\n &:first-child {\n padding: 0 ${(0,y.Kq)(1)} 0 0;\n }\n }\n }\n `)} `,Wt=(0,h.Ay)(Ft.A).withConfig({displayName:"CalloutFeatureLargeContentPromoEmbed"})``,jt=({children:e,name:t})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"FeatureLargeCallout"})},[]);return a.createElement(Gt,{"data-testid":"feature-large-callout",calloutFeatureLargeNested:2===e.length},a.Children.map(e,e=>"gallery"===e.props.contentType?a.createElement(Wt,{...e.props}):"embedSize"in e.props&&"feature-large"===t?(e=>a.cloneElement(e,{embedSize:t}))(e):e))};jt.propTypes={children:i().node.isRequired,className:i().string,name:i().string};const zt=jt,Yt=h.Ay.div.withConfig({displayName:"FootNoteEmbedWrapper"})` ${({theme:e})=>(0,y._o)(e,"border-color","colors.consumption.lead.special.context-signature")}; ${({theme:e})=>(0,y._o)(e,"color","colors.consumption.lead.special.context-signature")}; margin: ${(0,y.Kq)(2)} 0; border-width: 1px; border-style: solid; padding: ${(0,y.Kq)(1)} ${(0,y.Kq)(2)} ${(0,y.Kq)(2)}; width: 100%; `,Xt=({children:e})=>(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"FootnoteEmbed"})},[]),a.createElement(Yt,null,e));Xt.propTypes={children:i().oneOfType([i().arrayOf(i().node),i().node]).isRequired};const Zt=Xt;var Jt=n(76997),Qt=n(58156),en=n.n(Qt),tn=n(89957);const nn=(0,w.defineMessages)({sectionTitle:{id:"RelatedList.SectionTitle",defaultMessage:"Related Stories",description:"Section title for list of related stories",isConfigurable:!0}}),on=h.Ay.div.withConfig({displayName:"RelatedListWrapper"})` display: flex; flex-direction: column; justify-content: center; `,an=(0,h.Ay)(J.vm).withConfig({displayName:"RelatedListHeading"})` border-top: ${(0,y.Kq)(.25,"px")} solid ${(0,y.HK)("colors.consumption.body.standard.display-texture")}; border-bottom: ${(0,y.Kq)(.25,"px")} solid ${(0,y.HK)("colors.consumption.body.standard.display-texture")}; padding: ${(0,y.Kq)(2)} 0; `;an.defaultProps={as:"div",typeIdentity:"typography.definitions.discovery.subhed-section-tertiary"};const rn=(0,h.Ay)(ft.A.SideBySideThirds).withConfig({displayName:"RelatedListSummaryItem"})` &.summary-item { grid-column-gap: ${(0,y.Kq)(3)}; grid-template-columns: 75px auto; align-items: flex-start; padding: ${(0,y.Kq)(2)} 0; .summary-item__hed { ${(0,y.Gg)("typography.definitions.discovery.hed-bulletin-primary")}; transition: color ${ee.L6.timingButtonDefault} ease; margin-top: 0; margin-bottom: ${(0,y.Kq)(1)}; } } .rubric.summary-item__rubric { ${(0,y.Gg)("typography.definitions.globalEditorial.context-primary")}; display: block; margin-bottom: ${(0,y.Kq)(1)}; color: ${(0,y.HK)("colors.discovery.body.white.heading")}; } &.summary-item--has-border { border-bottom: ${(0,y.Kq)(.125,"px")} solid ${(0,y.HK)("colors.consumption.body.standard.divider")}; } .summary-item__byline { margin-bottom: 0; } .summary-item__byline-authors { &.byline, &.byline__preamble, &.byline__name, &.byline__name-link, &.byline__social-link { ${(0,y.Gg)("typography.definitions.globalEditorial.accreditation-core")}; color: ${(0,y.HK)("colors.discovery.body.white.heading")}; } } .summary-item__content { .summary-item__hed-link { &:link, &:visited { text-decoration: none; color: ${(0,y.HK)("colors.consumption.body.standard.subhed")}; } &:active, &:focus, &:hover { text-decoration: underline; color: ${(0,y.HK)("colors.consumption.body.standard.subhed")}; } } } `,sn=h.Ay.div.withConfig({displayName:"RelatedListItems"})``,ln=h.Ay.div.withConfig({displayName:"RelatedListItem"})``,dn=({bylineVariation:e,className:t,children:n,heading:o,shouldLinkByline:i=!0,shouldHideRubric:r=!1,shouldHideBylines:s=!0})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"RelatedList"})},[]);const{formatMessage:l}=(0,j.A)(),d=e=>()=>{(0,$e.W8)("recirc-related_inline-click",{"gtm.elementUrl":e})};if((0,tn.ol)(".related-list",void 0,e=>{e&&(0,$e.zJ)("recirc-related_inline-impression")}),!n||!n.length)return null;const c=/^h[1-6]$/,m=/^div$/,u=/^heading-h[1-6]$/,p=n.find(e=>{const{type:t,props:{className:n}={}}=e;return"string"==typeof t&&(c.test(t)||m.test(t)&&u.test(n))}),g=p?en()(p,"props.children"):null,h=n.filter(e=>{const{type:t,props:{newClassName:n}={}}=e;return!c.test(t)&&!m.test(t)&&!u.test(n)});return a.createElement(on,{className:W()("related-list",t)},a.createElement(an,null,g||o||l(nn.sectionTitle)),a.createElement(sn,null,h.map((t,n)=>{const{authors:o,dangerousHed:l,image:c,rubric:m,url:u}=t.props;return a.createElement(ln,{key:n},a.createElement(rn,{bylineVariation:e,clickHandler:d(u),contentType:"article",contributors:{author:o},dangerousHed:l,hasRule:!1,hedTag:"div",image:c,maxHedLines:3,rubric:r?null:m,url:u,shouldHideBylines:s,shouldLinkByline:i}))})))};dn.propTypes={bylineVariation:i().string,children:i().oneOfType([i().func,i().node]),className:i().string,heading:i().string,shouldHideBylines:i().bool,shouldHideRubric:i().bool,shouldLinkByline:i().bool},dn.displayName="RelatedList";const cn=dn,mn=(0,A.y)(cn,"RelatedList");var un=n(54495),pn=n(20249),gn=n.n(pn);const hn=e=>!!(e.type&&"p"===e.type&&en()(e,"props.children.type")&&"a"===en()(e,"props.children.type")&&en()(e,"props.children.props.href")&&en()(e,"props.children.props.href").startsWith("https://")),yn=e=>{let t=!0;return!!Array.isArray(e)&&(((n=e[0]).type?n.type===a.Fragment:n===a.Fragment)?yn(e[0]?.props?.children):(e.forEach((e,n)=>{var o;0!==n||(o=e)&&["h1","h2","h3","h4","h5","h6"].includes(o.type)||hn(e)||(t=!1),0===n||hn(e)||(t=!1)}),t));var n},bn=(e,t)=>{const n={article:"hasArticleEmbed","asset-embed":"hasAssetEmbed","blockquote-embed":"hasBlockquoteEmbed",cartoon:"isCartoon","external-link-embed":"hasExternalLinkEmbed","pullquote-embed":"hasPullquoteEmbed","related-list":"hasRelatedList","sidebar-embed":"hasSidebarEmbed","callout:sidebar":"hasSidebarEmbed","visual-story-single-card":"hasSingleCardEmbed"},o={hasArticleEmbed:!1,hasAssetEmbed:!1,hasBlockquoteEmbed:!1,hasCartoon:!1,hasExternalLinkEmbed:!1,hasPullquoteEmbed:!1,hasRelatedList:!1,hasSidebarEmbed:!1,hasSingleCardEmbed:!1};let i,r;return a.Children.forEach(e,e=>{i=(e=>e?.type?.displayName?(e=>{const t=e.match(/\((\w+?)\)/);return t&&t[1]||e})(e.type.displayName):e?.type?.name?e.type.name:void 0)(e),void 0!==i&&(i=(e=>gn()(e.replace("ConfiguredComponent","")))(i),Object.hasOwnProperty.call(n,i)&&(r=n[i],o[r]=!0))}),t&&t.forEach(e=>{Object.hasOwnProperty.call(n,e)&&(r=n[e],o[r]=!0)}),o};var fn=n(9865),wn=n(29912),$n=n(22039);const vn=h.Ay.div.withConfig({displayName:"RelatedLinksContainerWrapper"})``,Cn=h.AH` width: 100%; ${Rt.Gk} { margin: ${(0,y.Kq)(1)} 0; } ${(0,y.H4)(ee.LO.md)} { margin-right: auto; margin-left: auto; width: 80%; } `,kn=h.AH` width: 100%; ${Rt.Gk} { margin: ${(0,y.Kq)(1)} 0; } .asset-embed__asset-container { margin-right: auto; margin-left: auto; ${({isSmallWide:e})=>e?"width: 100%;":`width: calc(50% + ${(0,y.Kq)(3)} * 1.5);`} } ${(0,y.H4)(ee.LO.lg)} { margin-right: auto; margin-left: auto; ${({isSmallWide:e})=>e?"":"width: 66.66%;"} .asset-embed__asset-container { width: 100%; } } `,xn=h.AH` width: 100%; &&& { margin: 0 auto ${(0,y.Kq)(5)} auto; } ${Rt.Gk} { margin: ${(0,y.Kq)(1)} ${(0,y.Kq)(3)}; } ${Vt.zp} { margin-right: ${(0,y.Kq)(3)}; } ${(0,y.H4)(ee.LO.md)} { ${Rt.Gk} { margin: ${(0,y.Kq)(1)}; } } ${(0,y.H4)(ee.LO.lg)} { margin-right: auto; margin-left: auto; width: 83.33%; ${Vt.zp} { margin-right: 0; } } ${({isMediumNarrow:e})=>e?`\n ${(0,y.H4)(ee.LO.md)} {\n margin-right: auto;\n margin-left: auto;\n width: 75%;\n }\n `:""} `,En=h.AH` float: none; margin: ${(0,y.Kq)(2)} ${(0,y.Kq)(5)} ${(0,y.Kq)(2)} 0; width: 100%; ${wn.q} & { ${Ut.$m} { margin: 0 auto; } } ${(0,y.H4)(ee.LO.md)} { float: left; margin: ${(0,y.Kq)(1)} ${(0,y.Kq)(2)} ${(0,y.Kq)(1)} 0; width: 37.5%; } ${(0,y.Xm)(ee.LO.lg,ee.LO.xl)} { min-width: 220px; } `,An=h.AH` ${(0,y.Gg)("typography.definitions.consumptionEditorial.description-feature")} ${({theme:e})=>(0,y._o)(e,"color","colors.consumption.body.standard.body")}; `,Sn=h.AH` ${(0,y.Gg)("typography.definitions.consumptionEditorial.citation")} ${({isInsetItemOnMobile:e})=>{let t=2,n=5,o=2,i="100%";return e&&(t=1,n=4,o=1,i="37.5%"),`\n margin: ${(0,y.Kq)(t)} ${(0,y.Kq)(n)} ${(0,y.Kq)(o)} 0;\n width: ${i};\n `}} border-width: 0 0 2px; ${$n.RA} { margin: 0; } border-style: solid; padding: ${(0,y.Kq)(2)} 0; ${({theme:e})=>(0,y._o)(e,"border-color","colors.consumption.body.standard.divider")}; ${({theme:e})=>(0,y._o)(e,"color","colors.consumption.body.standard.body")}; ${wn.q} & { ${Ut.$m} { margin: 0 auto; } h4 { line-height: 1.2; } h4, h5 { margin-top: ${(0,y.Kq)(2)}; margin-bottom: ${(0,y.Kq)(2)}; &:first-child { margin-top: 0; } &:last-child { margin-bottom: 0; } } } > *:first-child { margin-top: 0; margin-bottom: 0; } > *:nth-child(2):not(.content-card-embed.callout--group-item) { margin: ${(0,y.Kq)(2)} 0; } > *:last-child { margin-bottom: 0; } .blockquote-embed { margin: 0; border: none; padding: 0; width: 100%; + p { ${(0,y.Gg)("typography.definitions.globalEditorial.accreditation-core")} ${({theme:e})=>(0,y._o)(e,"color","colors.consumption.body.standard.body")}; margin: ${(0,y.Kq)(2)} 0 0; &::before { margin-right: ${(0,y.Kq)(1)}; content: '—'; } } .blockquote-embed__content { ${(0,y.Gg)("typography.definitions.consumptionEditorial.display-small")} ${({theme:e})=>(0,y._o)(e,"color","colors.consumption.body.standard.body")}; margin: 0; p { margin: 0; } } /* there are cases when insets have blockquote-embed as the first child without any inset title the blockquote-embed sets padding-top for it's content which is redundant in this case */ &:first-child .blockquote-embed__content { padding-top: 0; } } .external-link-embed.external-link-embed--inline, .external-link-embed.external-link-embed--large { margin: 0; border-top: none; width: 100%; &:first-child { padding-top: 0; } &:last-child { border-bottom: none; padding-bottom: 0; } } .external-link-embed.external-link-embed--large { .external-link-embed__image-link, .external-link-embed__text { grid-column: 1 / -1; } } ${({hasTopBorder:e})=>e?h.AH` border-top-width: 2px; border-style: solid; ${({theme:e})=>(0,y._o)(e,"border-top-color","colors.consumption.body.standard.divider")}; ${vn} h2:first-child, div[class*='heading-'] { margin-top: 0; } `:""} ${({hasExternalLinkEmbed:e,hasTopBorder:t})=>t&&e?h.AH` ${({theme:e})=>(0,y._o)(e,"border-top-color","colors.consumption.body.standard.divider")}; `:""} ${({hasSidebarEmbed:e,hasTopBorder:t})=>t&&e?"border-top: none;":""} ${({hasAssetEmbed:e,hasSidebarEmbed:t})=>e||t?"\n border-top: none;\n border-bottom: none;\n padding: 0;\n ":""} ${(0,y.H4)(ee.LO.md)} { margin: ${(0,y.Kq)(1)} ${(0,y.Kq)(4)} ${(0,y.Kq)(1)} 0; width: 37.5%; } ${(0,y.H4)(ee.LO.lg,ee.LO.xl)} { min-width: 220px; } `,Ln=e=>`\n float: ${e};\n margin-${"left"===e?"right":"left"}: ${(0,y.Kq)(4)};\n`,Tn=e=>({isInsetItemOnMobile:t})=>t?Ln(e):`\n ${(0,y.H4)(ee.LO.md)} {\n ${Ln(e)}\n }\n `,Nn=Tn("left"),Hn=Tn("right"),In=`\n border: 0;\n padding: 0;\n\n ${(0,y.H4)(ee.LO.md)}{\n min-width: 270px;\n }\n`,Bn=`\n margin: 0;\n width: 100%;\n\n ${(0,y.H4)(ee.LO.md)} {\n width: 100%;\n }\n\n ${(0,y.H4)(ee.LO.lg)} {\n width: 100%;\n }\n`,On=h.AH` border-width: 4px 0 0; border-style: solid; ${({theme:e})=>(0,y._o)(e,"border-color","colors.consumption.body.standard.display-texture")}; `,_n=h.AH` ${fn.qd} { margin-block: 0; } `,Kn=`\n ${(0,y.H4)(ee.LO.md)} {\n min-width: 220px;\n }\n ${$n.qV} {\n padding-bottom: ${(0,y.Kq)(2)};\n }\n`,Pn=h.AH` ${Ce} { border: 0; padding: 0; a { text-decoration: none; } p { line-height: 23.9999px; } } `,Dn=h.AH` { border: 0; } `,qn=h.AH` border-top-width: ${({borderTopWidth:e})=>e}px; `,Mn=`\n && {\n ${Ut.$m} {\n margin: 0px auto ${(0,y.Kq)(5)} auto;\n }\n }\n`,Rn=h.Ay.div.withConfig({displayName:"GenericCalloutWrapper"})` .responsive-cartoon { &::before { ${({theme:e})=>(0,y._o)(e,"border-color","colors.consumption.body.standard.divider")}; display: inline-block; grid-column: 1/-1; border-width: 0 0 1px; border-style: solid; height: 0; content: ''; } &::after { ${({theme:e})=>(0,y._o)(e,"border-top-color","colors.consumption.body.standard.divider")}; display: inline-block; grid-column: 1/-1; border-width: 1px 0 0; border-style: solid; height: 0; content: ''; } } .responsive-cartoon__caption { ${(0,y.Gg)("typography.definitions.globalEditorial.context-secondary")} margin-top: 0; } ${({hasTopBorder:e})=>e&&Mn} ${({isFeatureXSmall:e})=>e?Cn:""} ${({isFeatureSmall:e})=>e?kn:""} ${({isFeatureMedium:e})=>e?xn:""} ${({hasEmbedSizes:e})=>e?Bn:""} ${({isPortraitJustified:e})=>e?En:""} ${({isInsetLeft:e,isInsetRight:t})=>e||t?Sn:""} ${({isInsetLeft:e})=>e?Nn:""} ${({isInsetRight:e})=>e?Hn:""} ${({isIntro:e})=>e?An:""} ${({isRelatedList:e})=>e?In:""} ${({hasBlockquoteEmbed:e,hasPullquoteEmbed:t,hasTopBorder:n})=>(e||t)&&n?On:""} ${({hasPullquoteEmbed:e,hasTopBorder:t})=>e&&!t?_n:""} ${({hasSidebarEmbed:e})=>e?Kn:""} ${({hasCartoon:e})=>e?"\n @media print {\n display: none;\n }\n":""} ${({hasExternalLinkEmbed:e})=>e?Pn:""} ${({borderTopWidth:e})=>e>0?qn:""} ${({hasSingleCardEmbed:e})=>e?Dn:""} `,Fn=({children:e})=>{const t=e=>()=>{const t=!!e?{"gtm.elementUrl":e}:{};(0,$e.W8)("recirc-related_inline-click",t)};return(0,tn.ol)(".related-links-list",void 0,e=>{e&&(0,$e.zJ)("recirc-related_inline-impression")}),a.createElement(vn,{"data-testid":"related-links-list",className:"related-links-list"},a.Children.map(e,e=>{const n=en()(e,"props.children.props.href","");return a.cloneElement(e,{onClick:t(n)})}))};Fn.propTypes={children:i().oneOfType([i().node,i().arrayOf(i().node)])},Fn.displayName="RelatedLinksContainer";const Un=Fn,Vn=e=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"GenericCallout"})},[]);const{className:t,children:n,childTypes:o,isEmbedSizeEnabled:i,name:r,hideSideBySide:s,smallWidth:l,mediumWidth:d,hasTopBorder:c=!0,isInsetItemOnMobile:m=!1,topBorderPixelWidth:u=0}=e,p=(e=>({isFeatureXSmall:"feature-xsmall"===e,isFeatureSmall:"feature-small"===e,isFeatureMedium:"feature-medium"===e,isPortraitJustified:"portrait-justified"===e,isIntro:"intro"===e,isInsetLeft:"inset-left"===e||"inset-image-left"===e,isInsetRight:"inset-right"===e}))(r);if(((e=[])=>Array.isArray(e)&&e.filter(e=>"article"===e).length>1)(o))return a.createElement(Rn,{...p,className:W()("callout",t),isRelatedList:!0},a.createElement(mn,{...e}));let g=0;c&&u>0&&!((e,t=[])=>e?.startsWith("inset-")&&1===t?.length&&"callout:sidebar"===t?.[0])(r,o)&&(g=u);const{enhancedChildren:h}=(0,un.n)(n);let y=h;if(r.startsWith("feature-")&&i||s){const e={};r.startsWith("feature-")&&i&&(e.embedSize=r),s&&(e.showSideBySide=!1,e.showHr=!1),y=a.Children.map(h,t=>a.cloneElement(t,e))}const b=Boolean("wide"===l&&p.isFeatureSmall),f=Boolean("narrow"===d&&p.isFeatureMedium),w=Boolean(i&&r),$=Array.isArray(h)&&yn(h),v=bn(h,o),C=[];return c&&C.push("callout--has-top-border"),a.createElement(Rn,{...p,...v,borderTopWidth:g,hasTopBorder:c,hasEmbedSizes:w,isSmallWide:b,isMediumNarrow:f,className:W()(C,t),"data-testid":"GenericCallout",isInsetItemOnMobile:m},$&&a.createElement(Un,null,h),!$&&y)};Vn.propTypes={children:i().node.isRequired,childTypes:i().array,className:i().string,hasTopBorder:i().bool,hideSideBySide:i().bool,isEmbedSizeEnabled:i().bool,isInsetItemOnMobile:i().bool,mediumWidth:i().oneOf(["narrow"]),name:i().oneOf(["feature-small","feature-medium","feature-xsmall","portrait-justified","intro","inset-left","inset-right"]).isRequired,smallWidth:i().oneOf(["wide"]),topBorderPixelWidth:i().number},Vn.displayName="GenericCallout";const Gn=Vn,Wn=(0,A.y)(Gn,"GenericCallout");var jn=n(84886),zn=n(15531),Yn=n(72362);const Xn=(0,w.defineMessages)({consentBannerHeader:{id:"InstagramEmbed.ConsentBannerHeader",defaultMessage:"Instagram content",description:"Header for message banner"}}),Zn=h.Ay.div.withConfig({displayName:"InstagramEmbedContainer"})` display: flex; align-self: auto; justify-content: center; margin: ${(0,y.Kq)(3)} auto; justify-self: auto; `,Jn=h.Ay.blockquote.withConfig({displayName:"InstagramEmbedBlockQuote"})` width: 100%; `,{useContext:Qn,useEffect:eo,useRef:to,useState:no}=a,oo=({attributes:e,className:t,hidePostCaption:n,url:o})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"InstagramEmbed"})},[]);const i=to(),[r,s]=(0,p.A)(),[l]=no((0,Yn.ox)()),d=Qn(u.c$),c=d.targeting&&s,m=e=>{const t=e.target;t?.addEventListener("load",()=>{t.style.minWidth=`${t.offsetWidth+1}px`})};return eo(()=>{c&&(()=>{if(document.getElementById("instagram-embed"))window?.instgrm?.Embeds?.process();else{const e=document.createElement("script");e.id="instagram-embed",e.className="instagram-embed",e.src="https://www.instagram.com/embed.js",document.body.appendChild(e)}})();const e=i.current;return l&&e.addEventListener("DOMNodeInserted",e=>m(e)),()=>{l&&e.removeEventListener("DOMNodeInserted",e=>m(e))}},[l,i,c]),a.createElement(Zn,{ref:(0,Ct.P)(i,r)},c?a.createElement(Jn,{...e,className:W()("instagram-media",t),"data-instgrm-captioned":!n||void 0,"data-instgrm-permalink":o,"data-instgrm-version":"14"}):a.createElement(g.A,{hasConsent:d.targeting,url:o,consentBannerHeader:Xn.consentBannerHeader}))};oo.propTypes={attributes:i().object,className:i().string,hidePostCaption:i().bool,url:i().string.isRequired};const io=oo;var ao=n(88835);const ro=(0,w.defineMessages)({poweredBy:{id:"JustWatchEmbed.PoweredBy",defaultMessage:"Powered by",description:"Text for sponser name prefix"}}),so=h.Ay.div.withConfig({displayName:"JustWatchEmbedWrapper"})` margin: ${(0,y.Kq)(5,"px")} 0; `,lo=h.Ay.div.withConfig({displayName:"JustWatchEmbedWidgetWrapper"})``,co=(0,h.Ay)(J.sH).withConfig({displayName:"JustWatchEmbedLogoLink"})` color: #000000; font-family: sans-serif; font-size: 11px; `,mo=h.Ay.span.withConfig({displayName:"JustWatchEmbedLogoText"})` display: inline-block; margin-left: 3px; background: url('https://widget.justwatch.com/assets/JW_logo_black_10px.svg'); width: 66px; height: 10px; overflow: hidden; text-indent: -3000px; `,uo=({apiKey:e,className:t,url:n})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"JustWatchEmbed"})},[]);const{formatMessage:o}=(0,j.A)(),{hostname:i,pathname:r}=ao.parse(n);return"www.justwatch.com"!==i?null:a.createElement(so,{"data-testid":"JustWatchEmbedWrapper",className:t},a.createElement(lo,{"data-jw-widget":!0,"data-append-iframe":!0,"data-api-key":e,"data-url-path":r,"data-scale":.8,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:""}}),a.createElement(co,{target:"_blank","aria-label":"Opens in a new window",rel:"noopener noreferrer",href:"https://www.justwatch.com"},o(ro.poweredBy),a.createElement(mo,null,"JustWatch")))};uo.propTypes={apiKey:i().string,className:i().string,url:i().string.isRequired};const po=uo;var go=n(20388);const ho=h.Ay.figure.withConfig({displayName:"PymInteractiveIframeEmbedWrapper"})` margin: ${(0,y.Kq)(5,"px")} auto; height: 100%; text-align: center; `,yo=h.Ay.div.withConfig({displayName:"PymInteractiveIframeEmbedContainer"})` width: 100%; height: 100%; `,bo=h.Ay.iframe.withConfig({displayName:"PymInteractiveIframEmbedContent"})` border: 0; width: 100%; max-width: 100%; height: 100%; `,fo=(0,h.Ay)(go.A).withConfig({displayName:"PymInteractiveIframEmbedCaption"})` ${({theme:e,typeIdentity:t})=>(0,y.Gg)(e,t)} ${({theme:e,colorToken:t})=>(0,y._o)(e,"color",t)}; `;fo.defaultProps={colorToken:"colors.consumption.body.standard.body",typeIdentity:"typography.definitions.globalEditorial.context-secondary"};const wo=({className:e,caption:t,offsetHeight:n=0,title:o="Interactive Iframe Embed",url:i})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"PymInteractiveIframeEmbed"})},[]);const r=a.useRef(),s=a.useRef(),l=({source:e,origin:t,data:o})=>{const{type:i,height:a}=o;let l;s.current&&r.current&&r.current.src.startsWith(t)&&r.current.contentWindow===e&&("string"==typeof o&&-1!==o.indexOf("apym")?l=o.replace("apym",""):"embed-size"===i&&(l=a),l&&(s.current.style.height=`${Number(l)+n}px`))};return a.useEffect(()=>(window.addEventListener("message",l),()=>{window.removeEventListener("message",l)})),a.createElement(ho,{"data-testid":"PymInteractiveIframeEmbedWrapper",className:e,ref:s},a.createElement(yo,null,a.createElement(bo,{title:o,src:i,ref:r,scrolling:"no"}),t&&a.createElement(fo,{dangerousCaptionText:t})))};wo.propTypes={caption:i().string,className:i().string,offsetHeight:i().number,title:i().string,url:i().string.isRequired},wo.displayName="PymInteractiveIframeEmbed";const $o=wo,vo=(0,A.y)($o,"PymInteractiveIframeEmbed"),Co=h.Ay.div.withConfig({displayName:"PinterestContainer"})` align-self: center; margin: ${(0,y.Kq)(5)} auto; text-align: center; justify-self: center; `,ko=(0,h.Ay)(J.sH).withConfig({displayName:"PinterestLink"})` overflow-wrap: break-word; `;ko.defaultProps={colorSecondaryLinkToken:"colors.interactive.base.light",colorStaticLinkToken:"colors.interactive.base.light",hasUnderline:!0};const xo=(0,w.defineMessages)({pinterestEmbedAriaLabelText:{id:"PinterestEmbed.AriaLabelText",defaultMessage:"social media post",description:"ARIA label for the pinterest embed container on Pinterest Embed"},consentBannerHeader:{id:"PinterestEmbed.ConsentBannerHeader",defaultMessage:"Pinterest content",description:"Header for message banner"}}),{useContext:Eo,useEffect:Ao}=a,So=({attributes:e,className:t,url:n})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"PinterestEmbed"})},[]);const o=Eo(u.c$),[i,r]=(0,p.A)(),{formatMessage:s}=(0,j.A)(),l=(0,kt.h2)(),d=o.targeting&&r;return Ao(()=>{d&&(()=>{if(document.getElementById("pinterest-embed"))window.PinUtils&&window.PinUtils.build();else{const e=document.createElement("script");e.id="pinterest-embed",e.className="pinterest-embed",e.src="https://assets.pinterest.com/js/pinit.js",document.body.appendChild(e)}})()},[d]),a.createElement(Co,{...e,className:t,"aria-label":s(xo.pinterestEmbedAriaLabelText),ref:i},d?a.createElement(ko,{href:n,"data-pin-do":"embedPin","data-pin-width":"large","data-pin-lang":l.split("-")[0]},n):a.createElement(g.A,{hasConsent:o.targeting,url:n,consentBannerHeader:xo.consentBannerHeader}))};So.propTypes={attributes:i().object,className:i().string,url:i().string.isRequired},So.displayName="PinterestEmbed";const Lo=So;var To=n(75871),No=n(1899),Ho=n(8967),Io=n(85559),Bo=n(11080);const Oo=h.Ay.div.withConfig({displayName:"ReviewEmbedWrapper"})` @media (min-width: ${ee.LO.md}) { margin: ${(0,y.Kq)(5)} 0; } `,_o=(0,h.Ay)(Re).withConfig({displayName:"ReviewEmbedContentCard"})` margin: ${(0,y.Kq)(5)} 0 ${(0,y.Kq)(4)}; `,Ko=h.Ay.hr.withConfig({displayName:"ReviewEmbedHr"})` display: block; border: 0; padding: 0; height: 1px; `,Po=({artistName:e="",buttonTextContent:t="",contributors:n,className:o,dangerousDek:i,dangerousHed:r,hasWhiteBg:s=!1,image:l,showArtist:d=!1,showButton:c=!1,showByline:m=!0,showHr:u=!0,showSideBySide:p=!0,url:g})=>(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"ReviewEmbed"})},[]),a.createElement(Oo,{className:o,"data-testid":"review-embed-wrapper"},u&&a.createElement(Ko,{"data-testid":"review-embed-hr"}),a.createElement(_o,{"data-testid":"review-embed-content-card",artistName:d?e:"",buttonTextContent:t,contributors:n,dangerousDek:i,dangerousHed:r,image:l,url:g,showButton:c,showByline:m,hasWhiteBg:s,showSideBySide:p}),u&&a.createElement(Ko,{"data-testid":"review-embed-hr"})));Po.propTypes={artistName:i().string,buttonTextContent:i().string,className:i().string,contributors:i().shape(Z.A.propTypes.contributors),dangerousDek:i().string,dangerousHed:i().string,hasWhiteBg:i().bool,image:i().shape(X.A.propTypes),showArtist:i().bool,showButton:i().bool,showByline:i().bool,showHr:i().bool,showSideBySide:i().bool,url:i().string};const Do=Po,qo=({className:e,children:t,hasDropcap:n})=>(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"SectionEmbed"})},[]),a.createElement("section",{className:W()("section-embed",{"section-embed--with-dropcap":n},e)},t));qo.propTypes={children:i().node.isRequired,className:i().string,hasDropcap:i().bool};const Mo=qo,Ro=h.Ay.div.withConfig({displayName:"TwitterEmbedContainer"})` margin: ${(0,y.Kq)(5)} auto; .twitter-tweet { margin-right: auto; margin-left: auto; } `,Fo=h.Ay.blockquote.withConfig({displayName:"TwitterEmbedBlockquote"})``,Uo=h.Ay.a.withConfig({displayName:"TwitterEmbedLink"})` overflow-wrap: break-word; `,Vo=(0,w.defineMessages)({twitterEmbedMessage:{id:"TwitterEmbed.EmbedContainer",defaultMessage:"social media post",description:"ARIA label for XEmbedContainer"},consentBannerHeader:{id:"TwitterEmbed.ConsentBannerHeader",defaultMessage:"X content",description:"Header for message banner"}}),{useContext:Go,useEffect:Wo}=a,jo=({attributes:e,className:t,url:n,shouldHideMedia:o,shouldHideThread:i})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"TwitterEmbed"})},[]);const r=Go(u.c$),[s,l]=(0,p.A)(),{formatMessage:d}=(0,j.A)(),c=(0,kt.h2)(),m=r.targeting&&l;Wo(()=>{m&&(()=>{if(document.getElementById("twitter-embed"))window?.twttr?.widgets?.load();else{const e=document.createElement("script");e.id="twitter-embed",e.className="twitter-embed",e.src="https://platform.twitter.com/widgets.js",document.body.appendChild(e)}})()},[m]);return a.createElement(Ro,{"aria-label":d(Vo.twitterEmbedMessage),className:t,ref:s},m?a.createElement(Fo,{...e,...(()=>{const e={"data-lang":"zh-Hant-TW"===c?"zh-tw":c,"data-url":n,"data-type":"twitter"};return o&&(e["data-cards"]="hidden"),i&&(e["data-conversation"]="none"),e})(),className:"twitter-tweet"},a.createElement(Uo,{href:n},n)):a.createElement(g.A,{hasConsent:r.targeting,url:n,consentBannerHeader:Vo.consentBannerHeader}))};jo.propTypes={attributes:i().object,className:i().string,shouldHideMedia:i().bool,shouldHideThread:i().bool,url:i().string.isRequired};const zo=jo,Yo=e=>()=>{(0,$e.W8)("recirc-related_inline-click",{"gtm.elementUrl":e})},Xo=e=>{const[t,n]=(0,ye.Wx)({rootMargin:"500px"}),[o,i]=a.useState(!1);a.useEffect(()=>{n&&!o&&((0,$e.zJ)("recirc-most_popular-impression"),i(!0))},[n,o]);const{bylineVariation:r,contributors:s,dangerousHed:l,image:d,rubric:c,shouldLinkByline:m,url:u}=e;return a.createElement(ln,{ref:t,"data-testid":"SidebarArticleRelatedListItem"},a.createElement(rn,{bylineVariation:r,clickHandler:Yo(u),contentType:"article",contributors:s,dangerousHed:l,hasRule:!1,hedTag:"div",image:d,maxHedLines:3,rubric:c,shouldLinkByline:m,url:u}))};Xo.propTypes={bylineVariation:i().string,contributors:i().shape(Z.A.propTypes.contributors),dangerousHed:i().string,image:i().shape(X.A.propTypes),rubric:i().shape({url:i().string,name:i().string}),shouldLinkByline:i().bool,url:i().string},Xo.displayName="SidebarArticle";const Zo=(0,A.y)(Xo,"SidebarArticle");var Jo=n(35103);const Qo=h.Ay.div.withConfig({displayName:"Sidebar"})` border-bottom: 1px solid ${({theme:e})=>(0,y.HK)(e,"colors.consumption.body.standard.divider")}; ${({hasBorderBottom:e,theme:t})=>e&&`\n border-bottom: ${(0,y.Pp)(t,"sectionOrnamentWidth")} solid ${(0,y.HK)(t,"colors.consumption.body.standard.display-texture")};\n `} > :first-child:not([aria-level='2']) { border-width: ${({theme:e})=>(0,y.Pp)(e,"sectionOrnamentWidth")} 0 0; border-style: solid; border-color: ${({theme:e})=>(0,y.HK)(e,"colors.consumption.body.standard.display-texture")}; padding-top: ${(0,y.Kq)(2)}; } > .asset-embed:first-child { border-top: none; padding-top: 0; } > :last-child { border-bottom: none; > :last-child { border-bottom: none; } } .product-embed, .gallery-embed { margin: 0; } @media (min-width: ${ee.LO.lg}) { div.external-link-embed.external-link-embed--inline { float: none; } } span.pullquote-embed__content { display: block; } ${We}:last-child, div.external-link-embed.external-link-embed--inline:last-child, span.pullquote-embed__content:last-child, ${Jo.On}:last-child, ${Jo.On} + p:last-child { padding-bottom: ${(0,y.Kq)(2)}; } @media (min-width: ${ee.LO.md}) { ${({hasUnifiedProductCard:e})=>!e&&"\n && {\n p:first-of-type:not(:first-child) {\n margin-top: revert;\n }\n }\n "} } `,ei=({attributes:e,children:t,className:n,hasBorderBottom:o})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"SidebarEmbed"})},[]);const i=W()(n),{enhancedChildren:r,hasUnifiedProductCard:s}=(0,un.n)(t);return a.createElement(Qo,{as:"aside",...e,className:i,"data-testid":"SidebarEmbed",hasBorderBottom:o,hasUnifiedProductCard:s},r)};ei.propTypes={attributes:i().object,children:i().oneOfType([i().arrayOf(i().node),i().node]).isRequired,className:i().string,hasBorderBottom:i().bool},ei.displayName="SidebarEmbed";const ti=(0,A.y)(ei,"SidebarEmbed");var ni=n(36382),oi=n(64964),ii=n(67611),ai=n(34520),ri=n(72662);const si=h.Ay.div.withConfig({displayName:"ShoppableAssetEmbedIconWrapper"})` display: none; position: absolute; bottom: ${(0,y.Kq)(2)}; left: ${(0,y.Kq)(2)}; transition: max-width 0.32s ease; border: ${(0,y.Kq)(.2)} solid ${({theme:e})=>(0,y.HK)(e,"colors.consumption.lead.standard.divider")}; border-radius: ${(0,y.Kq)(6)}; background-color: ${({theme:e})=>(0,y.HK)(e,"colors.background.white")}; min-width: ${(0,y.Kq)(5)}; max-width: 0%; height: ${(0,y.Kq)(5)}; overflow: hidden; white-space: nowrap; ${({showIcon:e})=>e&&"display: block"}; @media (min-width: ${ee.LO.md}) { bottom: ${(0,y.Kq)(3)}; left: ${(0,y.Kq)(3)}; } `,li=(0,h.Ay)("span").withConfig({displayName:"ShoppableAssetEmbedIcon"})` svg { position: absolute; bottom: ${(0,y.Kq)(1)}; left: ${(0,y.Kq)(.8)}; } `,di=(0,h.Ay)(J.vm).withConfig({displayName:"ShoppableAssetEmbedIconHoverText"})` transition: max-width 0.32s ease; padding-right: ${(0,y.Kq)(2.6)}; padding-left: ${(0,y.Kq)(5.8)}; max-width: 0; `;di.defaultProps={as:"span",colorToken:"colors.consumption.body.special.link",typeIdentity:"typography.definitions.utility.button-utility"};const ci=(0,h.Ay)(J.c7).withConfig({displayName:"ShoppableAssetEmbedContainer"})` display: inline-block; position: relative; &:hover { cursor: pointer; @media (min-width: ${ee.LO.md}) { ${di}, ${si} { max-width: 100%; } } } `,mi=(0,h.Ay)(ai.A.Bottom).withConfig({displayName:"ShoppableAssetEmbedContainer"})` && { padding: 0 ${(0,y.Kq)(8)}; @media (max-width: ${ee.LO.md}) { padding: 0 ${(0,y.Kq)(3)}; } } ${ri.oX} { @media only screen and (max-width: 767px) { width: 48%; } @media only screen and (min-width: 768px) and (max-width: 1024px) { width: 17.5%; } @media only screen and (min-width: 1025px) { width: 12.5%; } } `,ui=(0,w.defineMessages)({shoppingIconHoverText:{id:"ShoppableAssetEmbed.shoppingIconHoverText",defaultMessage:"Shop the look",description:"ShoppableAssetEmbed component shopping icon on hover text"}});var pi=n(68397),gi=n(55659);const hi=({attributes:e,className:t,dangerousCaption:n,dangerousCredit:o,image:i,shoppableItems:r=[],contentAlign:s})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"ShoppableAssetEmbed"})},[]);const{formatMessage:l}=(0,j.A)(),[d,c]=a.useState(!1),[m,u]=a.useState(!1),p=(0,gi.$B)()?r.length>2:r.length>5;if(!i)return null;const g=n||o,h=()=>{d&&u(!m)};return a.createElement(Ut.$m,{...e,isAlignedLeft:"left"===s,isAlignedRight:"right"===s,className:t},a.createElement(ci,{onClick:h},a.createElement(Ut.oc,{...i,isLazy:!0,onAssetLoaded:()=>c(!0)}),a.createElement(si,{showIcon:d},a.createElement(li,null,a.createElement(oi.A,null)),a.createElement(di,null,l(ui.shoppingIconHoverText)))),a.createElement(mi,{isOpen:m,onClose:h,showCloseButton:!0},a.createElement(pi.A,{headerProps:{dangerousHed:l(ui.shoppingIconHoverText),sectionTitleVariation:"TextLeft"},carouselSettings:{showControls:p,scrollType:"one-by-one"}},r.map((e,t)=>a.createElement(pi.A.CarouselItem,{key:t},a.createElement(ii.A,{...e,isProductCardName:!0,hasUnderlineHed:!1}))))),g&&a.createElement(Ut.kW,{dangerousCaptionText:n,dangerousCredit:o}))};hi.propTypes={attributes:i().object,className:i().string,contentAlign:i().oneOf(["left","right"]),dangerousCaption:i().string,dangerousCredit:i().string,image:i().shape(X.A.propTypes),shoppableItems:i().array},hi.displayName="ShoppableAssetEmbed";const yi=hi,bi=(0,w.defineMessages)({contentsListTitle:{id:"ContentsList.contentsListTitle",defaultMessage:"Table of Contents",description:"Heading for contents list",isConfigurable:!0}});var fi=n(84050),wi=n(87241),$i=n(50531);const vi=h.Ay.div.withConfig({displayName:"ContentsListWrapper"})` margin: auto; margin-bottom: ${(0,y.Kq)(4)}; width: 100%; ${(0,y.L7)(ee.LO.md)} { margin-bottom: ${(0,y.Kq)(4)}; border-bottom: 1px solid ${(0,y.HK)("colors.discovery.body.white.divider")}; } a:not(.button):link, a:not(.button):visited { text-decoration: none; &:focus { text-decoration: underline; } } `,Ci=h.Ay.a.withConfig({displayName:"ContentsWrapper"})` display: inline-block; transition: opacity 0.3s linear, all 0.3s linear; visibility: ${e=>e.visible?"visible":"hidden"}; opacity: ${e=>e.visible?1:0}; border-bottom: 1px solid; cursor: pointer; width: 100%; text-decoration: none; ${(0,y.L7)(ee.LO.md)} { &:last-child { border: none; padding-bottom: ${(0,y.Kq)(4)}; } } ${({isFeatured:e,theme:t})=>e&&`\n border-bottom: 1px solid ${(0,y.HK)(t,"colors.discovery.body.white.divider")};;\n `}; `,ki=h.Ay.div.withConfig({displayName:"ContentsListItems"})` transform: scaleY(0); transform-origin: top; transition: transform 0.5s ease; &.contents-list-items--is-visible { transform: scaleY(1); overflow: hidden; } &.contents-list-items--is-not-visible { && { max-height: 0; } } `,xi=h.Ay.div.withConfig({displayName:"ContentsListHeading"})` ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid; cursor: pointer; padding: ${(0,y.Kq)(1.5)} 0; ${(0,y.L7)(ee.LO.md)} { margin: 0; border-bottom: 0 solid; padding: ${(0,y.Kq)(1.5)} 0; ${e=>e.visible&&`padding-bottom: ${(0,y.Kq)(4)};\n `}; } ${e=>e.visible&&`border-bottom: ${(0,y.Kq)(0)}; \n padding-bottom: ${(0,y.Kq)(4)};\n `}; user-select: none; ${({isFeatured:e,theme:t})=>e&&` \n border-bottom: 1px solid\n ${(0,y.HK)(t,"colors.discovery.body.white.divider")};\n text-transform: uppercase;\n line-height: 22px;\n letter-spacing: 1.8px;\n font-size: 12px;\n font-weight: 600;\n `}; `,Ei=h.Ay.div.withConfig({displayName:"ContentsListRubric"})` ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.globalEditorial.context-primary")}; margin-top: ${(0,y.Kq)(2)}; margin-bottom: ${(0,y.Kq)(.5)}; ${({isFeatured:e})=>e&&"\n font-weight: 600;\n letter-spacing: 1.8px;\n "}; `,Ai=h.Ay.div.withConfig({displayName:"ContentsListHed"})` ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.discovery.hed-core-primary")}; margin-bottom: ${(0,y.Kq)(.5)}; ${({isFeatured:e,theme:t})=>e&&`\n ${(0,y.Gg)(t,"typography.definitions.discovery.page-hed-section")}\n line-height: ${(0,y.Kq)(4)};\n letter-spacing: 0;\n font-size: 22px;\n font-weight: 300;\n ${(0,y.H4)(ee.LO.md)} {\n line-height: ${(0,y.Kq)(4)};\n font-size: 22px;\n }\n `}; `,Si=h.Ay.div.withConfig({displayName:"ContentsListDek"})` ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; margin-bottom: ${(0,y.Kq)(2)}; ${e=>e&&"\n line-height: 18px;\n font-size: 14px;\n font-weight: 550;\n "}; `,Li=(0,h.Ay)(Q.A.Utility).withConfig({displayName:"ButtonUtility"})` ${({theme:e})=>(0,y.HK)(e,"colors.interactive.base.black")}; margin-right: 8px; border: 0; background-color: transparent; cursor: pointer; padding: 0; width: 16px; min-width: 16px; height: 2px; ${$i.a2} { transform: scale(0.5); stroke: black; stroke-width: 2; } &:hover, &:focus { border-width: 0; background-color: transparent; } `,Ti=e=>{(0,$e.W8)(e)},Ni=({className:e,items:t=[],contentsListTitle:n="Table of contents",onClickHandler:o,theme:i})=>{const[r,s]=(0,a.useState)(!1),l="featured"===i;window.dataLayer&&window.dataLayer.push({event:"table-of-content-events"});const d=t&&t.map(e=>{const{rubric:t,dangerousHed:n,dangerousDek:i,id:s,url:d}=e;return a.createElement(Ci,{"data-testid":"ContentWrapper",visible:r,key:s,href:d,isFeatured:l,onClick:()=>{var e;e=n,o&&o(),Ti(`table-of-contents-${e}`)}},t&&a.createElement(Ei,{"data-testid":"ContentsListRubric",isFeatured:l},t),n&&a.createElement(Ai,{"data-testid":"ContentListHed",isFeatured:l,dangerouslySetInnerHTML:{__html:n}}),i&&a.createElement(Si,{"data-testid":"ContentsListDek",isFeatured:l,dangerouslySetInnerHTML:{__html:i}}))}),{formatMessage:c}=(0,j.A)(),m=n||c(bi.contentsListTitle);return Array.isArray(t)&&t.length?a.createElement(vi,{"data-testid":"ContentsListWrapper"},a.createElement(xi,{"data-testid":"ContentsListHeading",isFeatured:l,visible:r,onClick:()=>{s(!r),Ti(r?"table-of-contents-collapse":"table-of-contents-expanded")}},m,a.createElement(Li,{role:"button",ButtonIcon:r?wi.A:fi.A,isIconButton:!0,label:"ExpandCollapseIcon"})),a.createElement(ki,{visible:r,className:W()({"contents-list-items--is-not-visible":!r},{"contents-list-items--is-visible":r},e)},d)):null};Ni.displayName="ContentsList",Ni.propTypes={className:i().string,contentsListTitle:i().string,items:i().arrayOf(i().shape({rubric:i().string.isRequired,dangerousHed:i().string.isRequired,dangerousDek:i().string})),onClickHandler:i().func,theme:i().string};const Hi=Ni,Ii=(0,A.y)(Hi,"ContentsList");var Bi=n(86357);const Oi=h.Ay.iframe.withConfig({displayName:"MastodonEmbedIframe"})` display: block; border: 0; border-radius: 8px; width: 600px; max-width: 100%; overflow: hidden; `,_i=h.Ay.div.withConfig({displayName:"MastodonEmbedContainer"})` margin: ${(0,y.Kq)(5)} auto; .mastodon-embed { margin-right: auto; margin-left: auto; } `,Ki=(0,w.defineMessages)({mastodonEmbedAriaLabelText:{id:"MastodonEmbed.AriaLabelText",defaultMessage:"social media post",description:"ARIA label for the mastodon embed container on Mastodon Embed"},consentBannerHeader:{id:"MastodonEmbed.ConsentBannerHeader",defaultMessage:"Mastodon content",description:"Header for message banner"}}),{useCallback:Pi,useContext:Di,useEffect:qi,useMemo:Mi,useRef:Ri,useState:Fi}=a,Ui=({attributes:e,className:t,url:n})=>{qi(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"MastodonEmbed"})},[]);const o=Mi(()=>n.endsWith("/")?`${n}embed`:`${n}/embed`,[n]),i=Di(u.c$),[r,s]=(0,p.A)(),{formatMessage:l}=(0,j.A)(),d=i.targeting&&s,[c,m]=Fi(200),h=Ri(),y=Pi(()=>{h.current&&h.current.contentWindow.postMessage({type:"setHeight",id:n},"*")},[n]);return qi(()=>{const e=e=>{const t=e.data||{};"object"==typeof t&&"setHeight"===t.type&&t.id===n&&m(t.height)};return m(200),window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[n,m]),qi(()=>(window.addEventListener("resize",y),()=>{window.removeEventListener("resize",y)}),[y]),a.createElement(_i,{"aria-label":l(Ki.mastodonEmbedAriaLabelText),className:t,ref:r},d?a.createElement(Oi,{className:"mastodon-embed","data-testid":"mastodon-iframe",src:o,style:{height:c},ref:h,onLoad:y,...e}):a.createElement(g.A,{hasConsent:i.targeting,url:n,consentBannerHeader:Ki.consentBannerHeader}))};Ui.propTypes={attributes:i().object,className:i().string,url:i().string.isRequired},Ui.displayName="MastodonEmbed";const Vi=Ui,Gi=(0,w.defineMessages)({consentBannerHeader:{id:"ThreadsEmbed.ConsentBannerHeader",defaultMessage:"Threads content",description:"Header for message banner"}}),Wi=h.Ay.div.withConfig({displayName:"ThreadsEmbedContainer"})` align-self: center; margin: ${(0,y.Kq)(5)} auto; text-align: center; justify-self: center; `,ji=h.Ay.blockquote.withConfig({displayName:"ThreadsEmbedBlockquote"})` width: 100%; min-width: 270px; max-width: 540px; `,{useContext:zi,useEffect:Yi,useMemo:Xi}=a;let Zi=0;const Ji=({attributes:e,className:t,url:n})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"ThreadsEmbed"})},[]);const o=zi(u.c$),[i,r]=(0,p.A)(),s=o.targeting&&r,l=Xi(()=>{const e=n.split("/");return`threads-${e[e.length-1]}-${Zi++}`},[n]);return Yi(()=>{s&&(()=>{if(document.getElementById("threads-embed"))window?.instgrm?.Embeds?.process();else{const e=document.createElement("script");e.id="threads-embed",e.src="https://www.threads.net/embed.js",document.body.appendChild(e)}})()},[s]),a.createElement(Wi,{className:t,ref:i},s?a.createElement(ji,{...e,className:"text-post-media","data-text-post-permalink":n,"data-text-post-version":"0",id:l},a.createElement(g.A,{hasConsent:o.targeting,url:n,consentBannerHeader:Gi.consentBannerHeader})):a.createElement(g.A,{hasConsent:o.targeting,url:n,consentBannerHeader:Gi.consentBannerHeader}))};Ji.propTypes={attributes:i().object,className:i().string,url:i().string.isRequired},Ji.displayName="ThreadsEmbed";const Qi=Ji;var ea=n(67616),ta=n(8470),na=n(79012);const oa=ta.A,ia=h.Ay.div.withConfig({displayName:"TableOfContentWrapper"})` ${na.TJ} { border: none; } ${na.$T} { border-top: 1px solid ${(0,y.HK)("colors.consumption.body.standard.divider")}; padding: ${(0,y.Kq)(2.5)} 0; .icon-large-chevron { stroke: ${(0,y.HK)("colors.interactive.base.black")}; } } ${na.Hp} { color: ${(0,y.HK)("colors.discovery.body.white.heading")}; } ${na.Iy} { padding: 0; ${(0,y.Gg)("typography.definitions.consumptionEditorial.body-core")} & > div { margin: ${(0,y.Kq)(1)} ${(0,y.Kq)(2)} ${(0,y.Kq)(3)} ${(0,y.Kq)(2)}; } a:not(.button) { ${({theme:e})=>(0,y.pe)(e,"colors.consumption.body.standard.link","colors.consumption.body.standard.link-hover")} } } &&& { ${na.Iy} > :first-child { margin-block-start: 0; } } `;var aa=n(14307);const ra=({attrs:e={},children:t})=>{const[n]=a.useState("true"===e.isCollapsible);a.useEffect(()=>{const e=e=>{"A"===e.target.tagName&&e.target.closest(".table-of-content")&&"_blank"===e.target.getAttribute("target")&&e.target.removeAttribute("target")};return document.addEventListener("click",e),window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"TableOfContent"}),()=>{document.removeEventListener("click",e)}},[]);const{label:o,content:i}=(e=>{if(!e||e.length<2)return{label:null,content:null};const t=e[0]?.props.children,n=e[1]?.props.children;return{label:t?.props?.children||null,content:n?.props?.children||null}})(t);if(!i)return null;const r=window.dataLayer&&window.dataLayer?.[0]?.content,s=r?.contentTitle,l=r?.contentId,d=r?.contentType,c={subject:"wrapper_table_of_content",label:o,items:[{content_title:s,content_id:l,content_type:d,content_url:window.location.href}]};return a.createElement(ia,{className:"table-of-content"},a.createElement(oa,{isInitiallyOpen:!0,isCollapsible:n,data:[{label:o,content:i}],snowplowEventData:c,handleContentItemClick:(e,t,n)=>{const o={type:"click",subject:"wrapper_table_of_content",label:e.target.innerText,items:[{content_title:s,content_id:l,content_type:d,content_url:window.location.href}],index:t,total_index:n};(0,aa.kg)(o)}}))};ra.propTypes={attrs:i().object,children:i().node.isRequired};const sa=ra;var la=n(62327);const da=(0,w.defineMessages)({cooltabsAriaLabelText:{id:"CoolTabsEmbed.AriaLabelText",defaultMessage:"CoolTabs embed",description:"ARIA label for the CoolTabs embed container"},consentBannerHeader:{id:"CoolTabsEmbed.ConsentBannerHeader",defaultMessage:"CoolTab content",description:"Header for consent banner"}}),ca=h.Ay.div.withConfig({displayName:"CoolTabsEmbedContainer"})` align-self: center; margin: ${(0,y.Kq)(5)} auto; text-align: center; justify-self: center; place-self: auto; `,ma=h.Ay.div.withConfig({displayName:"CoolTabsEmbedFrame"})` justify-self: center; margin: 0 auto; `,{useContext:ua,useEffect:pa,useState:ga,useRef:ha}=a,ya={"zh-Hant-TW":"zh-TW","zh-CN":"zh-CN","zh-HK":"zh-HK","zh-SG":"zh-SG","pt-BR":"pt-BR","pt-PT":"pt-PT","es-ES":"es","es-MX":"es-MX","es-AR":"es-AR"},ba=(e="en-US")=>ya[e]||e.split("-")[0],fa=({attributes:e={},className:t="",url:n,dataAttributes:o,hideText:i=!1})=>{const{formatMessage:r}=(0,j.A)(),s=ua(u.c$),l=(0,kt.h2)(),d=ba(l),[c,m]=ga(null),[h,y]=(0,p.A)(),[b,f]=ga(!1),w=ha(),$=s.targeting&&y;a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(T.G.RENDER,{name:"CoolTabsEmbed"})},[]),pa(()=>{m(en()(w,"current.offsetWidth",500))},[w]),pa(()=>{if($&&!b){(()=>{if(!document.getElementById("cooltabs-embed")){const e=document.createElement("script");e.id="cooltabs-embed",e.className="cooltabs-embed",e.src=`https://cdn.ct-assets.com/assets/ct-embed.js?lang=${d}`,e.onload=()=>{f(!0)},document.body.appendChild(e)}})()}},[$,d,b]);const v=((e,t)=>{try{const n=new URL(e),o=ba(t);return n.searchParams.set("locale",o),n.toString()}catch(t){return e}})(n,l);return a.createElement(ca,{...e,className:t,"data-type":"cooltabs","aria-label":r(da.cooltabsAriaLabelText),ref:(0,Ct.P)(w,h)},$?a.createElement(ma,{className:"ct_embeded","data-src":v,"data-show-text":i?"false":"true","data-width":c,"data-lang":d,"data-locale":d,...o}):a.createElement(g.A,{hasConsent:s.targeting,url:v,consentBannerHeader:da.consentBannerHeader}))};fa.propTypes={attributes:i().object,className:i().string,dataAttributes:i().object,hideText:i().bool,url:i().string.isRequired},fa.defaultProps={attributes:{},className:"",dataAttributes:{},hideText:!1},fa.displayName="CoolTabsEmbed",fa.getCoolTabsLang=ba;const wa=fa,$a=(0,w.defineMessages)({exploreTheStory:{id:"visualStorySingleCard.exploreTheStory",defaultMessage:"Explore the story",description:"Call to action to view the visual story experience"}});var va=n(60663);const Ca="327px",ka="16px",xa="70px",Ea="85px",Aa="105px",Sa=h.Ay.div.withConfig({displayName:"ExternaContainer"})` .Content-card & { @media (min-width: ${ee.LO.md}) { position: relative; background: var( --bg, linear-gradient( 104deg, #fff 25.08%, ${(0,y.HK)("colors.background.brand")} 74.24%, #000 107.26% ) ); padding: 24px; &::before { position: absolute; top: 0; left: 0; box-shadow: 0 0 50px -25px rgba(0, 0, 0, 0.5); background: linear-gradient( 109deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 29.35%, rgba(0, 0, 0, 0.6) 100% ); width: 100%; height: 100%; content: ''; backdrop-filter: blur(80px); } } } `,La=h.Ay.a.withConfig({displayName:"VisualStorySingleCardContainer"})` display: grid; position: relative; grid-auto-flow: column; z-index: 0; padding: 0 24px; min-width: ${"160px"}; @media (min-width: ${ee.LO.md}) { margin: 0 auto; padding: 0; width: ${Ca}; } [data-testid='GenericCallout'] & { display: block; margin-top: ${(0,y.Kq)(-2)}; width: 100%; @media (min-width: ${ee.LO.md}) { max-width: ${Ca}; } } .Content-card & { padding: 0; } .responsive-asset { border-radius: ${ka}; height: auto; aspect-ratio: 9 / 16; picture { height: 100%; } &&& { figure.cne-video-embed { display: block; width: 100%; max-width: inherit; /* reset max-width in cnevideoembed component */ height: 100%; overflow: hidden; .video-container { width: 100%; height: 100%; } } } img, .responsive-clip { width: 100%; height: 100%; object-fit: cover; } } `,Ta=h.Ay.div.withConfig({displayName:"InfoWrapper"})` position: absolute; bottom: ${ka}; left: 0; z-index: 2000; outline: none; padding: 0 calc(${ka} + 24px); width: 100%; line-height: 1; @media (min-width: ${ee.LO.md}) { padding: 0 ${ka}; } .Content-card & { padding: 0 ${ka}; } [data-testid='GenericCallout'] & { @media (min-width: ${ee.LO.md}) and (max-width: ${ee.LO.lg}) { bottom: 0; padding: calc(${ka} / 2); } } .spacer { display: block; border-radius: ${ka}; background: rgba(0, 0, 0, 0.5); cursor: pointer; padding: ${ka}; width: 100%; text-align: center; text-decoration: none; box-sizing: border-box; backdrop-filter: blur(10px); [data-testid='GenericCallout'] & { @media (min-width: ${ee.LO.md}) and (max-width: ${ee.LO.lg}) { padding: calc(${ka} / 2); } } p.title { display: -webkit-box; /* stylelint-disable-line */ -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin: 8px 0 4px 0; overflow: hidden; line-height: 1; color: ${(0,y.HK)("colors.interactive.base.white")}; ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.discovery.hed-bulletin-primary")}; @media (min-width: ${ee.LO.md}) { ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.discovery.hed-core-primary")}; } [data-testid='GenericCallout'] & { @media (min-width: ${ee.LO.md}) and (max-width: ${ee.LO.lg}) { ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.discovery.hed-bulletin-primary")}; } } } p.cta { margin: 0; text-transform: uppercase; color: ${(0,y.HK)("colors.interactive.base.white")}; font-size: 12px; font-weight: 600; ${({theme:e})=>(0,y.Gg)(e,"typography.definitions.utility.button-utility")}; a { text-decoration: none; pointer-events: none; color: ${(0,y.HK)("colors.interactive.base.white")}; } [data-testid='GenericCallout'] & { @media (min-width: ${ee.LO.md}) and (max-width: ${ee.LO.lg}) { display: none; } } } &:hover { p.cta { text-decoration: underline; } } } `,Na=h.Ay.div.withConfig({displayName:"bubble"})` .responsive-asset { margin: 3px auto; border: 3px solid transparent; border-radius: 50%; box-shadow: 0 0 0 2px ${(0,y.HK)("colors.interactive.base.white")}; background: none; width: ${Ea}; height: ${Ea}; overflow: hidden; ${({theme:e})=>(0,y.HK)(e,"colors.interactive.base.brand-primary")}; @media (min-width: ${ee.LO.md}) { width: ${Aa}; height: ${Aa}; [data-testid='GenericCallout'] & { width: ${xa}; height: ${xa}; } } @media (min-width: ${ee.LO.lg}) { [data-testid='GenericCallout'] & { width: ${Ea}; height: ${Ea}; } } img { transition: transform 0.5s ease-in-out; &:hover { transform: scale(1.3); } } } `,Ha=(0,va.Y)(()=>window.sessionStorage),Ia=({dangerousHed:e="",lede:t={},tout:n={},url:o={}})=>{const{formatMessage:i}=(0,j.A)(),[r]=(0,p.A)();if(!(n&&n.sources&&t&&t.sources))return null;return a.createElement(Sa,null,a.createElement(La,{onClick:()=>{const e=window.location.href;Ha.setItem("visual_story_origin",e)},href:o,ref:r},a.createElement(X.A,{...t}),a.createElement(Ta,null,a.createElement("span",{className:"spacer"},a.createElement(Na,null,a.createElement(X.A,{...n})),a.createElement("p",{className:"title",dangerouslySetInnerHTML:{__html:e}}),a.createElement("p",{className:"cta",dangerouslySetInnerHTML:{__html:i($a.exploreTheStory)}})))))};Ia.propTypes={className:i().string,dangerousHed:i().string,lede:i().object,tout:i().object,url:i().string},Ia.displayName="VisualStorySingleCard";const Ba=Ia,Oa=(0,It.N)((0,A.y)(Ba,"VisualStorySingleCard"));var _a=n(95308);const Ka=()=>null,Pa={"callout:inline-ad":Ka,"callout:inline-recirc":Ka,"callout:inset-image-left":Wn};const Da=a.memo(({markup:e})=>a.createElement("div",{className:"interactive-override-container interactive-override-container--body",dangerouslySetInnerHTML:{__html:e}}),function(e,t){return s()(e,t)});Da.propTypes={markup:i().string},Da.displayName="InteractiveOverrideEmbed";const qa={...Pa,article:Re,bodyInteractiveOverride:Da,pullquoteContent:fn.UF,pullquoteCredit:fn.Y8,"callout:anchor":l.A,"callout:dropcap":e=>e.children,"callout:intro":Wn,"callout:feature-xsmall":Wn,"callout:feature-small":Wn,"callout:feature-medium":Wn,"callout:feature-large":zt,"callout:footnote":Zt,"callout:group-2":jn.A,"callout:group-3":jn.A,"callout:group-4":jn.A,"callout:inset-left":Wn,"callout:portrait-justified":Wn,"callout:inset-right":Wn,"callout:pullquote":Ho.A,"callout:sidebar":ti,"callout:slideshow":Jt.A,"callout:button-group":E.A,"callout:accordion":na.IL,"callout:accordion-item":ta.A,"callout:table-of-contents":sa,"callout:product-summary":Io.A,"callout:product-summary-item":Bo.A,bizzabo:x,cartoon:d.A,clip:d.A,cneaudio:U.A,cneembed:F.A,cneeventregistration:M,cneinterlude:R.A,contributor:Qe,cooltabs:wa,game:st,crossword:bt,curatedlist:Ii,event:vt,externallink:qe,facebook:Ht,firework:qt,gallery:Jt.A,iframe:zn.A,image:d.A,interactive:vo,instagram:io,justwatch:po,listenerscore:_a.A,livestory:qe,mastodon:Vi,nativearticle:Re,nativegallery:Jt.A,pinterest:Lo,product:To.A,unifiedProductCard:No.A,contentreference:To.A,recipe:Re,review:Do,section:Mo,"sidebar:article":Zo,"sidebar:heading":ni.A,shoppableImage:yi,threads:Qi,twitter:zo,venue:To.A,video:zn.A,visualstory:Oa,clipVideo:Bi.A};function Ma(e={}){const{props:t,type:n}=e;if(t&&(t.contentType=n),t&&"cneembed"===n&&(t.videoEmbedPosition=la.sm),t&&"cneinterlude"===n&&(t.videoEmbedPosition=la.jV),t&&t.shouldConsiderArticleEmbedForGallery&&"gallery"===n)return{type:qa.article,props:t};if(t&&t.isUpcEnabled&&["contentreference","product"].includes(n)){const e={...t,id:t.productId,brand:{name:t.productBrand},offers:t.multipleOffers};return{type:qa.unifiedProductCard,props:{...t,offers:t.multipleOffers,brand:t.productBrand,type:"embed",layout:"ProductEmbed",data_item:{...e},isLazy:!0,hasImageCreditText:(0,ea.q)(t.image)}}}return{type:qa[n],props:t}}},90447:(e,t,n)=>{n.d(t,{A:()=>ne});var o=n(13465),i=n(47655),a=n(5556),r=n.n(a),s=n(96540),l=n(88055),d=n.n(l),c=n(22539),m=n(35864),u=n(52663),p=n(43001),g=n(6518),h=n(90090),y=n(38267),b=n(26865),f=n(1123),w=n(40653),$=n(89085),v=n(6613),C=n(33500),k=n(63637),x=n(29752),E=n(34751),A=n(36211),S=n(96472),L=n(56503),T=n(68116),N=n(44802),H=n(75699),I=n(88154);const B=y.Ay.div.withConfig({displayName:"SummaryCollageTweleveWrapper"})` ${(0,$.universalGridCore)()} ${(0,$.cssVariablesCollage)()} ${(0,f.aU)("padding")} ${k.Ls} { margin-bottom: 0; } ${C.bU} { padding-left: 0; } grid-column: 1 / -1; &&& { grid-template-columns: repeat(4, 1fr); grid-row-gap: ${(0,b.Kq)(0)}; order: 1; padding-top: 0; padding-right: 0; padding-left: 0; ${(0,b.H4)(S.LO.lg)} { grid-column-gap: var(--grid-gap); grid-column: 1 / span 9; grid-row: 1 / span 3; grid-template-columns: repeat(9, 1fr); grid-template-rows: minmax(${(0,b.Kq)(5)}, auto) minmax( ${(0,b.Kq)(5)}, auto ) 1fr; grid-row-gap: ${(0,b.Kq)(0)}; } } ${(0,b.L7)(S.LO.md)} { .summary-item:first-child { padding-bottom: ${(0,b.Kq)(2.5)}; } } .summary-item:last-child { align-self: start; border-bottom: 1px solid ${(0,b.HK)("colors.discovery.body.white.border")}; padding-bottom: ${(0,b.Kq)(2.5)}; } .summary-item__content { padding-top: ${(0,b.Kq)(2.5)}; } ${w.A} { border-top: none; } `,O=y.Ay.div.withConfig({displayName:"SummaryCollageTweleveMainItem"})` && { grid-column: 1 / -1; ${(0,b.H4)(S.LO.lg)} { grid-column: 4 / 10; border-bottom: 0; padding-bottom: ${(0,b.Kq)(3)}; } img { object-fit: cover; object-position: top; } } .summary-item__hed { ${(0,b.Gg)("typography.definitions.discovery.hed-feature")}; color: ${(0,b.HK)("colors.discovery.body.white.heading")}; } ${(0,b.H4)(S.LO.lg)} { grid-column: 4 / -1; } .summary-item__dek { display: block; ${(0,b.Gg)("typography.definitions.discovery.description-core")}; color: ${(0,b.HK)("colors.discovery.body.white.description")}; } .summary-item__content { padding-bottom: 0; } .summary-item__image-link { padding-right: 0; @media (min-width: 0) and (max-width: calc(${S.LO.lg} - 1px)) { margin-right: ${({isBestStories:e})=>e?0:`-${(0,b.Kq)(3)}`}; margin-left: ${({isBestStories:e})=>e?0:`-${(0,b.Kq)(3)}`}; } } .summary-item__byline { margin-bottom: 0; } ${v.fq}.summary-item__rubric { margin-bottom: ${(0,b.Kq)(2)}; @media (min-width: 0) and (max-width: calc(${S.LO.lg} - 1px)) { margin-bottom: ${(0,b.Kq)(1.5)}; } color: ${(0,b.HK)("colors.discovery.body.white.context-signature")}; } .summary-item:first-child { padding-bottom: ${(0,b.Kq)(2.5)}; } `,_=y.Ay.div.withConfig({displayName:"SummaryCollageTweleveSummaryListItem"})` && { grid-column: 1 / -1; margin: 0; padding: 0; .summary-item { margin: 0 0 ${(0,b.Kq)(2)}; padding: ${(0,b.Kq)(2.5)} 0; ${(0,b.H4)(S.LO.lg)} { position: relative; margin-bottom: 0; overflow: hidden; } &:first-child { ${(0,b.H4)(S.LO.lg)} { padding-top: 0; } ${(0,b.L7)(S.LO.md)} { padding-top: ${(0,b.Kq)(2.5)}; } } &:last-child { ${(0,b.Xm)(0,S.LO.md)} { margin-bottom: 0; padding-bottom: 0; } ${(0,b.Xm)(0,S.LO.lg)} { &::after { display: none; } } } .summary-item__hed { ${(0,b.Gg)("typography.definitions.discovery.hed-core-primary")} color: ${(0,b.HK)("colors.discovery.body.white.heading")}; } .summary-item__metadata-primary, .summary-item__metadata-secondary { display: none; } } } && { ${(0,b.H4)(S.LO.lg)} { grid-column: 9 / -1; margin-left: calc(var(--border-offset) * -1); padding-left: var(--border-offset); width: calc(100% + var(--border-offset)); } ${({hideVerticalBorders:e})=>e&&"&&& {\n border-left: 0;\n padding-left: 0;\n }"} ${({hasUnderHeroItem:e})=>e&&"grid-row-end: span 3;"} .summary-item:last-child { @media (min-width: 0) and (max-width: calc(${S.LO.lg} - 1px)) { border-bottom: none; padding-bottom: ${(0,b.Kq)(1)}; } @media (min-width: 0) and (max-width: calc(${S.LO.md} - 1px)) { padding-bottom: ${(0,b.Kq)(2)}; } } ${(0,b.H4)(S.LO.lg)} { grid-column: 1 / span 3; grid-row-start: ${({isBestStories:e})=>e?"2":"1"}; margin: 0 calc(var(--border-offset) * -1) 0 0; padding-right: var(--border-offset); padding-left: 0; } @media (min-width: 0) and (max-width: calc(${S.LO.lg} - 1px)) { margin-bottom: ${(0,b.Kq)(2)}; } @media (min-width: 0) and (max-width: calc(${S.LO.lg} - 1px)) { margin-bottom: 0; } .summary-item__hed { /* TOFIX: Lots of overrides happening here, this reassigns the default token for .summary-item__hed */ ${(0,b.Gg)("typography.definitions.discovery.hed-core-primary")} } .summary-item__dek { display: block; } .summary-item--has-border { margin-bottom: 0; } .summary-item__content { padding-bottom: 0; } .summary-item--has-rule .summary-item__hed-link::after { display: block; } } ${({shouldEnableDenseMobile:e,theme:t})=>e&&`\n ${(0,b.L7)(S.LO.md)} {\n border-bottom: 1px solid ${(0,b.HK)(t,"colors.discovery.body.white.border")};\n \n .summary-list__items {\n display: grid;\n column-gap: 16px;\n grid-template-columns: repeat(2, 1fr);\n }\n\n .summary-list__items > div:nth-child(1) {\n grid-column: 1 / -1;\n }\n\n .summary-list__item:nth-child(2),\n .summary-list__item:nth-child(3) {\n border-bottom: none;\n }\n }\n `} `,K=y.Ay.div.withConfig({displayName:"SummaryCollageTweleveUnderMainItem"})` grid-column: 1 / -1; border-top: 1px solid ${(0,b.HK)("colors.discovery.body.white.border")}; border-bottom: none; ${(0,b.H4)(S.LO.lg)} { grid-column: 4 / -1; } &.summary-item { .summary-item__hed { margin-bottom: ${(0,b.Kq)(1)}; ${(0,b.Gg)("typography.definitions.discovery.hed-core-secondary")}; color: ${(0,b.HK)("colors.discovery.body.white.heading")}; } &:first-of-type { padding-bottom: ${(0,b.Kq)(2.5)}; } } ${({isBestStories:e})=>e&&`\n && ${A.Y} {\n font-size: 18px;\n }\n `} .summary-item__dek { display: block; } .summary-item__asset-container { display: grid; align-self: baseline; padding-top: ${(0,b.Kq)(2.5)}; } ${T.Tr} { padding-bottom: 0; } ${({theme:e,isBestStories:t})=>`\n &&& {\n ${(0,b.L7)(S.LO.md)} {\n ${t?"\n padding: 1rem 0px;\n border-top: 1px solid rgb(229, 229, 229);\n ":"\n border-top: none;\n padding-bottom: 0;\n "}\n .mobile_dense_smart_item-0 {\n border-top: 1px solid\n ${(0,b.HK)(e,"colors.discovery.body.white.border")};\n }\n }\n }\n ${H.zQ} {\n ${(0,b.L7)(S.LO.md)} {\n border-bottom: 1px solid\n ${(0,b.HK)(e,"colors.discovery.body.white.border")};\n padding: ${(0,b.Kq)(2)} 0;\n ${I.jY} {\n margin: ${(0,b.Kq)(2)} 0;\n }\n ${I.S3} {\n margin-bottom: 0.5rem;\n ${(0,b.Gg)("typography.definitions.discovery.hed-core-secondary")};\n }\n ${I.tH}::after {\n display: none;\n }\n }\n }\n `} `,P=y.Ay.div.withConfig({displayName:"SummaryCollageTwelveSectionTitle"})` position: relative; grid-column: 1/-1; grid-row: 1; z-index: 1; margin-bottom: ${(0,b.Kq)(3)}; ${C.bU} { padding: 0.25rem 0.75rem; } `,D=(0,y.Ay)(c.A.Collection).withConfig({displayName:"SummaryCollageTweleveSummaryList"})` &&& { order: 3; margin: 0; border-top: none; padding: 0; ${(0,b.H4)(S.LO.lg)} { grid-column: 10 / span 3; grid-row: 2 / span 2; margin-left: calc(var(--border-offset) * -1); padding-right: 0; padding-left: var(--border-offset); width: calc(100% + var(--border-offset)); height: 100%; } /* reset width of child elements */ &: { width: auto; } ${k.Ls} { padding-top: 0; padding-bottom: 0; @media (min-width: 0) and (max-width: calc(${S.LO.lg} - 1px)) { margin-top: ${(0,b.Kq)(3)}; margin-bottom: ${(0,b.Kq)(3)}; padding-top: ${({isBestStories:e})=>e?0:(0,b.Kq)(.5)}; padding-bottom: ${({isBestStories:e})=>e?0:(0,b.Kq)(.5)}; } ${({isBestStories:e,enableBestStoriesStyling:t})=>e&&`\n margin-bottom: 0;\n ${C.bU} {\n padding: ${!1===t?"0.25rem 0":"0.25rem 0.75rem"};\n }\n `} } .summary-list__item { grid-template-areas: 'content image'; grid-template-columns: 1fr 75px; padding-top: ${(0,b.Kq)(2.5)}; padding-bottom: ${(0,b.Kq)(2.5)}; &:first-of-type { ${(0,b.H4)(S.LO.lg)} { border-top: 1px solid ${(0,b.HK)("colors.discovery.body.white.border")}; padding-top: 0; } } &:last-of-type { @media (min-width: 0) and (max-width: calc(${S.LO.lg} - 1px)) { border-bottom: none; padding-bottom: 0; } } &.summary-item--has-border { margin-bottom: 0; } &.summary-item--layout-placement-side-by-side { grid-column-gap: var(--grid-gap); } .summary-item__image-link { align-self: start; max-width: 75px; height: auto; } .summary-item__hed { margin-bottom: 0; } } ${({displayHed:e})=>!e&&` && {\n order: 2;\n\n ${(0,b.H4)(S.LO.lg)} {\n grid-row: 1 / span 3;\n }\n \n .summary-list__item {\n &:first-of-type {\n border-top: none;\n }\n }\n }\n `} } `,q=y.Ay.div.withConfig({displayName:"SummaryCollageTweleveGridItemList"})` ${L.pO} { border-bottom: 1px solid ${(0,b.HK)("colors.discovery.body.white.border")}; ${T.hU} { ${A.Y} { padding-top: 0; text-transform: capitalize; line-height: 1.45em; ${(0,b.Gg)("typography.definitions.discovery.hed-core-secondary")}; color: ${(0,b.HK)("colors.discovery.body.white.heading")}; } } ${T.IB} { ${(0,b.Gg)("typography.definitions.discovery.description-core")}; padding-bottom: 8px; text-transform: none; color: ${(0,b.HK)("colors.discovery.body.white.description")}; } ${L.Bb} { border-bottom: none; padding-top: 20px; padding-bottom: 0; text-align: center; color: ${(0,b.HK)("colors.consumption.lead.standard.context-signature")}; ${(0,b.Gg)("typography.definitions.globalEditorial.context-primary")}; } ${L.P_} { padding-top: 24px; padding-bottom: 24px; color: ${(0,b.HK)("colors.discovery.body.white.description")}; } .summary-item__rubric { display: none; } } ${({isBestStories:e})=>e&&`\n .summary-list__items {\n display: flex;\n flex-direction: column;\n }\n\n ${L.pO} {\n && {\n order: 1;\n }\n\n ${L.Bb} {\n text-align: left;\n }\n }\n `} ${({isCenterAlignedWithTopDividerOnly:e,isBestStories:t})=>e&&`${w.A}{\n ${w.E} {\n .summary-list__items {\n ${t&&"\n display: flex;\n flex-direction: column;\n "}\n ${L.pO} {\n ${t&&`\n order: 1;\n padding-bottom: 0;\n ${T.tP}{\n max-width: 100%;\n order: 1;\n }\n ${T.Tr}{\n text-align: left;\n .summary-item__byline {\n display: none;\n }\n }\n ${L.Bb} {\n text-align: left;\n }\n ${T.Rp} {\n padding-top: 1rem;\n ${A.Y} {\n font-size: 18px;\n }\n }\n `}\n }\n }\n }\n }`} grid-column: 1 / -1; order: ${({hasHed:e})=>e?3:2}; ${(0,b.H4)(S.LO.lg)} { grid-column: 10 / span 3; grid-row: ${({hasHed:e})=>e?"2 / span 2":"1 / span 3"}; } .summary-list__item--before-hidden { border-bottom: none; } ${T.hU} { ${A.Y} { ${(0,b.Gg)("typography.definitions.discovery.hed-bulletin-primary")}; color: ${(0,b.HK)("colors.discovery.body.white.heading")}; } } `,M=y.Ay.div.withConfig({displayName:"SummaryCollageTweleveGridItemListButtonWrapper"})` display: flex; align-items: center; justify-content: center; ${(0,b.H4)(S.LO.lg)} { display: none; } .button--show-list { margin-top: ${(0,b.Kq)(4)}; } `,R=y.Ay.div.withConfig({displayName:"SummaryCollageTweleveSummaryCarouselWrapper"})` ${({theme:e})=>`${L.pO} {\n border-bottom: 1px solid ${(0,b.HK)(e,"colors.discovery.body.white.border")};\n ${T.hU} {\n ${A.Y} {\n text-transform: capitalize;\n line-height: 1.45em;\n ${(0,b.Gg)(e,"typography.definitions.discovery.hed-core-secondary")};\n color: ${(0,b.HK)("colors.discovery.body.white.heading")};\n padding-top: 0;\n }\n }\n ${T.IB} {\n ${(0,b.Gg)(e,"typography.definitions.discovery.description-core")};\n padding-bottom: 8px;\n text-transform: none;\n color: ${(0,b.HK)(e,"colors.discovery.body.white.description")};\n }\n ${L.Bb} {\n color:\n ${(0,b.HK)(e,"colors.consumption.lead.standard.context-signature")};\n ${(0,b.Gg)(e,"typography.definitions.globalEditorial.context-primary")};\n text-align: center;\n padding-top: 20px;\n border-bottom: none;\n padding-bottom: 0;\n border-top: 1px solid;\n border-top-color: ${(0,b.HK)(e,"colors.discovery.body.white.border")};\n }\n ${L.P_} {\n padding-top:24px;\n padding-bottom: 24px;\n color: ${(0,b.HK)(e,"colors.discovery.body.white.description")};\n }\n .summary-item__asset-container{\n margin-left: 57px;\n margin-right: 57px;\n }\n ${(0,b.H4)(S.LO.md)} {\n display: none;\n }\n ${v.fq}.summary-item__rubric {\n display: block;\n }\n ${T.Rp}{\n grid-template-rows: auto;\n ${T.Tr}{\n grid-row: 1;\n }\n ${T.tP}{\n grid-row: 2;\n max-width: 100%;\n }\n }\n}`} ${({shouldEnableDenseMobile:e,theme:t})=>e&&`\n ${N.oX} {\n min-width: 75vw;\n padding: 0;\n margin-right: ${(0,b.Kq)(2)};\n border-right: 1px solid ${(0,b.HK)(t,"colors.discovery.body.white.border")};\n padding-right: ${(0,b.Kq)(2)};\n\n &:last-child {\n border: none;\n }\n }\n `} ${(0,b.H4)(S.LO.md)} { display: none; } ${v.fq}.summary-item__rubric { display: block; } ${T.Rp} { grid-template-rows: auto; ${v.fq} { grid-row: 1; } ${T.Tr} { grid-row: 2; } } .summary-item__rubric { display: none; } ${E.F5} { padding-right: 0; padding-left: 0; } `,F=(0,y.Ay)(x.A).withConfig({displayName:"SummaryCollageTweleveSummaryCarousel"})``,U=y.Ay.div.withConfig({displayName:"SummaryCollageTweleveGrid"})` ${(0,f.VO)()} ${(0,$.cssVariablesCollage)()} ${(0,f.aU)("padding")} display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--grid-gap); margin: 0 auto; width: 100%; max-width: ${S.LO.xxl}; row-gap: 0; ${(0,b.H4)(S.LO.md)} { grid-template-columns: repeat(12, 1fr); } ${(0,b.H4)(S.LO.lg)} { grid-template-rows: minmax(${(0,b.Kq)(4)}, auto) repeat(2, 1fr); } ${T.hU} { ${A.Y} { margin-bottom: ${(0,b.Kq)(1)}; } } ${O} { ${T.hU} { ${A.Y} { margin-bottom: ${(0,b.Kq)(1)}; @media (min-width: 0) and (max-width: calc(${S.LO.lg} - 1px)) { margin-bottom: ${(0,b.Kq)(.5)}; } } } ${T.IB} { ${(0,b.Gg)("typography.definitions.discovery.description-feature")}; margin-bottom: ${(0,b.Kq)(2)}; @media (min-width: 0) and (max-width: calc(${S.LO.lg} - 1px)) { margin-bottom: ${(0,b.Kq)(1)}; } } } ${K} { padding-bottom: ${(0,b.Kq)(2.5)}; } `;var V=n(99906),G=n(53499),W=n(88456),j=n(75989),z=n(14307),Y=n(74644),X=n(5303);const Z=(e,t,n)=>e||(t&&n?"mobile_dense":"default"),J=(e,t,n,o,i,a)=>()=>e(t,n,o,i,a),Q=({curatedSearchHed:e,dangerousDek:t,dangerousHed:n,enableBestStoriesStyling:o,featuredDangerousHed:i,featuredFooter:a,hasUnderlineHed:r,hideRubricItemSummary:l=!1,listItemsLimit:y=6,isCenterAlignedWithTopDividerOnly:b,items:f=[],isBestStories:w=!1,rightColumnFeature:$,recircRiver:v,sectionTitleVariation:C="TextLeft",shouldUseFeaturedTitleAndFooter:k=!1,shouldEnableBundleComponentAnalytics:x,shouldHideBylines:E=!1,shouldHideDangerousDekInSummaryList:A=!0,shouldLimitListItemsOnMobile:S=!1,shouldTrackSnowplowEvent:L=!1,shouldUseDekAsHed:T=!1,summaryListSummaryItemVariation:N,summaryListHed:H,summaryItemRubricVariation:I,summaryItemVariation:Q="SideBySideThirdsImageRight",summarySectionTitleVariation:ee="TextLeft",trackingNamespace:te,variations:ne})=>{const[oe,ie]=s.useState(!0);s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(G.G.RENDER,{name:"SummaryCollageTweleve"})},[]);const ae=!(0,X.q)({initialValue:!0}),re=((e,t,n,o,i)=>e?i:t&&n||o)(T,k,i,n,t),se=H||e,le=!!re,[de,ce]=(0,s.useState)(6),{shouldEnableDenseMobile:me=!1}=ne||{},ue=(e=>e?{hasFeatured:!0,summaryItemFeatured:e}:{})($),pe=(e,t,o,i,a,r,s)=>{L&&(0,z.kg)({type:e,label:(0,Y.Fi)(r??n),subject:"summary_collage_twelve",items:[{content_title:t?.dangerousHed,content_type:t?.contentType,content_id:t?.copilotID,content_url:new URL(t?.url,window.location.origin)}],index:o,total_index:a||f?.length,placement:i,subject_version:Z(s,ae,me)})};(0,s.useEffect)(()=>{S&&window.innerWidthe&&t?"TextBelowLeft":t?void 0:"SideBySideThirdsImageRight")(w,ae),{analyticsDataAttributeHero:be,analyticsDataAttributeUnder:fe}=((e,t,n,o)=>({analyticsDataAttributeHero:e(t,n?.hero||o),analyticsDataAttributeUnder:e(t,n?.under||o)}))(h.NY,x,te,n),we=ge.slice(4,6),$e=ge.slice(11,12)[0],ve={clickHandler:{},hasUnderlineHed:!1,hideRubricItemSummary:l,recircRiver:v},{featuredProps:Ce}=(0,g.N)({item:$e,index:5,sharedSummaryItemProps:ve,...ue,shouldHoldImageSpace:!0}),ke=m.default[C],xe={type:"click",subject:"summary_collage_twelve",subject_version:Z(void 0,ae,me)};return s.createElement(U,null,s.createElement(B,null,((e,t,n,o)=>e?s.createElement(P,{as:t,dangerousHed:n,link:{html:o},hedTag:"h2"}):null)(w,ke,n,t),s.createElement(O,{...ge[0],as:u.A.TextBelowLeft,analyticsDataAttribute:be,hideRubricItemSummary:!1,recircRiver:v,shouldHideBylines:E,shouldHideDangerousDek:!1,shouldHidePublishDate:!0,hasUnderlineHed:!1,isBestStories:w,placement:"hero",shouldTrackItemImpressionForSnowplow:L,impressionHandler:J(pe,"impression",ge[0],0,"hero",1),clickHandler:J(pe,"click",ge[0],0,"hero",1)}),s.createElement(_,{hasUnderHeroItem:he,hideVerticalBorders:!0,as:c.A.Collection,dangerousHed:w?null:n,isBestStories:w&&o,shouldEnableBundleComponentAnalytics:x,shouldHideDangerousDek:!0,items:ge.slice(1,4),sectionTitleVariation:C,summaryItemVariation:Q,shouldHideBylines:E,shouldHidePublishDate:!0,trackingNamespace:te?.aside,recircRiver:v,hasUnderlineHed:!1,rubricVariation:I,shouldEnableDenseMobile:me,shouldTrackItemImpressionForSnowplow:L,impressionHandler:pe,snowplowEvent:{...xe,total_index:3},placement:"secondary",totalItems:3}),((e,t,n,o)=>{if(!e)return null;const{isBestStories:i,isMobile:a,analyticsDataAttributeUnder:r,recircRiver:l,shouldHideBylines:d,shouldEnableDenseMobile:c,shouldTrackSnowplowEvent:m,trackSnowplowEvent:p}=o;return t.map((e,t)=>s.createElement(K,{key:`underHereItem-${t}`,...e,as:u.A[n],shouldHideDangerousDek:i&&a,analyticsDataAttribute:r,hideRubricItemSummary:!1,recircRiver:l,shouldHideBylines:d,shouldHidePublishDate:!0,hasUnderlineHed:!1,isBestStories:i,shouldEnableDenseMobile:c,shouldTrackItemImpressionForSnowplow:m,placement:"secondary_stacked",clickHandler:J(p,"click",e,t,"secondary_stacked",2),impressionHandler:J(p,"impression",e,t,"secondary_stacked",2)},a&&!i&&s.createElement(j.A,{className:`mobile_dense_smart_item-${t}`,key:t,contributors:e.contributors,image:e.image,dangerousHed:e.dangerousHed,dangerousDek:e.dangerousDek,rubric:e.rubric,url:e.url,rubricVariation:"DiscoveryItem",shouldTrackSnowplowEvent:m,clickHandler:J(p,"click",e,t,"secondary_stacked",2),impressionHandler:J(p,"impression",e,t,"secondary_stacked",2)})))})(he,we,ye,{isBestStories:w,isMobile:ae,analyticsDataAttributeUnder:fe,recircRiver:v,shouldHideBylines:E,shouldEnableDenseMobile:me,shouldTrackSnowplowEvent:L,trackSnowplowEvent:pe})),s.createElement(q,{hasHed:le,isCenterAlignedWithTopDividerOnly:b,isBestStories:w},(e=>{const{shouldEnableDenseMobile:t,isMobile:n,items:o,listItemsVisible:i,listProps:a,displayHed:r,summaryListHeading:l,shouldUseFeaturedTitleAndFooter:d,featuredFooter:c,hasUnderlineHed:m,shouldEnableBundleComponentAnalytics:u,shouldHideDangerousDekInSummaryList:g,summaryListSummaryItemVariation:h,summaryItemVariation:y,recircRiver:b,isBestStories:f,trackingNamespace:w,trackSnowplowEvent:$,shouldTrackSnowplowEvent:v,snowplowEvent:C,removeAnchorTags:k,featuredProps:x,item:E,dangerousHed:A,enableBestStoriesStyling:S,summarySectionTitleVariation:L}=e;return t&&n?s.createElement(R,{shouldEnableDenseMobile:t},s.createElement(F,{items:o.slice(6,6+i-1),dangerousHed:l,summaryItemVariation:"SideBySideDenseNoAsset",hideRubricItemSummary:!1,shouldShowViewAllButton:!1,shouldHideBylines:!0,shouldHideDangerousDek:!0,shouldHidePublishDate:!0,hasCarouselControls:!1,hasModerateSpacing:!1,shouldHideCarouselFooter:!0,isSummaryHeadingSecondary:!0,shouldShowAllContentWhenDense:!0,shouldEnableDenseMobile:t,placement:"right_rail",impressionHandler:$,shouldTrackItemImpressionForSnowplow:v,snowplowEvent:{...C,total_index:6},version:"mobile_dense-off_canvas",totalItems:6}),s.createElement(p.A,{...x,shouldEnableBundleComponentAnalytics:u,hedTag:A?"h3":"h2",impressionHandler:J($,"impression",E,5,"right_rail",6),clickHandler:J($,"click",E,5,"right_rail",6)})):s.createElement(D,{enableBestStoriesStyling:S,isBestStories:f,...a,displayHed:r,dangerousHed:l,footerWithLink:d?c:{},hasUnderlineHed:m,hideRubricItemSummary:!1,shouldEnableBundleComponentAnalytics:u,shouldHideDangerousDek:g,shouldHidePublishDate:!0,shouldHoldImageSpace:!1,items:o.slice(6,6+i),sectionTitleVariation:L,summaryItemVariation:h||y,recircRiver:b,shouldHideBylines:!f,trackingNamespace:w?.rightRail,placement:"right_rail",totalItems:6,impressionHandler:$,clickHandler:$,shouldTrackItemImpressionForSnowplow:v,snowplowEvent:{...C,total_index:6,label:k(l)}})})({shouldEnableDenseMobile:me,isMobile:ae,items:f,listItemsVisible:de,listProps:ue,displayHed:re,summaryListHeading:se,shouldUseFeaturedTitleAndFooter:k,featuredFooter:a,hasUnderlineHed:r,shouldEnableBundleComponentAnalytics:x,shouldHideDangerousDekInSummaryList:A,summaryListSummaryItemVariation:N,summaryItemVariation:Q,recircRiver:v,isBestStories:w,trackingNamespace:te,trackSnowplowEvent:pe,shouldTrackSnowplowEvent:L,snowplowEvent:xe,removeAnchorTags:Y.Fi,featuredProps:Ce,item:$e,dangerousHed:n,enableBestStoriesStyling:o,summarySectionTitleVariation:ee}),s.createElement(M,null,((e,t,n)=>e?s.createElement(W.A.Primary,{className:"button--show-list",onClickHandler:t,label:n?"Show More":"Show Less",inputKind:"button"}):null)(S,()=>{ce(oe?6:y),ie(!oe)},oe))))};Q.propTypes={className:r().string,curatedSearchHed:r().string,dangerousDek:r().string,dangerousHed:r().string,enableBestStoriesStyling:r().bool,featuredDangerousHed:r().string,featuredFooter:r().shape({link:r().string,label:r().string}),hasUnderlineHed:r().bool,hideRubricItemSummary:r().bool,hideVerticalBorders:r().bool,isBestStories:r().bool,isCenterAlignedWithTopDividerOnly:r().bool,items:r().arrayOf(r().shape(u.A.propTypes)),listItemsLimit:r().number,recircRiver:r().string,rightColumnFeature:r().shape({ctaUrl:r().string,header:r().string,ctaTextLabel:r().string,itemIndex:r().number,hideOnMobile:r().bool,overrideFeaturedLinks:r().bool}),sectionTitleVariation:r().string,shouldEnableBundleComponentAnalytics:r().bool,shouldHideBylines:r().bool,shouldHideDangerousDek:r().bool,shouldHideDangerousDekInFeaturedItems:r().bool,shouldHideDangerousDekInSummaryList:r().bool,shouldLimitListItemsOnMobile:r().bool,shouldTrackSnowplowEvent:r().bool,shouldUseDekAsHed:r().bool,shouldUseFeaturedTitleAndFooter:r().bool,summaryItemRubricVariation:r().string,summaryItemVariation:c.A.propTypes.summaryItemVariation,summaryListHed:r().string,summaryListSummaryItemVariation:r().string,summarySectionTitleVariation:r().string,trackingNamespace:r().object,variations:r().shape({shouldEnableDenseMobile:r().bool})},Q.displayName="SummaryCollageTweleve";const ee=Q;ee.DenseMobile=(0,i.y)(ee,"DenseMobile",{shouldEnableDenseMobile:!0},{});const te=ee,ne=(0,o.y)(te,"SummaryCollageTweleve")},91287:(e,t,n)=>{n.d(t,{EG:()=>s,Gb:()=>a,Rt:()=>d,Vx:()=>r,k$:()=>l});var o=n(95928),i=n(90090);const a=async(e,t,n)=>{const o=JSON.parse(t.purchaseData.raw),{orderId:a,productId:r}=o,{siteCode:s,xClientID:l}=n,{introductoryPriceInfo:{introductoryPriceCurrencyCode:d,introductoryPriceAmountMicros:c}={},priceCurrencyCode:m,priceAmountMicros:u,subscriptionLength:p=12,subscriptionType:g="Bundle",subscriptionValue:h=9.99}=e,y=d||m||"",b=c&&u?(c||u)/1e6:void 0,f=l.slice(6);i.Uc.emitUniqueGoogleTrackingEvent("transaction",{ecommerce:{currencyCode:y,purchase:{actionField:{id:a,affiliation:f,revenue:b,tax:"",coupon:"",paymentType:"Subscribe with Google",keycode:"",source:""},products:[{id:s,name:f,brand:"",price:b,category:"",variant:"",quantity:"1",coupon:"",sku:r,dimension94:p,dimension95:b,dimension96:"",dimension100:g,dimension101:p,dimension102:h}]}}})},r=()=>{window.location.assign(window.location.href)},s=()=>{window.location.reload(!0)},l=({domain:e,server:t,acceptableForms:n,acceptableScopes:i})=>o.A.validatePayment({acceptableForms:n,acceptableScopes:i,entitlement:{domain:e,enabled:!0,server:t}}),d=(e,t,n,o)=>{const{acceptableForms:i=[],acceptableFormsOfTenderedPayment:a=[],acceptableScopes:r=[],entitlement:s={}}=t;return{acceptableForms:i,acceptableFormsOfTenderedPayment:a,acceptableScopes:r,domain:s.domain||"",isLoggedIn:n.isAuthenticated,registrationSourceCode:e.registrationSourceCode,server:s.server||"",siteCode:o.siteCode,swgPublicationId:e.swgPublicationId,userPlatformProxy:o.userPlatformProxy,xClientID:o.xClientID}}},91384:(e,t,n)=>{n.d(t,{A:()=>N});var o=n(13465),i=n(32485),a=n.n(i),r=n(5556),s=n.n(r),l=n(96540),d=n(73275),c=n(51330),m=n(38267),u=n(76955),p=n(26865),g=n(96472),h=n(1123),y=n(88456);const b=(e,t)=>`colors.discovery.body.${e}.${t}`,f=m.Ay.div.withConfig({displayName:"CelebratedEntrypointWrapper"})` ${({isFullBleed:e})=>e?"\n --grid-margin: 0;\n max-width: fix-content;\n ":`\n ${(0,h.VO)()}\n ${(0,h.aU)("padding")}\n \n margin: 0 auto;\n width: 100%;\n max-width: ${g.LO.xxl};\n \n `} `,w=m.Ay.div.withConfig({displayName:"CelebratedEntrypointRow"})` display: flex; flex-direction: ${({alignContent:e})=>"right"===e?"row":"row-reverse"}; padding-top: ${(0,p.Kq)(2.5,"px")}; padding-bottom: ${(0,p.Kq)(2.5,"px")}; width: 100%; height: 100%; ${({isFullBleed:e})=>e?`\n margin-bottom: ${(0,p.Kq)(5,"px")};\n margin-top: ${(0,p.Kq)(5,"px")};\n @media (max-width: ${g.LO.md}) {\n margin-bottom: ${(0,p.Kq)(2.5,"px")};\n margin-top: ${(0,p.Kq)(2.5,"px")};\n }\n `:`\n margin-bottom: ${(0,p.Kq)(0,"px")};\n margin-top: ${(0,p.Kq)(0,"px")};\n `} ${({theme:e,borders:t,color:n})=>t?`\n border-bottom: ${"on"===t||"bottom-only"===t?"1px solid":""}; \n border-top: ${"on"===t||"top-only"===t?"1px solid":""};\n ${(0,p._o)(e,"border-color",b(n,"border"))} \n `:""} &::after { display: table; clear: both; content: ''; } @media only screen and (max-width: ${g.LO.lg}) { flex-direction: ${({alignContent:e})=>"right"===e?"column":"column-reverse"}; } `,$=m.Ay.div.withConfig({displayName:"CelebratedEntrypointColumn"})` display: flex; align-items: center; justify-content: center; float: left; width: 50%; height: auto; &.celebrated-entrypoint-column { padding: ${(0,p.Kq)(2.5,"px")} ${(0,p.Kq)(5,"px")}; @media (max-width: ${g.LO.md}) { padding-top: ${(0,p.Kq)(5,"px")}; padding-bottom: ${(0,p.Kq)(5,"px")}; width: 100%; height: 100%; } } &&.celebrated-entrypoint-column { @media (max-width: ${g.LO.md}) { ${({shouldReducePadding:e})=>e&&`\n padding: ${(0,p.Kq)(2.5,"px")};`} } } @media only screen and (max-width: ${g.LO.lg}) { width: 100%; height: 100%; } ${({theme:e,color:t})=>t?`\n ${(0,p._o)(e,"background-color",b(t,"background"))} \n `:""} `,v=m.Ay.div.withConfig({displayName:"CelebratedEntrypointContent"})` ${({hasTextAlignLeft:e})=>e?"\n text-align: left; \n ":"text-align: center;"} && { @media (max-width: ${g.LO.md}) { text-align: center; } } `,C=(0,m.Ay)(u.vm).withConfig({displayName:"CelebratedEntrypointText"})` margin-top: ${(0,p.Kq)(1,"px")}; margin-bottom: ${(0,p.Kq)(3,"px")}; ${({color:e,theme:t})=>e?`\n ${(0,p.Gg)(t,"typography.definitions.discovery.description-core")}\n ${(0,p._o)(t,"color",b(e,"description"))};\n `:""} && { ${({hasDekDescriptionTextStyle:e,theme:t})=>e&&`\n ${(0,p.Gg)(t,"typography.definitions.consumptionEditorial.description-core")}\n `} ${({hasDeemphasizedColorStyle:e,theme:t})=>e&&`\n ${(0,p._o)(t,"color","colors.consumption.body.inverted.body-deemphasized")}\n `} } `,k=(0,m.Ay)(u.vm).withConfig({displayName:"CelebratedEntrypointTitle"})` margin-top: ${({isLiveStory:e})=>e?(0,p.Kq)(3,"px"):(0,p.Kq)(2,"px")}; margin-bottom: ${(0,p.Kq)(0,"px")}; ${({color:e,theme:t})=>e?`\n ${(0,p._o)(t,"color",b(e,"heading"))};\n `:""} ${({hedTextStyle:e,theme:t})=>"hedStyle"===e?`\n ${(0,p.Gg)(t,"typography.definitions.discovery.hed-core-primary")}\n `:`\n ${(0,p.Gg)(t,"typography.definitions.discovery.subhed-section-primary")}\n `} && { ${({hasHedLowerCaseText:e})=>!e&&"text-transform: uppercase;"} } `,x=(0,m.Ay)(y.A).withConfig({displayName:"CelebratedEntrypointButton"})` margin-bottom: ${(0,p.Kq)(3,"px")}; `,E=m.Ay.div.withConfig({displayName:"CelebratedEntrypointSponsor"})` ${({color:e,theme:t})=>e?`\n ${(0,p.Gg)(t,"typography.definitions.globalEditorial.syndication")};\n ${(0,p._o)(t,"color",b(e,"syndication"))};\n `:""} `,A=(0,m.Ay)(d.A).withConfig({displayName:"CelebratedEntrypointResponsiveAsset"})` max-width: 100%; height: auto; object-fit: cover; `;var S=n(85919);const L=({alignContent:e="right",asset:t,borders:n="off",className:o,color:i="black",ctaButtonvariations:r="primary",ctaCode:s,dangerousButtonText:d,dangerousText:m,dangerousTitle:u,hasDekDescriptionTextStyle:p=!1,hasBackground:g,isFullBleed:h=!1,hasDeemphasizedColorStyle:y=!1,hasHedLowerCaseText:b=!0,hasTextAlignLeft:L=!1,hedTextStyle:T="hedStyle",href:N,isDiscovery:H,isLiveStory:I=!1,liveIndicatorHeight:B,rubric:O,shouldDisplayRubric:_=!0,shouldDisplaySponsorName:K=!1,shouldEnableAnimation:P,shouldHighlightDekText:D=!1,shouldUseCutomColorLiveIndicator:q,sponsorByline:M="Sponsored By",sponsorName:R})=>{if(!(t&&d&&u&&m))return null;const F={label:d,inputKind:"link",target:"_self",rel:"noopener noreferrer",href:s?`${N}${s}`:`${N}?itm_content=homepage&itm_campaign=${u.toLowerCase().replace(/\s+/g,"-")}-homepage-module`,variations:{typeStyle:r}},U=D?m.replace("",''):m;return l.createElement(f,{className:a()("celebrated-entrypoint",o),isFullBleed:h},l.createElement(w,{isFullBleed:h,alignContent:e,borders:n,color:i},l.createElement($,{color:i},l.createElement(A,{...t})),l.createElement($,{color:i,className:"celebrated-entrypoint-column",shouldReducePadding:!0},l.createElement(v,{hasTextAlignLeft:L},I?l.createElement(S.A,{hasBackground:g,isDiscovery:H,shouldEnableAnimation:P,liveIndicatorHeight:B,shouldUseCutomColorLiveIndicator:q}):_&&O?["dark","black"].includes(i)?l.createElement(c.A.Inverted,{name:O}):l.createElement(c.A,{name:O}):null,l.createElement(k,{dangerouslySetInnerHTML:{__html:u},color:i,hedTextStyle:T,isLiveStory:I,hasHedLowerCaseText:b}),l.createElement(C,{dangerouslySetInnerHTML:{__html:U},color:i,hasDekDescriptionTextStyle:p,hasDeemphasizedColorStyle:y}),F.label?l.createElement(x,{...F}):null,K&&M&&R?l.createElement(E,{color:i},`${M} ${R}`):null))))};L.propTypes={alignContent:s().oneOf(["right","left"]),asset:s().shape(d.A.propTypes).isRequired,borders:s().oneOf(["on","off","bottom-only","top-only"]),className:s().string,color:s().oneOf(["black","brand","dark","light","white"]),ctaButtonvariations:s().oneOf(["primary","secondary","utility","utility-inverted","utility-pair-inverted","inverted-text","utility-pair-secondary"]),ctaCode:s().string,dangerousButtonText:s().string.isRequired,dangerousText:s().string.isRequired,dangerousTitle:s().string.isRequired,hasBackground:s().bool,hasDeemphasizedColorStyle:s().bool,hasDekDescriptionTextStyle:s().bool,hasHedLowerCaseText:s().bool,hasTextAlignLeft:s().bool,hedTextStyle:s().oneOf(["hedStyle","subHedStyle"]),href:s().string.isRequired,isDiscovery:s().bool,isFullBleed:s().bool,isLiveStory:s().bool,liveIndicatorHeight:s().string,rubric:s().string,shouldDisplayRubric:s().bool,shouldDisplaySponsorName:s().bool,shouldEnableAnimation:s().bool,shouldHighlightDekText:s().bool,shouldUseCutomColorLiveIndicator:s().bool,sponsorByline:s().string,sponsorName:s().string},L.displayName="CelebratedEntryPoint";const T=L,N=(0,o.y)(T,"CelebratedEntryPoint")},91402:(e,t,n)=>{n.d(t,{E:()=>y});var o=n(38267),i=n(5556),a=n.n(i),r=n(96540),s=n(53499),l=n(26865),d=n(18730);const c=o.Ay.div.withConfig({displayName:"TextBlockWrapper"})` ${({theme:e,hasTopRule:t})=>t?`\n border-width: 1px 0 0;\n border-style: solid;\n ${(0,l._o)(e,"border-color","colors.consumption.body.standard.divider")}\n ;`:""} padding: ${(0,l.Kq)(4)} 0; &.disclaimer { padding: ${(0,l.Kq)(2)} 0; width: 100%; } `,m=(0,o.Ay)(d.v).withConfig({displayName:"TextBlockHed"})``;m.defaultProps={bottomSpacing:2,colorToken:"colors.consumption.body.standard.body",typeIdentity:"typography.definitions.consumptionEditorial.subhed-break-secondary"};const u=(0,o.Ay)(d.v).withConfig({displayName:"TextBlockText"})``;u.defaultProps={colorToken:"colors.consumption.body.standard.body",typeIdentity:"typography.definitions.utility.legal-text"};const p=({className:e,dangerousText:t,hed:n,hasTopRule:o=!0,hasProductDisclaimerAlternativeStyle:i})=>(r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"Textblock"})},[]),r.createElement(c,{className:e,hasTopRule:o},n&&r.createElement(m,null,n),r.createElement(u,{dangerouslySetInnerHTML:{__html:t},hasProductDisclaimerAlternativeStyle:i})));p.propTypes={className:a().string,dangerousText:a().string.isRequired,hasProductDisclaimerAlternativeStyle:a().bool,hasTopRule:a().bool,hed:a().string};const g=p;var h=n(96472);const y=(0,o.Ay)(g).withConfig({displayName:"StyledTextblock"})` ${({hasMarginTop:e})=>e&&`\n ${(0,l.Xm)(h.LO.md,h.LO.lg)}{\n margin-top: ${(0,l.Kq)(6)};\n }\n ${(0,l.Xm)(h.LO.sm,h.LO.md)}{\n margin-top: ${(0,l.Kq)(4)};\n }\n `} display: flex; width: 100%; ${({contentAlign:e})=>"center"===e&&"justify-content: center;"} p { ${({contentAlign:e})=>"center"===e&&"\n text-align: center;\n width: 100%;\n "} ${({hasHorizontalPadding:e})=>e&&`padding: 0 ${(0,l.Kq)(2)};`} ${({hasHigherHorizontalPadding:e})=>e&&`\n padding: 0 ${(0,l.Kq)(6)};\n @media (min-width: ${h.LO.lg}) {\n width: 90%;\n }\n @media (max-width: ${h.LO.md}) {\n padding: 0 ${(0,l.Kq)(2.5)};\n }\n \n `} ${({isSponsored:e})=>!0===e&&"\n font-family: inherit;\n font-style: italic;\n "} ${({hasDisclaimerBottomMargin:e})=>e&&`\n ${(0,l.H4)(h.LO.md)}{\n margin-bottom: ${(0,l.Kq)(14)};\n }\n `} } `},91542:(e,t,n)=>{n.d(t,{A:()=>p});var o=n(96540),i=n(5556),a=n.n(i),r=n(67198),s=n(53499),l=n(54495);const{useEffect:d}=o,c=e=>{const t=new URL(e.newURL);(0,r.A)(t.hash)},m=e=>{(0,r.A)(e.currentTarget.hash)},u=e=>{const{children:t,attrs:{id:n},hasImageCreditText:i,productMultiImageCount:a}=e;d(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"AnchorCallout"})}),d(()=>{const e=document.querySelectorAll(`a[href='#${n}']`);return(e=>{e.length&&(window.addEventListener("hashchange",c),e.forEach(e=>{e.addEventListener("click",m)}))})(e),()=>{(e=>{e.length&&(window.removeEventListener("hashchange",c),e.forEach(e=>{e.removeEventListener("click",m)}))})(e)}},[n]);const{enhancedChildren:r}=(0,l.n)(t,i,a);return o.createElement("div",{style:{outline:"none"},id:n,tabIndex:"-1"},r)};u.propTypes={attrs:a().object.isRequired,children:a().node.isRequired,hasImageCreditText:a().bool,productMultiImageCount:a().number},u.displayName="AnchorCallout";const p=u},91668:(e,t,n)=>{n.d(t,{A:()=>re});var o=n(22354),i=n(13465),a=n(47655),r=n(5556),s=n.n(r),l=n(96540),d=n(6442);const c=(0,n(72267).defineMessages)({noticesContainer:{id:"SiteFooter.NoticesContainer",defaultMessage:"Notices",description:"ARIA label for Notices Container"},dropdown:{id:"SiteFooter.Dropdown",defaultMessage:"Select international site",description:"ARIA description for site dropdown"},oneTrustButtonLabel:{id:"SiteFooter.OneTrustButtonLabel",defaultMessage:"Your Privacy Choices",description:"ARIA description for site footer OneTrust button label"}});var m=n(48188),u=n(73275),p=n(77203),g=n(63175),h=n(53499),y=n(39832),b=n(38267),f=n(52813),w=n(7228),$=n(73730),v=n(30597),C=n(96472),k=n(1123),x=n(26865),E=n(89085),A=n(12972);const S=(0,b.Ay)(u.A).withConfig({displayName:"SiteFooterLogoResponsiveAsset"})` display: flex; justify-content: center; margin: 0 auto; max-height: ${(0,x.Kq)(4)}; ${(0,x.H4)(C.LO.lg)} { justify-content: flex-start; margin: 0; } ${w.BF} { width: auto; max-height: inherit; } `,L=b.Ay.div.withConfig({displayName:"SiteFooterLogo"})` align-self: end; `,T=b.Ay.div.withConfig({displayName:"SiteFooterAbout"})` ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.meta-primary")} margin-top: ${(0,x.Kq)(2)}; margin-bottom: ${(0,x.Kq)(5)}; color: ${(0,x.HK)("colors.foundation.footer.meta-primary")}; ${(0,x.H4)(C.LO.lg)} { padding-right: ${(0,x.Kq)(20)}; } `,N=b.Ay.p.withConfig({displayName:"SiteFooterLegaleseText"})` ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.meta-secondary")} order: 3; margin: 0; text-align: center; color: ${(0,x.HK)("colors.foundation.footer.meta-secondary")}; html[dir='rtl'] & { text-align: start; } ${(0,x.H4)(C.LO.lg)} { grid-area: footer-notices-legal; order: initial; text-align: left; } .external-link { ${({theme:e})=>(0,x.pe)(e,"colors.foundation.footer.meta-secondary",null)} color: ${(0,x.HK)("colors.foundation.footer.meta-secondary")}; } .external-link:link { text-decoration: underline; } `,H=b.Ay.div.withConfig({displayName:"SiteFooterLegaleseTextWrapper"})` display: contents; `,I=(0,b.Ay)(g.A.Footer).withConfig({displayName:"SiteFooterSocialIcons"})` ${({isLinkDense:e})=>e?b.AH` grid-area: footer-notices-social; grid-column: 1; ${(0,x.H4)(C.LO.lg)} { grid-column: -1/-5; justify-self: end; grid-row: 2; margin-top: ${(0,x.Kq)(4)}; } .social-icons__list-item { padding-right: ${(0,x.Kq)(.5)}; } ${(0,x.H4)(C.LO.lg)} { .social-icons__list-item:last-child { padding-right: 0; } } .social-icons__list-item a { width: 32px; height: 32px; ${(0,x.H4)(C.LO.lg)} { width: 32px; height: 32px; } } `:""} `,B=b.AH` /* stylelint-disable selector-max-id */ #fides-modal-link.consent-sdk-show-settings, #ot-sdk-btn.ot-sdk-show-settings, #ot-sdk-btn.optanon-show-settings { ${({theme:e})=>(0,x.pe)(e,"colors.foundation.footer.meta-secondary",null)} border: none; background-color: transparent; padding: ${(0,x.Kq)(.5)} ${(0,x.Kq)(1)} ${(0,x.Kq)(.5)} 0; line-height: 1; color: ${(0,x.HK)("colors.foundation.footer.meta-secondary")}; .button__label { color: ${(0,x.HK)("colors.foundation.footer.meta-secondary")}; } &:hover { background-color: inherit; text-decoration: none; color: ${(0,x.HK)("colors.foundation.footer.meta-secondary")}; } } #ot-sdk-btn.ot-sdk-btn-show--cookies { display: inline-block; ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.link-utility")} padding: ${(0,x.Kq)(.5)} ${(0,x.Kq)(2.5)} ${(0,x.Kq)(.5)} 0; height: ${(0,x.Kq)(5.625)}; } /* stylelint-enable selector-max-id */ `,O=b.Ay.div.withConfig({displayName:"SiteFooterConsentButtonContainer"})``,_=(0,b.Ay)($.A.Utility).withConfig({displayName:"SiteFooterConsentButton"})``,K=b.Ay.footer.withConfig({displayName:"SiteFooterWrapper"})` display: grid; grid-column: 1 / -1; background-color: ${(0,x.HK)("colors.foundation.footer.bg")}; ${(0,x.H4)(C.LO.lg)} { ${A.CG} { ${(0,f.Ic)()} } ${A.DC} { pointer-events: none; } } ${O} { display: table; margin: ${(0,x.Kq)(4)} auto ${(0,x.Kq)(8)}; } ${({isLinkDense:e})=>e?`\n display: block;\n\n ${L}{\n ${S}{\n ${(0,x.H4)(C.LO.lg)} {\n justify-content: center;\n }\n }\n }\n `:""} ${B} `,P=b.Ay.div.withConfig({displayName:"SiteFooterBrandInfo"})` grid-area: f-brand; `,D=b.AH` ${A.OJ} { ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.title-secondary")} transition: color ${C.L6.timingLinkNavigation} ease; color: ${(0,x.HK)("colors.foundation.footer.context")}; ${(0,x.H4)(C.LO.md)} { margin: 0 0 ${(0,x.Kq)(2)}; } ${(0,x.H4)(C.LO.lg)} { text-align: left; } } ${A.W9} { flex-direction: column; margin: 0; ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.list")} ${(0,x.L7)(C.LO.md)} { align-items: center; justify-content: center; text-align: center; } ${(0,x.H4)(C.LO.lg)} { justify-content: start; text-align: left; } } ${A.M8}, ${A.SE} { ${({theme:e})=>(0,x.pe)(e,"colors.foundation.footer.links.primary",null,"navigation")}; transition: color ${C.L6.timingLinkNavigation} ease; &:hover, &:focus, &:active { text-decoration: underline; } } ${A.J$} { margin-bottom: ${(0,x.Kq)(3)}; padding-right: 0; min-height: 0; ${(0,x.H4)(C.LO.md)} { margin-bottom: ${(0,x.Kq)(.5)}; } &:last-of-type { margin-bottom: 0; } } `,q=(0,b.Ay)(m.A.Vertical).withConfig({displayName:"SiteFooterNavigationVertical"})` grid-area: f-nav; ${D} `,M=(0,b.Ay)(m.A.Vertical).withConfig({displayName:"SiteFooterNavigationContactVertical"})` grid-area: f-nav-contact; ${D} `,R=b.Ay.div.withConfig({displayName:"SiteFooterNoticesWrapper"})` display: grid; grid-area: f-meta; justify-items: center; width: 100%; ${A.W9} { flex-direction: column; align-items: center; margin: 0; ${(0,x.H4)(C.LO.md)} { flex-direction: row; align-items: baseline; } } ${A.J$} { margin-bottom: ${(0,x.Kq)(.5)}; padding-right: 0; ${(0,x.H4)(C.LO.md)} { display: inline-flex; position: relative; align-items: center; margin-right: ${(0,x.Kq)(1)}; margin-bottom: 0; + ${A.J$} { &::before { display: inline-block; margin: auto; color: ${(0,x.HK)("colors.foundation.footer.links.secondary")}; content: '|'; } ${A.M8}, ${A.SE} { margin-left: ${(0,x.Kq)(1)}; } } } } `,F=b.Ay.div.withConfig({displayName:"SiteFooterNoticesContainerWrapper"})` display: grid; border-top: 2px solid ${(0,x.HK)("colors.foundation.footer.accent")}; padding: ${(0,x.Kq)(5)} 0 ${(0,x.Kq)(6)}; width: 100%; gap: var(--grid-gap); ${({isLinkDense:e})=>e?b.AH` border-bottom: 1px solid ${(0,x.HK)("colors.foundation.footer.accent")}; `:""} ${(0,x.H4)(C.LO.lg)} { grid-template-areas: 'footer-notices-navigation footer-notices-collection' 'footer-notices-legal footer-notices-legal'; grid-template-columns: 1fr auto; align-items: baseline; margin: 0; justify-items: start; } ${(0,x.H4)(C.LO.xl)} { margin: 0; } `,U=(0,b.Ay)(m.A.Horizontal).withConfig({displayName:"SiteFooterNavigationHorizontal"})` ${(0,x.H4)(C.LO.lg)} { grid-area: footer-notices-navigation; } ${A.W9} { ${A.M8}, ${A.SE} { transition: color ${C.L6.timingLinkNavigation} ease; &:hover, &:focus, &:active { text-decoration: underline; } } } ${A.W9} { ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.list")} ${(0,x.H4)(C.LO.md)} { justify-content: center; } ${(0,x.H4)(C.LO.lg)} { justify-content: start; } } ${A.J$} { min-height: 0; ${(0,x.H4)(C.LO.md)} { margin-bottom: ${(0,x.Kq)(.5)}; } &:last-of-type { margin-bottom: 0; } } ${A.M8}, ${A.SE} { ${({theme:e})=>(0,x.pe)(e,"colors.foundation.footer.links.secondary",null,"navigation")}; color: ${(0,x.HK)("colors.foundation.footer.links.secondary")}; } `,V=b.Ay.div.withConfig({displayName:"SiteFooterCollectionContainer"})` display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; ${(0,x.H4)(C.LO.lg)} { grid-area: footer-notices-collection; flex-direction: row; } `,G=b.Ay.div.withConfig({displayName:"SiteFooterGridNoMargins"})` ${(0,k.VO)()} ${(0,E.universalGridCore)()} && { grid-template-areas: 'f-brand f-brand f-brand f-brand' 'f-nav f-nav f-nav f-nav' 'f-nav-contact f-nav-contact f-nav-contact f-nav-contact' 'f-meta f-meta f-meta f-meta'; padding-top: ${(0,x.Kq)(6)}; text-align: center; justify-items: center; ${(0,x.H4)(C.LO.md)} { grid-template-areas: 'f-brand f-brand f-brand f-brand f-brand f-brand f-brand f-brand f-brand f-brand f-brand f-brand' 'f-nav f-nav f-nav f-nav f-nav f-nav f-nav-contact f-nav-contact f-nav-contact f-nav-contact f-nav-contact f-nav-contact' 'f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta'; } ${(0,x.H4)(C.LO.lg)} { grid-template-areas: 'f-brand f-brand f-brand f-brand f-brand f-nav f-nav f-nav f-nav f-nav-contact f-nav-contact f-nav-contact' 'f-brand f-brand f-brand f-brand f-brand f-nav f-nav f-nav f-nav f-nav-contact f-nav-contact f-nav-contact' 'f-brand f-brand f-brand f-brand f-brand f-nav f-nav f-nav f-nav f-nav-contact f-nav-contact f-nav-contact' 'f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta'; text-align: left; justify-items: start; } ${(0,x.H4)(C.LO.xl)} { grid-template-areas: 'f-brand f-brand f-brand f-brand f-brand f-brand f-nav f-nav f-nav f-nav-contact f-nav-contact f-nav-contact' 'f-brand f-brand f-brand f-brand f-brand f-brand f-nav f-nav f-nav f-nav-contact f-nav-contact f-nav-contact' 'f-brand f-brand f-brand f-brand f-brand f-brand f-nav f-nav f-nav f-nav-contact f-nav-contact f-nav-contact' 'f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta f-meta'; } ${(0,x.H4)(C.LO.max)} { position: relative; } ${({siteFooterSingleColumn:e})=>e?b.AH` grid-template-areas: 'f-brand' 'f-brand' 'f-brand' 'f-meta'; grid-template-columns: repeat(1, 1fr); `:""} ${({isLinkDense:e})=>e?b.AH` grid-row-gap: 0; padding-top: ${(0,x.Kq)(4)}; ${P} { grid-column: 1/-1; grid-row: 1; border-bottom: 1px solid ${(0,x.HK)("colors.foundation.footer.accent")}; width: 100%; text-align: center; ${(0,x.H4)(C.LO.lg)} { display: grid; grid-column-gap: var(--grid-gap); grid-template-columns: repeat(12, 1fr); ${L} { grid-column: 6 / -6; } ${T} { grid-column: 4 / -4; } } } ${L},${T} { margin-bottom: ${(0,x.Kq)(4)}; } ${T} { margin-top: 0; padding-right: 0; } ${q}, ${M} { width: 100%; padding-top: ${(0,x.Kq)(4)}; grid-area: unset; grid-column: 1 / -1; ${(0,x.H4)(C.LO.lg)} { padding: ${(0,x.Kq)(4)} 0; } ${A.OJ} { margin-bottom: ${(0,x.Kq)(4)}; text-align: left; ${(0,x.H4)(C.LO.lg)} { margin-bottom: ${(0,x.Kq)(1)}; } ${A.CG} { display: none; } } } ${q} { border-bottom: 1px solid ${(0,x.HK)("colors.foundation.footer.accent")}; ${(0,x.H4)(C.LO.lg)} { grid-column: 1 / span 6; grid-row: 2; border-bottom: none; } } ${M} { ${(0,x.H4)(C.LO.lg)} { grid-column: 7/-1; grid-row: 2; } } ${A.W9} { display: block; column-gap: var(--grid-gap); column-count: 2; height: auto; text-align: left; ul { display: block; } li { display: inline-block; margin-bottom: ${(0,x.Kq)(4)}; width: 100%; ${(0,x.H4)(C.LO.lg)} { grid-column: span 3; margin: 0; } a { white-space: normal; } } } ${R} { grid-area: unset; grid-column: 1/-1; } ${F} { grid-template-columns: repeat(1, 1fr); grid-row-gap: 0; margin: 0; border-top-width: 1px; padding: ${(0,x.Kq)(4)} 0 ${(0,x.Kq)(4)}; ${(0,x.H4)(C.LO.lg)} { grid-column-gap: 1.25rem; grid-template-columns: repeat(12, 1fr); max-width: none; } ${A.W9} { grid-template-columns: repeat(2, 1fr); ${(0,x.H4)(C.LO.lg)} { column-count: 4; } li::before { margin: 0; content: ''; } * a { margin: 0; } } } ${U} { width: 100%; ${(0,x.H4)(C.LO.lg)} { grid-column: 1/-1; border-bottom: 1px solid ${(0,x.HK)("colors.foundation.footer.accent")}; padding-bottom: ${(0,x.Kq)(4)}; } } ${V} { display: none; } ${N} { align-self: start; margin-top: ${(0,x.Kq)(4)}; text-align: left; ${(0,x.H4)(C.LO.lg)} { grid-column: 1/9; grid-row: 2; } } `:""} ${({shouldShowStamp:e})=>e&&`\n ${q} {\n ${(0,x.H4)(C.LO.lg)} {\n display: flex;\n flex-direction: column;\n justify-content: center;\n grid-column: 4 / span 4;\n }\n }\n\n ${P} {\n ${(0,x.H4)(C.LO.sm)} {\n height: 0;\n visibility: hidden;\n }\n }\n\n ${M} {\n ${(0,x.H4)(C.LO.lg)} {\n display: flex;\n flex-direction: column;\n justify-content: center;\n grid-column: 8/-1;\n }\n }\n &&& {\n ${A.W9} {\n ${(0,x.H4)(C.LO.lg)} {\n column-count: 2;\n }\n }\n\n ${F} {\n ${A.W9} {\n ${(0,x.H4)(C.LO.lg)} {\n column-count: 5;\n }\n }\n }\n }\n `} @media print { display: none; } } `,W=b.Ay.div.withConfig({displayName:"SiteFooterAboutText"})` margin: 0 ${(0,x.Kq)(4)}; ${(0,x.H4)(C.LO.lg)} { margin: 0; } `,j=b.Ay.p.withConfig({displayName:"SiteFooterDisclaimer"})` ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.foundation.meta-secondary")} margin: revert; padding: ${(0,x.Kq)(2)} ${(0,x.Kq)(6)} 0 ${(0,x.Kq)(6)}; text-align: center; color: ${(0,x.HK)("colors.foundation.footer.links.secondary")}; ${(0,x.H4)(C.LO.md)} { padding: ${(0,x.Kq)(2)} ${(0,x.Kq)(20)} 0 ${(0,x.Kq)(20)}; } ${(0,x.H4)(C.LO.lg)} { padding: ${(0,x.Kq)(2)} 0 0 0; text-align: left; } `,z=(0,b.Ay)(v.A.Footer).withConfig({displayName:"SiteFooterNavigationDropdown"})` margin: ${(0,x.Kq)(2)} 0 0; &:first-child { margin-top: 0; } ${(0,x.H4)(C.LO.lg)} { margin: 0 0 0 ${(0,x.Kq)(2)}; &:first-child { margin-left: 0; } } `,Y=b.Ay.p.withConfig({displayName:"SiteFooterCollection"})` ${({theme:e})=>(0,x.Gg)(e,"typography.definitions.utility.assistive-text")} margin: ${(0,x.Kq)(2)} 0 0; text-align: center; color: ${(0,x.HK)("colors.foundation.footer.links.secondary")}; ${(0,x.H4)(C.LO.md)} { margin-top: 0; } ${(0,x.H4)(C.LO.lg)} { max-width: 20vw; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; } `,X=((0,b.Ay)("div").withConfig({displayName:"SiteFooterStoryBookGrid"})` ${(0,E.universalGridCore)()} ${(0,k.aU)("padding")} `,b.Ay.div.withConfig({displayName:"SiteFooterLogoStamp"})` display: flex; grid-column: 1/-1; grid-row: 2; justify-content: left; border-bottom: 1px solid ${(0,x.HK)("colors.foundation.footer.accent")}; padding: 0 0 ${(0,x.Kq)(4)} 0; width: 100%; ${S} { width: ${(0,x.Kq)(30)}; max-height: unset; } ${(0,x.H4)(C.LO.lg)} { grid-column: 1 / 4; border-bottom: none; } `),Z=(new Date).getFullYear(),J=({brandName:e,dangerousLegalese:t})=>l.createElement(l.Fragment,null,l.createElement(H,{"data-nosnippet":"true"},t?l.createElement(N,{id:"dangerous-legalese-brand-text",dangerouslySetInnerHTML:{__html:t}}):l.createElement(N,{"data-testid":"dangerous-legalese-brand-text"},"© ",Z," Condé Nast. All rights reserved. ",l.createElement("em",null,e)," may earn a portion of sales from products that are purchased through our site as part of our Affiliate Partnerships with retailers. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Condé Nast."," ",l.createElement(y.A,{href:"http://www.aboutads.info"},"Ad Choices"))));J.propTypes={brandName:s().string.isRequired,dangerousLegalese:s().string};const Q=J;var ee=n(48990),te=n(8877);const ne=({aboutText:e,appDownloadUrls:t=[],brandName:n,className:o,comScoreCollectionName:i,contactLinks:a,contactLinksHeading:r,dangerousLegalese:s,disclaimerText:m="",hideTagline:u=!1,internationalInfo:g,isEthycaEnabled:y,logo:b,logoBaseUrl:f="/",navigationLinks:w,navigationLinksHeading:$,noticesLinks:v,showOneTrustButton:C,socialIconsProps:k,variations:{isLinkDense:x}={},variationName:E,footerStamp:A=null})=>{l.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(h.G.RENDER,{name:"SiteFooter",variation:E})},[E]);const N=(0,d.A)(),H=a?.length||w?.length,B=l.createElement(I,{isLinkDense:x,...k}),D=(0,te.B)(),Z=(0,ee.Qo)();return l.createElement(K,{className:o,isLinkDense:x,"data-testid":"site-footer-wrapper"},l.createElement(G,{className:H?"":"site-footer--single-column",siteFooterSingleColumn:!H,isLinkDense:x,shouldShowStamp:Boolean(A),"data-testid":"SiteFooterGridNoMargins"},l.createElement(P,null,l.createElement(L,{className:"site-footer__logo"},l.createElement("a",{href:f},l.createElement(S,{...b,className:"site-footer__responsive-image"}))),!u&&l.createElement(T,{"data-testid":"SiteFooterAbout"},l.createElement(W,null,e)),!x&&B,m&&l.createElement(j,{dangerouslySetInnerHTML:{__html:m}}),t?.length>0&&l.createElement(p.A,{appDownloadUrls:t})),A&&l.createElement(X,null,l.createElement(S,{...A,className:"site-footer__stamp"})),w?.length>0&&l.createElement(q,{isCollapsible:!0,attributes:{"aria-label":$},heading:$,links:w}),a?.length>0&&l.createElement(M,{isCollapsible:!0,attributes:{"aria-label":r},heading:r,links:a}),l.createElement(R,null,l.createElement(F,{isLinkDense:x},v&&l.createElement(U,{attributes:{"aria-label":N.formatMessage(c.noticesContainer)},links:v,showOneTrustButton:!x&&C,isEthycaEnabled:!x&&y}),l.createElement(Q,{brandName:n,dangerousLegalese:s}),l.createElement(V,null,i&&l.createElement(Y,null,i),g?.internationalSites?.length>0&&l.createElement(z,{id:"site-footer-dropdown","data-testid":"site-footer-dropdown",assistiveLabel:N.formatMessage(c.dropdown),label:g?.homeLocation?.name,showLabel:!0,options:g.internationalSites})),x&&B))),x&&l.createElement(O,null,l.createElement(ee.a2,null),D&&l.createElement(_,{id:y?"fides-modal-link":"ot-sdk-btn",className:y?"consent-sdk-show-settings":"ot-sdk-show-settings ot-sdk-btn-show--cookies",label:Z??N.formatMessage(c.oneTrustButtonLabel),isInline:!0})))};ne.displayName="SiteFooter",ne.propTypes={aboutText:s().string,appDownloadUrls:s().array,brandName:s().string.isRequired,className:s().string,comScoreCollectionName:s().string,contactLinks:m.A.propTypes.links,contactLinksHeading:s().string.isRequired,dangerousLegalese:s().string,disclaimerText:s().string,footerStamp:s().shape(u.A.propTypes),hideTagline:s().bool,internationalInfo:s().object,isEthycaEnabled:s().bool,logo:s().shape(u.A.propTypes).isRequired,logoBaseUrl:s().string,navigationLinks:m.A.propTypes.links,navigationLinksHeading:s().string.isRequired,noticesLinks:m.A.propTypes.links,shouldShowStamp:s().bool,showOneTrustButton:s().bool,socialIconsProps:s().shape(g.A.propTypes).isRequired,variationName:s().string,variations:s().shape({isLinkDense:s().bool})};const oe=ne;oe.LinkDense=(0,a.y)(oe,"LinkDense",{isLinkDense:!0});const ie=oe,ae=(0,i.y)(ie,"SiteFooter"),re=(0,o.Ng)(e=>{const{brandName:t,comScoreCollectionName:n,footerLogo:o,legalese:{dangerousLegalese:i},navigation:{aboutText:a,appDownloadUrls:r,contactLinks:s,contactLinksHeading:l,footerLinks:d,footerLinksHeading:c,isEthycaEnabled:m,internationalInfo:u,noticesLinks:p,socialLinks:g},footerStamp:h,logoBaseUrl:y}=e;return{aboutText:a,appDownloadUrls:r,brandName:t,className:"site-footer--with-store",contactLinks:s,contactLinksHeading:l,comScoreCollectionName:n,internationalInfo:u,isEthycaEnabled:m,logo:o,logoBaseUrl:y,navigationLinks:d,dangerousLegalese:i,navigationLinksHeading:c,noticesLinks:p,socialIconsProps:{links:g},footerStamp:h}},null,(e,t,n)=>{const{className:o}=n,i={};return o&&(i.className=`${e.className} ${o}`),{...n,...e,...t,...i}})(ae)},92027:(e,t,n)=>{n.d(t,{A:()=>C});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(6442),d=n(10553),c=n(62327),m=n(76997),u=n(91470),p=n(73275),g=n(90072),h=n(33193),y=n(5239);const{useState:b,Fragment:f}=s,w="landscape",$="portrait",v=({awards:e,className:t,captionWidth:n="standard",containerTheme:o,lede:a,mediaWidth:r,shouldRenderRailAnchor:p,showFullWidthLeadImage:v,themeClassName:C,hasLightboxButton:k,hasStaticPositionedAward:x=!1,hideLedeCaption:E=!1,shouldAlignCenterWhenNoCaption:A=!1})=>{const[S,L]=b((e=>{const t=e?.masterAspectRatio?.split(":");return e?.restrictCropping&&2===t?.length&&Number(t[0])/Number(t[1])<=1?$:w})(a)),{formatMessage:T}=(0,l.A)(),N=(0,g.w)(a),H="cnevideo"===a.modelName,I="gallery"===a.modelName,B="clip"===a.modelName;let O=null;H&&a.cneVideoOverrides&&Object.keys(a.cneVideoOverrides).length&&(O={...a.cneVideoOverrides});const _=!E&&(a.caption&&a.caption.trim()||a.credit&&a.credit.trim()),K=A&&(!a.caption||""===a.caption),P=s.createElement(y.hx,{captionTheme:o,dangerousCaptionText:a.caption,dangerousCredit:a.credit,mediaWidth:r,isLedeTextCenterForMobile:K}),D=O?{shouldAutoplay:Boolean(!O.disableAutoplay),shouldMute:Boolean(O.muted),shouldPlayContinuously:Boolean(O.continuousPlay),isStickyType:Boolean(O.sticky),shouldDisableAds:Boolean(O.disableAds),shouldLoopVideo:Boolean(O.loopVideo)}:{shouldAutoplay:!0},q=s.createElement(y.zw,{...N,onAssetLoaded:({width:e,height:t})=>{e/t<=1&&L($)},shouldRestrictCropping:a?.restrictCropping,masterAspectRatio:a?.masterAspectRatio,shouldHoldImageSpace:!0,mediaWidth:r,"data-testid":"assetMedia"});return s.createElement(f,null,s.createElement(y.nw,{className:i()("lead-asset",t,C,`lead-asset--width-${r}`),mediaWidth:r,ledeContentType:a.contentType,ledeAssetOrientation:S,"data-testid":"ContentHeaderLeadAsset"},s.createElement(y.KW,null,s.createElement(y.ID,{ledeContentType:a.contentType,showFullWidthLeadImage:v,mediaWidth:r,className:`lead-asset__content__${a.contentType}`},!H&&!I&&!B&&s.createElement(f,null,e&&!x&&s.createElement(y.hw,{awards:e,hasStaticPositionedAward:x}),q),H&&a.scriptEmbedUrl&&s.createElement(d.A,{...D,animationClip:a.animationClip,categories:a.categories,isLive:a.isLive,scriptUrl:a.scriptEmbedUrl,shouldHaveTeaser:!0,title:a.title,videoEmbedPosition:c.m1}),I&&s.createElement(m.A,{...a,showNoAdsFromParent:!0}),B&&q,k&&s.createElement(y.kU,{onClickHandler:()=>{document.querySelector(".responsive-image--expandable").click()},ButtonIcon:()=>s.createElement(u.Gallery,null),hasEnableIcon:!0,btnStyle:"text",iconPosition:"before",inputKind:"button",isStaticText:!0,label:T(h.A.showAllPhotos),shouldRenderCaption:_}),_&&"fullbleed"!==n&&P,e&&x&&s.createElement(y.hw,{awards:e,hasStaticPositionedAward:x}))),p&&s.createElement(y.Ck,{"data-testid":"ContentHeaderLeadRailAnchor"})),_&&"fullbleed"===n&&s.createElement(y.zT,{className:C},s.createElement(y.PJ,null,P)))};v.propTypes={awards:r().array,captionWidth:r().oneOf(["standard","fullbleed"]),className:r().string,containerTheme:r().oneOf(["standard","inverted","special"]),hasLightboxButton:r().bool,hasStaticPositionedAward:r().bool,hideLedeCaption:r().bool,lede:r().oneOfType([r().shape(p.A.propTypes),r().shape(d.A.propTypes)]).isRequired,mediaWidth:r().oneOf(["small","smallrule","grid","fullbleed"]),shouldAlignCenterWhenNoCaption:r().bool,shouldRenderRailAnchor:r().bool,showFullWidthLeadImage:r().bool,themeClassName:r().string};const C=v},92704:(e,t,n)=>{n.d(t,{M:()=>o,N:()=>a});var o,i=n(53836);!function(e){e.CONSENT_DEFAULT="CONSENT_DEFAULT",e.CONSENT_ACCEPTED="CONSENT_ACCEPTED",e.CONSENT_REJECTED="CONSENT_REJECTED",e.CONSENT_UPDATED="CONSENT_UPDATED"}(o||(o={}));class a extends i.J{constructor(){super(10)}}},92729:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(96540),i=n(5556),a=n.n(i),r=n(54634),s=n(97024),l=n(47655),d=n(99906);const c=({actionBarLargeScreenVariation:e,actionBarMobileScreenVariation:t,className:n,isActionBarStickyLargeScreen:i=!1,image:a,actionBarButtons:l,articleLength:c,showActionBar:m=!1,isFirstActionBar:u,showOverlayActionBar:p})=>{if(!l||!l?.length||!m)return null;const g=e?r.A[e]:r.A,h=t?r.A[t]:r.A;return e||t?o.createElement(s.U,{"data-testid":"action-bar-wrapper",className:n,isActionBarStickyLargeScreen:i,actionBarHeight:c,isFirstActionBar:u,showOverlayActionBar:p},o.createElement(s.M,null,o.createElement(g,{minScreenThreshold:d.th.xLarge,actionButtons:l,className:"large-screen",image:a}),o.createElement(h,{maxScreenThreshold:d.th.large,actionButtons:l,className:"mobile",image:a}))):o.createElement(s.U,{"data-testid":"action-bar-wrapper",className:n,isActionBarStickyLargeScreen:i,actionBarHeight:c,isFirstActionBar:u,showOverlayActionBar:p},o.createElement(s.M,null,o.createElement(r.A,{actionButtons:l,className:"default",image:a})))};c.propTypes={actionBarButtons:a().arrayOf(a().oneOf(["audio","bookmark","print","jumpToSection","comments"])).isRequired,actionBarLargeScreenVariation:a().oneOf((0,l._)(r.A)),actionBarMobileScreenVariation:a().oneOf((0,l._)(r.A)),articleLength:a().number,className:a().string,image:a().object,isActionBarStickyLargeScreen:a().bool,isFirstActionBar:a().bool,showActionBar:a().bool,showOverlayActionBar:a().bool};const m=c},92920:(e,t,n)=>{n.d(t,{A:()=>u});var o=n(96540),i=n(90090),a=n(11542),r=n(43786),s=n(29727),l=n(29164),d=n(14307);class c extends o.Component{constructor(e){super(e),this.state={}}async componentDidMount(){let e,t;const n=this.props.newsletters&&this.props.newsletters.map(e=>e.newsletterId)||[];if(document){e="nl"===new URLSearchParams(document.location.search).get("utm_source")}const{user:o,userPlatform:a}=this.props,{userPlatformProxy:r,xClientID:s}=a||{};if(o.isAuthenticated){const e={amgUUID:o.amguuid,newsletterIds:n,userPlatformProxy:r,xClientID:s,provider:"sailthru"},i=(await this.fetchNewsletterSubscriptions(e)).filter(e=>"SUBSCRIBED"===e.attributes.status).map(e=>e.attributes.newsletterId);t=n.find(e=>!i.includes(e))}else t=n[0];this.props.isNewsletterSlim&&!e&&t&&(0,i.W8)("newsletter-loaded-inlineslim",{newslettterId:t}),this.setState({...this.state,isSourceNewsletter:e,newsletterToShow:t})}async fetchNewsletterSubscriptions(e){try{const t=await(0,s.k)(e);if(200===t.status)return t.newsletterSubscriptions&&t.newsletterSubscriptions.data}catch(e){}return{}}render(){let e;const{isNewsletterSlim:t,isNewsletterAggressive:n,hasSlimAlternateStyle:i,newsletterType:a,patternType:s,showToggleForLoggedInUser:c,user:m,isArticlePage:u}=this.props;("aggressive-newsletter"===a&&n||"slim-newsletter"===a&&t)&&(e=!0);const{isSourceNewsletter:p,newsletterToShow:g}=this.state,h=this.props.newsletters&&this.props.newsletters.find(e=>e.newsletterId===g);if(p||!e||!h)return null;const{newsletterId:y,dangerousHed:b="",frequencyBadge:f="",sourceCode:w=""}=h;return o.createElement(l.A,{onIntersectionViewport:(e,t)=>{if(!e)return;t();const n={type:"impression",newsletter_id:String(y),newsletter_title:b,cadence:f,subject:w};(0,d.pu)(n)},observerOptions:{rootMargin:"0px"},className:"content-footer-newsletter-viewport"},o.createElement(r.A,{...h,enableSlimUnitToggle:c&&m?.isAuthenticated&&m?.email,hasSlimAlternateStyle:i,newsletterType:a,patternType:s,userEmail:m?.isAuthenticated&&m?.email,isArticlePage:u}))}}c.propTypes=r.A.propTypes,c.defaultProps=r.A.defaultProps,c.displayName="SlimNewsletterWrapper";const m=(0,a.M3)(c,{keysToPluck:["user","userPlatform"]});const u=(0,n(13465).y)(m,"SlimNewsletterWrapper")},94107:(e,t,n)=>{n.d(t,{A:()=>S});var o=n(13465),i=n(31581),a=n(21013),r=n.n(a),s=n(5556),l=n.n(s),d=n(96540),c=n(38080),m=n(99906),u=n(35864),p=n(52663),g=n(22539),h=n(53499),y=n(94776),b=n(15641),f=n(40396),w=n(98012);const $=(e,t,n)=>{const o=((e,t)=>e||!!t&&y.F[t]?.isGrid)(e,n);let i;return i=t?o?f.A.ThreeColumnsWithAdSection:w.A.WithAside:o?f.A:w.A,i};var v=n(95768),C=n(11542),k=n(16695);const x=(e=null)=>e?.replace(/]*>(.*?)<\/a>/gi,"$1");class E extends d.Component{componentDidMount(){window.Kendra.TRACK_COMPONENT.broadcast(h.G.RENDER,{name:"SummaryRiver"})}render(){const{btnStyle:e,buttonType:t="more",chunkSize:n=4,className:o,clickItem:i,columnAmountForMobile:a=1,columnAmountForTablet:s,columnsHasUnderlineHed:l,content:m,contentTitle:p,currentPage:g,dangerousDek:h,filter:f,dangerousHed:w,handleLoadMore:C,hideBottomBorders:E,hasBottomBorderOnLargeScreen:A,hasBottomBorderLargeMargin:S,hasExtraTitlePadding:L=!1,hasLineAboveBelowInTitle:T=!1,hasLineAboveBelowTitleHead:N=!1,hasScrollOffset:H=!1,shouldTrackItemImpressionForSnowplow:I,hasSideBySideMobileOnlyImageRight:B,hasRail:O=!0,hasReducedMargin:_=!1,hasRule:K=!0,hasTitleTopMargin:P=!1,hasUnderlineHed:D,hideBylinesUntil:q="sm",hideRubricItemSummary:M,itemInViewGAEventName:R,isFullBleedMobile:F=!1,isLoading:U=!1,isMidContentAdsDisabled:V,items:G,label:W="More Stories",landingPageLink:j,layout:z="",link:Y,maxDekLines:X,maxDekLinesInMobile:Z,maxDekLinesInTablet:J,maxDekLinesInDesktop:Q,maxDekLinesInLargeDesktop:ee,maxDekLinesInExtraLargeDesktop:te,nextPage:ne,onMoreClick:oe=()=>{},previousPageUrl:ie,promoUnits:ae=[],queryParamsForPagination:re,searchTerm:se,sectionTitleVariation:le="TextCenter",shouldAppendReadMoreLinkForDek:de,shouldDekHideOnMobileAndShowOnTablet:ce=!1,shouldDisplayLoadMore:me=!1,shouldEnableBookmarkDrawers:ue,shouldEnableCardLevelBookmark:pe,shouldEnableBundleComponentAnalytics:ge,shouldEnableCommentsCount:he,shouldFetchBITokens:ye=!1,shouldHideBottomBorderForLastItem:be=!1,shouldHideBylines:fe,shouldHideDangerousDek:we,shouldHideMetadataSecondary:$e,shouldHidePublishDate:ve=!0,shouldHideSponsoredAd:Ce=!1,shouldHideVideoDek:ke=!1,showRecircMostPopularInAsideWithRail:xe=!1,recircMostPopularItems:Ee,shouldLimitSavingToContentTypes:Ae,shouldShowRiverDek:Se=!1,shouldShowRiverHed:Le=!1,shouldShowButton:Te,shouldShowSourceTagName:Ne,shouldTruncateDek:He,shouldTreatTabletLikeMobile:Ie,shouldUseBookmarkV2:Be,shouldUseDangerousDekAsLink:Oe=!1,shouldUseGrid:_e=!1,shouldUseRiverDekAsGridDek:Ke,shouldUseRiverHedAsGridHed:Pe,shouldUseSmallImageMobileOnly:De=!1,shouldVerticallyAlignHed:qe,sideBySideVerticalAlign:Me,sort:Re,summaryItemClassName:Fe,summaryItemRubricVariation:Ue,summaryItemVariation:Ve="SideBySideDesktopOnly",summaryItemVariationList:Ge,recircRiver:We,hasMoreItems:je,summaryItemHedTag:ze,gridColSpanValue:Ye=0,topSpacingInRem:Xe=0,totalResults:Ze,trackingNamespace:Je,handleTrackSearchFilterEvent:Qe,handleGridItemImpression:et,adsSettings:{summaryRiverMidContentCadence:tt}}=this.props,nt=O&&(!z||y.F[z]?.hasRail),ot=$(_e,nt,z),it=_e?{columnsHasUnderlineHed:l,hasBorder:!E,hasBottomBorderLargeMargin:S,hasBottomBorderOnLargeScreen:A,shouldEnableBundleComponentAnalytics:ge,shouldShowButton:Te,dangerousHed:Pe?w:null,dangerousDek:Ke?h:null,shouldTreatTabletLikeMobile:Ie,trackingNamespace:Je||w}:{},at=G.map(e=>({...e,dangerousDek:x(e.dangerousDek),source:{...e.source,hed:e.source?.hed?.replace(/\\/g,"")}})),[...rt]=at,st=tt??n,lt=r()(rt,st),dt=u.default[le];let ct=0;const mt=e=>(e&&ct++,ct),ut=(({dangerousDek:e,landingPageLink:t,shouldUseDangerousDekAsLink:n})=>n&&e?{html:e}:t||null)({dangerousDek:h,landingPageLink:j,shouldUseDangerousDekAsLink:Oe}),pt=y.F[z]?.map||Ge;return d.createElement(b.yV,{className:o,isFullBleedMobile:F,gridColSpanValue:Ye,showRecircMostPopularInAsideWithRail:xe,"data-testid":"SummaryRiverWrapper",topSpacingInRem:Xe},lt.map((n,o)=>{const r=lt.length===o+1,l=0===o;return d.createElement(b.yj,{key:o,"data-testid":"SummaryRiverSection"},Le&&l&&w&&d.createElement(b.UI,{id:w,hasDividerAbove:T||N||!P,hasExtraTitlePadding:L,hasScrollOffset:H},d.createElement(dt,{dangerousHed:w,dangerousDek:Se?h:void 0,hasDividerAbove:T||N,hasDividerBelow:T,hasDividerAboveDek:N,hedTag:"h2",link:ut})),d.createElement(v.A,{isPhotoBookmarkingEnabled:ue},d.createElement(k.N,null,d.createElement(b.RF,{as:ot,buttonType:t,btnStyle:e,hasRule:l&&K,adCounter:mt,chunkIndex:o,hideBottomBorderForLastItem:be&&r,chunkSize:st,columnAmountForMobile:a,columnAmountForTablet:s,chunksTotal:lt.length,currentPage:g,hasMoreItems:je,isLastChunk:r,clickFunction:C,clickItem:i,onMoreClick:oe,link:Y,maxDekLines:X,maxDekLinesInMobile:Z,maxDekLinesInTablet:J,maxDekLinesInDesktop:Q,maxDekLinesInLargeDesktop:ee,maxDekLinesInExtraLargeDesktop:te,nextPage:ne,previousPageUrl:ie,isLoading:U,items:n,itemInViewGAEventName:R,shouldTrackItemImpressionForSnowplow:I,hasReducedMargin:_,hasUnderlineHed:D,hasSideBySideMobileOnlyImageRight:B,hideBylinesUntil:q,hideRubricItemSummary:M,label:W,queryParamsForPagination:re,shouldAppendReadMoreLinkForDek:de,shouldDekHideOnMobileAndShowOnTablet:ce,shouldDisplayLoadMore:me,shouldFetchBITokens:ye,shouldHideBylines:fe,shouldHideDangerousDek:we,shouldHideMetadataSecondary:$e,shouldHideSponsoredAd:Ce,shouldHidePublishDate:ve,shouldHideVideoDek:ke,shouldTruncateDek:He,shouldUseSmallImageMobileOnly:De,shouldVerticallyAlignHed:qe,sideBySideVerticalAlign:Me,summaryItemClassName:Fe,summaryItemRubricVariation:Ue,summaryItemVariation:Ve,summaryItemVariationList:pt,recircRiver:We,summaryItemHedTag:ze,hideBottomBorders:E,showRecircMostPopularInAsideWithRail:xe,recircMostPopularItems:Ee,totalResults:Ze,...it,filter:f,sort:Re,content:m,searchTerm:se,shouldShowSourceTagName:Ne,shouldUseBookmarkV2:Be,shouldEnableBookmarkDrawers:ue,shouldEnableCardLevelBookmark:pe,shouldEnableCommentsCount:he,shouldLimitSavingToContentTypes:Ae,contentTitle:p,handleGridItemImpression:et,handleTrackSearchFilterEvent:Qe}))),!r&&ae&&!V&&d.createElement(d.Fragment,null,ae[o],d.createElement(c.Z,{group:"ads"},d.createElement(b.Ob,{position:"mid-content",shouldDisplayLabel:!0}))))}))}}E.propTypes={adsSettings:l().shape({summaryRiverMidContentCadence:l().number}),btnStyle:l().oneOf(["filled","outlined","text"]),buttonType:l().oneOf(["more","pagination"]),chunkSize:l().number,className:l().string,contentTitle:l().string,clickItem:l().func,columnAmountForMobile:l().number,columnAmountForTablet:l().number,columnsHasUnderlineHed:l().shape({hasUnderlineHedForColumnAmount2:l().bool,hasUnderlineHedForColumnAmount3:l().bool,hasUnderlineHedForColumnAmount4:l().bool}),content:l().string,currentPage:l().number,dangerousDek:l().string,dangerousHed:l().string,filter:l().string,gridColSpanValue:l().number,handleLoadMore:l().func,handleGridItemImpression:l().func,hasBottomBorderLargeMargin:l().bool,hasBottomBorderOnLargeScreen:l().bool,hasExtraTitlePadding:l().bool,hasLineAboveBelowInTitle:l().bool,hasLineAboveBelowTitleHead:l().bool,hasMoreItems:l().bool,hasRail:l().bool,hasReducedMargin:l().bool,hasRule:l().bool,hasScrollOffset:l().bool,hasSideBySideMobileOnlyImageRight:l().bool,hasTitleTopMargin:l().bool,hasUnderlineHed:l().bool,hideBottomBorders:l().bool,hideBylinesUntil:l().oneOf(m.LR),hideRubricItemSummary:l().bool,isFullBleedMobile:l().bool,isLoading:l().bool,isMidContentAdsDisabled:l().bool,itemInViewGAEventName:l().string,items:l().arrayOf(l().shape(p.A.propTypes)).isRequired,label:l().string,landingPageLink:l().shape({url:l().string,label:l().string}),layout:l().oneOf([...Object.keys(y.F),""]),link:l().string,maxDekLines:l().number,maxDekLinesInDesktop:l().number,maxDekLinesInExtraLargeDesktop:l().number,maxDekLinesInLargeDesktop:l().number,maxDekLinesInMobile:l().number,maxDekLinesInTablet:l().number,nextPage:l().string,onMoreClick:l().func,previousPageUrl:l().string,promoUnits:l().array,queryParamsForPagination:l().array,recircMostPopularItems:l().array,recircRiver:l().string,searchTerm:l().string,sectionTitleVariation:g.t.sectionTitleVariation,shouldAppendReadMoreLinkForDek:l().bool,shouldDekHideOnMobileAndShowOnTablet:l().bool,shouldDisplayLoadMore:l().bool,shouldEnableBookmarkDrawers:l().bool,shouldEnableBundleComponentAnalytics:l().bool,shouldEnableCardLevelBookmark:l().bool,shouldEnableCommentsCount:l().bool,shouldFetchBITokens:l().bool,shouldHideBottomBorderForLastItem:l().bool,shouldHideBylines:l().bool,shouldHideDangerousDek:l().bool,shouldHideMetadataSecondary:l().bool,shouldHidePublishDate:l().bool,shouldHideSponsoredAd:l().bool,shouldHideVideoDek:l().bool,shouldLimitSavingToContentTypes:l().array,shouldShowButton:l().bool,shouldShowRiverDek:l().bool,shouldShowRiverHed:l().bool,shouldShowSourceTagName:l().bool,shouldTrackItemImpressionForSnowplow:l().bool,shouldTreatTabletLikeMobile:l().bool,shouldTruncateDek:l().bool,shouldUseBookmarkV2:l().bool,shouldUseDangerousDekAsLink:l().bool,shouldUseGrid:l().bool,shouldUseRiverDekAsGridDek:l().bool,shouldUseRiverHedAsGridHed:l().bool,shouldUseSmallImageMobileOnly:l().bool,shouldVerticallyAlignHed:l().bool,showRecircMostPopularInAsideWithRail:l().bool,sideBySideVerticalAlign:l().oneOf(["top","center"]),sort:l().string,summaryItemClassName:l().string,summaryItemHedTag:l().oneOf(["div","h2","h3"]),summaryItemRubricVariation:l().string,summaryItemVariation:g.t.summaryItemVariation,summaryItemVariationList:l().arrayOf(g.t.summaryItemVariation),topSpacingInRem:l().number,totalResults:l().number,trackingNamespace:l().string,handleTrackSearchFilterEvent:l().func},E.displayName="SummaryRiver";const A=(0,C.M3)(E,{keysToPluck:["adsSettings"]}),S=(0,i.N)((0,o.y)(A,"SummaryRiver"))},94409:(e,t,n)=>{n.d(t,{A:()=>o});const o=e=>{if(!window)return{};const{bottom:t,left:n,right:o,top:i}=e.getBoundingClientRect(),a=e.currentStyle||window.getComputedStyle(e);return{bottom:t+parseFloat(a.marginBottom),left:n-parseFloat(a.marginLeft),right:o+parseFloat(a.marginRight),top:i-parseFloat(a.marginTop)}}},94528:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({hed:{id:"OpenAIModal.Hed",defaultMessage:"ASK AI",description:"OpenAIModal component hed text"},subHed:{id:"OpenAIModal.subHed",defaultMessage:"Ask to tailor and pair Bon Appétit recipes to your taste and needs—or for recommendations that satisfy your cravings.",description:"OpenAIModal component sub hed text"},textInputPlaceholderText:{id:"OpenAIModal.textInputPlaceholderText",defaultMessage:"Ask anything",description:"OpenAIModal component text input placeholder Text"},disclaimerText:{id:"OpenAIModal.disclaimerText",defaultMessage:"AI can make mistakes—check ingredients meet dietary needs",description:"OpenAIModal component text input helper text"},closeButtonLabel:{id:"OpenAIModal.closeButtonLabel",defaultMessage:"Close Open AI Modal",description:"OpenAIModal component close button label"},closeButtonAriaLabel:{id:"OpenAIModal.closeButtonAriaLabel",defaultMessage:"Close Open AI Modal",description:"OpenAIModal component close button aria label"},openAIEntryPointButtonLabel:{id:"OpenAIModal.openAIEntryPointButtonLabel",defaultMessage:"ASK AI",description:"Label for the Open AI entry point button"},loadingText:{id:"OpenAIModal.loadingText",defaultMessage:"Cooking results",description:"Text displayed while waiting for AI response"},scrollToBottomAriaLabel:{id:"OpenAIModal.scrollToBottomAriaLabel",defaultMessage:"Scroll to bottom",description:"Aria label for the scroll to bottom button"},aiChatBotTickerHed1:{id:"AIChatBotTicker.hed1",defaultMessage:"Need to make a substitution?",description:"AIChatBotTicker component hed text1"},aiChatBotTickerHed2:{id:"AIChatBotTicker.hed2",defaultMessage:"Looking for the perfect pairing?",description:"AIChatBotTicker component hed text2"},aiChatBotTickerHed3:{id:"AIChatBotTicker.hed3",defaultMessage:"Want to turn this into a meal plan?",description:"AIChatBotTicker component hed text3"},aiChatBotTickerHed4:{id:"AIChatBotTicker.hed4",defaultMessage:"Need to adjust the measurements?",description:"AIChatBotTicker component hed text 4"},promptHeaderText:{id:"OpenAIModal.promptHeaderText",defaultMessage:"Starters",description:"Header text for prompt suggestions"},defaultPrompt1:{id:"OpenAIModal.defaultPrompt1",defaultMessage:"Can you recommend some seasonal side dishes?",description:"Default prompt suggestion 1"},defaultPrompt2:{id:"OpenAIModal.defaultPrompt2",defaultMessage:"Can you make me a gluten-free meal plan?",description:"Default prompt suggestion 2"},defaultPrompt3:{id:"OpenAIModal.defaultPrompt3",defaultMessage:"Can you recommend an easy, healthy dinner?",description:"Default prompt suggestion 3"}})},94587:(e,t,n)=>{n.d(t,{A:()=>p});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(12564),l=n(53499),d=n(71750),c=n(87468);const m=({className:e,contributors:t,dangerousDek:n,directoryCategories:o,applyNowButton:i=[],hasTopMargin:a=!1,hasMarginBottom:c=!1,headerType:m="bundle-header",hed:u,subHed:p,hideLedeCaption:g=!1,shouldApplyDarkBackground:h,isDestinationBundle:y,isDirectoryBundle:b,isFullBleedForXXXL:f=!1,isInverted:w=!1,lede:$,headerPosition:v="top",overlayType:C="none",shouldAddBottomSpacing:k=!1,shouldDecorateHeader:x=!0,shouldHighlightDekText:E=!1,shouldOverrideBundleHeaderDekText:A=!1,shouldOverrideDirectoryBundle:S=!1,shouldOverrideTypeToken:L=!1,showByline:T=!1,showHeaderOnBottom:N=!1,showHeaderOnTop:H=!1})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(l.G.RENDER,{name:"BundleHeader"})},[]);const I=r.createElement(d.$k,{isDestinationBundle:y,isDirectoryBundle:b,headerPosition:v,isInverted:w},r.createElement(d.E$,{showByline:T,showHeaderOnBottom:N,showHeaderOnTop:H,isInverted:w},u&&function(e,t,n,o,i,a){switch(e){case"bundle-header":return r.createElement(d.L5,{"data-testid":"bundle-header",shouldDecorateHeader:i,shouldOverrideTypeToken:a,dangerouslySetInnerHTML:{__html:t}});case"section-header":return r.createElement(d.g8,{dangerousHed:t});case"full-bleed-header":return r.createElement(d.WZ,{"data-testid":"full-bleed-header"},r.createElement(d.Rx,{isDestinationBundle:n,isDirectoryBundle:o,dangerouslySetInnerHTML:{__html:`${t}`}}));default:return null}}(m,u,y,b,x,L),p&&r.createElement(d.jo,{dangerouslySetInnerHTML:{__html:p}}),n&&r.createElement(d.fq,{isDestinationBundle:y,isDirectoryBundle:b,shouldOverrideTypeToken:L,dangerouslySetInnerHTML:{__html:E?n.replace("",''):n},shouldOverrideBundleHeaderDekText:A,showByline:T,showHeaderOnBottom:N,showHeaderOnTop:H,isInverted:w,shouldAddBottomSpacing:k,shouldOverrideDirectoryBundle:S}),b&&r.createElement(d.P4,null,r.createElement(s.A,null,o.map((e,t)=>r.createElement("p",{key:t},r.createElement("a",{href:e.href,rel:"nofollow noreferrer"},e.text)))),r.createElement("br",null),r.createElement(s.A,{className:"apply-now-button-group"},i.map((e,t)=>r.createElement("p",{key:t},r.createElement("a",{href:e.href,rel:"nofollow noreferrer"},e.text))))),T&&t?r.createElement(d.Wc,{contributors:t,isCompact:!1}):null));return r.createElement(r.Fragment,null,H&&!N&&I,r.createElement(d.xh,{className:e,"data-testid":"BundleHeader",overlayType:C,isDestinationBundle:y,isDirectoryBundle:b,isFullBleedForXXXL:f,isInverted:w,hasMarginBottom:c},$&&r.createElement(d.zc,{overlayType:C,lede:$,captionWidth:"fullbleed",hasTopMargin:a,hideLedeCaption:g,shouldApplyDarkBackground:h}),!H&&!N&&I),!H&&N&&I)};m.propTypes={applyNowButton:a().array,className:a().string,contributors:a().shape(c.A.propTypes.contributors),dangerousDek:a().string,directoryCategories:a().array,hasMarginBottom:a().bool,hasTopMargin:a().bool,headerPosition:a().oneOf(["center","top"]),headerType:a().oneOf(["bundle-header","full-bleed-header","section-header"]),hed:a().string,hideLedeCaption:a().bool,isDestinationBundle:a().bool,isDirectoryBundle:a().bool,isFullBleedForXXXL:a().bool,isInverted:a().bool,lede:a().object,overlayType:a().oneOf(["none","gradient","solid"]),shouldAddBottomSpacing:a().bool,shouldApplyDarkBackground:a().bool,shouldDecorateHeader:a().bool,shouldHighlightDekText:a().bool,shouldOverrideBundleHeaderDekText:a().bool,shouldOverrideDirectoryBundle:a().bool,shouldOverrideTypeToken:a().bool,showByline:a().bool,showHeaderOnBottom:a().bool,showHeaderOnTop:a().bool,subHed:a().string},m.displayName="BundleHeader";const u=m,p=(0,o.y)(u,"BundleHeader")},94776:(e,t,n)=>{n.d(t,{F:()=>o});const o={Paginated:{isPaginated:!0,isGrid:!1,hasRail:!0,map:!1},PaginatedOneColumn:{isPaginated:!0,isGrid:!1,hasRail:!0,map:!1},PaginatedThreeColumns:{isPaginated:!0,isGrid:!0,hasRail:!0,map:!1},OneColumn:{isPaginated:!1,isGrid:!1,hasRail:!0,map:!1},ThreeColumns:{isPaginated:!1,isGrid:!0,hasRail:!0,map:!1},OneColumnAlternating:{isPaginated:!1,isGrid:!1,hasRail:!1,map:["SideBySideCenterImageLeft","SideBySideCenterImageRight"]}}},95308:(e,t,n)=>{n.d(t,{A:()=>O});var o=n(96540),i=n(5556),a=n.n(i),r=n(6442),s=n(53499),l=n(38267),d=n(76955),c=n(26865),m=n(96472),u=n(16631);const p=l.Ay.div.withConfig({displayName:"ListenerScoreCircularWrapper"})` ${u.Vs} { border: ${(0,c.Kq)(.375)} solid ${(0,c.HK)("colors.interactive.base.black")}; width: ${(0,c.Kq)(9.25)}; height: ${(0,c.Kq)(9.25)}; box-sizing: border-box; &::before { position: absolute; top: ${(0,c.Kq)(.375)}; right: ${(0,c.Kq)(.375)}; bottom: ${(0,c.Kq)(.375)}; left: ${(0,c.Kq)(.375)}; border: ${(0,c.Kq)(.375)} solid ${(0,c.HK)("colors.interactive.base.black")}; border-radius: 50%; content: ''; } } ${u.El} { ${(0,c.Gg)("typography.definitions.consumptionEditorial.subhed-break-secondary")}; } &.blurred ${u.El} { filter: blur(10px); } `,g=l.Ay.div.withConfig({displayName:"ListenerScoreTextContainer"})` display: flex; flex: 1; flex-direction: column; min-width: 0; gap: ${(0,c.Kq)(.5)}; `,h=l.Ay.div.withConfig({displayName:"ListenerScoreWrapper"})` display: flex; position: relative; margin: ${(0,c.Kq)(3)} 0; gap: auto; ${({hasHeader:e,theme:t})=>e?`\n flex-direction: column;\n align-items: stretch;\n padding: 0;\n\n border: ${(0,c.Kq)(.25)} solid ${(0,c.HK)(t,"colors.interactive.base.black")};\n\t border-radius: ${(0,c.Kq)(.625)};\n overflow: hidden;\n background-color: ${(0,c.HK)(t,"colors.interactive.base.white")};\n `:`\n flex-direction: row;\n align-items: center;\n padding: ${(0,c.Kq)(2)} 0;\n\n @media (min-width: ${m.LO.md}) {\n flex-direction: row-reverse;\n gap: ${(0,c.Kq)(3)};\n }\n\n @media (max-width: calc(${m.LO.md} - 1px)) {\n margin: ${(0,c.Kq)(4)} 0;\n\n border: 2px;\n border-style: none;\n\n ${({theme:e})=>(0,c._o)(e,"border-color","colors.consumption.body.standard.divider")};\n }\n `} `,y=(0,l.Ay)(d.vm).withConfig({displayName:"ListenerScoreLabel"})` ${(0,c.Gg)("typography.definitions.globalEditorial.context-title")}; ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.body.standard.body")}; `,b=(0,l.Ay)(d.vm).withConfig({displayName:"ListenerScoreCounts"})` display: inline-block; cursor: pointer; width: fit-content; text-decoration: underline; ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.standard.accreditation")}; ${(0,c.Gg)("typography.definitions.globalEditorial.accreditation-core")} &:hover, &:focus { text-decoration: none; ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.body.standard.link-hover")}; } `,f=(0,l.Ay)(d.vm).withConfig({displayName:"ListenerScoreThresholdText"})` display: inline-block; cursor: pointer; width: fit-content; text-decoration: underline; ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.standard.accreditation")}; ${(0,c.Gg)("typography.definitions.globalEditorial.accreditation-core")} &:hover, &:focus { text-decoration: none; ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.body.standard.link-hover")}; } `,w=l.Ay.div.withConfig({displayName:"ListenerScoreSubscriptionLockWrapper"})``,$=(0,l.Ay)(d.sH).withConfig({displayName:"ListenerScoreSubscriptionLockLink"})` display: flex; align-items: center; gap: ${(0,c.Kq)(1)}; border: none; border-radius: 8px; background: ${({theme:e})=>(0,c.HK)(e,"colors.background.light")}; padding: ${(0,c.Kq)(1)} ${(0,c.Kq)(1.5)}; width: fit-content; height: 36px; text-decoration: none; ${(0,c.Gg)("typography.definitions.utility.pricing-secondary")}; ${({theme:e})=>(0,c._o)(e,"color","colors.interactive.base.black")}; `,v=l.Ay.div.withConfig({displayName:"ListenerScoreHeader"})` background-color: ${(0,c.HK)("colors.interactive.base.black")}; padding: ${(0,c.Kq)(1.5)} ${(0,c.Kq)(2)}; ${(0,c.Gg)("typography.definitions.globalEditorial.context-title")}; color: ${(0,c.HK)("colors.interactive.base.white")}; `,C=l.Ay.div.withConfig({displayName:"ListenerScoreTextWrapper"})` display: flex; flex-direction: row-reverse; align-items: center; cursor: pointer; padding: ${(0,c.Kq)(2)}; gap: ${(0,c.Kq)(2)}; `,k=l.Ay.div.withConfig({displayName:"ListenerScoreWithHeaderTextWrapper"})` &&&& p { margin: ${(0,c.Kq)(.5)}; } `,x=(0,l.Ay)(d.vm).withConfig({displayName:"ListenerScoreWithHeaderTextTop"})` ${(0,c.Gg)("typography.definitions.globalEditorial.accreditation-core")}; ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.standard.accreditation")}; text-transform: unset; `,E=(0,l.Ay)(d.vm).withConfig({displayName:"ListenerScoreWithHeaderTextBottom"})` ${(0,c.Gg)("typography.definitions.globalEditorial.accreditation-core")}; text-transform: uppercase; text-decoration: underline; ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.lead.standard.accreditation")}; font-weight: bold; &:hover, &:focus { text-decoration: none; ${({theme:e})=>(0,c._o)(e,"color","colors.consumption.body.standard.link-hover")}; } `;const A=(0,n(72267).defineMessages)({listenerScoreLabel:{id:"ListenerScore.listenerScoreLabel",defaultMessage:"Reader Score",description:"Label for the aggregate user score"},ratingCount:{id:"ListenerScore.ratingCount",defaultMessage:"Based on {count} listeners",description:"Number of user ratings that contributed to the score"},availableAfterScores:{id:"ListenerScore.availableAfterScores",defaultMessage:"Available after {count} scores",description:"Text shown when minimum rating threshold is not met"},noScoreYet:{id:"ListenerScore.noScoreYet",defaultMessage:"No score yet, be the first to add.",description:"Text shown when there are no ratings yet"},subscribeToSee:{id:"ListenerScore.subscribeToSee",defaultMessage:"Subscribe to see",description:"Text for subscription lock when user is not subscribed"},reviewCountBasedOff:{id:"ListenerScore.reviewCountBasedOff",defaultMessage:"Based off",description:"First line of review count text (header variation)"},reviewCountNumber:{id:"ListenerScore.reviewCountNumber",defaultMessage:"{count} REVIEWS",description:"Second line of review count text with number (header variation)"}});var S=n(7285),L=n(67198),T=n(63208),N=n(75454),H=n(85554),I=n(89957);const B=({averageRating:e=0,totalRatings:t=null,minRatingThreshold:n=5,isSubscribed:i=!0,className:a,hasHeader:l=!1,subscriptionUrl:d,trackSubscriptionLockImpression:c=!1})=>{o.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(s.G.RENDER,{name:"ListenerScore"})},[]);const{formatMessage:m}=(0,r.A)(),u=window.innerWidth>1023,B=Number(e).toFixed(1),O=o.useCallback(()=>(0,L.A)(".CommentingMainContent"),[]);(0,I.ol)(`.${H.i7.SUBSCRIBE_TO_SEE_BUTTON}`,void 0,(e,t)=>{!i&&d&&e&&c&&((0,N.cj)({source:(0,N.el)(d),subject:"community_subscribe",label:m(A.subscribeToSee)},"impression"),t())},[i,d,c]);const _=(e,t={})=>o.createElement(e,{...t},m(A.listenerScoreLabel));return o.createElement(h,{className:a,"data-testid":"ListenerScore",isDesktop:u,hasHeader:l},l&&_(v,{"data-testid":"ListenerScoreHeader"}),(()=>{const{rating:e,textComponent:a,textProps:r,message:s,isSubscriptionLock:c}=(()=>{if(!i)return{rating:B,textComponent:$,textProps:{"data-testid":"ListenerScoreSubscriptionLock"},message:m(A.subscribeToSee),isSubscriptionLock:!0};if(null===t||0===t)return{rating:"-",textComponent:f,textProps:{"data-testid":"ListenerScoreNoScoreText"},message:m(A.noScoreYet)};if(to.createElement(k,{onClick:O,"data-testid":"ListenerScoreForHeader"},o.createElement(x,null,m(A.reviewCountBasedOff)),o.createElement(E,null,m(A.reviewCountNumber,{count:t})))};return{rating:B,textComponent:b,textProps:{"data-testid":"ListenerScoreCounts"},message:m(A.ratingCount,{count:t})}})(),h=l?C:o.Fragment;return o.createElement(h,null,o.createElement(g,{isDesktop:u},!l&&_(y,{"data-testid":"ListenerScoreLabel"}),c?o.createElement(w,null,o.createElement(a,{href:d,target:"_blank",rel:"noopener noreferrer",className:H.i7.SUBSCRIBE_TO_SEE_BUTTON,onClick:()=>{(0,N.cj)({label:s,subject:"community_subscribe",source:(0,N.el)(d)},"click")},...r},o.createElement(T.A,null),s)):o.createElement(a,{onClick:O,...r},s)),o.createElement(p,null,o.createElement(S.A,{enableBlur:!0,rating:e,"data-testid":"ListenerScoreValue"})))})())};B.propTypes={averageRating:a().number,className:a().string,isSubscribed:a().bool,minRatingThreshold:a().number,totalRatings:a().number,hasHeader:a().bool,subscriptionUrl:a().string,trackSubscriptionLockImpression:a().bool};const O=B},95768:(e,t,n)=>{n.d(t,{A:()=>ft});var o=n(5556),i=n.n(o),a=n(96540),r=n(11542),s=n(50624),l=n(6442),d=n(74139);const c="closeAll",m="openCollectionsDrawer",u="openCreateCollectionDrawer",p="openSaveAlertCreateCollection",g="openSaveAlertWithBoardName",h="openSaveAlertWithBoardNameAfterMove",y="openSaveAlertError",b="openSaveAlertWithMoveCTA",f="setLastCollectionSaved";var w=n(77463);const $="/account/saved/images",v="CollectionsDrawer",C="CreateCollectionDrawer",k="none",x="PhotoBookmarkSaveAlert",E="success-with-link",A="success-with-button",S="error",L=()=>{const{formatMessage:e}=(0,l.A)(),t={showComponent:k,saveAlertMessage:{linkMessage:e(w.A.SaveBookmarkAlertLink),textMessage:e(w.A.SaveBookmarkAlertText),type:A},lastCollectionSavedTo:{name:"",id:"",count:0}},[n,o]=(0,a.useReducer)((t,n)=>((e,t,n)=>{switch(t.type){case c:return{...e,showComponent:k};case m:return{...e,showComponent:v};case u:return{...e,showComponent:C};case p:return{...e,saveAlertMessage:{linkMessage:n(w.A.SaveBookmarkAlertLink),textMessage:n(w.A.SaveBookmarkAlertText),type:A},showComponent:x};case g:return{...e,saveAlertMessage:{href:$,linkMessage:n(w.A.SaveAlertSavedToBoardMessage),textMessage:n(w.A.SaveAlertWithBoardName,{collectionName:t.name}),type:E},showComponent:x};case h:return{...e,saveAlertMessage:{href:$,linkMessage:n(w.A.SaveAlertSavedToBoardMessage),textMessage:n(w.A.SaveAlertMovedWithBoardName,{collectionName:t.name}),type:E},showComponent:x};case b:return{...e,saveAlertMessage:{linkMessage:n(w.A.SaveBookmarkAlertMoveLink),textMessage:n(w.A.SaveAlertWithBoardName,{collectionName:e.lastCollectionSavedTo.name}),type:A},showComponent:x};case y:return{...e,saveAlertMessage:{textMessage:n(w.A.SaveBookmarkErrorText,{collectionName:t.collectionName}),type:S},showComponent:x};case f:{const n=e.lastCollectionSavedTo.id===t.id?e.lastCollectionSavedTo.count+1:1;return{...e,lastCollectionSavedTo:{name:t.name,id:t.id,count:n}}}default:return e}})(t,n,e),t),i=function(e){const t=(0,a.useCallback)(()=>{e({type:c})},[e]),n=(0,a.useCallback)(()=>e({type:m}),[e]),o=(0,a.useCallback)(()=>e({type:u}),[e]),i=(0,a.useCallback)(()=>e({type:p}),[e]),r=(0,a.useCallback)(({collectionName:t}={})=>{e({type:y,collectionName:t})},[e]);return{closeAll:t,openCollectionsDrawer:n,openCreateCollectionDrawer:o,openSaveAlertCreateCollection:i,openSaveAlertWithBoardName:(0,a.useCallback)(({collectionName:t})=>{e({type:g,name:t})},[e]),openSaveAlertWithBoardNameAfterMove:(0,a.useCallback)(({collectionName:t})=>{e({type:h,name:t})},[e]),openSaveAlertWithMoveCTA:(0,a.useCallback)(()=>{e({type:b})},[e]),openSaveAlertError:r,setLastCollectionSaved:(0,a.useCallback)(({collectionName:t,collectionId:n})=>{e({type:f,name:t,id:n})},[e])}}(o);return{actions:i,state:n}};var T=n(89957),N=n(49235),H=n(96472),I=n(58156),B=n.n(I),O=n(53499),_=n(22514),K=n(38267),P=n(76955),D=n(26865),q=n(88456),M=n(50531),R=n(82752),F=n(52663),U=n(36211),V=n(68116),G=n(14207),W=n(86286),j=n(63500),z=n(18117),Y=n(97504),X=n(62389);const Z=K.DU` html.html__drawer--open { overflow: unset; ${j.nj} { position: fixed; top: 0; right: 0; left: 0; } ${j.C1} { display: none; } } `,J=(0,K.Ay)(F.A.SideBySideThirds).withConfig({displayName:"CollectionsDrawerSummaryItem"})` && { grid-template-columns: ${(0,D.Kq)(7)} 1fr; --grid-gap: ${(0,D.Kq)(2)}; ${V.Tr}, ${V.Tr} * { margin: 0; padding: 0; } } ${V.tP} { aspect-ratio: 2 / 3; ${G.fh}, ${z.B}, picture, img { width: 100%; height: 100%; } img { object-fit: cover; } } `,Q=K.Ay.div.withConfig({displayName:"CollectionsDrawerBookmarkItemWrapper"})` display: grid; border-bottom: 1px solid; ${V.Rp} { grid-column: 1; } ${X.w6} { position: fixed; right: ${(0,D.Kq)(1.5)}; align-self: center; ${(0,D.H4)(H.LO.lg)} { align-self: center; justify-items: center; } svg path { stroke: ${({theme:e})=>(0,D.HK)(e,"colors.interactive.base.brand-primary")}; } ${M.ny} { svg path { fill: ${({theme:e})=>(0,D.HK)(e,"colors.interactive.base.brand-primary")}; } } } ${({isBookmarkDrawersEnabled:e})=>e&&"\n grid-template-columns: 90% auto;\n "} `,ee=(0,K.Ay)(J).withConfig({displayName:"CollectionsDrawerBookmarkItem"})` padding: ${(0,D.Kq)(3)} ${(0,D.Kq)(3)} ${(0,D.Kq)(2)}; pointer-events: none; ${U.Y} { ${({theme:e,isBookmarkDrawersEnabled:t})=>t?(0,D.Gg)(e,"typography.definitions.discovery.hed-bulletin-secondary"):(0,D.Gg)(e,"typography.definitions.utility.assistive-text")}; } ${V.IB} { ${({theme:e,isBookmarkDrawersEnabled:t})=>t&&(0,D.Gg)(e,"typography.definitions.utility.button-utility")}; ${({theme:e,isBookmarkDrawersEnabled:t})=>t&&(0,D._o)(e,"color","colors.interactive.base.brand-primary")}; } `,te=K.Ay.div.withConfig({displayName:"CollectionsDrawerScrollableArea"})` overflow-y: auto; `,ne=K.Ay.div.withConfig({displayName:"CollectionsDrawerHeadingWrapper"})` display: flex; padding: ${(0,D.Kq)(2)} ${(0,D.Kq)(3)}; `,oe=(0,K.Ay)(P.vm).withConfig({displayName:"CollectionsDrawerListHeading"})` flex: 1; text-align: start; ${(0,D.Gg)("typography.definitions.foundation.title-secondary")}; `,ie=(0,K.Ay)(P.vm).withConfig({displayName:"CollectionsDrawerCreateListDek"})` flex: 1; margin-top: ${(0,D.Kq)(5)}; margin-right: ${(0,D.Kq)(3)}; margin-bottom: ${(0,D.Kq)(3)}; margin-left: ${(0,D.Kq)(3)}; text-align: center; ${(0,D.Gg)("typography.definitions.utility.body")}; `,ae=(0,K.Ay)(q.A.Utility).withConfig({displayName:"CollectionsDrawerCreateListButton"})` border: none; justify-self: center; width: 88%; `,re=(0,K.Ay)(q.A.Utility).withConfig({displayName:"CollectionsDrawerNewCollectionButton"})` padding: 0; min-width: unset; height: unset; ${(0,D.Gg)("typography.definitions.foundation.link-secondary")}; ${({theme:e,isBookmarkDrawersEnabled:t})=>t&&(0,D.Gg)(e,"typography.definitions.utility.label")}; ${({theme:e,isBookmarkDrawersEnabled:t})=>t&&(0,D._o)(e,"color","colors.interactive.base.brand-primary")}; ${M.Lj} { padding: 0; } `,se=K.Ay.ul.withConfig({displayName:"CollectionsDrawerList"})` margin: 0; padding: 0; list-style: none; `,le=K.Ay.li.withConfig({displayName:"CollectionsDrawerListItem"})` padding: ${(0,D.Kq)(1)} ${(0,D.Kq)(4)}; ${(0,D.H4)(H.LO.lg)} { padding: ${(0,D.Kq)(1)} ${(0,D.Kq)(3)}; } `,de=(0,K.Ay)(J).withConfig({displayName:"CollectionsDrawerCollectionItem"})` pointer-events: none; `,ce=(0,K.Ay)(_.A).withConfig({displayName:"CollectionsDrawerWrapper"})` display: flex; flex-direction: column; ${({theme:e,isBookmarkDrawersEnabled:t})=>t?(0,D._o)(e,"background-color",(0,D.iq)(e)?"colors.discovery.body.dark.background":"colors.discovery.body.brand.background"):(0,D._o)(e,"background-color",(0,D.iq)(e)?"colors.discovery.lead.primary.background":"colors.foundation.menu-bg.expanded")}; &&& { padding-top: ${(0,D.Kq)(3)}; width: ${({isLargeDevice:e})=>e?(0,D.Kq)(49):"100vw"}; height: ${({isLargeDevice:e})=>e?"100vh":(0,D.Kq)(65)}; ${({theme:e})=>(0,D.iq)(e)&&(0,D._o)("background-color","colors.background.black")}; * { ${({isBookmarkDrawersEnabled:e,theme:t})=>!e&&(0,D._o)(t,"color",(0,D.iq)(t)?"colors.discovery.body.black.heading":"colors.discovery.body.light.heading")}; } ${ae} { ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("background-color","colors.interactive.base.white"):(0,D._o)("background-color","colors.interactive.base.black")}; ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("color","colors.interactive.base.black"):(0,D._o)("color","colors.interactive.base.white")}; } ${de} { ${U.Y} { ${({isBookmarkDrawersEnabled:e})=>e?(0,D.Gg)("typography.definitions.foundation.title-primary"):(0,D.Gg)("typography.definitions.discovery.hed-bulletin-primary")}; ${({theme:e,isBookmarkDrawersEnabled:t})=>t&&(0,D._o)(e,"color",(0,D.iq)(e)?"colors.interactive.base.white":"colors.interactive.base.black")}; } } ${oe} { ${({theme:e,isBookmarkDrawersEnabled:t})=>t&&(0,D._o)(e,"color",(0,D.iq)(e)?"colors.interactive.base.white":"colors.interactive.base.black")}; } ${R.ov} { g, g:hover, g:focus { ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("stroke","colors.interactive.base.white"):(0,D._o)("stroke","colors.interactive.base.black")}; } ${({isBookmarkDrawersEnabled:e})=>e&&`\n right: 1.5rem;\n ${(0,D.H4)(H.LO.lg)} {\n right: 1rem;\n }\n `} } ${W.g3} { ${({theme:e})=>(0,D.iq)(e)&&"path {\n fill: #FFF;\n }"} } ${J} { ${V.lw} { ${({theme:e,isBookmarkDrawersEnabled:t})=>t&&(0,D.Gg)(e,"typography.definitions.foundation.meta-secondary")}; ${({theme:e,isBookmarkDrawersEnabled:t})=>t?(0,D._o)(e,"color",(0,D.iq)(e)?"colors.discovery.body.dark.syndication":"colors.discovery.body.light.syndication"):(0,D._o)(e,"color",(0,D.iq)(e)?"colors.discovery.body.black.context-tertiary":"colors.discovery.body.light.context-tertiary")}; } ${V.tP} { ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("background-color","colors.interactive.base.deemphasized"):(0,D._o)("background-color","colors.interactive.base.light")}; } } ${ee} { ${({isBookmarkDrawersEnabled:e})=>e&&`\n grid-template-columns: 5.2rem 1fr;\n ${V.tP} {\n aspect-ratio: 1 / 1;\n };\n ${U.Y} {\n margin-bottom: ${(0,D.Kq)(1)};\n }\n `}; ${U.Y} { ${({theme:e,isBookmarkDrawersEnabled:t})=>t&&(0,D._o)(e,"color",(0,D.iq)(e)?"colors.interactive.base.white":"colors.interactive.base.black")}; } } ${Q} { ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("border-bottom-color","colors.discovery.body.dark.divider"):(0,D._o)("border-bottom-color","colors.discovery.body.white.divider")}; } ${(0,D.H4)(H.LO.md)} { ${le}:hover { ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("background-color","colors.interactive.base.brand-secondary"):(0,D._o)("background-color","colors.interactive.base.hover")}; } } } `,me=(0,K.Ay)(Y.Ay.Expand).withConfig({displayName:"CollectionsItemDefaultIcon"})` border-width: 2px; border-style: solid; border-radius: 50%; padding: ${(0,D.Kq)(.4)}; width: ${(0,D.Kq)(3)}; height: ${(0,D.Kq)(3)}; ${({theme:e})=>`\n ${(0,D._o)(e,"background-color","colors.interactive.base.white")};\n\n ${(0,D._o)(e,"border-color","colors.interactive.base.brand-secondary")};\n\n path {\n ${(0,D._o)(e,"stroke","colors.interactive.base.brand-secondary")};\n\n ${(0,D._o)(e,"fill","colors.interactive.base.brand-secondary")};\n } \n `} `,ue=(0,K.Ay)(Y.Ay.Check).withConfig({displayName:"CollectionsItemAddedIcon"})` border-width: 2px; border-style: solid; border-radius: 50%; width: ${(0,D.Kq)(3)}; height: ${(0,D.Kq)(3)}; ${({theme:e})=>`\n ${(0,D._o)(e,"background-color","colors.interactive.base.white")};\n\n ${(0,D._o)(e,"border-color","colors.interactive.base.brand-secondary")};\n\n path {\n ${(0,D._o)(e,"stroke","colors.interactive.base.brand-secondary")};\n\n ${(0,D._o)(e,"fill","colors.interactive.base.brand-secondary")};\n } \n `} `,pe=K.Ay.div.withConfig({displayName:"CollectionItemWrapper"})` display: flex; align-items: center; justify-content: space-between; `,ge=(0,K.Ay)(P.vm).withConfig({displayName:"CollectionsDrawerErrorMessage"})` &&& { margin: ${(0,D.Kq)(4)} 0; width: 100%; text-align: center; ${({theme:e})=>(0,D.iq)(e)&&(0,D._o)("color","colors.interactive.base.white")}; ${(0,D.Gg)("typography.definitions.utility.assistive-text")}; } `,he=e=>e?.altText||e?.tout?.altText,ye=e=>e?.bookMarkedUrl||e?.tout?.url||e?.tout?.edges?.[0]?.node?.url||"",be=(e,t)=>{const{content:n}=e;return{altText:he(n)||`an image from collection ${t}`,sources:{lg:{url:ye(n)}}}},fe=e=>{const{id:t,collectionName:n,lastBookmark:o,totalBookmarkCount:i}=e;return{collectionId:t,collectionName:n,totalBookmarkCount:i,coverImage:Boolean(o)?be(o,n):void 0}};var we=n(14307),$e=n(73806);const ve="board",Ce="board_drawer",ke="photo_runway",xe="close",Ee="create",Ae="error",Se="go_to",Le="move",Te="select",Ne=e=>{switch(e){case $e.I.IMAGE_SEARCH:case $e.I.STREET_STYLE:case $e.I.RUNWAY:return"account_saved_images";default:return""}},He=({contentId:e,contentType:t,isDefault:n,isFromBookmark:o,isAutoSelected:i,label:a,saveContextSubject:r,saveEventSubject:s,sourceId:l,sourceName:d,subjectId:c,subjectName:m,type:u,errorMessage:p,errorType:g,code:h})=>{const y={type:u,label:a,subject:s,...e&&{items:[{content_id:e,content_type:t}]}},b={isDefault:n,isFromBookmark:o,isAutoSelected:i,sourceId:l?.toString(),sourceName:d,subject:r,subjectId:c?.toString(),subjectName:m},f=(h||g&&p)&&s,w={...h&&{code:h},...g&&{type:g},...p&&{message:p},...f&&{subject:f}};(0,we.Sp)({eventData:y,saveContext:b,errorContext:w})},Ie=({errorMessage:e,errorType:t})=>He({saveEventSubject:Ce,type:Ae,errorMessage:e,errorType:t});const Be=(0,n(72267).defineMessages)({bookmarkCountType:{id:"CollectionsDrawer.bookmarkCountType",defaultMessage:"{count, plural, one {# image} other {# images}}",description:"The bookmark count for a collection"},bookmarkSavedText:{id:"CollectionsDrawer.bookmarkSavedText",defaultMessage:"Image saved",description:"Bookmark saved alert text"},bookmarkCountDefaultText:{id:"CollectionsDrawer.bookmarkCountDefaultText",defaultMessage:"{count} saved",description:"The bookmark count and the text for a collection"},bookmarkSavedDefaultText:{id:"CollectionsDrawer.bookmarkSavedDefaultText",defaultMessage:"Saved",description:"Bookmark saved alert - default text"},createCollectionDuplicateNameError:{id:"CollectionsDrawer.createCollectionDuplicateNameError",defaultMessage:"You have already used this name",description:"Error message when a duplicate collection name is entered"},createCollectionNotMadeError:{id:"CollectionsDrawer.createCollectionNotMadeError",defaultMessage:"Collection not made, please try again",description:"Generic error message when a collection can not be made"},createCollectionValueMissingError:{id:"CreateCollectionDrawer.createCollectionValueMissingError",defaultMessage:"Please enter a collection name",description:"Error message when a collection name is not entered"},createCollectionNoTextError:{id:"CreateCollectionDrawer.createCollectionNoTextError",defaultMessage:"Please enter some text",description:"Error message when a collection name only has spaces"},collectionsFolderHeading:{id:"CollectionsDrawer.collectionsFolderHeading",defaultMessage:"Folders",description:"Collections drawer folders heading"},collectionsNewCollectionButtonLabel:{id:"CollectionsDrawer.collectionsNewCollectionButtonLabel",defaultMessage:"Create Folder",description:"Label to create a new collection"},createCollectionHeading:{id:"CreateCollectionDrawer.createCollectionHeading",defaultMessage:"Create A New Fodler",description:"Create collection form heading"},createCollectionInputLabel:{id:"CreateCollectionDrawer.createCollectionInputLabel",defaultMessage:"Folder Name",description:"Create collection text input label"},createCollectionPlaceholderText:{id:"CreateCollectionDrawer.createCollectionPlaceholderText",defaultMessage:"“Reading list” or “Inspo”",description:"Create collection placeholder text"},createCollectionResetButtonLabel:{id:"CreateCollectionDrawer.createCollectionResetButtonLabel",defaultMessage:"Reset Folder Name",description:"Reset button label"},createCollectionSubmitButtonLabel:{id:"CreateCollectionDrawer.createCollectionSubmitButtonLabel",defaultMessage:"Create and save to folder",description:"Create collection button label"},collectionsCreateNewFolderDek:{id:"CollectionsDrawer.collectionsCreateNewFolderDek",defaultMessage:"Organize reading lists, group your favourite topics and collect inspirations in folders.",description:"Collections drawer create new folder heading"},collectionsErrorMessage:{id:"CollectionsDrawer.collectionsErrorMessage",defaultMessage:"Something went wrong. Please try again.",description:"Error message when collections fail to load"}}),Oe=({makeCall:e,federatedGraphqlUrl:t,organizationId:n})=>{const[o,i]=(0,a.useState)([]),[r,s]=(0,a.useState)(null),[c,m]=(0,a.useState)(!1),{formatMessage:u}=(0,l.A)();(0,a.useEffect)(()=>{const o=async()=>{try{s(null),m(!0);const e=await(async({federatedGraphqlUrl:e,organizationId:t})=>{const n=await(0,d.$9)({federatedGraphqlUrl:e,organizationId:t});return n?n.map(fe):[]})({federatedGraphqlUrl:t,organizationId:n});i(e)}catch(e){s(e),Ie({errorType:"select",errorMessage:u(Be.collectionsErrorMessage)})}finally{m(!1)}};e&&o()},[e,t,n,u]);return{collections:o,error:r,isLoading:c,hasError:!!r,updateCollectionCoverImage:({collectionId:e,newCoverImage:t})=>{i(n=>n.map(n=>n.collectionId===e?{...n,coverImage:t}:n))}}};var _e=n(86157),Ke=n(43211);const Pe=({enableBookmarkDrawers:e,contentTitle:t,formatMessage:n,image:o,copilotID:i,contentType:r,closeAll:s})=>a.createElement(Q,{isBookmarkDrawersEnabled:e},a.createElement(ee,{dangerousHed:e?t:n(Be.bookmarkSavedText),dangerousDek:e?n(Be.bookmarkSavedDefaultText):"",hasBorder:!1,hasRule:!1,image:o,shouldVerticallyAlignHed:!0,hasWrapperButtonRole:!1,url:"",isBookmarkDrawersEnabled:e}),e&&a.createElement(Ke.A,{copilotID:i,contentType:r,onBookmarkToggle:()=>{s()}}));Pe.propTypes={enableBookmarkDrawers:i().bool,contentTitle:i().string,formatMessage:i().func,image:i().object,copilotID:i().oneOfType([i().string,i().number]),contentType:i().string,closeAll:i().func};const De=Pe;var qe=n(62930);const Me=({collectionId:e,collectionName:t,image:n,totalBookmarkCount:o,onSave:i,isBookmarkDrawersEnabled:r})=>{const{formatMessage:s}=(0,l.A)(),[d,c]=(0,a.useState)(!1),m=s(r?Be.bookmarkCountDefaultText:Be.bookmarkCountType,{count:o});return a.createElement(pe,{onClick:()=>{i({collectionName:t,collectionId:e}),c(!0)},onKeyDown:n=>{"Enter"!==n.key&&" "!==n.key||i({collectionName:t,collectionId:e})},style:{cursor:"pointer"},tabIndex:0,role:"button"},a.createElement(de,{hasWrapperButtonRole:!1,dangerousHed:t,hasBorder:!1,hasRule:!1,image:n,metadataPrimary:m,shouldVerticallyAlignHed:!0,url:"",emptyBoard:0===o,isBookmarkDrawersEnabled:r}),r&&!d&&a.createElement(me,null),r&&d&&a.createElement(ue,null))};Me.propTypes={collectionId:i().number.isRequired,collectionName:i().string.isRequired,image:i().shape(_e.A.propTypes),isBookmarkDrawersEnabled:i().bool,onSave:i().func.isRequired,totalBookmarkCount:i().number.isRequired};const Re=({enableBookmarkDrawers:e,collections:t,isLoading:n,hasError:o,formatMessage:i,configSettings:r,onNewBoardButtonClickHandler:s,onSaveToCollection:l})=>a.createElement(te,null,t.length>0&&a.createElement(ne,null,a.createElement(oe,null,r.collectionsFolderHeading||i(Be.collectionsFolderHeading)),a.createElement(re,{label:r.collectionsNewCollectionButtonLabel||i(Be.collectionsNewCollectionButtonLabel),btnStyle:"text",onClickHandler:s,isBookmarkDrawersEnabled:e})),!e&&0===t.length&&n&&a.createElement(qe.jl,{"aria-label":"Loading",margin:"0",width:"100%"}),!e&&o&&a.createElement(ge,null,i(Be.collectionsErrorMessage)),e&&0===t.length&&!n&&a.createElement(a.Fragment,null,a.createElement(ie,{isBookmarkDrawersEnabled:e},r.createFolderPaneDek||i(Be.collectionsCreateNewFolderDek)),a.createElement(ae,{label:r.collectionsNewCollectionButtonLabel||i(Be.collectionsNewCollectionButtonLabel),onClickHandler:s})),!n&&a.createElement(se,null,t.map(({collectionId:t,collectionName:n,totalBookmarkCount:o,coverImage:i})=>a.createElement(le,{key:t},a.createElement(Me,{collectionId:t,collectionName:n,image:i,onSave:l,totalBookmarkCount:o,isBookmarkDrawersEnabled:e})))));Re.propTypes={enableBookmarkDrawers:i().bool,collections:i().arrayOf(i().shape({collectionId:i().oneOfType([i().string,i().number]),collectionName:i().string,totalBookmarkCount:i().number,coverImage:i().object})),isLoading:i().bool,hasError:i().bool,formatMessage:i().func,configSettings:i().shape({collectionsFolderHeading:i().string,collectionsNewCollectionButtonLabel:i().string,createFolderPaneDek:i().string}),onNewBoardButtonClickHandler:i().func,onSaveToCollection:i().func};const Fe=Re;var Ue=n(11501);const Ve=(e,t)=>e&&t?.id,Ge=({contentTitle:e,copilotID:t,contentType:n,config:{account:o},componentConfig:i,coreDataLayer:r,image:c,isLargeDevice:m,isOpen:u=!1})=>{(0,a.useEffect)(()=>{window.Kendra.TRACK_COMPONENT.broadcast(O.G.RENDER,{name:"CollectionsDrawer"})},[]);const[p,g]=(0,a.useState)(!1),{formatMessage:h}=(0,l.A)(),y=o?.bookmark?.enableBookmarkDrawers||!1,b=y?500:0,{content:{contentType:f="article"}}=r,{channel:$,closeAll:v,federatedGraphqlUrl:C,lastCollectionSavedTo:k,openCreateCollectionDrawer:x,openSaveAlertWithBoardName:E,openSaveAlertWithBoardNameAfterMove:A,openSaveAlertError:S,organizationId:L,setLastCollectionSaved:T,shouldAutoSaveToCollection:N}=(0,s.N)(),{collections:H,hasError:I,isLoading:K,updateCollectionCoverImage:P}=Oe({makeCall:u,federatedGraphqlUrl:C,organizationId:L}),D=Ve(N,k),q=(e,t)=>{var n,o;return(o=t,Ve(N,n=k)&&n?.id!==o)?A({collectionName:e}):E({collectionName:e})},M=({collectionId:e,collectionName:o})=>{D?(({channel:e,collectionId:t,collectionName:n,contentId:o,contentType:i,shouldAutoSaveToCollection:a,sourceId:r,sourceName:s})=>{He({contentId:o,contentType:i,isFromBookmark:!0,isAutoSelected:a,label:n,saveContextSubject:Ne(e),saveEventSubject:"photo"===i&&ke,sourceId:r,sourceName:s,subjectId:t,subjectName:n,type:Le})})({collectionId:e,collectionName:o,sourceId:k.id,sourceName:k.name,channel:$,contentId:t,contentType:n}):(({channel:e,collectionId:t,collectionName:n,contentId:o,contentType:i,shouldAutoSaveToCollection:a})=>{He({contentId:o,contentType:i,isFromBookmark:!0,isAutoSelected:a,label:n,saveContextSubject:Ne(e),saveEventSubject:ve,subjectId:t,subjectName:n,type:Te})})({collectionId:e,collectionName:o,channel:$,contentId:t,contentType:n,shouldAutoSaveToCollection:N})},R=B()(i,"CollectionDrawer.settings",{});return a.createElement(a.Fragment,null,a.createElement(ce,{as:m?_.A.Right:_.A.Bottom,hideChannelNavigation:!0,hideDrawerScroll:!0,isLargeDevice:m,isOpen:u,onClose:()=>{g(!1),He({saveEventSubject:Ce,type:xe}),v(),setTimeout(()=>{g(!0)},1e3)},showCloseButton:!0,isBookmarkDrawersEnabled:y},a.createElement(De,{enableBookmarkDrawers:y,contentTitle:e,formatMessage:h,image:c,copilotID:t,contentType:f,closeAll:v}),a.createElement(Fe,{enableBookmarkDrawers:y,collections:H,isLoading:K,hasError:I,formatMessage:h,configSettings:R,onNewBoardButtonClickHandler:()=>{x()},onSaveToCollection:async({collectionName:e,collectionId:n})=>{const o=await(async e=>D?(0,d.NY)({toCollectionId:e,federatedGraphqlUrl:C,fromCollectionId:k.id,copilotId:t}):(0,d._J)({organizationId:L,federatedGraphqlUrl:C,updateCollectionId:e,copilotIds:[t]}))(n);o.success?(M({collectionId:n,collectionName:e}),T({collectionName:e,collectionId:n}),c&&P({collectionId:n,newCoverImage:c}),setTimeout(()=>{q(e,n)},b)):(Ie({errorType:D?"move":"select",errorMessage:h(w.A.SaveBookmarkErrorText,{collectionName:e})}),S({collectionName:e}))}})),y&&p&&a.createElement(Ue.A,{bannerType:"savedWithoutAddingToList"}))};Ge.propTypes={componentConfig:i().object,config:i().object,contentTitle:i().string,contentType:i().string,copilotID:i().string,coreDataLayer:i().shape({content:i().object}),image:i().shape(_e.A.propTypes),isLargeDevice:i().bool.isRequired,isOpen:i().bool};const We=(0,r.M3)(Ge,{keysToPluck:["config","coreDataLayer","componentConfig"],keysToSpread:["lastBookmarkedPhoto","featureFlags"]});var je=n(34520),ze=n(89662),Ye=n(76399),Xe=n(60434);const Ze=(0,K.Ay)(P.vm).withConfig({displayName:"DrawerWithFormHed"})` display: flex; justify-content: center; padding-bottom: ${(0,D.Kq)(3)}; ${(0,D.Gg)("typography.definitions.foundation.title-secondary")}; `,Je=(0,K.Ay)(q.A.Utility).withConfig({displayName:"DrawerWithFormSubmitButton"})` && { border: none; width: 100%; } `,Qe=(0,K.Ay)(_.A).withConfig({displayName:"DrawerWithFormWrapper"})` ${({theme:e,isBookmarkDrawersEnabled:t})=>t?(0,D._o)(e,"background-color",(0,D.iq)(e)?"colors.discovery.body.dark.background":"colors.discovery.body.brand.background"):(0,D._o)(e,"background-color",(0,D.iq)(e)?"colors.discovery.lead.primary.background":"colors.foundation.menu-bg.expanded")}; &&& { padding: ${(0,D.Kq)(3)}; width: ${({position:e})=>"Right"===e&&(0,D.Kq)(49)}; height: ${({position:e})=>"Bottom"!==e&&"100vh"}; ${({theme:e})=>(0,D.iq)(e)&&(0,D._o)("background-color","colors.background.black")}; ${R.ov}, ${Xe.tJ} { border: none; background-color: transparent; g, g:hover, g:focus { ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("stroke","colors.interactive.base.white"):(0,D._o)("stroke","colors.interactive.base.black")}; } .icon-close { padding: ${(0,D.Kq)(.75)}; } } } ${Ze} { ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("color","colors.interactive.base.white"):(0,D._o)("color","colors.interactive.base.black")}; } ${Xe.vB} { margin: 0; padding-bottom: ${(0,D.Kq)(3)}; } ${Xe.Nf} { ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("color","colors.interactive.base.light"):(0,D._o)("color","colors.interactive.base.dark")}; } ${Xe.LZ} input { border: 1px solid; background-color: transparent; ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("border-color","colors.interactive.base.light"):(0,D._o)("border-color","colors.interactive.base.dark")}; ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("color","colors.interactive.base.white"):(0,D._o)("color","colors.interactive.base.black")}; } ${Je} { &[aria-disabled='false'] { ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("background-color","colors.interactive.base.white"):(0,D._o)("background-color","colors.interactive.base.black")}; ${({theme:e})=>(0,D.iq)(e)?(0,D._o)("color","colors.interactive.base.black"):(0,D._o)("color","colors.interactive.base.white")}; } } `;var et=n(8316);const tt=e=>{const t=({className:t})=>a.createElement(q.A,{label:e,btnStyle:"text",ButtonIcon:Ye.A,className:t,inputKind:"reset",isIconButton:!0,size:"small"});return t.propTypes={className:i().string},t},nt=({customInvalidityMessages:e,errorText:t,hedText:n,formName:o,hideChannelNavigation:i=!0,inputLabel:r,inputName:s,inputPlaceholder:l,isOpen:d,isRequired:c,onClose:m,onInput:u,onReset:p,onSubmit:g,position:h="Bottom",resetButtonLabel:y,shouldDisableSubmitButtonOnEmptyInput:b,shouldHideValidationErrorText:f,submitButtonLabel:w,isBookmarkDrawersEnabled:$=!1})=>{const[v,C]=(0,a.useState)(""),k=je.A[h];return a.createElement(Qe,{as:k,position:h,hideChannelNavigation:i,isOpen:d,onClose:m,showCloseButton:!0,isBookmarkDrawersEnabled:$},a.createElement(Ze,null,n),a.createElement(et.A,{customInvalidityMessages:e,name:o,onSubmitHandler:()=>g(v),onResetHandler:()=>{p?.(),C("")},shouldHideValidationErrorText:f},a.createElement(ze.default.SingleLine,{formName:o,errorText:t,label:r,name:s,onInputChange:(e,t)=>{C(t),u?.()},placeholder:l,isRequired:c,TrailingIcon:v?tt(y):null}),a.createElement(Je,{label:w,inputKind:"submit",isDisabled:b&&!v.length})))};nt.propTypes={customInvalidityMessages:i().object,errorText:i().string,formName:i().string,hedText:i().string,hideChannelNavigation:i().bool,inputLabel:i().string,inputName:i().string,inputPlaceholder:i().string,isBookmarkDrawersEnabled:i().bool,isOpen:i().bool,isRequired:i().bool,onClose:i().func,onInput:i().func,onReset:i().func,onSubmit:i().func,position:i().oneOf(Object.keys(je.A)),resetButtonLabel:i().string,shouldDisableSubmitButtonOnEmptyInput:i().bool,shouldHideValidationErrorText:i().bool,submitButtonLabel:i().string};const ot="collectionName",it="Right",at="Bottom";var rt=n(86902);const st=({copilotID:e,componentConfig:t,contentType:n,config:{account:o},isLargeDevice:i,shouldDisableSubmitButtonOnEmptyInput:r=!0})=>{const{formatMessage:c}=(0,l.A)(),[m,u]=(0,a.useState)(""),p=o?.bookmark?.enableBookmarkDrawers||!1,{channel:g,closeAll:h,federatedGraphqlUrl:y,openCollectionsDrawer:b,openSaveAlertWithBoardName:f,organizationId:w,showComponent:$,setHasCollections:v,hasCollections:k}=(0,s.N)(),x=$===C,E={[ot]:{valueMissing:c(Be.createCollectionValueMissingError)}},A=B()(t,"CollectionDrawer.settings",{});return a.createElement(nt,{customInvalidityMessages:E,errorText:m,formName:"createCollection",hedText:A.createCollectionHeading||c(Be.createCollectionHeading),inputLabel:A.createCollectionInputLabel||c(Be.createCollectionInputLabel),inputName:ot,inputPlaceholder:A.placeHolderText||c(Be.createCollectionPlaceholderText),isOpen:x,isRequired:!0,onClose:async()=>{u(""),await h(),k&&b()},onInput:()=>{u("")},onReset:()=>u(""),onSubmit:async t=>{if((e=>e.trim().length<1)(t))return void u(c(Be.createCollectionNoTextError));const{errorType:o,id:i}=await(0,d.No)({copilotIds:e?[e]:[],collectionName:t,federatedGraphqlUrl:y,organizationId:w});(v(!0),o)?u(c(o===d.D1.DUPLICATE_NAME?Be.createCollectionDuplicateNameError:Be.createCollectionNotMadeError)):((({channel:e,contentType:t,collectionName:n,copilotID:o,collectionId:i})=>{He({contentId:o,contentType:t,saveContextSubject:Ne(e),saveEventSubject:ve,subjectId:i,subjectName:n,type:Ee})})({channel:g,collectionName:t,collectionId:i,copilotID:e,contentType:n}),e?f({collectionName:t}):h())},position:i?it:at,resetButtonLabel:A.createCollectionResetButtonLabel||c(Be.createCollectionResetButtonLabel),shouldDisableSubmitButtonOnEmptyInput:r,shouldHideValidationErrorText:!0,submitButtonLabel:A.createCollectionSubmitButtonLabel||c(Be.createCollectionSubmitButtonLabel),isBookmarkDrawersEnabled:p})};st.propTypes={componentConfig:i().object,config:i().object,contentType:i().string,copilotID:i().string,isLargeDevice:i().bool.isRequired,shouldDisableSubmitButtonOnEmptyInput:i().bool};const lt=(0,r.M3)(st,{keysToPluck:["config","componentConfig"],keysToSpread:[rt.J.LAST_BOOKMARKED_PHOTO]});var dt=n(22354);const ct=({channel:e,message:t,showPhotoBookmarkMessageBanner:n=!0,title:o})=>{const[i,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{const t=`photoBookmarkBannerShownOn${e}`;window.localStorage.getItem(t)||!n?r(!1):(r(!0),window.localStorage.setItem(t,!0))},[e,n]),i&&a.createElement(X.TW,{shouldShowCloseButton:!0},a.createElement(X.vV,null,a.createElement(X.BK,{as:Y.p,title:o}),a.createElement(X.jK,null,t)))};ct.propTypes={channel:i().string,message:i().string,showPhotoBookmarkMessageBanner:i().bool,title:i().string},ct.displayName="PhotoBookmarkMessageBanner";const mt=(0,dt.Ng)(e=>{const{showPhotoBookmarkMessageBanner:t}=e;return{showPhotoBookmarkMessageBanner:t}})(ct,"PhotoBookmarkMessageBanner"),ut=({setLastBookmarkedPhoto:e,image:t,copilotID:n,contentType:o,shouldEnableBookmarkDrawers:i})=>{const{formatMessage:r}=(0,l.A)(),{channel:d,openCreateCollectionDrawer:c,openCollectionsDrawer:m,lastCollectionSavedTo:u,saveAlertMessage:{linkMessage:p,textMessage:g,href:h,type:y},shouldAutoSaveToCollection:b,closeAll:f}=(0,s.N)(),$=y===S,v=y===A,C=y===E,k=(0,a.useCallback)(e,[e]),x=t||"photo"!==o&&n||$;if((0,a.useEffect)(()=>{let e;return x&&(e=setTimeout(()=>{k(),f()},5e3)),()=>{e&&clearTimeout(e)}},[k,x,f]),!x)return null;const L=p||r(w.A.SaveBookmarkAlertLink),T=t&&!$;return a.createElement(a.Fragment,null,!i&&a.createElement(X.TW,null,a.createElement(X.dZ,null,T&&a.createElement(_e.A,{...t}),a.createElement(X.IJ,null,g||r(w.A.SaveBookmarkAlertText)),C&&a.createElement(X.aN,{href:h,onClick:()=>{(({channel:e,contentId:t,label:n,subjectId:o,subjectName:i,contentType:a})=>{He({contentId:t,contentType:a,label:n,saveContextSubject:Ne(e),saveEventSubject:ve,subjectId:o,subjectName:i,type:Se})})({channel:d,contentId:n,contentType:o,label:L,subjectId:u.id,subjectName:u.name})}},L),v&&a.createElement(X.gs,{label:L,onClickHandler:()=>{b?m():c()},btnStyle:"text"}))),i&&a.createElement(Ue.A,{bannerType:"savedWithAddingToList"}))};ut.propTypes={contentType:i().string,copilotID:i().string,image:i().shape(_e.A.propTypes),setLastBookmarkedPhoto:i().func,shouldEnableBookmarkDrawers:i().bool},ut.displayName="PhotoBookmarkSaveAlert";const pt=(0,dt.Ng)(e=>{const{config:{account:t},lastBookmarkedPhoto:{copilotID:n,image:o,contentType:i}={}}=e;return{copilotID:n,image:o,contentType:i,shouldEnableBookmarkDrawers:t?.bookmark?.enableBookmarkDrawers||!1}},e=>{const{setLastBookmarkedPhoto:t}=(0,rt.K)(e);return{setLastBookmarkedPhoto:t}})(ut),gt={Runway:{mobileMessage:w.A.RunwayMobileMessageBannerText,desktopMessage:w.A.RunwayDesktopMessageBannerText},StreetStyle:{mobileMessage:w.A.GalleryMobileMessageBannerText,desktopMessage:w.A.GalleryDesktopMessageBannerText},ImageSearch:{mobileMessage:w.A.ImageSearchMobileMessageBannerText,desktopMessage:w.A.ImageSearchDesktopMessageBannerText},Default:{mobileMessage:w.A.DefaultMobileMessageBannerText,desktopMessage:w.A.DefaultDesktopMessageBannerText}},ht=()=>!!H.qx&&window.matchMedia(`(min-width: ${H.LO.md})`).matches,yt=({theme:e="standard"})=>{const{formatMessage:t}=(0,l.A)(),[n,o]=(0,a.useState)(ht()),{showComponent:i,channel:r}=(0,s.N)(),d=i===x,c=i===v;(0,T.wY)(()=>o(ht()));const m=(({isLargeDevice:e,channel:t})=>{const{mobileMessage:n,desktopMessage:o}=gt[t]||{};return e?o:n})({isLargeDevice:n,channel:r});return a.createElement(N.A,{palette:e},d&&a.createElement(pt,null),a.createElement(We,{isLargeDevice:n,isOpen:c}),a.createElement(lt,{isLargeDevice:n}),c&&a.createElement(Z,null),m&&a.createElement(mt,{channel:r,message:t(m),title:t(w.A.photoBookmarkSaveIconTitle)}))};yt.propTypes={theme:i().oneOf(["inverted","standard"])};const bt=({children:e,channel:t,collectionAutoSaveThreshold:n,federatedGraphqlUrl:o,isPhotoBookmarkingEnabled:i=!1,site:r,theme:l})=>{const{actions:c,state:m}=L(),u=r?.orgId||"",[p,g]=(({federatedGraphqlUrl:e,organizationId:t})=>{const[n,o]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{(async()=>{const n=await(0,d.W$)({federatedGraphqlUrl:e,organizationId:t});o(n>0)})()},[e,t]),[n,o]})({federatedGraphqlUrl:o,organizationId:u});if(!i)return e;const h=!!n&&m.lastCollectionSavedTo.count>=n,y={...c,...m,shouldAutoSaveToCollection:h,setHasCollections:g,hasCollections:p,federatedGraphqlUrl:o,organizationId:u,channel:t};return a.createElement(s.w.Provider,{value:y},a.createElement(yt,{theme:l}),e)};bt.propTypes={channel:i().string,children:i().node,collectionAutoSaveThreshold:i().number,federatedGraphqlUrl:i().string,isPhotoBookmarkingEnabled:i().bool,site:i().object,theme:i().oneOf(["inverted","standard"])};const ft=(0,r.M3)(bt,{keysToSpread:["userPlatform","coreDataLayer"]})},95788:(e,t,n)=>{n.d(t,{X:()=>o,q:()=>i});const o=e=>{const t=(e.current?.getBoundingClientRect().top??0)+window.pageYOffset,{scrollHeight:n}=document.documentElement;return tn/1.5?"bottom":""},i=e=>{const t=(e.current?.getBoundingClientRect().top??0)+(e.current?.getBoundingClientRect().height??0);return t>=0&&t<=window.innerHeight}},95928:(e,t,n)=>{n.d(t,{A:()=>z});var o=n(15822),i=n(91250);const a={autolinkAccount:async({amgUUID:e,body:t,userPlatformProxy:n,xClientID:a})=>{const r=await(0,i.u)(`${n}${o.v.userDetails}/${e}/subscriptions/autolink`,{body:t,credentials:"include",headers:{"Content-Type":"application/json","x-client":a},method:"POST"},5e3),{data:{authToken:s}={}}=await r.json();return s?{completed:!0}:{completed:!1}}};var r=n(41289),s=n(87612),l=n.n(s),d=n(7309),c=n.n(d),m=n(58156),u=n.n(m),p=n(94394),g=n.n(p),h=n(62193),y=n.n(h),b=n(42877),f=n.n(b),w=n(69752),$=n.n(w),v=n(20826),C=n.n(v),k=n(90179),x=n.n(k),E=n(79469),A=n.n(E);const S=["ACTIVE","PURCHASED"],L=["active"],T={ORG_ACCESS_PRODUCT_TYPE:{buttonHref:null,buttonLabel:null,dangerousDek:"You have complimentary digital access to [BRAND] as a Condé Nast employee. If you have questions please visit the #employee-digital-access Slack channel.",providerId:"org-access"},formatDate:function(e){return e.toLocaleDateString("en",{year:"numeric",month:"numeric",day:"numeric"})},getAllActiveReceiptsForBrand:(e,t=[])=>{const n=new Set(e.map(({product:e})=>e));return l()(t,e=>{const t=u()(e,"product",""),o=u()(e,"providerId",""),i=new Date(u()(e,"expires",0)),a=u()(e,"status","");return o.startsWith("org-access")?n.has(t):o.includes("google-swg")?S.includes(a)&&n.has(t)&&i.getTime()>=Date.now():o.includes("cds")&&!o.includes("cdsuk")?L.includes(a.toLowerCase())&&n.has(t)&&i.getTime()>=Date.now():n.has(t)&&i.getTime()>=Date.now()})},getLatestActiveProducts:(e,t,n,o={})=>{if(y()(e)||y()(t))return null;const i=g()(e,e=>u()(e,"product","")+u()(e,"providerId","")),a={...$()(Object.keys(i),(e,t)=>{const n=e,o=f()(i[t],["expires"],["desc"]);return n[t]=o[0]||{},n},{})};return $()([...t],(e,t)=>{const i=e,r=`${t.product}${t.providerId}`;if(a[r]){const e=T.formatDate(new Date(u()(a[r],"expires",0)));i[r]={...t,dangerousDek:t.dangerousDek.replace("${expirationDate}",e)},delete a[r]}else if(!e[t.product]){const e=c()(a,e=>u()(e,"product","").includes(t.product));if(e){let a;const s=T.formatDate(new Date(u()(e,"expires",0))),l=u()(e,"providerId","").startsWith("org-access");if(l)a={...t},Object.assign(a,T.ORG_ACCESS_PRODUCT_TYPE);else{if("CNEE"!==t.source||""!==t.providerId)return i;{const n=u()(o,"CDSEntitlements",{}),i=u()(o,"CDSUKEntitlements",{});a={...t},u()(e,"providerId","").startsWith("cdsuk")&&i?Object.assign(a,i):u()(e,"providerId","").startsWith("cds")&&n&&Object.assign(a,n)}}i[r]={...a,dangerousDek:l?a.dangerousDek.replace("[BRAND]",`${n}`):t.dangerousDek.replace("${expirationDate}",s)}}}return i},{})}},N={__internals__:T,transformEntitlementsData:(e,t,n,o,i)=>{const a=u()(e,"data.fetchProfile.profile.viewProfile",[]),{productTypes:r=[],productStackingOrder:s=[],...l}=o,d=T.getAllActiveReceiptsForBrand(r,a),c=T.getLatestActiveProducts(d,r,i,o),m=t?.map(e=>(({productId:e,provider:t,link:n},o)=>{const i=o.find(t=>!!t.product&&"martech"===t.source&&t.product===e);return i?{[`${e}.${t}.${n}`]:{...i,buttonHref:n}}:null})(e,r)).reduce((e,t)=>({...e,...t}),null),p=n?.map(e=>(({productId:e,provider:t,link:n},o)=>{const i=o.find(n=>{if(n.product){const o=A().newTrie().add(n.product);return"EPEP"===n.source&&o.check(e)&&n.providerId===t}return!1});return i?{[`${e}.${t}.${n}`]:{...i,buttonHref:n}}:null})(e,r)).reduce((e,t)=>({...e,...t}),null),g=!!c,h=!!m,y=!!p;let b=(c||m||p)&&{...m,...c,...p};return b=((e,t)=>{let n=!1;return e.forEach(e=>{const o=C()(t,t=>t.source===e.source&&e.product===t.product);o&&!n?n=!0:o&&n&&(t=x()(t,o))}),t})(s,b),{latestActiveProducts:b,...l,isUserEntitled:g||h||y,hasCneeEntitlements:g,hasMartechEntitlements:h,hasEPEPEntitlements:y}}};var H=n(78768),I=n.n(H);const B={validatePayment:({entitlement:e,acceptableForms:t,acceptableScopes:n})=>{const{domain:o,server:i,enabled:a}=e;return a?I().validator({document,domain:o,server:i,acceptableForms:t,acceptableScopes:n,storage:window.localStorage}).execute():Promise.resolve()}};var O=n(14961),_=n(13446),K=n(56892),P=n(14307),D=n(53788);const{AssociationsRequest:q,IdSet:M,Id:R,IdType:F}=O.id_mapper,U=`${_.xz}.#`,V="cn_persistent_login";function G(e){return e.slice(_.xz.length+1)}function W(){return!!(0,K.getCookie)(D.A.accessCookie)||Object.keys(D.A.oidcCookies).some(e=>(0,K.getCookie)(e))}async function j(e){if(W())return null;const t=M.create({ids:[R.create({type:F.fingerprint,value:e})]}),n=q.create({idSets:[t]}),o=q.encode(n).finish();try{fetch("/verso-srv/api/v1/persistent-login",{method:"POST",body:new Blob([o]),headers:{"Content-Type":"application/octet-stream"}}).then(()=>{window.sessionStorage?.setItem(V,"true"),(0,P.ZL)({type:"complete",label:"loginless_entitlement_check"})})}catch(e){}}const z={autolink:a,getEntitlements:async function({amgUUID:e,userPlatformProxy:t,xClientID:n}){const a=`${t}${o.v.userDetails}/${e}/entitlements`;try{return await(0,i.u)(a,{credentials:"include",headers:{"Content-Type":"application/json","x-client":n},method:"GET"},5e3)}catch(e){const t=e.status||400;throw new Error(`${t} - Error fetching user entitlements: ${e.message}`)}},getAccessCondeEntitlements:async function({xClientID:e,accessCondeBaseUrl:t}){const n=`${t}v1/public/entitlements?active=true`;try{const t=await(0,i.u)(n,{credentials:"include",headers:{"Content-Type":"application/json","user-agent":`verso-${e}`},method:"GET"},5e3);if(200!==t.status){const e=await t.text(),n=new Error(e);throw n.status=t.status,n}return t}catch(e){e.status;return null}},subscriptionLink:r.E,dpvContractLink:r.R,persistentLogin:function({isEnabled:e}){if(!e||W()||window.sessionStorage?.getItem(V))return null;let t=!1;const n=window?.cnBus?.on(U,(e,o)=>{if(n(),!t){t=!0;j(G(o.topic))}}),o=window?.cnBus?.on(_.ok,e=>{n(),o(),t||(t=!0,j(e.visitorId))}),[i]=window?.cnBus.history(U)[0]||[];if(i&&(n(),o(),!t)){t=!0;j(G(i))}},...N,validatePayment:B}},96165:(e,t,n)=>{n.d(t,{Ay:()=>s,m5:()=>r});var o=n(82692),i=n(58156),a=n.n(i);function r(e=""){let t;const n=e.split("/"),o=n.pop().split("?overlay=");o.length>1&&(t=o[1]);const i=encodeURI(o[0]),a=[...n,i].join("/").replace(/,/g,"%2C");return t?`${a}?overlay=${t}`:a}const s={buildSourceSet:function(e){const t=(0,o.G)(e);return t&&t.srcset?t.srcset:e.filter(e=>e&&e.width).reduce((e,t)=>(e.push(`${r(t.url)} ${t.width}w`),e),[]).join(", ")},calculateLoadingHeight:function(e,t){if(!e)return 0;const{aspectRatio:n="master"}=e;let o;if(n.includes(":")){const[e,t]=n.split(":");o=e/t}else{if(!e.height||!e.width)return 0;{const{width:t,height:n}=e;o=t/n}}return Math.round(t/o)},encodeImageURI:r,getSources:(e={},t={},n="",o=!1,i=!1)=>{if(!e||0===Object.keys(e).length)return[];const a=i?{sm:{width:"max-width",thresholds:"maxThresholds",mediaId:"md"},md:{width:"max-width",thresholds:"maxThresholds",mediaId:"lg"},lg:{width:"max-width",thresholds:"maxThresholds",mediaId:"xl"},xl:{width:"max-width",thresholds:"maxThresholds",mediaId:"xxl"},xxl:{width:"min-width",thresholds:"minThresholds",mediaId:"xxxl"}}:o?{sm:{width:"max-width",thresholds:"maxThresholds",mediaId:"md"},md:{width:"max-width",thresholds:"maxThresholds",mediaId:"lg"},lg:{width:"min-width",thresholds:"minThresholds",mediaId:"xl"}}:{sm:{width:"max-width",thresholds:"maxThresholds",mediaId:"md"},lg:{width:"min-width",thresholds:"minThresholds",mediaId:"lg"}};return Object.entries(e).filter(([e])=>a[e]).map(([e,o])=>{const i=a[e].mediaId,{width:r,thresholds:s}=a[e];return{media:`(${r}: ${t[s][i]}px)`,sources:Object.values(o),sizes:o[0]?.sizes||n,srcset:o[0]?.srcset}})},getBaseSources:(e,t)=>e?{sm:a()(e.sm,"0",null),lg:a()(e.lg,"0",null)}:{sm:Object.values(t).pop()},getLegacySources:(e,t,n)=>e?[]:n.sizesDescending.map(e=>t[e]).filter(Boolean)}},96307:(e,t,n)=>{n.d(t,{A:()=>oe});var o=n(32485),i=n.n(o),a=n(5556),r=n.n(a),s=n(96540),l=n(10642),d=n(87468),c=n(55252),m=n(74400),u=n(88722),p=n(42361),g=n(60261),h=n(53499),y=n(38267),b=n(76955),f=n(96472),w=n(26865),$=n(86659),v=n(86157),C=n(6613),k=n(91783),x=n(7228),E=n(40653),A=n(52327),S=n(73730),L=n(62096),T=n(74423),N=n(75163);const H="0.4s",I="32px",B=(0,y.Ay)(b.vm).withConfig({displayName:"MultiReviewContentHeaderHed"})` margin: 0; padding: ${(0,w.Kq)(4)} 0; color: var(${N.pT.Color.TextHeading}); font-style: italic; ${(0,w.H4)(f.LO.sm)} { padding: ${(0,w.Kq)(2)} 0; } `;B.defaultProps={as:"h1",typeIdentity:"typography.definitions.consumptionEditorial.hed-standard"};const O=(0,y.Ay)("span").withConfig({displayName:"MultiReviewContentHeaderHedSpanSlashes"})` ${({theme:e})=>(0,w._o)(e,"color","colors.consumption.body.standard.divider")} `,_=(0,y.Ay)(b.vm).withConfig({displayName:"MultiReviewContentHeaderArtist"})` margin: 0; ${({lengthOfItems:e})=>e&&"{font-size : 28px;}"} color: var(${N.pT.Color.TextDek}); `;_.defaultProps={as:"div",typeIdentity:"typography.definitions.consumptionEditorial.description-core"};const K=(0,y.Ay)(b.sH).withConfig({displayName:"MultiReviewContentHeaderArtistLink"})` display: inline-block; margin-top: ${(0,w.Kq)(2)}; margin-bottom: ${(0,w.Kq)(2)}; vertical-align: middle; &:link { text-decoration: none; } `,P=(0,y.Ay)(b.vm).withConfig({displayName:"MultiReviewContentHeaderDek"})` padding-top: ${(0,w.Kq)(1)}; padding-bottom: ${(0,w.Kq)(3)}; text-align: center; `;P.defaultProps={as:"div",typeIdentity:"typography.definitions.consumptionEditorial.description-core"};const D=y.Ay.div.withConfig({displayName:"MultiReviewContentHeaderInfoSlice"})` align-items: center; padding-top: ${(0,w.Kq)(0)}; ${A.Ni} { justify-content: center; border-width: 0; } `,q=y.Ay.div.withConfig({displayName:"MultiReviewContentHeaderTitleBlock"})` display: flex; flex-direction: column; align-items: center; justify-content: center; padding-right: ${(0,w.Kq)(3)}; padding-left: ${(0,w.Kq)(3)}; width: 100%; height: 100%; text-align: center; ${(0,w.H4)(f.LO.xl)} { padding-right: 0; padding-left: 0; } ${(0,w.H4)(f.LO.md)} { padding-right: 0; } > * { max-width: 500px; } `,M=y.Ay.div.withConfig({displayName:"MultiReviewContentHeaderLeadWrapper"})` display: grid; grid-template-columns: repeat(12, 2fr); align-items: left; justify-content: center; text-align: center; ${k.WE} { display: block; } `,R=y.Ay.div.withConfig({displayName:"MultiReviewContentHeaderScoreBox"})` grid-column: 8 / span 5; align-self: center; ${(0,w.H4)(f.LO.sm)} { margin-bottom: 0; padding-left: ${(0,w.Kq)(2.5)}; ${L.vX} { margin-right: 3px; margin-bottom: 0; margin-left: 3px; width: 111px; height: 111px; } ${L.dk} { width: max-content; } } ${(0,w.H4)(f.LO.md)} { margin-bottom: ${(0,w.Kq)(0)}; padding-left: ${(0,w.Kq)(2.5)}; } ${(0,w.H4)(f.LO.lg)} { margin-bottom: ${(0,w.Kq)(0)}; padding-left: ${(0,w.Kq)(4)}; ${L.vX} { width: 134px; height: 134px; } } ${L.vX} { margin-bottom: 0; } ${L.dy} { width: auto; height: 26px; } ${({isBestNewMusic:e,isBestNewReissue:t})=>(e||t)&&y.AH` ${L.dk} { svg { margin-bottom: 0; margin-left: ${(0,w.Kq)(0)}; } } ${L.vX} { margin-top: 16px; margin-bottom: ${(0,w.Kq)(2)}; padding-bottom: 0; } ${(0,w.H4)(f.LO.sm)} { ${L.vX} { margin-top: 12px; margin-bottom: 12px; } } `} `,F=(0,y.Ay)(d.A).withConfig({displayName:"MultiReviewContentHeaderByline"})` padding-bottom: ${(0,w.Kq)(1)}; ${(0,w.Gg)("typography.definitions.globalEditorial.accreditation-feature")} ${T.QW} { ${({lengthOfItems:e})=>e>1&&y.AH` ${(0,w.Gg)("typography.definitions.globalEditorial.accreditation-core")} `} } `,U=y.Ay.div.withConfig({displayName:"MultiReviewContentHeaderCaption"})` display: flex; grid-column: 1 / span 7; margin: 0; margin-bottom: ${(0,w.Kq)(4)}; padding-top: ${(0,w.Kq)(1)}; text-align: left; svg { width: ${(0,w.Kq)(2.5)}; height: ${(0,w.Kq)(2.5)}; vertical-align: bottom; } ${(0,w.H4)(f.LO.xxl)} { grid-column: 3 / span 5; } ${(0,w.H4)(f.LO.xl)} { grid-column: 2 / span 6; } `,V=y.Ay.div.withConfig({displayName:"MultiReviewContentHeaderRubric"})` &:only-child { margin-right: 0; } display: inline-flex; margin: ${(0,w.Kq)(4)} ${(0,w.Kq)(.5)} 0 ${(0,w.Kq)(.5)}; ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.globalEditorial.context-primary")} ${(0,w.H4)(f.LO.md)} { margin: 0 ${(0,w.Kq)(2)} 0 0; } ${C.as} { vertical-align: baseline; } `,G=(0,y.Ay)(v.A).withConfig({displayName:"MultiReviewContentHeaderLede"})` grid-column: 1 / span 7; ${(0,w.H4)(f.LO.xxl)} { grid-column: 3 / span 5; } ${(0,w.H4)(f.LO.xl)} { grid-column: 2 / span 6; } .responsive-image { width: 100%; height: 100%; } ${x.BF} { width: 100%; height: auto; object-fit: cover; } `,W=(0,y.Ay)($.A.EvenAny).withConfig({displayName:"MultiReviewContentHeaderForMusicReview"})` border-bottom: 1px solid ${(0,w.HK)("colors.consumption.lead.standard.divider")}; &.grid-even-any { ${(0,w.H4)(f.LO.sm)} { ${E.E} { :nth-of-type(2) { margin-top: ${(0,w.Kq)(2)}; margin-right: ${(0,w.Kq)(3)}; margin-left: ${(0,w.Kq)(3)}; } } ${G} { ${x.BF} { object-fit: contain; } } } ${(0,w.H4)(f.LO.lg)} { ${E.E} { :nth-of-type(2) { margin-right: 0; } } } ${(0,w.H4)(f.LO.md)} { ${E.E} { :nth-of-type(2) { margin-top: ${(0,w.Kq)(4)}; margin-left: 0; } } grid-template-columns: 50% auto; } ${(0,w.H4)("980px")} { grid-template-columns: 50% auto; } } `,j=(0,y.Ay)($.A.WithMargins).withConfig({displayName:"MultiReviewContentHeaderGrid"})` > ${E.E} { grid-column: 1 / -1; ${(0,w.H4)(f.LO.md)} { grid-column: 2 / -2; } } `,z=y.Ay.header.withConfig({displayName:"MultiReviewContentHeaderWrapper"})``,Y=y.Ay.div.withConfig({displayName:"MultiReviewContentHeaderSlideController"})` display: flex; grid-column: 8 / span 3; margin-bottom: ${(0,w.Kq)(4)}; margin-left: auto; padding-top: ${(0,w.Kq)(1)}; text-align: center; ${(0,w.H4)(f.LO.sm)} { grid-column: 10 / span 3; } ${(0,w.H4)(f.LO.lg)} { grid-column: 9 / span 3; } ${(0,w.H4)(f.LO.xl)} { grid-column: 8 / span 3; } ${(0,w.H4)(f.LO.xxl)} { margin-right: ${(0,w.Kq)(3)}; padding-top: ${(0,w.Kq)(0)}; } `,X=(0,y.Ay)(S.A.Utility).withConfig({displayName:"MultiReviewContentHeaderSlideControlButton"})` display: inline-block; /* This +10 is to offset the lag that happens when transitioning a svg fill-color */ transition: transform ${H+10} ease-in-out; border: 1px solid; ${({theme:e})=>(0,w._o)(e,"border-color","colors.interactive.base.black")}; background-color: transparent; cursor: pointer; padding: 0; width: ${I}; min-width: ${I}; height: ${I}; &.button--utility + &.button--utility { margin-top: 0; } && { &:focus, &:hover, &:active { border-width: 1px; background-color: transparent; } ${({isDisabled:e})=>e&&`\n opacity: 0.8;\n ${({theme:e})=>(0,w._o)(e,"border-color","colors.interactive.base.light")};\n pointer-events: none;\n border-width: 1px;\n svg {\n ${({theme:e})=>(0,w._o)(e,"fill","colors.interactive.base.light")};\n }\n `} } &:focus, &:hover { border: 1px solid; background-color: none; ${({theme:e})=>(0,w._o)(e,"border-color","colors.interactive.base.brand-primary")}; svg { ${({theme:e})=>(0,w._o)(e,"fill","colors.interactive.base.brand-primary")}; } } &&:active, &&:focus, &&:hover { background-color: none; } &&:disabled { opacity: 0.8; border-width: 1px; background-color: transparent; svg { ${({theme:e})=>(0,w._o)(e,"fill","colors.interactive.base.light")}; } } svg { position: relative; transition: fill ${H} ease-in-out; height: ${(0,w.Kq)(3)}; ${({theme:e})=>(0,w._o)(e,"fill","colors.interactive.base.black")}; } ${({isBackArrow:e})=>e?"transform: rotate(180deg);":`margin-left: ${(0,w.Kq)(2)};`} `,Z=(0,y.Ay)(b.vm).withConfig({displayName:"ImageCaptionTextCounter"})` ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.globalEditorial.accreditation-core")} ${({theme:e})=>(0,w._o)(e,"color","colors.consumption.lead.standard.context-signature")} `,J=(0,y.Ay)("span").withConfig({displayName:"ImageCaptionText"})` padding-left: 5px; ${({theme:e})=>(0,w.Gg)(e,"typography.definitions.globalEditorial.accreditation-core")} ${({theme:e})=>(0,w._o)(e,"color","colors.consumption.lead.standard.context-tertiary")} `,Q=(0,y.Ay)("span").withConfig({displayName:"ImageAlbumText"})` font-style: italic; `,ee=y.Ay.time.withConfig({displayName:"MultiReviewContentHeaderReleaseYear"})` ${(0,w.Gg)("typography.definitions.globalEditorial.context-tertiary")}; `,{useState:te}=s,ne=({artistDetails:e,className:t,contributors:n,dangerousDek:o,hideContributorBelowHeader:a=!1,hideDekBelowHeader:r=!1,hideInfoSliceBelowHeader:d=!1,itemsReviewed:y,infoSliceFields:b,rubric:f,rubricVariation:w,enableBlur:$,scoreSubscriptionUrl:v=""})=>{s.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(h.G.RENDER,{name:"MultiReviewContentHeader"})});const C=l.A[w]||l.A,[k,x]=te(0),E=y?.length,A=y[0]?.releaseYear;E>1&&delete b.label;const S=(0,u.i)(b);return s.createElement(z,{className:i()("content-header",{[t]:t})},s.createElement(W,null,s.createElement(q,null,f&&s.createElement(V,{as:C,...f}),s.createElement(B,null,(e=>e?.map((t,n)=>{const o=e.length-1;return s.createElement("span",{key:n},t?.dangerousHed,n{const t=e||[];return 0===t.length?null:s.createElement("div",null,t.map((e,n)=>s.createElement(s.Fragment,{key:n},s.createElement(K,{href:"/".concat(e?.uri)},s.createElement(_,{dangerouslySetInnerHTML:{__html:e?.name},lengthOfItems:E})),!(n===t.length-1)&&s.createElement(O,{dangerouslySetInnerHTML:{__html:" / "}}))))},null),1===E&&A&&s.createElement(ee,{"data-testid":"MultiReviewContentHeaderReleaseYear"},A)),(e=>{const t=e?.length;if(!Array.isArray(e)||t<=0)return null;const n=()=>{x(k===t-1?0:k+1)},o=()=>{x(0===k?t-1:k-1)},i=e=>{const t={ArrowLeft:o,ArrowRight:n};t[e.key]&&t[e.key]()};return s.createElement("div",null,e?.map((e,a)=>{const{dangerousHed:r,publisher:l,releaseYear:d,musicRating:m}=e,u=0===a,h=a+1===t;return a===k&&s.createElement(M,{key:a},s.createElement(G,{sources:e?.image?.sources,altText:e?.image?.altText}),s.createElement(R,{isBestNewMusic:m?.isBestNewMusic,isBestNewReissue:m?.isBestNewReissue},s.createElement(c.A,{rating:m?.score,isBestNewMusic:m?.isBestNewMusic,isBestNewReissue:m?.isBestNewReissue,enableBlur:$,shouldTrackImpression:!0,trackingSubject:"score_editorial",scoreSubscriptionUrl:v,trackingClassName:"score-box-header"})),t>1&&s.createElement(s.Fragment,null,s.createElement(U,null,s.createElement(Z,null,a+1," of ",t,s.createElement(J,null,s.createElement(Q,null,r),s.createElement(g.A,null),l,s.createElement(g.A,null),d))),s.createElement(Y,{role:"presentation",onKeyDown:i,isBestNewMusic:m?.isBestNewMusic,isBestNewReissue:m?.isBestNewReissue},s.createElement(X,{ariaLabel:"prevSlide",isBackArrow:!0,onClickHandler:o,label:"",inputKind:"button",isIconButton:!0,isDisabled:u,isDisabledStyle:u,ButtonIcon:p.A}),s.createElement(X,{ariaLabel:"nextSlide",onClickHandler:n,label:"",inputKind:"button",isIconButton:!0,isDisabled:h,isDisabledStyle:h,ButtonIcon:p.A}))))}))})(y)),n&&!a&&s.createElement(F,{contributors:n,bylineVariation:"Item",lengthOfItems:E}),S.length>0&&!d&&s.createElement(j,null,s.createElement(D,null,s.createElement(m.A,{items:S}))),o&&!r&&s.createElement(j,null,s.createElement(P,{dangerouslySetInnerHTML:{__html:o}})))};ne.propTypes={artistDetails:r().array,className:r().string,contributors:r().shape(d.A.propTypes.contributors),dangerousDek:r().string,enableBlur:r().bool,hideContributorBelowHeader:r().bool,hideDekBelowHeader:r().bool,hideInfoSliceBelowHeader:r().bool,infoSliceFields:r().object,itemsReviewed:r().array,rubric:r().shape(l.A.propTypes),rubricVariation:r().string,scoreSubscriptionUrl:r().string},ne.displayName="MultiReviewContentHeader";const oe=ne},96472:(e,t,n)=>{n.d(t,{Ay:()=>h,KV:()=>r,L6:()=>o,LO:()=>i,Ni:()=>a,SI:()=>s,Yq:()=>d,h2:()=>g,ob:()=>m,p1:()=>u,qx:()=>c,uM:()=>p,xD:()=>l});const o={timingButtonDefault:"200ms",timingLinkDefault:"200ms",timingLinkNavigation:"200ms"},i={sm:"320px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1600px",max:"1280px",fullBleed:"1600px"},a={sm:["0px","320px"],md:["320px","768px"],lg:["768px","1024px"],xl:["1024px","1280px"],xxl:["1280px","1600px"]},r={skipLink:800,hyperstitialLayer:700,interstitialLayer:600,stickyLayer:350,persistentTopLayer:500,persistentBottomLayer:400,persistentAsideLayer:300,oneNav:450,navFixed:80,tooltip:50,dropdown:50,content:30},s={normal:{text:7,icon:7,background:5,border:6},active:{text:8,icon:8,background:5,border:8},valid:{text:8,icon:8,background:5,border:7},invalid:{text:3,icon:3,background:5,border:3},disabled:{text:7,icon:7,background:6,border:7}},l={1:"colors.interactive.base.brand-primary",2:"colors.interactive.base.brand-secondary",3:"colors.interactive.feedback.invalid-primary",4:"colors.interactive.feedback.invalid-secondary",5:"colors.interactive.base.white",6:"colors.interactive.base.light",7:"colors.interactive.base.dark",8:"colors.interactive.base.black"},d={sm:2,md:3,lg:4},c=!(!window.document||!window.document.createElement),m={link:{style:"null"},visited:{style:"null"},hover:{style:"underline"},active:{style:"underline"},focus:{focus:"underline"}},u={KEY_ENTER:"Enter",KEY_SPACE:" ",KEY_TAB:"Tab",KEY_ESCAPE:"Escape"},p={USD:"$",EUR:"€",GBP:"£",INR:"₹",JPY:"¥",TWD:"NT$",PHP:"₱",PLN:"zł",KRW:"₩",UAH:"₴",VND:"₫",MXN:"Mex$"},g="CommentingMainContent",h={BREAKPOINTS:i,BREAKPOINTS_RANGE:a,CAN_USE_DOM:c,GLOBAL_LINKS:m,GRID_GAP:d,INPUT_FIELD_PALETTE:s,INTERACTIVE:o,INTERACTIVE_PALLETE_TO_COLOR:l,SHOPIFY_IMAGE_SIZE_MAP:{large:"",medium:"&width=640",small:"&width=320"},ZINDEX_MAP:r,ACCESSIBILITY:u,CURRENCY_SYMBOLS:p,COMMENTING_SECTION_CLASS:g}},96747:(e,t,n)=>{n.d(t,{A:()=>k});var o=n(5556),i=n.n(o),a=n(96540),r=n(94327),s=n(87160),l=n(67170),d=n(38267),c=n(86659),m=n(26865),u=n(31226),p=n(40653);const g=d.AH` && { column-gap: ${(0,m.Kq)(1)}; row-gap: ${(0,m.Kq)(1)}; } @keyframes fadein { from { opacity: 0; } to { opacity: 1; } } img { animation: fadein 0.5s; } `,h=(0,d.Ay)(c.A.EvenFive).withConfig({displayName:"SummaryGridCompactGridFive"})` ${g} `,y=(0,d.Ay)(c.A.EvenSix).withConfig({displayName:"SummaryGridCompactGridSix"})` ${g} { && { column-gap: ${(0,m.Kq)(2)}; } } `,b=d.Ay.div.withConfig({displayName:"SummaryGridCompactWrapper"})``,f=(0,d.Ay)(c.A).withConfig({displayName:"SummaryGridCompactHeaderWrapper"})` > ${p.E} { grid-column: 1/-1; margin-bottom: ${(0,m.Kq)(4)}; } `,w=(0,d.Ay)(u.A.Primary).withConfig({displayName:"SummaryGridCompactExpandButton"})` margin-bottom: ${(0,m.Kq)(4)}; `;var $=n(35864),v=n(53499);const C=({items:e,dangerousHed:t,hasButton:n=!0,hasMobilePaddingBottom:o,hasUnderlineHed:i,showPrice:d=!1,showSummaryGridCompactGridSix:c=!1,onItemClick:m})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(v.G.RENDER,{name:"SummaryGridCompact"})},[]);const[u,p]=(0,a.useState)(10),g=a.createElement(b,null,t&&a.createElement(f,null,a.createElement($.default,{dangerousHed:t,hasDividerAbove:!0,hasDividerBelow:!0,textAlign:"center","data-testid":"section-title"})),c?a.createElement(y,null,e.map((e,t)=>a.createElement(l.A,{...e,key:t,hasMobilePaddingBottom:o,hasUnderlineHed:i,onItemClick:m&&(()=>m(e,t))}))):a.createElement(h,null,e.slice(0,u).map((e,t)=>a.createElement(l.A,{...e,key:t,showPrice:d,hasUnderlineHed:i,onItemClick:m&&(()=>m(e,t))})))),C=e.length>u&&n&&a.createElement(w,{label:"Show more",btnStyle:"outlined",onClickHandler:()=>{p(u+(()=>{const t=e.length-u;return t>10?10:t})()),(0,r.W8)("show_more")},isInline:!0});return a.createElement(s.A,{contentComponent:g,ctaComponent:C})};C.propTypes={dangerousHed:i().string,hasButton:i().bool,hasMobilePaddingBottom:i().bool,hasUnderlineHed:i().bool,items:i().arrayOf(i().shape(l.A.propTypes)).isRequired,onItemClick:i().func,showPrice:i().bool,showSummaryGridCompactGridSix:i().bool};const k=C},96756:(e,t,n)=>{n.d(t,{t:()=>i});var o=n(96540);class i extends o.Component{constructor(){super(...arguments),this.state={errorMessage:null}}static getDerivedStateFromError(e){return{errorMessage:e.message}}componentDidCatch(e,t){}render(){return null!==this.state.errorMessage?null:this.props.children}}},96872:(e,t,n)=>{function o(e,t){const n=e.filter(e=>"verso-mid-content-ad"!==e.template);return`${n.indexOf(e[t])+1}/${n.length}`}function i(e,t){if(t<=3)return["top",2===t?"bottom":"middle","bottom"][e]||"bottom";const n=Math.floor(t/3);let o;return o=ei,SV:()=>o,jv:()=>a,nO:()=>r});const a=(e,t)=>e.map(e=>({content_id:e.copilotID||e.id,content_title:e.dangerousHed,content_type:e.contentType,content_url:new URL(e.url,t.location.origin)})),r=(e,t,n,o,a,r,s)=>({type:e,label:t,subject:n,items:o,placement:i(a,r),index:a,total_index:r,subject_id:s})},97e3:(e,t,n)=>{n.d(t,{A:()=>g});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(66862),l=n(60156),d=n(38267),c=n(26865);const m=d.Ay.div.withConfig({displayName:"VersoPlpCuratedWrapper"})` ${({hasPaddingTop:e})=>e&&`padding-top: ${(0,c.Kq)(4)}`} `,u=e=>{const{hed:t,dek:n,groups:o,gridConfig:i,hasAffiliateLinkDisabled:a,hasCarouselSliderPagination:d,templateLayout:c,isGrid:u,isSeriesNavigation:p,productVisualAsset:g,expertCardContent:h,productList:y=[],shouldAppendReadMoreLinkForDek:b,showShopNowButton:f,summaryItemVariation:w,isUpcEnabled:$,paginationStyle:v,shouldUseSmallHed:C,isPlpCurated:k,isContentCenter:x,shouldOpenInternalLinksInNewTab:E,hasPadding:A,hasCustomSlider:S,hideDesktopPagination:L,hasBorder:T,affiliateDisclaimer:N,isFirstProductListingContainer:H,hideRubricLink:I,showDisclaimer:B,showRichTextInDek:O,shouldHideDangerousDek:_,containerIndex:K,enableEditorNote:P,editorNoteTitle:D,hasReadMoreFeature:q,showClampedProductDescription:M,productDescriptionLineLength:R}=e;return"VisualCarousel"===c?r.createElement(m,null,r.createElement(s.A,{hed:t,productList:y,productVisualAsset:g,expertCardContent:h,summaryItemVariation:w,shouldAppendReadMoreLinkForDek:b,showShopNowButton:f,isUpcEnabled:$,isContentCenter:x,isPlpCurated:k,shouldOpenInternalLinksInNewTab:E,hideDesktopPagination:L,affiliateDisclaimer:N,isFirstProductListingContainer:H,hasAffiliateLinkDisabled:a,hideRubricLink:I,showDisclaimer:B,showRichTextInDek:O,shouldHideDangerousDek:_,templateLayout:c,enableEditorNote:P,editorNoteTitle:D,hasReadMoreFeature:q,showClampedProductDescription:M,productDescriptionLineLength:R})):r.createElement(m,null,r.createElement(l.A,{dangerousHed:t,dangerousDek:n,groups:o,gridConfig:i,isGrid:u,layout:c,hasCarouselSliderPagination:d,summaryItemVariation:w,shouldAppendReadMoreLinkForDek:b,showShopNowButton:f,isUpcEnabled:$,shouldUseSmallHed:C,isContentCenter:!p&&x,isPlpCurated:k,shouldOpenInternalLinksInNewTab:E,paginationStyle:v,hasPadding:A,hasCustomSlider:S,hideDesktopPagination:L,hasBorder:T,isFirstProductListingContainer:H,affiliateDisclaimer:N,hasAffiliateLinkDisabled:a,isSeriesNavigation:p,hasBorderBottom:p,hideRubricLink:I,showDisclaimer:B,showRichTextInDek:O,shouldHideDangerousDek:_,containerIndex:K,enableEditorNote:P,editorNoteTitle:D,hasReadMoreFeature:q,showClampedProductDescription:M,productDescriptionLineLength:R}))};u.propTypes={affiliateDisclaimer:a().string,containerIndex:a().number,dek:a().string,enableEditorNote:a().bool,editorNoteTitle:a().string,expertCardContent:a().object,gridConfig:a().object,groups:a().array,hasAffiliateLinkDisabled:a().bool,hasBorder:a().bool,hasCarouselSliderPagination:a().bool,hasCustomSlider:a().bool,hasPadding:a().bool,hasReadMoreFeature:a().bool,hed:a().string,hideDesktopPagination:a().bool,hideRubricLink:a().bool,isContentCenter:a().bool,isFirstProductListingContainer:a().bool,isGrid:a().bool,isPlpCurated:a().bool,isSeriesNavigation:a().bool,isUpcEnabled:a().bool,paginationStyle:a().string,productDescriptionLineLength:a().number,productList:a().array,productVisualAsset:a().object,shouldAppendReadMoreLinkForDek:a().bool,shouldHideDangerousDek:a().bool,shouldOpenInternalLinksInNewTab:a().bool,shouldUseSmallHed:a().bool,showClampedProductDescription:a().bool,showDisclaimer:a().bool,showRichTextInDek:a().bool,showShopNowButton:a().bool,summaryItemVariation:a().string,templateLayout:a().string};const p=u,g=(0,o.y)(p,"VersoPlpCurated")},97024:(e,t,n)=>{n.d(t,{M:()=>s,U:()=>l});var o=n(38267),i=n(26865),a=n(96472),r=n(1123);const s=o.Ay.div.withConfig({displayName:"ActionBarWrapperComponent"})``,l=o.Ay.div.withConfig({displayName:"ActionBarWrapperContent"})` display: flex; justify-content: center; padding-bottom: ${(0,i.Kq)(4)}; ${({isActionBarStickyLargeScreen:e,actionBarHeight:t})=>e&&o.AH` ${(0,i.H4)(a.LO.lg)} { position: absolute; left: ${(0,i.Kq)(4)}; z-index: 80; padding: 0; width: fit-content; height: ${t?`${t}px`:"100%"}; ${(0,r.aU)("padding")} ${s} { position: sticky; top: 50%; transition: all 300ms ease-in-out; height: fit-content; ${(0,r.aU)("padding")} } } `} ${({showOverlayActionBar:e,isFirstActionBar:t})=>e&&t&&o.AH` position: fixed; bottom: -100px; animation: slideUpDown 0.5s ease-in-out both; z-index: 2; border-radius: ${(0,i.Kq)(6)}; box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); padding-bottom: 0; @keyframes slideUpDown { 0% { bottom: -100px; } 100% { bottom: 40px; } } `} `},97624:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(6442),l=n(28828),d=n(69657),c=n(53499),m=n(38267),u=n(96472);const p=m.Ay.div.withConfig({displayName:"NativeShareIconWrapper"})` display: flex; ${({shouldUseAlternativeIconStyle:e})=>e&&"\n width: 38px;\n height: 38px;\n "} path { transition: fill ${u.L6.timingButtonDefault} ease-in; fill: currentColor; } `;var g=n(73730);const h=(0,n(72267).defineMessages)({buttonTitle:{id:"NativeShareButton.ButtonTitle",defaultMessage:"Share",description:"Native Share Button component button title text",isConfigurable:!0}}),y=({buttonTitle:e,parentCallBack:t,shareData:n,shareCallback:o,hasDarkBackground:i,showOnlyIcon:a=!1,shouldUseAlternativeIconStyle:m=!1,theme:u})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(c.G.RENDER,{name:"NativeShareButton"})},[]);const{formatMessage:y}=(0,s.A)(),[b,f]=(0,r.useState)(!1),w=m?d.A:l.A,$="inverted"===u?g.A.UtilityInverted:g.A.Utility;(0,r.useEffect)(()=>{t&&t(b)},[b,t]);const v=async(e,t)=>{if(!Object.keys(e||{}).length||!navigator?.share)return!1;let n=null;try{await navigator.share(e)}catch(e){n=e?.message}return"function"==typeof t&&t({type:"native-sharing",error:n}),!0},C=e=>{e&&!navigator?.share&&f(!b)};return a?r.createElement(p,{hasDarkBackground:i,shouldUseAlternativeIconStyle:m},r.createElement(w,{onIconClick:()=>{C(t),v(n,o)},onKeyDown:e=>{13===e.keyCode&&(C(t),v(n,o))},tabIndex:"0"})):r.createElement($,{onClickHandler:()=>{v(n,o),C(t)},btnStyle:"outlined",label:e||y(h.buttonTitle),iconPosition:"before",hasEnableIcon:!0,hasDarkBackground:i,ButtonIcon:()=>r.createElement(p,{hasDarkBackground:i,shouldUseAlternativeIconStyle:m},r.createElement(w,null))})};y.propTypes={buttonTitle:a().string,hasDarkBackground:a().bool,parentCallBack:a().func,shareCallback:a().func,shareData:a().object.isRequired,shouldUseAlternativeIconStyle:a().bool,showOnlyIcon:a().bool,theme:a().oneOf(["standard","inverted","special"])},y.displayName="NativeShareButton";const b=y,f=(0,o.y)(b,"NativeShareButton")},98338:(e,t,n)=>{n.d(t,{A:()=>et});var o=n(13465),i=n(5556),a=n.n(i),r=n(96540),s=n(52663),l=n(35864),d=n(38267),c=n(99906),m=n(96472),u=n(26865),p=n(16800),g=n(1123),h=n(40653),y=n(86659),b=n(68642),f=n(86157),w=n(53499),$=n(10642),v=n(76955);const C=d.Ay.div.withConfig({displayName:"FeatureRatingsCardWrapper"})``,k=(0,d.Ay)(v.sH).withConfig({displayName:"Link"})``;k.defaultProps={colorToken:"colors.discovery.body.white.heading",linkStyle:"global"};const x=d.Ay.div.withConfig({displayName:"ImageWrapper"})` position: relative; `,E=(0,d.Ay)(f.A).withConfig({displayName:"Image"})` img { border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusMd")}; ${(0,u.H4)(m.LO.md)} { border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusLg")}; } } cursor: pointer; `,A=(0,d.Ay)(v.vm).withConfig({displayName:"Label"})` position: absolute; top: ${(0,u.Kq)(1)}; left: ${(0,u.Kq)(1)}; margin: 0 ${(0,u.Kq)(1)} 0 0; border-radius: ${(0,u.Kq)(3)}; padding: ${(0,u.Kq)(.5)} ${(0,u.Kq)(1)}; ${({theme:e})=>(0,u._o)(e,"background","colors.discovery.body.brand.background")}; ${(0,u.H4)(m.LO.md)} { top: ${(0,u.Kq)(2)}; left: ${(0,u.Kq)(2)}; padding: ${(0,u.Kq)(1)} ${(0,u.Kq)(2)}; } `;A.defaultProps={as:"div",colorToken:"colors.discovery.body.brand.heading",typeIdentity:"typography.definitions.globalEditorial.tags"};const S=d.Ay.div.withConfig({displayName:"ContentWrapper"})` border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusMd")}; padding: ${(0,u.Kq)(2)} ${(0,u.Kq)(1)} ${(0,u.Kq)(1)}; ${(0,u.H4)(m.LO.md)} { border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusLg")}; padding: ${(0,u.Kq)(2)} ${(0,u.Kq)(1)} ${(0,u.Kq)(1)}; } ${(0,u.H4)(m.LO.lg)} { padding: ${(0,u.Kq)(3)} ${(0,u.Kq)(1)} ${(0,u.Kq)(1)}; } `,L=d.Ay.div.withConfig({displayName:"Content"})` padding: 0 0 ${(0,u.Kq)(2)}; `,T=d.Ay.div.withConfig({displayName:"Body"})``,N=(0,d.Ay)(v.vm).withConfig({displayName:"Hed"})` margin: 0 0 ${(0,u.Kq)(1)}; ${(0,u.H4)(m.LO.md)} { margin: 0 0 ${(0,u.Kq)(2)}; } `;N.defaultProps={as:"h3",colorToken:"colors.discovery.body.white.heading",typeIdentity:"typography.definitions.discovery.hed-feature"};const H=(0,d.Ay)(v.vm).withConfig({displayName:"Dek"})``;H.defaultProps={as:"div",colorToken:"colors.discovery.body.white.description",typeIdentity:"typography.definitions.discovery.description-core"};const I=d.Ay.div.withConfig({displayName:"MetaData"})` display: flex; flex-direction: row; align-items: center; height: ${(0,u.Kq)(4)}; `,B=(0,d.Ay)(v.vm).withConfig({displayName:"Rating"})` margin: 0 ${(0,u.Kq)(1)}; `;B.defaultProps={as:"div",colorToken:"colors.discovery.body.white.accreditation",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const O=(0,d.Ay)(v.vm).withConfig({displayName:"SourceTagNameWrapper"})` display: inline-block; `;O.defaultProps={as:"div",colorToken:"colors.consumption.lead.standard.heading",typeIdentity:"typography.definitions.globalEditorial.context-primary"};const _=({analyticsDataAttribute:e,dangerousHed:t,dangerousDek:n,hedTag:o="h3",hideRubricItemSummary:i=!1,hideSourceTagName:a,image:s,imageLabels:l,rating:d,reviewsCount:c,rubric:m,shouldHoldImageSpace:u=!0,sourceTagName:p,url:g})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(w.G.RENDER,{name:"FeatureRatingsCard"})},[]);const h=s&&s.showImageWithoutLink,y=r.createElement(r.Fragment,null,r.createElement(E,{...s,shouldHoldImageSpace:u}),l&&l.length?l.map((e,t)=>r.createElement(A,{key:t.toString()},e)):null);return g&&t?r.createElement(C,{...e},s&&r.createElement(x,{onClick:()=>{h&&(window.location=g)}},h?y:r.createElement(k,{href:g},y)),r.createElement(S,null,r.createElement(L,null,r.createElement(T,null,!i&&m&&r.createElement($.A,{name:m.name}),!a&&p&&r.createElement(O,null," ",`| From ${p}`),r.createElement(k,{href:g},r.createElement(N,{as:o,dangerouslySetInnerHTML:{__html:t}})),r.createElement(H,{dangerouslySetInnerHTML:{__html:n}}))),d&&c?r.createElement(I,null,r.createElement(b.A,null),r.createElement(B,null,d," (",c,")")):null)):null};_.propTypes={analyticsDataAttribute:a().object,dangerousDek:a().string,dangerousHed:a().string.isRequired,hedTag:a().string,hideRubricItemSummary:a().bool,hideSourceTagName:a().bool,image:a().shape(f.A.propTypes),imageLabels:a().arrayOf(a().string),rating:a().number,reviewsCount:a().number,rubric:a().shape($.A.propTypes),shouldHoldImageSpace:a().bool,sourceTagName:a().string,url:a().string.isRequired};const K=_;var P=n(3265);const D=d.Ay.div.withConfig({displayName:"SideBySideRatingsCardWrapper"})` display: flex; flex-direction: row; `,q=(0,d.Ay)(v.sH).withConfig({displayName:"Link"})``;q.defaultProps={colorToken:"colors.discovery.body.white.heading",linkStyle:"global"};const M=d.Ay.div.withConfig({displayName:"ImageWrapper"})` position: relative; width: 40%; ${(0,u.H4)(m.LO.md)} { width: 50%; } `,R=(0,d.Ay)(f.A).withConfig({displayName:"Image"})` img { border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusSm")}; ${(0,u.H4)(m.LO.md)} { border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusMd")}; } ${(0,u.H4)(m.LO.lg)} { border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusLg")}; } } cursor: pointer; `,F=(0,d.Ay)(v.vm).withConfig({displayName:"Label"})` position: absolute; top: ${(0,u.Kq)(1)}; left: ${(0,u.Kq)(1)}; margin: 0 ${(0,u.Kq)(.5)} 0 0; border-radius: ${(0,u.Kq)(3)}; padding: ${(0,u.Kq)(.5)} ${(0,u.Kq)(1)}; ${({theme:e})=>(0,u._o)(e,"background","colors.discovery.body.brand.background")}; ${(0,u.H4)(m.LO.md)} { margin: 0 ${(0,u.Kq)(1)} 0 0; } ${(0,u.H4)(m.LO.lg)} { top: ${(0,u.Kq)(2)}; left: ${(0,u.Kq)(2)}; padding: ${(0,u.Kq)(1)} ${(0,u.Kq)(2)}; } `;F.defaultProps={as:"div",colorToken:"colors.discovery.body.brand.heading",typeIdentity:"typography.definitions.globalEditorial.tags"};const U=d.Ay.div.withConfig({displayName:"ContentWrapper"})` border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusSm")}; padding: 0 0 0 ${(0,u.Kq)(2)}; width: 60%; ${(0,u.H4)(m.LO.md)} { border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusMd")}; padding: 0 0 0 ${(0,u.Kq)(3)}; width: 50%; } ${(0,u.H4)(m.LO.lg)} { border-radius: ${({theme:e})=>(0,u.Pp)(e,"cardRadiusLg")}; padding: 0 0 0 ${(0,u.Kq)(4)}; } `,V=d.Ay.div.withConfig({displayName:"Content"})` ${({hasDekPaddingBottom:e,removePaddingOnMobileView:t})=>e?t?`\n ${(0,u.H4)(m.LO.md)} {\n padding: 0 0 ${(0,u.Kq)(2)};\n }\n `:`padding: 0 0 ${(0,u.Kq)(2)};`:"padding-bottom: 0;"} `,G=d.Ay.div.withConfig({displayName:"Body"})``,W=(0,d.Ay)(v.vm).withConfig({displayName:"Hed"})` margin: 0 0 ${(0,u.Kq)(1)}; `;W.defaultProps={as:"h3",colorToken:"colors.discovery.body.white.heading",typeIdentity:"typography.definitions.discovery.hed-core-secondary"};const j=(0,d.Ay)(v.vm).withConfig({displayName:"Dek"})` ${({shouldHideDekOnMobileView:e})=>e&&`\n display: none;\n \n ${(0,u.H4)(m.LO.md)} {\n display: block;\n }\n `} `;j.defaultProps={as:"div",colorToken:"colors.discovery.body.white.description",typeIdentity:"typography.definitions.discovery.description-core"};const z=d.Ay.div.withConfig({displayName:"MetaData"})` display: flex; flex-direction: row; align-items: center; height: ${(0,u.Kq)(4)}; `,Y=(0,d.Ay)(v.vm).withConfig({displayName:"Rating"})` margin: 0 ${(0,u.Kq)(1)}; `;Y.defaultProps={as:"div",colorToken:"colors.discovery.body.white.accreditation",typeIdentity:"typography.definitions.globalEditorial.numerical-small"};const X=(0,d.Ay)(v.vm).withConfig({displayName:"SideBySideRatingsSideBySideRatingsCardDate"})` display: block; align-self: center; margin-top: ${(0,u.Kq)(1)}; `;X.defaultProps={as:"time",colorToken:"colors.discovery.body.white.context-tertiary",typeIdentity:"typography.definitions.globalEditorial.context-tertiary"};const Z=(0,d.Ay)(v.vm).withConfig({displayName:"SourceTagNameWrapper"})` display: inline-block; `;Z.defaultProps={as:"div",colorToken:"colors.consumption.lead.standard.heading",typeIdentity:"typography.definitions.globalEditorial.context-primary"};var J=n(33500),Q=n(68370),ee=n(68116),te=n(14207),ne=n(36211),oe=n(7228);const ie=(0,d.Ay)(y.A.WithMargins).withConfig({displayName:"SummaryCollageTwoColumnWrapper"})` padding: ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,p.F)(t,"gap-md")?"0":(0,u.Kq)(8)} 0; && { grid-row-gap: 0; } > ${h.E} { grid-column: 1/-1; } .summary-item.summary-item { margin-bottom: ${(0,u.Kq)(2)}; } @media (max-width: ${c.Vh.lg}px) { .summary-item__content.summary-item__content { padding-bottom: 0; } } ${({hasPaddingTop:e})=>e?"":"padding-top: 0"} `,ae=d.Ay.div.withConfig({displayName:"OneColumnWrapper"})` margin-bottom: ${(0,u.Kq)(4)}; @media (min-width: ${c.Vh.xl}px) { width: 100%; } `,re=d.Ay.span.withConfig({displayName:"Title"})` margin-bottom: ${(0,u.Kq)(2)}; `,se=d.Ay.div.withConfig({displayName:"StickyColumn"})` width: 100%; @media (max-width: ${c.VS.lg}px) { position: relative; } ${({stickyPosition:e="top",layout:t="two-column",hasLimitedHeightStickyColumn:n=!1,isSummaryItemStickTopScreen:o=!1})=>"one-column"!==t&&"top"===e&&d.AH` @media (min-width: ${c.Vh.xl}px) { display: flex; position: sticky; max-height: 100vh; @media (max-height: 850px) { ${n&&"max-height: 100%;"} } margin-bottom: auto; top: ${o?(0,u.Kq)(8):0}; } `} ${({layout:e=""})=>"one-column"!==e&&`\n @media (max-width: ${c.VS.lg}px) {\n width: 100vw;\n left: 50%;\n right: 50%;\n margin-left: -50vw;\n margin-right: -50vw;\n }\n `} ${({layout:e="",hasPadding:t})=>"two-column"===e&&t&&`\n @media (max-width: ${c.VS.lg}px) {\n padding-left: ${(0,u.Kq)(3)};\n padding-right: ${(0,u.Kq)(3)};\n }\n `} ${P.tm} { width: 100%; } ${ee.Rp} { width: 100%; } ${P.ob} { height: auto; } ${({isSummaryItemStickTopScreen:e,summaryItemContentHeight:t})=>e&&d.AH` ${te.fh} { margin-right: auto; margin-left: auto; width: fit-content; ${oe.Em} { img { object-fit: contain; max-height: calc( 100vh - ${(0,u.Kq)(8)} - ${t}px - ${(0,u.Kq)(2)} ); } } } ${ee.Tr} { padding-top: ${(0,u.Kq)(4)}; ${ne.Y} { margin-bottom: ${(0,u.Kq)(1)}; } } `} `,le=d.Ay.div.withConfig({displayName:"SummaryCollageOneColumnWrapper"})` --border-width: ${({theme:e})=>(0,u.Pp)(e,"borderWidth")}; ${({hasWrapperPadding:e})=>e?`\n padding: ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,p.F)(t,"gap-md")?"0":(0,u.Kq)(4)}; 0;\n\n ${(0,u.H4)(m.LO.md)} {\n padding: ${({hasConsistentSpacing:e,theme:t})=>e&&"0px"!==(0,p.F)(t,"gap-md")?"0":(0,u.Kq)(8)}; 0;\n }\n `:"padding: 0;"} ${({hasBackground:e})=>e&&d.AH` background-color: ${(0,u.HK)("colors.discovery.body.light.background")}; `} ${({showOneColumnReverse:e,breakpoint:t})=>e&&d.AH` padding: 0; ${J.QW} { border-top: var(--border-width, 1px) solid ${(0,u.HK)("colors.discovery.body.white.accent")}; border-bottom: var(--border-width, 1px) solid ${(0,u.HK)("colors.discovery.body.white.accent")}; } ${D} { flex-direction: row-reverse; } ${U} { flex-grow: 1; padding-right: ${(0,u.Kq)(4)}; padding-left: 0; ${Q.N} { -webkit-line-clamp: unset; } } ${ae} { margin-bottom: ${(0,u.Kq)(2)}; border-bottom: var(--border-width, 1px) solid ${(0,u.HK)("colors.discovery.body.white.border")}; padding-bottom: ${(0,u.Kq)(2)}; &:last-child { border-bottom: 0; } ${(0,u.L7)(`${c.VS[t]}px`)} { margin-top: ${(0,u.Kq)(1)}; } } ${se} { ${ee.Rp} { ${(0,u.L7)(`${c.VS[t]}px`)} { border-bottom: var(--border-width, 1px) solid ${(0,u.HK)("colors.discovery.body.white.border")}; padding-bottom: ${(0,u.Kq)(3)}; } } } ${ee.Rp} { ${ee.Tr} { padding-bottom: 0; } ${(0,u.L7)(`${c.VS[t]}px`)} { border: none; padding-bottom: 0; ${ee.IB} { text-align: left; } } } ${re} { border-top-color: ${(0,u.HK)("colors.discovery.body.white.accent")}; border-bottom-color: ${(0,u.HK)("colors.discovery.body.white.accent")}; ${(0,u.L7)(`${c.VS.lg}px`)} { margin-bottom: ${(0,u.Kq)(3)}; } } `} `,de=(0,d.Ay)(y.A.EvenAny).withConfig({displayName:"Wrapper"})` && { grid-auto-flow: row; @media (min-width: ${c.Vh.xl}px) { grid-auto-flow: column; grid-template-columns: minmax(0, 1fr) 50%; } } `,ce=(0,d.Ay)(y.A.WithMargins).withConfig({displayName:"GridWithMargins"})` grid-column: 1/-1; ${({stickyPosition:e,layout:t,isSummaryItemStickTopScreen:n})=>"one-column"===t&&"bottom"===e&&d.AH` @media (min-width: ${c.Vh.xl}px) and (orientation: portrait) { & > div:nth-child(1) { display: flex; position: sticky; top: 0; margin-bottom: auto; } } @media (min-width: ${c.Vh.xl}px) and (orientation: landscape) { & > div:nth-child(1) { display: flex; position: sticky; @media (max-height: 1099px) { bottom: 0; margin-top: auto; } @media (min-height: 1100px) { top: ${n?(0,u.Kq)(8):0}; margin-bottom: auto; } } } `} ${({hasDangerousHed:e})=>e&&"&& {\n margin-top: var(--grid-gap);\n }\n "}; ${({breakpoint:e})=>`&&& {\n grid-auto-flow: row;\n \n @media (max-width: ${c.VS[e]}px) {\n grid-template-columns: 1fr;\n }\n \n @media (min-width: ${c.VS[e]+1}px) {\n grid-auto-flow: column;\n grid-template-columns: minmax(0, 1fr) 50%;\n }\n }\n `} `,me=d.Ay.div.withConfig({displayName:"SummaryCollageFiftyFiftyTitleWrapper"})` ${(0,g.VO)()} margin: 0 auto; ${(0,g.aU)("padding")} max-width: ${m.LO.xxl}; `,ue=(0,d.Ay)(y.A.EvenAny).withConfig({displayName:"SecondaryColumnWrapper"})` width: 100%; && { ${({hasTopSpacing:e})=>e&&`\n margin-top: ${(0,u.Kq)(4)};\n `} } > ${h.E} { grid-gap: ${(0,u.Kq)(2)}; grid-auto-flow: row; } @media (min-width: ${c.Vh.lg}px) { width: 80%; } @media (min-width: ${c.Vh.xl}px) { width: 100%; } `,pe=d.Ay.div.withConfig({displayName:"Column"})` margin-bottom: auto; `,ge=(0,d.Ay)(pe).withConfig({displayName:"Container"})` display: none; ${({isLastElement:e,breakpoint:t})=>!e&&`\n @media (max-width: ${c.VS[t]}px) {\n display: block;\n }\n\n @media (max-width: ${c.VS.md}px) {\n ${ue} {\n row-gap: 0;\n }\n }\n `} ${({isLastElement:e,breakpoint:t})=>e&&`\n @media (min-width: ${c.VS[t]+1}px) {\n display: block;\n }\n `} `,he=d.Ay.div.withConfig({displayName:"AdWrapper"})` max-width: 100%; @media (min-width: ${c.Vh.xl}px) { margin-bottom: ${(0,u.Kq)(5)}; } ${({isHidden:e})=>e&&"\n height: 0;\n padding: 0;\n margin: 0;\n visibility: hidden;\n "} `;pe.displayName="Column";const ye=(0,d.Ay)(({featuredSummaryItemVariation:e,contentType:t,...n})=>{const o={recipe:K,review:s.A[e],article:s.A[e],gallery:s.A[e]}[t]||s.A[e];return r.createElement(o,{...n,contentType:t})}).withConfig({displayName:"FeaturedSummaryItem"})` ${P.VF} { ${(0,u.Gg)("typography.definitions.discovery.hed-break-out")} } ${({hasMorePadding:e})=>e&&`\n @media (min-width: ${m.LO.lg}) {\n padding: 0 ${(0,u.Kq)(5)};\n }\n\n @media (min-width: ${m.LO.xl}) {\n padding: 0 ${(0,u.Kq)(10)};\n }\n \n @media (min-width: ${m.LO.xxl}) {\n padding: 0 ${(0,u.Kq)(15)};\n }\n `}; `,be=d.Ay.div.withConfig({displayName:"ShowMoreButtonWrapper"})` display: grid; max-width: fit-content; place-items: center; ${({hasShowMoreButtonBottomMargin:e})=>(e=>{const t=e?8:0;return`\n margin: ${(0,u.Kq)(4)} auto ${(0,u.Kq)(t)};\n @media (min-width: ${m.LO.lg}) {\n margin: ${(0,u.Kq)(3)} auto ${(0,u.Kq)(t)};\n }\n `})(e)} `;var fe=n(22482);const we="large",$e="small",ve="medium",Ce="x-small",ke="x-large",xe="none";var Ee=n(58156),Ae=n.n(Ee),Se=n(38080),Le=n(11542),Te=n(1184),Ne=n(90090),He=n(6528);const Ie=d.Ay.div.withConfig({displayName:"TwoColumnsWithHorizontalAdMosaicWrapper"})` margin-bottom: ${(0,u.Kq)(2)}; ${He.HV} `,Be=(e,t,n)=>{n%2==0?t.leftColumn.push(e):t.rightColumn.push(e)},Oe=({Ad:e,breakpoint:t,adPosition:n,componentConfig:o,hasCollapsedAd:i,items:a,shouldEnableBundleComponentAnalytics:l,trackingNamespace:d,variation:c,mosaicPosition:m})=>{const{horizontalPosition:u}=m||{},p=s.A[c],g={leftColumn:[],rightColumn:[]},h={leftColumn:[],rightColumn:[]},[y,,b]=(0,Te.qe)("mid-content-ad"),[f,,w]=(0,Te.qe)("moasic-ad"),$=Ae()(o,"SummaryItem.settings.hasBorderOnMobileAndTabletOnly",!1),v=r.createElement(Ie,{hasMobileOnlyBorder:$,key:`two-columns-vertical-native-ad-${a.length+1}`},r.createElement(he,{isHidden:!f},r.createElement(Se.Z,{group:"ads"},r.createElement(e,{position:"mosaic",onFilled:w}))));let C=u;u>a.length&&(C=a.length);return a.forEach((e,t)=>{const n=(0,Ne.NY)(l,d,t),o=r.createElement(p,{...e,analyticsDataAttribute:n,key:`two-columns-horizontal-element-${t+1}`,className:`summary-collage-fifty-fifty-item-${t+1}`,hedTag:"h3"});Be(o,t<4?g:h,t),(e=>{if(e===C-1){const t=e<4?g:h;let n;n=e<4?C%2==0?t.rightColumn:t.leftColumn:C%2==0?t.leftColumn:t.rightColumn,n.push(v)}})(t)}),r.createElement(ge,{breakpoint:t},r.createElement(ue,null,Object.values(g).map((e,t)=>r.createElement(pe,{key:`two-columns-horizontal-first-column-${t+1}`},[...e]))),r.createElement(he,{isHidden:i??!y},r.createElement(Se.Z,{group:"ads"},r.createElement(e,{position:n||"mid-content",onFilled:b,shouldDisplayLabel:!0}))),(k=h,Object.values(k).some(e=>e?.length)&&r.createElement(ue,{hasTopSpacing:!0},Object.values(h).map((e,t)=>r.createElement(pe,{key:`two-columns-horizontal-second-column-${t+1}`},[...e])))));var k};Oe.displayName="TwoColumnsWithHorizontalAd",Oe.propTypes={Ad:a().func,adPosition:a().string,breakpoint:a().string,componentConfig:a().object,hasCollapsedAd:a().bool,items:a().array,mosaicPosition:a().object,shouldEnableBundleComponentAnalytics:a().bool,trackingNamespace:a().string,variation:a().string};const _e=(0,Le.M3)(Oe,{keysToPluck:["componentConfig"]}),Ke=({Ad:e,breakpoint:t,hasCollapsedAd:n,items:o,isLastElement:i,trackingNamespace:a,shouldEnableBundleComponentAnalytics:l,variation:d,mosaicPosition:c})=>{const{verticalPosition:m}=c||{},u=s.A[d],[p,,g]=(0,Te.qe)("rail-ad"),[h,,y]=(0,Te.qe)("moasic-ad"),b={leftColumn:[],rightColumn:[]};let f=m;m&&m>o.length&&(f=o.length);return o.forEach((t,o)=>{const i=o+2,s=(0,Ne.NY)(l,a,o);let d=[];const c=b.leftColumn.length;let m=b.rightColumn.length;var w;i>3&&n&&(m-=1),d=c<=m?b.leftColumn:b.rightColumn,d.push(r.createElement(u,{...t,analyticsDataAttribute:s,key:`two-columns-vertical-element-${o+1}`,className:`summary-collage-fifty-fifty-item-${o+1}`,position:i,hedTag:"h3"})),3===i&&b.rightColumn.push(r.createElement(he,{isHidden:n??!p,key:`two-columns-vertical-rail-ad-${o+1}`},r.createElement(Se.Z,{group:"ads"},r.createElement(e,{position:"rail",onFilled:g})))),f&&o===f-1&&d.push((w=o+1,r.createElement(he,{isHidden:n??!h,key:`two-columns-vertical-native-ad-${w}`},r.createElement(Se.Z,{group:"ads"},r.createElement(e,{position:"mosaic",onFilled:y})))))}),r.createElement(ge,{breakpoint:t,isLastElement:i},r.createElement(ue,null,Object.values(b).map((e,t)=>r.createElement(pe,{key:`two-columns-vertical-column-${t+1}`},[...e]))))};Ke.displayName="TwoColumnsWithVerticalAd",Ke.propTypes={Ad:a().func,breakpoint:a().string,hasCollapsedAd:a().bool,hasTagLabel:a().bool,isLastElement:a().bool,items:a().array,mosaicPosition:a().object,shouldEnableBundleComponentAnalytics:a().bool,trackingNamespace:a().string,variation:a().string};const Pe=Ke,De={[we]:Pe,[ve]:_e,[$e]:_e,[Ce]:_e,[ke]:Pe,[xe]:()=>null},qe={[we]:{isLastElement:!0},[ve]:{isLastElement:!1},[$e]:{isLastElement:!1},[Ce]:{isLastElement:!1},[ke]:{isLastElement:!0},[xe]:{}};var Me=n(48286),Re=n(77818),Fe=n(96774);const Ue=({analyticsDataAttribute:e,contentType:t,dangerousHed:n,dangerousDek:o,date:i,hedTag:a="h3",image:s,imageLabels:l,isAudioArticle:d=!1,issueDate:m,rating:u,hasDekPaddingBottom:p=!0,hideIssueDate:g=!0,hideRubricItemSummary:h=!1,hideSourceTagName:y,reviewsCount:f,rubric:v,shouldHideDekOnMobileView:C=!1,shouldHidePublishDate:k=!0,shouldHoldImageSpace:x=!0,sourceTagName:E,url:A})=>{if(r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(w.G.RENDER,{name:"SideBySideRatingsCard"})},[]),!A||!n)return null;const{medium:S}=c.th,L=C,T=s&&s.showImageWithoutLink,N=r.createElement(r.Fragment,null,r.createElement(R,{...s,shouldHoldImageSpace:x}),l&&l.length?l.map((e,t)=>r.createElement(F,{key:t.toString()},e)):null);return r.createElement(D,{...e},s&&r.createElement(M,{onClick:()=>{T&&(window.location=A)}},T?N:r.createElement(q,{href:A},N),d&&r.createElement(te.dl,null,r.createElement(Re.A,null)),"gallery"===t&&r.createElement(te.Ce,{ButtonIcon:()=>r.createElement(Fe.A,null),inputKind:"text",isIconButton:!0,label:"icon",position:"left"})),r.createElement(U,null,r.createElement(V,{removePaddingOnMobileView:L,hasDekPaddingBottom:p},r.createElement(G,null,!h&&v&&r.createElement($.A,{name:v.name}),!y&&E&&r.createElement(Z,null," ",`| From ${E}`),r.createElement(q,{href:A},r.createElement(W,{as:a,dangerouslySetInnerHTML:{__html:n}})),r.createElement(Me.A,{lines:2,breakpoint:S},r.createElement(j,{dangerouslySetInnerHTML:{__html:o},shouldHideDekOnMobileView:C})),((e,t,n,o)=>{let i="";return!n&&o?i=o:!e&&t&&(i=t),i&&r.createElement(X,{dangerouslySetInnerHTML:{__html:i}})})(k,i,g,m))),u&&f?r.createElement(z,null,r.createElement(b.A,null),r.createElement(Y,null,u," (",f,")")):null))};Ue.propTypes={analyticsDataAttribute:a().object,contentType:a().string,dangerousDek:a().string,dangerousHed:a().string.isRequired,date:a().string,hasDekPaddingBottom:a().bool,hedTag:a().string,hideIssueDate:a().bool,hideRubricItemSummary:a().bool,hideSourceTagName:a().bool,image:a().shape(f.A.propTypes),imageLabels:a().arrayOf(a().string),isAudioArticle:a().bool,issueDate:a().string,rating:a().number,reviewsCount:a().number,rubric:a().shape($.A.propTypes),shouldHideDekOnMobileView:a().bool,shouldHidePublishDate:a().bool,shouldHoldImageSpace:a().bool,sourceTagName:a().string,url:a().string.isRequired};const Ve=Ue;var Ge=n(14307);const We=new Set,je=(e,t,n,o,i,a=0,r=1,s="hero")=>{if(!o)return;const l=`${t.copilotID||t.url}-${e}`;if(We.has(l))return;We.add(l);const d={type:e,label:n,subject:"summary_collage_fifty_fifty",items:[{content_title:(c=t.dangerousHed,c?c.replace(/<\/?[^>]+(>|$)/g,""):""),content_id:t.copilotID,content_type:t.contentType,content_url:new URL(t.url,window.location.origin)}],...(0,Ge.Cu)(t.url)&&{strategy:(0,Ge.Cu)(t.url)},placement:s,index:a,total_index:r,subject_version:i?"mobile_dense":"default"};var c;(0,Ge.kg)(d)},ze=({breakpoint:e,columnItemLimit:t,columnItemType:n,columnSummaryItemVariation:o,hasRule:i,hideIssueDate:a,items:l,isLastElement:d,hasDekPaddingBottom:c,hideRubricItemSummary:m,hideSourceTagName:u,trackingNamespace:p,shouldEnableBundleComponentAnalytics:g,shouldHideDekOnMobileView:h,shouldHidePublishDate:y,imageAlignment:b,shouldTrackItemEvents:f=!1,dangerousHed:w,isMobile:$})=>{const v=l.slice(0,t),C="SummaryItem"===n?s.A[o]:Ve,k={leftColumn:[]},x=(e,t)=>()=>{je("click",e,w,f,$,t,l.length,"secondary")},E=(e,t)=>()=>{je("impression",e,w,f,$,t,l.length,"secondary")};return v.forEach((e,n)=>{const o=n+2,s=(0,Ne.NY)(g,p,n,!1);k.leftColumn.push(r.createElement(ae,{key:n,"data-slot":`${n+2}`},r.createElement(C,{...e,itemIndex:n,analyticsDataAttribute:s,key:`one-column-vertical-element-${n+1}`,className:`summary-collage-fifty-fifty-item-${n+1}`,hasBorder:!(n+1===t),hasRule:i,hideIssueDate:a,position:o,hedTag:"h3",hasDekPaddingBottom:c,shouldHoldImageSpace:!0,shouldHideDekOnMobileView:h,shouldHidePublishDate:y,imageAlignment:b,hideRubricItemSummary:m,hideSourceTagName:u,shouldTrackItemEvents:f,impressionHandler:E(e,n),clickItem:x(e,n)})))}),r.createElement(ge,{breakpoint:e,isLastElement:d},r.createElement(ue,null,Object.values(k).map((e,t)=>r.createElement(pe,{key:`one-columns-vertical-column-${t+1}`},[...e]))))};ze.displayName="OneColumn",ze.propTypes={breakpoint:a().string,columnItemLimit:a().number,columnItemType:a().string,columnSummaryItemVariation:a().string,dangerousHed:a().string,hasDekPaddingBottom:a().bool,hasRule:a().bool,hideIssueDate:a().bool,hideRubricItemSummary:a().bool,hideSourceTagName:a().bool,imageAlignment:a().string,isLastElement:a().bool,isMobile:a().bool,items:a().array,shouldEnableBundleComponentAnalytics:a().bool,shouldHideDekOnMobileView:a().bool,shouldHidePublishDate:a().bool,shouldTrackItemEvents:a().bool,trackingNamespace:a().string,variation:a().string};const Ye=ze;var Xe=n(89957),Ze=n(88456);const Je=({Ad:e,breakpoint:t="lg",columnItemLimit:n=3,columnItemType:o="RatingsCard",columnSummaryItemVariation:i="SideBySideThirdsImageRight",customButtonText:a="See More",dangerousHed:s,dangerousDek:d,featuredItemHedTag:c,featuredSummaryItemVariation:m="OverlayCenterLimitedHeight",hasBackground:u=!1,hasBorder:p=!1,hasCollapsedAd:g,hasConsistentSpacing:h,hasPadding:y,hasPaddingTop:b=!0,hasFeaturedItemMorePadding:f,hasFetauredItemStickyColumnPadding:w=!1,hasLimitedHeightStickyColumn:$=!1,hasRule:C=!1,hasWrapperPadding:k=!0,hideIssueDate:x=!0,hideRubricItemSummary:E=!1,hideSourceTagName:A,hasShowMoreButtonBottomMargin:S=!0,hasRuleColumnItem:L=!1,items:T,layout:N="two-column",mobileColumnItemType:H,mobileColumnSummaryItemVariation:I,mobImageAlignment:B="default",mosaicPosition:O={},hasDekPaddingBottom:_=!0,sectionTitleVariation:K="LineAboveLineBelowTextCenter",shouldHideDekOnMobileView:P=!1,shouldHideItemCount:D=!1,shouldEnableBundleComponentAnalytics:q=!1,shouldHidePublishDate:M=!0,showOneColumnReverse:R=!1,hasShowMoreButton:F=!1,showMoreBtnStyle:U="outlined",showMoreButtonURL:V="",showMoreButtonVariation:G="Utility",stickyPosition:W="top",summaryItemStickTopThreshold:j,summaryItemVariation:z="TextBelowDesktopOnlyThirds",trackingNamespace:Y,shouldTrackItemEvents:X=!1})=>{const[Z,J]=r.useState(xe),[Q,ee]=r.useState(!1),[te,ne]=r.useState(0),oe=r.useRef(null),ae=Ze.A[G],[re,ue]=((e,t)=>{const n=r.useMemo(()=>De[e],[e]),o=r.useMemo(()=>qe[e],[e]);return r.useEffect(()=>{const e=()=>{window.innerWidth>=1024?t(we):window.innerWidth<1024&&window.innerWidth>=768?t(ve):t($e)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[t]),[n,o]})(Z,J),pe=r.useCallback(()=>()=>{if(window){const e=window.matchMedia(`(min-width: ${j}px)`);return Boolean(e?.matches)}return!1},[j]),[ge,he]=r.useState(!1);if((0,Xe.wY)(()=>j&&ee(pe())),r.useEffect(()=>{j&&ee(pe())},[j,ee,pe]),r.useEffect(()=>{if(!oe.current)return;const e=oe.current.querySelector(".summary-item__content");if(e){if("function"==typeof ResizeObserver){const t=new ResizeObserver(()=>{ne(e?.offsetHeight||0)});return t.observe(e),()=>{t.disconnect()}}ne(e?.offsetHeight||0)}},[oe]),r.useEffect(()=>{const e=()=>{window.innerWidth<1024?he(!0):he(!1)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),!((e=[])=>e.length>=4&&e.length<=7)(T))return null;const Ce=l.default[K],[ke,...Ee]=T,Ae=Y?.hero||s,Se=Y?.aside||s,Le=(0,Ne.NY)(q,Ae,Y?.hero?"":0),Te="one-column"===N?le:ie,He="one-column"===N?ce:de,Ie=Q?"two-column":N,Be=Q?"top":W,Oe={columnItemLimit:n,columnItemType:o,columnSummaryItemVariation:i,hasRule:L,layout:N,items:Ee,shouldEnableBundleComponentAnalytics:q,trackingNamespace:Se,breakpoint:t,hasBackground:u,hasCollapsedAd:g,hideIssueDate:x,isLastElement:!0,hasDekPaddingBottom:_,shouldHoldImageSpace:!0,shouldHidePublishDate:M,hideRubricItemSummary:E,hideSourceTagName:A};return ge&&(Oe.columnItemType=H||o,Oe.columnSummaryItemVariation=I||i,Oe.shouldHideDekOnMobileView=P,Oe.imageAlignment=B,Oe.isLastElement=!1),ke&&c&&(ke.hedTag=c),r.createElement(Te,{hasBackground:u,hasPaddingTop:b,hasWrapperPadding:k,showOneColumnReverse:R,breakpoint:t,hasConsistentSpacing:h},s&&("one-column"===N?r.createElement(me,null,r.createElement(fe.aW,{hasPadding:y,as:Ce,dangerousHed:s,dangerousDek:d})):r.createElement(fe.aW,{hasPadding:y,as:Ce,dangerousHed:s,dangerousDek:d})),r.createElement(He,{hasDangerousHed:Boolean(s),layout:Ie,stickyPosition:Be,breakpoint:t,isSummaryItemStickTopScreen:Q},r.createElement(se,{ref:oe,layout:Ie,stickyPosition:Be,hasPadding:w,hasLimitedHeightStickyColumn:$,isSummaryItemStickTopScreen:Q,summaryItemContentHeight:te},r.createElement(ye,{...ke,className:"summary-collage-fifty-fifty-item-0",hasBorderOnMobileAndTabletOnly:!0,analyticsDataAttribute:Le,featuredSummaryItemVariation:m,hasBorder:p,hasMorePadding:f,hasRule:C,hideIssueDate:x,hideRubricItemSummary:E,hideSourceTagName:A,shouldHideItemCount:D,shouldHidePublishDate:M,shouldHoldImageSpace:!0,shouldUseMediumBreakpoint:!0,shouldHandleOverlayForLongHed:!0,impressionHandler:(_e=ke,()=>{je("impression",_e,s,X,ge,_e.itemIndex,1,"hero")}),clickItem:(e=>()=>{je("click",e,s,X,ge,e.itemIndex,1,"hero")})(ke),shouldTrackItemEvents:X})),r.createElement(v.c7,null,"one-column"===N?r.createElement(r.Fragment,null,r.createElement(Ye,{...Oe,shouldTrackItemEvents:X,dangerousHed:s,isMobile:ge})):r.createElement(r.Fragment,null,r.createElement(re,{layout:N,items:Ee,shouldEnableBundleComponentAnalytics:q,trackingNamespace:Se,variation:z,breakpoint:t,Ad:e,mosaicPosition:O,hasCollapsedAd:g,...ue})))),F&&r.createElement(be,{hasShowMoreButtonBottomMargin:S},r.createElement(ae,{btnStyle:U,label:a,ariaLabel:a,href:V,inputKind:"link"})));var _e};Je.propTypes={Ad:a().func,breakpoint:a().oneOf(c.LR),columnItemLimit:a().number,columnItemType:a().string,columnSummaryItemVariation:a().string,customButtonText:a().string,dangerousDek:a().string,dangerousHed:a().string,featuredItemHedTag:a().oneOf(["h2","h3"]),featuredSummaryItemVariation:a().string,hasBackground:a().bool,hasBorder:a().bool,hasCollapsedAd:a().bool,hasConsistentSpacing:a().bool,hasDekPaddingBottom:a().bool,hasFeaturedItemMorePadding:a().bool,hasFetauredItemStickyColumnPadding:a().bool,hasLimitedHeightStickyColumn:a().bool,hasPadding:a().bool,hasPaddingTop:a().bool,hasRule:a().bool,hasRuleColumnItem:a().bool,hasShowMoreButton:a().bool,hasShowMoreButtonBottomMargin:a().bool,hasWrapperPadding:a().bool,hideIssueDate:a().bool,hideRubricItemSummary:a().bool,hideSourceTagName:a().bool,items:a().arrayOf(a().shape(s.A.propTypes)).isRequired,layout:a().oneOf(["one-column","two-column"]),mobileColumnItemType:a().string,mobileColumnSummaryItemVariation:a().string,mobImageAlignment:a().oneOf(["top","default","bottom"]),mosaicPosition:a().object,sectionTitleVariation:a().string,shouldEnableBundleComponentAnalytics:a().bool,shouldHideDekOnMobileView:a().bool,shouldHideItemCount:a().bool,shouldHidePublishDate:a().bool,shouldTrackItemEvents:a().bool,showMoreBtnStyle:a().oneOf(["filled","outlined","text"]),showMoreButtonURL:a().string,showMoreButtonVariation:a().oneOf(["Primary","Utility","UtilityInverted"]),showOneColumnReverse:a().bool,stickyPosition:a().oneOf(["top","bottom"]),summaryItemStickTopThreshold:a().number,summaryItemVariation:a().string,trackingNamespace:a().object},Je.displayName="SummaryCollageFiftyFifty";const Qe=Je,et=(0,o.y)(Qe,"SummaryCollageFiftyFifty")},98904:(e,t,n)=>{n.d(t,{A:()=>o});const o=(0,n(72267).defineMessages)({profileLinkLabel:{id:"StackedNavigation.ProfileLinkLabel",defaultMessage:"My Profile",description:"Label for the profile link",isConfigurable:!0},navigationMenuButtonLabel:{id:"StackedNavigation.MenuButton",defaultMessage:"Open Navigation Menu",description:"Label for the menu button"},primaryLinksLabel:{id:"StackedNavigation.PrimaryLinksLabel",defaultMessage:"Primary",description:"ARIA label for the primary links"},utilityLinksLabel:{id:"StackedNavigation.UtilityLinksLabel",defaultMessage:"Utility",description:"ARIA label for utility links"},openSearchMenuLabel:{id:"StackedNavigation.OpenSearchMenuLabel",defaultMessage:"Open Search Menu",description:"ARIA label open search menu button"},searchLabel:{id:"StackedNavigation.SearchLabel",defaultMessage:"Search",description:"ARIA label for search link"},subscribeLabel:{id:"StackedNavigation.SubscribeLabel",defaultMessage:"Subscribe",description:"Text for the subscribe link"},drawerLabel:{id:"StackedNavigation.DrawerLabel",defaultMessage:"Navigation and Sign Up Menu",description:"ARIA label for the drawer modal"},primaryNavigationLabel:{id:"SiteHeader.ScrollingNavigation",defaultMessage:"Primary",description:"ARIA label for the whole primary navigation"},searchValidationError:{id:"StackedNavigation.SearchValidationError",defaultMessage:"Enter a term to search.",description:"Error message when search is submitted without text"}})},99337:(e,t,n)=>{n.d(t,{As:()=>b,CP:()=>g,Ip:()=>h,W:()=>w,jk:()=>f,r_:()=>y,vg:()=>$});var o=n(38267),i=n(26865),a=n(1123),r=n(89085),s=n(33500),l=n(63637),d=n(77423),c=n(39441),m=n(96472),u=n(3265),p=n(68116);const g=o.Ay.div.withConfig({displayName:"SummaryCollageFourMainItem"})` && { grid-column: 1 / -1; ${({isTitleFullWidth:e})=>e&&o.AH` grid-row: 1 / span 3; `}; margin-bottom: ${(0,i.Kq)(5)}; border-bottom: 0; ${({hasCoverCollage:e})=>e&&`\n height: ${(0,i.Kq)(90)};\n margin-bottom: ${(0,i.Kq)(4)};\n .rubric{\n background-color: transparent;\n padding: unset;\n }\n ${(0,i.H4)(m.LO.md)} {\n margin-bottom: ${(0,i.Kq)(6)};\n }\n `}; ${u.VF} { ${({theme:e})=>(0,i.Gg)(e,"typography.definitions.discovery.hed-feature")}; ${({theme:e})=>(0,i._o)(e,"color","colors.discovery.body.black.heading")}; margin-top: ${(0,i.Kq)(.5)}; margin-bottom: 0; } ${u.K$} { margin-top: ${(0,i.Kq)(.75)}; } ${u.Nb} { padding: 0 0 ${(0,i.Kq)(9)} 0; } img { object-fit: cover; object-position: top; ${({hasRoundedBorder:e})=>e&&"\n border-radius:10px;\n "} } ${(0,i.H4)(m.LO.lg)} { grid-column: ${({hasCoverCollage:e})=>e?"1 / span 12":"1 / span 8"}; padding-right: 0; .summary-item__image-link, .summary-item__inline-video, .summary-item__content { padding-right: 0; } } ${({isMainSummaryItemSticky:e})=>e&&`\n ${(0,i.H4)(m.LO.lg)} {\n position: sticky;\n margin-bottom: auto;\n }\n `}; ${({headerHeight:e})=>e&&`\n ${(0,i.H4)(m.LO.lg)} {\n top: ${(0,i.Kq)(e)};\n }\n `}; ${({hasBordersForFirstAndLastItem:e})=>e&&o.AH` border-bottom: 1px solid ${(0,i.HK)("colors.discovery.body.white.border")}; ${(0,i.H4)(m.LO.sm)} { ${p.Tr} { margin-bottom: ${(0,i.Kq)(2)}; padding-bottom: ${(0,i.Kq)(0)}; } margin-bottom: ${(0,i.Kq)(2)}; padding-bottom: ${(0,i.Kq)(0)}; } ${(0,i.H4)(m.LO.md)} { ${p.Tr} { margin-bottom: ${(0,i.Kq)(2)}; padding-bottom: ${(0,i.Kq)(0)}; } margin-bottom: ${(0,i.Kq)(1)}; } ${(0,i.H4)(m.LO.lg)} { ${p.Tr} { padding-bottom: ${(0,i.Kq)(0)}; } margin-bottom: auto; } `} } .summary-item__hed { ${(0,i.Gg)("typography.definitions.discovery.hed-break-out")}; ${(0,i.H4)(m.LO.md)} { ${(0,i.Gg)("typography.definitions.discovery.hed-feature")}; } } .summary-item__dek { ${(0,i.Gg)("typography.definitions.discovery.description-feature")}; } `,h=(0,o.Ay)(g).withConfig({displayName:"SummaryCollageFourSubMainItem"})``,y=(0,o.Ay)(d.A).withConfig({displayName:"SummaryCollageMainItemSeal"})` grid-column: 1 / 2; grid-row: 1 / 2; z-index: 1; margin-top: ${(0,i.Kq)(2)}; margin-left: ${(0,i.Kq)(1)}; width: 100%; ${(0,i.H4)(m.LO.lg)} { grid-column: 4 / 5; grid-row: 1 / 2; } ${c.j1} { @media (max-width: ${m.LO.md}) { width: 72px; height: 100%; } } `,b=(0,o.Ay)(g).withConfig({displayName:"SummaryCollageFourSubMainItem2"})``,f=o.Ay.div.withConfig({displayName:"SummaryCollageFourSummaryListItem"})` --border-width: ${({theme:e})=>(0,i.Pp)(e,"borderWidth")}; && { grid-column: 1 / -1; margin: ${({hasCoverCollage:e})=>e?"0 auto":"0"}; border-top: unset; padding: 0; .summary-item { margin: 0 0 ${(0,i.Kq)(2)}; ${({hasCoverCollage:e})=>!e&&o.AH` padding: ${(0,i.Kq)(2)} 0; `} ${({hideBottomBorders:e})=>!e&&o.AH` border-bottom: var(--border-width, 1px) solid ${(0,i.HK)("colors.discovery.body.white.border")}; `} ${(0,i.H4)(m.LO.lg)} { position: relative; margin-bottom: 0; overflow: hidden; } &:first-child { padding-top: 0; } &:last-child { border-bottom: none; ${(0,i.Xm)(0,m.LO.md)} { margin-bottom: 0; padding-bottom: 0; } ${(0,i.Xm)(0,m.LO.lg)} { &::after { display: none; } } } .summary-item__hed { ${({shouldUseHedCoreSecondaryToken:e})=>e?(0,i.Gg)("typography.definitions.discovery.hed-core-secondary"):(0,i.Gg)("typography.definitions.discovery.hed-bulletin-primary")} } ${({hasCoverCollage:e})=>!e&&"\n .summary-item__hed-link {\n &::after {\n display: none;\n }\n } \n "} .summary-item__metadata-primary, .summary-item__metadata-secondary { display: none; } } } ${({hasCoverCollage:e})=>!e&&`\n && {\n ${(0,i.H4)(m.LO.lg)} {\n grid-column: 9 / -1;\n margin-left: calc(var(--border-offset) * -1);\n border-left: 1px solid\n ${(0,i.HK)("colors.discovery.body.white.border")};\n padding-left: var(--border-offset);\n width: calc(100% + var(--border-offset));\n }\n `} ${({hasCoverCollage:e})=>e&&`\n &&{\n ${(0,a.aU)("padding")}\n border-top: unset;\n .summary-item {\n margin: unset;\n ${(0,i.Xm)(0,m.LO.md)} {\n margin-bottom: ${(0,i.Kq)(4)};\n padding-bottom: ${(0,i.Kq)(2)};\n }\n &:last-child {\n border-bottom: unset;\n padding-bottom: ${(0,i.Kq)(5)};\n ${(0,i.H4)(m.LO.md)} {\n padding-bottom: ${(0,i.Kq)(2)};\n }\n }\n }\n ${(0,i.H4)(m.LO.md)} {\n .summary-list__items{\n display: grid;\n grid-template-columns: repeat(12,1fr);\n column-gap: var(--grid-gap);\n row-gap: var(--grid-gap);\n \n .summary-list__item {\n &:nth-of-type(1){\n grid-column:1 / span 4;\n }\n &:nth-of-type(2){\n grid-column:5 / span 4;\n }\n &:nth-of-type(3){\n grid-column:9 / span 4;\n }\n }\n }\n }\n } \n }\n `} ${({hideVerticalBorders:e})=>e&&"&&& {\n border-left: 0;\n padding-left: 0;\n }"} ${({hasUnderHeroItem:e})=>e&&"grid-row-end: span 2;"} ${({hasBordersForFirstAndLastItem:e})=>e&&o.AH` .summary-item:last-child { border-bottom: var(--border-width, 1px) solid ${(0,i.HK)("colors.discovery.body.white.border")}; ${(0,i.H4)(m.LO.sm)} { ${p.Tr} { padding-bottom: ${(0,i.Kq)(0)}; } margin-bottom: ${(0,i.Kq)(0)}; padding-bottom: ${(0,i.Kq)(2)}; } ${(0,i.H4)(m.LO.md)} { ${p.Tr} { margin-bottom: ${(0,i.Kq)(2)}; padding-bottom: ${(0,i.Kq)(0)}; } padding-bottom: ${(0,i.Kq)(0)}; } ${(0,i.H4)(m.LO.lg)} { margin-bottom: ${(0,i.Kq)(0)}; } } `} img { ${({hasRoundedBorder:e})=>e&&"\n border-radius:10px;\n "} } `,w=o.Ay.div.withConfig({displayName:"SummaryCollageFourUnderMainItem"})` --border-width: ${({theme:e})=>(0,i.Pp)(e,"borderWidth")}; grid-column: 1 / -1; ${(0,i.H4)(m.LO.lg)} { grid-column: ${({hasCoverCollage:e})=>e?"1 / span 12":"1 / span 8"}; border-top: var(--border-width, 1px) solid ${(0,i.HK)("colors.discovery.body.white.border")}; border-bottom: none; } .summary-item__asset-container { ${(0,i.H4)(m.LO.lg)} { margin-top: ${(0,i.Kq)(1)}; margin-bottom: auto; } } `,$=o.Ay.div.withConfig({displayName:"SummaryCollageFourWrapper"})` ${(0,r.universalGridCore)()} ${(0,r.cssVariablesCollage)()} ${({hasCoverCollage:e})=>!e&&(0,a.aU)("padding")} ${({hasCoverCollage:e})=>e&&"\n display: unset;\n row-gap:unset;\n "} ${l.Ls} { margin-bottom: 0; } ${s.bU} { padding-left: 0; } ${({hasTitleBorder:e})=>e&&o.AH` ${l.Ls} { border-top: 1px solid ${(0,i.HK)("colors.discovery.body.white.divider")}; border-bottom: 1px solid ${(0,i.HK)("colors.discovery.body.white.border")}; } `} `},99366:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(13465),i=n(75989);const a=(0,o.y)(i.A,"SmartItem")},99585:(e,t,n)=>{n.d(t,{AL:()=>h,I_:()=>y,UC:()=>p,Xo:()=>g,lq:()=>u});var o=n(38267),i=n(96472),a=n(1123),r=n(26865),s=n(76955),l=n(86659),d=n(22652),c=n(75163);const m=`\n ${(0,a.VO)()}\n ${(0,a.aU)("padding")}\n\n margin: 0 auto;\n width: 100%;\n max-width: ${i.LO.xxl};\n`,u=o.Ay.div.withConfig({displayName:"EmbedWrapper"})` ${m} ${({isEmbedWrapperFullBleed:e})=>e&&o.AH` padding-right: 0; padding-left: 0; max-width: 100%; `} `,p=o.Ay.div.withConfig({displayName:"EmbedWrapperHed"})` margin-bottom: ${(0,r.Kq)(2)}; `,g=(0,o.Ay)(s.vm).withConfig({displayName:"EmbedWrapperDek"})` margin: 0 auto ${(0,r.Kq)(2)}; padding-right: ${(0,r.Kq)(1)}; padding-left: ${(0,r.Kq)(1)}; max-width: ${(0,r.Kq)(75)}; text-align: center; ${(0,r.Gg)("typography.definitions.consumptionEditorial.description-core")} `,h=(0,o.Ay)(l.A).withConfig({displayName:"GridWrapper"})` ${m} `,y=(0,o.Ay)(d.A).withConfig({displayName:"EmbedBody"})` p.has-dropcap { margin-top: ${(0,r.Kq)(4,"px")}; &::first-letter { ${r.eI}; } &.has-dropcap__lead-standard-heading { &::first-letter { padding: 0.1em 0.05em 0 0; color: var(${c.pT.Color.TextHeading}); } } } ${({constrainPagragraph:e})=>e&&`\n inline-embed{\n display: block;\n p {\n display:inline-block;\n max-width: ${(0,r.Kq)(40.875)};\n ${(0,r.H4)(i.LO.lg)} {\n max-width: ${(0,r.Kq)(91.5)};\n }\n }\n }\n `} `},99906:(e,t,n)=>{n.d(t,{Ay:()=>i,LR:()=>o.LR,VS:()=>o.VS,Vh:()=>o.Vh,hg:()=>o.hg,th:()=>o.th});var o=n(55058);const i={sizes:o.LR,sizesAscending:o.hg,sizesDescending:o.l9,sizesFullName:o.th,minThresholds:o.Vh,maxThresholds:o.VS}}}]);