{"version":3,"file":"advancedproductsnav.81b78c3f.js","mappings":"AAEIA,OAAOC,YAAcD,OAAOC,aAAe,CAAC,EAC5CD,OAAOC,YAAYC,oBAAsBF,OAAOC,YAAYC,qBAAuB,CAAC,EACpFF,OAAOC,YAAYC,oBAAoBC,KAAO,WAE1C,IAAIC,EAAWC,EAAE,oDAGjBA,EAAE,uBAAuBC,IAAI,cAC7BD,EAAE,uBAAuBE,YAAW,WAChCF,EAAE,mCAAoCD,GAAUI,YAAY,aAC5DH,EAAE,mCAAoCD,GAAUK,OAAOC,GAAG,GAAGC,OAC7DN,EAAE,kCAAkCM,MACxC,IAEAN,EAAE,mCAAoCD,GAAUQ,OAE5C,SAAUC,GACNA,EAAEC,iBACF,IAAIC,EAAkB,IAAMV,EAAEW,MAAMC,KAAK,iBAGzCZ,EAAE,mCAAoCD,GAAUK,OAChDJ,EAAE,mCAAoCD,GAAUI,YAAY,aAGvCH,EAAEU,EAAiBX,GACzBO,OAGfN,EAAEW,MAAME,SAAS,YACrB,GAER,EACAlB,OAAOC,YAAYC,oBAAoBiB,WAAY","sources":["webpack://advanced-web/./UI/js/core/modules/advancedProductsNav.js"],"sourcesContent":["(function () {\r\n\r\n window.oneadvanced = window.oneadvanced || {};\r\n window.oneadvanced.advancedproductsnav = window.oneadvanced.advancedproductsnav || {};\r\n window.oneadvanced.advancedproductsnav.init = function () {\r\n //console.log(\"initialising advancedproductsnav...\");\r\n var asideNav = $('.advanced-products-nav, .advanced-additional-nav');\r\n\r\n //reset\r\n $('.is-sub-nav-trigger').off('mouseleave');\r\n $('.is-sub-nav-trigger').mouseleave(function () {\r\n $('li.productcategory,li.sectorpage', asideNav).removeClass('is-active');\r\n $('section.productsectorteaserblock', asideNav).hide().eq(0).show();\r\n $('section#additional-nav-content').show();\r\n });\r\n\r\n $('li.productcategory,li.sectorpage', asideNav).click(\r\n // When a category is clicked, show corresponding content\r\n function (e) {\r\n e.preventDefault();\r\n var contentSelector = '#' + $(this).data('associated-id');\r\n\r\n // Hide all others\r\n $('section.productsectorteaserblock', asideNav).hide();\r\n $('li.productcategory,li.sectorpage', asideNav).removeClass('is-active');\r\n\r\n // Show content for this page\r\n var contentForPage = $(contentSelector, asideNav);\r\n contentForPage.show();\r\n\r\n // Ensure that this link is highlighted\r\n $(this).addClass('is-active');\r\n }\r\n );\r\n };\r\n window.oneadvanced.advancedproductsnav.hasLoaded = true;\r\n\r\n})();"],"names":["window","oneadvanced","advancedproductsnav","init","asideNav","$","off","mouseleave","removeClass","hide","eq","show","click","e","preventDefault","contentSelector","this","data","addClass","hasLoaded"],"sourceRoot":""}