1!function(){"use strict";var e=/^\/86903851\/.*HPTO_2025$/,t=!1,a=!1,o=[],n=new WeakSet,d=null,s=!1;window.addEventListener("scroll",function e(){s=!0,window.removeEventListener("scroll",e,{passive:!0})},{passive:!0,once:!0});let i=location.hostname.includes("lndo")||location.hostname.includes("pantheonsite.io")||location.hostname.includes("kinsta.cloud")||"localhost"===location.hostname;function r(e,t){window.gtag&&window.gtag("event",e,Object.assign({creative_type:"video",placement:"header",debug_mode:i},t||{}))}function l(e){var t=e&&e.data;t&&"hptoVideo"===t.type&&"adIframe"===t.source&&(d={desktopExpanded:t.desktopExpanded||"",desktopCollapsed:t.desktopCollapsed||"",mobileExpanded:t.mobileExpanded||"",mobileCollapsed:t.mobileCollapsed||"",videoUrl:t.videoUrl||"",videoSide:t.videoSide||""},c())}function c(){var t=document.querySelector(".adslot-header-sitewrap"),a=document.querySelector(".hpto-container");if(t&&a&&o.length){var d=o.slice();o.length=0;for(var s=0;s<d.length;s++){var i=d[s],r=i.slot.getAdUnitPath();if(e.test(r)){var l=i.slot.getSlotElementId(),c=document.getElementById(l);c&&(n.has(c)||u({slotElement:c,adContainer:t}))}}}}function p(e){var t=document.documentElement;t.classList.remove("hpto-ad-expanded","hpto-ad-collapsed"),t.classList.add("hpto-ad-"+e)}function u(e){var t=e.slotElement,a=e.adContainer;if(t&&a){n.add(t),r("ad_impression",{slot_id:t.id}),t.classList.add("generated-ad-class");var o=document.getElementById("ad-video-container"),i=document.getElementById("ad-background-container-desktop"),l=document.getElementById("ad-background-container-mobile");if(o&&i&&l){var c=sessionStorage.getItem("hptoadstate")||"expanded";a.classList.add(c),p(c);var u="",m="",y="",v="",g="",f="";if(L())b(),k(),_(),P(),"expanded"===c?x():E();else var h=0,w=setInterval(function(){(L()||h++>20)&&(clearInterval(w),b(),k(),_(),P(),"expanded"===c?x():E())},50);window.addEventListener("resize",_)}else console.warn("[HPTO] Missing required containers; aborting this slot init.")}function L(){return!!d&&(y=d.desktopExpanded||"",v=d.desktopCollapsed||"",g=d.mobileExpanded||"",f=d.mobileCollapsed||"",u=d.videoUrl||"",m=d.videoSide||"",!0)}function b(){y&&g&&v&&f&&("expanded"===c?(i.style.setProperty("background-image","url("+y+")","important"),l.style.setProperty("background-image","url("+g+")","important")):(i.style.setProperty("background-image","url("+v+")","important"),l.style.setProperty("background-image","url("+f+")","important")))}function _(){var e=t;if(e){var a=e.querySelector("iframe");e.style.setProperty("width","100%","important"),e.style.setProperty("height","auto","important"),e.style.setProperty("transition","aspect-ratio 0.3s ease","important"),e.style.setProperty("will-change","aspect-ratio","important"),a&&(a.style.setProperty("width","100%","important"),a.style.setProperty("height","auto","important"),a.style.setProperty("transition","aspect-ratio 0.3s ease","important"),a.style.setProperty("will-change","aspect-ratio","important"),a.style.setProperty("position","relative","important"),a.style.setProperty("z-index","1","important"));var o="expanded"===c,n=window.innerWidth<=767,d=window.innerWidth>=1921;if(e.style.aspectRatio="",a&&(a.style.aspectRatio=""),d)e.style.setProperty("width","1600px","important"),e.style.setProperty("margin","0 auto","important"),e.style.aspectRatio="auto",e.style.height=o?"400px":"160px",a&&(a.style.height=o?"400px":"160px",a.style.setProperty("width","1600px","important"),a.style.setProperty("margin","0 auto","important"),a.style.aspectRatio="auto");else if(n){var s=o?"16 / 9":"640 / 213";e.style.aspectRatio=s,a&&(a.style.aspectRatio=s)}else{var i=o?"4 / 1":"10 / 1";e.style.aspectRatio=i,a&&(a.style.aspectRatio=i)}}}function E(){r("ad_collapse",{reason:s?"out_of_view":"programmatic"}),a.classList.remove("expanded"),a.classList.add("collapsed"),o.classList.remove("ad-video-container-expanded"),o.classList.add("ad-video-container-collapsed"),sessionStorage.setItem("hptoadstate","collapsed"),p(c="collapsed"),b(),_(),m&&(o.classList.remove("ad-"+m+"-expanded"),o.classList.add("ad-"+m+"-collapsed"))}function x(){r("ad_expand"),a.classList.remove("collapsed"),a.classList.add("expanded"),o.classList.remove("ad-video-container-collapsed"),o.classList.add("ad-video-container-expanded"),sessionStorage.setItem("hptoadstate","expanded"),p(c="expanded"),b(),_(),m&&(o.classList.remove("ad-"+m+"-collapsed"),o.classList.add("ad-"+m+"-expanded"))}function k(){var e=!1;try{new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&!e&&(e=!0,r("ad_visible")),!t.isIntersecting&&s&&a.classList.contains("expanded")&&E()})},{root:null,rootMargin:"50px",threshold:[0]}).observe(a)}catch(e){console.error("[HPTO] IntersectionObserver error:",e)}}function P(){if(u&&m){var e=document.querySelector("#video-player video");if(e){e.src=u;var t=!1;e.addEventListener("playing",function(){!t&&e.muted&&e.currentTime<.5&&(t=!0,r("ad_video_auto
1play_start"))}),o.classList.add("ad-"+m+"-"+c),o.style.display="block",e.addEventListener("loadeddata",function(){var t=o.querySelector(".play-button"),a=t.querySelector(".ended"),n=t.querySelector(".playing"),d=t.querySelector(".paused"),s=o.querySelector(".mute-button"),i=o.querySelector(".control-buttons");t.addEventListener("click",function(t){t.preventDefault(),e.paused||e.ended?(requestAnimationFrame(function(){e.play().then(function(){n.style.display="block",d.style.display="none",a.style.display="none",i.classList.remove("ended")}).catch(function(e){console.warn("[HPTO] Playback failed:",e)})}),r("ad_video_play",{interaction:"user"})):(e.pause(),n.style.display="none",d.style.display="block",r("ad_video_pause",{time:Math.floor(e.currentTime)}))}),e.addEventListener("ended",function(){n.style.display="none",d.style.display="none",a.style.display="block",i.classList.add("ended"),E(),r("ad_video_complete",{duration:Math.floor(e.duration)})}),a.addEventListener("click",function(t){t.preventDefault(),e.currentTime=0,a.style.display="none",n.style.display="block",i.classList.remove("ended"),requestAnimationFrame(function(){e.play().catch(function(e){console.warn("[HPTO] Replay failed:",e)})}),x(),r("ad_video_replay")}),s.addEventListener("click",function(t){t.preventDefault();var a=e.muted;e.muted=!a,s.querySelector(".muted").style.display=e.muted?"block":"none",s.querySelector(".with-sound").style.display=e.muted?"none":"block",r(a?"ad_video_unmute":"ad_video_mute")});var l={25:!1,50:!1,75:!1},c={25:"ad_video_quartile_25",50:"ad_video_quartile_50",75:"ad_video_quartile_75"};e.addEventListener("timeupdate",function(){if(e.duration){var t=e.currentTime/e.duration*100;[25,50,75].forEach(function(e){t>=e&&!l[e]&&(l[e]=!0,r(c[e]))})}})})}}}}a||(a=!0,window.addEventListener("message",l,{passive:!0})),function(){if(!t)if(t=!0,window.googletag&&window.googletag.cmd)window.googletag.cmd.push(a);else var e=setInterval(function(){window.googletag&&window.googletag.cmd&&(clearInterval(e),window.googletag.cmd.push(a))},50);function a(){try{window.googletag.pubads().addEventListener("slotRenderEnded",function(e){o.push(e),c()})}catch(e){setTimeout(a,50)}}}(),"interactive"===document.readyState||"complete"===document.readyState?c():document.addEventListener("DOMContentLoaded",c,{once:!0}),new MutationObserver(c).observe(document.documentElement,{childList:!0,subtree:!0})}(); 2//# sourceMappingURL=hpto-ad.min.js.map
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.