default_first_tab_published_site


// Get all the 'w-tabs' elements on the page
var allTabs = document.querySelectorAll(".w-tabs");

// Loop through each 'w-tabs' element
allTabs.forEach(function(tabs) {
  // Select the first tab link and the first tab pane within this specific 'w-tabs' container
  var firstTab = tabs.querySelector(".w-tab-link:first-child");
  var firstTabPane = tabs.querySelector(".w-tab-pane:first-child");

  // Check if the elements exist to avoid errors
  if (firstTab && firstTabPane) {
    // Add the 'w--current' class to the first tab link and pane to make them active
    firstTab.classList.add("w--current");
    firstTabPane.classList.add("w--current");
  }
});