PageSourceSearch

https://alessandrapavan.com/wp-content/plugins/ottar-core/shortcod…/plugins/absoluteCounter.min.js?ver=6.4.12

js alessandrapavan.com collected 2026-10-06 00:51:58 UTC 2,248 bytes, 48 lines download raw bytes

1/* Absolute counter */
2(function (a) {
3    "use strict";
4    a.fn.absoluteCounter = function (b) {
5        b = a.extend({}, a.fn.absoluteCounter.defaults, b || {});
6        return a(this).each(function () {
7            var d = this, g = b.speed, f = b.setStyles, e = b.delayedStart, c = b.fadeInDelay;
8            if (f) {
9                a(d).css({display: "block", position: "relative", overflow: "hidden"}).addClass('animated')
10            }
11            a(d).css("opacity", "0");
12            a(d).animate({opacity: 0}, e, function () {
13                var l = a(d).text();
14                a(d).text("");
15                for (var k = 0; k < l.length; k++) {
16                    var n = l.charAt(k);
17                    var m = "";
18                    if (parseInt(n, 10) >= 0) {
19                        m = '<span class="onedigit p' + (l.length - k) + " d" + n + '">';
20                        for (var h = 0; h <= parseInt(n, 10); h++) {
21                            m += '<span class="n' + (h % 10) + '">' + (h % 10) + "</span>"
22                        }
23                        m += "</span>"
24                    } else {
25                        m = '<span class="onedigit p' + (l.length - k) + ' char"><span class="c">' + n + "</span></span>"
26                    }
27                    a(d).append(m)
28                }
29                a(d).animate({opacity: 1}, c);
30                a("span.onedigit", d).each(function (i, o) {
31                    if (f) {
32                        a(o).css({"float": "left", position: "relative"});
33                        a("span", a(o)).css({display: "block"})
34                    }
35                    var p = a("span", a(o)).length, j = a(d).height();
36                    a(o).css({height: (p * j) + "px", top: "0"});
37                    a("span", a(o)).css({height: j + "px"});
38                    a(o).animate({top: -1 * ((p - 1) * j) + "px"}, g, function () {
39                        if (typeof(b.onComplete) === "function") {
40                            b.onComplete.call(d)
41                        }
42                    })
43                })
44            })
45        })
46    };
47    a.fn.absoluteCounter.defaults = {speed: 2000, setStyles: true, onComplete: null, delayedStart: 0, fadeInDelay: 0}
48}(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.