extra-game-loop 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
 
7
7
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
8
 
9
- var es2018$e = {};
9
+ var es2018$f = {};
10
10
 
11
11
  var box = {};
12
12
 
@@ -29,7 +29,7 @@
29
29
 
30
30
  var cons = {};
31
31
 
32
- var es2018$d = {};
32
+ var es2018$e = {};
33
33
 
34
34
  var array$2 = {};
35
35
 
@@ -641,10 +641,10 @@
641
641
  __exportStar(url$2, exports);
642
642
  __exportStar(regexp$2, exports);
643
643
 
644
- } (es2018$d));
644
+ } (es2018$e));
645
645
 
646
646
  cons.convertArrayToCons = cons.convertConsToArray = void 0;
647
- const types_1$X = es2018$d;
647
+ const types_1$X = es2018$e;
648
648
  function convertConsToArray([value, next]) {
649
649
  if ((0, types_1$X.isNull)(next)) {
650
650
  return [value];
@@ -805,17 +805,17 @@
805
805
 
806
806
  var lruMap = {};
807
807
 
808
- var es2018$c = {};
808
+ var es2018$d = {};
809
809
 
810
810
  var customError = {};
811
811
 
812
- var es2018$b = {};
812
+ var es2018$c = {};
813
813
 
814
814
  var middleware$2 = {};
815
815
 
816
816
  var chunkAsync$4 = {};
817
817
 
818
- var es2018$a = {};
818
+ var es2018$b = {};
819
819
 
820
820
  var go$1 = {};
821
821
 
@@ -844,11 +844,11 @@
844
844
 
845
845
  var goMacrotask$1 = {};
846
846
 
847
- var es2018$9 = {};
847
+ var es2018$a = {};
848
848
 
849
849
  var exponentialBackoff = {};
850
850
 
851
- var es2018$8 = {};
851
+ var es2018$9 = {};
852
852
 
853
853
  var random$1 = {};
854
854
 
@@ -892,10 +892,10 @@
892
892
  __exportStar(randomInt$1, exports);
893
893
  __exportStar(randomIntInclusive$1, exports);
894
894
 
895
- } (es2018$8));
895
+ } (es2018$9));
896
896
 
897
897
  exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
898
- const extra_rand_1 = es2018$8;
898
+ const extra_rand_1 = es2018$9;
899
899
  function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
900
900
  const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
901
901
  if (jitter) {
@@ -1010,10 +1010,10 @@
1010
1010
  __exportStar(setTimeoutLoop$1, exports);
1011
1011
  __exportStar(setDynamicTimeoutLoop$1, exports);
1012
1012
 
1013
- } (es2018$9));
1013
+ } (es2018$a));
1014
1014
 
1015
1015
  goMacrotask$1.goMacrotask = void 0;
1016
- const extra_timers_1$2 = es2018$9;
1016
+ const extra_timers_1$2 = es2018$a;
1017
1017
  function goMacrotask(fn) {
1018
1018
  return new Promise((resolve, reject) => {
1019
1019
  (0, extra_timers_1$2.setImmediate)(async () => {
@@ -1046,7 +1046,7 @@
1046
1046
  __exportStar(goMicrotask$1, exports);
1047
1047
  __exportStar(goMacrotask$1, exports);
1048
1048
 
1049
- } (es2018$a));
1049
+ } (es2018$b));
1050
1050
 
1051
1051
  var hasRequiredChunkAsync;
1052
1052
 
@@ -1054,7 +1054,7 @@
1054
1054
  if (hasRequiredChunkAsync) return chunkAsync$4;
1055
1055
  hasRequiredChunkAsync = 1;
1056
1056
  chunkAsync$4.chunkAsync = void 0;
1057
- const go_1 = es2018$a;
1057
+ const go_1 = es2018$b;
1058
1058
  const errors_1 = requireEs2018();
1059
1059
  function chunkAsync(iterable, size) {
1060
1060
  (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
@@ -1080,7 +1080,7 @@
1080
1080
  var chunkByAsync$5 = {};
1081
1081
 
1082
1082
  chunkByAsync$5.chunkByAsync = void 0;
1083
- const types_1$W = es2018$d;
1083
+ const types_1$W = es2018$e;
1084
1084
  function chunkByAsync$4(iterable, predicate) {
1085
1085
  if ((0, types_1$W.isAsyncIterable)(iterable)) {
1086
1086
  return chunkByAsyncIterable$2(iterable, predicate);
@@ -1146,7 +1146,7 @@
1146
1146
  if (hasRequiredChunk) return chunk$4;
1147
1147
  hasRequiredChunk = 1;
1148
1148
  chunk$4.chunk = void 0;
1149
- const go_1 = es2018$a;
1149
+ const go_1 = es2018$b;
1150
1150
  const errors_1 = requireEs2018();
1151
1151
  function chunk(iterable, size) {
1152
1152
  (0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
@@ -1172,8 +1172,8 @@
1172
1172
  var concatAsync$5 = {};
1173
1173
 
1174
1174
  concatAsync$5.concatAsync = void 0;
1175
- const types_1$V = es2018$d;
1176
- const go_1$x = es2018$a;
1175
+ const types_1$V = es2018$e;
1176
+ const go_1$x = es2018$b;
1177
1177
  function concatAsync$4(iterable, ...otherIterables) {
1178
1178
  return (0, go_1$x.go)(async function* () {
1179
1179
  for (const iter of [iterable, ...otherIterables]) {
@@ -1195,7 +1195,7 @@
1195
1195
  var concat$9 = {};
1196
1196
 
1197
1197
  concat$9.concat = void 0;
1198
- const go_1$w = es2018$a;
1198
+ const go_1$w = es2018$b;
1199
1199
  function concat$8(iterable, ...otherIterables) {
1200
1200
  return (0, go_1$w.go)(function* () {
1201
1201
  for (const iter of [iterable, ...otherIterables]) {
@@ -1229,7 +1229,7 @@
1229
1229
  if (hasRequiredDropAsync) return dropAsync$4;
1230
1230
  hasRequiredDropAsync = 1;
1231
1231
  dropAsync$4.dropAsync = void 0;
1232
- const go_1 = es2018$a;
1232
+ const go_1 = es2018$b;
1233
1233
  const utils_1 = utils$2;
1234
1234
  const errors_1 = requireEs2018();
1235
1235
  function dropAsync(iterable, count) {
@@ -1272,7 +1272,7 @@
1272
1272
  if (hasRequiredDropRightAsync) return dropRightAsync$4;
1273
1273
  hasRequiredDropRightAsync = 1;
1274
1274
  dropRightAsync$4.dropRightAsync = void 0;
1275
- const go_1 = es2018$a;
1275
+ const go_1 = es2018$b;
1276
1276
  const utils_1 = utils$2;
1277
1277
  const errors_1 = requireEs2018();
1278
1278
  function dropRightAsync(iterable, count) {
@@ -1308,7 +1308,7 @@
1308
1308
  if (hasRequiredDropRight) return dropRight$4;
1309
1309
  hasRequiredDropRight = 1;
1310
1310
  dropRight$4.dropRight = void 0;
1311
- const go_1 = es2018$a;
1311
+ const go_1 = es2018$b;
1312
1312
  const utils_1 = utils$2;
1313
1313
  const errors_1 = requireEs2018();
1314
1314
  function dropRight(iterable, count) {
@@ -1329,7 +1329,7 @@
1329
1329
  var dropUntilAsync$5 = {};
1330
1330
 
1331
1331
  dropUntilAsync$5.dropUntilAsync = void 0;
1332
- const types_1$U = es2018$d;
1332
+ const types_1$U = es2018$e;
1333
1333
  function dropUntilAsync$4(iterable, predicate) {
1334
1334
  if ((0, types_1$U.isAsyncIterable)(iterable)) {
1335
1335
  return dropUntilAsyncIterable$2(iterable, predicate);
@@ -1416,7 +1416,7 @@
1416
1416
  if (hasRequiredDrop) return drop$4;
1417
1417
  hasRequiredDrop = 1;
1418
1418
  drop$4.drop = void 0;
1419
- const go_1 = es2018$a;
1419
+ const go_1 = es2018$b;
1420
1420
  const utils_1 = utils$2;
1421
1421
  const errors_1 = requireEs2018();
1422
1422
  function drop(iterable, count) {
@@ -1454,7 +1454,7 @@
1454
1454
  var filterAsync$5 = {};
1455
1455
 
1456
1456
  filterAsync$5.filterAsync = void 0;
1457
- const types_1$T = es2018$d;
1457
+ const types_1$T = es2018$e;
1458
1458
  function filterAsync$4(iterable, predicate) {
1459
1459
  if ((0, types_1$T.isAsyncIterable)(iterable)) {
1460
1460
  return filterAsyncIterable$2(iterable, predicate);
@@ -1501,7 +1501,7 @@
1501
1501
  var flattenByAsync$5 = {};
1502
1502
 
1503
1503
  flattenByAsync$5.flattenByAsync = void 0;
1504
- const types_1$S = es2018$d;
1504
+ const types_1$S = es2018$e;
1505
1505
  function flattenByAsync$4(iterable, predicate) {
1506
1506
  if ((0, types_1$S.isAsyncIterable)(iterable)) {
1507
1507
  return flattenByAsyncIterable$2(iterable, predicate);
@@ -1575,7 +1575,7 @@
1575
1575
  var flattenBy$5 = {};
1576
1576
 
1577
1577
  flattenBy$5.flattenBy = void 0;
1578
- const types_1$R = es2018$d;
1578
+ const types_1$R = es2018$e;
1579
1579
  function flattenBy$4(iterable, predicate) {
1580
1580
  return flatten$9(iterable, predicate, 1);
1581
1581
  }
@@ -1634,7 +1634,7 @@
1634
1634
  var mapAsync$5 = {};
1635
1635
 
1636
1636
  mapAsync$5.mapAsync = void 0;
1637
- const types_1$Q = es2018$d;
1637
+ const types_1$Q = es2018$e;
1638
1638
  function mapAsync$4(iterable, fn) {
1639
1639
  if ((0, types_1$Q.isAsyncIterable)(iterable)) {
1640
1640
  return mapAsyncIterable$2(iterable, fn);
@@ -1679,7 +1679,7 @@
1679
1679
  if (hasRequiredRepeatAsync) return repeatAsync$4;
1680
1680
  hasRequiredRepeatAsync = 1;
1681
1681
  repeatAsync$4.repeatAsync = void 0;
1682
- const go_1 = es2018$a;
1682
+ const go_1 = es2018$b;
1683
1683
  const errors_1 = requireEs2018();
1684
1684
  function repeatAsync(iterable, times) {
1685
1685
  (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -1722,7 +1722,7 @@
1722
1722
  if (hasRequiredRepeat) return repeat$6;
1723
1723
  hasRequiredRepeat = 1;
1724
1724
  repeat$6.repeat = void 0;
1725
- const go_1 = es2018$a;
1725
+ const go_1 = es2018$b;
1726
1726
  const errors_1 = requireEs2018();
1727
1727
  function repeat(iterable, times) {
1728
1728
  (0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -1765,7 +1765,7 @@
1765
1765
  if (hasRequiredSliceAsync) return sliceAsync$4;
1766
1766
  hasRequiredSliceAsync = 1;
1767
1767
  sliceAsync$4.sliceAsync = void 0;
1768
- const go_1 = es2018$a;
1768
+ const go_1 = es2018$b;
1769
1769
  const errors_1 = requireEs2018();
1770
1770
  function sliceAsync(iterable, start, end = Infinity) {
1771
1771
  (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -1796,7 +1796,7 @@
1796
1796
  if (hasRequiredSlice) return slice$4;
1797
1797
  hasRequiredSlice = 1;
1798
1798
  slice$4.slice = void 0;
1799
- const go_1 = es2018$a;
1799
+ const go_1 = es2018$b;
1800
1800
  const errors_1 = requireEs2018();
1801
1801
  function slice(iterable, start, end = Infinity) {
1802
1802
  (0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -1840,7 +1840,7 @@
1840
1840
  var splitByAsync$5 = {};
1841
1841
 
1842
1842
  splitByAsync$5.splitByAsync = void 0;
1843
- const types_1$P = es2018$d;
1843
+ const types_1$P = es2018$e;
1844
1844
  function splitByAsync$4(iterable, predicate) {
1845
1845
  if ((0, types_1$P.isAsyncIterable)(iterable)) {
1846
1846
  return splitByAsyncIterable$2(iterable, predicate);
@@ -1927,7 +1927,7 @@
1927
1927
  if (hasRequiredTakeAsync) return takeAsync$4;
1928
1928
  hasRequiredTakeAsync = 1;
1929
1929
  takeAsync$4.takeAsync = void 0;
1930
- const go_1 = es2018$a;
1930
+ const go_1 = es2018$b;
1931
1931
  const errors_1 = requireEs2018();
1932
1932
  function takeAsync(iterable, count) {
1933
1933
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -1956,7 +1956,7 @@
1956
1956
  if (hasRequiredTakeRightAsync) return takeRightAsync$4;
1957
1957
  hasRequiredTakeRightAsync = 1;
1958
1958
  takeRightAsync$4.takeRightAsync = void 0;
1959
- const go_1 = es2018$a;
1959
+ const go_1 = es2018$b;
1960
1960
  const errors_1 = requireEs2018();
1961
1961
  function takeRightAsync(iterable, count) {
1962
1962
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -1994,7 +1994,7 @@
1994
1994
  if (hasRequiredTakeRight) return takeRight$4;
1995
1995
  hasRequiredTakeRight = 1;
1996
1996
  takeRight$4.takeRight = void 0;
1997
- const go_1 = es2018$a;
1997
+ const go_1 = es2018$b;
1998
1998
  const errors_1 = requireEs2018();
1999
1999
  function takeRight(iterable, count) {
2000
2000
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -2027,7 +2027,7 @@
2027
2027
  var takeUntilAsync$5 = {};
2028
2028
 
2029
2029
  takeUntilAsync$5.takeUntilAsync = void 0;
2030
- const types_1$O = es2018$d;
2030
+ const types_1$O = es2018$e;
2031
2031
  function takeUntilAsync$4(iterable, predicate) {
2032
2032
  if ((0, types_1$O.isAsyncIterable)(iterable)) {
2033
2033
  return takeUntilAsyncIterable$2(iterable, predicate);
@@ -2078,7 +2078,7 @@
2078
2078
  if (hasRequiredTake) return take$6;
2079
2079
  hasRequiredTake = 1;
2080
2080
  take$6.take = void 0;
2081
- const go_1 = es2018$a;
2081
+ const go_1 = es2018$b;
2082
2082
  const errors_1 = requireEs2018();
2083
2083
  function take(iterable, count) {
2084
2084
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -2102,7 +2102,7 @@
2102
2102
  var tapAsync$5 = {};
2103
2103
 
2104
2104
  tapAsync$5.tapAsync = void 0;
2105
- const types_1$N = es2018$d;
2105
+ const types_1$N = es2018$e;
2106
2106
  function tapAsync$4(iterable, fn) {
2107
2107
  if ((0, types_1$N.isAsyncIterable)(iterable)) {
2108
2108
  return tapAsyncIterable$2(iterable, fn);
@@ -2185,7 +2185,7 @@
2185
2185
  var uniqByAsync$5 = {};
2186
2186
 
2187
2187
  uniqByAsync$5.uniqByAsync = void 0;
2188
- const types_1$M = es2018$d;
2188
+ const types_1$M = es2018$e;
2189
2189
  function uniqByAsync$4(iterable, fn) {
2190
2190
  if ((0, types_1$M.isAsyncIterable)(iterable)) {
2191
2191
  return uniqByAsyncIterable$2(iterable, fn);
@@ -2254,7 +2254,7 @@
2254
2254
  var zipAsync$5 = {};
2255
2255
 
2256
2256
  zipAsync$5.zipAsync = void 0;
2257
- const types_1$L = es2018$d;
2257
+ const types_1$L = es2018$e;
2258
2258
  var Kind$2;
2259
2259
  (function (Kind) {
2260
2260
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -2425,7 +2425,7 @@
2425
2425
  var eachAsync$5 = {};
2426
2426
 
2427
2427
  eachAsync$5.eachAsync = void 0;
2428
- const types_1$K = es2018$d;
2428
+ const types_1$K = es2018$e;
2429
2429
  function eachAsync$4(iterable, fn) {
2430
2430
  if ((0, types_1$K.isAsyncIterable)(iterable)) {
2431
2431
  return eachAsyncIterable$2(iterable, fn);
@@ -2465,7 +2465,7 @@
2465
2465
  var everyAsync$5 = {};
2466
2466
 
2467
2467
  everyAsync$5.everyAsync = void 0;
2468
- const types_1$J = es2018$d;
2468
+ const types_1$J = es2018$e;
2469
2469
  function everyAsync$4(iterable, predicate) {
2470
2470
  if ((0, types_1$J.isAsyncIterable)(iterable)) {
2471
2471
  return everyAsyncIterable$2(iterable, predicate);
@@ -2511,7 +2511,7 @@
2511
2511
  var findAsync$5 = {};
2512
2512
 
2513
2513
  findAsync$5.findAsync = void 0;
2514
- const types_1$I = es2018$d;
2514
+ const types_1$I = es2018$e;
2515
2515
  function findAsync$4(iterable, predicate) {
2516
2516
  if ((0, types_1$I.isAsyncIterable)(iterable)) {
2517
2517
  return findAsyncIterable$2(iterable, predicate);
@@ -2635,7 +2635,7 @@
2635
2635
  var reduceAsync$5 = {};
2636
2636
 
2637
2637
  reduceAsync$5.reduceAsync = void 0;
2638
- const types_1$H = es2018$d;
2638
+ const types_1$H = es2018$e;
2639
2639
  function reduceAsync$4(iterable, fn, initialValue) {
2640
2640
  if ((0, types_1$H.isUndefined)(initialValue)) {
2641
2641
  return reduceAsyncWithoutInitialValue$2(iterable, fn);
@@ -2731,7 +2731,7 @@
2731
2731
  var reduce$7 = {};
2732
2732
 
2733
2733
  reduce$7.reduce = void 0;
2734
- const types_1$G = es2018$d;
2734
+ const types_1$G = es2018$e;
2735
2735
  function reduce$6(iterable, fn, initialValue) {
2736
2736
  if ((0, types_1$G.isUndefined)(initialValue)) {
2737
2737
  return reduceWithoutInitialValue$2(iterable, fn);
@@ -2778,7 +2778,7 @@
2778
2778
  var someAsync$5 = {};
2779
2779
 
2780
2780
  someAsync$5.someAsync = void 0;
2781
- const types_1$F = es2018$d;
2781
+ const types_1$F = es2018$e;
2782
2782
  function someAsync$4(iterable, predicate) {
2783
2783
  if ((0, types_1$F.isAsyncIterable)(iterable)) {
2784
2784
  return someAsyncIterable$2(iterable, predicate);
@@ -3018,7 +3018,7 @@
3018
3018
  var hasRequiredEs2018$1;
3019
3019
 
3020
3020
  function requireEs2018$1 () {
3021
- if (hasRequiredEs2018$1) return es2018$b;
3021
+ if (hasRequiredEs2018$1) return es2018$c;
3022
3022
  hasRequiredEs2018$1 = 1;
3023
3023
  (function (exports) {
3024
3024
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -3037,8 +3037,8 @@
3037
3037
  };__exportStar(requireMiddleware(), exports);
3038
3038
  __exportStar(output$2, exports);
3039
3039
 
3040
- } (es2018$b));
3041
- return es2018$b;
3040
+ } (es2018$c));
3041
+ return es2018$c;
3042
3042
  }
3043
3043
 
3044
3044
  var getErrorNames$1 = {};
@@ -3057,7 +3057,7 @@
3057
3057
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
3058
3058
 
3059
3059
  getErrorNames$1.getErrorNames = void 0;
3060
- const types_1$E = es2018$d;
3060
+ const types_1$E = es2018$e;
3061
3061
  const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
3062
3062
  function* getErrorNames(err) {
3063
3063
  var _a;
@@ -3078,7 +3078,7 @@
3078
3078
  var serializableError = {};
3079
3079
 
3080
3080
  serializableError.isSerializableError = void 0;
3081
- const types_1$D = es2018$d;
3081
+ const types_1$D = es2018$e;
3082
3082
  function isSerializableError(val) {
3083
3083
  return (0, types_1$D.isObject)(val)
3084
3084
  && (0, types_1$D.isString)(val.name)
@@ -3096,7 +3096,7 @@
3096
3096
  customError.CustomError = void 0;
3097
3097
  const iterable_operator_1 = requireEs2018$1();
3098
3098
  const get_error_names_1 = getErrorNames$1;
3099
- const types_1 = es2018$d;
3099
+ const types_1 = es2018$e;
3100
3100
  const serializable_error_1 = serializableError;
3101
3101
  class CustomError extends Error {
3102
3102
  get name() {
@@ -3166,13 +3166,13 @@
3166
3166
 
3167
3167
  var hydrate$1 = {};
3168
3168
 
3169
- var es2018$7 = {};
3169
+ var es2018$8 = {};
3170
3170
 
3171
- var pass$1 = {};
3171
+ var pass$3 = {};
3172
3172
 
3173
- pass$1.pass = void 0;
3174
- function pass() { }
3175
- pass$1.pass = pass;
3173
+ pass$3.pass = void 0;
3174
+ function pass$2() { }
3175
+ pass$3.pass = pass$2;
3176
3176
 
3177
3177
  (function (exports) {
3178
3178
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -3184,12 +3184,12 @@
3184
3184
  }));
3185
3185
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3186
3186
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3187
- };__exportStar(pass$1, exports);
3187
+ };__exportStar(pass$3, exports);
3188
3188
 
3189
- } (es2018$7));
3189
+ } (es2018$8));
3190
3190
 
3191
3191
  hydrate$1.hydrate = void 0;
3192
- const pass_1 = es2018$7;
3192
+ const pass_1 = es2018$8;
3193
3193
  function hydrate(err) {
3194
3194
  var _a;
3195
3195
  const errorNames = [err.name, ...err.ancestors]
@@ -3235,7 +3235,7 @@
3235
3235
  var hasRequiredEs2018;
3236
3236
 
3237
3237
  function requireEs2018 () {
3238
- if (hasRequiredEs2018) return es2018$c;
3238
+ if (hasRequiredEs2018) return es2018$d;
3239
3239
  hasRequiredEs2018 = 1;
3240
3240
  (function (exports) {
3241
3241
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -3260,18 +3260,18 @@
3260
3260
  __exportStar(getErrorNames$1, exports);
3261
3261
  __exportStar(traverseErrorPrototypeChain$1, exports);
3262
3262
 
3263
- } (es2018$c));
3264
- return es2018$c;
3263
+ } (es2018$d));
3264
+ return es2018$d;
3265
3265
  }
3266
3266
 
3267
- var es2018$6 = {};
3267
+ var es2018$7 = {};
3268
3268
 
3269
3269
  var middleware$1 = {};
3270
3270
 
3271
3271
  var chunkAsync$3 = {};
3272
3272
 
3273
3273
  chunkAsync$3.chunkAsync = void 0;
3274
- const go_1$v = es2018$a;
3274
+ const go_1$v = es2018$b;
3275
3275
  const errors_1$C = requireEs2018();
3276
3276
  function chunkAsync$2(iterable, size) {
3277
3277
  (0, errors_1$C.assert)(Number.isInteger(size), 'The parameter size must be an integer');
@@ -3294,7 +3294,7 @@
3294
3294
  var chunkByAsync$3 = {};
3295
3295
 
3296
3296
  chunkByAsync$3.chunkByAsync = void 0;
3297
- const types_1$C = es2018$d;
3297
+ const types_1$C = es2018$e;
3298
3298
  function chunkByAsync$2(iterable, predicate) {
3299
3299
  if ((0, types_1$C.isAsyncIterable)(iterable)) {
3300
3300
  return chunkByAsyncIterable$1(iterable, predicate);
@@ -3355,7 +3355,7 @@
3355
3355
  var chunk$3 = {};
3356
3356
 
3357
3357
  chunk$3.chunk = void 0;
3358
- const go_1$u = es2018$a;
3358
+ const go_1$u = es2018$b;
3359
3359
  const errors_1$B = requireEs2018();
3360
3360
  function chunk$2(iterable, size) {
3361
3361
  (0, errors_1$B.assert)(Number.isInteger(size), 'The parameter size must be an integer');
@@ -3378,8 +3378,8 @@
3378
3378
  var concatAsync$3 = {};
3379
3379
 
3380
3380
  concatAsync$3.concatAsync = void 0;
3381
- const types_1$B = es2018$d;
3382
- const go_1$t = es2018$a;
3381
+ const types_1$B = es2018$e;
3382
+ const go_1$t = es2018$b;
3383
3383
  function concatAsync$2(iterable, ...otherIterables) {
3384
3384
  return (0, go_1$t.go)(async function* () {
3385
3385
  for (const iter of [iterable, ...otherIterables]) {
@@ -3401,7 +3401,7 @@
3401
3401
  var concat$7 = {};
3402
3402
 
3403
3403
  concat$7.concat = void 0;
3404
- const go_1$s = es2018$a;
3404
+ const go_1$s = es2018$b;
3405
3405
  function concat$6(iterable, ...otherIterables) {
3406
3406
  return (0, go_1$s.go)(function* () {
3407
3407
  for (const iter of [iterable, ...otherIterables]) {
@@ -3430,7 +3430,7 @@
3430
3430
  utils$1.copyIterable = copyIterable$1;
3431
3431
 
3432
3432
  dropAsync$3.dropAsync = void 0;
3433
- const go_1$r = es2018$a;
3433
+ const go_1$r = es2018$b;
3434
3434
  const utils_1$7 = utils$1;
3435
3435
  const errors_1$A = requireEs2018();
3436
3436
  function dropAsync$2(iterable, count) {
@@ -3465,7 +3465,7 @@
3465
3465
  var dropRightAsync$3 = {};
3466
3466
 
3467
3467
  dropRightAsync$3.dropRightAsync = void 0;
3468
- const go_1$q = es2018$a;
3468
+ const go_1$q = es2018$b;
3469
3469
  const utils_1$6 = utils$1;
3470
3470
  const errors_1$z = requireEs2018();
3471
3471
  function dropRightAsync$2(iterable, count) {
@@ -3493,7 +3493,7 @@
3493
3493
  var dropRight$3 = {};
3494
3494
 
3495
3495
  dropRight$3.dropRight = void 0;
3496
- const go_1$p = es2018$a;
3496
+ const go_1$p = es2018$b;
3497
3497
  const utils_1$5 = utils$1;
3498
3498
  const errors_1$y = requireEs2018();
3499
3499
  function dropRight$2(iterable, count) {
@@ -3511,7 +3511,7 @@
3511
3511
  var dropUntilAsync$3 = {};
3512
3512
 
3513
3513
  dropUntilAsync$3.dropUntilAsync = void 0;
3514
- const types_1$A = es2018$d;
3514
+ const types_1$A = es2018$e;
3515
3515
  function dropUntilAsync$2(iterable, predicate) {
3516
3516
  if ((0, types_1$A.isAsyncIterable)(iterable)) {
3517
3517
  return dropUntilAsyncIterable$1(iterable, predicate);
@@ -3593,7 +3593,7 @@
3593
3593
  var drop$3 = {};
3594
3594
 
3595
3595
  drop$3.drop = void 0;
3596
- const go_1$o = es2018$a;
3596
+ const go_1$o = es2018$b;
3597
3597
  const utils_1$4 = utils$1;
3598
3598
  const errors_1$x = requireEs2018();
3599
3599
  function drop$2(iterable, count) {
@@ -3628,7 +3628,7 @@
3628
3628
  var filterAsync$3 = {};
3629
3629
 
3630
3630
  filterAsync$3.filterAsync = void 0;
3631
- const types_1$z = es2018$d;
3631
+ const types_1$z = es2018$e;
3632
3632
  function filterAsync$2(iterable, predicate) {
3633
3633
  if ((0, types_1$z.isAsyncIterable)(iterable)) {
3634
3634
  return filterAsyncIterable$1(iterable, predicate);
@@ -3675,7 +3675,7 @@
3675
3675
  var flattenByAsync$3 = {};
3676
3676
 
3677
3677
  flattenByAsync$3.flattenByAsync = void 0;
3678
- const types_1$y = es2018$d;
3678
+ const types_1$y = es2018$e;
3679
3679
  function flattenByAsync$2(iterable, predicate) {
3680
3680
  if ((0, types_1$y.isAsyncIterable)(iterable)) {
3681
3681
  return flattenByAsyncIterable$1(iterable, predicate);
@@ -3733,7 +3733,7 @@
3733
3733
  var flattenBy$3 = {};
3734
3734
 
3735
3735
  flattenBy$3.flattenBy = void 0;
3736
- const types_1$x = es2018$d;
3736
+ const types_1$x = es2018$e;
3737
3737
  function flattenBy$2(iterable, predicate) {
3738
3738
  return flatten$6(iterable, predicate, 1);
3739
3739
  }
@@ -3776,7 +3776,7 @@
3776
3776
  var mapAsync$3 = {};
3777
3777
 
3778
3778
  mapAsync$3.mapAsync = void 0;
3779
- const types_1$w = es2018$d;
3779
+ const types_1$w = es2018$e;
3780
3780
  function mapAsync$2(iterable, fn) {
3781
3781
  if ((0, types_1$w.isAsyncIterable)(iterable)) {
3782
3782
  return mapAsyncIterable$1(iterable, fn);
@@ -3816,7 +3816,7 @@
3816
3816
  var repeatAsync$3 = {};
3817
3817
 
3818
3818
  repeatAsync$3.repeatAsync = void 0;
3819
- const go_1$n = es2018$a;
3819
+ const go_1$n = es2018$b;
3820
3820
  const errors_1$u = requireEs2018();
3821
3821
  function repeatAsync$2(iterable, times) {
3822
3822
  (0, errors_1$u.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -3851,7 +3851,7 @@
3851
3851
  var repeat$5 = {};
3852
3852
 
3853
3853
  repeat$5.repeat = void 0;
3854
- const go_1$m = es2018$a;
3854
+ const go_1$m = es2018$b;
3855
3855
  const errors_1$t = requireEs2018();
3856
3856
  function repeat$4(iterable, times) {
3857
3857
  (0, errors_1$t.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -3886,7 +3886,7 @@
3886
3886
  var sliceAsync$3 = {};
3887
3887
 
3888
3888
  sliceAsync$3.sliceAsync = void 0;
3889
- const go_1$l = es2018$a;
3889
+ const go_1$l = es2018$b;
3890
3890
  const errors_1$s = requireEs2018();
3891
3891
  function sliceAsync$2(iterable, start, end = Infinity) {
3892
3892
  (0, errors_1$s.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -3909,7 +3909,7 @@
3909
3909
  var slice$3 = {};
3910
3910
 
3911
3911
  slice$3.slice = void 0;
3912
- const go_1$k = es2018$a;
3912
+ const go_1$k = es2018$b;
3913
3913
  const errors_1$r = requireEs2018();
3914
3914
  function slice$2(iterable, start, end = Infinity) {
3915
3915
  (0, errors_1$r.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -3950,7 +3950,7 @@
3950
3950
  var splitByAsync$3 = {};
3951
3951
 
3952
3952
  splitByAsync$3.splitByAsync = void 0;
3953
- const types_1$v = es2018$d;
3953
+ const types_1$v = es2018$e;
3954
3954
  function splitByAsync$2(iterable, predicate) {
3955
3955
  if ((0, types_1$v.isAsyncIterable)(iterable)) {
3956
3956
  return splitByAsyncIterable$1(iterable, predicate);
@@ -4032,7 +4032,7 @@
4032
4032
  var takeAsync$3 = {};
4033
4033
 
4034
4034
  takeAsync$3.takeAsync = void 0;
4035
- const go_1$j = es2018$a;
4035
+ const go_1$j = es2018$b;
4036
4036
  const errors_1$q = requireEs2018();
4037
4037
  function takeAsync$2(iterable, count) {
4038
4038
  (0, errors_1$q.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4053,7 +4053,7 @@
4053
4053
  var takeRightAsync$3 = {};
4054
4054
 
4055
4055
  takeRightAsync$3.takeRightAsync = void 0;
4056
- const go_1$i = es2018$a;
4056
+ const go_1$i = es2018$b;
4057
4057
  const errors_1$p = requireEs2018();
4058
4058
  function takeRightAsync$2(iterable, count) {
4059
4059
  (0, errors_1$p.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4083,7 +4083,7 @@
4083
4083
  var takeRight$3 = {};
4084
4084
 
4085
4085
  takeRight$3.takeRight = void 0;
4086
- const go_1$h = es2018$a;
4086
+ const go_1$h = es2018$b;
4087
4087
  const errors_1$o = requireEs2018();
4088
4088
  function takeRight$2(iterable, count) {
4089
4089
  (0, errors_1$o.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4113,7 +4113,7 @@
4113
4113
  var takeUntilAsync$3 = {};
4114
4114
 
4115
4115
  takeUntilAsync$3.takeUntilAsync = void 0;
4116
- const types_1$u = es2018$d;
4116
+ const types_1$u = es2018$e;
4117
4117
  function takeUntilAsync$2(iterable, predicate) {
4118
4118
  if ((0, types_1$u.isAsyncIterable)(iterable)) {
4119
4119
  return takeUntilAsyncIterable$1(iterable, predicate);
@@ -4159,7 +4159,7 @@
4159
4159
  var take$5 = {};
4160
4160
 
4161
4161
  take$5.take = void 0;
4162
- const go_1$g = es2018$a;
4162
+ const go_1$g = es2018$b;
4163
4163
  const errors_1$n = requireEs2018();
4164
4164
  function take$4(iterable, count) {
4165
4165
  (0, errors_1$n.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -4180,7 +4180,7 @@
4180
4180
  var tapAsync$3 = {};
4181
4181
 
4182
4182
  tapAsync$3.tapAsync = void 0;
4183
- const types_1$t = es2018$d;
4183
+ const types_1$t = es2018$e;
4184
4184
  function tapAsync$2(iterable, fn) {
4185
4185
  if ((0, types_1$t.isAsyncIterable)(iterable)) {
4186
4186
  return tapAsyncIterable$1(iterable, fn);
@@ -4263,7 +4263,7 @@
4263
4263
  var uniqByAsync$3 = {};
4264
4264
 
4265
4265
  uniqByAsync$3.uniqByAsync = void 0;
4266
- const types_1$s = es2018$d;
4266
+ const types_1$s = es2018$e;
4267
4267
  function uniqByAsync$2(iterable, fn) {
4268
4268
  if ((0, types_1$s.isAsyncIterable)(iterable)) {
4269
4269
  return uniqByAsyncIterable$1(iterable, fn);
@@ -4332,7 +4332,7 @@
4332
4332
  var zipAsync$3 = {};
4333
4333
 
4334
4334
  zipAsync$3.zipAsync = void 0;
4335
- const types_1$r = es2018$d;
4335
+ const types_1$r = es2018$e;
4336
4336
  var Kind$1;
4337
4337
  (function (Kind) {
4338
4338
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -4496,7 +4496,7 @@
4496
4496
  var eachAsync$3 = {};
4497
4497
 
4498
4498
  eachAsync$3.eachAsync = void 0;
4499
- const types_1$q = es2018$d;
4499
+ const types_1$q = es2018$e;
4500
4500
  function eachAsync$2(iterable, fn) {
4501
4501
  if ((0, types_1$q.isAsyncIterable)(iterable)) {
4502
4502
  return eachAsyncIterable$1(iterable, fn);
@@ -4536,7 +4536,7 @@
4536
4536
  var everyAsync$3 = {};
4537
4537
 
4538
4538
  everyAsync$3.everyAsync = void 0;
4539
- const types_1$p = es2018$d;
4539
+ const types_1$p = es2018$e;
4540
4540
  function everyAsync$2(iterable, predicate) {
4541
4541
  if ((0, types_1$p.isAsyncIterable)(iterable)) {
4542
4542
  return everyAsyncIterable$1(iterable, predicate);
@@ -4582,7 +4582,7 @@
4582
4582
  var findAsync$3 = {};
4583
4583
 
4584
4584
  findAsync$3.findAsync = void 0;
4585
- const types_1$o = es2018$d;
4585
+ const types_1$o = es2018$e;
4586
4586
  function findAsync$2(iterable, predicate) {
4587
4587
  if ((0, types_1$o.isAsyncIterable)(iterable)) {
4588
4588
  return findAsyncIterable$1(iterable, predicate);
@@ -4706,7 +4706,7 @@
4706
4706
  var reduceAsync$3 = {};
4707
4707
 
4708
4708
  reduceAsync$3.reduceAsync = void 0;
4709
- const types_1$n = es2018$d;
4709
+ const types_1$n = es2018$e;
4710
4710
  function reduceAsync$2(iterable, fn, initialValue) {
4711
4711
  if ((0, types_1$n.isUndefined)(initialValue)) {
4712
4712
  return reduceAsyncWithoutInitialValue$1(iterable, fn);
@@ -4802,7 +4802,7 @@
4802
4802
  var reduce$5 = {};
4803
4803
 
4804
4804
  reduce$5.reduce = void 0;
4805
- const types_1$m = es2018$d;
4805
+ const types_1$m = es2018$e;
4806
4806
  function reduce$4(iterable, fn, initialValue) {
4807
4807
  if ((0, types_1$m.isUndefined)(initialValue)) {
4808
4808
  return reduceWithoutInitialValue$1(iterable, fn);
@@ -4849,7 +4849,7 @@
4849
4849
  var someAsync$3 = {};
4850
4850
 
4851
4851
  someAsync$3.someAsync = void 0;
4852
- const types_1$l = es2018$d;
4852
+ const types_1$l = es2018$e;
4853
4853
  function someAsync$2(iterable, predicate) {
4854
4854
  if ((0, types_1$l.isAsyncIterable)(iterable)) {
4855
4855
  return someAsyncIterable$1(iterable, predicate);
@@ -5103,11 +5103,11 @@
5103
5103
  };__exportStar(middleware$1, exports);
5104
5104
  __exportStar(output$1, exports);
5105
5105
 
5106
- } (es2018$6));
5106
+ } (es2018$7));
5107
5107
 
5108
5108
  lruMap.LRUMap = void 0;
5109
5109
  const errors_1$m = requireEs2018();
5110
- const iterable_operator_1$3 = es2018$6;
5110
+ const iterable_operator_1$3 = es2018$7;
5111
5111
  class LRUMap {
5112
5112
  constructor(limit) {
5113
5113
  this.map = new Map();
@@ -5162,7 +5162,7 @@
5162
5162
  var expirableMap = {};
5163
5163
 
5164
5164
  expirableMap.ExpirableMap = void 0;
5165
- const extra_timers_1$1 = es2018$9;
5165
+ const extra_timers_1$1 = es2018$a;
5166
5166
  class ExpirableMap {
5167
5167
  constructor() {
5168
5168
  this.map = new Map();
@@ -5259,8 +5259,8 @@
5259
5259
 
5260
5260
  tlruMap.TLRUMap = void 0;
5261
5261
  const errors_1$l = requireEs2018();
5262
- const iterable_operator_1$2 = es2018$6;
5263
- const extra_timers_1 = es2018$9;
5262
+ const iterable_operator_1$2 = es2018$7;
5263
+ const extra_timers_1 = es2018$a;
5264
5264
  class TLRUMap {
5265
5265
  constructor(limit) {
5266
5266
  this.map = new Map();
@@ -5382,8 +5382,8 @@
5382
5382
  var trieMap = {};
5383
5383
 
5384
5384
  trieMap.TrieMap = void 0;
5385
- const iterable_operator_1$1 = es2018$6;
5386
- const types_1$k = es2018$d;
5385
+ const iterable_operator_1$1 = es2018$7;
5386
+ const types_1$k = es2018$e;
5387
5387
  class TrieNode {
5388
5388
  constructor(value) {
5389
5389
  this.value = value;
@@ -12916,7 +12916,7 @@
12916
12916
  exports.BadEventError = exports.ObservableFiniteStateMachine = void 0;
12917
12917
  const finite_state_machine_1 = finiteStateMachine;
12918
12918
  const rxjs_1 = cjs;
12919
- const types_1 = es2018$d;
12919
+ const types_1 = es2018$e;
12920
12920
  class ObservableFiniteStateMachine extends finite_state_machine_1.FiniteStateMachine {
12921
12921
  constructor() {
12922
12922
  super(...arguments);
@@ -13335,7 +13335,7 @@
13335
13335
  var skipList = {};
13336
13336
 
13337
13337
  skipList.SkipList = skipList.SkipListNode = void 0;
13338
- const types_1$j = es2018$d;
13338
+ const types_1$j = es2018$e;
13339
13339
  class SkipListNode {
13340
13340
  constructor(value) {
13341
13341
  this.value = value;
@@ -13489,7 +13489,7 @@
13489
13489
 
13490
13490
  sortedSet.SortedSet = void 0;
13491
13491
  const skip_list_1 = skipList;
13492
- const iterable_operator_1 = es2018$6;
13492
+ const iterable_operator_1 = es2018$7;
13493
13493
  class SortedSet {
13494
13494
  constructor(compare) {
13495
13495
  this.skipList = new skip_list_1.SkipList(compare);
@@ -13742,11 +13742,11 @@
13742
13742
  __exportStar(bitSet, exports);
13743
13743
  __exportStar(typedBitSet, exports);
13744
13744
 
13745
- } (es2018$e));
13745
+ } (es2018$f));
13746
13746
 
13747
- var es2018$5 = {};
13747
+ var es2018$6 = {};
13748
13748
 
13749
- var es2018$4 = {};
13749
+ var es2018$5 = {};
13750
13750
 
13751
13751
  var log$1 = {};
13752
13752
 
@@ -13773,7 +13773,7 @@
13773
13773
 
13774
13774
  time$1.time = void 0;
13775
13775
  const high_resolution_timestamp_1$2 = highResolutionTimestamp_browser;
13776
- const types_1$i = es2018$d;
13776
+ const types_1$i = es2018$e;
13777
13777
  function time(message, fn) {
13778
13778
  const startTime = (0, high_resolution_timestamp_1$2.now)();
13779
13779
  const result = fn();
@@ -13841,9 +13841,9 @@
13841
13841
  __exportStar(timeFunction$1, exports);
13842
13842
  __exportStar(timeAsyncFunction$1, exports);
13843
13843
 
13844
- } (es2018$4));
13844
+ } (es2018$5));
13845
13845
 
13846
- var es2018$3 = {};
13846
+ var es2018$4 = {};
13847
13847
 
13848
13848
  var lazy$1 = {};
13849
13849
 
@@ -13955,6 +13955,35 @@
13955
13955
  __exportStar(lazyAsyncFunction$1, exports);
13956
13956
  __exportStar(lazyStatic$1, exports);
13957
13957
 
13958
+ } (es2018$4));
13959
+
13960
+ var es2018$3 = {};
13961
+
13962
+ var pass$1 = {};
13963
+
13964
+ pass$1.pass = void 0;
13965
+ function pass() { }
13966
+ pass$1.pass = pass;
13967
+
13968
+ var passAsync$1 = {};
13969
+
13970
+ passAsync$1.passAsync = void 0;
13971
+ async function passAsync() { }
13972
+ passAsync$1.passAsync = passAsync;
13973
+
13974
+ (function (exports) {
13975
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
13976
+ if (k2 === undefined) k2 = k;
13977
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
13978
+ }) : (function(o, m, k, k2) {
13979
+ if (k2 === undefined) k2 = k;
13980
+ o[k2] = m[k];
13981
+ }));
13982
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
13983
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
13984
+ };__exportStar(pass$1, exports);
13985
+ __exportStar(passAsync$1, exports);
13986
+
13958
13987
  } (es2018$3));
13959
13988
 
13960
13989
  var es2018$2 = {};
@@ -13964,7 +13993,7 @@
13964
13993
  var chunkAsync$1 = {};
13965
13994
 
13966
13995
  chunkAsync$1.chunkAsync = void 0;
13967
- const go_1$f = es2018$a;
13996
+ const go_1$f = es2018$b;
13968
13997
  const errors_1$f = requireEs2018();
13969
13998
  function chunkAsync(iterable, size) {
13970
13999
  (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
@@ -14421,7 +14450,7 @@
14421
14450
  var chunk$1 = {};
14422
14451
 
14423
14452
  chunk$1.chunk = void 0;
14424
- const go_1$e = es2018$a;
14453
+ const go_1$e = es2018$b;
14425
14454
  const errors_1$e = requireEs2018();
14426
14455
  function chunk(iterable, size) {
14427
14456
  (0, errors_1$e.assert)(Number.isInteger(size), 'The parameter size must be an integer');
@@ -14445,7 +14474,7 @@
14445
14474
 
14446
14475
  concatAsync$1.concatAsync = void 0;
14447
14476
  const types_1$g = es2018$1;
14448
- const go_1$d = es2018$a;
14477
+ const go_1$d = es2018$b;
14449
14478
  function concatAsync(iterable, ...otherIterables) {
14450
14479
  return (0, go_1$d.go)(async function* () {
14451
14480
  for (const iter of [iterable, ...otherIterables]) {
@@ -14467,7 +14496,7 @@
14467
14496
  var concat$1 = {};
14468
14497
 
14469
14498
  concat$1.concat = void 0;
14470
- const go_1$c = es2018$a;
14499
+ const go_1$c = es2018$b;
14471
14500
  function concat(iterable, ...otherIterables) {
14472
14501
  return (0, go_1$c.go)(function* () {
14473
14502
  for (const iter of [iterable, ...otherIterables]) {
@@ -14496,7 +14525,7 @@
14496
14525
  utils.copyIterable = copyIterable;
14497
14526
 
14498
14527
  dropAsync$1.dropAsync = void 0;
14499
- const go_1$b = es2018$a;
14528
+ const go_1$b = es2018$b;
14500
14529
  const utils_1$3 = utils;
14501
14530
  const errors_1$d = requireEs2018();
14502
14531
  function dropAsync(iterable, count) {
@@ -14531,7 +14560,7 @@
14531
14560
  var dropRightAsync$1 = {};
14532
14561
 
14533
14562
  dropRightAsync$1.dropRightAsync = void 0;
14534
- const go_1$a = es2018$a;
14563
+ const go_1$a = es2018$b;
14535
14564
  const utils_1$2 = utils;
14536
14565
  const errors_1$c = requireEs2018();
14537
14566
  function dropRightAsync(iterable, count) {
@@ -14559,7 +14588,7 @@
14559
14588
  var dropRight$1 = {};
14560
14589
 
14561
14590
  dropRight$1.dropRight = void 0;
14562
- const go_1$9 = es2018$a;
14591
+ const go_1$9 = es2018$b;
14563
14592
  const utils_1$1 = utils;
14564
14593
  const errors_1$b = requireEs2018();
14565
14594
  function dropRight(iterable, count) {
@@ -14659,7 +14688,7 @@
14659
14688
  var drop$1 = {};
14660
14689
 
14661
14690
  drop$1.drop = void 0;
14662
- const go_1$8 = es2018$a;
14691
+ const go_1$8 = es2018$b;
14663
14692
  const utils_1 = utils;
14664
14693
  const errors_1$a = requireEs2018();
14665
14694
  function drop(iterable, count) {
@@ -14882,7 +14911,7 @@
14882
14911
  var repeatAsync$1 = {};
14883
14912
 
14884
14913
  repeatAsync$1.repeatAsync = void 0;
14885
- const go_1$7 = es2018$a;
14914
+ const go_1$7 = es2018$b;
14886
14915
  const errors_1$7 = requireEs2018();
14887
14916
  function repeatAsync(iterable, times) {
14888
14917
  (0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -14917,7 +14946,7 @@
14917
14946
  var repeat$1 = {};
14918
14947
 
14919
14948
  repeat$1.repeat = void 0;
14920
- const go_1$6 = es2018$a;
14949
+ const go_1$6 = es2018$b;
14921
14950
  const errors_1$6 = requireEs2018();
14922
14951
  function repeat(iterable, times) {
14923
14952
  (0, errors_1$6.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
@@ -14952,7 +14981,7 @@
14952
14981
  var sliceAsync$1 = {};
14953
14982
 
14954
14983
  sliceAsync$1.sliceAsync = void 0;
14955
- const go_1$5 = es2018$a;
14984
+ const go_1$5 = es2018$b;
14956
14985
  const errors_1$5 = requireEs2018();
14957
14986
  function sliceAsync(iterable, start, end = Infinity) {
14958
14987
  (0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -14975,7 +15004,7 @@
14975
15004
  var slice$1 = {};
14976
15005
 
14977
15006
  slice$1.slice = void 0;
14978
- const go_1$4 = es2018$a;
15007
+ const go_1$4 = es2018$b;
14979
15008
  const errors_1$4 = requireEs2018();
14980
15009
  function slice(iterable, start, end = Infinity) {
14981
15010
  (0, errors_1$4.assert)(Number.isInteger(start), 'The parameter start must be an integer');
@@ -15098,7 +15127,7 @@
15098
15127
  var takeAsync$1 = {};
15099
15128
 
15100
15129
  takeAsync$1.takeAsync = void 0;
15101
- const go_1$3 = es2018$a;
15130
+ const go_1$3 = es2018$b;
15102
15131
  const errors_1$3 = requireEs2018();
15103
15132
  function takeAsync(iterable, count) {
15104
15133
  (0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -15119,7 +15148,7 @@
15119
15148
  var takeRightAsync$1 = {};
15120
15149
 
15121
15150
  takeRightAsync$1.takeRightAsync = void 0;
15122
- const go_1$2 = es2018$a;
15151
+ const go_1$2 = es2018$b;
15123
15152
  const errors_1$2 = requireEs2018();
15124
15153
  function takeRightAsync(iterable, count) {
15125
15154
  (0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -15149,7 +15178,7 @@
15149
15178
  var takeRight$1 = {};
15150
15179
 
15151
15180
  takeRight$1.takeRight = void 0;
15152
- const go_1$1 = es2018$a;
15181
+ const go_1$1 = es2018$b;
15153
15182
  const errors_1$1 = requireEs2018();
15154
15183
  function takeRight(iterable, count) {
15155
15184
  (0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -15225,7 +15254,7 @@
15225
15254
  var take$1 = {};
15226
15255
 
15227
15256
  take$1.take = void 0;
15228
- const go_1 = es2018$a;
15257
+ const go_1 = es2018$b;
15229
15258
  const errors_1 = requireEs2018();
15230
15259
  function take(iterable, count) {
15231
15260
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
@@ -16562,13 +16591,13 @@
16562
16591
  exports.isntSymbol = exports.isntRegExp = exports.isntUndefined = exports.isntString = exports.isntPromiseLike = exports.isntPromise = exports.isntPlainObject = exports.isntObject = void 0;
16563
16592
  var errors_1 = requireEs2018();
16564
16593
  Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return errors_1.assert; } });
16565
- var go_1 = es2018$a;
16594
+ var go_1 = es2018$b;
16566
16595
  Object.defineProperty(exports, "go", { enumerable: true, get: function () { return go_1.go; } });
16567
- var log_1 = es2018$4;
16596
+ var log_1 = es2018$5;
16568
16597
  Object.defineProperty(exports, "log", { enumerable: true, get: function () { return log_1.log; } });
16569
- var extra_lazy_1 = es2018$3;
16598
+ var extra_lazy_1 = es2018$4;
16570
16599
  Object.defineProperty(exports, "lazy", { enumerable: true, get: function () { return extra_lazy_1.lazy; } });
16571
- var pass_1 = es2018$7;
16600
+ var pass_1 = es2018$3;
16572
16601
  Object.defineProperty(exports, "pass", { enumerable: true, get: function () { return pass_1.pass; } });
16573
16602
  var iterable_operator_1 = es2018$2;
16574
16603
  Object.defineProperty(exports, "toArray", { enumerable: true, get: function () { return iterable_operator_1.toArray; } });
@@ -16626,7 +16655,7 @@
16626
16655
  Object.defineProperty(exports, "isntRegExp", { enumerable: true, get: function () { return types_1.isntRegExp; } });
16627
16656
  Object.defineProperty(exports, "isntSymbol", { enumerable: true, get: function () { return types_1.isntSymbol; } });
16628
16657
 
16629
- } (es2018$5));
16658
+ } (es2018$6));
16630
16659
 
16631
16660
  var State;
16632
16661
  (function (State) {
@@ -16639,10 +16668,14 @@
16639
16668
  };
16640
16669
  class GameLoop {
16641
16670
  constructor(options) {
16642
- this.fsm = new es2018$e.FiniteStateMachine(schema, State.Stopped);
16671
+ this.fsm = new es2018$f.FiniteStateMachine(schema, State.Stopped);
16643
16672
  this.deltaTimeAccumulator = 0;
16644
16673
  this.lastDeltaTime = 0;
16645
- this.loop = (timestamp) => {
16674
+ this.loop = () => {
16675
+ // requestAnimationFrame的实现存在陷阱, 它提供的timestamp参数有时会比`performance.now()`早.
16676
+ // 因此主动调用`performance.now()`来获取时间戳.
16677
+ // https://stackoverflow.com/questions/50895206/exact-time-of-display-requestanimationframe-usage-and-timeline
16678
+ const timestamp = performance.now();
16646
16679
  const deltaTime = timestamp - this.lastTimestamp;
16647
16680
  this.lastDeltaTime = deltaTime;
16648
16681
  this.lastTimestamp = timestamp;
@@ -16651,16 +16684,15 @@
16651
16684
  };
16652
16685
  this.fixedDeltaTime = options.fixedDeltaTime;
16653
16686
  this.maximumDeltaTime = options.maximumDeltaTime;
16654
- es2018$5.assert(this.maximumDeltaTime >= this.fixedDeltaTime, 'maximumDeltaTime must be greater than or equal to fixedDeltaTime');
16687
+ es2018$6.assert(this.maximumDeltaTime >= this.fixedDeltaTime, 'maximumDeltaTime must be greater than or equal to fixedDeltaTime');
16655
16688
  this.fixedUpdate = options.fixedUpdate;
16656
16689
  this.update = options.update;
16657
16690
  this.render = options.render;
16658
16691
  }
16659
16692
  start() {
16660
16693
  this.fsm.send('start');
16661
- const timestamp = performance.now();
16662
- this.lastTimestamp = timestamp;
16663
- this.loop(timestamp);
16694
+ this.lastTimestamp = performance.now();
16695
+ this.loop();
16664
16696
  }
16665
16697
  stop() {
16666
16698
  this.fsm.send('stop');