text: $RNWY.define("slots",function(){Handlebars.templates = Handlebars.templates || {};Handlebars.templates["horizontalrecommendation.base"]={compiler:[7,">= 4.0.0"],main:function(f,a,d,g,e){var b,c;return'<div class="box_radius9 boxedbottom_m horizontal_recommendation_slot refreshing">\r\n  \r\n  <div class="header bottom_m top_s">\r\n    <h2 class="h-bottom--0">\r\n      '+f.escapeExpression((c=null!=(c=d.title||(null!=a?a.title:a))?c:d.helperMissing,"function"===typeof c?c.call(null!=a?a:{},{name:"title",hash:{},data:e}):c))+"\r\n"+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.titleExt:
  a,{name:"if",hash:{},fn:f.program(1,e,0),inverse:f.noop,data:e}))?b:"")+"    </h2>\r\n"+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.subtitle:a,{name:"if",hash:{},fn:f.program(3,e,0),inverse:f.noop,data:e}))?b:"")+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.showRefresh:a,{name:"if",hash:{},fn:f.program(5,e,0),inverse:f.noop,data:e}))?b:"")+'  </div>\r\n  <div class="content">\r\n    <div class="refresh_message"><p>Een speciale selectie voor jou wordt opgehaald.</p></div>\r\n  \r\n    <div class="products_wrapper"></div>\r\n  </div>\r\n</div>'},
  1:function(f,a,d,g,e){var b;return'        <span class="header_accent">'+f.escapeExpression((b=null!=(b=d.titleExt||(null!=a?a.titleExt:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"titleExt",hash:{},data:e}):b))+"</span>\r\n"},3:function(f,a,d,g,e){var b,c;return'      <p class="h-bottom--xs">'+(null!=(b=(c=null!=(c=d.subtitle||(null!=a?a.subtitle:a))?c:d.helperMissing,"function"===typeof c?c.call(null!=a?a:{},{name:"subtitle",hash:{},data:e}):c))?b:"")+"</p>\r\n"},5:function(f,
  a,d,g,e){return'        <a class="refresh_button js_refresh_button" href="javascript:void(0);" title="Toon andere aanbevelingen">&nbsp;</a>\r\n'},useData:!0};Handlebars.templates["horizontalrecommendation.flextipcontent"]={compiler:[7,">= 4.0.0"],main:function(d,a,c,f,e){var b;return'<div class="horizontal_recommendation_bol_favorite_flextip">\r\n  <p class="small_details success_message">\r\n    Je favoriet is opgeslagen!\r\n  </p>\r\n  <p class="small_details h-bottom--0">\r\n'+(null!=(b=c["if"].call(null!=a?a:{},null!=a?a.partyUrl:a,{name:"if",hash:{},fn:d.program(1,e,0),inverse:d.noop,data:e}))?b:"")+"\r\n"+(null!=(b=c["if"].call(null!=a?a:{},null!=
  a?a.genreUrl:a,{name:"if",hash:{},fn:d.program(3,e,0),inverse:d.noop,data:e}))?b:"")+"  </p>\r\n</div>"},1:function(d,a,c,f,e){var b;return'      <a href="'+d.escapeExpression((b=null!=(b=c.partyUrl||(null!=a?a.partyUrl:a))?b:c.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"partyUrl",hash:{},data:e}):b))+'" class="link-cta">Bekijk meer van '+d.escapeExpression((b=null!=(b=c.partyName||(null!=a?a.partyName:a))?b:c.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"partyName",
  hash:{},data:e}):b))+"</a><br/>\r\n"},3:function(d,a,c,f,e){var b;return'      <a href="'+d.escapeExpression((b=null!=(b=c.genreUrl||(null!=a?a.genreUrl:a))?b:c.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"genreUrl",hash:{},data:e}):b))+'" class="link-cta">Bekijk meer van '+d.escapeExpression((b=null!=(b=c.genreName||(null!=a?a.genreName:a))?b:c.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"genreName",hash:{},data:e}):b))+"</a><br />\r\n"},useData:!0};Handlebars.templates["horizontalrecommendation.requestfailed"]={compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){return'<div class="box_radius9 bgbox_lightgrey boxedbottom_m horizontal_recommendation_slot">\r\n  <div class="content">\r\n    <p class="h-bottom--0">\r\n      Helaas hebben wij op dit moment geen persoonlijke aanbevelingen meer.\r\n    </p>\r\n  </div>\r\n  <div class="tl"></div>\r\n  <div class="tr"></div>\r\n  <div class="bl"></div>\r\n  <div class="br"></div>\r\n</div>'},useData:!0};Handlebars.templates["recommendationproduct.emptyplaceholder"]={compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){return'<div class="recommendation_product empty">\r\n  <div class="wrapper">\r\n    <p>\r\n       Helaas hebben wij op dit moment geen persoonlijke aanbevelingen meer.\r\n    </p>\r\n  </div>\r\n</div>'},useData:!0};Handlebars.templates["recommendationproduct.flextipcontent"]={compiler:[7,">= 4.0.0"],main:function(d,a,c,f,e){var b;return'<div class="recommendation_product_flextip">\n'+(null!=(b=c.each.call(null!=a?a:{},null!=a?a.actions:a,{name:"each",hash:{},fn:d.program(1,e,0),inverse:d.noop,data:e}))?b:"")+"</div>"},1:function(d,a,c,f,e){var b;return'    <a href="javascript:void(0);" data-action="'+d.escapeExpression((b=null!=(b=c.key||(null!=a?a.key:a))?b:c.helperMissing,"function"===typeof b?b.call(null!=
  a?a:{},{name:"key",hash:{},data:e}):b))+'">'+d.escapeExpression((b=null!=(b=c.title||(null!=a?a.title:a))?b:c.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:e}):b))+"</a>\n"},useData:!0};Handlebars.templates["recommendationproduct.displaytype_presales"]={compiler:[7,">= 4.0.0"],main:function(c,a,e,g,d){var b,f;return'<div class="recommendation_product">\r\n  <div class="wrapper">\r\n    <a href="'+c.escapeExpression((f=null!=(f=e.productUrl||(null!=a?a.productUrl:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"productUrl",hash:{},data:d}):f))+'" class="product_url">\r\n      <div class="image top_s">\r\n        <div class="image_wrap"><img src="'+c.escapeExpression((f=
  null!=(f=e.imageUrl||(null!=a?a.imageUrl:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"imageUrl",hash:{},data:d}):f))+'" border="0" alt="'+c.escapeExpression((f=null!=(f=e.title||(null!=a?a.title:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"title",hash:{},data:d}):f))+'" /></div>\r\n      </div>\r\n      <div class="product_details">\r\n        <p class="bottom_0">\r\n          <span class="product_name overflow_breakword">'+c.escapeExpression((f=
  null!=(f=e.title||(null!=a?a.title:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"title",hash:{},data:d}):f))+"</span>\r\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.productCreator:a,{name:"if",hash:{},fn:c.program(1,d,0),inverse:c.noop,data:d}))?b:"")+"        </p>\r\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.productSpecs:a,{name:"if",hash:{},fn:c.program(3,d,0),inverse:c.noop,data:d}))?b:"")+"\r\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.showReleaseDate:a,
  {name:"if",hash:{},fn:c.program(5,d,0),inverse:c.program(7,d,0),data:d}))?b:"")+'      </div>\r\n    </a>\r\n\r\n    <div class="price_block bottom_s">\r\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.showPriceFrom:a,{name:"if",hash:{},fn:c.program(13,d,0),inverse:c.noop,data:d}))?b:"")+"\r\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=(b=null!=a?a.offer:a)?b.secondHand:b,{name:"if",hash:{},fn:c.program(15,d,0),inverse:c.program(17,d,0),data:d}))?b:"")+'    </div>\r\n  </div>\r\n  <div class="close_button_wrapper no_selection_highlight"><div class="icons close_button">&times;</div></div>\r\n</div>'},
  1:function(c,a,e,g,d){var b;return'            <span class="product_creator">'+c.escapeExpression((b=null!=(b=e.productCreator||(null!=a?a.productCreator:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"productCreator",hash:{},data:d}):b))+"</span>\r\n"},3:function(c,a,e,g,d){var b;return'          <p class="product_specs bottom_xs">'+c.escapeExpression((b=null!=(b=e.productSpecs||(null!=a?a.productSpecs:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"productSpecs",
  hash:{},data:d}):b))+"</p>\r\n"},5:function(c,a,e,g,d){var b;return'          <h3 class="bottom_s h5">'+c.escapeExpression((b=null!=(b=e.releaseDate||(null!=a?a.releaseDate:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"releaseDate",hash:{},data:d}):b))+"</h3>\r\n"},7:function(c,a,e,g,d){var b;return null!=(b=e.unless.call(null!=a?a:{},null!=a?a.bvHideReviewStars:a,{name:"unless",hash:{},fn:c.program(8,d,0),inverse:c.noop,data:d}))?b:""},8:function(c,a,e,g,d){var b;return null!=
  (b=e["if"].call(null!=a?a:{},null!=a?a.reviewsPercentage:a,{name:"if",hash:{},fn:c.program(9,d,0),inverse:c.program(11,d,0),data:d}))?b:""},9:function(c,a,e,g,d){var b;return'              <div class="rating-stars" data-test="rating-stars">\r\n                <span class="rating-stars__value" style="width: '+c.escapeExpression((b=null!=(b=e.reviewsPercentage||(null!=a?a.reviewsPercentage:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"reviewsPercentage",hash:{},data:d}):b))+
  '%"></span>\r\n              </div>\r\n'},11:function(c,a,e,g,d){return'              <div class="rating-stars rating-stars--no-rating"></div>\r\n'},13:function(c,a,e,g,d){var b;return'          <del class="list_price"> '+c.escapeExpression(c.lambda(null!=(b=null!=a?a.offer:a)?b.listPrice:b,a))+"</del>\r\n"},15:function(c,a,e,g,d){var b;return'        <span class="pricetag big">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.offer:a)?b.price:b,a))+'</span>\r\n        <p class="small_details bottom_xxs top_xxs">Tweedehands artikel</p>\r\n'},
  17:function(c,a,e,g,d){var b;return'        <span class="bol_pricetag big"> '+c.escapeExpression(c.lambda(null!=(b=null!=a?a.offer:a)?b.price:b,a))+"</span>\r\n"},useData:!0};Handlebars.templates["recommendationproduct.loader"]={compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){return'<div class="recommendation_product">\n  <div class="wrapper">\n    <img src="/nl/static/images/layout/loader.gif" alt="Bezig met laden.." />\n  </div>\n</div>'},useData:!0};(function(f,g,d,e){var h=f.namespace("com.bol.template").Template,k={base:h.template("horizontalrecommendation.base"),requestFailed:h.template("horizontalrecommendation.requestfailed"),flextipcontent:h.template("horizontalrecommendation.flextipcontent")};d.HorizontalRecommendation={refreshSlot:"horizontalrecommendation.refreshSlot",afterRender:"horizontalrecommendation.afterRender",productRecommendationClose:"horizontalrecommendation.productRecommendationClose",productRecommendationAfterRender:"horizontalrecommendation.productRecommendationAfterRender",
  productRecommendationsInitialized:"horizontalrecommendation.productRecommendationsInitialized"};f.HorizontalRecommendation=f.Class.create({slotType:"horizontal",hasEmptyPlaceholder:!1,validators:{validatePresenceOf:["slotEl","slotData","globalIds"]},init:function(a){g.bindAll(this,"productRecommendationAfterRender productRecommendationLiked productRecommendationFailed productRecommendationClose productRecommendationAfterRemove productRecommendationAfterRenderInitial productsDataRequestSuccess loadNextProduct reload requestFailed clearCurrentCampaign loadNextCampaign".split(" "));
  this.slotEl=a.slotEl;this.slotData=a.slotData;this.globalIds=a.globalIds;this.numberOfProductsVisible=a.numberOfProductsVisible||4;this.numberOfProductsReserved=a.numberOfProductsReserved||1;this.productSeperationMargin=a.productSeperationMargin||6;this.bvReviewBaseUrl=a.bvReviewBaseUrl;this.bvDisplayCode=a.bvDisplayCode;this.bvHideReviewStars=a.bvHideReviewStars;this.setupBase()},setupBase:function(a){var b=jQuery(k.base(this.slotData));g.isPresent(a)&&b.find(".products_wrapper").height(a.productsWrapperHeight);
  this.slotEl.html(b);this.contentEl=this.slotEl.find(".content");this.productsWrapperEl=this.contentEl.find(".products_wrapper");a=this.calculateProductWidth();b=this.numberOfProductsReserved+1;this.productsWrapperEl.width(a*(this.numberOfProductsVisible+b)+this.productSeperationMargin*(this.numberOfProductsVisible+b));this.initiallyRendered=0;this.unbindLiveEvents();this.bindLiveEvents();this.slotEl.find(".js_refresh_button").click(this.clearCurrentCampaign);f.mediator.publish(d.HorizontalRecommendation.afterRender,
  this);this.requestProductsData()},bindLiveEvents:function(){this.productsWrapperEl.on(d.RecommendationProduct.close,".product_wrapper",this.productRecommendationClose).on(d.RecommendationProduct.afterRender,".product_wrapper",this.productRecommendationAfterRender).on(d.RecommendationProduct.afterRender,".product_wrapper",this.productRecommendationAfterRenderInitial).on(d.RecommendationProduct.afterRemove,".product_wrapper",this.productRecommendationAfterRemove).on(d.RecommendationProduct.failed,".product_wrapper",
  this.productRecommendationFailed).on(d.RecommendationProduct.liked,".product_wrapper",this.productRecommendationLiked)},unbindLiveEvents:function(){this.productsWrapperEl.off(d.RecommendationProduct.close,".product_wrapper",this.productRecommendationClose).off(d.RecommendationProduct.afterRender,".product_wrapper",this.productRecommendationAfterRender).off(d.RecommendationProduct.afterRender,".product_wrapper",this.productRecommendationAfterRenderInitial).off(d.RecommendationProduct.afterRemove,".product_wrapper",
  this.productRecommendationAfterRemove).off(d.RecommendationProduct.failed,".product_wrapper",this.productRecommendationFailed).off(d.RecommendationProduct.liked,".product_wrapper",this.productRecommendationLiked)},requestProductsData:function(){var a={dataType:"json",url:"/nl/ajax/"+this.slotType+"SlotServiceEndPoint.html?"+decodeURIComponent(e.param({action:"products",minValidProducts:this.numberOfProductsVisible+this.numberOfProductsReserved,globalIds:encodeURIComponent(this.globalIds),plaza:this.slotData.includePlazaOffers,
  secondHand:this.includePlazaSecondHandOffers}))};e.ajax(a).always(e.proxy(function(){this.slotEl.find(".horizontal_recommendation_slot").removeClass("refreshing")},this)).done(this.productsDataRequestSuccess).fail(this.requestFailed)},productsDataRequestSuccess:function(a){for(var b=[],c=0,d=a.productsData.length;c<d;c++)a.productsData[c].success?b.push(a.productsData[c].productData):this.removeGlobalId(a.productsData[c].globalId);this.productsData=b;this.numberOfProductsToRender=b.length;this.renderProducts()},
  getVisibleProductWrapperEls:function(){return this.productsWrapperEl.find(".product_wrapper").not(".js_render_prevented").not(".empty").not(".closing")},productRecommendationLiked:function(a,b){var c=b.productData;new f.Flextip({targetEl:b.getBolFavoriteButtonEl(),content:e(k.flextipcontent({partyName:c.partyName,partyUrl:c.partyUrl,genreName:c.genreName,genreUrl:c.genreUrl})),showCloseButton:!0,autoHideAfter:5E4,template:f.templates.Flextip.under,alwaysClose:!0})},productRecommendationFailed:function(a,
  b){this.removeGlobalId(b.getGlobalId());b.targetEl.remove();this.loadNextProduct()},productRecommendationClose:function(){this.loadNextProduct();f.mediator.publish(d.HorizontalRecommendation.productRecommendationClose,this)},productRecommendationAfterRender:function(a,b){f.mediator.publish(d.HorizontalRecommendation.productRecommendationAfterRender,this,b)},productRecommendationAfterRenderInitial:function(){var a=Math.min(this.numberOfProductsVisible,this.numberOfProductsToRender);this.initiallyRendered+=
  1;this.initiallyRendered==a&&(this.alignProductDetails(),this.setProductWrapperHeight(),f.mediator.publish(d.HorizontalRecommendation.productRecommendationsInitialized,this),this.productsWrapperEl.off(d.RecommendationProduct.afterRender,".product_wrapper",this.productRecommendationAfterRenderInitial))},productRecommendationAfterRemove:function(){this.alignProductDetails();this.setProductWrapperHeight()},requestFailed:function(){this.slotEl.html(k.requestFailed({}))},renderEmptyProduct:function(){this.hasEmptyPlaceholder=
  !0;var a=this.calculateProductWidth(),b=e('<div class="product_wrapper" />'),c={};c.width=a+"px";c.marginRight=this.productSeperationMargin+"px";b.css(c).appendTo(this.productsWrapperEl);return new f.RecommendationProduct({targetEl:b,slotType:this.slotType,empty:!0})},renderProducts:function(){if(0!=this.globalIds.length&&this.slotData.contentFromMcm)for(var a=this.numberOfProductsVisible+this.numberOfProductsReserved,b=0;b<a;b++){var c=this.globalIds.shift();g.isPresent(c)&&this.renderProduct(c,
  {preventRender:b>=this.numberOfProductsVisible})}else this.renderEmptyProduct()},renderProduct:function(a,b){WSP.utils.isPresent(b)||(b={});var c=b.preventRender||!1,l=e('<div class="product_wrapper" />').css({width:this.calculateProductWidth()+"px",marginRight:this.productSeperationMargin+"px"}).appendTo(this.productsWrapperEl),g=new f.RecommendationProduct({targetEl:l,preventRender:c,slotType:this.slotType,productData:{globalId:a},bvReviewBaseUrl:this.bvReviewBaseUrl,bvDisplayCode:this.bvDisplayCode,
  bvHideReviewStars:this.bvHideReviewStars});return this.findProductByGlobalId(a).done(function(a){g.setData(a)}).fail(function(){l.trigger(d.RecommendationProduct.failed,g)})},clearCurrentCampaign:function(){this.slotEl.find(".horizontal_recommendation_slot").addClass("refreshing");var a=[];this.productsWrapperEl.find(".product_wrapper").each(function(){var b=e.Deferred();jQuery(this).fadeOut(250,b.resolve);a.push(b)});e.when.apply(this,a).done(this.loadNextCampaign)},loadNextCampaign:function(){var a=
  "/nl/ajax/horizontalSlotServiceEndPoint.html?action=slotData&"+e.param({slotId:this.slotData.id,slotName:this.slotData.slotName,endecaStringContext:this.slotData.endecaStringContext,N:this.slotData.N});e.ajax(a).always(e.proxy(function(){this.productsWrapperEl.css({height:"auto"})},this)).done(this.reload).fail(this.requestFailed)},loadNextProduct:function(){this.productsWrapperEl.find(".js_render_prevented:first").trigger(d.RecommendationProduct.unlockAndSetup);var a=this.globalIds.shift();g.isPresent(a)?
  this.renderProduct(a,{preventRender:!0}):this.hasEmptyPlaceholder||this.renderEmptyProduct()},reload:function(a){this.globalIds=a.globalIds;this.hasEmptyPlaceholder=!1;this.slotData=e.extend(this.slotData,a.slotData);this.setupBase({productsWrapperHeight:this.productsWrapperEl.height()});f.mediator.publish(d.HorizontalRecommendation.refreshSlot)},calculateProductWidth:function(){if(!g.isPresent(this.productWidth)){var a=this.contentEl.width()-6,b=this.numberOfProductsVisible;this.productWidth=Math.floor(a/
  b-(this.productSeperationMargin*b-this.productSeperationMargin)/b)}return this.productWidth},findProductByGlobalId:function(a){var b=e.Deferred(),c=e.grep(this.productsData,function(b){return b.globalId.toString()==a.toString()});(c=0<c.length?c[0]:null)?b.resolve(c):(c="/nl/ajax/horizontalSlotServiceEndPoint.html?action=product&"+decodeURIComponent(e.param({globalId:a,plaza:this.includePlazaOffers,secondHand:this.includePlazaSecondHandOffers})),c=e.getJSON(c),c.done(function(a){a.success?b.resolve(a.productData):
  b.reject()}),c.fail(function(){b.reject()}));return b.promise()},removeGlobalId:function(a){a=this.globalIds.indexOf(a);-1<a&&this.globalIds.splice(a,1);return!0},alignProductDetails:function(){this.equalizeHeight(this.getVisibleProductWrapperEls().find(".product_details"));this.equalizeHeight(this.getVisibleProductWrapperEls().find(".price_block"))},equalizeHeight:function(a){a.height("auto");var b=0;a.each(function(){var a=e(this).height();a>b&&(b=a)});a.height(b)},setProductWrapperHeight:function(){var a=
  this.getVisibleProductWrapperEls().find("div.recommendation_product .wrapper"),b=0;this.productsWrapperEl.height("auto");a.height("auto");a.each(function(){var a=e(this).height();a>b&&(b=a)});a.height(b);this.productsWrapperEl.height(b+18)}})})(WSP.core,WSP.utils,WSP.events,jQuery);(function(n,d,h,f,k){function g(a){return(a.contentFromMcm&&a.mcmCampaignCode?"&mcm_ccd="+a.mcmCampaignCode:"")+(a.mcmReferenceDateAsString?"&mcm_refdate="+a.mcmReferenceDateAsString:"")+(a.mcmCampaignStep?"&mcm_cstep="+a.mcmCampaignStep:"")+"&slt_subch="+a.mcmSubchannel+"&pg_nm="+a.pageName+"&slt_id="+a.slotId+"&slt_nm="+a.slotName+"&slt_pos="+a.regionLabel+a.slotIndex+"&slt_owner="+a.slotOwner}function l(a,b){return"&itm_type=product&itm_lp="+b+"&itm_id="+a+"&itm_role=in"}function p(a,b){return"&promo="+
  (a.pageName+"_"+a.slotId+"_"+(a.contentFromMcm&&a.mcmCampaignCode?a.mcmCampaignCode+"-":"")+a.slotName+"_"+a.regionLabel+a.slotIndex+"_product_"+b+"_")}d.mediator.subscribe(f.HorizontalRecommendation.afterRender,function(a){try{var b=k.BolTag.getUrlByHash({bltg:encodeURIComponent("slt_event=view"+g(a.slotData))});h.InViewTracking.addParent(a.slotEl,b)}catch(c){}});var m=function(a){try{var b=a.getVisibleProductWrapperEls();b.each(function(){var c=n(this),d=b.index(c[0]);if("undefined"===typeof c.data("inview")){var e=
  k.BolTag.getUrlByHash({bltg:encodeURIComponent("itm_event=view"+g(a.slotData)+l(c.data("global-id"),d+1))});h.InViewTracking.addChild(a.slotEl,c,e)}e=c.find("a.product_url").attr("href");e.indexOf("?")&&(e=e.split("?")[0]);c.find("a.product_url").attr("href",e+"?bltg="+encodeURIComponent("itm_event=click"+g(a.slotData)+l(c.data("global-id"),d+1))+p(a.slotData,d+1))})}catch(c){}};d.mediator.subscribe(f.HorizontalRecommendation.productRecommendationClose,m);d.mediator.subscribe(f.HorizontalRecommendation.productRecommendationsInitialized,
  m);d.mediator.subscribe(f.HorizontalRecommendation.refreshSlot,function(a){try{s.refreshSlot()}catch(b){}})})(jQuery,WSP.core,WSP.utils,WSP.events,WSP.tracking);(function(e,c,b,d){var g=e.namespace("com.bol.template").Template,f={displaytype_presales:g.template("recommendationproduct.displaytype_presales"),emptyplaceholder:g.template("recommendationproduct.emptyplaceholder"),flextipcontent:g.template("recommendationproduct.flextipcontent"),loader:g.template("recommendationproduct.loader")};e.templates.RecommendationProduct=f;var h={presales:[e.CustomerProfileTags.iown,e.CustomerProfileTags.notinterested],review:[e.CustomerProfileTags.iwontreview],secondhand:[]};
  b.RecommendationProduct={afterRender:"recommendationproduct.afterRender",afterRemove:"recommendationproduct.afterRemove",imageLoaded:"recommendationproduct.imageLoaded",failed:"recommendationproduct.failed",close:"recommendationproduct.close",liked:"recommendationproduct.liked",unlockAndSetup:"recommendationproduct.unlockAndSetup",dataChanged:"recommendationproduct.dataChanged"};e.createClass("RecommendationProduct",{validators:{validatePresenceOf:["targetEl","slotType"],customValidations:{"productData is required":function(a){var b=
  c.isPresent(a.productData);return c.isPresent(a.empty)?0==a.empty&&b||1==a.empty:b},"missing mandatory requirement WSP.core.BolFavorite":function(){return c.isPresent(e.BolFavorite)},"Only 1 targetEl possible for a recommendation product":function(a){return 1===a.targetEl.length},"globalId is required for productData":function(a){return c.isPresent(a.productData)?c.isPresent(a.productData.globalId):!0}}},init:function(a){c.bindAll(this,"setup unlockAndSetup flextipClick bolFavoriteLiked closeButtonClick close setData".split(" "));
  this.productData=a.productData;this.targetEl=a.targetEl;this.slotType=a.slotType;this.empty=a.empty||!1;this.bvReviewBaseUrl=a.bvReviewBaseUrl;this.bvDisplayCode=a.bvDisplayCode;this.bvHideReviewStars=a.bvHideReviewStars;this.setPreventRender(a.preventRender||!1);this.determineDisplayType(a.displayType);this.bindEvents();this.setup()},bindEvents:function(){this.targetEl.on(b.RecommendationProduct.unlockAndSetup,this.unlockAndSetup).on(b.RecommendationProduct.dataChanged,this.setup)},determineDisplayType:function(a){this.empty||
  ("horizontal"==this.slotType?this.displayType="presales":"1-product"==this.slotType&&(this.displayType=c.isPresent(a)?a:"presales"))},isProductDataComplete:function(){return c.isPresent(this.productData.imageUrl)&&c.isPresent(this.productData.productUrl)},getGlobalId:function(){return this.productData.globalId},unlockAndSetup:function(){this.setPreventRender(!1);this.setup()},setup:function(){this.preventRender||(!0===this.empty?this.setupEmptyProduct():this.isProductDataComplete()?this.setupRecommendationProduct():
  this.targetEl.html(f.loader({})))},setupEmptyProduct:function(){this.targetEl.html(f.emptyplaceholder);this.targetEl.trigger(b.RecommendationProduct.afterRender,[this])},getTemplateData:function(){return d.extend(this.productData,{bvHideReviewStars:this.bvHideReviewStars})},setupRecommendationProduct:function(){this.targetEl.html(f["displaytype_"+this.displayType](this.getTemplateData(),{},{}));this.targetEl.data("global-id",this.getGlobalId());this.setImageBounds();this.closeButtonEl=this.targetEl.find(".close_button_wrapper:first");
  this.closeButtonEl.click(this.closeButtonClick);this.targetEl.find(".close_button_wrapper:first").click(function(a){a.preventDefault();return!1});c.imagesLoaded(this.targetEl.find(".image img")).done(d.proxy(function(){this.targetEl.trigger(b.RecommendationProduct.imageLoaded,[this])},this));this.bolFavoriteButtonEl=this.targetEl.find(".actions .js_bol_favorite_button");1==this.bolFavoriteButtonEl.length&&(new WSP.core.BolFavorite({buttonEl:this.bolFavoriteButtonEl,showRecentlyLiked:!1,showCounts:!1,
  data:{like:1==this.productData.like}}),this.bolFavoriteButtonEl.on(b.BolFavorite.liked,this.bolFavoriteLiked));this.targetEl.trigger(b.RecommendationProduct.afterRender,[this])},setImageBounds:function(){var a=this.targetEl.find(".image:first");a.find("img:first").css({"max-width":a.width()+"px","max-height":this.targetEl.find(".image:first").height()+"px"})},bolFavoriteLiked:function(){this.targetEl.trigger(b.RecommendationProduct.liked,[this])},getBolFavoriteButtonEl:function(){return c.isPresent(this.bolFavoriteButtonEl)?
  this.bolFavoriteButtonEl:null},closeButtonClick:function(a){d(document.body).trigger("click");a.preventDefault();a.stopPropagation();new e.Flextip({targetEl:d(a.currentTarget),content:d(f.flextipcontent(this.getFlextipTemplateData())),template:e.templates.Flextip.above,alwaysClose:!0,eventMap:{"a click":this.flextipClick}})},getFlextipTemplateData:function(){var a=[];d(h[this.displayType]).each(function(b,c){a.push({key:c.key,title:c.getProperty("title")})});return{actions:a}},flextipClick:function(a){this.closeButtonEl.trigger(b.Flextip.remove);
  this.saveUserChoice(d(a.currentTarget).attr("data-action"));this.close()},saveUserChoice:function(a){d.ajax({url:"/nl/ajax/cpeEndpoint.html?action="+a+"&globalId="+this.getGlobalId()})},close:function(){var a=this.targetEl;a.addClass("closing");if(!this.preventRender){var d=this;a.find(".recommendation_product").addClass("animate").addClass("zoomout");setTimeout(function(){a.animate({width:1,marginRight:0},{duration:750,easing:"easeOutBounce",complete:function(){a.trigger(b.RecommendationProduct.afterRemove,
  [d]);a.remove()}})},c.has3DSupport()?250:1)}a.trigger(b.RecommendationProduct.close,[this]);e.mediator.publish(b.RecommendationProduct.close,this)},setData:function(a){d.extend(this.productData,a);this.targetEl.trigger(b.RecommendationProduct.dataChanged)},setPreventRender:function(a){(this.preventRender=a)?this.targetEl.addClass("js_render_prevented"):this.targetEl.removeClass("js_render_prevented")}})})(WSP.core,WSP.utils,WSP.events,jQuery);(function(b,c){var d=function(a){return{productID:a.getGlobalId(),section:a.productData.section,productname:a.productData.title,typecode:a.productData.typecode,GPC:a.productData.GPC}};b.mediator.subscribe(c.RecommendationProduct.close,function(a){try{s.removeProduct(d(a))}catch(b){}})})(WSP.core,WSP.events);(function(){var k=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,d,l,f){var b;return'<div class="object-to-object js_o2o" data-test="o2o-ribbon">\n  <div class="constrain">\n    <h2 class="object-to-object__title" data-test="o2o-title">Verder kijken?</h2>\n\n    <div class="object-to-object__list js_o2o_list fluid-grid fluid-grid--m" data-test="o2o-list">\n'+(null!=(b=d.each.call(null!=a?a:{},null!=a?a.linkColumns:a,{name:"each",hash:{},fn:c.program(1,f,0),inverse:c.noop,data:f}))?
  b:"")+'    </div>\n\n    <div class="object-to-object__tiles js_o2o_tiles" data-test="o2o-tiles">\n'+(null!=(b=d.each.call(null!=a?a:{},null!=a?a.objectTiles:a,{name:"each",hash:{},fn:c.program(3,f,0),inverse:c.noop,data:f}))?b:"")+'    </div>\n\n    <div class="object-to-object__more-button">\n      <div class="c-btn-primary--large js_o2o_more_button" data-test="o2o-more-button">\n        <a href="#">\n          <span class="object-to-object__button-label">Toon meer</span>\n          <span class="css-loader css-loader--diapo"></span>\n        </a>\n      </div>\n    </div>\n  </div>\n</div>\n'},
  1:function(c,a,d,l,f){var b;return'        <div class="fluid-grid__item medium--one-quarter">\n          '+(null!=(b=c.lambda(a,a))?b:"")+"\n        </div>\n"},3:function(c,a,d,l,f){var b;return"        "+(null!=(b=c.lambda(a,a))?b:"")+"\n"},useData:!0}),g=Handlebars4.templates=Handlebars4.templates||{};g.LISTPAGE_LAYOUTS_OBJECT_TO_OBJECT_V2_OBJECT_TO_OBJECT=k;g=Handlebars4.partials=Handlebars4.partials||{};g.LISTPAGE_LAYOUTS_OBJECT_TO_OBJECT_V2_OBJECT_TO_OBJECT=k;k=Handlebars4.template({compiler:[7,
  ">= 4.0.0"],main:function(c,a,d,l,f){var b;return null!=(b=d["if"].call(null!=a?a:{},null!=a?a.objectTiles:a,{name:"if",hash:{},fn:c.program(1,f,0),inverse:c.program(4,f,0),data:f}))?b:""},1:function(c,a,d,l,f){var b;return'  <div class="object-to-object js_o2o" data-test="o2o-ribbon">\n    <div class="constrain">\n      <h2 class="object-to-object__title" data-test="o2o-title">Verder kijken?</h2>\n\n      <div class="object-to-object__tiles js_o2o_tiles" data-test="o2o-tiles">\n'+(null!=(b=d.each.call(null!=
  a?a:{},null!=a?a.objectTiles:a,{name:"each",hash:{},fn:c.program(2,f,0),inverse:c.noop,data:f}))?b:"")+'      </div>\n\n      <div class="object-to-object__more-button">\n        <div class="c-btn-primary--large js_o2o_more_button" data-test="o2o-more-button">\n          <a href="#">Toon meer</a>\n        </div>\n      </div>\n    </div>\n  </div>\n'},2:function(c,a,d,l,f){var b;return"          "+(null!=(b=c.lambda(a,a))?b:"")+"\n"},4:function(c,a,d,l,f){return'  <div class="js_o2o_placeholder" data-test="o2o-placeholder"></div>\n'},
  useData:!0});g=Handlebars4.templates=Handlebars4.templates||{};g.LISTPAGE_LAYOUTS_OBJECT_TO_OBJECT_V1_OBJECT_TO_OBJECT=k;g=Handlebars4.partials=Handlebars4.partials||{};g.LISTPAGE_LAYOUTS_OBJECT_TO_OBJECT_V1_OBJECT_TO_OBJECT=k;k=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,d,l,f,b,e){var g,h;return'<div class="'+c.escapeExpression((h=null!=(h=d.slotType||(null!=a?a.slotType:a))?h:d.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"slotType",hash:{},data:f}):h))+' h-bottom--xl" id="'+
  (null!=(g=d["if"].call(null!=a?a:{},null!=a?a.trigger:a,{name:"if",hash:{},fn:c.program(1,f,0,b,e),inverse:c.program(3,f,0,b,e),data:f}))?g:"")+"_"+c.escapeExpression((h=null!=(h=d.slotId||(null!=a?a.slotId:a))?h:d.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"slotId",hash:{},data:f}):h))+'">\n\n'+(null!=(g=d["if"].call(null!=a?a:{},null!=a?a.trigger:a,{name:"if",hash:{},fn:c.program(5,f,0,b,e),inverse:c.program(10,f,0,b,e),data:f}))?g:"")+'\n  <ul class="flex-grid flex-grid--l flex-grid--md-4 flex-grid--xs-2">\n'+
  (null!=(g=d["if"].call(null!=a?a:{},null!=a?a.trigger:a,{name:"if",hash:{},fn:c.program(17,f,0,b,e),inverse:c.noop,data:f}))?g:"")+"\n"+(null!=(g=d.each.call(null!=a?a:{},null!=a?a.products:a,{name:"each",hash:{},fn:c.program(27,f,0,b,e),inverse:c.noop,data:f}))?g:"")+"  </ul>\n\n"+(null!=(g=d["if"].call(null!=a?a:{},null!=a?a.link:a,{name:"if",hash:{},fn:c.program(43,f,0,b,e),inverse:c.noop,data:f}))?g:"")+"</div>\n"},1:function(c,a,d,g,f){var b;return c.escapeExpression((b=null!=(b=d.slotType||
  (null!=a?a.slotType:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"slotType",hash:{},data:f}):b))},3:function(c,a,d,g,f){return"horizontal_recommendation"},5:function(c,a,d,g,f){var b,e;return"\n"+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.singleTitleSlot:a,{name:"if",hash:{},fn:c.program(6,f,0),inverse:c.noop,data:f}))?b:"")+'    <div class="media medium--is-hidden h-bottom--s">\n      <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" class="product-item__image-link">\n        <img title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" alt="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" src="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.miniImageUrl:b,a))+'" class="media__img trigger__img">\n      </a>\n      <p class="media__body">\n        '+c.escapeExpression((e=
  null!=(e=d.title||(null!=a?a.title:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"title",hash:{},data:f}):e))+'<br/>\n        <a class="product-item__name" href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" data-test="title">'+(null!=(b=c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayNameTruncated:b,a))?b:"")+"</a>\n      </p>\n    </div>\n"+(null!=(b=d.unless.call(null!=
  a?a:{},null!=a?a.singleTitleSlot:a,{name:"unless",hash:{},fn:c.program(8,f,0),inverse:c.noop,data:f}))?b:"")+"\n"},6:function(c,a,d,g,f){var b;return"      <h2>"+c.escapeExpression((b=null!=(b=d.title||(null!=a?a.title:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:f}):b))+"</h2>\n"},8:function(c,a,d,g,f){var b;return'      <div class="fluid-grid fluid-grid--s is-border-box medium--is-visible h-bottom--xs">\n        <div class="fluid-grid__item one-quarter">\n          <h2 class="accent">'+
  c.escapeExpression((b=null!=(b=d.title||(null!=a?a.title:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:f}):b))+'</h2>\n        </div>\n        <div class="fluid-grid__item three-quarters">\n          <h2>'+c.escapeExpression((b=null!=(b=d.titleExtension||(null!=a?a.titleExtension:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"titleExtension",hash:{},data:f}):b))+"</h2>\n        </div>\n      </div>\n"},10:function(c,a,d,g,f){var b,
  e;return'\n    <h2 class="'+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.subTitle:a,{name:"if",hash:{},fn:c.program(11,f,0),inverse:c.program(13,f,0),data:f}))?b:"")+'">\n      '+c.escapeExpression((e=null!=(e=d.title||(null!=a?a.title:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"title",hash:{},data:f}):e))+"\n    </h2>\n"+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.subTitle:a,{name:"if",hash:{},fn:c.program(15,f,0),inverse:c.noop,data:f}))?b:"")+"\n"},11:function(c,a,
  d,g,f){return"h-bottom--0"},13:function(c,a,d,g,f){return"h-bottom--s"},15:function(c,a,d,g,f){var b,e;return'      <p class="subtitle bottom_s">'+(null!=(b=(e=null!=(e=d.subTitle||(null!=a?a.subTitle:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"subTitle",hash:{},data:f}):e))?b:"")+"</p>\n"},17:function(c,a,d,g,f){var b;return'      <li class="product-item--column flex-item  medium--is-visible--inline-block js_trigger" '+(null!=(b=d["if"].call(null!=a?a:{},null!=(b=null!=
  a?a.trigger:a)?b.inviewPixelUrl:b,{name:"if",hash:{},fn:c.program(18,f,0),inverse:c.noop,data:f}))?b:"")+">\n"+(null!=(b=d["if"].call(null!=a?a:{},null!=(b=null!=a?a.trigger:a)?b.isProduct:b,{name:"if",hash:{},fn:c.program(20,f,0),inverse:c.noop,data:f}))?b:"")+(null!=(b=d["if"].call(null!=a?a:{},null!=(b=null!=a?a.trigger:a)?b.isBanner:b,{name:"if",hash:{},fn:c.program(25,f,0),inverse:c.noop,data:f}))?b:"")+"      </li>\n"},18:function(c,a,d,g,f){var b;return'data-pixel-url="'+c.escapeExpression(c.lambda(null!=
  (b=null!=a?a.trigger:a)?b.inviewPixelUrl:b,a))+'"'},20:function(c,a,d,g,f){var b;return'        <div class="product-item__image">\n          <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" class="product-image product-image--tout product-image--tile">\n            <img title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" alt="'+c.escapeExpression(c.lambda(null!=
  (b=null!=a?a.trigger:a)?b.displayName:b,a))+'" src="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.imageUrl:b,a))+'" class="product-item__image-img">\n          </a>\n        </div>\n\n        <div class="product-item__content">\n'+(null!=(b=d["if"].call(null!=a?a:{},null!=(b=null!=a?a.trigger:a)?b.creator:b,{name:"if",hash:{},fn:c.program(21,f,0),inverse:c.noop,data:f}))?b:"")+'          <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" class="product-title product-title--placeholder" title="'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" data-test="title">\n            '+(null!=(b=c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayNameTruncated:b,a))?b:"")+"\n          </a>\n\n"+(null!=(b=d["if"].call(null!=a?a:{},null!=(b=null!=a?a.trigger:a)?b.price:b,{name:"if",hash:{},fn:c.program(23,f,0),inverse:c.noop,data:f}))?b:"")+"        </div>\n"},21:function(c,a,d,g,f){var b;return'            <ul class="product-creator product-creator--crop">\n              <li>\n                <a href="'+
  c.escapeExpression(c.lambda(null!=(b=null!=(b=null!=a?a.trigger:a)?b.creator:b)?b.href:b,a))+'">'+c.escapeExpression(c.lambda(null!=(b=null!=(b=null!=a?a.trigger:a)?b.creator:b)?b.label:b,a))+"</a>\n              </li>\n            </ul>\n"},23:function(c,a,d,g,f){var b;return'            <div class="product-item__prices">\n              <span class="product-prices__currency product-prices__bol-price">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.price:b,a))+"</span>\n            </div>\n"},
  25:function(c,a,d,g,f){var b;return'        <div class="product-item__image">\n          <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" class="product-image product-image--tout product-image--tile">\n            <img src="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.imageUrl:b,a))+'" alt="" />\n          </a>\n        </div>\n'},27:function(c,a,d,g,f,b,e){var k,h;return'      <li class="product-item--column flex-item js_personal_product" '+(null!=
  (k=d["if"].call(null!=a?a:{},null!=a?a.inviewPixelUrl:a,{name:"if",hash:{},fn:c.program(28,f,0,b,e),inverse:c.noop,data:f}))?k:"")+'>\n        <div class="product-item__image">\n          <a class="product-image product-image--tout product-image--tile" href="'+c.escapeExpression((h=null!=(h=d.url||(null!=a?a.url:a))?h:d.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"url",hash:{},data:f}):h))+'" title="'+c.escapeExpression((h=null!=(h=d.displayName||(null!=a?a.displayName:a))?h:d.helperMissing,
  "function"===typeof h?h.call(null!=a?a:{},{name:"displayName",hash:{},data:f}):h))+'">\n            <img title="'+c.escapeExpression((h=null!=(h=d.displayName||(null!=a?a.displayName:a))?h:d.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"displayName",hash:{},data:f}):h))+'" alt="'+c.escapeExpression((h=null!=(h=d.displayName||(null!=a?a.displayName:a))?h:d.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"displayName",hash:{},data:f}):h))+'" src="'+c.escapeExpression((h=
  null!=(h=d.imageUrl||(null!=a?a.imageUrl:a))?h:d.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"imageUrl",hash:{},data:f}):h))+'">\n          </a>\n        </div>\n        <div class="product-item__content">\n'+(null!=(k=d["if"].call(null!=a?a:{},null!=a?a.creator:a,{name:"if",hash:{},fn:c.program(30,f,0,b,e),inverse:c.noop,data:f}))?k:"")+'\n          <a href="'+c.escapeExpression((h=null!=(h=d.url||(null!=a?a.url:a))?h:d.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"url",
  hash:{},data:f}):h))+'" class="product-title product-title--placeholder">\n            '+c.escapeExpression((h=null!=(h=d.displayNameTruncated||(null!=a?a.displayNameTruncated:a))?h:d.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"displayNameTruncated",hash:{},data:f}):h))+"\n          </a>\n\n"+(null!=(k=d["if"].call(null!=a?a:{},null!=e[1]?e[1].showSecondHand:e[1],{name:"if",hash:{},fn:c.program(32,f,0,b,e),inverse:c.noop,data:f}))?k:"")+"\n"+(null!=(k=d["if"].call(null!=a?a:{},
  null!=e[1]?e[1].showReviews:e[1],{name:"if",hash:{},fn:c.program(35,f,0,b,e),inverse:c.noop,data:f}))?k:"")+"\n"+(null!=(k=d["if"].call(null!=a?a:{},null!=a?a.price:a,{name:"if",hash:{},fn:c.program(40,f,0,b,e),inverse:c.noop,data:f}))?k:"")+"        </div>\n      </li>\n"},28:function(c,a,d,g,f){var b;return'data-pixel-url="'+c.escapeExpression((b=null!=(b=d.inviewPixelUrl||(null!=a?a.inviewPixelUrl:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"inviewPixelUrl",hash:{},data:f}):
  b))+'"'},30:function(c,a,d,g,f){var b;return'            <ul class="product-creator product-creator--crop">\n              <li>\n                <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.creator:a)?b.href:b,a))+'">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.creator:a)?b.label:b,a))+"</a>\n              </li>\n            </ul>\n"},32:function(c,a,d,g,f){var b;return'            <div class="label-placeholder">\n              '+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.secondHand:
  a,{name:"if",hash:{},fn:c.program(33,f,0),inverse:c.noop,data:f}))?b:"")+"\n            </div>\n"},33:function(c,a,d,g,f){return'<span class="labels label_secondary">Tweedehands</span>'},35:function(c,a,d,g,f){var b;return null!=(b=d["if"].call(null!=a?a:{},null!=a?a.reviewsPercentage:a,{name:"if",hash:{},fn:c.program(36,f,0),inverse:c.program(38,f,0),data:f}))?b:""},36:function(c,a,d,g,f){var b;return'              <div class="rating-stars" data-test="rating-stars">\n                <span class="rating-stars__value" style="width: '+
  c.escapeExpression((b=null!=(b=d.reviewsPercentage||(null!=a?a.reviewsPercentage:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"reviewsPercentage",hash:{},data:f}):b))+'%"></span>\n              </div>\n'},38:function(c,a,d,g,f){return'              <div class="rating-stars rating-stars--no-rating"></div>\n'},40:function(c,a,d,g,f){var b,e;return'            <div class="product-prices">\n'+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.showListPrice:a,{name:"if",hash:{},fn:c.program(41,
  f,0),inverse:c.noop,data:f}))?b:"")+'              <span class="product-prices__currency product-prices__bol-price">'+c.escapeExpression((e=null!=(e=d.price||(null!=a?a.price:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"price",hash:{},data:f}):e))+"</span>\n            </div>\n"},41:function(c,a,d,g,f){var b;return'                <del class="product-prices__currency product-prices__list-price">'+c.escapeExpression((b=null!=(b=d.listPrice||(null!=a?a.listPrice:a))?b:d.helperMissing,
  "function"===typeof b?b.call(null!=a?a:{},{name:"listPrice",hash:{},data:f}):b))+"</del>\n"},43:function(c,a,d,g,f){var b;return'    <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.link:a)?b.href:b,a))+'" class="link-cta">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.link:a)?b.label:b,a))+"</a>\n"},useData:!0,useDepths:!0});g=Handlebars4.templates=Handlebars4.templates||{};g.PERSONALISATION_TILE_SLOT_V1_TILE_SLOT=k;g=Handlebars4.partials=Handlebars4.partials||{};g.PERSONALISATION_TILE_SLOT_V1_TILE_SLOT=
  k;k=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,d,g,f){var b,e;return'<div class="object-tile" data-test="object-tile" data-test-type="brand">\n  <a\n      href="'+c.escapeExpression((e=null!=(e=d.url||(null!=a?a.url:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"url",hash:{},data:f}):e))+'"\n      class="object-tile__wrapper px_common_objectrecommendation_click"\n      data-common-objectrecommendation-click-source="'+c.escapeExpression((e=null!=(e=d.pageType||
  (null!=a?a.pageType:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"pageType",hash:{},data:f}):e))+'"\n      data-common-objectrecommendation-click-type="brand">\n\n    <div class="object-tile__header">\n      <span class="object-tile__subtitle h-bol-subtext-color">\n        '+c.escapeExpression((e=null!=(e=d.subtitle||(null!=a?a.subtitle:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"subtitle",hash:{},data:f}):e))+"\n      </span>\n\n"+(null!=(b=d["if"].call(null!=
  a?a:{},null!=a?a.titleImageUrl:a,{name:"if",hash:{},fn:c.program(1,f,0),inverse:c.noop,data:f}))?b:"")+'\n      <h3 class="object-tile__title">'+c.escapeExpression((e=null!=(e=d.title||(null!=a?a.title:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"title",hash:{},data:f}):e))+'</h3>\n    </div>\n\n    <div class="object-tile__image">\n      <img class="object-tile__title-image" src="'+c.escapeExpression((e=null!=(e=d.titleImageUrl||(null!=a?a.titleImageUrl:a))?e:d.helperMissing,
  "function"===typeof e?e.call(null!=a?a:{},{name:"titleImageUrl",hash:{},data:f}):e))+'" alt="'+c.escapeExpression((e=null!=(e=d.imageAlt||(null!=a?a.imageAlt:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"imageAlt",hash:{},data:f}):e))+'">\n      <img src="'+c.escapeExpression((e=null!=(e=d.imageUrl||(null!=a?a.imageUrl:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"imageUrl",hash:{},data:f}):e))+'" alt="'+c.escapeExpression((e=null!=(e=d.imageAlt||
  (null!=a?a.imageAlt:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"imageAlt",hash:{},data:f}):e))+'">\n    </div>\n\n    <div class="object-tile__link h-txt-left">\n      '+c.escapeExpression((e=null!=(e=d.linkText||(null!=a?a.linkText:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"linkText",hash:{},data:f}):e))+"\n    </div>\n  </a>\n</div>\n"},1:function(c,a,d,g,f){var b;return'        <img class="object-tile__title-image" alt="'+c.escapeExpression((b=
  null!=(b=d.title||(null!=a?a.title:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:f}):b))+'" src="'+c.escapeExpression((b=null!=(b=d.titleImageUrl||(null!=a?a.titleImageUrl:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"titleImageUrl",hash:{},data:f}):b))+'">\n'},useData:!0});g=Handlebars4.templates=Handlebars4.templates||{};g.OBJECT_TILE_OBJECT_TILE_V1_BRAND=k;g=Handlebars4.partials=Handlebars4.partials||{};g.OBJECT_TILE_OBJECT_TILE_V1_BRAND=
  k;k=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,d,g,f){var b;return'<div class="object-tile" data-test="object-tile" data-test-type="category">\n  <a\n      href="'+c.escapeExpression((b=null!=(b=d.url||(null!=a?a.url:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"url",hash:{},data:f}):b))+'"\n      class="object-tile__wrapper px_common_objectrecommendation_click"\n      data-common-objectrecommendation-click-source="'+c.escapeExpression((b=null!=(b=d.pageType||
  (null!=a?a.pageType:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"pageType",hash:{},data:f}):b))+'"\n      data-common-objectrecommendation-click-type="category">\n\n    <div class="object-tile__header">\n      <span class="object-tile__subtitle h-bol-subtext-color">\n        '+c.escapeExpression((b=null!=(b=d.subtitle||(null!=a?a.subtitle:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"subtitle",hash:{},data:f}):b))+'\n      </span>\n      <h3 class="object-tile__title">'+
  c.escapeExpression((b=null!=(b=d.title||(null!=a?a.title:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:f}):b))+'</h3>\n    </div>\n\n    <div class="object-tile__image">\n      <img src="'+c.escapeExpression((b=null!=(b=d.imageUrl||(null!=a?a.imageUrl:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"imageUrl",hash:{},data:f}):b))+'" alt="'+c.escapeExpression((b=null!=(b=d.imageAlt||(null!=a?a.imageAlt:a))?b:d.helperMissing,"function"===
  typeof b?b.call(null!=a?a:{},{name:"imageAlt",hash:{},data:f}):b))+'">\n    </div>\n\n    <div class="object-tile__link h-txt-left">\n      '+c.escapeExpression((b=null!=(b=d.linkText||(null!=a?a.linkText:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"linkText",hash:{},data:f}):b))+"\n    </div>\n  </a>\n</div>\n"},useData:!0});g=Handlebars4.templates=Handlebars4.templates||{};g.OBJECT_TILE_OBJECT_TILE_V1_CATEGORY=k;g=Handlebars4.partials=Handlebars4.partials||{};g.OBJECT_TILE_OBJECT_TILE_V1_CATEGORY=
  k;k=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,d,g,f){var b,e;return'<div class="object-tile object-tile--creator" data-test="object-tile" data-test-type="creator">\n  <a\n      href="'+c.escapeExpression((e=null!=(e=d.url||(null!=a?a.url:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"url",hash:{},data:f}):e))+'"\n      class="object-tile__wrapper px_common_objectrecommendation_click"\n      data-common-objectrecommendation-click-source="'+c.escapeExpression((e=
  null!=(e=d.pageType||(null!=a?a.pageType:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"pageType",hash:{},data:f}):e))+'"\n      data-common-objectrecommendation-click-type="creator">\n\n    <div class="object-tile__header">\n      <span class="object-tile__subtitle h-bol-subtext-color">\n        '+c.escapeExpression((e=null!=(e=d.subtitle||(null!=a?a.subtitle:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"subtitle",hash:{},data:f}):e))+'\n      </span>\n      <h3 class="object-tile__title">'+
  c.escapeExpression((e=null!=(e=d.title||(null!=a?a.title:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"title",hash:{},data:f}):e))+'</h3>\n    </div>\n\n    <div class="object-tile__image">\n      <img src="'+c.escapeExpression((e=null!=(e=d.imageUrl||(null!=a?a.imageUrl:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"imageUrl",hash:{},data:f}):e))+'" alt="'+c.escapeExpression((e=null!=(e=d.imageAlt||(null!=a?a.imageAlt:a))?e:d.helperMissing,"function"===
  typeof e?e.call(null!=a?a:{},{name:"imageAlt",hash:{},data:f}):e))+'">\n    </div>\n\n'+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.avatarImageUrl:a,{name:"if",hash:{},fn:c.program(1,f,0),inverse:c.noop,data:f}))?b:"")+'\n    <div class="object-tile__link h-txt-left">\n      '+c.escapeExpression((e=null!=(e=d.linkText||(null!=a?a.linkText:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"linkText",hash:{},data:f}):e))+"\n    </div>\n  </a>\n</div>\n"},1:function(c,a,d,g,f){var b;
  return'      <div class="object-tile__avatar">\n        <div class="object-tile__avatar-image" style="background-image: url(\''+c.escapeExpression((b=null!=(b=d.avatarImageUrl||(null!=a?a.avatarImageUrl:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"avatarImageUrl",hash:{},data:f}):b))+"');\"></div>\n      </div>\n"},useData:!0});g=Handlebars4.templates=Handlebars4.templates||{};g.OBJECT_TILE_OBJECT_TILE_V1_CREATOR=k;g=Handlebars4.partials=Handlebars4.partials||{};g.OBJECT_TILE_OBJECT_TILE_V1_CREATOR=
  k;k=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,d,g,f){var b,e;return'<div class="object-tile" data-test="object-tile" data-test-type="expert-list">\n  <a\n      href="'+c.escapeExpression((e=null!=(e=d.url||(null!=a?a.url:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"url",hash:{},data:f}):e))+'"\n      class="object-tile__wrapper px_common_objectrecommendation_click"\n      data-common-objectrecommendation-click-source="'+c.escapeExpression((e=null!=(e=
  d.pageType||(null!=a?a.pageType:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"pageType",hash:{},data:f}):e))+'"\n      data-common-objectrecommendation-click-type="expert-list">\n\n    <div class="object-tile__header">\n      <span class="object-tile__subtitle h-bol-subtext-color">\n        '+c.escapeExpression((e=null!=(e=d.subtitle||(null!=a?a.subtitle:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"subtitle",hash:{},data:f}):e))+'\n      </span>\n      <h3 class="object-tile__title">'+
  c.escapeExpression((e=null!=(e=d.title||(null!=a?a.title:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"title",hash:{},data:f}):e))+'</h3>\n    </div>\n\n    <div class="object-tile__image">\n      <img src="'+c.escapeExpression((e=null!=(e=d.imageUrl||(null!=a?a.imageUrl:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"imageUrl",hash:{},data:f}):e))+'" alt="'+c.escapeExpression((e=null!=(e=d.imageAlt||(null!=a?a.imageAlt:a))?e:d.helperMissing,"function"===
  typeof e?e.call(null!=a?a:{},{name:"imageAlt",hash:{},data:f}):e))+'">\n    </div>\n\n'+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.avatarImageUrl:a,{name:"if",hash:{},fn:c.program(1,f,0),inverse:c.noop,data:f}))?b:"")+'\n    <div class="object-tile__link h-txt-left">\n      '+c.escapeExpression((e=null!=(e=d.linkText||(null!=a?a.linkText:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"linkText",hash:{},data:f}):e))+"\n    </div>\n  </a>\n</div>\n"},1:function(c,a,d,g,f){var b;
  return'      <div class="object-tile__avatar">\n        <div class="object-tile__avatar-image" style="background-image: url(\''+c.escapeExpression((b=null!=(b=d.avatarImageUrl||(null!=a?a.avatarImageUrl:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"avatarImageUrl",hash:{},data:f}):b))+"');\"></div>\n      </div>\n"},useData:!0});g=Handlebars4.templates=Handlebars4.templates||{};g.OBJECT_TILE_OBJECT_TILE_V1_EXPERT_LIST=k;g=Handlebars4.partials=Handlebars4.partials||{};g.OBJECT_TILE_OBJECT_TILE_V1_EXPERT_LIST=
  k;k=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,d,g,f){var b;return'<div class="object-tile object-tile--search" data-test="object-tile" data-test-type="search">\n  <a\n      href="'+c.escapeExpression((b=null!=(b=d.url||(null!=a?a.url:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"url",hash:{},data:f}):b))+'"\n      class="object-tile__wrapper px_common_objectrecommendation_click"\n      data-common-objectrecommendation-click-source="'+c.escapeExpression((b=
  null!=(b=d.pageType||(null!=a?a.pageType:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"pageType",hash:{},data:f}):b))+'"\n      data-common-objectrecommendation-click-type="search">\n\n    <div class="object-tile__header">\n      <span class="object-tile__subtitle h-bol-subtext-color">\n        '+c.escapeExpression((b=null!=(b=d.subtitle||(null!=a?a.subtitle:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"subtitle",hash:{},data:f}):b))+'\n      </span>\n      <h3 class="object-tile__title">'+
  c.escapeExpression((b=null!=(b=d.title||(null!=a?a.title:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:f}):b))+'</h3>\n    </div>\n\n    <div class="object-tile__image">\n      <img src="'+c.escapeExpression((b=null!=(b=d.imageUrl||(null!=a?a.imageUrl:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"imageUrl",hash:{},data:f}):b))+'" alt="'+c.escapeExpression((b=null!=(b=d.imageAlt||(null!=a?a.imageAlt:a))?b:d.helperMissing,"function"===
  typeof b?b.call(null!=a?a:{},{name:"imageAlt",hash:{},data:f}):b))+'">\n    </div>\n\n    <div class="object-tile__link h-txt-left">\n      '+c.escapeExpression((b=null!=(b=d.linkText||(null!=a?a.linkText:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"linkText",hash:{},data:f}):b))+"\n    </div>\n  </a>\n</div>\n"},useData:!0});g=Handlebars4.templates=Handlebars4.templates||{};g.OBJECT_TILE_OBJECT_TILE_V1_SEARCH=k;g=Handlebars4.partials=Handlebars4.partials||{};g.OBJECT_TILE_OBJECT_TILE_V1_SEARCH=
  k;k=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,d,g,f){var b;return'<div class="object-tile" data-test="object-tile" data-test-type="seller">\n  <a\n      href="'+c.escapeExpression((b=null!=(b=d.url||(null!=a?a.url:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"url",hash:{},data:f}):b))+'"\n      class="object-tile__wrapper px_common_objectrecommendation_click"\n      data-common-objectrecommendation-click-source="'+c.escapeExpression((b=null!=(b=d.pageType||
  (null!=a?a.pageType:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"pageType",hash:{},data:f}):b))+'"\n      data-common-objectrecommendation-click-type="seller">\n\n    <div class="object-tile__header">\n      <span class="object-tile__subtitle h-bol-subtext-color">\n        '+c.escapeExpression((b=null!=(b=d.subtitle||(null!=a?a.subtitle:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"subtitle",hash:{},data:f}):b))+'\n      </span>\n      <h3 class="object-tile__title">'+
  c.escapeExpression((b=null!=(b=d.title||(null!=a?a.title:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:f}):b))+'</h3>\n    </div>\n\n    <div class="object-tile__image">\n      <img src="'+c.escapeExpression((b=null!=(b=d.imageUrl||(null!=a?a.imageUrl:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"imageUrl",hash:{},data:f}):b))+'" alt="'+c.escapeExpression((b=null!=(b=d.imageAlt||(null!=a?a.imageAlt:a))?b:d.helperMissing,"function"===
  typeof b?b.call(null!=a?a:{},{name:"imageAlt",hash:{},data:f}):b))+'">\n    </div>\n\n    <div class="object-tile__link h-txt-left">\n      '+c.escapeExpression((b=null!=(b=d.linkText||(null!=a?a.linkText:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"linkText",hash:{},data:f}):b))+"\n    </div>\n  </a>\n</div>\n"},useData:!0});g=Handlebars4.templates=Handlebars4.templates||{};g.OBJECT_TILE_OBJECT_TILE_V1_SELLER=k;g=Handlebars4.partials=Handlebars4.partials||{};g.OBJECT_TILE_OBJECT_TILE_V1_SELLER=
  k;k=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,d,g,f){var b;return'<div class="object-tile" data-test="object-tile" data-test-type="series">\n  <a\n      href="'+c.escapeExpression((b=null!=(b=d.url||(null!=a?a.url:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"url",hash:{},data:f}):b))+'"\n      class="object-tile__wrapper px_common_objectrecommendation_click"\n      data-common-objectrecommendation-click-source="'+c.escapeExpression((b=null!=(b=d.pageType||
  (null!=a?a.pageType:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"pageType",hash:{},data:f}):b))+'"\n      data-common-objectrecommendation-click-type="series">\n\n    <div class="object-tile__header">\n      <span class="object-tile__subtitle h-bol-subtext-color">\n        '+c.escapeExpression((b=null!=(b=d.subtitle||(null!=a?a.subtitle:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"subtitle",hash:{},data:f}):b))+'\n      </span>\n      <h3 class="object-tile__title">'+
  c.escapeExpression((b=null!=(b=d.title||(null!=a?a.title:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:f}):b))+'</h3>\n    </div>\n\n    <div class="object-tile__image">\n      <img src="'+c.escapeExpression((b=null!=(b=d.imageUrl||(null!=a?a.imageUrl:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"imageUrl",hash:{},data:f}):b))+'" alt="'+c.escapeExpression((b=null!=(b=d.imageAlt||(null!=a?a.imageAlt:a))?b:d.helperMissing,"function"===
  typeof b?b.call(null!=a?a:{},{name:"imageAlt",hash:{},data:f}):b))+'">\n    </div>\n\n    <div class="object-tile__link h-txt-left">\n      '+c.escapeExpression((b=null!=(b=d.linkText||(null!=a?a.linkText:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"linkText",hash:{},data:f}):b))+"\n    </div>\n  </a>\n</div>\n"},useData:!0});g=Handlebars4.templates=Handlebars4.templates||{};g.OBJECT_TILE_OBJECT_TILE_V1_SERIES=k;g=Handlebars4.partials=Handlebars4.partials||{};g.OBJECT_TILE_OBJECT_TILE_V1_SERIES=
  k})();(function(){var l=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,e,h,d,b,g){var k,f;return'<div class="'+c.escapeExpression((f=null!=(f=e.slotType||(null!=a?a.slotType:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"slotType",hash:{},data:d}):f))+'" id="'+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.trigger:a,{name:"if",hash:{},fn:c.program(1,d,0,b,g),inverse:c.program(3,d,0,b,g),data:d}))?k:"")+"_"+c.escapeExpression((f=null!=(f=e.slotId||(null!=a?a.slotId:
  a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"slotId",hash:{},data:d}):f))+'">\n\n'+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.trigger:a,{name:"if",hash:{},fn:c.program(5,d,0,b,g),inverse:c.program(10,d,0,b,g),data:d}))?k:"")+'\n  <ul class="flex-grid flex-grid--l flex-grid--md-'+c.escapeExpression((f=null!=(f=e.numberOfColumns||(null!=a?a.numberOfColumns:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"numberOfColumns",hash:{},data:d}):f))+' flex-grid--xs-2">\n'+
  (null!=(k=e["if"].call(null!=a?a:{},null!=a?a.trigger:a,{name:"if",hash:{},fn:c.program(17,d,0,b,g),inverse:c.noop,data:d}))?k:"")+"\n"+(null!=(k=e.each.call(null!=a?a:{},null!=a?a.products:a,{name:"each",hash:{},fn:c.program(27,d,0,b,g),inverse:c.noop,data:d}))?k:"")+"  </ul>\n\n"+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.link:a,{name:"if",hash:{},fn:c.program(43,d,0,b,g),inverse:c.noop,data:d}))?k:"")+"</div>\n"},1:function(c,a,e,h,d){var b;return c.escapeExpression((b=null!=(b=e.slotType||
  (null!=a?a.slotType:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"slotType",hash:{},data:d}):b))},3:function(c,a,e,h,d){return"horizontal_recommendation"},5:function(c,a,e,h,d){var b,g;return"\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.singleTitleSlot:a,{name:"if",hash:{},fn:c.program(6,d,0),inverse:c.noop,data:d}))?b:"")+'    <div class="media medium--is-hidden h-bottom--s">\n      <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" class="product-item__image-link">\n        <img title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" alt="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" src="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.miniImageUrl:b,a))+'" class="media__img trigger__img">\n      </a>\n      <p class="media__body">\n        '+c.escapeExpression((g=
  null!=(g=e.title||(null!=a?a.title:a))?g:e.helperMissing,"function"===typeof g?g.call(null!=a?a:{},{name:"title",hash:{},data:d}):g))+'<br/>\n        <a class="product-item__name" href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" data-test="title">'+(null!=(b=c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayNameTruncated:b,a))?b:"")+"</a>\n      </p>\n    </div>\n"+(null!=(b=e.unless.call(null!=
  a?a:{},null!=a?a.singleTitleSlot:a,{name:"unless",hash:{},fn:c.program(8,d,0),inverse:c.noop,data:d}))?b:"")+"\n"},6:function(c,a,e,h,d){var b;return"      <h2>"+c.escapeExpression((b=null!=(b=e.title||(null!=a?a.title:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:d}):b))+"</h2>\n"},8:function(c,a,e,h,d){var b;return'      <div class="fluid-grid fluid-grid--s is-border-box medium--is-visible h-bottom--xs">\n        <div class="fluid-grid__item one-quarter">\n          <h2 class="accent">'+
  c.escapeExpression((b=null!=(b=e.title||(null!=a?a.title:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"title",hash:{},data:d}):b))+'</h2>\n        </div>\n        <div class="fluid-grid__item three-quarters">\n          <h2>'+c.escapeExpression((b=null!=(b=e.titleExtension||(null!=a?a.titleExtension:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"titleExtension",hash:{},data:d}):b))+"</h2>\n        </div>\n      </div>\n"},10:function(c,a,e,h,d){var b,
  g;return'\n    <h2 class="'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.subTitle:a,{name:"if",hash:{},fn:c.program(11,d,0),inverse:c.program(13,d,0),data:d}))?b:"")+'">\n      '+c.escapeExpression((g=null!=(g=e.title||(null!=a?a.title:a))?g:e.helperMissing,"function"===typeof g?g.call(null!=a?a:{},{name:"title",hash:{},data:d}):g))+"\n    </h2>\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.subTitle:a,{name:"if",hash:{},fn:c.program(15,d,0),inverse:c.noop,data:d}))?b:"")+"\n"},11:function(c,a,
  e,h,d){return"h-bottom--0"},13:function(c,a,e,h,d){return"h-bottom--s"},15:function(c,a,e,h,d){var b,g;return'      <p class="subtitle bottom_s">'+(null!=(b=(g=null!=(g=e.subTitle||(null!=a?a.subTitle:a))?g:e.helperMissing,"function"===typeof g?g.call(null!=a?a:{},{name:"subTitle",hash:{},data:d}):g))?b:"")+"</p>\n"},17:function(c,a,e,h,d){var b;return'      <li class="product-item--column flex-item  medium--is-visible--inline-block js_trigger" '+(null!=(b=e["if"].call(null!=a?a:{},null!=(b=null!=
  a?a.trigger:a)?b.inviewPixelUrl:b,{name:"if",hash:{},fn:c.program(18,d,0),inverse:c.noop,data:d}))?b:"")+">\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=(b=null!=a?a.trigger:a)?b.isProduct:b,{name:"if",hash:{},fn:c.program(20,d,0),inverse:c.noop,data:d}))?b:"")+(null!=(b=e["if"].call(null!=a?a:{},null!=(b=null!=a?a.trigger:a)?b.isBanner:b,{name:"if",hash:{},fn:c.program(25,d,0),inverse:c.noop,data:d}))?b:"")+"      </li>\n"},18:function(c,a,e,h,d){var b;return'data-pixel-url="'+c.escapeExpression(c.lambda(null!=
  (b=null!=a?a.trigger:a)?b.inviewPixelUrl:b,a))+'"'},20:function(c,a,e,h,d){var b;return'        <div class="product-item__image">\n          <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" class="product-image product-image--thumb product-image--tile">\n            <img title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" alt="'+c.escapeExpression(c.lambda(null!=
  (b=null!=a?a.trigger:a)?b.displayName:b,a))+'" src="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.imageUrl:b,a))+'" class="product-item__image-img">\n          </a>\n        </div>\n\n        <div class="product-item__content">\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=(b=null!=a?a.trigger:a)?b.creator:b,{name:"if",hash:{},fn:c.program(21,d,0),inverse:c.noop,data:d}))?b:"")+'          <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" class="product-title product-title--placeholder" title="'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" data-test="title">\n            '+(null!=(b=c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayNameTruncated:b,a))?b:"")+"\n          </a>\n\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=(b=null!=a?a.trigger:a)?b.price:b,{name:"if",hash:{},fn:c.program(23,d,0),inverse:c.noop,data:d}))?b:"")+"        </div>\n"},21:function(c,a,e,h,d){var b;return'            <ul class="product-creator product-creator--crop">\n              <li>\n                <a href="'+
  c.escapeExpression(c.lambda(null!=(b=null!=(b=null!=a?a.trigger:a)?b.creator:b)?b.href:b,a))+'">'+c.escapeExpression(c.lambda(null!=(b=null!=(b=null!=a?a.trigger:a)?b.creator:b)?b.label:b,a))+"</a>\n              </li>\n            </ul>\n"},23:function(c,a,e,h,d){var b;return'            <div class="product-item__prices">\n              <span class="product-prices__currency product-prices__bol-price">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.price:b,a))+"</span>\n            </div>\n"},
  25:function(c,a,e,h,d){var b;return'        <div class="product-item__image">\n          <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" class="product-image product-image--thumb product-image--tile">\n            <img src="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.imageUrl:b,a))+'" alt="" />\n          </a>\n        </div>\n'},27:function(c,a,e,h,d,b,g){var k,f;return'      <li class="product-item--column flex-item js_personal_product" '+(null!=
  (k=e["if"].call(null!=a?a:{},null!=a?a.inviewPixelUrl:a,{name:"if",hash:{},fn:c.program(28,d,0,b,g),inverse:c.noop,data:d}))?k:"")+'>\n        <div class="product-item__image">\n          <a class="product-image product-image--thumb product-image--tile" href="'+c.escapeExpression((f=null!=(f=e.url||(null!=a?a.url:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"url",hash:{},data:d}):f))+'" title="'+c.escapeExpression((f=null!=(f=e.displayName||(null!=a?a.displayName:a))?f:e.helperMissing,
  "function"===typeof f?f.call(null!=a?a:{},{name:"displayName",hash:{},data:d}):f))+'">\n            <img title="'+c.escapeExpression((f=null!=(f=e.displayName||(null!=a?a.displayName:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"displayName",hash:{},data:d}):f))+'" alt="'+c.escapeExpression((f=null!=(f=e.displayName||(null!=a?a.displayName:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"displayName",hash:{},data:d}):f))+'" src="'+c.escapeExpression((f=
  null!=(f=e.imageUrl||(null!=a?a.imageUrl:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"imageUrl",hash:{},data:d}):f))+'">\n          </a>\n        </div>\n        <div class="product-item__content">\n'+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.creator:a,{name:"if",hash:{},fn:c.program(30,d,0,b,g),inverse:c.noop,data:d}))?k:"")+'\n          <a href="'+c.escapeExpression((f=null!=(f=e.url||(null!=a?a.url:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"url",
  hash:{},data:d}):f))+'" class="product-title product-title--placeholder">\n            '+c.escapeExpression((f=null!=(f=e.displayNameTruncated||(null!=a?a.displayNameTruncated:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"displayNameTruncated",hash:{},data:d}):f))+"\n          </a>\n\n"+(null!=(k=e["if"].call(null!=a?a:{},null!=g[1]?g[1].showSecondHand:g[1],{name:"if",hash:{},fn:c.program(32,d,0,b,g),inverse:c.noop,data:d}))?k:"")+"\n"+(null!=(k=e["if"].call(null!=a?a:{},
  null!=g[1]?g[1].showReviews:g[1],{name:"if",hash:{},fn:c.program(35,d,0,b,g),inverse:c.noop,data:d}))?k:"")+"\n"+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.price:a,{name:"if",hash:{},fn:c.program(40,d,0,b,g),inverse:c.noop,data:d}))?k:"")+"        </div>\n      </li>\n"},28:function(c,a,e,h,d){var b;return'data-pixel-url="'+c.escapeExpression((b=null!=(b=e.inviewPixelUrl||(null!=a?a.inviewPixelUrl:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"inviewPixelUrl",hash:{},data:d}):
  b))+'"'},30:function(c,a,e,h,d){var b;return'            <ul class="product-creator product-creator--crop">\n              <li>\n                <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.creator:a)?b.href:b,a))+'">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.creator:a)?b.label:b,a))+"</a>\n              </li>\n            </ul>\n"},32:function(c,a,e,h,d){var b;return'            <div class="label-placeholder">\n              '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.secondHand:
  a,{name:"if",hash:{},fn:c.program(33,d,0),inverse:c.noop,data:d}))?b:"")+"\n            </div>\n"},33:function(c,a,e,h,d){return'<span class="labels label_secondary">Tweedehands</span>'},35:function(c,a,e,h,d){var b;return null!=(b=e["if"].call(null!=a?a:{},null!=a?a.reviewsPercentage:a,{name:"if",hash:{},fn:c.program(36,d,0),inverse:c.program(38,d,0),data:d}))?b:""},36:function(c,a,e,h,d){var b;return'              <div class="rating-stars" data-test="rating-stars">\n                <span class="rating-stars__value" style="width: '+
  c.escapeExpression((b=null!=(b=e.reviewsPercentage||(null!=a?a.reviewsPercentage:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"reviewsPercentage",hash:{},data:d}):b))+'%"></span>\n              </div>\n'},38:function(c,a,e,h,d){return'              <div class="rating-stars rating-stars--no-rating"></div>\n'},40:function(c,a,e,h,d){var b,g;return'            <div class="product-prices">\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.showListPrice:a,{name:"if",hash:{},fn:c.program(41,
  d,0),inverse:c.noop,data:d}))?b:"")+'              <span class="product-prices__currency product-prices__bol-price">'+c.escapeExpression((g=null!=(g=e.price||(null!=a?a.price:a))?g:e.helperMissing,"function"===typeof g?g.call(null!=a?a:{},{name:"price",hash:{},data:d}):g))+"</span>\n            </div>\n"},41:function(c,a,e,h,d){var b;return'                <del class="product-prices__currency product-prices__list-price">'+c.escapeExpression((b=null!=(b=e.listPrice||(null!=a?a.listPrice:a))?b:e.helperMissing,
  "function"===typeof b?b.call(null!=a?a:{},{name:"listPrice",hash:{},data:d}):b))+"</del>\n"},43:function(c,a,e,h,d){var b;return'    <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.link:a)?b.href:b,a))+'" class="link-cta">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.link:a)?b.label:b,a))+"</a>\n"},useData:!0,useDepths:!0});(Handlebars4.templates=Handlebars4.templates||{}).PERSONALISATION_TILE_SLOT_V2_TILE_SLOT=l;(Handlebars4.partials=Handlebars4.partials||{}).PERSONALISATION_TILE_SLOT_V2_TILE_SLOT=
  l})();(function(){var l=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,e,g,d){var b;return'<div class="js_wiki_header_edit_component h-boxedbottom--m">\n'+(null!=(b=e.unless.call(null!=a?a:{},null!=a?a.editView:a,{name:"unless",hash:{},fn:c.program(1,d,0),inverse:c.program(8,d,0),data:d}))?b:"")+"</div>\n"},1:function(c,a,e,g,d){var b,f;return(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.successMessage:a,{name:"if",hash:{},fn:c.program(2,d,0),inverse:c.noop,data:d}))?b:"")+"\n    "+(null!=
  (b=(f=null!=(f=e.defaultView||(null!=a?a.defaultView:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"defaultView",hash:{},data:d}):f))?b:"")+'\n\n    <div class="h-txt-right h-bottom--s">\n      <div class="c-btn-primary--large sb-button sb-pencil">\n        <a href="#" class="js_wiki_header_edit">\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.changeSnippet:a,{name:"if",hash:{},fn:c.program(4,d,0),inverse:c.program(6,d,0),data:d}))?b:"")+"        </a>\n      </div>\n    </div>\n"},
  2:function(c,a,e,g,d){var b;return'      <div class="notification notification--success h-boxedbottom--s">\n        <h2 class="notification__title">'+c.escapeExpression((b=null!=(b=e.successMessage||(null!=a?a.successMessage:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"successMessage",hash:{},data:d}):b))+"</h2>\n      </div>\n"},4:function(c,a,e,g,d){return"            Bewerken\n"},6:function(c,a,e,g,d){return"            Maak schaptekst aan\n"},8:function(c,a,e,g,d){var b,
  f;return'    <div class="shelf-info is-expanded">\n      <div class="shelf-info__text h-block h-boxedbottom--s">\n\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.errorMessages:a,{name:"if",hash:{},fn:c.program(9,d,0),inverse:c.noop,data:d}))?b:"")+"\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.refinementNames:a,{name:"if",hash:{},fn:c.program(12,d,0),inverse:c.noop,data:d}))?b:"")+'\n        <div class="tooltip-inline  h-bottom--s  js_tooltip_inline">\n          <p class="nosp">\n            Schaptekst: <span class="[ sb  sb-badge-info-neg ]  tooltip-inline__link  js_tooltip_inline_trigger"></span>\n          </p>\n          <div class="tooltip-inline__content  js_tooltip_inline_content">\n            <p>\n              <strong>Let op de volgende aspecten als je een schaptekst maakt/bewerkt</strong>\n            </p>\n            <ul class="bullet-list">\n              <li>Schrijf de schaptekst voor het hele schap en niet voor \u00e9\u00e9n product op het schap.</li>\n              <li>Schrijf hele, op zichzelf staande zinnen en sluit deze af met een punt.</li>\n              <li>Gebruik unieke teksten; teksten kopi\u00ebren van je eigen site heeft weinig SEO-effect.</li>\n              <li>Voorkom teksten als \u201czie hieronder\u201d of \u201ckies hier\u201d omdat teksten mogelijk ook op andere plekken worden ingezet.</li>\n              <li>Geen verkoperspecifieke uitingen (bijv: \u2018bij dit product, ontvang je nu gratis X\u2019 ).</li>\n              <li>Vermijd commerci\u00eble teksten.</li>\n              <li>Zorg ervoor dat je tekst tijdloos is. Wat nu helemaal hip of een rage is, kan over een maand weer voorbij zijn. Dus benadruk geen specifieke artikelen en/of typenummers in je tekst.</li>\n            </ul>\n          </div>\n        </div>\n\n        <ul class="nav-tab">\n          <li class="nav-tab__item '+
  (null!=(b=e.unless.call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"unless",hash:{},fn:c.program(14,d,0),inverse:c.noop,data:d}))?b:"")+'">\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"if",hash:{},fn:c.program(16,d,0),inverse:c.program(18,d,0),data:d}))?b:"")+'          </li>\n          <li class="nav-tab__item '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"if",hash:{},fn:c.program(14,d,0),inverse:c.noop,data:d}))?b:"")+'">\n'+(null!=(b=e["if"].call(null!=
  a?a:{},null!=a?a.beTextActive:a,{name:"if",hash:{},fn:c.program(20,d,0),inverse:c.program(22,d,0),data:d}))?b:"")+'          </li>\n        </ul>\n\n        <div class="form-feedback__control h-block '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"if",hash:{},fn:c.program(24,d,0),inverse:c.noop,data:d}))?b:"")+'">\n          <textarea class="text-input js_textarea_textnl" name="textnl" maxlength="500">'+c.escapeExpression((f=null!=(f=e.textNl||(null!=a?a.textNl:a))?f:e.helperMissing,
  "function"===typeof f?f.call(null!=a?a:{},{name:"textNl",hash:{},data:d}):f))+'</textarea>\n          <div class="small_details h-bol-subtext-color js_counter_textnl" data-js-textarea="js_textarea_textnl"></div>\n        </div>\n\n        <div class="form-feedback__control h-block '+(null!=(b=e.unless.call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"unless",hash:{},fn:c.program(24,d,0),inverse:c.noop,data:d}))?b:"")+'">\n          <textarea class="text-input js_textarea_textbe" name="textbe" maxlength="500">'+
  c.escapeExpression((f=null!=(f=e.textBe||(null!=a?a.textBe:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"textBe",hash:{},data:d}):f))+'</textarea>\n          <div class="small_details h-bol-subtext-color js_counter_textbe" data-js-textarea="js_textarea_textbe"></div>\n        </div>\n      </div>\n    </div>\n\n    <p>Bekijk ook linkjes:</p>\n    <div class="checkbox-input">\n      <input class="js_wiki_header_top10link_enabled" id="top10LinkEnabled" name="top10LinkEnabled" type="checkbox" value="true" '+
  (null!=(b=e["if"].call(null!=a?a:{},null!=a?a.top10LinkEnabled:a,{name:"if",hash:{},fn:c.program(26,d,0),inverse:c.noop,data:d}))?b:"")+'>\n      <label for="top10LinkEnabled">Voeg een link naar de top 10 pagina toe</label>\n    </div>\n    <table id="wiki-header-shelf-links" class="rsp-table">\n      <thead>\n        <tr>\n          <th>Bol.com url</th>\n          <th>Nederlandse titel</th>\n          <th>Vlaamse titel</th>\n        </tr>\n      </thead>\n      <tbody>\n'+(null!=(b=e.each.call(null!=
  a?a:{},null!=a?a.links:a,{name:"each",hash:{},fn:c.program(28,d,0),inverse:c.noop,data:d}))?b:"")+'      </tbody>\n    </table>\n\n    <div class="h-txt-right h-bottom--s">\n      <div class="c-btn-tertiary--large h-right--xs">\n        <a href="#" class="js_wiki_header_cancel">Annuleren</a>\n      </div>\n      <div class="c-btn-primary--large">\n        <a href="#" class="js_wiki_header_save">Bewaren</a>\n      </div>\n    </div>\n'},9:function(c,a,e,g,d){var b;return'          <div class="notification notification--error h-boxedbottom--s">\n            <h2 class="notification__title">De wijzigingen zijn niet succesvol opgeslagen</h2>\n            <ul class="notification__list">\n'+
  (null!=(b=e.each.call(null!=a?a:{},null!=a?a.errorMessages:a,{name:"each",hash:{},fn:c.program(10,d,0),inverse:c.noop,data:d}))?b:"")+"            </ul>\n          </div>\n"},10:function(c,a,e,g,d){return"                <li>"+c.escapeExpression(c.lambda(a,a))+"</li>\n"},12:function(c,a,e,g,d){var b,f;return'          <div class="notification h-boxedbottom--s">\n            <h2 class="notification__title">Let op:</h2>\n            <p>\n              Je gaat nu een specifieke schaptekst schrijven voor '+
  c.escapeExpression((f=null!=(f=e.shelfName||(null!=a?a.shelfName:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"shelfName",hash:{},data:d}):f))+' met filter:\n            </p>\n            <ul class="notification__list">\n'+(null!=(b=e.each.call(null!=a?a:{},null!=a?a.refinementNames:a,{name:"each",hash:{},fn:c.program(10,d,0),inverse:c.noop,data:d}))?b:"")+"            </ul>\n          </div>\n"},14:function(c,a,e,g,d){return"is-active"},16:function(c,a,e,g,d){return'              <a class="nav-tab__link js_wiki_header_tab" href="#" data-country="nl">Nederlands</a>\n'},
  18:function(c,a,e,g,d){return'              <span class="nav-tab__link">Nederlands</span>\n'},20:function(c,a,e,g,d){return'              <span class="nav-tab__link">Vlaams</span>\n'},22:function(c,a,e,g,d){return'              <a class="nav-tab__link js_wiki_header_tab" href="#" data-country="be">Vlaams</a>\n'},24:function(c,a,e,g,d){return"is-hidden"},26:function(c,a,e,g,d){return"checked"},28:function(c,a,e,g,d){var b,f;return'            <tr class="js_wiki_header_shelf_link">\n              <td data-th="Bol.com url" '+
  (null!=(b=e["if"].call(null!=a?a:{},null!=a?a.disabled:a,{name:"if",hash:{},fn:c.program(29,d,0),inverse:c.noop,data:d}))?b:"")+'>\n                <div class="flex-grid flex-grid--xs flex-grid--middle">\n                  <span class="flex-item fluid">www.bol.com</span>\n                  <div class="flex-item flex-item--grow fluid">\n                    <label class="h-block">\n                      <div class="form-feedback__control h-block">\n                        <input data-name="url" class="text-input" type="text" value="'+
  c.escapeExpression((f=null!=(f=e.url||(null!=a?a.url:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"url",hash:{},data:d}):f))+'">\n                      </div>\n                    </label>\n                  </div>\n                </div>\n              </td>\n              <td data-th="Nederlandse titel" '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.disabled:a,{name:"if",hash:{},fn:c.program(29,d,0),inverse:c.noop,data:d}))?b:"")+'>\n                <label class="h-block">\n                  <div class="form-feedback__control h-block">\n                    <input data-name="urlTextNl" class="text-input" type="text" value="'+
  c.escapeExpression((f=null!=(f=e.urlTextNl||(null!=a?a.urlTextNl:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"urlTextNl",hash:{},data:d}):f))+'" maxlength="40">\n                  </div>\n                </label>\n              </td>\n              <td data-th="Vlaamse titel" '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.disabled:a,{name:"if",hash:{},fn:c.program(29,d,0),inverse:c.noop,data:d}))?b:"")+'>\n                <label class="h-block">\n                  <div class="form-feedback__control h-block">\n                    <input data-name="urlTextBe" class="text-input" type="text" value="'+
  c.escapeExpression((f=null!=(f=e.urlTextBe||(null!=a?a.urlTextBe:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"urlTextBe",hash:{},data:d}):f))+'" maxlength="40">\n                  </div>\n                </label>\n              </td>\n            </tr>\n'},29:function(c,a,e,g,d){return'class="is--disabled"'},useData:!0}),k=Handlebars4.templates=Handlebars4.templates||{};k.LISTPAGE_WIKI_HEADER_EDIT_V1_WIKI_HEADER=l;k=Handlebars4.partials=Handlebars4.partials||{};k.LISTPAGE_WIKI_HEADER_EDIT_V1_WIKI_HEADER=
  l;l=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,e,g,d){var b;return'<div class="js_wiki_header_edit_component h-boxedbottom--m">\n'+(null!=(b=e.unless.call(null!=a?a:{},null!=a?a.editView:a,{name:"unless",hash:{},fn:c.program(1,d,0),inverse:c.program(8,d,0),data:d}))?b:"")+"</div>\n"},1:function(c,a,e,g,d){var b,f;return(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.successMessage:a,{name:"if",hash:{},fn:c.program(2,d,0),inverse:c.noop,data:d}))?b:"")+"\n    "+(null!=(b=(f=null!=
  (f=e.defaultView||(null!=a?a.defaultView:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"defaultView",hash:{},data:d}):f))?b:"")+'\n\n    <div class="h-txt-right h-bottom--s">\n      <div class="c-btn-primary--large sb-button sb-pencil">\n        <a href="#" class="js_wiki_header_edit">\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.changeSnippet:a,{name:"if",hash:{},fn:c.program(4,d,0),inverse:c.program(6,d,0),data:d}))?b:"")+"        </a>\n      </div>\n    </div>\n"},2:function(c,
  a,e,g,d){var b;return'      <div class="notification notification--success h-boxedbottom--s">\n        <h2 class="notification__title">'+c.escapeExpression((b=null!=(b=e.successMessage||(null!=a?a.successMessage:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"successMessage",hash:{},data:d}):b))+"</h2>\n      </div>\n"},4:function(c,a,e,g,d){return"            Bewerken\n"},6:function(c,a,e,g,d){return"            Maak schaptekst aan\n"},8:function(c,a,e,g,d){var b,f;return'    <div class="shelf-info is-expanded">\n      <div class="shelf-info__text h-block h-boxedbottom--s">\n\n'+
  (null!=(b=e["if"].call(null!=a?a:{},null!=a?a.errorMessages:a,{name:"if",hash:{},fn:c.program(9,d,0),inverse:c.noop,data:d}))?b:"")+"\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.refinementNames:a,{name:"if",hash:{},fn:c.program(12,d,0),inverse:c.noop,data:d}))?b:"")+'\n        <div class="tooltip-inline  h-bottom--s  js_tooltip_inline">\n          <p class="nosp">\n            Schaptekst: <span class="[ sb  sb-badge-info-neg ]  tooltip-inline__link  js_tooltip_inline_trigger"></span>\n          </p>\n          <div class="tooltip-inline__content  js_tooltip_inline_content">\n            <p>\n              <strong>Let op de volgende aspecten als je een schaptekst maakt/bewerkt</strong>\n            </p>\n            <ul class="bullet-list">\n              <li>Schrijf de schaptekst voor het hele schap en niet voor \u00e9\u00e9n product op het schap.</li>\n              <li>Schrijf hele, op zichzelf staande zinnen en sluit deze af met een punt.</li>\n              <li>Gebruik unieke teksten; teksten kopi\u00ebren van je eigen site heeft weinig SEO-effect.</li>\n              <li>Voorkom teksten als \u201czie hieronder\u201d of \u201ckies hier\u201d omdat teksten mogelijk ook op andere plekken worden ingezet.</li>\n              <li>Geen verkoperspecifieke uitingen (bijv: \u2018bij dit product, ontvang je nu gratis X\u2019 ).</li>\n              <li>Vermijd commerci\u00eble teksten.</li>\n              <li>Zorg ervoor dat je tekst tijdloos is. Wat nu helemaal hip of een rage is, kan over een maand weer voorbij zijn. Dus benadruk geen specifieke artikelen en/of typenummers in je tekst.</li>\n            </ul>\n          </div>\n        </div>\n\n        <ul class="nav-tab">\n          <li class="nav-tab__item '+
  (null!=(b=e.unless.call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"unless",hash:{},fn:c.program(14,d,0),inverse:c.noop,data:d}))?b:"")+'">\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"if",hash:{},fn:c.program(16,d,0),inverse:c.program(18,d,0),data:d}))?b:"")+'          </li>\n          <li class="nav-tab__item '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"if",hash:{},fn:c.program(14,d,0),inverse:c.noop,data:d}))?b:"")+'">\n'+(null!=(b=e["if"].call(null!=
  a?a:{},null!=a?a.beTextActive:a,{name:"if",hash:{},fn:c.program(20,d,0),inverse:c.program(22,d,0),data:d}))?b:"")+'          </li>\n        </ul>\n\n        <div class="form-feedback__control h-block '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"if",hash:{},fn:c.program(24,d,0),inverse:c.noop,data:d}))?b:"")+'">\n          <textarea class="text-input js_textarea_textnl" name="textnl" maxlength="500">'+c.escapeExpression((f=null!=(f=e.textNl||(null!=a?a.textNl:a))?f:e.helperMissing,
  "function"===typeof f?f.call(null!=a?a:{},{name:"textNl",hash:{},data:d}):f))+'</textarea>\n          <div class="small_details h-bol-subtext-color js_counter_textnl" data-js-textarea="js_textarea_textnl"></div>\n        </div>\n\n        <div class="form-feedback__control h-block '+(null!=(b=e.unless.call(null!=a?a:{},null!=a?a.beTextActive:a,{name:"unless",hash:{},fn:c.program(24,d,0),inverse:c.noop,data:d}))?b:"")+'">\n          <textarea class="text-input js_textarea_textbe" name="textbe" maxlength="500">'+
  c.escapeExpression((f=null!=(f=e.textBe||(null!=a?a.textBe:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"textBe",hash:{},data:d}):f))+'</textarea>\n          <div class="small_details h-bol-subtext-color js_counter_textbe" data-js-textarea="js_textarea_textbe"></div>\n        </div>\n      </div>\n    </div>\n\n    <p>Bekijk ook linkjes:</p>\n    <div class="checkbox-input">\n      <input class="js_wiki_header_top10link_enabled" id="top10LinkEnabled" name="top10LinkEnabled" type="checkbox" value="true" '+
  (null!=(b=e["if"].call(null!=a?a:{},null!=a?a.top10LinkEnabled:a,{name:"if",hash:{},fn:c.program(26,d,0),inverse:c.noop,data:d}))?b:"")+'>\n      <label for="top10LinkEnabled">Voeg een link naar de top 10 pagina toe</label>\n    </div>\n    <table id="wiki-header-shelf-links" class="rsp-table">\n      <thead>\n        <tr>\n          <th>Bol.com url</th>\n          <th>Nederlandse titel</th>\n          <th>Vlaamse titel</th>\n        </tr>\n      </thead>\n      <tbody>\n'+(null!=(b=e.each.call(null!=
  a?a:{},null!=a?a.links:a,{name:"each",hash:{},fn:c.program(28,d,0),inverse:c.noop,data:d}))?b:"")+'      </tbody>\n      <tfoot class="legend">\n        <tr>\n          <td colspan="3">\n            <i>De keuzewizard en informatiepagina worden automatisch ontsloten indien ze beschikbaar zijn voor het schap. Indien dit het geval is en er is ook een automatische top 10, dan worden de handmatige linkjes nummer 2, 3 en 4 overschreven.</i>\n          </td>\n        </tr>\n      </tfoot>\n    </table>\n\n    <div class="h-txt-right h-bottom--s">\n      <div class="c-btn-tertiary--large h-right--xs">\n        <a href="#" class="js_wiki_header_cancel">Annuleren</a>\n      </div>\n      <div class="c-btn-primary--large">\n        <a href="#" class="js_wiki_header_save">Bewaren</a>\n      </div>\n    </div>\n'},
  9:function(c,a,e,g,d){var b;return'          <div class="notification notification--error h-boxedbottom--s">\n            <h2 class="notification__title">De wijzigingen zijn niet succesvol opgeslagen</h2>\n            <ul class="notification__list">\n'+(null!=(b=e.each.call(null!=a?a:{},null!=a?a.errorMessages:a,{name:"each",hash:{},fn:c.program(10,d,0),inverse:c.noop,data:d}))?b:"")+"            </ul>\n          </div>\n"},10:function(c,a,e,g,d){return"                <li>"+c.escapeExpression(c.lambda(a,
  a))+"</li>\n"},12:function(c,a,e,g,d){var b,f;return'          <div class="notification h-boxedbottom--s">\n            <h2 class="notification__title">Let op:</h2>\n            <p>\n              Je gaat nu een specifieke schaptekst schrijven voor '+c.escapeExpression((f=null!=(f=e.shelfName||(null!=a?a.shelfName:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"shelfName",hash:{},data:d}):f))+' met filter:\n            </p>\n            <ul class="notification__list">\n'+(null!=
  (b=e.each.call(null!=a?a:{},null!=a?a.refinementNames:a,{name:"each",hash:{},fn:c.program(10,d,0),inverse:c.noop,data:d}))?b:"")+"            </ul>\n          </div>\n"},14:function(c,a,e,g,d){return"is-active"},16:function(c,a,e,g,d){return'              <a class="nav-tab__link js_wiki_header_tab" href="#" data-country="nl">Nederlands</a>\n'},18:function(c,a,e,g,d){return'              <span class="nav-tab__link">Nederlands</span>\n'},20:function(c,a,e,g,d){return'              <span class="nav-tab__link">Vlaams</span>\n'},
  22:function(c,a,e,g,d){return'              <a class="nav-tab__link js_wiki_header_tab" href="#" data-country="be">Vlaams</a>\n'},24:function(c,a,e,g,d){return"is-hidden"},26:function(c,a,e,g,d){return"checked"},28:function(c,a,e,g,d){var b,f;return'            <tr class="js_wiki_header_shelf_link">\n              <td data-th="Bol.com url" '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.disabled:a,{name:"if",hash:{},fn:c.program(29,d,0),inverse:c.noop,data:d}))?b:"")+'>\n                <div class="flex-grid flex-grid--xs flex-grid--middle">\n                  <span class="flex-item fluid">www.bol.com</span>\n                  <div class="flex-item flex-item--grow fluid">\n                    <label class="h-block">\n                      <div class="form-feedback__control h-block">\n                        <input data-name="url" class="text-input" type="text" value="'+
  c.escapeExpression((f=null!=(f=e.url||(null!=a?a.url:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"url",hash:{},data:d}):f))+'">\n                      </div>\n                    </label>\n                  </div>\n                </div>\n              </td>\n              <td data-th="Nederlandse titel" '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.disabled:a,{name:"if",hash:{},fn:c.program(29,d,0),inverse:c.noop,data:d}))?b:"")+'>\n                <label class="h-block">\n                  <div class="form-feedback__control h-block">\n                    <input data-name="urlTextNl" class="text-input" type="text" value="'+
  c.escapeExpression((f=null!=(f=e.urlTextNl||(null!=a?a.urlTextNl:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"urlTextNl",hash:{},data:d}):f))+'" maxlength="40">\n                  </div>\n                </label>\n              </td>\n              <td data-th="Vlaamse titel" '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.disabled:a,{name:"if",hash:{},fn:c.program(29,d,0),inverse:c.noop,data:d}))?b:"")+'>\n                <label class="h-block">\n                  <div class="form-feedback__control h-block">\n                    <input data-name="urlTextBe" class="text-input" type="text" value="'+
  c.escapeExpression((f=null!=(f=e.urlTextBe||(null!=a?a.urlTextBe:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"urlTextBe",hash:{},data:d}):f))+'" maxlength="40">\n                  </div>\n                </label>\n              </td>\n            </tr>\n'},29:function(c,a,e,g,d){return'class="is--disabled"'},useData:!0});k=Handlebars4.templates=Handlebars4.templates||{};k.LISTPAGE_WIKI_HEADER_EDIT_V2_WIKI_HEADER=l;k=Handlebars4.partials=Handlebars4.partials||{};k.LISTPAGE_WIKI_HEADER_EDIT_V2_WIKI_HEADER=
  l;l=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,e,g,d){var b;return null!=(b=e["if"].call(null!=a?a:{},null!=a?a.description:a,{name:"if",hash:{},fn:c.program(1,d,0),inverse:c.noop,data:d}))?b:""},1:function(c,a,e,g,d){var b,f;return'  <div id="wiki_header" class="h-boxedbottom--m">\n    <div class="shelf-info js_wiki_header">\n      <p class="shelf-info__text">'+c.escapeExpression((f=null!=(f=e.description||(null!=a?a.description:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=
  a?a:{},{name:"description",hash:{},data:d}):f))+"</p>\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.links:a,{name:"if",hash:{},fn:c.program(2,d,0),inverse:c.noop,data:d}))?b:"")+'      <div class="shelf-info__trigger">\n        <a class="shelf-info__trigger-expand js_wiki_header_trigger px_common_shelftext_expand">Meer</a>\n        <a class="shelf-info__trigger-collapse js_wiki_header_trigger">Minder</a>\n      </div>\n    </div>\n  </div>\n'},2:function(c,a,e,g,d){var b,f;return'        <div class="shelf-info__links small_details">\n          <span class="shelf-info__links-header">\n            Bekijk ook:\n          </span>\n\n          '+
  (null!=(b=(f=null!=(f=e.openChoiceWizard||(null!=a?a.openChoiceWizard:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"openChoiceWizard",hash:{},data:d}):f))?b:"")+"\n"+(null!=(b=e.each.call(null!=a?a:{},null!=a?a.links:a,{name:"each",hash:{},fn:c.program(3,d,0),inverse:c.noop,data:d}))?b:"")+"        </div>\n"},3:function(c,a,e,g,d){var b;return'            <div class="shelf-info__link">\n              <div class="c-btn-quaternary--medium">\n                <a href="'+c.escapeExpression((b=
  null!=(b=e.href||(null!=a?a.href:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"href",hash:{},data:d}):b))+'">'+c.escapeExpression((b=null!=(b=e.text||(null!=a?a.text:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"text",hash:{},data:d}):b))+"</a>\n              </div>\n            </div>\n"},useData:!0});k=Handlebars4.templates=Handlebars4.templates||{};k.LISTPAGE_WIKI_HEADER_DEFAULT_V1_WIKI_HEADER=l;k=Handlebars4.partials=Handlebars4.partials||{};k.LISTPAGE_WIKI_HEADER_DEFAULT_V1_WIKI_HEADER=
  l;l=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,e,g,d){var b;return null!=(b=e["if"].call(null!=a?a:{},null!=a?a.description:a,{name:"if",hash:{},fn:c.program(1,d,0),inverse:c.noop,data:d}))?b:""},1:function(c,a,e,g,d){var b,f;return'  <div id="wiki_header" class="h-boxedbottom--m">\n    <div class="shelf-info js_wiki_header">\n      <p class="shelf-info__text">'+c.escapeExpression((f=null!=(f=e.description||(null!=a?a.description:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=
  a?a:{},{name:"description",hash:{},data:d}):f))+"</p>\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.links:a,{name:"if",hash:{},fn:c.program(2,d,0),inverse:c.noop,data:d}))?b:"")+'      <div class="shelf-info__trigger">\n        <a class="shelf-info__trigger-expand js_wiki_header_trigger px_common_shelftext_expand">Meer</a>\n        <a class="shelf-info__trigger-collapse js_wiki_header_trigger">Minder</a>\n      </div>\n    </div>\n  </div>\n'},2:function(c,a,e,g,d){var b;return'        <div class="shelf-info__links small_details">\n          <span class="shelf-info__links-header">\n            Bekijk ook:\n          </span>\n\n'+
  (null!=(b=e.each.call(null!=a?a:{},null!=a?a.links:a,{name:"each",hash:{},fn:c.program(3,d,0),inverse:c.noop,data:d}))?b:"")+"        </div>\n"},3:function(c,a,e,g,d){var b;return'            <div class="shelf-info__link">\n              <div class="c-btn-quaternary--medium">\n                <a href="'+c.escapeExpression((b=null!=(b=e.href||(null!=a?a.href:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"href",hash:{},data:d}):b))+'">'+c.escapeExpression((b=null!=(b=e.text||
  (null!=a?a.text:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"text",hash:{},data:d}):b))+"</a>\n              </div>\n            </div>\n"},useData:!0});k=Handlebars4.templates=Handlebars4.templates||{};k.LISTPAGE_WIKI_HEADER_DEFAULT_V2_WIKI_HEADER=l;k=Handlebars4.partials=Handlebars4.partials||{};k.LISTPAGE_WIKI_HEADER_DEFAULT_V2_WIKI_HEADER=l;l=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,e,g,d,b,f){var k,h;return'<div class="'+c.escapeExpression((h=
  null!=(h=e.slotType||(null!=a?a.slotType:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"slotType",hash:{},data:d}):h))+' h-bottom--xl" id="'+c.escapeExpression((h=null!=(h=e.slotType||(null!=a?a.slotType:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"slotType",hash:{},data:d}):h))+"_"+c.escapeExpression((h=null!=(h=e.slotId||(null!=a?a.slotId:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"slotId",hash:{},data:d}):h))+'">\n'+(null!=
  (k=e["if"].call(null!=a?a:{},null!=a?a.trigger:a,{name:"if",hash:{},fn:c.program(1,d,0,b,f),inverse:c.program(6,d,0,b,f),data:d}))?k:"")+'\n  <div class="filmstrip-container">\n    <div class="filmstrip-viewport">\n      <ol class="filmstrip">\n'+(null!=(k=e.each.call(null!=a?a:{},null!=a?a.products:a,{name:"each",hash:{},fn:c.program(13,d,0,b,f),inverse:c.noop,data:d}))?k:"")+'      </ol>\n    </div>\n    <a href="" class="[ filmstrip-controls  filmstrip-controls--prev ]  js_carousel_previous" style="display: none;">\n      <span class="sb sb-chevron-back"></span>\n    </a>\n    <a href="" class="[ filmstrip-controls  filmstrip-controls--next ]  js_carousel_next" style="display: none;">\n      <span class="sb sb-chevron-next"></span>\n    </a>\n  </div>\n'+
  (null!=(k=e["if"].call(null!=a?a:{},null!=a?a.link:a,{name:"if",hash:{},fn:c.program(29,d,0,b,f),inverse:c.noop,data:d}))?k:"")+"</div>\n\n"},1:function(c,a,e,g,d){var b,f;return'    <div class="media medium--is-hidden h-bottom--s js_trigger" '+(null!=(b=e["if"].call(null!=a?a:{},null!=(b=null!=a?a.trigger:a)?b.inviewPixelUrl:b,{name:"if",hash:{},fn:c.program(2,d,0),inverse:c.noop,data:d}))?b:"")+'>\n      <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" class="product-item__image-link">\n        <img title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" alt="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" src="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.miniImageUrl:b,a))+'" class="media__img trigger__img media__img--mini">\n      </a>\n      <p class="media__body">\n        '+c.escapeExpression((f=
  null!=(f=e.title||(null!=a?a.title:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"title",hash:{},data:d}):f))+'<br/>\n        <a class="product-item__name" href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" data-test="title">'+(null!=(b=c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayNameTruncated:b,a))?b:"")+"</a>\n      </p>\n    </div>\n\n"+(null!=(b=e.unless.call(null!=
  a?a:{},null!=a?a.isSingleTitleSlot:a,{name:"unless",hash:{},fn:c.program(4,d,0),inverse:c.noop,data:d}))?b:"")},2:function(c,a,e,g,d){var b;return'data-pixel-url="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.inviewPixelUrl:b,a))+'"'},4:function(c,a,e,g,d){var b;return'      <h2 class="h-bottom--s">'+c.escapeExpression((b=null!=(b=e.titleExtension||(null!=a?a.titleExtension:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"titleExtension",hash:{},data:d}):b))+
  "</h2>\n"},6:function(c,a,e,g,d){var b,f;return'\n    <h2 class="'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.subTitle:a,{name:"if",hash:{},fn:c.program(7,d,0),inverse:c.program(9,d,0),data:d}))?b:"")+'">\n      '+c.escapeExpression((f=null!=(f=e.title||(null!=a?a.title:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"title",hash:{},data:d}):f))+"\n    </h2>\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.subTitle:a,{name:"if",hash:{},fn:c.program(11,d,0),inverse:c.noop,
  data:d}))?b:"")+"\n"},7:function(c,a,e,g,d){return"h-bottom--0"},9:function(c,a,e,g,d){return"h-bottom--s"},11:function(c,a,e,g,d){var b,f;return'      <p class="subtitle bottom_s">'+(null!=(b=(f=null!=(f=e.subTitle||(null!=a?a.subTitle:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"subTitle",hash:{},data:d}):f))?b:"")+"</p>\n"},13:function(c,a,e,g,d,b,f){var k,h;return'          <li class="filmstrip__card js_personal_product" '+(null!=(k=e["if"].call(null!=a?a:{},null!=a?
  a.inviewPixelUrl:a,{name:"if",hash:{},fn:c.program(14,d,0,b,f),inverse:c.noop,data:d}))?k:"")+'>\n            <div class="product-item filmstrip__card-content">\n              <div class="product-item__image">\n                <a class="product-image product-image--tout product-image--tile" href="'+c.escapeExpression((h=null!=(h=e.url||(null!=a?a.url:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"url",hash:{},data:d}):h))+'" title="'+c.escapeExpression((h=null!=(h=e.displayName||
  (null!=a?a.displayName:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"displayName",hash:{},data:d}):h))+'">\n                  <img title="'+c.escapeExpression((h=null!=(h=e.displayName||(null!=a?a.displayName:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"displayName",hash:{},data:d}):h))+'" alt="'+c.escapeExpression((h=null!=(h=e.displayName||(null!=a?a.displayName:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"displayName",
  hash:{},data:d}):h))+'" src="'+c.escapeExpression((h=null!=(h=e.imageUrl||(null!=a?a.imageUrl:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"imageUrl",hash:{},data:d}):h))+'">\n                </a>\n              </div>\n              <div class="product-item__content">\n'+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.creator:a,{name:"if",hash:{},fn:c.program(16,d,0,b,f),inverse:c.noop,data:d}))?k:"")+'\n                <a href="'+c.escapeExpression((h=null!=(h=e.url||(null!=
  a?a.url:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"url",hash:{},data:d}):h))+'" class="product-title product-title--placeholder">\n                  '+c.escapeExpression((h=null!=(h=e.displayNameTruncated||(null!=a?a.displayNameTruncated:a))?h:e.helperMissing,"function"===typeof h?h.call(null!=a?a:{},{name:"displayNameTruncated",hash:{},data:d}):h))+"\n                </a>\n\n"+(null!=(k=e["if"].call(null!=a?a:{},null!=f[1]?f[1].showSecondHand:f[1],{name:"if",hash:{},fn:c.program(18,
  d,0,b,f),inverse:c.noop,data:d}))?k:"")+"\n"+(null!=(k=e["if"].call(null!=a?a:{},null!=f[1]?f[1].showReviews:f[1],{name:"if",hash:{},fn:c.program(21,d,0,b,f),inverse:c.noop,data:d}))?k:"")+"\n"+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.price:a,{name:"if",hash:{},fn:c.program(26,d,0,b,f),inverse:c.noop,data:d}))?k:"")+"              </div>\n            </div>\n          </li>\n"},14:function(c,a,e,g,d){var b;return'data-pixel-url="'+c.escapeExpression((b=null!=(b=e.inviewPixelUrl||(null!=a?a.inviewPixelUrl:
  a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"inviewPixelUrl",hash:{},data:d}):b))+'"'},16:function(c,a,e,g,d){var b;return'                  <ul class="product-creator product-creator--crop">\n                    <li>\n                      <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.creator:a)?b.href:b,a))+'">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.creator:a)?b.label:b,a))+"</a>\n                    </li>\n                  </ul>\n"},18:function(c,
  a,e,g,d){var b;return'                  <div style="height: 2em">\n                    '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.secondHand:a,{name:"if",hash:{},fn:c.program(19,d,0),inverse:c.noop,data:d}))?b:"")+"\n                  </div>\n"},19:function(c,a,e,g,d){return'<span class="labels label_secondary">Tweedehands</span>'},21:function(c,a,e,g,d){var b;return null!=(b=e["if"].call(null!=a?a:{},null!=a?a.reviewsPercentage:a,{name:"if",hash:{},fn:c.program(22,d,0),inverse:c.program(24,
  d,0),data:d}))?b:""},22:function(c,a,e,g,d){var b;return'                    <div class="rating-stars" data-test="rating-stars">\n                      <span class="rating-stars__value" style="width: '+c.escapeExpression((b=null!=(b=e.reviewsPercentage||(null!=a?a.reviewsPercentage:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"reviewsPercentage",hash:{},data:d}):b))+'%"></span>\n                    </div>\n'},24:function(c,a,e,g,d){return'                    <div class="rating-stars rating-stars--no-rating"></div>\n'},
  26:function(c,a,e,g,d){var b,f;return'                  <div class="product-prices">\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.showListPrice:a,{name:"if",hash:{},fn:c.program(27,d,0),inverse:c.noop,data:d}))?b:"")+'                    <span class="product-prices__currency product-prices__bol-price">'+c.escapeExpression((f=null!=(f=e.price||(null!=a?a.price:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"price",hash:{},data:d}):f))+"</span>\n                  </div>\n"},
  27:function(c,a,e,g,d){var b;return'                      <del class="product-prices__currency product-prices__list-price">'+c.escapeExpression((b=null!=(b=e.listPrice||(null!=a?a.listPrice:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"listPrice",hash:{},data:d}):b))+"</del>\n"},29:function(c,a,e,g,d){var b;return'    <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.link:a)?b.href:b,a))+'" class="link-cta">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.link:a)?
  b.label:b,a))+"</a>\n"},useData:!0,useDepths:!0});k=Handlebars4.templates=Handlebars4.templates||{};k.PERSONALISATION_TILE_SLOT_V1_TILE_SLOT_SMALL=l;k=Handlebars4.partials=Handlebars4.partials||{};k.PERSONALISATION_TILE_SLOT_V1_TILE_SLOT_SMALL=l})();(function(c,d,g){function h(c){var b=new d.Deferred;window.$RNWY.loader().win(c.templateUrl).win(function(){b.resolve(e.template(c.templateName))});return b}var e=c.core.namespace("com.bol.template").Template;window.tileStarter={handleTiles:function(e){var b=!1;g(e.slots).each(function(a){"ONE_PLUS_N"===a.slotType&&(b=!0);h(a).done(function(e){var f=d("#tile_placeholder_"+a.domId);f.html(e(a));a.slotInviewPixelUrl&&c.utils.InViewTracking.addParent(f,a.slotInviewPixelUrl);f.find(".js_personal_product").each(function(){var a=
  d(this),b=a.attr("data-pixel-url");b&&c.utils.InViewTracking.addParent(a,b)});f.find(".js_trigger").each(function(){var a=d(this),b=a.attr("data-pixel-url");b&&c.utils.InViewTracking.addParent(a,b)});new window.WSP.core.CarouselFilmstrip({$carouselContainerEl:f.find(".filmstrip-container:first")});b||d(".personal-slots__one-plus-n").remove()})})},cleanupTiles:function(){d(".js_tile_placeholder").remove()}}})(window.WSP,jQuery,_);(function(){var l=Handlebars4.template({compiler:[7,">= 4.0.0"],main:function(c,a,e,h,d,b,f){var k,g;return'<div class="explore-slot h-bottom--s" id="explore_slot_'+c.escapeExpression((g=null!=(g=e.slotId||(null!=a?a.slotId:a))?g:e.helperMissing,"function"===typeof g?g.call(null!=a?a:{},{name:"slotId",hash:{},data:d}):g))+'">\n'+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.isTriggerSlot:a,{name:"if",hash:{},fn:c.program(1,d,0,b,f),inverse:c.program(6,d,0,b,f),data:d}))?k:"")+'\n  <div class="filmstrip-container h-bottom--s">\n    <div class="filmstrip-viewport">\n'+
  (null!=(k=e["if"].call(null!=a?a:{},null!=a?a.products:a,{name:"if",hash:{},fn:c.program(13,d,0,b,f),inverse:c.program(32,d,0,b,f),data:d}))?k:"")+'    </div>\n  </div>\n  <hr class="rule rule-thin h-boxedbottom--l">\n</div>\n'},1:function(c,a,e,h,d){var b;return(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.trigger:a,{name:"if",hash:{},fn:c.program(2,d,0),inverse:c.noop,data:d}))?b:"")+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.titleExtension:a,{name:"if",hash:{},fn:c.program(4,d,0),inverse:c.noop,
  data:d}))?b:"")},2:function(c,a,e,h,d){var b,f;return'      <div class="media h-bottom--s">\n        <a href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" class="product-item__image-link">\n          <img title="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" alt="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayName:b,a))+'" src="'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.miniImageUrl:b,a))+'" class="media__img trigger__img media__img--mini">\n        </a>\n        <p class="media__body">\n          '+c.escapeExpression((f=null!=(f=e.title||(null!=a?a.title:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"title",hash:{},data:d}):f))+'<br/>\n          <a class="product-title" href="'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.trigger:a)?b.url:b,a))+'" title="'+c.escapeExpression(c.lambda(null!=
  (b=null!=a?a.trigger:a)?b.displayName:b,a))+'" data-test="title">'+(null!=(b=c.lambda(null!=(b=null!=a?a.trigger:a)?b.displayNameTruncated:b,a))?b:"")+"</a>\n        </p>\n      </div>\n"},4:function(c,a,e,h,d){var b,f;return'      <p class="bottom_s">'+(null!=(b=(f=null!=(f=e.titleExtension||(null!=a?a.titleExtension:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"titleExtension",hash:{},data:d}):f))?b:"")+"</p>\n"},6:function(c,a,e,h,d){var b,f;return'    <h2 class="'+(null!=
  (b=e["if"].call(null!=a?a:{},null!=a?a.subtitle:a,{name:"if",hash:{},fn:c.program(7,d,0),inverse:c.program(9,d,0),data:d}))?b:"")+'">'+c.escapeExpression((f=null!=(f=e.title||(null!=a?a.title:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"title",hash:{},data:d}):f))+"</h2>\n"+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.subtitle:a,{name:"if",hash:{},fn:c.program(11,d,0),inverse:c.noop,data:d}))?b:"")},7:function(c,a,e,h,d){return"h-bottom--0"},9:function(c,a,e,h,d){return"h-bottom--s"},
  11:function(c,a,e,h,d){var b;return'      <h2 class="sub-title h-bottom--s">'+c.escapeExpression((b=null!=(b=e.subtitle||(null!=a?a.subtitle:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"subtitle",hash:{},data:d}):b))+"</h2>\n"},13:function(c,a,e,h,d,b,f){var k;return'        <ol class="filmstrip">\n'+(null!=(k=e.each.call(null!=a?a:{},null!=a?a.products:a,{name:"each",hash:{},fn:c.program(14,d,0,b,f),inverse:c.noop,data:d}))?k:"")+"        </ol>\n"},14:function(c,a,e,h,d,
  b,f){var k,g;return'            <li class="filmstrip__card">\n              <div class="product-item filmstrip__card-content">\n                <div class="product-item__image">\n                  <a class="product-image product-image--tout product-image--tile js_product_image" href="'+c.escapeExpression((g=null!=(g=e.url||(null!=a?a.url:a))?g:e.helperMissing,"function"===typeof g?g.call(null!=a?a:{},{name:"url",hash:{},data:d}):g))+'" title="'+c.escapeExpression((g=null!=(g=e.displayName||(null!=
  a?a.displayName:a))?g:e.helperMissing,"function"===typeof g?g.call(null!=a?a:{},{name:"displayName",hash:{},data:d}):g))+'">\n'+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.isImageDeferred:a,{name:"if",hash:{},fn:c.program(15,d,0,b,f),inverse:c.program(17,d,0,b,f),data:d}))?k:"")+'                  </a>\n                </div>\n                <div class="product-item__content">\n\n                  <ul class="product-creator product-creator--crop">\n'+(null!=(k=e.each.call(null!=a?a:{},null!=a?
  a.partyLinks:a,{name:"each",hash:{},fn:c.program(19,d,0,b,f),inverse:c.noop,data:d}))?k:"")+'                  </ul>\n\n                  <a href="'+c.escapeExpression((g=null!=(g=e.url||(null!=a?a.url:a))?g:e.helperMissing,"function"===typeof g?g.call(null!=a?a:{},{name:"url",hash:{},data:d}):g))+'" class="product-title product-title--placeholder">'+c.escapeExpression((g=null!=(g=e.displayName||(null!=a?a.displayName:a))?g:e.helperMissing,"function"===typeof g?g.call(null!=a?a:{},{name:"displayName",
  hash:{},data:d}):g))+"</a>\n\n"+(null!=(k=e["if"].call(null!=a?a:{},null!=f[1]?f[1].showSecondHand:f[1],{name:"if",hash:{},fn:c.program(21,d,0,b,f),inverse:c.noop,data:d}))?k:"")+"\n"+(null!=(k=e["if"].call(null!=a?a:{},null!=f[1]?f[1].showReviews:f[1],{name:"if",hash:{},fn:c.program(24,d,0,b,f),inverse:c.noop,data:d}))?k:"")+"\n"+(null!=(k=e["if"].call(null!=a?a:{},null!=a?a.price:a,{name:"if",hash:{},fn:c.program(29,d,0,b,f),inverse:c.noop,data:d}))?k:"")+"                </div>\n              </div>\n            </li>\n"},
  15:function(c,a,e,h,d){var b;return'                      <div class="h-absolute js_image_holder" data-alt="'+c.escapeExpression((b=null!=(b=e.displayName||(null!=a?a.displayName:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"displayName",hash:{},data:d}):b))+'" data-src="'+c.escapeExpression((b=null!=(b=e.imageUrl||(null!=a?a.imageUrl:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"imageUrl",hash:{},data:d}):b))+'">\n                        <div class="is-loading h-top--l">\n                          <div class="css-loader"></div>\n                        </div>\n                      </div>\n'},
  17:function(c,a,e,h,d){var b;return'                      <img alt="'+c.escapeExpression((b=null!=(b=e.displayName||(null!=a?a.displayName:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"displayName",hash:{},data:d}):b))+'" src="'+c.escapeExpression((b=null!=(b=e.imageUrl||(null!=a?a.imageUrl:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"imageUrl",hash:{},data:d}):b))+'">\n'},19:function(c,a,e,h,d){var b;return'                      <li>\n                        <a href="'+
  c.escapeExpression((b=null!=(b=e.href||(null!=a?a.href:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"href",hash:{},data:d}):b))+'">'+c.escapeExpression((b=null!=(b=e.label||(null!=a?a.label:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"label",hash:{},data:d}):b))+"</a>\n                      </li>\n"},21:function(c,a,e,h,d){var b;return'                    <div style="height: 2em">\n                      '+(null!=(b=e["if"].call(null!=a?a:{},null!=
  a?a.secondHand:a,{name:"if",hash:{},fn:c.program(22,d,0),inverse:c.noop,data:d}))?b:"")+"\n                    </div>\n"},22:function(c,a,e,h,d){return'<span class="labels label_secondary">Tweedehands</span>'},24:function(c,a,e,h,d){var b;return null!=(b=e["if"].call(null!=a?a:{},null!=a?a.reviewsPercentage:a,{name:"if",hash:{},fn:c.program(25,d,0),inverse:c.program(27,d,0),data:d}))?b:""},25:function(c,a,e,h,d){var b;return'                      <div class="rating-stars" data-test="rating-stars">\n                        <span class="rating-stars__value" style="width: '+
  c.escapeExpression((b=null!=(b=e.reviewsPercentage||(null!=a?a.reviewsPercentage:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"reviewsPercentage",hash:{},data:d}):b))+'%"></span>\n                      </div>\n'},27:function(c,a,e,h,d){return'                      <div class="rating-stars rating-stars--no-rating"></div>\n'},29:function(c,a,e,h,d){var b,f;return'                    <div class="product-prices">\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.showListPrice:
  a,{name:"if",hash:{},fn:c.program(30,d,0),inverse:c.noop,data:d}))?b:"")+'                      <span class="product-prices__currency product-prices__bol-price">'+c.escapeExpression((f=null!=(f=e.price||(null!=a?a.price:a))?f:e.helperMissing,"function"===typeof f?f.call(null!=a?a:{},{name:"price",hash:{},data:d}):f))+"</span>\n                    </div>\n"},30:function(c,a,e,h,d){var b;return'                        <del class="product-prices__currency product-prices__list-price">'+c.escapeExpression((b=
  null!=(b=e.listPrice||(null!=a?a.listPrice:a))?b:e.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"listPrice",hash:{},data:d}):b))+"</del>\n"},32:function(c,a,e,h,d){return'        <div class="is-loading h-txt-center h-top--xxl h-bottom--xxl h-boxedbottom--l">\n          <div class="css-loader"></div>\n        </div>\n'},useData:!0,useDepths:!0});(Handlebars4.templates=Handlebars4.templates||{}).EXPLORE_SLOTS_EXPLORE_SLOT_MOBILE_V1_EXPLORE_SLOT=l;(Handlebars4.partials=Handlebars4.partials||
  {}).EXPLORE_SLOTS_EXPLORE_SLOT_MOBILE_V1_EXPLORE_SLOT=l})();});
  $RNWY.define("live-chat",function(){"undefined"===typeof WSP.LiveChat&&(WSP.LiveChat={});
  WSP.LiveChat.trackEvents={tCobrowserLoad:function(a,b,c){return!1},tReactiveMatch:function(a,b,c){return!1},tReactiveChatOnlineSeen:function(a,b,c){return!1},tReactiveChatOfflineSeen:function(a,b,c){return!1},tAgentsLoggedIn:function(a,b,c){return!1},tAgentsLoggedOut:function(a,b,c){return!1},tProactiveMatch:function(a,b,c){window.px("chat.proactive.message",{message:"match"});return!1},tProactiveChatSeen:function(a,b,c){window.px("chat.proactive.message",{message:"seen"});return!1},tReactiveChatAccepted:function(a,
  b,c){return!1},tProactiveChatDeclined:function(a,b,c){window.px("chat.proactive.message",{message:"declined"});return!1},tProactiveChatAccepted:function(a,b,c){window.px("chat.proactive.message",{message:"accepted"});return!1},tProactiveChatOverInvite:function(a,b,c){return!1},tProactiveChatExpired:function(a,b,c){return!1},tProactiveChatCancelled:function(a,b,c){return!1},tChatWindowActive:function(a,b,c){return!1},tVisitorReply:function(a,b,c){return!1},tAgentReply:function(a,b,c){return!1},tChatInteraction:function(a,
  b,c){return!1},tChatClosedByVisitor:function(a,b,c){return!1},tChatClosedByAgent:function(a,b,c){return!1},tAgentsAvailable:function(a,b,c){return!1},tAgentsUnavailable:function(a,b,c){return!1},tAlreadyInteracted:function(a,b,c){return!1},tTooMuchInvites:function(a,b,c){return!1},setName:function(a){}};window.CobrowserChatApi=function(f){var e=this;this.ENVIRONMENT=this.USE_ENVIRONMENTS=!1;f&&(this.tracker=f.tracker);this.isLoaded=!1;this._includeCobrowser=function(a){if(!e.isLoaded){window.cbInitReady=function(){e.isLoaded=!0;void 0!==a&&a()};window._cbSettings={};this.tracker&&(window._cbSettings.webAnalyticsTracker=_.bind(function(){return this.tracker},this));window._cbSettings.sessionLifetime=180;window._cbSettings.sessionKeepAlive="chat";window._cbSettings.pollMode="jsonp";if(this.USE_ENVIRONMENTS){var b=
  this._cookie("cb_env");if(null==b&&this.ENVIRONMENT)b=this.ENVIRONMENT;else if(null==b)throw"No ENVIRONMENT set";window._cbSettings.acc_id=b}(function(){var a=document.createElement("script");a.type="text/javascript";a.async=!0;a.id="cb_script";a.src=("https:"==document.location.protocol?"https://":"http://")+"client.cobrowser.net/connect/cobrowser.async.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})()}};this._checkAvailable=function(a){return window.Cobrowser._getListenerOnlineStatus(a)};
  this.agentsAvailable=function(a,b){e.isLoaded?b(e._checkAvailable(a),a):e._includeCobrowser(function(){b(e._checkAvailable(a),a)})};this.startChat=function(a,b){this.agentsAvailable(a,function(c){c&&window.Cobrowser._startChat(a);"undefined"!==typeof b&&b(c,a)})};this._cookie=function(a,b,c){if(void 0!==b){var d={path:"/",domain:this.domainName()};if(void 0!=c){var e;e=new Date;c=new Date(e.getTime()+1E3*c);d.expires=c}c=encodeURIComponent(a);b=(b+"").replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent);
  d=d||{};b=c+"="+b;b+=d.path?";path="+d.path:"";b+=d.domain?";domain="+d.domain:"";b+=d.expires?";expires="+d.expires.toUTCString():"";b+=d.secure?";secure":"";document.cookie=b}b=(new RegExp(a+"=([^;]+)")).exec(document.cookie);return null!=b?unescape(b[1]):null};this.keepAlive=function(){var a=this._cookie("cb_session");null!=a&&a==this._cookie("cb_lastconversation_session")&&this._includeCobrowser()};this.forceEnv=function(a){this.USE_ENVIRONMENTS&&(a?this._cookie("cb_env",a,31536E3):this._cookie("cb_env",
  "",-3600))};this.domainName=function(){var a=window.location.hostname.split(".");return this.domainWithDoubleTLD(window.location.hostname)?a[a.length-3]+"."+a[a.length-2]+"."+a[a.length-1]:a[a.length-2]+"."+a[a.length-1]};this.domainWithDoubleTLD=function(a){for(var b=".co.uk .co.nz .co.in .co.id .co.is .co.za .co.nz .co.jp .co.kr .co.ck .ac.uk .gov.uk .ltd.uk .gov.nl .me.uk .mod.uk .net.uk .nic.nl .nic.uk .org.uk .org.nl".split(" "),c=0;c<b.length;c++)if(a.substr(a.length-b[c].length)==b[c])return!0;
  return!1}};(function(d,c,f,b){var e=f.LiveChat={chatInfoObjectReady:"livechat:chat_info_object_ready"};d.createClass("LiveChat",{init:function(a){c.defineAttributes(this,[["buttonContainer","#livechat_container",a.buttonContainer],["baseUrlLoginCheck","/nl/ajax/reactiveChatEndpoint.html?slotId=",a.baseUrlLoginCheck],["tracker",null,a.tracker],["loadProactive",null,a.loadProactive],["stylesheetUrl","",a.stylesheetUrl]])&&(this.loadCoBrowser(),this.bindEvents(!0))},loadCoBrowser:function(){var a=window.cbReady;
  this._cb=new window.CobrowserChatApi({tracker:this.tracker});b(this.buttonContainer).length?(window.cbReady=function(){"function"===typeof a&&a();this.appendStylesheet();-1!==window.location.href.indexOf("startLiveChat=true")&&c.Cookie.isCookieSet("startCoBrowserOnNextPageLoad")&&-1===window.location.href.indexOf("redirectUrl")&&(c.Cookie.remove("startCoBrowserOnNextPageLoad"),this.startChat())}.bind(this),this._cb._includeCobrowser()):(window.cbReady=function(){"function"===typeof a&&a();this.appendStylesheet()}.bind(this),
  this.loadProactive?this._cb._includeCobrowser():this._cb.keepAlive())},appendStylesheet:function(){this.stylesheetUrl&&jQuery("head").prepend('<link id="cb_css" href="'+this.stylesheetUrl+'" rel="stylesheet" type="text/css" media="all" />')},startChat:function(){this.requestChatInfoObject();d.mediator.subscribe(e.chatInfoObjectReady,b.proxy(function(a){if(a.chatInfo.userInfo.loggedIn)c.Cookie.remove("chatCoBrowserStarted"),Cobrowser._setField("cb_firstname",a.chatInfo.userInfo.firstName),Cobrowser._setField("cb_lastname",
  a.chatInfo.userInfo.lastName),Cobrowser._setField("cb_city","Klantnummer: "+a.chatInfo.userInfo.customerId),this._cb.startChat(this.buttonContainer);else{this.showLoginNotificationWindow();if(c.Cookie.isCookieSet("chatCoBrowserStarted"))return!1;this.startChatOnPageLoad()}},this))},startChatOnPageLoad:function(){c.Cookie.isCookieSet("startCoBrowserOnNextPageLoad")||(c.Cookie.write("startCoBrowserOnNextPageLoad","true"),c.Cookie.write("chatCoBrowserStarted","false"))},requestChatInfoObject:function(){var a=
  b("#livechat_slot").attr("data-slot-id");b.ajax({url:this.baseUrlLoginCheck+a}).done(function(a){d.mediator.publish(e.chatInfoObjectReady,a)})},bindEvents:function(a){b(".js_start_livechat").on("click",b.proxy(function(a){a.preventDefault();c.Cookie.remove("chatCoBrowserStarted");this.startChat()},this))},getRedirectUrl:function(){return window.location.protocol+"//"+window.location.hostname+window.location.pathname+(""===window.location.search?"?startLiveChat=true":window.location.search+"&startLiveChat=true")},
  showLoginNotificationWindow:function(){0===b("#livechat_login_notification").length&&(b(document.body).prepend('<div class="box grid_411 notification_window right_bottom" id="livechat_login_notification" style="display: none;"><a class="js_close_overlay"></a><h2 class="top_xxs">Chat met bol.com</h2><p class="nosp">Graag eerst inloggen via <a href="{{accountLoginUrl}}">Mijn account</a> om te chatten met een medewerker.</p></div>'.replace("{{accountLoginUrl}}","/nl/account/login.html?redirectUrl="+
  this.getRedirectUrl())),b("body, #livechat_login_notification .js_close_overlay").on("click.livechat",b.proxy(function(a){this.hideLoginNotificationWindow()},this)).children().on("click.livechat_children",function(a){a.stopPropagation()}));b("#livechat_login_notification").fadeIn("100")},hideLoginNotificationWindow:function(){b("#livechat_login_notification").fadeOut("100")}})})(WSP.core,WSP.utils,WSP.events,jQuery);});
  $RNWY.define("live-presence",function(){Handlebars.templates = Handlebars.templates || {};Handlebars.templates["_helping_billy.active"]={compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){return'<div class="modal__window--close-hitarea js_close_overlay" data-test="chat-close-button"></div>\n<div class="modal__window--close  [ sb  sb-cross ]"></div>\n<h2 class="h3  chat-title" data-test="chat-header">\n  <div class="chat-symbol chat-symbol--xs">\n    <span class="sb sb-chat chat-symbol__icon-left"></span>\n    <span class="sb sb-chat chat-symbol__icon-right"></span>\n  </div>\n  Vraag het aan Billie\n</h2>\n\n<div id="chatContainer">\n  <div id="iLivePresenceChat">\n    <div id="iChatConversation">\n      <div id="iChatLinesAndTyping" class="i-chat-lines--popup">\n        <div id="iChatLines" class="clear_fix" title="Hier wordt je gesprek met bol.com getoond." data-test="chat-lines"></div>\n        <div id="iChatTyping" style="display: none;">Billie schrijft een bericht...</div>\n      </div>\n\n      <form accept-charset="utf-8" autocomplete="off" class="chat-input">\n        <div class="input-group">\n          <input type="text" class="text-input  cUntouched" onfocus="return gWebClient &amp;&amp; gWebClient.HandleFocus (this);" onkeypress="return gWebClient &amp;&amp; gWebClient.ProcessKey (event, this);" value="" title="Typ hier je bericht en druk vervolgens op de knop \'Versturen\'." maxlength="255" id="iChatInputField" placeholder="Je vraag of bericht" data-test="chat-input-field" />\n          \n\n          <div class="input-group__addon">\n            <div class="c-btn-primary--medium  h-boxedleft--s">\n              <input type="submit" onclick="gWebClient &amp;&amp; gWebClient.SubmitUserMessage (null); return false;" title="Typ een bericht in het tekstveld, en druk dan op deze knop om het bericht te zenden. (Of druk op ENTER)" value="Versturen" name="versturen" id="iChatInputButton" data-test="chat-input-send-button" />\n            </div>\n          </div>\n        </div>\n      </form>\n\n      \n    </div>\n  </div>\n</div>\n\n<object class="cb_controller" id="cb_config">\n    <param name="target" value="#livechat_container"/>\n    <param name="preset" value="klantenservice"/>\n</object>\n'},
  useData:!0};Handlebars.templates.helping_billy={compiler:[7,">= 4.0.0"],main:function(b,a,e,f,d){var c;return(null!=(c=e["if"].call(null!=a?a:{},null!=a?a.isStandby:a,{name:"if",hash:{},fn:b.program(1,d,0),inverse:b.noop,data:d}))?c:"")+"\n"+(null!=(c=e["if"].call(null!=a?a:{},null!=a?a.isWaiting:a,{name:"if",hash:{},fn:b.program(3,d,0),inverse:b.noop,data:d}))?c:"")+"\n"+(null!=(c=e["if"].call(null!=a?a:{},null!=a?a.isChatting:a,{name:"if",hash:{},fn:b.program(5,d,0),inverse:b.noop,data:d}))?c:"")},1:function(b,
  a,e,f,d){return"  <div class='helping-billy-dummy-input' id='iChatInputField'></div>\n"},3:function(b,a,e,f,d){var c;return"  <div class='helping-billy  is-waiting' data-test=\"initiate-help\">\n"+(null!=(c=b.invokePartial(f["_helping_billy.inactive"],a,{name:"_helping_billy.inactive",data:d,indent:"    ",helpers:e,partials:f,decorators:b.decorators}))?c:"")+"  </div>\n"},5:function(b,a,e,f,d){var c;return"  <div class='helping-billy  is-chatting' data-test=\"chat-active\">\n"+(null!=(c=b.invokePartial(f["_helping_billy.active"],
  a,{name:"_helping_billy.active",data:d,indent:"    ",helpers:e,partials:f,decorators:b.decorators}))?c:"")+"  </div>\n"},usePartial:!0,useData:!0};Handlebars.templates["_helping_billy.inactive"]={compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){return'<div class="fluid-grid fluid-grid--middle">\n  <div class="fluid-grid__item five-sixths small--one-whole">\n    <div class="chat-symbol">\n      <span class="sb sb-chat chat-symbol__icon-left"></span>\n      <span class="sb sb-chat chat-symbol__icon-right"></span>\n    </div>\n    <span>Hulp nodig?</span>\n  </div>\n  <div class="fluid-grid__item one-sixth small--is-hidden">\n    <span class="[ sb  sb-cross  sb-sign--narrow  sb-sign--subtext ]  fright  js_stop_chat"></span>\n  </div>\n</div>\n'},
  useData:!0};kChatServerUrl="http://chat1.bol.com/chat/";kAltChatServerUrl="https://chat1.bol.com/chat/";kInitialLanguage="nl-nl";kInitialAgentMessage="Welkom bij de virtuele assistent van bol.com. Waarmee kan ik je van dienst zijn?";kErrorTimestampPrefix="Weergegeven om ";kErrorMessagePrefix="De verbinding met de server ondervindt momenteel moeilijkheden. Excuses voor het ongemak.";kUserName="Je";kUserTimestampPrefix="Verzonden om ";kUserMessagePrefix=" zegt:";kAgentName="Billie";kAgentTimestampPrefix="Ontvangen om ";
  kAgentMessagePrefix=" zegt:";Ajax.getCrossDomainTransport=function(){return Try.these(function(){if(Prototype.Browser.IE)throw 0;return new XMLHttpRequest},function(){throw 0;},function(){Ajax.SwfHttpRequestElement();return new SWFHttpRequest})||!1};
  Ajax.SwfHttpRequestElement=function(){var a=document.getElementById("iSwfHttpRequest");if(a)return a;a=document.createElement("div");document.body.appendChild(a);a.innerHTML='<object id="iSwfHttpRequest" class="hidden" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="0" height="0"><param name="movie" value="swfhttprequest.swf" /><param name="allowScriptAccess" value="always" /><embed class="hidden" src="swfhttprequest.swf" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>';return a};
  Ajax.Request.addMethods({initialize:function($super,b,c){var d={contentType:"application/xml",xDomain:!1};Object.extend(d,c||{});$super(d);this.getTransportAndRequest(b,0)},getTransportAndRequest:function(a,b){(this.transport=this.options.xDomain?Ajax.getCrossDomainTransport():Ajax.getTransport())?this.request(a):20>b?this.getTransportAndRequest.bind(this).defer(a,b+1):this.dispatchException("Network")},request:function(a){this.url=a;this.method=this.options.method;a=Object.isString(this.options.parameters)?
  this.options.parameters:Object.toQueryString(this.options.parameters);["get","post"].include(this.method)||(a+=(a?"&":"")+"_method="+this.method,this.method="post");a&&"get"===this.method&&(this.url+=(this.url.include("?")?"&":"?")+a);this.parameters=a.toQueryParams();try{var b=new Ajax.Response(this);if(this.options.onCreate)this.options.onCreate(b);Ajax.Responders.dispatch("onCreate",this,b);this.options.xDomain?this.transport.open(this.method.toUpperCase(),this.url):this.transport.open(this.method.toUpperCase(),
  this.url,this.options.asynchronous);this.options.asynchronous&&this.respondToReadyState.bind(this).defer(1);this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body="post"==this.method?this.options.postBody||a:null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType)this.onStateChange()}catch(c){this.dispatchException(c)}}});kClientStartedKeyword="ClientStarted";kClientClosedKeyword="ClientClosed";
  kClientTimeoutKeyword="ClientTimeout";kChatContainerElementId="iLivePresenceChat";kConversationElementId="iChatLines";kScrollerElementId="iChatLinesAndTyping";kUserInputElementId="iChatInputField";kLargeInputElementId="iChatInputLargeField";kPasswordInputElementId="iChatInputPasswordField";kTypingElementId="iChatTyping";kUntouchedElementClass="cUntouched";kErrorElementClass="cErrorLine";kUserElementClass="cUserLine";kAvatarElementId="iChatAvatar";kAgentElementClass="cAgentLine";
  kActiveAgentLineElementId="iChatLine";kBalloonElementId="iChatBalloon";kActiveWindowNameSuffix="_ChatActive";kDraggableElementClass="cDraggable";kDragHandleElementClass="cDragHandle";kAllowUnsecureConnectionFromSecureLocation=!1;kDelayConnectionStart=!0;kDelayConnectionStartArgument="delay";kHintArgument="hint";kInputFragmentLength=kUserInputMaxLength=1500;kSlowUpdateTimeout=300;kSlowUpdateInterval=120;kActiveUpdateInterval=.5;kActiveUpdateTimeout=8;kPassiveUpdateInterval=3;
  kPassiveUpdateTimeout=120;kIdleUpdateInterval=30;kIdleUpdateTimeout=600;kForwardedUpdateInterval=3;kForwardedUpdateTimeout=1800;kTypingDelayEnabled=!1;kSubsequentTypingDelay=kInitialTypingDelay=.2;kMaximumTypingDelay=1;kTypingKeysPerMinute=600;kTypingRepetitiveKeysPerMinute=900;kDefaultTypingDelay=2;kSendExitSessionMessage=!1;kUserMessageBlocking=!0;kMouseClickPrefix="geklikt op ";kLoadErrorPrefix="load error ";kScriptErrorPrefix="script error ";kInputErrorPrefix="input error ";var Url=Class.create();
  Url.mArgumentCount=0;Url.mArguments=null;Url.GetArgumentCount=function(){Url.GetArguments();return Url.mArgumentCount};Url.GetArgument=function(a){if(a||0===a){var b,c;switch(typeof a){case "number":var d=0;if((c=Url.GetArguments())&&a<Url.mArgumentCount)for(b in c)if(c.hasOwnProperty(b)){if(d==a)return c[b];d++}break;case "string":return b=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),(c=Url.GetArguments())&&"object"===typeof c?c[b]:null}}return null};
  Url.GetArguments=function(){if(!Url.mArguments){var a;if(a=(a=document.URL.toString().match(/\?([^#]*)/))?a[1]:null){var b=a.split("&");if(b)for(Url.mArguments={},a=0;a<b.length;++a){var c=b[a].split("=");Url.mArguments[decodeURIComponent(c[0])]=c[1]?decodeURIComponent(c[1].replace(/\+/g," ")):void 0;Url.mArgumentCount++}}}return Url.mArguments};var Interface=Class.create();
  Interface.FindTarget=function(a,b){if(a){var c;for(c=b?b:window;c;c=c==c.top?null:c.parent){if(c.name==a)return c;var d=c.frames[a];if(d)return d.window?d.window:d}}return null};Interface.FindElement=function(a,b){if(a){var c="#"===a.charAt(0)?a.substr(1):a;if(c){var d;for(d=b?b:window;d;d=d==d.top?null:d.parent){var e=d.document.getElementById(c);if(e)return e}}}return null};
  Interface.Load=function(a,b,c,d,e,g,h){if(c){if("_self"===a||""==a||null===a)location.href=c;else if(d=Interface.FindTarget(a))d.location.href=c;else return Interface.OpenWindow(c,a,g,h);return!0}if(d&&("object"===typeof d&&"HTML"===d.nodeName.toUpperCase()&&null==d.firstChild&&(d=null),a="object"===typeof b?b:Interface.FindElement(b))){switch(e){case "insert":a.innerHTML=d+a.innerHTML;break;case "append":a.innerHTML+=d;a.scrollTop=a.scrollHeight;break;default:a.innerHTML=d}return!0}return!1};
  Interface.Clear=function(a){if(a="object"===typeof a?a:Interface.FindElement(a))a.innerHTML=""};Interface.ScrollDown=function(a){if(a="object"===typeof a?a:Interface.FindElement(a))a.scrollTop=a.scrollHeight};Interface.Insert=function(a,b,c){if(a="object"===typeof a?a:Interface.FindElement(a))a.innerHTML=b+a.innerHTML,c&&(a.scrollTop=0)};Interface.Append=function(a,b,c){if(a="object"===typeof a?a:Interface.FindElement(a))a.innerHTML+=b,c&&(a.scrollTop=a.scrollHeight)};
  Interface.Replace=function(a,b){var c="object"===typeof a?a:Interface.FindElement(a);c&&(c.innerHTML=b)};Interface.ReplaceAll=function(a,b,c){if(a="object"===typeof a?a:Interface.FindElement(a))a.innerHTML=a.innerHTML.replace(b,c)};Interface.Show=function(a,b){var c="object"===typeof a?a:Interface.FindElement(a);c&&(c.style.display=b?"inline":"block")};Interface.Hide=function(a){if(a="object"===typeof a?a:Interface.FindElement(a))a.style.display="none"};
  Interface.SetClass=function(a,b){var c="object"===typeof a?a:Interface.FindElement(a);c&&(c.className=b)};Interface.AddClass=function(a,b){var c="object"===typeof a?a:Interface.FindElement(a);$(c).addClassName(b)};Interface.RemoveClass=function(a,b){var c="object"===typeof a?a:Interface.FindElement(a);$(c).removeClassName(b)};Interface.GetColor=function(a){return(a="object"===typeof a?a:Interface.FindElement(a))?a.style.color:null};
  Interface.SetColor=function(a,b){var c="object"===typeof a?a:Interface.FindElement(a);c&&(c.style.color=b)};Interface.GetWidth=function(a){return(a="object"===typeof a?a:Interface.FindElement(a))?parseInt(a.style.width):null};Interface.SetWidth=function(a,b){var c="object"===typeof a?a:Interface.FindElement(a);c&&(c.style.width=Math.round(b)+"px")};Interface.GetHeight=function(a){return(a="object"===typeof a?a:Interface.FindElement(a))?parseInt(a.style.height):null};
  Interface.SetHeight=function(a,b){var c="object"===typeof a?a:Interface.FindElement(a);c&&(c.style.height=Math.round(b)+"px")};Interface.UpdateSifrElement=function(a,b){if("function"===typeof sIFR.replace){var c=document.getElementById(a);c&&(sIFR.dom.removeClass("sIFR-replaced",c),sIFR.replace(b,{selector:"#"+a}))}};Interface.OpenWindow=function(a,b,c,d){return a?window.open(a,b,(c?"width="+c+",":"")+(d?"height="+d+",":"")+"scrollbars=yes,toolbar=yes,location=yes"):null};var LEvent=Class.create();
  LEvent.Attribute={Type:"type",Action:"action"};LEvent.Type={UpdateClient:"update-client",ClientAction:"client-action"};LEvent.Name={Timeout:"time-out",Load:"load",Script:"script",Behaviour:"behaviour",Avatar:"avatar"};
  LEvent.Arg={UserId:"user-id",User:"user",Agent:"agent",Session:"session",Path:"path",Enabled:"enabled",Type:"type",Url:"url",Html:"html",Target:"target",Element:"element",Method:"method",Width:"width",Height:"height",InputType:"input-type",Forwarded:"forwarded",TypingDelay:"typing-delay",ActiveInterval:"active-interval",ActiveTimeout:"active-timeout",PassiveInterval:"passive-interval",PassiveTimeout:"passive-timeout",IdleInterval:"idle-interval",IdleTimeout:"idle-timeout",Expression:"expression"};
  LEvent.RegisteredEvents=[];LEvent.Register=function(a,b){LEvent.RegisteredEvents.push({mName:a,mClass:b})};LEvent.FindClassByName=function(a){for(i=0;i<LEvent.RegisteredEvents.length;++i)if(LEvent.RegisteredEvents[i].mName==a)return LEvent.RegisteredEvents[i].mClass;return null};LEvent.Create=function(a,b){var c=LEvent.FindClassByName(a);return c?new c(b):null};
  LEvent.ParseXml=function(a){var b,c=[];if(b=a.getAttribute(LEvent.Attribute.Type))if(b==LEvent.Type.ClientAction)if(b=a.getAttribute(LEvent.Attribute.Action))(b=LEvent.FindClassByName(b))&&c.push(new b(a));else for(a=a.firstChild;a;a=a.nextSibling)(b=a.tagName)&&(b=LEvent.FindClassByName(b))&&c.push(new b(a));else(b=LEvent.FindClassByName(b))&&c.push(new b(a));return c};
  LEvent.prototype={initialize:function(a,b,c,d){this.mType=a;this.mArgs=[];if(b&&c){var e,g="string"===typeof c||"object"===typeof c&&c.constructor.toString().match(/string/i);for(e=b.firstChild;e;e=e.nextSibling)if(1===e.nodeType&&(a=e.tagName)&&(g?c==a:0<=c.indexOf(a))){var h=!1,f;for(f=e.firstChild;f;f=f.nextSibling)if(1===f.nodeType){h=!0;break}this.mArgs[a]=h||null===e.firstChild?e:e.firstChild.nodeValue}if(1===b.nodeType&&(h=b.attributes))for(e=0;e<h.length;++e)(a=h[e].name)&&(g?c==a:0<=c.indexOf(a))&&
  (this.mArgs[a]=h[e].nodeValue)}b&&d&&1===b.nodeType&&(this.mBody=b.firstChild.nodeValue)},Execute:function(){},mType:null,mArgs:null,mBody:null};LEvent.Constructor=LEvent.prototype.initialize;var EventRegistration=Class.create();EventRegistration.prototype={initialize:function(a,b){LEvent.Register(a,b)}};var UpdateClientEvent=Class.create();UpdateClientEvent.UpdateHandler=null;UpdateClientEvent.SetUpdateHandler=function(a){UpdateClientEvent.UpdateHandler=a};
  Object.extend(UpdateClientEvent.prototype,LEvent.prototype);
  Object.extend(UpdateClientEvent.prototype,{initialize:function(a){LEvent.Constructor.call(this,LEvent.Type.UpdateClient,a,[LEvent.Arg.UserId,LEvent.Arg.Session,LEvent.Arg.Path])},Execute:function(){UpdateClientEvent.UpdateHandler&&UpdateClientEvent.UpdateHandler(this.mArgs[LEvent.Arg.UserId],this.mArgs[LEvent.Arg.Session],this.mArgs[LEvent.Arg.Path],this.mArgs[LEvent.Arg.ActiveInterval],this.mArgs[LEvent.Arg.ActiveTimeout],this.mArgs[LEvent.Arg.PassiveInterval],this.mArgs[LEvent.Arg.PassiveTimeout],
  this.mArgs[LEvent.Arg.IdleInterval],this.mArgs[LEvent.Arg.IdleTimeout])}});var LoadEvent=Class.create();LoadEvent.ErrorHandler=null;LoadEvent.SetErrorHandler=function(a){LoadEvent.ErrorHandler=a};Object.extend(LoadEvent.prototype,LEvent.prototype);
  Object.extend(LoadEvent.prototype,{initialize:function(a){LEvent.Constructor.call(this,LEvent.Name.Load,a,[LEvent.Arg.Target,LEvent.Arg.Element,LEvent.Arg.Html,LEvent.Arg.Url,LEvent.Arg.Method,LEvent.Arg.Width,LEvent.Arg.Height])},Execute:function(){Interface.Load(this.mArgs[LEvent.Arg.Target],this.mArgs[LEvent.Arg.Element],this.mArgs[LEvent.Arg.Url],this.mArgs[LEvent.Arg.Html],this.mArgs[LEvent.Arg.Method],this.mArgs[LEvent.Arg.Width],this.mArgs[LEvent.Arg.Height])||LoadEvent.ErrorHandler&&LoadEvent.ErrorHandler(this.mArgs[LEvent.Arg.Target]?
  "target "+this.mArgs[LEvent.Arg.Target]:this.mArgs[LEvent.Arg.Element]?"element: "+this.mArgs[LEvent.Arg.Element]:"")}});var ScriptEvent=Class.create();ScriptEvent.ErrorHandler=null;ScriptEvent.SetErrorHandler=function(a){ScriptEvent.ErrorHandler=a};Object.extend(ScriptEvent.prototype,LEvent.prototype);
  Object.extend(ScriptEvent.prototype,{initialize:function(a){LEvent.Constructor.call(this,LEvent.Name.Script,a,LEvent.Arg.Type,!0)},Execute:function(){if(this.mBody)try{eval(this.mBody)}catch(a){ScriptEvent.ErrorHandler&&ScriptEvent.ErrorHandler(a.name+" "+a.message)}}});var BehaviourEvent=Class.create();BehaviourEvent.TextInputElementId=null;BehaviourEvent.LargeInputElementId=null;BehaviourEvent.PasswordInputElementId=null;
  BehaviourEvent.SetInputElementIds=function(a,b,c){BehaviourEvent.TextInputElementId=a;BehaviourEvent.LargeInputElementId=b;BehaviourEvent.PasswordInputElementId=c};Object.extend(BehaviourEvent.prototype,LEvent.prototype);
  Object.extend(BehaviourEvent.prototype,{initialize:function(a){LEvent.Constructor.call(this,LEvent.Name.Behaviour,a,[LEvent.Arg.InputType,LEvent.Arg.Forwarded,LEvent.Arg.Agent,LEvent.Arg.User,LEvent.Arg.TypingDelay])},Execute:function(){var a=this.mArgs[LEvent.Arg.InputType];a&&BehaviourEvent.TextInputElementId&&BehaviourEvent.PasswordInputElementId&&("text"===a?($(BehaviourEvent.TextInputElementId).style.display="inline",BehaviourEvent.LargeInputElementId&&($(BehaviourEvent.LargeInputElementId).style.display=
  "none"),$(BehaviourEvent.PasswordInputElementId).style.display="none",$(BehaviourEvent.TextInputElementId).focus()):"multiline"===a&&BehaviourEvent.LargeInputElementId?($(BehaviourEvent.LargeInputElementId).style.display="inline",$(BehaviourEvent.PasswordInputElementId).style.display="none",$(BehaviourEvent.TextInputElementId).style.display="none",$(BehaviourEvent.LargeInputElementId).focus()):"password"===a&&($(BehaviourEvent.PasswordInputElementId).style.display="inline",$(BehaviourEvent.TextInputElementId).style.display=
  "none",BehaviourEvent.LargeInputElementId&&($(BehaviourEvent.LargeInputElementId).style.display="none"),$(BehaviourEvent.PasswordInputElementId).focus()));var a=this.mArgs[LEvent.Arg.Agent],b=this.mArgs[LEvent.Arg.User],c=this.mArgs[LEvent.Arg.Forwarded];switch(typeof c){case "string":c=c.toLowerCase();"true"!=c&&"on"!==c&&"false"!=c&&"off"!==c||gWebClient.SetForwarding("true"==c||"on"===c,a,b);break;case "boolean":gWebClient.SetForwarding(c,a,b)}a=this.mArgs[LEvent.Arg.TypingDelay];switch(typeof a){case "string":a=
  a.toLowerCase();"true"!=a&&"on"!==a&&"false"!=a&&"off"!==a||gWebClient.EnableTypingDelay("true"==a||"on"===a);break;case "boolean":gWebClient.EnableTypingDelay(a)}}});var Connection=Class.create();Connection.Status={Initial:0,Active:1,Passive:2,Idle:3,Forwarded:9};
  Connection.prototype={initialize:function(a,b,c,d,e,g,h){this.SetMessageEventHandler();this.mStatus=Connection.Status.Initial;this.mUserId=a;this.mSessionId=b;this.mUrl=c;this.mSslRequired=h;this.mCanRecover=!0;this.mUserTyping=this.mRecovered=!1;this.mResponseHandler=d;this.mErrorHandler=e;this.mTimeoutHandler=g;this.mStatusHandler=null;this.mHandlingResponse=!1;this.mProxy=null;this.mProxyReady=!1;this.mUrlScheme=this.mUrl.split("://",1)[0];a=this.mUrl.indexOf("/",10);this.mUrlOrigin=0<a?this.mUrl.slice(0,
  a):this.mUrl;this.mDocumentScheme=document.location.href.split("://",1)[0];a=document.location.href.indexOf("/",10);this.mDocumentOrigin=0<a?document.location.href.slice(0,a):document.location.href;this.mProxyRequired=0===this.mUrl.indexOf("http")&&0!==this.mUrl.indexOf(this.mDocumentScheme+"://"+document.domain)},HasValidConnectionParameters:function(){return this.mUserId&&this.mSessionId},SetConnectionParameters:function(a,b,c){a&&(this.mUserId=a);b&&(this.mSessionId=b);c&&(this.mUrl=c)},SetUpdateParameters:function(a,
  b,c,d,e,g,h,f){void 0!==a&&(this.mActiveUpdateInterval=a);void 0!==b&&(this.mActiveUpdateTimeout=b);void 0!==c&&(this.mPassiveUpdateInterval=c);void 0!==d&&(this.mPassiveUpdateTimeout=d);void 0!==e&&(this.mIdleUpdateInterval=e);void 0!==g&&(this.mIdleUpdateTimeout=g);void 0!==h&&(this.mForwardedUpdateInterval=h);void 0!==f&&(this.mForwardedUpdateTimeout=f)},SetMessageEventHandler:function(){window.addEventListener?window.addEventListener("message",this.HandleMessageEvent.bind(this),!1):window.attachEvent&&
  window.attachEvent("onmessage",this.HandleMessageEvent.bind(this))},SetProxyReady:function(){this.mProxyReady=!0},SetStatusHandler:function(a){this.mStatusHandler=a},HasStarted:function(){return this.mStatus!==Connection.Status.Initial},HasRecovered:function(){return this.mRecovered},Start:function(a,b,c){""==this.mInitialMessage&&(this.mInitialMessage=a,this.mInitialContext=b);a||b?this.SendMessage(a,b,!1,c):this.Update();this.mStatusHandler&&this.mStatusHandler("started",this)},Stop:function(){this.mStatus=
  Connection.Status.Initial},Recover:function(){if(this.mCanRecover&&"https"===this.mUrlScheme&&!this.mSslRequired){this.mRecovered=!0;this.mUrlScheme="http";this.mUrl=this.mUrlScheme+this.mUrl.substr(5);var a=this.mUrl.indexOf("/",10);this.mUrlOrigin=0<a?this.mUrl.slice(0,a):this.mUrl;this.mProxy=null;this.mProxyReady=!1;this.mProxyRequired=0!==this.mUrl.indexOf(this.mDocumentScheme+"://"+document.domain);this.mInitialContext&&(this.mInitialContext=this.mInitialContext.replace("</context>","<connection>unsecure</connection></context>"));
  this.mInitialMessage||this.mInitialContext?this.SendMessage(this.mInitialMessage,this.mInitialContext,!1,!1):this.Update();return!0}return!1},SetLanguage:function(a){this.mLanguage="undefined"===typeof a?null:a},IsUserTyping:function(a){var b=this.mUserTyping;a&&(this.mUserTyping=!1);return b},SetUserTyping:function(){this.mUserTyping=!0},ClearUserTyping:function(){this.mUserTyping=!1},SetStatus:function(a){if(this.mStatus!=a)switch(this.mStatus=a,a){case Connection.Status.Active:this.SetUpdateInterval(this.mActiveUpdateInterval,
  this.mActiveUpdateTimeout);break;case Connection.Status.Passive:this.SetUpdateInterval(this.mPassiveUpdateInterval,this.mPassiveUpdateTimeout);break;case Connection.Status.Idle:this.SetUpdateInterval(this.mIdleUpdateInterval,this.mIdleUpdateTimeout);break;case Connection.Status.Forwarded:this.SetUpdateInterval(this.mForwardedUpdateInterval,this.mForwardedUpdateTimeout);break;default:this.SetUpdateInterval(0,0)}},AdvanceStatus:function(){this.SetStatus(this.mStatus+1);this.mTimeoutHandler&&this.mTimeoutHandler(this.mStatus)},
  ScheduleUpdate:function(){this.mUpdateTimer&&(clearTimeout(this.mUpdateTimer),this.mUpdateTimer=null);this.mUpdateInterval&&this.mStatus!=Connection.Status.Initial&&(this.mUpdateTimer=setTimeout(this.Update.bind(this),1E3*this.mUpdateInterval))},SetUpdateInterval:function(a,b){this.mUpdateInterval=a;this.mUpdateTimeout=b?(new Date).getTime()+1E3*b:0},UpdateUpdateInterval:function(){this.mUpdateTimeout&&(new Date).getTime()>this.mUpdateTimeout&&this.AdvanceStatus()},Update:function(){if(this.mSessionId){var a=
  this.IsUserTyping(!0);if(this.mDelayedMessage){var b=this.mDelayedMessage,c=this.mDelayedContext;this.mDelayedContext=this.mDelayedMessage=null;this.mLastMessage=b;this.SendRequest("user-id="+this.mUserId+"&session="+this.mSessionId+(this.mLanguage&&!this.mUserId?"&lang="+this.mLanguage:"")+(a?"&typing=true":"")+"&input="+encodeURIComponent(b)+(c?"&context="+encodeURIComponent(c):""))}else this.SendRequest("user-id="+this.mUserId+"&session="+this.mSessionId+(this.mLanguage&&!this.mUserId?"&lang="+
  this.mLanguage:"")+(a?"&typing=true":""))}this.UpdateUpdateInterval()},SendMessage:function(a,b,c,d){this.mLastMessage=a;this.SendRequest("user-id="+this.mUserId+"&session="+this.mSessionId+(this.mLanguage&&!this.mUserId?"&lang="+this.mLanguage:"")+(d?"&encrypt=true":"")+"&input="+encodeURIComponent(a)+(b?"&context="+encodeURIComponent(b):""),c);c||(this.mStatus>=Connection.Status.Forwarded?this.SetUpdateInterval(this.mForwardedUpdateInterval,this.mForwardedUpdateTimeout):this.SetStatus(Connection.Status.Active))},
  SendRequest:function(a,b){if(this.mProxyRequired){var c=!(!window.addEventListener&&!window.attachEvent);if(null===this.mProxy){if(!c){var d=document.domain.split(".");document.domain=d.slice(-2).join(".")}this.mProxyReady=!1;this.mProxy=document.createElement("iframe");this.mProxy.style.position="absolute";this.mProxy.style.width=this.mProxy.style.height="1px";this.mProxy.style.top=this.mProxy.style.left="-9999px";(document.body||document.documentElement).appendChild(this.mProxy);d=c?this.mUrl:this.mUrl.replace(/^http[s]?/,
  document.location.href.split(":",1)[0]).replace(/[^\/]+$/g,"");this.mProxy.src=d+"stub/"}if(this.mProxy)try{var e=this.mProxy.contentWindow||this.mProxy;if(e)if(c?this.mProxyReady:"undefined"!==typeof e.Loaded&&e.Loaded())if(c){var d=this.mUrl+"?"+a,g=document.location+"",h=d.replace("&","&amp;")+"&&"+(b?"true":"false")+"&&"+g.replace("&","&amp;");e.postMessage(h,this.mUrlOrigin)}else e.SendRequest?e.SendRequest(this.mUrl+"?"+a,this,b):this.mErrorHandler&&this.mErrorHandler("Could not use proxy");
  else this.SendRequest.bind(this).delay(.1,a,b);else this.mErrorHandler&&this.mErrorHandler("Could not create proxy")}catch(f){this.SendRequest.bind(this).delay(.1,a,b)}}else try{new Ajax.Request(this.mUrl+"?"+a,{asynchronous:!b,method:"get",onComplete:this.HandleResponse.bind(this),onFailure:this.HandleFailure.bind(this),onException:this.HandleException.bind(this)})}catch(f){this.HandleException(null,f)}},HandleMessageEvent:function(a){var b=a.origin,c=a.source;c&&this.mProxy&&(c==this.mProxy||c==
  this.mProxy.contentWindow)&&b==this.mUrlOrigin&&(a=a.data,0===a.indexOf("response:")?(b={status:200},b.responseText=a.slice(9),this.HandleResponse(b)):0===a.indexOf("ready:")?this.SetProxyReady():0===a.indexOf("error:")?this.HandleError(a.slice(6)):0===a.indexOf("failure:")&&this.HandleFailure(a.slice(8)))},HandleException:function(a,b){this.mErrorHandler&&this.mErrorHandler("undefined"!==typeof b.message?b.message:b)},HandleError:function(a){this.mErrorHandler&&this.mErrorHandler(a)},HandleFailure:function(a){},
  HandleResponse:function(a){if(this.mResponseHandler&&!this.mHandlingResponse)try{switch(this.mHandlingResponse=!0,a.status){case 200:this.mCanRecover=!1;var b=a.responseXML;try{b&&b.documentElement||!a.responseText||(b=(new DOMParser).parseFromString(a.responseText,"text/xml")),this.mResponseHandler(b)}catch(c){if(a.responseText)try{b=(new DOMParser).parseFromString(a.responseText,"text/xml"),this.mResponseHandler(b)}catch(d){try{b=this.GetMsXmlParser(),b.async=!1,b.loadXML(a.responseText),this.mResponseHandler(b)}catch(e){this.HandleError(e.message)}}else this.HandleError(c.message)}break;
  case 404:this.HandleError("Service niet beschikbaar");break;case 500:this.HandleError("Fouten in de server");break;case 0:this.HandleError("Network")}}finally{this.ScheduleUpdate(),this.mHandlingResponse=!1}},GetMsXmlParser:function(){var a="Msxml2.DOMDocument.6.0 Msxml2.DOMDocument.5.0 Msxml2.DOMDocument.4.0 Msxml2.DOMDocument.3.0 MSXML2.DOMDocument Microsoft.XMLDOM".split(" "),b;for(b=0;b<a.length;++b)try{return new ActiveXObject(a[b])}catch(c){}return null},mStatus:0,mProxy:null,mProxyRequired:!1,
  mSslRequired:!1,mCanRecover:!0,mRecovered:!1,mUserTyping:!1,mInitialMessage:"",mInitialContext:"",mUserId:0,mSessionId:0,mLanguage:null,mUrl:"./",mUrlScheme:"http",mUrlOrigin:null,mDocumentScheme:"http",mDocumentOrigin:null,mErrorHandler:null,mTimeoutHandler:null,mStatusHandler:null,mResponseHandler:null,mHandlingResponse:!1,mDelayedContext:null,mDelayedMessage:null,mLastMessage:null,mActiveUpdateInterval:0,mActiveUpdateTimeout:0,mPassiveUpdateInterval:0,mPassiveUpdateTimeout:0,mIdleUpdateInterval:0,
  mIdleUpdateTimeout:0,mForwardedUpdateInterval:0,mForwardedUpdateTimeout:0,mUpdateInterval:0,mUpdateTimeout:0,mUpdateTimer:null};var ConversationMessage=Class.create();
  ConversationMessage.prototype={initialize:function(a,b,c,d){this.mMessage=a;this.mMessagePrefix=d;this.mClass=b;this.mTimestamp=c},GetMessage:function(){return this.mMessage},GetMessagePrefix:function(){return this.mMessagePrefix},GetClass:function(){return this.mClass},GetTimestamp:function(){return this.mTimestamp},mMessage:null,mMessagePrefix:null,mClass:null,mTimestamp:null};var Conversation=Class.create();
  Conversation.prototype={initialize:function(a,b){this.mElementId=a;this.mScrollerElementId=b?b:a;this.mTypingDelay=!1;this.mAllowTypingDelay=!0;this.mDisplaying=this.mDisplayDelay=this.mTyping=!1;this.mMessageHandler=null},SetTypingParameters:function(a,b,c,d,e,g,h){this.mTypingElementId=a;this.mInitialTypingDelay=b;this.mSubsequentTypingDelay=c;this.mMaximumTypingDelay=d;this.mTypingKeyDuration=e?60/e:0;this.mTypingRepetitiveKeyDuration=g?60/g:this.mTypingKeyDuration;this.mDefaultTypingDelay=h},
  SetDisplayParameters:function(a,b,c,d,e){this.mInitialDisplayDelay=a;this.mSubsequentDisplayDelay=b;this.mMaximumDisplayDelay=c;this.mDisplayKeyDuration=d?60/d:0;this.mDisplayRepetitiveKeyDuration=e?60/e:this.mDisplayKeyDuration},SetTypingKeysPerMinute:function(a){var b=this.mTypingKeyDuration?60/this.mTypingKeyDuration:0;this.mTypingKeyDuration=a?60/a:0;return b},SetErrorParameters:function(a,b,c){this.mErrorElementClass=a;this.mErrorTimestampPrefix=b;this.mErrorMessagePrefix=c},SetUserParameters:function(a,
  b,c,d,e){this.mUserElementClass=a;this.mUserTimestampPrefix=b;this.mUserDefaultName=this.mUserName=c;this.mUserMessagePrefix=d;this.mUserMessageBlocker=e},SetAgentParameters:function(a,b,c,d,e,g){this.mAgentElementClass=a;this.mAgentTimestampPrefix=b;this.mAgentDefaultName=this.mAgentName=c;this.mAgentMessagePrefix=d;this.mActiveAgentLineElementId=e;this.mAgentBalloonElementId=g},SetUserName:function(a){var b=this.mUserDefaultName;a&&("string"===typeof a||"object"===typeof a&&a.constructor.toString().match(/string/i))&&
  (b=a);this.mUserName=b},SetAgentName:function(a,b){var c=this.mAgentDefaultName;a&&("string"===typeof a||"object"===typeof a&&a.constructor.toString().match(/string/i))&&(c=a);c!=this.mAgentName&&(b&&this.mTypingElementId&&this.mAgentName&&Interface.ReplaceAll(this.mTypingElementId,this.mAgentName,c),this.mAgentName=c)},SetMessageHandler:function(a){this.mMessageHandler=a},AddErrorMessage:function(a){a&&(a=a.replace(/^\s+/,"").replace(/[\s\.]+$/,""));a=a?this.mErrorMessagePrefix?" ("+a+")":"Error: "+
  a:"";this.mLastMessage!=a&&this.AddMessage(a,this.mErrorElementClass,this.mErrorTimestampPrefix,"",this.mErrorMessagePrefix)},AddUserMessage:function(a){this.AddMessage(a.escapeHTML(),this.mUserElementClass,this.mUserTimestampPrefix,this.mUserName,this.mUserMessagePrefix)},AddAgentMessage:function(a){this.mTypingElementId&&this.mTypingKeyDuration&&this.mAllowTypingDelay?this.ScheduleMessage(a):(this.HideTyping(!1),this.DeactivateAgentMessage(!1),this.AddMessage(a,this.mAgentElementClass,this.mAgentTimestampPrefix,
  this.mAgentName,this.mAgentMessagePrefix,this.mActiveAgentLineElementId,this.mAgentBalloonElementId))},DeactivateAgentMessage:function(a){a&&Interface.Hide(this.mAgentBalloonElementId);if(a=$(this.mActiveAgentLineElementId))a.innerHTML=""},FormatMessage:function(a,b,c,d){return'<div class="'+b+'" title="'+c+'">'+(d?"<span>"+d+"</span>":"")+a+"</div>"},AddMessage:function(a,b,c,d,e,g,h){var f=new Date,l=f.getHours(),m=f.getMinutes(),f=f.getSeconds(),l=(9>=l?"0":"")+l+(9>=m?":0":":")+m+(9>=f?":0":":")+
  f;this.mLastMessage=a;d+=e;e=this.FormatMessage(a,b,c+l,d);if(g=$(g))Interface.Append(g,e,!1),Interface.Show(h);Interface.Hide(this.mTypingElementId);Interface.Append(this.mElementId,e,!1);Interface.ScrollDown(this.mScrollerElementId);a=new ConversationMessage(a,b,c+l,d);this.mDisplayDelay&&this.mDisplayKeyDuration?(this.mScheduledDisplayMessages.push(a),this.ActivateDisplay()):this.Display(a)},ScheduleMessage:function(a){this.mScheduledTypingMessages.push(a);this.ActivateTyping()},AllowTypingDelay:function(a){this.mAllowTypingDelay=
  a},EnableTypingDelay:function(a){this.mTypingDelay=a},EnableDisplayDelay:function(a){this.mDisplayDelay=a},ShowTyping:function(){this.mTypingElementId&&(Interface.RemoveClass(this.mTypingElementId,"cPassive"),Interface.Show(this.mTypingElementId),Interface.ScrollDown(this.mScrollerElementId))},HideTyping:function(a){a?Interface.AddClass(this.mTypingElementId,"cPassive"):Interface.Hide(this.mTypingElementId)},ActivateTyping:function(){if(!this.mTyping){this.mTyping=!0;var a=this.mScheduledTypingMessages[0];
  a&&this.mAllowTypingDelay?(this.mUserMessageBlocker&&this.mUserMessageBlocker.AllowSubmit(!1),this.mTypingDelay&&0<this.mInitialTypingDelay?this.StartTypingTimer(this.StartTyping.bind(this),this.mInitialTypingDelay):this.StartTypingMessage(a)):this.mTyping=!1}},SetTyping:function(a){"undefined"===typeof a?a=this.mDefaultTypingDelay:a>this.mMaximumTypingDelay&&(a=this.mMaximumTypingDelay);a&&!this.mTyping&&(this.mTyping=!0,this.ShowTyping(),this.StartTypingTimer(this.EndTyping.bind(this),a))},DeactivateTyping:function(){this.StopTypingTimer();
  this.mTyping=!1;this.mUserMessageBlocker&&this.mUserMessageBlocker.AllowSubmit(!0)},StartTyping:function(){this.mTypingTimer=null;var a=this.mScheduledTypingMessages[0];a&&this.StartTypingMessage(a)},StartTypingMessage:function(a){var b=a.length,c=0,d=0;for(i=0;i<b;++i)var e=a.charAt(i),c=c+(e===d?this.mTypingRepetitiveKeyDuration:this.mTypingKeyDuration),d=e;this.mTypingDelay&&this.mAllowTypingDelay&&c?(c>this.mMaximumTypingDelay&&(c=this.mMaximumTypingDelay),this.ShowTyping(),this.StartTypingTimer(this.EndTyping.bind(this),
  c)):this.EndTyping()},EndTyping:function(){var a=this.mScheduledTypingMessages.shift();this.mTypingTimer=null;this.HideTyping(!a);a&&(this.DeactivateAgentMessage(!1),this.AddMessage(a,this.mAgentElementClass,this.mAgentTimestampPrefix,this.mAgentName,this.mAgentMessagePrefix,this.mActiveAgentLineElementId,this.mAgentBalloonElementId));(a=this.mScheduledTypingMessages[0])?this.mTypingDelay&&this.mAllowTypingDelay&&0<this.mSubsequentTypingDelay?this.StartTypingTimer(this.StartTyping.bind(this),this.mSubsequentTypingDelay):
  this.StartTypingMessage(a):this.DeactivateTyping()},StartTypingTimer:function(a,b){this.mTypingTimer||(this.mTypingTimer=setTimeout(a,1E3*b))},StopTypingTimer:function(){this.mTypingTimer&&(clearTimeout(this.mTypingTimer),this.mTypingTimer=null)},ActivateDisplay:function(){this.mDisplaying||(this.mDisplaying=!0,this.mScheduledDisplayMessages[0]?this.mDisplayDelay&&0<this.mInitialDisplayDelay?this.StartDisplayTimer(this.StartDisplay.bind(this),this.mInitialDisplayDelay):this.StartDisplay():this.mDisplaying=
  !1)},DeactivateDisplay:function(){this.StopDisplayTimer();this.mDisplaying=!1},StartDisplay:function(){this.mDisplayTimer=null;var a=this.mScheduledDisplayMessages.shift();a&&this.Display(a)},Display:function(a){var b=a.GetMessage();a.GetClass();a.GetTimestamp();this.mMessageHandler&&this.mMessageHandler.HandleConversationMessage(b);a=b.length;var c=0,d=0;for(i=0;i<a;++i)var e=b.charAt(i),c=c+(e===d?this.mDisplayRepetitiveKeyDuration:this.mDisplayKeyDuration),d=e;this.mDisplayDelay&&c?(c>this.mMaximumDisplayDelay&&
  (c=this.mMaximumDisplayDelay),this.StartDisplayTimer(this.EndDisplay.bind(this),c)):this.EndDisplay()},EndDisplay:function(){this.mDisplayTimer=null;var a=this.mScheduledDisplayMessages[0];a?this.mDisplayDelay&&0<this.mSubsequentDisplayDelay?this.StartDisplayTimer(this.StartDisplay.bind(this),this.mSubsequentDisplayDelay):this.StartDisplay(a):this.DeactivateDisplay()},StartDisplayTimer:function(a,b){this.mDisplayTimer||(this.mDisplayTimer=setTimeout(a,1E3*b))},StopDisplayTimer:function(){this.mDisplayTimer&&
  (clearTimeout(this.mDisplayTimer),this.mDisplayTimer=null)},mElementId:null,mScrollerElementId:null,mTypingElementId:null,mActiveAgentLineElementId:null,mAgentBalloonElementId:null,mTypingDelay:!1,mAllowTypingDelay:!0,mDefaultTypingDelay:0,mInitialTypingDelay:0,mSubsequentTypingDelay:0,mMaximumTypingDelay:0,mTypingKeyDuration:0,mTypingRepetitiveKeyDuration:0,mDisplayDelay:!1,mInitialDisplayDelay:0,mSubsequentDisplayDelay:0,mMaximumDisplayDelay:0,mDisplayKeyDuration:0,mDisplayRepetitiveKeyDuration:0,
  mErrorElementClass:null,mErrorTimestampPrefix:null,mErrorMessagePrefix:null,mUserElementClass:null,mUserTimestampPrefix:"",mUserName:null,mUserDefaultName:null,mUserMessagePrefix:null,mUserMessageBlocker:null,mAgentElementClass:null,mAgentTimestampPrefix:"",mAgentName:null,mAgentDefaultName:null,mAgentMessagePrefix:null,mTypingTimer:null,mTyping:!1,mScheduledTypingMessages:[],mDisplayTimer:null,mDisplaying:!1,mScheduledDisplayMessages:[],mLastMessage:null,mMessageHandler:null};var ChatResponse=Class.create();
  ChatResponse.prototype={initialize:function(a){this.mError=null;this.mTyping=!1;this.ParseResponse(a)},ParseResponse:function(a){if(a)try{var b=a.documentElement;if("update"===b.tagName){var c=b.getElementsByTagName("code");for(i=0;i<c.length;++i){var d=c[i].childNodes[i].nodeValue;0!=d&&null===this.mError&&(this.mError="Code "+d)}0<b.getElementsByTagName("typing").length&&(this.mTyping=!0);var e=b.getElementsByTagName("message");for(j=0;j<e.length;++j)this.mMessages.push(e[j].text?e[j].text:e[j].textContent?
  e[j].textContent:e[j].firstChild?e[j].firstChild.nodeValue:null);var g=b.getElementsByTagName("event");for(k=0;k<g.length;++k)this.mEvents.push(g[k])}else this.mError="Onbekend antwoord van de server"}catch(h){this.mError="Ongeldig antwoord van de server: "+h.message}else this.mError="Geen correct antwoord van de server"},GetError:function(){return this.mError},GetMessages:function(){return this.mMessages},GetMessage:function(){return this.mMessages.shift()},GetEvents:function(){return this.mEvents},
  GetEvent:function(){return this.mEvents.shift()},IsTyping:function(){return this.mTyping},IsEmpty:function(){return 0===this.mMessages.length&&0===this.mEvents.length&&!this.mTyping},IsNotEmpty:function(){return this.mTyping||this.mMessages.length||this.mEvents.length},mError:null,mTyping:!1,mMessages:[],mEvents:[]};var WebClient=Class.create();
  WebClient.prototype={initialize:function(a,b,c,d,e,g,h,f,l,m,n){this.mConnection=new Connection(a,b,c,this.HandleAgentResponse.bind(this),this.HandleConnectionError.bind(this),this.HandleConnectionTimeout.bind(this),n);this.mConversation=new Conversation(d,e);this.mAllowSubmit=!0;this.mUserInputElementId=g;this.mLargeInputElementId=h;this.mPasswordInputElementId=f;this.mUntouchedElementClass=l;this.mActiveWindowNameSuffix=m;UpdateClientEvent.SetUpdateHandler(this.SetConnectionParameters.bind(this))},
  HasStarted:function(){return this.mConnection&&this.mConnection.HasStarted()},HasReturned:function(){return this.mActiveWindowNameSuffix&&window.name&&0<=window.name.indexOf(this.mActiveWindowNameSuffix)},SetReturned:function(){this.mActiveWindowNameSuffix&&(window.name+=this.mActiveWindowNameSuffix)},SetConnectionParameters:function(a,b,c,d,e,g,h,f,l,m,n){this.mConnection.SetConnectionParameters(a,b,c);this.mConnection.SetUpdateParameters(d,e,g,h,f,l,m,n)},SetUpdateParameters:function(a,b,c,d,e,
  g,h,f){this.mConnection.SetUpdateParameters(a,b,c,d,e,g,h,f)},SetInputErrorHandler:function(a){this.mInputErrorHandler=a},SetConnectionStatusHandler:function(a){this.mConnection.SetStatusHandler(a)},SetErrorParameters:function(a,b,c){this.mConversation.SetErrorParameters(a,b,c)},SetTypingParameters:function(a,b,c,d,e,g,h){this.mConversation.SetTypingParameters(a,b,c,d,e,g,h)},SetDisplayParameters:function(a,b,c,d,e){this.mConversation.SetDisplayParameters(a,b,c,d,e)},SetTypingKeysPerMinute:function(a){return this.mConversation.SetTypingKeysPerMinute(a)},
  SetUserInputMaxLength:function(a,b){this.mUserInputMaxLength=a;this.mInputFragmentLength="undefined"===typeof b?0:b},SetUserParameters:function(a,b,c,d,e){this.mConversation.SetUserParameters(a,b,c,d,e?this:null)},SetAgentParameters:function(a,b,c,d,e,g){this.mConversation.SetAgentParameters(a,b,c,d,e,g)},SetLanguage:function(a){this.mConnection.SetLanguage(a)},SetMessageHandler:function(a){this.mConversation.SetMessageHandler(a)},SetContext:function(a,b){this.mContext="<"+a+">"+b+"</"+a+">"},AddAgentMessage:function(a){a&&
  this.mConversation.AddAgentMessage(a)},HandleUserMessage:function(a,b,c){a&&(a=a.replace(/^\s+|\s+$/,""));if(a&&this.mUserInputMaxLength){var d=encodeURIComponent(a.escapeHTML()).length;if(d>this.mUserInputMaxLength){this.mInputErrorHandler&&this.mInputErrorHandler("too long");do a=a.substr(0,a.length-1),d=encodeURIComponent(a.escapeHTML()).length;while(d>this.mUserInputMaxLength)}}if(a)if(this.mConnection.ClearUserTyping(),b&&this.mConversation.AddUserMessage(a),this.mConnection.mDelayedMessage)c=
  this.mConnection.mDelayedMessage,d=this.mConnection.mDelayedContext,this.mConnection.mDelayedMessage=a,this.mConnection.mDelayedContext=null,this.SetReturned(),this.mConnection.Start(c,d,!1);else{for(var e=b=1;this.mInputFragmentLength;){d=a.length;if(d<=this.mInputFragmentLength)break;1==e&&(b=Math.ceil(d/this.mInputFragmentLength));d=this.mInputFragmentLength;this.mConnection.SendMessage("fragment "+e++ +" of "+b+" "+a.substr(0,d),null,!1,c);a=a.substr(d)}this.mConnection.SendMessage((1<b?"fragment "+
  b+" of "+b+" ":"")+a,null,!1,c)}},HandleSystemMessage:function(a,b,c){a&&(a=a.replace(/^\s+|\s+$/,""));if(a&&(!c||a!=this.mConnection.mLastMessage))if(this.mConnection.mDelayedMessage)b=this.mConnection.mDelayedMessage,c=this.mConnection.mDelayedContext,this.mConnection.mDelayedMessage=a,this.mConnection.mDelayedContext=null,this.SetReturned(),this.mConnection.Start(b,c,!1);else{for(c=1;this.mInputFragmentLength;){var d=a.length;if(d<=this.mInputFragmentLength)break;1==theFragmentIndex&&(c=Math.ceil(d/
  this.mInputFragmentLength));d=this.mInputFragmentLength;this.mConnection.SendMessage("fragment "+theFragmentIndex++ +" of "+c+" "+a.substr(0,d),null,b);a=a.substr(d)}this.mConnection.SendMessage((1<c?"fragment "+c+" of "+c+" ":"")+a,null,b)}},HandleAgentResponse:function(a){a=new ChatResponse(a);var b=a.GetError();if(b)this.mConversation.AddErrorMessage(b);else if(a.IsNotEmpty()){for(a.IsTyping()&&this.mConversation.SetTyping();b=a.GetEvent();)this.HandleEvent(b);for(;b=a.GetMessage();)this.mConversation.AddAgentMessage(b);
  this.mConnection.HasValidConnectionParameters()||(this.mConnection.Stop(),this.mConversation.AddErrorMessage("Ongeldige sessie"))}},HandleEvent:function(a){var b=LEvent.ParseXml(a);if(b)for(a=0;a<b.length;++a)b[a].Execute()},HandleConnectionTimeout:function(a){(a=LEvent.Create(LEvent.Name.Timeout,a))&&a.Execute()},HandleConnectionError:function(a){"Network"===a?this.mConnection.Recover()||this.mConversation.AddErrorMessage("Er is een verbindingsprobleem"):this.mConversation.AddErrorMessage(a)},EnableTypingDelay:function(a){this.mConversation.EnableTypingDelay(a)},
  EnableDisplayDelay:function(a){this.mConversation.EnableDisplayDelay(a)},AllowSubmit:function(a){this.mAllowSubmit=a},Start:function(a,b,c,d,e,g){b&&(b=b.replace(/^\s+|\s+$/,""));b&&this.mConversation.AddUserMessage(b);g=g&&!this.HasReturned();var h="",f="<context>";a&&(h=a,f+="<delay>"+g+"</delay>",c&&(a=document.documentElement?document.documentElement.offsetHeight:window.innerHeight?window.innerHeight:document.body&&document.body.clientHeight?document.body.clientHeight:0,f+="<width>"+(document.documentElement?
  document.documentElement.offsetWidth:window.innerWidth?window.innerWidth:document.body&&document.body.clientWidth?document.body.clientWidth:0)+"</width>",f+="<height>"+a+"</height>",a=window.navigator.userAgent,a=a.replace(/\s*((;?\s*\.NET\s+CLR\s+\d+(\.\d+)+)+|\((;?\s*\.NET\s+CLR\s+\d+(\.\d+)+)+\))/gi,""),a=a.replace(/\s*;\s*rv\:\s*\d+(\.\d+)+/g,""),a=a.replace(/(Macintosh|Windows|X11|U|compatible);\s*/gi,""),a=a.replace(/\s*\((KHTML\, )?like Gecko\)(\s*Version\/\d+(\.\d+)+)?/gi,""),a=a.replace(/\(\w+\)\s*/g,
  ""),f+="<user-agent>"+a.replace(/&/gm,"&amp;").replace(/</gm,"&lt;")+"</user-agent>"),d&&(f+="<location>"+location.href.replace(/&/gm,"&amp;").replace(/</gm,"&lt;")+"</location>",f+="<referrer>"+document.referrer.replace(/&/gm,"&amp;").replace(/</gm,"&lt;")+"</referrer>"),e&&(f+="<hint>"+e.replace(/&/gm,"&amp;").replace(/</gm,"&lt;")+"</hint>"),this.mConnection.HasRecovered()&&(f+="<connection>unsecure</connection>"),h=h.replace(/^\s+|\s+$/,""));this.mContext&&(f+=this.mContext,this.mContext=null);
  f+="</context>";g?(this.mConnection.mDelayedMessage=h,this.mConnection.mDelayedContext=f):(this.mConnection.Start(h,f),this.mConnection.mDelayedMessage=b,this.mConnection.mDelayedContext=null)},SetForwarding:function(a,b,c){this.mConnection.SetStatus(a?Connection.Status.Forwarded:Connection.Status.Active);this.mConversation.AllowTypingDelay(!a);this.mConversation.SetAgentName(a?b:null,!0);this.mConversation.SetUserName(a?c:null)},SubmitUserMessage:function(a){if(this.mAllowSubmit){var b;null===a&&
  this.mUserInputElementId&&(b=$(this.mUserInputElementId),!b||"none"===b.style.display||""==b.value||null!==this.mUntouchedElementClass&&b.hasClassName(this.mUntouchedElementClass)||(a=b));null===a&&this.mLargeInputElementId&&(b=$(this.mLargeInputElementId))&&"none"!==b.style.display&&""!=b.value&&(a=b);null===a&&this.mPasswordInputElementId&&(b=$(this.mPasswordInputElementId))&&"none"!==b.style.display&&""!=b.value&&(a=b);a&&(b="password"===a.type,this.HandleUserMessage(a.value,!b,b),a.value="",a.focus())}return!1},
  ProcessKey:function(a,b,c){a=a.which?a.which:window.event?window.event.keyCode:0;if(13===a){if(!c)return this.SubmitUserMessage(b),!1}else if(this.mConnection.SetUserTyping(),32<=a&&b&&this.mUserInputMaxLength&&(b.value?encodeURIComponent(b.value.escapeHTML()).length:0)>=this.mUserInputMaxLength)return this.mInputErrorHandler&&this.mInputErrorHandler("too long"),!1;return!0},SetFocus:function(){if(this.mUserInputElementId){var a=$(this.mUserInputElementId);a&&"none"!==a.style.display&&a.focus()}this.mLargeInputElementId&&
  (a=$(this.mLargeInputElementId))&&"none"!==a.style.display&&a.focus();this.mPasswordInputElementId&&(a=$(this.mPasswordInputElementId))&&"none"!==a.style.display&&a.focus()},HandleFocus:function(a){(a=$(a))&&a.hasClassName(this.mUntouchedElementClass)&&(a.removeClassName(this.mUntouchedElementClass),a.value="")},mConnection:null,mConversation:null,mContext:null,mAllowSubmit:null,mInputFragmentLength:null,mUserInputMaxLength:null,mUserInputElementId:null,mLargeInputElementId:null,mPasswordInputElementId:null,
  mUntouchedElementClass:null,mActiveWindowNameSuffix:null,mInputErrorHandler:null};gWebClient=null;Application=Class.create();
  Application.Initialize=function(a){a="undefined"!==typeof a?a:{token:"",billieChatUrl:window.kAltChatServerUrl};if(null==gWebClient){var b=0==document.location.href.indexOf("https:");gWebClient=new WebClient(0,0,b?a.billieChatUrl:window.kChatServerUrl,kConversationElementId,kScrollerElementId,kUserInputElementId,kLargeInputElementId,kPasswordInputElementId,kUntouchedElementClass,kActiveWindowNameSuffix,b&&!kAllowUnsecureConnectionFromSecureLocation);gWebClient.SetUpdateParameters(kActiveUpdateInterval,
  kActiveUpdateTimeout,kPassiveUpdateInterval,kPassiveUpdateTimeout,kIdleUpdateInterval,kIdleUpdateTimeout,kForwardedUpdateInterval,kForwardedUpdateTimeout);gWebClient.SetErrorParameters(kErrorElementClass,kErrorTimestampPrefix,kErrorMessagePrefix);gWebClient.SetUserParameters(kUserElementClass,kUserTimestampPrefix,kUserName,kUserMessagePrefix,kUserMessageBlocking);gWebClient.SetAgentParameters(kAgentElementClass,kAgentTimestampPrefix,kAgentName,kAgentMessagePrefix);gWebClient.SetTypingParameters(kTypingElementId,
  kInitialTypingDelay,kSubsequentTypingDelay,kMaximumTypingDelay,kTypingKeysPerMinute,kTypingRepetitiveKeysPerMinute,kDefaultTypingDelay);gWebClient.SetLanguage("undefined"===typeof kInitialLanguage?null:kInitialLanguage);gWebClient.EnableTypingDelay(kTypingDelayEnabled);var b=Url.GetArgument(kHintArgument),c=kDelayConnectionStart&&"false"!=Url.GetArgument(kDelayConnectionStartArgument);gWebClient.HasReturned()||!c?$(kUserInputElementId).focus():gWebClient.AddAgentMessage(kInitialAgentMessage);a.token&&
  Application.SetToken(a.token);gWebClient.Start(kClientStartedKeyword,null,!0,!0,b,c);LoadEvent.SetErrorHandler(Application.HandleLoadError);ScriptEvent.SetErrorHandler(Application.HandleScriptError);gWebClient.SetUserInputMaxLength(kUserInputMaxLength,kInputFragmentLength);gWebClient.SetInputErrorHandler(Application.HandleInputError)}};Application.Uninitialize=function(){gWebClient&&gWebClient.HasStarted()&&gWebClient.HandleSystemMessage(kClientClosedKeyword,!0)};
  Application.Register=function(){Event.observe(window,"beforeunload",Application.Uninitialize)};Application.HandleConnectionStatus=function(a,b){if("started"==a){var c=Interface.FindElement(kChatContainerElementId);c&&$(c.parentNode).addClassName("cActiveChat")}};Application.HandleMouseClick=function(a,b){gWebClient&&(gWebClient.HandleUserMessage(kMouseClickPrefix+a,!1),b&&gWebClient.SetFocus());return!1};
  Application.HandleLoadError=function(a){gWebClient&&gWebClient.HandleSystemMessage(kLoadErrorPrefix+a,!1)};Application.HandleScriptError=function(a){gWebClient&&gWebClient.HandleSystemMessage(kScriptErrorPrefix+a,!1)};Application.HandleInputError=function(a){gWebClient&&gWebClient.HandleSystemMessage(kInputErrorPrefix+a,!1,!0)};Application.Navigate=function(a){return gWebClient&&gWebClient.HasStarted()?(gWebClient.HandleSystemMessage("Navigate to "+a,!1),!1):!0};
  Application.SetToken=function(a){gWebClient&&gWebClient.SetContext("token",a)};var TimeoutEvent=Class.create();Object.extend(TimeoutEvent.prototype,LEvent.prototype);Object.extend(TimeoutEvent.prototype,{initialize:function(a){LEvent.Constructor.call(this,LEvent.Name.Timeout);this.mStatus=a},Execute:function(){this.mStatus>Connection.Status.Idle&&kSendExitSessionMessage&&gWebClient&&gWebClient.HasStarted()&&gWebClient.HandleSystemMessage(kClientTimeoutKeyword)},mStatus:0});
  TimeoutEvent.Constructor=TimeoutEvent.prototype.initialize;BehaviourEvent.SetInputElementIds(kUserInputElementId,kLargeInputElementId,kPasswordInputElementId);LEvent.Register(LEvent.Type.UpdateClient,UpdateClientEvent);LEvent.Register(LEvent.Name.Load,LoadEvent);LEvent.Register(LEvent.Name.Script,ScriptEvent);LEvent.Register(LEvent.Name.Behaviour,BehaviourEvent);LEvent.Register(LEvent.Name.Timeout,TimeoutEvent);Application.Register();WSP.core.namespace("helping_billy");WSP.core.namespace("helping_billy.views");WSP.core.namespace("helping_billy.external");(function(e,c,f,g,b){e=c.namespace("com.bol.template").Template;c=c.namespace("helping_billy");var h=e.template("helping_billy"),d=c.external;e.partial("_helping_billy.active");e.partial("_helping_billy.inactive");c.views.HelpingBillyView=Backbone.View.extend({maxStandByTime:5E3,initialMessage:"Welkom bij de virtuele assistent van bol.com. Waarmee kan ik je van dienst zijn?",idleMilliSecondsCount:0,chatPageContext:"",initialize:function(a){b.extend(this,b.pick(a,"smallChat"));b.extend(this,b.pick(a,
  "startChatSelector"));this.chatPageContext=a.chatPageContext?a.chatPageContext:this.chatPageContext;this.maxStandByTime=a.maxStandByTime?a.maxStandByTime:this.maxStandByTime;this.initialMessage=a.initialMessage?a.initialMessage:this.initialMessage;this.viewState=new Backbone.ViewState({});this.listenTo(this.viewState,"change",this.render);this.$el.show();this.getChatIsStarted()?(this.viewState.set("state","active"),this.startChat()):(this.viewState.set("state","standby"),this.startChatSelector||(this.startTimer(),
  this.bindResetToUserInput()));this.startChatSelector&&this.bindStartChat()},startTimer:function(){this.idleMilliSecondsCount=0;this.intervalId=setInterval(b.bind(function(){this.idleMilliSecondsCount+=1E3;this.idleMilliSecondsCount>this.maxStandByTime&&(this.viewState.set("state","inactive"),clearInterval(this.intervalId))},this),1E3)},events:{"click .is-waiting":"startChat","click .js_close_overlay":"closeChat","click .js_stop_chat":"stopChat","keypress #iChatInputField":"processKey","focus #iChatInputField":"handleFocus",
  "keypress #iChatInputPasswordField":"processKey","click #iChatInputButton":"submitUserMessage"},startChat:function(a){this.smallChat&&"xsmall"===f.deviceProfile.getScreenWidth()?window.location.href=this.smallChat:(this.viewState.set("state","active"),this.chatPageContext?d.gWebClient.sendChatContext(this.chatPageContext):d.gWebClient.addAgentMessage(this.initialMessage),this.setChatIsStarted(!0))},closeChat:function(a){this.viewState.set("state","inactive");this.setChatIsStarted(!1)},stopChat:function(a){a.stopPropagation();
  this.$el.remove()},getTemplateData:function(){return b.extend({isWaiting:this.isWaiting(),isChatting:this.isChatting(),isStandby:this.isStandby()},this.viewState.getAttributes())},render:function(){if(this.startChatSelector&&this.isWaiting())return this.$el.html("");var a=this.getTemplateData(),a=h(a);this.$el.html(a)},bindResetToUserInput:function(){g(document).on("mousemove",b.bind(function(){this.idleMilliSecondsCount=0},this))},bindStartChat:function(){g(this.startChatSelector).on("click",b.bind(function(a){a.preventDefault();
  this.startChat()},this))},setChatIsStarted:function(a){a?f.Cookie.write("helpingBilly",!0):f.Cookie.remove("helpingBilly")},getChatIsStarted:function(){return!!f.Cookie.read("helpingBilly")},handleFocus:function(a){d.gWebClient.handleFocus(a)},processKey:function(a){d.gWebClient.processKey(a)},submitUserMessage:function(a){d.gWebClient.submitUserMessage(a)},isWaiting:function(){return"inactive"===this.viewState.get("state")},isChatting:function(){return"active"===this.viewState.get("state")},isStandby:function(){return"standby"===
  this.viewState.get("state")}})})(WSP,WSP.core,WSP.utils,jQuery,_);(function(c,b){b.namespace("helping_billy").external.gWebClient={processKey:function(a){13===a.keyCode&&this.submitUserMessage(a);return gWebClient&&gWebClient.ProcessKey(a.currentTarget)},handleFocus:function(a){return gWebClient&&gWebClient.HandleFocus(a.currentTarget)},addAgentMessage:function(a){gWebClient&&gWebClient.AddAgentMessage(a);return!1},sendChatContext:function(a){if(gWebClient)return gWebClient.HandleUserMessage(kMouseClickPrefix+a,!1)},submitUserMessage:function(a){a.preventDefault();
  gWebClient&&gWebClient.SubmitUserMessage(null);return!1}}})(WSP,WSP.core);});
  $RNWY.define("seller-popup",function(){Handlebars.templates = Handlebars.templates || {};Handlebars.templates.async_seller_popup={compiler:[7,">= 4.0.0"],main:function(c,a,e,f,d){var b;return'\n\n\n\n<div class="seller_popup_content">\n  <h2 class="h4">Beoordeling</h2>\n'+(null!=(b=e["if"].call(null!=a?a:{},null!=(b=null!=a?a.seller:a)?b.name:b,{name:"if",hash:{},fn:c.program(1,d,0),inverse:c.noop,data:d}))?b:"")+"  \n"+(null!=(b=e.unless.call(null!=a?a:{},null!=a?a.hasReviews:a,{name:"unless",hash:{},fn:c.program(3,d,0),inverse:c.program(5,d,0),data:d}))?b:"")+'\n  <a href="/nl/v/'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.seller:a)?b.url_name:b,a))+"/"+c.escapeExpression(c.lambda(null!=(b=null!=a?a.seller:a)?b.id:b,a))+"/index.html?offerId="+c.escapeExpression(c.lambda(null!=(b=null!=a?a.offer:a)?b.id:b,a))+'">Meer info over deze verkoper (o.a. retourvoorwaarden)</a>\n</div>'},1:function(c,a,e,f,d){var b;return'    <p>\n      <a class="link-highlight" href="/nl/v/'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.seller:a)?b.url_name:b,a))+"/"+c.escapeExpression(c.lambda(null!=
  (b=null!=a?a.seller:a)?b.id:b,a))+"/index.html?offerId="+c.escapeExpression(c.lambda(null!=(b=null!=a?a.offer:a)?b.id:b,a))+'">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.seller:a)?b.name:b,a))+"</a>\n    </p>\n"},3:function(c,a,e,f,d){return'    <ul class="list--s"> \n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--no-rating seller-rating--xs"></div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Deze verkoper heeft nog geen beoordelingen ontvangen.</div>\n      </li>\n    </ul>\n'},
  5:function(c,a,e,f,d){var b;return'    <ul class="list--s"> \n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--xs '+(null!=(b=e["if"].call(null!=a?a:{},null!=a?a.isTopSeller:a,{name:"if",hash:{},fn:c.program(6,d,0),inverse:c.noop,data:d}))?b:"")+'">\n            '+c.escapeExpression(c.lambda(null!=(b=null!=(b=null!=a?a.seller:a)?b.rating:b)?b.overall:b,a))+'\n          </div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Algemeen oordeel</div>\n      </li>\n      \n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--xs">'+
  c.escapeExpression(c.lambda(null!=(b=null!=(b=null!=a?a.seller:a)?b.rating:b)?b.product_info:b,a))+'</div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Productinformatie</div>\n      </li>\n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--xs">'+c.escapeExpression(c.lambda(null!=(b=null!=(b=null!=a?a.seller:a)?b.rating:b)?b.delivery_time:b,a))+'</div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Levertijd</div>\n      </li>\n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--xs">'+
  c.escapeExpression(c.lambda(null!=(b=null!=(b=null!=a?a.seller:a)?b.rating:b)?b.shipping:b,a))+'</div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Bezorging</div>\n      </li>\n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--xs">'+c.escapeExpression(c.lambda(null!=(b=null!=(b=null!=a?a.seller:a)?b.rating:b)?b.service:b,a))+'</div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Contact</div>\n      </li>\n    </ul>\n    \n    <div class="box--highlite h-boxedbottom--s">\n      <ul class="bullet-list listitem-default">\n        <li>'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.seller:a)?b.approval_percentage:b,a))+"% positief</li>\n"+(null!=(b=e.unless.call(null!=a?a:{},null!=a?a.hasAllReviews:a,{name:"unless",hash:{},fn:c.program(8,d,0),inverse:c.program(10,d,0),data:d}))?b:"")+'      </ul>\n      <p class="small_details explain nosp">Totaal aantal beoordelingen: '+c.escapeExpression(c.lambda(null!=(b=null!=a?a.seller:a)?b.review_count:b,a))+"</p>\n    </div>\n"},6:function(c,a,e,f,d){return"seller-rating--top-seller"},8:function(c,
  a,e,f,d){return"          <li>Laatste 3 maanden minder dan 5 beoordelingen ontvangen</li>\n"},10:function(c,a,e,f,d){var b;return'          <li>Afgelopen 3 maanden:<br/>\n             <a class="link-highlight" href="/nl/v/'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.seller:a)?b.url_name:b,a))+"/"+c.escapeExpression(c.lambda(null!=(b=null!=a?a.seller:a)?b.id:b,a))+"/index.html?offerId="+c.escapeExpression(c.lambda(null!=(b=null!=a?a.offer:a)?b.id:b,a))+'#seller_ratings">'+c.escapeExpression(c.lambda(null!=
  (b=null!=a?a.seller:a)?b.review_count:b,a))+" beoordelingen</a>\n          </li>\n"},useData:!0};Handlebars.templates["sellerinfo.flextip"]={compiler:[7,">= 4.0.0"],main:function(c,a,d,g,f){var b,e;return'<div class="seller_popup_content">\n  <h2 class="h4">Beoordeling</h2>\n\n'+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.displayName:a,{name:"if",hash:{},fn:c.program(1,f,0),inverse:c.noop,data:f}))?b:"")+"\n  \n  \n"+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.isRatingMethodNoReviews:a,{name:"if",hash:{},fn:c.program(8,f,0),inverse:c.program(10,f,0),data:f}))?b:"")+'\n  <a href="/nl/v/'+
  c.escapeExpression((e=null!=(e=d.sellerNameForUrl||(null!=a?a.sellerNameForUrl:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"sellerNameForUrl",hash:{},data:f}):e))+"/"+c.escapeExpression((e=null!=(e=d.id||(null!=a?a.id:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"id",hash:{},data:f}):e))+"/index.html"+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.offerId:a,{name:"if",hash:{},fn:c.program(2,f,0),inverse:c.noop,data:f}))?b:"")+'">Meer info over deze verkoper (o.a. retourvoorwaarden)</a>\n</div>'},
  1:function(c,a,d,g,f){var b,e;return'    <p>\n      <a class="link-highlight" href="/nl/v/'+c.escapeExpression((e=null!=(e=d.sellerNameForUrl||(null!=a?a.sellerNameForUrl:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"sellerNameForUrl",hash:{},data:f}):e))+"/"+c.escapeExpression((e=null!=(e=d.id||(null!=a?a.id:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"id",hash:{},data:f}):e))+"/index.html"+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.offerId:a,
  {name:"if",hash:{},fn:c.program(2,f,0),inverse:c.noop,data:f}))?b:"")+'">\n'+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.logoExtension:a,{name:"if",hash:{},fn:c.program(4,f,0),inverse:c.program(6,f,0),data:f}))?b:"")+"      </a>\n    </p>\n"},2:function(c,a,d,g,f){var b;return"?offerOriginPage="+c.escapeExpression((b=null!=(b=d.offerOriginPage||(null!=a?a.offerOriginPage:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"offerOriginPage",hash:{},data:f}):b))+"&offerOriginAnchor="+
  c.escapeExpression((b=null!=(b=d.offerOriginAnchor||(null!=a?a.offerOriginAnchor:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"offerOriginAnchor",hash:{},data:f}):b))+"&offerId="+c.escapeExpression((b=null!=(b=d.offerId||(null!=a?a.offerId:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"offerId",hash:{},data:f}):b))},4:function(c,a,d,g,f){var b;return'          <img src="/nl/cms/images/sellerlogos/sellerlogo_'+c.escapeExpression((b=null!=(b=d.id||(null!=
  a?a.id:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"id",hash:{},data:f}):b))+"."+c.escapeExpression((b=null!=(b=d.logoExtension||(null!=a?a.logoExtension:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"logoExtension",hash:{},data:f}):b))+'" alt="Lees meer over deze verkoper: '+c.escapeExpression((b=null!=(b=d.displayName||(null!=a?a.displayName:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"displayName",hash:{},data:f}):b))+
  '" title="Lees meer over deze verkoper: '+c.escapeExpression((b=null!=(b=d.displayName||(null!=a?a.displayName:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"displayName",hash:{},data:f}):b))+'"/>\n'},6:function(c,a,d,g,f){var b;return"          "+c.escapeExpression((b=null!=(b=d.displayName||(null!=a?a.displayName:a))?b:d.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"displayName",hash:{},data:f}):b))+"\n"},8:function(c,a,d,g,f){return'    <ul class="list--s"> \n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--no-rating seller-rating--xs"></div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Deze verkoper heeft nog geen beoordelingen ontvangen.</div>\n      </li>\n    </ul>\n'},
  10:function(c,a,d,g,f){var b,e;return'    <ul class="list--s"> \n      <li class="media media-valign">\n        <div class="media__img">\n          \n          <div class="seller-rating seller-rating--xs '+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.isTopSeller:a,{name:"if",hash:{},fn:c.program(11,f,0),inverse:c.noop,data:f}))?b:"")+'">\n            '+c.escapeExpression(c.lambda(null!=(b=null!=a?a.sellerRating:a)?b.sellerRating:b,a))+'\n          </div>\n\n        </div>\n        <div class="media__body media__txt media__txt--middle">Algemeen oordeel</div>\n      </li>\n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--xs">'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.sellerRating:a)?b.productInformationRating:b,a))+'</div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Productinformatie</div>\n      </li>\n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--xs">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.sellerRating:a)?b.deliveryTimeRating:b,a))+'</div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Levertijd</div>\n      </li>\n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--xs">'+
  c.escapeExpression(c.lambda(null!=(b=null!=a?a.sellerRating:a)?b.shippingRating:b,a))+'</div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Bezorging</div>\n      </li>\n      <li class="media media-valign">\n        <div class="media__img">\n          <div class="seller-rating seller-rating--xs">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.sellerRating:a)?b.serviceRating:b,a))+'</div>\n        </div>\n        <div class="media__body media__txt media__txt--middle">Contact</div>\n      </li>\n    </ul>\n\n    <div class="box--highlite h-boxedbottom--s">\n      <ul class="bullet-list listitem-default">\n        <li>'+
  c.escapeExpression((e=null!=(e=d.approvalPercentage||(null!=a?a.approvalPercentage:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"approvalPercentage",hash:{},data:f}):e))+"% positief</li>\n"+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.isRatingMethodAllReviews:a,{name:"if",hash:{},fn:c.program(13,f,0),inverse:c.program(15,f,0),data:f}))?b:"")+'       </ul>\n       <p class="small_details explain nosp">Totaal aantal beoordelingen: '+c.escapeExpression(c.lambda(null!=(b=null!=
  a?a.allReviewsCount:a)?b.totalReviewCount:b,a))+"</p>\n    </div>\n"},11:function(c,a,d,g,f){return"seller-rating--top-seller"},13:function(c,a,d,g,f){return"          <li>Laatste 3 maanden minder dan 5 beoordelingen ontvangen</li>\n"},15:function(c,a,d,g,f){var b,e;return'          \n          <li>Afgelopen 3 maanden:<br/>\n             <a class="link-highlight" href="/nl/v/'+c.escapeExpression((e=null!=(e=d.sellerNameForUrl||(null!=a?a.sellerNameForUrl:a))?e:d.helperMissing,"function"===typeof e?
  e.call(null!=a?a:{},{name:"sellerNameForUrl",hash:{},data:f}):e))+"/"+c.escapeExpression((e=null!=(e=d.id||(null!=a?a.id:a))?e:d.helperMissing,"function"===typeof e?e.call(null!=a?a:{},{name:"id",hash:{},data:f}):e))+"/index.html"+(null!=(b=d["if"].call(null!=a?a:{},null!=a?a.offerId:a,{name:"if",hash:{},fn:c.program(2,f,0),inverse:c.noop,data:f}))?b:"")+'#seller_ratings">'+c.escapeExpression(c.lambda(null!=(b=null!=a?a.ratingReviewCount:a)?b.totalReviewCount:b,a))+" beoordelingen</a>\n           </li>\n"},
  useData:!0};(function(z,d){var v=WSP.core.namespace("com.bol.template").Template.template("async_seller_popup");WSP.core.AsyncSellerPopupControl=function(p){var e=p.sellerLinksSelector,w=p.flextipOptions||{},h=0,k=0,f,g,l=window._sellerData=window._sellerData||{},q=function(){d(e).trigger(WSP.events.Flextip.remove)},m=function(){k&&0<k&&clearTimeout(k)},r=function(){h=setTimeout(q,350);m()},t=function(){h&&0<h&&clearTimeout(h)},x=function(c){var a=d.Deferred();d.ajax({url:"/nl/ajax/seller.html?seller_id="+c,
  context:this,dataType:"json"}).done(function(b){l[c]=b;a.resolve(b)}).fail(a.reject);return a},y=function(c){var a=d.Deferred();if(!c)return a.reject(),a;l[c]?a.resolve(l[c]):d.when(x(c)).done(a.resolve).fail(a.reject);return a},n=function(c,a){var b=d.extend({targetEl:c,template:WSP.core.templates.Flextip.under,hidePointer:!0,showCloseButton:!0,zIndex:3},{content:a},w);f=new WSP.core.Flextip(b);f.el.on("mouseover",t);f.el.on("mouseout",r)},u=function(c){var a=d(c.currentTarget);f&&!f.targetEl.is(a)&&
  q();g&&g.reject();g=d.Deferred().done(function(){n(a,'<div class="seller_popup_content"><img src="/nl/static/images/main/ajax-loader.gif" alt="Bezig met laden.." /></div>')});setTimeout(g.resolve,100);d.when(y(a.data("id"))).done(function(b){b=d.extend({seller:b,offer:{id:a.data("offer-id")},hasReviews:b&&b.rating&&b.rating.method,hasAllReviews:b&&b.rating&&"ALL_REVIEWS"===b.rating.method,isTopSeller:b&&b.rating&&"top_seller"===b.rating.flag});n(a,v(b))}).fail(function(b,c,d){n(a,'<div class="seller_popup_content"><p class="small_details">'+
  ("Not Found"===d?"Verkopersinformatie niet beschikbaar.":"Gegevens niet beschikbaar.")+"</p></div>");WSP.core.log(1,"SellerPopupControl(): failed to retrieve sellerData.")}).always(g.reject)};d(document).on("click",e,function(c){c.preventDefault();m();u(c)}).on("mouseover",e,function(c){m();k=setTimeout(function(){u(c)},300)}).on("mouseover",e,t).on("mouseout",e,r)}})(WSP.core,jQuery);WSP.SellerPopupControl=function(f){var b=f.sellerLinksSelector,p=f.flextipOptions||{},d=0,e=0,c,h=function(){jQuery(b).trigger(WSP.events.Flextip.remove)},g=function(){e&&0<e&&clearTimeout(e)},q=function(a){a.preventDefault();g();l(a)},m=function(){d=setTimeout(h,350);g()},n=function(){d&&0<d&&clearTimeout(d)},r=function(a){var b=a.data("seller-rating-overall")||0,c=a.data("seller-rating-product-information")||0,d=a.data("seller-rating-delivery-time")||0,e=a.data("seller-rating-shipping")||0,f=a.data("seller-rating-service")||
  0,g="true"==a.data("top-seller").toString(),k=a.data("rating-method")||"NO_REVIEWS",h="NO_REVIEWS"==k;return{id:a.data("id"),offerId:a.data("offer-id"),offerOriginPage:a.data("offer-origin-page"),offerOriginAnchor:a.data("offer-origin-anchor"),displayName:a.data("display-name"),logoExtension:a.data("logo-extension"),sellerNameForUrl:a.data("seller-name-for-url"),sellerRating:{ratingMethod:k,sellerRating:b,productInformationRating:c,deliveryTimeRating:d,shippingRating:e,serviceRating:f},ratingReviewCount:{totalReviewCount:a.data("rating-review-count-total-review-count")},
  allReviewsCount:{totalReviewCount:a.data("all-reviews-count-total-review-count")},ratingLabelFlag:a.data("rating-label-flag").toLowerCase(),approvalPercentage:a.data("approval-percentage"),isTopSeller:g,isRatingMethodNoReviews:h,isRatingMethodThreeMonths:"THREE_MONTHS"==k,isRatingMethodAllReviews:"ALL_REVIEWS"==k}},l=function(a){a=jQuery(a.currentTarget);c&&!c.targetEl.is(a)&&h();a=jQuery.extend({targetEl:a,content:WSP.core.namespace("com.bol.template").Template.template("sellerinfo.flextip")(r(a)),
  template:WSP.core.templates.Flextip.under,showCloseButton:!0,hidePointer:!0,zIndex:3},p);c=new WSP.core.Flextip(a);c.el.on("mouseover",n);c.el.on("mouseout",m)};(function(a){jQuery(document).on("click",b,q).on("mouseover",b,function(a){g();e=setTimeout(function(){l(a)},300)}).on("mouseover",b,n).on("mouseout",b,m)})(f);return{unload:function(){jQuery(document).off("click mouseover mouseout",b)}}};});
  $RNWY.define("brand-page",function(){(function(c,d,f,b){c.Brandpage=c.Class.create({init:function(){this.$headerBlockImg=b(".js_header_img");this.$description=b(".js_intro_text").html();this.$filmstrips=b(".js_filmstrip");this.$videoLink=b(".js_video_link");this.$creatorEl=b(".js_intro_block");this.$readMoreEl=this.$creatorEl.find(".js_intro_read_more");this.$bestSoldEl=b(".best-sold-block");this.$pageBackground=b(".js_brand_page_background");this.$categoryBlocks=b(".js_category_block");this.$headerCover=b(".js_header_cover");this.$headerPlayBtn=
  b(".js_header_playbtn");this.$headerVideo=b(".js_header_video");this.$headerCloseBtn=b(".js_header_closebtn");this.$visualBanner=b(".visual-banner");this.headerVideoOpen=!1;this.headerHeight=0;this.videoHeaderContent="";this.currentScreenSize=d.deviceProfile.getScreenWidth();this.initialized=!1;this.videoModalContent=this.introContent="";this.bindEvents();this.setHeaderImage();this.trimDescription();"small"!==this.currentScreenSize&&"xsmall"!==this.currentScreenSize||this.initFilmstrips();0<this.$headerCover.length&&
  d.imagesLoaded(this.$headerBlockImg.find("img")).done(function(){this.resizeHeaderElements(!0)}.bind(this));this.calcPageElements()},bindEvents:function(){b(window).resize(_.debounce(this.checkFilmstrips.bind(this),200));b(window).resize(_.debounce(this.calcPageElements.bind(this),50));b(".js_hover_block").mouseover(function(){b(this).css("text-decoration","none")});this.$readMoreEl.on("click",this.openModal.bind(this));this.$videoLink.on("click",this.openVideoModal.bind(this));this.$headerPlayBtn.find(".play-button").on("click",
  this.openHeaderVideo.bind(this));this.$headerCloseBtn.on("click",this.closeHeaderVideo.bind(this))},openModal:function(){this.introContent="";this.introContent="<h2>"+this.$creatorEl.find(".js_intro_title").html()+"</h2>"+this.$creatorEl.find(".js_intro_full_text").html();c.mediator.publish(f.ModalWindowResponsive.setContent,this.introContent)},openVideoModal:function(a){a.preventDefault();this.videoModalContent="";""!==b(a.currentTarget).attr("data-title-text")&&(this.videoModalContent='<h2 class="h-txt-center">'+
  b(a.currentTarget).attr("data-title-text")+"</h2>");""!==b(a.currentTarget).attr("data-video-link")&&(this.videoModalContent+='<div class="flexembed flexembed--16by9">',this.videoModalContent+='<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/'+this.getYoutubeCode(b(a.currentTarget).attr("data-video-link"))+'?autoplay=1&iv_load_policy=3&rel=0&showinfo=0" frameborder="0" allowfullscreen="1"></iframe>',this.videoModalContent+="</div>");""!==b(a.currentTarget).attr("data-button-link")&&
  (this.videoModalContent+='<div class="fleft c-btn-primary--medium small_details h-top--s clear_all"><a href="'+b(a.currentTarget).attr("data-button-link")+'">Bekijk product</a></div>');c.mediator.publish(f.ModalWindowResponsive.setContent,this.videoModalContent)},openHeaderVideo:function(){this.headerVideoOpen=!0;this.videoHeaderContent+='<div class="flexembed flexembed--16by9">';this.videoHeaderContent+='<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/'+this.getYoutubeCode(this.$headerVideo.attr("data-video-link"))+
  '?autoplay=1&iv_load_policy=3&rel=0&showinfo=0" frameborder="0" allowfullscreen="1"></iframe>';this.videoHeaderContent+="</div>";this.$headerVideo.css("height","auto").html(this.videoHeaderContent).fadeIn("fast");this.$headerCloseBtn.css("margin-top",-this.$headerVideo.height()+10+"px");this.$headerCloseBtn.show();this.$headerPlayBtn.hide();this.$headerCover.hide()},closeHeaderVideo:function(){this.headerVideoOpen=!1;this.$headerVideo.fadeOut("fast").html("");this.videoHeaderContent="";this.$headerVideo.height(this.headerHeight);
  this.$headerCloseBtn.hide();this.$headerCover.fadeIn("fast");this.$headerPlayBtn.fadeIn("fast")},resizeHeaderElements:function(a){this.headerHeight=this.$headerBlockImg.height();this.headerVideoOpen?this.$headerVideo.css("margin-top",-this.headerHeight+"px"):this.$headerVideo.height(this.headerHeight).css("margin-top",-this.headerHeight+"px");this.$headerCover.height(this.headerHeight).css("margin-top",-this.headerHeight+"px");this.$headerPlayBtn.height(this.headerHeight).css("margin-top",-this.headerHeight+
  "px");this.$headerCloseBtn.css("margin-top",-this.$headerVideo.height()+10+"px");a&&(this.$headerCover.height(this.headerHeight).fadeIn("fast"),this.$headerPlayBtn.height(this.headerHeight).fadeIn("fast"))},trimDescription:function(){void 0!==this.$description&&(this.$description.trim(),220<this.$description.length&&(b(".js_intro_text").html("").html(this.$description.substr(0,221)+"..."),b(".js_intro_read_more").show()))},checkFilmstrips:function(){var a=d.deviceProfile.getScreenWidth();(a!==this.currentScreenSize&&
  "small"===a||"xsmall"===a)&&this.initFilmstrips()},initFilmstrips:function(){var a,b;if(!this.initialized){if(0<this.$filmstrips.length)for(a=0;a<this.$filmstrips.length;a++)b=this.$filmstrips.eq(a),this.filmstrip=new c.CarouselFilmstrip({$carouselContainerEl:b,cardWidth:this.getCardWidth()}),this.checkSameHeight(b,".filmstrip__card",1);this.initialized=!0}},getCardWidth:function(){var a=Math.max(document.documentElement.clientWidth,window.innerWidth||0);return a-a/100*15},makeSameHeight:function(a){var e=
  0;a.css("height","auto");a.each(function(){b(this).height()>e&&(e=b(this).height())});a.css("height",e+"px")},setHeaderImage:function(){this.headerImgSrc="small"===this.currentScreenSize||"xsmall"===this.currentScreenSize?this.$headerBlockImg.attr("data-src-small"):this.$headerBlockImg.attr("data-src-large");this.$headerBlockImg.find("img").attr("src",this.headerImgSrc)},checkSameHeight:function(a,b,c){this.$items=a.find(b);if(1===c)this.makeSameHeight(this.$items.find(".category-block"));else for(a=
  0;a<this.$items.length;a+=c)this.makeSameHeight(this.$items.slice(a,a+c).find(".category-block"))},setBackground:function(a){"large"===a?""!==this.$pageBackground.attr("data-img-url")&&this.$pageBackground.css({"background-image":"url("+this.$pageBackground.attr("data-img-url")+")"}).attr("data-test","show-background").fadeIn("slow"):""!==this.$pageBackground.attr("data-img-url")&&this.$pageBackground.css({"background-image":"none"}).attr("data-test","hide-background").hide()},calcPageElements:function(){0<
  this.$headerCover.length&&this.resizeHeaderElements(!1);this.$visualBanner.each(function(){b(this).find(".js_visual_bnr_image").height(b(this).find(".js_visual_bnr_content").innerHeight()+"px")});this.$categoryBlocks.each(function(a,c){this.checkSameHeight(b(c),".fluid-grid__item",3)}.bind(this));this.setBackground(d.deviceProfile.getScreenWidth())},getYoutubeCode:function(a){return(a=a.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/))&&11===a[7].length?a[7]:!1}})})(WSP.core,
  WSP.utils,WSP.events,window.jQuery);});
  $RNWY.define("party-button",function(){Handlebars.templates = Handlebars.templates || {};Handlebars.templates.party_button={compiler:[7,">= 4.0.0"],main:function(d,a,c,g,e){var f,b;return'<div class="party-follow-button sb-button '+d.escapeExpression((b=null!=(b=c.cssClasses||(null!=a?a.cssClasses:a))?b:c.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"cssClasses",hash:{},data:e}):b))+' js_action_button">\n  <a class="h-boxedright--xs'+(null!=(f=c["if"].call(null!=a?a:{},null!=a?a.lineThrough:a,{name:"if",hash:{},fn:d.program(1,e,0),inverse:d.noop,data:e}))?f:"")+'" href="#">'+
  d.escapeExpression((b=null!=(b=c.buttonText||(null!=a?a.buttonText:a))?b:c.helperMissing,"function"===typeof b?b.call(null!=a?a:{},{name:"buttonText",hash:{},data:e}):b))+"</a>\n</div>\n"},1:function(d,a,c,g,e){return" line-through"},useData:!0};(function(f,d,l,h){var c,e,k=d.namespace("com.bol.template").Template.template("party_button");d.PartyButtonView=Backbone.View.extend({url:"/nl/ajax/cpeEndpoint.html?",initialize:function(){this.viewState=new Backbone.ViewState({following:!0===this.model.get("following"),isHovering:!1,isHoveringWhileClicked:!1});this.actionUrl=this.$el.data("actionUrl");this.followUrl=this.$el.data("followUrl");this.listenTo(this.model,"change",this.modelChange);this.listenTo(this.viewState,"change:isHovering change:following",
  this.render);this.render()},events:{"click .js_action_button":"buttonClick",mouseenter:"mouseenter",mouseleave:"mouseleave"},buttonClick:function(a){var b;a.stopImmediatePropagation();a.preventDefault();h.isLoggedIn()?(b=(a=!this.viewState.get("following"))?"follow":"unfollow",this.viewState.set("isHoveringWhileClicked",!0,{silent:!0}),this.viewState.set("following",a),this.saveAction(b,a)):this.viewState.get("preventMultipleInquiries")||(this.viewState.set("preventMultipleInquiries",!0),f.ajax({url:this.followUrl,
  cache:!1}).done(_.bind(this.inquireFollowSuccess,this)))},mouseenter:function(){this.viewState.set("isHovering",!0)},mouseleave:function(){this.viewState.get("isHoveringWhileClicked")&&this.viewState.set("isHoveringWhileClicked",!1,{silent:!0});this.viewState.set("isHovering",!1)},modelChange:function(){this.viewState.set("following",this.model.get("following"))},inquireFollowSuccess:function(){var a=location.href;"https"!=location.protocol&&(a="https:"+location.href.substring(location.protocol.length));
  a=encodeURIComponent(a);location.href="/nl/account/login.html?redirectUrl={{to}}".replace("{{to}}",a)},saveAction:function(a,b){var g={};e&&(e.remove(),e=null);c&&c.reject();c=new f.Deferred;c.done(_.bind(function(){this.viewState.set("following",!b);e=new d.Flextip({targetEl:this.$el,content:'<p class="small_details bottom_0" style="width:140px;">Actie opslaan mislukt,<br />geen verbinding.</p>',template:d.templates.Flextip.under,calculationOffset:{left:0,top:5},flextipType:"warning",showCloseButton:!0,
  hidePointer:!1,alwaysClose:!1})},this));g.payload=JSON.stringify({id:this.model.id,following:this.viewState.get("following")});f.ajax({url:this.actionUrl,dataType:"json",data:g,type:"POST"}).done(_.bind(function(a){if(!a.success)return c.resolve();this.model.set("following",b);this.model.set("showNotification",!0,{silent:!0});window.CpeState.checkForNotifications()},this)).fail(function(){c.resolve()})},getTemplateData:function(){var a=this.viewState.getAttributes(),b=[],c=!1;a.following?(b.push("c-btn-tertiary--large"),
  a.isHovering&&!a.isHoveringWhileClicked?(b.push("sb-cross"),c=!0):b.push("sb-check")):b.push("c-btn-secundary--large sb-bell");return _.extend(a,{buttonText:a.following?"Je blijft op de hoogte":"Blijf op de hoogte",cssClasses:b.join(" "),lineThrough:c})},render:function(){var a=this.getTemplateData();this.$el.html(k(a))}})})(jQuery,WSP.core,WSP.events,WSP.data.user);});