https://www.pzcussons.com/wp-content/themes/fi-theme/dist/js/blocks/takeover-panel.js?ver=1787150583
1!function(){"use strict";function e(e){var t=document.createElement("iframe");return t.src=e,t.setAttribute("allow","autoplay; fullscreen; encrypted-media"),t.setAttribute("allowfullscreen",""),t.setAttribute("frameborder","0"),t}document.querySelectorAll("[data-pz-takeover]").forEach(function(t){var r=t.querySelector("[data-pz-takeover-play]"),n=t.querySelector("[data-pz-takeover-lightbox]");if(!r||!n)return;var o=n.querySelector("[data-pz-takeover-close]"),a=n.querySelector(".pz-takeover__lightbox-backdrop"),u=n.querySelector(".pz-takeover__lightbox-embed"),i=r.getAttribute("data-video-url")||"";function c(){n.classList.remove("is-open"),n.setAttribute("aria-hidden","true"),u.innerHTML="",document.removeEventListener("keydown",l),r.focus()}function l(e){"Escape"===e.key&&c()}r.addEventListener("click",function(){var t=function(t){var r=function(e){var t=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|shorts\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return t?t[1]:null}(t);if(r)return e("https://www.youtube.com/embed/"+r+"?autoplay=1&rel=0");var n=function(e){var t=e.match(/vimeo\.com\/(?:video\/)?(\d+)/);return t?t[1]:null}(t);if(n)return e("https://player.vimeo.com/video/"+n+"?autoplay=1");if(/\.(mp4|webm|ogg)(\?|$)/i.test(t)){var o=document.createElement("video");return o.src=t,o.controls=!0,o.autoplay=!0,o.setAttribute("playsinline",""),o}return null}(i);if(!t)return;u.innerHTML="",u.appendChild(t),n.classList.add("is-open"),n.setAttribute("aria-hidden","false"),o.focus(),document.addEventListener("keydown",l)}),o&&o.addEventListener("click",c);a&&a.addEventListener("click",c)})}();
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.