1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[7094],{93260:(s,e,t)=>{t.r(e),t.d(e,{default:()=>a});const i='[data-module="Login"]';class a{static setup(s=i){Array.from(document.querySelectorAll(s)).filter(s=>!s.dataset.moduleInitialized).forEach(s=>{new a(s),s.dataset.moduleInitialized="true"})}constructor(s){this.element=s,this.cssClass={activeList:"nx-submenu-popup--acitve"},window.NiveaX.deviceType.isDesktop&&this.init()}init(){this.userIcon=this.element.querySelector(".nx-user-icon"),this.loginwrapper=this.element,this.userIcon&&this.addDropDownListener()}addDropDownListener(){this.userIcon.addEventListener("click",s=>{s.stopPropagation();s.currentTarget.parentElement.classList.toggle(this.cssClass.activeList)}),document.body.addEventListener("click",()=>this.setClickOutside(event)),this.element.addEventListener("mouseleave",()=>this.mouseleaveHandler())}setClickOutside(s){s.target!=this.userIcon&&this.loginwrapper.classList.contains(this.cssClass.activeList)&&this.loginwrapper.classList.remove(this.cssClass.activeList)}mouseleaveHandler(){this.loginwrapper.classList.contains(this.cssClass.activeList)&&this.loginwrapper.classList.remove(this.cssClass.activeList)}}a.setup(i)}}]); 2//# sourceMappingURL=/dist/NiveaX/./modules/Login.2f9cd11f.js.1ee255ff.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.