(window.webpackJsonp=window.webpackJsonp||[]).push([[235,21,26,30,36,40,60,63,71,166],{1226:function(t,e,r){"use strict";r.r(e);r(17),r(64),r(33);var n=r(3),l=r(2),o=(r(42),r(34),r(13),r(51),r(19),r(20),r(15),r(8),r(25),r(52),r(11),r(43),r(4)),c=r(147);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var m=o.default.extend({asyncData:function(t){return Object(l.a)(regeneratorRuntime.mark((function e(){var r,n,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.app,n=t.error,e.prev=1,e.next=4,r.$repositories.graphql.getBlogItems();case 4:return l=e.sent,e.abrupt("return",{blogItems:l.data.data.entries});case 8:e.prev=8,e.t0=e.catch(1),e.t1=e.t0.message,e.next="BLOGITEMS_FETCH_ERROR"===e.t1?13:15;break;case 13:return n({statusCode:500,message:"Error fetching blog items"}),e.abrupt("break",16);case 15:n({statusCode:500,message:"Unknown error"});case 16:case"end":return e.stop()}}),e,null,[[1,8]])})))()},data:function(){return{loggedIn:this.$store.state.auth.loggedIn,brand:"Ridley",item:{},bikes:{},blogItems:[]}},head:function(){return{bodyAttrs:{},title:"".concat(this.family.name.charAt(0).toUpperCase()+this.family.name.slice(1)," | ").concat(this.$brand),meta:[{hid:"description",name:"description",content:"".concat(this.family.description)}]}},computed:f(f(f({trackingInfo:function(){return this.$tracking&&this.$tracking.BCF.key},familyCode:function(){return this.$route.params.slug}},Object(c.c)({platforms:function(t){return t.bikes.byFamily[this.familyCode.toLowerCase()]},platformsOld:function(t){return t.bikes.byFamilyOld[this.familyCode.toLowerCase()]},family:function(t){return t.bikes.families[this.familyCode.toLowerCase()]}})),Object(c.b)(["categoryByRange"])),{},{breadcrumbs:function(){var t=this.categoryByRange(this.family.rangeCode);return[{path:"/",title:this.$brand},{path:"/bikes",title:this.$t("header.bikes")},{path:"/bikes/categories/"+t[0].categoryId,title:t[0].title}]},displayImages:function(){var t=this.family.images,e=[];if(t)for(var r in console.log("images",t),t)e.push(t[r].highres);else e=["https://images.cyclingfactory.be/SBIKAFRID002_image2_2048x.jpg"];return e},relatedBlogItems:function(){var t=this,e=[];return this.blogItems.filter((function(r){r.relatedIds.some((function(n){n.platformId&&n.platformId.replace(/\s+/g,"").toUpperCase()===t.familyCode.replace(/\s+/g,"").toUpperCase()&&(e.length>2||e.push(r))}))})),e}}),mounted:function(){this.$insider.setPageType("Category",["bikes",this.family.rangeCode,this.family.code]),this.$insider.setCategories(["bikes",this.family.rangeCode,this.family.code]),this.$tracking.viewFamily({family:this.family.code,brand:this.family.brand,range:this.family.rangeCode})}}),_=r(63),component=Object(_.a)(m,(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.family?e("div",["Eddy Merckx"!==t.brand?e("div",[e("div",{staticClass:"hero__platform hero__platform--detail",style:{backgroundImage:"url('"+t.displayImages[2]+"')"}},[e("div",{staticClass:"hero__platform__holder"},[e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col"},[t.breadcrumbs?e("ol",{staticClass:"pagetitle__breadcrumbs"},t._l(t.breadcrumbs,(function(r){return e("li",{key:r.path},[e("nuxt-link",{attrs:{to:t.localePath(r.path),title:r.title}},[t._v("\n "+t._s(t._f("trimTitle")(r.title))+"\n ")])],1)})),0):t._e(),t._v(" "),e("h1",[t._v(t._s(t.family.name))])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-8"},[t._v("\n "+t._s(t.family.description)+"\n ")])])])])]),t._v(" "),e("div",{staticClass:"spacer"}),t._v(" "),e("div",{staticClass:"container-fluid"},[t.platforms.length>0?e("div",{staticClass:"row"},t._l(t.platforms,(function(r){return e("div",{key:r.code,staticClass:"col-lg-4 col-md-6"},[r?e("BikesRidleyPlatformDisplay",{attrs:{platform:r}}):t._e()],1)})),0):e("div",[t._v("\n "+t._s(t.$t("platforms.messagenobikes")+t.family.name)+"!\n "),e("div",{staticClass:"spacer"})]),t._v(" "),e("client-only",[t.loggedIn||t.trackingInfo?e("bikes-configurations",{attrs:{family:t.family}}):t._e()],1)],1),t._v(" "),e("div",{staticClass:"spacer"}),t._v(" "),e("div",{staticClass:"crosslink__overview"},[e("div",{staticClass:"crosslink__item"},[e("div",{staticClass:"crosslink__item__image",style:{backgroundImage:"url('"+t.displayImages[1]+"')"}}),t._v(" "),e("section",{staticClass:"container-fluid"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col"},[e("div",{staticClass:"crosslink__item__content"},[e("h4",[t._v(t._s(t.$t("platforms.about")+t.family.name))]),t._v(" "),e("div",{domProps:{innerHTML:t._s(t.family.detaildescription)}}),t._v(" "),e("nuxt-link",{staticClass:"button button--primary",attrs:{to:t.localePath("/bikes/categories/".concat(t.categoryByRange(t.family.rangeCode)[0].categoryId))}},[t._v("\n "+t._s(t.$t("platforms.discoverall"))+"\n "),e("i",{staticClass:"las la-arrow-right"})])],1)])])])])]),t._v(" "),e("section",{staticClass:"background--darker"},[e("div",{staticClass:"bikes__platforms bikes__platforms--small"},[e("div",{staticClass:"spacer"}),t._v(" "),e("div",{staticClass:"spacer"}),t._v(" "),e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col text-center"},[e("h4",{staticClass:"color--muted"},[t._v("\n "+t._s(t.$t("platforms.otherbikes"))+"\n ")]),t._v(" "),e("div",{staticClass:"spacer"}),t._v(" "),e("BikesSimilarModels",{attrs:{"range-code":t.family.rangeCode,"family-code":t.family.code}})],1)])]),t._v(" "),e("div",{staticClass:"spacer"})])]),t._v(" "),t.relatedBlogItems.length?e("section",{staticClass:"background--dark"},[e("div",{staticClass:"spacer"}),t._v(" "),e("div",{staticClass:"spacer"}),t._v(" "),e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col text-center"},[e("h4",{staticClass:"color--muted"},[t._v("\n "+t._s(t.$t("platforms.relatednews"))+" "+t._s(t.family.name)+"\n ")])])]),t._v(" "),e("div",{staticClass:"spacer"}),t._v(" "),e("div",{staticClass:"row justify-center"},t._l(t.relatedBlogItems,(function(article){return e("div",{key:article.id,class:"Eddy Merckx"!==t.brand?"col-sm-6 col-lg-3 mb-4":"col-md-4"},[e("BlogPreview",{attrs:{blog:article}})],1)})),0),t._v(" "),e("div",{staticClass:"spacer"})])]):t._e()]):e("div",[e("BikesMerckxPlatformBanner",{attrs:{platform:t.family}}),t._v(" "),e("div",{staticStyle:{"background-color":"#F2F3F5"}},[e("div",[t.platforms.length>0?e("div",{staticClass:"row"},t._l(t.platforms,(function(r){return e("BikesMerckxBikeCardLarge",{key:r.code,staticClass:"container-fluid",class:"Eddy Merckx"!==t.brand?"col-12":"",attrs:{platform:r}})})),1):e("div",[t._v("\n "+t._s(t.$t("platforms.messagenobikes")+t.family.name)+"!\n "),e("div",{staticClass:"spacer"})])])])],1)]):e("div",{staticClass:"container-fluid type"},[t._v("\n Oops something went wrong, couldn't find platform\n")])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{BikesRidleyPlatformDisplay:r(841).default,BikesConfigurations:r(720).default,BikesSimilarModels:r(689).default,BlogPreview:r(626).default,BikesMerckxPlatformBanner:r(971).default,BikesMerckxBikeCardLarge:r(972).default})},596:function(t,e,r){t.exports={}},598:function(t,e,r){"use strict";r.r(e);var n=r(3),l=(r(108),r(121)),o={name:"RetailPrice",props:{msrp:{type:[Number,String],default:null},oldMsrp:{type:[Number,String],default:null},currency:{type:String,default:null},size:{type:String,default:"small"},placeholder:{type:String,default:"-"},from:{type:Boolean,default:!1},align:{type:String,default:"right"},fromAlign:{type:String,default:"right"}},computed:{hasDiscount:function(){return!!this.oldMsrp}},methods:{formatPrice:function(t){return t&&this.currency?l.a.formatPrice(t,this.currency):this.placeholder}}},c=(r(601),r(63)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"retail-price__wrapper",class:Object(n.a)({},t.align,!0)},[e("div",[t.from?e("div",{staticClass:"retail-price__from",class:"retail-price__from--".concat(t.fromAlign)},[t._v("\n "+t._s(t.$t("FROM"))+"\n ")]):t._e(),t._v(" "),e("div",{staticClass:"retail-price--current",class:Object(n.a)({"retail-price--sale":t.hasDiscount},"retail-price--".concat(t.size),!0)},[t._v("\n "+t._s(t.formatPrice(t.msrp))+"\n ")]),t._v(" "),t.hasDiscount?e("div",{staticClass:"retail-price--old",class:Object(n.a)({},"retail-price--old--".concat(t.size),!0)},[t._v("\n "+t._s(t.formatPrice(t.oldMsrp))+"\n ")]):t._e()])])}),[],!1,null,"05a0ddb5",null);e.default=component.exports},601:function(t,e,r){"use strict";r(596)},612:function(t,e,r){t.exports={}},613:function(t,e,r){t.exports={}},626:function(t,e,r){"use strict";r.r(e);r(17),r(64);var n=r(4).default.extend({name:"BlogPreview",props:{cover:{type:Boolean,required:!1},blog:{type:Object,required:!0}},data:function(){return{brand:"Ridley"}}}),l=r(63),component=Object(l.a)(n,(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.blog?e("article",{staticClass:"blog__item",class:{"blog__item--cover":!!t.cover&&t.cover}},[e("nuxt-link",{attrs:{to:t.localePath("/news/article/".concat(t.blog.id)),title:t.blog.title}},[e("div",{staticClass:"blog__item__image"},["Ridley"===t.brand?e("ul",{staticClass:"blog__item__tags"},t._l(t.blog.blogCategories,(function(r){return e("li",{key:r.id},[e("span",{staticClass:"tag",class:"tag--"+r.blogkey},[t._v(t._s(r.title))])])})),0):t._e(),t._v(" "),t.blog.featuredImage&&t.blog.featuredImage[0]?e("img",{attrs:{src:t.blog.featuredImage[0].thumb,title:t.blog.title,alt:t.blog.title,lazy:"true"}}):t._e()]),t._v(" "),e("div",{staticClass:"blog__item__content"},["Eddy Merckx"===t.brand?e("ul",{staticClass:"blog__item__tags"},t._l(t.blog.blogCategories,(function(r){return e("li",{key:r.id},[e("span",{staticClass:"tag",class:"tag--"+r.blogkey},[t._v(t._s(r.title))])])})),0):t._e(),t._v(" "),e("h2",{staticClass:"blog__item__title"},[t._v("\n "+t._s(t.blog.title)+"\n ")]),t._v(" "),e("p",{staticClass:"blog__item__intro"},[t._v("\n "+t._s(t.blog.description)+"\n ")]),t._v(" "),e("time",{staticClass:"blog__item__date",attrs:{datetime:t.blog.postDate}},[t._v("\n "+t._s(t._f("formatDate")(t.blog.postDate))+"\n ")]),t._v(" "),e("i",{staticClass:"las la-long-arrow-alt-right"})])])],1):t._e()}),[],!1,null,null,null);e.default=component.exports},629:function(t,e,r){"use strict";r.r(e);r(17),r(64),r(33),r(45),r(95),r(8),r(11);var n=r(4),l=r(630),o=r.n(l),c=n.default.extend({name:"FamilyDisplay",props:{family:{type:Object,required:!0},size:{type:String,required:!1,default:null}},computed:{niveauFromTo:function(){var t=[],e=["Hydro Series","Essential Series","Elite Series"],r=this.$store.state.bikes.byFamily[this.family.code.toLowerCase()];r&&r.forEach((function(r){if(r.niveau){var n=e.indexOf(r.niveau);null===n||t.includes(n)||t.push(n)}})),t.sort();var n=e[t[0]];return t.length>1&&(n+=" › "+e[t[t.length-1]]),n}},methods:{sanitizeHtml:function(html){return o()(html,{allowedTags:[]})}}}),d=r(63),component=Object(d.a)(c,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("nuxt-link",{staticClass:"bikes__platforms__item__info",attrs:{to:t.localePath(t.family.$$link),title:t.family.name}},[e("article",{class:"bikes__platforms__item bikes__platforms__item--"+t.size},[e("div",{staticClass:"bikes__platforms__item__preview"},[t.family.images&&t.family.images.image?e("picture",[e("source",{attrs:{type:"image/avif",srcset:t.family.images.image.midres_avif}}),t._v(" "),e("img",{attrs:{src:t.family.images.image.midres,alt:"Photo "+t.family.name,lazy:"true"}})]):t._e()]),t._v(" "),e("section",{staticClass:"bikes__platforms__item__content"},[e("h2",[t._v(t._s(t.family.name))]),t._v(" "),null===t.size&&t.niveauFromTo?e("span",{staticClass:"tag tag--red"},[t._v(t._s(t.niveauFromTo))]):t._e(),t._v(" "),null!==t.size&&t.niveauFromTo?e("span",{staticClass:"tag tag--red"},[t._v(t._s(t.niveauFromTo))]):t._e(),t._v(" "),e("p",[t._v(t._s(t.sanitizeHtml(t.family.description)))]),t._v(" "),e("div",{staticClass:"bikes__platforms__item__actions"},[e("strong",{staticClass:"bikes__platforms__item__price"},[t.family.$$fromPrice?e("span",[t._v("\n "+t._s(t.$t("FROM"))+" "+t._s(t._f("formatPrice")(t.family.$$fromPrice.msrp,t.family.$$fromPrice.currency))+"\n ")]):e("span",[t._v("\n "+t._s(t.$t("pricenotavailable"))+"\n ")])])]),t._v(" "),e("div",{staticClass:"action__item"},[e("span",{staticClass:"icon-link icon-link--right icon-link--inverse"},[t._v(t._s(t.$t("familydetails"))+" "),e("i",{staticClass:"las la-arrow-right"})])]),t._v(" "),e("div",{staticClass:"action__item"},[e("nuxt-link",{staticStyle:{"text-decoration":"none"},attrs:{to:t.localePath({name:"inventory",query:{key:"family",value:t.family.code}})}},[e("span",{staticClass:"icon-link icon-link--right icon-link--inverse"},[t._v(t._s(t.$t("inventory.dealerStock"))),e("i",{staticClass:"las la-arrow-right"})])])],1)])])])}),[],!1,null,null,null);e.default=component.exports},631:function(t,e){},632:function(t,e){},634:function(t,e,r){"use strict";r(612)},635:function(t,e,r){"use strict";r(613)},639:function(t,e){},640:function(t,e){},647:function(t,e){},648:function(t,e,r){"use strict";r.r(e);var n=r(24),l=r(26),o=r(2),c=(r(42),r(34),r(13),r(51),r(33),r(108),r(175),r(8),r(44),r(43),r(633)),d={name:"ConceptCarousel",components:{VueperSlides:c.VueperSlides,VueperSlide:c.VueperSlide},props:{family:{type:Object,default:null},model:{type:String,default:null},visibleItems:{type:Number,default:4},baseRatio:{type:Number,default:.36}},data:function(){return{loggedIn:this.$store.state.auth.loggedIn,concepts:void 0,visibleSlides:this.visibleItems,maxVisibleItems:this.visibleItems,showingPopular:!1,hideLoginNotice:!1,breakpoints:{1350:{visibleSlides:3,slideRatio:.5},940:{visibleSlides:2,slideRatio:.65},860:{visibleSlides:2,slideRatio:.7},700:{visibleSlides:2,slideRatio:.75},615:{visibleSlides:1,slideRatio:1.35},400:{visibleSlides:1,slideRatio:1.5}}}},computed:{concepten:function(){return this.concepts},showButtons:function(){var t;return(null===(t=this.concepts)||void 0===t?void 0:t.length)>this.visibleSlides}},mounted:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var r,o,c,d,f,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,window.addEventListener("resize",t.handleWindowResize),t.handleWindowResize(),e.next=5,Promise.all([t.$repositories.tracking.getProfileConcepts(t.model),t.$repositories.bcf.getMyConcepts(10,null===(r=t.family)||void 0===r?void 0:r.code,t.model).then((function(t){return t.formattedResult}))]);case 5:if(o=e.sent,c=Object(l.a)(o,2),d=c[0],f=c[1],d=d&&d.length>0?(d=d.filter((function(e){var r;return!(t.family&&(null===(r=t.family)||void 0===r?void 0:r.name)!==e.family||t.model&&t.model!==e.modelcode)}))).slice(0,Math.max(1,4-f.length)):[],t.concepts=[].concat(Object(n.a)(d),Object(n.a)(f)),t.hideLoginNotice=0===f.length,t.concepts&&0!==t.concepts.length){e.next=19;break}return m={brand:t.$brand,rank:"1,2,3,4"},e.next=16,t.$repositories.tracking.getPopularConcepts(m,!0);case 16:t.concepts=e.sent,t.hideLoginNotice=!0,t.showingPopular=!0;case 19:t.concepts&&0!==t.concepts.length||t.$emit("no-data"),e.next=26;break;case 22:e.prev=22,e.t0=e.catch(0),console.log(e.t0),console.error({statusCode:500,message:"Unknown error"});case 26:case"end":return e.stop()}}),e,null,[[0,22]])})))()},destroyed:function(){window.removeEventListener("resize",this.handleWindowResize)},methods:{handleWindowResize:function(t){if(window.innerWidth>=1400)this.visibleSlides=this.maxVisibleItems;else for(var e=0,r=Object.entries(this.breakpoints);e<r.length;e++){var n=Object(l.a)(r[e],2),o=n[0],c=n[1];if(window.innerWidth<1400&&window.innerWidth<=o){this.visibleSlides=c.visibleSlides;break}}},redirectToLogin:function(){this.loggedIn||(window.location.href="/account/login")}}},f=(r(634),r(635),r(63)),component=Object(f.a)(d,(function(){var t=this,e=t._self._c;return t.concepten&&t.concepten.length>0?e("div",[e("div",{staticClass:"row"},[e("div",{staticClass:"col"},[e("div",{staticClass:"pagesubtitle carousel__title"},[t.showingPopular?e("h2",[t._v("\n "+t._s(t.$t("myConcepts.title_popular"))+"\n ")]):e("h2",[t._v("\n "+t._s(t.$t("myConcepts.title"))+"\n ")]),t._v(" "),t.showButtons?e("div",{staticClass:"pagesubtitle__actions carousel__title__actions"},[e("button",{staticClass:"button--carousel",on:{click:function(e){return t.$refs.configurations.previous()}}},[e("i",{staticClass:"las la-arrow-left"})]),t._v(" "),e("button",{staticClass:"button--carousel",on:{click:function(e){return t.$refs.configurations.next()}}},[e("i",{staticClass:"las la-arrow-right"})])]):t._e()])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col"},[e("vueper-slides",{ref:"configurations",staticClass:"no-shadow",attrs:{"visible-slides":t.visibleSlides,"slide-multiple":"","slide-ratio":t.baseRatio,bullets:!1,gap:2,arrows:!1,"dragging-distance":200,breakpoints:t.breakpoints}},t._l(t.concepten,(function(r,n){return e("vueper-slide",{key:n,scopedSlots:t._u([{key:"content",fn:function(){return[e("account-conceptCard",{attrs:{concept:r}})]},proxy:!0}],null,!0)})})),1)],1)]),t._v(" "),t.loggedIn||t.hideLoginNotice?t._e():e("div",{staticClass:"login-reminder"},[e("p",[e("a",{on:{click:t.redirectToLogin}},[e("i",{staticClass:"uil uil-exclamation-triangle"}),t._v(t._s(t.$t("myConcepts.goToLoginDescription")))])])])]):t._e()}),[],!1,null,"1d224512",null);e.default=component.exports},689:function(t,e,r){"use strict";r.r(e);r(13),r(51),r(8);var n=r(4).default.extend({name:"SimilarModels",props:{rangeCode:{type:String,default:null},familyCode:{type:String,default:null}},data:function(){return{families:[]}},mounted:function(){this.fetchFamilies()},methods:{fetchFamilies:function(){var t=this,e=this.$store.state.bikes.byRange[this.rangeCode],r=this.familyCode&&this.familyCode.toLowerCase();if(e&&(this.families=e.filter((function(t){return t.code.toLowerCase()!==r}))),this.families.length<3)for(var n=this.$store.state.bikes.items,i=this.families.length;i<3;i++)for(var l=!0,o=0,c=function(){var e=n[n.length*Math.random()|0];e.code.toLowerCase()===r||t.families.some((function(t){return t.id===e.id}))||(t.families.push(e),l=!1),o++};l&&o<10;)c();this.families=this.families.slice(0,3)}}}),l=r(63),component=Object(l.a)(n,(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.families?e("div",{staticClass:"row"},t._l(t.families,(function(t){return e("div",{key:t.id,staticClass:"col-lg-4"},[e("BikesFamilyDisplay",{attrs:{family:t,size:"small"}})],1)})),0):t._e()}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{BikesFamilyDisplay:r(629).default})},715:function(t,e,r){t.exports={}},720:function(t,e,r){"use strict";r.r(e);r(108);var n=r(4).default.extend({name:"BikesConfigurations",props:{family:{type:Object,default:void 0},modelCode:{type:String,default:void 0},visible:{type:Number,default:4},ratio:{type:Number,default:.36}},computed:{}}),l=r(63),component=Object(l.a)(n,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"bike__my_configurations"},[e("client-only",[e("account-concept-carousel",t._g({attrs:{family:t.family,model:t.modelCode,"visible-items":t.visible,"base-ratio":t.ratio}},t.$listeners))],1)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{AccountConceptCarousel:r(648).default})},804:function(t,e,r){"use strict";r(715)},805:function(t,e,r){t.exports={}},841:function(t,e,r){"use strict";r.r(e);r(17),r(19),r(20),r(15),r(11);var n=r(3),l=(r(13),r(8),r(4)),o=r(147);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var f=l.default.extend({name:"PlatformDisplay",props:{platform:{type:Object,required:!0},theme:{type:String,required:!1,default:null}},computed:d(d({image:function(){var t=this.platform.images;return t&&t.image?t.image.midres:""},image_avif:function(){var t=this.platform.images;return t&&t.image?t.image.midres_avif:""}},Object(o.c)({configurations:function(t){return t.bikes.byPlatform[this.platform.code]}})),{},{soldOut:function(){return 0===this.configurations.filter((function(t){return t.date})).length},almostSoldOut:function(){return!this.soldOut&&this.configurations.filter((function(t){return t.date})).length<4}})}),m=(r(804),r(63)),component=Object(m.a)(f,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"bike__model__preview",class:"bike__model__preview--"+t.theme},[e("nuxt-link",{attrs:{to:t.localePath(t.platform.$$link)}},[e("picture",[e("source",{attrs:{type:"image/avif",srcset:t.image_avif}}),t._v(" "),e("img",{staticClass:"bike__model__preview__photo",attrs:{src:t.image,alt:"Bike Image",title:t.platform.model,lazy:"true"}})]),t._v(" "),e("div",{staticClass:"bike__model__preview__tags"},[t.platform.niveau?e("span",{staticClass:"tag tag--red"},[t._v(t._s(t.platform.niveau))]):t._e(),t._v(" "),e("span",{staticClass:"tag"},[t._v(t._s(t.platform.range))])]),t._v(" "),e("h2",[t._v(t._s(t.platform.model))]),t._v(" "),e("p",[t._v(t._s(t.platform.seo_description))]),t._v(" "),e("div",{staticClass:"bike__model__preview__footer"},[e("div",{staticClass:"bike__model__preview__price"},[t.platform.$$fromPrice&&t.platform.$$fromPrice.msrp?e("span",[t._v(t._s(t.$t("FROM"))+" "+t._s(t._f("formatPrice")(t.platform.$$fromPrice.msrp,t.platform.$$fromPrice.currency)))]):t._e()]),t._v(" "),e("button",{staticClass:"icon-link icon-link--right",class:"dark"===t.theme?"icon-link--inverse":""},[t._v("\n "+t._s(t.$t("platforms.details"))+" "),e("i",{staticClass:"las la-arrow-right"})])])])],1)}),[],!1,null,"49864486",null);e.default=component.exports},880:function(t,e,r){"use strict";r(805)},971:function(t,e,r){"use strict";r.r(e);r(17),r(64),r(33);var n=r(4),l=r(630),o=r.n(l),c=n.default.extend({name:"MerckxPlatformBanners",props:{platform:{type:Object,default:function(){return{}}}},mounted:function(){this.platform.images&&this.platform.images.background&&this.platform.images.background.highres,document.querySelector(":root")},methods:{sanitizeHtml:function(html){return o()(html,{allowedTags:[]})}}}),d=(r(880),r(63)),component=Object(d.a)(c,(function(){var t,e,r=this,n=r._self._c;r._self._setupProxy;return n("div",[n("div",{staticClass:"pageheader__platform",style:{"background-image":"linear-gradient(rgba(30, 36, 38, 0) 0%, rgba(30, 36, 38, 0.5) 100%), url('".concat((null===(t=r.platform.images)||void 0===t||null===(e=t.lifestyle_image)||void 0===e?void 0:e.highres)||"","')")}},[n("div",{staticClass:"container-fluid pageheader__platform__holder"},[n("div",[n("div",{staticClass:"row"},[n("div",[n("h1",{staticClass:"bike-category__title"},[r._v("\n "+r._s(r.platform.name)+"\n ")]),r._v(" "),n("div",{staticClass:"bike-category__body col-md-6"},[n("p",[r._v("\n "+r._s(r.sanitizeHtml(r.platform.description))+"\n ")])])])])])])])])}),[],!1,null,"fc239256",null);e.default=component.exports},972:function(t,e,r){"use strict";r.r(e);r(17),r(19),r(20),r(15),r(11);var n=r(3),l=(r(13),r(8),r(4)),o=r(147),c=r(630),d=r.n(c);function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var _=l.default.extend({name:"BikeCardLarge",props:{platform:{type:Object,required:!0},theme:{type:String,required:!1,default:null}},computed:m(m({image:function(){var t=this.platform.images;return t&&t.image?t.image.midres:""},image_avif:function(){var t=this.platform.images;return t&&t.image?t.image.midres_avif:""}},Object(o.c)({configurations:function(t){return t.bikes.byPlatform[this.platform.code]}})),{},{soldOut:function(){return 0===this.configurations.filter((function(t){return t.date})).length},almostSoldOut:function(){return!this.soldOut&&this.configurations.filter((function(t){return t.date})).length<4}}),methods:{sanitizeHtml:function(html){return d()(html,{allowedTags:[]})}}}),v=r(63),component=Object(v.a)(_,(function(){var t,e,r=this,n=r._self._c;r._self._setupProxy;return n("div",{staticClass:"section--light has-border"},[n("div",{},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-full"},[n("div",{staticClass:"bikecard bikecard--large"},[n("div",{staticClass:"bikecard-content"},[n("div",{staticClass:"bikecard-body"},[n("h3",{staticClass:"bikecard-headline"},[n("nuxt-link",{staticClass:"bikecard-link",attrs:{to:r.localePath(r.platform.$$link)}},[r._v("\n "+r._s(r.platform.model.split(" ")[1])+"\n ")])],1),r._v(" "),n("strong",{staticClass:"bikecard-type"},[r._v(r._s(r.platform.model.split(" ")[0]))]),r._v(" "),n("p",[r._v("\n "+r._s(r.sanitizeHtml(r.platform.detail_description))+"\n ")]),r._v(" "),n("div",{staticClass:"bikecard-pricing"},[n("retail-price",{attrs:{msrp:null===(t=r.platform.$$fromPrice)||void 0===t?void 0:t.msrp,currency:null===(e=r.platform.$$fromPrice)||void 0===e?void 0:e.currency,align:"left",size:"large","from-align":"left",from:!0}})],1),r._v(" "),n("span",{staticClass:"button--a"},[r._v("Details")])]),r._v(" "),n("div",{staticClass:"bikecard-media"},[n("img",{staticClass:"bikecard-image",attrs:{src:r.image,alt:""}})])])])])])])])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{RetailPrice:r(598).default})}}]);