1class PriceRange extends HTMLElement{connectedCallback(){this.abortController=new AbortController,this.querySelectorAll("input").forEach(element=>{element.addEventListener("change",this.onRangeChange.bind(this),{signal:this.abortController.signal}),element.addEventListener("keydown",this.onKeyDown.bind(this),{signal:this.abortController.signal})}),this.setMinAndMaxValues()}disconnectedCallback(){this.abortController.abort()}onRangeChange(event){this.adjustToValidValues(event.currentTarget),this.setMinAndMaxValues()}onKeyDown(event){if(event.metaKey)return;const pattern=/[0-9]|\.|,|'| |Tab|Backspace|Enter|ArrowUp|ArrowDown|ArrowLeft|ArrowRight|Delete|Escape/;event.key.match(pattern)||event.preventDefault()}setMinAndMaxValues(){const inputs=this.querySelectorAll("input"),minInput=inputs[0],maxInput=inputs[1];maxInput.value&&minInput.setAttribute("data-max",maxInput.value),minInput.value&&maxInput.setAttribute("data-min",minInput.value),minInput.value===""&&maxInput.setAttribute("data-min",0),maxInput.value===""&&minInput.setAttribute("data-max",maxInput.getAttribute("data-max"))}adjustToValidValues(input){const value=Number(input.value),min=Number(input.getAttribute("data-min")),max=Number(input.getAttribute("data-max"));value<min&&(input.value=min),value>max&&(input.value=max)}}customElements.define("price-range-text",PriceRange); 2//# sourceMappingURL=/cdn/shop/t/5/assets/list.filter-grid.price-range-text.js.map?v=49452109150009672021777915747
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.