PageSourceSearch

https://www.dcm.co.uk/dist/assets/tabs_controller-iaZJc5WD.js

js dcm.co.uk collected 2026-10-02 10:26:30 UTC 690 bytes, 2 lines download raw bytes

1import{C as r}from"./controller-DL_XDwt0.js";import"./app-CQlf5mo4.js";class c extends r{static get targets(){return["tab","panel","select"]}connect(){this.showTab(0)}select(t){const e=this.tabTargets.indexOf(t.currentTarget);this.showTab(e)}selectFromDropdown(t){const e=Number.parseInt(t.currentTarget.value,10);Number.isNaN(e)||this.showTab(e)}showTab(t){this.tabTargets.forEach((e,s)=>{e.classList.toggle("is-active",s===t),e.setAttribute("aria-selected",s===t)}),this.hasSelectTarget&&this.selectTarget.value!==String(t)&&(this.selectTarget.value=String(t)),this.panelTargets.forEach((e,s)=>{e.hidden=s!==t})}}export{c as default};
2//# sourceMappingURL=tabs_controller-iaZJc5WD.js.map

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.