PageSourceSearch

https://www.peacockalley.com/cdn/shop/t/590/assets/predictive-sear…?v=62453718846469321271789501974

js peacockalley.com collected 2026-09-24 20:02:44 UTC 1,004 bytes, 2 lines download raw bytes

1class PredictiveSearchModal extends HTMLElement{constructor(){super(),this.searchIcon=this.querySelector(".icon-search"),this.hideSearchIcon=this.querySelector(".icon-close"),this.searchContainer=this.querySelector(".search__container"),this.searchField=document.querySelector(".mobile-search-bar"),this.searchContainer.addEventListener("click",this.onIconClick.bind(this))}isOpen(){return!this.searchField.classList.contains("hide")}onIconClick(e){var t;e.preventDefault(),this.isOpen()?(this.hideSearchIcon.classList.add("hide"),this.searchIcon.classList.remove("hide"),this.searchField.classList.add("hide")):(this.hideSearchIcon.classList.remove("hide"),this.searchIcon.classList.add("hide"),this.searchField.classList.remove("hide"),document.documentElement.style.setProperty("--announce-height","102px"),(t=this.searchField.querySelector(".search__input"))&&t.focus())}}customElements.define("predictive-search-modal",PredictiveSearchModal);
2//# sourceMappingURL=predictive-search-modal.min.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.