1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[438],{50438:(a,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>_});var t=i(95155),n=i(41602),l=i(23820),o=i(17681),d=i(41389),g=i(12115),r=i(4612),c=i(65045),m=i.n(c),s=i(17903),w=i(22426),p=i(22066),u=i(93739);function h({link:a,ctaText:e,children:i,handleThumbClick:n,index:l,altText:o}){return a?(0,t.jsx)("div",{role:"button",tabIndex:0,title:o,className:`${m()["icon-link"]} cur-pointer`,onClick:async()=>{await n(e,l+1),setTimeout(()=>(window.location.href=a,!1),200)},children:i}):(0,t.jsx)("div",{title:o,className:m()["icon-link"],onClick:()=>{if("speed-store"==a){let a=(0,p.Gu)(u.aTd,{});a?.postcode?((0,w.Srx)("faster-delivery"),(0,p.wb)(u.xjD,"faster-delivery"),window.location.href="/speed-store?isServiceable=true",(0,p.wb)(u.RWT,"")):((0,p.wb)(u.wNY,{open:!0,from:"menu"}),(0,p.wb)(u.RWT,"faster-delivery"))}},children:i})}function _(a){let{data:e,globalConfig:i,type:c,page:p,isMobile:u}=a,_=(0,g.useRef)();(0,s.A)(_,1.5);let b=async(a,e)=>{let t="Home";if("CategoryPage"===window.digitalData.page.pageInfo.pageName){let a=window.digitalData.page.pageInfo.categoryType;t=`Category-${a.toLowerCase()}`}window.digitalData.main.menu={},window.digitalData.page.banner.position=e,window.digitalData.page.banner.name=a,window.digitalData.page.pageInfo.linkName="Banner Click",window.digitalData.page.pageInfo.linkPageName=window.digitalData.page.pageInfo.pageName,window.digitalData.page.home.module="Category banner",window.digitalData.page.pageInfo.icid=`${t}|Banner Click|Category banner|${a}|${e}`,a&&(window.digitalData.main.menu.tab=a),await (0,r.Ay)(null,["Banner_Tracking"],i),window.location.pathname.indexOf("/c/")>-1&&(window.digitalData&&window.digitalData.page&&(window.digitalData.page.category.module="Category thumbnail",window.digitalData.page.banner.name=a,window.digitalData.page.banner.position=e),await (0,r.Ay)(null,["Category_Page_Module"],i))};return(0,t.jsx)("div",{className:`${m()["app-category-thumb"]} ${p||""}`,children:(0,t.jsx)(n.A,{className:"app-category-thumb-list",ref:_,children:e&&e.map((a,e)=>{let i=(0,w.QKL)(a,640),n=a?.a_title;return(0,t.jsx)(l.Ay,{className:`${m()["grid-title"]} ${m()["thumb-list"]}`,col:3,children:(0,t.jsxs)(h,{altText:n,link:a.a_link,ctaText:a.a_title,handleThumbClick:b,index:e,children:[(0,t.jsx)("div",{className:"shimmer",children:(0,t.jsx)(d.LazyLoadImage,{src:i,alt:a.a_title,title:n,loading:"lazy",visibleByDefault:e<2,className:`${!c?m()["icon-image"]:m()["icon-image-land"]}`,width:u?"80":"185",height:u?"57":"130"})}),(0,t.jsx)(o.A,{primary:a.a_title,className:m()["icon-text"]})]})},a.media_id)})})})}},65045:a=>{a.exports={"app-category-thumb":"CategoryThumbnail_app-category-thumb__FEYnO","thumb-list":"CategoryThumbnail_thumb-list__HUlY9","icon-image":"CategoryThumbnail_icon-image__UIFNe","icon-link":"CategoryThumbnail_icon-link__MmIYj","icon-text":"CategoryThumbnail_icon-text__c7d2n","icon-image-land":"CategoryThumbnail_icon-image-land__P5UUF","grid-title":"CategoryThumbnail_grid-title___LnQM"}}}]);
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.