1"use strict";(self.webpackChunk_gp_web_frontend=self.webpackChunk_gp_web_frontend||[]).push([["sticky-header"],{
1"./src/ts/components/sticky-header/sticky-header.ts":(t,o,s)=>{s.r(o),s.d(o,{init:()=>r,stickyHeaderComponent:()=>c});var e=s("../react-components/dist/components/global/header/header.css.json"),n=s("../react-components/dist/components/global/footer/footer.css.json"),i=s("./src/ts/utils/dom.ts"),a=s("./src/ts/utils/ad-utils.ts");const c=(t,o)=>{const s={shouldUseUnstickyAnimation:!1,unstickStickyHeader:()=>{s.shouldUseUnstickyAnimation&&t.classList.add(e.iM),setTimeout((()=>{t.classList.remove(e.CA),t.classList.add(e.o9)}),450)},stickStickyFooter:()=>{const t=document.querySelector('[data-component="sticky-footer"]');null==t||t.classList.add(n.Aw)},onSlotOnload:()=>{const t=o.subscribe((()=>{const e=o.getState().ads.impressionViewable;"head"===(null==e?void 0:e.adSlotGroup)&&(window.setTimeout((()=>{s.unstickStickyHeader(),(0,i.tq)()&&s.stickStickyFooter()}),4e3),t())}))},bindEvents:()=>{s.onSlotOnload();const o=(0,a.Mg)((()=>{window.scrollY>30?s.shouldUseUnstickyAnimation=!0:s.shouldUseUnstickyAnimation=!1}),100);window.addEventListener("scroll",(()=>{o()}));const n=setTimeout((()=>{t.classList.remove(e.Jy)}),5e3);return(0,i.XS)(t,"iframe",(o=>{t.classList.add(e.CA),(0,i.gy)(o,0,(()=>{t.classList.remove(e.Jy),clearTimeout(n)}))}),!0),{onSlotOnload:s.onSlotOnload}}};return s},r=(t,o)=>{const s=Math.floor(1e4*Math.random());return{listeners:c(t,o).bindEvents(),componentId:`sticky-header-${s}`}}},
1"../react-components/dist/components/global/footer/footer.css.json":t=>{t.exports=JSON.parse('{"Mv":"_footer_hwl2n_1","G$":"_footer_ad_hwl2n_10","LB":"_footer_hidden_hwl2n_18","hj":"_footer_ad_close_hwl2n_22","Hh":"_footer_ad_invisible_hwl2n_58","YX":"_footer_ad_visible_hwl2n_62","Aw":"_footer_ad_sticky_hwl2n_80","PP":"_footer_ad_unsticky_hwl2n_95"}')},
1"../react-components/dist/components/global/header/header.css.json":t=>{t.exports=JSON.parse('{"sg":"_adsContainer_ytkyz_18","CA":"_sticky_ytkyz_23","iM":"_slideUp_ytkyz_28","o9":"_adsContainerRelative_ytkyz_33","Jy":"_adsContainerLoading_ytkyz_51"}')}
1}]);
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.