vendor: 23,472 bytes, lines 1-639
1/*! VelocityJS.org (1.5.0). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */� 2/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */� 3! function (a) {� 4 "use strict";� 5� 6 function b(a) {� 7 var b = a.length,� 8 d = c.type(a);� 9 return "function" !== d && !c.isWindow(a) && (!(1 !== a.nodeType || !b) || ("array" === d || 0 === b || "number" == typeof b && b > 0 && b - 1 in a))� 10 }� 11 if (!a.jQuery) {� 12 var c = function (a, b) {� 13 return new c.fn.init(a, b)� 14 };� 15 c.isWindow = function (a) {� 16 return a && a === a.window� 17 }, c.type = function (a) {� 18 return a ? "object" == typeof a || "function" == typeof a ? e[g.call(a)] || "object" : typeof a : a + ""� 19 }, c.isArray = Array.isArray || function (a) {� 20 return "array" === c.type(a)� 21 }, c.isPlainObject = function (a) {� 22 var b;� 23 if (!a || "object" !== c.type(a) || a.nodeType || c.isWindow(a)) return !1;� 24 try {� 25 if (a.constructor && !f.call(a, "constructor") && !f.call(a.constructor.prototype, "isPrototypeOf")) return !1� 26 } catch (d) {� 27 return !1� 28 }� 29 for (b in a);� 30 return b === undefined || f.call(a, b)� 31 }, c.each = function (a, c, d) {� 32 var e = 0,� 33 f = a.length,� 34 g = b(a);� 35 if (d) {� 36 if (g)� 37 for (; e < f && !1 !== c.apply(a[e], d); e++);� 38 else� 39 for (e in a)� 40 if (a.hasOwnProperty(e) && !1 === c.apply(a[e], d)) break� 41 } else if (g)� 42 for (; e < f && !1 !== c.call(a[e], e, a[e]); e++);� 43 else� 44 for (e in a)� 45 if (a.hasOwnProperty(e) && !1 === c.call(a[e], e, a[e])) break;� 46 return a� 47 }, c.data = function (a, b, e) {� 48 if (e === undefined) {� 49 var f = a[c.expando],� 50 g = f && d[f];� 51 if (b === undefined) return g;� 52 if (g && b in g) return g[b]� 53 } else if (b !== undefined) {� 54 var h = a[c.expando] || (a[c.expando] = ++c.uuid);� 55 return d[h] = d[h] || {}, d[h][b] = e, e� 56 }� 57 }, c.removeData = function (a, b) {� 58 var e = a[c.expando],� 59 f = e && d[e];� 60 f && (b ? c.each(b, function (a, b) {� 61 delete f[b]� 62 }) : delete d[e])� 63 }, c.extend = function () {� 64 var a, b, d, e, f, g, h = arguments[0] || {},� 65 i = 1,� 66 j = arguments.length,� 67 k = !1;� 68 for ("boolean" == typeof h && (k = h, h = arguments[i] || {}, i++), "object" != typeof h && "function" !== c.type(h) && (h = {}), i === j && (h = this, i--); i < j; i++)� 69 if (f = arguments[i])� 70 for (e in f) f.hasOwnProperty(e) && (a = h[e], d = f[e], h !== d && (k && d && (c.isPlainObject(d) || (b = c.isArray(d))) ? (b ? (b = !1, g = a && c.isArray(a) ? a : []) : g = a && c.isPlainObject(a) ? a : {}, h[e] = c.extend(k, g, d)) : d !== undefined && (h[e] = d)));� 71 return h� 72 }, c.queue = function (a, d, e) {� 73 if (a) {� 74 d = (d || "fx") + "queue";� 75 var f = c.data(a, d);� 76 return e ? (!f || c.isArray(e) ? f = c.data(a, d, function (a, c) {� 77 var d = c || [];� 78 return a && (b(Object(a)) ? function (a, b) {� 79 for (var c = +b.length, d = 0, e = a.length; d < c;) a[e++] = b[d++];� 80 if (c !== c)� 81 for (; b[d] !== undefined;) a[e++] = b[d++];� 82 a.length = e� 83 }(d, "string" == typeof a ? [a] : a) : [].push.call(d, a)), d� 84 }(e)) : f.push(e), f) : f || []� 85 }� 86 }, c.dequeue = function (a, b) {� 87 c.each(a.nodeType ? [a] : a, function (a, d) {� 88 b = b || "fx";� 89 var e = c.queue(d, b),� 90 f = e.shift();� 91 "inprogress" === f && (f = e.shift()), f && ("fx" === b && e.unshift("inprogress"), f.call(d, function () {� 92 c.dequeue(d, b)� 93 }))� 94 })� 95 }, c.fn = c.prototype = {� 96 init: function (a) {� 97 if (a.nodeType) return this[0] = a, this;� 98 throw new Error("Not a DOM node.")� 99 },� 100 offset: function () {� 101 var b = this[0].getBoundingClientRect ? this[0].getBoundingClientRect() : {� 102 top: 0,� 103 left: 0� 104 };� 105 return {� 106 top: b.top + (a.pageYOffset || document.scrollTop || 0) - (document.clientTop || 0),� 107 left: b.left + (a.pageXOffset || document.scrollLeft || 0) - (document.clientLeft || 0)� 108 }� 109 },� 110 position: function () {� 111 var a = this[0],� 112 b = function (a) {� 113 for (var b = a.offsetParent; b && "html" !== b.nodeName.toLowerCase() && b.style && "static" === b.style.position.toLowerCase();) b = b.offsetParent;� 114 return b || document� 115 }(a),� 116 d = this.offset(),� 117 e = /^(?:body|html)$/i.test(b.nodeName) ? {� 118 top: 0,� 119 left: 0� 120 } : c(b).offset();� 121 return d.top -= parseFloat(a.style.marginTop) || 0, d.left -= parseFloat(a.style.marginLeft) || 0, b.style && (e.top += parseFloat(b.style.borderTopWidth) || 0, e.left += parseFloat(b.style.borderLeftWidth) || 0), {� 122 top: d.top - e.top,� 123 left: d.left - e.left� 124 }� 125 }� 126 };� 127 var d = {};� 128 c.expando = "velocity" + (new Date).getTime(), c.uuid = 0;� 129 for (var e = {}, f = e.hasOwnProperty, g = e.toString, h = "Boolean Number String Function Array Date RegExp Object Error".split(" "), i = 0; i < h.length; i++) e["[object " + h[i] + "]"] = h[i].toLowerCase();� 130 c.fn.init.prototype = c.fn, a.Velocity = {� 131 Utilities: c� 132 }� 133 }� 134}(window),� 135function (a) {� 136 "use strict";� 137 "object" == typeof module && "object" == typeof module.exports ? module.exports = a() : "function" == typeof define && define.amd ? define(a) : a()� 138}(function () {� 139 "use strict";� 140 return function (a, b, c, d) {� 141 function e(a) {� 142 for (var b = -1, c = a ? a.length : 0, d = []; ++b < c;) {� 143 var e = a[b];� 144 e && d.push(e)� 145 }� 146 return d� 147 }� 148� 149 function f(a) {� 150 return u.isWrapped(a) ? a = s.call(a) : u.isNode(a) && (a = [a]), a� 151 }� 152� 153 function g(a) {� 154 var b = o.data(a, "velocity");� 155 return null === b ? d : b� 156 }� 157� 158 function h(a, b) {� 159 var c = g(a);� 160 c && c.delayTimer && !c.delayPaused && (c.delayRemaining = c.delay - b + c.delayBegin, c.delayPaused = !0, clearTimeout(c.delayTimer.setTimeout))� 161 }� 162� 163 function i(a, b) {� 164 var c = g(a);� 165 c && c.delayTimer && c.delayPaused && (c.delayPaused = !1, c.delayTimer.setTimeout = setTimeout(c.delayTimer.next, c.delayRemaining))� 166 }� 167� 168 function j(a) {� 169 return function (b) {� 170 return Math.round(b * a) * (1 / a)� 171 }� 172 }� 173� 174 function k(a, c, d, e) {� 175 function f(a, b) {� 176 return 1 - 3 * b + 3 * a� 177 }� 178� 179 function g(a, b) {� 180 return 3 * b - 6 * a� 181 }� 182� 183 function h(a) {� 184 return 3 * a� 185 }� 186� 187 function i(a, b, c) {� 188 return ((f(b, c) * a + g(b, c)) * a + h(b)) * a� 189 }� 190� 191 function j(a, b, c) {� 192 return 3 * f(b, c) * a * a + 2 * g(b, c) * a + h(b)� 193 }� 194� 195 function k(b, c) {� 196 for (var e = 0; e < p; ++e) {� 197 var f = j(c, a, d);� 198 if (0 === f) return c;� 199 c -= (i(c, a, d) - b) / f� 200 }� 201 return c� 202 }� 203� 204 function l() {� 205 for (var b = 0; b < t; ++b) x[b] = i(b * u, a, d)� 206 }� 207� 208 function m(b, c, e) {� 209 var f, g, h = 0;� 210 do {� 211 g = c + (e - c) / 2, f = i(g, a, d) - b, f > 0 ? e = g : c = g� 212 } while (Math.abs(f) > r && ++h < s);� 213 return g� 214 }� 215� 216 function n(b) {� 217 for (var c = 0, e = 1, f = t - 1; e !== f && x[e] <= b; ++e) c += u;� 218 --e;� 219 var g = (b - x[e]) / (x[e + 1] - x[e]),� 220 h = c + g * u,� 221 i = j(h, a, d);� 222 return i >= q ? k(b, h) : 0 === i ? h : m(b, c, c + u)� 223 }� 224� 225 function o() {� 226 y = !0, a === c && d === e || l()� 227 }� 228 var p = 4,� 229 q = .001,� 230 r = 1e-7,� 231 s = 10,� 232 t = 11,� 233 u = 1 / (t - 1),� 234 v = "Float32Array" in b;� 235 if (4 !== arguments.length) return !1;� 236 for (var w = 0; w < 4; ++w)� 237 if ("number" != typeof arguments[w] || isNaN(arguments[w]) || !isFinite(arguments[w])) return !1;� 238 a = Math.min(a, 1), d = Math.min(d, 1), a = Math.max(a, 0), d = Math.max(d, 0);� 239 var x = v ? new Float32Array(t) : new Array(t),� 240 y = !1,� 241 z = function (b) {� 242 return y || o(), a === c && d === e ? b : 0 === b ? 0 : 1 === b ? 1 : i(n(b), c, e)� 243 };� 244 z.getControlPoints = function () {� 245 return [{� 246 x: a,� 247 y: c� 248 }, {� 249 x: d,� 250 y: e� 251 }]� 252 };� 253 var A = "generateBezier(" + [a, c, d, e] + ")";� 254 return z.toString = function () {� 255 return A� 256 }, z� 257 }� 258� 259 function l(a, b) {� 260 var c = a;� 261 return u.isString(a) ? y.Easings[a] || (c = !1) : c = u.isArray(a) && 1 === a.length ? j.apply(null, a) : u.isArray(a) && 2 === a.length ? z.apply(null, a.concat([b])) : !(!u.isArray(a) || 4 !== a.length) && k.apply(null, a), !1 === c && (c = y.Easings[y.defaults.easing] ? y.defaults.easing : x), c� 262 }� 263� 264 function m(a) {� 265 if (a) {� 266 var b = y.timestamp && !0 !== a ? a : r.now(),� 267 c = y.State.calls.length;� 268 c > 1e4 && (y.State.calls = e(y.State.calls), c = y.State.calls.length);� 269 for (var f = 0; f < c; f++)� 270 if (y.State.calls[f]) {� 271 var h = y.State.calls[f],� 272 i = h[0],� 273 j = h[2],� 274 k = h[3],� 275 l = !k,� 276 q = null,� 277 s = h[5],� 278 t = h[6];� 279 if (k || (k = y.State.calls[f][3] = b - 16), s) {� 280 if (!0 !== s.resume) continue;� 281 k = h[3] = Math.round(b - t - 16), h[5] = null� 282 }� 283 t = h[6] = b - k;� 284 for (var v = Math.min(t / j.duration, 1), w = 0, x = i.length; w < x; w++) {� 285 var z = i[w],� 286 B = z.element;� 287 if (g(B)) {� 288 var D = !1;� 289 if (j.display !== d && null !== j.display && "none" !== j.display) {� 290 if ("flex" === j.display) {� 291 var E = ["-webkit-box", "-moz-box", "-ms-flexbox", "-webkit-flex"];� 292 o.each(E, function (a, b) {� 293 A.setPropertyValue(B, "display", b)� 294 })� 295 }� 296 A.setPropertyValue(B, "display", j.display)� 297 }� 298 j.visibility !== d && "hidden" !== j.visibility && A.setPropertyValue(B, "visibility", j.visibility);� 299 for (var F in z)� 300 if (z.hasOwnProperty(F) && "element" !== F) {� 301 var G, H = z[F],� 302 I = u.isString(H.easing) ? y.Easings[H.easing] : H.easing;� 303 if (u.isString(H.pattern)) {� 304 var J = 1 === v ? function (a, b, c) {� 305 var d = H.endValue[b];� 306 return c ? Math.round(d) : d� 307 } : function (a, b, c) {� 308 var d = H.startValue[b],� 309 e = H.endValue[b] - d,� 310 f = d + e * I(v, j, e);� 311 return c ? Math.round(f) : f� 312 };� 313 G = H.pattern.replace(/{(\d+)(!)?}/g, J)� 314 } else if (1 === v) G = H.endValue;� 315 else {� 316 var K = H.endValue - H.startValue;� 317 G = H.startValue + K * I(v, j, K)� 318 }� 319 if (!l && G === H.currentValue) continue;� 320 if (H.currentValue = G, "tween" === F) q = G;� 321 else {� 322 var L;� 323 if (A.Hooks.registered[F]) {� 324 L = A.Hooks.getRoot(F);� 325 var M = g(B).rootPropertyValueCache[L];� 326 M && (H.rootPropertyValue = M)� 327 }� 328 var N = A.setPropertyValue(B, F, H.currentValue + (p < 9 && 0 === parseFloat(G) ? "" : H.unitType), H.rootPropertyValue, H.scrollData);� 329 A.Hooks.registered[F] && (A.Normalizations.registered[L] ? g(B).rootPropertyValueCache[L] = A.Normalizations.registered[L]("extract", null, N[1]) : g(B).rootPropertyValueCache[L] = N[1]), "transform" === N[0] && (D = !0)� 330 }� 331 } j.mobileHA && g(B).transformCache.translate3d === d && (g(B).transformCache.translate3d = "(0px, 0px, 0px)", D = !0), D && A.flushTransformCache(B)� 332 }� 333 }� 334 j.display !== d && "none" !== j.display && (y.State.calls[f][2].display = !1), j.visibility !== d && "hidden" !== j.visibility && (y.State.calls[f][2].visibility = !1), j.progress && j.progress.call(h[1], h[1], v, Math.max(0, k + j.duration - b), k, q), 1 === v && n(f)� 335 }� 336 }� 337 y.State.isTicking && C(m)� 338 }� 339� 340 function n(a, b) {� 341 if (!y.State.calls[a]) return !1;� 342 for (var c = y.State.calls[a][0], e = y.State.calls[a][1], f = y.State.calls[a][2], h = y.State.calls[a][4], i = !1, j = 0, k = c.length; j < k; j++) {� 343 var l = c[j].element;� 344 b || f.loop || ("none" === f.display && A.setPropertyValue(l, "display", f.display), "hidden" === f.visibility && A.setPropertyValue(l, "visibility", f.visibility));� 345 var m = g(l);� 346 if (!0 !== f.loop && (o.queue(l)[1] === d || !/\.velocityQueueEntryFlag/i.test(o.queue(l)[1])) && m) {� 347 m.isAnimating = !1, m.rootPropertyValueCache = {};� 348 var n = !1;� 349 o.each(A.Lists.transforms3D, function (a, b) {� 350 var c = /^scale/.test(b) ? 1 : 0,� 351 e = m.transformCache[b];� 352 m.transformCache[b] !== d && new RegExp("^\\(" + c + "[^.]").test(e) && (n = !0, delete m.transformCache[b])� 353 }), f.mobileHA && (n = !0, delete m.transformCache.translate3d), n && A.flushTransformCache(l), A.Values.removeClass(l, "velocity-animating")� 354 }� 355 if (!b && f.complete && !f.loop && j === k - 1) try {� 356 f.complete.call(e, e)� 357 } catch (r) {� 358 setTimeout(function () {� 359 throw r� 360 }, 1)� 361 }� 362 h && !0 !== f.loop && h(e), m && !0 === f.loop && !b && (o.each(m.tweensContainer, function (a, b) {� 363 if (/^rotate/.test(a) && (parseFloat(b.startValue) - parseFloat(b.endValue)) % 360 == 0) {� 364 var c = b.startValue;� 365 b.startValue = b.endValue, b.endValue = c� 366 }� 367 /^backgroundPosition/.test(a) && 100 === parseFloat(b.endValue) && "%" === b.unitType && (b.endValue = 0, b.startValue = 100)� 368 }), y(l, "reverse", {� 369 loop: !0,� 370 delay: f.delay� 371 })), !1 !== f.queue && o.dequeue(l, f.queue)� 372 }� 373 y.State.calls[a] = !1;� 374 for (var p = 0, q = y.State.calls.length; p < q; p++)� 375 if (!1 !== y.State.calls[p]) {� 376 i = !0;� 377 break� 378 }! 1 === i && (y.State.isTicking = !1, delete y.State.calls, y.State.calls = [])� 379 }� 380 var o, p = function () {� 381 if (c.documentMode) return c.documentMode;� 382 for (var a = 7; a > 4; a--) {� 383 var b = c.createElement("div");� 384 if (b.innerHTML = "\x3c!--[if IE " + a + "]><span></span><![endif]--\x3e", b.getElementsByTagName("span").length) return b = null, a� 385 }� 386 return d� 387 }(),� 388 q = function () {� 389 var a = 0;� 390 return b.webkitRequestAnimationFrame || b.mozRequestAnimationFrame || function (b) {� 391 var c, d = (new Date).getTime();� 392 return c = Math.max(0, 16 - (d - a)), a = d + c, setTimeout(function () {� 393 b(d + c)� 394 }, c)� 395 }� 396 }(),� 397 r = function () {� 398 var a = b.performance || {};� 399 if ("function" != typeof a.now) {� 400 var c = a.timing && a.timing.navigationStart ? a.timing.navigationStart : (new Date).getTime();� 401 a.now = function () {� 402 return (new Date).getTime() - c� 403 }� 404 }� 405 return a� 406 }(),� 407 s = function () {� 408 var a = Array.prototype.slice;� 409 try {� 410 return a.call(c.documentElement), a� 411 } catch (b) {� 412 return function (b, c) {� 413 var d = this.length;� 414 if ("number" != typeof b && (b = 0), "number" != typeof c && (c = d), this.slice) return a.call(this, b, c);� 415 var e, f = [],� 416 g = b >= 0 ? b : Math.max(0, d + b),� 417 h = c < 0 ? d + c : Math.min(c, d),� 418 i = h - g;� 419 if (i > 0)� 420 if (f = new Array(i), this.charAt)� 421 for (e = 0; e < i; e++) f[e] = this.charAt(g + e);� 422 else� 423 for (e = 0; e < i; e++) f[e] = this[g + e];� 424 return f� 425 }� 426 }� 427 }(),� 428 t = function () {� 429 return Array.prototype.includes ? function (a, b) {� 430 return a.includes(b)� 431 } : Array.prototype.indexOf ? function (a, b) {� 432 return a.indexOf(b) >= 0� 433 } : function (a, b) {� 434 for (var c = 0; c < a.length; c++)� 435 if (a[c] === b) return !0;� 436 return !1� 437 }� 438 },� 439 u = {� 440 isNumber: function (a) {� 441 return "number" == typeof a� 442 },� 443 isString: function (a) {� 444 return "string" == typeof a� 445 },� 446 isArray: Array.isArray || function (a) {� 447 return "[object Array]" === Object.prototype.toString.call(a)� 448 },� 449 isFunction: function (a) {� 450 return "[object Function]" === Object.prototype.toString.call(a)� 451 },� 452 isNode: function (a) {� 453 return a && a.nodeType� 454 },� 455 isWrapped: function (a) {� 456 return a && a !== b && u.isNumber(a.length) && !u.isString(a) && !u.isFunction(a) && !u.isNode(a) && (0 === a.length || u.isNode(a[0]))� 457 },� 458 isSVG: function (a) {� 459 return b.SVGElement && a instanceof b.SVGElement� 460 },� 461 isEmptyObject: function (a) {� 462 for (var b in a)� 463 if (a.hasOwnProperty(b)) return !1;� 464 return !0� 465 }� 466 },� 467 v = !1;� 468 if (a.fn && a.fn.jquery ? (o = a, v = !0) : o = b.Velocity.Utilities, p <= 8 && !v) throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");� 469 if (p <= 7) return void(jQuery.fn.velocity = jQuery.fn.animate);� 470 var w = 400,� 471 x = "swing",� 472 y = {� 473 State: {� 474 isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(b.navigator.userAgent),� 475 isAndroid: /Android/i.test(b.navigator.userAgent),� 476 isGingerbread: /Android 2\.3\.[3-7]/i.test(b.navigator.userAgent),� 477 isChrome: b.chrome,� 478 isFirefox: /Firefox/i.test(b.navigator.userAgent),� 479 prefixElement: c.createElement("div"),� 480 prefixMatches: {},� 481 scrollAnchor: null,� 482 scrollPropertyLeft: null,� 483 scrollPropertyTop: null,� 484 isTicking: !1,� 485 calls: [],� 486 delayedElements: {� 487 count: 0� 488 }� 489 },� 490 CSS: {},� 491 Utilities: o,� 492 Redirects: {},� 493 Easings: {},� 494 Promise: b.Promise,� 495 defaults: {� 496 queue: "",� 497 duration: w,� 498 easing: x,� 499 begin: d,� 500 complete: d,� 501 progress: d,� 502 display: d,� 503 visibility: d,� 504 loop: !1,� 505 delay: !1,� 506 mobileHA: !0,� 507 _cacheValues: !0,� 508 promiseRejectEmpty: !0� 509 },� 510 init: function (a) {� 511 o.data(a, "velocity", {� 512 isSVG: u.isSVG(a),� 513 isAnimating: !1,� 514 computedStyle: null,� 515 tweensContainer: null,� 516 rootPropertyValueCache: {},� 517 transformCache: {}� 518 })� 519 },� 520 hook: null,� 521 mock: !1,� 522 version: {� 523 major: 1,� 524 minor: 5,� 525 patch: 1� 526 },� 527 debug: !1,� 528 timestamp: !0,� 529 pauseAll: function (a) {� 530 var b = (new Date).getTime();� 531 o.each(y.State.calls, function (b, c) {� 532 if (c) {� 533 if (a !== d && (c[2].queue !== a || !1 === c[2].queue)) return !0;� 534 c[5] = {� 535 resume: !1� 536 }� 537 }� 538 }), o.each(y.State.delayedElements, function (a, c) {� 539 c && h(c, b)� 540 })� 541 },� 542 resumeAll: function (a) {� 543 var b = (new Date).getTime();� 544 o.each(y.State.calls, function (b, c) {� 545 if (c) {� 546 if (a !== d && (c[2].queue !== a || !1 === c[2].queue)) return !0;� 547 c[5] && (c[5].resume = !0)� 548 }� 549 }), o.each(y.State.delayedElements, function (a, c) {� 550 c && i(c, b)� 551 })� 552 }� 553 };� 554 b.pageYOffset !== d ? (y.State.scrollAnchor = b, y.State.scrollPropertyLeft = "pageXOffset", y.State.scrollPropertyTop = "pageYOffset") : (y.State.scrollAnchor = c.documentElement || c.body.parentNode || c.body, y.State.scrollPropertyLeft = "scrollLeft", y.State.scrollPropertyTop = "scrollTop");� 555 var z = function () {� 556 function a(a) {� 557 return -a.tension * a.x - a.friction * a.v� 558 }� 559� 560 function b(b, c, d) {� 561 var e = {� 562 x: b.x + d.dx * c,� 563 v: b.v + d.dv * c,� 564 tension: b.tension,� 565 friction: b.friction� 566 };� 567 return {� 568 dx: e.v,� 569 dv: a(e)� 570 }� 571 }� 572� 573 function c(c, d) {� 574 var e = {� 575 dx: c.v,� 576 dv: a(c)� 577 },� 578 f = b(c, .5 * d, e),� 579 g = b(c, .5 * d, f),� 580 h = b(c, d, g),� 581 i = 1 / 6 * (e.dx + 2 * (f.dx + g.dx) + h.dx),� 582 j = 1 / 6 * (e.dv + 2 * (f.dv + g.dv) + h.dv);� 583 return c.x = c.x + i * d, c.v = c.v + j * d, c� 584 }� 585 return function d(a, b, e) {� 586 var f, g, h, i = {� 587 x: -1,� 588 v: 0,� 589 tension: null,� 590 friction: null� 591 },� 592 j = [0],� 593 k = 0;� 594 for (a = parseFloat(a) || 500, b = parseFloat(b) || 20, e = e || null, i.tension = a, i.friction = b, f = null !== e, f ? (k = d(a, b), g = k / e * .016) : g = .016;;)� 595 if (h = c(h || i, g), j.push(1 + h.x), k += 16, !(Math.abs(h.x) > 1e-4 && Math.abs(h.v) > 1e-4)) break;� 596 return f ? function (a) {� 597 return j[a * (j.length - 1) | 0]� 598 } : k� 599 }� 600 }();� 601 y.Easings = {� 602 linear: function (a) {� 603 return a� 604 },� 605 swing: function (a) {� 606 return .5 - Math.cos(a * Math.PI) / 2� 607 },� 608 spring: function (a) {� 609 return 1 - Math.cos(4.5 * a * Math.PI) * Math.exp(6 * -a)� 610 }� 611 }, o.each([["ease", [.25, .1, .25, 1]], ["ease-in", [.42, 0, 1, 1]], ["ease-out", [0, 0, .58, 1]], ["ease-in-out", [.42, 0, .58, 1]], ["easeInSine", [.47, 0, .745, .715]], ["easeOutSine", [.39, .575, .565, 1]], ["easeInOutSine", [.445, .05, .55, .95]], ["easeInQuad", [.55, .085, .68, .53]], ["easeOutQuad", [.25, .46, .45, .94]], ["easeInOutQuad", [.455, .03, .515, .955]], ["easeInCubic", [.55, .055, .675, .19]], ["easeOutCubic", [.215, .61, .355, 1]], ["easeInOutCubic", [.645, .045, .355, 1]], ["easeInQuart", [.895, .03, .685, .22]], ["easeOutQuart", [.165, .84, .44, 1]], ["easeInOutQuart", [.77, 0, .175, 1]], ["easeInQuint", [.755, .05, .855, .06]], ["easeOutQuint", [.23, 1, .32, 1]], ["easeInOutQuint", [.86, 0, .07, 1]], ["easeInExpo", [.95, .05, .795, .035]], ["easeOutExpo", [.19, 1, .22, 1]], ["easeInOutExpo", [1, 0, 0, 1]], ["easeInCirc", [.6, .04, .98, .335]], ["easeOutCirc", [.075, .82, .165, 1]], ["easeInOutCirc", [.785, .135, .15, .86]]], function (a, b) {� 612 y.Easings[b[0]] = k.apply(null, b[1])� 613 });� 614 var A = y.CSS = {� 615 RegEx: {� 616 isHex: /^#([A-f\d]{3}){1,2}$/i,� 617 valueUnwrap: /^[A-z]+\((.*)\)$/i,� 618 wrappedValueAlreadyExtracted: /[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,� 619 valueSplit: /([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi� 620 },� 621 Lists: {� 622 colors: ["fill", "stroke", "stopColor", "color", "backgroundColor", "borderColor", "borderTopColor", "borderRightColor", "borderBottomColor", "borderLeftColor", "outlineColor"],� 623 transformsBase: ["translateX", "translateY", "scale", "scaleX", "scaleY", "skewX", "skewY", "rotateZ"],� 624 transforms3D: ["transformPerspective", "translateZ", "scaleZ", "rotateX", "rotateY"],� 625 units: ["%", "em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "Q", "in", "pc", "pt", "px", "deg", "grad", "rad", "turn", "s", "ms"],� 626 colorNames: {� 627 aliceblue: "240,248,255",� 628 antiquewhite: "250,235,215",� 629 aquamarine: "127,255,212",� 630 aqua: "0,255,255",� 631 azure: "240,255,255",� 632 beige: "245,245,220",� 633 bisque: "255,228,196",� 634 black: "0,0,0",� 635 blanchedalmond: "255,235,205",� 636 blueviolet: "138,43,226",� 637 blue: "0,0,255",� 638 brown: "165,42,42",� 639 burlywood: "222,184,135",�
640 cadetblue: "95,158,160",� 641 chartreuse: "127,255,0",� 642 chocolate: "210,105,30",� 643 coral: "255,127,80",� 644 cornflowerblue: "100,149,237",� 645 cornsilk: "255,248,220",� 646 crimson: "220,20,60",� 647 cyan: "0,255,255",� 648 darkblue: "0,0,139",� 649 darkcyan: "0,139,139",� 650 darkgoldenrod: "184,134,11",� 651 darkgray: "169,169,169",� 652 darkgrey: "169,169,169",� 653 darkgreen: "0,100,0",� 654 darkkhaki: "189,183,107",� 655 darkmagenta: "139,0,139",� 656 darkolivegreen: "85,107,47",� 657 darkorange: "255,140,0",� 658 darkorchid: "153,50,204",� 659 darkred: "139,0,0",� 660 darksalmon: "233,150,122",� 661 darkseagreen: "143,188,143",� 662 darkslateblue: "72,61,139",� 663 darkslategray: "47,79,79",� 664 darkturquoise: "0,206,209",� 665 darkviolet: "148,0,211",� 666 deeppink: "255,20,147",� 667 deepskyblue: "0,191,255",� 668 dimgray: "105,105,105",� 669 dimgrey: "105,105,105",� 670 dodgerblue: "30,144,255",� 671 firebrick: "178,34,34",� 672 floralwhite: "255,250,240",� 673 forestgreen: "34,139,34",� 674 fuchsia: "255,0,255",� 675 gainsboro: "220,220,220",� 676 ghostwhite: "248,248,255",� 677 gold: "255,215,0",� 678 goldenrod: "218,165,32",� 679 gray: "128,128,128",� 680 grey: "128,128,128",� 681 greenyellow: "173,255,47",� 682 green: "0,128,0",� 683 honeydew: "240,255,240",� 684 hotpink: "255,105,180",� 685 indianred: "205,92,92",� 686 indigo: "75,0,130",� 687 ivory: "255,255,240",� 688 khaki: "240,230,140",� 689 lavenderblush: "255,240,245",� 690 lavender: "230,230,250",� 691 lawngreen: "124,252,0",� 692 lemonchiffon: "255,250,205",� 693 lightblue: "173,216,230",� 694 lightcoral: "240,128,128",� 695 lightcyan: "224,255,255",� 696 lightgoldenrodyellow: "250,250,210",� 697 lightgray: "211,211,211",� 698 lightgrey: "211,211,211",� 699 lightgreen: "144,238,144",� 700 lightpink: "255,182,193",� 701 lightsalmon: "255,160,122",� 702 lightseagreen: "32,178,170",� 703 lightskyblue: "135,206,250",� 704 lightslategray: "119,136,153",� 705 lightsteelblue: "176,196,222",� 706 lightyellow: "255,255,224",� 707 limegreen: "50,205,50",� 708 lime: "0,255,0",� 709 linen: "250,240,230",� 710 magenta: "255,0,255",� 711 maroon: "128,0,0",� 712 mediumaquamarine: "102,205,170",� 713 mediumblue: "0,0,205",� 714 mediumorchid: "186,85,211",� 715 mediumpurple: "147,112,219",� 716 mediumseagreen: "60,179,113",� 717 mediumslateblue: "123,104,238",� 718 mediumspringgreen: "0,250,154",� 719 mediumturquoise: "72,209,204",� 720 mediumvioletred: "199,21,133",� 721 midnightblue: "25,25,112",� 722 mintcream: "245,255,250",� 723 mistyrose: "255,228,225",� 724 moccasin: "255,228,181",� 725 navajowhite: "255,222,173",� 726 navy: "0,0,128",� 727 oldlace: "253,245,230",� 728 olivedrab: "107,142,35",� 729 olive: "128,128,0",� 730 orangered: "255,69,0",� 731 orange: "255,165,0",� 732 orchid: "218,112,214",� 733 palegoldenrod: "238,232,170",� 734 palegreen: "152,251,152",� 735 paleturquoise: "175,238,238",� 736 palevioletred: "219,112,147",� 737 papayawhip: "255,239,213",� 738 peachpuff: "255,218,185",� 739 peru: "205,133,63",� 740 pink: "255,192,203",� 741 plum: "221,160,221",� 742 powderblue: "176,224,230",� 743 purple: "128,0,128",� 744 red: "255,0,0",� 745 rosybrown: "188,143,143",� 746 royalblue: "65,105,225",� 747 saddlebrown: "139,69,19",� 748 salmon: "250,128,114",� 749 sandybrown: "244,164,96",� 750 seagreen: "46,139,87",� 751 seashell: "255,245,238",� 752 sienna: "160,82,45",� 753 silver: "192,192,192",� 754 skyblue: "135,206,235",� 755 slateblue: "106,90,205",� 756 slategray: "112,128,144",� 757 snow: "255,250,250",� 758 springgreen: "0,255,127",� 759 steelblue: "70,130,180",� 760 tan: "210,180,140",� 761 teal: "0,128,128",� 762 thistle: "216,191,216",� 763 tomato: "255,99,71",� 764 turquoise: "64,224,208",� 765 violet: "238,130,238",� 766 wheat: "245,222,179",� 767 whitesmoke: "245,245,245",� 768 white: "255,255,255",� 769 yellowgreen: "154,205,50",� 770 yellow: "255,255,0"� 771 }� 772 },� 773 Hooks: {� 774 templates: {� 775 textShadow: ["Color X Y Blur", "black 0px 0px 0px"],� 776 boxShadow: ["Color X Y Blur Spread", "black 0px 0px 0px 0px"],� 777 clip: ["Top Right Bottom Left", "0px 0px 0px 0px"],� 778 backgroundPosition: ["X Y", "0% 0%"],� 779 transformOrigin: ["X Y Z", "50% 50% 0px"],� 780 perspectiveOrigin: ["X Y", "50% 50%"]� 781 },� 782 registered: {},� 783 register: function () {� 784 for (var a = 0; a < A.Lists.colors.length; a++) {� 785 var b = "color" === A.Lists.colors[a] ? "0 0 0 1" : "255 255 255 1";� 786 A.Hooks.templates[A.Lists.colors[a]] = ["Red Green Blue Alp
vendor: 36,106 bytes, lines 786-1549
786ha", b]� 787 }� 788 var c, d, e;� 789 if (p)� 790 for (c in A.Hooks.templates)� 791 if (A.Hooks.templates.hasOwnProperty(c)) {� 792 d = A.Hooks.templates[c], e = d[0].split(" ");� 793 var f = d[1].match(A.RegEx.valueSplit);� 794 "Color" === e[0] && (e.push(e.shift()), f.push(f.shift()), A.Hooks.templates[c] = [e.join(" "), f.join(" ")])� 795 } for (c in A.Hooks.templates)� 796 if (A.Hooks.templates.hasOwnProperty(c)) {� 797 d = A.Hooks.templates[c], e = d[0].split(" ");� 798 for (var g in e)� 799 if (e.hasOwnProperty(g)) {� 800 var h = c + e[g],� 801 i = g;� 802 A.Hooks.registered[h] = [c, i]� 803 }� 804 }� 805 },� 806 getRoot: function (a) {� 807 var b = A.Hooks.registered[a];� 808 return b ? b[0] : a� 809 },� 810 getUnit: function (a, b) {� 811 var c = (a.substr(b || 0, 5).match(/^[a-z%]+/) || [])[0] || "";� 812 return c && t(A.Lists.units, c) ? c : ""� 813 },� 814 fixColors: function (a) {� 815 return a.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g, function (a, b, c) {� 816 return A.Lists.colorNames.hasOwnProperty(c) ? (b || "rgba(") + A.Lists.colorNames[c] + (b ? "" : ",1)") : b + c� 817 })� 818 },� 819 cleanRootPropertyValue: function (a, b) {� 820 return A.RegEx.valueUnwrap.test(b) && (b = b.match(A.RegEx.valueUnwrap)[1]), A.Values.isCSSNullValue(b) && (b = A.Hooks.templates[a][1]), b� 821 },� 822 extractValue: function (a, b) {� 823 var c = A.Hooks.registered[a];� 824 if (c) {� 825 var d = c[0],� 826 e = c[1];� 827 return b = A.Hooks.cleanRootPropertyValue(d, b), b.toString().match(A.RegEx.valueSplit)[e]� 828 }� 829 return b� 830 },� 831 injectValue: function (a, b, c) {� 832 var d = A.Hooks.registered[a];� 833 if (d) {� 834 var e, f = d[0],� 835 g = d[1];� 836 return c = A.Hooks.cleanRootPropertyValue(f, c), e = c.toString().match(A.RegEx.valueSplit), e[g] = b, e.join(" ")� 837 }� 838 return c� 839 }� 840 },� 841 Normalizations: {� 842 registered: {� 843 clip: function (a, b, c) {� 844 switch (a) {� 845 case "name":� 846 return "clip";� 847 case "extract":� 848 var d;� 849 return A.RegEx.wrappedValueAlreadyExtracted.test(c) ? d = c : (d = c.toString().match(A.RegEx.valueUnwrap), d = d ? d[1].replace(/,(\s+)?/g, " ") : c), d;� 850 case "inject":� 851 return "rect(" + c + ")"� 852 }� 853 },� 854 blur: function (a, b, c) {� 855 switch (a) {� 856 case "name":� 857 return y.State.isFirefox ? "filter" : "-webkit-filter";� 858 case "extract":� 859 var d = parseFloat(c);� 860 if (!d && 0 !== d) {� 861 var e = c.toString().match(/blur\(([0-9]+[A-z]+)\)/i);� 862 d = e ? e[1] : 0� 863 }� 864 return d;� 865 case "inject":� 866 return parseFloat(c) ? "blur(" + c + ")" : "none"� 867 }� 868 },� 869 opacity: function (a, b, c) {� 870 if (p <= 8) switch (a) {� 871 case "name":� 872 return "filter";� 873 case "extract":� 874 var d = c.toString().match(/alpha\(opacity=(.*)\)/i);� 875 return c = d ? d[1] / 100 : 1;� 876 case "inject":� 877 return b.style.zoom = 1, parseFloat(c) >= 1 ? "" : "alpha(opacity=" + parseInt(100 * parseFloat(c), 10) + ")"� 878 } else switch (a) {� 879 case "name":� 880 return "opacity";� 881 case "extract":� 882 case "inject":� 883 return c� 884 }� 885 }� 886 },� 887 register: function () {� 888 function a(a, b, c) {� 889 if ("border-box" === A.getPropertyValue(b, "boxSizing").toString().toLowerCase() === (c || !1)) {� 890 var d, e, f = 0,� 891 g = "width" === a ? ["Left", "Right"] : ["Top", "Bottom"],� 892 h = ["padding" + g[0], "padding" + g[1], "border" + g[0] + "Width", "border" + g[1] + "Width"];� 893 for (d = 0; d < h.length; d++) e = parseFloat(A.getPropertyValue(b, h[d])), isNaN(e) || (f += e);� 894 return c ? -f : f� 895 }� 896 return 0� 897 }� 898� 899 function b(b, c) {� 900 return function (d, e, f) {� 901 switch (d) {� 902 case "name":� 903 return b;� 904 case "extract":� 905 return parseFloat(f) + a(b, e, c);� 906 case "inject":� 907 return parseFloat(f) - a(b, e, c) + "px"� 908 }� 909 }� 910 }� 911 p && !(p > 9) || y.State.isGingerbread || (A.Lists.transformsBase = A.Lists.transformsBase.concat(A.Lists.transforms3D));� 912 for (var c = 0; c < A.Lists.transformsBase.length; c++) ! function () {� 913 var a = A.Lists.transformsBase[c];� 914 A.Normalizations.registered[a] = function (b, c, e) {� 915 switch (b) {� 916 case "name":� 917 return "transform";� 918 case "extract":� 919 return g(c) === d || g(c).transformCache[a] === d ? /^scale/i.test(a) ? 1 : 0 : g(c).transformCache[a].replace(/[()]/g, "");� 920 case "inject":� 921 var f = !1;� 922 switch (a.substr(0, a.length - 1)) {� 923 case "translate":� 924 f = !/(%|px|em|rem|vw|vh|\d)$/i.test(e);� 925 break;� 926 case "scal":� 927 case "scale":� 928 y.State.isAndroid && g(c).transformCache[a] === d && e < 1 && (e = 1), f = !/(\d)$/i.test(e);� 929 break;� 930 case "skew":� 931 case "rotate":� 932 f = !/(deg|\d)$/i.test(e)� 933 }� 934 return f || (g(c).transformCache[a] = "(" + e + ")"), g(c).transformCache[a]� 935 }� 936 }� 937 }();� 938 for (var e = 0; e < A.Lists.colors.length; e++) ! function () {� 939 var a = A.Lists.colors[e];� 940 A.Normalizations.registered[a] = function (b, c, e) {� 941 switch (b) {� 942 case "name":� 943 return a;� 944 case "extract":� 945 var f;� 946 if (A.RegEx.wrappedValueAlreadyExtracted.test(e)) f = e;� 947 else {� 948 var g, h = {� 949 black: "rgb(0, 0, 0)",� 950 blue: "rgb(0, 0, 255)",� 951 gray: "rgb(128, 128, 128)",� 952 green: "rgb(0, 128, 0)",� 953 red: "rgb(255, 0, 0)",� 954 white: "rgb(255, 255, 255)"� 955 };� 956 /^[A-z]+$/i.test(e) ? g = h[e] !== d ? h[e] : h.black : A.RegEx.isHex.test(e) ? g = "rgb(" + A.Values.hexToRgb(e).join(" ") + ")" : /^rgba?\(/i.test(e) || (g = h.black), f = (g || e).toString().match(A.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g, " ")� 957 }� 958 return (!p || p > 8) && 3 === f.split(" ").length && (f += " 1"), f;� 959 case "inject":� 960 return /^rgb/.test(e) ? e : (p <= 8 ? 4 === e.split(" ").length && (e = e.split(/\s+/).slice(0, 3).join(" ")) : 3 === e.split(" ").length && (e += " 1"), (p <= 8 ? "rgb" : "rgba") + "(" + e.replace(/\s+/g, ",").replace(/\.(\d)+(?=,)/g, "") + ")")� 961 }� 962 }� 963 }();� 964 A.Normalizations.registered.innerWidth = b("width", !0), A.Normalizations.registered.innerHeight = b("height", !0), A.Normalizations.registered.outerWidth = b("width"), A.Normalizations.registered.outerHeight = b("height")� 965 }� 966 },� 967 Names: {� 968 camelCase: function (a) {� 969 return a.replace(/-(\w)/g, function (a, b) {� 970 return b.toUpperCase()� 971 })� 972 },� 973 SVGAttribute: function (a) {� 974 var b = "width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";� 975 return (p || y.State.isAndroid && !y.State.isChrome) && (b += "|transform"), new RegExp("^(" + b + ")$", "i").test(a)� 976 },� 977 prefixCheck: function (a) {� 978 if (y.State.prefixMatches[a]) return [y.State.prefixMatches[a], !0];� 979 for (var b = ["", "Webkit", "Moz", "ms", "O"], c = 0, d = b.length; c < d; c++) {� 980 var e;� 981 if (e = 0 === c ? a : b[c] + a.replace(/^\w/, function (a) {� 982 return a.toUpperCase()� 983 }), u.isString(y.State.prefixElement.style[e])) return y.State.prefixMatches[a] = e, [e, !0]� 984 }� 985 return [a, !1]� 986 }� 987 },� 988 Values: {� 989 hexToRgb: function (a) {� 990 var b, c = /^#?([a-f\d])([a-f\d])([a-f\d])$/i,� 991 d = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;� 992 return a = a.replace(c, function (a, b, c, d) {� 993 return b + b + c + c + d + d� 994 }), b = d.exec(a), b ? [parseInt(b[1], 16), parseInt(b[2], 16), parseInt(b[3], 16)] : [0, 0, 0]� 995 },� 996 isCSSNullValue: function (a) {� 997 return !a || /^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(a)� 998 },� 999 getUnitType: function (a) {� 1000 return /^(rotate|skew)/i.test(a) ? "deg" : /(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(a) ? "" : "px"� 1001 },� 1002 getDisplayType: function (a) {� 1003 var b = a && a.tagName.toString().toLowerCase();� 1004 return /^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(b) ? "inline" : /^(li)$/i.test(b) ? "list-item" : /^(tr)$/i.test(b) ? "table-row" : /^(table)$/i.test(b) ? "table" : /^(tbody)$/i.test(b) ? "table-row-group" : "block"� 1005 },� 1006 addClass: function (a, b) {� 1007 if (a)� 1008 if (a.classList) a.classList.add(b);� 1009 else if (u.isString(a.className)) a.className += (a.className.length ? " " : "") + b;� 1010 else {� 1011 var c = a.getAttribute(p <= 7 ? "className" : "class") || "";� 1012 a.setAttribute("class", c + (c ? " " : "") + b)� 1013 }� 1014 },� 1015 removeClass: function (a, b) {� 1016 if (a)� 1017 if (a.classList) a.classList.remove(b);� 1018 else if (u.isString(a.className)) a.className = a.className.toString().replace(new RegExp("(^|\\s)" + b.split(" ").join("|") + "(\\s|$)", "gi"), " ");� 1019 else {� 1020 var c = a.getAttribute(p <= 7 ? "className" : "class") || "";� 1021 a.setAttribute("class", c.replace(new RegExp("(^|s)" + b.split(" ").join("|") + "(s|$)", "gi"), " "))� 1022 }� 1023 }� 1024 },� 1025 getPropertyValue: function (a, c, e, f) {� 1026 function h(a, c) {� 1027 var e = 0;� 1028 if (p <= 8) e = o.css(a, c);� 1029 else {� 1030 var i = !1;� 1031 /^(width|height)$/.test(c) && 0 === A.getPropertyValue(a, "display") && (i = !0, A.setPropertyValue(a, "display", A.Values.getDisplayType(a)));� 1032 var j = function () {� 1033 i && A.setPropertyValue(a, "display", "none")� 1034 };� 1035 if (!f) {� 1036 if ("height" === c && "border-box" !== A.getPropertyValue(a, "boxSizing").toString().toLowerCase()) {� 1037 var k = a.offsetHeight - (parseFloat(A.getPropertyValue(a, "borderTopWidth")) || 0) - (parseFloat(A.getPropertyValue(a, "borderBottomWidth")) || 0) - (parseFloat(A.getPropertyValue(a, "paddingTop")) || 0) - (parseFloat(A.getPropertyValue(a, "paddingBottom")) || 0);� 1038 return j(), k� 1039 }� 1040 if ("width" === c && "border-box" !== A.getPropertyValue(a, "boxSizing").toString().toLowerCase()) {� 1041 var l = a.offsetWidth - (parseFloat(A.getPropertyValue(a, "borderLeftWidth")) || 0) - (parseFloat(A.getPropertyValue(a, "borderRightWidth")) || 0) - (parseFloat(A.getPropertyValue(a, "paddingLeft")) || 0) - (parseFloat(A.getPropertyValue(a, "paddingRight")) || 0);� 1042 return j(), l� 1043 }� 1044 }� 1045 var m;� 1046 m = g(a) === d ? b.getComputedStyle(a, null) : g(a).computedStyle ? g(a).computedStyle : g(a).computedStyle = b.getComputedStyle(a, null), "borderColor" === c && (c = "borderTopColor"), e = 9 === p && "filter" === c ? m.getPropertyValue(c) : m[c], "" !== e && null !== e || (e = a.style[c]), j()� 1047 }� 1048 if ("auto" === e && /^(top|right|bottom|left)$/i.test(c)) {� 1049 var n = h(a, "position");� 1050 ("fixed" === n || "absolute" === n && /top|left/i.test(c)) && (e = o(a).position()[c] + "px")� 1051 }� 1052 return e� 1053 }� 1054 var i;� 1055 if (A.Hooks.registered[c]) {� 1056 var j = c,� 1057 k = A.Hooks.getRoot(j);� 1058 e === d && (e = A.getPropertyValue(a, A.Names.prefixCheck(k)[0])), A.Normalizations.registered[k] && (e = A.Normalizations.registered[k]("extract", a, e)), i = A.Hooks.extractValue(j, e)� 1059 } else if (A.Normalizations.registered[c]) {� 1060 var l, m;� 1061 l = A.Normalizations.registered[c]("name", a), "transform" !== l && (m = h(a, A.Names.prefixCheck(l)[0]), A.Values.isCSSNullValue(m) && A.Hooks.templates[c] && (m = A.Hooks.templates[c][1])), i = A.Normalizations.registered[c]("extract", a, m)� 1062 }� 1063 if (!/^[\d-]/.test(i)) {� 1064 var n = g(a);� 1065 if (n && n.isSVG && A.Names.SVGAttribute(c))� 1066 if (/^(height|width)$/i.test(c)) try {� 1067 i = a.getBBox()[c]� 1068 } catch (q) {� 1069 i = 0� 1070 } else i = a.getAttribute(c);� 1071 else i = h(a, A.Names.prefixCheck(c)[0])� 1072 }� 1073 return A.Values.isCSSNullValue(i) && (i = 0), y.debug >= 2 && console.log("Get " + c + ": " + i), i� 1074 },� 1075 setPropertyValue: function (a, c, d, e, f) {� 1076 var h = c;� 1077 if ("scroll" === c) f.container ? f.container["scroll" + f.direction] = d : "Left" === f.direction ? b.scrollTo(d, f.alternateValue) : b.scrollTo(f.alternateValue, d);� 1078 else if (A.Normalizations.registered[c] && "transform" === A.Normalizations.registered[c]("name", a)) A.Normalizations.registered[c]("inject", a, d), h = "transform", d = g(a).transformCache[c];� 1079 else {� 1080 if (A.Hooks.registered[c]) {� 1081 var i = c,� 1082 j = A.Hooks.getRoot(c);� 1083 e = e || A.getPropertyValue(a, j), d = A.Hooks.injectValue(i, d, e), c = j� 1084 }� 1085 if (A.Normalizations.registered[c] && (d = A.Normalizations.registered[c]("inject", a, d), c = A.Normalizations.registered[c]("name", a)), h = A.Names.prefixCheck(c)[0], p <= 8) try {� 1086 a.style[h] = d� 1087 } catch (l) {� 1088 y.debug && console.log("Browser does not support [" + d + "] for [" + h + "]")� 1089 } else {� 1090 var k = g(a);� 1091 k && k.isSVG && A.Names.SVGAttribute(c) ? a.setAttribute(c, d) : a.style[h] = d� 1092 }� 1093 y.debug >= 2 && console.log("Set " + c + " (" + h + "): " + d)� 1094 }� 1095 return [h, d]� 1096 },� 1097 flushTransformCache: function (a) {� 1098 var b = "",� 1099 c = g(a);� 1100 if ((p || y.State.isAndroid && !y.State.isChrome) && c && c.isSVG) {� 1101 var d = function (b) {� 1102 return parseFloat(A.getPropertyValue(a, b))� 1103 },� 1104 e = {� 1105 translate: [d("translateX"), d("translateY")],� 1106 skewX: [d("skewX")],� 1107 skewY: [d("skewY")],� 1108 scale: 1 !== d("scale") ? [d("scale"), d("scale")] : [d("scaleX"), d("scaleY")],� 1109 rotate: [d("rotateZ"), 0, 0]� 1110 };� 1111 o.each(g(a).transformCache, function (a) {� 1112 /^translate/i.test(a) ? a = "translate" : /^scale/i.test(a) ? a = "scale" : /^rotate/i.test(a) && (a = "rotate"), e[a] && (b += a + "(" + e[a].join(" ") + ") ", delete e[a])� 1113 })� 1114 } else {� 1115 var f, h;� 1116 o.each(g(a).transformCache, function (c) {� 1117 if (f = g(a).transformCache[c], "transformPerspective" === c) return h = f, !0;� 1118 9 === p && "rotateZ" === c && (c = "rotate"), b += c + f + " "� 1119 }), h && (b = "perspective" + h + " " + b)� 1120 }� 1121 A.setPropertyValue(a, "transform", b)� 1122 }� 1123 };� 1124 A.Hooks.register(), A.Normalizations.register(), y.hook = function (a, b, c) {� 1125 var e;� 1126 return a = f(a), o.each(a, function (a, f) {� 1127 if (g(f) === d && y.init(f), c === d) e === d && (e = A.getPropertyValue(f, b));� 1128 else {� 1129 var h = A.setPropertyValue(f, b, c);� 1130 "transform" === h[0] && y.CSS.flushTransformCache(f), e = h� 1131 }� 1132 }), e� 1133 };� 1134 var B = function () {� 1135 function a() {� 1136 return k ? z.promise || null : p� 1137 }� 1138� 1139 function e(a, e) {� 1140 function f(f) {� 1141 var k, n;� 1142 if (i.begin && 0 === D) try {� 1143 i.begin.call(r, r)� 1144 } catch (V) {� 1145 setTimeout(function () {� 1146 throw V� 1147 }, 1)� 1148 }� 1149 if ("scroll" === G) {� 1150 var p, q, w, x = /^x$/i.test(i.axis) ? "Left" : "Top",� 1151 B = parseFloat(i.offset) || 0;� 1152 i.container ? u.isWrapped(i.container) || u.isNode(i.container) ? (i.container = i.container[0] || i.container, p = i.container["scroll" + x], w = p + o(a).position()[x.toLowerCase()] + B) : i.container = null : (p = y.State.scrollAnchor[y.State["scrollProperty" + x]], q = y.State.scrollAnchor[y.State["scrollProperty" + ("Left" === x ? "Top" : "Left")]], w = o(a).offset()[x.toLowerCase()] + B), j = {� 1153 scroll: {� 1154 rootPropertyValue: !1,� 1155 startValue: p,� 1156 currentValue: p,� 1157 endValue: w,� 1158 unitType: "",� 1159 easing: i.easing,� 1160 scrollData: {� 1161 container: i.container,� 1162 direction: x,� 1163 alternateValue: q� 1164 }� 1165 },� 1166 element: a� 1167 }, y.debug && console.log("tweensContainer (scroll): ", j.scroll, a)� 1168 } else if ("reverse" === G) {� 1169 if (!(k = g(a))) return;� 1170 if (!k.tweensContainer) return void o.dequeue(a, i.queue);� 1171 "none" === k.opts.display && (k.opts.display = "auto"), "hidden" === k.opts.visibility && (k.opts.visibility = "visible"), k.opts.loop = !1, k.opts.begin = null, k.opts.complete = null, v.easing || delete i.easing, v.duration || delete i.duration, i = o.extend({}, k.opts, i), n = o.extend(!0, {}, k ? k.tweensContainer : null);� 1172 for (var E in n)� 1173 if (n.hasOwnProperty(E) && "element" !== E) {� 1174 var F = n[E].startValue;� 1175 n[E].startValue = n[E].currentValue = n[E].endValue, n[E].endValue = F, u.isEmptyObject(v) || (n[E].easing = i.easing), y.debug && console.log("reverse tweensContainer (" + E + "): " + JSON.stringify(n[E]), a)� 1176 } j = n� 1177 } else if ("start" === G) {� 1178 k = g(a), k && k.tweensContainer && !0 === k.isAnimating && (n = k.tweensContainer);� 1179 var H = function (e, f) {� 1180 var g, l = A.Hooks.getRoot(e),� 1181 m = !1,� 1182 p = f[0],� 1183 q = f[1],� 1184 r = f[2];� 1185 if (!(k && k.isSVG || "tween" === l || !1 !== A.Names.prefixCheck(l)[1] || A.Normalizations.registered[l] !== d)) return void(y.debug && console.log("Skipping [" + l + "] due to a lack of browser support."));� 1186 (i.display !== d && null !== i.display && "none" !== i.display || i.visibility !== d && "hidden" !== i.visibility) && /opacity|filter/.test(e) && !r && 0 !== p && (r = 0), i._cacheValues && n && n[e] ? (r === d && (r = n[e].endValue + n[e].unitType), m = k.rootPropertyValueCache[l]) : A.Hooks.registered[e] ? r === d ? (m = A.getPropertyValue(a, l), r = A.getPropertyValue(a, e, m)) : m = A.Hooks.templates[l][1] : r === d && (r = A.getPropertyValue(a, e));� 1187 var s, t, v, w = !1,� 1188 x = function (a, b) {� 1189 var c, d;� 1190 return d = (b || "0").toString().toLowerCase().replace(/[%A-z]+$/, function (a) {� 1191 return c = a, ""� 1192 }), c || (c = A.Values.getUnitType(a)), [d, c]� 1193 };� 1194 if (r !== p && u.isString(r) && u.isString(p)) {� 1195 g = "";� 1196 var z = 0,� 1197 B = 0,� 1198 C = [],� 1199 D = [],� 1200 E = 0,� 1201 F = 0,� 1202 G = 0;� 1203 for (r = A.Hooks.fixColors(r), p = A.Hooks.fixColors(p); z < r.length && B < p.length;) {� 1204 var H = r[z],� 1205 I = p[B];� 1206 if (/[\d\.-]/.test(H) && /[\d\.-]/.test(I)) {� 1207 for (var J = H, K = I, L = ".", N = "."; ++z < r.length;) {� 1208 if ((H = r[z]) === L) L = "..";� 1209 else if (!/\d/.test(H)) break;� 1210 J += H� 1211 }� 1212 for (; ++B < p.length;) {� 1213 if ((I = p[B]) === N) N = "..";� 1214 else if (!/\d/.test(I)) break;� 1215 K += I� 1216 }� 1217 var O = A.Hooks.getUnit(r, z),� 1218 P = A.Hooks.getUnit(p, B);� 1219 if (z += O.length, B += P.length, O === P) J === K ? g += J + O : (g += "{" + C.length + (F ? "!" : "") + "}" + O, C.push(parseFloat(J)), D.push(parseFloat(K)));� 1220 else {� 1221 var Q = parseFloat(J),� 1222 R = parseFloat(K);� 1223 g += (E < 5 ? "calc" : "") + "(" + (Q ? "{" + C.length + (F ? "!" : "") + "}" : "0") + O + " + " + (R ? "{" + (C.length + (Q ? 1 : 0)) + (F ? "!" : "") + "}" : "0") + P + ")", Q && (C.push(Q), D.push(0)), R && (C.push(0), D.push(R))� 1224 }� 1225 } else {� 1226 if (H !== I) {� 1227 E = 0;� 1228 break� 1229 }� 1230 g += H, z++, B++, 0 === E && "c" === H || 1 === E && "a" === H || 2 === E && "l" === H || 3 === E && "c" === H || E >= 4 && "(" === H ? E++ : (E && E < 5 || E >= 4 && ")" === H && --E < 5) && (E = 0), 0 === F && "r" === H || 1 === F && "g" === H || 2 === F && "b" === H || 3 === F && "a" === H || F >= 3 && "(" === H ? (3 === F && "a" === H && (G = 1), F++) : G && "," === H ? ++G > 3 && (F = G = 0) : (G && F < (G ? 5 : 4) || F >= (G ? 4 : 3) && ")" === H && --F < (G ? 5 : 4)) && (F = G = 0)� 1231 }� 1232 }� 1233 z === r.length && B === p.length || (y.debug && console.error('Trying to pattern match mis-matched strings ["' + p + '", "' + r + '"]'), g = d), g && (C.length ? (y.debug && console.log('Pattern found "' + g + '" -> ', C, D, "[" + r + "," + p + "]"), r = C, p = D, t = v = "") : g = d)� 1234 }� 1235 g || (s = x(e, r), r = s[0], v = s[1], s = x(e, p), p = s[0].replace(/^([+-\/*])=/, function (a, b) {� 1236 return w = b, ""� 1237 }), t = s[1], r = parseFloat(r) || 0, p = parseFloat(p) || 0, "%" === t && (/^(fontSize|lineHeight)$/.test(e) ? (p /= 100, t = "em") : /^scale/.test(e) ? (p /= 100, t = "") : /(Red|Green|Blue)$/i.test(e) && (p = p / 100 * 255, t = "")));� 1238 if (/[\/*]/.test(w)) t = v;� 1239 else if (v !== t && 0 !== r)� 1240 if (0 === p) t = v;� 1241 else {� 1242 h = h || function () {� 1243 var d = {� 1244 myParent: a.parentNode || c.body,� 1245 position: A.getPropertyValue(a, "position"),� 1246 fontSize: A.getPropertyValue(a, "fontSize")� 1247 },� 1248 e = d.position === M.lastPosition && d.myParent === M.lastParent,� 1249 f = d.fontSize === M.lastFontSize;� 1250 M.lastParent = d.myParent, M.lastPosition = d.position, M.lastFontSize = d.fontSize;� 1251 var g = {};� 1252 if (f && e) g.emToPx = M.lastEmToPx, g.percentToPxWidth = M.lastPercentToPxWidth, g.percentToPxHeight = M.lastPercentToPxHeight;� 1253 else {� 1254 var h = k && k.isSVG ? c.createElementNS("http://www.w3.org/2000/svg", "rect") : c.createElement("div");� 1255 y.init(h), d.myParent.appendChild(h), o.each(["overflow", "overflowX", "overflowY"], function (a, b) {� 1256 y.CSS.setPropertyValue(h, b, "hidden")� 1257 }), y.CSS.setPropertyValue(h, "position", d.position), y.CSS.setPropertyValue(h, "fontSize", d.fontSize), y.CSS.setPropertyValue(h, "boxSizing", "content-box"), o.each(["minWidth", "maxWidth", "width", "minHeight", "maxHeight", "height"], function (a, b) {� 1258 y.CSS.setPropertyValue(h, b, "100%")� 1259 }), y.CSS.setPropertyValue(h, "paddingLeft", "100em"), g.percentToPxWidth = M.lastPercentToPxWidth = (parseFloat(A.getPropertyValue(h, "width", null, !0)) || 1) / 100, g.percentToPxHeight = M.lastPercentToPxHeight = (parseFloat(A.getPropertyValue(h, "height", null, !0)) || 1) / 100, g.emToPx = M.lastEmToPx = (parseFloat(A.getPropertyValue(h, "paddingLeft")) || 1) / 100, d.myParent.removeChild(h)� 1260 }� 1261 return null === M.remToPx && (M.remToPx = parseFloat(A.getPropertyValue(c.body, "fontSize")) || 16), null === M.vwToPx && (M.vwToPx = parseFloat(b.innerWidth) / 100, M.vhToPx = parseFloat(b.innerHeight) / 100), g.remToPx = M.remToPx, g.vwToPx = M.vwToPx, g.vhToPx = M.vhToPx, y.debug >= 1 && console.log("Unit ratios: " + JSON.stringify(g), a), g� 1262 }();� 1263 var S = /margin|padding|left|right|width|text|word|letter/i.test(e) || /X$/.test(e) || "x" === e ? "x" : "y";� 1264 switch (v) {� 1265 case "%":� 1266 r *= "x" === S ? h.percentToPxWidth : h.percentToPxHeight;� 1267 break;� 1268 case "px":� 1269 break;� 1270 default:� 1271 r *= h[v + "ToPx"]� 1272 }� 1273 switch (t) {� 1274 case "%":� 1275 r *= 1 / ("x" === S ? h.percentToPxWidth : h.percentToPxHeight);� 1276 break;� 1277 case "px":� 1278 break;� 1279 default:� 1280 r *= 1 / h[t + "ToPx"]� 1281 }� 1282 } switch (w) {� 1283 case "+":� 1284 p = r + p;� 1285 break;� 1286 case "-":� 1287 p = r - p;� 1288 break;� 1289 case "*":� 1290 p *= r;� 1291 break;� 1292 case "/":� 1293 p = r / p� 1294 }� 1295 j[e] = {� 1296 rootPropertyValue: m,� 1297 startValue: r,� 1298 currentValue: r,� 1299 endValue: p,� 1300 unitType: t,� 1301 easing: q� 1302 }, g && (j[e].pattern = g), y.debug && console.log("tweensContainer (" + e + "): " + JSON.stringify(j[e]), a)� 1303 };� 1304 for (var I in s)� 1305 if (s.hasOwnProperty(I)) {� 1306 var J = A.Names.camelCase(I),� 1307 K = function (b, c) {� 1308 var d, f, g;� 1309 return u.isFunction(b) && (b = b.call(a, e, C)), u.isArray(b) ? (d = b[0], !u.isArray(b[1]) && /^[\d-]/.test(b[1]) || u.isFunction(b[1]) || A.RegEx.isHex.test(b[1]) ? g = b[1] : u.isString(b[1]) && !A.RegEx.isHex.test(b[1]) && y.Easings[b[1]] || u.isArray(b[1]) ? (f = c ? b[1] : l(b[1], i.duration), g = b[2]) : g = b[1] || b[2]) : d = b, c || (f = f || i.easing), u.isFunction(d) && (d = d.call(a, e, C)), u.isFunction(g) && (g = g.call(a, e, C)), [d || 0, f, g]� 1310 }(s[I]);� 1311 if (t(A.Lists.colors, J)) {� 1312 var L = K[0],� 1313 O = K[1],� 1314 P = K[2];� 1315 if (A.RegEx.isHex.test(L)) {� 1316 for (var Q = ["Red", "Green", "Blue"], R = A.Values.hexToRgb(L), S = P ? A.Values.hexToRgb(P) : d, T = 0; T < Q.length; T++) {� 1317 var U = [R[T]];� 1318 O && U.push(O), S !== d && U.push(S[T]), H(J + Q[T], U)� 1319 }� 1320 continue� 1321 }� 1322 }� 1323 H(J, K)� 1324 } j.element = a� 1325 }� 1326 j.element && (A.Values.addClass(a, "velocity-animating"), N.push(j), k = g(a), k && ("" === i.queue && (k.tweensContainer = j, k.opts = i), k.isAnimating = !0), D === C - 1 ? (y.State.calls.push([N, r, i, null, z.resolver, null, 0]), !1 === y.State.isTicking && (y.State.isTicking = !0, m())) : D++)� 1327 }� 1328 var h, i = o.extend({}, y.defaults, v),� 1329 j = {};� 1330 switch (g(a) === d && y.init(a), parseFloat(i.delay) && !1 !== i.queue && o.queue(a, i.queue, function (b, c) {� 1331 if (!0 === c) return !0;� 1332 y.velocityQueueEntryFlag = !0;� 1333 var d = y.State.delayedElements.count++;� 1334 y.State.delayedElements[d] = a;� 1335 var e = function (a) {� 1336 return function () {� 1337 y.State.delayedElements[a] = !1, b()� 1338 }� 1339 }(d);� 1340 g(a).delayBegin = (new Date).getTime(), g(a).delay = parseFloat(i.delay), g(a).delayTimer = {� 1341 setTimeout: setTimeout(b, parseFloat(i.delay)),� 1342 next: e� 1343 }� 1344 }), i.duration.toString().toLowerCase()) {� 1345 case "fast":� 1346 i.duration = 200;� 1347 break;� 1348 case "normal":� 1349 i.duration = w;� 1350 break;� 1351 case "slow":� 1352 i.duration = 600;� 1353 break;� 1354 default:� 1355 i.duration = parseFloat(i.duration) || 1� 1356 }� 1357 if (!1 !== y.mock && (!0 === y.mock ? i.duration = i.delay = 1 : (i.duration *= parseFloat(y.mock) || 1, i.delay *= parseFloat(y.mock) || 1)), i.easing = l(i.easing, i.duration), i.begin && !u.isFunction(i.begin) && (i.begin = null), i.progress && !u.isFunction(i.progress) && (i.progress = null), i.complete && !u.isFunction(i.complete) && (i.complete = null), i.display !== d && null !== i.display && (i.display = i.display.toString().toLowerCase(), "auto" === i.display && (i.display = y.CSS.Values.getDisplayType(a))), i.visibility !== d && null !== i.visibility && (i.visibility = i.visibility.toString().toLowerCase()), i.mobileHA = i.mobileHA && y.State.isMobile && !y.State.isGingerbread, !1 === i.queue)� 1358 if (i.delay) {� 1359 var k = y.State.delayedElements.count++;� 1360 y.State.delayedElements[k] = a;� 1361 var n = function (a) {� 1362 return function () {� 1363 y.State.delayedElements[a] = !1, f()� 1364 }� 1365 }(k);� 1366 g(a).delayBegin = (new Date).getTime(), g(a).delay = parseFloat(i.delay), g(a).delayTimer = {� 1367 setTimeout: setTimeout(f, parseFloat(i.delay)),� 1368 next: n� 1369 }� 1370 } else f();� 1371 else o.queue(a, i.queue, function (a, b) {� 1372 if (!0 === b) return z.promise && z.resolver(r), !0;� 1373 y.velocityQueueEntryFlag = !0, f(a)� 1374 });� 1375 "" !== i.queue && "fx" !== i.queue || "inprogress" === o.queue(a)[0] || o.dequeue(a)� 1376 }� 1377 var j, k, p, q, r, s, v, x = arguments[0] && (arguments[0].p || o.isPlainObject(arguments[0].properties) && !arguments[0].properties.names || u.isString(arguments[0].properties));� 1378 u.isWrapped(this) ? (k = !1, q = 0, r = this, p = this) : (k = !0, q = 1, r = x ? arguments[0].elements || arguments[0].e : arguments[0]);� 1379 var z = {� 1380 promise: null,� 1381 resolver: null,� 1382 rejecter: null� 1383 };� 1384 if (k && y.Promise && (z.promise = new y.Promise(function (a, b) {� 1385 z.resolver = a, z.rejecter = b� 1386 })), x ? (s = arguments[0].properties || arguments[0].p, v = arguments[0].options || arguments[0].o) : (s = arguments[q], v = arguments[q + 1]), !(r = f(r))) return void(z.promise && (s && v && !1 === v.promiseRejectEmpty ? z.resolver() : z.rejecter()));� 1387 var C = r.length,� 1388 D = 0;� 1389 if (!/^(stop|finish|finishAll|pause|resume)$/i.test(s) && !o.isPlainObject(v)) {� 1390 var E = q + 1;� 1391 v = {};� 1392 for (var F = E; F < arguments.length; F++) u.isArray(arguments[F]) || !/^(fast|normal|slow)$/i.test(arguments[F]) && !/^\d/.test(arguments[F]) ? u.isString(arguments[F]) || u.isArray(arguments[F]) ? v.easing = arguments[F] : u.isFunction(arguments[F]) && (v.complete = arguments[F]) : v.duration = arguments[F]� 1393 }� 1394 var G;� 1395 switch (s) {� 1396 case "scroll":� 1397 G = "scroll";� 1398 break;� 1399 case "reverse":� 1400 G = "reverse";� 1401 break;� 1402 case "pause":� 1403 var H = (new Date).getTime();� 1404 return o.each(r, function (a, b) {� 1405 h(b, H)� 1406 }), o.each(y.State.calls, function (a, b) {� 1407 var c = !1;� 1408 b && o.each(b[1], function (a, e) {� 1409 var f = v === d ? "" : v;� 1410 return !0 !== f && b[2].queue !== f && (v !== d || !1 !== b[2].queue) || (o.each(r, function (a, d) {� 1411 if (d === e) return b[5] = {� 1412 resume: !1� 1413 }, c = !0, !1� 1414 }), !c && void 0)� 1415 })� 1416 }), a();� 1417 case "resume":� 1418 return o.each(r, function (a, b) {� 1419 i(b, H)� 1420 }), o.each(y.State.calls, function (a, b) {� 1421 var c = !1;� 1422 b && o.each(b[1], function (a, e) {� 1423 var f = v === d ? "" : v;� 1424 return !0 !== f && b[2].queue !== f && (v !== d || !1 !== b[2].queue) || (!b[5] || (o.each(r, function (a, d) {� 1425 if (d === e) return b[5].resume = !0, c = !0, !1� 1426 }), !c && void 0))� 1427 })� 1428 }), a();� 1429 case "finish":� 1430 case "finishAll":� 1431 case "stop":� 1432 o.each(r, function (a, b) {� 1433 g(b) && g(b).delayTimer && (clearTimeout(g(b).delayTimer.setTimeout), g(b).delayTimer.next && g(b).delayTimer.next(), delete g(b).delayTimer), "finishAll" !== s || !0 !== v && !u.isString(v) || (o.each(o.queue(b, u.isString(v) ? v : ""), function (a, b) {� 1434 u.isFunction(b) && b()� 1435 }), o.queue(b, u.isString(v) ? v : "", []))� 1436 });� 1437 var I = [];� 1438 return o.each(y.State.calls, function (a, b) {� 1439 b && o.each(b[1], function (c, e) {� 1440 var f = v === d ? "" : v;� 1441 if (!0 !== f && b[2].queue !== f && (v !== d || !1 !== b[2].queue)) return !0;� 1442 o.each(r, function (c, d) {� 1443 if (d === e)� 1444 if ((!0 === v || u.isString(v)) && (o.each(o.queue(d, u.isString(v) ? v : ""), function (a, b) {� 1445 u.isFunction(b) && b(null, !0)� 1446 }), o.queue(d, u.isString(v) ? v : "", [])), "stop" === s) {� 1447 var h = g(d);� 1448 h && h.tweensContainer && !1 !== f && o.each(h.tweensContainer, function (a, b) {� 1449 b.endValue = b.currentValue� 1450 }), I.push(a)� 1451 } else "finish" !== s && "finishAll" !== s || (b[2].duration = 1)� 1452 })� 1453 })� 1454 }), "stop" === s && (o.each(I, function (a, b) {� 1455 n(b, !0)� 1456 }), z.promise && z.resolver(r)), a();� 1457 default:� 1458 if (!o.isPlainObject(s) || u.isEmptyObject(s)) {� 1459 if (u.isString(s) && y.Redirects[s]) {� 1460 j = o.extend({}, v);� 1461 var J = j.duration,� 1462 K = j.delay || 0;� 1463 return !0 === j.backwards && (r = o.extend(!0, [], r).reverse()), o.each(r, function (a, b) {� 1464 parseFloat(j.stagger) ? j.delay = K + parseFloat(j.stagger) * a : u.isFunction(j.stagger) && (j.delay = K + j.stagger.call(b, a, C)), j.drag && (j.duration = parseFloat(J) || (/^(callout|transition)/.test(s) ? 1e3 : w), j.duration = Math.max(j.duration * (j.backwards ? 1 - a / C : (a + 1) / C), .75 * j.duration, 200)), y.Redirects[s].call(b, b, j || {}, a, C, r, z.promise ? z : d)� 1465 }), a()� 1466 }� 1467 var L = "Velocity: First argument (" + s + ") was not a property map, a known action, or a registered redirect. Aborting.";� 1468 return z.promise ? z.rejecter(new Error(L)) : b.console && console.log(L), a()� 1469 }� 1470 G = "start"� 1471 }� 1472 var M = {� 1473 lastParent: null,� 1474 lastPosition: null,� 1475 lastFontSize: null,� 1476 lastPercentToPxWidth: null,� 1477 lastPercentToPxHeight: null,� 1478 lastEmToPx: null,� 1479 remToPx: null,� 1480 vwToPx: null,� 1481 vhToPx: null� 1482 },� 1483 N = [];� 1484 o.each(r, function (a, b) {� 1485 u.isNode(b) && e(b, a)� 1486 }), j = o.extend({}, y.defaults, v), j.loop = parseInt(j.loop, 10);� 1487 var O = 2 * j.loop - 1;� 1488 if (j.loop)� 1489 for (var P = 0; P < O; P++) {� 1490 var Q = {� 1491 delay: j.delay,� 1492 progress: j.progress� 1493 };� 1494 P === O - 1 && (Q.display = j.display, Q.visibility = j.visibility, Q.complete = j.complete), B(r, "reverse", Q)� 1495 }� 1496 return a()� 1497 };� 1498 y = o.extend(B, y), y.animate = B;� 1499 var C = b.requestAnimationFrame || q;� 1500 if (!y.State.isMobile && c.hidden !== d) {� 1501 var D = function () {� 1502 c.hidden ? (C = function (a) {� 1503 return setTimeout(function () {� 1504 a(!0)� 1505 }, 16)� 1506 }, m()) : C = b.requestAnimationFrame || q� 1507 };� 1508 D(), c.addEventListener("visibilitychange", D)� 1509 }� 1510 return a.Velocity = y, a !== b && (a.fn.velocity = B, a.fn.velocity.defaults = y.defaults), o.each(["Down", "Up"], function (a, b) {� 1511 y.Redirects["slide" + b] = function (a, c, e, f, g, h) {� 1512 var i = o.extend({}, c),� 1513 j = i.begin,� 1514 k = i.complete,� 1515 l = {},� 1516 m = {� 1517 height: "",� 1518 marginTop: "",� 1519 marginBottom: "",� 1520 paddingTop: "",� 1521 paddingBottom: ""� 1522 };� 1523 i.display === d && (i.display = "Down" === b ? "inline" === y.CSS.Values.getDisplayType(a) ? "inline-block" : "block" : "none"), i.begin = function () {� 1524 0 === e && j && j.call(g, g);� 1525 for (var c in m)� 1526 if (m.hasOwnProperty(c)) {� 1527 l[c] = a.style[c];� 1528 var d = A.getPropertyValue(a, c);� 1529 m[c] = "Down" === b ? [d, 0] : [0, d]� 1530 } l.overflow = a.style.overflow, a.style.overflow = "hidden"� 1531 }, i.complete = function () {� 1532 for (var b in l) l.hasOwnProperty(b) && (a.style[b] = l[b]);� 1533 e === f - 1 && (k && k.call(g, g), h && h.resolver(g))� 1534 }, y(a, m, i)� 1535 }� 1536 }), o.each(["In", "Out"], function (a, b) {� 1537 y.Redirects["fade" + b] = function (a, c, e, f, g, h) {� 1538 var i = o.extend({}, c),� 1539 j = i.complete,� 1540 k = {� 1541 opacity: "In" === b ? 1 : 0� 1542 };� 1543 0 !== e && (i.begin = null), i.complete = e !== f - 1 ? null : function () {� 1544 j && j.call(g, g), h && h.resolver(g)� 1545 }, i.display === d && (i.display = "In" === b ? "auto" : "none"), y(this, k, i)� 1546 }� 1547 }), y� 1548 }(window.jQuery || window.Zepto || window, window, window ? window.document : undefined)� 1549});�
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.