PageSourceSearch

https://fbned.nl/build/app/assets/js/association/controller/input-list-BVSPKF8_.js

js fbned.nl collected 2026-10-04 13:12:24 UTC 1,640 bytes, 1 lines download raw bytes

1import l from"../../../../../_virtual/jquery-BmT8mmiG.js";class v{constructor(e){this.$input=e}initialize(){let e=this.$input,c=this.$input.attr("list"),o=document.createElement("ul"),f=document.getElementById(c),t=l(o),g=e.outerHeight(),p=e.height(),u=(g-p)/4;const h=window.getComputedStyle(this.$input.get(0),null),d=h.getPropertyValue("line-height").replace("px",""),r=4;o.classList.add("fake-select"),l(f).find("option").each(function(i,a){let n=document.createElement("li");n.classList.add("fake-option"),n.setAttribute("data-value",a.value);let s=document.createElement("a");s.href="#",s.innerText=a.textContent,l(s).css({cursor:"default",display:"block"}).on("click",function($){$.preventDefault(),e.val(a.value),t.hide()}),n.appendChild(s),o.appendChild(n),l(n).css({"min-height":p+"px","line-height":d+"px","list-style":"none",padding:u.toString()+"px"})}),t.css({position:"absolute",zIndex:9999,margin:0,background:h.getPropertyValue("background-color"),"box-shadow":"0 0 5pt 2pt #D3D3D3","max-height":`calc(${d*r}px + ${u*2*r}px)`,overflow:"auto"}),t.hide(),this.$input.after(t),this.$input.on("focus",()=>{let i=e.position();t.css({top:(i.top+e.outerHeight()).toString()+"px",left:i.left+"px","min-width":e.outerWidth()+"px"}),this.$input.trigger("input")}),this.$input.on("input",()=>{if(this.$input.val()){let i=t.find(`li[data-value^="${parseFloat(this.$input.val())}"]`);t.find("li").hide(),i.show(),i.length===0?t.hide():t.show()}else t.find("li").show(),t.show()}),this.$input.on("blur",i=>{o.contains(i.relatedTarget)||t.hide()}),this.$input.removeAttr("list"),l(window).on("resize",()=>t.hide())}}export{v as default};

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.