document.addEventListener("DOMContentLoaded",function(){let e=document.querySelector(".logo");if(e){let t=window.matchMedia("(max-width: 768px)");function n(t){t.matches?e.src="assets/images/Conxeptrix-Logo-black.webp":e.src="assets/images/Conxeptrix-Logo-white.webp"}n(t),t.addEventListener("change",n)}if("undefined"!=typeof Parallax){var o=document.getElementById("scene2");o&&new Parallax(o);var s=document.getElementById("scene3");s&&new Parallax(s)}document.querySelectorAll(".nav-item.dropdown").forEach(e=>{e.addEventListener("mouseenter",()=>{e.classList.add("show"),e.querySelector(".dropdown-menu").classList.add("show")}),e.addEventListener("mouseleave",()=>{e.classList.remove("show"),e.querySelector(".dropdown-menu").classList.remove("show")})}),window.jQuery&&$(document).ready(function(){$(".livechat").on("click",function(e){e.preventDefault(),"undefined"!=typeof LiveChatWidget&&LiveChatWidget.call("maximize")})})});