1document.addEventListener("dialog:after-show",event=>{const drawer=event.target;if(!drawer||drawer.id!=="search-drawer")return;const input=drawer.querySelector("#search-drawer-input");input&&requestAnimationFrame(()=>input.focus())},!0),(()=>{const predictiveSearch=document.getElementById("predictive-search"),input=document.getElementById("search-drawer-input");if(!predictiveSearch||!input)return;const SKELETON='<slot name="skeleton"></slot>',PLACEHOLDER='<slot name="placeholder"></slot>',STUCK_DELAY=1e4;let stuckTimer;input.addEventListener("input",()=>{const shadow=predictiveSearch.shadowRoot;shadow&&input.value.trim()!==""&&shadow.innerHTML!==SKELETON&&(shadow.innerHTML=SKELETON,clearTimeout(stuckTimer),stuckTimer=setTimeout(()=>{shadow.innerHTML===SKELETON&&(shadow.innerHTML=PLACEHOLDER)},STUCK_DELAY))});const results=predictiveSearch.querySelector('[slot="results"]');if(!results)return;const fadeIn=image=>{if(image.setAttribute("data-ax-fade",""),image.complete){image.classList.add("is-loaded");return}const reveal=()=>image.classList.add("is-loaded");image.addEventListener("load",reveal,{once:!0}),image.addEventListener("error",reveal,{once:!0})};new MutationObserver(()=>{clearTimeout(stuckTimer),results.querySelectorAll(".product-card__image--primary:not([data-ax-fade])").forEach(fadeIn)}).observe(results,{childList:!0,subtree:!0})})(),document.addEventListener("reset",event=>{const input=event.target.querySelector?.(".ax-search__input");input&&(event.preventDefault(),input.value="",input.focus())}); 2//# sourceMappingURL=/cdn/shop/t/4/assets/ax-search.js.map?v=35820209326577726131786011914
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.