1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[9860],{60672:(t,e,o)=>{o.r(e),o.d(e,{default:()=>l});var s=o(21464);const i='[data-module="Breadcrumb"]';class l{static setup(t=i){Array.from(document.querySelectorAll(t)).filter(t=>!t.dataset.moduleInitialized).forEach(t=>{new l(t),t.dataset.moduleInitialized="true"})}constructor(t){this.element=t,(0,s.aO)(document.querySelector("nav .nx-breadcrumb__list")),this.body=document.body,this.btnBackToTop=this.element.querySelector(".nx-back-to-top"),this.init()}init(){var t;return NiveaX.addToEventStore("scroll",t=>this.onScroll(t),window),null===(t=this.btnBackToTop)||void 0===t||t.addEventListener("click",t=>{if(null==this.scrollTo){(()=>o.e(8287).then(o.bind(o,19967)))().then(e=>{this.scrollTo=new e.default,this.backToTop(t)})}else this.backToTop(t)},!1),this}onScroll(t){(0,s.Nf)()||this.setStickyBreadcrumb()}backToTop(t){t.preventDefault(),this.body.classList.add("nx-scrolling");let e=this.getScrollTop()/2*.6;this.scrollTo.animateScrollTop(this.body,e,10,()=>{this.body.classList.remove("nx-scrolling"),this.btnBackToTop.classList.add("nx-back-to-top--hide")})}getScrollTop(){return document.documentElement.scrollTop||document.body.parentElement.scrollTop||document.body.scrollTop}isStickyBreadcrumb(){return this.element.getBoundingClientRect().top<=0||window.pageXOffset<0||window.scrollY<0}setStickyBreadcrumb(){this.element.classList.remove("nx-breadcrumb--sticky"),this.element.parentElement.classList.remove("nx-sticky"),this.isStickyBreadcrumb()&&(this.element.parentElement.classList.add("nx-sticky"),this.element.classList.add("nx-breadcrumb--sticky"),this.showToTopButton())}showToTopButton(){this.getScrollTop()>100&&!document.querySelector("html").classList.contains("nx-u-lock-screen")?this.btnBackToTop.classList.remove("nx-back-to-top--hide"):this.btnBackToTop.classList.add("nx-back-to-top--hide")}}l.setup(i)}}]); 2//# sourceMappingURL=/dist/NiveaX/./modules/Breadcrumb.a2fb73a1.js.2a1740c6.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.