1pwr.dom.ready(()=>{pwr.hs.isEditorMode()||function(){function createLightboxElement(sourceElement){const result={};Array.from(sourceElement.attributes).filter(attr=>attr.name.startsWith("data-lightbox-")).forEach(attr=>{result[attr.name.substring(14)]=attr.value});const contentElement=sourceElement.querySelector(".lighbox-content");return result.sourceElement=sourceElement,contentElement&&(result.content=contentElement),result}document.querySelectorAll(".vanilla .pwr-lightbox").forEach(lightbox=>lightbox.removeAttribute("href")),document.querySelectorAll(".vanilla .pwr-lightbox").forEach(lightbox=>lightbox.addEventListener("click",e=>function(lightbox){var openIndex,elements,parentGallery=lightbox.closest(".lightbox-gallery");if(parentGallery){if(parentGallery.lb){for(const[index,element]of parentGallery.lb.settings.elements.entries())if(element.sourceElement==lightbox)return void parentGallery.lb.openAt(index);return void parentGallery.lb.open()}elements=[],Array.from(parentGallery.querySelectorAll(".pwr-lightbox:not(.swiper-slide-duplicate)")).forEach((childLightbox,index)=>{elements.push(createLightboxElement(childLightbox)),childLightbox==lightbox&&(openIndex=elements.length-1)})}else{if(lightbox.lb)return void lightbox.lb.open();elements=[createLightboxElement(lightbox)]}pwr.js.require(()=>"undefined"!=typeof GLightbox,()=>{const lb=GLightbox({elements:elements,autoplayVideos:!0,closeButton:!0,draggable:elements&&elements.length>1,plyr:{config:{youtube:{noCookie:!0},vimeo:{dnt:1}}}});lb.on("open",()=>{lb.modal.addEventListener("keydown",e=>{"Escape"===e.key&&pwr.nav.focusHighlight.hideFocus()})}),parentGallery?parentGallery.lb=lb:lightbox.lb=lb,openIndex?lb.openAt(openIndex):lb.open(),lb.on("slide_before_change",e=>{window.hsVideoApi&&window.hsVideoApi.pauseAllPlayers&&window.hsVideoApi.pauseAllPlayers()})})}(lightbox)))}()}); 2//# sourceURL=https://8002792.fs1.hubspotusercontent-eu1.net/hubfs/8002792/hub_generated/template_assets/1/127254077862/1790371537341/template_pwr-lightbox.js
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.