1import{k as t,l as _,i as c,o as d}from"./u0P9tt4z.js";import{l as m}from"./Cf6r8cEt.js";function y(e,a,n=a){var s=t();m(e,"input",r=>{var l=r?e.defaultValue:e.value;if(l=v(e)?f(l):l,n(l),s&&l!==(l=a())){var u=e.selectionStart,o=e.selectionEnd;e.value=l??"",o!==null&&(e.selectionStart=u,e.selectionEnd=Math.min(o,e.value.length))}}),(_&&e.defaultValue!==e.value||c(a)==null&&e.value)&&n(v(e)?f(e.value):e.value),d(()=>{var r=a();v(e)&&r===f(e.value)||e.type==="date"&&!r&&!e.value||r!==e.value&&(e.value=r??"")})}function v(e){var a=e.type;return a==="number"||a==="range"}function f(e){return e===""?null:+e}export{y as b};
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.