{"version":3,"sources":["webpack:///./components/sections-navbar/js/sections-navbar.js","webpack:///./plugins/drawer/js/drawer.js"],"names":["UX","sidebarSections","init","sectionsNavCont","$","sectionsNav","$scrollPoints","length","initSections","set","selectedSection","controller","find","removeClass","hide","isPbMode","menu","additionalControl","click","e","preventDefault","stopPropagation","this","next","addClass","document","on","target","closest","hasClass","is"],"mappings":"2FAAA,OAEAA,GAAGC,gBAAgBC,KAAO,WACtB,IAAIC,EAAkBC,EAAE,6BACpBC,EAAcD,EAAE,wBAChBJ,GAAGC,gBAAgBK,cAAcC,QACjCP,GAAGC,gBAAgBO,eACnBR,GAAGC,gBAAgBQ,IAAIC,kBACvBV,GAAGC,gBAAgBU,cAGfN,EAAYO,KAAK,wBAAwBL,OACzCF,EAAYO,KAAK,yCAAyCC,YAAY,eAEtEV,EAAgBW,S,iCCd5B,IAGQC,EAHR,OAGQA,EAAyC,IAA9BX,EAAE,iBAAiBG,OAClCP,GAAGgB,KAAKC,kBAAoB,WACpBF,IACAX,EAAE,qBAAqBc,OAAM,SAAUC,GACnCA,EAAEC,iBACFD,EAAEE,kBACFjB,EAAEkB,MAAMC,KAAK,mBAAmBC,SAAS,yBAE7CpB,EAAEqB,UAAUC,GAAG,SAAS,SAAUP,KAEzBf,EAAEe,EAAEQ,QAAQC,QAAQ,mBAAmBC,SAAS,uBAChDzB,EAAEe,EAAEQ,QAAQJ,KAAK,mBAAmBM,SAAS,wBACzCzB,EAAEe,EAAEQ,QAAQG,GAAG,oBAChB1B,EAAEe,EAAEQ,QACCC,QAAQ,qBACRL,KAAK,mBACLM,SAAS,wBACbzB,EAAEe,EAAEQ,QAAQC,QAAQ,qBAAqBE,GAAG,uBAEjD1B,EAAE,mBAAmBS,YAAY","file":"js/lazy-imports-9ca2a7338e2e8ec3e923.js","sourcesContent":["import 'ui-theme/components/sections-navbar/js/sections-navbar';\n\nUX.sidebarSections.init = function () {\n var sectionsNavCont = $('.sections-block-container');\n var sectionsNav = $('.sections-navigation');\n if (UX.sidebarSections.$scrollPoints.length) {\n UX.sidebarSections.initSections();\n UX.sidebarSections.set.selectedSection();\n UX.sidebarSections.controller();\n } else {\n // removing if no sections titles exist we check for static links built in template. If they are present we still show the list\n if (sectionsNav.find('.sections-links > li').length) {\n sectionsNav.find('.sections-block-container.not-visible').removeClass('not-visible');\n } else {\n sectionsNavCont.hide();\n }\n }\n};\n","import 'ui-theme/plugins/drawer/js/drawer';\n\n(function () {\n var isPbMode = $('.pb-edit-view').length !== 0;\n UX.menu.additionalControl = function () {\n if (isPbMode) {\n $('.dropdown__toggle').click(function (e) {\n e.preventDefault();\n e.stopPropagation();\n $(this).next('.dropdown__menu').addClass('js__expanded__menu');\n });\n $(document).on('click', function (e) {\n if (\n !$(e.target).closest('.dropdown__menu').hasClass('js__expanded__menu') ||\n ($(e.target).next('.dropdown__menu').hasClass('js__expanded__menu') &&\n !$(e.target).is('.dropdown__menu') &&\n $(e.target)\n .closest('.dropdown__toggle')\n .next('.dropdown__menu')\n .hasClass('js__expanded__menu') &&\n !$(e.target).closest('.dropdown__toggle').is('.dropdown__toggle'))\n ) {\n $('.dropdown__menu').removeClass('js__expanded__menu');\n }\n });\n }\n };\n})();\n"],"sourceRoot":""}