1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[7921,8688],{8328:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var s=n(76202),i=n(98684),l=n(930);class o{constructor(e,t){this.element=e,this.wrapper=this.element.parentElement,this.layer=new s.default(this.wrapper,{layerModifierClasses:"nx-layer--popup"}),this.init(t)}init(e){return this.layer.insertContent(this.getPopUp(e)),this.element.addEventListener("click",e=>this.onElementClick(e)),this}onElementClick(e){e.preventDefault(),e.stopPropagation(),this.element.classList.toggle("nx-submenu--open"),(0,i.nB)(this.element,"nx-submenu--open")?(document.addEventListener("click",e=>this.onBodyClick(e)),this.layer.open()):this.layer.close()}onBodyClick(e){const t=e.target.closest(".nx-header-icons__link");t&&t!==this.element||this.closeLayer()}closeLayer(){(0,i.vy)(this.element,"nx-submenu--open"),document.removeEventListener("click",e=>this.onBodyClick(e)),this.layer.close()}getPopUp(e){return(0,i.Uo)(`\n <div class="nx-submenu">\n <h2 class="nx-submenu__title"></h2>\n <ul class="nx-submenu-popup">\n ${e.map(e=>(0,l.l9)(e)).join("")}\n </ul>\n </div>\n `)}}},93096:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});const s=n(8328).default}}]); 2//# sourceMappingURL=/dist/NiveaX/./modules/HeaderIconsSubmenu.1af6d7e5.js.db1ac8cb.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.