let nonLinearSlider=document.getElementById("price-filter");if(nonLinearSlider){noUiSlider.create(nonLinearSlider,{connect:!0,behaviour:"tap",start:[1e3,2500],range:{min:[1],max:[9999]},format:{to:function(e){return"$"+Math.round(e)},from:function(e){return Number(e.replace("$",""))}}});let r=[document.getElementById("price-filter-low"),document.getElementById("price-filter-high")];nonLinearSlider.noUiSlider.on("update",function(e,n){r[n].innerHTML=e[n]})}