1"use strict";(self.webpackChunk_gp_web_frontend=self.webpackChunk_gp_web_frontend||[]).push([["sticky-cta"],{
1"./src/ts/components/sticky-cta/sticky-cta.ts":(t,e,s)=>{s.r(e),s.d(e,{init:()=>i,stickyCtaComponent:()=>n});const n=t=>{var e,s,n;const i=t.dataset.pageType,o=null===(n=null===(s=null===(e=window.digitalData)||void 0===e?void 0:e.page)||void 0===s?void 0:s.pageInfo)||void 0===n?void 0:n.contentType;if("tomcityhome"!==i&&"tomcityhome"!==o)return{bindEvents:()=>({})};const c=()=>{(window.pageYOffset||document.documentElement.scrollTop)>800?t.classList.add("stickyCtaVisible"):t.classList.remove("stickyCtaVisible")};return{bindEvents:()=>(t.classList.remove("stickyCtaVisible"),c(),window.addEventListener("scroll",c),{scroll:()=>{window.removeEventListener("scroll",c)}})}},i=t=>{const e=Math.floor(1e4*Math.random());return{listeners:n(t).bindEvents(),componentId:`sticky-cta-${e}`}}}
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.