PageSourceSearch

https://akramchicken.com/wp-content/cache/autoptimize/js/autoptimi…031088a9da5e0faf4d7aba6674fea3.js?ver=1.3.3

js akramchicken.com collected 2026-09-26 08:00:02 UTC 1,831 bytes, 8 lines download raw bytes

1(function(){'use strict';document.addEventListener('DOMContentLoaded',function(){initStickyColumns();});window.addEventListener('load',function(){initStickyColumns();});function initStickyColumns(){const stickyWrappers=document.querySelectorAll('.frontblocks-sticky-wrapper[data-sticky-enabled="true"]');stickyWrappers.forEach(function(wrapper){const stickyOffset=parseInt(wrapper.getAttribute('data-sticky-offset'))||0;const stickyColumnIndex=parseInt(wrapper.getAttribute('data-sticky-column-index'))||0;const columns=wrapper.querySelectorAll('.gb-grid-column');if(columns.length>stickyColumnIndex){const stickyColumn=columns[stickyColumnIndex];setupStickyColumn(stickyColumn,stickyOffset);}});}
2function setupStickyColumn(column,offset){let isSticky=false;function checkStickyPosition(){const rect=column.getBoundingClientRect();const wrapper=column.closest('.frontblocks-sticky-wrapper');const wrapperRect=wrapper.getBoundingClientRect();if(wrapperRect.top<=offset&&!isSticky){column.classList.add('sticky-active');const container=column.querySelector('.gb-container');if(container){container.style.top=offset+'px';}
3isSticky=true;}else if(wrapperRect.top>offset&&isSticky){column.classList.remove('sticky-active');const container=column.querySelector('.gb-container');if(container){container.style.top='';}
4isSticky=false;}
5if(wrapperRect.bottom<=offset&&isSticky){column.classList.remove('sticky-active');const container=column.querySelector('.gb-container');if(container){container.style.top='';}
6isSticky=false;}}
7window.addEventListener('scroll',checkStickyPosition,{passive:true});checkStickyPosition();window.addEventListener('resize',checkStickyPosition,{passive:true});}
8if(typeof wp!=='undefined'&&wp.hooks){wp.hooks.addAction('frontblocks/sticky-columns-reinit','frontblocks/sticky-columns',initStickyColumns);}})();

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.