<?php
/**
 * This is an auto-generated script from src/interaction-types/frontend/elementScrolling.js.
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

ob_start();
?>
InteractRunner.addInteractionConfig({elementScrolling:{initTimeline:e=>{const r=e.getOption("smoothness",200),o=parseFloat(e.getOption("offset",0)),a=e.createTimelineInstance(0,{}),s=e.getCurrentTrigger(),n=e=>{var n=s.getBoundingClientRect(),t=window.innerHeight,i=t-n.top+o,t=t+n.height+2*o,n=Math.max(0,Math.min(1,i/t));a.seekPercentage(n,!0===e?0:r)};return window.addEventListener("scroll",n),n(!0),()=>{a.destroy(),window.removeEventListener("scroll",n)}}}});
<?php
return ob_get_clean();
	