{"version":3,"file":"refreshedcontactusblock.f3f8a8a9.js","mappings":"AACIA,OAAOC,YAAcD,OAAOC,aAAe,CAAC,EAC5CD,OAAOC,YAAYC,wBAA0BF,OAAOC,YAAYC,yBAA2B,CAAC,EAC5FF,OAAOC,YAAYC,wBAAwBC,KAAO,WAI9CC,SAAW,SAAUC,GACjB,GAAIA,EAAEC,UAAUC,SAAS,eAAgB,CACrC,IAAIL,EAA0BG,EAAEG,QAAQ,4BACpCC,EAAiBJ,EAAEG,QAAQ,iBAC3BE,EAAIR,EAAwBI,UAAUC,SAAS,eAAiB,WAAaE,GAAkBP,EAAwBI,UAAUC,SAAS,cAAgB,WAAa,WACvKI,EAAKN,EAAEO,cAAcA,cAAcA,cAAcC,mBACjDF,EAAGL,UAAUC,SAAS,SACtBI,EAAGL,UAAUQ,OAAO,QACpBT,EAAEC,UAAUQ,OAAO,uBACnBT,EAAEC,UAAUS,IAAI,qBAChBb,EAAwBI,UAAUS,IAAIL,KAEtCC,EAAGL,UAAUS,IAAI,QACjBV,EAAEC,UAAUQ,OAAO,qBACnBT,EAAEC,UAAUS,IAAI,uBAChBb,EAAwBI,UAAUQ,OAAOJ,GAEjD,MAEI,IACIM,UAAU,OACd,CACA,MAAAC,GACIC,QAAQC,IAAI,6CAChB,CAER,CACJ,EAEAnB,OAAOC,YAAYC,wBAAwBkB,WAAY","sources":["webpack://advanced-web/./UI/js/core/modules/refreshedcontactusblock.js"],"sourcesContent":["(function () {\r\n window.oneadvanced = window.oneadvanced || {};\r\n window.oneadvanced.refreshedcontactusblock = window.oneadvanced.refreshedcontactusblock || {};\r\n window.oneadvanced.refreshedcontactusblock.init = function () {\r\n //console.log(\"initializing refreshedcontactusblock js.......\");\r\n\r\n //Below code show the Marketo Form or Live Chat option on click of a button type as Phone/email or chat \r\n openForm = function (e) {\r\n if (e.classList.contains('phone_email')) {\r\n var refreshedcontactusblock = e.closest('.refreshedcontactusblock');\r\n var isThreeSection = e.closest('.threesection');\r\n var c = refreshedcontactusblock.classList.contains('first-block') ? \"expand-1\" : isThreeSection && refreshedcontactusblock.classList.contains('last-block') ? \"expand-3\" : \"expand-2\";\r\n var el = e.parentElement.parentElement.parentElement.nextElementSibling;\r\n if (el.classList.contains('hide')) {\r\n el.classList.remove(\"hide\");\r\n e.classList.remove(\"dropdown-down-arrow\");\r\n e.classList.add(\"dropdown-up-arrow\");\r\n refreshedcontactusblock.classList.add(c);\r\n } else {\r\n el.classList.add(\"hide\");\r\n e.classList.remove(\"dropdown-up-arrow\");\r\n e.classList.add(\"dropdown-down-arrow\");\r\n refreshedcontactusblock.classList.remove(c);\r\n }\r\n }\r\n else {\r\n try {\r\n qualified('open')\r\n }\r\n catch {\r\n console.log(\"Qualified Chatbot not found on this page!!\")\r\n }\r\n }\r\n }\r\n };\r\n\r\n window.oneadvanced.refreshedcontactusblock.hasLoaded = true;\r\n})();"],"names":["window","oneadvanced","refreshedcontactusblock","init","openForm","e","classList","contains","closest","isThreeSection","c","el","parentElement","nextElementSibling","remove","add","qualified","_unused","console","log","hasLoaded"],"sourceRoot":""}