"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[26883],{96781:function(n,e,u){u.d(e,{Y:function(){return r}});var t=u(59301);function r(n,e){var u=(0,t.useRef)(),r=(0,t.useRef)();(0,t.useEffect)((function(){u.current=n})),(0,t.useEffect)((function(){if(null!==e){var n=setInterval((function(){u.current()}),e);return r.current=n,function(){return clearInterval(n)}}}),[e])}}}]);