https://www.snh.cm/wp-content/plugins/industrie-addons/assets/js/jquery.marquee.min.js?ver=201513434
1(function(n) { 2 jQuery('.marquee_text').addClass("initialized"); 3 n.fn.marquee = function(t) { 4 return this.each(function() { 5 jQuery('.marquee_text').addClass("initialized"); 6 var i = n.extend({}, n.fn.marquee.defaults, t), 7 r = n(this), 8 u, p, f = 3, 9 nt = "animation-play-state", 10 a = !1, 11 ft = function(n, t, i) { 12 for (var u = ["webkit", "moz", "MS", "o", ""], r = 0; r < u.length; r++) u[r] || (t = t.toLowerCase()), n.addEventListener(u[r] + t, i, !1) 13 }, 14 et = function(n) { 15 var t = []; 16 for (var i in n) n.hasOwnProperty(i) && t.push(i + ":" + n[i]); 17 return t.push(), "{" + t.join(",") + "}" 18 }, 19 w = { 20 pause: function() { 21 a && i.allowCss3Support ? u.css(nt, "paused") : n.fn.pause && u.pause(); 22 r.data("runningStatus", "paused"); 23 r.trigger("paused") 24 }, 25 resume: function() { 26 a && i.allowCss3Support ? u.css(nt, "running") : n.fn.resume && u.resume(); 27 r.data("runningStatus", "resumed"); 28 r.trigger("resumed") 29 }, 30 toggle: function() { 31 w["resumed" == r.data("runningStatus") ? "pause" : "resume"]() 32 }, 33 destroy: function() { 34 clearTimeout(r.timer); 35 r.find("*").addBack().unbind(); 36 r.html(r.find(".js-marquee:first").html()) 37 } 38 }, 39 b, k, v, o, l, h, c, g, tt, it, d; 40 if ("string" == typeof t) n.isFunction(w[t]) && (u || (u = r.find(".js-marquee-wrapper")), !0 === r.data("css3AnimationIsSupported") && (a = !0), w[t]()); 41 else { 42 if (n.each(i, function(n) { 43 if (b = r.attr("data-" + n), "undefined" != typeof b) { 44 switch (b) { 45 case "true": 46 b = !0; 47 break; 48 case "false": 49 b = !1 50 } 51 i[n] = b 52 } 53 }), i.speed && (i.duration = parseInt(r.width(), 10) / i.speed * 1e3), k = "up" == i.direction || "down" == i.direction, i.gap = i.duplicated ? parseInt(i.gap) : 0, r.wrapInner('<div class="js-marquee"><\/div>'), v = r.find(".js-marquee").css({ 54 "margin-right": i.gap, 55 float: "left" 56 }), i.duplicated && v.clone(!0).appendTo(r), r.wrapInner('<div style="width:100000px" class="js-marquee-wrapper"><\/div>'), u = r.find(".js-marquee-wrapper"), k ? (o = r.height(), u.removeAttr("style"), r.height(o), r.find(".js-marquee").css({ 57 float: "none", 58 "margin-bottom": i.gap, 59 "margin-right": 0 60 }), i.duplicated && r.find(".js-marquee:last").css({ 61 "margin-bottom": 0 62 }), l = r.find(".js-marquee:first").height() + i.gap, i.startVisible && !i.duplicated ? (i._completeDuration = (parseInt(l, 10) + parseInt(o, 10)) / parseInt(o, 10) * i.duration, i.duration *= parseInt(l, 10) / parseInt(o, 10)) : i.duration *= (parseInt(l, 10) + parseInt(o, 10)) / parseInt(o, 10)) : (h = r.find(".js-marquee:first").width() + i.gap, c = r.width(), i.startVisible && !i.duplicated ? (i._completeDuration = (parseInt(h, 10) + parseInt(c, 10)) / parseInt(c, 10) * i.duration, i.duration *= parseInt(h, 10) / parseInt(c, 10)) : i.duration *= (parseInt(h, 10) + parseInt(c, 10)) / parseInt(c, 10)), i.duplicated && (i.duration /= 2), i.allowCss3Support) { 63 v = document.body || document.createElement("div"); 64 var s = "marqueeAnimation-" + Math.floor(1e7 * Math.random()), 65 rt = ["Webkit", "Moz", "O", "ms", "Khtml"], 66 ut = "animation", 67 e = "", 68 y = ""; 69 if (v.style.animation && (y = "@keyframes " + s + " ", a = !0), !1 === a) 70 for (g = 0; g < rt.length; g++) 71 if (void 0 !== v.style[rt[g] + "AnimationName"]) { 72 v = "-" + rt[g].toLowerCase() + "-"; 73 ut = v + ut; 74 nt = v + nt; 75 y = "@" + v + "keyframes " + s + " "; 76 a = !0; 77 break 78 } 79 a && (e = s + " " + i.duration / 1e3 + "s " + i.delayBeforeStart / 1e3 + "s infinite " + i.css3easing, r.data("css3AnimationIsSupported", !0)) 80 } 81 tt = function() { 82 u.css("transform", "translateY(" + ("up" == i.direction ? o + "px" : "-" + l + "px") + ")") 83 }; 84 it = function() {
85 u.css("transform", "translateX(" + ("left" == i.direction ? c + "px" : "-" + h + "px") + ")") 86 }; 87 i.duplicated ? (k ? i.startVisible ? u.css("transform", "translateY(0)") : u.css("transform", "translateY(" + ("up" == i.direction ? o + "px" : "-" + (2 * l - i.gap) + "px") + ")") : i.startVisible ? u.css("transform", "translateX(0)") : u.css("transform", "translateX(" + ("left" == i.direction ? c + "px" : "-" + (2 * h - i.gap) + "px") + ")"), i.startVisible || (f = 1)) : i.startVisible ? f = 2 : k ? tt() : it(); 88 d = function() { 89 if (i.duplicated && (1 === f ? (i._originalDuration = i.duration, i.duration = k ? "up" == i.direction ? i.duration + o / (l / i.duration) : 2 * i.duration : "left" == i.direction ? i.duration + c / (h / i.duration) : 2 * i.duration, e && (e = s + " " + i.duration / 1e3 + "s " + i.delayBeforeStart / 1e3 + "s " + i.css3easing), f++) : 2 === f && (i.duration = i._originalDuration, e && (s += "0", y = n.trim(y) + "0 ", e = s + " " + i.duration / 1e3 + "s 0s infinite " + i.css3easing), f++)), k ? i.duplicated ? (2 < f && u.css("transform", "translateY(" + ("up" == i.direction ? 0 : "-" + l + "px") + ")"), p = { 90 transform: "translateY(" + ("up" == i.direction ? "-" + l + "px" : 0) + ")" 91 }) : i.startVisible ? 2 === f ? (e && (e = s + " " + i.duration / 1e3 + "s " + i.delayBeforeStart / 1e3 + "s " + i.css3easing), p = { 92 transform: "translateY(" + ("up" == i.direction ? "-" + l + "px" : o + "px") + ")" 93 }, f++) : 3 === f && (i.duration = i._completeDuration, e && (s += "0", y = n.trim(y) + "0 ", e = s + " " + i.duration / 1e3 + "s 0s infinite " + i.css3easing), tt()) : (tt(), p = { 94 transform: "translateY(" + ("up" == i.direction ? "-" + u.height() + "px" : o + "px") + ")" 95 }) : i.duplicated ? (2 < f && u.css("transform", "translateX(" + ("left" == i.direction ? 0 : "-" + h + "px") + ")"), p = { 96 transform: "translateX(" + ("left" == i.direction ? "-" + h + "px" : 0) + ")" 97 }) : i.startVisible ? 2 === f ? (e && (e = s + " " + i.duration / 1e3 + "s " + i.delayBeforeStart / 1e3 + "s " + i.css3easing), p = { 98 transform: "translateX(" + ("left" == i.direction ? "-" + h + "px" : c + "px") + ")" 99 }, f++) : 3 === f && (i.duration = i._completeDuration, e && (s += "0", y = n.trim(y) + "0 ", e = s + " " + i.duration / 1e3 + "s 0s infinite " + i.css3easing), it()) : (it(), p = { 100 transform: "translateX(" + ("left" == i.direction ? "-" + h + "px" : c + "px") + ")" 101 }), r.trigger("beforeStarting"), a) { 102 u.css(ut, e); 103 var t = y + " { 100% " + et(p) + "}", 104 v = u.find("style"); 105 0 !== v.length ? v.filter(":last").html(t) : n("head").append("<style>" + t + "<\/style>"); 106 ft(u[0], "AnimationIteration", function() { 107 r.trigger("finished") 108 }); 109 ft(u[0], "AnimationEnd", function() { 110 d(); 111 r.trigger("finished") 112 }) 113 } else u.animate(p, i.duration, i.easing, function() { 114 r.trigger("finished"); 115 i.pauseOnCycle ? r.timer = setTimeout(d, i.delayBeforeStart) : d() 116 }); 117 r.data("runningStatus", "resumed") 118 }; 119 r.bind("pause", w.pause); 120 r.bind("resume", w.resume); 121 i.pauseOnHover && (r.bind("mouseenter", w.pause), r.bind("mouseleave", w.resume)); 122 a && i.allowCss3Support ? d() : r.timer = setTimeout(d, i.delayBeforeStart) 123 } 124 }) 125 }; 126 127 n.fn.marquee.defaults = { 128 allowCss3Support: !0, 129 css3easing: "linear", 130 easing: "linear", 131 delayBeforeStart: 1e3, 132 direction: "left", 133 duplicated: !1, 134 duration: 5e3, 135 gap: 20, 136 pauseOnCycle: !1, 137 pauseOnHover: !1, 138 startVisible: !1 139 } 140})(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.