{"version":3,"sources":["webpack://BirnPartners/./Src/Scripts/components/mobile-navigation.js"],"names":["constructor","document","querySelectorAll","forEach","itemWithSubMenu","itemHeadlineMainMenu","querySelector","itemHeadlineSubMenu","addEventListener","classList","add","remove"],"mappings":"gMAAe,MACXA,cACiCC,SAASC,iBAAiB,wBAElCC,SAAQ,SAASC,GAClC,MAAMC,EAAuBD,EAAgBE,cAAc,uBACrDC,EAAsBH,EAAgBE,cAAc,sBAE1DD,EAAqBG,iBAAiB,SAAS,WAC3CJ,EAAgBK,UAAUC,IAAI,kCAGlCH,EAAoBC,iBAAiB,SAAS,WAC1CJ,EAAgBK,UAAUE,OAAO","file":"599.92c96ce361b0c34c7184.js","sourcesContent":["export default class MobileNavigation {\n constructor() {\n const itemWithSubMenuArray = document.querySelectorAll('.item--with-sub-menu');\n \n itemWithSubMenuArray.forEach(function(itemWithSubMenu) {\n const itemHeadlineMainMenu = itemWithSubMenu.querySelector('#item-headline-main')\n const itemHeadlineSubMenu = itemWithSubMenu.querySelector('#item-headline-sub')\n\n itemHeadlineMainMenu.addEventListener('click', function () {\n itemWithSubMenu.classList.add('item--with-sub-menu--active')\n })\n\n itemHeadlineSubMenu.addEventListener('click', function () {\n itemWithSubMenu.classList.remove('item--with-sub-menu--active')\n })\n })\n }\n}\n"],"sourceRoot":""}