PageSourceSearch

https://trybounty.ai/assets/landing-source-reveal-DRkYsb80.js

js trybounty.ai collected 2026-10-05 13:09:28 UTC 2,798 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[t]=`fdc3be22-e29f-4ad3-837e-f6c615ded3b9`)}catch{}})();import{r as e}from"./rolldown-runtime-Dp6oDxSW.js";import{n as t,t as n}from"./jsx-runtime-BN_2YB3D.js";import{r,t as i}from"./utils-Czoftbae.js";var a=e(t(),1),o=r(),s=new Set,c=new Set,l=0,u=0,d=!1;function f(){u=0,s.forEach(e=>{e.active&&e.apply()}),c.forEach(e=>e())}function p(){!l&&!c.size||u||(u=window.requestAnimationFrame(f))}function m(){document.visibilityState===`visible`&&p()}function h(){d||(d=!0,window.addEventListener(`scroll`,p,{passive:!0}),window.addEventListener(`resize`,p),document.addEventListener(`visibilitychange`,m))}function g(){d&&(d=!1,window.removeEventListener(`scroll`,p),window.removeEventListener(`resize`,p),document.removeEventListener(`visibilitychange`,m),u&&window.cancelAnimationFrame(u),u=0)}function _(e,t){let n={active:!1,apply:t,observer:new IntersectionObserver(([e])=>{e.isIntersecting!==n.active&&(n.active=e.isIntersecting,l+=e.isIntersecting?1:-1,e.isIntersecting&&p())},{rootMargin:`800px 0px`})};return t(),n.observer.observe(e),s.add(n),h(),{refresh:p,dispose:()=>{n.observer.disconnect(),n.active&&--l,s.delete(n),!s.size&&!c.size&&g()}}}function v(e){return c.add(e),h(),()=>{c.delete(e),!s.size&&!c.size&&g()}}var y=n(),b=.9;function x(e){let t=(0,o.c)(7),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{fold:r}=n,i=r===void 0?b:r,s=(0,a.useRef)(null),[c,l]=(0,a.useState)(!1),[u,d]=(0,a.useState)(!1),f,p;t[2]===i?(f=t[3],p=t[4]):(f=()=>{let e=s.current;if(!e||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches||e.getBoundingClientRect().top<window.innerHeight)return;let t=`waiting`,n=v(()=>{if(t===`done`)return;let r=e.getBoundingClientRect();if(t===`waiting`){if(r.top<window.innerHeight*i){t=`done`,n();return}t=`armed`,l(!0);return}r.top>=window.innerHeight*i&&r.bottom>=0||(t=`done`,d(!0),n())});return n},p=[i],t[2]=i,t[3]=f,t[4]=p),(0,a.useEffect)(f,p);let m=c?String(u):void 0,h;return t[5]===m?h=t[6]:(h={ref:s,state:m},t[5]=m,t[6]=h),h}function S(e){let t=(0,o.c)(12),{children:n,className:r,delay:a,as:s,"data-figma-id":c}=e,l=a===void 0?0:a,u=s===void 0?`div`:s,{ref:d,state:f}=x(),p=`${l}ms`,m;t[0]===p?m=t[1]:(m={"--reveal-delay":p},t[0]=p,t[1]=m);let h;t[2]===r?h=t[3]:(h=i(`reveal`,r),t[2]=r,t[3]=h);let g;return t[4]!==u||t[5]!==n||t[6]!==c||t[7]!==d||t[8]!==f||t[9]!==m||t[10]!==h?(g=(0,y.jsx)(u,{ref:d,"data-figma-id":c,"data-revealed":f,style:m,className:h,children:n}),t[4]=u,t[5]=n,t[6]=c,t[7]=d,t[8]=f,t[9]=m,t[10]=h,t[11]=g):g=t[11],g}export{_ as i,x as n,v as r,S as t};
2//# chunkId=fdc3be22-e29f-4ad3-837e-f6c615ded3b9

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.