"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7718],{791:(e,i,t)=>{t.d(i,{l:()=>a.lx});var a=t(50943)},19799:(e,i,t)=>{t.r(i),t.d(i,{BROWSE_TEST_ID:()=>S,Browse:()=>L});var a=t(37876),l=t(14232),n=t(40123),r=t.n(n),s=t(791),d=t(91597),m=t(48181),o=t(88838),c=t(11621),h=t(24597),g=t(86139),x=t(85157),p=t(77232),u=t(13511),_=t(82018);let k={"--filmstrip-button-width":_.xe.generic.x9},f={max:163,lg:143,md:123,sm:93},v=p.I4.div.withConfig({componentId:"sc-47f4c2a7-0"})(["text-align:center;position:relative;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;font-size:",";"],_.gx.size.text.medium),N=(0,p.I4)(u.N).withConfig({componentId:"sc-47f4c2a7-1"})(["display:block;margin:0 ",";outline-offset:2px;text-decoration:none;width:","px;&:focus,&:hover{text-decoration:underline;}&:hover{outline:0;}img{width:","px;height:","px;}@media (max-width:","){width:","px;margin:0;img{width:","px;height:","px;}}@media (max-width:","){width:","px;margin:0;img{width:","px;height:","px;}}@media (max-width:","){width:","px;margin:0;img{width:","px;height:","px;}}&.text-only{height:","px;border-radius:50%;display:flex;justify-content:center;flex-direction:column;border:2px solid ",";margin:7.5px;overflow:hidden;@media (max-width:","){width:","px;height:","px;}@media (max-width:","){width:","px;height:","px;}@media (max-width:","){width:","px;height:","px;}}"],_.xe.generic.x1,f.max,f.max,f.max,_.fi.lg,f.lg,f.lg,f.lg,_.fi.md,f.md,f.md,f.md,_.fi.sm,f.sm,f.sm,f.sm,f.max,_.Tj.palette.gray.darkest,_.fi.lg,f.lg,f.lg,_.fi.md,f.md,f.md,_.fi.sm,f.sm,f.sm),w=p.I4.div.withConfig({componentId:"sc-47f4c2a7-2"})(["height:100%;margin-top:",";margin-bottom:",";padding-right:",";"],_.xe.generic.x1,_.xe.generic.x1,_.xe.generic.x2),j=(0,p.I4)(u.V).withConfig({componentId:"sc-47f4c2a7-3"})(["display:block !important;width:auto !important;"]),y=/(<([^>]+)>)/gi,b=e=>{let{headline:i,list:t}=e;return(0,a.jsxs)("div",{className:"h-padding-h-tight",children:[i&&(0,a.jsx)("div",{className:"h-text-center h-margin-b-tiny",children:(0,a.jsx)(h.D,{className:"h-margin-b-tiny",dangerouslySetInnerHTML:{__html:i},size:1})}),(0,a.jsx)("div",{className:"h-margin-t-x6",children:(0,a.jsx)(h.H,{alignItems:"center","data-test":"filmstrip",style:k,children:t.map(e=>{let i=e.image_path?void 0:"text-only",t=(0,x.D4)(e.link_name?.replace(y,""));return(0,a.jsx)(w,{children:(0,a.jsxs)(N,{className:i,"data-lnk":e.link_tag,href:e.link_url,children:[e.image_path?(0,a.jsx)(j,{alt:t,className:"h-margin-b-tiny",src:new g.o(e.image_path).href,width:f.sm}):null,(0,a.jsx)(v,{dangerouslySetInnerHTML:{__html:e.link_name??""}})]})},e.link_url)})})})]})};b.displayName="PictureNavigationFilmstrip";let C=p.I4.div.withConfig({componentId:"sc-2e93ca0c-0"})(["text-align:center;margin:"," auto;max-width:1250px;li{font-size:",";}a{color:",";}"],_.xe.generic.x4,_.gx.size.text.medium,_.Tj.palette.gray.darkest),I=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=i;return"root"!==t&&"0015"===e&&(l=[...a,...l]),l.length||(l=[...a]),l},T=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=e.split("/");if(i.length<3)return null;let t=i[2],a=t?.split("_")??[];return a.length<4?null:a?.[3]};var B=t(40942);let S="@web/SlingshotComponents/Browse",L=e=>{let{content:i={},presentation:t}=e,n=(0,l.useContext)(d.B.Context),h=(0,m.W)(),{trackClick:g}=(0,c.M)(),x=(0,l.useCallback)((e,i)=>{g.track({featureType:"BROWSE_COMPONENT",clickType:"CONTENT",...i?.link_url?{element:{id:i.link_url,type:"LINK"}}:void 0})},[g]);if(r()(i))return null;let{headline:p,presentation_type:u,scene7_params:_,shape:k,subhead:f,taxonomy_nodes:v=[],text_only:N}=i,w=h(o.K9);if(r()(v)&&r()(w))return null;let j=T(t)??void 0,y=((e,i,t)=>"0030"===e?"Shop by category":"0015"!==e||i?i:t)(j,p,h(o.lo)),L=I(j,v,h(o.ig),w),W=(0,B.N)(L);if("carousel"===u)return(0,a.jsx)("div",{"data-test":S,children:(0,a.jsx)(b,{headline:y,list:W})});let H=_;n.hasWebpSupport&&(H=_?.replace("fmt=pjpeg","fmt=webp"));let P="circle"===k&&(N||r()(W?.[0]?.image_path)),z="circle"===k&&!N&&!r()(W?.[0]?.image_path);return(0,a.jsx)(C,{"data-test":S,children:(0,a.jsx)(s.l,{headline:y,imageParams:H,isCircle:P,isCircleWithoutBorder:z,isTextOnly:N,list:W,onClick:x,subhead:f})})};L.displayName="Browse"},24597:(e,i,t)=>{t.d(i,{D:()=>l.D,H:()=>a.H});var a=t(83635),l=t(29016)},32496:(e,i,t)=>{t.d(i,{w:()=>h});var a=t(37876),l=t(65651),n=t(15039),r=t.n(n),s=t(14232),d=t(29115),m=t(19623),o=t(35263),c=t.n(o);let h=e=>{let{isCircle:i,isCircleWithoutBorder:t,item:n,imageParams:o="",lazyLoad:h=!0,NavItemTitleComponent:g="div",noAnimation:x=!1,onClick:p,onLoad:u}=e,_=(0,s.useCallback)(e=>p?.(e,n),[n,p]);return(0,a.jsx)(d.N,{className:r()(c().pictureNavigationLink),color:"onLightSecondary","data-lnk":n?.link_tag??null,href:n?.link_url,onClick:_,underline:"invert",children:n?.image_path&&(0,a.jsxs)("div",{className:c().itemPictureWrapper,children:[(0,a.jsx)(m.V,{alt:"",aspectRatio:"1x1",className:r()(c().picture,i&&c().circle,t&&c().circleWithoutBorder),height:"100%",lazyLoad:h,noAnimation:x,onLoad:u,src:`${n?.image_path}?${o}`,width:"100%"}),(0,a.jsx)(g,{className:c().itemTitleWrapper,"data-test":"navItemTitleComponent",children:(0,l.V)(n?.link_name,"span")})]})})};h.displayName="PictureNavigationItem"},40942:(e,i,t)=>{t.d(i,{N:()=>a});let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((e,t)=>{let a,l;return{link_url:e.link_url??e?.seo_data?.canonical_url??e.canonical_url,link_name:e.link_name??e.name??e.seo_h1??e?.seo_data?.seo_h1,image_path:e.image_path??e?.seo_data?.image_path,link_tag:e.link_tag??(a=e.seo_h1??e?.name?.replace(/\s/g,"")??"",l=t+1,i?`c_bubcat_${a}`:`C_Browse_${l.toString().padStart(2,"0")}_${a}_`)}})}},50943:(e,i,t)=>{t.d(i,{lx:()=>p});var a=t(37876),l=t(15039),n=t.n(l),r=t(29016),s=t(65814),d=t(32496),m=t(35263),o=t.n(m),c=t(65651),h=t(14232),g=t(29115);let x=e=>{let{isCircle:i,item:t,onClick:l}=e,r=(0,h.useCallback)(e=>{l?.(e,t)},[t,l]);return(0,a.jsx)(g.N,{className:n()(i?o().circleLink:o().link),"data-lnk":t?.link_tag??null,href:t?.link_url,onClick:r,underline:"invert",children:(0,c.V)(t?.link_name,"div","h-text-bold")})};x.displayName="TextNavigationItem";let p=e=>{let{className:i,"data-test":t="pictureNavigation",headingSize:l=1,headline:m,imageParams:c="wid=225&hei=225&qlt=80&fmt=pjpeg",isCircle:h,isCircleWithoutBorder:g,isTextOnly:p,list:u,noAnimation:_=!1,onClick:k,picNavHeaderRef:f,subhead:v}=e,N=h&&(p||u[0]&&!u[0]?.image_path);return(0,a.jsxs)("div",{className:n()(o().ndsPictureNavigation,i),"data-test":t,children:[m&&(0,a.jsxs)("div",{className:o().headingWrapper,children:[(0,a.jsx)(r.D,{className:o().heading,dangerouslySetInnerHTML:{__html:m},ref:f,size:N?1:l}),v&&(0,a.jsx)("p",{className:o().subheading,dangerouslySetInnerHTML:{__html:v}})]}),N?(0,a.jsx)(s.f,{center:"xs",className:o().row,tagName:"ul",children:u.map(e=>(0,a.jsx)("li",{className:o().listItem,children:(0,a.jsx)(x,{isCircle:h,item:e,onClick:k})},e.link_name))}):(0,a.jsx)(s.f,{center:"xs",className:o().row,"data-test":t?`${t}-featured`:"pictureNavigationFeatured",lgBlock:"6",mdBlock:"5",smBlock:"4",tagName:"ul",xsBlock:"3",children:u.map(e=>(0,a.jsx)("li",{className:o().listItem,children:p||!e.image_path?(0,a.jsx)(x,{item:e,onClick:k}):(0,a.jsx)(d.w,{childNodes:e.children,imageParams:c,isCircle:h,isCircleWithoutBorder:g,item:e,noAnimation:_,onClick:k})},e.link_name))})]})};p.displayName="PictureNavigation"},65651:(e,i,t)=>{t.d(i,{V:()=>l});var a=t(37876);let l=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0;return(0,a.jsx)(i,{className:t,dangerouslySetInnerHTML:{__html:e},...l})}}}]);