1/*! Copyright (c) Safe As Milk. All rights reserved. */class RecentSearches extends HTMLElement{constructor(){super(),this.update()}update(){const recentSearchesStoredString=localStorage.getItem("recentSearches");if(recentSearchesStoredString){const ul=this.querySelector("ul"),recentSearchesStored=JSON.parse(recentSearchesStoredString);recentSearchesStored.length>0&&(this.parentElement.classList.add("has-recent-searches"),ul.innerHTML=recentSearchesStored.reverse().reduce(((innerHTML,item)=>` 2 ${innerHTML} 3 <li class="search__nav-item"> 4 <a href="${item.uri}" class="search__nav-link">${item.query}</a> 5 </li> 6 `),""),this.removeAttribute("hidden"))}}}customElements.define("recent-searches",RecentSearches); 7//# sourceMappingURL=/cdn/shop/t/30/assets/recent-searches.js.map?v=67153266499646866251765991778
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.