== arguments[2]
                        ? arguments[2]
                        : 1;
                    e.clear({ color: [0, 0, 0, 0.01], depth: 1 }),
                      u({ time: r, dir: i }, function () {
                        n[t] && n[t]();
                      });
                  })(r, s.t, a * (f ? -1 : 1)),
                    v && i && (i.cancel(), (i = void 0), c === r && (c = -1));
                })),
                new Promise(function (t) {
                  (o = Object(l.a)