"use strict";(self.webpackChunkjouwweb=self.webpackChunkjouwweb||[]).push([[561],{13698:function(e,n,t){t.r(n);var i=t(43750),o=t.n(i),s=t(59788),l=t(71329),d=t(46968),a=o()("#jw-slideshow"),w=null,r=null;function u(){a.width()===o()(document.getElementsByTagName("BODY")[0]).width()?a.addClass("jw-slideshow--full-width"):a.removeClass("jw-slideshow--full-width")}function c(){u(),(0,d.Y)(),(0,l.w$)();var e=0;a.find(".jw-slideshow-slide").each((function(){var n=o()(this),t=n.find(".jw-slideshow-slide-content").data("key");0===parseInt(t)&&setTimeout((function(){e=n.outerHeight()>e?n.outerHeight():e,n.closest(".bx-viewport").css({height:e+"px"})}),0),h(this),"none"!==this.style.display&&(this.style.display=null)}))}function h(e){"none"!==e.style.display&&(e.style.display=null)}function f(){var e=a.find("ul");if(r?(w&&w.destroySlider(),e.remove(),a.find(".bx-wrapper").remove(),a.append(r.cloneNode(!0)),e=a.find("ul")):r=e[0].cloneNode(!0),e.children().length>1){var n=a.find(".jw-slideshow-slide:not(.bx-clone)").length>1&&a.data("autoplay");t.e(439).then(t.t.bind(t,6555,23)).then((function(){w=e.bxSlider({auto:n,pause:a.data("pause"),mode:a.data("transition"),prevText:'',nextText:'',adaptiveHeight:!0,responsive:!0,captions:!1,pager:!1,touchEnabled:!1,onSliderLoad:c,onSlideBefore:n?function(){w.stopAuto(),w.startAuto()}:function(){},onSlideAfter(e){h(e[0])}})}))}}document.addEventListener("jw.loaded",u),1===o()(".jw-slideshow-slide",a).length?u():f(),o()(window).resize(u),window.JOUWWEB=window.JOUWWEB||{},window.JOUWWEB.reloadSlideshow=function(){w&&f()},(0,s.AE)().then((function(){var e=window.JOUWWEB.templateConfig?window.JOUWWEB.templateConfig:{};(0,d.Y)(),o()(".jw-slideshow__scroll-arrow").on("click",(function(){var n=e.mainContentOffset?e.mainContentOffset():o()(".jw-section-content").offset().top;o()("html, body").animate({scrollTop:n},400)}))}))}}]); //# sourceMappingURL=slideshow.1d4082c231e4a3a66cad.js.map