1import{aP as n,aR as d,be as w,b3 as h}from"./3vrl0Mfu.js";const T=t=>n?window.requestAnimationFrame(t):setTimeout(t,16),v=t=>n?window.cancelAnimationFrame(t):clearTimeout(t),m=(t,o)=>{if(!n)return!1;const e={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(o)],l=d(t,e);return["scroll","auto","overlay"].some(s=>l.includes(s))},y=(t,o)=>{if(!n)return;let e=t;for(;e;){if([window,document,document.documentElement].includes(e))return window;if(m(e,o))return e;e=e.parentNode}return e};let i;const g=t=>{var o;if(!n)return 0;if(i!==void 0)return i;const e=document.createElement("div");e.className=`${t}-scrollbar__wrap`,e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const l=e.offsetWidth;e.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",e.appendChild(s);const r=s.offsetWidth;return(o=e.parentNode)==null||o.removeChild(e),i=l-r,i};function S(t,o){if(!n)return;if(!o){t.scrollTop=0;return}const e=[];let l=o.offsetParent;for(;l!==null&&t!==l&&t.contains(l);)e.push(l),l=l.offsetParent;const s=o.offsetTop+e.reduce((u,a)=>u+a.offsetTop,0),r=s+o.offsetHeight,c=t.scrollTop,f=c+t.clientHeight;s<c?t.scrollTop=s:r>f&&(t.scrollTop=r-t.clientHeight)}export{y as a,v as c,g,T as r,S as s};
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.