PageSourceSearch

https://hyggekrog.it/cdn/shop/t/6/assets/search-form.aio.min.js?v=26547225439830065451719054246

js hyggekrog.it collected 2026-10-03 21:19:36 UTC 1,063 bytes, 5 lines download raw bytes

1/*
2Generated time: June 22, 2024 11:03
3This file was created by the app developer. Feel free to contact the original developer with any questions. It was minified (compressed) by AVADA. AVADA do NOT own this script.
4*/
5class SearchForm extends HTMLElement{constructor(){super(),this.input=this.querySelector('input[type="search"]'),this.resetButton=this.querySelector('button[type="reset"]'),this.input&&(this.input.form.addEventListener("reset",this.onFormReset.bind(this)),this.input.addEventListener("input",debounce(t=>{this.onChange(t)},300).bind(this)))}toggleResetButton(){var t=this.resetButton.classList.contains("hidden");0<this.input.value.length&&t?this.resetButton.classList.remove("hidden"):0!==this.input.value.length||t||this.resetButton.classList.add("hidden")}onChange(){this.toggleResetButton()}shouldResetForm(){return!document.querySelector('[aria-selected="true"] a')}onFormReset(t){t.preventDefault(),this.shouldResetForm()&&(this.input.value="",this.input.focus(),this.toggleResetButton())}}customElements.define("search-form",SearchForm);

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.