PageSourceSearch

https://ampboards.com/marketing/assets/js/css3-animate-it.js?ver=6.4.5

js ampboards.com collected 2026-10-06 13:04:42 UTC 5,388 bytes, 120 lines download raw bytes

1(function($) {
2    ! function(a) {
3        function t() {
4            d = !1;
5            for (var t = 0; t < i.length; t++) {
6                var n = a(i[t]).filter(function() {
7                    return a(this).is(":appeared")
8                });
9                if (n.trigger("appear", [n]), e) {
10                    var r = e.not(n);
11                    r.trigger("disappear", [r])
12                }
13                e = n
14            }
15        }
16        var e, i = [],
17            n = !1,
18            d = !1,
19            r = {
20                interval: 250,
21                force_process: !1
22            },
23            o = a(window);
24        a.expr[":"].appeared = function(t) {
25            var e = a(t);
26            if (!e.is(":visible")) return !1;
27            var i = o.scrollLeft(),
28                n = o.scrollTop(),
29                d = e.offset(),
30                r = d.left,
31                s = d.top;
32            return s + e.height() >= n && s - (e.data("appear-top-offset") || 0) <= n + o.height() && r + e.width() >= i && r - (e.data("appear-left-offset") || 0) <= i + o.width() ? !0 : !1
33        }, a.fn.extend({
34            appear: function(e) {
35                var o = a.extend({}, r, e || {}),
36                    s = this.selector || this;
37                if (!n) {
38                    var f = function() {
39                        d || (d = !0, setTimeout(t, o.interval))
40                    };
41                    a(window).scroll(f).resize(f), n = !0
42                }
43                return o.force_process && setTimeout(t, o.interval), i.push(s), a(s)
44            }
45        }), a.extend({
46            force_appear: function() {
47                return n ? (t(), !0) : !1
48            }
49        })
50    }(jQuery),
51    function(a) {
52        "$:nomunge";
53
54        function t(t) {
55            function i() {
56                t ? r.removeData(t) : c && delete e[c]
57            }
58
59            function d() {
60                s.id = setTimeout(function() {
61                    s.fn()
62                }, p)
63            }
64            var r, o = this,
65                s = {},
66                f = t ? a.fn : a,
67                l = arguments,
68                u = 4,
69                c = l[1],
70                p = l[2],
71                $ = l[3];
72            if ("string" != typeof c && (u--, c = t = 0, p = l[1], $ = l[2]), t ? (r = o.eq(0), r.data(t, s = r.data(t) || {})) : c && (s = e[c] || (e[c] = {})), s.id && clearTimeout(s.id), delete s.id, $) s.fn = function(a) {
73                "string" == typeof $ && ($ = f[$]), $.apply(o, n.call(l, u)) !== !0 || a ? i() : d()
74            }, d();
75            else {
76                if (s.fn) return void 0 === p ? i() : s.fn(p === !1), !0;
77                i()
78            }
79        }
80        var e = {},
81            i = "doTimeout",
82            n = Array.prototype.slice;
83        a[i] = function() {
84            return t.apply(window, [0].concat(n.call(arguments)))
85        }, a.fn[i] = function() {
86            var a = n.call(arguments),
87                e = t.apply(this, [i + a[0]].concat(a));
88            return "number" == typeof a[0] || "number" == typeof a[1] ? this : e
89        }
90    }(jQuery), $(".animatedParent").appear(), $(".animatedClick").click(function() {
91        var a = $(this).attr("data-target");
92        if (void 0 != $(this).attr("data-sequence")) {
93            var t = $("." + a + ":first").attr("data-id"),
94                e = $("." + a + ":last").attr("data-id"),
95                i = t;
96            $("." + a + "[data-id=" + i + "]").hasClass("go") ? ($("." + a + "[data-id=" + i + "]").addClass("goAway"), $("." + a + "[data-id=" + i + "]").removeClass("go")) : ($("." + a + "[data-id=" + i + "]").addClass("go"), $("." + a + "[data-id=" + i + "]").removeClass("goAway")), i++, delay = Number($(this).attr("data-sequence")), $.doTimeout(delay, function() {
97                return console.log(e), $("." + a + "[data-id=" + i + "]").hasClass("go") ? ($("." + a + "[data-id=" + i + "]").addClass("goAway"), $("." + a + "[data-id=" + i + "]").removeClass("go")) : ($("." + a + "[data-id=" + i + "]").addClass("go"), $("." + a + "[data-id=" + i + "]").removeClass("goAway")), ++i, e >= i ? !0 : void 0
98            })
99        } else $("." + a).hasClass("go") ? ($("." + a).addClass("goAway"), $("." + a).removeClass("go")) : ($("." + a).addClass("go"), $("." + a).removeClass("goAway"))
100    }), $(document.body).on("appear", ".animatedParent", function(a, t) {
101        console.log('appear');
102        console.dir($(this));
103        var e = $(this).find(".animated"),
104            i = $(this);
105        if (void 0 != i.attr("data-sequence")) {
106            var n = $(this).find(".animated:first").attr("data-id"),
107                d = n,
108                r = $(this).find(".animated:last").attr("data-id");
109            $(i).find(".animated[data-id=" + d + "]").addClass("go"), d++, delay 
109= Number(i.attr("data-sequence")), $.doTimeout(delay, function() {
110                return $(i).find(".animated[data-id=" + d + "]").addClass("go"), ++d, r >= d ? !0 : void 0
111            })
112        } else e.addClass("go")
113    }), $(document.body).on("disappear", ".animatedParent", function(a, t) {
114        console.log('disappear');
115        console.dir($(this));
116        $(this).hasClass("animateOnce") || $(this).find(".animated").removeClass("go")
117    }), $(window).on("load", function() {
118        $.force_appear()
119    });
120})(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.