1class TableSwitch extends HTMLElement{constructor(){super(),this.tabs=[...this.querySelectorAll(".js-table-btn")],this.tabPanels=this.querySelectorAll("[data-size-guide-table]"),this.tabs.forEach(tab=>{tab.addEventListener("click",this.showTabPanel)})}showTabPanel=()=>{const target=event.target,targetUnit=target.getAttribute("data-unit"),tabPanelToOpen=this.querySelector(`[data-size-guide-table=${targetUnit}]`);this.tabPanels.forEach(tabPanel=>{tabPanel.style.display="none",tabPanel.removeAttribute("tabindex"),tabPanel.setAttribute("aria-hidden",!0)}),this.tabs.forEach(tab=>{tab.setAttribute("aria-selected","false"),tab.classList.remove("active")}),tabPanelToOpen.style.display="block",tabPanelToOpen.setAttribute("tabindex",-1),tabPanelToOpen.setAttribute("aria-hidden",!1),target.setAttribute("aria-selected","true"),target.classList.add("active")}}customElements.define("table-switch",TableSwitch); 2//# sourceMappingURL=/cdn/shop/t/1925/assets/component-table-switch.js.map?v=155068769699679948201790111127
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.