$(document).ready(function(){$("#basic-pills-wizard").bootstrapWizard({tabClass:"nav nav-pills nav-justified"}),$("#progrss-wizard").bootstrapWizard({onTabShow:function(t,e,r){r=(r+1)/e.find("li").length*100;$("#progrss-wizard").find(".progress-bar").css({width:r+"%"})}})});var triggerTabList=document.querySelectorAll(".twitter-bs-wizard-nav .nav-link-bs"),triggerTabList2=(triggerTabList.forEach(function(e){e.addEventListener("click",function(t){t.preventDefault();t=document.querySelectorAll(".twitter-bs-wizard-nav  .nav-link-bs");t&&t.forEach(function(t){t.classList.remove("active")});document.querySelectorAll(".twitter-bs-wizard-tab-content .tab-pane").forEach(function(t){t.classList.remove("active")});t=e.getAttribute("href");e.classList.add("active"),document.querySelector(t).classList.add("active")})}),document.querySelectorAll(".twitter-wizard-nav .nav-link"));triggerTabList2.forEach(function(a){a.addEventListener("click",function(t){t.preventDefault();var e,t=t.target.parentNode,r=(t&&(r=(t=t.classList).contains("progress-seller-details"),e=document.querySelector(".progress-bar"))&&(r&&(e.style.width="25%"),t.contains("progress-company-document")&&(e.style.width="50%"),t.contains("progress-bank-detail")&&(e.style.width="75%"),t.contains("progress-confirm-detail"))&&(e.style.width="100%"),document.querySelectorAll(".twitter-wizard-nav .nav-link"));r&&r.forEach(function(t){t.classList.remove("active")});document.querySelectorAll(".twitter-wizard .tab-content .tab-pane").forEach(function(t){t.classList.remove("active")});t=a.getAttribute("href");a.classList.add("active"),document.querySelector(t).classList.add("active")})});