1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6961],{25703:function(e,r,t){"use strict";t.d(r,{Z:function(){return h}});var n=t(94904),s=t(86934),a=t(52042),o=t(75657),_=t.n(o);t(56168);var d=t(30103),l=t(69825),i=t.n(l),c=t(8014);function h({url:e,text:r,position:t="flex-start",textSize:o="1rem",bgColor:l=d.darkGrey,textColor:h="white",showArrow:m=!1,obfuscated:u=!1,rel:g=null,target:p="_self",tracking:f=null}){let{enhancedDataLayerPush:x}=(0,n.uP)(),b="object"==typeof e?e.href:e,j=()=>{if(!f)return;let e={sub_section:n.s0,content_type:n.s0,content_name:r},t="string"==typeof f?{...e,section:f}:{...e,...f};x(n.k2,t)};return u?(0,c.jsx)("div",{className:i().ctaObfuscated,style:{"--position":t,"--backgroundColor":l,"--textColor":h},onClick(){j(),(0,s.oe)((0,s.Mq)(b))},children:(0,c.jsx)("span",{style:{"--textSize":o},className:m?i().withArrow:"",children:m?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{children:r}),(0,c.jsx)(a.F8,{width:15})]}):r})}):(0,c.jsx)("div",{className:i().cta,style:{"--position":t},onClick:()=>j(),children:(0,s.Et)(b)?(0,c.jsxs)("a",{style:{"--textColor":h,"--backgroundColor":l},className:m?i().withArrow:"",href:b,target:p,...g?{rel:g}:{},children:[(0,c.jsx)("span",{style:{"--textSize":o},children:r}),m&&(0,c.jsx)(a.F8,{width:15})]}):(0,c.jsx)(_(),{href:e,passHref:!0,children:(0,c.jsxs)("a",{style:{"--textColor":h,"--backgroundColor":l},className:m?i().withArrow:"",target:p,...g?{rel:g}:{},children:[(0,c.jsx)("span",{style:{"--textSize":o},children:r}),m&&(0,c.jsx)(a.F8,{width:15})]})})})}},26627:function(e,r,t){"use strict";var n=t(94904),s=t(56168),a=t(86934),o=t(25703),_=t(75657),d=t.n(_),l=t(52082),i=t(47958),c=t.n(i),h=t(75332),m=t(62044),u=t(8014);let g=({brands:e,from:r="home"})=>{let{locale:t}=(0,h.useRouter)(),_=(0,l.Z5)(t),{t:i}=(0,m.Z)(r),{enhancedDataLayerPush:g}=(0,n.uP)(),p=e=>{("home"===r||"preOwned"===r)&&g(n.k2,{section:"preOwned"===r?"sm_carrousel_logos_occasion":"hp_carrousel_logos_marques",sub_section:n.s0,content_type:n.s0,content_name:e})}
1,[f,x]=(0,s.useState)(0),b=r=>{let t=(f+("right"===r?1:-1))%(2*e.length);t<0?t=e.length-1:t>=2*e.length&&(t=0),x(t)},j={transform:`translateX(${-f*(100/(2*e.length))}%)`,width:150*e.length<1200?"100%":`${150*e.length}px`};return(0,u.jsxs)("section",{className:`${c().brands} ${"preOwned"===r?c().preOwned:""}`,style:{backgroundColor:"brands"===r||"gdts"===r?"white":void 0},children:[["home","preOwned"].includes(r)&&(0,u.jsxs)("div",{className:`${c().homeTitle} container1200`,children:[(0,u.jsx)("h2",{children:i("home-brands-title")}),(0,u.jsx)("p",{children:i("home-brands-subtitle")})]}),(0,u.jsxs)("div",{className:c().logos,children:[(0,u.jsxs)("div",{className:`${c().sliderNav} ${e.length>5?"":c().hidden}`,children:[(0,u.jsx)("button",{className:c().left,onClick:()=>b("left"),children:(0,u.jsx)("svg",{viewBox:"0 0 20 20",width:"20",children:(0,u.jsx)("path",{d:"M12.34,3.2,6.25,9.29a1,1,0,0,0,0,1.42l6.09,6.09a1,1,0,0,0,1.41,0,1,1,0,0,0,0-1.41L8.37,10l5.38-5.39a1,1,0,0,0,0-1.41A1,1,0,0,0,12.34,3.2Z"})})}),(0,u.jsx)("button",{className:`${c().right}`,onClick:()=>b("right"),children:(0,u.jsx)("svg",{viewBox:"0 0 20 20",width:"20",children:(0,u.jsx)("path",{d:"M7.66,16.8l6.09-6.09a1,1,0,0,0,0-1.42L7.66,3.2a1,1,0,0,0-1.41,0,1,1,0,0,0,0,1.41L11.63,10,6.25,15.39a1,1,0,0,0,0,1.41A1,1,0,0,0,7.66,16.8Z"})})})]}),(0,u.jsxs)("div",{className:c().sliderInner,style:j,children:[e?.map((e,r)=>(0,u.jsx)(d(),{href:e.lien,prefetch:!1,passHref:!0,children:(0,u.jsx)("a",{dangerouslySetInnerHTML:{__html:e.svg},"aria-label":e.nom,onClick:()=>p(e.nom)})},r)),e?.map((r,t)=>(0,u.jsx)("div",{className:c().obfuscatedLinks,onClick(){p(r.nom),(0,a.oe)((0,a.Mq)(r.lien))},children:(0,u.jsx)("span",{dangerouslySetInnerHTML:{__html:r.svg}})},t+e.length))]})]}),(0,u.jsx)("div",{className:c().brandsCta,children:"home"===r?(0,u.jsx)(o.Z,{url:_.ManufacturersPage(),text:i("all-brands")}):"preOwned"===r&&(0,u.jsx)(o.Z,{url:_.ProductsPage({slug:i("all-brands-slug")}),text:i("all-brands")})})]})};r.Z=g}
1,48044:function(e,r,t){"use strict";var n=t(26627),s=t(1984),a=t.n(s),o=t(75657),_=t.n(o),d=t(56168),l=t(52082),i=t(86934),c=t(59416),h=t.n(c),m=t(75332),u=t(62044),g=t(8014);let p=[...Array(26)].map((e,r)=>String.fromCharCode(r+65));p.unshift("#");let f=({type:e,locale:r})=>{let{t}=(0,u.Z)("common"),{pathname:n}=(0,m.useRouter)(),s=window.location.origin,o=t(`meta_description_${e}`),_="en-IE"===r?(0,i.EH)(o):o;return(0,g.jsxs)(a(),{children:[(0,g.jsxs)("title",{children:[t(`meta_title_${e}`)," - Hardloop"]}),(0,g.jsx)("meta",{name:"description",lang:r,content:_}),(0,g.jsx)("link",{id:"linkCanonical",rel:"canonical",href:s+n})]})},x=({type:e})=>{let{t:r}=(0,u.Z)("common");return(0,g.jsxs)("div",{className:h().header,children:[(0,g.jsx)("div",{className:h().headerTitle,children:(0,g.jsx)("h1",{children:r(e)})}),(0,g.jsx)("div",{className:h().headerLetters,children:p.map(e=>(0,g.jsx)("a",{className:h().headerLetter,href:`#${e}`,title:e,children:e},e))})]})},b=({manufacturers:e,type:r})=>{let{locale:t}=(0,m.useRouter)(),{t:n}=(0,u.Z)("common"),s=(0,l.Z5)(t),a=`${r.charAt(0).toUpperCase()}${r.slice(1)}`,o="";return(0,g.jsx)("section",{className:h().brandsContent,"aria-label":"brands_section",children:(0,g.jsx)("nav",{className:h().brandsContentHeader,role:"navigation","aria-label":"brands_navigation",children:e?.map(e=>{let t=e?.name?.trim()[0]?.toUpperCase(),l=Number.isInteger(parseInt(t))?"#":t,i=l!==o;i&&(o=l);let c=s[`${e.id_preowned_category?"Products":a}Page`]({slug:e.slug});return(0,g.jsxs)(d.Fragment,{children:[i&&(0,g.jsxs)("div",{className:h().contentHeader,id:l,children:[(0,g.jsx)("h2",{className:h().letterHeading,children:l}),(0,g.jsx)("hr",{"aria-hidden":"true"})]}),(0,g.jsx)("div",{className:h().contentBrand,children:"gdts"===r||e.has_active_products?(0,g.jsx)(_(),{prefetch:!1,href:c,title:n("view-brand",{name:e.name}),className:h().brandLink,children:e.id_preowned_category?n("preowned-brand-name",{name:e.name}):e.name}):(0,g.jsx)("span",{className:h().brandLink,children:e.id_preowned_category?n("preowned-brand-name",{name:e.name}):e.name})})]},`${e.id_manufacturer}-${e.id_category??e.id_preowned_category}`)})})})},j=({manufacturers:e,homepage:r,type:t="brands"})=>{let{locale:s}=(0,m.useRouter)(),a=r?.marques||[];return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(f,{type:t,locale:s}),(0,g.jsx)(x,{type:t}),(0,g.jsx)(n.Z,{brands:a,from:t}),(0,g.jsx)(b,{manufacturers:e,type:t})]})};r.Z=j},15385:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSG:function(){return i}});var n=t(48044),s=t(45985);t(56168);var a=t(94019),o=t(8014),_=t(89885);let d="true"===_.env.NEXT_PUBLIC_SHOW_BRANDS_WITH_PRODUCTS,l="true"===_.env.NEXT_PUBLIC_SHOW_EMPTY_PREOWNED_BRANDS;var i=!0;r.default=function({fallback:e,homepage:r}){let t=(0,s.mq)(d),{data:_}=(0,a.ZP)(t,{fallbackData:e[t]}),i=_?.reduce((e,r)=>{let t=!!l||r.has_active_products;if(r.id_category||r.id_preowned_category&&t){let{id_category:n,id_preowned_category:s,link_rewrite:a,...o}=r;e.push({...o,slug:`${n??s}-${a}`,id_category:n,id_preowned_category:s})}return e},[]);return(0,o.jsx)(n.Z,{manufacturers:i,type:"brands",homepage:r})}},62089:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSG:function(){return s}});var n=t(15385),s=!0;r.default=n.default},86332:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/maerker",function(){return t(62089)}])},69825:function(e){e.exports={darkGrey:"#11140f",yellow:"#e3aa10",lightGrey:"#f5f5f5",blue:"#25507a",green:"#298415",greenHover:"#1c620d",lightBlue:"#cce1ff",salesRed:"#9a0404",smallRadius:"3px",bigRadius:"5px",cta:"ctaLink_cta__39DYd",withArrow:"ctaLink_withArrow__6G_fz",ctaObfuscated:"ctaLink_ctaObfuscated__w5Yhu"}},47958:function(e){e.exports={darkGrey:"#11140f",yellow:"#e3aa10",lightGrey:"#f5f5f5",blue:"#25507a",green:"#298415",greenHover:"#1c620d",lightBlue:"#cce1ff",salesRed:"#9a0404",homepage:"home_homepage__ULAcj",slider:"home_slider__daU6a",sliderNav:"home_sliderNav__bH9oQ",right:"home_right__Mfmqw",sliderButtons:"home_sliderButtons__owAPi",roundButton:"home_roundButton__jvzHd",active:"home_active__PuT3q",sliderInner:"home_sliderInner__5kFR5",slide:"home_slide__uApcT",bottomBg:"home_bottomBg__aNNLj",topBg:"home_topBg__JTRR2",cardLink:"home_cardLink__73F2J",slideContent:"home_slideContent__mmyyW",slideSubTitle:"home_slideSubTitle__jCbIx",promotion:"home_promotion__tkK3_",codeText:"home_codeText__Lvr8B",copyBtn:"home_copyBtn__ElhV7",code:"home_code__YpMZQ",copyright:"home_copyright__9j9hE",promises:"home_promises__ddUXq",promisesInner:"home_promisesInner__ZXvYf",promisesSlider:"home_promisesSlider__XdPti",promise:"home_promise__v7NYg",mobileSidebar:"home_mobileSidebar__1_1FN",header:"home_header__EjHsh",content:"home_content__Yx5ob",homeTitle:"home_homeTitle__NWzL3",trendsTitle:"home_trendsTitle__nFr3b",seasonal:"home_seasonal__3nnxG",cards:"home_cards__X0PBG",seasonalCard:"home_seasonalCard__aLtft",categories:"home_categories__GWio5",column:"home_column__Jeis3",featuredProducts:"home_featuredProducts__2367U",bestProducts:"home_bestProducts__yPZ8C",adoptUs:"home_adoptUs___bOG8",bestSeller:"home_bestSeller__Sz7NE",hardgreenProducts:"home_hardgreenProducts__osIQa",promoProducts:"home_promoProducts__niGvj",exploreTitle:"home_exploreTitle__213Nm",newProducts:"home_newProducts__yNWTi",gadgetProducts:"home_gadgetProducts__o1Ve5",wellnessProducts:"home_wellnessProducts__6IxmA",occasionProducts:"home_occasionProducts__V5ohe",brands:"home_brands__3bGCs",preOwned:"home_preOwned__OV_eZ",logos:"home_logos__cL1Zb",hidden:"home_hidden__Ig818",obfuscatedLinks:"home_obfuscatedLinks__1J0GJ",brandsCta:"home_brandsCta__fQZqX"}},59416:function(e){e.exports={brandsContent:"manufacturers_brandsContent__UIJUi",letterHeading:"manufacturers_letterHeading__TY74f",brandsContentHeader:"manufacturers_brandsContentHeader__O1WI5",contentHeader:"manufacturers_contentHeader__8z8Ai",contentBrand:"manufacturers_contentBrand__TPAhO",header:"manufacturers_header__Q0n3T",headerTitle:"manufacturers_headerTitle__Y_8pH",headerLetters:"manufacturers_headerLetters__MlATS",headerLetter:"manufacturers_headerLetter__NKPxM",logoBrand:"manufacturers_logoBrand__E7XJQ",logoBrandImg:"manufacturers_logoBrandImg__7V6BP"}}},function(e){e.O(0,[1176,9774,2888,179],function(){return e(e.s=86332)}),_N_E=e.O()}]);
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.