PageSourceSearch

https://www.paperplane.shop/cdn/shop/t/1106/assets/video-popup.js?v=33732188240734424041790351917

js paperplane.shop collected 2026-09-27 21:33:11 UTC 1,098 bytes, 2 lines download raw bytes

1(()=>{if(customElements.get("video-popup"))return;class VideoPopup extends HTMLElement{constructor(){super(),this.triggers=this.querySelectorAll(".js-video-trigger"),this.triggers.forEach(trigger=>{trigger.addEventListener("click",e=>{let isOpen=!1;const popupSelector=document.querySelector(trigger.dataset.popup),video=popupSelector.querySelector("video");trigger.classList.contains("button--open")&&(isOpen=!0),isOpen?this.openVideo(popupSelector):this.closeVideo(popupSelector)})})}openVideo(selector){selector.classList.add("open"),selector.querySelector("video").muted=!1,selector.querySelector("video").play(),selector.querySelector(".close-icon")?.addEventListener("click",()=>{this.closeVideo(selector)}),selector.querySelector("video").addEventListener("ended",event=>{this.closeVideo(selector)})}closeVideo(selector){selector.classList.remove("open"),selector.querySelector("video").pause(),selector.querySelector("video").currentTime=0}}customElements.define("video-popup",VideoPopup)})();
2//# sourceMappingURL=/cdn/shop/t/1106/assets/video-popup.js.map?v=33732188240734424041790351917

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.