PageSourceSearch

https://www.betterup.com/hubfs/hub_generated/module_assets/1/20966…/module_image-text-grid.min.js

js betterup.com collected 2026-10-01 07:43:46 UTC 1,254 bytes, 2 lines download raw bytes

1var module_209665331127=function(){var reduceMotion;reduceMotion=window.matchMedia("(prefers-reduced-motion: reduce)").matches,document.querySelectorAll(".image-text-grid").forEach(function(section){var video=section.querySelector(".js-itg-video");if(video){var btn=section.querySelector(".js-itg-pause-btn"),userPaused=!1;reduceMotion&&btn&&(userPaused=!0,btn.setAttribute("aria-pressed","true"),btn.setAttribute("aria-label","Play video")),btn&&btn.addEventListener("click",function(){"true"===btn.getAttribute("aria-pressed")?(userPaused=!1,play(),btn.setAttribute("aria-pressed","false"),btn.setAttribute("aria-label","Pause video")):(userPaused=!0,video.pause(),btn.setAttribute("aria-pressed","true"),btn.setAttribute("aria-label","Play video"))}),reduceMotion||new IntersectionObserver(function(entries){entries.forEach(function(entry){entry.isIntersecting?userPaused||play():video.pause()})},{threshold:.1}).observe(video)}function play(){!video.src&&video.dataset.videoSrc&&(video.src=video.dataset.videoSrc);var p=video.play();p&&"function"==typeof p.catch&&p.catch(function(){})}})}();
2//# sourceURL=https://9253440.fs1.hubspotusercontent-na1.net/hubfs/9253440/hub_generated/module_assets/1/209665331127/1783439614660/module_image-text-grid.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.