System.register(["./index-legacy-DF2p3puw.js"],(function(e,n){"use strict";var t;return{setters:[function(e){t=e.r}],execute:function(){e("u",(function(e){var n=t.useRef(null),r=t.useCallback((function(){e(),n.current=requestAnimationFrame(r)}),[e]);t.useEffect((function(){return n.current=requestAnimationFrame(r),function(){return cancelAnimationFrame(n.current)}}),[e,r])})),e("a",(function(e,n,r){return t.useEffect((function(){var t=e.current;if(t)return t.addEventListener(n,r),function(){return t.removeEventListener(n,r)}}),[r,n,e])}))}}}));
