import"./index.a6a7b83e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cb3bdee3-ff47-4c0c-9099-631ab4cb990e",e._sentryDebugIdIdentifier="sentry-dbid-cb3bdee3-ff47-4c0c-9099-631ab4cb990e")}catch{}})();const i=1e3,c=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var o;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(o=e.interval)!=null?o:i)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{c as u};
//# sourceMappingURL=polling.e06ad7b5.js.map
