PageSourceSearch

https://kontainer.com/_nuxt/CScwt_pB.js

js kontainer.com collected 2026-10-02 03:23:27 UTC 1,176 bytes, 1 lines download raw bytes

1import{F as e,I as t,ct as n}from"./CoWASL6P.js";import{n as r,t as i}from"./CwNu1T3Y.js";function a(e,t,n){if(!e.length)return-1;let r=e.findIndex(e=>e>t-1),i=r<0?e.length-1:r;return Math.max(0,Math.min(e.length-1,i+n))}var o=`is-out-of-view`;function s(s=()=>!1){let c=n(null),l=n(!1),u=n(!0),d=n(!1),f=()=>{let e=c.value;if(!e)return;let t=e.scrollWidth-e.clientWidth;l.value=!s()&&t>1,u.value=e.scrollLeft<=1,d.value=e.scrollLeft>=t-1,e.children.length!==h&&_()},p=e=>{let t=c.value;if(!t)return;let n=[...t.children],r=t.getBoundingClientRect().left+(parseFloat(getComputedStyle(t).scrollPaddingLeft)||0);n[a(n.map(e=>e.getBoundingClientRect().left),r,e)]?.scrollIntoView({block:`nearest`,inline:`start`})},m=[],h=0,g=()=>{m.forEach(e=>e()),m=[]},_=()=>{let e=c.value;if(!e)return;g();let t=getComputedStyle(e),n=parseFloat(t.paddingLeft)||0,r=`0px -${parseFloat(t.paddingRight)||0}px 0px -${n}px`;m=[...e.children].map(t=>i(t,e=>{t.classList.toggle(o,!e.isIntersecting)},{root:e,rootMargin:r})),h=e.children.length},v;return e(()=>{f(),c.value&&(_(),v=r(c.value,f))}),t(()=>{v?.(),g()}),{track:c,canScroll:l,atStart:u,atEnd:d,updateEnds:f,scrollByCard:p}}export{s as t};

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.