PageSourceSearch

https://stoudenmireheating.com/wp-content/themes/homefort/assets/js/jquery.paroller.min.js?ver=3.1.1

js stoudenmireheating.com collected 2026-10-07 16:47:30 UTC 3,375 bytes, 75 lines download raw bytes

1!(function (r) {
2    "use strict";
3    "object" == typeof module && "object" == typeof module.exports ? (module.exports = r(require("jquery"))) : r(jQuery);
4})(function ($) {
5    "use strict";
6    var r = {
7        bgVertical: function (r, t) {
8            return r.css({ "background-position": "center " + -t + "px" });
9        },
10        bgHorizontal: function (r, t) {
11            return r.css({ "background-position": -t + "px center" });
12        },
13        vertical: function (r, t, o) {
14            return (
15                "none" === o ? (o = "") : !0,
16                r.css({ "-webkit-transform": "translateY(" + t + "px)" + o, "-moz-transform": "translateY(" + t + "px)" + o, transform: "translateY(" + t + "px)" + o, transition: "transform linear", "will-change": "transform" })
17            );
18        },
19        horizontal: function (r, t, o) {
20            return (
21                "none" === o ? (o = "") : !0,
22                r.css({ "-webkit-transform": "translateX(" + t + "px)" + o, "-moz-transform": "translateX(" + t + "px)" + o, transform: "translateX(" + t + "px)" + o, transition: "transform linear", "will-change": "transform" })
23            );
24        },
25    };
26    $.fn.paroller = function (t) {
27        var o = $(window).height(),
28            n = $(document).height(),
29            t = $.extend({ factor: 0, type: "background", direction: "vertical" }, t);
30        return this.each(function () {
31            var a = !1,
32                e = $(this),
33                i = e.offset().top,
34                c = e.outerHeight(),
35                l = e.data("paroller-factor"),
36                s = e.data("paroller-type"),
37                u = e.data("paroller-direction"),
38                offVal = e.data("paroller-offset"),
39                f = l ? l : t.factor,
40                d = s ? s : t.type,
41                h = u ? u : t.direction,
42                p = Math.round(i * f),
43                g = Math.round((i - o / 2 + c) * f),
44                m = e.css("transform");
45            "background" == d ? ("vertical" == h ? r.bgVertical(e, p) : "horizontal" == h && r.bgHorizontal(e, p)) : "foreground" == d && ("vertical" == h ? r.vertical(e, g, m) : "horizontal" == h && r.horizontal(e, g, m));
46            var b = function () {
47                a = !1;
48            };
49
50            if (typeof offVal !== 'undefined') {
51
52            	i = parseInt(offVal);
53            }
54
55            $(window)
56                .on("scroll", function () {
57                    if (!a) {
58                        var t = $(this).scrollTop();
59
60                        (n = $(document).height()),
61                            (p = Math.round((i - t) * f)),
62                            (g = Math.round((i - o / 2 + c - t) * f)),
63                            "background" == d
64                                ? "vertical" == h
65                                    ? r.bgVertical(e, p)
66                                    : "horizontal" == h && r.bgHorizontal(e, p)
67                                : "foreground" == d && n >= t && ("vertical" == h ? r.vertical(e, g, m) : "horizontal" == h && r.horizontal(e, g, m)),
68                            window.requestAnimationFrame(b),
69                            (a = !0);
70                    }
71                })
72                .trigger("scroll");
73        });
74    };
75});

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.