PageSourceSearch

https://encoreretire.com/wp-content/themes/enfold/js/avia-snippet-sticky-header.min.js?ver=8.2

js encoreretire.com collected 2026-10-08 05:07:13 UTC 1,942 bytes, 1 lines download raw bytes

1!function(e){"use strict";function a(e,a,n){e[0].classList?"add"==a?e[0].classList.add(n):e[0].classList.remove(n):"add"==a?e.addClass(n):e.removeClass(n)}e((function(){!function(){var n=e(window),t=e(".html_header_top.html_header_sticky #header"),i=e(".av_header_unstick_top");if(!t.length&&!i.length)return;var r=e("#header_main .container .logo img, #header_main .container .logo svg, #header_main .container .logo a"),o=e("#header_main .container:not(#header_main_alternate>.container), #header_main .main_menu ul:first-child > li > a:not(.avia_mega_div a, #header_main_alternate a), #header_main .main_menu ul:first-child > li.av-header-slot > .av-header-slot-inner:not(#header_main_alternate .av-header-slot-inner), #header_main #menu-item-shop .cart_dropdown_link"),d=e(o).first().height(),s=e.avia_utilities.isMobile,h=(e("#scroll-top-link"),t.is(".av_header_transparency")),l=t.is(".av_header_shrinking"),_=t.data("av_shrink_factor"),c=d/2,m=d/2,g=t.find("#header_meta"),u=g.length?g.outerHeight():0,v=t.find("#header_main_alternate"),f=v.length?v.outerHeight():0,p=function(){var _=n.scrollTop(),g=0,v=_;if(i&&(_-=u),_<0&&(_=0),l&&!s){_<c?(g=d-_,_<=0&&(g=d),a(t,"remove","header-scrolled")):(g=m,a(t,"add","header-scrolled")),a(t,_-30<d?"remove":"add","header-scrolled-full"),o.css({height:g+"px",lineHeight:g+"px"}),r.css({maxHeight:g+"px"});let n=g+f;t.length&&(i.length?_<=u&&(n=n+u-v):n+=u),e(":root")[0].style.setProperty("--enfold-header-height",Math.round(n)+"px")}i.length&&(_<=0?(v<=0&&(v=0),i.css({"margin-top":"-"+v+"px"})):i.css({"margin-top":"-"+u+"px"})),h&&a(t,_>50?"remove":"add","av_header_transparency")};if(void 0!==_){const e=parseInt(_);isNaN(e)||(m=d-(c=d*(e/100)))}e("body").is(".avia_deactivate_menu_resize")&&(l=!1);if(!h&&!l&&!i.length)return;n.on("debouncedresize",(function(){d=e(o).attr("style","").first().height(),p()})),n.on("scroll",(function(){window.requestAnimationFrame(p)})),p()}()}))}(jQuery);

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.