PageSourceSearch

https://online-sanitaetshaus24.de/wp-content/themes/sanit%C3%A4tshaus/assets/js/appear.js

js online-sanitaetshaus24.de collected 2026-10-04 03:18:58 UTC 2,378 bytes, 81 lines download raw bytes

1!(function (e) {
2  (e.fn.appear = function (a, r) {
3    var p = e.extend({ data: void 0, one: !0, accX: 0, accY: 0 }, r);
4    return this.each(function () {
5      var r = e(this);
6      if (((r.appeared = !1), a)) {
7        var n = e(window),
8          t = function () {
9            if (r.is(":visible")) {
10              var e = n.scrollLeft(),
11                a = n.scrollTop(),
12                t = r.offset(),
13                c = t.left,
14                i = t.top,
15                o = p.accX,
16                f = p.accY,
17                s = r.height(),
18                l = n.height(),
19                h = r.width(),
20                d = n.width();
21              i + s + f >= a &&
22              i <= a + l + f &&
23              c + h + o >= e &&
24              c <= e + d + o
25                ? r.appeared || r.trigger("appear", p.data)
26                : (r.appeared = !1);
27            } else r.appeared = !1;
28          },
29          c = function () {
30            if (((r.appeared = !0), p.one)) {
31              n.unbind("scroll", t);
32              var c = e.inArray(t, e.fn.appear.checks);
33              c >= 0 && e.fn.appear.checks.splice(c, 1);
34            }
35            a.apply(this, arguments);
36          };
37        p.one ? r.one("appear", p.data, c) : r.bind("appear", p.data, c),
38          n.scroll(t),
39          e.fn.appear.checks.push(t),
40          t();
41      } else r.trigger("appear", p.data);
42    });
43  }),
44    e.extend(e.fn.appear, {
45      checks: [],
46      timeout: null,
47      checkAll: function () {
48        var a = e.fn.appear.checks.length;
49        if (a > 0) for (; a--; ) e.fn.appear.checks[a]();
50      },
51      run: function () {
52        e.fn.appear.timeout && clearTimeout(e.fn.appear.timeout),
53          (e.fn.appear.timeout = setTimeout(e.fn.appear.checkAll, 20));
54      },
55    }),
56    e.each(
57      [
58        "append",
59        "prepend",
60        "after",
61        "before",
62        "attr",
63        "removeAttr",
64        "addClass",
65        "removeClass",
66        "toggleClass",
67        "remove",
68        "css",
69        "show",
70        "hide",
71      ],
72      function (a, r) {
73        var p = e.fn[r];
74        p &&
75          (e.fn[r] = function () {
76            var a = p.apply(this, arguments);
77            return e.fn.appear.run(), a;
78          });
79      }
80    );
81})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.