function disableSelection(n){void 0!==n.onselectstart?n.onselectstart=function(){return!1}:void 0!==n.style.MozUserSelect?n.style.MozUserSelect="none":n.onmousedown=function(){return!1},n.style.cursor="default"}
function mousedwn(n){try{if(2==event.button||3==event.button)return!1}catch(n){if(3==n.which)return!1}}
window.onload=function(){disableSelection(document.body)},document.oncontextmenu=function(){return!1},document.ondragstart=function(){return!1},document.onmousedown=mousedwn,window.addEventListener("keydown",function(n){!n.ctrlKey||65!=n.which&&66!=n.which&&67!=n.which&&80!=n.which&&83!=n.which&&85!=n.which||n.preventDefault()}),document.keypress=function(n){return n.ctrlKey&&(65==n.which||66==n.which||67==n.which||80==n.which||83==n.which||n.which),!1},document.onkeydown=function(n){if(n=n||window.event,123==n.keyCode||18==n.keyCode)return!1};const toggle=document.querySelector("#toggle"),hamburger=document.querySelector(".hamburger-icon"),mobile_menu=document.querySelector(".st-menu-mobile__navigation");toggle.onclick=function(){hamburger.classList.toggle("active"),mobile_menu.classList.toggle("active")};const menu_list=document.querySelectorAll(".st-menu-mobile__list > li.has-children > a");menu_list.forEach((e,t)=>{e.onclick=function(e){e.preventDefault();const l=this.nextElementSibling,o=this.parentElement;l.classList.toggle("active"),o.classList.toggle("active-menu-item"),l.style.maxHeight?l.style.maxHeight=null:(reset_mobile_menu(t),l.style.maxHeight=l.scrollHeight+"px")}}),reset_mobile_menu=(e=>{menu_list.forEach((t,l)=>{const o=t.nextElementSibling,n=t.parentElement;e!==l&&n.classList.contains("active-menu-item")&&n.classList.remove("active-menu-item"),o.style.maxHeight&&(o.style.maxHeight=null)})});const menu_list_footer=document.querySelectorAll(".footer-menu__block > h3");menu_list_footer.forEach(e=>{e.onclick=function(){const e=this.nextElementSibling;e.style.maxHeight?e.style.maxHeight=null:e.style.maxHeight=e.scrollHeight+"px"}});const menu_list_footer_update=document.querySelectorAll(".footer-update__menu-block > h3");menu_list_footer_update.forEach(e=>{e.onclick=function(){const e=this.nextElementSibling;e.classList.contains("collapsable-list")&&(e.style.maxHeight?e.style.maxHeight=null:e.style.maxHeight=e.scrollHeight+"px")}});const wa_button=document.querySelector(".whatsapp-button"),wa_panel=document.querySelector(".whatsapp");wa_button&&wa_button.addEventListener("click",function(t){wa_panel.classList.toggle("active")});function selectAccordionItem(e){const t=this.nextElementSibling,o=this.parentElement;t.style.maxHeight?t.style.maxHeight=null:(resetAccordions(),t.style.maxHeight=t.scrollHeight+"px"),o.classList.toggle("active")}
function resetAccordions(){home_faqs.forEach(e=>{e.classList.contains("active")&&e.classList.remove("active")}),home_faqs_contents.forEach(e=>{e.style.maxHeight&&(e.style.maxHeight=null)})}
function selectAccordionItem100(e){console.log(this),console.log(e)}
const cta_mobile=document.querySelector(".cta-mobile-popup-container");cta_mobile&&window.addEventListener("scroll",function(o){last_known_scroll_position=window.scrollY,console.log(last_known_scroll_position),last_known_scroll_position>=400?cta_mobile.style.bottom="0px":cta_mobile.style.bottom="-70px"});