PageSourceSearch

https://www.jaipurliteraturefestival.org/assets/use-in-view-DzIi82OH.js

js jaipurliteraturefestival.org collected 2026-10-02 04:10:39 UTC 823 bytes, 1 lines download raw bytes

1import{r as p}from"./index-DqfSOjmI.js";import{P as g}from"./AppRoutes-BLHaUkVT.js";const E={some:0,all:1};function I(s,r,{root:i,margin:c,amount:t="some"}={}){const f=g(s),n=new WeakMap,u=a=>{a.forEach(e=>{const l=n.get(e.target);if(e.isIntersecting!==!!l)if(e.isIntersecting){const d=r(e);typeof d=="function"?n.set(e.target,d):o.unobserve(e.target)}else typeof l=="function"&&(l(e),n.delete(e.target))})},o=new IntersectionObserver(u,{root:i,rootMargin:c,threshold:typeof t=="number"?t:E[t]});return f.forEach(a=>o.observe(a)),()=>o.disconnect()}function m(s,{root:r,margin:i,amount:c,once:t=!1}={}){const[f,n]=p.useState(!1);return p.useEffect(()=>{if(!s.current||t&&f)return;const u=()=>(n(!0),t?void 0:()=>n(!1)),o={root:r&&r.current||void 0,margin:i,amount:c};return I(s.current,u,o)},[r,s,i,t,c]),f}export{m as u};

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.