function closeHms(){$(".hms-banner").remove(),writeCookie("closeHms",!0,365)}function giveConsent(){$("#cookieconsent").remove(),writeCookie("cookieConsent",!0,365)}function scrollToTopOfArticle(){var n=$("html, body");$("#content").length>0&&n.stop().animate({scrollTop:$("#content").offset().top-20},200,"swing",function(){alert("Finished animating")})}function readCookie(n){for(var t,u=n+"=",r=document.cookie.split(";"),i=0;i0&&$("#bcoverview").width()<680){if(isMobile()==!0)return!1;if($("#fillercontent").length>0&&(i=0,$(".bottomcolumndouble").each(function(){i+=$(this).height()}),$(".c-bg-Dark-Gray").length>0&&(i+=$(".c-bg-Dark-Gray").height()),t=i,n=0,$(".bottomcolumn:not(.bottomcolumndouble)",$("#bottomleft")).each(function(){n+=$(this).height()}),$(".c-bg-Dark-Gray").length>0&&(n+=$(".c-bg-Dark-Gray").height()),$("#ac160600").length>0&&(n+=$("#ac160600").height(),$(".bottomcolumn:not(.bottomcolumndouble)",$("#ac160600")).each(function(){n-=$(this).height()})),console.log(t),console.log(n),f=160,t>n)){if(contentFilled=!0,r=(t-n)/f,console.log(r),u=0,$(".extracontent").each(function(){u+=1,u0&&(n+=$(".c-bg-Dark-Gray").height()),$("#ac160600").length>0&&(n+=$("#ac160600").height(),$(".bottomcolumn:not(.bottomcolumndouble)",$("#ac160600")).each(function(){n-=$(this).height()})),t>n&&$(".extracontent").length>0?setExtraContent():correctExtraContent()}}}function correctExtraContent(){var t,i,n,r,u;if($("#fillercontent").length>0&&$("#bcoverview").width()<680){if(isMobile()==!0)return!1;if(t=0,$(".bottomcolumndouble").each(function(){t+=$(this).height()}),$(".c-bg-Dark-Gray").length>0&&(t+=$(".c-bg-Dark-Gray").height()),i=t,n=0,$(".bottomcolumn:not(.bottomcolumndouble)",$("#bottomleft")).each(function(){n+=$(this).height()}),$(".c-bg-Dark-Gray").length>0&&(n+=$(".c-bg-Dark-Gray").height()),$("#ac160600").length>0&&(n+=$("#ac160600").height(),$(".bottomcolumn:not(.bottomcolumndouble)",$("#ac160600")).each(function(){n-=$(this).height()})),r=260,n>i+r/2){if($("a",$("#fillercontent")).length<2||($("a:last",$("#fillercontent")).remove(),n=0,$(".bottomcolumn:not(.bottomcolumndouble)",$("#bottomleft")).each(function(){n+=$(this).height()}),$("#ac160600").length>0&&(n+=$("#ac160600").height(),$(".bottomcolumn:not(.bottomcolumndouble)",$("#ac160600")).each(function(){n-=$(this).height()})),$(".c-bg-Dark-Gray").length>1&&(n+=$(".c-bg-Dark-Gray").height()),u=(n-i)/r,u<1))return!1;n>i&&correctExtraContent()}}}function createSticker(){if(isMobile()==!0)return!1;correctExtraContent(),sidebarSticker!=undefined&&sidebarSticker.destroy(),sidebarSticker=new StickySidebar("#rightcont",{containerSelector:"#topcontent",innerWrapperSelector:"#stickycontents",topSpacing:40,bottomSpacing:20})}function sticker(){if(console.log("createsticker"),$("#stickycontents").length==0||isMobile())return!1;$(".nbImg",$("#nieuwscontent")).each(function(){$(this).height($(this).width()/1.71)}),setTimeout(function(){createSticker()},1200)}function scrollSticker(){var t,n;if(console.log("SCROLL"+$("#content").length),$("#content").length==0&$("#bcov").length==0)return!1;t=$("#content"),$("#content").length==0&&(t=$("#topcontent")),maxHeight=$("#topcontent").height(),stickHeight=$(".stickit2").height(),viewportHeight=$(window).height();var r=$(window).scrollTop()-t.offset().top,u=stickHeight-r,i=viewportHeight-u;$("#rightcont").css("minHeight",viewportHeight),umaxHeight-20-n&&(i=maxHeight-viewportHeight-20-n),$("#rightcont").height()<$(window).height()?$(".stickit2").css("top",r+"px"):$(".stickit2").css("top",i+"px")):$(".stickit2").css("top","0px")}function getWidth(){return self.innerHeight?self.innerWidth:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientWidth:document.body?document.body.clientWidth:void 0}function getHeight(){return self.innerHeight?self.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body?document.body.clientHeight:void 0}function isMobile(){return getWidth()<800||$("#ismobile").val()=="True"}function fnlayout(){if($(window).width()<800||pref=="oa")return!1;if($(".topcenter").length==0||window.location.href.indexOf("activiteit")!=-1){if($("#bcoverview").show(),$("#rightcont div").css("zIndex","1"),$("#bcoverview").length>0&&(pref=="ukp",!1&&$("#bcpoll").length>0&&$.cookie(cookieName)!="voted"&&($("#stickycontents").append($("#bcpoll").clone().wrap("
").parent().html().replace("bcpoll","bcpolldr")),$("#bcpolldr").css({}))),isMobile()==!1){var n='
<\/div><\/div><\/div>';if($("#bcoverview").length>0&&$("#stickycontents").append(n),$(".npage").length>0&&window.location.href.indexOf("clubs")==-1)$("body").on("DOMSubtreeModified","#rightcont",function(){$(".npage").css("minHeight",$("#rightcont").height()+"px")})}window.location.href.indexOf("activiteit")!=-1&&$("#agendapunten").length>0&&($("#rightcont").prepend($("#agendapunten").clone().wrap("
").parent().html().replace("agendapunten","bcagenda").replace("Agenda","agenda")),$("#bcnudr").css({}),$("#bcagenda").css("clear","both").css("marginBottom","15px"),$("#agendapunten").parent().remove())}}function checkheights(){if($(".topcontent").length==0)return!1;var n=$("#topcontent").height();n+=20,$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide(),$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide(),$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide(),$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide(),$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide()}function popup(n,t){if(!window.focus)return!0;var i;return i=typeof n=="string"?n:n.href,window.open(i,t,"resizable=no,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0,width=860,height=540"),!1}function autoFill(n,t){$(n).css({color:"#b2adad"}).attr({value:t}).focus(function(){$(this).val()==t&&$(this).val("").css({color:"#333"})}).blur(function(){$(this).val()==""&&$(this).css({color:"#b2adad"}).val(t)})}function autoFill2(n,t){$(n).css({color:"#b2adad"}).attr({value:t}).focus(function(){$(this).val()==t&&$(this).val("").css({color:"#333"})}).blur(function(){$(this).val()==""&&$(this).css({color:"#b2adad"}).val(t)})}function gotRadio(n){n.artiest.length>0&&($("#nummer").empty(),$("#artiest").empty(),$("#nummer").append(n.nummmer),$("#artiest").append(n.artiest),$("#RadioContent").show(),$("#EmptyRadio").hide())}function lb(){return!1}function Swipe(n,t){"use strict";function d(){var s,h;for(f=u.children,tt=f.length,f.length<2&&(t.continuous=!1),a.transitions&&t.continuous&&f.length<3&&(u.appendChild(f[0].cloneNode(!0)),u.appendChild(u.children[1].cloneNode(!0)),f=u.children),l=new Array(f.length),r=n.getBoundingClientRect().width||n.offsetWidth,u.style.width=f.length*r+"px",s=f.length;s--;)h=f[s],h.style.width=r+"px",h.setAttribute("data-index",s),a.transitions&&(h.style.left=s*-r+"px",o(s,i>s?-r:ii?n:i)-h-1),r*s,0);n=e(n),o(i,r*s,u||c),o(n,0,u||c),t.continuous&&o(e(n-s),-(r*s),0)}else n=e(n),et(i*-r,n*-r,u||c);i=n,k(t.callback&&t.callback(i,f[i]))}}function o(n,t,i){v(n,t,i),l[n]=t}function v(n,t,i){var u=f[n],r=u&&u.style;r&&(r.webkitTransitionDuration=r.MozTransitionDuration=r.msTransitionDuration=r.OTransitionDuration=r.transitionDuration=i+"ms",r.webkitTransform="translate("+t+"px,0)translateZ(0)",r.msTransform=r.MozTransform=r.OTransform="translateX("+t+"px)")}function et(n,r,e){if(!e){u.style.left=r+"px";return}var o=+new Date,s=setInterval(function(){var h=+new Date-o;if(h>e){u.style.left=r+"px",y&&nt(),t.transitionEnd&&t.transitionEnd.call(event,i,f[i]),clearInterval(s);return}u.style.left=(r-n)*(Math.floor(h/e*100)/100)+n+"px"},4)}function nt(){rt=setTimeout(it,y)}function p(){y=0,clearTimeout(rt)}var ut=function(){},k=function(n){setTimeout(n||ut,0)},a={addEventListener:!!window.addEventListener,touch:"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,transitions:function(n){var t=["transitionProperty","WebkitTransition","MozTransition","OTransition","msTransition"],i;for(i in t)if(n.style[t[i]]!==undefined)return!0;return!1}(document.createElement("swipe"))},u,f,l,r,tt,i,c,y,rt;if(n){u=n.children[0],t=t||{},i=parseInt(t.startSlide,10)||0,c=t.speed||300,t.continuous=t.continuous!==undefined?t.continuous:!0,y=t.auto||0;var g={},s={},w,h={handleEvent:function(n){switch(n.type){case"touchstart":this.start(n);break;case"touchmove":this.move(n);break;case"touchend":k(this.end(n));break;case"webkitTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"otransitionend":case"transitionend":k(this.transitionEnd(n));break;case"resize":k(d)}t.stopPropagation&&n.stopPropagation()},start:function(n){var t=n.touches[0];g={x:t.pageX,y:t.pageY,time:+new Date},w=undefined,s={},u.addEventListener("touchmove",this,!1),u.addEventListener("touchend",this,!1)},move:function(n){if(!(n.touches.length>1)&&(!n.scale||n.scale===1)){t.disableScroll&&n.preventDefault();var u=n.touches[0];s={x:u.pageX-g.x,y:u.pageY-g.y},typeof w=="undefined"&&(w=!!(w||Math.abs(s.x)0||i==f.length-1&&s.x<0?Math.abs(s.x)/r+1:1),v(i-1,s.x+l[i-1],0),v(i,s.x+l[i],0),v(i+1,s.x+l[i+1],0)))}},end:function(){var v=+new Date-g.time,y=Number(v)<250&&Math.abs(s.x)>20||Math.abs(s.x)>r/2,n=!i&&s.x>0||i==f.length-1&&s.x<0,a;t.continuous&&(n=!1),a=s.x<0,w||(y&&!n?(a?(t.continuous?(o(e(i-1),-r,0),o(e(i+2),r,0)):o(i-1,-r,0),o(i,l[i]-r,c),o(e(i+1),l[e(i+1)]-r,c),i=e(i+1)):(t.continuous?(o(e(i+1),r,0),o(e(i-2),-r,0)):o(i+1,r,0),o(i,l[i]+r,c),o(e(i-1),l[e(i-1)]+r,c),i=e(i-1)),t.callback&&t.callback(i,f[i])):t.continuous?(o(e(i-1),-r,c),o(i,0,c),o(e(i+1),r,c)):(o(i-1,-r,c),o(i,0,c),o(i+1,r,c))),u.removeEventListener("touchmove",h,!1),u.removeEventListener("touchend",h,!1)},transitionEnd:function(n){parseInt(n.target.getAttribute("data-index"),10)==i&&(y&&nt(),t.transitionEnd&&t.transitionEnd.call(n,i,f[i]))}};return d(),y&&nt(),a.addEventListener?(a.touch&&u.addEventListener("touchstart",h,!1),a.transitions&&(u.addEventListener("webkitTransitionEnd",h,!1),u.addEventListener("msTransitionEnd",h,!1),u.addEventListener("oTransitionEnd",h,!1),u.addEventListener("otransitionend",h,!1),u.addEventListener("transitionend",h,!1)),window.addEventListener("resize",h,!1)):window.onresize=function(){d()},{setup:function(){d()},slide:function(n,t){p(),b(n,t)},prev:function(){p(),ft()},next:function(){p(),it()},stop:function(){p()},getPos:function(){return i},getNumSlides:function(){return tt},kill:function(){var n,t;for(p(),u.style.width="",u.style.left="",n=f.length;n--;)t=f[n],t.style.width="",t.style.left="",a.transitions&&v(n,0,0);a.addEventListener?(u.removeEventListener("touchstart",h,!1),u.removeEventListener("webkitTransitionEnd",h,!1),u.removeEventListener("msTransitionEnd",h,!1),u.removeEventListener("oTransitionEnd",h,!1),u.removeEventListener("otransitionend",h,!1),u.removeEventListener("transitionend",h,!1),window.removeEventListener("resize",h,!1)):window.onresize=null}}}}var audioplayer_swfobject=function(){function v(){var i,r,n;if(!c){try{i=t.getElementsByTagName("body")[0].appendChild(h("span")),i.parentNode.removeChild(i)}catch(u){return}for(c=!0,r=w.length,n=0;n0)for(r=0;r0){if(t=u(f),t)if(!g(s[r].swfVersion)||n.wk&&n.wk<312)if(s[r].expressInstall&&ut()){h={},h.data=s[r].expressInstall,h.width=t.getAttribute("width")||"0",h.height=t.getAttribute("height")||"0",t.getAttribute("class")&&(h.styleclass=t.getAttribute("class")),t.getAttribute("align")&&(h.align=t.getAttribute("align"));var p={},a=t.getElementsByTagName("param"),w=a.length;for(c=0;c');y.outerHTML='"+k+"<\/object>",b[b.length]=t.id,v=u(t.id)}else{c=h(f),c.setAttribute("type",p);for(s in t)t[s]!=Object.prototype[s]&&(s.toLowerCase()=="styleclass"?c.setAttribute("class",t[s]):s.toLowerCase()!="classid"&&c.setAttribute(s,t[s]));for(l in r)r[l]!=Object.prototype[l]&&l.toLowerCase()!="movie"&&ii(c,l,r[l]);y.parentNode.replaceChild(c,y),v=c}return v}function ii(n,t,i){var r=h("param");r.setAttribute("name",t),r.setAttribute("value",i),n.appendChild(r)}function wt(t){var i=u(t);i&&i.nodeName=="OBJECT"&&(n.ie&&n.win?(i.style.display="none",function(){i.readyState==4?ri(t):setTimeout(arguments.callee,10)}()):i.parentNode.removeChild(i))}function ri(n){var t=u(n),i;if(t){for(i in t)typeof t[i]=="function"&&(t[i]=null);t.parentNode.removeChild(t)}}function u(n){var i=null;try{i=t.getElementById(n)}catch(r){}return i}function h(n){return t.createElement(n)}function ui(n,t,i){n.attachEvent(t,i),a[a.length]=[n,t,i]}function g(t){var r=n.pv,i=t.split(".");return i[0]=parseInt(i[0],10),i[1]=parseInt(i[1],10)||0,i[2]=parseInt(i[2],10)||0,r[0]>i[0]||r[0]==i[0]&&r[1]>i[1]||r[0]==i[0]&&r[1]==i[1]&&r[2]>=i[2]?!0:!1}function bt(r,u,o,s){var a,c,l;n.ie&&n.mac||(a=t.getElementsByTagName("head")[0],a)&&(c=o&&typeof o=="string"?o:"screen",s&&(e=null,tt=null),e&&tt==c||(l=h("style"),l.setAttribute("type","text/css"),l.setAttribute("media",c),e=a.appendChild(l),n.ie&&n.win&&typeof t.styleSheets!=i&&t.styleSheets.length>0&&(e=t.styleSheets[t.styleSheets.length-1]),tt=c),n.ie&&n.win?e&&typeof e.addRule==f&&e.addRule(r,u):e&&typeof t.createTextNode!=i&&e.appendChild(t.createTextNode(r+" {"+u+"}")))}function l(n,t){if(vt){var i=t?"visible":"hidden";c&&u(n)?u(n).style.visibility=i:bt("#"+n,"visibility:"+i)}}function kt(n){var t=/[\\\"<>\.;]/.exec(n)!=null;return t&&typeof encodeURIComponent!=i?encodeURIComponent(n):n}var i="undefined",f="object",st="Shockwave Flash",dt="ShockwaveFlash.ShockwaveFlash",p="application/x-shockwave-flash",ht="SWFObjectExprInst",ct="onreadystatechange",r=window,t=document,o=navigator,lt=!1,w=[gt],s=[],b=[],a=[],y,k,nt,at,c=!1,d=!1,e,tt,vt=!0,n=function(){var l=typeof t.getElementById!=i&&typeof t.getElementsByTagName!=i&&typeof t.createElement!=i,e=o.userAgent.toLowerCase(),s=o.platform.toLowerCase(),a=s?/win/.test(s):/win/.test(e),v=s?/mac/.test(s):/mac/.test(e),y=/webkit/.test(e)?parseFloat(e.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,h=!+"\v1",u=[0,0,0],n=null,c;if(typeof o.plugins!=i&&typeof o.plugins[st]==f)n=o.plugins[st].description,!n||typeof o.mimeTypes!=i&&o.mimeTypes[p]&&!o.mimeTypes[p].enabledPlugin||(lt=!0,h=!1,n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),u[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10),u[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10),u[2]=/[a-zA-Z]/.test(n)?parseInt(n.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(typeof r.ActiveXObject!=i)try{c=new ActiveXObject(dt),c&&(n=c.GetVariable("$version"),n&&(h=!0,n=n.split(" ")[1].split(","),u=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]))}catch(w){}return{w3:l,pv:u,wk:y,ie:h,win:a,mac:v}}(),fi=function(){n.w3&&((typeof t.readyState!=i&&t.readyState=="complete"||typeof t.readyState==i&&(t.getElementsByTagName("body")[0]||t.body))&&v(),c||(typeof t.addEventListener!=i&&t.addEventListener("DOMContentLoaded",v,!1),n.ie&&n.win&&(t.attachEvent(ct,function(){t.readyState=="complete"&&(t.detachEvent(ct,arguments.callee),v())}),r==top&&function(){if(!c){try{t.documentElement.doScroll("left")}catch(n){setTimeout(arguments.callee,0);return}v()}}()),n.wk&&function(){if(!c){if(!/loaded|complete/.test(t.readyState)){setTimeout(arguments.callee,0);return}v()}}(),pt(v)))}(),ei=function(){n.ie&&n.win&&window.attachEvent("onunload",function(){for(var e=a.length,r,i,u,f,t=0;t * @license The MIT License (MIT) */ t=function(){var n=".stickySidebar",t={topSpacing:0,bottomSpacing:0,containerSelector:!1,innerWrapperSelector:".inner-wrapper-sticky",stickyClass:"is-affixed",resizeSensor:!0,minWidth:!1};return function(){function u(n){var i=this,f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(r(this,u),this.options=u.extend(t,f),this.sidebar="string"==typeof n?document.querySelector(n):n,"undefined"==typeof this.sidebar)throw new Error("There is no specific sidebar element.");this.sidebarInner=!1,this.container=this.sidebar.parentElement,this.affixedType="STATIC",this.direction="down",this.support={transform:!1,transform3d:!1},this._initialized=!1,this._reStyle=!1,this._breakpoint=!1,this.dimensions={translateY:0,maxTranslateY:0,topSpacing:0,lastTopSpacing:0,bottomSpacing:0,lastBottomSpacing:0,sidebarHeight:0,sidebarWidth:0,containerTop:0,containerHeight:0,viewportHeight:0,viewportTop:0,lastViewportTop:0},["handleEvent"].forEach(function(n){i[n]=i[n].bind(i)}),this.initialize()}return i(u,[{key:"initialize",value:function(){var i=this,n,t;if(this._setSupportFeatures(),this.options.innerWrapperSelector&&(this.sidebarInner=this.sidebar.querySelector(this.options.innerWrapperSelector),null===this.sidebarInner&&(this.sidebarInner=!1)),!this.sidebarInner){for(n=document.createElement("div"),n.setAttribute("class","inner-wrapper-sticky"),this.sidebar.appendChild(n);this.sidebar.firstChild!=n;)n.appendChild(this.sidebar.firstChild);this.sidebarInner=this.sidebar.querySelector(".inner-wrapper-sticky")}if(this.options.containerSelector&&(t=document.querySelectorAll(this.options.containerSelector),t=Array.prototype.slice.call(t),t.forEach(function(n){n.contains(i.sidebar)&&(i.container=n)}),!t.length))throw new Error("The container does not contains on the sidebar.");"function"!=typeof this.options.topSpacing&&(this.options.topSpacing=parseInt(this.options.topSpacing)||0),"function"!=typeof this.options.bottomSpacing&&(this.options.bottomSpacing=parseInt(this.options.bottomSpacing)||0),this._widthBreakpoint(),this.calcDimensions(),this.stickyPosition(),this.bindEvents(),this._initialized=!0}},{key:"bindEvents",value:function(){window.addEventListener("resize",this,{passive:!0,capture:!1}),window.addEventListener("scroll",this,{passive:!0,capture:!1}),this.sidebar.addEventListener("update"+n,this),this.options.resizeSensor&&"undefined"!=typeof ResizeSensor&&(new ResizeSensor(this.sidebarInner,this.handleEvent),new ResizeSensor(this.container,this.handleEvent))}},{key:"handleEvent",value:function(n){this.updateSticky(n)}},{key:"calcDimensions",value:function(){if(!this._breakpoint){var n=this.dimensions;n.containerTop=u.offsetRelative(this.container).top,n.containerHeight=this.container.clientHeight,n.containerBottom=n.containerTop+n.containerHeight,n.sidebarHeight=this.sidebarInner.offsetHeight,n.sidebarWidth=this.sidebarInner.offsetWidth,n.viewportHeight=window.innerHeight,n.maxTranslateY=n.containerHeight-n.sidebarHeight,this._calcDimensionsWithScroll()}}},{key:"_calcDimensionsWithScroll",value:function(){var n=this.dimensions;n.sidebarLeft=u.offsetRelative(this.sidebar).left,n.viewportTop=document.documentElement.scrollTop||document.body.scrollTop,n.viewportBottom=n.viewportTop+n.viewportHeight,n.viewportLeft=document.documentElement.scrollLeft||document.body.scrollLeft,n.topSpacing=this.options.topSpacing,n.bottomSpacing=this.options.bottomSpacing,"function"==typeof n.topSpacing&&(n.topSpacing=parseInt(n.topSpacing(this.sidebar))||0),"function"==typeof n.bottomSpacing&&(n.bottomSpacing=parseInt(n.bottomSpacing(this.sidebar))||0),"VIEWPORT-TOP"===this.affixedType?n.topSpacing=n.containerBottom?(n.translateY=n.containerBottom-i,t="CONTAINER-BOTTOM"):r>=n.containerTop&&(n.translateY=r-n.containerTop,t="VIEWPORT-TOP"):n.containerBottom<=u?(n.translateY=n.containerBottom-i,t="CONTAINER-BOTTOM"):i+n.translateY<=u?(n.translateY=u-i,t="VIEWPORT-BOTTOM"):n.containerTop+n.translateY<=r&&0!==n.translateY&&n.maxTranslateY!==n.translateY&&(t="VIEWPORT-UNBOTTOM"),t}},{key:"_getAffixTypeScrollingUp",value:function(){var n=this.dimensions,r=n.sidebarHeight+n.containerTop,i=n.viewportTop+n.topSpacing,u=n.viewportBottom-n.bottomSpacing,t=this.affixedType;return i<=n.translateY+n.containerTop?(n.translateY=i-n.containerTop,t="VIEWPORT-TOP"):n.containerBottom<=u?(n.translateY=n.containerBottom-r,t="CONTAINER-BOTTOM"):this.isSidebarFitsViewport()||n.containerTop<=i&&0!==n.translateY&&n.maxTranslateY!==n.translateY&&(t="VIEWPORT-UNBOTTOM"),t}},{key:"_getStyle",value:function(n){var i,t,r;if("undefined"!=typeof n){i={inner:{},outer:{}},t=this.dimensions;switch(n){case"VIEWPORT-TOP":i.inner={position:"fixed",top:t.topSpacing,left:t.sidebarLeft-t.viewportLeft,width:t.sidebarWidth};break;case"VIEWPORT-BOTTOM":i.inner={position:"fixed",top:"auto",left:t.sidebarLeft,bottom:t.bottomSpacing,width:t.sidebarWidth};break;case"CONTAINER-BOTTOM":case"VIEWPORT-UNBOTTOM":r=this._getTranslate(0,t.translateY+"px"),i.inner=r?{transform:r}:{position:"absolute",top:t.translateY,width:t.sidebarWidth}}switch(n){case"VIEWPORT-TOP":case"VIEWPORT-BOTTOM":case"VIEWPORT-UNBOTTOM":case"CONTAINER-BOTTOM":i.outer={height:t.sidebarHeight,position:"relative"}}return i.outer=u.extend({height:"",position:""},i.outer),i.inner=u.extend({position:"relative",top:"",left:"",bottom:"",width:"",transform:""},i.inner),i}}},{key:"stickyPosition",value:function(t){var o,f,s,e,h,c;if(!this._breakpoint){t=this._reStyle||t||!1;var l=this.options.topSpacing,a=this.options.bottomSpacing,i=this.getAffixType(),r=this._getStyle(i);if((this.affixedType!=i||t)&&i){o="affix."+i.toLowerCase().replace("viewport-","")+n,u.eventTrigger(this.sidebar,o),"STATIC"===i?u.removeClass(this.sidebar,this.options.stickyClass):u.addClass(this.sidebar,this.options.stickyClass);for(f in r.outer)s="number"==typeof r.outer[f]?"px":"",this.sidebar.style[f]=r.outer[f]+s;for(e in r.inner)h="number"==typeof r.inner[e]?"px":"",this.sidebarInner.style[e]=r.inner[e]+h;c="affixed."+i.toLowerCase().replace("viewport-","")+n,u.eventTrigger(this.sidebar,c)}else this._initialized&&(this.sidebarInner.style.left=r.inner.left);this.affixedType=i}}},{key:"_widthBreakpoint",value:function(){window.innerWidth<=this.options.minWidth?(this._breakpoint=!0,this.affixedType="STATIC",this.sidebar.removeAttribute("style"),u.removeClass(this.sidebar,this.options.stickyClass),this.sidebarInner.removeAttribute("style")):this._breakpoint=!1}},{key:"updateSticky",value:function(){var n=this,t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};this._running||(this._running=!0,function(t){requestAnimationFrame(function(){switch(t){case"scroll":n._calcDimensionsWithScroll(),n.observeScrollDir(),n.stickyPosition();break;case"resize":default:n._widthBreakpoint(),n.calcDimensions(),n.stickyPosition(!0)}n._running=!1})}(t.type))}},{key:"_setSupportFeatures",value:function(){var n=this.support;n.transform=u.supportTransform(),n.transform3d=u.supportTransform(!0)}},{key:"_getTranslate",value:function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0,i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;return this.support.transform3d?"translate3d("+n+", "+t+", "+i+")":this.support.translate?"translate("+n+", "+t+")":!1}},{key:"destroy",value:function(){var t,i,r;window.removeEventListener("resize",this,{capture:!1}),window.removeEventListener("scroll",this,{capture:!1}),this.sidebar.classList.remove(this.options.stickyClass),this.sidebar.style.minHeight="",this.sidebar.removeEventListener("update"+n,this),t={inner:{},outer:{}},t.inner={position:"",top:"",left:"",bottom:"",width:"",transform:""},t.outer={height:"",position:""};for(i in t.outer)this.sidebar.style[i]=t.outer[i];for(r in t.inner)this.sidebarInner.style[r]=t.inner[r];this.options.resizeSensor&&"undefined"!=typeof ResizeSensor&&(ResizeSensor.detach(this.sidebarInner,this.handleEvent),ResizeSensor.detach(this.container,this.handleEvent))}}],[{key:"supportTransform",value:function(n){var i=!1,t=n?"perspective":"transform",r=t.charAt(0).toUpperCase()+t.slice(1),u=document.createElement("support"),f=u.style;return(t+" "+["Webkit","Moz","O","ms"].join(r+" ")+r).split(" ").forEach(function(n){if(f[n]!==undefined)return i=n,!1}),i}},{key:"eventTrigger",value:function(n,t,i){var r;try{r=new CustomEvent(t,{detail:i})}catch(u){r=document.createEvent("CustomEvent"),r.initCustomEvent(t,!0,!0,i)}n.dispatchEvent(r)}},{key:"extend",value:function(n,t){var r={},i;for(i in n)r[i]="undefined"!=typeof t[i]?t[i]:n[i];return r}},{key:"offsetRelative",value:function(n){var t={left:0,top:0},i,r;do i=n.offsetTop,r=n.offsetLeft,isNaN(i)||(t.top+=i),isNaN(r)||(t.left+=r),n="BODY"===n.tagName?n.parentElement:n.offsetParent;while(n);return t}},{key:"addClass",value:function(n,t){u.hasClass(n,t)||(n.classList?n.classList.add(t):n.className+=" "+t)}},{key:"removeClass",value:function(n,t){u.hasClass(n,t)&&(n.classList?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))}},{key:"hasClass",value:function(n,t){return n.classList?n.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(n.className)}},{key:"defaults",get:function(){return t}}]),u}()}(),n.default=t,window.StickySidebar=t})}),f=r(t);n["default"]=f,n.__moduleExports=t,Object.defineProperty(n,"__esModule",{value:!0})}),document.addEventListener("DOMContentLoaded",function(){setExtraContent();let t=[].slice.call(document.querySelectorAll("img.lazy")),r=[].slice.call(document.querySelectorAll("div.lazy")),i=!1;const n=function(){i===!1&&(i=!0,setTimeout(function(){t.forEach(function(i){i.getBoundingClientRect().top<=window.innerHeight+400&&i.getBoundingClientRect().bottom>=0&&getComputedStyle(i).display!=="none"&&(i.src=i.dataset.src,i.style.opacity=1,i.style.height="auto",i.classList.remove("lazy"),t=t.filter(function(n){return n!==i}),t.length===0&&(document.removeEventListener("scroll",n),window.removeEventListener("resize",n),window.removeEventListener("orientationchange",n)))}),r.forEach(function(i){i.getBoundingClientRect().top<=window.innerHeight&&i.getBoundingClientRect().bottom>=0&&getComputedStyle(i).display!=="none"&&(i.style.backgroundImage="url("+i.dataset.src,+ ')',i.style.opacity=1,i.classList.remove("lazy"),t=t.filter(function(n){return n!==i}),t.length===0&&(document.removeEventListener("scroll",n),window.removeEventListener("resize",n),window.removeEventListener("orientationchange",n)))}),i=!1},200))};$(window).scroll(function(){n();try{correctExtraContent()}catch(t){}}),window.addEventListener("resize",function(){n(),createSticker()}),window.addEventListener("orientationchange",n),isMobile()==!1&&sticker(),n()}),function(n,t){var i=n.jQuery||n.Cowboy||(n.Cowboy={}),r;i.throttle=r=function(n,r,u,f){function s(){function i(){o=+new Date,u.apply(h,c)}function l(){e=t}var h=this,s=+new Date-o,c=arguments;f&&!e&&i(),e&&clearTimeout(e),f===t&&s>n?i():r!==!0&&(e=setTimeout(f?l:i,f===t?n-s:n))}var e,o=0;return typeof r!="boolean"&&(f=u,u=r,r=t),i.guid&&(s.guid=u.guid=u.guid||i.guid++),s},i.debounce=function(n,i,u){return u===t?r(n,i,!1):r(n,u,i!==!1)}}(this),cnt=0,$(function(){var t,i,o,n,r,u,f,e;readCookie("subscribeAlert_active")!="true"&&"PushManager"in window&&"serviceWorker"in navigator&&document.getElementById("subscribe_container_small")!=undefined&&document.getElementById("subscribe_container_small")!=null&&(document.getElementById("subscribe_container_small").style.display="block"),$(window).scroll(),typeof loadNextFP=="function"&&(scrollToTopOfArticle(),loadNextFP(),setTimeout(function(){loadNextFP()},4e3),setTimeout(function(){loadNextFP()},7e3)),isMobile()&&$(window).scroll(function(){$(window).scrollTop()>60?$("#barcontainer").css("top",0):$("#barcontainer").removeAttr("style")}),t=readCookie("cookieConsent"),(t==undefined||t=="")&&$("#cookieconsent").fadeIn(300),i=readCookie("closeHms"),i!=undefined&&i!=""&&$(".hms-banner").remove(),$(".mobilemenu").append($(".mobilemenutop").clone().wrap("
").parent().html()),$("nav#menuv2").mmenu({},{offCanvas:{wrapPageIfNeeded:!1}}),$(".paperHolder").length>0,$("#mobilemenu").append($("#footernav").wrap('
  • ').parent().html()),fnlayout();try{o=setTimeout(function(){typeof doUpdate==typeof Function&&(doUpdate(),setTimeout(function(){window.location.reload()},3e5))},3e4)}catch(s){}if(isMobile()&&$("#contentbar_items").width($(".contentbar_item").length*160),$(window).resize(function(){sticker(),setTimeout(function(){$("#rightcont").addClass("stickit2")},200)}),n=-1,$(".bottomcolumn").each(function(){n=n>$(this).height()?n:$(this).height()}),r='
    <\/div>',$(".waitloadiframe").each(function(){$(this).attr("src",$(this).attr("tosrc"))}),isMobile()==!1){try{u=$("#bcoverview").height(),f=$(".bottomcolumn",$("#bottomleft")).last().height()+$(".bottomcolumn",$("#bottomleft")).last().position().top}catch(s){}!1&&$("#bcoverview").length>0&&(u
    '+r+"<\/div><\/div>"),$("#fb1").remove(),$("#fb2").remove()):($("#fb1").html('
    '+r+"<\/div>"),$("#fb2").remove()));try{FB.Event.subscribe("xfbml.render",function(){try{checkheights()}catch(n){}})}catch(s){checkheights()}}AudioPlayer.setup("https://www.weespernieuws.nl/Content/player.swf",{width:290,initialvolume:100,transparentpagebg:"yes",left:"000000",lefticon:"FFFFFF"}),$(".audiofileEmbed").each(function(){AudioPlayer.embed($(this).attr("id"),{soundFile:"/audio/"+$(this).attr("id")+".mp3",titles:"Geluidsfragment",artists:" ",autostart:"no"})}),$(".audiofileEmbed2").each(function(){titel="",$(this).attr("title")!=""&&(titel=$(this).attr("title")),AudioPlayer.embed($(this).attr("id"),{soundFile:$(this).attr("file")+"",titles:"Geluidsfragment",artists:" ",autostart:"no"})}),$("#saveEditor").click(function(){saveEditor()}),$(".waitload").each(function(){var n=$(this).attr("src")}),$("#morewidgts").masonry({}),$("#pollCookie").length>0&&(e=$("#pollCookie").val(),$.cookie(e)=="voted"&&($("#Antws").show(),$("#VAntws").hide()),($("#pollVoted").val()=="true"||$("#pollVoted").val()=="True")&&($("#VAntws").hide(),$("#Antws").show())),$("#ismobile").val()=="True"&&$("#footernav").html($(".regionselector").html()),$(".colofonlink",$("#footernav")).before("
  • RSS<\/a><\/li>"),$(".youtube-popup > div").click(function(){window.open($(this).parent().children("iframe").attr("src"))}),$(".reactoffer").click(function(){openCommentform()}),$(".reactcomment").click(function(){$(".offeraprice").hide(),$(".offeratitle").each(function(){$(this).html($(this).html().replace("advertentie","reactie"))}),$("#reactform").slideDown(200)}),window.location.href.indexOf("?comment")!=-1&&(openCommentform(),setTimeout(function(){$("html,body").animate({scrollTop:$("#reactform").offset().top},"slow")},200)),$(".mediaoffer").length>0&&$(".mediaoffer").colorbox(),$(".mediaen").length>0&&$(".mediaen").colorbox()}),contentFilled=!1,function(){$.fn.popbox=function(n){var t=$.extend({selector:this.selector,open:".open",box:".box",arrow:".arrow",arrow_border:".arrow-border",close:".close"},n),i={open:function(n){n.preventDefault();var u=$(this),r=$(this).parent().find(t.box);r.find(t.arrow).css({left:r.width()/2-10}),r.find(t.arrow_border).css({left:r.width()/2-10}),r.css("display")=="block"?i.close():r.css({display:"block",top:10,left:u.parent().width()/2-r.width()/2})},close:function(){$(t.box).fadeOut("fast")}};return $(document).bind("keyup",function(n){n.keyCode==27&&i.close()}),$(document).bind("click",function(n){$(n.target).closest(t.selector).length||i.close()}),this.each(function(){$(this).css({width:$(t.box).width()}),$(t.open,this).bind("click",i.open),$(t.open,this).parent().find(t.close).bind("click",function(n){n.preventDefault(),i.close()})})}}.call(this); /*! jQuery Colorbox v1.4.21 - 2013-06-06 (c) 2013 Jack Moore - jacklmoore.com/colorbox license: http://www.opensource.org/licenses/mit-license.php */ (function(n,t,i){function e(i,r,u){var f=t.createElement(i);return r&&(f.id=h+r),u&&(f.style.cssText=u),n(f)}function bt(){return i.innerHeight?i.innerHeight:n(i).height()}function vt(n){var i=c.length,t=(a+n)%i;return 0>t?i+t:t}function v(n,t){return Math.round((/%/.test(n)?("x"===t?b.width():bt())/100:1)*parseInt(n,10))}function vi(n,t){return n.photo||n.photoRegex.test(t)}function yi(n,t){return n.retinaUrl&&i.devicePixelRatio>1?t.replace(n.photoRegex,n.retinaSuffix):t}function pi(n){"contains"in u[0]&&!u[0].contains(n.target)&&(n.stopPropagation(),u.focus())}function wi(){var t,i=n.data(y,it);null==i?(r=n.extend({},oi),console&&console.log&&console.log("Error: cboxElement missing settings object")):r=n.extend({},i);for(t in r)n.isFunction(r[t])&&"on"!==t.slice(0,2)&&(r[t]=r[t].call(y));r.rel=r.rel||y.rel||n(y).data("rel")||"nofollow",r.href=r.href||n(y).attr("href"),r.title=r.title||y.title,"string"==typeof r.href&&(r.href=n.trim(r.href))}function rt(i,r){n(t).trigger(i),ft.trigger(i),n.isFunction(r)&&r.call(y)}function di(){var l,i,e,o,t,n=h+"Slideshow_",f="click."+h;r.slideshow&&c[1]?(i=function(){clearTimeout(l)},e=function(){(r.loop||c[a+1])&&(l=setTimeout(s.next,r.slideshowSpeed))},o=function(){st.html(r.slideshowStop).unbind(f).one(f,t),ft.bind(hi,e).bind(si,i).bind(ci,t),u.removeClass(n+"off").addClass(n+"on")},t=function(){i(),ft.unbind(hi,e).unbind(si,i).unbind(ci,t),st.html(r.slideshowStart).unbind(f).one(f,function(){s.next(),o()}),u.removeClass(n+"on").addClass(n+"off")},r.slideshowAuto?o():t()):u.removeClass(n+"off "+n+"on")}function yt(i){at||(y=i,wi(),c=n(y),a=0,"nofollow"!==r.rel&&(c=n("."+et).filter(function(){var t,i=n.data(this,it);return i&&(t=n(this).data("rel")||i.rel||this.rel),t===r.rel}),a=c.index(y),-1===a&&(c=c.add(y),a=c.length-1)),w.css({opacity:parseFloat(r.opacity),cursor:r.overlayClose?"pointer":"auto",visibility:"visible"}).show(),fi&&u.add(w).removeClass(fi),r.className&&u.add(w).addClass(r.className),fi=r.className,ri.html(r.close).show(),tt||(tt=lt=!0,u.css({visibility:"hidden",display:"block"}),l=e(o,"LoadedContent","width:0; height:0; overflow:hidden").appendTo(p),k=kt.height()+ni.height()+p.outerHeight(!0)-p.height(),d=dt.width()+gt.width()+p.outerWidth(!0)-p.width(),g=l.outerHeight(!0),nt=l.outerWidth(!0),r.w=v(r.initialWidth,"x"),r.h=v(r.initialHeight,"y"),s.position(),di(),rt(tr,r.onOpen),ui.add(ti).hide(),u.focus(),r.trapFocus&&t.addEventListener&&(t.addEventListener("focus",pi,!0),ft.one(li,function(){t.removeEventListener("focus",pi,!0)})),r.returnFocus&&ft.one(li,function(){n(y).focus()})),nr())}function bi(){!u&&t.body&&(ei=!1,b=n(i),u=e(o).attr({id:it,"class":n.support.opacity===!1?h+"IE":"",role:"dialog",tabindex:"-1"}).hide(),w=e(o,"Overlay").hide(),pt=e(o,"LoadingOverlay").add(e(o,"LoadingGraphic")),ut=e(o,"Wrapper"),p=e(o,"Content").append(ti=e(o,"Title"),ii=e(o,"Current"),ct=n('