1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9543],{2634:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[rl]/ebikes/family/[slug]/[id]",function(){return i(2167)}])},3786:function(e,t,i){"use strict";i.d(t,{m:function(){return g}});var a=i(5893),n=i(7816),s=i(9993),o=i(3864),r=i(4113),d=i(4784),l=i(8170);let c=(0,l.zo)(s.W,{position:"relative",height:"calc(100svh - $space$9 - $space$13)","@tablet":{filter:"drop-shadow(0px 4px 14px rgba(0, 0, 0, 0.25))",aspectRatio:"164 / 45",width:"100%",height:"auto"},"&:before":{content:"",position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"$black",opacity:.25},img:{display:"block",width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}}),p=(0,l.zo)("div",{padding:"$8 $7",position:"absolute",bottom:0,left:0,width:"100%","@tablet":{padding:"$12"}}),h=(0,l.zo)(d.x,{maxWidth:"581px"}),u=(0,l.zo)(d.x,{maxWidth:"633px",margin:"0 auto $4 auto",textAlign:"center","@tablet":{margin:"0 auto"}}),g=e=>{let{data:t,titleNoCaps:i}=e;return t.variant===n.M2.banner?(0,a.jsx)(s.W,{type:{"@initial":"floating","@tablet":"regular"},css:{"@tablet":{paddingBottom:"$12",paddingTop:"$5"}},children:(0,a.jsxs)(c,{color:"black",type:"floating",children:[t.pictureDesktop&&(0,a.jsx)(r.t,{image:t.pictureDesktop,imageMobile:t.pictureMobile,type:"c",alt:t.title,imageSizes:{mobile:{width:375,height:595},largeMobile:{width:576,height:400},tablet:{width:720,height:196},desktop:{width:944,height:259},largeDesktop:{width:1152,height:316},max:{width:1312,height:360}}}),(0,a.jsx)(p,{children:(0,a.jsxs)(h,{as:"div",children:[(0,a.jsx)(o.H1,{css:{marginBottom:"$4",textTransform:i?"none":"uppercase"},children:t.title}),!t.descriptionHidden&&t.text]})})]})}):(0,a.jsxs)(s.W,{css:{"@tablet":{paddingBottom:"$11"}},children:[(0,a.jsx)(o.H1,{css:{textTransform:i?"none":"uppercase",padding:"$10 0 $4 0",textAlign:"center","@desktop":{padding:"$12 0 $4 0"}},children:t.title}),!t.descriptionHidden&&(0,a.jsx)(u,{children:t.text})]})}},2210:function(e,t,i){"use strict";i.d(t,{o:function(){return v}});var a=i(5893),n=i(7816),s=i(1293),o=i(2495),r=i(788),d=i(938),l=i(3786),c=i(8776),p=i(5676),h=i(6655),u=i(3761),g=i(4230),m=i(9993),x=i(482),w=i(1191),b=i(7294),f=i(8170);i(7690);var k=i(9304);let $=(0,f.zo)("div",{padding:"0 $5","@desktop":{padding:"0 $6"}}),j=e=>{let{family:t}=e,[i,n]=(0,b.useState)(),[s,o]=(0,b.useState)(!0),[{isDesktop:r,isLargeMobile:d}]=(0,w.i)(),l=t.bikeCards;return(0,b.useEffect)(()=>{r&&l.length<4||d&&l.length<3?o(!1):o(!0)},[r,d]),(0,b.useEffect)(()=>{let e=()=>{let e=document.getElementById("bike-slider-wrapper"),t={slider:0,container:0};if(e&&t){let i=document.body.clientWidth;t.container=e.offsetWidth-48,t.slider=(i-t.container)/2+t.container}return t};return n(e()),window.addEventListener("resize",()=>{n(e())}),function(){window.removeEventListener("resize",()=>{n(e())})}},[l.length]),s?(0,a.jsx)(m.W,{color:{"@initial":"white","@desktop":"gray"},type:"floating",css:{overflow:"hidden"},children:(0,a.jsx)(m.W,{id:"bike-slider-wrapper",css:{paddingTop:"$10"},children:(0,a.jsxs)(g.hv,{children:[(0,a.jsx)(g.iR,{css:{width:"".concat(null==i?void 0:i.slider,"px !important"),".swiper-wrapper":{justifyContent:"flex-start",alignItems:"stretch"}},modules:[k.W_,k.tl,k.N1,k.LW],slidesPerView:"auto",mousewheel:!0,grabCursor:!0,spaceBetween:12,keyboard:!0,navigation:!0,pagination:{clickable:!0,el:".swiper-custom-pagination"},breakpoints:{576:{spaceBetween:24},992:{slidesPerView:"auto",spaceBetween:32,scrollbar:{draggable:!0,el:".swiper-custom-scrollbar"}}},children:l.map(e=>(0,a.jsx)(g.Mi,{css:{height:"auto !important",width:"".concat(null==i?void 0:i.container,"px !important"),"@largeMobile":{width:"calc((".concat(null==i?void 0:i.container,"px - $space$7) / 2) !important")},"@desktop":{width:"calc((".concat(null==i?void 0:i.container,"px - $space$8 * 2) / 3) !important")}},children:(0,a.jsx)(u.WT,{product:e,family:t,showComparePage:!0})},e.id))}),(0,a.jsx)(g.Os,{children:(0,a.jsx)("div",{className:"swiper-custom-scrollbar"})}),(0,a.jsx)(g.n1,{children:(0,a.jsx)("div",{className:"swiper-custom-pagination"})})]})})}):(0,a.jsx)(m.W,{color:{"@initial":"white","@desktop":"gray"},type:"floating",css:{paddingBottom:"$10"},children:(0,a.jsx)(m.W,{children:(0,a.jsx)(x.k,{justify:"center",css:{margin:"0 -$5","@desktop":{margin:"0 -$6"}},gap:0,children:l.map(e=>(0,a.jsx)($,{css:{height:"auto","@largeMobile":{width:"50%"},"@desktop":{width:"33.333%"}},children:(0,a.jsx)(u.WT,{product:e,family:t,showComparePage:!0})},e.id))})})})},v=e=>{let{family:t,dynamicPage:i}=e,{route:n}=(0,r.x)(),{t:s}=(0,d.I)(),o=[{name:s(t.eBike?"menu.eBikes":"menu.bikes"),href:n("bikes",{eBike:t.eBike})},{name:t.category.name,href:n("bikeCategory",{category:t.category})},{name:t.name,href:""}];return(0,a.jsxs)("div",{children:[(0,a.jsx)(p.S,{metadata:i.header}),(0,a.jsx)(m.W,{children:(0,a.jsx)(h.a,{routes:o})}),(0,a.jsx)(l.m,{titleNoCaps:!0,data:i.header}),(0,a.jsx)(m.W,{color:"gray",type:"floating",css:{paddingTop:"$10",paddingBottom:"calc($space$5 + $space$4)","@desktop":{marginTop:"$10",paddingBottom:"calc($space$9 + $space$4)"}},children:(0,a.jsx)(j,{family:t})}),i.containers.map(e=>(0,a.jsx)(c.X,{container:e},e.id))]},t.id)};(0,o.rq)(async(e,t,i)=>{var a,o;let d=Number(null===(a=i.params)||void 0===a?void 0:a.id),[l,c]=await Promise.all([(0,s.a_)(e,t,d),(0,n.G8)(e,t,1,n.Hu.bikeFamily,d)]);return l.slug!==(null===(o=i.params)||void 0===o?void 0:o.slug)?{redirect:{statusCode:302,destination:(0,r.B)(e,t,"bikeFamily",{family:l})}}:{props:{family:l,dynamicPage:c}}})},2167:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return n}});var a=i(2210),n=!0;t.default=a.o},7690:function(){}},function(e){e.O(0,[3040,2303,2324,8782,4399,8310,2888,9774,179],function(){return e(e.s=2634)}),_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.