1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[9895],{35879:(s,l,t)=>{t.r(l),t.d(l,{default:()=>e});class e{constructor(s,l="nx-motion-scrolling--up",t="nx-motion-scrolling--down"){this.element=s,this.scrollingUpClass=l,this.scrollingDownClass=t,this.scrollingFlag,this.init()}init(){NiveaX.addToEventStore("scroll",s=>this.scroll(s),window)}scroll(s){this.toggleScrollClasses(this.lastPageYOffset),this.lastPageYOffset=pageYOffset}toggleScrollClasses(s){Math.abs(pageYOffset-s)<40||window.scrollY<0||(pageYOffset<s?(this.element.classList.add(this.scrollingUpClass),this.element.classList.remove(this.scrollingDownClass),this.scrollingFlag=!0):pageYOffset>s&&(this.element.classList.add(this.scrollingDownClass),this.element.classList.remove(this.scrollingUpClass),this.scrollingFlag=!1))}}}}]); 2//# sourceMappingURL=/dist/NiveaX/./modules/ScrollDirection.6bdce6db.js.fefe01f9.map
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.