1 2 3!function (e) { 4"function" == typeof define && define.amd ? define(["jquery"], e) : "object" == typeof module && module.exports ? module.exports = e(require("jquery")) : e(jQuery) 5}(function (e) { 6"use strict"; 7var n, t, r, o, i = { 8minHeight: 0, 9elements: [], 10percentage: !0, 11userTiming: !0, 12pixelDepth: !0, 13nonInteraction: !0, 14gaGlobal: !1, 15gtmOverride: !1, 16trackerName: !1, 17dataLayer: "dataLayer" 18}, a = e(window), l = [], c = !1, u = 0; 19return e.scrollDepth = function (p) { 20function s(e, i, a, l) { 21var c = p.trackerName ? p.trackerName + ".send" : "send"; 22o ? (o({ 23event: "ScrollDistance", 24eventCategory: "Scroll Depth", 25eventAction: e, 26eventLabel: i, 27eventValue: 1, 28eventNonInteraction: p.nonInteraction 29}), p.pixelDepth && arguments.length > 2 && a > u && (u = a, o({ 30event: "ScrollDistance", 31eventCategory: "Scroll Depth", 32eventAction: "Pixel Depth", 33eventLabel: d(a), 34eventValue: 1, 35eventNonInteraction: p.nonInteraction 36})), p.userTiming && arguments.length > 3 && o({ 37event: "ScrollTiming", 38eventCategory: "Scroll Depth", 39eventAction: e, 40eventLabel: i, 41eventTiming: l 42})) : (n && (window[r](c, "event", "Scroll Depth", e, i, 1, {nonInteraction: p.nonInteraction}), p.pixelDepth && arguments.length > 2 && a > u && (u = a, window[r](c, "event", "Scroll Depth", "Pixel Depth", d(a), 1, {nonInteraction: p.nonInteraction})), p.userTiming && arguments.length > 3 && window[r](c, "timing", "Scroll Depth", e, l, i)), t && (_gaq.push(["_trackEvent", "Scroll Depth", e, i, 1, p.nonInteraction]), p.pixelDepth && arguments.length > 2 && a > u && (u = a, _gaq.push(["_trackEvent", "Scroll Depth", "Pixel Depth", d(a), 1, p.nonInteraction])), p.userTiming && arguments.length > 3 && _gaq.push(["_trackTiming", "Scroll Depth", e, l, i, 100]))) 43} 44function h(e) { 45return { 46"25%": parseInt(.25 * e, 10), 47"50%": parseInt(.5 * e, 10), 48"75%": parseInt(.75 * e, 10), 49"100%": e - 5 50} 51} 52function g(n, t, r) { 53e.each(n, function (n, o) { 54-1 === e.inArray(n, l) && t >= o && (s("Percentage", n, t, r), l.push(n)) 55}) 56} 57function f(n, t, r) { 58e.each(n, function (n, o) { 59-1 === e.inArray(o, l) && e(o).length && t >= e(o).offset().top && (s("Elements", o, t, r), l.push(o)) 60}) 61} 62function d(e) { 63return (250 * Math.floor(e / 250)).toString() 64} 65function m() { 66y() 67} 68function v(e, n) { 69var t, r, o, i = null, a = 0, l = function () { 70a = new Date, i = null, o = e.apply(t, r) 71}; 72return function () { 73var c = new Date; 74a || (a = c); 75var u = n - (c - a); 76return t = this, r = arguments, 0 >= u ? (clearTimeout(i), i = null, a = c, o = e.apply(t, r)) : i || (i = setTimeout(l, u)), o 77} 78} 79function y() { 80c = !0, a.on("scroll.scrollDepth", v(function () { 81var n = e(document).height(), t = window.innerHeight ? window.innerHeight : a.height(), 82r = a.scrollTop() + t, o = h(n), i = +new Date - D; 83return l.length >= p.elements.length + (p.percentage ? 4 : 0) ? (a.off("scroll.scrollDepth"), void (c = !1)) : (p.elements && f(p.elements, r, i), void (p.percentage && g(o, r, i))) 84}, 500)) 85} 86var D = +new Date; 87p = e.extend({}, i, p), e(document).height() < p.minHeight || (p.gaGlobal ? (n = !0, r = p.gaGlobal) : "function" == typeof ga ? (n = !0, r = "ga") : "function" == typeof __gaTracker && (n = !0, r = "__gaTracker"), "undefined" != typeof _gaq && "function" == typeof _gaq.push && (t = !0), "function" == typeof p.eventHandler ? o = p.eventHandler : "undefined" == typeof window[p.dataLayer] || "function" != typeof window[p.dataLayer].push || p.gtmOverride || (o = function (e) { 88window[p.dataLayer].push(e) 89}), e.scrollDepth.reset = function () { 90l = [], u = 0, a.off("scroll.scrollDepth"), y() 91}, e.scrollDepth.addElements = function (n) { 92"undefined" != typeof n && e.isArray(n) && (e.merge(p.elements, n), c || y()) 93}, e.scrollDepth.removeElements = function (n) { 94"undefined" != typeof n && e.isArray(n) && e.each(n, function (n, t) { 95var r = e.inArray(t, p.elements), o = e.inArray(t, l); 96-1 != r && p.elements.splice(r, 1), -1 != o && l.splice(o, 1) 97}) 98}, m()) 99}, e.scrollDepth 100}); 101 102!function (e, n) { 103"function" == typeof define && define.amd ? define([], n) : "object" == typeof module && module.exports ? module.exports = n() : e.riveted = n() 104}(this, function () { 105var e = function () { 106function e(e) { 107e = e || {}, p = parseInt(e.reportInterval, 10) || 5, g = parseInt(e.idleTimeout, 10) || 30, k = e.gaGlobal || "ga", "function" == typeof window[k] && (w = !0), "undefined" != typeof _gaq && "function" == typeof _gaq.pu
107sh && (I = !0), "undefined" != typeof dataLayer && "function" == typeof dataLayer.push && (h = !0), T = "gaTracker" in e && "string" == typeof e.gaTracker ? e.gaTracker + ".send" : "send", "function" == typeof e.eventHandler && (s = e.eventHandler), "function" == typeof e.userTimingHandler && (m = e.userTimingHandler), y = "nonInteraction" in e && (e.nonInteraction === !1 || "false" === e.nonInteraction) ? !1 : !0, t(document, "keydown", v), t(document, "click", v), t(window, "mousemove", n(v, 500)), t(window, "scroll", n(v, 500)), t(document, "visibilitychange", o), t(document, "webkitvisibilitychange", o) 108} 109function n(e, n) { 110var t, i, o, a = null, r = 0, u = function () { 111r = new Date, a = null, o = e.apply(t, i) 112}; 113return function () { 114var c = new Date; 115r || (r = c); 116var d = n - (c - r); 117return t = this, i = arguments, 0 >= d ? (clearTimeout(a), a = null, r = c, o = e.apply(t, i)) : a || (a = setTimeout(u, d)), o 118} 119} 120function t(e, n, t) { 121e.addEventListener ? e.addEventListener(n, t, !1) : e.attachEvent ? e.attachEvent("on" + n, t) : e["on" + n] = t 122} 123function i() { 124clearTimeout(H), r() 125} 126function o() { 127(document.hidden || document.webkitHidden) && i() 128} 129function a() { 130_ += 1, _ > 0 && _ % p === 0 && s(_) 131} 132function r() { 133b = !0, clearInterval(E) 134} 135function u() { 136i(), L = !0 137} 138function c() { 139L = !1 140} 141function d() { 142b = !1, clearInterval(E), E = setInterval(a, 1e3) 143} 144function l() { 145var e = new Date, n = e - D; 146R = !0, m(n), E = setInterval(a, 1e3) 147} 148function f() { 149D = new Date, _ = 0, R = !1, b = !1, clearInterval(E), clearTimeout(H) 150} 151function v() { 152L || (R || l(), b && d(), clearTimeout(H), H = setTimeout(i, 1e3 * g + 100)) 153} 154var s, m, p, g, y, w, I, T, h, k, R = !1, b = !1, L = !1, _ = 0, D = new Date, E = null, H = null; 155return m = function (e) { 156h ? dataLayer.push({ 157event: "RivetedTiming", 158eventCategory: "Riveted", 159timingVar: "First Interaction", 160timingValue: e 161}) : (w && window[k](T, "timing", "Riveted", "First Interaction", e), I && _gaq.push(["_trackTiming", "Riveted", "First Interaction", e, null, 100])) 162}, s = function (e) { 163h ? dataLayer.push({ 164event: "Riveted", 165eventCategory: "Riveted", 166eventAction: "Time Spent", 167eventLabel: e, 168eventValue: p, 169eventNonInteraction: y 170}) : (w && window[k](T, "event", "Riveted", "Time Spent", e.toString(), p, {nonInteraction: y}), I && _gaq.push(["_trackEvent", "Riveted", "Time Spent", e.toString(), p, y])) 171}, {init: e, trigger: v, setIdle: i, on: c, off: u, reset: f} 172}(); 173return e 174}); 175var individee = individee || {}; 176individee.analysis = individee.analysis || {}; 177individee.trackForms = function (callbackUrl, token, visitId) { 178if (!callbackUrl) { 179callbackUrl = individee.analysis.callbackUrl; 180} else { 181individee.analysis.callbackUrl = callbackUrl; 182} 183$("form").each(function () { 184if (!$(this).data("form-marked-for-tracking")) { 185$(this).data("form-marked-for-tracking", true); 186var formId = $(this).data("form-id"); 187if (formId) { 188individee.analysis.record(callbackUrl, token, visitId, 6, null, formId); 189individee.publishEvent('wd.analysis.form-displayed'); 190} 191$(this).find(':input').each(function () { 192$(this).on('change', function () { 193var $formParent = $(this).closest("form"); 194var formTracked = $formParent.data("form-tracked"); 195var formId = $formParent.data("form-id"); 196if (!formTracked && formId) { 197if ($(this).attr("type") === 'email' || $(this).attr("type") === 'password' || $(this).attr("type") === 'text') { 198if ($(this).val().length > 2) { 199$(this).closest("form").attr("data-form-tracked", true); 200individee.analysis.record(callbackUrl, token, visitId, 7, null, formId); 201individee.publishEvent('wd.analysis.form-interacted'); 202} 203} else if ($(this).attr("type") === 'select' || $(this).attr("type") === 'radio') { 204$(this).closest("form").attr("data-form-tracked", true); 205individee.analysis.record(callbackUrl, token, visitId, 7, null, formId); 206individee.publishEvent('wd.analysis.form-interacted'); 207} 208} 209}); 210}); 211} 212}); 213}; 214individee.analysis.record = function (callbackUrl, token, visitId, type, intValue, stringValue) { 215const request = { 216visitId: visitId, 217type: type, 218clientUrl: window.location.href, 219headerValues: { 220Referer: document.referrer 221} 222} 223if (intValue) { 224request.intValue = intValue; 225} 226if (stringValue) { 227request.stringValue = stringValue; 228} 229$.ajax({ 230type: "POST", 231url: callbackUrl, 232data: JSON.stringify(request), 233contentType: "application/json; charset=utf-8", 234dataType: "json", 235headers: { 236"Authorization": "Bearer " + token 237} 238}); 239} 240individee.registerAnalysisCallback = function (callbackUrl, token, visitId) { 241if (document.cookie.indexOf('web-director-vh=') === -1) { 242$(window).mousemove(function (event) { 243$(window).unbind('mousemove'); 244document.cookie = "web-director-vh=true; expires=Fri, 31 Dec 9999 12:00:00 UTC"; 245if (callbackUrl !== null) { 246individee.analysis.record(callbackUrl, token, visitId, 4, 1); 247} 248}); 249$(window).on("touchstart", function (event) { 250$(window).unbind('touchmove'); 251document.cookie = "web-director-vh=true; expires=Fri, 31 Dec 9999 12:00:00 UTC"; 252if (callbackUrl !== null) { 253individee.analysis.record(callbackUrl, token, visitId, 4, 1); 254} 255}); 256} 257document.addEventListener("click", function (click) { 258if (click && click.target) { 259var targetObject = $(click.target); 260if (targetObject.is('a,button')) { 261var btnId = targetObject.attr('data-btn-id'); 262if (btnId) { 263individee.analysis.record(callbackUrl, token, visitId, 5, null, btnId); 264individee.publishEvent('wd.analysis.button-clicked'); 265} 266} 267if (targetObject.is('i,span,div.card-header') && targetObject.parents().hasClass("card")) { 268var btnId; 269var isCollapsed; 270if (targetObject.is('i')) { 271let parent = targetObject.parent().parent().parent(); 272btnId = parent.attr('data-btn-id'); 273isCollapsed = !parent.parent().attr('class').includes('collapsed'); 274} 275if (targetObject.is('span')) { 276let parent = targetObject.parent().parent(); 277btnId = parent.attr('data-btn-id'); 278isCollapsed = !parent.parent().attr('class').includes('collapsed'); 279} 280if (targetObject.is('div.card-header')) { 281let parent = targetObject; 282btnId = parent.attr('data-btn-id'); 283isCollapsed = !parent.parent().attr('class').includes('collapsed'); 284} 285if (btnId && isCollapsed) { 286individee.analysis.record(callbackUrl, token, visitId, 8, null, btnId); 287individee.publishEvent('wd.analysis.button-clicked'); 288} 289} 290if (targetObject.is('i,span') && targetObject.parent().attr("class") !== undefined && targetObject.parent().attr("class").includes("nav-link")) { 291var btnId = targetObject.parent().attr('data-btn-id'); 292if (btnId) { 293individee.analysis.record(callbackUrl, token, visitId, 9, null, btnId); 294individee.publishEvent('wd.analysis.button-clicked'); 295} 296} 297} 298}); 299individee.trackForms(callbackUrl, token, visitId); 300riveted.init({ 301reportInterval: 10, 302eventHandler: function (data) { 303if (callbackUrl !== null) { 304individee.analysis.record(callbackUrl, token, visitId, 1, data); 305} 306} 307}); 308jQuery.scrollDepth({ 309userTiming: false, 310eventHandler: function (data) { 311if (callbackUrl !== null) { 312if (data.event == 'ScrollDistance') { 313if (data.eventAction === 'Pixel Depth') { 314type = 2; 315} else { 316type = 3; 317} 318var value = data.eventLabel; 319if (value) { 320value = value.replace("%", ""); 321} 322individee.analysis.record(callbackUrl, token, visitId, type, value); 323} 324} 325} 326}); 327};
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.