PageSourceSearch

https://traton.com/.resources/vw-tab-website-light-module/webresources/v3/js/modules/SearchBar-bdcd7fc7.js

js traton.com collected 2026-10-02 05:22:09 UTC 664 bytes, 1 lines download raw bytes

1function n(t){const i=t.querySelector('input[name="searchTerm"]'),e=t.querySelector(".search-reset"),s="search-reset--shown";this.init=function(){i.removeEventListener("keyup",this.handleShowHideReset.bind(this)),i.addEventListener("keyup",this.handleShowHideReset.bind(this)),e.removeEventListener("click",this.hideReset),e.addEventListener("click",this.hideReset)},this.handleShowHideReset=function(){i.value.length>0?this.showReset():this.hideReset()},this.showReset=function(){e.classList.contains(s)||e.classList.add(s)},this.hideReset=function(){e.classList.contains(s)&&e.classList.remove(s)},this.init()}function h(t){return new n(t)}export{h as Factory};

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.