document.querySelectorAll(".plan-nav .nav-item .nav-link").forEach(function(e){var n=document.getElementsByClassName("month"),t=document.getElementsByClassName("annual");if(1==e.classList.contains("active"))for(var l=0;l<n.length;l++)t[l].style.display="none",n[l].style.display="block"}),document.getElementById("month-tab").addEventListener("click",function(){for(var e=document.getElementsByClassName("month"),n=document.getElementsByClassName("annual"),t=0;t<e.length;t++)n[t]&&(n[t].style.display="none"),e[t]&&(e[t].style.display="block")}),document.getElementById("annual-tab").addEventListener("click",function(){for(var e=document.getElementsByClassName("month"),n=document.getElementsByClassName("annual"),t=0;t<e.length;t++)n[t]&&(n[t].style.display="block"),e[t]&&(e[t].style.display="none")});