PageSourceSearch

https://www.bvmw.de/assets/javascripts/chunks/709b02818c4d89b11fed.sticky-cta.js

js bvmw.de collected 2026-10-01 09:02:33 UTC 1,956 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[899],{2122:(e,t,s)=>{s.d(t,{A:()=>l});var i=s(9812);const l=class{constructor(e,t){this.id=t,this.elements={self:e},this.setInitialized()}setInitialized(){this.elements.self&&this.elements.self.setAttribute("data-js-module-initialized",!0)}setUnInitialized(){this.elements.self&&this.elements.self.removeAttribute("data-js-module-initialized")}getElements(e){const t=e.map((e=>({...e,selector:`${this.id}__${e.selector}`}))),s=(0,i.A)("[data-js-element]",this.elements.self);for(let e=0;e<s.length;e+=1){const i=s[e],l=t.filter((e=>i.getAttribute("data-js-element")===e.selector)),[n]=l;n&&(void 0===this.elements[n.id]?this.elements[n.id]=i:(void 0===this.elements[n.id].push&&(this.elements[n.id]=[this.elements[n.id]]),this.elements[n.id].push(i)))}Object.values(this.elements).forEach((e=>{e.asList=(e=>void 0===e.push?[e]:e)(e)}))}}},6763:(e,t,s)=>{s.d(t,{default:()=>l});var i=s(2122);class l extends i.A{constructor(e){super(e,e.getAttribute("data-js-module")),this.getElements([{id:"toggle",selector:"toggle"},{id:"container",selector:"container"}]),this.toggleClass="sticky-cta__container--toggled",this.lastScrollTop=0,this.bindEvents()}toogle(){this.elements.container.classList.contains(this.toggleClass)?this.elements.container.classList.remove(this.toggleClass):this.elements.container.classList.add(this.toggleClass)}bindEvents(){this.elements.toggle&&this.elements.toggle.forEach((e=>{e.addEventListener("click",this.toogle.bind(this))})),window.addEventListener("scroll",(()=>{const e=window.pageYOffset||document.documentElement.scrollTop;e>this.lastScrollTop?this.elements.self.classList.remove("sticky-cta--visible"):this.elements.self.classList.add("sticky-cta--visible"),this.lastScrollTop=e<=0?0:e}),!1)}}},9812:(e,t,s)=>{s.d(t,{A:()=>i});const i=(e,t=window.document)=>[].slice.call(t.querySelectorAll(e))}}]);
2//# sourceMappingURL=709b02818c4d89b11fed.sticky-cta.js.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.