Module 103733

339 characters · in 714e2297013d06f0.js
Dependencies
Required by (2)
Lazily required by (0)none
Requires (2)
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{U:()=>a});var i=n(64700),r=n(172218);let a=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],[t,n]=(0,i.useState)(1),a=(0,i.useMemo)(()=>({threshold:Array.from({length:101},(e,t)=>t/100)}),[]);return{visibilityPercentageRef:(0,r.B)(e=>{n(e.intersectionRatio)},a,e),visibilityPercentage:t}}}