1/*! 2 * @preserve 3 * baguetteBox.js 4 * @author feimosi 5 * @version 2.7.1 6 * @url https://github.com/feimosi/baguetteBox.js 7 * @description This version of baguetteBox.js has been modified by Sami El-Younsi to ensure complete accessibility. Changes have been made to ensure that the user interface and functionality are compatible with screen readers and other assistive technologies. 8 * @editor Sami El-Younsi 9 * @editor Louis Mudrack 10 * @lastEditDate 2026-03-04 11 */(function(te,P){"use strict";typeof define=="function"&&define.amd?define(P):typeof exports=="object"?module.exports=P():te.baguetteBox=P()})(this,function(){"use strict";var te='<svg width="44" height="60"><polyline points="30 10 10 30 30 50" stroke="rgba(255,255,255,0.5)" stroke-width="4"stroke-linecap="butt" fill="none" stroke-linejoin="round"/></svg>',P='<svg width="44" height="60"><polyline points="14 10 34 30 14 50" stroke="rgba(255,255,255,0.5)" stroke-width="4"stroke-linecap="butt" fill="none" stroke-linejoin="round"/></svg>',De='<svg width="30" height="30"><g stroke="rgb(160,160,160)" stroke-width="4"><line x1="5" y1="5" x2="25" y2="25"/><line x1="5" y1="25" x2="25" y2="5"/></g></svg>',fe={youtube:"openYoutubeDialog",mp4:"openMP4Dialog",iframe:"openDialog",html:"openDialog"},l={},ae={captions:!0,buttons:"auto",fullScreen:!1,noScrollbars:!1,bodyClass:"baguetteBox-open",titleTag:!1,async:!1,preload:2,animation:"slideIn",afterShow:null,afterHide:null,onChange:null,selectors:{triggers:"a[data-lightbox-type], button[data-lightbox-type]",allLinks:"a, button",galleryContainers:"[data-gallery-element], .cms-gallery",nonImageTypes:fe}},ge=document.documentElement.lang.split("_")[0].toLowerCase(),B={de:{next:"N\xE4chstes Bild",previous:"Vorheriges Bild",close:"Dialog schlie\xDFen",dialogClosed:"Dialog wurde geschlossen",dialogOpened:"Dialog wurde ge\xF6ffnet",openDialog:"Dialog \xF6ffnen",enlargeImage:"Bild vergr\xF6\xDFern",slideCount:"Slider {{from}} von {{to}}",openMP4Dialog:"MP4 Video im Dialogfenster \xF6ffnen",openYoutubeDialog:"Youtube Video im Dialogfenster \xF6ffnen",modalSelectorNotFound:"<b>Der folgende Selektor konnte nicht gefunden werden:</b> <br> {{selector}}",videoNotSupported:"Ihr Browser unterst\xFCtzt das Video-Tag nicht.",hideOverlayError:"Fehler beim Ausblenden des Overlays"},en:{next:"Next picture",previous:"Previous picture",close:"Close dialog",dialogClosed:"Dialog was closed",dialogOpened:"Dialog has been opened",openDialog:"Open dialog",enlargeImage:"Enlarge Image",slideCount:"Slider {{from}} to {{to}}",openMP4Dialog:"MP4 Video im Dialogfenster \xF6ffnen",openYoutubeDialog:"Open Youtube video in dialog window",modalSelectorNotFound:"<b>The following selector could not be found:</b> <br> {{selector}}",videoNotSupported:"Your browser does not support the video tag.",hideOverlayError:"Error hiding the overlay"}},C={},X="baguetteBox-overlay",pe=`[tabindex]:not(#${X} [tabindex])`,s,c,b,m,T,y,p=[],g=0,A=null,F=!1,x={},Z=!1,$=/.+\.(gif|jpe?g|png|webp|svg|mp4|bmp)/i,O={},he=gt(),be="baguetteBox",v=[],I=null,N=null,_=[],oe=null,ie=null,q=[],ve=function(e){e.target.id.indexOf("baguette-item")!==-1&&j()},me=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,J()},ye=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,G()},we=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,j()},xe=function(e){x.count++,x.count>1&&(x.multitouch=!0),x.startX=e.changedTouches[0].pageX,x.startY=e.changedTouches[0].pageY},Ce=function(e){if(!(Z||x.multitouch)&&N===null){e.preventDefault?e.preventDefault():e.returnValue=!1;var t=e.touches[0]||e.changedTouches[0];t.pageX-x.startX>40?(Z=!0,J()):t.pageX-x.startX<-40?(Z=!0,G()):x.startY-t.pageY>100}},re=function(){x.count--,x.count<=0&&(x.multitouch=!1),Z=!1},Te=function(){re()},Ae=function(e){let t=s.style.display==="block",a=!s.contains(e.target),o=!(e.target instanceof Document);t&&a&&o&&(e.stopPropagation(),W())};[].forEach||(Array.prototype.forEach=function(e,t){for(var a=0;a<this.length;a++)e.call(t,this[a],a,this)}),[].filter||(Array.prototype.filter=function(e,t,a,o,i){for(a=this,o=[],i=0;i<a.length;i++)e.call(t,a[i],i,a)&&o.push(a[i]);return o}
11);function Oe(e,t){return C.transforms=lt(),C.svg=ut(),C.passiveEvents=dt(),Me(),Se(e),He(e,t)}function He(e,t){var a=document.querySelectorAll(e),o={galleries:[],nodeList:a};O[e]=o;var i=[];return[].forEach.call(a,function(r,u){t&&t.filter&&($=t.filter);var n=[];if(r.tagName==="A"||r.tagName==="BUTTON"?n=[r]:n=r.querySelectorAll("a, button"),n=[].filter.call(n,function(f){if(f.className.indexOf(t&&t.ignoreClass)===-1)return f.dataset.lightboxType?!0:$.test(f.href||f.dataset.lightboxHref)}),n.length!==0){var d=[];[].forEach.call(n,function(f,w){var k=function(ce){ce.preventDefault?ce.preventDefault():ce.returnValue=!1,M(d,t),Y(w)},H={eventHandler:k,targetElement:f,galleryNodeElement:r};Ee(f),E(f,"click",k),d.push(H),f.dataset.lightboxDelay!==void 0&&setTimeout(()=>Pe({targetElement:f,targetIndex:w,gallery:d,galleryIndex:u,userOptions:t}),parseInt(f.dataset.lightboxDelay,10)*1e3)}),o.galleries.push(d)}}),D("lightbox.init",{selector:e,userOptions:t,galleryNodeList:a,galleries:o.galleries}),o.galleries}function Pe(e){Be(e)||(F?j().then(()=>{M(e.gallery,e.userOptions),Y(e.targetIndex),I=e.targetElement}).catch(t=>{console.error(L("hideOverlayError"),t)}):(M(e.gallery,e.userOptions),Y(e.targetIndex),I=e.targetElement))}function Be(e,t="openOnce"){if(e.targetElement.dataset.lightboxDelayOnce){let o=de()[t]?.includes(e.targetElement.dataset.lightboxDelayOnce);if(o!==void 0&&o!==!1)return!0;Fe(e,t)}return!1}function Fe(e,t){let a=de(),o=e.targetElement.dataset.lightboxDelayOnce;a[t]===void 0&&(a[t]=[]),a[t].includes(o)||a[t].push(o),ft(t,a[t])}function Ee(e){e.tagName==="BUTTON"?e.type="button":e.role="button";var t=e.dataset.lightboxType,a=fe[t]||"enlargeImage";e.ariaLabel=e.dataset.lightboxLabel??L(a);let o=e.querySelector("img");o&&o.setAttribute("aria-hidden","true")}function qe(){for(var e in O)O.hasOwnProperty(e)&&Se(e)}function Se(e){if(O.hasOwnProperty(e)){var t=O[e].galleries;[].forEach.call(t,function(a){[].forEach.call(a,function(o){S(o.targetElement,"click",o.eventHandler)}),p===a&&(p=[])}),delete O[e]}}function Me(){if(s=U(X),s){c=U("baguetteBox-slider"),b=U("previous-button"),m=U("next-button"),T=U("close-button");return}s=h("div"),s.setAttribute("role","dialog"),s.setAttribute("aria-modal","true"),s.setAttribute("aria-hidden","true"),s.setAttribute("aria-live","assertive"),s.id=X,document.getElementsByTagName("body")[0].appendChild(s),y=h("div"),y.setAttribute("role","status"),y.setAttribute("id","baguetteBox-notification"),y.style.position="absolute",y.style.width="1px",y.style.height="1px",y.style.margin="-1px",y.style.padding="0",y.style.overflow="hidden",y.style.clip="rect(0, 0, 0, 0)",y.style.border="0",document.getElementsByTagName("body")[0].appendChild(y),c=h("div"),c.id="baguetteBox-slider",c.setAttribute("role","region"),s.appendChild(c),b=h("span"),b.setAttribute("role","button"),b.id="previous-button",b.setAttribute("aria-label",L("previous")),b.innerHTML=C.svg?te:"<",b.tabIndex=0,s.appendChild(b),m=h("span"),m.setAttribute("role","button"),m.id="next-button",m.setAttribute("aria-label",L("next")),m.innerHTML=C.svg?P:">",m.tabIndex=0,s.appendChild(m),T=h("button"),T.setAttribute("type","button"),T.id="close-button",T.setAttribute("aria-label",L("close")),T.innerHTML=C.svg?De:"×",T.tabIndex=0,s.appendChild(T),b.className=m.className=T.className="baguetteBox-button",je()}function ne(e){switch(e.key){case"ArrowLeft":J();break;case"ArrowRight":G();break;case"Escape":j();break;case"Home":nt(e);break;case"End":st(e);break;case"Enter":case" ":Ye(e);break}}function Ye(e){var t=document.activeElement;if(!(!t||typeof t.click!="function"||!s.contains(t))){var a=t.tagName,o=t.getAttribute?(t.getAttribute("type")||"").toLowerCase():"",i=a==="TEXTAREA"||a==="SELECT"||t.isContentEditable||a==="INPUT"&&["button","submit","reset","checkbox","radio","range","file","color","image"].indexOf(o)===-1;i||(e.preventDefault(),e.stopPropagation(),t.click())}}function je(){var e=C.passiveEvents?{passive:!1}:null,t=C.passiveEvents?{passive:!0}:null;E(s,"click",ve),E(b,"click",me),E(m,"click",ye),E(T,"click",we),E(c,"contextmenu",Te),E(s,"touchstart",xe,t),E(s,"touchmove",Ce,e),E(s,"touchend",re),E(document,"focus",Ae,!0)}function ze(){var e=C.passiveEvents?{passive:!1}:null,t=C.passiveEvents?{passive:!0}:null;S(s,"click",ve),S(b,"click",me),S(m,"click",ye),S(T,"click",we),S(c,"contextmenu",Te),S(s,"touchstart",xe,t),S(s,"touchmove",Ce,e),S(s,"touchend",re),S(document,"focus",Ae,!0),window.removeEventListener("resize",le)}function Ve(){var e=Array.from(c.children);return{gallery:p,currentIndex:g,slides:v.slice(),sliderChildren:e,dialogType:A,lastFocus:I,focusElement:N,returnFocusTo:document.activeElement,zoomPairs:_.slice(),options:Object.assign({},l)}}function Re(e){for(p=e.gallery,g=e.currentIndex,v=e.slides,A=e.dialogType,I=e.lastFocus,N=e.focusElement,_=e.zoomPairs,Object.assign(l,e.options);c.firstChild;)c.removeChild(c.firstChild);
11e.sliderChildren.forEach(function(t){c.appendChild(t)}),K(),z(g),b.style.display=m.style.display=l.buttons?"":"none"}function M(e,t){if(p!==e){if(F){var a=e.some(function(n){return p.some(function(d){return d.targetElement===n.targetElement})});a||q.push(Ve())}for(p=e,Ue(t);c.firstChild;)c.removeChild(c.firstChild);v.length=0;for(var o=[],i=[],r=0,u;r<e.length;r++){u=h("div"),u.className="full-item";let n=h("div");n.className="full-item-content",n.id="baguette-item-"+r,u.role="group",u.setAttribute("aria-label",L("slideCount",{from:r+1,to:e.length})),u.setAttribute("aria-hidden","true"),u.appendChild(n),v.push(u),o.push("baguetteBox-figure-"+r),i.push("baguetteBox-figcaption-"+r),c.appendChild(v[r])}s.setAttribute("aria-labelledby",o.join(" "))}}function Ue(e){e||(e={});for(var t in ae)l[t]=ae[t],typeof e[t]<"u"&&(t==="selectors"&&typeof e[t]=="object"?l[t]=Object.assign({},ae[t],e[t]):l[t]=e[t]);c.style.transition=c.style.webkitTransition=l.animation==="fadeIn"?"opacity .4s ease":l.animation==="slideIn"?"":"none",l.buttons==="auto"&&("ontouchstart"in window||p.length===1)&&(l.buttons=!1),b.style.display=m.style.display=l.buttons?"":"none"}function Y(e){if(l.noScrollbars&&s.style.display!=="block"&&(oe=document.documentElement.style.overflowY,ie=document.body.style.overflowY,document.documentElement.style.overflowY="hidden",document.body.style.overflowY="scroll"),s.style.display==="block"){A=p[e].targetElement.dataset.lightboxType?p[e].targetElement.dataset.lightboxType:"image",D("lightbox.open",{dialogItem:v[e],galleryItem:p[e],dialogType:A,nested:!0}),g=e,x={count:0,startX:null,startY:null},z(g),V(g,function(){Q(g),ee(g)}),K(),l.onChange&&l.onChange(g,v.length),W(),y.textContent=L("dialogOpened");return}A=p[e].targetElement.dataset.lightboxType?p[e].targetElement.dataset.lightboxType:"image",D("lightbox.open",{dialogItem:v[e],galleryItem:p[e],dialogType:A}),window.addEventListener("resize",le),E(document,"keydown",ne),g=e,x={count:0,startX:null,startY:null},z(g),_e(),V(g,function(){Q(g),ee(g)}),K(),s.style.display="block",s.removeAttribute("aria-hidden"),l.fullScreen&&Xe();function t(a){a.propertyName==="opacity"&&(s.removeEventListener("transitionend",t),l.bodyClass&&document.body.classList&&document.body.classList.add(l.bodyClass),l.afterShow&&l.afterShow(),D("lightbox.opened",{dialogItem:v[e],galleryItem:p[e],dialogType:A}))}setTimeout(function(){s.className="visible",s.addEventListener("transitionend",t)},50),l.onChange&&l.onChange(g,v.length),I=document.activeElement,W(),F=!0,y.textContent=L("dialogOpened")}function W(){N?(N.tabIndex="0",N.focus()):l.buttons?b.focus():T.focus()}function Xe(){s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen&&s.mozRequestFullScreen()}function Ze(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()}function j(){return D("lightbox.close",{documentLastFocus:I,dialogType:A}),new Promise((e,t)=>{if(q.length>0){Le();var a=q.pop();Re(a),a.returnFocusTo&&typeof a.returnFocusTo.focus=="function"?a.returnFocusTo.focus():W(),y.textContent=L("dialogClosed"),D("lightbox.closed.nested",{documentLastFocus:I,dialogType:A}),e();return}if(l.noScrollbars&&(oe?document.documentElement.style.overflowY=oe:document.documentElement.style.removeProperty("overflow-y"),ie?document.body.style.overflowY=ie:document.body.style.removeProperty("overflow-y")),s.style.display==="none"){e();return}document.querySelector('meta[name="viewport"]').setAttribute("content","width=device-width, height=device-height, initial-scale=1.0, user-scalable=0"),S(document,"keydown",ne),window.removeEventListener("resize",le),s.className="",setTimeout(function(){s.style.display="none",s.setAttribute("aria-hidden","true"),Le(),z(),We(),document.fullscreen&&Ze(),l.bodyClass&&document.body.classList&&document.body.classList.remove(l.bodyClass),l.afterHide&&l.afterHide(),I&&I.focus(),F=!1,y.textContent=L("dialogClosed"),D("lightbox.closed",{documentLastFocus:I,dialogType:A}),e()},500)})}function Le(){s.querySelectorAll("[data-lightbox-video]").forEach(t=>{switch(t.tagName){case"IFRAME":t.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*");break;case"VIDEO":t.pause(),t.currentTime=0;break;default:const o=t.querySelector("iframe"),i=t.querySelector("video");o?o.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"):i&&i.pause()}})}function $e(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}
11function _e(){Array.from(document.querySelectorAll(pe)).forEach(e=>e.setAttribute("inert","true"))}function We(){Array.from(document.querySelectorAll(pe)).forEach(e=>e.removeAttribute("inert"))}function z(e=-1){b.disabled=!1,b.removeAttribute("aria-disabled"),m.disabled=!1,m.removeAttribute("aria-disabled"),e==0&&(b.disabled=!0,b.setAttribute("aria-disabled","true"),setTimeout(()=>{m.focus()},100)),e==v.length-1&&(m.disabled=!0,m.setAttribute("aria-disabled","true"),setTimeout(()=>{b.focus()},100)),v.forEach((t,a)=>{a===e?(t.removeAttribute("aria-hidden"),s.setAttribute("aria-labelledby",`baguetteBox-figcaption-${e}`)):t.setAttribute("aria-hidden","true")})}function V(e,t){var a=v[e],o=p[e];if(!(typeof a>"u"||typeof o>"u")){if(a.firstElementChild.firstElementChild){t&&t();return}switch(o.targetElement.dataset.lightboxType){case"gallery":Ne(e,a.firstElementChild,o.targetElement);break;case"youtube":Qe(e,a.firstElementChild,o.targetElement);break;case"mp4":et(e,a.firstElementChild,o.targetElement);break;case"iframe":Ke(e,a.firstElementChild,o.targetElement);break;case"html":Ge(e,a.firstElementChild,o.targetElement);break;default:Ne(e,a.firstElementChild,o.targetElement)}l.async&&t&&t()}}function Ge(e,t,a){let o,i;a.dataset.lightboxTarget?(i=a.dataset.lightboxTarget,o=document.querySelector(i)):a.dataset.lightboxTargetClosest&&(i=a.dataset.lightboxTargetClosest,o=a.parentElement.querySelector(i));let r=h("div");r.className="full-item-content-inner full-item-background",o?r.innerHTML=o.innerHTML:r.innerHTML=L("modalSelectorNotFound",{selector:i}),t.appendChild(r),N=r,r.querySelectorAll("iframe[data-pc-asset]").forEach(d=>ue(d)),r.querySelectorAll("picture, :not(picture) > img[data-src], .lazy-bg").forEach(d=>at(d)),Je(r)}function se(e,t,a,o){Ee(e);var i=function(u){u.preventDefault?u.preventDefault():u.returnValue=!1,M(a,l),Y(o)},r={eventHandler:i,targetElement:e,galleryNodeElement:t};return E(e,"click",i),a.push(r),r}function Je(e){var t=l.selectors,a=Object.keys(t.nonImageTypes),o=[],i=e.querySelectorAll(t.triggers);[].forEach.call(i,function(n){if(a.indexOf(n.dataset.lightboxType)!==-1){var d=[];se(n,e,d,0),o.push(n)}});var r=e.querySelectorAll(t.galleryContainers);[].forEach.call(r,function(n){var d=n.querySelectorAll(t.allLinks);if(d=[].filter.call(d,function(w){return w.dataset.lightboxType&&a.indexOf(w.dataset.lightboxType)!==-1?!1:w.dataset.lightboxType==="gallery"||$.test(w.href||w.dataset.lightboxHref)}),d.length!==0){var f=[];[].forEach.call(d,function(w,k){se(w,n,f,k),o.push(w)})}});var u=e.querySelectorAll(t.allLinks);[].forEach.call(u,function(n){if(o.indexOf(n)===-1&&!(n.dataset.lightboxType&&a.indexOf(n.dataset.lightboxType)!==-1)&&(n.dataset.lightboxType==="gallery"||$.test(n.href||n.dataset.lightboxHref))){var d=[];se(n,n.closest("figure")||e,d,0),o.push(n)}})}function Ke(e,t,a){let o=h("div");o.className="full-item-content-inner";let i=h("iframe");const u=a.outerHTML.match(/href="([^"]*)"/),n=u?u[1]:"";n&&!n.endsWith("#")&&(i.src=a.href||a.dataset.lightboxHref);for(const[d,f]of Object.entries(a.dataset))i.dataset[d]=f;i.tabIndex=0,i.className=a.dataset.lightboxClass?a.dataset.lightboxClass:"",o.appendChild(i),t.appendChild(o),t.classList.add("iframe-item-content"),a.dataset.pcService&&ue(i),N=i}function Qe(e,t,a){let o={},i=ot(a.href||a.dataset.lightboxHref),r=new URL(a.href||a.dataset.lightboxHref),u=`${r.origin}${r.pathname}`;o.enablejsapi=1,o.autoplay=a.dataset.lightboxAutoplay!==void 0?1:0,o.loop=a.dataset.lightboxLoop!==void 0?1:0,i=Object.assign({},o,i);let n=Object.keys(i).map(H=>encodeURIComponent(H)+"="+encodeURIComponent(i[H])).join("&"),d=h("iframe"),f="youtube",w=`${u}?${n}`;d.dataset.iframe=f,d.dataset.pcAsset=w,d.allowFullscreen=!0,d.className=a.dataset.lightboxClass?a.dataset.lightboxClass:"",d.classList.add("video-container"),d.dataset.lightboxVideo=!0;let k=h("div");k.className="full-item-content-inner",k.appendChild(d),t.appendChild(k),ue(d),N=k}function et(e,t,a){let o=h("div");o.className="full-item-content-inner";let i=h("div");i.className=a.dataset.lightboxClass?a.dataset.lightboxClass:"",i.classList.add("video-container");let r=h("video");r.dataset.lightboxVideo=!0,r.controls=!0,r.loop=a.dataset.lightboxLoop!==void 0,r.muted=a.dataset.lightboxMuted!==void 0,r.autoplay=a.dataset.lightboxAutoplay!==void 0,a.dataset.lightboxPoster!==void 0&&(r.poster=a.dataset.lightboxPoster),r.innerHTML+=L("videoNotSupported");let u=h("source");u.src=a.href||a.dataset.lightboxHref,u.type="video/mp4",r.appendChild(u),i.appendChild(r),o.appendChild(i),t.appendChild(o),N=r}function Ne(e,t,a){var o=a.parentElement.tagName==="FIGURE"&&a.parentElement.dataset.lightboxZoom!==void 0||a.dataset.lightboxZoom!==void 0||p[e].galleryNodeElement.dataset.lightboxZoom!==void 0,i=a.getElementsByTagName("img")[0],r=typeof l.captions=="function"?l.captions.call(p,a):a.getAttribute("data-caption")||a.title,u=rt(a),n=h("figure");
11if(n.id="baguetteBox-figure-"+e,n.innerHTML='<div class="baguetteBox-spinner"><div class="baguetteBox-double-bounce1"></div><div class="baguetteBox-double-bounce2"></div></div>',l.captions&&r){var d=h("figcaption");d.id="baguetteBox-figcaption-"+e,d.innerHTML=r,n.appendChild(d)}t.appendChild(n);var f=h("img");f.onload=function(){var w=n.querySelector(".baguetteBox-spinner");if(w&&n.removeChild(w),o)if($e())f.addEventListener("touchstart",function(){document.querySelector('meta[name="viewport"]').setAttribute("content","width=device-width, height=device-height, initial-scale=1.0, user-scalable=1")}),t.classList.add("img-item-content");else{_.push({imageElement:f,figureElement:n}),requestAnimationFrame(()=>{ke(f,n)});let k=(parseInt(a.parentElement.dataset.lightboxZoom)||parseInt(a.dataset.lightboxZoom)||parseInt(p[e].galleryNodeElement.dataset.lightboxZoom)||50)+100;n.classList.add("zoom"),n.style.backgroundImage=`url("${u}")`,n.style.backgroundSize=`${k}%`,n.addEventListener("mousemove",H=>it(H,f)),t.classList.add("imgZoom-item-content")}else t.classList.add("img-item-content")},f.setAttribute("src",u),f.setAttribute("aria-hidden","true"),f.alt=i&&i.alt||"",l.titleTag&&r&&(f.title=r),n.appendChild(f),N=null}function ke(e,t){var a=e.getBoundingClientRect(),o=a.width,i=a.height;t.style.width=o+"px",t.style.maxHeight=i+"px"}function tt(){_.forEach(({imageElement:e,figureElement:t})=>{ke(e,t)})}function le(){tt()}function at(e){const t=e.nodeName!="PICTURE"?e:e.querySelector("img");if(t.classList.add("lazy-processing","is-on-screen"),t.addEventListener("load",o=>{o.target.classList.add("lazy-loaded")}),e.nodeName=="PICTURE"){var a=e.querySelectorAll("img, source");for(let o of a)o.hasAttribute("data-src")&&o.setAttribute("src",o.getAttribute("data-src")),o.hasAttribute("data-srcset")&&o.setAttribute("srcset",o.getAttribute("data-srcset")),o.hasAttribute("data-cms-src")&&o.setAttribute("src",o.getAttribute("data-cms-src")),o.hasAttribute("data-cms-srcset")&&o.setAttribute("srcset",o.getAttribute("data-cms-srcset")),o.hasAttribute("data-pic-cms-srcset")&&o.setAttribute("srcset",o.getAttribute("data-pic-cms-srcset"))}else e.nodeName=="IMG"?(e.hasAttribute("data-src")&&(e.src=e.getAttribute("data-src")),e.hasAttribute("data-srcset")&&(e.srcset=e.getAttribute("data-srcset")),e.hasAttribute("data-cms-src")&&(e.srcset=e.getAttribute("data-cms-src")),e.hasAttribute("data-cms-srcset")&&(e.srcset=e.getAttribute("data-cms-srcset")),e.hasAttribute("data-pic-cms-src")&&(e.srcset=e.getAttribute("data-pic-cms-src"))):e.nodeName=="IFRAME"?e.src=e.getAttribute("data-src"):e.classList.add("lazy-loaded")}function ue(e){const t=e.dataset.pcService||e.dataset.iframe,a=e.dataset.pcAsset||e.dataset.src;window.privacyControl?.get(t)||!window.privacyControl?e.src=a:window.privacyControl?.iframePlaceholder(t)}function ot(e){let t=new URL(e),a=new URLSearchParams(t.search),o={};return a.forEach((i,r)=>{o[r]=i}),o}function it(e,t){var a=e.currentTarget;let o,i,r,u;e.offsetX?o=e.offsetX:o=e.touches[0].pageX,e.offsetY?i=e.offsetY:o=e.touches[0].pageX,r=o/a.offsetWidth*100,u=i/a.offsetHeight*100,a.style.backgroundPosition=r+"% "+u+"%"}function rt(e){var t=e.href||e.dataset.lightboxHref;if(e.dataset){var a=[];for(var o in e.dataset)o.substring(0,3)==="at-"&&!isNaN(o.substring(3))&&(a[o.replace("at-","")]=e.dataset[o]);for(var i=Object.keys(a).sort(function(n,d){return parseInt(n,10)<parseInt(d,10)?-1:1}),r=window.innerWidth*window.devicePixelRatio,u=0;u<i.length-1&&i[u]<r;)u++;t=a[i[u]]||t}return t}function G(){let e=g+1;return v[e]&&D("lightbox.change",{dialogItem:v[e],galleryItem:p[e],dialogType:A}),R(e)}function J(){let e=g-1;return v[e]&&D("lightbox.change",{dialogItem:v[e],galleryItem:p[e],dialogType:A}),R(e)}function nt(e){return e&&e.preventDefault(),R(0)}function st(e){return e&&e.preventDefault(),R(p.length-1)}function R(e,t){return!F&&e>=0&&e<t.length?(M(t,l),Y(e),!0):e<0?(l.animation&&Ie("left"),!1):e>=v.length?(l.animation&&Ie("right"),!1):(g=e,z(e),V(g,function(){Q(g),ee(g)}),K(),l.onChange&&l.onChange(g,v.length),!0)}function Ie(e){c.className="bounce-from-"+e,setTimeout(function(){c.className=""},400)}function K(){var e=-g*100+"%";l.animation==="fadeIn"?(c.style.opacity=0,setTimeout(function(){C.transforms?c.style.transform=c.style.webkitTransform="translate3d("+e+",0,0)":c.style.left=e,c.style.opacity=1},400)):C.transforms?c.style.transform=c.style.webkitTransform="translate3d("+e+",0,0)":c.style.left=e}function lt(){var e=h("div");return typeof e.style.perspective<"u"||typeof e.style.webkitPerspective<"u"}function ut(){var e=h("div");return e.innerHTML="<svg/>
11",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}function dt(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch{}return e}function Q(e){e-g>=l.preload||V(e+1,function(){Q(e+1)})}function ee(e){g-e>=l.preload||V(e-1,function(){ee(e-1)})}function E(e,t,a,o){e.addEventListener?e.addEventListener(t,a,o):e.attachEvent("on"+t,function(i){i=i||window.event,i.target=i.target||i.srcElement,a(i)})}function S(e,t,a,o){e.removeEventListener?e.removeEventListener(t,a,o):e.detachEvent("on"+t,a)}function U(e){return document.getElementById(e)}function h(e){return document.createElement(e)}function L(e,t={}){if(ge in B){let a=B[ge][e]??e;for(let o in t)a=a.replace(`{{${o}}}`,t[o]);return a}return B.en!==void 0&&B.en.hasOwnProperty(e)?B.en[e]:e}function ct(){ze(),qe(),S(document,"keydown",ne),document.getElementsByTagName("body")[0].removeChild(document.getElementById(X)),O={},p=[],g=0,q=[]}function D(e,t={}){const a=new CustomEvent(e,{detail:t});document.dispatchEvent(a)}function ft(e,t){let a=de();a[e]=t,he.setItem(be,JSON.stringify(a))}function de(){let e=he.getItem(be);return e=e===null||e===""||e===!1?{}:JSON.parse(e),e}function gt(){try{return window.localStorage,window.localStorage.setItem,window._storageDisabled=!1,window.localStorage}catch(e){return window._storageDisabled=!0,console.log("sessionStorage and/or localStorage not available, falling back to in-memory storage: ",e),{_items:new Map,setItem(t,a){this._items.set(t,a)},getItem(t){return this._items.has(t)?this._items.get(t):null}}}}return{run:Oe,show:R,showNext:G,showPrevious:J,hide:j,destroy:ct,get nestDepth(){return q.length}}});
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.