import"./index.fa78dbc3.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]="69a72e0b-1dde-43b1-a517-6bcdc7862dee",e._sentryDebugIdIdentifier="sentry-dbid-69a72e0b-1dde-43b1-a517-6bcdc7862dee")}catch{}})();const l=1e3,r=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var d;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(d=e.interval)!=null?d:l)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{r as u};
//# sourceMappingURL=polling.3a62e36e.js.map
