PageSourceSearch

https://arkadia.team/hubfs/hub_generated/template_assets/1/1011966…/1790935319983/template_pwr-lightbox.min.js

js arkadia.team collected 2026-10-05 10:32:55 UTC 1,911 bytes, 2 lines download raw bytes

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}}}});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://144566180.fs1.hubspotusercontent-eu1.net/hubfs/144566180/hub_generated/template_assets/1/101196669390/1790935319983/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.