         n = t.oldState;
                "inView" === e &&
                  ("before" === n
                    ? Object(c.a)(p[0])
                    : "after" === n && Object(c.a)(p[p.length - 1]));
              },
              inView: function (e) {
                var n = e.distance / e.total;
                !(function (e) {
                  if (g !== e) {
                    Object(c.a)(p[e]), t && t.setState(e, e < g);
                    for (var n = 0; n < e; n += 1)
              