/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/timekeeper@2.3.1/lib/timekeeper.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e,n,t){t=t(),"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=t),exports[e]=t):n[e]=t}("timekeeper",this,(function(){var e=Date,n={},t=null,r=null,o=null;function u(){return r+(e.now()-o)}function i(n,o,i,f,c,p,w){var l=arguments.length;if(this instanceof e){if(!l&&t)return new e(t.getTime());if(!l&&r)return new e(u());var s=1==l&&String(n)===n?new e(e.parse(n)):l>=7?new e(n,o,i,f,c,p,w):l>=6?new e(n,o,i,f,c,p):l>=5?new e(n,o,i,f,c):l>=4?new e(n,o,i,f):l>=3?new e(n,o,i):l>=2?new e(n,o):l>=1?new e(n):new e;return s.constructor=e,s}return e.apply(this,arguments)}function f(){Date=i}return function(){for(var n in e)i[n]=e[n]}(),i.UTC=e.UTC,i.parse=e.parse,i.prototype=e.prototype,i.prototype.constructor=e,i.now=function(){return t?t.getTime():r?u():e.now()},n.freeze=function(n){f(),"object"!=typeof n&&(n=void 0===n?new e:new e(n)),t=n},n.travel=function(u){f(),"object"!=typeof u&&(u=void 0===u?new e:new e(u)),t&&n.freeze(u),r=u.getTime(),o=e.now()},n.reset=function(){Date=e,t=null,o=null,r=null},n.withFreeze=function(e,t){var r;n.freeze(e);try{r=t()}catch(e){throw n.reset(),e}return null!==r&&"object"==typeof r&&"function"==typeof r.then?(r.then((function(){n.reset()}),(function(){n.reset()})),r):(n.reset(),r)},n.isKeepingTime=function(){return Date===i},n}));
//# sourceMappingURL=/sm/465857afca44abd86132dcfb1cc0065ed2646e33f53bb640f8c06aa2559d5d65.map