1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54],{17158:(a,r,s)=>{"use strict";s.d(r,{S:()=>n});let n=a=>{if(!(null==a?void 0:a.path)||!(null==a?void 0:a.entityId))return"#";let r=a.path.replaceAll("/","")||"brand";return"/brands/".concat(r,"/").concat(a.entityId)}},20054:(a,r,s)=>{"use strict";s.r(r),s.d(r,{ShopByBrandsCard:()=>o});var n=s(54568),e=s(10790),d=s(83985),t=s(25150),b=s.n(t),l=s(17158),_=s(41466),c=s.n(_);let o=a=>{let{brands:r=[],title:s,action:t,className:_,banner:o,showMoreLabel:h,showLessLabel:i}=a,y=(a=>{let{title:r,action:s}=a;return(r||s)&&(0,n.jsxs)("div",{className:c()["shop-by-brands-card__header"],children:[r&&(0,n.jsx)("h4",{children:r}),s&&(0,n.jsxs)(d.Link,{href:s.href,className:b()(c()["shop-by-brands-card__cta"]),children:[s.title,(0,n.jsx)(e.ArrowRight,{})]})]})})({title:s,action:t}),p=r.map((a,r)=>{let s=(0,l.S)({path:a.ctaLink,entityId:a.entityId});return(0,n.jsx)(d.BrandCard,{imageUrl:a.imageUrl||"/image/placeholder.png",ctaLink:s,altText:a.ctaLabel||"",buttonLabel:a.ctaLabel||"",variant:"logo",className:c()["shop-by-brands-card__brand"]},"brand-".concat(a.entityId||r))}),u=(a=>a.imageUrl?(0,n.jsx)(d.BrandCard,{imageUrl:a.imageUrl,ctaLink:a.ctaLink||"",altText:a.ctaLabel||"",buttonLabel:a.ctaLabel||"",variant:"banner",className:c()["shop-by-brands-card__banner"]}):null)(o);return(0,n.jsx)(d.CombinedGrid,{multiRows:!0,className:b()(c()["shop-by-brands-card"],_),gridClassName:c()["shop-by-brands-card__grid"],header:y,banner:u,bannerPosition:"start",columnConfig:{lg:8,xl:12},bannerColumnSpan:2,showLessLabel:i,showMoreLabel:h,children:p})}},41466:a=>{a.exports={"shop-by-brands-card":"styles_shop-by-brands-card__RCs04","shop-by-brands-card__header":"styles_shop-by-brands-card__header__YB93X","shop-by-brands-card__cta":"styles_shop-by-brands-card__cta__fyQIl","shop-by-brands-card__grid":"styles_shop-by-brands-card__grid__XOUXd","shop-by-brands-card__banner":"styles_shop-by-brands-card__banner__lV390","shop-by-brands-card__brand":"styles_shop-by-brands-card__brand__U1yCk"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.