.pragma library const friction = 0.96; const touchpadSpeed = 3.5; const mouseWheelSpeed = 60; const momentumRetention = 0.92; const momentumDeltaFactor = 0.15; const maxMomentumVelocity = 2500; const minMomentumVelocity = 50; const momentumStopThreshold = 5; const velocitySampleWindowMs = 100; const momentumTimeThreshold = 50; const flickDeceleration = 1500; const maximumFlickVelocity = 2000;