PageSourceSearch

https://www.groningsebibliotheken.nl/etc.clientlibs/settings/wcm/d…ibs.min.f940acf32ca035521389c8655b20a341.js

js groningsebibliotheken.nl collected 2026-10-09 18:01:28 UTC 137,113 bytes, 260 lines download raw bytes

1var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,d){a.raw=d;return a};$jscomp.arrayIteratorImpl=function(a){var d=0;return function(){return d<a.length?{done:!1,value:a[d++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};
2$jscomp.makeIterator=function(a){var d="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(d)return d.call(a);if("number"==typeof a.length)return $jscomp.arrayIterator(a);throw Error(String(a)+" is not an iterable or ArrayLike");};$jscomp.arrayFromIterator=function(a){for(var d,b=[];!(d=a.next()).done;)b.push(d.value);return b};$jscomp.arrayFromIterable=function(a){return a instanceof Array?a:$jscomp.arrayFromIterator($jscomp.makeIterator(a))};
3String.prototype.replaceAll||(String.prototype.replaceAll=function(a,d){if(a instanceof RegExp){if(-1===a.flags.indexOf("g"))throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument");return this.replace(a,d)}for(var b=this.toString(),e=b.indexOf(a);-1!==e;)b=b.substring(0,e)+d+b.substring(e+a.length),e=b.indexOf(a,e+d.length);return b});
4(function(a,d){"function"===typeof define&&define.amd?define(function(){return d(a)}):"function"===typeof module&&module.exports?module.exports=d(a):d(a)})(this,function(a){function d(p){var q=this.prototype[p];this.prototype[p]=function(){var u;var t=0;for(u=arguments.length;t<u;t+=1){var w=arguments[t];q.call(this,w)}}}function b(p){var q=Array.prototype;if(q.indexOf)return q.indexOf.call(this,p);for(q=this.length-1;-1<q;){if(this[q]===p)return q;--q}return-1}function e(){var p=this.classes,q=p.join(" ");
5this.isSVG?this.setAttribute("class",q):this.element.className=q;this.list.length=p.length}function g(p){return-1!==b.call(n[this.id].classes,p)}function f(){for(var p=0,q,u=!1,t=n[this.id],w=t.classes,x=arguments.length;p<x;)q=arguments[p],-1===b.call(w,q)&&(w.push(q),u=!0),p+=1;u&&e.call(t)}function h(p){return n[this.id].classes[p]||null}function l(){for(var p=arguments.length-1,q,u=!1,t=n[this.id],w=t.classes;-1<p;)q=arguments[p],q=b.call(w,q),-1!==q&&(w.splice(q,1),u=!0),--p;u&&e.call(t)}function c(){var p=
6n[this.id];e.call(p);return p.element.className}function k(p,q){var u=-1!==b.call(n[this.id].classes,p),t;u?!0!==q&&(t="remove"):!1!==q&&(t="add");if(t)this[t](p);return!0===q||!1===q?q:!u}function m(p){var q;if((q=p.domTokenListId)&&q in n)return n[q].list;var u="object"===typeof p.className;var t=p.className;t=String(u?t.baseVal:t).replace(/^\s+|\s+$/,"");q=v+=1;n[q]={classes:0!==t.length?t.split(/\s+/):[],element:p,list:this,isSVG:u};this.id=q;this.length=n[q].classes.length;p.domTokenListId=q}
7if(a.Element){var n={},v=0,r=a.document.createElement("_");"classList"in r?(r.classList.add("c1","c2"),r.classList.contains("c2")||(d.call(a.DOMTokenList,"add"),d.call(a.DOMTokenList,"remove")),r.classList.toggle("c3",!1),r.classList.contains("c3")&&(a.DOMTokenList.prototype.toggle=function(){var p=a.DOMTokenList.prototype.toggle;return function(q,u){var t=!u;return 1<arguments.length&&this.contains(q)!==t?u:p.call(this,q)}}()),r=null):function(){var p,q=a.Element.prototype,u=[f,g,h,l,c,k],t="add contains item remove toString toggle".split(" "),
8w=m.prototype;for(p=t.length-1;-1<p;)w[t[p]]=u[p],--p;p={get:function(){var x=this.domTokenListId;return x&&x in n?n[x].list:new m(this)},configurable:!0,enumerable:!0};if(Object.defineProperty)try{Object.defineProperty(q,"classList",p)}catch(x){-2146823252===x.number&&(p.enumerable=!1,Object.defineProperty(q,"classList",p))}else Object.prototype.__defineGetter__&&q.__defineGetter__("classList",p);a.DOMTokenList=m}()}});
9"undefined"!==typeof Element&&(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(a){var d=this;do{if(d.matches(a))return d;d=d.parentElement||d.parentNode}while(null!==d&&1===d.nodeType);return null}));(function(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(a,d){d=d||window;for(var b=0;b<this.length;b++)a.call(d,this[b],b,this)})})();window.bw={};
10document.addEventListener("DOMContentLoaded",function(){bw.ui.initialize()});(function(a){var d=new Map,b=new Map;a.registry={register:function(e,g,f){f=void 0===f?{}:f;f=void 0===f.priority?0:f.priority;d.has(e)?d.get(e).push({priority:f,value:g}):d.set(e,[{priority:f,value:g}]);b[e]=!1},get:function(e){if(!d.has(e))return[];var g=d.get(e);b[e]||(g.sort(function(f,h){f=f.priority;h=h.priority;return(f>h)-(f<h)}),b[e]=!0);return g.map(function(f){return f.value})}}})(bw);
11(function(a){function d(c){c=parseFloat(c||0);return isNaN(c)?0:c}function b(c,k){var m="none"===window.getComputedStyle(c).display,n=null;m&&(n=c.getAttribute("style"),c.style.display="block");k=k();m&&(n?c.setAttribute("style",n):c.removeAttribute("style"));return k}function e(c,k){return b(c,function(){return d(c["offset"+k]||window.getComputedStyle(c)[k.toLowerCase()])})}function g(c,k){return b(c,function(){return d(window.getComputedStyle(c)[k.toLowerCase()])})}function f(c,k,m,n){return b(c,
12function(){var v=d(c["offset"+k]);if(n)for(var r=window.getComputedStyle(c),p=$jscomp.makeIterator(m),q=p.next();!q.done;q=p.next())v+=d(r["margin"+q.value]);return v})}function h(c,k,m,n){return b(c,function(){var v=window.getComputedStyle(c),r=d(v[k.toLowerCase()]);if(n)for(var p=$jscomp.makeIterator(m),q=p.next();!q.done;q=p.next())r+=d(v["margin"+q.value]);return r})}var l=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];a.util={};a.util.getWindowWidth=
13function(){return document.documentElement.clientWidth};a.util.getWindowHeight=function(){return document.documentElement.clientHeight};a.util.escapeHTML=function(c){return(""+c).replace(/&/g,"\x26amp;").replace(/>/g,"\x26gt;").replace(/</g,"\x26lt;").replace(/"/g,"\x26quot;")};a.util.replaceOrAddToQueryString=function(c,k,m){c+="";return c=-1!==c.indexOf(k+"\x3d")?c.replace(new RegExp(k+"\x3d[^\x26]+"),k+"\x3d"+encodeURIComponent(m)):c+((""===c?"?":"\x26")+k+"\x3d"+encodeURIComponent(m))};a.util.canPlay=
14function(c,k){var m;return!(null==(m=c.canPlayType)||!m.call(c,k+";").replace(/no/,""))};a.util.encodedCookie=function(c,k,m){if(void 0!==k)k=encodeURIComponent(k),a.util.rawCookie(c,k,m);else if(c=a.util.rawCookie(c))return decodeURIComponent(c)};a.util.rawCookie=function(c,k,m){m=m||{};m.secure=void 0===m.secure?"https:"===window.location.protocol:m.secure;m.sameSite=m.sameSite||"Lax";m.path=m.path||"/";if(c&&-1!==c.toString().indexOf(";")||k&&-1!==k.toString().indexOf(";")||m.path&&-1!==m.path.toString().indexOf(";")||
15m.domain&&-1!==m.domain.toString().indexOf(";"))throw Error("Cookie value contains ;");
15if(void 0!==k)c=[c+"\x3d"+k,"path\x3d"+m.path],m.date&&(k=new Date,m.date.call(null,k),c.push("expires\x3d"+k.toUTCString())),m.domain&&c.push("domain\x3d"+m.domain),c.push("SameSite\x3d"+m.sameSite),m.secure&&c.push("Secure"),document.cookie=c.join("; ");else for(m=$jscomp.makeIterator(document.cookie.split(";")),k=m.next();!k.done;k=m.next())if(k=k.value.trim(),k.substring(0,c.length+1)===c+"\x3d")return k.substring(c.length+
161)};a.util.cookies=function(){return document.cookie.split(";").filter(function(c){return c}).map(function(c){return c.trim().split("\x3d")}).reduce(function(c,k){var m=$jscomp.makeIterator(k);k=m.next().value;m=m.next().value;c[k]=m;return c},{})};a.util.cookieExists=function(c){return document.cookie.split(";").some(function(k){return k.trim().startsWith(c+"\x3d")})};a.util.cookieExistsWithValue=function(c,k){return document.cookie.split(";").some(function(m){return m.trim()===c+"\x3d"+k})};a.util.removeCookie=
17function(c,k,m){a.util.cookieExists(c)&&a.util.rawCookie(c,"",{date:function(n){return n.setFullYear(n.getFullYear()-1)},path:k,domain:m})};a.util.copy=function(c,k,m){c=c||{};if(k)for(var n in k)k.hasOwnProperty(n)&&(c[n]=m&&"object"===typeof k[n]?a.util.copy(c[n],k[n]):k[n]);return c};a.util.matches=function(c,k){return(c.matches||c.matchesSelector||c.msMatchesSelector||c.mozMatchesSelector||c.webkitMatchesSelector||c.oMatchesSelector).call(c,k)};a.util.isVisible=function(c){return!!(c.offsetWidth||
18c.offsetHeight||c.getClientRects().length)};a.util.children=function(c,k){var m=[];c=$jscomp.makeIterator(c.children);for(var n=c.next();!n.done;n=c.next())n=n.value,k&&!a.util.matches(n,k)||m.push(n);return m};a.util.firstChild=function(c,k){c=$jscomp.makeIterator(c.children);for(var m=c.next();!m.done;m=c.next())if(m=m.value,!k||a.util.matches(m,k))return m;return null};a.util.removeChildren=function(c,k){c=c.children;for(var m=c.length;-1<--m;){var n=c[m];k&&!a.util.matches(n,k)||a.util.removeElement(n)}};
19a.util.index=function(c,k){k||(k=c,c=c.parentElement);c=c.children;for(var m=0;m<c.length;m++){var n=c[m];if("string"===typeof k){if(a.util.matches(n,k))return m}else if(n===k)return m}return-1};a.util.previousSiblings=function(c,k){var m=[];for(c=c.previousElementSibling;c;c=c.previousElementSibling)k&&!a.util.matches(c,k)||m.push(c);return m};a.util.nextSiblings=function(c,k){var m=[];for(c=c.nextElementSibling;c;c=c.nextElementSibling)k&&!a.util.matches(c,k)||m.push(c);return m};a.util.siblings=
20function(c,k){for(var m=[],n=c.parentNode.firstElementChild;n;n=n.nextElementSibling)n===c||k&&!a.util.matches(n,k)||m.push(n);return m};a.util.firstSibling=function(c,k){for(var m=c.parentNode.firstElementChild;m;m=m.nextElementSibling)if(m!==c&&(!k||a.util.matches(m,k)))return m;return null};a.util.addClass=function(c,k){a.util.removeClass(c,k);c.className=0<c.className.length?c.className+(" "+k):c.className+k};a.util.removeClass=function(c,k){k.split(/[ ,]/).forEach(function(m){c.classList.remove(m)})};
21a.util.hasClass=function(c,k){return c.classList.contains(k)};a.util.insertBefore=function(c,k){k instanceof Element?c.parentElement.insertBefore(k,c):c.insertAdjacentHTML("beforebegin",k)};a.util.insertAfter=function(c,k){k instanceof Element?c.parentElement.insertBefore(k,c.nextElementSibling):c.insertAdjacentHTML("afterend",k)};a.util.insertIntoAsFirst=function(c,k){k instanceof Element?0===c.children.length?c.appendChild(k):c.insertBefore(k,c.children[0]):c.insertAdjacentHTML("afterbegin",k)};
22a.util.insertIntoAsLast=function(c,k){k instanceof Element?c.appendChild(k):c.insertAdjacentHTML("beforeend",k)};a.util.removeElement=function(c){var k,m;null==c||null==(k=c.parentElement)||null==(m=k.removeChild)||m.call(k,c)};a.util.parent=function(c,k){for(;c.parentElement;)if(c=c.parentElement,!k||a.util.matches(c,k))return c;return null};a.util.parents=function(c,k){for(var m=[];c.parentElement;)c=c.parentElement,k&&!a.util.matches(c,k)||m.push(c);return m};a.util.next=function(c,k){for(c=c.nextElementSibling;c;){if(!k||
23a.util.matches(c,k))return c;c=c.nextElementSibling}return null};a.util.setTimeout=function(c,k,m){var n="i"+c;if(c=a.util.setTimeout.timeOuts[n])clearTimeout(c),delete a.util.setTimeout.timeOuts[n];a.util.setTimeout.timeOuts[n]=setTimeout(function(){delete a.util.setTimeout.timeOuts[n];m()},k)};a.util.setTimeout.timeOuts={};a.util.getWidth=function(c){return e(c,"Width")};a.util.getHeight=function(c){return e(c,"Height")};a.util.getOuterWidth=function(c,k){return f(c,"Width",["Left","Right"],k)};
24a.util.getOuterHeight=function(c,k){return f(c,"Height",["Top","Bottom"],k)};a.util.getExactWidth=function(c){return g(c,"Width")};a.util.getExactHeight=function(c){return g(c,"Height")};a.util.getExactOuterWidth=function(c,k){return h(c,"Width",["Left","Right"],k)};a.util.getExactOuterHeight=function(c,k){return h(c,"Height",["Top","Bottom"],k)};a.util.animateStyle=function(c,k,m,n,v){function r(){l.forEach(function(y){c.removeEventListener(y,r)});c.style.removeProperty("transition");c.style.transition=
25t;v&&v(c)}var p={},q=k,u=m;"string"!==typeof m&&isNaN(m)?(p=k,q=m,u=n):v=n;"string"!==typeof u&&(u=u/1E3+"s");var t=c.style.transition||null;l.forEach(function(y){c.addEventListener(y,r)});for(var w in p)p.hasOwnProperty(w)&&(c.style[w]=p[w]);k=[];for(var x in q)q.hasOwnProperty(x)&&k.push(x+" "+u);c.style.transition=(t?t+", ":"")+k.join(", ");a.util.forceReflow(c);for(var z in q)c.style[z]=q[z]};a.util.slideOut=function(c,k){c.style.display="block";var m=getComputedStyle(c),n=m.height,v=m.paddingTop,
26r=m.paddingBottom,p=m.marginTop;m=m.marginBottom;c.style.height="0px";c.style.paddingTop="0px";c.style.paddingBottom="0px";c.style.marginTop="0px";c.style.marginBottom="0px";c.style.overflow="hidden";a.util.animateStyle(c,{height:n,"padding-top":v,"padding-bottom":r,"margin-top":p,"margin-bottom":m,"transition-timing-function":"ease-in"}
26,400,k)};a.util.slideIn=function(c,k,m){"function"===typeof k&&(m=k,k=!1);c.style.display="block";c.style.height=c.offsetHeight+"px";c.style.overflow="hidden";a.util.animateStyle(c,
27{height:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0,"transition-timing-function":"ease-in"},k?0:400,function(){c.style.display="none";c.removeAttribute("style");var n;null==(n=m)||n.call(c)})};a.util.easeInBack=function(c,k,m,n){k["transition-timing-function"]="cubic-bezier(0.600, 0, 0.735, 0.045)";a.util.animateStyle(c,k,m,n)};a.util.easeOutBack=function(c,k,m,n){k["transition-timing-function"]="cubic-bezier(0.175, 0.885, 0.320, 1.275)";a.util.animateStyle(c,k,m,n)};a.util.fadeOut=
28function(c,k,m){a.util.fadeTo(c,0,k,m)};a.util.fadeTo=function(c,k,m,n){a.util.animateStyle(c,{opacity:k},m,n)};a.util.fadeIn=function(c,k,m){a.util.fadeTo(c,1,k,m)};a.util.debounce=function(c,k,m){var n;return function(){var v=this,r=arguments,p=k&&!n;clearTimeout(n);n=setTimeout(function(){n=null;k||m.apply(v,r)},c);p&&m.apply(v,r)}};a.util.forceReflow=function(c){return c.offsetHeight}})(bw);
29(function(a,d){a.util.ajax=function(b,e,g,f){var h=b.method||"GET",l=b.url||b;b=b.timeout||0;var c=new XMLHttpRequest;c.onload=function(){null==e||e(c)};c.onprogress=function(){};c.onerror=function(){null==g||g(c)};c.ontimeout=function(){var k;null==(k=f||g)||k(c)};c.open(h,l);c.timeout=b;c.send()};a.util.getJSON=function(b,e,g,f){a.util.ajax(b,function(h){try{null==e||e(JSON.parse(h.responseText))}catch(l){null==g||g(h)}},g,f)};a.util.loadScript=function(b,e,g){var f=d.createElement("script");f.type=
30"text/javascript";f.src=b;f.async=!0;f.onload=e;f.onerror=g;d.head.appendChild(f)};a.util.loadStylesheet=function(b,e,g){var f=d.createElement("link");f.type="text/css";f.href=b;f.rel="stylesheet";f.onload=e;f.onerror=g;d.head.appendChild(f)}})(bw,document);
31(function(a,d){function b(h,l){for(var c=l.split("."),k=window;k=k[c.shift()];){var m=void 0;if(!c.length&&"function"===typeof k&&(null==(m=k.prototype)?void 0:m.constructor)===k){h._bw=h._bw||{};if(h._bw[l])return h._bw[l];c=Reflect.construct(k,[h]);h._bw[l]=c;h.classList.contains("static")&&(h.classList.remove("static"),h.classList.add("interactive"));k=new Event("bw.component:init");k.componentName=l;k.component=c;k.element=h;h.dispatchEvent(k);return c}}throw Error("Unknown component "+l+" defined on element "+
32h);}function e(h,l){(h=h.querySelector("a.switch"))&&h.setAttribute("aria-expanded",String(l))}function g(h){var l=null;(h||a.body).querySelectorAll(".hoverexpandable .switch").forEach(function(c){function k(m){var n=d.util.parent(c,".hoverexpandable"),v=a.querySelectorAll("body \x3e div");if("touchend"===m.type&&m.target===l){if(d.util.hasClass(m.target.parentElement,"focus")){setTimeout(function(){d.util.removeClass(m.target.parentElement,"focus")},0);m.stopPropagation();m.preventDefault();m.target.blur();
33return}m.target.focus()}d.util.hasClass(n,"focus")||(a.body.querySelectorAll(".hoverexpandable.focus").forEach(function(r){d.util.removeClass(r,"focus");e(r,!1)}),v.forEach(function(r){function p(q){for(var u=!1,t=!1,w=q.target,x=w.parentElement;x;){if(x===n){d.util.matches(w,".switch")||d.util.matches(w.parentElement,".switch")?(q.preventDefault(),t=!0):u=!0;break}x=x.parentElement}if(!u||t)d.util.removeClass(n,"focus"),e(n,!1),t&&(n.classList.add("escape-closed"),n.addEventListener("mouseleave",
34function(){n.classList.remove("escape-closed")},{once:!0})),r.removeEventListener("click",p),r.removeEventListener("touchend",p)}r.removeEventListener("touchend",p);r.removeEventListener("click",p);n.classList.remove("escape-closed");d.util.addClass(n,"focus");e(n,!0);m.stopPropagation();m.preventDefault();r.addEventListener("click",p);r.addEventListener("touchend",p)}))}c.addEventListener("click",k);c.addEventListener("touchend",k);c.addEventListener("touchstart",function(m){function n(){r.removeEventListener("mouseover",
35n);d.util.removeClass(r,"touchstart")}var v=a.body.querySelectorAll(".touchstart"),r=m.target.parentElement;l!==m.target&&v.forEach(function(p){p.removeEventListener("mouseover",n);d.util.removeClass(p,"touchstart")});d.util.addClass(r,"touchstart");r.addEventListener("mouseover",n);l=m.target})});a.addEventListener("keydown",function(c){if("Escape"===c.key){if(c=a.body.querySelector(".hoverexpandable.focus"))d.util.removeClass(c,"focu
35s"),e(c,!1),(c=c.querySelector("a.switch"))&&c.focus();a.body.querySelectorAll(".hoverexpandable").forEach(function(k){k.classList.add("escape-closed");
36e(k,!1)});a.addEventListener("mousemove",function(){a.body.querySelectorAll(".hoverexpandable.escape-closed").forEach(function(k){k.classList.remove("escape-closed")})},{once:!0})}});(h||a.body).querySelectorAll(".hoverexpandable").forEach(function(c){c.addEventListener("mouseenter",function(){e(c,!0)});c.addEventListener("mouseleave",function(){d.util.hasClass(c,"focus")||e(c,!1)});c.addEventListener("focusout",function(k){c.contains(k.relatedTarget)||(d.util.removeClass(c,"focus"),e(c,!1))})})}
37function f(h){(h||a.body).querySelectorAll(".expandable.biebwidget h2").forEach(function(l){l.addEventListener("click",function(c){c.preventDefault();c=c.target.parentElement;d.util.hasClass(c,"open")?d.util.removeClass(c,"open"):d.util.addClass(c,"open")})})}d.ui={};d.ui.form={};d.ui.initialize=function(h){g(h);var l=[],c=[];Array.prototype.push.apply(c,(h||a.body).querySelectorAll("[data-component]"));(null==h?0:h.hasAttribute("data-component"))&&c.push(h);c=$jscomp.makeIterator(c);for(var k=c.next();!k.done;k=
38c.next()){k=k.value;var m=k.getAttribute("data-component").split(/\s+/);m=$jscomp.makeIterator(m.filter(Boolean));for(var n=m.next();!n.done;n=m.next())n=n.value,n.startsWith("bw.bnl.")?l.push({viewNode:k,widget:n}):b(k,n)}l=$jscomp.makeIterator(l);for(c=l.next();!c.done;c=l.next())c=c.value,b(c.viewNode,c.widget);(634>=d.util.getWindowWidth()||634>=d.util.getWindowHeight())&&f(h)};d.ui.getComponent=function(h,l){var c;return null==(c=l._bw)?void 0:c[h]};d.ui.componentReady=function(h,l,c){var k=
39d.ui.getComponent(l,c);if(k)h(k);else{var m=function(n){n.componentName===l&&(h(n.component),(c||a.body).removeEventListener("bw.component:init",m))};(c||a.body).addEventListener("bw.component:init",m)}}})(document,bw);
40(function(a){function d(g){var f='\x3cdiv class\x3d"modalwindow-container'+(g.position?"":" bar")+" size-"+g.size+'"\x3e';f+='\x3cdiv class\x3d"modalwindow '+g.classname+'"\x3e';g.title&&(f+="\x3ch2\x3e"+g.title+"\x3c/h2\x3e");null!==g.content&&(f+='\x3cdiv class\x3d"modalwindow-content '+(g.title?"":"closepadding")+'"\x3e'+g.content+"\x3c/div\x3e");g.footer&&(f+='\x3cdiv class\x3d"modalwindow-footer"\x3e'+g.footer+"\x3c/div\x3e");g.closeable&&(f+='\x3cbutton class\x3d"close"\x3e\x3cspan\x3esluiten\x3c/span\x3e\x3c/button\x3e');
41f+="\x3c/div\x3e\x3c/div\x3e";var h={},l=document.createElement("create");l.innerHTML=f;h.element=l.children[0];h.setSize=function(c){var k=h.element.classList;k.remove("size-"+h.settings.size);k.add("size-"+c);h.settings.size=c};h.setContent=function(c){h.element.querySelector(".modalwindow-content").innerHTML=c};h.open=function(){b(h)};h.close=function(){a.ui.modalwindow.close(h)};h.remove=function(){a.ui.modalwindow.remove(h)};h.hide=function(){h.element.classList.add("hidden")};h.show=function(){h.element.classList.remove("hidden")};
42g.closeable&&h.element.querySelector("button.close").addEventListener("click",h.close);h.settings=g;return h}function b(g){var f=g.settings;if(f.show_overlay&&!document.body.querySelector(".backgroundoverlay")){var h=document.createElement("div");h.classList.add("backgroundoverlay");f.firstthing?a.util.insertIntoAsFirst(document.body.querySelector(".biebwidget-content"),h):a.util.insertIntoAsLast(f.widget,h);f.closeable&&h.addEventListener("click",function(){g.close(g)})}g.show();f.closeable&&f.show_overlay&&
43(g.handleKeyUp=function(l){27===l.keyCode&&g.close(g)},document.addEventListener("keyup",g.handleKeyUp));g.element.dispatchEvent(new Event("modalWindowOpen"))}function e(g){g.hide();document.body.querySelectorAll(".backgroundoverlay").forEach(function(f){a.util.removeElement(f)});g.settings.closeable&&document.removeEventListener("keyup",g.handleKeyUp);g.element.dispatchEvent(new Event("modalWindowClose"))}a.ui.modalwindow={};a.ui.modalwindow.default_settings={classname:"",size:"medium",minheight:0,
44maxheight:a.util.getWindowHeight(),title:"",content:"",footer:"",show_overlay:!0,closeable:!0,firstthing:!1,position:"float"};a.ui.modalwindow.prepare=function(g,f){f=a.util.copy(Object.create(a.ui.modalwindow.default_settings),f,!1);a.util.hasClass(g,"biebwidget-content")?f.widget=g:f.widget=g.querySelector(".biebwidget-content");return f.widget?d(f):(console.warn("bw.ui.modalwindow: target is not wrapped by widget: "+g),!1)};a.ui.modalwindow.open=function(g,f){g=a.ui.modalwindow.prepare(g,f);if(!1===
45g)return!1;g.settings.firstthing?a.util.insertIntoAsFirst(document.body.querySelector(".biebwidget-content"),g.element):a.util.insertIntoAsLast(g.settings.widget,g.element);b(g);return g};a.ui.modalwindow.close=e;a.ui.modalwindow.remove=function(g){e(g);a.util.removeElement(g.element)}})(bw);
46(function(a){a.ui.foldable=function(d){if(!d.classList.contains("interactive")){this.toggler=d;a.util.addClass(this.toggler,"interactive");this.content=this.toggler.nextElementSibling;var b=this.containsHash();this.open=a.util.hasClass(d,"open")||b;b&&(a.util.removeClass(this.toggler,"close"),a.util.addClass(this.toggler,"open"));d=document.createElement("span");d.textContent=this.toggler.textContent;this.button=document.createElement("button");this.updateAriaState();a.util.addClass(this.button,"default");
47a.util.insertIntoAsLast(this.button,d);this.toggler.textContent="";a.util.insertIntoAsLast(this.toggler,this.button);this.button.addEventListener("click",this.toggleFold.bind(this))}};a.ui.foldable.prototype.containsHash=function(){var d,b;return!(!window.location.hash||![null==(d=this.toggler)?void 0:d.id,null==(b=this.content)?void 0:b.id].c
47oncat($jscomp.arrayFromIterable(Array.from(this.toggler.querySelectorAll("[id]")).map(function(e){return e.id})),$jscomp.arrayFromIterable(Array.from(this.content.querySelectorAll("[id]")).map(function(e){return e.id}))).includes(window.location.hash.substring(1)))};
48a.ui.foldable.prototype.toggleFold=function(d){d.preventDefault();this.animating||(this.animating=!0,this.open?this.foldIn():this.foldOut())};a.ui.foldable.prototype.foldIn=function(d){this.open=!1;a.util.removeClass(this.toggler,"open");a.util.addClass(this.toggler,"closing");a.util.slideIn(this.content,function(){a.util.removeClass(this.toggler,"closing");this.animating=!1;null==d||d(this.content)}.bind(this));this.updateAriaState()};a.ui.foldable.prototype.foldOut=function(d){this.open=!0;a.util.addClass(this.toggler,
49"opening");a.util.slideOut(this.content,function(){a.util.addClass(this.toggler,"open");a.util.removeClass(this.toggler,"opening");this.content.removeAttribute("style");this.animating=!1;null==d||d(this.content)}.bind(this));this.updateAriaState()};a.ui.foldable.prototype.updateAriaState=function(){this.button.setAttribute("aria-expanded",this.open.toString())}})(bw);
50(function(a){a.ui.itempicker2=function(d){this.element=d;this.setup()};a.ui.itempicker2.prototype.setup=function(){var d=!1,b=a.util.children(this.element,"li"),e="bottom"===this.element.getAttribute("data-position")?!a.util.nextSiblings(this.element,".itempicker").length:!a.util.previousSiblings(this.element,".itempicker").length;1<b.length&&e&&(this.content=b,this.content.forEach(function(g){this.itempicker||(this.itempicker=document.createElement("ul"),this.itempicker.classList.add("plain","itempicker",
51"interactive"),"bottom"===this.element.getAttribute("data-position")?a.util.insertAfter(this.element,this.itempicker):a.util.insertBefore(this.element,this.itempicker));var f="",h=g.querySelector("img.etalage, span.coverplaceholder").cloneNode(!0),l="IMG"===h.tagName,c=a.util.next(h),k=g.querySelector("a[href]");k&&(f=k.getAttribute("href"));l?(h.setAttribute("src",h.getAttribute("src").replace("\x26size\x3d80","\x26size\x3d40")),h.removeAttribute("class"),h.setAttribute("class","list cover")):(a.util.removeClass(h,
52"etalage"),a.util.addClass(h,"list"));k=document.createElement("li");var m=document.createElement("a");m.href=f;k.appendChild(m);a.util.insertIntoAsLast(this.itempicker,k);a.util.insertIntoAsLast(m,h);if(l&&!h.getAttribute("alt")||a.util.matches(h,"span.coverplaceholder")&&(!c||!a.util.matches(c,"span.struct")))(f=g.querySelector("h3, h4"))&&0<a.util.children(f,"a").length&&(f=a.util.children(f,"a")[0]),f=Array.prototype.map.call(Array.prototype.filter.call(f.childNodes,function(n){return n.nodeType===
53Node.TEXT_NODE||"SPAN"===n.nodeName&&n.classList.contains("title")}),function(n){return n.textContent}).join(""),l?h.setAttribute("alt",f):a.util.insertAfter(h,'\x3cspan class\x3d"struct"\x3e'+a.util.escapeHTML(f)+"\x3c/span\x3e");!d&&a.util.hasClass(g,"current")&&(d=!0,(h=a.util.children(this.itempicker,"li").slice(-1)[0])&&a.util.addClass(h,"current"),a.util.siblings(g).forEach(function(n){a.util.removeClass(n,"current")}))}.bind(this)),d||(a.util.addClass(this.content[0],"current"),a.util.addClass(a.util.children(this.itempicker,
54"li")[0],"current")),this.attachHandlers())};a.ui.itempicker2.prototype.attachHandlers=function(){this.itempicker.addEventListener("click",function(d){var b=d.target,e=b.closest("li");this.attachBlur(b);b=a.util.index(e);a.util.addClass(e,"current");a.util.siblings(e).forEach(function(g){a.util.removeClass(g,"current")});a.util.addClass(this.content[b],"current");a.util.siblings(this.content[b]).forEach(function(g){a.util.removeClass(g,"current")});d.preventDefault()}.bind(this))};a.ui.itempicker2.prototype.attachBlur=
55function(d){var b=function(){d.blur();d.removeEventListener("mousemove",b)};d.addEventListener("mousemove",b)}})(bw);
56(function(a){a.ui.rotatingitems=function(d){this.element=d;this.setup()};a.ui.rotatingitems.prototype.setup=function(){634<a.util.getWindowWidth()&&(this.items=a.util.children(this.element,"li"),this.element.addEventListener("mouseenter",this.pause.bind(this)),this.element.addEventListener("mouseleave",this.continue.bind(this)),this.start())};a.ui.rotatingitems.prototype.determineOffset=function(){var d=a.util.parents(this.element,".biebwidget-column, .biebwidget-double-column")[0];return d?a.util.hasClass(d,
57"biebwidget-column")?400:808:1216};a.ui.rotatingitems.prototype.pause=function(){this.intervalId&&clearInterval(this.intervalId);this.intervalId=null};a.ui.rotatingitems.prototype.continue=function(){this.intervalId||(this.intervalId=setInterval(this.nextItem.bind(this),this.timeout))};a.ui.rotatingitems.prototype.stop=function(){this.pause();for(var d=$jscomp.makeIterator(this.items),b=d.next();!b.done;b=d.next())b.value.removeAttribute("style")};a.ui.rotatingitems.prototype.start=function(){if(1<
58this.items.length){this.offset=this.determineOffset();this.timeout=7500;for(var d=0;d<this.items.length;d++)d?(this.items[d].style.left=this.offset+"px",this.items[d].style.display="none"):(this.items[d].style.left="0",this.items[d].style.display="block");this.activeItemIndex=this.newItemIndex=0;a.util.addClass(this.element,"interactive");this.continue()}};a.ui.rotatingitems.prototype.nextItem=function(){this.newItemIndex++;this.newItemIndex%=this.items.length;a.util.easeInBack(this.items[this.activeItemIndex],
59{left:"-"+this.offset+"px"},700,function(){this.items[this.activeItemIndex].style.left=this.offset+"px";this.items[this.activeItemIndex].style.display="none";this.items[this.newItemIndex].style.display="block";a.util.easeOutBack(this.items[this.newItemIndex],{left:"0"},700,function(){this.activeItemIndex=this.newItemIndex}.bind(this))}.bind(this))}})(bw);
60(function(a){function d(b,e){return b[e+(0>e?b.length:0)]}a.ui.slideshow=function(b){this.element=b;this.setup()};a.ui.slideshow.prototype.setup=function(){this.items=a.util.children(this.element,"li.slider-item");if(1<this.items.length){this.ofText=this.element.getAttribute("data-of-text")||"van";this.currentlySliding=this.navigationCreated=this.heightSet=!1;this.activeItemIndex=this.newItemIndex=0;this.couldBeCollapsed=!(!a.util.parents(this.element,".biebwidget.expandable")[0]||!a.ui.couldBeExpandable());
61this.yDown=this.xDown=null;this.setConfigData();this.nrOfItemsInView=1;if(this.config.animationsEnabled){this.items[0].style.left=0;if(100>this.config.itemWidth){this.nrOfItemsInView=2;var b=this.items.slice(1,this.nrOfItemsInView);b=$jscomp.makeIterator(b);for(var e=b.next();!e.done;e=b.next())e=e.value,e.style.left=this.config.itemWidth+"%",a.util.addClass(e,"partial"),(e=e.querySelector("a.button"))&&e.setAttribute("tabindex","-1")}b=this.items.slice(this.nrOfItemsInView);b=$jscomp.makeIterator(b);
62for(e=b.next();!e.done;e=b.next())e.value.style.left="100%"}this.setContainerHeight(0,1);window.addEventListener("resize",a.util.debounce(125,!1,this.doResize).bind(this));this.element.addEventListener("touchstart",this.handleTouchStart.bind(this));this.element.addEventListener("touchmove",this.determineSwipeDirection.bind(this));this.element.addEventListener("swipeRight",this.navigatePrev.bind(this));this.element.addEventListener("swipeLeft",this.navigateNext.bind(this))}};a.ui.slideshow.prototype.setConfigData=
63function(){this.config={};this.config.heightCertain="true"===this.element.getAttribute("data-heightcertain");this.config.animationsEnabled="true"===(this.element.getAttribute("data-animationsenabled")||"true");this.config.hiddenClass="hidden";this.config.itemWidth=100;var b=this.element.getAttribute("data-itemwidth");/\d{2,3}/.test(b)&&90<=parseInt(b,10)&&100>=parseInt(b,10)&&(this.config.itemWidth=parseInt(b,10));this.config.navFade=100!==this.config.itemWidth;this.config.loopIntent="true"===this.element.getAttribute("data-loop");
64this.config.loop=this.config.loopIntent&&(2<this.items.length||1<this.items.length&&100===this.config.itemWidth);this.config.navNextOnlyIntent=this.config.loopIntent&&"true"===this.element.getAttribute("data-navnextonly");this.config.navNextOnly=this.config.loop&&this.config.navNextOnlyIntent;this.config.indicators=this.config.loop&&"true"===this.element.getAttribute("data-indicators")};a.ui.slideshow.prototype.doResize=function(){this.heightSet=!1;this.setContainerHeight(0,1);this.positionNavigation()};
65a.ui.slideshow.prototype.setContainerHeight=function(b,e){var g=this.items.slice(b,e);if(this.config.heightCertain)this.doSetContainerHeight(g),this.createNavigation();else{this.picsLoaded=this.initialPicsLoaded=0;var f=function(h){var l=0;h=$jscomp.makeIterator(h);for(var c=h.next();!c.done;c=h.next())l+=c.value.querySelectorAll("img").length;return l};this.initialTotalPics=f(g);this.totalPics=f(this.items);this.imgsComplete(g)?(this.picsLoaded=this.initialPicsLoaded=this.initialTotalPics,this.doSetContainerHeight(g),
66this.initialTotalPics>=this.totalPics&&this.createNavigation()):g.forEach(function(h){var l=this.couldBeCollapsed||0<a.util.getHeight(h);h.querySelectorAll("img").forEach(function(c){if(l&&c.complete&&0<this.getHeight(c))this.doPicLoaded(!0,b,e);else{var k=function(){this.doPicLoaded(!0,b,e)}
66.bind(this);c.addEventListener("load",k);c.addEventListener("error",k)}}.bind(this))}.bind(this));this.items.slice(e).forEach(function(h){var l=this.couldBeCollapsed||0<a.util.getHeight(h);h.querySelectorAll("img").forEach(function(c){if(l&&
67c.complete&&0<this.getHeight(c))this.doPicLoaded(!1,b,e);else{var k=function(){this.doPicLoaded(!1,b,e)}.bind(this);c.addEventListener("load",k);c.addEventListener("error",k)}}.bind(this))}.bind(this));this.picsLoaded!==this.totalPics&&window.addEventListener("load",function(){this.doSetContainerHeight(this.items.slice(b,e));this.createNavigation()}.bind(this))}};a.ui.slideshow.prototype.imgsComplete=function(b){var e=!0;b.forEach(function(g){g.querySelectorAll("img").forEach(function(f){f.complete&&
680!==this.getHeight(f)||(e=!1)}.bind(this))}.bind(this));return e};a.ui.slideshow.prototype.doPicLoaded=function(b,e,g){b&&++this.initialPicsLoaded;++this.picsLoaded;b&&this.initialPicsLoaded>=this.initialTotalPics&&this.doSetContainerHeight(this.items.slice(e,g));this.picsLoaded>=this.totalPics&&this.createNavigation()};a.ui.slideshow.prototype.doSetContainerHeight=function(b){if(!this.heightSet){var e=0;b.forEach(function(f){f=this.getHeight(f);e=Math.max(f,e)}.bind(this));if(0<e)this.element.style.height=
69e+"px";else if(this.couldBeCollapsed){var g=[];b.forEach(function(f){f=f.querySelectorAll("img");f=$jscomp.makeIterator(f);for(var h=f.next();!h.done;h=f.next())g.push(h.value)});this.doSetContainerHeight(g)}this.heightSet=!0}};a.ui.slideshow.prototype.createNavigation=function(){if(!this.navigationCreated&&1<this.items.length){this.navigationCreated=!0;var b=this.element.getAttribute("data-prev"),e=this.element.getAttribute("data-next"),g=this.element.getAttribute("data-navclass"),f=this.config.navFade?
70" fadeout":"",h=this.config.loop?'class\x3d"prev"':'class\x3d"prev passive" disabled';g=g?" "+a.util.escapeHTML(g):"";a.util.addClass(this.items[0],"current");a.util.addClass(this.element,"interactive");this.config.navNextOnly?a.util.insertBefore(this.element,'\x3cdiv class\x3d"slidingnav'+g+f+'"\x3e\x3cbutton class\x3d"next"\x3e'+a.util.escapeHTML(e)+"\x3c/button\x3e\x3c/div\x3e"):a.util.insertBefore(this.element,'\x3cdiv class\x3d"slidingnav'+g+f+'"\x3e\x3cbutton '+h+"\x3e"+a.util.escapeHTML(b)+
71'\x3c/button\x3e\x3cbutton class\x3d"next"\x3e'+a.util.escapeHTML(e)+"\x3c/button\x3e\x3c/div\x3e");var l=0;this.items.forEach(function(c){++l;l>this.nrOfItemsInView&&a.util.addClass(c,this.config.hiddenClass)}.bind(this));this.heightSet=!1;this.setContainerHeight(0,1);this.nav=a.util.previousSiblings(this.element,".slidingnav")[0];"absolute"!==window.getComputedStyle(this.nav).position&&(this.config.navFade=!1);this.positionNavigation();this.createIndicators();(this.navPrev=a.util.children(this.nav,
72"button.prev")[0])&&this.navPrev.addEventListener("click",this.navigatePrev.bind(this));(this.navNext=a.util.children(this.nav,"button.next")[0])&&this.navNext.addEventListener("click",this.navigateNext.bind(this))}};a.ui.slideshow.prototype.handleTouchStart=function(b){this.xDown=b.touches[0].clientX;this.yDown=b.touches[0].clientY};a.ui.slideshow.prototype.determineSwipeDirection=function(b){if(this.xDown&&this.yDown){var e=this.xDown-b.touches[0].clientX;Math.abs(e)>Math.abs(this.yDown-b.touches[0].clientY)&&
73(b.preventDefault(),this.element.dispatchEvent(new Event(0<e?"swipeLeft":"swipeRight")));this.yDown=this.xDown=null}};a.ui.slideshow.prototype.navigateNext=function(b){this.currentlySliding||(this.currentlySliding=!0,this.nextItem(b),this.blurOnLeave(b))};a.ui.slideshow.prototype.navigatePrev=function(b){this.currentlySliding||(this.currentlySliding=!0,this.prevItem(b),this.blurOnLeave(b))};a.ui.slideshow.prototype.blurOnLeave=function(b){if("click"===b.type){var e=function(g){g.target.blur();g.target.removeEventListener("mouseleave",
74e)};b.target.addEventListener("mouseleave",e)}};a.ui.slideshow.prototype.createIndicators=function(){this.config.indicators&&(this.indicators=document.createElement("div"),this.indicators.classList.add("slidingindicators"),a.util.insertAfter(this.element,this.indicators),a.util.insertIntoAsLast(this.indicators,'\x3cp class\x3d"struct"\x3eSlide \x3cspan class\x3d"this"\x3e1\x3c/span\x3e '+this.ofText+" "+this.items.length+"\x3c/p\x3e"),this.humanreadableIndex=this.indicators.querySelector("p.struct \x3e span.this"),
75this.items.forEach(function(b,e){a.util.insertIntoAsLast(this.indicators,'\x3cspan class\x3d"dot'+(0===e?" current":"")+'"\x3e\x3c/span\x3e')}.bind(this)),this.indicators=a.util.children(this.indicators,"span"))};a.ui.slideshow.prototype.positionNavigation=function(){this.navigationCreated||this.createNavigation();if(this.config.navFade){var b=a.util.getOuterHeight(this.element,!0),e=this.getHeight(this.items[0]);this.nav.style.height=b<e?e+"px":b+"px"}var g=0,f=0,h=50;this.items.forEach(function(c){c=
76this.getHeight(c);c>f&&(f=c);if(!g||c<g)g=c}.bind(this));if(!f&&this.couldBeCollapsed){var l=[];this.items.forEach(function(c){c=c.querySelectorAll("img");c=$jscomp.makeIterator(c);for(var k=c.next();!k.done;k=c.next())l.push(k.value)});l.forEach(function(c){c=this.getHeight(c);c>f&&(f=c);if(!g||c<g)g=c}.bind(this))}g<h&&(g=h);h=Math.min(Math.max(20,g-43),Math.floor((g+f)/4)-23);a.util.children(this.nav,"button").forEach(function(c){c.style.top=h+"px"})};a.ui.slideshow.prototype.nextItem=function(){var b=
77this.activeItemIndex+1;if(this.config.loop||b<this.items.length){this.newItemIndex=b;100>this.config.itemWidth&&++this.newItemIndex;this.config.loop&&(this.newItemIndex%=this.items.length);var e=d(this.items,this.activeItemIndex);b=d(this.items,this.newItemIndex);if(this.activeItemIndex+1<this.items.length||this.config.loop)if(this.config.animationsEnabled){b&&a.util.removeClass(b,this.config.hiddenClass);if(100===this.config.itemWidth)b&&(b.style.left="100%");else{var g=this.activeItemIndex+1;this.config.loop&&
78(g%=this.items.length);g=d(this.items,g);b&&(b.style.left=2*this.config.itemWidth+"%")}b&&a.util.forceReflow(b);2===this.items.length&&this.config.loopIntent&&!this.config.loop?(a.util.addClass(e,"partial"),(b=e.querySelector("a.button"))&&b.setAttribute("tabindex","-1"),a.util.removeClass(g,"partial"),g&&(b=g.querySelector("a.button"))&&b.removeAttribute("tabindex"),this.transition(e,{left:100-2*this.config.itemWidth+"%"},!0),this.transition(g,{left:100-this.config.itemWidth+"%"},!0)):(this.transition(e,
79{left:"-"+this.config.itemWidth+"%"},!0,function(f){a.util.addClass(f,this.config.hiddenClass)}.bind(this)),100===this.config.itemWidth?b&&(a.util.removeClass(b,"partial"),(g=b.querySelector("a.button"))&&g.removeAttribute("tabindex"),this.transition(b,{left:"0"},!0)):(g&&(a.util.removeClass(g,"partial"),(e=g.querySelector("a.button"))&&e.removeAttribute("tabindex")),b&&(a.util.addClass(b,"partial"),(e=b.querySelector("a.button"))&&e.setAttribute("tabindex","-1")),this.transition(g,{left:"0"},!0),
80b&&this.transition(b,{left:this.config.itemWidth+"%"},!0)))}else a.util.addClass(e,this.config.hiddenClass),a.util.removeClass(b,this.config.hiddenClass),this.currentlySliding=!1;g=0;b=this.activeItemIndex+1;this.config.loop&&(b%=this.items.length);b<this.items.length&&(g=this.getHeight(this.items[b]));0<g&&g!==a.util.getHeight(this.element)&&(this.config.navFade&&this.transition(this.nav,{height:a.util.getOuterHeight(this.element,!0)-a.util.getHeight(this.element)+g+"px"},!1),this.transition(this.element,
81{height:g+"px"},!1));this.config.indicators&&a.util.removeClass(this.indicators[this.activeItemIndex],"current");++this.activeItemIndex;this.config.loop?this.activeItemIndex%=this.items.length:(this.navPrev&&(a.util.removeClass(this.navPrev,"passive"),this.navPrev.removeAttribute("disabled")),this.newItemIndex>=this.items.length-(2-this.nrOfItemsInView)&&(this.navNext&&(a.util.addClass(this.navNext,"passive"),this.navNext.setAttribute("disabled","disabled")),a.util.hasClass(this.nav,"fadeout")&&(a.util.removeClass(this.nav,
82"fadeout"),a.util.addClass(this.nav,"nofadeout"))));this.config.indicators&&(a.util.addClass(this.indicators[this.activeItemIndex],"current"),this.humanreadableIndex.textContent=this.activeItemIndex+1)}};a.ui.slideshow.prototype.prevItem=function(){var b=this.activeItemIndex-1;!this.config.loop&&0>b&&(b=0);if(this.config.loop||0<=b){this.config.loop&&0>b&&(b=this.items.length-1);this.newItemIndex=b;b=d(this.items,this.activeItemIndex);var e=d(this.items,this.newItemIndex);if(a.util.index(e)!==this.activeItemIndex){if(this.config.animationsEnabled){e&&
83a.util.removeClass(e,this.config.hiddenClass);if(!this.config.loopIntent||this.config.loop||2<this.items.length)e&&(e.style.left="-"+this.config.itemWidth+"%"),void a.util.getWidth(e);a.util.removeClass(e,"partial");var g=e.querySelector("a.button");g&&g.removeAttribute("tabindex");this.transition(e,{left:"0"},!0);100>this.config.itemWidth&&(a.util.addClass(b,"partial"),(e=b.querySelector("a.button"))&&e.setAttribute("tabindex","-1"));this.transition(b,{left:this.config.itemWidth+"%"},!0,function(f){100===
84this.config.itemWidth&&a.util.addClass(f,this.config.hiddenClass)}.bind(this));100>this.config.itemWidth&&(b=d(this.items,this.activeItemIndex+1))&&this.transition(b,{left:2*this.config.itemWidth+"%"},!0,function(f){a.util.removeClass(f,"partial");a.util.addClass(f,this.config.hiddenClass);(f=f.querySelector("a.button"))&&f.removeAttribute("tabindex")}.bind(this))}else a.util.addClass(b,this.config.hiddenClass),a.util.removeClass(e,this.config.hiddenClass),this.currentlySliding=!1;b=0;e=this.activeItemIndex-
851;this.config.loop&&(e=(e+this.items.length)%this.items.length);0<=e&&(b=this.getHeight(this.items[e]));0<b&&b!==a.util.getHeight(this.element)&&(this.config.navFade&&this.transition(this.nav,{height:a.util.getOuterHeight(this.element,!0)-a.util.getHeight(this.element)+b+"px"},!1),this.transition(this.element,{height:b+"px"},!1));this.config.indicators&&a.util.removeClass(this.indicators[this.activeItemIndex],"current");--this.activeItemIndex;this.config.loop?this.activeItemIndex=(this.activeItemIndex+
86this.items.length)%this.items.length:(a.util.hasClass(this.nav,"nofadeout")&&(a.util.removeClass(this.nav,"nofadeout"),a.util.addClass(this.nav,"fadeout")),this.navNext&&(a.util.removeClass(this.navNext,"passive"),this.navNext.removeAttribute("disabled")),0===this.newItemIndex&&this.navPrev&&(
86a.util.addClass(this.navPrev,"passive"),this.navPrev.setAttribute("disabled","disabled")));this.config.indicators&&(a.util.addClass(this.indicators[this.activeItemIndex],"current"),this.humanreadableIndex.textContent=
87this.activeItemIndex+1)}}};a.ui.slideshow.prototype.transition=function(b,e,g,f){var h=["webkitTransitionEnd","transitionend","transitionEnd"];g&&this.config.animationsEnabled&&a.util.addClass(b,"animating");var l=function(){clearTimeout(this.fallbackTimeout);h.forEach(function(k){b.removeEventListener(k,l)});g&&a.util.removeClass(b,"animating");f&&f(b);this.currentlySliding=!1}.bind(this);h.forEach(function(k){b.addEventListener(k,l)});this.fallbackTimeout=setTimeout(function(){l()},750);for(var c in e)e.hasOwnProperty(c)&&
88(b.style[c]=e[c])};a.ui.slideshow.prototype.getHeight=function(b){var e=a.util.getOuterHeight(b,!0);if(0===e&&this.couldBeCollapsed&&"IMG"===b.tagName){var g=a.util.parents(".biebwidget.expandable")[0];if(g&&(0<b.naturalHeight&&0<b.naturalWidth||0<b.height&&0<b.width)){var f=a.util.getWidth(g);40<f&&(g.hasClass("standard")&&(f-=40),e=0<b.naturalHeight&&0<b.naturalWidth?Math.round(f/b.naturalWidth*b.naturalHeight):Math.round(f/b.width*b.height))}}return e}})(bw);
89(function(a){a.ui.teaser=function(d){this.element=d;a.util.addClass(this.element,"interactive");this.setup()};a.ui.teaser.prototype.setup=function(){this.on="always"===this.element.getAttribute("data-on")||634>=a.util.getWindowWidth();this.closeable="true"===this.element.getAttribute("data-closeable");this.buttonType=this.element.getAttribute("data-button-type")||"quaternary";if(this.on){var d=document.querySelector("html").getAttribute("lang");this.expandLabel=this.element.getAttribute("data-expand")||
90("en"===d?"Read more":"Lees meer");this.collapseLabel=this.element.getAttribute("data-collapse")||("en"===d?"Read less":"Lees minder");a.util.insertAfter(this.element,'\x3cp class\x3d"teasertoggler"\x3e\x3cbutton class\x3d"'+a.util.escapeHTML(this.buttonType)+' button"\x3e'+a.util.escapeHTML(this.expandLabel)+"\x3c/button\x3e\x3c/p\x3e");this.button=a.util.children(a.util.nextSiblings(this.element,"p")[0],"button")[0];a.util.addClass(this.element,"teaser");this.openState=!1;this.attachHandlers()}};
91a.ui.teaser.prototype.attachHandlers=function(){this.button.addEventListener("click",this.toggleTeaser.bind(this));this.element.addEventListener("transitionend",this.cleanup.bind(this))};a.ui.teaser.prototype.toggleTeaser=function(){this.openState?(a.util.addClass(this.element,"collapsing"),this.element.style.maxHeight=a.util.getHeight(this.element)+"px",a.util.forceReflow(this.element),a.util.removeClass(this.element,"expanded"),a.util.removeClass(this.button,"open")):(a.util.addClass(this.element,
92"opening"),this.element.style.maxHeight=this.element.scrollHeight+"px",a.util.forceReflow(this.element),a.util.addClass(this.element,"expanded"),a.util.addClass(this.button,"open"),this.closeable||a.util.removeElement(this.button.parentElement));this.button.textContent=this.openState?this.expandLabel:this.collapseLabel;this.openState=!this.openState};a.ui.teaser.prototype.cleanup=function(){this.element.getAttribute("style")||(a.util.removeClass(this.element,"collapsing"),a.util.removeClass(this.element,
93"opening"));this.element.removeAttribute("style")}})(bw);(function(a){a.ui.audiotest=function(d){this.element=d;this.setup()};a.ui.audiotest.prototype.setup=function(){if(!a.util.canPlay(this.element,"audio/mpeg")){var d=this.element.getElementsByTagName("a");d.length&&this.element.parentNode.replaceChild(d[0],this.element)}}})(bw);
94(function(a){var d=/PPN%3A([a-z\d]+)/i,b=["leibniz.zbkb.nl"],e=["http://","https://","//"].flatMap(function(h){return b.map(function(l){return'img[src^\x3d"'+h+l+'"]'})}).join(", "),g="list extrasmall etalage narrowgrid highlighted-small list-big highgrid highlighted small full".split(" "),f=["album","track","music"];a.ui.coverfix=function(h){this.element=h;this.element.querySelectorAll(e).forEach(function(l){l.complete?0===l.naturalWidth&&0===l.naturalHeight&&this.fix(l):l.addEventListener("error",
95function(){this.fix(l)}.bind(this))}.bind(this))};a.ui.coverfix.prototype.determineMatchingClass=function(h,l){for(var c=l.length;-1<--c;)if(a.util.hasClass(h,l[c]))return l[c];return""};a.ui.coverfix.prototype.fix=function(h){var l=h.getAttribute("src"),c=l.match(d);c="variant"+this.hashBucket(c?c[1]:l);var k=this.determineMatchingClass(h,g),m=this.determineMatchingClass(h,f),n=this.findImpl(h,c)||{classes:[]};l=n.title;var v=n.classes,r;null==(r=n.postFix)||r(h,this.element,c);r=[c,k,m].concat($jscomp.arrayFromIterable(v));
96(k=h.getAttribute("alt"))&&(k=k.trim());c="";k&&(c='\x3cspan class\x3d"struct"\x3e'+a.util.escapeHTML(k)+"\x3c/span\x3e");l=(l||k||"").substring(0,70);a.util.insertBefore(h,'\x3cspan aria-hidden\x3d"true" class\x3d"viz coverplaceholder '+a.util.escapeHTML(r.join(" "))+'" data-title\x3d"'+a.util.escapeHTML(l)+'"\x3e\x3c/span\x3e'+c);a.util.removeElement(h)};a.ui.coverfix.prototype.findImpl=function(h){var l=a.registry.get("bw.ui.coverfix.impl"),c=$jscomp.makeIterator(l);for(l=c.next();!l.done;l=c.next())if(l=
97l.value,l.accepts(this.element,h)){var k=c=void 0;return{title:l.getTitle(h,this.element),classes:(null==(k=(c=l).getClasses)?void 0:k.call(c,h,this.element))||[],postFix:l.postFix}}};a.ui.coverfix.prototype.hashBucket=function(h){for(var l=0,c=0;c<h.length;
97c++)l=(l<<5)-l+h.charCodeAt(c),l|=0;return Math.abs(l)%5+1}})(bw);
98bw.registry.register("bw.ui.coverfix.impl",{name:"grid-items",accepts:function(a){return a.matches(".grid-items, .grid-list")},getTitle:function(a){var d,b;return null==(d=bw.util.parent(a,"h3,h4,.grid-title"))?void 0:null==(b=d.textContent)?void 0:b.trim()}});
99bw.registry.register("bw.ui.coverfix.impl",{name:"highlight",accepts:function(a,d){return a.matches(".highlight, .nbcitemhighlighted")||bw.util.parent(d,"div.singlenbcitem")},getTitle:function(a){a=bw.util.parent(a,"h3, h4");return(a.querySelector("span.title")||a).textContent.trim()},postFix:function(a,d,b){(a=bw.util.parent(a,"span.imgwrapper.threed"))&&bw.util.addClass(a,b)}});
100bw.registry.register("bw.ui.coverfix.impl",{name:"rich-items",accepts:function(a){return a.matches(".rich-items")},getTitle:function(a){if(a=bw.util.parent(a,".viz"))if(a=bw.util.previousSiblings(a,".content"),0<a.length&&(a=a[0].querySelector("h3, h4")))return a.textContent.trim();return null}});
101bw.registry.register("bw.ui.coverfix.impl",{name:"rich-list",accepts:function(a){return a.matches(".rich-list")},getTitle:function(a){return(a=bw.util.parent(a,"h3,h4,.list-title,li"))?(a.querySelector("span.title")||a).textContent.trim():null}});function findProductTitle(a){a=bw.util.parent(a,".main-column").querySelector(".header h2");var d,b;return null==(d=(null==a?void 0:a.querySelector("span.title"))||a)?void 0:null==(b=d.textContent)?void 0:b.trim()}
102bw.registry.register("bw.ui.coverfix.impl",{name:"tdp-get-it",accepts:function(a){return a.matches(".rich-list.get-it, .rich-items.get-it")},getTitle:findProductTitle},{priority:-1E3});bw.registry.register("bw.ui.coverfix.impl",{name:"tdp",accepts:function(a){return bw.util.parent(a,".widget-bnl-titledetail")},getTitle:findProductTitle,getClasses:function(){return["full"]}},{priority:1E3});
103(function(a){var d=!1,b=/^-?\d{1,3}(?:\.\d{1,20})?$/;a.ui.mapview=function(e){this.element=e;this.setup()};a.ui.mapview.prototype.setup=function(){this.items=a.util.children(this.element,"li[data-lat][data-lon]").filter(function(e){var g=e.getAttribute("data-lat");e=e.getAttribute("data-lon");return b.test(g)&&b.test(e)&&-90<=+g&&90>=+g&&-180<=+e&&180>=+e});this.items.length&&(this.mapScript="/etc.clientlibs/settings/wcm/designs/website/third-party/leaflet.js",this.mapStyle="/etc.clientlibs/settings/wcm/designs/website/third-party/leaflet.css",
104this.locations=[],this.listText="Lijst",this.gridText="Afbeeldingen",this.mapText="Kaart",this.optionsTitleText="Weergaveopties",this.showAsText="Toon als",this.mapLoaded=!1,this.currentType="list",this.currentText=this.listText,a.util.hasClass(this.element,"grid-list")&&(this.currentType="grid",this.currentText=this.gridText),this.createToggle())};a.ui.mapview.prototype.createToggle=function(){var e='\x3cli class\x3d"'+this.currentType+' current"\x3e\x3cbutton aria-current\x3d"true" title\x3d"'+
105this.showAsText+" "+this.currentText+'"\x3e'+this.currentText+"\x3c/button\x3e\x3c/li\x3e",g='\x3cli class\x3d"map"\x3e\x3cbutton title\x3d"'+this.showAsText+" "+this.mapText+'"\x3e'+this.mapText+"\x3c/button\x3e\x3c/li\x3e",f='\x3cul class\x3d"plain toggle"\x3e'+e+g+"\x3c/ul\x3e";if(this.tools=a.util.previousSiblings(this.element,".tools")[0]){var h=a.util.children(this.tools,"ul.toggle")[0];h?(a.util.children(h,"."+this.currentType).length||a.util.insertIntoAsLast(h,e),a.util.insertIntoAsLast(h,
106g)):(e=a.util.children(this.tools,".sort")[0])?a.util.insertBefore(e,f):a.util.insertIntoAsLast(this.tools,f)}else this.tools=document.createElement("div"),this.tools.classList.add("tools"),e=document.createElement("h3"),e.classList.add("struct"),e.textContent=this.optionsTitleText,this.tools.appendChild(e),a.util.insertIntoAsLast(this.tools,f),a.util.insertBefore(this.element,this.tools),(f=a.util.previousSiblings(this.tools,"p.totalresults")[0])&&a.util.insertBefore(f,a.util.children(this.tools,
107"h3.struct")[0]);this.attachHandlers()};a.ui.mapview.prototype.attachHandlers=function(){var e=this.tools.querySelector(".toggle \x3e .map \x3e button");e.addEventListener("click",function(){this.mapLoaded?this.showMap():(this.loadMap(),this.mapLoaded=!0);var f=e.parentElement;a.util.addClass(f,"current");e.setAttribute("aria-current","true");f=a.util.siblings(f);f=$jscomp.makeIterator(f);for(var h=f.next();!h.done;h=f.next())h=h.value,a.util.removeClass(h,"current"),h.firstElementChild.removeAttribute("aria-current");
108this.attachBlur(e)}.bind(this));var g=this.tools.querySelector(".toggle \x3e ."+this.currentType+" \x3e button");g.addEventListener("click",function(f){this.hideMap();f.preventDefault();f=g.parentElement;a.util.addClass(f,"current");g.setAttribute("aria-current","true");f=a.util.siblings(f);f=$jscomp.makeIterator(f);for(var h=f.next();!h.done;h=f.next())h=h.value,a.util.removeClass(h,"current"),h.firstElementChild.removeAttribute("aria-current");this.attachBlur(g)}.bind(this))};a.ui.mapview.prototype.loadMap=
109function(){this.showMap();this.gatherLocations();d?this.initMap():a.util.loadScript(this.mapScript,function(){a.util.loadStylesheet(this.mapStyle,function(){this.initMap();d=!0}.bind(this))}.bind(this),function(){console.warn("Failed to load Leaflet")})};a.ui.mapview.prototype.gatherLocations=function(){this.items.forEac
109h(function(e){var g,f=null==(g=e.querySelector("h3 a, h4 a, .grid-title a, .list-title a").querySelector("span.title"))?void 0:g.textContent.trim();g=e.querySelector("a").getAttribute("href");
110this.locations.push({position:{lat:parseFloat(e.getAttribute("data-lat")),lng:parseFloat(e.getAttribute("data-lon"))},title:f,link:g})}.bind(this))};a.ui.mapview.prototype.showMap=function(){a.util.addClass(this.element,"hidden");document.getElementById("bw-ui-map")||a.util.insertBefore(this.element,'\x3cdiv id\x3d"bw-ui-map" class\x3d"mapcontainer"\x3e\x3c/div\x3e\x3cp class\x3d"mapstatus"\x3e\x3c/p\x3e');this.map=document.getElementById("bw-ui-map");a.util.removeClass(this.map,"hidden")};a.ui.mapview.prototype.hideMap=
111function(){a.util.removeClass(this.element,"hidden");this.mapLoaded&&a.util.addClass(this.map,"hidden")};a.ui.mapview.prototype.initMap=function(){var e=L.map("bw-ui-map");L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'\x26copy; \x3ca href\x3d"http://www.openstreetmap.org/copyright"\x3eOpenStreetMap\x3c/a\x3e'}).addTo(e);var g=L.latLngBounds([]);this.locations.forEach(function(f){L.marker([f.position.lat,f.position.lng]).bindPopup('\x3ca href\x3d"'+a.util.escapeHTML(f.link)+
112'"\x3e\x3cp\x3e'+a.util.escapeHTML(f.title)+"\x3c/p\x3e\x3c/a\x3e").addTo(e);g.extend([f.position.lat,f.position.lng])});e.fitBounds(g);e.attributionControl.setPrefix("Leaflet")};a.ui.mapview.prototype.attachBlur=function(e){var g=function(){e.blur();e.removeEventListener("mouseleave",g)};e.addEventListener("mouseleave",g)}})(bw);
113(function(a){a.ui.form.upload=function(d){this.element=d;this.setup()};a.ui.form.upload.prototype.setup=function(){var d=!1;this.uploadField=this.element;this.uploadFieldParent=this.element.parentElement;this.uploadField.addEventListener("change",function(b){b=b.target;var e=b.files;if(e&&1001>e.length&&!d){var g=[],f=0;e=$jscomp.makeIterator(e);for(var h=e.next();!h.done;h=e.next())h=h.value,g.push(h.name),f+=h.size;f=(f/1048576).toFixed(2);(e=this.uploadFieldParent.querySelector(".delete"))&&a.util.removeElement(e);
114this.removeErrorMessage();5<f?(this.renderFileSizeWarning(f),d=!0,b.value="",d=!1,a.util.removeElement(this.uploadFieldParent.querySelector(".delete")),a.util.removeElement(this.uploadFieldParent.querySelector(".richtext"))):this.renderFileSelection(g)}else b.value=""}.bind(this))};a.ui.form.upload.prototype.renderFileSelection=function(d){var b=this.uploadField.getAttribute("data-deletetext");if(1<d.length){var e=this.uploadFieldParent.parentElement;a.util.removeElement(e.querySelector(".richtext"));
115a.util.insertAfter(this.uploadFieldParent,'\x3cdiv class\x3d"richtext"\x3e\x3cul\x3e\x3c/ul\x3e\x3c/div\x3e');e=e.querySelector(".richtext \x3e ul");var g=[];d=$jscomp.makeIterator(d);for(var f=d.next();!f.done;f=d.next())g.push("\x3cli\x3e"+a.util.escapeHTML(f.value)+"\x3c/li\x3e");e.innerHTML=g.join("")}(e=this.uploadFieldParent.querySelector(".description"))?a.util.insertBefore(e,'\x3cbutton type\x3d"button" class\x3d"link delete"\x3e'+a.util.escapeHTML(b)+"\x3c/button\x3e"):a.util.insertIntoAsLast(this.uploadFieldParent,
116'\x3cbutton type\x3d"button" class\x3d"link delete"\x3e'+a.util.escapeHTML(b)+"\x3c/button\x3e");var h;null==(h=this.uploadFieldParent.querySelector(".delete"))||h.addEventListener("click",function(){this.resetField()}.bind(this))};a.ui.form.upload.prototype.renderFileSizeWarning=function(d){d=this.uploadField.getAttribute("data-too-large").replace("#",d);var b=this.uploadField.getAttribute("data-max-allowed").replace("#",5);a.util.insertAfter(this.uploadField,'\x3cp class\x3d"alert message critical"\x3e'+
117a.util.escapeHTML(d)+" "+a.util.escapeHTML(b)+"\x3c/p\x3e")};a.ui.form.upload.prototype.resetField=function(){this.uploadField.value="";a.util.removeElement(this.uploadFieldParent.querySelector(".delete"));a.util.removeElement(this.uploadFieldParent.parentElement.querySelector(".richtext"));this.removeErrorMessage()};a.ui.form.upload.prototype.removeErrorMessage=function(){a.util.removeElement(this.uploadFieldParent.querySelector(".alert.message.critical"))}})(bw);
118(function(a){var d=0;a.ui.expandinglists=function(b){this.element=b;this.setup()};a.ui.expandinglists.prototype.setup=function(){var b=this.element.dataset;this.moreButtonText=b.morebuttontext||"More";this.lessButtonText=b.lessbuttontext||"Less";this.maxItemsMargin=Number.parseInt(b.itemsmargin);Number.isNaN(this.maxItemsMargin)&&(this.maxItemsMargin=2);this.maxVisibleItems=Number.parseInt(b.maxitems);Number.isNaN(this.maxVisibleItems)&&(this.maxVisibleItems=5);b=b.buttontype||"quaternary";this.hiddenItems=
119[];
119this.element.id||(this.element.id="expanding-list-"+d++);this.moreItemsButton=document.createElement("button");this.moreItemsButton.type="button";this.moreItemsButton.classList.add("button","more",b);this.moreItemsButton.setAttribute("aria-expanded","false");this.moreItemsButton.setAttribute("aria-controls",this.element.id);var e=document.createElement("span");e.textContent=this.moreButtonText;this.moreItemsButton.appendChild(e);this.lessItemsButton=document.createElement("button");this.lessItemsButton.type=
120"button";this.lessItemsButton.classList.add("button","less","hidden",b);this.lessItemsButton.setAttribute("aria-expanded","true");this.lessItemsButton.setAttribute("aria-controls",this.element.id);b=document.createElement("span");b.textContent=this.lessButtonText;this.lessItemsButton.appendChild(b);this.buildItems();this.bindItemButtons()};a.ui.expandinglists.prototype.buildItems=function(){var b=this.element.querySelectorAll("li");if(null!=b&&b.length&&!(b.length<=this.maxVisibleItems+this.maxItemsMargin)){b=
1210;var e=Array.from(this.element.children);e=$jscomp.makeIterator(e);for(var g=e.next();!g.done;g=e.next())g=g.value,void 0===g.dataset.defaultOpen&&b>this.maxVisibleItems-1&&(g.classList.add("hidden-item"),this.hiddenItems.push(g)),b+=1,b+=g.querySelectorAll("li").length;if(0<this.hiddenItems.length){var f;null==(f=this.element.parentElement)||f.append(this.moreItemsButton);var h;null==(h=this.element.parentElement)||h.append(this.lessItemsButton);this.element.parentElement.classList.add("filter-block-with-more-button")}}};
122a.ui.expandinglists.prototype.bindItemButtons=function(){var b=this,e=function(f){f.currentTarget.classList.remove("opening")},g=function(f){f=f.currentTarget;f.classList.remove("closing");f.classList.add("hidden-item")};this.moreItemsButton.addEventListener("click",function(){b.hiddenItems.forEach(function(f){f.classList.remove("hidden-item");f.classList.add("opening");f.addEventListener("animationend",e,{once:!0})});b.lessItemsButton.classList.remove("hidden");b.moreItemsButton.classList.add("hidden");
123b.moreItemsButton.setAttribute("aria-expanded","true")}.bind(this));this.lessItemsButton.addEventListener("click",function(){b.hiddenItems.forEach(function(f){f.classList.add("closing");f.addEventListener("animationend",g,{once:!0})});b.moreItemsButton.classList.remove("hidden");b.lessItemsButton.classList.add("hidden");b.moreItemsButton.setAttribute("aria-expanded","false")}.bind(this))}})(bw);
124(function(a){a.ui.showpassword=function(d){this.element=d;this.setup()};a.ui.showpassword.prototype.setup=function(){var d=this.element.getAttribute("data-label")||"Toon wachtwoord",b=this.element.id;a.util.insertAfter(this.element,'\x3cinput class\x3d"modifier" type\x3d"checkbox" id\x3d"show'+a.util.escapeHTML(b)+'"\x3e\x3clabel for\x3d"show'+a.util.escapeHTML(b)+'"\x3e'+a.util.escapeHTML(d)+"\x3c/label\x3e");this.toggler=a.util.next(this.element,'input.modifier[type\x3d"checkbox"]');this.form=a.util.parent(this.element,
125"form");this.attachHandlers()};a.ui.showpassword.prototype.attachHandlers=function(){this.toggler.addEventListener("change",function(){this.element.type=this.toggler.checked?"text":"password"}.bind(this));this.form.addEventListener("submit",function(){this.element.type="password"}.bind(this))}})(bw);
126(function(a){a.ui.slidingitems2=function(d){this.element=d;this.setup()};a.ui.slidingitems2.prototype.setup=function(){this.items=a.util.children(this.element,"li");1<this.items.length&&(this.ofText="en"===document.querySelector("html").getAttribute("lang")?"of":"van",this.LONGDISTANCE_SPEED_CUTOFF=500,this.FADEOUT_WIDTH=30,this.navigationCreated=this.currentlySliding=this.canHavePartialLeftItem=this.narrowItems=!1,this.incompleteImages=this.storedItemWidth=this.activeItemIndex=0,this.xDown=this.yDown=
127null,this.nrOfItemsInView=this.nrOfItemsMostlyInView=this.nrOfItemsCompletelyInView=this.nrOfItemsCompletelyInViewWithoutNav=1,this.heightCertain="true"===this.element.getAttribute("data-heightcertain"),this.listType=a.util.hasClass(this.element,"grid-list")?"grid-list":"rich-list",this.animationsEnabled="true"===(this.element.dataset.animationsEnabled||"true"),this.setHeightsEnabled="true"===(this.element.dataset.setHeights||"true"),(this.canHavePartialLeftItem="true"===(this.element.dataset.canHavePartialLeftItem||
128"false"))&&a.util.hasClass(this.element,"narrow")&&(this.narrowItems=!0),this.onlineBibliotheekFix(),this.setItemVisibility(),this.createNavigation(),this.updateNavigation(),window.addEventListener("resize",a.util.debounce(125,!1,this.doResize).bind(this)),this.element.addEventListener("touchstart",this.handleTouchStart.bind(this)),this.element.addEventListener("touchmove",this.determineSwipeDirection.bind(this)),this.element.addEventListener("swipeRight",this.navigatePrev.bind(this)),this.element.addEventListener("swipeLeft",
129this.navigateNext.bind(this)))};a.ui.slidingitems2.prototype.doResize=function(){this.setItemVisibility();this.updateNavigation()};a.ui.slidingitems2.prototype.calculateItemsInView=function(){var d=a.util.getExactWidth(this.element.parentElement),b=a.util.getExactOuterWidth(this.items[this.activeItemIndex],!0);0<d&&0<b&&("grid-list"===this.listType?this.calculateItemsInViewGridList(d,b):this.calculateItemsInViewRichList(d))};a.ui.slidingitems2.prototype.calculateItemsInViewGridList=function(d,b){if(this.canHavePartialLeftItem){var e=
1300;0<this.activeItemIndex&&this.canHavePartialLeftItem&&(e=a.util.getExactOuterWidth(this.items[this.activeItemIndex-1],!0));var g=parseFloat(window.getComputedStyle(this.items[this.activeItemIndex]).marginRight);this.storedItemWidth=b;this.nrOfItemsInView=Math.ceil((d+g-(e+this.FADEOUT_WIDTH))/b);this.nrOfItemsMostlyInView=Math.round((d+g-(e+this.FADEOUT_WIDTH))/b);this.nrOfItemsCompletelyInView=Math.floor((d+g-(e+this.FADEOUT_WIDTH))/b);this.nrOfItemsCompletelyInViewWithoutNav=Math.floor((d+2*g-
131e)/b);this.activeItemIndex+this.nrOfItemsCompletelyInViewWithoutNav===this.items.length&&(this.nrOfItemsMostlyInView=this.nrOfItemsCompletelyInViewWithoutNav)}else this.storedItemWidth=b,this.nrOfItemsInView=this.nrOfItemsMostlyInView=this.nrOfItemsCompletelyInView=this.nrOfItemsCompletelyInViewWithoutNav=Math.max(Math.floor(d/b),1)};a.ui.slidingitems2.prototype.calculateItemsInViewRichList=function(d){var b=a.util.getExactOuterWidth(this.items[this.activeItemIndex],!1);this.storedItemWidth=b;this.nrOfItemsInView=
132d>=2*b?this.nrOfItemsMostlyInView=this.nrOfItemsCompletelyInView=this.nrOfItemsCompletelyInViewWithoutNav=2:this.nrOfItemsMostlyInView=this.nrOfItemsCompletelyInView=this.nrOfItemsCompletelyInViewWithoutNav=1};a.ui.slidingitems2.prototype.setItemVisibility=function(){this.calculateItemsInView();
132this.items.forEach(function(d,b){b<this.activeItemIndex-1||b>=this.activeItemIndex+this.nrOfItemsInView?a.util.addClass(d,"hidden"):(a.util.removeClass(d,"hidden"),null!==d.querySelector("a")&&d.querySelector("a").removeAttribute("tabindex"),
133d.removeAttribute("aria-hidden"),b===this.activeItemIndex-1&&(this.canHavePartialLeftItem?a.util.getOuterWidth(d,!0)-(parseFloat(window.getComputedStyle(d).marginRight)+this.FADEOUT_WIDTH)<this.storedItemWidth/2&&(null!==d.querySelector("a")&&d.querySelector("a").setAttribute("tabindex","-1"),d.setAttribute("aria-hidden","true")):a.util.addClass(d,"hidden")),b===this.activeItemIndex-1+this.nrOfItemsInView&&this.nrOfItemsInView>this.nrOfItemsMostlyInView&&(null!==d.querySelector("a")&&d.querySelector("a").setAttribute("tabindex",
134"-1"),d.setAttribute("aria-hidden","true")))}.bind(this))};a.ui.slidingitems2.prototype.createNavigation=function(){if(!this.navigationCreated&&this.nrOfItemsCompletelyInView<this.items.length){this.navigationCreated=!0;var d=this.element.getAttribute("data-prev"),b=this.element.getAttribute("data-next"),e=document.querySelector("html").getAttribute("lang"),g="en"===e?"previous":"vorige";e="en"===e?"next":"volgende";d=d?a.util.escapeHTML(d):g;b=b?a.util.escapeHTML(b):e;a.util.addClass(this.items[0],
135"current");a.util.addClass(this.element,"interactive");a.util.insertAfter(this.element,'\x3cdiv class\x3d"slidingnav fadeout"\x3e\x3cbutton class\x3d"prev passive" disabled\x3e'+d+'\x3c/button\x3e\x3cbutton class\x3d"next"\x3e'+b+"\x3c/button\x3e\x3c/div\x3e");this.nav=this.element.nextElementSibling;if(d=parseFloat(window.getComputedStyle(this.element).marginTop))this.nav.style.marginTop=d+"px";this.navPrev=a.util.children(this.nav,"button.prev")[0];this.navPrev.addEventListener("click",this.navigatePrev.bind(this));
136this.navNext=a.util.children(this.nav,"button.next")[0];this.navNext.addEventListener("click",this.navigateNext.bind(this))}};a.ui.slidingitems2.prototype.updateNavigation=function(){this.navigationCreated||this.createNavigation();this.navigationCreated&&(0===this.activeItemIndex&&this.nrOfItemsCompletelyInViewWithoutNav>=this.items.length?(a.util.addClass(this.nav,"hidden"),a.util.removeClass(this.element,"sliding"),this.setHeights()):(a.util.addClass(this.element,"sliding"),this.setHeights(),0===
137this.activeItemIndex?(this.setButtonState(this.navPrev,!1),a.util.removeClass(this.nav,"fadein")):(this.setButtonState(this.navPrev,!0),a.util.addClass(this.nav,"fadein")),this.activeItemIndex>=this.items.length-this.nrOfItemsCompletelyInViewWithoutNav?(this.setButtonState(this.navNext,!1),a.util.removeClass(this.nav,"fadeout")):(this.setButtonState(this.navNext,!0),a.util.addClass(this.nav,"fadeout")),a.util.removeClass(this.nav,"hidden")))};a.ui.slidingitems2.prototype.setHeights=function(){if(this.setHeightsEnabled){var d=
1380,b=0,e=0,g=50;this.items.forEach(function(f,h){var l=a.util.getOuterHeight(f,!0);l>b&&(b=l);if(!d||l<d&&0<l)d=l;h>=this.activeItemIndex&&h<this.activeItemIndex+this.nrOfItemsMostlyInView&&(e=Math.max(e,l));this.heightCertain||(f=f.querySelector("img.viz"))&&!f.complete&&(this.incompleteImages++,h=function(){this.incompleteImages--;0===this.incompleteImages&&this.setHeights()}.bind(this),f.addEventListener("load",h),f.addEventListener("error",h))}.bind(this));d<g&&(d=g);g=Math.min(Math.floor((d+b)/
1394)-23,Math.max(20,d-46));this.element.style.height=e+"px";this.nav.style.height=e+"px";a.util.children(this.nav,"button").forEach(function(f){f.style.top=g+"px"})}};a.ui.slidingitems2.prototype.setButtonState=function(d,b){b?(a.util.removeClass(d,"passive"),d.removeAttribute("disabled")):(a.util.addClass(d,"passive"),d.setAttribute("disabled","disabled"))};a.ui.slidingitems2.prototype.handleTouchStart=function(d){this.xDown=d.touches[0].clientX;this.yDown=d.touches[0].clientY};a.ui.slidingitems2.prototype.determineSwipeDirection=
140function(d){if(this.xDown&&this.yDown){var b=this.xDown-d.touches[0].clientX;Math.abs(b)>Math.abs(this.yDown-d.touches[0].clientY)&&(d.preventDefault(),this.element.dispatchEvent(new Event(0<b?"swipeLeft":"swipeRight")));this.yDown=this.xDown=null}};a.ui.slidingitems2.prototype.navigateNext=function(d){!this.currentlySliding&&this.activeItemIndex<this.items.length-this.nrOfItemsCompletelyInViewWithoutNav&&(this.currentlySliding=!0,this.next("click"!==d.type),this.blurOnLeave
140(d))};a.ui.slidingitems2.prototype.navigatePrev=
141function(d){!this.currentlySliding&&0<this.activeItemIndex&&(this.currentlySliding=!0,this.prev("click"!==d.type),this.blurOnLeave(d))};a.ui.slidingitems2.prototype.blurOnLeave=function(d){if("click"===d.type){var b=function(e){e.target.blur();e.target.removeEventListener("mouseleave",b)};d.target.addEventListener("mouseleave",b)}};a.ui.slidingitems2.prototype.next=function(d){var b=1;d&&1<this.nrOfItemsCompletelyInView&&(b=this.nrOfItemsCompletelyInView,0===this.activeItemIndex&&this.canHavePartialLeftItem&&
142--b,d=this.items.length-this.nrOfItemsCompletelyInViewWithoutNav,this.activeItemIndex+b>d&&(b=d-this.activeItemIndex));var e=this.activeItemIndex+b;0===this.activeItemIndex&&this.canHavePartialLeftItem&&(this.narrowItems||1!==this.nrOfItemsCompletelyInView&&this.items.length!==this.nrOfItemsMostlyInView?++e:(b=0,e=1));this.revealItems(e,e+this.nrOfItemsInView);if(this.animationsEnabled){var g="moveleft-"+b;0===this.activeItemIndex&&(this.canHavePartialLeftItem&&a.util.addClass(this.items[0],"partial-left"),
143a.util.addClass(this.nav,"fadein"));this.setSpeed(b);this.transition(this.element,g,"",function(){this.canHavePartialLeftItem&&(0<this.activeItemIndex?a.util.removeClass(this.items[this.activeItemIndex-1],"partial-left"):a.util.removeClass(this.items[0],"partial-left"),a.util.addClass(this.items[e-1],"partial-left"));a.util.addClass(this.items[e],"current");a.util.removeClass(this.items[this.activeItemIndex],"current");a.util.removeClass(this.element,g);this.removeSpeed();this.activeItemIndex=e;this.setItemVisibility();
144this.updateNavigation()}.bind(this))}else a.util.forceReflow(this.element),a.util.addClass(this.items[e],"current"),a.util.removeClass(this.items[this.activeItemIndex],"current"),this.activeItemIndex=e,this.setItemVisibility(),this.updateNavigation(),this.currentlySliding=!1};a.ui.slidingitems2.prototype.prev=function(d){var b=1;d&&1<this.nrOfItemsCompletelyInView&&(b=this.nrOfItemsCompletelyInView,this.canHavePartialLeftItem&&this.activeItemIndex<=b?b=this.activeItemIndex-1:this.activeItemIndex<
145b&&(b=this.activeItemIndex));var e=this.activeItemIndex-b;this.canHavePartialLeftItem&&(1===e&&(this.narrowItems||1<this.nrOfItemsCompletelyInView)&&(e=0),1===this.activeItemIndex&&(b=0));this.revealItems(this.canHavePartialLeftItem?e-1:e,this.activeItemIndex);if(this.animationsEnabled){d=this.element;var g="moveleft-"+b;1===this.activeItemIndex&&this.canHavePartialLeftItem?(d=this.items[0],g="partial-left"):(a.util.addClass(this.element,g),this.canHavePartialLeftItem&&(a.util.removeClass(this.items[this.activeItemIndex-
1461],"partial-left"),0<e&&a.util.addClass(this.items[e-1],"partial-left")));0===e&&this.setButtonState(this.navPrev,!1);a.util.addClass(this.nav,"fadeout");a.util.removeClass(this.items[this.activeItemIndex],"current");a.util.addClass(this.items[e],"current");this.setSpeed(b);this.transition(d,"",g,function(){this.removeSpeed();this.activeItemIndex=e;this.setItemVisibility();this.updateNavigation()}.bind(this))}else a.util.removeClass(this.items[this.activeItemIndex],"current"),a.util.addClass(this.items[e],
147"current"),this.activeItemIndex=e,this.setItemVisibility(),this.updateNavigation(),this.currentlySliding=!1};a.ui.slidingitems2.prototype.revealItems=function(d,b){this.items.forEach(function(e,g){g>=d&&g<b&&a.util.removeClass(e,"hidden")}.bind(this))};a.ui.slidingitems2.prototype.setSpeed=function(d){d<=this.nrOfItemsInView/3?a.util.addClass(this.element,"short"):d>=2*this.nrOfItemsInView/3&&d*this.storedItemWidth>this.LONGDISTANCE_SPEED_CUTOFF&&a.util.addClass(this.element,"long")};a.ui.slidingitems2.prototype.removeSpeed=
148function(){a.util.removeClass(this.element,"short");a.util.removeClass(this.element,"long")};a.ui.slidingitems2.prototype.transition=function(d,b,e,g){a.util.forceReflow(d);a.util.addClass(this.element,"animating");var f=["webkitTransitionEnd","transitionend","transitionEnd"],h=function(){clearTimeout(this.fallbackTimeout);f.forEach(function(l){d.removeEventListener(l,h)});a.util.removeClass(this.element,"animating");g(d);this.currentlySliding=!1}.bind(this);f.forEach(function(l){d.addEventListener(l,
149h)});this.fallbackTimeout=setTimeout(function(){h()},750);b&&a.util.addClass(d,b);e&&a.util.removeClass(d,e)};a.ui.slidingitems2.prototype.onlineBibliotheekFix=function(){this.element.closest(".widget-bnl-titledetail")&&!this.animationsEnabled&&(this.setHeightsEnabled=this.canHavePartialLeftItem=this.animationsEnabled=!1)}})(bw);(function(a){a.bnl={}})(bw);
150(function(a){a.bnl.zoekincatalogus=function(d){this.element=d;this.handleKeyDownListener=this.handleKeyDown.bind(this);this.materialListActionsListener=this.materialListActions.bind(this);this.handleWindowClickCloseMaterialListListener=this.handleWindowClickCloseMaterialList.bind(this);this.handleWindowClickCloseResultsContainerListener=this.handleWindowClickCloseResultsContainer.bind(this);this.autoCompleteListener=this.autoComplete.bind(this);this.bindWindowEventListener=this.bindWindowEvent.bind(this);
151this.focusChangeListener=this.focusChange.bind(this);this.handleClickListener=this.handleClick.bind(this);this.handleBlurListener=this.handleBlur.bind(this);this.toggleMaterialListListener=this.toggleMaterialList.bind(this);this.selectMaterialFilterListener=this.selectMaterialFilter.bind(this);this.handleSubmitListener=this.handleSubmit.bind(this);this.setup()};a.bnl.zoekincatalogus.prototype.setup=function(){this.queryValue="";this.queryTimeOut=0;if(this.query=this.element.querySelector('input[name\x3d"query"]')){this.submit=
152this.element.querySelector("button.submit");this.where=this.element.querySelector("div.where");this.altWhere=this.element.querySelector('input[type\x3d"hidden"][name\x3d"where"]');this.queryWrapper=this.query.parentElement;this.autoSuggest=this.query.getAttribute("data-autosuggest");this.name="prefilter";this.selectedMaterialLabel="";this.activeFilter=this.query.getAttribute("data-active");this.catalogSearchEnabled=this.websiteSearchEnabled=!1;if(this.where)this.catalogSearchEnabled=this.websiteSearchEnabled=
153!0;else if(this.altWhere){var d=this.altWhere.value;"website"===d?this.websiteSearchEnabled=!0:"catalog"===d&&(this.catalogSearchEnabled=!0)}if(this.initMaterialFilter()||this.autoSuggest)a.util.addClass(this.element,"interactive"),this.autoSuggest&&this.query.addEventListener("keyup",this.autoCompleteListener),this.query.addEventListener("focusin",this.bindWindowEventListener),this.query.addEventListener("focusin",this.focusChangeListener),this.submit.addEventListener("focusin",this.focusChangeListener),
154this.element.addEventListener("formdata",this.handleSubmitListener)}};a.bnl.zoekincatalogus.prototype.bindWindowEvent=function(d){window.removeEventListener("keydown",this.handleKeyDownListener);window.removeEventListener("keydown",this.materialListActionsListener);this.autoSuggest&&"query"===d.currentTarget.getAttribute("name")?window.addEventListener("keydown",this.handleKeyDownListener):this.material_filter&&window.addEventListener("keydown",this.materialListActionsListener)};a.bnl.zoekincatalogus.prototype.initMaterialFilter=
155function(){var d=JSON.parse(this.query.getAttribute("data-materials")||JSON.stringify([])),b=JSON.parse(this.query.getAttribute("data-websiteoptions")||JSON.stringify([])),e=!0,g=!0;this.catalogSearchEnabled&&(null==d?0:d.length)||(e=!1);this.websiteSearchEnabled&&(null==b?0:b.length)||(g=!1);if(!e&&!g)return!1;g=[];this.catalogSearchEnabled&&e&&this.createCatalogusOptions(d,g);this.websiteSearchEnabled&&this.createWebsiteOptions(b,g);d=document.createElement("div");d.classList.add("material-filter");
156d.dataset.open=!1;this.material_filter=d;a.util.insertIntoAsLast(this.queryWrapper,this.material_filter);b=document.createElement("button");b.type="button";b.classList.add("default");b.addEventListener("click",this.materialListActionsListener);b.addEventListener("focusin",this.bindWindowEventListener);d.appendChild(b);this.button=b;e=this.query.getAttribute("data-prefilter-label")?this.query.getAttribute("data-prefilter-label"):"Kies de collectie om te doorzoeken. Nu: ";var f=document.createElement("span");
157f.classList.add("struct");f.textContent=a.util.escapeHTML(e);b.appendChild(f);e=document.createElement("span");e.classList.add("label");e.textContent=a.util.escapeHTML(this.selectedMaterialLabel);b.appendChild(e);b=document.createElement("div");b.classList.add("material-list");d.appendChild(b);this.material_list=b;d=$jscomp.makeIterator(g);for(e=d.next();!e.done;e=d.next())b.appendChild(e.value);0===Array.prototype.filter.call(g,function(h){return h.checked}).length&&(this.material_filter.initial_state=
158!0,g[0].click());return!0};a.bnl.zoekincatalogus.prototype.createCatalogusOptions=function(d,b){var e=this.query.getAttribute("data-catalog-label");this.createOption("bnl-filter-catalogus",e,this.name,"",""===this.activeFilter,b);b.push(document.createElement("hr"));d=$jscomp.makeIterator(d);for(e=d.next();!e.done;e=d.next()){var g=e.value;e=g.label;var f=e.toLowerCase(),h=this.name,l=[];g=$jscomp.makeIterator(g.queryParameters);for(var c=g.next();!c.done;c=g.next()){c=c.value;var k=c.value.split("\x3d");
1592===k.length?l.push(k[0]+"|"+k[1]):l.push(c.key+"|"+c.value)}l=l.join("@");g=e===this.activeFilter;f="bnl-filter-"+a.util.escapeHTML(f);this.createOption(f,e,h,l,g,b)}this.websiteSearchEnabled&&b.push(document.createElement("hr"))};a.bnl.zoekincatalogus.prototype.createWebsiteOptions=function(d,b){var e=this.query.getAttribute("data-website-label");this.createOption("bnl-filter-website",e,this.name,"","website"===this.activeFilter||!this.catalogSearchEnabled&&!this.selectedMaterialLabel,b);0<d.length&&
160b.push(document.createElement("hr"));d=$jscomp.makeIterator(d);for(e=d.next();!e.done;e=d.next()){var g=e.value;e=g.label;var f=this.name,h=[];g=$jscomp.makeIterator(g.queryParameters);for(var l=g.next();!l.done;l=g.next())l=l.value,h.push(l.key+"|"+l.value);h=h.join("@");l=e.toLowerCase();g=e===this.activeFilter;l="bnl-filter-website"+a.util.escapeHTML(l);this.createOption(l,e,f,h,g,b)}};a.bnl.zoekincatalogus.prototype.createOption=function(d,b,e,g,f,h){var l=document.createElement("input");l.type=
161"radio";
161l.id=d;l.name=a.util.escapeHTML(e);l.value=a.util.escapeHTML(g);f&&(l.checked=!0,this.selectedMaterialLabel=b);l.addEventListener("change",this.selectMaterialFilterListener);h.push(l);e=document.createElement("label");e.htmlFor=d;e.textContent=a.util.escapeHTML(b);e.addEventListener("click",this.toggleMaterialListListener);f&&e.classList.add("current");h.push(e)};a.bnl.zoekincatalogus.prototype.focusChange=function(){var d;"true"===(null==(d=this.material_filter)?void 0:d.getAttribute("data-open"))&&
162this.closeMaterialList()};a.bnl.zoekincatalogus.prototype.materialListActions=function(d){if("keydown"!==d.type||!a.util.matches(this.button,":focus")&&"true"!==this.material_filter.getAttribute("data-open"))"click"===d.type&&(d.preventDefault(),this.toggleMaterialList(),this.button.focus());else switch(d.keyCode){case 38:case 40:d.preventDefault();"false"===this.material_filter.getAttribute("data-open")?this.toggleMaterialList(!0):this.browseMaterialList(d.keyCode);break;case 13:"A"!==d.target.nodeName&&
163d.preventDefault(),this.toggleMaterialList()}};a.bnl.zoekincatalogus.prototype.handleWindowClickCloseMaterialList=function(d){var b=a.util.parent(d.target,"div.material-filter");a.util.matches(d.target,"div.material-filter")||b||this.toggleMaterialList()};a.bnl.zoekincatalogus.prototype.toggleMaterialList=function(d){!0===d||"true"!==this.material_filter.getAttribute("data-open")?(a.util.addClass(this.material_list,"open"),this.material_filter.setAttribute("data-open","true"),window.addEventListener("click",
164this.handleWindowClickCloseMaterialListListener)):this.closeMaterialList()};a.bnl.zoekincatalogus.prototype.closeMaterialList=function(){a.util.removeClass(this.material_list,"open");this.material_filter.setAttribute("data-open","false");window.removeEventListener("click",this.handleWindowClickCloseMaterialListListener)};a.bnl.zoekincatalogus.prototype.browseMaterialList=function(d){var b=this.material_filter.querySelector("[type\x3dradio]:checked");if(38===d)for(d=b.previousElementSibling;d;){if(a.util.matches(d,
165"input")){d.click();break}d=d.previousElementSibling}else if(40===d)for(d=b.nextElementSibling;d;){if(a.util.matches(d,"input")){d.click();break}d=d.nextElementSibling}};a.bnl.zoekincatalogus.prototype.handleSubmit=function(d){var b=d.formData.get(this.name);if(null!==b){b=b.split("@");b=$jscomp.makeIterator(b);for(var e=b.next();!e.done;e=b.next())e=e.value.split("|"),2===e.length&&d.formData.set(e[0],e[1]);d.formData.delete(this.name)}};a.bnl.zoekincatalogus.prototype.selectMaterialFilter=function(d){this.material_filter.querySelectorAll("label.current").forEach(function(e){a.util.removeClass(e,
166"current")});d=d.target;var b=a.util.next(d,"label");a.util.addClass(b,"current");this.button.querySelector(".label").textContent=b.textContent;this.material_filter.initial_state?this.material_filter.initial_state=!1:this.button.focus();this.where&&("bnl-filter-website"===d.getAttribute("id").substring(0,18)?this.where.querySelector("#bnl-where-website").checked=!0:this.where.querySelector("#bnl-where-catalog").checked=!0)};a.bnl.zoekincatalogus.prototype.autoComplete=function(d){var b=this,e=this.material_filter?
167this.material_filter.querySelector(":checked"):null,g=e?e.getAttribute("id"):null,f=document.body.querySelectorAll("#bnl-filter-website:checked, #bnl-where-website:checked");if(!this.autoSuggest||0<f.length||"bnl-filter-website"===g)this.query.setAttribute("autocomplete","on");else{d.preventDefault();g=this.query.value;var h="e-content"===this.autoSuggest?this.convertFilterToTypeParameterValue(e):"all";this.queryValue!==g&&13!==d.keyCode&&9!==d.keyCode&&(this.queryValue=g,clearTimeout(this.queryTimeOut),
1682<this.queryValue.length?this.queryTimeOut=setTimeout(function(){b.getResult(b.queryValue,h)},100):this.resetAutoComplete());this.query.setAttribute("autocomplete","off")}};a.bnl.zoekincatalogus.prototype.convertFilterToTypeParameterValue=function(d){var b=null;d&&((b=this.convertAttributeToTypeParameterValue(d.getAttribute("id")))||(b=this.convertAttributeToTypeParameterValue(d.getAttribute("value"))));b||(b="all");return b};a.bnl.zoekincatalogus.prototype.convertAttributeToTypeParameterValue=function(d){if(d){d=
169d.toLowerCase();if(d.includes("e-book"))return"ebook";if(d.includes("luisterboek"))return"luisterboek"}return null};a.bnl.zoekincatalogus.prototype.resetAutoComplete=function(){window.removeEventListener("click",this.handleWindowClickCloseResultsContainerListener);this.resultsContainer&&(this.resultsContainer.innerHTML="",this.resultsContainer.style.display="none")};a.bnl.zoekincatalogus.prototype.getResult=function(d,b){b="https://zoek.bnlapi.nl/ZoekFeed?term\x3d"+encodeURIComponent(d)+"\x26type\x3d"+
170encodeURIComponent(b);a.util.getJSON(b,function(e){d===this.queryValue&&this.parseResult(e)}.bind(this),function(e){})};a.bnl.zoekincatalogus.prototype.handleWindowClickCloseResultsContainer=function(d){a.util.parent(d.target,"div.results-container")||this.resetAutoComplete()};a.bnl.zoekincatalogus.prototype.parseResult=function(d){this.resultsContainer?this.resultsContainer.style.display="block":(a.util.insertAfter(this.query,'\x3cdiv class\x3d"results-container" /\x3e'),this.resultsContainer=document.body.querySelector("div.results-container"));
1710<d.length?(this.resultsContainer.innerHTML=this.parseItems(d),this.resultsContainer.querySelectorAll("label").forEach(function(b){b.addEventListener("click",this.handleClickListener)}.bind(this))):this.resetAutoComplete();window.addEventListener("click",this.handleWindowClickCloseResultsContainerListener);this.resultsContainer.querySelectorAll("input").forEach(function(b){b.addEventListener("click",this.handleBlurListener)}.bind(this))};a.bnl.zoekincatalogus.prototype.handleBlur=function(){var d=
172document.body.querySelector(":focus");setTimeout(function(){var b,e;!d||d===this.query&&d===this.resultsContainer||0!==(null==(b=this.resultsContainer)?void 0:null==(e=b.querySelector(":focus"))?void 0:e.length)||this.resetAutoComplete()}.bind(this),0)};a.bnl.zoekincatalogus.prototype.handleKeyDown=function(d){this.handleBlur();switch(d.keyCode){case 38:case 40:a.util.matches(this.query,":focus")&&(d.preventDefault(),this.browseSuggestionList(d.keyCode));break;case 32:case 13:var b;if(null==(b=this.resultsContainer)?
1730:b.querySelector("input:focus")){d.preventDefault();if(d=this.resultsContainer.querySelector("input:checked + label").textContent)d=d.replace(this.resultsContainer.querySelector("input:checked + label \x3e span").textContent,""),this.query.value=d;this.resetAutoComplete();this.submit.click()}break;case 27:this.resetAutoComplete()}};a.bnl.zoekincatalogus.prototype.handleClick=function(d){this.query.value=d.currentTarget.textContent.replace(d.currentTarget.querySelector("span").textContent,"");this.query.focus();
174this.resetAutoComplete();this.submit.click()};a.bnl.zoekincatalogus.prototype.browseSuggestionList=function(d){38===d&&(this.resultsContainer.querySelectorAll("input")[this.resultsContainer.querySelectorAll("input").length-1].focus(),this.resultsContainer.querySelectorAll("input")[this.resultsContainer.querySelectorAll("input").length-1].checked=!0);40===d&&(this.resultsContainer.querySelectorAll("input")[0].focus(),this.resultsContainer.querySelectorAll("input")[0].checked=!0)};a.bnl.zoekincatalogus.prototype.parseItems=
175function(d){for(var b="",e=Math.min(d.length,20),g=0;g<e;g++){var f=d[g],h=f.replace(/ \(\d+ (e-books|luisterboeken|titels)\)/,"");f=f.substring(h.length);b+='\x3cinput type\x3d"radio" name\x3d"suggestion" id\x3d"rl'+g+'"\x3e\x3clabel for\x3d"rl'+g+'"\x3e'+a.util.escapeHTML(h)+"\x3cspan\x3e"+a.util.escapeHTML(f)+"\x3c/span\x3e\x3c/label\x3e"}return b}})(bw);
176(function(a){var d=new Date("2025-10-13"),b=function(f,h,l,c){return"\n\t\x3cp\x3e\n\t\tCookie naam: "+a.util.escapeHTML(f)+"\x3cbr /\x3e\n\t\tBeschrijving: "+a.util.escapeHTML(h)+"\x3cbr /\x3e\n\t\tBewaartermijn: "+a.util.escapeHTML(l)+"\x3cbr /\x3e\n\t\tDomein: "+a.util.escapeHTML(c)+"\x3cbr /\x3e\n\t\x3c/p\x3e\n\t"},e={video:function(){return"YouTube"},"external-content":function(f){return(new URL(f)).hostname}},g="__utm s_ _sat_ _pk_id _pk_ses _pk_ref _pk_cvar _pk_testcookie matomo_sessid mtm_consent_removed mtm_cookie_consent _pk_hsr _pk_uid MatomoAbTesting".split(" ");
177a.bnl.tracking=function(f){this.element=f;this.setup()};a.bnl.tracking.prototype.setup=function(){this.ignoreH1=this.closeable=this.useBar();this.cookieName="trackingapprovedv5-"+this.element.getAttribute("data-cookie-statement-version");this.date=new Date(this.element.getAttribute("data-cookie-statement-date")||d);this.domain=this.element.getAttribute("data-domain");
177this.firstLayerText=this.element.getAttribute("data-first-layer-text");this.functionalCookiesText=this.element.getAttribute("data-functional-cookies-text");
178this.analyticsCookiesText=this.element.getAttribute("data-analytics-cookies-text");this.marketingCookiesText=this.element.getAttribute("data-marketing-cookies-text");this.acceptButtonText=this.element.getAttribute("data-accept-button-text");this.declineButtonText=this.element.getAttribute("data-decline-button-text");this.footerHTML='\x3cp class\x3d"buttons"\x3e\x3cbutton class\x3d"button primary ok"\x3e'+a.util.escapeHTML(this.acceptButtonText)+'\x3c/button\x3e\x3cbutton class\x3d"button primary notok"\x3e'+
179a.util.escapeHTML(this.declineButtonText)+"\x3c/button\x3e\x3c/p\x3e";this.partners=parseInt(this.element.getAttribute("data-partners")||"0");this.filler="true"===this.element.getAttribute("data-filler");this.useAdWords="true"===this.element.getAttribute("data-adwords");this.useMatomo=null!==this.element.getAttribute("data-matomo");this.useAdWords?(this.changePreferencesMessagePositive='\x3cdiv class\x3d"cookie-permission-container"\x3e\x3ch3 class\x3d"struct"\x3eCookie toestemming wijzigen\x3c/h3\x3e\x3cp\x3e\t\x3cspan\x3eJe gaf toestemming voor het plaatsen van cookies voor statistieken en marketing.\x3c/span\x3e\t\x3cbutton class\x3d"button quarternary cookie-permission"\x3eTrek je toestemming in\x3c/button\x3e\t\x3cbutton class\x3d"button quarternary show-notice"\x3eCookie toestemming wijzigen\x3c/button\x3e\x3c/p\x3e\x3c/div\x3e',
180this.changePreferencesMessageNegative='\x3cdiv class\x3d"cookie-permission-container"\x3e\x3ch3 class\x3d"struct"\x3eCookie toestemming wijzigen\x3c/h3\x3e\x3cp\x3e\t\x3cspan\x3eJe gaf geen toestemming voor het plaatsen van cookies voor statistieken en marketing.\x3c/span\x3e\t\x3cbutton class\x3d"button quarternary cookie-permission"\x3eGeef toestemming\x3c/button\x3e\x3c/p\x3e\t\x3cbutton class\x3d"button quarternary show-notice"\x3eCookie-instellingen wijzigen\x3c/button\x3e\x3c/div\x3e'):(this.changePreferencesMessagePositive=
181'\x3cdiv class\x3d"cookie-permission-container"\x3e\x3ch3 class\x3d"struct"\x3eCookie toestemming wijzigen\x3c/h3\x3e\x3cp\x3e\t\x3cspan\x3eJe gaf toestemming voor het plaatsen van cookies voor statistieken.\x3c/span\x3e\t\x3cbutton class\x3d"button quarternary cookie-permission"\x3eTrek je toestemming in\x3c/button\x3e\t\x3cbutton class\x3d"button quarternary show-notice"\x3eCookie-instellingen wijzigen\x3c/button\x3e\x3c/p\x3e\x3c/div\x3e',this.changePreferencesMessageNegative='\x3cdiv class\x3d"cookie-permission-container"\x3e\x3ch3 class\x3d"struct"\x3eCookie toestemming wijzigen\x3c/h3\x3e\x3cp\x3e\t\x3cspan\x3eJe gaf geen toestemming voor het plaatsen van cookies voor statistieken.\x3c/span\x3e\t\x3cbutton class\x3d"button quarternary cookie-permission"\x3eGeef toestemming\x3c/button\x3e\t\x3cbutton class\x3d"button quarternary show-notice"\x3eCookie-instellingen wijzigen\x3c/button\x3e\x3c/p\x3e\x3c/div\x3e');
182if("no"!==this.element.dataset.givenotice){var f=this.getCookie();this.renderCookiePreference(f);!0===f?this.loadTrackingScripts():(this.enhanceExternalContentElements(),null===f&&this.askApproval())}};a.bnl.tracking.prototype.enhanceExternalContentElements=function(){document.querySelectorAll("iframe[data-src]").forEach(function(f){var h=f.getAttribute("data-original-url"),l=e[f.getAttribute("data-type")](h),c=document.createElement("div");c.className="click-to-load";var k=document.createElement("div");
183k.className="click-to-load-container";var m=document.createElement("h3");m.textContent="Geen toestemming";k.appendChild(m);m=document.createElement("p");m.textContent="";k.appendChild(m);m=document.createElement("button");m.addEventListener("click",this.showInfo.bind(this));m.textContent="Open cookievoorkeuren";m.className="button secondary";k.appendChild(m);m=document.createElement("a");m.href=h;m.textContent="Bekijk op "+l;m.target="_blank";m.className="button quaternary";k.appendChild(m);c.appendChild(k);
184h=document.createElement("div");h.className="blurred-background";h.style.backgroundImage="url('"+f.getAttribute("data-still-image")+"')";c.appendChild(h);h=document.createElement("div");
184h.className="click-to-load-title";h.textContent=f.title;c.appendChild(h);a.util.insertAfter(f,c)}.bind(this))};a.bnl.tracking.prototype.getCookie=function(){return a.util.cookieExists(this.cookieName)?"true"===a.util.rawCookie(this.cookieName):null};a.bnl.tracking.prototype.fillMatomoQueue=function(){window._mtm=[{"mtm.startTime":(new Date).getTime(),
185event:"mtm.Start"}]};a.bnl.tracking.prototype.loadScript=function(f){var h=document,l=h.createElement("script");h=h.getElementsByTagName("script")[0];l.async=!0;l.src=f;h?h.parentNode.insertBefore(l,h):document.head.appendChild(l)};a.bnl.tracking.prototype.loadTrackingScripts=function(){var f=this.element.getAttribute("data-matomo");f&&(this.fillMatomoQueue(),this.loadScript(f));document.querySelectorAll("iframe[data-src]").forEach(function(h){h.src=h.getAttribute("data-src");h.removeAttribute("data-src")});
186document.querySelectorAll("iframe + .click-to-load").forEach(function(h){h.remove()})};a.bnl.tracking.prototype.useBar=function(){return document.querySelector('[data-noticemode\x3d"bar"]')};a.bnl.tracking.prototype.createContent=function(){var f=this.useMatomo||this.analyticsCookiesText,h;if(!(h=this.firstLayerText)){h=this.partners;var l=this.declineButtonText,c="";h&&(c=1===h?" en onze partner":" en onze "+h+" partners");h="\n\t\t\t\x3cp\x3e\n\t\t\tWe gebruiken cookies (en vergelijkbare technieken) om de website goed te laten werken, je online-ervaring te verbeteren en om gerichte advertenties te laten zien. \n\t\t\tMet deze cookies verzamelen wij"+
187c+" informatie over jou, zoals je IP-adres en internetgedrag. Dit doen we alleen als je dat goed vindt. \n\t\t\tWe gebruiken "+(f?3:2)+" soorten cookies:\x3c/p\x3e\n\t\t\t\x3cul\x3e\n\t\t\t\t\x3cli\x3e\x3cstrong\x3eFunctionele cookies\x3c/strong\x3e \x26mdash; deze zijn nodig om de website goed te laten werken. Deze cookies plaatsen we altijd.\x3c/li\x3e\n\t\t\t\t"+(f?"\x3cli\x3e\x3cstrong\x3eAnalytische cookies\x3c/strong\x3e \x26mdash; hiermee zien we hoe je de website gebruikt. Zo kunnen we de website en onze dienstverlening verbeteren.\x3c/li\x3e":
188"")+"\n\t\t\t\t\x3cli\x3e\x3cstrong\x3eMarketing cookies\x3c/strong\x3e \x26mdash; hiermee volgen we je surfgedrag binnen en soms buiten onze website. \n\t\t\t\tZo weten we of onze advertenties werken en kunnen we ze beter afstemmen.\x3c/li\x3e\n\t\t\t\x3c/ul\x3e\n\t\t\t\x3cp\x3eWe slaan je gegevens en IP-adres anoniem op.\n\t\t\tKlik op \x26ldquo;"+a.util.escapeHTML(this.acceptButtonText)+"\x26rdquo; om alle cookies toe te staan. \n\t\t\tKlik op \x26ldquo;"+a.util.escapeHTML(l)+"\x26rdquo; als je alleen functionele cookies wilt. \n\t\t\tJe kunt je toestemming altijd aanpassen via de link \x26ldquo;Cookie toestemming wijzigen\x26rdquo; onderaan de website.\x3c/p\x3e"}return h+
189'\x3cp\x3e\x3cbutton class\x3d"button tertiary"\x3eLees hier meer over cookies\x3c/button\x3e\x3c/p\x3e'};a.bnl.tracking.prototype.askApproval=function(){var f=!this.useBar(),h={size:"small",closeable:this.closeable,ignoreH1:this.ignoreH1,firstthing:!0,classname:"main-column",content:this.createContent(),footer:this.footerHTML,title:"Cookies op deze website",show_overlay:f,position:f?"float":!1};this.window=a.ui.modalwindow.open(this.element,h);var l=this.window.element;if(!f){this.noticeTypeClass=
190this.useAdWords?"noticeActive longNotice":"noticeActive";a.util.addClass(this.window.element.parentElement,this.noticeTypeClass);this.filler&&!document.body.querySelector(".cookieBar-filler")&&this.createFillerElements();var c=l.addEventListener("modalWindowClose",function(){l.removeEventListener("modalWindowClose",c);a.util.removeClass(l.parentElement,this.noticeTypeClass);this.filler&&a.util.removeElement(document.body.querySelector(".cookieBar-filler"))}.bind(this))}l.querySelector(".button.tertiary").addEventListener("click",
191this.showInfo.bind(this));l.querySelector(".button.ok").addEventListener("click",this.setResponse.bind(this,!0));l.querySelector(".button.notok").addEventListener("click",this.setResponse.bind(this,!1))};a.bnl.tracking.prototype.setResponse=function(f){var h;null==(h=this.window)||h.close();a.util.rawCookie(this.cookieName,f.toString(),{date:function(l){l.setFullYear(l.getFullYear()+1)}});this.renderCookiePreference(f);f?this.loadTrackingScripts():(this.removeCookies(),document.querySelectorAll("iframe[src]").forEach(function(l){l.parentElement.style.height=
192window.getComputedStyle(l).height;l.remove()}),window.location.reload());this.clearBar()};a.bnl.tracking.prototype.renderCookiePreference=function(f){var h=document.body.querySelector(".biebwidget-content.widget-bnl-footer .nav");null==h&&(h=this.element,h.classList.add("widget-bnl-footer"),a.util.insertIntoAsLast(h,'\x3cdiv class\x3d"nav"\x3e\x3c/div\x3e'),h=document.body.querySelector(".biebwidget-content.widget-bnl-footer .nav"));var l;null==(l=h.querySelector(".cookie-permission-container"))||
193l.remove();a.util.insertIntoAsLast(h,f?this.changePreferencesMessagePositive:this.changePreferencesMessageNegative);h.parentElement.querySelector(".button.cookie-permission").addEventListener("click",f?this.setResponse.bind(this,!1):this.setResponse.bind(this,!0));h.parentElement.querySelector(".button.show-notice").addEventListener("click",this.showInfo.bind(this))};a.bnl.tracking.prototype.getCookieNames=function(){return document.cookie.split(/; */).map(function(f){return f.substring(0,f.indexOf("\x3d"))}).filter(function(f){return g.some(function(h){return f.startsWith(h)})})};
194a.bnl.tracking.prototype.removeCookies=function(){this.getCookieNames().forEac
194h(function(l){return a.util.removeCookie(l,"/")});for(var f=window.location.hostname;-1!==f.indexOf(".");){var h=this.getCookieNames();if(!h.length)break;h.forEach(function(l){return a.util.removeCookie(l,"/",f)});f=f.substring(f.indexOf(".")+1)}};a.bnl.tracking.prototype.showInfo=function(f){f.stopPropagation();f.preventDefault();a.util.removeElement(document.body.querySelector(".modalwindow-container"));f={size:"large",
195closeable:this.closeable,firstthing:!0,classname:"main-column",content:this.createContent(),footer:this.footerHTML,title:"Cookies op deze website"};this.window=a.ui.modalwindow.open(this.element,f);f=this.getCookie();f=null!==f&&'\x3cdiv class\x3d"message alert"\x3e'+(f?"\x3cp\x3eU hebt toestemming gegeven om cookies te gebruiken.\x3c/p\x3e":"\x3cp\x3eU hebt geen toestemming gegeven om cookies te gebruiken.\x3c/p\x3e")+"\x3c/div\x3e"||"";var h=[],l=h.push;var c=this.domain;c="\n\t\t\x3ch3\x3eFunctionele cookies\x3c/h3\x3e\n\t\t\x3cp\x3e\n\t\t\tFunctionele cookies zijn kleine bestanden die onthouden hoe jij een website gebruikt. \n\t\t\tZo werkt de website beter en hoef je niet steeds alles opnieuw in te stellen.\n\t\t\x3c/p\x3e\n\t\t\x3cp\x3eHieronder een overzicht van deze cookies:\x3c/p\x3e\n\t\t"+
196b(this.cookieName,"Vastleggen keuze cookieconsent","1 jaar",c)+"\n\t\t"+b("highContrast","Keuze voor hoog contrast","1 jaar",c)+"\n\t";l.call(h,c);h.push(this.functionalCookiesText);(this.useMatomo||this.analyticsCookiesText)&&h.push("\n\t\t\x3ch3\x3eAnalytische cookies\x3c/h3\x3e\n\t\t\x3cp\x3e\n\t\t\tStatistische of analytische cookies zijn kleine bestanden die bijhouden hoe je een website gebruikt. \n\t\t\tZe tellen bijvoorbeeld hoeveel mensen een pagina bekijken of welke knoppen vaak worden aangeklikt. \n\t\t\tZo kan de website beter worden gemaakt en makkelijker werken voor bezoekers.\n\t\t\x3c/p\x3e\n\t");
197this.useMatomo&&(l=h.push,c=this.domain,c="\n\t\t\x3ch4\x3eMatomo\x3c/h4\x3e\n\t\t\x3cp\x3e\n\t\t\tOm het gebruik van onze websites te meten gebruiken wij de dienst Matomo. \n\t\t\tDaarmee wordt onder meer bijgehouden hoe bezoekers onze websites gebruiken, welke pagina\u2019s zij bezoeken, waar zij vandaan komen, waar zij op klikken en welke browser zij gebruiken. \n\t\t\tMet deze informatie kunnen wij het gebruiksgemak en de kwaliteit van onze websites verbeteren en kunnen we bezoekersstatistieken opstellen.\n\t\t\x3c/p\x3e\n\t\t\x3cp\x3eDe volgende cookies worden geplaatst voor Matomo:\x3c/p\x3e\n\t\t"+
198b("_pk_id","Slaat een uniek bezoekers-ID op.","13 maanden",c)+"\n\t\t"+b("_pk_ses","Tijdelijke sessiecookie die gegevens opslaat tijdens het bezoek.","30 minuten",c)+"\n\t\t"+b("_pk_ref","Slaat informatie op over hoe de bezoeker op de website is gekomen (via verwijzing).","6 maanden",c)+"\n\t\t"+b("_pk_testcookie","Tijdelijke cookie om te controleren of de browser cookies ondersteunt (alleen in Internet Explorer).","Verloopt vrijwel direct nadat deze is geplaatst",c)+"\n\t\t"+b("matomo_sessid","Helpt beveiligingsproblemen (CSRF) te voorkomen bij het gebruik van de opt-out functie.",
199"14 dagen",c)+"\n\t\t"+b("mtm_consent_removed","Geeft aan dat een bezoeker zich heeft afgemeld voor Matomo-tracking.","30 jaar",c)+"\n\t\t"+b("mtm_cookie_consent","Legt vast of de bezoeker toestemming heeft gegeven voor Matomo-tracking.","30 jaar",c)+"\n\t\t"+b("_pk_hsr","Tijdelijke sessiecookie die gegevens opslaat voor de Heatmap-functie.","30 minuten",c)+"\n\t\t"+b("_pk_uid","Als dit is ingeschakeld, krijgt een bezoeker hetzelfde ID op alle domeinen en apparaten. Zo kan Matomo dezelfde gebruiker herkennen. Dit wordt alleen gebruikt als derde partij cookies zijn ingeschakeld in de Matomo-configuratie.",
200"13 maanden",c)+"\n\t\t"+b("MatomoAbTesting","Slaat informatie op voor A/B-testen in Matomo. Dit wordt opgeslagen in de browser (local storage).","Geen einddatum (blijft staan totdat de bezoeker of applicatie het verwijdert).",c),l.call(h,c));h.push(this.analyticsCookiesText);l=h.push;c=this.domain;c="\n\t\x3ch3\x3eMarketing cookies\x3c/h3\x3e\n\t\x3cp\x3e\n\t\tMarketing- of trackingcookies zijn kleine bestanden die bijhouden wat je online doet, bijvoorbeeld welke websites je bezoekt of welke producten je bekijkt. \n\t\tZe worden gebruikt om je advertenties te laten zien die beter bij je passen.\n\t\x3c/p\x3e\n\t\x3ch4\x3eYouTube\x3c/h4\x3e\n\t\x3cp\x3eOm YouTube-video\u2019s op deze website te laten zien, plaatst YouTube informatie in je browser. Deze informatie kan ook gebruikt worden voor reclame.\x3c/p\x3e\n\t\x3cp\x3eDe volgende cookies worden geplaatst voor YouTube:\x3c/p\x3e\n\t\n\t"+
201b("YSC","YouTube Session Security Token - Beveiligt YouTube sessies tegen CSRF aanvallen en session hijacking. Genereert unieke tokens voor elke sessie en verifieert request authenticiteit. Voorkomt unauthorized video uploads en account modificaties. Essentieel voor platform integriteit en gebruiker privacy bescherming.","Sessie","youtube.com")+"\n\t"+b("VISITOR_INFO1_LIVE","YouTube Visitor Intelligence \x26 Personalisatie - Verzamelt uitgebreide viewing patterns inclusief watch time, engagement signalen, en content voorkeuren. Gebruikt voor YouTube's recommendation algoritme, advertentie targeting op video content, en creator analytics. Maakt age-gating en content restricties mogelijk op basis van gebruiker geschiedenis.",
202"180 dagen","youtube.com")+"\n\t"+b("ACLK_DATA","YouTube Advertentie Attribution Data - Slaat gedetailleerde informatie op over video advertentie interacties inclusief skip rates, engagement points, en completion rates. Gebruikt voor TrueView campagne optimalisatie en brand lift measurement. Linkt YouTube advertentie exposure met downstream conversies voor volledige funnel analyse.","5 minuten","youtube.com")+"\n\t"+b("GED_PLAYLIST_ACTIVITY","YouTube Playlist Behavioral Signals - Analyseert playlist creatie en consumptie patronen voor geavanceerde interesse mapping. Identificeert content affiniteiten en viewing contexten voor precisie targeting. Gebruikt voor influencer marketing attribution en content partnership optimalisatie. Ondersteunt YouTube Music personalisatie algoritmes.",
203"Sessie",c)+"\n\t";l.call(h,c);this.useAdWords&&(l=h.push,c=this.domain,c="\n\t\x3ch4\x3eGoogle Adwords\x3c/h4\x3e\n\t\x3cp\x3e\n\t\tWij proberen je als bezoeker te voorzien van de best mogelijke informatie. \n\t\tDaarvoor maken we momenteel gebruik van zogenaamde cookies en pixels. \n\t\tZo kunnen we met Google Adwords advertenties plaatsen in de Google-zoekmachine en op andere websites.\n\t\x3c/p\x3e\n\t\x3cp\x3e\n\t\tHet doel van onze advertenties is om degene die erop klikt naar een specifieke webpagina of dienst te leiden. \n\t\tMet de cookies en pixels kunnen wij en Google het bereikte doel koppelen aan het klikken op de advertentie. \n\t\tEr wordt daarbij geen persoonlijke informatie opgeslagen. Wel de webpagina w
203aar je als bezoeker vandaan komt.\n\t\x3c/p\x3e\n\t\x3cp\x3e\n\t\tWe gebruiken de met Google Adwords verkregen informatie ook om onze advertenties effectiever te maken. \n\t\tGoogle kan de informatie ook relateren aan de gegevens die zijn verkregen met Google Analytics \u2013 zie het privacybeleid van Google. \n\t\tEen cookie van Google Adwords wordt maximaal 90 dagen bewaard.\n\t\x3c/p\x3e\n\t\x3cp\x3eDe volgende cookies worden geplaatst voor Google Adwords:\x3c/p\x3e\n\t"+
204b("_gcl_aw","Google Ads Conversie Tracking - Deze first-party cookie slaat click-informatie op wanneer gebruikers via Google Ads advertenties op uw site komen. Bewaart de GCLID (Google Click Identifier) parameter die unieke informatie bevat over de advertentie, advertentiegroep, campagne en account. Heeft een levensduur van 90 dagen en maakt cross-domain tracking mogelijk voor nauwkeurige conversie-attributie in Google Ads rapporten.","90 dagen",c)+"\n\t"+b("_gcl_au","Universal Google Conversie Tracking - Centrale cookie die conversie-informatie verzamelt voor alle Google marketing producten (Ads, Display \x26 Video 360, Campaign Manager). Gebruikt het GlobalSiteTag framework om een ge\u00fcnificeerde tracking methodologie te bieden. Slaat gebruiker-interacties op en synchroniseert data tussen verschillende Google diensten voor holistische campagne performance analyse.",
205"90 dagen",c)+"\n\t"+b("_gcl_gb","Google Business Profile Conversie Tracking - Specifiek ontworpen voor het tracken van conversies die voortkomen uit Google Business Profile listings en Google Maps integraties. Meet acties zoals routebeschrijvingen, telefoongesprekken en website bezoeken vanuit lokale zoekresultaten. Essentieel voor bedrijven met fysieke locaties om ROI van lokale SEO en advertenties te meten.","90 dagen",c)+"\n\t"+b("_gcl_dc","Display \x26 Video 360 Enterprise Tracking - Geavanceerde tracking cookie voor Google's programmatic advertising platform. Verzamelt gedetailleerde impression en view-through conversie data, ondersteunt sophisticated attribution modellen, en maakt cross-device tracking mogelijk. Integreert met Campaign Manager voor enterprise-level campagne orchestratie en audience segmentatie.",
206"90 dagen",c)+"\n\t"+b("NID","Google Voorkeuren \x26 Beveiliging Hub - Multifunctionele cookie die gebruikersvoorkeuren opslaat (taal, regio, SafeSearch filters), beveiligingsfuncties activeert (bot detectie, account verificatie), en basis personalisatie mogelijk maakt voor niet-ingelogde gebruikers. Heeft een levensduur van 6 maanden en is cruciaal voor Google's core functionaliteiten zoals zoekresultaten customisatie.","6 maanden","google.com")+"\n\t"+b("IDE","DoubleClick Remarketing \x26 Behavioral Targeting - Kern cookie van Google's display advertising netwerk. Bouwt gedetailleerde gebruikersprofielen op basis van browse-gedrag across miljoenen websites. Maakt dynamic remarketing mogelijk, frequency capping, en lookalike audience targeting. Synchroniseert met DSP platforms voor real-time bidding optimalisatie. Levensduur van 13 maanden in Europa (vanwege GDPR).",
207"13 maanden EU/UK","doubleclick.net")+"\n\t"+b("ANID","Advertentie Personalisatie \x26 Interest Mapping - Slaat gecodeerde informatie op over gebruikersinteresses en demografische kenmerken voor advertentie targeting. Gebruikt machine learning algoritmes om interesse categorie\u00ebn toe te wijzen op basis van browse-historie. Maakt in-market audience targeting mogelijk en ondersteunt Google's Privacy Sandbox initiatieven voor privacy-vriendelijke advertenties.","13 maanden EU/UK","google.com")+"\n\t"+
208b("1P_JAR","Advertentie Optimalisatie \x26 A/B Testing - Verzamelt statistieken over website gebruik om advertentie relevantie te optimaliseren. Meet engagement metrics zoals CTR, bounce rate, en conversie paths. Gebruikt voor A/B testing van advertentie formats en plaatsingen. Heeft een korte levensduur van 1 maand om recente gebruikersgedrag te prioriteren in targeting beslissingen.","30 dagen","google.com")+"\n\t"+b("__gads","Advertentie Interactie \x26 Performance Metrics - Meet gedetailleerde interacties met display advertenties inclusief hover tijd, scroll diepte, en viewability metrics. Verzamelt data voor brand lift studies en incrementality testing. Ondersteunt multi-touch attribution modellen en helpt adverteerders te begrijpen welke touchpoints het meest bijdragen aan conversies.",
209"13 maanden",c)+"\n\t"+b("__gpi","Google Publisher Tag Orchestratie - Beheert advertentie serving voor AdSense en Google Ad Manager. Co\u00f6rdineert header bidding, bepaalt optimale advertentie plaatsingen, en managet yield optimalisatie. Verzamelt publisher-side analytics voor revenue maximalisatie en user experience balancering. Essentieel voor programmatic advertising ecosysteem.","13 maanden",c)+"\n\t"+b("AID","Enhanced Conversions \x26 Account Syncing - Koppelt offline conversie data met online advertentie interacties. Gebruikt gehashte first-party data (email, telefoon) voor privacy-vriendelijke matching. Maakt offline-to-online attribution mogelijk voor retailers en lead generation businesses. Synchroniseert CRM data met Google Ads voor closed-loop reporting.",
210"13-540 dagen","googleadservices.com")+"\n\t"+b("TAID","Tijdelijke Attribution Identifier - Kortstondige cookie voor het tracken van complexe conversie paden. Gebruikt tijdens checkout processen en multi-step forms om data verlies te voorkomen. Heeft typisch een levensduur van 14 dagen en wordt gebruikt voor troubleshooting van tracking issues en het valideren van conversie data integriteit.","14 dagen","googleadservices.com")+"\n\t"+b("DSID","DoubleClick Secure User Authentication - Beveiligingscookie die frauduleuze activiteit voorkomt in het advertentie ecosysteem. Verifieert gebruiker authenticiteit, detecteert bot traffic, en voorkomt click fraud. Gebruikt cryptografische technieken voor secure data transmission tussen advertentie servers. Essentieel voor maintaining advertentie kwaliteit en budget bescherming.",
211"2 weken","doubleclick.net")+"\n\t"+b("test_cookie","Browser Capability Detection - Technische cookie die test of de browser third-party cookies accepteert. Wordt gebruikt voor graceful degradation van functionaliteiten en voor het bepalen van alternatieve tracking methoden. Heeft een levensduur van enkele minuten en is cruciaal voor cross-browser compatibiliteit van tracking scripts.","15 minuten","doubleclick.net")+"\n\t"+b("FPAU","First-Party Analytics Unification - Maakt naadloze cross-domain tracking mogelijk zonder third-party cookies. Gebruikt voor het behouden van gebruiker sessies across subdomains en het linken van gebruiker journeys. Implementeert Google's nieuwe privacy-focused tracking methodologie\u00ebn en ondersteunt server-side tagging architecturen.",
212"90 dagen",c)+"\n\t"+b("RUL","Remarketing List Management - Beheert gebruiker lidmaatschap in verschillende remarketing audiences. Slaat timestamps op van lijst toevoegingen, segmentatie criteria, en exclusie regels. Maakt sophisticated audience layering mogelijk voor gepersonaliseerde advertentie ervaringen. Synchroniseert met Google Ads voor real-time audience updates.","12 maanden","doubleclick.net")+"\n\t"+b("_ga","Google Analytics Universal User Identifier - Primaire identificatie cookie die een unieke ID toewijst aan elke gebruiker voor de gehele levensduur van hun interactie met de website. Heeft een standaard levensduur van 2 jaar en verzamelt basis metrics zoals pageviews, sessies, en bounce rate. Fundament voor alle Google Analytics rapporten en audience building.",
213"2 jaar",c)+"\n\t"+b("_gid","Google Analytics Daily Session Discriminator - 24-uurs cookie die unieke sessies identificeert en gebruikers groepeert voor dagelijkse rapportage. Maakt real-time analytics mogelijk en ondersteunt sessie-gebaseerde segmentatie. Essentieel voor het begrijpen van dagelijkse traffic patronen en user engagement cycles.","24 uur",c)+"\n\t"+b("gac\x3cwpid\x3e","Google Ads Campaign Attribution Cookie - Property-specifieke cookie die campagne parameters opslaat (utm tags, campaign IDs). Maakt granulaire campagne performance analyse mogelijk en ondersteunt multi-channel attribution modellen. Het \x3cwpid\x3e segment correspondeert met specifieke Google Analytics properties voor multi-site tracking.",
214"90 dagen",c)+"\n\t"+b("Conversion","Universal Conversion Pixel Tracker - Generieke conversie tracking cookie gebruikt door verschillende platforms. Registreert conversie events, waardes, en metadata. Ondersteunt server-to-server tracking en cookieless conversion measurement. Vaak gebruikt als fallback mechanisme wanneer primaire tracking methoden falen.","90 dagen","googleadservices.com")+"\n\t"+b("FLC","Floodlight Advanced Conversion Tracking - Campaign Manager 360's enterprise conversie tracking systeem. Ondersteunt custom variabelen, revenue tracking, en multi-touch attribution. Integreert met DCM voor cross-channel campagne measurement. Maakt sophisticated conversion funnels en customer journey mapping mogelijk voor grote adverteerders.",
215"10 seconden","doubleclick.net")+"\n\t"+b("FPGCLDC","First-Party Display \x26 Video 360 Click Identifier - Nieuwste generatie tracking voor Display \x26 Video 360 die first-party data prioriteert. Ondersteunt Google's Privacy Sandbox en cookieless future initiatieven. Maakt server-side conversie tracking mogelijk en reduceert afhankelijkheid van third-party cookies.","90 dagen",c)+"\n\t"+b("FPGCLAW","First-Party Google Ads Web Identifier - Enhanced first-party implementatie van Google Ads tracking. Verbetert conversie matching rates door gebruik van eerste-partij contexten. Ondersteunt Consent Mode en respecteert gebruiker privacy keuzes. Essentieel voor toekomstbestendige conversie tracking strategie\u00ebn.",
216"90 dagen",c)+"\n\t"+b("__eoi","Exchange Online Identity Verificatie - Microsoft Exchange/Office 365 integratie cookie voor secure email en document sharing. Verifieert gebruiker identiteit voor enterprise communicatie tools. Voorkomt phishing en unauthorised access tot bedrijfsinformatie. Synchroniseert met Active Directory voor single sign-on functionaliteit.","6 maanden",c)+"\n\t"+b("pm_sess","Privacy Manager Session Controller - Beheert gebruiker privacy voorkeuren en consent states gedurende de sessie. Slaat cookie banner interacties op, consent geschiedenis, en opt-out keuzes. Zorgt voor GDPR/CCPA compliance door consent signals door te geven aan tracking scripts.",
217"30 minuten","google.com")+"\n\t"+b("ar_debug","Attribution Reporting API Debugger - Ontwikkelaar tool voor Chrome's nieuwe Privacy Sandbox Attribution Reporting API. Logt debug informatie voor conversie event matching en attribution logic. Helpt developers bij het implementeren van privacy-preserving measurement oplossingen. Tijdelijke cookie voor testing doeleinden.","90 dagen","Multiple")+"\n\t"+b("receive-cookie-deprecation","Chrome Cookie Phase-Out Trial Marker - Identificeert browsers die deelnemen aan Chrome's third-party cookie deprecation trial. Activeert alternatieve tracking mechanismen en Privacy Sandbox APIs. Essentieel voor websites om zich voor te bereiden op de cookieless future en nieuwe privacy-focused advertising technologie\u00ebn te testen.",
218"6 maanden","doubleclick.net")+"\n\t\x3cp\x3eJe kunt ook je advertentie-instellingen beheren b
218ij Google zelf.\x3c/p\x3e\n\t",l.call(h,c));h.push(this.marketingCookiesText);l=this.window;c=l.setContent;var k=this.date;f='\n\t\t\t\x3cdiv class\x3d"richtext"\x3e\n\t\t\t\x3ch3\x3eWat zijn cookies?\x3c/h3\x3e\n\t\t\t\x3cp\x3e\n\t\t\t\tCookies zijn kleine stukjes informatie die browsers op computers of andere apparaten plaatsen.\n\t\t\t \tCookies bevatten meestal informatie over het bezoek aan websites. \n\t\t\t \tDeze informatie wordt bij elk volgend bezoek weer teruggestuurd, waardoor bezoeken aan elkaar gerelateerd kunnen worden. \n\t\t\t \tDe inhoud van de cookies waarvoor wij toestemming vragen, wordt bepaald door de partijen waarmee wij samenwerken.\n\t\t\t\x3c/p\x3e\n\t\t\t'+
219f+"\n\t\t \t"+h.join("")+'\n\t\t \t\x3ch3\x3eCookies blokkeren of verwijderen\x3c/h3\x3e\n\t\t \t\x3cp\x3eJe kunt het plaatsen van cookies blokkeren en/of eerder geplaatste cookies verwijderen. De manier waarop verschilt per browser:\x3c/p\x3e\n\t\t \t\x3cdl class\x3d"meta dense"\x3e\n\t\t \t\t\x3cdt\x3eMicrosoft Edge\x3c/dt\x3e\n\t\t \t\t\x3cdd\x3e\x3ca href\x3d"https://support.microsoft.com/nl-nl/microsoft-edge/cookies-verwijderen-in-microsoft-edge-63947406-40ac-c3b8-57b9-2a946a29ae09"\x3eMeer informatie Microsoft\x3c/a\x3e\x3c/dd\x3e\n\t\t \t\t\x3cdt\x3eMozilla Firefox\x3c/dt\x3e\n\t\t \t\t\x3cdd\x3e\x3ca href\x3d"https://support.mozilla.org/nl/kb/cookies-in-en-uitschakelen-websites-voorkeuren"\x3eMeer informatie Mozilla\x3c/a\x3e\x3c/dd\x3e\n\t\t \t\t\x3cdt\x3eGoogle Chrome\x3c/dt\x3e\n\t\t \t\t\x3cdd\x3e\x3ca href\x3d"https://support.google.com/chrome/answer/95647?hl\x3dnl"\x3eMeer informatie Google Chrome\x3c/a\x3e\x3c/dd\x3e\n\t\t \t\t\x3cdt\x3eSafari\x3c/dt\x3e\n\t\t \t\t\x3cdd\x3e\x3ca href\x3d"https://support.apple.com/nl-nl/guide/safari/sfri11471/mac"\x3eMeer informatie Safari\x3c/a\x3e\x3c/dd\x3e\n\t\t\t\x3c/dl\x3e\n\t\t\t\x3ch3\x3eWijzigingen\x3c/h3\x3e\n\t\t\t\x3cp\x3e\n\t\t\t\tWij behouden ons het recht voor deze cookieverklaring te wijzigen.\n\t\t\t\tWij zullen je op passende wijze informeren over wezenlijke wijzigingen. \n\t\t\t\tDeze verklaring is voor het laatst gewijzigd op '+
220k.toLocaleString("nl",{dateStyle:"long"})+".\n\t\t\t\x3c/p\x3e\n\t\t\x3c/div\x3e";c.call(l,f);this.clearBar();this.window.element.querySelector(".button.ok").addEventListener("click",this.setResponse.bind(this,!0));this.window.element.querySelector(".button.notok").addEventListener("click",this.setResponse.bind(this,!1))};a.bnl.tracking.prototype.clearBar=function(){this.window&&(a.util.removeClass(this.window.element,"bar"),a.util.removeClass(this.window.element.parentElement,"noticeActive"));this.filler&&
221a.util.removeElement(document.body.querySelector(".cookieBar-filler"));this.filler&&window.removeEventListener("resize",this.fillerResizeHandler)};a.bnl.tracking.prototype.createFillerElements=function(){var f=document.createElement("div");f.className="cookieBar-filler";a.util.insertBefore(document.body.querySelector(".bibliotheek-container"),f);var h=!1,l=function(){f.style.height=getComputedStyle(document.querySelector(".modalwindow-container.bar")).height};this.fillerResizeHandler=function(){h||
222(h=setTimeout(function(){h=!1;l()},66))};l();window.addEventListener("resize",this.fillerResizeHandler,!1)}})(bw);(function(a){a.bnl.iam=function(d){this.element=d;this.setup()};a.bnl.iam.prototype.setup=function(){var d=this.element.parentElement?this.element.parentElement:this.element;"1"===a.util.rawCookie("loginstate")?d.querySelectorAll(".loggedout").forEach(a.util.removeElement):d.querySelectorAll(".loggedin").forEach(a.util.removeElement)}})(bw);
223(function(a){a.bnl.highcontrast=function(d){this.element=d;this.setup()};a.bnl.highcontrast.prototype.setup=function(){this.cookieName="highContrast";this.highContrast=a.util.cookieExistsWithValue(this.cookieName,1);this.metanav=a.util.children(this.element,"ul.metanav")[0];this.labelNormal=this.element.getAttribute("data-contrastlabelnormal");this.labelHigh=this.element.getAttribute("data-contrastlabelhigh");var d='\x3cli\x3e\x3cbutton class\x3d"link togglenormalcontrast"'+(this.highContrast?"":
224" disabled")+"\x3e"+a.util.escapeHTML(this.labelNormal)+'\x3c/button\x3e\x3cbutton class\x3d"link togglehighcontrast"'+(this.highContrast?" disabled":"")+"\x3e"+a.util.escapeHTML(this.labelHigh)+"\x3c/button\x3e\x3c/li\x3e",b=a.util.children(this.metanav,"li.last");b.length?a.util.insertBefore(b[0],d):a.util.insertIntoAsLast(this.metanav,d);this.toggleNormal=this.metanav.querySelector("button.togglenormalcontrast");this.toggleHigh=this.metanav.querySelector("button.togglehighcontrast");this.toggleNormal.addEventListener("click",
225function(e){e.preventDefault();this.toggleContrast(!1)}.bind(this));this.toggleHigh.addEventListener("click",function(e){e.preventDefault();this.toggleContrast(!0)}.bind(this));this.sheetLink=document.querySelector("head link[data-contrast]");this.highContrast&&this.updateState()};a.bnl.highcontrast.prototype.updateState=function(){this.highContrast?(this.toggleHigh.setAttribute("disabled","disabled"),this.toggleNormal.removeAttribute("disabled"),null!==this.sheetLink&&(this.sheetLink.setAttribute("rel",
226"stylesheet"),this.sheetLink.removeAttribute("disabled"),this.sheetLink.removeAttribute("title")),a.util.addClass(document.documentElement,"contrast")):(this.toggleNormal.setAttribute("disabled","disabled"),this.toggleHigh.removeAttribute("disabled"),null!==this.sheetLink&&(this.sheetLink.setAttribute("rel","alternate stylesheet"),this.sheetLink.setAttribute("disabled","disabled"),this.sheetLink.setAttribute("title",this.labelHigh)),a.util.removeClass(document.documentElement,"contrast"))};a.bnl.highcontrast.prototype.toggleContrast=
227function(d){this.highContrast=d;this.updateState();d?a.util.rawCookie(this.cookieName,1,{date:function(b){b.setFullYear(b.getFullYear()+1)}}):a.util.removeCookie(this.cookieName)}})(bw);
228(function(a){a.bnl.libraryfinder=function(d){this.element=d;this.setup()};a.bnl.libraryfinder.prototype.setup=function(){this.query=this.element.querySelector("input#libraryfinder-zoekopdracht");this.path=this.element.getAttribute("data-path");this.emptyLabel=this.element.getAttribute("data-empty")||"Geen bibliotheek gevonden. Probeer een andere postcode.";this.websiteLinkLabel=this.element.getAttribute("data-websitelink")||"Naar de website";this.separateImage="true"===this.element.getAttribute("data-separate-image")||
229!1;this.imageUrl=this.element.getAttribute("data-image-url");this.button=this.element.querySelector(".button");this.attachHandlers()};a.bnl.libraryfinder.prototype.attachHandlers=function(){this.element.addEventListener("submit",function(d){d.preventDefault();this.removeContent();a.util.addClass(this.button,"loading");a.util.getJSON(this.getEndpointUrl(),this.handleLocations.bind(this),function(){this.handleLocations(null)}.bind(this))}.bind(this))};a.bnl.libraryfinder.prototype.handleLocations=function(d){this.removeContent();
230if(d)var b=d.organizations;a.util.removeClass(this.button,"loading");if(!b||1>b.length)this.createMessage();else{a.util.insertAfter(this.element,'\x3cul class\x3d"plain rich-list"\x3e\x3c/ul\x3e');d=this.element.nextElementSibling;b=$jscomp.makeIterator(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var g="",f=this.websiteLinkLabel;e.urlWebsite&&0<e.urlWebsite.length&&(g=e.urlWebsite);this.separateImage?this.createItemWithSeparateImage(d,e.organizationName,g,f):this.createItem(d,e.organizationName,
231g,f)}}};a.bnl.libraryfinder.prototype.createItem=function(d,b,e,g){var f="",h="",l="",c="";0<e.length&&(f='\x3ca href\x3d"'+a.util.escapeHTML(e)+'"\x3e',h="\x3c/a\x3e",l=" more",c=' \x3cspan class\x3d"button secondary"\x3e'+a.util.escapeHTML(g)+"\x3c/span\x3e\n");b='\x3cli\x3e\n\x3cdiv class\x3d"content etalage'+l+'"\x3e\n\x3cspan class\x3d"list-title"\x3e\n'+f+'\x3cimg src\x3d"'+a.util.escapeHTML(this.imageUrl)+'" alt\x3d"" class\x3d"viz libraryfinder-img"\x3e\n\x3cspan class\x3d"title"\x3e'+a.util.escapeHTML(b)+
232"\x3c/span\x3e"+c+h+"\x3c/span\x3e\n\x3c/div\x3e\n\x3c/li\x3e\n";a.util.insertIntoAsLast(d,b)};a.bnl.libraryfinder.prototype.createItemWithSeparateImage=function(d,b,e,g){var f=0<e.length,h=document.createElement("li"),l=document.createElement("div");l.classList.add("content","etalage");f&&l.classList.add("more");a.util.insertIntoAsLast(h,l);var c=document.createElement("img");c.src=this.imageUrl;c.alt="";c.classList.add("viz");if(f){var k=document.createElement("a");k.href=e;k.ariaHidden="true";
233k.tabIndex=-1}else k=document.createElement("span");k.classList.add("image-link");a.util.insertIntoAsLast(k,c);a.util.insertIntoAsLast(l,k);c=document.createElement("span");c.classList.add("list-title");a.util.insertIntoAsLast(l,c);k=document.createElement("span");k.classList.add("title");k.textContent=b;f?(b=document.createElement("a"),b.href=e,b.append(k),a.util.insertIntoAsLast(b,k),a.util.insertIntoAsLast(c,b)):a.util.insertIntoAsLast(c,k);f&&(f=document.createElement("a"),f.href=e,f.ariaHidden=
234"true",f.tabIndex=-1,f.classList.add("button","secondary"),f.textContent=g,a.util.insertIntoAsLast(l,f));a.util.insertIntoAsLast(d,h)};a.bnl.libraryfinder.prototype.createMessage=function(){a.util.insertAfter(this.element,'\x3cp class\x3d"message"\x3e'+a.util.escapeHTML(this.emptyLabel)+"\x3c/p\x3e")};a.bnl.libraryfinder.prototype.removeContent=function(){for(var d=this.element.nextElementSibling;d;)d.parentNode.removeChild(d),d=d.nextElementSibling};a.bnl.libraryfinder.prototype.getEndpointUrl=function(){return this.path+
235".libraryfinder.do?location\x3d"+encodeURIComponent(this.query.value)}})(bw);
236(function(a){a.bnl.delpher=function(d){this.element=d;this.setup()};a.bnl.delpher.prototype.setup=function(){var d=this.createAjaxUrl(
236);a.util.addClass(this.element,"hidden");d?a.util.getJSON(d,this.handleStatusResponse.bind(this),this.handleStatusError.bind(this)):a.util.removeElement(this.element)};a.bnl.delpher.prototype.handleStatusResponse=function(d){if(d.count){var b=this.element,e=b.getAttribute("data-nbcitem-prefix"),g=b.getAttribute("data-nbcitem-newspaper"),f=b.getAttribute("data-nbcitem-found"),
237h=b.getAttribute("data-nbcitem-postfix");e="\x3cspan\x3e"+a.util.escapeHTML(e)+"\x3c/span\x3e \x3cspan\x3e"+a.util.escapeHTML(g)+"\x3c/span\x3e \x3cspan\x3e"+a.util.escapeHTML(f)+"\x3c/span\x3e "+a.util.escapeHTML(h);a.util.insertBefore(b.querySelector("p"),"\x3cp\x3e"+e.replace(/#/g,d.count)+"\x3c/p\x3e");a.util.removeClass(b,"hidden")}else a.util.removeElement(this.element)};a.bnl.delpher.prototype.createAjaxUrl=function(){var d=this.element.getAttribute("data-nbcitem-title"),b=this.element.getAttribute("data-nbcitem-authors")||
238"";if(d&&b){var e=b.split("|");b=[];e=$jscomp.makeIterator(e);for(var g=e.next();!g.done;g=e.next())b.push("\x26author\x3d"+encodeURIComponent(g.value));d=".jsruCount.do?title\x3d"+encodeURIComponent(d)+b.join("");return window.location.pathname.replace(/\.[\w-]+\.html.*$/,d)}return null};a.bnl.delpher.prototype.handleStatusError=function(){this.element.querySelectorAll("p").forEach(a.util.removeElement)}})(bw);
239(function(a,d,b){a.bnl.getitlibraryfinder=function(e){this.element=e;this.setup();this.loadSavedLibrary();this.attachHandlers()};a.bnl.getitlibraryfinder.prototype.setup=function(){this.postcodeInput=this.element.querySelector("input#get-it-library-finder-input");this.form=this.element.querySelector("form");this.originalElement=a.util.firstChild(this.element,"div.get-it-library-finder");this.embedded="true"===this.element.getAttribute("data-embedded");this.showClusteredGetIt="true"===this.element.getAttribute("data-show-clustered-get-it");
240this.identifiers=this.element.getAttribute("data-identifiers").split(",");this.path=this.element.getAttribute("data-path");this.labels={descriptionText:this.element.getAttribute("data-description-text"),changeLibraryButtonText:this.element.getAttribute("data-change-library-button-text"),getItButtonText:this.element.getAttribute("data-get-it-button-text"),getItVersionButtonText:this.element.getAttribute("data-get-it-version-button-text"),rememberLibraryLabel:this.element.getAttribute("data-remember-library-label"),
241errors:{genericErrorMessage:this.element.getAttribute("data-generic-error-message"),notFoundErrorMessage:this.element.getAttribute("data-not-found-error-message"),validationErrorMessage:this.element.getAttribute("data-validation-error-message")}};this.state={error:!1,saveLibrary:!1}};a.bnl.getitlibraryfinder.prototype.attachHandlers=function(){if(this.form){this.form.addEventListener("submit",this.onFormSubmit.bind(this));var e=this.element.querySelector(".change-library");e&&e.addEventListener("click",
242this.onChangeLibraryClick.bind(this))}};a.bnl.getitlibraryfinder.prototype.fetchLibrary=function(e){e=this.getEndpointUrl(e);a.util.getJSON(e,this.onJsonResponse.bind(this),this.onJsonFailure.bind(this))};a.bnl.getitlibraryfinder.prototype.loadSavedLibrary=function(){if(this.form){var e=a.util.encodedCookie("get-it-libraryfinder-found-library");if(e){e=JSON.parse(e,function(f,h){!f&&(h.fromCache=!0);return h});e.library.url=this.createRedirectUrl(e.library.isil,this.identifiers.join(","));this.isil=
243e.library.isil;var g=a.util.firstChild(this.element,"div.get-it-library-finder");a.util.removeElement(g);this.element.appendChild(this.generateLibraryFoundContainerHtml(e));this.addVersionButtons(e.library.isil)}else this.placeRememberLibraryButtonHtml()}};a.bnl.getitlibraryfinder.prototype.placeRememberLibraryButtonHtml=function(){var e=this.element.querySelector(".form-element__postalcode-libraryfinder"),g=this.generateRememberLibraryButtonHtml();a.util.insertAfter(e,g)};a.bnl.getitlibraryfinder.prototype.createRedirectUrl=
244function(e,g){var f=d.location.pathname.split("."),h=f[0];f=f[1];g=g||f;h+=".checkavailabilitygetitversions.html";f=a.util.replaceOrAddToQueryString("","identifier",f);f=a.util.replaceOrAddToQueryString(f,"versionidentifier",g);f=a.util.replaceOrAddToQueryString(f,"isil",e);return h+f};a.bnl.getitlibraryfinder.prototype.saveFoundLibrary=function(e){e={library:{libraryName:e.library.libraryName,isil:e.library.isil}};var g=this.determinePathForCookie();a.util.encodedCookie("get-it-libraryfinder-found-library",
245JSON.stringify(e),{date:function(f){f.setFullYear(f.getFullYear()+1)},path:g})};a.bnl.getitlibraryfinder.prototype.onJsonResponse=function(e){var g=this.determineErrorMessage(e);g?(this.state.error=!0,a.util.removeChildren(this.element,"div.message.critical.alert"),a.util.insertIntoAsFirst(this.element,this.generateErrorHtml(g)),this.postcodeInput.value=""):(a.util.removeChildren(this.element),this.element.appendChild(this.generateLibraryFoundContainerHtml(e)),this.addVersionButtons(e.library.isil),
246this.state.saveLibrary&&this.saveFoundLibrary(e))};a.bnl.getitlibraryfinder.prototype.onJsonFailure=function(){var e=this.labels.errors.genericErrorMessage;this.state.error=!0;a.util.insertIntoAsFirst(this.element,this.generateErrorHtml(e));this.postcodeInput.value=""};a.bnl.getitlibraryfinder.prototype.onChangeLibraryClick=function(e){e.preventDefault();a.util.removeChildren(this.element);this.element.appendChild(this.originalElement);this.form.querySelector("[data-row-type\x3d'remember-library']")||
247this.placeRememberLibraryButtonHtml();this.removeVersionButtons();e=this.determinePathForCookie();a.util.removeCookie("get-it-libraryfinder-found-library",e);this.isil=null};a.bnl.getitlibraryfinder.prototype.onFormSubmit=function(e){e.preventDefault();e=this.determinePathForCookie();a.util.removeCookie("get-it-libraryfinder-found-library",e);this.isil=null;e=this.postcodeInput.value;var g=this.form.elements["get-it-library-finder-checkbox"];g&&(this.state.saveLibrary=g.checked);this.fetchLibrary(e)};
248a.bnl.getitlibraryfinder.prototype.determineErrorMessage=function(e){var g=e.status;e=e.validationError;return g&&1===g.errorCode?this.labels.errors.notFoundErrorMessage:g&&1<=g.errorCode?this.labels.errors.genericErrorMessage:e?this.labels.errors.validationErrorMessage:""};a.bnl.getitlibraryfinder.prototype.getEndpointUrl=function(e){var g=["identifiers\x3d"+encodeURIComponent(this.identifiers.join(","))];e?g.push("postcode\x3d"+encodeURIComponent(e)):this.isil&&g.push("isil\x3d"+encodeURIComponent(this.isil));
249return this.path+".getitlibraryfinder.do?"+g.join("\x26")};a.bnl.getitlibraryfinder.prototype.addVersionButtons=function(e){this.getVersions().forEac
249h(function(g){this.addVersionButton(g,e)}.bind(this))};a.bnl.getitlibraryfinder.prototype.addVersionButton=function(e,g){var f=a.util.firstChild(e,"div");e=a.util.firstChild(f,".get-it");if(!e){e=b.createElement("div");a.util.addClass(e,"get-it");var h=a.util.firstChild(f,"dl.meta");h?a.util.insertBefore(h,e):a.util.insertIntoAsLast(f,e)}f=f.getAttribute("data-version-identifier");
250g=this.createRedirectUrl(g,f);g=this.generateGetItVersionButtonHtml(g);a.util.insertIntoAsLast(e,g)};a.bnl.getitlibraryfinder.prototype.removeVersionButtons=function(){this.getVersions().forEach(function(e){e=a.util.firstChild(e,"div");e=a.util.firstChild(e,"div.get-it");a.util.removeChildren(e)})};a.bnl.getitlibraryfinder.prototype.getVersions=function(){if(this.embedded)var e=a.util.firstSibling(this.element,"ul");else{var g=a.util.firstSibling(this.element,"div.versions");g&&(e=a.util.firstChild(g,
251"ul"))}return e?a.util.children(e,"li"):[]};a.bnl.getitlibraryfinder.prototype.determinePathForCookie=function(){var e=d.location.pathname.split(".")[0];return e.substring(0,e.lastIndexOf("/")+1)};a.bnl.getitlibraryfinder.prototype.generateErrorHtml=function(e){var g=b.createElement("div");a.util.addClass(g,"message");a.util.addClass(g,"alert");a.util.addClass(g,"critical");g.id="bibliotheek-vinder-message";var f=b.createElement("p");f.textContent=e;g.appendChild(f);return g};a.bnl.getitlibraryfinder.prototype.generateRememberLibraryButtonHtml=
252function(){var e=b.createElement("span");a.util.addClass(e,"form-element form-element__get-it-checkbox");e.dataset.rowType="remember-library";var g=b.createElement("input");g.id="get-it-library-finder-checkbox";g.type="checkbox";e.appendChild(g);g=b.createElement("label");g.textContent=this.labels.rememberLibraryLabel;g.htmlFor="get-it-library-finder-checkbox";e.appendChild(g);return e};a.bnl.getitlibraryfinder.prototype.generateLibraryFoundContainerHtml=function(e){var g=b.createElement("div");a.util.addClass(g,
253"get-it");a.util.addClass(g,"bordered");a.util.addClass(g,"get-it-library-finder");this.state.error||(g.id="bibliotheek-vinder");var f=b.createElement("div");a.util.addClass(f,"get-it-found-container");g.appendChild(f);if(!this.embedded){var h=b.createElement("p");h.textContent=this.labels.descriptionText;f.appendChild(h)}h=b.createElement("div");a.util.addClass(h,"description");f.appendChild(h);f=b.createElement("p");a.util.addClass(f,"get-it-found-library-name");f.textContent=e.library.libraryName;
254h.appendChild(f);f=b.createElement("p");h.appendChild(f);h=b.createElement("a");h.href=d.location.protocol+"//"+d.location.host+d.location.pathname+"#bibliotheek-vinder";h.textContent=this.labels.changeLibraryButtonText;h.addEventListener("click",this.onChangeLibraryClick.bind(this));f.appendChild(h);this.showClusteredGetIt&&!this.embedded&&(0<e.library.url.length||e.fromCache)&&(h=b.createElement("p"),a.util.addClass(h,"get-it-float-right"),this.embedded||a.util.addClass(h,"include-padding"),g.appendChild(h),
255f=b.createElement("a"),f.href=e.library.url,f.textContent=this.labels.getItButtonText,a.util.addClass(f,"button"),a.util.addClass(f,"primary"),h.appendChild(f));return g};a.bnl.getitlibraryfinder.prototype.generateGetItVersionButtonHtml=function(e){var g=b.createElement("p");a.util.addClass(g,"action");var f=b.createElement("a");a.util.addClass(f,"secondary");a.util.addClass(f,"button");f.href=e;f.textContent=this.labels.getItVersionButtonText;g.appendChild(f);return g}})(bw,window,document);
256(function(a){a.bnl.mobilemenu=function(d){this.element=d;this.mobileMenuToggle=d.querySelector("#toggle_menu");this.searchMenuToggle=d.querySelector("#toggle_search");this.dropdownCheckboxes=[].concat($jscomp.arrayFromIterable(d.querySelectorAll("[name\x3d'dropdown']")));this.setup()};a.bnl.mobilemenu.prototype.setup=function(){var d=this;this.mobileMenuToggle.addEventListener("change",function(){this.mobileMenuToggle.checked&&(this.searchMenuToggle.checked=!1);for(var f=$jscomp.makeIterator(this.dropdownCheckboxes),
257h=f.next();!h.done;h=f.next())h.value.checked=!1}.bind(this));this.searchMenuToggle.addEventListener("change",function(){d.searchMenuToggle.checked&&(d.mobileMenuToggle.checked=!1)});for(var b=$jscomp.makeIterator(this.dropdownCheckboxes),e=b.next(),g={};!e.done;g={checkbox$jscomp$1:g.checkbox$jscomp$1},e=b.next())g.checkbox$jscomp$1=e.value,g.checkbox$jscomp$1.addEventListener("change",function(f){return function(){if(f.checkbox$jscomp$1.checked)for(var h=$jscomp.makeIterator(this.dropdownCheckboxes),
258l=h.next();!l.done;l=h.next())l=l.value,l!==f.checkbox$jscomp$1&&(l.checked=!1)}}(g).bind(this))}})(bw);
259(function(a){a.ui.previewimagefix=function(d){this.element=d;this.setup()};a.ui.previewimagefix.prototype.setup=function(){this.previewImageDT=a.util.firstSibling(this.element,"dt.preview-image-label");var d=a.util.firstChild(this.element,"div.preview-image-container");this.previewImageElement=a.util.firstChild(d,"img.preview-image");this.attachHandler()};a.ui.previewimagefix.prototype.attachHandler=function(){this.previewImageElement.complete?0===this.previewImageElement.naturalWi
259dth&&0===this.previewImageElement.naturalHeight&&
260this.fix():this.previewImageElement.addEventListener("error",function(){this.fix()}.bind(this))};a.ui.previewimagefix.prototype.fix=function(){this.element.remove();this.previewImageDT.remove()}})(bw);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.