/*! For license information please see set-interval-async.iife.js.LICENSE.txt */ var SetIntervalAsync;(()=>{var e={912:e=>{e.exports=function(e,t){return t.get?t.get.call(e):t.value},e.exports.__esModule=!0,e.exports.default=e.exports},448:e=>{e.exports=function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}},e.exports.__esModule=!0,e.exports.default=e.exports},69:e=>{e.exports=function(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)},e.exports.__esModule=!0,e.exports.default=e.exports},468:(e,t,r)=>{var n=r(912),a=r(69);e.exports=function(e,t){var r=a(e,t,"get");return n(e,r)},e.exports.__esModule=!0,e.exports.default=e.exports},661:(e,t,r)=>{var n=r(448),a=r(69);e.exports=function(e,t,r){var s=a(e,t,"set");return n(e,s,r),r},e.exports.__esModule=!0,e.exports.default=e.exports},836:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearIntervalAsync=void 0;const n=r(572);t.clearIntervalAsync=async function(e){if(!(e instanceof n.SetIntervalAsyncTimer))throw new TypeError("First argument is not an instance of SetIntervalAsyncTimer");await n.SetIntervalAsyncTimer.stopTimer(e)}},653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setIntervalAsync=t.clearIntervalAsync=void 0;const n=r(874);Object.defineProperty(t,"clearIntervalAsync",{enumerable:!0,get:function(){return n.clearIntervalAsync}});const a=r(572);t.setIntervalAsync=function(e,t){if("function"!=typeof e)throw new TypeError("First argument is not a function");if("number"!=typeof t)throw new TypeError("Second argument is not a number");for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setIntervalAsync=t.clearIntervalAsync=void 0;const n=r(874);Object.defineProperty(t,"clearIntervalAsync",{enumerable:!0,get:function(){return n.clearIntervalAsync}});const a=r(572);t.setIntervalAsync=function(e,t){if("function"!=typeof e)throw new TypeError("First argument is not a function");if("number"!=typeof t)throw new TypeError("Second argument is not a number");for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s{"use strict";var n=r(836),a=n(r(468)),s=n(r(661));function o(e,t){c(e,t),t.add(e)}function i(e,t,r){c(e,t),t.set(e,r)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function l(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}Object.defineProperty(t,"__esModule",{value:!0}),t.SetIntervalAsyncTimer=void 0;var u=new WeakMap,f=new WeakMap,v=new WeakMap,y=new WeakSet,d=new WeakSet;class p{constructor(){o(this,d),o(this,y),i(this,u,{writable:!0,value:void 0}),i(this,f,{writable:!0,value:void 0}),i(this,v,{writable:!0,value:!1})}static startTimer(e,t,r){r=Math.min(Math.max(Math.trunc(r),10),2147483647);const n=new p;for(var a=arguments.length,s=new Array(a>3?a-3:0),o=3;o4?o-4:0),c=4;c{(0,s.default)(this,u,void 0),(0,s.default)(this,f,l(this,d,m).call(this,e,t,r,...i)),await(0,a.default)(this,f),(0,s.default)(this,f,void 0)}),n))}async function m(e,t,r){const n=(new Date).getTime();for(var s=arguments.length,o=new Array(s>3?s-3:0),i=3;ia?r-a:0:r;l(this,y,w).call(this,e,t,r,s,...o)}}}t.SetIntervalAsyncTimer=p}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.fixed=e.dynamic=e.clearIntervalAsync=e.setIntervalAsync=void 0;const t=r(874);Object.defineProperty(e,"clearIntervalAsync",{enumerable:!0,get:function(){return t.clearIntervalAsync}});const a=r(653),s=r(670),o=a.setIntervalAsync;e.setIntervalAsync=o;const i={setIntervalAsync:a.setIntervalAsync};e.dynamic=i;const c={setIntervalAsync:s.setIntervalAsync};e.fixed=c})(),SetIntervalAsync=n})();