1/*! WOW - v1.1.2 - 2015-04-07 2 * Copyright (c) 2015 Matthieu Aussaguel; Licensed MIT */ (function () { 3 var a, 4 b, 5 c, 6 d, 7 e, 8 f = function (a, b) { 9 return function () { 10 return a.apply(b, arguments); 11 }; 12 }, 13 g = 14 [].indexOf || 15 function (a) { 16 for (var b = 0, c = this.length; c > b; b++) 17 if (b in this && this[b] === a) return b; 18 return -1; 19 }; 20 (b = (function () { 21 function a() {} 22 return ( 23 (a.prototype.extend = function (a, b) { 24 var c, d; 25 for (c in b) (d = b[c]), null == a[c] && (a[c] = d); 26 return a; 27 }), 28 (a.prototype.isMobile = function (a) { 29 return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( 30 a 31 ); 32 }), 33 (a.prototype.createEvent = function (a, b, c, d) { 34 var e; 35 return ( 36 null == b && (b = !1), 37 null == c && (c = !1), 38 null == d && (d = null), 39 null != document.createEvent 40 ? ((e = document.createEvent("CustomEvent")), 41 e.initCustomEvent(a, b, c, d)) 42 : null != document.createEventObject 43 ? ((e = document.createEventObject()), (e.eventType = a)) 44 : (e.eventName = a), 45 e 46 ); 47 }), 48 (a.prototype.emitEvent = function (a, b) { 49 return null != a.dispatchEvent 50 ? a.dispatchEvent(b) 51 : b in (null != a) 52 ? a[b]() 53 : "on" + b in (null != a) 54 ? a["on" + b]() 55 : void 0; 56 }), 57 (a.prototype.addEvent = function (a, b, c) { 58 return null != a.addEventListener 59 ? a.addEventListener(b, c, !1) 60 : null != a.attachEvent 61 ? a.attachEvent("on" + b, c) 62 : (a[b] = c); 63 }), 64 (a.prototype.removeEvent = function (a, b, c) { 65 return null != a.removeEventListener 66 ? a.removeEventListener(b, c, !1) 67 : null != a.detachEvent 68 ? a.detachEvent("on" + b, c) 69 : delete a[b]; 70 }), 71 (a.prototype.innerHeight = function () {
72 return "innerHeight" in window 73 ? window.innerHeight 74 : document.documentElement.clientHeight; 75 }), 76 a 77 ); 78 })()), 79 (c = 80 this.WeakMap || 81 this.MozWeakMap || 82 (c = (function () { 83 function a() { 84 (this.keys = []), (this.values = []); 85 } 86 return ( 87 (a.prototype.get = function (a) { 88 var b, c, d, e, f; 89 for (f = this.keys, b = d = 0, e = f.length; e > d; b = ++d) 90 if (((c = f[b]), c === a)) return this.values[b]; 91 }), 92 (a.prototype.set = function (a, b) { 93 var c, d, e, f, g; 94 for (g = this.keys, c = e = 0, f = g.length; f > e; c = ++e) 95 if (((d = g[c]), d === a)) return void (this.values[c] = b); 96 return this.keys.push(a), this.values.push(b); 97 }), 98 a 99 ); 100 })())), 101 (a = 102 this.MutationObserver || 103 this.WebkitMutationObserver || 104 this.MozMutationObserver || 105 (a = (function () { 106 function a() { 107 "undefined" != typeof console && 108 null !== console && 109 console.warn("MutationObserver is not supported by your browser."), 110 "undefined" != typeof console && 111 null !== console && 112 console.warn( 113 "WOW.js cannot detect dom mutations, please call .sync() after loading new content." 114 ); 115 } 116 return (a.notSupported = !0), (a.prototype.observe = function () {}), a; 117 })())), 118 (d = 119 this.getComputedStyle || 120 function (a) { 121 return ( 122 (this.getPropertyValue = function (b) { 123 var c; 124 return ( 125 "float" === b && (b = "styleFloat"), 126 e.test(b) && 127 b.replace(e, function (a, b) { 128 return b.toUpperCase(); 129 }), 130 (null != (c = a.currentStyle) ? c[b] : void 0) || null 131 ); 132 }), 133 this 134 ); 135 }), 136 (e = /(\-([a-z]){1})/g), 137 (this.WOW = (function () { 138 function e(a) { 139 null == a && (a = {}), 140 (this.scrollCallback = f(this.scrollCallback, this)), 141 (this.scrollHandler = f(this.scrollHandler, this)), 142 (this.resetAnimation = f(this.resetAnimation, this)), 143 (this.start = f(this.start, this)), 144 (this.scrolled = !0), 145 (this.config = this.util().extend(a, this.defaults)), 146 (this.animationNameCache = new c()), 147 (this.wowEvent = this.util().createEvent(this.config.boxClass)); 148 } 149 return ( 150 (e.prototype.defaults = { 151 boxClass: "wow", 152 animateClass: "animated", 153 offset: 0, 154 mobile: !0, 155 live: !0, 156 callback: null, 157 }), 158 (e.prototype.init = function () { 159 var a; 160 return ( 161 (this.element = window.document.documentElement), 162 "interactive" === (a = document.readyState) || "complete" === a 163 ? this.start() 164 : this.util().addEvent(document, "DOMContentLoaded", this.start), 165 (this.finished = []) 166 ); 167 }), 168 (e.prototype.start = function () { 169 var b, c, d, e; 170 if ( 171 ((this.stopped = !1), 172 (this.boxes = function () { 173 var a, c, d, e; 174 for ( 175 d = this.element.querySelectorAll("." + this.config.boxClass), 176 e = [], 177 a = 0, 178 c = d.length; 179 c > a; 180 a++ 181 ) 182 (b = d[a]), e.push(b); 183 return e; 184 }.call(this)), 185 (this.all = function () { 186 var a, c, d, e; 187 for (d = this.boxes, e = [], a = 0, c = d.length; c > a; a++) 188 (b = d[a]), e.push(b); 189 return e; 190 }.call(this)), 191 this.boxes.length) 192 ) 193 if (this.disabled()) this.resetStyle(); 194 else 195 for (e = this.boxes, c = 0, d = e.length; d > c; c++) 196 (b = e[c]), this.applyStyle(b, !0); 197 return ( 198 this.disabled() || 199 (this.util().addEvent(window, "scroll", this.scrollHandler), 200 this.util().addEvent(window, "resize", this.scrollHandler), 201 (this.interval = setInterval(this.scrollCallback, 50))), 202 this.config.live 203 ? new a( 204 (function (a) { 205 return function (b) { 206 var c, d, e, f, g; 207 for (g = [], c = 0, d = b.length; d > c; c++) 208 (f = b[c]), 209 g.push( 210 function () { 211 var a, b, c, d; 212 for ( 213 c = f.addedNodes || [], 214 d = [], 215 a = 0, 216 b = c.length; 217 b > a; 218 a++ 219 ) 220 (e = c[a]), d.push(this.doSync(e)); 221 return d; 222 }.call(a) 223 ); 224 return g; 225 }; 226 })(this) 227 ).observe(document.body, { childList: !0, subtree: !0 }) 228 : void 0 229 ); 230 }), 231 (e.prototype.stop = function () { 232 return ( 233 (this.stopped = !0), 234 this.util().removeEvent(window, "scroll", this.scrollHandler), 235 this.util().removeEvent(window, "resize", this.scrollHandler), 236 null != this.interval ? clearInterval(this.interval) : void 0 237 ); 238 }), 239 (e.prototype.sync = function () { 240 return a.notSupported ? this.doSync(this.element) : void 0; 241 }), 242 (e.prototype.doSync = function (a) { 243 var b, c, d, e, f; 244 if ((null == a && (a = this.element), 1 === a.nodeType)) { 245 for ( 246 a = a.parentNode || a, 247 e = a.querySelectorAll("." + this.config.boxClass), 248 f = [], 249 c = 0, 250 d = e.length; 251 d > c; 252 c++ 253 ) 254 (b = e[c]), 255 g.call(this.all, b) < 0 256 ? (this.boxes.push(b), 257 this.all.push(b), 258 this.stopped || this.disabled() 259 ? this.resetStyle() 260 : this.applyStyle(b, !0), 261 f.push((this.scrolled = !0))) 262 : f.push(void 0); 263 return f; 264 } 265 }), 266 (e.prototype.show = function (a) { 267 return ( 268 this.applyStyle(a), 269 (a.className = a.className + " " + this.config.animateClass), 270 null != this.config.callback && this.config.callback(a), 271 this.util().emitEvent(a, this.wowEvent), 272 this.util().addEvent(a, "animationend", this.resetAnimation), 273 this.util().addEvent(a, "oanimationend", this.resetAnimation), 274 this.util().addEvent(a, "webkitAnimationEnd", this.resetAnimation), 275 this.util().addEvent(a, "MSAnimationEnd", this.resetAnimation), 276 a 277 ); 278 }), 279 (e.prototype.applyStyle = function (a, b) { 280 var c, d, e; 281 return ( 282 (d = a.getAttribute("data-wow-duration")), 283 (c = a.getAttribute("data-wow-delay")), 284 (e = a.getAttribute("data-wow-iteration")), 285 this.animate( 286 (function (f) { 287 return function () { 288 return f.customStyle(a, b, d, c, e); 289 }; 290 })(this) 291 ) 292 ); 293 }), 294 (e.prototype.animate = (function () { 295 return "requestAnimationFrame" in window 296 ? function (a) { 297 return window.requestAnimationFrame(a); 298 } 299 : function (a) { 300 return a(); 301 }; 302 })()), 303 (e.prototype.resetStyle = function () { 304 var a, b, c, d, e; 305 for (d = this.boxes, e = [], b = 0, c = d.length; c > b; b++) 306 (a = d[b]), e.push((a.style.visibility = "visible")); 307 return e; 308 }), 309 (e.prototype.resetAnimation = function (a) { 310 var b; 311 return a.type.toLowerCase().indexOf("animationend") >= 0 312 ? ((b = a.target || a.srcElement), 313 (b.className = b.className 314 .replace(this.config.animateClass, "") 315 .trim())) 316 : void 0; 317 }), 318 (e.prototype.customStyle = function (a, b, c, d, e) { 319 return ( 320 b && this.cacheAnimationName(a), 321 (a.style.visibility = b ? "hidden" : "visible"), 322 c && this.vendorSet(a.style, { animationDuration: c }), 323 d && this.vendorSet(a.style, { animationDelay: d }), 324 e && this.vendorSet(a.style, { animationIterationCount: e }), 325 this.vendorSet(a.style, { 326 animationName: b ? "none" : this.cachedAnimationName(a), 327 }), 328 a 329 ); 330 }),
331 (e.prototype.vendors = ["moz", "webkit"]), 332 (e.prototype.vendorSet = function (a, b) { 333 var c, d, e, f; 334 d = []; 335 for (c in b) 336 (e = b[c]), 337 (a["" + c] = e), 338 d.push( 339 function () { 340 var b, d, g, h; 341 for ( 342 g = this.vendors, h = [], b = 0, d = g.length; 343 d > b; 344 b++ 345 ) 346 (f = g[b]), 347 h.push( 348 (a["" + f + c.charAt(0).toUpperCase() + c.substr(1)] = 349 e) 350 ); 351 return h; 352 }.call(this) 353 ); 354 return d; 355 }), 356 (e.prototype.vendorCSS = function (a, b) { 357 var c, e, f, g, h, i; 358 for ( 359 h = d(a), 360 g = h.getPropertyCSSValue(b), 361 f = this.vendors, 362 c = 0, 363 e = f.length; 364 e > c; 365 c++ 366 ) 367 (i = f[c]), (g = g || h.getPropertyCSSValue("-" + i + "-" + b)); 368 return g; 369 }), 370 (e.prototype.animationName = function (a) { 371 var b; 372 try { 373 b = this.vendorCSS(a, "animation-name").cssText; 374 } catch (c) { 375 b = d(a).getPropertyValue("animation-name"); 376 } 377 return "none" === b ? "" : b; 378 }), 379 (e.prototype.cacheAnimationName = function (a) { 380 return this.animationNameCache.set(a, this.animationName(a)); 381 }), 382 (e.prototype.cachedAnimationName = function (a) { 383 return this.animationNameCache.get(a); 384 }), 385 (e.prototype.scrollHandler = function () { 386 return (this.scrolled = !0); 387 }), 388 (e.prototype.scrollCallback = function () { 389 var a; 390 return !this.scrolled || 391 ((this.scrolled = !1), 392 (this.boxes = function () { 393 var b, c, d, e; 394 for (d = this.boxes, e = [], b = 0, c = d.length; c > b; b++) 395 (a = d[b]), a && (this.isVisible(a) ? this.show(a) : e.push(a)); 396 return e; 397 }.call(this)), 398 this.boxes.length || this.config.live) 399 ? void 0 400 : this.stop(); 401 }), 402 (e.prototype.offsetTop = function (a) { 403 for (var b; void 0 === a.offsetTop; ) a = a.parentNode; 404 for (b = a.offsetTop; (a = a.offsetParent); ) b += a.offsetTop; 405 return b; 406 }), 407 (e.prototype.isVisible = function (a) { 408 var b, c, d, e, f; 409 return ( 410 (c = a.getAttribute("data-wow-offset") || this.config.offset), 411 (f = window.pageYOffset), 412 (e = 413 f + 414 Math.min(this.element.clientHeight, this.util().innerHeight()) - 415 c), 416 (d = this.offsetTop(a)), 417 (b = d + a.clientHeight), 418 e >= d && b >= f 419 ); 420 }), 421 (e.prototype.util = function () { 422 return null != this._util ? this._util : (this._util = new b()); 423 }), 424 (e.prototype.disabled = function () { 425 return ( 426 !this.config.mobile && this.util().isMobile(navigator.userAgent) 427 ); 428 }), 429 e 430 ); 431 })()); 432}.call(this));
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.