1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[752],{5280:()=>{},85827:()=>{},90752:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PhotoSwipe:()=>y,captionStyle:()=>s,captionTextStyle:()=>d,createFullScreenButton:()=>k,creditStyle:()=>h,hideFullScreenIconStyle:()=>p,showFullScreenIconStyle:()=>m});var l,r=n(11259),c=n(5220),o=n(53217),i=n(56172),a=n(94441);let u=null!=(l=(0,i._)("NEXT_PUBLIC_BASE_IMAGE_URL"))?l:"https://image-acc.volkskrant.nl";n(85827);var s="_5kdls50",d="_5kdls51",h="_5kdls52",p="_5kdls54",m="_5kdls53";let v="pswp__icon-fullscreen-request",g="pswp__icon-fullscreen-exit",w='\n<svg id="'.concat(v,'" class="pswp__icn ').concat(m,'" aria-hidden="true" viewBox="0 0 32 32" width="32" height="32">\n <path transform="translate(4,4)" d="M20 3h2v6h-2V5h-4V3h4zM4 3h4v2H4v4H2V3h2zm16 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z" /></g>\n</svg>\n<svg id="').concat(g,'" class="pswp__icn ').concat(p,'" aria-hidden="true" viewBox="0 0 32 32" width="32" height="32">\n <path transform="translate(4,4)" d="M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z"/>\n</svg>\n'),f=()=>!!(document.fullscreenElement||document.webkitFullscreenElement),_=()=>{if(f())try{document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()}catch(e){}},b=()=>{let e=document.querySelector(".pswp");if(!e)return;let t=document.getElementById(v),n=document.getElementById(g);f()?(_(),null==t||t.classList.replace(p,m),null==n||n.classList.replace(m,p)):((e=>{try{e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()}catch(e){}})(e),null==t||t.classList.replace(m,p),null==n||n.classList.replace(p,m))},k=e=>{e.on("init",()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled)&&e.on("uiRegister",()=>{var t;null==(t=e.ui)||t.registerElement({name:"fullscreen-button",title:"Volledig scherm",ariaLabel:"Volledig scherm",order:9,isButton:!0,html:w,onClick:b}),e.events.add(document,"keydown",e=>{"F"===e.key&&(e.preventDefault(),b())})}),e.on("close",_)})};n(5280);let S=[{selector:".pswp__button--close",text:"Sluiten"},{selector:".pswp__button--zoom",text:"In-/uitzoomen"},{selector:".pswp__button--arrow--next",text:"Volgende afbeelding"},{selector:".pswp__button--arrow--prev",text:"Vorige afbeelding"}],y=e=>{let{images:t,setOpen:n,open:l,activeImageIndex:i,overrideBaseUrl:p}=e,m=(0,c.useRef)(null),v=(0,c.useRef)(null),g=(0,c.useCallback)(()=>({showHideAnimationType:"none",bgOpacity:1,clickToCloseNonZoomable:!1,secondaryZoomLevel:1.3,padding:{bottom:75,left:0,right:0,top:44},dataSource:t.map(e=>{let t=e.isFullWidth?2480:1280;return{src:e.originalDimensions?function(e,t){let{imageId:n,seoSlug:l}=e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;return"".concat(r,"/").concat(n,"/width/").concat(t,"/").concat(l)}(e,t,p):function(e,t){let{imageId:n,seoSlug:l}=e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,c=arguments.length>3?arguments[3]:void 0,o=Math.round(t/a.k[c]);return"".concat(r,"/").concat(n,"/feature-crop/").concat(t,"/").concat(o,"/").concat(l)}(e,t,p,"3/2"),alt:e.alt,caption:e.caption,credit:e.credits,width:t,height:e.originalDimensions?Math.round(e.originalDimensions.height*t/e.originalDimensions.width):Math.round(t/a.k["3/2"])}})}),[t,p]);return(0,c.useEffect)(()=>{if(!m.current&&l){v.current=document.activeElement;let e=g();e.index=i,m.current=new o.A(e),k(m.current),m.current.on("change",function(){var e;if(null==(e=m.current)?void 0:e.currSlide){let e=m.current.currSlide;e.isZoomable()&&e.zoomLevels.secondary!==e.zoomLevels.initial||e.container.classList.add("pswp__zoom-not-zoomable")}}),m.current.on("uiRegister",()=>{if(m.current){var e;null==(e=m.current.ui)||e.registerElement({name:"custom-caption",order:9,isButton:!1,className:s,appendTo:"root",onInit:(e,t)=>{t.on("change",()=>{if(t.currSlide){var n,l,r,c,o;e.innerHTML='<div class="'.concat(d,'">').concat(null!=(c=null!=(r=null==(n=t.currSlide.data)?void 0:n.caption)?r:null==(l=t.currSlide.data)?void 0:l.alt)?c:"",' <span class="').concat(h,'"> ').concat(null!=(o=t.currSlide.data.credit)?o:"","</span></div>")}})}})}}),m.current.on("afterInit",()=>{var e;null==(e=(()=>{var e;
1return null==(e=document.querySelector(".pswp"))?void 0:e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')[0]})())||e.focus(),S.forEach(e=>{let{selector:t,text:n}=e,l=document.querySelector(t);l&&(l.setAttribute("aria-label",n),l.setAttribute("title",n))})}),m.current.on("destroy",()=>{n(!1),v.current&&v.current.focus(),m.current=null}),m.current.init()}},[i,g,n,l]),(0,r.jsx)("div",{className:"pswp-gallery"})}},94441:(e,t,n)=>{"use strict";n.d(t,{k:()=>l.k});var l=n(79916)}}]);
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.