vendor: 64,739 bytes, lines 1-1370
1/******************************************** 2 - THEMEPUNCH TOOLS Ver. 1.0 - 3 Last Update of Tools 27.02.2015 4 *********************************************/ 5 6 7/* 8 * @fileOverview TouchSwipe - jQuery Plugin 9 * @version 1.6.9 10 * 11 * @author Matt Bryson http://www.github.com/mattbryson 12 * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin 13 * @see http://labs.skinkers.com/touchSwipe/ 14 * @see http://plugins.jquery.com/project/touchSwipe 15 * 16 * Copyright (c) 2010 Matt Bryson 17 * Dual licensed under the MIT or GPL Version 2 licenses. 18 * 19 */ 20 21 22(function (a) { 23 if (typeof define === "function" && define.amd && define.amd.jQuery) { 24 define(["jquery"], a) 25 } else { 26 a(jQuery) 27 } 28}(function (f) { 29 var y = "1.6.9", p = "left", o = "right", e = "up", x = "down", c = "in", A = "out", m = "none", s = "auto", l = "swipe", t = "pinch", B = "tap", j = "doubletap", b = "longtap", z = "hold", E = "horizontal", u = "vertical", i = "all", r = 10, g = "start", k = "move", h = "end", q = "cancel", a = "ontouchstart" in window, v = window.navigator.msPointerEnabled && !window.navigator.pointerEnabled, d = window.navigator.pointerEnabled || window.navigator.msPointerEnabled, C = "TouchSwipe"; 30 var n = { 31 fingers: 1, 32 threshold: 75, 33 cancelThreshold: null, 34 pinchThreshold: 20, 35 maxTimeThreshold: null, 36 fingerReleaseThreshold: 250, 37 longTapThreshold: 500, 38 doubleTapThreshold: 200, 39 swipe: null, 40 swipeLeft: null, 41 swipeRight: null, 42 swipeUp: null, 43 swipeDown: null, 44 swipeStatus: null, 45 pinchIn: null, 46 pinchOut: null, 47 pinchStatus: null, 48 click: null, 49 tap: null, 50 doubleTap: null, 51 longTap: null, 52 hold: null, 53 triggerOnTouchEnd: true, 54 triggerOnTouchLeave: false, 55 allowPageScroll: "auto", 56 fallbackToMouseEvents: true, 57 excludedElements: "label, button, input, select, textarea, a, .noSwipe", 58 preventDefaultEvents: true 59 }; 60 f.fn.swipetp = function (H) { 61 var G = f(this), F = G.data(C); 62 if (F && typeof H === "string") { 63 if (F[H]) { 64 return F[H].apply(this, Array.prototype.slice.call(arguments, 1)) 65 } else { 66 f.error("Method " + H + " does not exist on jQuery.swipetp") 67 } 68 } else { 69 if (!F && (typeof H === "object" || !H)) { 70 return w.apply(this, arguments) 71 } 72 } 73 return G 74 }; 75 f.fn.swipetp.version = y; 76 f.fn.swipetp.defaults = n; 77 f.fn.swipetp.phases = {PHASE_START: g, PHASE_MOVE: k, PHASE_END: h, PHASE_CANCEL: q}; 78 f.fn.swipetp.directions = {LEFT: p, RIGHT: o, UP: e, DOWN: x, IN: c, OUT: A}; 79 f.fn.swipetp.pageScroll = {NONE: m, HORIZONTAL: E, VERTICAL: u, AUTO: s}; 80 f.fn.swipetp.fingers = {ONE: 1, TWO: 2, THREE: 3, ALL: i}; 81 function w(F) { 82 if (F && (F.allowPageScroll === undefined && (F.swipe !== undefined || F.swipeStatus !== undefined))) { 83 F.allowPageScroll = m 84 } 85 if (F.click !== undefined && F.tap === undefined) { 86 F.tap = F.click 87 } 88 if (!F) { 89 F = {} 90 } 91 F = f.extend({}, f.fn.swipetp.defaults, F); 92 return this.each(function () { 93 var H = f(this); 94 var G = H.data(C); 95 if (!G) { 96 G = new D(this, F); 97 H.data(C, G) 98 } 99 }) 100 } 101 102 function D(a5, aw) { 103 var aA = (a || d || !aw.fallbackToMouseEvents), K = aA ? (d ? (v ? "MSPointerDown" : "pointerdown") : "touchstart") : "mousedown", az = aA ? (d ? (v ? "MSPointerMove" : "pointermove") : "touchmove") : "mousemove", V = aA ? (d ? (v ? "MSPointerUp" : "pointerup") : "touchend") : "mouseup", T = aA ? null : "mouseleave", aE = (d ? (v ? "MSPointerCancel" : "pointercancel") : "touchcancel"); 104 var ah = 0, aQ = null, ac = 0, a2 = 0, a0 = 0, H = 1, ar = 0, aK = 0, N = null; 105 var aS = f(a5); 106 var aa = "start"; 107 var X = 0; 108 var aR = null; 109 var U = 0, a3 = 0, a6 = 0, ae = 0, O = 0; 110 var aX = null, ag = null; 111 try { 112 aS.bind(K, aO); 113 aS.bind(aE, ba) 114 } catch (al) { 115 f.error("events not supported " + K + "," + aE + " on jQuery.swipetp") 116 } 117 this.enable = function () { 118 aS.bind(K, aO); 119 aS.bind(aE, ba); 120 return aS 121 }; 122 this.disable = function () { 123 aL(); 124 return aS 125 }; 126 this.destroy = function () { 127 aL(); 128 aS.data(C, null); 129 aS = null 130 }; 131 this.option = function (bd, bc) { 132 if (aw[bd] !== undefined) { 133 if (bc === undefined) { 134 return aw[bd] 135 } else { 136 aw[bd] = bc 137 } 138 } else { 139 f.error("Option " + bd + " does not exist on jQuery.swipetp.options") 140 } 141 return null 142 }; 143 function aO(be) { 144 if (aC()) { 145 return 146 } 147 if (f(be.target).closest(aw.excludedElements, aS).length > 0) { 148 return 149 } 150 var bf = be.originalEvent ? be.originalEvent : be; 151 var bd, bg = bf.touches, bc = bg ? bg[0] : bf; 152 aa = g; 153 if (bg) { 154 X = bg.length 155 } else { 156 be.preventDefault() 157 } 158 ah = 0; 159 aQ = null; 160 aK = null; 161 ac = 0; 162 a2 = 0; 163 a0 = 0; 164 H = 1; 165 ar = 0; 166 aR = ak(); 167 N = ab(); 168 S(); 169 if (!bg || (X === aw.fingers || aw.fingers === i) || aY()) { 170 aj(0, bc); 171 U = au(); 172 if (X == 2) { 173 aj(1, bg[1]); 174 a2 = a0 = av(aR[0].start, aR[1].start) 175 } 176 if (aw.swipeStatus || aw.pinchStatus) { 177 bd = P(bf, aa) 178 } 179 } else { 180 bd = false 181 } 182 if (bd === false) { 183 aa = q; 184 P(bf, aa); 185 return bd 186 } else { 187 if (aw.hold) { 188 ag = setTimeout(f.proxy(function () { 189 aS.trigger("hold", [bf.target]); 190 if (aw.hold) { 191 bd = aw.hold.call(aS, bf, bf.target) 192 } 193 }, this), aw.longTapThreshold) 194 } 195 ap(true) 196 } 197 return null 198 } 199 200 function a4(bf) { 201 var bi = bf.originalEvent ? bf.originalEvent : bf; 202 if (aa === h || aa === q || an()) { 203 return 204 } 205 var be, bj = bi.touches, bd = bj ? bj[0] : bi; 206 var bg = aI(bd); 207 a3 = au(); 208 if (bj) { 209 X = bj.length 210 } 211 if (aw.hold) { 212 clearTimeout(ag) 213 } 214 aa = k; 215 if (X == 2) { 216 if (a2 == 0) { 217 aj(1, bj[1]); 218 a2 = a0 = av(aR[0].start, aR[1].start) 219 } else { 220 aI(bj[1]); 221 a0 = av(aR[0].end, aR[1].end); 222 aK = at(aR[0].end, aR[1].end) 223 } 224 H = a8(a2, a0); 225 ar = Math.abs(a2 - a0) 226 } 227 if ((X === aw.fingers || aw.fingers === i) || !bj || aY()) { 228 aQ = aM(bg.start, bg.end); 229 am(bf, aQ); 230 ah = aT(bg.start, bg.end); 231 ac = aN(); 232 aJ(aQ, ah); 233 if (aw.swipeStatus || aw.pinchStatus) { 234 be = P(bi, aa) 235 } 236 if (!aw.triggerOnTouchEnd || aw.triggerOnTouchLeave) { 237 var bc = true; 238 if (aw.triggerOnTouchLeave) { 239 var bh = aZ(this); 240 bc = F(bg.end, bh) 241 } 242 if (!aw.triggerOnTouchEnd && bc) { 243 aa = aD(k) 244 } else { 245 if (aw.triggerOnTouchLeave && !bc) { 246 aa = aD(h) 247 } 248 } 249 if (aa == q || aa == h) { 250 P(bi, aa) 251 } 252 } 253 } else { 254 aa = q; 255 P(bi, aa) 256 } 257 if (be === false) { 258 aa = q; 259 P(bi, aa) 260 } 261 } 262 263 function M(bc) { 264 var bd = bc.originalEvent ? bc.originalEvent : bc, be = bd.touches; 265 if (be) { 266 if (be.length) { 267 G(); 268 return true 269 } 270 } 271 if (an()) { 272 X = ae 273 } 274 a3 = au(); 275 ac = aN(); 276 if (bb() || !ao()) { 277 aa = q; 278 P(bd, aa) 279 } else { 280 if (aw.triggerOnTouchEnd || (aw.triggerOnTouchEnd == false && aa === k)) { 281 bc.preventDefault(); 282 aa = h; 283 P(bd, aa) 284 } else { 285 if (!aw.triggerOnTouchEnd && a7()) { 286 aa = h; 287 aG(bd, aa, B) 288 } else { 289 if (aa === k) { 290 aa = q; 291 P(bd, aa) 292 } 293 } 294 } 295 } 296 ap(false); 297 return null 298 } 299 300 function ba() { 301 X = 0; 302 a3 = 0; 303 U = 0; 304 a2 = 0; 305 a0 = 0; 306 H = 1; 307 S(); 308 ap(false) 309 } 310 311 function L(bc) { 312 var bd = bc.originalEvent ? bc.originalEvent : bc; 313 if (aw.triggerOnTouchLeave) { 314 aa = aD(h); 315 P(bd, aa) 316 } 317 } 318 319 function aL() { 320 aS.unbind(K, aO); 321 aS.unbind(aE, ba); 322 aS.unbind(az, a4); 323 aS.unbind(V, M); 324 if (T) { 325 aS.unbind(T, L) 326 } 327 ap(false) 328 } 329 330 function aD(bg) { 331 var bf = bg; 332 var be = aB(); 333 var bd = ao(); 334 var bc = bb(); 335 if (!be || bc) { 336 bf = q 337 } else { 338 if (bd && bg == k && (!aw.triggerOnTouchEnd || aw.triggerOnTouchLeave)) { 339 bf = h 340 } else { 341 if (!bd && bg == h && aw.triggerOnTouchLeave) { 342 bf = q 343 } 344 } 345 } 346 return bf 347 } 348 349 function P(be, bc) { 350 var bd, bf = be.touches; 351 if ((J() || W()) || (Q() || aY())) { 352 if (J() || W()) { 353 bd = aG(be, bc, l) 354 } 355 if ((Q() || aY()) && bd !== false) { 356 bd = aG(be, bc, t) 357 } 358 } else { 359 if (aH() && bd !== false) { 360 bd = aG(be, bc, j) 361 } else { 362 if (aq() && bd !== false) { 363 bd = aG(be, bc, b) 364 } else { 365 if (ai() && bd !== false) { 366 bd = aG(be, bc, B) 367 } 368 } 369 } 370 } 371 if (bc === q) { 372 ba(be) 373 } 374 if (bc === h) { 375 if (bf) { 376 if (!bf.length) { 377 ba(be) 378 } 379 } else { 380 ba(be) 381 } 382 } 383 return bd 384 } 385 386 function aG(bf, bc, be) { 387 var bd; 388 if (be == l) { 389 aS.trigger("swipeStatus", [bc, aQ || null, ah || 0, ac || 0, X, aR]); 390 if (aw.swipeStatus) { 391 bd = aw.swipeStatus.call(aS, bf, bc, aQ || null, ah || 0, ac || 0, X, aR); 392 if (bd === false) { 393 return false 394 } 395 } 396 if (bc == h && aW()) { 397 aS.trigger("swipe", [aQ, ah, ac, X, aR]); 398 if (aw.swipe) { 399 bd = aw.swipe.call(aS, bf, aQ, ah, ac, X, aR); 400 if (bd === false) { 401 return false 402 } 403 } 404 switch (aQ) { 405 case p: 406 aS.trigger("swipeLeft", [aQ, ah, ac, X, aR]); 407 if (aw.swipeLeft) { 408 bd = aw.swipeLeft.call(aS, bf, aQ, ah, ac, X, aR) 409 } 410 break; 411 case o: 412 aS.trigger("swipeRight", [aQ, ah, ac, X, aR]); 413 if (aw.swipeRight) { 414 bd = aw.swipeRight.call(aS, bf, aQ, ah, ac, X, aR) 415 } 416 break; 417 case e: 418 aS.trigger("swipeUp", [aQ, ah, ac, X, aR]); 419 if (aw.swipeUp) { 420 bd = aw.swipeUp.call(aS, bf, aQ, ah, ac, X, aR) 421 } 422 break; 423 case x: 424 aS.trigger("swipeDown", [aQ, ah, ac, X, aR]); 425 if (aw.swipeDown) { 426 bd = aw.swipeDown.call(aS, bf, aQ, ah, ac, X, aR) 427 } 428 break 429 } 430 } 431 } 432 if (be == t) { 433 aS.trigger("pinchStatus", [bc, aK || null, ar || 0, ac || 0, X, H, aR]); 434 if (aw.pinchStatus) { 435 bd = aw.pinchStatus.call(aS, bf, bc, aK || null, ar || 0, ac || 0, X, H, aR); 436 if (bd === false) { 437 return false 438 } 439 } 440 if (bc == h && a9()) { 441 switch (aK) { 442 case c: 443 aS.trigger("pinchIn", [aK || null, ar || 0, ac || 0, X, H, aR]); 444 if (aw.pinchIn) { 445 bd = aw.pinchIn.call(aS, bf, aK || null, ar || 0, ac || 0, X, H, aR) 446 } 447 break; 448 case A: 449 aS.trigger("pinchOut", [aK || null, ar || 0, ac || 0, X, H, aR]); 450 if (aw.pinchOut) { 451 bd = aw.pinchOut.call(aS, bf, aK || null, ar || 0, ac || 0, X, H, aR) 452 } 453 break 454 } 455 } 456 } 457 if (be == B) { 458 if (bc === q || bc === h) { 459 clearTimeout(aX); 460 clearTimeout(ag); 461 if (Z() && !I()) { 462 O = au(); 463 aX = setTimeout(f.proxy(function () { 464 O = null; 465 aS.trigger("tap", [bf.target]); 466 if (aw.tap) { 467 bd = aw.tap.call(aS, bf, bf.target) 468 } 469 }, this), aw.doubleTapThreshold) 470 } else { 471 O = null; 472 aS.trigger("tap", [bf.target]); 473 if (aw.tap) { 474 bd = aw.tap.call(aS, bf, bf.target) 475 } 476 } 477 } 478 } else { 479 if (be == j) { 480 if (bc === q || bc === h) { 481 clearTimeout(aX); 482 O = null; 483 aS.trigger("doubletap", [bf.target]); 484 if (aw.doubleTap) { 485 bd = aw.doubleTap.call(aS, bf, bf.target) 486 } 487 } 488 } else { 489 if (be == b) { 490 if (bc === q || bc === h) { 491 clearTimeout(aX); 492 O = null; 493 aS.trigger("longtap", [bf.target]); 494 if (aw.longTap) { 495 bd = aw.longTap.call(aS, bf, bf.target) 496 } 497 } 498 } 499 } 500 } 501 return bd 502 } 503 504 function ao() { 505 var bc = true; 506 if (aw.threshold !== null) { 507 bc = ah >= aw.threshold 508 } 509 return bc 510 } 511 512 function bb() { 513 var bc = false; 514 if (aw.cancelThreshold !== null && aQ !== null) { 515 bc = (aU(aQ) - ah) >= aw.cancelThreshold 516 } 517 return bc 518 } 519 520 function af() { 521 if (aw.pinchThreshold !== null) { 522 return ar >= aw.pinchThreshold 523 } 524 return true 525 } 526 527 function aB() { 528 var bc; 529 if (aw.maxTimeThreshold) { 530 if (ac >= aw.maxTimeThreshold) { 531 bc = false 532 } else { 533 bc = true 534 } 535 } else { 536 bc = true 537 } 538 return bc 539 } 540 541 function am(bc, bd) { 542 if (aw.preventDefaultEvents === false) { 543 return 544 } 545 if (aw.allowPageScroll === m) { 546 bc.preventDefault() 547 } else { 548 var be = aw.allowPageScroll === s; 549 switch (bd) { 550 case p: 551 if ((aw.swipeLeft && be) || (!be && aw.allowPageScroll != E)) { 552 bc.preventDefault() 553 } 554 break; 555 case o: 556 if ((aw.swipeRight && be) || (!be && aw.allowPageScroll != E)) { 557 bc.preventDefault() 558 } 559 break; 560 case e: 561 if ((aw.swipeUp && be) || (!be && aw.allowPageScroll != u)) { 562 bc.preventDefault() 563 } 564 break; 565 case x: 566 if ((aw.swipeDown && be) || (!be && aw.allowPageScroll != u)) { 567 bc.preventDefault() 568 } 569 break 570 } 571 } 572 } 573 574 function a9() { 575 var bd = aP(); 576 var bc = Y(); 577 var be = af(); 578 return bd && bc && be 579 } 580 581 function aY() { 582 return !!(aw.pinchStatus || aw.pinchIn || aw.pinchOut) 583 } 584 585 function Q() { 586 return !!(a9() && aY()) 587 } 588 589 function aW() { 590 var bf = aB(); 591 var bh = ao(); 592 var be = aP(); 593 var bc = Y(); 594 var bd = bb(); 595 var bg = !bd && bc && be && bh && bf; 596 return bg 597 } 598 599 function W() { 600 return !!(aw.swipe || aw.swipeStatus || aw.swipeLeft || aw.swipeRight || aw.swipeUp || aw.swipeDown) 601 } 602 603 function J() { 604 return !!(aW() && W()) 605 } 606 607 function aP() { 608 return ((X === aw.fingers || aw.fingers === i) || !a) 609 } 610 611 function Y() { 612 return aR[0].end.x !== 0 613 } 614 615 function a7() { 616 return !!(aw.tap) 617 } 618 619 function Z() { 620 return !!(aw.doubleTap) 621 } 622 623 function aV() { 624 return !!(aw.longTap) 625 } 626 627 function R() { 628 if (O == null) { 629 return false 630 } 631 var bc = au(); 632 return (Z() && ((bc - O) <= aw.doubleTapThreshold)) 633 } 634 635 function I() { 636 return R() 637 } 638 639 function ay() { 640 return ((X === 1 || !a) && (isNaN(ah) || ah < aw.threshold)) 641 } 642 643 function a1() { 644 return ((ac > aw.longTapThreshold) && (ah < r)) 645 } 646 647 function ai() { 648 return !!(ay() && a7()) 649 } 650 651 function aH() { 652 return !!(R() && Z()) 653 } 654 655 function aq() { 656 return !!(a1() && aV()) 657 } 658 659 function G() { 660 a6 = au(); 661 ae = event.touches.length + 1 662 } 663 664 function S() { 665 a6 = 0; 666 ae = 0 667 } 668 669 function an() { 670 var bc = false; 671 if (a6) { 672 var bd = au() - a6; 673 if (bd <= aw.fingerReleaseThreshold) { 674 bc = true 675 } 676 } 677 return bc 678 } 679 680 function aC() { 681 return !!(aS.data(C + "_intouch") === true) 682 } 683 684 function ap(bc) { 685 if (bc === true) { 686 aS.bind(az, a4); 687 aS.bind(V, M); 688 if (T) { 689 aS.bind(T, L) 690 } 691 } else { 692 aS.unbind(az, a4, false); 693 aS.unbind(V, M, false); 694 if (T) { 695 aS.unbind(T, L, false) 696 } 697 } 698 aS.data(C + "_intouch", bc === true) 699 } 700 701 function aj(bd, bc) { 702 var be = bc.identifier !== undefined ? bc.identifier : 0; 703 aR[bd].identifier = be; 704 aR[bd].start.x = aR[bd].end.x = bc.pageX || bc.clientX; 705 aR[bd].start.y = aR[bd].end.y = bc.pageY || bc.clientY; 706 return aR[bd] 707 } 708 709 function aI(bc) { 710 var be = bc.identifier !== undefined ? bc.identifier : 0; 711 var bd = ad(be); 712 bd.end.x = bc.pageX || bc.clientX; 713 bd.end.y = bc.pageY || bc.clientY; 714 return bd 715 } 716 717 function ad(bd) { 718 for (var bc = 0; bc < aR.length; bc++) { 719 if (aR[bc].identifier == bd) { 720 return aR[bc] 721 } 722 } 723 } 724 725 function ak() { 726 var bc = []; 727 for (var bd = 0; bd <= 5; bd++) { 728 bc.push({start: {x: 0, y: 0}, end: {x: 0, y: 0}, identifier: 0}) 729 } 730 return bc 731 } 732 733 function aJ(bc, bd) { 734 bd = Math.max(bd, aU(bc)); 735 N[bc].distance = bd 736 } 737 738 function aU(bc) { 739 if (N[bc]) { 740 return N[bc].distance 741 } 742 return undefined 743 } 744 745 function ab() { 746 var bc = {}; 747 bc[p] = ax(p); 748 bc[o] = ax(o); 749 bc[e] = ax(e); 750 bc[x] = ax(x); 751 return bc 752 } 753 754 function ax(bc) { 755 return {direction: bc, distance: 0} 756 } 757 758 function aN() { 759 return a3 - U 760 } 761 762 function av(bf, be) { 763 var bd = Math.abs(bf.x - be.x); 764 var bc = Math.abs(bf.y - be.y); 765 return Math.round(Math.sqrt(bd * bd + bc * bc)) 766 } 767 768 function a8(bc, bd) { 769 var be = (bd / bc) * 1; 770 return be.toFixed(2) 771 } 772 773 function at() { 774 if (H < 1) { 775 return A 776 } else { 777 return c 778 } 779 } 780 781 function aT(bd, bc) { 782 return Math.round(Math.sqrt(Math.pow(bc.x - bd.x, 2) + Math.pow(bc.y - bd.y, 2))) 783 } 784 785 function aF(bf, bd) { 786 var bc = bf.x - bd.x; 787 var bh = bd.y - bf.y; 788 var be = Math.atan2(bh, bc); 789 var bg = Math.round(be * 180 / Math.PI); 790 if (bg < 0) { 791 bg = 360 - Math.abs(bg) 792 } 793 return bg 794 } 795 796 function aM(bd, bc) { 797 var be = aF(bd, bc); 798 if ((be <= 45) && (be >= 0)) { 799 return p 800 } else { 801 if ((be <= 360) && (be >= 315)) { 802 return p 803 } else { 804 if ((be >= 135) && (be <= 225)) { 805 return o 806 } else { 807 if ((be > 45) && (be < 135)) { 808 return x 809 } else { 810 return e 811 } 812 } 813 } 814 } 815 } 816 817 function au() { 818 var bc = new Date(); 819 return bc.getTime() 820 } 821 822 function aZ(bc) { 823 bc = f(bc); 824 var be = bc.offset(); 825 var bd = {left: be.left, right: be.left + bc.outerWidth(), top: be.top, bottom: be.top + bc.outerHeight()}; 826 return bd 827 } 828 829 function F(bc, bd) { 830 return (bc.x > bd.left && bc.x < bd.right && bc.y > bd.top && bc.y < bd.bottom) 831 } 832 } 833})); 834 835if (typeof(console) === 'undefined') { 836 var console = {}; 837 console.log = console.error = console.info = console.debug = console.warn = console.trace = console.dir = console.dirxml = console.group = console.groupEnd = console.time = console.timeEnd = console.assert = console.profile = console.groupCollapsed = function () { 838 }; 839} 840 841if (window.tplogs == true) 842 try { 843 console.groupCollapsed("ThemePunch GreenSocks Logs"); 844 } catch (e) { 845 } 846 847 848var oldgs = window.GreenSockGlobals; 849oldgs_queue = window._gsQueue; 850 851var punchgs = window.GreenSockGlobals = {}; 852 853if (window.tplogs == true) 854 try { 855 console.info("Build GreenSock SandBox for ThemePunch Plugins"); 856 console.info("GreenSock TweenLite Engine Initalised by ThemePunch Plugin"); 857 } catch (e) { 858 } 859 860 861/* TWEEN LITE */ 862/*! 863 * VERSION: 1.19.1 864 * DATE: 2017-01-17 865 * UPDATES AND DOCS AT: http://greensock.com 866 * 867 * @license Copyright (c) 2008-2017, GreenSock. All rights reserved. 868 * This work is subject to the terms at http://greensock.com/standard-license or for 869 * Club GreenSock members, the software agreement that was issued with your membership. 870 * 871 * @author: Jack Doyle, [email protected] 872 */ 873!function (a, b) { 874 "use strict"; 875 var c = {}, d = a.document, e = a.GreenSockGlobals = a.GreenSockGlobals || a; 876 if (!e.TweenLite) { 877 var f, g, h, i, j, k = function (a) { 878 var b, c = a.split("."), d = e; 879 for (b = 0; b < c.length; b++)d[c[b]] = d = d[c[b]] || {}; 880 return d 881 }, l = k("com.greensock"), m = 1e-10, n = function (a) { 882 var b, c = [], d = a.length; 883 for (b = 0; b !== d; c.push(a[b++])); 884 return c 885 }, o = function () { 886 }, p = function () { 887 var a = Object.prototype.toString, b = a.call([]); 888 return function (c) { 889 return null != c && (c instanceof Array || "object" == typeof c && !!c.push && a.call(c) === b) 890 } 891 }(), q = {}, r = function (d, f, g, h) { 892 this.sc = q[d] ? q[d].sc : [], q[d] = this, this.gsClass = null, this.func = g; 893 var i = []; 894 this.check = function (j) { 895 for (var l, m, n, o, p, s = f.length, t = s; --s > -1;)(l = q[f[s]] || new r(f[s], [])).gsClass ? (i[s] = l.gsClass, t--) : j && l.sc.push(this); 896 if (0 === t && g) { 897 if (m = ("com.greensock." + d).split("."), n = m.pop(), o = k(m.join("."))[n] = this.gsClass = g.apply(g, i), h)if (e[n] = c[n] = o, p = "undefined" != typeof module && module.exports, !p && "function" == typeof define && define.amd) define((a.GreenSockAMDPath ? a.GreenSockAMDPath + "/" : "") + d.split(".").pop(), [], function () { 898 return o 899 }); else if (p)if (d === b) { 900 module.exports = c[b] = o; 901 for (s in c)o[s] = c[s] 902 } else c[b] && (c[b][n] = o); 903 for (s = 0; s < this.sc.length; s++)this.sc[s].check() 904 } 905 }, this.check(!0) 906 }, s = a._gsDefine = function (a, b, c, d) { 907 return new r(a, b, c, d) 908 }, t = l._class = function (a, b, c) { 909 return b = b || function () { 910 }, s(a, [], function () { 911 return b 912 }, c), b 913 }; 914 s.globals = e; 915 var u = [0, 0, 1, 1], v = t("easing.Ease", function (a, b, c, d) { 916 this._func = a, this._type = c || 0, this._power = d || 0, this._params = b ? u.concat(b) : u 917 }, !0), w = v.map = {}, x = v.register = function (a, b, c, d) { 918 for (var e, f, g, h, i = b.split(","), j = i.length, k = (c || "easeIn,easeOut,easeInOut").split(","); --j > -1;)for (f = i[j], e = d ? t("easing." + f, null, !0) : l.easing[f] || {}, g = k.length; --g > -1;)h = k[g], w[f + "." + h] = w[h + f] = e[h] = a.getRatio ? a : a[h] || new a 919 }; 920 for (h = v.prototype, h._calcEnd = !1, h.getRatio = function (a) { 921 if (this._func)return this._params[0] = a, this._func.apply(null, this._params); 922 var b = this._type, c = this._power, d = 1 === b ? 1 - a : 2 === b ? a : .5 > a ? 2 * a : 2 * (1 - a); 923 return 1 === c ? d *= d : 2 === c ? d *= d * d : 3 === c ? d *= d * d * d : 4 === c && (d *= d * d * d * d), 1 === b ? 1 - d : 2 === b ? d : .5 > a ? d / 2 : 1 - d / 2 924 }, f = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"], g = f.length; --g > -1;)h = f[g] + ",Power" + g, x(new v(null, null, 1, g), h, "easeOut", !0), x(new v(null, null, 2, g), h, "easeIn" + (0 === g ? ",easeNone" : "")), x(new v(null, null, 3, g), h, "easeInOut"); 925 w.linear = l.easing.Linear.easeIn, w.swing = l.easing.Quad.easeInOut; 926 var y = t("events.EventDispatcher", function (a) { 927 this._listeners = {}, this._eventTarget = a || this 928 }); 929 h = y.prototype, h.addEventListener = function (a, b, c, d, e) { 930 e = e || 0; 931 var f, g, h = this._listeners[a], k = 0; 932 for (this !== i || j || i.wake(), null == h && (this._listeners[a] = h = []), g = h.length; --g > -1;)f = h[g], f.c === b && f.s === c ? h.splice(g, 1) : 0 === k && f.pr < e && (k = g + 1); 933 h.splice(k, 0, {c: b, s: c, up: d, pr: e}) 934 }, h.removeEventListener = function (a, b) { 935 var c, d = this._listeners[a]; 936 if (d)for (c = d.length; --c > -1;)if (d[c].c === b)return void d.splice(c, 1) 937 }, h.dispatchEvent = function (a) { 938 var b, c, d, e = this._listeners[a]; 939 if (e)for (b = e.length, b > 1 && (e = e.slice(0)), c = this._eventTarget; --b > -1;)d = e[b], d && (d.up ? d.c.call(d.s || c, { 940 type: a, 941 target: c 942 }) : d.c.call(d.s || c)) 943 }; 944 var z = a.requestAnimationFrame, A = a.cancelAnimationFrame, B = Date.now || function () { 945 return (new Date).getTime() 946 }, C = B(); 947 for (f = ["ms", "moz", "webkit", "o"], g = f.length; --g > -1 && !z;)z = a[f[g] + "RequestAnimationFrame"], A = a[f[g] + "CancelAnimationFrame"] || a[f[g] + "CancelRequestAnimationFrame"]; 948 t("Ticker", function (a, b) { 949 var c, e, f, g, h, k = this, l = B(), n = b !== !1 && z ? "auto" : !1, p = 500, q = 33, r = "tick", s = function (a) { 950 var b, d, i = B() - C; 951 i > p && (l += i - q), C += i, k.time = (C - l) / 1e3, b = k.time - h, (!c || b > 0 || a === !0) && (k.frame++, h += b + (b >= g ? .004 : g - b), d = !0), a !== !0 && (f = e(s)), d && k.dispatchEvent(r) 952 }; 953 y.call(k), k.time = k.frame = 0, k.tick = function () { 954 s(!0) 955 }, k.lagSmoothing = function (a, b) { 956 p = a || 1 / m, q = Math.min(b, p, 0) 957 }, k.sleep = function () { 958 null != f && (n && A ? A(f) : clearTimeout(f), e = o, f = null, k === i && (j = !1)) 959 }, k.wake = function (a) { 960 null !== f ? k.sleep() : a ? l += -C + (C = B()) : k.frame > 10 && (C = B() - p + 5), e = 0 === c ? o : n && z ? z : function (a) { 961 return setTimeout(a, 1e3 * (h - k.time) + 1 | 0) 962 }, k === i && (j = !0), s(2) 963 }, k.fps = function (a) { 964 return arguments.length ? (c = a, g = 1 / (c || 60), h = this.time + g, void k.wake()) : c 965 }, k.useRAF = function (a) { 966 return arguments.length ? (k.sleep(), n = a, void k.fps(c)) : n 967 }, k.fps(a), setTimeout(function () { 968 "auto" === n && k.frame < 5 && "hidden" !== d.visibilityState && k.useRAF(!1) 969 }, 1500) 970 }), h = l.Ticker.prototype = new l.events.EventDispatcher, h.constructor = l.Ticker; 971 var D = t("core.Animation", function (a, b) { 972 if (this.vars = b = b || {}, this._duration = this._totalDuration = a || 0, this._delay = Number(b.delay) || 0, this._timeScale = 1, this._active = b.immediateRender === !0, this.data = b.data, this._reversed = b.reversed === !0, W) { 973 j || i.wake(); 974 var c = this.vars.useFrames ? V : W; 975 c.add(this, c._time), this.vars.paused && this.paused(!0) 976 } 977 }); 978 i = D.ticker = new l.Ticker, h = D.prototype, h._dirty = h._gc = h._initted = h._paused = !1, h._totalTime = h._time = 0, h._rawPrevTime = -1, h._next = h._last = h._onUpdate = h._timeline = h.timeline = null, h._paused = !1; 979 var E = function () { 980 j && B() - C > 2e3 && i.wake(), setTimeout(E, 2e3) 981 }; 982 E(), h.play = function (a, b) { 983 return null != a && this.seek(a, b), this.reversed(!1).paused(!1) 984 }, h.pause = function (a, b) { 985 return null != a && this.seek(a, b), this.paused(!0) 986 }, h.resume = function (a, b) { 987 return null != a && this.seek(a, b), this.paused(!1) 988 }, h.seek = function (a, b) { 989 return this.totalTime(Number(a), b !== !1) 990 }, h.restart = function (a, b) { 991 return this.reversed(!1).paused(!1).totalTime(a ? -this._delay : 0, b !== !1, !0) 992 }, h.reverse = function (a, b) { 993 return null != a && this.seek(a || this.totalDuration(), b), this.reversed(!0).paused(!1) 994 }, h.render = function (a, b, c) { 995 }, h.invalidate = function () { 996 return this._time = this._totalTime = 0, this._initted = this._gc = !1, this._rawPrevTime = -1, (this._gc || !this.timeline) && this._enabled(!0), this 997 }, h.isActive = function () { 998 var a, b = this._timeline, c = this._startTime; 999 return !b || !this._gc && !this._paused && b.isActive() && (a = b.rawTime(!0)) >= c && a < c + this.totalDuration() / this._timeScale 1000 }, h._enabled = function (a, b) { 1001 return j || i.wake(), this._gc = !a, this._active = this.isActive(), b !== !0 && (a && !this.timeline ? this._timeline.add(this, this._startTime - this._delay) : !a && this.timeline && this._timeline._remove(this, !0)), !1 1002 }, h._kill = function (a, b) { 1003 return this._enabled(!1, !1) 1004 }, h.kill = function (a, b) { 1005 return this._kill(a, b), this 1006 }, h._uncache = function (a) { 1007 for (var b = a ? this : this.timeline; b;)b._dirty = !0, b = b.timeline; 1008 return this 1009 }, h._swapSelfInParams = function (a) { 1010 for (var b = a.length, c = a.concat(); --b > -1;)"{self}" === a[b] && (c[b] = this); 1011 return c 1012 }, h._callback = function (a) { 1013 var b = this.vars, c = b[a], d = b[a + "Params"], e = b[a + "Scope"] || b.callbackScope || this, f = d ? d.length : 0; 1014 switch (f) { 1015 case 0: 1016 c.call(e); 1017 break; 1018 case 1: 1019 c.call(e, d[0]); 1020 break; 1021 case 2: 1022 c.call(e, d[0], d[1]); 1023 break; 1024 default: 1025 c.apply(e, d) 1026 } 1027 }, h.eventCallback = function (a, b, c, d) { 1028 if ("on" === (a || "").substr(0, 2)) { 1029 var e = this.vars; 1030 if (1 === arguments.length)return e[a]; 1031 null == b ? delete e[a] : (e[a] = b, e[a + "Params"] = p(c) && -1 !== c.join("").indexOf("{self}") ? this._swapSelfInParams(c) : c, e[a + "Scope"] = d), "onUpdate" === a && (this._onUpdate = b) 1032 } 1033 return this 1034 }, h.delay = function (a) { 1035 return arguments.length ? (this._timeline.smoothChildTiming && this.startTime(this._startTime + a - this._delay), this._delay = a, this) : this._delay 1036 }, h.duration = function (a) { 1037 return arguments.length ? (this._duration = this._totalDuration = a, this._uncache(!0), this._timeline.smoothChildTiming && this._time > 0 && this._time < this._duration && 0 !== a && this.totalTime(this._totalTime * (a / this._duration), !0), this) : (this._dirty = !1, this._duration) 1038 }, h.totalDuration = function (a) { 1039 return this._dirty = !1, arguments.length ? this.duration(a) : this._totalDuration 1040 }, h.time = function (a, b) { 1041 return arguments.length ? (this._dirty && this.totalDuration(), this.totalTime(a > this._duration ? this._duration : a, b)) : this._time 1042 }, h.totalTime = function (a, b, c) { 1043 if (j || i.wake(), !arguments.length)return this._totalTime; 1044 if (this._timeline) { 1045 if (0 > a && !c && (a += this.totalDuration()), this._timeline.smoothChildTiming) { 1046 this._dirty && this.totalDuration(); 1047 var d = this._totalDuration, e = this._timeline; 1048 if (a > d && !c && (a = d), this._startTime = (this._paused ? this._pauseTime : e._time) - (this._reversed ? d - a : a) / this._timeScale, e._dirty || this._uncache(!1), e._timeline)for (; e._timeline;)e._timeline._time !== (e._startTime + e._totalTime) / e._timeScale && e.totalTime(e._totalTime, !0), e = e._timeline 1049 } 1050 this._gc && this._enabled(!0, !1), (this._totalTime !== a || 0 === this._duration) && (J.length && Y(), this.render(a, b, !1), J.length && Y()) 1051 } 1052 return this 1053 }, h.progress = h.totalProgress = function (a, b) { 1054 var c = this.duration(); 1055 return arguments.length ? this.totalTime(c * a, b) : c ? this._time / c : this.ratio 1056 }, h.startTime = function (a) { 1057 return arguments.length ? (a !== this._startTime && (this._startTime = a, this.timeline && this.timeline._sortChildren && this.timeline.add(this, a - this._delay)), this) : this._startTime 1058 }, h.endTime = function (a) { 1059 return this._startTime + (0 != a ? this.totalDuration() : this.duration()) / this._timeScale 1060 }, h.timeScale = function (a) { 1061 if (!arguments.length)return this._timeScale; 1062 if (a = a || m, this._timeline && this._timeline.smoothChildTiming) { 1063 var b = this._pauseTime, c = b || 0 === b ? b : this._timeline.totalTime(); 1064 this._startTime = c - (c - this._startTime) * this._timeScale / a 1065 } 1066 return this._timeScale = a, this._uncache(!1) 1067 }, h.reversed = function (a) { 1068 return arguments.length ? (a != this._reversed && (this._reversed = a, this.totalTime(this._timeline && !this._timeline.smoothChildTiming ? this.totalDuration() - this._totalTime : this._totalTime, !0)), this) : this._reversed 1069 }, h.paused = function (a) { 1070 if (!arguments.length)return this._paused; 1071 var b, c, d = this._timeline; 1072 return a != this._paused && d && (j || a || i.wake(), b = d.rawTime(), c = b - this._pauseTime, !a && d.smoothChildTiming && (this._startTime += c, this._uncache(!1)), this._pauseTime = a ? b : null, this._paused = a, this._active = this.isActive(), !a && 0 !== c && this._initted && this.duration() && (b = d.smoothChildTiming ? this._totalTime : (b - this._startTime) / this._timeScale, this.render(b, b === this._totalTime, !0))), this._gc && !a && this._enabled(!0, !1), this 1073 }; 1074 var F = t("core.SimpleTimeline", function (a) { 1075 D.call(this, 0, a), this.autoRemoveChildren = this.smoothChildTiming = !0 1076 }); 1077 h = F.prototype = new D, h.constructor = F, h.kill()._gc = !1, h._first = h._last = h._recent = null, h._sortChildren = !1, h.add = h.insert = function (a, b, c, d) { 1078 var e, f; 1079 if (a._startTime = Number(b || 0) + a._delay, a._paused && this !== a._timeline && (a._pauseTime = a._startTime + (this.rawTime() - a._startTime) / a._timeScale), a.timeline && a.timeline._remove(a, !0), a.timeline = a._timeline = this, a._gc && a._enabled(!0, !0), e = this._last, this._sortChildren)for (f = a._startTime; e && e._startTime > f;)e = e._prev; 1080 return e ? (a._next = e._next, e._next = a) : (a._next = this._first, this._first = a), a._next ? a._next._prev = a : this._last = a, a._prev = e, this._recent = a, this._timeline && this._uncache(!0), this 1081 }, h._remove = function (a, b) { 1082 return a.timeline === this && (b || a._enabled(!1, !0), a._prev ? a._prev._next = a._next : this._first === a && (this._first = a._next), a._next ? a._next._prev = a._prev : this._last === a && (this._last = a._prev), a._next = a._prev = a.timeline = null, a === this._recent && (this._recent = this._last), this._timeline && this._uncache(!0)), this 1083 }, h.render = function (a, b, c) { 1084 var d, e = this._first; 1085 for (this._totalTime = this._time = this._rawPrevTime = a; e;)d = e._next, (e._active || a >= e._startTime && !e._paused) && (e._reversed ? e.render((e._dirty ? e.totalDuration() : e._totalDuration) - (a - e._startTime) * e._timeScale, b, c) : e.render((a - e._startTime) * e._timeScale, b, c)), e = d 1086 }, h.rawTime = function () { 1087 return j || i.wake(), this._totalTime 1088 }; 1089 var G = t("TweenLite", function (b, c, d) { 1090 if (D.call(this, c, d), this.render = G.prototype.render, null == b)throw"Cannot tween a null target."; 1091 this.target = b = "string" != typeof b ? b : G.selector(b) || b; 1092 var e, f, g, h = b.jquery || b.length && b !== a && b[0] && (b[0] === a || b[0].nodeType && b[0].style && !b.nodeType), i = this.vars.overwrite; 1093 if (this._overwrite = i = null == i ? U[G.defaultOverwrite] : "number" == typeof i ? i >> 0 : U[i], (h || b instanceof Array || b.push && p(b)) && "number" != typeof b[0])for (this._targets = g = n(b), this._propLookup = [], this._siblings = [], e = 0; e < g.length; e++)f = g[e], f ? "string" != typeof f ? f.length && f !== a && f[0] && (f[0] === a || f[0].nodeType && f[0].style && !f.nodeType) ? (g.splice(e--, 1), this._targets = g = g.concat(n(f))) : (this._siblings[e] = Z(f, this, !1), 1 === i && this._siblings[e].length > 1 && _(f, this, null, 1, this._siblings[e])) : (f = g[e--] = G.selector(f), "string" == typeof f && g.splice(e + 1, 1)) : g.splice(e--, 1); else this._propLookup = {}, this._siblings = Z(b, this, !1), 1 === i && this._siblings.length > 1 && _(b, this, null, 1, this._siblings); 1094 (this.vars.immediateRender || 0 === c && 0 === this._delay && this.vars.immediateRender !== !1) && (this._time = -m, this.render(Math.min(0, -this._delay))) 1095 }, !0), H = function (b) { 1096 return b && b.length && b !== a && b[0] && (b[0] === a || b[0].nodeType && b[0].style && !b.nodeType) 1097 }, I = function (a, b) { 1098 var c, d = {}; 1099 for (c in a)T[c] || c in b && "transform" !== c && "x" !== c && "y" !== c && "width" !== c && "height" !== c && "className" !== c && "border" !== c || !(!Q[c] || Q[c] && Q[c]._autoCSS) || (d[c] = a[c], delete a[c]); 1100 a.css = d 1101 }; 1102 h = G.prototype = new D, h.constructor = G, h.kill()._gc = !1, h.ratio = 0, h._firstPT = h._targets = h._overwrittenProps = h._startAt = null, h._notifyPluginsOfEnabled = h._lazy = !1, G.version = "1.19.1", G.defaultEase = h._ease = new v(null, null, 1, 1), G.defaultOverwrite = "auto", G.ticker = i, G.autoSleep = 120, G.lagSmoothing = function (a, b) { 1103 i.lagSmoothing(a, b) 1104 }, G.selector = a.$ || a.jQuery || function (b) { 1105 var c = a.$ || a.jQuery; 1106 return c ? (G.selector = c, c(b)) : "undefined" == typeof d ? b : d.querySelectorAll ? d.querySelectorAll(b) : d.getElementById("#" === b.charAt(0) ? b.substr(1) : b) 1107 }; 1108 var J = [], K = {}, L = /(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi, M = function (a) { 1109 for (var b, c = this._firstPT, d = 1e-6; c;)b = c.blob ? 1 === a ? this.end : a ? this.join("") : this.start : c.c * a + c.s, c.m ? b = c.m(b, this._target || c.t) : d > b && b > -d && !c.blob && (b = 0), c.f ? c.fp ? c.t[c.p](c.fp, b) : c.t[c.p](b) : c.t[c.p] = b, c = c._next 1110 }, N = function (a, b, c, d) { 1111 var e, f, g, h, i, j, k, l = [], m = 0, n = "", o = 0; 1112 for (l.start = a, l.end = b, a = l[0] = a + "", b = l[1] = b + "", c && (c(l), a = l[0], b = l[1]), l.length = 0, e = a.match(L) || [], f = b.match(L) || [], d && (d._next = null, d.blob = 1, l._firstPT = l._applyPT = d), i = f.length, h = 0; i > h; h++)k = f[h], j = b.substr(m, b.indexOf(k, m) - m), n += j || !h ? j : ",", m += j.length, o ? o = (o + 1) % 5 : "rgba(" === j.substr(-5) && (o = 1), k === e[h] || e.length <= h ? n += k : (n && (l.push(n), n = ""), g = parseFloat(e[h]), l.push(g), l._firstPT = { 1113 _next: l._firstPT, 1114 t: l, 1115 p: l.length - 1, 1116 s: g, 1117 c: ("=" === k.charAt(1) ? parseInt(k.charAt(0) + "1", 10) * parseFloat(k.substr(2)) : parseFloat(k) - g) || 0, 1118 f: 0, 1119 m: o && 4 > o ? Math.round : 0 1120 }), m += k.length; 1121 return n += b.substr(m), n && l.push(n), l.setRatio = M, l 1122 }, O = function (a, b, c, d, e, f, g, h, i) { 1123 "function" == typeof d && (d = d(i || 0, a)); 1124 var j, k = typeof a[b], l = "function" !== k ? "" : b.indexOf("set") || "function" != typeof a["get" + b.substr(3)] ? b : "get" + b.substr(3), m = "get" !== c ? c : l ? g ? a[l](g) : a[l]() : a[b], n = "string" == typeof d && "=" === d.charAt(1), o = { 1125 t: a, 1126 p: b, 1127 s: m, 1128 f: "function" === k, 1129 pg: 0, 1130 n: e || b, 1131 m: f ? "function" == typeof f ? f : Math.round : 0, 1132 pr: 0, 1133 c: n ? parseInt(d.charAt(0) + "1", 10) * parseFloat(d.substr(2)) : parseFloat(d) - m || 0 1134 }; 1135 return ("number" != typeof m || "number" != typeof d && !n) && (g || isNaN(m) || !n && isNaN(d) || "boolean" == typeof m || "boolean" == typeof d ? (o.fp = g, j = N(m, n ? o.s + o.c : d, h || G.defaultStringFilter, o), o = { 1136 t: j, 1137 p: "setRatio", 1138 s: 0, 1139 c: 1, 1140 f: 2, 1141 pg: 0, 1142 n: e || b, 1143 pr: 0, 1144 m: 0 1145 }) : (o.s = parseFloat(m), n || (o.c = parseFloat(d) - o.s || 0))), o.c ? ((o._next = this._firstPT) && (o._next._prev = o), this._firstPT = o, o) : void 0 1146 }, P = G._internals = { 1147 isArray: p, 1148 isSelector: H, 1149 lazyTweens: J, 1150 blobDif: N 1151 }, Q = G._plugins = {}, R = P.tweenLookup = {}, S = 0, T = P.reservedProps = { 1152 ease: 1, 1153 delay: 1, 1154 overwrite: 1, 1155 onComplete: 1, 1156 onCompleteParams: 1, 1157 onCompleteScope: 1, 1158 useFrames: 1, 1159 runBackwards: 1, 1160 startAt: 1, 1161 onUpdate: 1, 1162 onUpdateParams: 1, 1163 onUpdateScope: 1, 1164 onStart: 1, 1165 onStartParams: 1, 1166 onStartScope: 1, 1167 onReverseComplete: 1, 1168 onReverseCompleteParams: 1, 1169 onReverseCompleteScope: 1, 1170 onRepeat: 1, 1171 onRepeatParams: 1, 1172 onRepeatScope: 1, 1173 easeParams: 1, 1174 yoyo: 1, 1175 immediateRender: 1, 1176 repeat: 1, 1177 repeatDelay: 1, 1178 data: 1, 1179 paused: 1, 1180 reversed: 1, 1181 autoCSS: 1, 1182 lazy: 1, 1183 onOverwrite: 1, 1184 callbackScope: 1, 1185 stringFilter: 1, 1186 id: 1 1187 }, U = { 1188 none: 0, 1189 all: 1, 1190 auto: 2, 1191 concurrent: 3, 1192 allOnStart: 4, 1193 preexisting: 5, 1194 "true": 1, 1195 "false": 0 1196 }, V = D._rootFramesTimeline = new F, W = D._rootTimeline = new F, X = 30, Y = P.lazyRender = function () { 1197 var a, b = J.length; 1198 for (K = {}; --b > -1;)a = J[b], a && a._lazy !== !1 && (a.render(a._lazy[0], a._lazy[1], !0), a._lazy = !1); 1199 J.length = 0 1200 }; 1201 W._startTime = i.time, V._startTime = i.frame, W._active = V._active = !0, setTimeout(Y, 1), D._updateRoot = G.render = function () { 1202 var a, b, c; 1203 if (J.length && Y(), W.render((i.time - W._startTime) * W._timeScale, !1, !1), V.render((i.frame - V._startTime) * V._timeScale, !1, !1), J.length && Y(), i.frame >= X) { 1204 X = i.frame + (parseInt(G.autoSleep, 10) || 120); 1205 for (c in R) { 1206 for (b = R[c].tweens, a = b.length; --a > -1;)b[a]._gc && b.splice(a, 1); 1207 0 === b.length && delete R[c] 1208 } 1209 if (c = W._first, (!c || c._paused) && G.autoSleep && !V._first && 1 === i._listeners.tick.length) { 1210 for (; c && c._paused;)c = c._next; 1211 c || i.sleep() 1212 } 1213 } 1214 }, i.addEventListener("tick", D._updateRoot); 1215 var Z = function (a, b, c) { 1216 var d, e, f = a._gsTweenID; 1217 if (R[f || (a._gsTweenID = f = "t" + S++)] || (R[f] = { 1218 target: a, 1219 tweens: [] 1220 }), b && (d = R[f].tweens, d[e = d.length] = b, c))for (; --e > -1;)d[e] === b && d.splice(e, 1); 1221 return R[f].tweens 1222 }, $ = function (a, b, c, d) { 1223 var e, f, g = a.vars.onOverwrite; 1224 return g && (e = g(a, b, c, d)), g = G.onOverwrite, g && (f = g(a, b, c, d)), e !== !1 && f !== !1 1225 }, _ = function (a, b, c, d, e) { 1226 var f, g, h, i; 1227 if (1 === d || d >= 4) { 1228 for (i = e.length, f = 0; i > f; f++)if ((h = e[f]) !== b) h._gc || h._kill(null, a, b) && (g = !0); else if (5 === d)break; 1229 return g 1230 } 1231 var j, k = b._startTime + m, l = [], n = 0, o = 0 === b._duration; 1232 for (f = e.length; --f > -1;)(h = e[f]) === b || h._gc || h._paused || (h._timeline !== b._timeline ? (j = j || aa(b, 0, o), 0 === aa(h, j, o) && (l[n++] = h)) : h._startTime <= k && h._startTime + h.totalDuration() / h._timeScale > k && ((o || !h._initted) && k - h._startTime <= 2e-10 || (l[n++] = h))); 1233 for (f = n; --f > -1;)if (h = l[f], 2 === d && h._kill(c, a, b) && (g = !0), 2 !== d || !h._firstPT && h._initted) { 1234 if (2 !== d && !$(h, b))continue; 1235 h._enabled(!1, !1) && (g = !0) 1236 } 1237 return g 1238 }, aa = function (a, b, c) { 1239 for (var d = a._timeline, e = d._timeScale, f = a._startTime; d._timeline;) { 1240 if (f += d._startTime, e *= d._timeScale, d._paused)return -100; 1241 d = d._timeline 1242 } 1243 return f /= e, f > b ? f - b : c && f === b || !a._initted && 2 * m > f - b ? m : (f += a.totalDuration() / a._timeScale / e) > b + m ? 0 : f - b - m 1244 }; 1245 h._init = function () { 1246 var a, b, c, d, e, f, g = this.vars, h = this._overwrittenProps, i = this._duration, j = !!g.immediateRender, k = g.ease; 1247 if (g.startAt) { 1248 this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), e = {}; 1249 for (d in g.startAt)e[d] = g.startAt[d]; 1250 if (e.overwrite = !1, e.immediateRender = !0, e.lazy = j && g.lazy !== !1, e.startAt = e.delay = null, this._startAt = G.to(this.target, 0, e), j)if (this._time > 0) this._startAt = null; else if (0 !== i)return 1251 } else if (g.runBackwards && 0 !== i)if (this._startAt) this._startAt.render(-1, !0), this._startAt.kill(), this._startAt = null; else { 1252 0 !== this._time && (j = !1), c = {}; 1253 for (d in g)T[d] && "autoCSS" !== d || (c[d] = g[d]); 1254 if (c.overwrite = 0, c.data = "isFromStart", c.lazy = j && g.lazy !== !1, c.immediateRender = j, this._startAt = G.to(this.target, 0, c), j) { 1255 if (0 === this._time)return 1256 } else this._startAt._init(), this._startAt._enabled(!1), this.vars.immediateRender && (this._startAt = null) 1257 } 1258 if (this._ease = k = k ? k instanceof v ? k : "function" == typeof k ? new v(k, g.easeParams) : w[k] || G.defaultEase : G.defaultEase, g.easeParams instanceof Array && k.config && (this._ease = k.config.apply(k, g.easeParams)), this._easeType = this._ease._type, this._easePower = this._ease._power, this._firstPT = null, this._targets)for (f = this._targets.length, a = 0; f > a; a++)this._initProps(this._targets[a], this._propLookup[a] = {}, this._siblings[a], h ? h[a] : null, a) && (b = !0); else b = this._initProps(this.target, this._propLookup, this._siblings, h, 0); 1259 if (b && G._onPluginEvent("_onInitAllProps", this), h && (this._firstPT || "function" != typeof this.target && this._enabled(!1, !1)), g.runBackwards)for (c = this._firstPT; c;)c.s += c.c, c.c = -c.c, c = c._next; 1260 this._onUpdate = g.onUpdate, this._initted = !0 1261 }, h._initProps = function (b, c, d, e, f) { 1262 var g, h, i, j, k, l; 1263 if (null == b)return !1; 1264 K[b._gsTweenID] && Y(), this.vars.css || b.style && b !== a && b.nodeType && Q.css && this.vars.autoCSS !== !1 && I(this.vars, b); 1265 for (g in this.vars)if (l = this.vars[g], T[g]) l && (l instanceof Array || l.push && p(l)) && -1 !== l.join("").indexOf("{self}") && (this.vars[g] = l = this._swapSelfInParams(l, this)); else if (Q[g] && (j = new Q[g])._onInitTween(b, this.vars[g], this, f)) { 1266 for (this._firstPT = k = { 1267 _next: this._firstPT, 1268 t: j, 1269 p: "setRatio", 1270 s: 0, 1271 c: 1, 1272 f: 1, 1273 n: g, 1274 pg: 1, 1275 pr: j._priority, 1276 m: 0 1277 }, h = j._overwriteProps.length; --h > -1;)c[j._overwriteProps[h]] = this._firstPT; 1278 (j._priority || j._onInitAllProps) && (i = !0), (j._onDisable || j._onEnable) && (this._notifyPluginsOfEnabled = !0), k._next && (k._next._prev = k) 1279 } else c[g] = O.call(this, b, g, "get", l, g, 0, null, this.vars.stringFilter, f); 1280 return e && this._kill(e, b) ? this._initProps(b, c, d, e, f) : this._overwrite > 1 && this._firstPT && d.length > 1 && _(b, this, c, this._overwrite, d) ? (this._kill(c, b), this._initProps(b, c, d, e, f)) : (this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration) && (K[b._gsTweenID] = !0), i) 1281 }, h.render = function (a, b, c) { 1282 var d, e, f, g, h = this._time, i = this._duration, j = this._rawPrevTime; 1283 if (a >= i - 1e-7 && a >= 0) this._totalTime = this._time = i, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (d = !0, e = "onComplete", c = c || this._timeline.autoRemoveChildren), 0 === i && (this._initted || !this.vars.lazy || c) && (this._startTime === this._timeline._duration && (a = 0), (0 > j || 0 >= a && a >= -1e-7 || j === m && "isPause" !== this.data) && j !== a && (c = !0, j > m && (e = "onReverseComplete")), this._rawPrevTime = g = !b || a || j === a ? a : m); else if (1e-7 > a) this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (0 !== h || 0 === i && j > 0) && (e = "onReverseComplete", d = this._reversed), 0 > a && (this._active = !1, 0 === i && (this._initted || !this.vars.lazy || c) && (j >= 0 && (j !== m || "isPause" !== this.data) && (c = !0), this._rawPrevTime = g = !b || a || j === a ? a : m)), this._initted || (c = !0); else if (this._totalTime = this._time = a, this._easeType) { 1284 var k = a / i, l = this._easeType, n = this._easePower; 1285 (1 === l || 3 === l && k >= .5) && (k = 1 - k), 3 === l && (k *= 2), 1 === n ? k *= k : 2 === n ? k *= k * k : 3 === n ? k *= k * k * k : 4 === n && (k *= k * k * k * k), 1 === l ? this.ratio = 1 - k : 2 === l ? this.ratio = k : .5 > a / i ? this.ratio = k / 2 : this.ratio = 1 - k / 2 1286 } else this.ratio = this._ease.getRatio(a / i); 1287 if (this._time !== h || c) { 1288 if (!this._initted) { 1289 if (this._init(), !this._initted || this._gc)return; 1290 if (!c && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration))return this._time = this._totalTime = h, this._rawPrevTime = j, J.push(this), void(this._lazy = [a, b]); 1291 this._time && !d ? this.ratio = this._ease.getRatio(this._time / i) : d && this._ease._calcEnd && (this.ratio = this._ease.getRatio(0 === this._time ? 0 : 1)) 1292 } 1293 for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== h && a >= 0 && (this._active = !0), 0 === h && (this._startAt && (a >= 0 ? this._startAt.render(a, b, c) : e || (e = "_dummyGS")), this.vars.onStart && (0 !== this._time || 0 === i) && (b || this._callback("onStart"))), f = this._firstPT; f;)f.f ? f.t[f.p](f.c * this.ratio + f.s) : f.t[f.p] = f.c * this.ratio + f.s, f = f._next; 1294 this._onUpdate && (0 > a && this._startAt && a !== -1e-4 && this._startAt.render(a, b, c), b || (this._time !== h || d || c) && this._callback("onUpdate")), e && (!this._gc || c) && (0 > a && this._startAt && !this._onUpdate && a !== -1e-4 && this._startAt.render(a, b, c), d && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !b && this.vars[e] && this._callback(e), 0 === i && this._rawPrevTime === m && g !== m && (this._rawPrevTime = 0)) 1295 } 1296 }, h._kill = function (a, b, c) { 1297 if ("all" === a && (a = null), null == a && (null == b || b === this.target))return this._lazy = !1, this._enabled(!1, !1); 1298 b = "string" != typeof b ? b || this._targets || this.target : G.selector(b) || b; 1299 var d, e, f, g, h, i, j, k, l, m = c && this._time && c._startTime === this._startTime && this._timeline === c._timeline; 1300 if ((p(b) || H(b)) && "number" != typeof b[0])for (d = b.length; --d > -1;)this._kill(a, b[d], c) && (i = !0); else { 1301 if (this._targets) { 1302 for (d = this._targets.length; --d > -1;)if (b === this._targets[d]) { 1303 h = this._propLookup[d] || {}, this._overwrittenProps = this._overwrittenProps || [], e = this._overwrittenProps[d] = a ? this._overwrittenProps[d] || {} : "all"; 1304 break 1305 } 1306 } else { 1307 if (b !== this.target)return !1; 1308 h = this._propLookup, e = this._overwrittenProps = a ? this._overwrittenProps || {} : "all" 1309 } 1310 if (h) { 1311 if (j = a || h, k = a !== e && "all" !== e && a !== h && ("object" != typeof a || !a._tempKill), c && (G.onOverwrite || this.vars.onOverwrite)) { 1312 for (f in j)h[f] && (l || (l = []), l.push(f)); 1313 if ((l || !a) && !$(this, c, b, l))return !1 1314 } 1315 for (f in j)(g = h[f]) && (m && (g.f ? g.t[g.p](g.s) : g.t[g.p] = g.s, i = !0), g.pg && g.t._kill(j) && (i = !0), g.pg && 0 !== g.t._overwriteProps.length || (g._prev ? g._prev._next = g._next : g === this._firstPT && (this._firstPT = g._next), g._next && (g._next._prev = g._prev), g._next = g._prev = null), delete h[f]), k && (e[f] = 1); 1316 !this._firstPT && this._initted && this._enabled(!1, !1) 1317 } 1318 } 1319 return i 1320 }, h.invalidate = function () { 1321 return this._notifyPluginsOfEnabled && G._onPluginEvent("_onDisable", this), this._firstPT = this._overwrittenProps = this._startAt = this._onUpdate = null, this._notifyPluginsOfEnabled = this._active = this._lazy = !1, this._propLookup = this._targets ? {} : [], D.prototype.invalidate.call(this), this.vars.immediateRender && (this._time = -m, this.render(Math.min(0, -this._delay))), this 1322 }, h._enabled = function (a, b) { 1323 if (j || i.wake(), a && this._gc) { 1324 var c, d = this._targets; 1325 if (d)for (c = d.length; --c > -1;)this._siblings[c] = Z(d[c], this, !0); else this._siblings = Z(this.target, this, !0) 1326 } 1327 return D.prototype._enabled.call(this, a, b), this._notifyPluginsOfEnabled && this._firstPT ? G._onPluginEvent(a ? "_onEnable" : "_onDisable", this) : !1 1328 }, G.to = function (a, b, c) { 1329 return new G(a, b, c) 1330 }, G.from = function (a, b, c) { 1331 return c.runBackwards = !0, c.immediateRender = 0 != c.immediateRender, new G(a, b, c) 1332 }, G.fromTo = function (a, b, c, d) { 1333 return d.startAt = c, d.immediateRender = 0 != d.immediateRender && 0 != c.immediateRender, new G(a, b, d) 1334 }, G.delayedCall = function (a, b, c, d, e) { 1335 return new G(b, 0, { 1336 delay: a, 1337 onComplete: b, 1338 onCompleteParams: c, 1339 callbackScope: d, 1340 onReverseComplete: b, 1341 onReverseCompleteParams: c, 1342 immediateRender: !1, 1343 lazy: !1, 1344 useFrames: e, 1345 overwrite: 0 1346 }) 1347 }, G.set = function (a, b) { 1348 return new G(a, 0, b) 1349 }, G.getTweensOf = function (a, b) { 1350 if (null == a)return []; 1351 a = "string" != typeof a ? a : G.selector(a) || a; 1352 var c, d, e, f; 1353 if ((p(a) || H(a)) && "number" != typeof a[0]) { 1354 for (c = a.length, d = []; --c > -1;)d = d.concat(G.getTweensOf(a[c], b)); 1355 for (c = d.length; --c > -1;)for (f = d[c], e = c; --e > -1;)f === d[e] && d.splice(c, 1) 1356 } else for (d = Z(a).concat(), c = d.length; --c > -1;)(d[c]._gc || b && !d[c].isActive()) && d.splice(c, 1); 1357 return d 1358 }, G.killTweensOf = G.killDelayedCallsTo = function (a, b, c) { 1359 "object" == typeof b && (c = b, b = !1); 1360 for (var d = G.getTweensOf(a, b), e = d.length; --e > -1;)d[e]._kill(c, a) 1361 }; 1362 var ba = t("plugins.TweenPlugin", function (a, b) { 1363 this._overwriteProps = (a || "").split(","), this._propName = this._overwriteProps[0], this._priority = b || 0, this._super = ba.prototype 1364 }, !0); 1365 if (h = ba.prototype, ba.version = "1.19.0", ba.API = 2, h._firstPT = null, h._addTween = O, h.setRatio = M, h._kill = function (a) { 1366 var b, c = this._overwriteProps, d = this._firstPT; 1367 if (null != a[this._propName]) this._overwriteProps = []; else for (b = c.length; --b > -1;)null != a[c[b]] && c.splice(b, 1); 1368 for (; d;)null != a[d.n] && (d._next && (d._next._prev = d._prev), d._prev ? (d._prev._next = d._next, d._prev = null) : this._firstPT === d && (this._firstPT = d._next)), d = d._next; 1369 return !1 1370 }
vendor: 13,355 bytes, lines 1370-1540
1370, h._mod = h._roundProps = function (a) { 1371 for (var b, c = this._firstPT; c;)b = a[this._propName] || null != c.n && a[c.n.split(this._propName + "_").join("")], b && "function" == typeof b && (2 === c.f ? c.t._applyPT.m = b : c.m = b), c = c._next 1372 }, G._onPluginEvent = function (a, b) { 1373 var c, d, e, f, g, h = b._firstPT; 1374 if ("_onInitAllProps" === a) { 1375 for (; h;) { 1376 for (g = h._next, d = e; d && d.pr > h.pr;)d = d._next; 1377 (h._prev = d ? d._prev : f) ? h._prev._next = h : e = h, (h._next = d) ? d._prev = h : f = h, h = g 1378 } 1379 h = b._firstPT = e 1380 } 1381 for (; h;)h.pg && "function" == typeof h.t[a] && h.t[a]() && (c = !0), h = h._next; 1382 return c 1383 }, ba.activate = function (a) { 1384 for (var b = a.length; --b > -1;)a[b].API === ba.API && (Q[(new a[b])._propName] = a[b]); 1385 return !0 1386 }, s.plugin = function (a) { 1387 if (!(a && a.propName && a.init && a.API))throw"illegal plugin definition."; 1388 var b, c = a.propName, d = a.priority || 0, e = a.overwriteProps, f = { 1389 init: "_onInitTween", 1390 set: "setRatio", 1391 kill: "_kill", 1392 round: "_mod", 1393 mod: "_mod", 1394 initAll: "_onInitAllProps" 1395 }, g = t("plugins." + c.charAt(0).toUpperCase() + c.substr(1) + "Plugin", function () { 1396 ba.call(this, c, d), this._overwriteProps = e || [] 1397 }, a.global === !0), h = g.prototype = new ba(c); 1398 h.constructor = g, g.API = a.API; 1399 for (b in f)"function" == typeof a[b] && (h[f[b]] = a[b]); 1400 return g.version = a.version, ba.activate([g]), g 1401 }, f = a._gsQueue) { 1402 for (g = 0; g < f.length; g++)f[g](); 1403 for (h in q)q[h].func || a.console.log("GSAP encountered missing dependency: " + h) 1404 } 1405 j = !1 1406 } 1407}("undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window, "TweenLite"); 1408/* TIME LINE LITE */ 1409/*! 1410 * VERSION: 1.17.0 1411 * DATE: 2015-05-27 1412 * UPDATES AND DOCS AT: http://greensock.com 1413 * 1414 * @license Copyright (c) 2008-2015, GreenSock. All rights reserved. 1415 * This work is subject to the terms at http://greensock.com/standard-license or for 1416 * Club GreenSock members, the software agreement that was issued with your membership. 1417 * 1418 * @author: Jack Doyle, [email protected] 1419 */ 1420var _gsScope = "undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window; 1421(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function () { 1422 "use strict"; 1423 _gsScope._gsDefine("TimelineLite", ["core.Animation", "core.SimpleTimeline", "TweenLite"], function (t, e, i) { 1424 var s = function (t) { 1425 e.call(this, t), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate; 1426 var i, s, r = this.vars; 1427 for (s in r)i = r[s], h(i) && -1 !== i.join("").indexOf("{self}") && (r[s] = this._swapSelfInParams(i)); 1428 h(r.tweens) && this.add(r.tweens, 0, r.align, r.stagger) 1429 }, r = 1e-10, n = i._internals, a = s._internals = {}, o = n.isSelector, h = n.isArray, l = n.lazyTweens, _ = n.lazyRender, u = [], f = _gsScope._gsDefine.globals, c = function (t) { 1430 var e, i = {}; 1431 for (e in t)i[e] = t[e]; 1432 return i 1433 }, p = a.pauseCallback = function (t, e, i, s) { 1434 var n, a = t._timeline, o = a._totalTime, h = t._startTime, l = 0 > t._rawPrevTime || 0 === t._rawPrevTime && a._reversed, _ = l ? 0 : r, f = l ? r : 0; 1435 if (e || !this._forcingPlayhead) { 1436 for (a.pause(h), n = t._prev; n && n._startTime === h;)n._rawPrevTime = f, n = n._prev; 1437 for (n = t._next; n && n._startTime === h;)n._rawPrevTime = _, n = n._next; 1438 e && e.apply(s || a.vars.callbackScope || a, i || u), (this._forcingPlayhead || !a._paused) && a.seek(o) 1439 } 1440 }, m = function (t) { 1441 var e, i = [], s = t.length; 1442 for (e = 0; e !== s; i.push(t[e++])); 1443 return i 1444 }, d = s.prototype = new e; 1445 return s.version = "1.17.0", d.constructor = s, d.kill()._gc = d._forcingPlayhead = !1, d.to = function (t, e, s, r) { 1446 var n = s.repeat && f.TweenMax || i; 1447 return e ? this.add(new n(t, e, s), r) : this.set(t, s, r) 1448 }, d.from = function (t, e, s, r) { 1449 return this.add((s.repeat && f.TweenMax || i).from(t, e, s), r) 1450 }, d.fromTo = function (t, e, s, r, n) { 1451 var a = r.repeat && f.TweenMax || i; 1452 return e ? this.add(a.fromTo(t, e, s, r), n) : this.set(t, r, n) 1453 }, d.staggerTo = function (t, e, r, n, a, h, l, _) { 1454 var u, f = new s({ 1455 onComplete: h, 1456 onCompleteParams: l, 1457 callbackScope: _, 1458 smoothChildTiming: this.smoothChildTiming 1459 }); 1460 for ("string" == typeof t && (t = i.selector(t) || t), t = t || [], o(t) && (t = m(t)), n = n || 0, 0 > n && (t = m(t), t.reverse(), n *= -1), u = 0; t.length > u; u++)r.startAt && (r.startAt = c(r.startAt)), f.to(t[u], e, c(r), u * n); 1461 return this.add(f, a) 1462 }, d.staggerFrom = function (t, e, i, s, r, n, a, o) { 1463 return i.immediateRender = 0 != i.immediateRender, i.runBackwards = !0, this.staggerTo(t, e, i, s, r, n, a, o) 1464 }, d.staggerFromTo = function (t, e, i, s, r, n, a, o, h) { 1465 return s.startAt = i, s.immediateRender = 0 != s.immediateRender && 0 != i.immediateRender, this.staggerTo(t, e, s, r, n, a, o, h) 1466 }, d.call = function (t, e, s, r) { 1467 return this.add(i.delayedCall(0, t, e, s), r) 1468 }, d.set = function (t, e, s) { 1469 return s = this._parseTimeOrLabel(s, 0, !0), null == e.immediateRender && (e.immediateRender = s === this._time && !this._paused), this.add(new i(t, 0, e), s) 1470 }, s.exportRoot = function (t, e) { 1471 t = t || {}, null == t.smoothChildTiming && (t.smoothChildTiming = !0); 1472 var r, n, a = new s(t), o = a._timeline; 1473 for (null == e && (e = !0), o._remove(a, !0), a._startTime = 0, a._rawPrevTime = a._time = a._totalTime = o._time, r = o._first; r;)n = r._next, e && r instanceof i && r.target === r.vars.onComplete || a.add(r, r._startTime - r._delay), r = n; 1474 return o.add(a, 0), a 1475 }, d.add = function (r, n, a, o) { 1476 var l, _, u, f, c, p; 1477 if ("number" != typeof n && (n = this._parseTimeOrLabel(n, 0, !0, r)), !(r instanceof t)) { 1478 if (r instanceof Array || r && r.push && h(r)) { 1479 for (a = a || "normal", o = o || 0, l = n, _ = r.length, u = 0; _ > u; u++)h(f = r[u]) && (f = new s({tweens: f})), this.add(f, l), "string" != typeof f && "function" != typeof f && ("sequence" === a ? l = f._startTime + f.totalDuration() / f._timeScale : "start" === a && (f._startTime -= f.delay())), l += o; 1480 return this._uncache(!0) 1481 } 1482 if ("string" == typeof r)return this.addLabel(r, n); 1483 if ("function" != typeof r)throw"Cannot add " + r + " into the timeline; it is not a tween, timeline, function, or string."; 1484 r = i.delayedCall(0, r) 1485 } 1486 if (e.prototype.add.call(this, r, n), (this._gc || this._time === this._duration) && !this._paused && this._duration < this.duration())for (c = this, p = c.rawTime() > r._startTime; c._timeline;)p && c._timeline.smoothChildTiming ? c.totalTime(c._totalTime, !0) : c._gc && c._enabled(!0, !1), c = c._timeline; 1487 return this 1488 }, d.remove = function (e) { 1489 if (e instanceof t)return this._remove(e, !1); 1490 if (e instanceof Array || e && e.push && h(e)) { 1491 for (var i = e.length; --i > -1;)this.remove(e[i]); 1492 return this 1493 } 1494 return "string" == typeof e ? this.removeLabel(e) : this.kill(null, e) 1495 }, d._remove = function (t, i) { 1496 e.prototype._remove.call(this, t, i); 1497 var s = this._last; 1498 return s ? this._time > s._startTime + s._totalDuration / s._timeScale && (this._time = this.duration(), this._totalTime = this._totalDuration) : this._time = this._totalTime = this._duration = this._totalDuration = 0, this 1499 }, d.append = function (t, e) { 1500 return this.add(t, this._parseTimeOrLabel(null, e, !0, t)) 1501 }, d.insert = d.insertMultiple = function (t, e, i, s) { 1502 return this.add(t, e || 0, i, s) 1503 }, d.appendMultiple = function (t, e, i, s) { 1504 return this.add(t, this._parseTimeOrLabel(null, e, !0, t), i, s) 1505 }, d.addLabel = function (t, e) { 1506 return this._labels[t] = this._parseTimeOrLabel(e), this 1507 }, d.addPause = function (t, e, s, r) { 1508 var n = i.delayedCall(0, p, ["{self}", e, s, r], this); 1509 return n.data = "isPause", this.add(n, t) 1510 }, d.removeLabel = function (t) { 1511 return delete this._labels[t], this 1512 }, d.getLabelTime = function (t) { 1513 return null != this._labels[t] ? this._labels[t] : -1 1514 }, d._parseTimeOrLabel = function (e, i, s, r) { 1515 var n; 1516 if (r instanceof t && r.timeline === this) this.remove(r); else if (r && (r instanceof Array || r.push && h(r)))for (n = r.length; --n > -1;)r[n] instanceof t && r[n].timeline === this && this.remove(r[n]); 1517 if ("string" == typeof i)return this._parseTimeOrLabel(i, s && "number" == typeof e && null == this._labels[i] ? e - this.duration() : 0, s); 1518 if (i = i || 0, "string" != typeof e || !isNaN(e) && null == this._labels[e]) null == e && (e = this.duration()); else { 1519 if (n = e.indexOf("="), -1 === n)return null == this._labels[e] ? s ? this._labels[e] = this.duration() + i : i : this._labels[e] + i; 1520 i = parseInt(e.charAt(n - 1) + "1", 10) * Number(e.substr(n + 1)), e = n > 1 ? this._parseTimeOrLabel(e.substr(0, n - 1), 0, s) : this.duration() 1521 } 1522 return Number(e) + i 1523 }, d.seek = function (t, e) { 1524 return this.totalTime("number" == typeof t ? t : this._parseTimeOrLabel(t), e !== !1) 1525 }, d.stop = function () { 1526 return this.paused(!0) 1527 }, d.gotoAndPlay = function (t, e) { 1528 return this.play(t, e) 1529 }, d.gotoAndStop = function (t, e) { 1530 return this.pause(t, e) 1531 }, d.render = function (t, e, i) { 1532 this._gc && this._enabled(!0, !1); 1533 var s, n, a, o, h, u = this._dirty ? this.totalDuration() : this._totalDuration, f = this._time, c = this._startTime, p = this._timeScale, m = this._paused; 1534 if (t >= u) this._totalTime = this._time = u, this._reversed || this._hasPausedChild() || (n = !0, o = "onComplete", h = !!this._timeline.autoRemoveChildren, 0 === this._duration && (0 === t || 0 > this._rawPrevTime || this._rawPrevTime === r) && this._rawPrevTime !== t && this._first && (h = !0, this._rawPrevTime > r && (o = "onReverseComplete"))), this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : r, t = u + 1e-4; else if (1e-7 > t)if (this._totalTime = this._time = 0, (0 !== f || 0 === this._duration && this._rawPrevTime !== r && (this._rawPrevTime > 0 || 0 > t && this._rawPrevTime >= 0)) && (o = "onReverseComplete", n = this._reversed), 0 > t) this._active = !1, this._timeline.autoRemoveChildren && this._reversed ? (h = n = !0, o = "onReverseComplete") : this._rawPrevTime >= 0 && this._first && (h = !0), this._rawPrevTime = t; else { 1535 if (this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : r, 0 === t && n)for (s = this._first; s && 0 === s._startTime;)s._duration || (n = !1), s = s._next; 1536 t = 0, this._initted || (h = !0) 1537 } else this._totalTime = this._time = this._rawPrevTime = t; 1538 if (this._time !== f && this._first || i || h) { 1539 if (this._initted || (this._initted = !0), this._active || !this._paused && this._time !== f && t > 0 && (this._active = !0), 0 === f && this.vars.onStart && 0 !== this._time && (e || this._callback("onStart")), this._time >= f)for (s = this._first; s && (a = s._next, !this._paused || m);)(s._active || s._startTime <= this._time && !s._paused && !s._gc) && (s._reversed ? s.render((s._dirty ? s.totalDuration() : s._totalDuration) - (t - s._startTime) * s._timeScale, e, i) : s.render((t - s._startTime) * s._timeScale, e, i)), s = a; else for (s = this._last; s && (a = s._prev, !this._paused || m);)(s._active || f >= s._startTime && !s._paused && !s._gc) && (s._reversed ? s.render((s._dirty ? s.totalDuration() : s._totalDuration) - (t - s._startTime) * s._timeScale, e, i) : s.render((t - s._startTime) * s._timeScale, e, i)), s = a; 1540 this._onUpdate && (e || (l.length && _(), this._callback("onUp
vendor: 5,093 bytes, lines 1540-1624
1540date"))), o && (this._gc || (c === this._startTime || p !== this._timeScale) && (0 === this._time || u >= this.totalDuration()) && (n && (l.length && _(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[o] && this._callback(o))) 1541 } 1542 }, d._hasPausedChild = function () { 1543 for (var t = this._first; t;) { 1544 if (t._paused || t instanceof s && t._hasPausedChild())return !0; 1545 t = t._next 1546 } 1547 return !1 1548 }, d.getChildren = function (t, e, s, r) { 1549 r = r || -9999999999; 1550 for (var n = [], a = this._first, o = 0; a;)r > a._startTime || (a instanceof i ? e !== !1 && (n[o++] = a) : (s !== !1 && (n[o++] = a), t !== !1 && (n = n.concat(a.getChildren(!0, e, s)), o = n.length))), a = a._next; 1551 return n 1552 }, d.getTweensOf = function (t, e) { 1553 var s, r, n = this._gc, a = [], o = 0; 1554 for (n && this._enabled(!0, !0), s = i.getTweensOf(t), r = s.length; --r > -1;)(s[r].timeline === this || e && this._contains(s[r])) && (a[o++] = s[r]); 1555 return n && this._enabled(!1, !0), a 1556 }, d.recent = function () { 1557 return this._recent 1558 }, d._contains = function (t) { 1559 for (var e = t.timeline; e;) { 1560 if (e === this)return !0; 1561 e = e.timeline 1562 } 1563 return !1 1564 }, d.shiftChildren = function (t, e, i) { 1565 i = i || 0; 1566 for (var s, r = this._first, n = this._labels; r;)r._startTime >= i && (r._startTime += t), r = r._next; 1567 if (e)for (s in n)n[s] >= i && (n[s] += t); 1568 return this._uncache(!0) 1569 }, d._kill = function (t, e) { 1570 if (!t && !e)return this._enabled(!1, !1); 1571 for (var i = e ? this.getTweensOf(e) : this.getChildren(!0, !0, !1), s = i.length, r = !1; --s > -1;)i[s]._kill(t, e) && (r = !0); 1572 return r 1573 }, d.clear = function (t) { 1574 var e = this.getChildren(!1, !0, !0), i = e.length; 1575 for (this._time = this._totalTime = 0; --i > -1;)e[i]._enabled(!1, !1); 1576 return t !== !1 && (this._labels = {}), this._uncache(!0) 1577 }, d.invalidate = function () { 1578 for (var e = this._first; e;)e.invalidate(), e = e._next; 1579 return t.prototype.invalidate.call(this) 1580 }, d._enabled = function (t, i) { 1581 if (t === this._gc)for (var s = this._first; s;)s._enabled(t, !0), s = s._next; 1582 return e.prototype._enabled.call(this, t, i) 1583 }, d.totalTime = function () { 1584 this._forcingPlayhead = !0; 1585 var e = t.prototype.totalTime.apply(this, arguments); 1586 return this._forcingPlayhead = !1, e 1587 }, d.duration = function (t) { 1588 return arguments.length ? (0 !== this.duration() && 0 !== t && this.timeScale(this._duration / t), this) : (this._dirty && this.totalDuration(), this._duration) 1589 }, d.totalDuration = function (t) { 1590 if (!arguments.length) { 1591 if (this._dirty) { 1592 for (var e, i, s = 0, r = this._last, n = 999999999999; r;)e = r._prev, r._dirty && r.totalDuration(), r._startTime > n && this._sortChildren && !r._paused ? this.add(r, r._startTime - r._delay) : n = r._startTime, 0 > r._startTime && !r._paused && (s -= r._startTime, this._timeline.smoothChildTiming && (this._startTime += r._startTime / this._timeScale), this.shiftChildren(-r._startTime, !1, -9999999999), n = 0), i = r._startTime + r._totalDuration / r._timeScale, i > s && (s = i), r = e; 1593 this._duration = this._totalDuration = s, this._dirty = !1 1594 } 1595 return this._totalDuration 1596 } 1597 return 0 !== this.totalDuration() && 0 !== t && this.timeScale(this._totalDuration / t), this 1598 }, d.paused = function (e) { 1599 if (!e)for (var i = this._first, s = this._time; i;)i._startTime === s && "isPause" === i.data && (i._rawPrevTime = 0), i = i._next; 1600 return t.prototype.paused.apply(this, arguments) 1601 }, d.usesFrames = function () { 1602 for (var e = this._timeline; e._timeline;)e = e._timeline; 1603 return e === t._rootFramesTimeline 1604 }, d.rawTime = function () { 1605 return this._paused ? this._totalTime : (this._timeline.rawTime() - this._startTime) * this._timeScale 1606 }, s 1607 }, !0) 1608}), _gsScope._gsDefine && _gsScope._gsQueue.pop()(), function (t) { 1609 "use strict"; 1610 var e = function () { 1611 return (_gsScope.GreenSockGlobals || _gsScope)[t] 1612 }; 1613 "function" == typeof define && define.amd ? define(["TweenLite"], e) : "undefined" != typeof module && module.exports && (require("./TweenLite.js"), module.exports = e()) 1614}("TimelineLite"); 1615 1616 1617/* EASING PLUGIN*/ 1618/*! 1619 * VERSION: 1.15.5 1620 * DATE: 2016-07-08 1621 * UPDATES AND DOCS AT: http://greensock.com 1622 * 1623 * @license Copyright (c) 2008-2016, GreenSock. All rights reserved. 1624 * This work is subject to the terms at http://greensock.com/standard-license or for
vendor: 4,277 bytes, lines 1625-1685
1625 * Club GreenSock members, the software agreement that was issued with your membership. 1626 * 1627 * @author: Jack Doyle, [email protected] 1628 **/ 1629var _gsScope = "undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window; 1630(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function () { 1631 "use strict"; 1632 _gsScope._gsDefine("easing.Back", ["easing.Ease"], function (a) { 1633 var b, c, d, e = _gsScope.GreenSockGlobals || _gsScope, f = e.com.greensock, g = 2 * Math.PI, h = Math.PI / 2, i = f._class, j = function (b, c) { 1634 var d = i("easing." + b, function () { 1635 }, !0), e = d.prototype = new a; 1636 return e.constructor = d, e.getRatio = c, d 1637 }, k = a.register || function () { 1638 }, l = function (a, b, c, d, e) { 1639 var f = i("easing." + a, {easeOut: new b, easeIn: new c, easeInOut: new d}, !0); 1640 return k(f, a), f 1641 }, m = function (a, b, c) { 1642 this.t = a, this.v = b, c && (this.next = c, c.prev = this, this.c = c.v - b, this.gap = c.t - a) 1643 }, n = function (b, c) { 1644 var d = i("easing." + b, function (a) { 1645 this._p1 = a || 0 === a ? a : 1.70158, this._p2 = 1.525 * this._p1 1646 }, !0), e = d.prototype = new a; 1647 return e.constructor = d, e.getRatio = c, e.config = function (a) { 1648 return new d(a) 1649 }, d 1650 }, o = l("Back", n("BackOut", function (a) { 1651 return (a -= 1) * a * ((this._p1 + 1) * a + this._p1) + 1 1652 }), n("BackIn", function (a) { 1653 return a * a * ((this._p1 + 1) * a - this._p1) 1654 }), n("BackInOut", function (a) { 1655 return (a *= 2) < 1 ? .5 * a * a * ((this._p2 + 1) * a - this._p2) : .5 * ((a -= 2) * a * ((this._p2 + 1) * a + this._p2) + 2) 1656 })), p = i("easing.SlowMo", function (a, b, c) { 1657 b = b || 0 === b ? b : .7, null == a ? a = .7 : a > 1 && (a = 1), this._p = 1 !== a ? b : 0, this._p1 = (1 - a) / 2, this._p2 = a, this._p3 = this._p1 + this._p2, this._calcEnd = c === !0 1658 }, !0), q = p.prototype = new a; 1659 return q.constructor = p, q.getRatio = function (a) { 1660 var b = a + (.5 - a) * this._p; 1661 return a < this._p1 ? this._calcEnd ? 1 - (a = 1 - a / this._p1) * a : b - (a = 1 - a / this._p1) * a * a * a * b : a > this._p3 ? this._calcEnd ? 1 - (a = (a - this._p3) / this._p1) * a : b + (a - b) * (a = (a - this._p3) / this._p1) * a * a * a : this._calcEnd ? 1 : b 1662 }, p.ease = new p(.7, .7), q.config = p.config = function (a, b, c) { 1663 return new p(a, b, c) 1664 }, b = i("easing.SteppedEase", function (a) { 1665 a = a || 1, this._p1 = 1 / a, this._p2 = a + 1 1666 }, !0), q = b.prototype = new a, q.constructor = b, q.getRatio = function (a) { 1667 return 0 > a ? a = 0 : a >= 1 && (a = .999999999), (this._p2 * a >> 0) * this._p1 1668 }, q.config = b.config = function (a) { 1669 return new b(a) 1670 }, c = i("easing.RoughEase", function (b) { 1671 b = b || {}; 1672 for (var c, d, e, f, g, h, i = b.taper || "none", j = [], k = 0, l = 0 | (b.points || 20), n = l, o = b.randomize !== !1, p = b.clamp === !0, q = b.template instanceof a ? b.template : null, r = "number" == typeof b.strength ? .4 * b.strength : .4; --n > -1;)c = o ? Math.random() : 1 / l * n, d = q ? q.getRatio(c) : c, "none" === i ? e = r : "out" === i ? (f = 1 - c, e = f * f * r) : "in" === i ? e = c * c * r : .5 > c ? (f = 2 * c, e = f * f * .5 * r) : (f = 2 * (1 - c), e = f * f * .5 * r), o ? d += Math.random() * e - .5 * e : n % 2 ? d += .5 * e : d -= .5 * e, p && (d > 1 ? d = 1 : 0 > d && (d = 0)), j[k++] = { 1673 x: c, 1674 y: d 1675 }; 1676 for (j.sort(function (a, b) { 1677 return a.x - b.x 1678 }), h = new m(1, 1, null), n = l; --n > -1;)g = j[n], h = new m(g.x, g.y, h); 1679 this._prev = new m(0, 0, 0 !== h.t ? h : h.next) 1680 }, !0), q = c.prototype = new a, q.constructor = c, q.getRatio = function (a) { 1681 var b = this._prev; 1682 if (a > b.t) { 1683 for (; b.next && a >= b.t;)b = b.next; 1684 b = b.prev 1685 } else for (; b.prev && a <= b.t;)b = b.prev;
vendor: 5,067 bytes, lines 1686-1774
1686 return this._prev = b, b.v + (a - b.t) / b.gap * b.c 1687 }, q.config = function (a) { 1688 return new c(a) 1689 }, c.ease = new c, l("Bounce", j("BounceOut", function (a) { 1690 return 1 / 2.75 > a ? 7.5625 * a * a : 2 / 2.75 > a ? 7.5625 * (a -= 1.5 / 2.75) * a + .75 : 2.5 / 2.75 > a ? 7.5625 * (a -= 2.25 / 2.75) * a + .9375 : 7.5625 * (a -= 2.625 / 2.75) * a + .984375 1691 }), j("BounceIn", function (a) { 1692 return (a = 1 - a) < 1 / 2.75 ? 1 - 7.5625 * a * a : 2 / 2.75 > a ? 1 - (7.5625 * (a -= 1.5 / 2.75) * a + .75) : 2.5 / 2.75 > a ? 1 - (7.5625 * (a -= 2.25 / 2.75) * a + .9375) : 1 - (7.5625 * (a -= 2.625 / 2.75) * a + .984375) 1693 }), j("BounceInOut", function (a) { 1694 var b = .5 > a; 1695 return a = b ? 1 - 2 * a : 2 * a - 1, a = 1 / 2.75 > a ? 7.5625 * a * a : 2 / 2.75 > a ? 7.5625 * (a -= 1.5 / 2.75) * a + .75 : 2.5 / 2.75 > a ? 7.5625 * (a -= 2.25 / 2.75) * a + .9375 : 7.5625 * (a -= 2.625 / 2.75) * a + .984375, b ? .5 * (1 - a) : .5 * a + .5 1696 })), l("Circ", j("CircOut", function (a) { 1697 return Math.sqrt(1 - (a -= 1) * a) 1698 }), j("CircIn", function (a) { 1699 return -(Math.sqrt(1 - a * a) - 1) 1700 }), j("CircInOut", function (a) { 1701 return (a *= 2) < 1 ? -.5 * (Math.sqrt(1 - a * a) - 1) : .5 * (Math.sqrt(1 - (a -= 2) * a) + 1) 1702 })), d = function (b, c, d) { 1703 var e = i("easing." + b, function (a, b) { 1704 this._p1 = a >= 1 ? a : 1, this._p2 = (b || d) / (1 > a ? a : 1), this._p3 = this._p2 / g * (Math.asin(1 / this._p1) || 0), this._p2 = g / this._p2 1705 }, !0), f = e.prototype = new a; 1706 return f.constructor = e, f.getRatio = c, f.config = function (a, b) { 1707 return new e(a, b) 1708 }, e 1709 }, l("Elastic", d("ElasticOut", function (a) { 1710 return this._p1 * Math.pow(2, -10 * a) * Math.sin((a - this._p3) * this._p2) + 1 1711 }, .3), d("ElasticIn", function (a) { 1712 return -(this._p1 * Math.pow(2, 10 * (a -= 1)) * Math.sin((a - this._p3) * this._p2)) 1713 }, .3), d("ElasticInOut", function (a) { 1714 return (a *= 2) < 1 ? -.5 * (this._p1 * Math.pow(2, 10 * (a -= 1)) * Math.sin((a - this._p3) * this._p2)) : this._p1 * Math.pow(2, -10 * (a -= 1)) * Math.sin((a - this._p3) * this._p2) * .5 + 1 1715 }, .45)), l("Expo", j("ExpoOut", function (a) { 1716 return 1 - Math.pow(2, -10 * a) 1717 }), j("ExpoIn", function (a) { 1718 return Math.pow(2, 10 * (a - 1)) - .001 1719 }), j("ExpoInOut", function (a) { 1720 return (a *= 2) < 1 ? .5 * Math.pow(2, 10 * (a - 1)) : .5 * (2 - Math.pow(2, -10 * (a - 1))) 1721 })), l("Sine", j("SineOut", function (a) { 1722 return Math.sin(a * h) 1723 }), j("SineIn", function (a) { 1724 return -Math.cos(a * h) + 1 1725 }), j("SineInOut", function (a) { 1726 return -.5 * (Math.cos(Math.PI * a) - 1) 1727 })), i("easing.EaseLookup", { 1728 find: function (b) { 1729 return a.map[b] 1730 } 1731 }, !0), k(e.SlowMo, "SlowMo", "ease,"), k(c, "RoughEase", "ease,"), k(b, "SteppedEase", "ease,"), o 1732 }, !0) 1733}), _gsScope._gsDefine && _gsScope._gsQueue.pop()(), function () { 1734 "use strict"; 1735 var a = function () { 1736 return _gsScope.GreenSockGlobals || _gsScope 1737 }; 1738 "function" == typeof define && define.amd ? define(["TweenLite"], a) : "undefined" != typeof module && module.exports && (require("../TweenLite.js"), module.exports = a()) 1739}(); 1740 1741 1742/* CSS PLUGIN */ 1743/*! 1744 * VERSION: 1.19.1 1745 * DATE: 2017-01-17 1746 * UPDATES AND DOCS AT: http://greensock.com 1747 * 1748 * @license Copyright (c) 2008-2017, GreenSock. All rights reserved. 1749 * This work is subject to the terms at http://greensock.com/standard-license or for 1750 * Club GreenSock members, the software agreement that was issued with your membership. 1751 * 1752 * @author: Jack Doyle, [email protected] 1753 */ 1754var _gsScope = "undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window; 1755(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function () { 1756 "use strict"; 1757 _gsScope._gsDefine("plugins.CSSPlugin", ["plugins.TweenPlugin", "TweenLite"], function (a, b) { 1758 var c, d, e, f, g = function () { 1759 a.call(this, "css"), this._overwriteProps.length = 0, this.setRatio = g.prototype.setRatio 1760 }, h = _gsScope._gsDefine.globals, i = {}, j = g.prototype = new a("css"); 1761 j.constructor = g, g.version = "1.19.1", g.API = 2, g.defaultTransformPerspective = 0, g.defaultSkewType = "compensated", g.defaultSmoothOrigin = !0, j = "px", g.suffixMap = { 1762 top: j, 1763 right: j, 1764 bottom: j, 1765 left: j, 1766 width: j, 1767 height: j, 1768 fontSize: j, 1769 padding: j, 1770 margin: j, 1771 perspective: j, 1772 lineHeight: "" 1773 }; 1774 var k, l, m, n, o, p, q, r, s = /(?:\-|\.|\b)(\d|\.|e\-)+/g, t = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, u = /(?:\+=|\
vendor: 47,217 bytes, lines 1774-2174
1774-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, v = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, w = /(?:\d|\-|\+|=|#|\.)*/g, x = /opacity *= *([^)]*)/i, y = /opacity:([^;]*)/i, z = /alpha\(opacity *=.+?\)/i, A = /^(rgb|hsl)/, B = /([A-Z])/g, C = /-([a-z])/gi, D = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, E = function (a, b) { 1775 return b.toUpperCase() 1776 }, F = /(?:Left|Right|Width)/i, G = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, H = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i, I = /,(?=[^\)]*(?:\(|$))/gi, J = /[\s,\(]/i, K = Math.PI / 180, L = 180 / Math.PI, M = {}, N = {style: {}}, O = _gsScope.document || { 1777 createElement: function () { 1778 return N 1779 } 1780 }, P = function (a, b) { 1781 return O.createElementNS ? O.createElementNS(b || "http://www.w3.org/1999/xhtml", a) : O.createElement(a) 1782 }, Q = P("div"), R = P("img"), S = g._internals = {_specialProps: i}, T = (_gsScope.navigator || {}).userAgent || "", U = function () { 1783 var a = T.indexOf("Android"), b = P("a"); 1784 return m = -1 !== T.indexOf("Safari") && -1 === T.indexOf("Chrome") && (-1 === a || parseFloat(T.substr(a + 8, 2)) > 3), o = m && parseFloat(T.substr(T.indexOf("Version/") + 8, 2)) < 6, n = -1 !== T.indexOf("Firefox"), (/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(T) || /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(T)) && (p = parseFloat(RegExp.$1)), b ? (b.style.cssText = "top:1px;opacity:.55;", /^0.55/.test(b.style.opacity)) : !1 1785 }(), V = function (a) { 1786 return x.test("string" == typeof a ? a : (a.currentStyle ? a.currentStyle.filter : a.style.filter) || "") ? parseFloat(RegExp.$1) / 100 : 1 1787 }, W = function (a) { 1788 _gsScope.console && console.log(a) 1789 }, X = "", Y = "", Z = function (a, b) { 1790 b = b || Q; 1791 var c, d, e = b.style; 1792 if (void 0 !== e[a])return a; 1793 for (a = a.charAt(0).toUpperCase() + a.substr(1), c = ["O", "Moz", "ms", "Ms", "Webkit"], d = 5; --d > -1 && void 0 === e[c[d] + a];); 1794 return d >= 0 ? (Y = 3 === d ? "ms" : c[d], X = "-" + Y.toLowerCase() + "-", Y + a) : null 1795 }, $ = O.defaultView ? O.defaultView.getComputedStyle : function () { 1796 }, _ = g.getStyle = function (a, b, c, d, e) { 1797 var f; 1798 return U || "opacity" !== b ? (!d && a.style[b] ? f = a.style[b] : (c = c || $(a)) ? f = c[b] || c.getPropertyValue(b) || c.getPropertyValue(b.replace(B, "-$1").toLowerCase()) : a.currentStyle && (f = a.currentStyle[b]), null == e || f && "none" !== f && "auto" !== f && "auto auto" !== f ? f : e) : V(a) 1799 }, aa = S.convertToPixels = function (a, c, d, e, f) { 1800 if ("px" === e || !e)return d; 1801 if ("auto" === e || !d)return 0; 1802 var h, i, j, k = F.test(c), l = a, m = Q.style, n = 0 > d, o = 1 === d; 1803 if (n && (d = -d), o && (d *= 100), "%" === e && -1 !== c.indexOf("border")) h = d / 100 * (k ? a.clientWidth : a.clientHeight); else { 1804 if (m.cssText = "border:0 solid red;position:" + _(a, "position") + ";line-height:0;", "%" !== e && l.appendChild && "v" !== e.charAt(0) && "rem" !== e) m[k ? "borderLeftWidth" : "borderTopWidth"] = d + e; else { 1805 if (l = a.parentNode || O.body, i = l._gsCache, j = b.ticker.frame, i && k && i.time === j)return i.width * d / 100; 1806 m[k ? "width" : "height"] = d + e 1807 } 1808 l.appendChild(Q), h = parseFloat(Q[k ? "offsetWidth" : "offsetHeight"]), l.removeChild(Q), k && "%" === e && g.cacheWidths !== !1 && (i = l._gsCache = l._gsCache || {}, i.time = j, i.width = h / d * 100), 0 !== h || f || (h = aa(a, c, d, e, !0)) 1809 } 1810 return o && (h /= 100), n ? -h : h 1811 }, ba = S.calculateOffset = function (a, b, c) { 1812 if ("absolute" !== _(a, "position", c))return 0; 1813 var d = "left" === b ? "Left" : "Top", e = _(a, "margin" + d, c); 1814 return a["offset" + d] - (aa(a, b, parseFloat(e), e.replace(w, "")) || 0) 1815 }, ca = function (a, b) { 1816 var c, d, e, f = {}; 1817 if (b = b || $(a, null))if (c = b.length)for (; --c > -1;)e = b[c], (-1 === e.indexOf("-transform") || Da === e) && (f[e.replace(C, E)] = b.getPropertyValue(e)); else for (c in b)(-1 === c.indexOf("Transform") || Ca === c) && (f[c] = b[c]); else if (b = a.currentStyle || a.style)for (c in b)"string" == typeof c && void 0 === f[c] && (f[c.replace(C, E)] = b[c]); 1818 return U || (f.opacity = V(a)), d = Ra(a, b, !1), f.rotation = d.rotation, f.skewX = d.skewX, f.scaleX = d.scaleX, f.scaleY = d.scaleY, f.x = d.x, f.y = d.y, Fa && (f.z = d.z, f.rotationX = d.rotationX, f.rotationY = d.rotationY, f.scaleZ = d.scaleZ), f.filters && delete f.filters, f 1819 }, da = function (a, b, c, d, e) { 1820 var f, g, h, i = {}, j = a.style; 1821 for (g in c)"cssText" !== g && "length" !== g && isNaN(g) && (b[g] !== (f = c[g]) || e && e[g]) && -1 === g.indexOf("Origin") && ("number" == typeof f || "string" == typeof f) && (i[g] = "auto" !== f || "left" !== g && "top" !== g ? "" !== f && "auto" !== f && "none" !== f || "string" != typeof b[g] || "" === b[g].replace(v, "") ? f : 0 : ba(a, g), void 0 !== j[g] && (h = new sa(j, g, j[g], h))); 1822 if (d)for (g in d)"className" !== g && (i[g] = d[g]); 1823 return {difs: i, firstMPT: h} 1824 }, ea = { 1825 width: ["Left", "Right"], 1826 height: ["Top", "Bottom"] 1827 }, fa = ["marginLeft", "marginRight", "marginTop", "marginBottom"], ga = function (a, b, c) { 1828 if ("svg" === (a.nodeName + "").toLowerCase())return (c || $(a))[b] || 0; 1829 if (a.getCTM && Oa(a))return a.getBBox()[b] || 0; 1830 var d = parseFloat("width" === b ? a.offsetWidth : a.offsetHeight), e = ea[b], f = e.length; 1831 for (c = c || $(a, null); --f > -1;)d -= parseFloat(_(a, "padding" + e[f], c, !0)) || 0, d -= parseFloat(_(a, "border" + e[f] + "Width", c, !0)) || 0; 1832 return d 1833 }, ha = function (a, b) { 1834 if ("contain" === a || "auto" === a || "auto auto" === a)return a + " "; 1835 (null == a || "" === a) && (a = "0 0"); 1836 var c, d = a.split(" "), e = -1 !== a.indexOf("left") ? "0%" : -1 !== a.indexOf("right") ? "100%" : d[0], f = -1 !== a.indexOf("top") ? "0%" : -1 !== a.indexOf("bottom") ? "100%" : d[1]; 1837 if (d.length > 3 && !b) { 1838 for (d = a.split(", ").join(",").split(","), a = [], c = 0; c < d.length; c++)a.push(ha(d[c])); 1839 return a.join(",") 1840 } 1841 return null == f ? f = "center" === e ? "50%" : "0" : "center" === f && (f = "50%"), ("center" === e || isNaN(parseFloat(e)) && -1 === (e + "").indexOf("=")) && (e = "50%"), a = e + " " + f + (d.length > 2 ? " " + d[2] : ""), b && (b.oxp = -1 !== e.indexOf("%"), b.oyp = -1 !== f.indexOf("%"), b.oxr = "=" === e.charAt(1), b.oyr = "=" === f.charAt(1), b.ox = parseFloat(e.replace(v, "")), b.oy = parseFloat(f.replace(v, "")), b.v = a), b || a 1842 }, ia = function (a, b) { 1843 return "function" == typeof a && (a = a(r, q)), "string" == typeof a && "=" === a.charAt(1) ? parseInt(a.charAt(0) + "1", 10) * parseFloat(a.substr(2)) : parseFloat(a) - parseFloat(b) || 0 1844 }, ja = function (a, b) { 1845 return "function" == typeof a && (a = a(r, q)), null == a ? b : "string" == typeof a && "=" === a.charAt(1) ? parseInt(a.charAt(0) + "1", 10) * parseFloat(a.substr(2)) + b : parseFloat(a) || 0 1846 }, ka = function (a, b, c, d) { 1847 var e, f, g, h, i, j = 1e-6; 1848 return "function" == typeof a && (a = a(r, q)), null == a ? h = b : "number" == typeof a ? h = a : (e = 360, f = a.split("_"), i = "=" === a.charAt(1), g = (i ? parseInt(a.charAt(0) + "1", 10) * parseFloat(f[0].substr(2)) : parseFloat(f[0])) * (-1 === a.indexOf("rad") ? 1 : L) - (i ? 0 : b), f.length && (d && (d[c] = b + g), -1 !== a.indexOf("short") && (g %= e, g !== g % (e / 2) && (g = 0 > g ? g + e : g - e)), -1 !== a.indexOf("_cw") && 0 > g ? g = (g + 9999999999 * e) % e - (g / e | 0) * e : -1 !== a.indexOf("ccw") && g > 0 && (g = (g - 9999999999 * e) % e - (g / e | 0) * e)), h = b + g), j > h && h > -j && (h = 0), h 1849 }, la = { 1850 aqua: [0, 255, 255], 1851 lime: [0, 255, 0], 1852 silver: [192, 192, 192], 1853 black: [0, 0, 0], 1854 maroon: [128, 0, 0], 1855 teal: [0, 128, 128], 1856 blue: [0, 0, 255], 1857 navy: [0, 0, 128], 1858 white: [255, 255, 255], 1859 fuchsia: [255, 0, 255], 1860 olive: [128, 128, 0], 1861 yellow: [255, 255, 0], 1862 orange: [255, 165, 0], 1863 gray: [128, 128, 128], 1864 purple: [128, 0, 128], 1865 green: [0, 128, 0], 1866 red: [255, 0, 0], 1867 pink: [255, 192, 203], 1868 cyan: [0, 255, 255], 1869 transparent: [255, 255, 255, 0] 1870 }, ma = function (a, b, c) { 1871 return a = 0 > a ? a + 1 : a > 1 ? a - 1 : a, 255 * (1 > 6 * a ? b + (c - b) * a * 6 : .5 > a ? c : 2 > 3 * a ? b + (c - b) * (2 / 3 - a) * 6 : b) + .5 | 0 1872 }, na = g.parseColor = function (a, b) { 1873 var c, d, e, f, g, h, i, j, k, l, m; 1874 if (a)if ("number" == typeof a) c = [a >> 16, a >> 8 & 255, 255 & a]; else { 1875 if ("," === a.charAt(a.length - 1) && (a = a.substr(0, a.length - 1)), la[a]) c = la[a]; else if ("#" === a.charAt(0)) 4 === a.length && (d = a.charAt(1), e = a.charAt(2), f = a.charAt(3), a = "#" + d + d + e + e + f + f), a = parseInt(a.substr(1), 16), c = [a >> 16, a >> 8 & 255, 255 & a]; else if ("hsl" === a.substr(0, 3))if (c = m = a.match(s), b) { 1876 if (-1 !== a.indexOf("="))return a.match(t) 1877 } else g = Number(c[0]) % 360 / 360, h = Number(c[1]) / 100, i = Number(c[2]) / 100, e = .5 >= i ? i * (h + 1) : i + h - i * h, d = 2 * i - e, c.length > 3 && (c[3] = Number(a[3])), c[0] = ma(g + 1 / 3, d, e), c[1] = ma(g, d, e), c[2] = ma(g - 1 / 3, d, e); else c = a.match(s) || la.transparent; 1878 c[0] = Number(c[0]), c[1] = Number(c[1]), c[2] = Number(c[2]), c.length > 3 && (c[3] = Number(c[3])) 1879 } else c = la.black; 1880 return b && !m && (d = c[0] / 255, e = c[1] / 255, f = c[2] / 255, j = Math.max(d, e, f), k = Math.min(d, e, f), i = (j + k) / 2, j === k ? g = h = 0 : (l = j - k, h = i > .5 ? l / (2 - j - k) : l / (j + k), g = j === d ? (e - f) / l + (f > e ? 6 : 0) : j === e ? (f - d) / l + 2 : (d - e) / l + 4, g *= 60), c[0] = g + .5 | 0, c[1] = 100 * h + .5 | 0, c[2] = 100 * i + .5 | 0), c 1881 }, oa = function (a, b) { 1882 var c, d, e, f = a.match(pa) || [], g = 0, h = f.length ? "" : a; 1883 for (c = 0; c < f.length; c++)d = f[c], e = a.substr(g, a.indexOf(d, g) - g), g += e.length + d.length, d = na(d, b), 3 === d.length && d.push(1), h += e + (b ? "hsla(" + d[0] + "," + d[1] + "%," + d[2] + "%," + d[3] : "rgba(" + d.join(",")) + ")"; 1884 return h + a.substr(g) 1885 }, pa = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b"; 1886 for (j in la)pa += "|" + j + "\\b"; 1887 pa = new RegExp(pa + ")", "gi"), g.colorStringFilter = function (a) { 1888 var b, c = a[0] + a[1]; 1889 pa.test(c) && (b = -1 !== c.indexOf("hsl(") || -1 !== c.indexOf("hsla("), a[0] = oa(a[0], b), a[1] = oa(a[1], b)), pa.lastIndex = 0 1890 }, b.defaultStringFilter || (b.defaultStringFilter = g.colorStringFilter); 1891 var qa = function (a, b, c, d) { 1892 if (null == a)return function (a) { 1893 return a 1894 }; 1895 var e, f = b ? (a.match(pa) || [""])[0] : "", g = a.split(f).join("").match(u) || [], h = a.substr(0, a.indexOf(g[0])), i = ")" === a.charAt(a.length - 1) ? ")" : "", j = -1 !== a.indexOf(" ") ? " " : ",", k = g.length, l = k > 0 ? g[0].replace(s, "") : ""; 1896 return k ? e = b ? function (a) { 1897 var b, m, n, o; 1898 if ("number" == typeof a) a += l; else if (d && I.test(a)) { 1899 for (o = a.replace(I, "|").split("|"), n = 0; n < o.length; n++)o[n] = e(o[n]); 1900 return o.join(",") 1901 } 1902 if (b = (a.match(pa) || [f])[0], m = a.split(b).join("").match(u) || [], n = m.length, k > n--)for (; ++n < k;)m[n] = c ? m[(n - 1) / 2 | 0] : g[n]; 1903 return h + m.join(j) + j + b + i + (-1 !== a.indexOf("inset") ? " inset" : "") 1904 } : function (a) { 1905 var b, f, m; 1906 if ("number" == typeof a) a += l; else if (d && I.test(a)) { 1907 for (f = a.replace(I, "|").split("|"), m = 0; m < f.length; m++)f[m] = e(f[m]); 1908 return f.join(",") 1909 } 1910 if (b = a.match(u) || [], m = b.length, k > m--)for (; ++m < k;)b[m] = c ? b[(m - 1) / 2 | 0] : g[m]; 1911 return h + b.join(j) + i 1912 } : function (a) { 1913 return a 1914 } 1915 }, ra = function (a) { 1916 return a = a.split(","), function (b, c, d, e, f, g, h) { 1917 var i, j = (c + "").split(" "); 1918 for (h = {}, i = 0; 4 > i; i++)h[a[i]] = j[i] = j[i] || j[(i - 1) / 2 >> 0]; 1919 return e.parse(b, h, f, g) 1920 } 1921 }, sa = (S._setPluginRatio = function (a) { 1922 this.plugin.setRatio(a); 1923 for (var b, c, d, e, f, g = this.data, h = g.proxy, i = g.firstMPT, j = 1e-6; i;)b = h[i.v], i.r ? b = Math.round(b) : j > b && b > -j && (b = 0), i.t[i.p] = b, i = i._next; 1924 if (g.autoRotate && (g.autoRotate.rotation = g.mod ? g.mod(h.rotation, this.t) : h.rotation), 1 === a || 0 === a)for (i = g.firstMPT, f = 1 === a ? "e" : "b"; i;) { 1925 if (c = i.t, c.type) { 1926 if (1 === c.type) { 1927 for (e = c.xs0 + c.s + c.xs1, d = 1; d < c.l; d++)e += c["xn" + d] + c["xs" + (d + 1)]; 1928 c[f] = e 1929 } 1930 } else c[f] = c.s + c.xs0; 1931 i = i._next 1932 } 1933 }, function (a, b, c, d, e) { 1934 this.t = a, this.p = b, this.v = c, this.r = e, d && (d._prev = this, this._next = d) 1935 }), ta = (S._parseToProxy = function (a, b, c, d, e, f) { 1936 var g, h, i, j, k, l = d, m = {}, n = {}, o = c._transform, p = M; 1937 for (c._transform = null, M = b, d = k = c.parse(a, b, d, e), M = p, f && (c._transform = o, l && (l._prev = null, l._prev && (l._prev._next = null))); d && d !== l;) { 1938 if (d.type <= 1 && (h = d.p, n[h] = d.s + d.c, m[h] = d.s, f || (j = new sa(d, "s", h, j, d.r), d.c = 0), 1 === d.type))for (g = d.l; --g > 0;)i = "xn" + g, h = d.p + "_" + i, n[h] = d.data[i], m[h] = d[i], f || (j = new sa(d, i, h, j, d.rxp[i])); 1939 d = d._next 1940 } 1941 return {proxy: m, end: n, firstMPT: j, pt: k} 1942 }, S.CSSPropTween = function (a, b, d, e, g, h, i, j, k, l, m) { 1943 this.t = a, this.p = b, this.s = d, this.c = e, this.n = i || b, a instanceof ta || f.push(this.n), this.r = j, this.type = h || 0, k && (this.pr = k, c = !0), this.b = void 0 === l ? d : l, this.e = void 0 === m ? d + e : m, g && (this._next = g, g._prev = this) 1944 }), ua = function (a, b, c, d, e, f) { 1945 var g = new ta(a, b, c, d - c, e, -1, f); 1946 return g.b = c, g.e = g.xs0 = d, g 1947 }, va = g.parseComplex = function (a, b, c, d, e, f, h, i, j, l) { 1948 c = c || f || "", "function" == typeof d && (d = d(r, q)), h = new ta(a, b, 0, 0, h, l ? 2 : 1, null, !1, i, c, d), d += "", e && pa.test(d + c) && (d = [c, d], g.colorStringFilter(d), c = d[0], d = d[1]); 1949 var m, n, o, p, u, v, w, x, y, z, A, B, C, D = c.split(", ").join(",").split(" "), E = d.split(", ").join(",").split(" "), F = D.length, G = k !== !1; 1950 for ((-1 !== d.indexOf(",") || -1 !== c.indexOf(",")) && (D = D.join(" ").replace(I, ", ").split(" "), E = E.join(" ").replace(I, ", ").split(" "), F = D.length), F !== E.length && (D = (f || "").split(" "), F = D.length), h.plugin = j, h.setRatio = l, pa.lastIndex = 0, m = 0; F > m; m++)if (p = D[m], u = E[m], x = parseFloat(p), x || 0 === x) h.appendXtra("", x, ia(u, x), u.replace(t, ""), G && -1 !== u.indexOf("px"), !0); else if (e && pa.test(p)) B = u.indexOf(")") + 1, B = ")" + (B ? u.substr(B) : ""), C = -1 !== u.indexOf("hsl") && U, p = na(p, C), u = na(u, C), y = p.length + u.length > 6, y && !U && 0 === u[3] ? (h["xs" + h.l] += h.l ? " transparent" : "transparent", h.e = h.e.split(E[m]).join("transparent")) : (U || (y = !1), C ? h.appendXtra(y ? "hsla(" : "hsl(", p[0], ia(u[0], p[0]), ",", !1, !0).appendXtra("", p[1], ia(u[1], p[1]), "%,", !1).appendXtra("", p[2], ia(u[2], p[2]), y ? "%," : "%" + B, !1) : h.appendXtra(y ? "rgba(" : "rgb(", p[0], u[0] - p[0], ",", !0, !0).appendXtra("", p[1], u[1] - p[1], ",", !0).appendXtra("", p[2], u[2] - p[2], y ? "," : B, !0), y && (p = p.length < 4 ? 1 : p[3], h.appendXtra("", p, (u.length < 4 ? 1 : u[3]) - p, B, !1))), pa.lastIndex = 0; else if (v = p.match(s)) { 1951 if (w = u.match(t), !w || w.length !== v.length)return h; 1952 for (o = 0, n = 0; n < v.length; n++)A = v[n], z = p.indexOf(A, o), h.appendXtra(p.substr(o, z - o), Number(A), ia(w[n], A), "", G && "px" === p.substr(z + A.length, 2), 0 === n), o = z + A.length; 1953 h["xs" + h.l] += p.substr(o) 1954 } else h["xs" + h.l] += h.l || h["xs" + h.l] ? " " + u : u; 1955 if (-1 !== d.indexOf("=") && h.data) { 1956 for (B = h.xs0 + h.data.s, m = 1; m < h.l; m++)B += h["xs" + m] + h.data["xn" + m]; 1957 h.e = B + h["xs" + m] 1958 } 1959 return h.l || (h.type = -1, h.xs0 = h.e), h.xfirst || h 1960 }, wa = 9; 1961 for (j = ta.prototype, j.l = j.pr = 0; --wa > 0;)j["xn" + wa] = 0, j["xs" + wa] = ""; 1962 j.xs0 = "", j._next = j._prev = j.xfirst = j.data = j.plugin = j.setRatio = j.rxp = null, j.appendXtra = function (a, b, c, d, e, f) { 1963 var g = this, h = g.l; 1964 return g["xs" + h] += f && (h || g["xs" + h]) ? " " + a : a || "", c || 0 === h || g.plugin ? (g.l++, g.type = g.setRatio ? 2 : 1, g["xs" + g.l] = d || "", h > 0 ? (g.data["xn" + h] = b + c, g.rxp["xn" + h] = e, g["xn" + h] = b, g.plugin || (g.xfirst = new ta(g, "xn" + h, b, c, g.xfirst || g, 0, g.n, e, g.pr), g.xfirst.xs0 = 0), g) : (g.data = {s: b + c}, g.rxp = {}, g.s = b, g.c = c, g.r = e, g)) : (g["xs" + h] += b + (d || ""), g) 1965 }; 1966 var xa = function (a, b) { 1967 b = b || {}, this.p = b.prefix ? Z(a) || a : a, i[a] = i[this.p] = this, this.format = b.formatter || qa(b.defaultValue, b.color, b.collapsible, b.multi), b.parser && (this.parse = b.parser), this.clrs = b.color, this.multi = b.multi, this.keyword = b.keyword, this.dflt = b.defaultValue, this.pr = b.priority || 0 1968 }, ya = S._registerComplexSpecialProp = function (a, b, c) { 1969 "object" != typeof b && (b = {parser: c}); 1970 var d, e, f = a.split(","), g = b.defaultValue; 1971 for (c = c || [g], d = 0; d < f.length; d++)b.prefix = 0 === d && b.prefix, b.defaultValue = c[d] || g, e = new xa(f[d], b) 1972 }, za = S._registerPluginProp = function (a) { 1973 if (!i[a]) { 1974 var b = a.charAt(0).toUpperCase() + a.substr(1) + "Plugin"; 1975 ya(a, { 1976 parser: function (a, c, d, e, f, g, j) { 1977 var k = h.com.greensock.plugins[b]; 1978 return k ? (k._cssRegister(), i[d].parse(a, c, d, e, f, g, j)) : (W("Error: " + b + " js file not loaded."), f) 1979 } 1980 }) 1981 } 1982 }; 1983 j = xa.prototype, j.parseComplex = function (a, b, c, d, e, f) { 1984 var g, h, i, j, k, l, m = this.keyword; 1985 if (this.multi && (I.test(c) || I.test(b) ? (h = b.replace(I, "|").split("|"), i = c.replace(I, "|").split("|")) : m && (h = [b], i = [c])), i) { 1986 for (j = i.length > h.length ? i.length : h.length, g = 0; j > g; g++)b = h[g] = h[g] || this.dflt, c = i[g] = i[g] || this.dflt, m && (k = b.indexOf(m), l = c.indexOf(m), k !== l && (-1 === l ? h[g] = h[g].split(m).join("") : -1 === k && (h[g] += " " + m))); 1987 b = h.join(", "), c = i.join(", ") 1988 } 1989 return va(a, this.p, b, c, this.clrs, this.dflt, d, this.pr, e, f) 1990 }, j.parse = function (a, b, c, d, f, g, h) { 1991 return this.parseComplex(a.style, this.format(_(a, this.p, e, !1, this.dflt)), this.format(b), f, g) 1992 }, g.registerSpecialProp = function (a, b, c) { 1993 ya(a, { 1994 parser: function (a, d, e, f, g, h, i) { 1995 var j = new ta(a, e, 0, 0, g, 2, e, !1, c); 1996 return j.plugin = h, j.setRatio = b(a, d, f._tween, e), j 1997 }, priority: c 1998 }) 1999 }, g.useSVGTransformAttr = !0; 2000 var Aa, Ba = "scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","), Ca = Z("transform"), Da = X + "transform", Ea = Z("transformOrigin"), Fa = null !== Z("perspective"), Ga = S.Transform = function () { 2001 this.perspective = parseFloat(g.defaultTransformPerspective) || 0, this.force3D = g.defaultForce3D !== !1 && Fa ? g.defaultForce3D || "auto" : !1 2002 }, Ha = _gsScope.SVGElement, Ia = function (a, b, c) { 2003 var d, e = O.createElementNS("http://www.w3.org/2000/svg", a), f = /([a-z])([A-Z])/g; 2004 for (d in c)e.setAttributeNS(null, d.replace(f, "$1-$2").toLowerCase(), c[d]); 2005 return b.appendChild(e), e 2006 }, Ja = O.documentElement || {}, Ka = function () { 2007 var a, b, c, d = p || /Android/i.test(T) && !_gsScope.chrome; 2008 return O.createElementNS && !d && (a = Ia("svg", Ja), b = Ia("rect", a, { 2009 width: 100, 2010 height: 50, 2011 x: 100 2012 }), c = b.getBoundingClientRect().width, b.style[Ea] = "50% 50%", b.style[Ca] = "scaleX(0.5)", d = c === b.getBoundingClientRect().width && !(n && Fa), Ja.removeChild(a)), d 2013 }(), La = function (a, b, c, d, e, f) { 2014 var h, i, j, k, l, m, n, o, p, q, r, s, t, u, v = a._gsTransform, w = Qa(a, !0); 2015 v && (t = v.xOrigin, u = v.yOrigin), (!d || (h = d.split(" ")).length < 2) && (n = a.getBBox(), 0 === n.x && 0 === n.y && n.width + n.height === 0 && (n = { 2016 x: parseFloat(a.hasAttribute("x") ? a.getAttribute("x") : a.hasAttribute("cx") ? a.getAttribute("cx") : 0) || 0, 2017 y: parseFloat(a.hasAttribute("y") ? a.getAttribute("y") : a.hasAttribute("cy") ? a.getAttribute("cy") : 0) || 0, 2018 width: 0, 2019 height: 0 2020 }), b = ha(b).split(" "), h = [(-1 !== b[0].indexOf("%") ? parseFloat(b[0]) / 100 * n.width : parseFloat(b[0])) + n.x, (-1 !== b[1].indexOf("%") ? parseFloat(b[1]) / 100 * n.height : parseFloat(b[1])) + n.y]), c.xOrigin = k = parseFloat(h[0]), c.yOrigin = l = parseFloat(h[1]), d && w !== Pa && (m = w[0], n = w[1], o = w[2], p = w[3], q = w[4], r = w[5], s = m * p - n * o, s && (i = k * (p / s) + l * (-o / s) + (o * r - p * q) / s, j = k * (-n / s) + l * (m / s) - (m * r - n * q) / s, k = c.xOrigin = h[0] = i, l = c.yOrigin = h[1] = j)), v && (f && (c.xOffset = v.xOffset, c.yOffset = v.yOffset, v = c), e || e !== !1 && g.defaultSmoothOrigin !== !1 ? (i = k - t, j = l - u, v.xOffset += i * w[0] + j * w[2] - i, v.yOffset += i * w[1] + j * w[3] - j) : v.xOffset = v.yOffset = 0), f || a.setAttribute("data-svg-origin", h.join(" ")) 2021 }, Ma = function (a) { 2022 var b, c = P("svg", this.ownerSVGElement.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), d = this.parentNode, e = this.nextSibling, f = this.style.cssText; 2023 if (Ja.appendChild(c), c.appendChild(this), this.style.display = "block", a)try { 2024 b = this.getBBox(), this._originalGetBBox = this.getBBox, this.getBBox = Ma 2025 } catch (g) { 2026 } else this._originalGetBBox && (b = this._originalGetBBox()); 2027 return e ? d.insertBefore(this, e) : d.appendChild(this), Ja.removeChild(c), this.style.cssText = f, b 2028 }, Na = function (a) { 2029 try { 2030 return a.getBBox() 2031 } catch (b) { 2032 return Ma.call(a, !0) 2033 } 2034 }, Oa = function (a) { 2035 return !(!(Ha && a.getCTM && Na(a)) || a.parentNode && !a.ownerSVGElement) 2036 }, Pa = [1, 0, 0, 1, 0, 0], Qa = function (a, b) { 2037 var c, d, e, f, g, h, i = a._gsTransform || new Ga, j = 1e5, k = a.style; 2038 if (Ca ? d = _(a, Da, null, !0) : a.currentStyle && (d = a.currentStyle.filter.match(G), d = d && 4 === d.length ? [d[0].substr(4), Number(d[2].substr(4)), Number(d[1].substr(4)), d[3].substr(4), i.x || 0, i.y || 0].join(",") : ""), c = !d || "none" === d || "matrix(1, 0, 0, 1, 0, 0)" === d, c && Ca && ((h = "none" === $(a).display) || !a.parentNode) && (h && (f = k.display, k.display = "block"), a.parentNode || (g = 1, Ja.appendChild(a)), d = _(a, Da, null, !0), c = !d || "none" === d || "matrix(1, 0, 0, 1, 0, 0)" === d, f ? k.display = f : h && Va(k, "display"), g && Ja.removeChild(a)), (i.svg || a.getCTM && Oa(a)) && (c && -1 !== (k[Ca] + "").indexOf("matrix") && (d = k[Ca], c = 0), e = a.getAttribute("transform"), c && e && (-1 !== e.indexOf("matrix") ? (d = e, c = 0) : -1 !== e.indexOf("translate") && (d = "matrix(1,0,0,1," + e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",") + ")", c = 0))), c)return Pa; 2039 for (e = (d || "").match(s) || [], wa = e.length; --wa > -1;)f = Number(e[wa]), e[wa] = (g = f - (f |= 0)) ? (g * j + (0 > g ? -.5 : .5) | 0) / j + f : f; 2040 return b && e.length > 6 ? [e[0], e[1], e[4], e[5], e[12], e[13]] : e 2041 }, Ra = S.getTransform = function (a, c, d, e) { 2042 if (a._gsTransform && d && !e)return a._gsTransform; 2043 var f, h, i, j, k, l, m = d ? a._gsTransform || new Ga : new Ga, n = m.scaleX < 0, o = 2e-5, p = 1e5, q = Fa ? parseFloat(_(a, Ea, c, !1, "0 0 0").split(" ")[2]) || m.zOrigin || 0 : 0, r = parseFloat(g.defaultTransformPerspective) || 0; 2044 if (m.svg = !(!a.getCTM || !Oa(a)), m.svg && (La(a, _(a, Ea, c, !1, "50% 50%") + "", m, a.getAttribute("data-svg-origin")), Aa = g.useSVGTransformAttr || Ka), f = Qa(a), f !== Pa) { 2045 if (16 === f.length) { 2046 var s, t, u, v, w, x = f[0], y = f[1], z = f[2], A = f[3], B = f[4], C = f[5], D = f[6], E = f[7], F = f[8], G = f[9], H = f[10], I = f[12], J = f[13], K = f[14], M = f[11], N = Math.atan2(D, H); 2047 m.zOrigin && (K = -m.zOrigin, I = F * K - f[12], J = G * K - f[13], K = H * K + m.zOrigin - f[14]), m.rotationX = N * L, N && (v = Math.cos(-N), w = Math.sin(-N), s = B * v + F * w, t = C * v + G * w, u = D * v + H * w, F = B * -w + F * v, G = C * -w + G * v, H = D * -w + H * v, M = E * -w + M * v, B = s, C = t, D = u), N = Math.atan2(-z, H), m.rotationY = N * L, N && (v = Math.cos(-N), w = Math.sin(-N), s = x * v - F * w, t = y * v - G * w, u = z * v - H * w, G = y * w + G * v, H = z * w + H * v, M = A * w + M * v, x = s, y = t, z = u), N = Math.atan2(y, x), m.rotation = N * L, N && (v = Math.cos(-N), w = Math.sin(-N), x = x * v + B * w, t = y * v + C * w, C = y * -w + C * v, D = z * -w + D * v, y = t), m.rotationX && Math.abs(m.rotationX) + Math.abs(m.rotation) > 359.9 && (m.rotationX = m.rotation = 0, m.rotationY = 180 - m.rotationY), m.scaleX = (Math.sqrt(x * x + y * y) * p + .5 | 0) / p, m.scaleY = (Math.sqrt(C * C + G * G) * p + .5 | 0) / p, m.scaleZ = (Math.sqrt(D * D + H * H) * p + .5 | 0) / p, m.rotationX || m.rotationY ? m.skewX = 0 : (m.skewX = B || C ? Math.atan2(B, C) * L + m.rotation : m.skewX || 0, Math.abs(m.skewX) > 90 && Math.abs(m.skewX) < 270 && (n ? (m.scaleX *= -1, m.skewX += m.rotation <= 0 ? 180 : -180, m.rotation += m.rotation <= 0 ? 180 : -180) : (m.scaleY *= -1, m.skewX += m.skewX <= 0 ? 180 : -180))), m.perspective = M ? 1 / (0 > M ? -M : M) : 0, m.x = I, m.y = J, m.z = K, m.svg && (m.x -= m.xOrigin - (m.xOrigin * x - m.yOrigin * B), m.y -= m.yOrigin - (m.yOrigin * y - m.xOrigin * C)) 2048 } else if (!Fa || e || !f.length || m.x !== f[4] || m.y !== f[5] || !m.rotationX && !m.rotationY) { 2049 var O = f.length >= 6, P = O ? f[0] : 1, Q = f[1] || 0, R = f[2] || 0, S = O ? f[3] : 1; 2050 m.x = f[4] || 0, m.y = f[5] || 0, i = Math.sqrt(P * P + Q * Q), j = Math.sqrt(S * S + R * R), k = P || Q ? Math.atan2(Q, P) * L : m.rotation || 0, l = R || S ? Math.atan2(R, S) * L + k : m.skewX || 0, Math.abs(l) > 90 && Math.abs(l) < 270 && (n ? (i *= -1, l += 0 >= k ? 180 : -180, k += 0 >= k ? 180 : -180) : (j *= -1, l += 0 >= l ? 180 : -180)), m.scaleX = i, m.scaleY = j, m.rotation = k, m.skewX = l, Fa && (m.rotationX = m.rotationY = m.z = 0, m.perspective = r, m.scaleZ = 1), m.svg && (m.x -= m.xOrigin - (m.xOrigin * P + m.yOrigin * R), m.y -= m.yOrigin - (m.xOrigin * Q + m.yOrigin * S)) 2051 } 2052 m.zOrigin = q; 2053 for (h in m)m[h] < o && m[h] > -o && (m[h] = 0) 2054 } 2055 return d && (a._gsTransform = m, m.svg && (Aa && a.style[Ca] ? b.delayedCall(.001, function () { 2056 Va(a.style, Ca) 2057 }) : !Aa && a.getAttribute("transform") && b.delayedCall(.001, function () { 2058 a.removeAttribute("transform") 2059 }))), m 2060 }, Sa = function (a) { 2061 var b, c, d = this.data, e = -d.rotation * K, f = e + d.skewX * K, g = 1e5, h = (Math.cos(e) * d.scaleX * g | 0) / g, i = (Math.sin(e) * d.scaleX * g | 0) / g, j = (Math.sin(f) * -d.scaleY * g | 0) / g, k = (Math.cos(f) * d.scaleY * g | 0) / g, l = this.t.style, m = this.t.currentStyle; 2062 if (m) { 2063 c = i, i = -j, j = -c, b = m.filter, l.filter = ""; 2064 var n, o, q = this.t.offsetWidth, r = this.t.offsetHeight, s = "absolute" !== m.position, t = "progid:DXImageTransform.Microsoft.Matrix(M11=" + h + ", M12=" + i + ", M21=" + j + ", M22=" + k, u = d.x + q * d.xPercent / 100, v = d.y + r * d.yPercent / 100; 2065 if (null != d.ox && (n = (d.oxp ? q * d.ox * .01 : d.ox) - q / 2, o = (d.oyp ? r * d.oy * .01 : d.oy) - r / 2, u += n - (n * h + o * i), v += o - (n * j + o * k)), s ? (n = q / 2, o = r / 2, t += ", Dx=" + (n - (n * h + o * i) + u) + ", Dy=" + (o - (n * j + o * k) + v) + ")") : t += ", sizingMethod='auto expand')", -1 !== b.indexOf("DXImageTransform.Microsoft.Matrix(") ? l.filter = b.replace(H, t) : l.filter = t + " " + b, (0 === a || 1 === a) && 1 === h && 0 === i && 0 === j && 1 === k && (s && -1 === t.indexOf("Dx=0, Dy=0") || x.test(b) && 100 !== parseFloat(RegExp.$1) || -1 === b.indexOf(b.indexOf("Alpha")) && l.removeAttribute("filter")), !s) { 2066 var y, z, A, B = 8 > p ? 1 : -1; 2067 for (n = d.ieOffsetX || 0, o = d.ieOffsetY || 0, d.ieOffsetX = Math.round((q - ((0 > h ? -h : h) * q + (0 > i ? -i : i) * r)) / 2 + u), d.ieOffsetY = Math.round((r - ((0 > k ? -k : k) * r + (0 > j ? -j : j) * q)) / 2 + v), wa = 0; 4 > wa; wa++)z = fa[wa], y = m[z], c = -1 !== y.indexOf("px") ? parseFloat(y) : aa(this.t, z, parseFloat(y), y.replace(w, "")) || 0, A = c !== d[z] ? 2 > wa ? -d.ieOffsetX : -d.ieOffsetY : 2 > wa ? n - d.ieOffsetX : o - d.ieOffsetY, l[z] = (d[z] = Math.round(c - A * (0 === wa || 2 === wa ? 1 : B))) + "px" 2068 } 2069 } 2070 }, Ta = S.set3DTransformRatio = S.setTransformRatio = function (a) { 2071 var b, c, d, e, f, g, h, i, j, k, l, m, o, p, q, r, s, t, u, v, w, x, y, z = this.data, A = this.t.style, B = z.rotation, C = z.rotationX, D = z.rotationY, E = z.scaleX, F = z.scaleY, G = z.scaleZ, H = z.x, I = z.y, J = z.z, L = z.svg, M = z.perspective, N = z.force3D, O = z.skewY, P = z.skewX; 2072 if (O && (P += O, B += O), ((1 === a || 0 === a) && "auto" === N && (this.tween._totalTime === this.tween._totalDuration || !this.tween._totalTime) || !N) && !J && !M && !D && !C && 1 === G || Aa && L || !Fa)return void(B || P || L ? (B *= K, x = P * K, y = 1e5, c = Math.cos(B) * E, f = Math.sin(B) * E, d = Math.sin(B - x) * -F, g = Math.cos(B - x) * F, x && "simple" === z.skewType && (b = Math.tan(x - O * K), b = Math.sqrt(1 + b * b), d *= b, g *= b, O && (b = Math.tan(O * K), b = Math.sqrt(1 + b * b), c *= b, f *= b)), L && (H += z.xOrigin - (z.xOrigin * c + z.yOrigin * d) + z.xOffset, I += z.yOrigin - (z.xOrigin * f + z.yOrigin * g) + z.yOffset, Aa && (z.xPercent || z.yPercent) && (q = this.t.getBBox(), H += .01 * z.xPercent * q.width, I += .01 * z.yPercent * q.height), q = 1e-6, q > H && H > -q && (H = 0), q > I && I > -q && (I = 0)), u = (c * y | 0) / y + "," + (f * y | 0) / y + "," + (d * y | 0) / y + "," + (g * y | 0) / y + "," + H + "," + I + ")", L && Aa ? this.t.setAttribute("transform", "matrix(" + u) : A[Ca] = (z.xPercent || z.yPercent ? "translate(" + z.xPercent + "%," + z.yPercent + "%) matrix(" : "matrix(") + u) : A[Ca] = (z.xPercent || z.yPercent ? "translate(" + z.xPercent + "%," + z.yPercent + "%) matrix(" : "matrix(") + E + ",0,0," + F + "," + H + "," + I + ")"); 2073 if (n && (q = 1e-4, q > E && E > -q && (E = G = 2e-5), q > F && F > -q && (F = G = 2e-5), !M || z.z || z.rotationX || z.rotationY || (M = 0)), B || P) B *= K, r = c = Math.cos(B), s = f = Math.sin(B), P && (B -= P * K, r = Math.cos(B), s = Math.sin(B), "simple" === z.skewType && (b = Math.tan((P - O) * K), b = Math.sqrt(1 + b * b), r *= b, s *= b, z.skewY && (b = Math.tan(O * K), b = Math.sqrt(1 + b * b), c *= b, f *= b))), d = -s, g = r; else { 2074 if (!(D || C || 1 !== G || M || L))return void(A[Ca] = (z.xPercent || z.yPercent ? "translate(" + z.xPercent + "%," + z.yPercent + "%) translate3d(" : "translate3d(") + H + "px," + I + "px," + J + "px)" + (1 !== E || 1 !== F ? " scale(" + E + "," + F + ")" : "")); 2075 c = g = 1, d = f = 0 2076 } 2077 k = 1, e = h = i = j = l = m = 0, o = M ? -1 / M : 0, p = z.zOrigin, q = 1e-6, v = ",", w = "0", B = D * K, B && (r = Math.cos(B), s = Math.sin(B), i = -s, l = o * -s, e = c * s, h = f * s, k = r, o *= r, c *= r, f *= r), B = C * K, B && (r = Math.cos(B), s = Math.sin(B), b = d * r + e * s, t = g * r + h * s, j = k * s, m = o * s, e = d * -s + e * r, h = g * -s + h * r, k *= r, o *= r, d = b, g = t), 1 !== G && (e *= G, h *= G, k *= G, o *= G), 1 !== F && (d *= F, g *= F, j *= F, m *= F), 1 !== E && (c *= E, f *= E, i *= E, l *= E), (p || L) && (p && (H += e * -p, I += h * -p, J += k * -p + p), L && (H += z.xOrigin - (z.xOrigin * c + z.yOrigin * d) + z.xOffset, I += z.yOrigin - (z.xOrigin * f + z.yOrigin * g) + z.yOffset), q > H && H > -q && (H = w), q > I && I > -q && (I = w), q > J && J > -q && (J = 0)), u = z.xPercent || z.yPercent ? "translate(" + z.xPercent + "%," + z.yPercent + "%) matrix3d(" : "matrix3d(", u += (q > c && c > -q ? w : c) + v + (q > f && f > -q ? w : f) + v + (q > i && i > -q ? w : i), u += v + (q > l && l > -q ? w : l) + v + (q > d && d > -q ? w : d) + v + (q > g && g > -q ? w : g), C || D || 1 !== G ? (u += v + (q > j && j > -q ? w : j) + v + (q > m && m > -q ? w : m) + v + (q > e && e > -q ? w : e), u += v + (q > h && h > -q ? w : h) + v + (q > k && k > -q ? w : k) + v + (q > o && o > -q ? w : o) + v) : u += ",0,0,0,0,1,0,", u += H + v + I + v + J + v + (M ? 1 + -J / M : 1) + ")", A[Ca] = u 2078 }; 2079 j = Ga.prototype, j.x = j.y = j.z = j.skewX = j.skewY = j.rotation = j.rotationX = j.rotationY = j.zOrigin = j.xPercent = j.yPercent = j.xOffset = j.yOffset = 0, j.scaleX = j.scaleY = j.scaleZ = 1, ya("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin", { 2080 parser: function (a, b, c, d, f, h, i) { 2081 if (d._lastParsedTransform === i)return f; 2082 d._lastParsedTransform = i; 2083 var j, k = i.scale && "function" == typeof i.scale ? i.scale : 0; 2084 "function" == typeof i[c] && (j = i[c], i[c] = b), k && (i.scale = k(r, a)); 2085 var l, m, n, o, p, s, t, u, v, w = a._gsTransform, x = a.style, y = 1e-6, z = Ba.length, A = i, B = {}, C = "transformOrigin", D = Ra(a, e, !0, A.parseTransform), E = A.transform && ("function" == typeof A.transform ? A.transform(r, q) : A.transform); 2086 if (d._transform = D, E && "string" == typeof E && Ca) m = Q.style, m[Ca] = E, m.display = "block", m.position = "absolute", O.body.appendChild(Q), l = Ra(Q, null, !1), D.svg && (s = D.xOrigin, t = D.yOrigin, l.x -= D.xOffset, l.y -= D.yOffset, (A.transformOrigin || A.svgOrigin) && (E = {}, La(a, ha(A.transformOrigin), E, A.svgOrigin, A.smoothOrigin, !0), s = E.xOrigin, t = E.yOrigin, l.x -= E.xOffset - D.xOffset, l.y -= E.yOffset - D.yOffset), (s || t) && (u = Qa(Q, !0), l.x -= s - (s * u[0] + t * u[2]), l.y -= t - (s * u[1] + t * u[3]))), O.body.removeChild(Q), l.perspective || (l.perspective = D.perspective), null != A.xPercent && (l.xPercent = ja(A.xPercent, D.xPercent)), null != A.yPercent && (l.yPercent = ja(A.yPercent, D.yPercent)); else if ("object" == typeof A) { 2087 if (l = { 2088 scaleX: ja(null != A.scaleX ? A.scaleX : A.scale, D.scaleX), 2089 scaleY: ja(null != A.scaleY ? A.scaleY : A.scale, D.scaleY), 2090 scaleZ: ja(A.scaleZ, D.scaleZ), 2091 x: ja(A.x, D.x), 2092 y: ja(A.y, D.y), 2093 z: ja(A.z, D.z), 2094 xPercent: ja(A.xPercent, D.xPercent), 2095 yPercent: ja(A.yPercent, D.yPercent), 2096 perspective: ja(A.transformPerspective, D.perspective) 2097 }, p = A.directionalRotation, null != p)if ("object" == typeof p)for (m in p)A[m] = p[m]; else A.rotation = p; 2098 "string" == typeof A.x && -1 !== A.x.indexOf("%") && (l.x = 0, l.xPercent = ja(A.x, D.xPercent)), "string" == typeof A.y && -1 !== A.y.indexOf("%") && (l.y = 0, l.yPercent = ja(A.y, D.yPercent)), l.rotation = ka("rotation" in A ? A.rotation : "shortRotation" in A ? A.shortRotation + "_short" : "rotationZ" in A ? A.rotationZ : D.rotation, D.rotation, "rotation", B), Fa && (l.rotationX = ka("rotationX" in A ? A.rotationX : "shortRotationX" in A ? A.shortRotationX + "_short" : D.rotationX || 0, D.rotationX, "rotationX", B), l.rotationY = ka("rotationY" in A ? A.rotationY : "shortRotationY" in A ? A.shortRotationY + "_short" : D.rotationY || 0, D.rotationY, "rotationY", B)), l.skewX = ka(A.skewX, D.skewX), l.skewY = ka(A.skewY, D.skewY) 2099 } 2100 for (Fa && null != A.force3D && (D.force3D = A.force3D, o = !0), D.skewType = A.skewType || D.skewType || g.defaultSkewType, n = D.force3D || D.z || D.rotationX || D.rotationY || l.z || l.rotationX || l.rotationY || l.perspective, n || null == A.scale || (l.scaleZ = 1); --z > -1;)v = Ba[z], E = l[v] - D[v], (E > y || -y > E || null != A[v] || null != M[v]) && (o = !0, f = new ta(D, v, D[v], E, f), v in B && (f.e = B[v]), f.xs0 = 0, f.plugin = h, d._overwriteProps.push(f.n)); 2101 return E = A.transformOrigin, D.svg && (E || A.svgOrigin) && (s = D.xOffset, t = D.yOffset, La(a, ha(E), l, A.svgOrigin, A.smoothOrigin), f = ua(D, "xOrigin", (w ? D : l).xOrigin, l.xOrigin, f, C), f = ua(D, "yOrigin", (w ? D : l).yOrigin, l.yOrigin, f, C), (s !== D.xOffset || t !== D.yOffset) && (f = ua(D, "xOffset", w ? s : D.xOffset, D.xOffset, f, C), f = ua(D, "yOffset", w ? t : D.yOffset, D.yOffset, f, C)), E = "0px 0px"), (E || Fa && n && D.zOrigin) && (Ca ? (o = !0, v = Ea, E = (E || _(a, v, e, !1, "50% 50%")) + "", f = new ta(x, v, 0, 0, f, -1, C), f.b = x[v], f.plugin = h, Fa ? (m = D.zOrigin, E = E.split(" "), D.zOrigin = (E.length > 2 && (0 === m || "0px" !== E[2]) ? parseFloat(E[2]) : m) || 0, f.xs0 = f.e = E[0] + " " + (E[1] || "50%") + " 0px", f = new ta(D, "zOrigin", 0, 0, f, -1, f.n), f.b = m, f.xs0 = f.e = D.zOrigin) : f.xs0 = f.e = E) : ha(E + "", D)), o && (d._transformType = D.svg && Aa || !n && 3 !== this._transformType ? 2 : 3), j && (i[c] = j), k && (i.scale = k), f 2102 }, prefix: !0 2103 }), ya("boxShadow", { 2104 defaultValue: "0px 0px 0px 0px #999", 2105 prefix: !0, 2106 color: !0, 2107 multi: !0, 2108 keyword: "inset" 2109 }), ya("borderRadius", { 2110 defaultValue: "0px", parser: function (a, b, c, f, g, h) { 2111 b = this.format(b); 2112 var i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y = ["borderTopLeftRadius", "borderTopRightRadius", "borderBottomRightRadius", "borderBottomLeftRadius"], z = a.style; 2113 for (q = parseFloat(a.offsetWidth), r = parseFloat(a.offsetHeight), i = b.split(" "), j = 0; j < y.length; j++)this.p.indexOf("border") && (y[j] = Z(y[j])), m = l = _(a, y[j], e, !1, "0px"), -1 !== m.indexOf(" ") && (l = m.split(" "), m = l[0], l = l[1]), n = k = i[j], o = parseFloat(m), t = m.substr((o + "").length), u = "=" === n.charAt(1), u ? (p = parseInt(n.charAt(0) + "1", 10), n = n.substr(2), p *= parseFloat(n), s = n.substr((p + "").length - (0 > p ? 1 : 0)) || "") : (p = parseFloat(n), s = n.substr((p + "").length)), "" === s && (s = d[c] || t), s !== t && (v = aa(a, "borderLeft", o, t), w = aa(a, "borderTop", o, t), "%" === s ? (m = v / q * 100 + "%", l = w / r * 100 + "%") : "em" === s ? (x = aa(a, "borderLeft", 1, "em"), m = v / x + "em", l = w / x + "em") : (m = v + "px", l = w + "px"), u && (n = parseFloat(m) + p + s, k = parseFloat(l) + p + s)), g = va(z, y[j], m + " " + l, n + " " + k, !1, "0px", g); 2114 return g 2115 }, prefix: !0, formatter: qa("0px 0px 0px 0px", !1, !0) 2116 }), ya("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius", { 2117 defaultValue: "0px", 2118 parser: function (a, b, c, d, f, g) { 2119 return va(a.style, c, this.format(_(a, c, e, !1, "0px 0px")), this.format(b), !1, "0px", f) 2120 }, 2121 prefix: !0, 2122 formatter: qa("0px 0px", !1, !0) 2123 }), ya("backgroundPosition", { 2124 defaultValue: "0 0", parser: function (a, b, c, d, f, g) { 2125 var h, i, j, k, l, m, n = "background-position", o = e || $(a, null), q = this.format((o ? p ? o.getPropertyValue(n + "-x") + " " + o.getPropertyValue(n + "-y") : o.getPropertyValue(n) : a.currentStyle.backgroundPositionX + " " + a.currentStyle.backgroundPositionY) || "0 0"), r = this.format(b); 2126 if (-1 !== q.indexOf("%") != (-1 !== r.indexOf("%")) && r.split(",").length < 2 && (m = _(a, "backgroundImage").replace(D, ""), m && "none" !== m)) { 2127 for (h = q.split(" "), i = r.split(" "), R.setAttribute("src", m), j = 2; --j > -1;)q = h[j], k = -1 !== q.indexOf("%"), k !== (-1 !== i[j].indexOf("%")) && (l = 0 === j ? a.offsetWidth - R.width : a.offsetHeight - R.height, h[j] = k ? parseFloat(q) / 100 * l + "px" : parseFloat(q) / l * 100 + "%"); 2128 q = h.join(" ") 2129 } 2130 return this.parseComplex(a.style, q, r, f, g) 2131 }, formatter: ha 2132 }), ya("backgroundSize", { 2133 defaultValue: "0 0", formatter: function (a) { 2134 return a += "", ha(-1 === a.indexOf(" ") ? a + " " + a : a) 2135 } 2136 }), ya("perspective", {defaultValue: "0px", prefix: !0}), ya("perspectiveOrigin", { 2137 defaultValue: "50% 50%", 2138 prefix: !0 2139 }), ya("transformStyle", {prefix: !0}), ya("backfaceVisibility", {prefix: !0}), ya("userSelect", {prefix: !0}), ya("margin", {parser: ra("marginTop,marginRight,marginBottom,marginLeft")}), ya("padding", {parser: ra("paddingTop,paddingRight,paddingBottom,paddingLeft")}), ya("clip", { 2140 defaultValue: "rect(0px,0px,0px,0px)", parser: function (a, b, c, d, f, g) { 2141 var h, i, j; 2142 return 9 > p ? (i = a.currentStyle, j = 8 > p ? " " : ",", h = "rect(" + i.clipTop + j + i.clipRight + j + i.clipBottom + j + i.clipLeft + ")", 2143 b = this.format(b).split(",").join(j)) : (h = this.format(_(a, this.p, e, !1, this.dflt)), b = this.format(b)), this.parseComplex(a.style, h, b, f, g) 2144 } 2145 }), ya("textShadow", { 2146 defaultValue: "0px 0px 0px #999", 2147 color: !0, 2148 multi: !0 2149 }), ya("autoRound,strictUnits", { 2150 parser: function (a, b, c, d, e) { 2151 return e 2152 } 2153 }), ya("border", { 2154 defaultValue: "0px solid #000", parser: function (a, b, c, d, f, g) { 2155 var h = _(a, "borderTopWidth", e, !1, "0px"), i = this.format(b).split(" "), j = i[0].replace(w, ""); 2156 return "px" !== j && (h = parseFloat(h) / aa(a, "borderTopWidth", 1, j) + j), this.parseComplex(a.style, this.format(h + " " + _(a, "borderTopStyle", e, !1, "solid") + " " + _(a, "borderTopColor", e, !1, "#000")), i.join(" "), f, g) 2157 }, color: !0, formatter: function (a) { 2158 var b = a.split(" "); 2159 return b[0] + " " + (b[1] || "solid") + " " + (a.match(pa) || ["#000"])[0] 2160 } 2161 }), ya("borderWidth", {parser: ra("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}), ya("float,cssFloat,styleFloat", { 2162 parser: function (a, b, c, d, e, f) { 2163 var g = a.style, h = "cssFloat" in g ? "cssFloat" : "styleFloat"; 2164 return new ta(g, h, 0, 0, e, -1, c, !1, 0, g[h], b) 2165 } 2166 }); 2167 var Ua = function (a) { 2168 var b, c = this.t, d = c.filter || _(this.data, "filter") || "", e = this.s + this.c * a | 0; 2169 100 === e && (-1 === d.indexOf("atrix(") && -1 === d.indexOf("radient(") && -1 === d.indexOf("oader(") ? (c.removeAttribute("filter"), b = !_(this.data, "filter")) : (c.filter = d.replace(z, ""), b = !0)), b || (this.xn1 && (c.filter = d = d || "alpha(opacity=" + e + ")"), -1 === d.indexOf("pacity") ? 0 === e && this.xn1 || (c.filter = d + " alpha(opacity=" + e + ")") : c.filter = d.replace(x, "opacity=" + e)) 2170 }; 2171 ya("opacity,alpha,autoAlpha", { 2172 defaultValue: "1", parser: function (a, b, c, d, f, g) { 2173 var h = parseFloat(_(a, "opacity", e, !1, "1")), i = a.style, j = "autoAlpha" === c; 2174 return "string" == typeof b && "=" === b.charAt(1) && (b = ("-" === b.charAt(0) ? -1 : 1) * parseFloat(b.substr(2)) + h), j && 1 === h && "hidden" === _(a, "visibility", e) && 0 !== b && (h = 0), U ? f = new ta(i, "opacity", h, b - h, f) : (f = new ta(i, "opacity", 100 * h, 100 * (b - h), f), f.xn1 = j ? 1 : 0, i.zoom = 1, f.type = 2, f.b = "alpha(opacity=" + f.s + ")", f.e = "alpha(opacity=" + (f.s + f.c) + ")", f.data = a, f.plugin = g, f.setRatio = Ua), j && (f = new ta(i, "visibility", 0, 0, f, -1, null, !1, 0, 0 !== h ? "inherit" : "hidden", 0 === b ? "hidden" : "inherit"), f.xs0 = "inherit", d._over
vendor: 11,295 bytes, lines 2174-2301
2174writeProps.push(f.n), d._overwriteProps.push(c)), f 2175 } 2176 }); 2177 var Va = function (a, b) { 2178 b && (a.removeProperty ? (("ms" === b.substr(0, 2) || "webkit" === b.substr(0, 6)) && (b = "-" + b), a.removeProperty(b.replace(B, "-$1").toLowerCase())) : a.removeAttribute(b)) 2179 }, Wa = function (a) { 2180 if (this.t._gsClassPT = this, 1 === a || 0 === a) { 2181 this.t.setAttribute("class", 0 === a ? this.b : this.e); 2182 for (var b = this.data, c = this.t.style; b;)b.v ? c[b.p] = b.v : Va(c, b.p), b = b._next; 2183 1 === a && this.t._gsClassPT === this && (this.t._gsClassPT = null) 2184 } else this.t.getAttribute("class") !== this.e && this.t.setAttribute("class", this.e) 2185 }; 2186 ya("className", { 2187 parser: function (a, b, d, f, g, h, i) { 2188 var j, k, l, m, n, o = a.getAttribute("class") || "", p = a.style.cssText; 2189 if (g = f._classNamePT = new ta(a, d, 0, 0, g, 2), g.setRatio = Wa, g.pr = -11, c = !0, g.b = o, k = ca(a, e), l = a._gsClassPT) { 2190 for (m = {}, n = l.data; n;)m[n.p] = 1, n = n._next; 2191 l.setRatio(1) 2192 } 2193 return a._gsClassPT = g, g.e = "=" !== b.charAt(1) ? b : o.replace(new RegExp("(?:\\s|^)" + b.substr(2) + "(?![\\w-])"), "") + ("+" === b.charAt(0) ? " " + b.substr(2) : ""), a.setAttribute("class", g.e), j = da(a, k, ca(a), i, m), a.setAttribute("class", o), g.data = j.firstMPT, a.style.cssText = p, g = g.xfirst = f.parse(a, j.difs, g, h) 2194 } 2195 }); 2196 var Xa = function (a) { 2197 if ((1 === a || 0 === a) && this.data._totalTime === this.data._totalDuration && "isFromStart" !== this.data.data) { 2198 var b, c, d, e, f, g = this.t.style, h = i.transform.parse; 2199 if ("all" === this.e) g.cssText = "", e = !0; else for (b = this.e.split(" ").join("").split(","), d = b.length; --d > -1;)c = b[d], i[c] && (i[c].parse === h ? e = !0 : c = "transformOrigin" === c ? Ea : i[c].p), Va(g, c); 2200 e && (Va(g, Ca), f = this.t._gsTransform, f && (f.svg && (this.t.removeAttribute("data-svg-origin"), this.t.removeAttribute("transform")), delete this.t._gsTransform)) 2201 } 2202 }; 2203 for (ya("clearProps", { 2204 parser: function (a, b, d, e, f) { 2205 return f = new ta(a, d, 0, 0, f, 2), f.setRatio = Xa, f.e = b, f.pr = -10, f.data = e._tween, c = !0, f 2206 } 2207 }), j = "bezier,throwProps,physicsProps,physics2D".split(","), wa = j.length; wa--;)za(j[wa]); 2208 j = g.prototype, j._firstPT = j._lastParsedTransform = j._transform = null, j._onInitTween = function (a, b, h, j) { 2209 if (!a.nodeType)return !1; 2210 this._target = q = a, this._tween = h, this._vars = b, r = j, k = b.autoRound, c = !1, d = b.suffixMap || g.suffixMap, e = $(a, ""), f = this._overwriteProps; 2211 var n, p, s, t, u, v, w, x, z, A = a.style; 2212 if (l && "" === A.zIndex && (n = _(a, "zIndex", e), ("auto" === n || "" === n) && this._addLazySet(A, "zIndex", 0)), "string" == typeof b && (t = A.cssText, n = ca(a, e), A.cssText = t + ";" + b, n = da(a, n, ca(a)).difs, !U && y.test(b) && (n.opacity = parseFloat(RegExp.$1)), b = n, A.cssText = t), b.className ? this._firstPT = p = i.className.parse(a, b.className, "className", this, null, null, b) : this._firstPT = p = this.parse(a, b, null), this._transformType) { 2213 for (z = 3 === this._transformType, Ca ? m && (l = !0, "" === A.zIndex && (w = _(a, "zIndex", e), ("auto" === w || "" === w) && this._addLazySet(A, "zIndex", 0)), o && this._addLazySet(A, "WebkitBackfaceVisibility", this._vars.WebkitBackfaceVisibility || (z ? "visible" : "hidden"))) : A.zoom = 1, s = p; s && s._next;)s = s._next; 2214 x = new ta(a, "transform", 0, 0, null, 2), this._linkCSSP(x, null, s), x.setRatio = Ca ? Ta : Sa, x.data = this._transform || Ra(a, e, !0), x.tween = h, x.pr = -1, f.pop() 2215 } 2216 if (c) { 2217 for (; p;) { 2218 for (v = p._next, s = t; s && s.pr > p.pr;)s = s._next; 2219 (p._prev = s ? s._prev : u) ? p._prev._next = p : t = p, (p._next = s) ? s._prev = p : u = p, p = v 2220 } 2221 this._firstPT = t 2222 } 2223 return !0 2224 }, j.parse = function (a, b, c, f) { 2225 var g, h, j, l, m, n, o, p, s, t, u = a.style; 2226 for (g in b)n = b[g], "function" == typeof n && (n = n(r, q)), h = i[g], h ? c = h.parse(a, n, g, this, c, f, b) : (m = _(a, g, e) + "", s = "string" == typeof n, "color" === g || "fill" === g || "stroke" === g || -1 !== g.indexOf("Color") || s && A.test(n) ? (s || (n = na(n), n = (n.length > 3 ? "rgba(" : "rgb(") + n.join(",") + ")"), c = va(u, g, m, n, !0, "transparent", c, 0, f)) : s && J.test(n) ? c = va(u, g, m, n, !0, null, c, 0, f) : (j = parseFloat(m), o = j || 0 === j ? m.substr((j + "").length) : "", ("" === m || "auto" === m) && ("width" === g || "height" === g ? (j = ga(a, g, e), o = "px") : "left" === g || "top" === g ? (j = ba(a, g, e), o = "px") : (j = "opacity" !== g ? 0 : 1, o = "")), t = s && "=" === n.charAt(1), t ? (l = parseInt(n.charAt(0) + "1", 10), n = n.substr(2), l *= parseFloat(n), p = n.replace(w, "")) : (l = parseFloat(n), p = s ? n.replace(w, "") : ""), "" === p && (p = g in d ? d[g] : o), n = l || 0 === l ? (t ? l + j : l) + p : b[g], o !== p && "" !== p && (l || 0 === l) && j && (j = aa(a, g, j, o), "%" === p ? (j /= aa(a, g, 100, "%") / 100, b.strictUnits !== !0 && (m = j + "%")) : "em" === p || "rem" === p || "vw" === p || "vh" === p ? j /= aa(a, g, 1, p) : "px" !== p && (l = aa(a, g, l, p), p = "px"), t && (l || 0 === l) && (n = l + j + p)), t && (l += j), !j && 0 !== j || !l && 0 !== l ? void 0 !== u[g] && (n || n + "" != "NaN" && null != n) ? (c = new ta(u, g, l || j || 0, 0, c, -1, g, !1, 0, m, n), c.xs0 = "none" !== n || "display" !== g && -1 === g.indexOf("Style") ? n : m) : W("invalid " + g + " tween value: " + b[g]) : (c = new ta(u, g, j, l - j, c, 0, g, k !== !1 && ("px" === p || "zIndex" === g), 0, m, n), c.xs0 = p))), f && c && !c.plugin && (c.plugin = f); 2227 return c 2228 }, j.setRatio = function (a) { 2229 var b, c, d, e = this._firstPT, f = 1e-6; 2230 if (1 !== a || this._tween._time !== this._tween._duration && 0 !== this._tween._time)if (a || this._tween._time !== this._tween._duration && 0 !== this._tween._time || this._tween._rawPrevTime === -1e-6)for (; e;) { 2231 if (b = e.c * a + e.s, e.r ? b = Math.round(b) : f > b && b > -f && (b = 0), e.type)if (1 === e.type)if (d = e.l, 2 === d) e.t[e.p] = e.xs0 + b + e.xs1 + e.xn1 + e.xs2; else if (3 === d) e.t[e.p] = e.xs0 + b + e.xs1 + e.xn1 + e.xs2 + e.xn2 + e.xs3; else if (4 === d) e.t[e.p] = e.xs0 + b + e.xs1 + e.xn1 + e.xs2 + e.xn2 + e.xs3 + e.xn3 + e.xs4; else if (5 === d) e.t[e.p] = e.xs0 + b + e.xs1 + e.xn1 + e.xs2 + e.xn2 + e.xs3 + e.xn3 + e.xs4 + e.xn4 + e.xs5; else { 2232 for (c = e.xs0 + b + e.xs1, d = 1; d < e.l; d++)c += e["xn" + d] + e["xs" + (d + 1)]; 2233 e.t[e.p] = c 2234 } else-1 === e.type ? e.t[e.p] = e.xs0 : e.setRatio && e.setRatio(a); else e.t[e.p] = b + e.xs0; 2235 e = e._next 2236 } else for (; e;)2 !== e.type ? e.t[e.p] = e.b : e.setRatio(a), e = e._next; else for (; e;) { 2237 if (2 !== e.type)if (e.r && -1 !== e.type)if (b = Math.round(e.s + e.c), e.type) { 2238 if (1 === e.type) { 2239 for (d = e.l, c = e.xs0 + b + e.xs1, d = 1; d < e.l; d++)c += e["xn" + d] + e["xs" + (d + 1)]; 2240 e.t[e.p] = c 2241 } 2242 } else e.t[e.p] = b + e.xs0; else e.t[e.p] = e.e; else e.setRatio(a); 2243 e = e._next 2244 } 2245 }, j._enableTransforms = function (a) { 2246 this._transform = this._transform || Ra(this._target, e, !0), this._transformType = this._transform.svg && Aa || !a && 3 !== this._transformType ? 2 : 3 2247 }; 2248 var Ya = function (a) { 2249 this.t[this.p] = this.e, this.data._linkCSSP(this, this._next, null, !0) 2250 }; 2251 j._addLazySet = function (a, b, c) { 2252 var d = this._firstPT = new ta(a, b, 0, 0, this._firstPT, 2); 2253 d.e = c, d.setRatio = Ya, d.data = this 2254 }, j._linkCSSP = function (a, b, c, d) { 2255 return a && (b && (b._prev = a), a._next && (a._next._prev = a._prev), a._prev ? a._prev._next = a._next : this._firstPT === a && (this._firstPT = a._next, d = !0), c ? c._next = a : d || null !== this._firstPT || (this._firstPT = a), a._next = b, a._prev = c), a 2256 }, j._mod = function (a) { 2257 for (var b = this._firstPT; b;)"function" == typeof a[b.p] && a[b.p] === Math.round && (b.r = 1), b = b._next 2258 }, j._kill = function (b) { 2259 var c, d, e, f = b; 2260 if (b.autoAlpha || b.alpha) { 2261 f = {}; 2262 for (d in b)f[d] = b[d]; 2263 f.opacity = 1, f.autoAlpha && (f.visibility = 1) 2264 } 2265 for (b.className && (c = this._classNamePT) && (e = c.xfirst, e && e._prev ? this._linkCSSP(e._prev, c._next, e._prev._prev) : e === this._firstPT && (this._firstPT = c._next), c._next && this._linkCSSP(c._next, c._next._next, e._prev), this._classNamePT = null), c = this._firstPT; c;)c.plugin && c.plugin !== d && c.plugin._kill && (c.plugin._kill(b), d = c.plugin), c = c._next; 2266 return a.prototype._kill.call(this, f) 2267 }; 2268 var Za = function (a, b, c) { 2269 var d, e, f, g; 2270 if (a.slice)for (e = a.length; --e > -1;)Za(a[e], b, c); else for (d = a.childNodes, e = d.length; --e > -1;)f = d[e], g = f.type, f.style && (b.push(ca(f)), c && c.push(f)), 1 !== g && 9 !== g && 11 !== g || !f.childNodes.length || Za(f, b, c) 2271 }; 2272 return g.cascadeTo = function (a, c, d) { 2273 var e, f, g, h, i = b.to(a, c, d), j = [i], k = [], l = [], m = [], n = b._internals.reservedProps; 2274 for (a = i._targets || i.target, Za(a, k, m), i.render(c, !0, !0), Za(a, l), i.render(0, !0, !0), i._enabled(!0), e = m.length; --e > -1;)if (f = da(m[e], k[e], l[e]), f.firstMPT) { 2275 f = f.difs; 2276 for (g in d)n[g] && (f[g] = d[g]); 2277 h = {}; 2278 for (g in f)h[g] = k[e][g]; 2279 j.push(b.fromTo(m[e], c, h, f)) 2280 } 2281 return j 2282 }, a.activate([g]), g 2283 }, !0) 2284}), _gsScope._gsDefine && _gsScope._gsQueue.pop()(), function (a) { 2285 "use strict"; 2286 var b = function () { 2287 return (_gsScope.GreenSockGlobals || _gsScope)[a] 2288 }; 2289 "function" == typeof define && define.amd ? define(["TweenLite"], b) : "undefined" != typeof module && module.exports && (require("../TweenLite.js"), module.exports = b()) 2290}("CSSPlugin"); 2291 2292 2293/* SPLIT TEXT UTIL */ 2294/*! 2295 * VERSION: 0.5.6 2296 * DATE: 2017-01-17 2297 * UPDATES AND DOCS AT: http://greensock.com 2298 * 2299 * @license Copyright (c) 2008-2017, GreenSock. All rights reserved. 2300 * SplitText is a Club GreenSock membership benefit; You must have a valid membership to use 2301 * this code without violating the terms of use. Visit http://greensock.com/club/ to sign up or get more details.
vendor: 16,481 bytes, lines 2302-2559
2302 * This work is subject to the software agreement that was issued with your membership. 2303 * 2304 * @author: Jack Doyle, [email protected] 2305 */ 2306var _gsScope = "undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window; 2307!function (a) { 2308 "use strict"; 2309 var b = a.GreenSockGlobals || a, c = function (a) { 2310 var c, d = a.split("."), e = b; 2311 for (c = 0; c < d.length; c++)e[d[c]] = e = e[d[c]] || {}; 2312 return e 2313 }, d = c("com.greensock.utils"), e = function (a) { 2314 var b = a.nodeType, c = ""; 2315 if (1 === b || 9 === b || 11 === b) { 2316 if ("string" == typeof a.textContent)return a.textContent; 2317 for (a = a.firstChild; a; a = a.nextSibling)c += e(a) 2318 } else if (3 === b || 4 === b)return a.nodeValue; 2319 return c 2320 }, f = document, g = f.defaultView ? f.defaultView.getComputedStyle : function () { 2321 }, h = /([A-Z])/g, i = function (a, b, c, d) { 2322 var e; 2323 return (c = c || g(a, null)) ? (a = c.getPropertyValue(b.replace(h, "-$1").toLowerCase()), e = a || c.length ? a : c[b]) : a.currentStyle && (c = a.currentStyle, e = c[b]), d ? e : parseInt(e, 10) || 0 2324 }, j = function (a) { 2325 return a.length && a[0] && (a[0].nodeType && a[0].style && !a.nodeType || a[0].length && a[0][0]) ? !0 : !1 2326 }, k = function (a) { 2327 var b, c, d, e = [], f = a.length; 2328 for (b = 0; f > b; b++)if (c = a[b], j(c))for (d = c.length, d = 0; d < c.length; d++)e.push(c[d]); else e.push(c); 2329 return e 2330 }, l = /(?:\r|\n|\t\t)/g, m = /(?:\s\s+)/g, n = 55296, o = 56319, p = 56320, q = 127462, r = 127487, s = 127995, t = 127999, u = function (a) { 2331 return (a.charCodeAt(0) - n << 10) + (a.charCodeAt(1) - p) + 65536 2332 }, v = f.all && !f.addEventListener, w = " style='position:relative;display:inline-block;" + (v ? "*display:inline;*zoom:1;'" : "'"), x = function (a, b) { 2333 a = a || ""; 2334 var c = -1 !== a.indexOf("++"), d = 1; 2335 return c && (a = a.split("++").join("")), function () { 2336 return "<" + b + w + (a ? " class='" + a + (c ? d++ : "") + "'>" : ">") 2337 } 2338 }, y = d.SplitText = b.SplitText = function (a, b) { 2339 if ("string" == typeof a && (a = y.selector(a)), !a)throw"cannot split a null element."; 2340 this.elements = j(a) ? k(a) : [a], this.chars = [], this.words = [], this.lines = [], this._originals = [], this.vars = b || {}, this.split(b) 2341 }, z = function (a, b, c) { 2342 var d = a.nodeType; 2343 if (1 === d || 9 === d || 11 === d)for (a = a.firstChild; a; a = a.nextSibling)z(a, b, c); else(3 === d || 4 === d) && (a.nodeValue = a.nodeValue.split(b).join(c)) 2344 }, A = function (a, b) { 2345 for (var c = b.length; --c > -1;)a.push(b[c]) 2346 }, B = function (a) { 2347 var b, c = [], d = a.length; 2348 for (b = 0; b !== d; c.push(a[b++])); 2349 return c 2350 }, C = function (a, b, c) { 2351 for (var d; a && a !== b;) { 2352 if (d = a._next || a.nextSibling)return d.textContent.charAt(0) === c; 2353 a = a.parentNode || a._parent 2354 } 2355 return !1 2356 }, D = function (a) { 2357 var b, c, d = B(a.childNodes), e = d.length; 2358 for (b = 0; e > b; b++)c = d[b], c._isSplit ? D(c) : (b && 3 === c.previousSibling.nodeType ? c.previousSibling.nodeValue += 3 === c.nodeType ? c.nodeValue : c.firstChild.nodeValue : 3 !== c.nodeType && a.insertBefore(c.firstChild, c), a.removeChild(c)) 2359 }, E = function (a, b, c, d, e, h, j) { 2360 var k, l, m, n, o, p, q, r, s, t, u, v, w = g(a), x = i(a, "paddingLeft", w), y = -999, B = i(a, "borderBottomWidth", w) + i(a, "borderTopWidth", w), E = i(a, "borderLeftWidth", w) + i(a, "borderRightWidth", w), F = i(a, "paddingTop", w) + i(a, "paddingBottom", w), G = i(a, "paddingLeft", w) + i(a, "paddingRight", w), H = .2 * i(a, "fontSize"), I = i(a, "textAlign", w, !0), J = [], K = [], L = [], M = b.wordDelimiter || " ", N = b.span ? "span" : "div", O = b.type || b.split || "chars,words,lines", P = e && -1 !== O.indexOf("lines") ? [] : null, Q = -1 !== O.indexOf("words"), R = -1 !== O.indexOf("chars"), S = "absolute" === b.position || b.absolute === !0, T = b.linesClass, U = -1 !== (T || "").indexOf("++"), V = []; 2361 for (P && 1 === a.children.length && a.children[0]._isSplit && (a = a.children[0]), U && (T = T.split("++").join("")), l = a.getElementsByTagName("*"), m = l.length, o = [], k = 0; m > k; k++)o[k] = l[k]; 2362 if (P || S)for (k = 0; m > k; k++)n = o[k], p = n.parentNode === a, (p || S || R && !Q) && (v = n.offsetTop, P && p && Math.abs(v - y) > H && "BR" !== n.nodeName && (q = [], P.push(q), y = v), S && (n._x = n.offsetLeft, n._y = v, n._w = n.offsetWidth, n._h = n.offsetHeight), P && ((n._isSplit && p || !R && p || Q && p || !Q && n.parentNode.parentNode === a && !n.parentNode._isSplit) && (q.push(n), n._x -= x, C(n, a, M) && (n._wordEnd = !0)), "BR" === n.nodeName && n.nextSibling && "BR" === n.nextSibling.nodeName && P.push([]))); 2363 for (k = 0; m > k; k++)n = o[k], p = n.parentNode === a, "BR" !== n.nodeName ? (S && (s = n.style, Q || p || (n._x += n.parentNode._x, n._y += n.parentNode._y), s.left = n._x + "px", s.top = n._y + "px", s.position = "absolute", s.display = "block", s.width = n._w + 1 + "px", s.height = n._h + "px"), !Q && R ? n._isSplit ? (n._next = n.nextSibling, n.parentNode.appendChild(n)) : n.parentNode._isSplit ? (n._parent = n.parentNode, !n.previousSibling && n.firstChild && (n.firstChild._isFirst = !0), n.nextSibling && " " === n.nextSibling.textContent && !n.nextSibling.nextSibling && V.push(n.nextSibling), n._next = n.nextSibling && n.nextSibling._isFirst ? null : n.nextSibling, n.parentNode.removeChild(n), o.splice(k--, 1), m--) : p || (v = !n.nextSibling && C(n.parentNode, a, M), n.parentNode._parent && n.parentNode._parent.appendChild(n), v && n.parentNode.appendChild(f.createTextNode(" ")), b.span && (n.style.display = "inline"), J.push(n)) : n.parentNode._isSplit && !n._isSplit && "" !== n.innerHTML ? K.push(n) : R && !n._isSplit && (b.span && (n.style.display = "inline"), J.push(n))) : P || S ? (n.parentNode && n.parentNode.removeChild(n), o.splice(k--, 1), m--) : Q || a.appendChild(n); 2364 for (k = V.length; --k > -1;)V[k].parentNode.removeChild(V[k]); 2365 if (P) { 2366 for (S && (t = f.createElement(N), a.appendChild(t), u = t.offsetWidth + "px", v = t.offsetParent === a ? 0 : a.offsetLeft, a.removeChild(t)), s = a.style.cssText, a.style.cssText = "display:none;"; a.firstChild;)a.removeChild(a.firstChild); 2367 for (r = " " === M && (!S || !Q && !R), k = 0; k < P.length; k++) { 2368 for (q = P[k], t = f.createElement(N), t.style.cssText = "display:block;text-align:" + I + ";position:" + (S ? "absolute;" : "relative;"), T && (t.className = T + (U ? k + 1 : "")), L.push(t), m = q.length, l = 0; m > l; l++)"BR" !== q[l].nodeName && (n = q[l], t.appendChild(n), r && n._wordEnd && t.appendChild(f.createTextNode(" ")), S && (0 === l && (t.style.top = n._y + "px", t.style.left = x + v + "px"), n.style.top = "0px", v && (n.style.left = n._x - v + "px"))); 2369 0 === m ? t.innerHTML = " " : Q || R || (D(t), z(t, String.fromCharCode(160), " ")), S && (t.style.width = u, t.style.height = n._h + "px"), a.appendChild(t) 2370 } 2371 a.style.cssText = s 2372 } 2373 S && (j > a.clientHeight && (a.style.height = j - F + "px", a.clientHeight < j && (a.style.height = j + B + "px")), h > a.clientWidth && (a.style.width = h - G + "px", a.clientWidth < h && (a.style.width = h + E + "px"))), A(c, J), A(d, K), A(e, L) 2374 }, F = function (a, b, c, d) { 2375 var g, h, i, j, k, p, v, w, x, y = b.span ? "span" : "div", A = b.type || b.split || "chars,words,lines", B = (-1 !== A.indexOf("words"), -1 !== A.indexOf("chars")), C = "absolute" === b.position || b.absolute === !0, D = b.wordDelimiter || " ", E = " " !== D ? "" : C ? "­ " : " ", F = b.span ? "</span>" : "</div>", G = !0, H = f.createElement("div"), I = a.parentNode; 2376 for (I.insertBefore(H, a), H.textContent = a.nodeValue, I.removeChild(a), a = H, g = e(a), v = -1 !== g.indexOf("<"), b.reduceWhiteSpace !== !1 && (g = g.replace(m, " ").replace(l, "")), v && (g = g.split("<").join("{{LT}}")), k = g.length, h = (" " === g.charAt(0) ? E : "") + c(), i = 0; k > i; i++)if (p = g.charAt(i), p === D && g.charAt(i - 1) !== D && i) { 2377 for (h += G ? F : "", G = !1; g.charAt(i + 1) === D;)h += E, i++; 2378 i === k - 1 ? h += E : ")" !== g.charAt(i + 1) && (h += E + c(), G = !0) 2379 } else"{" === p && "{{LT}}" === g.substr(i, 6) ? (h += B ? d() + "{{LT}}</" + y + ">" : "{{LT}}", i += 5) : p.charCodeAt(0) >= n && p.charCodeAt(0) <= o || g.charCodeAt(i + 1) >= 65024 && g.charCodeAt(i + 1) <= 65039 ? (w = u(g.substr(i, 2)), x = u(g.substr(i + 2, 2)), j = w >= q && r >= w && x >= q && r >= x || x >= s && t >= x ? 4 : 2, h += B && " " !== p ? d() + g.substr(i, j) + "</" + y + ">" : g.substr(i, j), i += j - 1) : h += B && " " !== p ? d() + p + "</" + y + ">" : p; 2380 a.outerHTML = h + (G ? F : ""), v && z(I, "{{LT}}", "<") 2381 }, G = function (a, b, c, d) { 2382 var e, f, g = B(a.childNodes), h = g.length, j = "absolute" === b.position || b.absolute === !0; 2383 if (3 !== a.nodeType || h > 1) { 2384 for (b.absolute = !1, e = 0; h > e; e++)f = g[e], (3 !== f.nodeType || /\S+/.test(f.nodeValue)) && (j && 3 !== f.nodeType && "inline" === i(f, "display", null, !0) && (f.style.display = "inline-block", f.style.position = "relative"), f._isSplit = !0, G(f, b, c, d)); 2385 return b.absolute = j, void(a._isSplit = !0) 2386 } 2387 F(a, b, c, d) 2388 }, H = y.prototype; 2389 H.split = function (a) { 2390 this.isSplit && this.revert(), this.vars = a = a || this.vars, this._originals.length = this.chars.length = this.words.length = this.lines.length = 0; 2391 for (var b, c, d, e = this.elements.length, f = a.span ? "span" : "div", g = ("absolute" === a.position || a.absolute === !0, x(a.wordsClass, f)), h = x(a.charsClass, f); --e > -1;)d = this.elements[e], this._originals[e] = d.innerHTML, b = d.clientHeight, c = d.clientWidth, G(d, a, g, h), E(d, a, this.chars, this.words, this.lines, c, b); 2392 return this.chars.reverse(), this.words.reverse(), this.lines.reverse(), this.isSplit = !0, this 2393 }, H.revert = function () { 2394 if (!this._originals)throw"revert() call wasn't scoped properly."; 2395 for (var a = this._originals.length; --a > -1;)this.elements[a].innerHTML = this._originals[a]; 2396 return this.chars = [], this.words = [], this.lines = [], this.isSplit = !1, this 2397 }, y.selector = a.$ || a.jQuery || function (b) { 2398 var c = a.$ || a.jQuery; 2399 return c ? (y.selector = c, c(b)) : "undefined" == typeof document ? b : document.querySelectorAll ? document.querySelectorAll(b) : document.getElementById("#" === b.charAt(0) ? b.substr(1) : b) 2400 }, y.version = "0.5.6" 2401}(_gsScope), function (a) { 2402 "use strict"; 2403 var b = function () { 2404 return (_gsScope.GreenSockGlobals || _gsScope)[a] 2405 }; 2406 "function" == typeof define && define.amd ? define([], b) : "undefined" != typeof module && module.exports && (module.exports = b()) 2407}("SplitText"); 2408 2409 2410try { 2411 window.GreenSockGlobals = null; 2412 window._gsQueue = null; 2413 window._gsDefine = null; 2414 2415 delete(window.GreenSockGlobals); 2416 delete(window._gsQueue); 2417 delete(window._gsDefine); 2418} catch (e) { 2419} 2420 2421try { 2422 window.GreenSockGlobals = oldgs; 2423 window._gsQueue = oldgs_queue; 2424} catch (e) { 2425} 2426 2427if (window.tplogs == true) 2428 try { 2429 console.groupEnd(); 2430 } catch (e) { 2431 } 2432 2433(function (e, t) { 2434 e.waitForImages = {hasImageProperties: ["backgroundImage", "listStyleImage", "borderImage", "borderCornerImage"]}; 2435 e.expr[":"].uncached = function (t) { 2436 var n = document.createElement("img"); 2437 n.src = t.src; 2438 return e(t).is('img[src!=""]') && !n.complete 2439 }; 2440 e.fn.waitForImages = function (t, n, r) { 2441 if (e.isPlainObject(arguments[0])) { 2442 n = t.each; 2443 r = t.waitForAll; 2444 t = t.finished 2445 } 2446 t = t || e.noop; 2447 n = n || e.noop; 2448 r = !!r; 2449 if (!e.isFunction(t) || !e.isFunction(n)) { 2450 throw new TypeError("An invalid callback was supplied.") 2451 } 2452 return this.each(function () { 2453 var i = e(this), s = []; 2454 if (r) { 2455 var o = e.waitForImages.hasImageProperties || [], u = /url\((['"]?)(.*?)\1\)/g; 2456 i.find("*").each(function () { 2457 var t = e(this); 2458 if (t.is("img:uncached")) { 2459 s.push({src: t.attr("src"), element: t[0]}) 2460 } 2461 e.each(o, function (e, n) { 2462 var r = t.css(n); 2463 if (!r) { 2464 return true 2465 } 2466 var i; 2467 while (i = u.exec(r)) { 2468 s.push({src: i[2], element: t[0]}) 2469 } 2470 }) 2471 }) 2472 } else { 2473 i.find("img:uncached").each(function () { 2474 s.push({src: this.src, element: this}) 2475 }) 2476 } 2477 var f = s.length, l = 0; 2478 if (f == 0) { 2479 t.call(i[0]) 2480 } 2481 e.each(s, function (r, s) { 2482 var o = new Image; 2483 e(o).bind("load error", function (e) { 2484 l++; 2485 n.call(s.element, l, f, e.type == "load"); 2486 if (l == f) { 2487 t.call(i[0]); 2488 return false 2489 } 2490 }); 2491 o.src = s.src 2492 }) 2493 }) 2494 }; 2495})(jQuery) 2496 2497;/*})'"*/ 2498;/*})'"*/ 2499/************************************************************************** 2500 * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider 2501 * @version: 5.4.5 (17.05.2017) 2502 * @requires jQuery v1.7 or later (tested on 1.9) 2503 * @author ThemePunch 2504 **************************************************************************/ 2505!function (jQuery, undefined) { 2506 "use strict"; 2507 var version = { 2508 core: "5.4.5", 2509 "revolution.extensions.actions.min.js": "2.1.0", 2510 "revolution.extensions.carousel.min.js": "1.2.1", 2511 "revolution.extensions.kenburn.min.js": "1.3.1", 2512 "revolution.extensions.layeranimation.min.js": "3.6.1", 2513 "revolution.extensions.navigation.min.js": "1.3.3", 2514 "revolution.extensions.parallax.min.js": "2.2.0", 2515 "revolution.extensions.slideanims.min.js": "1.7", 2516 "revolution.extensions.video.min.js": "2.1.1" 2517 }; 2518 jQuery.fn.extend({ 2519 revolution: function (a) { 2520 var b = { 2521 delay: 9e3, 2522 responsiveLevels: 4064, 2523 visibilityLevels: [2048, 1024, 778, 480], 2524 gridwidth: 960, 2525 gridheight: 500, 2526 minHeight: 0, 2527 autoHeight: "off", 2528 sliderType: "standard", 2529 sliderLayout: "auto", 2530 fullScreenAutoWidth: "off", 2531 fullScreenAlignForce: "off", 2532 fullScreenOffsetContainer: "", 2533 fullScreenOffset: "0", 2534 hideCaptionAtLimit: 0, 2535 hideAllCaptionAtLimit: 0, 2536 hideSliderAtLimit: 0, 2537 disableProgressBar: "off", 2538 stopAtSlide: -1, 2539 stopAfterLoops: -1, 2540 shadow: 0, 2541 dottedOverlay: "none", 2542 startDelay: 0, 2543 lazyType: "smart", 2544 spinner: "spinner0", 2545 shuffle: "off", 2546 viewPort: {enable: !1, outof: "wait", visible_area: "60%", presize: !1}, 2547 fallbacks: { 2548 isJoomla: !1, 2549 panZoomDisableOnMobile: "off", 2550 simplifyAll: "on", 2551 nextSlideOnWindowFocus: "off", 2552 disableFocusListener: !0, 2553 ignoreHeightChanges: "off", 2554 ignoreHeightChangesSize: 0, 2555 allowHTML5AutoPlayOnAndroid: !0 2556 }, 2557 parallax: { 2558 type: "off", 2559 levels: [10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85
2559], 2560 origo: "enterpoint", 2561 speed: 400, 2562 bgparallax: "off", 2563 opacity: "on", 2564 disable_onmobile: "off", 2565 ddd_shadow: "on", 2566 ddd_bgfreeze: "off", 2567 ddd_overflow: "visible", 2568 ddd_layer_overflow: "visible", 2569 ddd_z_correction: 65, 2570 ddd_path: "mouse" 2571 }, 2572 scrolleffect: { 2573 fade: "off", 2574 blur: "off", 2575 scale: "off", 2576 grayscale: "off", 2577 maxblur: 10, 2578 on_layers: "off", 2579 on_slidebg: "off", 2580 on_static_layers: "off", 2581 on_parallax_layers: "off", 2582 on_parallax_static_layers: "off", 2583 direction: "both", 2584 multiplicator: 1.35, 2585 multiplicator_layers: .5, 2586 tilt: 30, 2587 disable_on_mobile: "on" 2588 }, 2589 carousel: { 2590 easing: punchgs.Power3.easeInOut, 2591 speed: 800, 2592 showLayersAllTime: "off", 2593 horizontal_align: "center", 2594 vertical_align: "center", 2595 infinity: "on", 2596 space: 0, 2597 maxVisibleItems: 3, 2598 stretch: "off", 2599 fadeout: "on", 2600 maxRotation: 0, 2601 minScale: 0, 2602 vary_fade: "off", 2603 vary_rotation: "on", 2604 vary_scale: "off", 2605 border_radius: "0px", 2606 padding_top: 0, 2607 padding_bottom: 0 2608 }, 2609 navigation: { 2610 keyboardNavigation: "off", 2611 keyboard_direction: "horizontal", 2612 mouseScrollNavigation: "off", 2613 onHoverStop: "on", 2614 touch: { 2615 touchenabled: "off", 2616 touchOnDesktop: "off", 2617 swipe_treshold: 75, 2618 swipe_min_touches: 1, 2619 drag_block_vertical: !1, 2620 swipe_direction: "horizontal" 2621 }, 2622 arrows: { 2623 style: "", 2624 enable: !1, 2625 hide_onmobile: !1, 2626 hide_onleave: !0, 2627 hide_delay: 200, 2628 hide_delay_mobile: 1200, 2629 hide_under: 0, 2630 hide_over: 9999, 2631 tmp: "", 2632 rtl: !1, 2633 left: {h_align: "left", v_align: "center", h_offset: 20, v_offset: 0, container: "slider"}, 2634 right: {h_align: "right", v_align: "center", h_offset: 20, v_offset: 0, container: "slider"} 2635 }, 2636 bullets: { 2637 container: "slider", 2638 rtl: !1, 2639 style: "", 2640 enable: !1, 2641 hide_onmobile: !1, 2642 hide_onleave: !0, 2643 hide_delay: 200, 2644 hide_delay_mobile: 1200, 2645 hide_under: 0, 2646 hide_over: 9999, 2647 direction: "horizontal", 2648 h_align: "left", 2649 v_align: "center", 2650 space: 0, 2651 h_offset: 20, 2652 v_offset: 0, 2653 tmp: '<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>' 2654 }, 2655 thumbnails: { 2656 container: "slider", 2657 rtl: !1, 2658 style: "", 2659 enable: !1, 2660 width: 100, 2661 height: 50, 2662 min_width: 100, 2663 wrapper_padding: 2, 2664 wrapper_color: "#f5f5f5", 2665 wrapper_opacity: 1, 2666 tmp: '<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',
vendor: 5,716 bytes, lines 2667-2753
2667 visibleAmount: 5, 2668 hide_onmobile: !1, 2669 hide_onleave: !0, 2670 hide_delay: 200, 2671 hide_delay_mobile: 1200, 2672 hide_under: 0, 2673 hide_over: 9999, 2674 direction: "horizontal", 2675 span: !1, 2676 position: "inner", 2677 space: 2, 2678 h_align: "left", 2679 v_align: "center", 2680 h_offset: 20, 2681 v_offset: 0 2682 }, 2683 tabs: { 2684 container: "slider", 2685 rtl: !1, 2686 style: "", 2687 enable: !1, 2688 width: 100, 2689 min_width: 100, 2690 height: 50, 2691 wrapper_padding: 10, 2692 wrapper_color: "#f5f5f5", 2693 wrapper_opacity: 1, 2694 tmp: '<span class="tp-tab-image"></span>', 2695 visibleAmount: 5, 2696 hide_onmobile: !1, 2697 hide_onleave: !0, 2698 hide_delay: 200, 2699 hide_delay_mobile: 1200, 2700 hide_under: 0, 2701 hide_over: 9999, 2702 direction: "horizontal", 2703 span: !1, 2704 space: 0, 2705 position: "inner", 2706 h_align: "left", 2707 v_align: "center", 2708 h_offset: 20, 2709 v_offset: 0 2710 } 2711 }, 2712 extensions: "extensions/", 2713 extensions_suffix: ".min.js", 2714 debugMode: !1 2715 }; 2716 return a = jQuery.extend(!0, {}, b, a), this.each(function () { 2717 var b = jQuery(this); 2718 a.minHeight = a.minHeight != undefined ? parseInt(a.minHeight, 0) : a.minHeight, a.scrolleffect.on = "on" === a.scrolleffect.fade || "on" === a.scrolleffect.scale || "on" === a.scrolleffect.blur || "on" === a.scrolleffect.grayscale, "hero" == a.sliderType && b.find(">ul>li").each(function (a) { 2719 a > 0 && jQuery(this).remove() 2720 }), a.jsFileLocation = a.jsFileLocation || getScriptLocation("themepunch.revolution.min.js"), a.jsFileLocation = a.jsFileLocation + a.extensions, a.scriptsneeded = getNeededScripts(a, b), a.curWinRange = 0, a.rtl = !0, a.navigation != undefined && a.navigation.touch != undefined && (a.navigation.touch.swipe_min_touches = a.navigation.touch.swipe_min_touches > 5 ? 1 : a.navigation.touch.swipe_min_touches), jQuery(this).on("scriptsloaded", function () { 2721 if (a.modulesfailing)return b.html('<div style="margin:auto;line-height:40px;font-size:14px;color:#fff;padding:15px;background:#e74c3c;margin:20px 0px;">!! Error at loading Slider Revolution 5.0 Extrensions.' + a.errorm + "</div>").show(), !1; 2722 _R.migration != undefined && (a = _R.migration(b, a)), punchgs.force3D = !0, "on" !== a.simplifyAll && punchgs.TweenLite.lagSmoothing(1e3, 16), prepareOptions(b, a), initSlider(b, a) 2723 }), b[0].opt = a, waitForScripts(b, a) 2724 }) 2725 }, getRSVersion: function (a) { 2726 if (!0 === a)return jQuery("body").data("tp_rs_version"); 2727 var b = jQuery("body").data("tp_rs_version"), c = ""; 2728 c += "---------------------------------------------------------\n", c += " Currently Loaded Slider Revolution & SR Modules :\n", c += "---------------------------------------------------------\n"; 2729 for (var d in b)c += b[d].alias + ": " + b[d].ver + "\n"; 2730 return c += "---------------------------------------------------------\n" 2731 }, revremoveslide: function (a) { 2732 return this.each(function () { 2733 var b = jQuery(this), c = b[0].opt; 2734 if (!(a < 0 || a > c.slideamount) && b != undefined && b.length > 0 && jQuery("body").find("#" + b.attr("id")).length > 0 && c && c.li.length > 0 && (a > 0 || a <= c.li.length)) { 2735 var d = jQuery(c.li[a]), e = d.data("index"), f = !1; 2736 c.slideamount = c.slideamount - 1, c.realslideamount = c.realslideamount - 1, removeNavWithLiref(".tp-bullet", e, c), removeNavWithLiref(".tp-tab", e, c), removeNavWithLiref(".tp-thumb", e, c), d.hasClass("active-revslide") && (f = !0), d.remove(), c.li = removeArray(c.li, a), c.carousel && c.carousel.slides && (c.carousel.slides = removeArray(c.carousel.slides, a)), c.thumbs = removeArray(c.thumbs, a), _R.updateNavIndexes && _R.updateNavIndexes(c), f && b.revnext(), punchgs.TweenLite.set(c.li, {minWidth: "99%"}), punchgs.TweenLite.set(c.li, {minWidth: "100%"}) 2737 } 2738 }) 2739 }, revaddcallback: function (a) { 2740 return this.each(function () { 2741 this.opt && (this.opt.callBackArray === undefined && (this.opt.callBackArray = new Array), this.opt.callBackArray.push(a)) 2742 }) 2743 }, revgetparallaxproc: function () { 2744 return jQuery(this)[0].opt.scrollproc 2745 }, revdebugmode: function () { 2746 return this.each(function () { 2747 var a = jQuery(this); 2748 a[0].opt.debugMode = !0, containerResized(a, a[0].opt) 2749 }) 2750 }, revscroll: function (a) { 2751 return this.each(function () { 2752 var b = jQuery(this); 2753 jQuery("body,html").animate({scrollTop: b.offset().top + b.he
2753ight() - a + "px"}, {duration: 400}) 2754 }) 2755 }, revredraw: function (a) { 2756 return this.each(function () { 2757 var a = jQuery(this); 2758 containerResized(a, a[0].opt) 2759 }) 2760 }, revkill: function (a) { 2761 var b = this, c = jQuery(this); 2762 if (punchgs.TweenLite.killDelayedCallsTo(_R.showHideNavElements), c != undefined && c.length > 0 && jQuery("body").find("#" + c.attr("id")).length > 0) { 2763 c.data("conthover", 1), c.data("conthover-changed", 1), c.trigger("revolution.slide.onpause"); 2764 var d = c.parent().find(".tp-bannertimer"), e = c[0].opt; 2765 e.tonpause = !0, c.trigger("stoptimer"); 2766 var f = "resize.revslider-" + c.attr("id"); 2767 jQuery(window).unbind(f), punchgs.TweenLite.killTweensOf(c.find("*"), !1), punchgs.TweenLite.killTweensOf(c, !1), c.unbind("hover, mouseover, mouseenter,mouseleave, resize"); 2768 var f = "resize.revslider-" + c.attr("id"); 2769 jQuery(window).off(f), c.find("*").each(function () { 2770 var a = jQuery(this); 2771 a.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"), a.off("on, hover, mouseenter,mouseleave,mouseover, resize"), a.data("mySplitText", null), a.data("ctl", null), a.data("tween") != undefined && a.data("tween").kill(), a.data("kenburn") != undefined && a.data("kenburn").kill(), a.data("timeline_out") != undefined && a.data("timeline_out").kill(), a.data("timeline") != undefined && a.data("timeline").kill(), a.remove(), a.empty(), a = null 2772 }), punchgs.TweenLite.killTweensOf(c.find("*"), !1), punchgs.TweenLite.killTweensOf(c, !1), d.remove(); 2773 try { 2774 c.closest(".forcefullwidth_wrapper_tp_banner").remove() 2775 } catch (a) { 2776 } 2777 try { 2778 c.closest(".rev_slider_wrapper").remove() 2779 } catch (a) { 2780 } 2781 try { 2782 c.remove() 2783 } catch (a) { 2784 } 2785 return c.empty(), c.html(), c = null, e = null, delete b.c, delete b.opt, delete b.container, !0 2786 } 2787 return !1 2788 }, revpause: function () { 2789 return this.each(function () { 2790 var a = jQuery(this); 2791 a != undefined && a.length > 0 && jQuery("body").find("#" + a.attr("id")).length > 0 && (a.data("conthover", 1), a.data("conthover-changed", 1), a.trigger("revolution.slide.onpause"), a[0].opt.tonpause = !0, a.trigger("stoptimer")) 2792 }) 2793 }, revresume: function () { 2794 return this.each(function () { 2795 var a = jQuery(this); 2796 a != undefined && a.length > 0 && jQuery("body").find("#" + a.attr("id")).length > 0 && (a.data("conthover", 0), a.data("conthover-changed", 1), a.trigger("revolution.slide.onresume"), a[0].opt.tonpause = !1, a.trigger("starttimer")) 2797 }) 2798 }, revstart: function () { 2799 var a = jQuery(this); 2800 if (a != undefined && a.length > 0 && jQuery("body").find("#" + a.attr("id")).length > 0 && a[0].opt !== undefined)return a[0].opt.sliderisrunning ? (console.log("Slider Is Running Already"), !1) : (runSlider(a, a[0].opt), !0) 2801 }, revnext: function () { 2802 return this.each(function () { 2803 var a = jQuery(this); 2804 a != undefined && a.length > 0 && jQuery("body").find("#" + a.attr("id")).length > 0 && _R.callingNewSlide(a, 1) 2805 }) 2806 }, revprev: function () { 2807 return this.each(function () { 2808 var a = jQuery(this); 2809 a != undefined && a.length > 0 && jQuery("body").find("#" + a.attr("id")).length > 0 && _R.callingNewSlide(a, -1) 2810 }) 2811 }, revmaxslide: function () { 2812 return jQuery(this).find(".tp-revslider-mainul >li").length 2813 }, revcurrentslide: function () { 2814 var a = jQuery(this); 2815 if (a != undefined && a.length > 0 && jQuery("body").find("#" + a.attr("id")).length > 0)return parseInt(a[0].opt.act, 0) + 1 2816 }, revlastslide: function () { 2817 return jQuery(this).find(".tp-revslider-mainul >li").length 2818 }, revshowslide: function (a) { 2819 return this.each(function () { 2820 var b = jQuery(this); 2821 b != undefined && b.length > 0 && jQuery("body").find("#" + b.attr("id")).length > 0 && _R.callingNewSlide(b, "to" + (a - 1)) 2822 }) 2823 }, revcallslidewithid: function (a) { 2824 return this.each(function () { 2825 var b = jQuery(this); 2826 b != undefined && b.length > 0 && jQuery("body").find("#" + b.attr("id")).length > 0 && _R.callingNewSlide(b, a) 2827 }) 2828 } 2829 }); 2830 var _R = jQuery.fn.revolution; 2831 jQuery.extend(!0, _R, { 2832 getversion: function () { 2833 return version 2834 }, compare_version: function (a) { 2835 var b = jQuery("body").data("tp_rs_version"); 2836 return b = b === undefined ? new Object : b, b.Core === undefined && (b.Core = new Object, b.Core.alias = "Slider Revolution Core", b.Core.name = "jquery.themepunch.revolution.min.js", b.Core.ver = _R.getversion().c
vendor: 2,328 bytes, lines 2836-2852
2836ore), "stop" != a.check && (_R.getversion().core < a.min_core ? (a.check === undefined && (console.log("%cSlider Revolution Warning (Core:" + _R.getversion().core + ")", "color:#c0392b;font-weight:bold;"), console.log("%c Core is older than expected (" + a.min_core + ") from " + a.alias, "color:#333"), console.log("%c Please update Slider Revolution to the latest version.", "color:#333"), console.log("%c It might be required to purge and clear Server/Client side Caches.", "color:#333")), a.check = "stop") : _R.getversion()[a.name] != undefined && a.version < _R.getversion()[a.name] && (a.check === undefined && (console.log("%cSlider Revolution Warning (Core:" + _R.getversion().core + ")", "color:#c0392b;font-weight:bold;"), console.log("%c " + a.alias + " (" + a.version + ") is older than requiered (" + _R.getversion()[a.name] + ")", "color:#333"), console.log("%c Please update Slider Revolution to the latest version.", "color:#333"), console.log("%c It might be required to purge and clear Server/Client side Caches.", "color:#333")), a.check = "stop")), b[a.alias] === undefined && (b[a.alias] = new Object, b[a.alias].alias = a.alias, b[a.alias].ver = a.version, b[a.alias].name = a.name), jQuery("body").data("tp_rs_version", b), a 2837 }, currentSlideIndex: function (a) { 2838 var b = a.c.find(".active-revslide").index(); 2839 return b = -1 == b ? 0 : b 2840 }, simp: function (a, b, c) { 2841 var d = Math.abs(a) - Math.floor(Math.abs(a / b)) * b; 2842 return c ? d : a < 0 ? -1 * d : d 2843 }, iOSVersion: function () { 2844 var a = !1; 2845 return navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPad/i) ? navigator.userAgent.match(/OS 4_\d like Mac OS X/i) && (a = !0) : a = !1, a 2846 }, isIE: function (a, b) { 2847 var c = jQuery('<div style="display:none;"/>').appendTo(jQuery("body")); 2848 c.html("\x3c!--[if " + (b || "") + " IE " + (a || "") + "]><a> </a><![endif]--\x3e"); 2849 var d = c.find("a").length; 2850 return c.remove(), d 2851 }, is_mobile: function () { 2852 var a = ["android", "webos", "iphone", "ipad", "blackberry", "Android", "webos", , "iPod", "iPhone", "iPad", "Blackberry", "BlackBerry"], b = !1;
2853 for (var c in a)navigator.userAgent.split(a[c]).length > 1 && (b = !0); 2854 return b 2855 }, is_android: function () { 2856 var a = ["android", "Android"], b = !1; 2857 for (var c in a)navigator.userAgent.split(a[c]).length > 1 && (b = !0); 2858 return b 2859 }, callBackHandling: function (a, b, c) { 2860 try { 2861 a.callBackArray && jQuery.each(a.callBackArray, function (a, d) { 2862 d && d.inmodule && d.inmodule === b && d.atposition && d.atposition === c && d.callback && d.callback.call() 2863 }) 2864 } catch (a) { 2865 console.log("Call Back Failed") 2866 } 2867 }, get_browser: function () { 2868 var c, a = navigator.appName, b = navigator.userAgent, d = b.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); 2869 return d && null != (c = b.match(/version\/([\.\d]+)/i)) && (d[2] = c[1]), d = d ? [d[1], d[2]] : [a, navigator.appVersion, "-?"], d[0] 2870 }, get_browser_version: function () { 2871 var c, a = navigator.appName, b = navigator.userAgent, d = b.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); 2872 return d && null != (c = b.match(/version\/([\.\d]+)/i)) && (d[2] = c[1]), d = d ? [d[1], d[2]] : [a, navigator.appVersion, "-?"], d[1] 2873 }, getHorizontalOffset: function (a, b) { 2874 var c = gWiderOut(a, ".outer-left"), d = gWiderOut(a, ".outer-right"); 2875 switch (b) { 2876 case"left": 2877 return c; 2878 case"right": 2879 return d; 2880 case"both": 2881 return c + d 2882 } 2883 }, callingNewSlide: function (a, b) { 2884 var c = a.find(".next-revslide").length > 0 ? a.find(".next-revslide").index() : a.find(".processing-revslide").length > 0 ? a.find(".processing-revslide").index() : a.find(".active-revslide").index(), d = 0, e = a[0].opt; 2885 a.find(".next-revslide").removeClass("next-revslide"), a.find(".active-revslide").hasClass("tp-invisible-slide") && (c = e.last_shown_slide), b && jQuery.isNumeric(b) || b.match(/to/g) ? (1 === b || -1 === b ? (d = c + b, d = d < 0 ? e.slideamount - 1 : d >= e.slideamount ? 0 : d) : (b = jQuery.isNumeric(b) ? b : parseInt(b.split("to")[1], 0), d = b < 0 ? 0 : b > e.slideamount - 1 ? e.slideamount - 1 : b), a.find(".tp-revslider-slidesli:eq(" + d + ")").addClass("next-revslide")) : b && a.find(".tp-revslider-slidesli").each(function () { 2886 var a = jQuery(this); 2887 a.data("index") === b && a.addClass("next-revslide") 2888 }), d = a.find(".next-revslide").index(), a.trigger("revolution.nextslide.waiting"), c === d && c === e.last_shown_slide || d !== c && -1 != d ? swapSlide(a) : a.find(".next-revslide").removeClass("next-revslide") 2889 }, slotSize: function (a, b) { 2890 b.slotw = Math.ceil(b.width / b.slots), "fullscreen" == b.sliderLayout ? b.sloth = Math.ceil(jQuery(window).height() / b.slots) : b.sloth = Math.ceil(b.height / b.slots), "on" == b.autoHeight && a !== undefined && "" !== a && (b.sloth = Math.ceil(a.height() / b.slots)) 2891 }, setSize: function (a) { 2892 var b = (a.top_outer || 0) + (a.bottom_outer || 0), c = parseInt(a.carousel.padding_top || 0, 0), d = parseInt(a.carousel.padding_bottom || 0, 0), e = a.gridheight[a.curWinRange], f = 0, g = -1 === a.nextSlide || a.nextSlide === undefined ? 0 : a.nextSlide; 2893 if (a.paddings = a.paddings === undefined ? { 2894 top: parseInt(a.c.parent().css("paddingTop"), 0) || 0, 2895 bottom: parseInt(a.c.parent().css("paddingBottom"), 0) || 0 2896 } : a.paddings, a.rowzones && a.rowzones.length > 0)for (var h = 0; h < a.rowzones[g].length; h++)f += a.rowzones[g][h][0].offsetHeight; 2897 if (e = e < a.minHeight ? a.minHeight : e, e = e < f ? f : e, "fullwidth" == a.sliderLayout && "off" == a.autoHeight && punchgs.TweenLite.set(a.c, {maxHeight: e + "px"}), a.c.css({ 2898 marginTop: c, 2899 marginBottom: d 2900 }), a.width = a.ul.width(), a.height = a.ul.height(), setScale(a), a.height = Math.round(a.gridheight[a.curWinRange] * (a.width / a.gridwidth[a.curWinRange])), a.height > a.gridheight[a.curWinRange] && "on" != a.autoHeight && (a.height = a.gridheight[a.curWinRange]), "fullscreen" == a.sliderLayout || a.infullscreenmode) { 2901 a.height = a.bw * a.gridheight[a.curWinRange]; 2902 var j = (a.c.parent().width(), jQuery(window).height()); 2903 if (a.fullScreenOffsetContainer != undefined) { 2904 try { 2905 var k = a.fullScreenOffsetContainer.split(","); 2906 k && jQuery.each(k, function (a, b) { 2907 j = jQuery(b).length > 0 ? j - jQuery(b).outerHeight(!0) : j 2908 }) 2909 } catch (a) { 2910 } 2911 try { 2912 a.fullScreenOffset.split("%").length > 1 && a.fullScreenOffset != undefined && a.fullScreenOffset.length > 0 ? j -= jQuery(window).height() * parseInt(a.fullScreenOffset, 0) / 100 : a.fullScreenOffset != undefined && a.fullScreenOffset.length > 0 && (j -= parseInt(a.fullScreenOffset, 0)) 2913 } catch (a) { 2914 } 2915 } 2916 j = j < a.minHeight ? a.minHeight : j, j -= b, a.c.parent().height(j), a.c.closest(".rev_slider_wrapper").height(j), a.c.css({height: "100%"}), a.height = j, a.minHeight != undefined && a.height < a.minHeight && (a.height = a.minHeight), a.height = parseInt(f, 0) > parseInt(a.height, 0) ? f : a.height 2917 } else a.minHeight != undefined && a.height < a.minHeight && (a.height = a.minHeight), a.height = parseInt(f, 0) > parseInt(a.height, 0) ? f : a.height, a.c.height(a.height); 2918 var l = {height: c + d + b + a.height + a.paddings.top + a.paddings.bottom}; 2919 a.c.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css(l), a.c.closest(".rev_slider_wrapper").css(l), setScale(a) 2920 }, enterInViewPort: function (a) { 2921 a.waitForCountDown && (countDown(a.c, a), a.waitForCountDown = !1), a.waitForFirstSlide && (swapSlide(a.c), a.waitForFirstSlide = !1, setTimeout(function () { 2922 a.c.removeClass("tp-waitforfirststart") 2923 }, 500)), "playing" != a.sliderlaststatus && a.sliderlaststatus != undefined || a.c.trigger("starttimer"), a.lastplayedvideos != undefined && a.lastplayedvideos.length > 0 && jQuery.each(a.lastplayedvideos, function (b, c) { 2924 _R.playVideo(c, a) 2925 }) 2926 }, leaveViewPort: function (a) { 2927 a.sliderlaststatus = a.sliderstatus, a.c.trigger("stoptimer"), a.playingvideos != undefined && a.playingvideos.length >
vendor: 4,332 bytes, lines 2927-2983
2927 0 && (a.lastplayedvideos = jQuery.extend(!0, [], a.playingvideos), a.playingvideos && jQuery.each(a.playingvideos, function (b, c) { 2928 a.leaveViewPortBasedStop = !0, _R.stopVideo && _R.stopVideo(c, a) 2929 })) 2930 }, unToggleState: function (a) { 2931 a != undefined && a.length > 0 && jQuery.each(a, function (a, b) { 2932 b.removeClass("rs-toggle-content-active") 2933 }) 2934 }, toggleState: function (a) { 2935 a != undefined && a.length > 0 && jQuery.each(a, function (a, b) { 2936 b.addClass("rs-toggle-content-active") 2937 }) 2938 }, swaptoggleState: function (a) { 2939 a != undefined && a.length > 0 && jQuery.each(a, function (a, b) { 2940 jQuery(b).hasClass("rs-toggle-content-active") ? jQuery(b).removeClass("rs-toggle-content-active") : jQuery(b).addClass("rs-toggle-content-active") 2941 }) 2942 }, lastToggleState: function (a) { 2943 var b = 0; 2944 return a != undefined && a.length > 0 && jQuery.each(a, function (a, c) { 2945 b = c.hasClass("rs-toggle-content-active") 2946 }), b 2947 } 2948 }); 2949 var _ISM = _R.is_mobile(), _ANDROID = _R.is_android(), checkIDS = function (a, b) { 2950 if (a.anyid = a.anyid === undefined ? [] : a.anyid, -1 != jQuery.inArray(b.attr("id"), a.anyid)) { 2951 var d = b.attr("id") + "_" + Math.round(9999 * Math.random()); 2952 b.attr("id", d) 2953 } 2954 a.anyid.push(b.attr("id")) 2955 }, removeArray = function (a, b) { 2956 var c = []; 2957 return jQuery.each(a, function (a, d) { 2958 a != b && c.push(d) 2959 }), c 2960 }, removeNavWithLiref = function (a, b, c) { 2961 c.c.find(a).each(function () { 2962 var a = jQuery(this); 2963 a.data("liref") === b && a.remove() 2964 }) 2965 }, lAjax = function (a, b) { 2966 return !jQuery("body").data(a) && (b.filesystem ? (b.errorm === undefined && (b.errorm = "<br>Local Filesystem Detected !<br>Put this to your header:"), console.warn("Local Filesystem detected !"), b.errorm = b.errorm + '<br><script type="text/javascript" src="' + b.jsFileLocation + a + b.extensions_suffix + '"></script>', console.warn(b.jsFileLocation + a + b.extensions_suffix + " could not be loaded !"), console.warn("Please use a local Server or work online or make sure that you load all needed Libraries manually in your Document."), console.log(" "), b.modulesfailing = !0, !1) : (jQuery.ajax({ 2967 url: b.jsFileLocation + a + b.extensions_suffix + "?version=" + version.core, 2968 dataType: "script", 2969 cache: !0, 2970 error: function (c) { 2971 console.warn("Slider Revolution 5.0 Error !"), console.error("Failure at Loading:" + a + b.extensions_suffix + " on Path:" + b.jsFileLocation), console.info(c) 2972 } 2973 }), void jQuery("body").data(a, !0))) 2974 }, getNeededScripts = function (a, b) { 2975 var c = new Object, d = a.navigation; 2976 return c.kenburns = !1, c.parallax = !1, c.carousel = !1, c.navigation = !1, c.videos = !1, c.actions = !1, c.layeranim = !1, c.migration = !1, b.data("version") && b.data("version").toString().match(/5./gi) ? (b.find("img").each(function () { 2977 "on" == jQuery(this).data("kenburns") && (c.kenburns = !0) 2978 }), ("carousel" == a.sliderType || "on" == d.keyboardNavigation || "on" == d.mouseScrollNavigation || "on" == d.touch.touchenabled || d.arrows.enable || d.bullets.enable || d.thumbnails.enable || d.tabs.enable) && (c.navigation = !0), b.find(".tp-caption, .tp-static-layer, .rs-background-video-layer").each(function () { 2979 var a = jQuery(this); 2980 (a.data("ytid") != undefined || a.find("iframe").length > 0 && a.find("iframe").attr("src").toLowerCase().indexOf("youtube") > 0) && (c.videos = !0), (a.data("vimeoid") != undefined || a.find("iframe").length > 0 && a.find("iframe").attr("src").toLowerCase().indexOf("vimeo") > 0) && (c.videos = !0), a.data("actions") !== undefined && (c.actions = !0), c.layeranim = !0 2981 }), b.find("li").each(function () { 2982 jQuery(this).data("link") && jQuery(this).data("link") != undefined && (c.layeranim = !0, c.actions = !0) 2983 }), !c.videos && (b.find(".rs-background-video-layer").length >
2983 0 || b.find(".tp-videolayer").length > 0 || b.find(".tp-audiolayer").length > 0 || b.find("iframe").length > 0 || b.find("video").length > 0) && (c.videos = !0), "carousel" == a.sliderType && (c.carousel = !0), ("off" !== a.parallax.type || a.viewPort.enable || "true" == a.viewPort.enable || "true" === a.scrolleffect.on || a.scrolleffect.on) && (c.parallax = !0)) : (c.kenburns = !0, c.parallax = !0, c.carousel = !1, c.navigation = !0, c.videos = !0, c.actions = !0, c.layeranim = !0, c.migration = !0), "hero" == a.sliderType && (c.carousel = !1, c.navigation = !1), window.location.href.match(/file:/gi) && (c.filesystem = !0, a.filesystem = !0), c.videos && void 0 === _R.isVideoPlaying && lAjax("revolution.extension.video", a), c.carousel && void 0 === _R.prepareCarousel && lAjax("revolution.extension.carousel", a), c.carousel || void 0 !== _R.animateSlide || lAjax("revolution.extension.slideanims", a), c.actions && void 0 === _R.checkActions && lAjax("revolution.extension.actions", a), c.layeranim && void 0 === _R.handleStaticLayers && lAjax("revolution.extension.layeranimation", a), c.kenburns && void 0 === _R.stopKenBurn && lAjax("revolution.extension.kenburn", a), c.navigation && void 0 === _R.createNavigation && lAjax("revolution.extension.navigation", a), c.migration && void 0 === _R.migration && lAjax("revolution.extension.migration", a), c.parallax && void 0 === _R.checkForParallax && lAjax("revolution.extension.parallax", a), a.addons != undefined && a.addons.length > 0 && jQuery.each(a.addons, function (b, c) { 2984 "object" == typeof c && c.fileprefix != undefined && lAjax(c.fileprefix, a) 2985 }), c 2986 }, waitForScripts = function (a, b) { 2987 var c = !0, d = b.scriptsneeded; 2988 b.addons != undefined && b.addons.length > 0 && jQuery.each(b.addons, function (a, b) { 2989 "object" == typeof b && b.init != undefined && _R[b.init] === undefined && (c = !1) 2990 }), d.filesystem || "undefined" != typeof punchgs && c && (!d.kenburns || d.kenburns && void 0 !== _R.stopKenBurn) && (!d.navigation || d.navigation && void 0 !== _R.createNavigation) && (!d.carousel || d.carousel && void 0 !== _R.prepareCarousel) && (!d.videos || d.videos && void 0 !== _R.resetVideo) && (!d.actions || d.actions && void 0 !== _R.checkActions) && (!d.layeranim || d.layeranim && void 0 !== _R.handleStaticLayers) && (!d.migration || d.migration && void 0 !== _R.migration) && (!d.parallax || d.parallax && void 0 !== _R.checkForParallax) && (d.carousel || !d.carousel && void 0 !== _R.animateSlide) ? a.trigger("scriptsloaded") : setTimeout(function () { 2991 waitForScripts(a, b) 2992 }, 50) 2993 }, getScriptLocation = function (a) { 2994 var b = new RegExp("themepunch.revolution.min.js", "gi"), c = ""; 2995 return jQuery("script").each(function () { 2996 var a = jQuery(this).attr("src"); 2997 a && a.match(b) && (c = a) 2998 }), c = c.replace("jquery.themepunch.revolution.min.js", ""), c = c.replace("jquery.themepunch.revolution.js", ""), c = c.split("?")[0] 2999 }, setCurWinRange = function (a, b) { 3000 var d = 9999, e = 0, f = 0, g = 0, h = jQuery(window).width(), i = b && 9999 == a.responsiveLevels ? a.visibilityLevels : a.responsiveLevels; 3001 i && i.length && jQuery.each(i, function (a, b) { 3002 h < b && (0 == e || e > b) && (d = b, g = a, e = b), h > b && e < b && (e = b, f = a) 3003 }), e < d && (g = f), b ? a.forcedWinRange = g : a.curWinRange = g 3004 }, prepareOptions = function (a, b) { 3005 b.carousel.maxVisibleItems = b.carousel.maxVisibleItems < 1 ? 999 : b.carousel.maxVisibleItems, b.carousel.vertical_align = "top" === b.carousel.vertical_align ? "0%" : "bottom" === b.carousel.vertical_align ? "100%" : "50%" 3006 }
vendor: 29,293 bytes, lines 3006-3293
3006, gWiderOut = function (a, b) { 3007 var c = 0; 3008 return a.find(b).each(function () { 3009 var a = jQuery(this); 3010 !a.hasClass("tp-forcenotvisible") && c < a.outerWidth() && (c = a.outerWidth()) 3011 }), c 3012 }, initSlider = function (container, opt) { 3013 if (container == undefined)return !1; 3014 container.data("aimg") != undefined && ("enabled" == container.data("aie8") && _R.isIE(8) || "enabled" == container.data("amobile") && _ISM) && container.html('<img class="tp-slider-alternative-image" src="' + container.data("aimg") + '">'), container.find(">ul").addClass("tp-revslider-mainul"), opt.c = container, opt.ul = container.find(".tp-revslider-mainul"), opt.ul.find(">li").each(function (a) { 3015 var b = jQuery(this); 3016 "on" == b.data("hideslideonmobile") && _ISM && b.remove(), (b.data("invisible") || !0 === b.data("invisible")) && (b.addClass("tp-invisible-slide"), b.appendTo(opt.ul)) 3017 }), opt.addons != undefined && opt.addons.length > 0 && jQuery.each(opt.addons, function (i, obj) { 3018 "object" == typeof obj && obj.init != undefined && _R[obj.init](eval(obj.params)) 3019 }), opt.cid = container.attr("id"), opt.ul.css({visibility: "visible"}), opt.slideamount = opt.ul.find(">li").not(".tp-invisible-slide").length, opt.realslideamount = opt.ul.find(">li").length, opt.slayers = container.find(".tp-static-layers"), opt.slayers.data("index", "staticlayers"), 1 != opt.waitForInit && (container[0].opt = opt, runSlider(container, opt)) 3020 }, onFullScreenChange = function () { 3021 jQuery("body").data("rs-fullScreenMode", !jQuery("body").data("rs-fullScreenMode")), jQuery("body").data("rs-fullScreenMode") && setTimeout(function () { 3022 jQuery(window).trigger("resize") 3023 }, 200) 3024 }, runSlider = function (a, b) { 3025 if (b.sliderisrunning = !0, b.ul.find(">li").each(function (a) { 3026 jQuery(this).data("originalindex", a) 3027 }), b.allli = b.ul.find(">li"), jQuery.each(b.allli, function (a, b) { 3028 var b = jQuery(b); 3029 b.data("origindex", b.index()) 3030 }), b.li = b.ul.find(">li").not(".tp-invisible-slide"), "on" == b.shuffle) { 3031 var c = new Object, d = b.ul.find(">li:first-child"); 3032 c.fstransition = d.data("fstransition"), c.fsmasterspeed = d.data("fsmasterspeed"), c.fsslotamount = d.data("fsslotamount"); 3033 for (var e = 0; e < b.slideamount; e++) { 3034 var f = Math.round(Math.random() * b.slideamount); 3035 b.ul.find(">li:eq(" + f + ")").prependTo(b.ul) 3036 } 3037 var g = b.ul.find(">li:first-child"); 3038 g.data("fstransition", c.fstransition), g.data("fsmasterspeed", c.fsmasterspeed), g.data("fsslotamount", c.fsslotamount), b.allli = b.ul.find(">li"), b.li = b.ul.find(">li").not(".tp-invisible-slide") 3039 } 3040 if (b.inli = b.ul.find(">li.tp-invisible-slide"), b.thumbs = new Array, b.slots = 4, b.act = -1, b.firststart = 1, b.loadqueue = new Array, b.syncload = 0, b.conw = a.width(), b.conh = a.height(), b.responsiveLevels.length > 1 ? b.responsiveLevels[0] = 9999 : b.responsiveLevels = 9999, jQuery.each(b.allli, function (a, c) { 3041 var c = jQuery(c), d = c.find(".rev-slidebg") || c.find("img").first(), e = 0; 3042 c.addClass("tp-revslider-slidesli"), c.data("index") === undefined && c.data("index", "rs-" + Math.round(999999 * Math.random())); 3043 var f = new Object; 3044 f.params = new Array, f.id = c.data("index"), f.src = c.data("thumb") !== undefined ? c.data("thumb") : d.data("lazyload") !== undefined ? d.data("lazyload") : d.attr("src"), c.data("title") !== undefined && f.params.push({ 3045 from: RegExp("\\{\\{title\\}\\}", "g"), 3046 to: c.data("title") 3047 }), c.data("description") !== undefined && f.params.push({ 3048 from: RegExp("\\{\\{description\\}\\}", "g"), 3049 to: c.data("description") 3050 }); 3051 for (var e = 1; e <= 10; e++)c.data("param" + e) !== undefined && f.params.push({ 3052 from: RegExp("\\{\\{param" + e + "\\}\\}", "g"), 3053 to: c.data("param" + e) 3054 }); 3055 if (b.thumbs.push(f), c.data("link") != undefined) { 3056 var g = c.data("link"), h = c.data("target") || "_self", i = "back" === c.data("slideindex") ? 0 : 60, j = c.data("linktoslide"), k = j; 3057 j != undefined && "next" != j && "prev" != j && b.allli.each(function () { 3058 var a = jQuery(this); 3059 a.data("origindex") + 1 == k && (j = a.data("index")) 3060 }), "slide" != g && (j = "no"); 3061 var l = '<div class="tp-caption slidelink" style="cursor:pointer;width:100%;height:100%;z-index:' + i + ';" data-x="center" data-y="center" data-basealign="slide" ', m = "scroll_under" === j ? '[{"event":"click","action":"scrollbelow","offset":"100px","delay":"0"}]' : "prev" === j ? '[{"event":"click","action":"jumptoslide","slide":"prev","delay":"0.2"}]' : "next" === j ? '[{"event":"click","action":"jumptoslide","slide":"next","delay":"0.2"}]' : '[{"event":"click","action":"jumptoslide","slide":"' + j + '","delay":"0.2"}]', n = ' data-frames=\'[{"delay":0,"speed":100,"frame":"0","from":"opacity:0;","to":"o:1;","ease":"Power3.easeInOut"},{"delay":"wait","speed":300,"frame":"999","to":"opacity:0;","ease":"Power3.easeInOut"}]\''; 3062 l = "no" == j ? l + n + " >" : l + "data-actions='" + m + "'" + n + " >", l += '<a style="width:100%;height:100%;display:block"', l = "slide" != g ? l + ' target="' + h + '" href="' + g + '"' : l, l += '><span style="width:100%;height:100%;display:block"></span></a></div>', c.append(l) 3063 } 3064 }), b.rle = b.responsiveLevels.length || 1, b.gridwidth = cArray(b.gridwidth, b.rle), b.gridheight = cArray(b.gridheight, b.rle), "on" == b.simplifyAll && (_R.isIE(8) || _R.iOSVersion()) && (a.find(".tp-caption").each(function () { 3065 var a = jQuery(this); 3066 a.removeClass("customin customout").addClass("fadein fadeout"), a.data("splitin", ""), a.data("speed", 400) 3067 }), b.allli.each(function () { 3068 var a = jQuery(this); 3069 a.data("transition", "fade"), a.data("masterspeed", 500), a.data("slotamount", 1), (a.find(".rev-slidebg") || a.find(">img").first()).data("kenburns", "off") 3070 })), b.desktop = !navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i), b.autoHeight = "fullscreen" == b.sliderLayout ? "on" : b.autoHeight, "fullwidth" == b.sliderLayout && "off" == b.autoHeight && a.css({maxHeight: b.gridheight[b.curWinRange] + "px"}), "auto" != b.sliderLayout && 0 == a.closest(".forcefullwidth_wrapper_tp_banner").length && ("fullscreen" !== b.sliderLayout || "on" != b.fullScreenAutoWidth)) { 3071 var h = a.parent(), i = h.css("marginBottom"), j = h.css("marginTop"), k = a.attr("id") + "_forcefullwidth"; 3072 i = i === undefined ? 0 : i, j = j === undefined ? 0 : j, h.wrap('<div class="forcefullwidth_wrapper_tp_banner" id="' + k + '" style="position:relative;width:100%;height:auto;margin-top:' + j + ";margin-bottom:" + i + '"></div>'), a.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:' + a.height() + 'px"></div>'), a.parent().css({ 3073 marginTop: "0px", 3074 marginBottom: "0px" 3075 }), a.parent().css({position: "absolute"}) 3076 } 3077 if (b.shadow !== undefined && b.shadow > 0 && (a.parent().addClass("tp-shadow" + b.shadow), a.parent().append('<div class="tp-shadowcover"></div>'), a.parent().find(".tp-shadowcover").css({ 3078 backgroundColor: a.parent().css("backgroundColor"), 3079 backgroundImage: a.parent().css("backgroundImage") 3080 })), setCurWinRange(b), setCurWinRange(b, !0), !a.hasClass("revslider-initialised")) { 3081 a.addClass("revslider-initialised"), a.addClass("tp-simpleresponsive"), a.attr("id") == undefined && a.attr("id", "revslider-" + Math.round(1e3 * Math.random() + 5)), checkIDS(b, a), b.firefox13 = !1, b.ie = !jQuery.support.opacity, b.ie9 = 9 == document.documentMode, b.origcd = b.delay; 3082 var l = jQuery.fn.jquery.split("."), m = parseFloat(l[0]), n = parseFloat(l[1]); 3083 parseFloat(l[2] || "0"); 3084 1 == m && n < 7 && a.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:' + l + " <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin</div>"), m > 1 && (b.ie = !1); 3085 var p = new Object; 3086 p.addedyt = 0, p.addedvim = 0, p.addedvid = 0, b.scrolleffect.on && (b.scrolleffect.layers = new Array), a.find(".tp-caption, .rs-background-video-layer").each(function (a) { 3087 var c = jQuery(this), d = c.data(), e = d.autoplayonlyfirsttime, f = d.autoplay, g = d.videomp4 !== undefined || d.videowebm !== undefined || d.videoogv !== undefined, h = c.hasClass("tp-audiolayer"), i = d.videoloop, j = !0, k = !1; 3088 d.startclasses = c.attr("class"), d.isparallaxlayer = d.startclasses.indexOf("rs-parallax") >= 0, c.hasClass("tp-static-layer") && _R.handleStaticLayers && (_R.handleStaticLayers(c, b), b.scrolleffect.on && ("on" === b.scrolleffect.on_parallax_static_layers && d.isparallaxlayer || "on" === b.scrolleffect.on_static_layers && !d.isparallaxlayer) && (k = !0), j = !1); 3089 var l = c.data("noposteronmobile") || c.data("noPosterOnMobile") || c.data("posteronmobile") || c.data("posterOnMobile") || c.data("posterOnMObile"); 3090 c.data("noposteronmobile", l); 3091 var m = 0; 3092 if (c.find("iframe").each(function () { 3093 punchgs.TweenLite.set(jQuery(this), {autoAlpha: 0}), m++ 3094 }), m > 0 && c.data("iframes", !0), c.hasClass("tp-caption")) { 3095 var n = c.hasClass("slidelink") ? "width:100% !important;height:100% !important;" : "", o = c.data(), q = "", r = o.type, s = "row" === r || "column" === r ? "relative" : "absolute", t = ""; 3096 "row" === r ? (c.addClass("rev_row").removeClass("tp-resizeme"), t = "rev_row_wrap") : "column" === r ? (q = o.verticalalign === undefined ? " vertical-align:bottom;" : " vertical-align:" + o.verticalalign + ";", t = "rev_column", c.addClass("rev_column_inner").removeClass("tp-resizeme"), c.data("width", "auto"), punchgs.TweenLite.set(c, {width: "auto"})) : "group" === r && c.removeClass("tp-resizeme"); 3097 var u = "", v = ""; 3098 "row" !== r && "group" !== r && "column" !== r ? (u = "display:" + c.css("display") + ";", c.closest(".rev_column").length > 0 ? (c.addClass("rev_layer_in_column"), j = !1) : c.closest(".rev_group").length > 0 && (c.addClass("rev_layer_in_group"), j = !1)) : "column" === r && (j = !1), o.wrapper_class !== undefined && (t = t + " " + o.wrapper_class), o.wrapper_id !== undefined && (v = 'id="' + o.wrapper_id + '"'), c.wrap("<div " + v + ' class="tp-parallax-wrap ' + t + '" style="' + q + " " + n + "position:" + s + ";" + u + ';visibility:hidden"><div class="tp-loop-wrap" style="' + n + "position:" + s + ";" + u + ';"><div class="tp-mask-wrap" style="' + n + "position:" + s + ";" + u + ';" ></div></div></div>'), j && b.scrolleffect.on && ("on" === b.scrolleffect.on_parallax_layers && d.isparallaxlayer || "on" === b.scrolleffect.on_layers && !d.isparallaxlayer) && b.scrolleffect.layers.push(c.parent()), k && b.scrolleffect.layers.push(c.parent()), "column" === r && (c.append('<div class="rev_column_bg rev_column_bg_man_sized" style="visibility:hidden"></div>'), c.closest(".tp-parallax-wrap").append('<div class="rev_column_bg rev_column_bg_auto_sized"></div>')); 3099 var w = ["pendulum", "rotate", "slideloop", "pulse", "wave"], x = c.closest(".tp-loop-wrap"); 3100 jQuery.each(w, function (a, b) { 3101 var d = c.find(".rs-" + b), e = d.data() || ""; 3102 "" != e && (x.data(e), x.addClass("rs-" + b), d.children(0).unwrap(), c.data("loopanimation", "on")) 3103 }), c.attr("id") === undefined && c.attr("id", "layer-" + Math.round(999999999 * Math.random())), checkIDS(b, c), punchgs.TweenLite.set(c, {visibility: "hidden"}) 3104 } 3105 var y = c.data("actions"); 3106 y !== undefined && _R.checkActions(c, b, y), checkHoverDependencies(c, b), _R.checkVideoApis && (p = _R.checkVideoApis(c, b, p)), !_ISM || b.fallbacks.allowHTML5AutoPlayOnAndroid && g || (1 != e && "true" != e || (d.autoplayonlyfirsttime = !1, e = !1), 1 != f && "true" != f && "on" != f && "1sttime" != f || (d.autoplay = "off", f = "off")), h || 1 != e && "true" != e && "1sttime" != f || "loopandnoslidestop" == i || c.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-once"), h || 1 != f && "true" != f && "on" != f && "no1sttime" != f || "loopandnoslidestop" == i || c.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-always") 3107 }), a[0].addEventListener("mouseenter", function () { 3108 a.trigger("tp-mouseenter"), b.overcontainer = !0 3109 }, {passive: !0}), a[0].addEventListener("mouseover", function () { 3110 a.trigger("tp-mouseover"), b.overcontainer = !0 3111 }, {passive: !0}), a[0].addEventListener("mouseleave", function () { 3112 a.trigger("tp-mouseleft"), b.overcontainer = !1 3113 }, {passive: !0}), a.find(".tp-caption video").each(function (a) { 3114 var b = jQuery(this); 3115 b.removeClass("video-js vjs-default-skin"), b.attr("preload", ""), b.css({display: "none"}) 3116 }), "standard" !== b.sliderType && (b.lazyType = "all"), loadImages(a.find(".tp-static-layers"), b, 0, !0), waitForCurrentImages(a.find(".tp-static-layers"), b, function () { 3117 a.find(".tp-static-layers img").each(function () { 3118 var a = jQuery(this), c = a.data("lazyload") != undefined ? a.data("lazyload") : a.attr("src"), d = getLoadObj(b, c); 3119 a.attr("src", d.src) 3120 }) 3121 }), b.rowzones = [], b.allli.each(function (a) { 3122 var c = jQuery(this); 3123 b.rowzones[a] = [], c.find(".rev_row_zone").each(function () { 3124 b.rowzones[a].push(jQuery(this)) 3125 }), "all" != b.lazyType && ("smart" != b.lazyType || 0 != a && 1 != a && a != b.slideamount && a != b.slideamount - 1) || (loadImages(c, b, a), waitForCurrentImages(c, b, function () { 3126 })) 3127 }); 3128 var q = getUrlVars("#")[0]; 3129 if (q.length < 9 && q.split("slide").length > 1) { 3130 var r = parseInt(q.split("slide")[1], 0); 3131 r < 1 && (r = 1), r > b.slideamount && (r = b.slideamount), b.startWithSlide = r - 1 3132 } 3133 a.append('<div class="tp-loader ' + b.spinner + '"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>'), b.loader = a.find(".tp-loader"), 0 === a.find(".tp-bannertimer").length && a.append('<div class="tp-bannertimer" style="visibility:hidden"></div>'), a.find(".tp-bannertimer").css({width: "0%"}), b.ul.css({display: "block"}), prepareSlides(a, b), ("off" !== b.parallax.type || b.scrolleffect.on) && _R.checkForParallax && _R.checkForParallax(a, b), _R.setSize(b), "hero" !== b.sliderType && _R.createNavigation && _R.createNavigation(a, b), _R.resizeThumbsTabs && _R.resizeThumbsTabs && _R.resizeThumbsTabs(b), contWidthManager(b); 3134 var s = b.viewPort; 3135 b.inviewport = !1, s != undefined && s.enable && (jQuery.isNumeric(s.visible_area) || -1 !== s.visible_area.indexOf("%") && (s.visible_area = parseInt(s.visible_area) / 100), _R.scrollTicker && _R.scrollTicker(b, a)), "carousel" === b.sliderType && _R.prepareCarousel && (punchgs.TweenLite.set(b.ul, {opacity: 0}), _R.prepareCarousel(b, new punchgs.TimelineLite, undefined, 0), b.onlyPreparedSlide = !0), setTimeout(function () { 3136 if (!s.enable || s.enable && b.inviewport || s.enable && !b.inviewport && "wait" == !s.outof) swapSlide(a); else if (b.c.addClass("tp-waitforfirststart"), b.waitForFirstSlide = !0, s.presize) { 3137 var c = jQuery(b.li[0]); 3138 loadImages(c, b, 0, !0), waitForCurrentImages(c.find(".tp-layers"), b, function () { 3139 _R.animateTheCaptions({slide: c, opt: b, preset: !0}) 3140 }) 3141 } 3142 _R.manageNavigation && _R.manageNavigation(b), b.slideamount > 1 && (!s.enable || s.enable && b.inviewport ? countDown(a, b) : b.waitForCountDown = !0), setTimeout(function () { 3143 a.trigger("revolution.slide.onloaded") 3144 }, 100) 3145 }, b.startDelay), b.startDelay = 0, jQuery("body").data("rs-fullScreenMode", !1), window.addEventListener("fullscreenchange", onFullScreenChange, {passive: !0}), window.addEventListener("mozfullscreenchange", onFullScreenChange, {passive: !0}), window.addEventListener("webkitfullscreenchange", onFullScreenChange, {passive: !0}); 3146 var t = "resize.revslider-" + a.attr("id"); 3147 jQuery(window).on(t, function () { 3148 if (a == undefined)return !1; 3149 0 != jQuery("body").find(a) && contWidthManager(b); 3150 var c = !1; 3151 if ("fullscreen" == b.sliderLayout) { 3152 var d = jQuery(window).height(); 3153 "mobile" == b.fallbacks.ignoreHeightChanges && _ISM || "always" == b.fallbacks.ignoreHeightChanges ? (b.fallbacks.ignoreHeightChangesSize = b.fallbacks.ignoreHeightChangesSize == undefined ? 0 : b.fallbacks.ignoreHeightChangesSize, c = d != b.lastwindowheight && Math.abs(d - b.lastwindowheight) > b.fallbacks.ignoreHeightChangesSize) : c = d != b.lastwindowheight 3154 } 3155 (a.outerWidth(!0) != b.width || a.is(":hidden") || c) && (b.lastwindowheight = jQuery(window).height(), containerResized(a, b)) 3156 }), hideSliderUnder(a, b), contWidthManager(b), b.fallbacks.disableFocusListener || "true" == b.fallbacks.disableFocusListener || !0 === b.fallbacks.disableFocusListener || (a.addClass("rev_redraw_on_blurfocus"), tabBlurringCheck()) 3157 } 3158 }, cArray = function (a, b) { 3159 if (!jQuery.isArray(a)) { 3160 var c = a; 3161 a = new Array, a.push(c) 3162 } 3163 if (a.length < b)for (var c = a[a.length - 1], d = 0; d < b - a.length + 2; d++)a.push(c); 3164 return a 3165 }, checkHoverDependencies = function (a, b) { 3166 var c = a.data(); 3167 ("sliderenter" === c.start || c.frames !== undefined && c.frames[0] != undefined && "sliderenter" === c.frames[0].delay) && (b.layersonhover === undefined && (b.c.on("tp-mouseenter", function () { 3168 b.layersonhover && jQuery.each(b.layersonhover, function (a, c) { 3169 var d = c.data("closestli") || c.closest(".tp-revslider-slidesli"), e = c.data("staticli") || c.closest(".tp-static-layers"); 3170 c.data("closestli") === undefined && (c.data("closestli", d), c.data("staticli", e)), (d.length > 0 && d.hasClass("active-revslide") || d.hasClass("processing-revslide") || e.length > 0) && (c.data("animdirection", "in"), _R.playAnimationFrame && _R.playAnimationFrame({ 3171 caption: c, 3172 opt: b, 3173 frame: "frame_0", 3174 triggerdirection: "in", 3175 triggerframein: "frame_0", 3176 triggerframeout: "frame_999" 3177 }), c.data("triggerstate", "on")) 3178 }) 3179 }), b.c.on("tp-mouseleft", function () { 3180 b.layersonhover && jQuery.each(b.layersonhover, function (a, c) { 3181 c.data("animdirection", "out"), c.data("triggered", !0), c.data("triggerstate", "off"), _R.stopVideo && _R.stopVideo(c, b), _R.playAnimationFrame && _R.playAnimationFrame({ 3182 caption: c, 3183 opt: b, 3184 frame: "frame_999", 3185 triggerdirection: "out", 3186 triggerframein: "frame_0", 3187 triggerframeout: "frame_999" 3188 }) 3189 }) 3190 }), b.layersonhover = new Array), b.layersonhover.push(a)) 3191 }, contWidthManager = function (a) { 3192 var b = _R.getHorizontalOffset(a.c, "left"); 3193 if ("auto" == a.sliderLayout || "fullscreen" === a.sliderLayout && "on" == a.fullScreenAutoWidth) "fullscreen" == a.sliderLayout && "on" == a.fullScreenAutoWidth ? punchgs.TweenLite.set(a.ul, { 3194 left: 0, 3195 width: a.c.width() 3196 }) : punchgs.TweenLite.set(a.ul, {left: b, width: a.c.width() - _R.getHorizontalOffset(a.c, "both")}); else { 3197 var c = Math.ceil(a.c.closest(".forcefullwidth_wrapper_tp_banner").offset().left - b); 3198 punchgs.TweenLite.set(a.c.parent(), { 3199 left: 0 - c + "px", 3200 width: jQuery(window).width() - _R.getHorizontalOffset(a.c, "both") 3201 }) 3202 } 3203 a.slayers && "fullwidth" != a.sliderLayout && "fullscreen" != a.sliderLayout && punchgs.TweenLite.set(a.slayers, {left: b}) 3204 }, cv = function (a, b) { 3205 return a === undefined ? b : a 3206 }, hideSliderUnder = function (a, b, c) { 3207 var d = a.parent(); 3208 jQuery(window).width() < b.hideSliderAtLimit ? (a.trigger("stoptimer"), "none" != d.css("display") && d.data("olddisplay", d.css("display")), d.css({display: "none"})) : a.is(":hidden") && c && (d.data("olddisplay") != undefined && "undefined" != d.data("olddisplay") && "none" != d.data("olddisplay") ? d.css({display: d.data("olddisplay")}) : d.css({display: "block"}), a.trigger("restarttimer"), setTimeout(function () { 3209 containerResized(a, b) 3210 }, 150)), _R.hideUnHideNav && _R.hideUnHideNav(b) 3211 }, containerResized = function (a, b) { 3212 if (a.trigger("revolution.slide.beforeredraw"), 1 == b.infullscreenmode && (b.minHeight = jQuery(window).height()), setCurWinRange(b), setCurWinRange(b, !0), !_R.resizeThumbsTabs || !0 === _R.resizeThumbsTabs(b)) { 3213 if (hideSliderUnder(a, b, !0), contWidthManager(b), "carousel" == b.sliderType && _R.prepareCarousel(b, !0), a === undefined)return !1; 3214 _R.setSize(b), b.conw = b.c.width(), b.conh = b.infullscreenmode ? b.minHeight : b.c.height(); 3215 var c = a.find(".active-revslide .slotholder"), d = a.find(".processing-revslide .slotholder"); 3216 removeSlots(a, b, a, 2), "standard" === b.sliderType && (punchgs.TweenLite.set(d.find(".defaultimg"), {opacity: 0}), c.find(".defaultimg").css({opacity: 1})), "carousel" === b.sliderType && b.lastconw != b.conw && (clearTimeout(b.pcartimer), b.pcartimer = setTimeout(function () { 3217 _R.prepareCarousel(b, !0), "carousel" == b.sliderType && "on" === b.carousel.showLayersAllTime && jQuery.each(b.li, function (a) { 3218 _R.animateTheCaptions({slide: jQuery(b.li[a]), opt: b, recall: !0}) 3219 }) 3220 }, 100), b.lastconw = b.conw), _R.manageNavigation && _R.manageNavigation(b), _R.animateTheCaptions && a.find(".active-revslide").length > 0 && _R.animateTheCaptions({ 3221 slide: a.find(".active-revslide"), 3222 opt: b, 3223 recall: !0 3224 }), "on" == d.data("kenburns") && _R.startKenBurn(d, b, d.data("kbtl") !== undefined ? d.data("kbtl").progress() : 0), "on" == c.data("kenburns") && _R.startKenBurn(c, b, c.data("kbtl") !== undefined ? c.data("kbtl").progress() : 0), _R.animateTheCaptions && a.find(".processing-revslide").length > 0 && _R.animateTheCaptions({ 3225 slide: a.find(".processing-revslide"), 3226 opt: b, 3227 recall: !0 3228 }), _R.manageNavigation && _R.manageNavigation(b) 3229 } 3230 a.trigger("revolution.slide.afterdraw") 3231 }, setScale = function (a) { 3232 a.bw = a.width / a.gridwidth[a.curWinRange], a.bh = a.height / a.gridheight[a.curWinRange], a.bh > a.bw ? a.bh = a.bw : a.bw = a.bh, (a.bh > 1 || a.bw > 1) && (a.bw = 1, a.bh = 1) 3233 }, prepareSlides = function (a, b) { 3234 if (a.find(".tp-caption").each(function () { 3235 var a = jQuery(this); 3236 a.data("transition") !== undefined && a.addClass(a.data("transition")) 3237 }), b.ul.css({ 3238 overflow: "hidden", 3239 width: "100%", 3240 height: "100%", 3241 maxHeight: a.parent().css("maxHeight") 3242 }), "on" == b.autoHeight && (b.ul.css({ 3243 overflow: "hidden", 3244 width: "100%", 3245 height: "100%", 3246 maxHeight: "none" 3247 }), a.css({maxHeight: "none"}), a.parent().css({maxHeight: "none"})), b.allli.each(function (a) { 3248 var c = jQuery(this), d = c.data("originalindex"); 3249 (b.startWithSlide != undefined && d == b.startWithSlide || b.startWithSlide === undefined && 0 == a) && c.addClass("next-revslide"), c.css({ 3250 width: "100%", 3251 height: "100%", 3252 overflow: "hidden" 3253 }) 3254 }), "carousel" === b.sliderType) { 3255 b.ul.css({overflow: "visible"}).wrap('<div class="tp-carousel-wrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden;"></div>'); 3256 var c = '<div style="clear:both;display:block;width:100%;height:1px;position:relative;margin-bottom:-1px"></div>'; 3257 b.c.parent().prepend(c), b.c.parent().append(c), _R.prepareCarousel(b) 3258 } 3259 a.parent().css({overflow: "visible"}), b.allli.find(">img").each(function (a) { 3260 var c = jQuery(this), d = c.closest("li"), e = d.find(".rs-background-video-layer"); 3261 e.addClass("defaultvid").css({zIndex: 30}), c.addClass("defaultimg"), "on" == b.fallbacks.panZoomDisableOnMobile && _ISM && (c.data("kenburns", "off"), c.data("bgfit", "cover")); 3262 var f = d.data("mediafilter"); 3263 f = "none" === f || f === undefined ? "" : f, c.wrap('<div class="slotholder" style="position:absolute; top:0px; left:0px; z-index:0;width:100%;height:100%;"></div>'), e.appendTo(d.find(".slotholder")); 3264 var g = c.data(); 3265 c.closest(".slotholder").data(g), e.length > 0 && g.bgparallax != undefined && (e.data("bgparallax", g.bgparallax), e.data("showcoveronpause", "on")), "none" != b.dottedOverlay && b.dottedOverlay != undefined && c.closest(".slotholder").append('<div class="tp-dottedoverlay ' + b.dottedOverlay + '"></div>'); 3266 var h = c.attr("src"); 3267 g.src = h, g.bgfit = g.bgfit || "cover", g.bgrepeat = g.bgrepeat || "no-repeat", g.bgposition = g.bgposition || "center center"; 3268 var j = (c.closest(".slotholder"), c.data("bgcolor")), k = ""; 3269 k = j !== undefined && j.indexOf("gradient") >= 0 ? '"background:' + j + ';width:100%;height:100%;"' : '"background-color:' + j + ";background-repeat:" + g.bgrepeat + ";background-image:url(" + h + ");background-size:" + g.bgfit + ";background-position:" + g.bgposition + ';width:100%;height:100%;"', c.data("mediafilter", f), f = "on" === c.data("kenburns") ? "" : f; 3270 var l = jQuery('<div class="tp-bgimg defaultimg ' + f + '" data-bgcolor="' + j + '" style=' + k + "></div>"); 3271 c.parent().append(l); 3272 var m = document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - " + c.get(0).outerHTML); 3273 c.replaceWith(m), l.data(g), l.attr("src", h), "standard" !== b.sliderType && "undefined" !== b.sliderType || l.css({opacity: 0}) 3274 }), b.scrolleffect.on && "on" === b.scrolleffect.on_slidebg && (b.allslotholder = new Array, b.allli.find(".slotholder").each(function () { 3275 jQuery(this).wrap('<div style="display:block;position:absolute;top:0px;left:0px;width:100%;height:100%" class="slotholder_fadeoutwrap"></div>') 3276 }), b.allslotholder = b.c.find(".slotholder_fadeoutwrap")) 3277 }, removeSlots = function (a, b, c, d) { 3278 b.removePrepare = b.removePrepare + d, c.find(".slot, .slot-circle-wrapper").each(function () { 3279 jQuery(this).remove() 3280 }), b.transition = 0, b.removePrepare = 0 3281 }, cutParams = function (a) { 3282 var b = a; 3283 return a != undefined && a.length > 0 && (b = a.split("?")[0]), b 3284 }, relativeRedir = function (a) { 3285 return location.pathname.replace(/(.*)\/[^\/]*/, "$1/" + a) 3286 }, abstorel = function (a, b) { 3287 var c = a.split("/"), d = b.split("/"); 3288 c.pop(); 3289 for (var e = 0; e < d.length; e++)"." != d[e] && (".." == d[e] ? c.pop() : c.push(d[e])); 3290 return c.join("/") 3291 }, imgLoaded = function (a, b, c) { 3292 b.syncload--, b.loadqueue && jQuery.each(b.loadqueue, function (b, d) { 3293 var e = d.src.replace(/\.\.\/\.\.\//gi, ""), f = self.location.href, g = document.location.origin, h = f.substring(0, f.length - 1) + "/" + e, i = g + "/"
3293+ e, j = abstorel(self.location.href, d.src); 3294 f = f.substring(0, f.length - 1) + e, g += e, (cutParams(g) === cutParams(decodeURIComponent(a.src)) || cutParams(f) === cutParams(decodeURIComponent(a.src)) || cutParams(j) === cutParams(decodeURIComponent(a.src)) || cutParams(i) === cutParams(decodeURIComponent(a.src)) || cutParams(h) === cutParams(decodeURIComponent(a.src)) || cutParams(d.src) === cutParams(decodeURIComponent(a.src)) || cutParams(d.src).replace(/^.*\/\/[^\/]+/, "") === cutParams(decodeURIComponent(a.src)).replace(/^.*\/\/[^\/]+/, "") || "file://" === window.location.origin && cutParams(a.src).match(new RegExp(e))) && (d.progress = c, d.width = a.width, d.height = a.height) 3295 }), progressImageLoad(b) 3296 }, progressImageLoad = function (a) { 3297 3 != a.syncload && a.loadqueue && jQuery.each(a.loadqueue, function (b, c) { 3298 if (c.progress.match(/prepared/g) && a.syncload <= 3) { 3299 if (a.syncload++, "img" == c.type) { 3300 var d = new Image; 3301 d.onload = function () { 3302 imgLoaded(this, a, "loaded"), c.error = !1 3303 }, d.src = c.src 3304 } else jQuery.get(c.src, function (b) { 3305 c.innerHTML = (new XMLSerializer).serializeToString(b.documentElement), c.progress = "loaded", a.syncload--, progressImageLoad(a) 3306 }).fail(function () { 3307 c.progress = "failed", a.syncload--, progressImageLoad(a) 3308 }); 3309 c.progress = "inload" 3310 } 3311 }) 3312 }, addToLoadQueue = function (a, b, c, d, e) { 3313 var f = !1; 3314 if (b.loadqueue && jQuery.each(b.loadqueue, function (b, c) { 3315 c.src === a && (f = !0) 3316 }), !f) { 3317 var g = new Object; 3318 g.src = a, g.starttoload = jQuery.now(), g.type = d || "img", g.prio = c, g.progress = "prepared", g.static = e, b.loadqueue.push(g) 3319 } 3320 }, loadImages = function (a, b, c, d) { 3321 a.find("img,.defaultimg, .tp-svg-layer").each(function () { 3322 var a = jQuery(this), e = a.data("lazyload") !== undefined && "undefined" !== a.data("lazyload") ? a.data("lazyload") : a.data("svg_src") != undefined ? a.data("svg_src") : a.attr("src"), f = a.data("svg_src") != undefined ? "svg" : "img"; 3323 a.data("start-to-load", jQuery.now()), addToLoadQueue(e, b, c, f, d) 3324 }), progressImageLoad(b) 3325 }, getLoadObj = function (a, b) { 3326 var c = new Object; 3327 return a.loadqueue && jQuery.each(a.loadqueue, function (a, d) { 3328 d.src == b && (c = d) 3329 }), c 3330 }, waitForCurrentImages = function (a, b, c) { 3331 var d = !1; 3332 a.find("img,.defaultimg, .tp-svg-layer").each(function () { 3333 var loadtime = 5e3, c = jQuery(this), e = c.data("lazyload") != undefined ? c.data("lazyload") : c.data("svg_src") != undefined ? c.data("svg_src") : c.attr("src"), f = getLoadObj(b, e); 3334 var e_queue = jQuery('body').data('loading_img_queue'); 3335 if(!e_queue) 3336 e_queue = {}; 3337 if(typeof e_queue[e] == 'undefined') 3338 { 3339 e_queue[e] = jQuery("<img/>") 3340 .on('load', function() { 3341 f.error = false; 3342 f.progress = 'loaded'; 3343 c.data('loaded',1); 3344 }) 3345 .on('error', function() { 3346 f.error = false; 3347 f.progress = 'failed'; 3348 c.data('loaded',undefined); 3349 }) 3350 .attr("src", e); 3351 jQuery('body').data('loading_img_queue',e_queue); 3352 } 3353 if (c.data("loaded") === undefined && f !== undefined && f.progress && f.progress.match(/loaded/g)) { 3354 if (c.attr("src", f.src), "img" == f.type)if (c.hasClass("defaultimg")) _R.isIE(8) ? defimg.attr("src", f.src) : -1 == f.src.indexOf("images/transparent.png") && -1 == f.src.indexOf("assets/transparent.png") || c.data("bgcolor") === undefined ? c.css({backgroundImage: 'url("' + f.src + '")'}) : c.data("bgcolor") !== undefined && c.css({background: c.data("bgcolor")}), a.data("owidth", f.width), a.data("oheight", f.height), a.find(".slotholder").data("owidth", f.width), a.find(".slotholder").data("oheight", f.height); else {
vendor: 19,666 bytes, lines 3355-3602
3355 var g = c.data("ww"), h = c.data("hh"); 3356 c.data("owidth", f.width), c.data("oheight", f.height), g = g == undefined || "auto" == g || "" == g ? f.width : g, h = h == undefined || "auto" == h || "" == h ? f.height : h, !jQuery.isNumeric(g) && g.indexOf("%") > 0 && (h = g), c.data("ww", g), c.data("hh", h) 3357 } else"svg" == f.type && "loaded" == f.progress && (c.append('<div class="tp-svg-innercontainer"></div>'), c.find(".tp-svg-innercontainer").append(f.innerHTML)); 3358 c.data("loaded", !0) 3359 } 3360 if (f && f.progress && f.progress.match(/inprogress|inload|prepared/g) && (!f.error && jQuery.now() - c.data("start-to-load") < loadtime ? d = !0 : (f.progress = "failed", f.reported_img || (f.reported_img = !0, console.warn(e + " Could not be loaded !")))), 1 == b.youtubeapineeded && (!window.YT || YT.Player == undefined) && (d = !0, jQuery.now() - b.youtubestarttime > 5e3 && 1 != b.youtubewarning)) { 3361 b.youtubewarning = !0; 3362 var i = "YouTube Api Could not be loaded !"; 3363 "https:" === location.protocol && (i += " Please Check and Renew SSL Certificate !"), console.error(i), b.c.append('<div style="position:absolute;top:50%;width:100%;color:#e74c3c; font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>' + i + "</strong></div>") 3364 } 3365 if (1 == b.vimeoapineeded && !window.Froogaloop && (d = !0, jQuery.now() - b.vimeostarttime > 5e3 && 1 != b.vimeowarning)) { 3366 b.vimeowarning = !0; 3367 var i = "Vimeo Froogaloop Api Could not be loaded !"; 3368 "https:" === location.protocol && (i += " Please Check and Renew SSL Certificate !"), console.error(i), b.c.append('<div style="position:absolute;top:50%;width:100%;color:#e74c3c; font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>' + i + "</strong></div>") 3369 } 3370 }), !_ISM && b.audioqueue && b.audioqueue.length > 0 && jQuery.each(b.audioqueue, function (a, b) { 3371 b.status && "prepared" === b.status && jQuery.now() - b.start < b.waittime && (d = !0) 3372 }), jQuery.each(b.loadqueue, function (a, b) { 3373 !0 !== b.static || "loaded" == b.progress && "failed" !== b.progress || ("failed" == b.progress ? b.reported || (b.reported = !0, console.warn("Static Image " + b.src + " Could not be loaded in time. Error Exists:" + b.error)) : !b.error && jQuery.now() - b.starttoload < loadtime ? d = !0 : b.reported || (b.reported = !0, console.warn("Static Image " + b.src + " Could not be loaded within 5s! Error Exists:" + b.error))) 3374 }), d ? punchgs.TweenLite.delayedCall(.18, waitForCurrentImages, [a, b, c]) : punchgs.TweenLite.delayedCall(.18, c) 3375 }, swapSlide = function (a) { 3376 var b = a[0].opt; 3377 if (clearTimeout(b.waitWithSwapSlide), a.find(".processing-revslide").length > 0)return b.waitWithSwapSlide = setTimeout(function () { 3378 swapSlide(a) 3379 }, 150), !1; 3380 var c = a.find(".active-revslide"), d = a.find(".next-revslide"), e = d.find(".defaultimg"); 3381 if ("carousel" !== b.sliderType || b.carousel.fadein || (punchgs.TweenLite.to(b.ul, 1, {opacity: 1}), b.carousel.fadein = !0), d.index() === c.index() && !0 !== b.onlyPreparedSlide)return d.removeClass("next-revslide"), !1; 3382 !0 === b.onlyPreparedSlide && (b.onlyPreparedSlide = !1, jQuery(b.li[0]).addClass("processing-revslide")), d.removeClass("next-revslide").addClass("processing-revslide"), -1 === d.index() && "carousel" === b.sliderType && (d = jQuery(b.li[0])), d.data("slide_on_focus_amount", d.data("slide_on_focus_amount") + 1 || 1), "on" == b.stopLoop && d.index() == b.lastslidetoshow - 1 && (a.find(".tp-bannertimer").css({visibility: "hidden"}), a.trigger("revolution.slide.onstop"), b.noloopanymore = 1), d.index() === b.slideamount - 1 && (b.looptogo = b.looptogo - 1, b.looptogo <= 0 && (b.stopLoop = "on")), b.tonpause = !0, a.trigger("stoptimer"), b.cd = 0, "off" === b.spinner && (b.loader !== undefined ? b.loader.css({display: "none"}) : b.loadertimer = setTimeout(function () { 3383 b.loader !== undefined && b.loader.css({display: "block"}) 3384 }, 50)), loadImages(d, b, 1), _R.preLoadAudio && _R.preLoadAudio(d, b, 1), waitForCurrentImages(d, b, function () { 3385 d.find(".rs-background-video-layer").each(function () { 3386 var a = jQuery(this); 3387 a.hasClass("HasListener") || (a.data("bgvideo", 1), _R.manageVideoLayer && _R.manageVideoLayer(a, b)), 0 == a.find(".rs-fullvideo-cover").length && a.append('<div class="rs-fullvideo-cover"></div>') 3388 }), swapSlideProgress(e, a) 3389 }) 3390 }, swapSlideProgress = function (a, b) { 3391 var c = b.find(".active-revslide"), d = b.find(".processing-revslide"), e = c.find(".slotholder"), f = d.find(".slotholder"), g = b[0].opt; 3392 g.tonpause = !1, g.cd = 0, clearTimeout(g.loadertimer), g.loader !== undefined && g.loader.css({display: "none"}), _R.setSize(g), _R.slotSize(a, g), _R.manageNavigation && _R.manageNavigation(g); 3393 var h = {}; 3394 h.nextslide = d, h.currentslide = c, b.trigger("revolution.slide.onbeforeswap", h), g.transition = 1, g.videoplaying = !1, d.data("delay") != undefined ? (g.cd = 0, g.delay = d.data("delay")) : g.delay = g.origcd, "true" == d.data("ssop") || !0 === d.data("ssop") ? g.ssop = !0 : g.ssop = !1, b.trigger("nulltimer"); 3395 var i = c.index(), j = d.index(); 3396 g.sdir = j < i ? 1 : 0, "arrow" == g.sc_indicator && (0 == i && j == g.slideamount - 1 && (g.sdir = 1), i == g.slideamount - 1 && 0 == j && (g.sdir = 0)), g.lsdir = g.lsdir === undefined ? g.sdir : g.lsdir, g.dirc = g.lsdir != g.sdir, g.lsdir = g.sdir, c.index() != d.index() && 1 != g.firststart && _R.removeTheCaptions && _R.removeTheCaptions(c, g), d.hasClass("rs-pause-timer-once") || d.hasClass("rs-pause-timer-always") ? g.videoplaying = !0 : b.trigger("restarttimer"), d.removeClass("rs-pause-timer-once"); 3397 var k, m; 3398 if (g.currentSlide = c.index(), g.nextSlide = d.index(), "carousel" == g.sliderType) m = new punchgs.TimelineLite, _R.prepareCarousel(g, m), letItFree(b, f, e, d, c, m), g.transition = 0, g.firststart = 0; else { 3399 m = new punchgs.TimelineLite({ 3400 onComplete: function () { 3401 letItFree(b, f, e, d, c, m) 3402 } 3403 }), m.add(punchgs.TweenLite.set(f.find(".defaultimg"), {opacity: 0})), m.pause(), _R.animateTheCaptions && _R.animateTheCaptions({ 3404 slide: d, 3405 opt: g, 3406 preset: !0 3407 }), 1 == g.firststart && (punchgs.TweenLite.set(c, {autoAlpha: 0}), g.firststart = 0), punchgs.TweenLite.set(c, {zIndex: 18}), punchgs.TweenLite.set(d, { 3408 autoAlpha: 0, 3409 zIndex: 20 3410 }), "prepared" == d.data("differentissplayed") && (d.data("differentissplayed", "done"), d.data("transition", d.data("savedtransition")), d.data("slotamount", d.data("savedslotamount")), d.data("masterspeed", d.data("savedmasterspeed"))), d.data("fstransition") != undefined && "done" != d.data("differentissplayed") && (d.data("savedtransition", d.data("transition")), d.data("savedslotamount", d.data("slotamount")), d.data("savedmasterspeed", d.data("masterspeed")), d.data("transition", d.data("fstransition")), d.data("slotamount", d.data("fsslotamount")), d.data("masterspeed", d.data("fsmasterspeed")), d.data("differentissplayed", "prepared")), d.data("transition") == undefined && d.data("transition", "random"), k = 0; 3411 var n = d.data("transition") !== undefined ? d.data("transition").split(",") : "fade", o = d.data("nexttransid") == undefined ? -1 : d.data("nexttransid"); 3412 "on" == d.data("randomtransition") ? o = Math.round(Math.random() * n.length) : o += 1, o == n.length && (o = 0), d.data("nexttransid", o); 3413 var p = n[o]; 3414 g.ie && ("boxfade" == p && (p = "boxslide"), "slotfade-vertical" == p && (p = "slotzoom-vertical"), "slotfade-horizontal" == p && (p = "slotzoom-horizontal")), _R.isIE(8) && (p = 11), m = _R.animateSlide(k, p, b, d, c, f, e, m), "on" == f.data("kenburns") && (_R.startKenBurn(f, g), m.add(punchgs.TweenLite.set(f, {autoAlpha: 0}))), m.pause() 3415 } 3416 _R.scrollHandling && (_R.scrollHandling(g, !0, 0), m.eventCallback("onUpdate", function () { 3417 _R.scrollHandling(g, !0, 0) 3418 })), "off" != g.parallax.type && g.parallax.firstgo == undefined && _R.scrollHandling && (g.parallax.firstgo = !0, g.lastscrolltop = -999, _R.scrollHandling(g, !0, 0), setTimeout(function () { 3419 g.lastscrolltop = -999, _R.scrollHandling(g, !0, 0) 3420 }, 210), setTimeout(function () { 3421 g.lastscrolltop = -999, _R.scrollHandling(g, !0, 0) 3422 }, 420)), _R.animateTheCaptions ? "carousel" === g.sliderType && "on" === g.carousel.showLayersAllTime ? (jQuery.each(g.li, function (a) { 3423 g.carousel.allLayersStarted ? _R.animateTheCaptions({ 3424 slide: jQuery(g.li[a]), 3425 opt: g, 3426 recall: !0 3427 }) : g.li[a] === d ? _R.animateTheCaptions({ 3428 slide: jQuery(g.li[a]), 3429 maintimeline: m, 3430 opt: g, 3431 startslideanimat: 0 3432 }) : _R.animateTheCaptions({slide: jQuery(g.li[a]), opt: g, startslideanimat: 0}) 3433 }), g.carousel.allLayersStarted = !0) : _R.animateTheCaptions({ 3434 slide: d, 3435 opt: g, 3436 maintimeline: m, 3437 startslideanimat: 0 3438 }) : m != undefined && setTimeout(function () { 3439 m.resume() 3440 }, 30), punchgs.TweenLite.to(d, .001, {autoAlpha: 1}) 3441 }, letItFree = function (a, b, c, d, e, f) { 3442 var g = a[0].opt; 3443 "carousel" === g.sliderType || (g.removePrepare = 0, punchgs.TweenLite.to(b.find(".defaultimg"), .001, { 3444 zIndex: 20, 3445 autoAlpha: 1, 3446 onComplete: function () { 3447 removeSlots(a, g, d, 1) 3448 } 3449 }), d.index() != e.index() && punchgs.TweenLite.to(e, .2, { 3450 zIndex: 18, autoAlpha: 0, onComplete: function () { 3451 removeSlots(a, g, e, 1) 3452 } 3453 })), a.find(".active-revslide").removeClass("active-revslide"), a.find(".processing-revslide").removeClass("processing-revslide").addClass("active-revslide"), g.act = d.index(), g.c.attr("data-slideactive", a.find(".active-revslide").data("index")), "scroll" != g.parallax.type && "scroll+mouse" != g.parallax.type && "mouse+scroll" != g.parallax.type || (g.lastscrolltop = -999, _R.scrollHandling(g)), f.clear(), c.data("kbtl") != undefined && (c.data("kbtl").reverse(), c.data("kbtl").timeScale(25)), "on" == b.data("kenburns") && (b.data("kbtl") != undefined ? (b.data("kbtl").timeScale(1), b.data("kbtl").play()) : _R.startKenBurn(b, g)), d.find(".rs-background-video-layer").each(function (a) { 3454 if (_ISM && !g.fallbacks.allowHTML5AutoPlayOnAndroid)return !1; 3455 var b = jQuery(this); 3456 _R.resetVideo(b, g), punchgs.TweenLite.fromTo(b, 1, {autoAlpha: 0}, { 3457 autoAlpha: 1, 3458 ease: punchgs.Power3.easeInOut, 3459 delay: .2, 3460 onComplete: function () { 3461 _R.animcompleted && _R.animcompleted(b, g) 3462 } 3463 }) 3464 }), e.find(".rs-background-video-layer").each(function (a) { 3465 if (_ISM)return !1; 3466 var b = jQuery(this); 3467 _R.stopVideo && (_R.resetVideo(b, g), _R.stopVideo(b, g)), punchgs.TweenLite.to(b, 1, { 3468 autoAlpha: 0, 3469 ease: punchgs.Power3.easeInOut, 3470 delay: .2 3471 }) 3472 }); 3473 var h = {}; 3474 if (h.slideIndex = d.index() + 1, h.slideLIIndex = d.index(), h.slide = d, h.currentslide = d, h.prevslide = e, g.last_shown_slide = e.index(), a.trigger("revolution.slide.onchange", h), a.trigger("revolution.slide.onafterswap", h), g.startWithSlide !== undefined && "done" !== g.startWithSlide && "carousel" === g.sliderType) { 3475 for (var i = g.startWithSlide, j = 0; j <= g.li.length - 1; j++) { 3476 jQuery(g.li[j]).data("originalindex") === g.startWithSlide && (i = j) 3477 } 3478 0 !== i && _R.callingNewSlide(g.c, i), g.startWithSlide = "done" 3479 } 3480 g.duringslidechange = !1; 3481 var l = e.data("slide_on_focus_amount"), m = e.data("hideafterloop"); 3482 0 != m && m <= l && g.c.revremoveslide(e.index()); 3483 var n = -1 === g.nextSlide || g.nextSlide === undefined ? 0 : g.nextSlide; 3484 g.rowzones != undefined && (n = n > g.rowzones.length ? g.rowzones.length : n), g.rowzones != undefined && g.rowzones.length > 0 && g.rowzones[n] != undefined && n >= 0 && n <= g.rowzones.length && g.rowzones[n].length > 0 && _R.setSize(g) 3485 }, removeAllListeners = function (a, b) { 3486 a.children().each(function () { 3487 try { 3488 jQuery(this).die("click") 3489 } catch (a) { 3490 } 3491 try { 3492 jQuery(this).die("mouseenter") 3493 } catch (a) { 3494 } 3495 try { 3496 jQuery(this).die("mouseleave") 3497 } catch (a) { 3498 } 3499 try { 3500 jQuery(this).unbind("hover") 3501 } catch (a) { 3502 } 3503 }); 3504 try { 3505 a.die("click", "mouseenter", "mouseleave") 3506 } catch (a) { 3507 } 3508 clearInterval(b.cdint), a = null 3509 }, countDown = function (a, b) { 3510 b.cd = 0, b.loop = 0, b.stopAfterLoops != undefined && b.stopAfterLoops > -1 ? b.looptogo = b.stopAfterLoops : b.looptogo = 9999999, b.stopAtSlide != undefined && b.stopAtSlide > -1 ? b.lastslidetoshow = b.stopAtSlide : b.lastslidetoshow = 999, b.stopLoop = "off", 0 == b.looptogo && (b.stopLoop = "on"); 3511 var c = a.find(".tp-bannertimer"); 3512 a.on("stoptimer", function () { 3513 var a = jQuery(this).find(".tp-bannertimer"); 3514 a[0].tween.pause(), "on" == b.disableProgressBar && a.css({visibility: "hidden"}), b.sliderstatus = "paused", _R.unToggleState(b.slidertoggledby) 3515 }), a.on("starttimer", function () { 3516 b.forcepause_viatoggle || (1 != b.conthover && 1 != b.videoplaying && b.width > b.hideSliderAtLimit && 1 != b.tonpause && 1 != b.overnav && 1 != b.ssop && (1 === b.noloopanymore || b.viewPort.enable && !b.inviewport || (c.css({visibility: "visible"}), c[0].tween.resume(), b.sliderstatus = "playing")), "on" == b.disableProgressBar && c.css({visibility: "hidden"}), _R.toggleState(b.slidertoggledby)) 3517 }), a.on("restarttimer", function () { 3518 if (!b.forcepause_viatoggle) { 3519 var a = jQuery(this).find(".tp-bannertimer"); 3520 if (b.mouseoncontainer && "on" == b.navigation.onHoverStop && !_ISM)return !1; 3521 1 === b.noloopanymore || b.viewPort.enable && !b.inviewport || 1 == b.ssop || (a.css({visibility: "visible"}), a[0].tween.kill(), a[0].tween = punchgs.TweenLite.fromTo(a, b.delay / 1e3, {width: "0%"}, { 3522 force3D: "auto", 3523 width: "100%", 3524 ease: punchgs.Linear.easeNone, 3525 onComplete: d, 3526 delay: 1 3527 }), b.sliderstatus = "playing"), "on" == b.disableProgressBar && a.css({visibility: "hidden"}), _R.toggleState(b.slidertoggledby) 3528 } 3529 }), a.on("nulltimer", function () { 3530 c[0].tween.kill(), c[0].tween = punchgs.TweenLite.fromTo(c, b.delay / 1e3, {width: "0%"}, { 3531 force3D: "auto", 3532 width: "100%", 3533 ease: punchgs.Linear.easeNone, 3534 onComplete: d, 3535 delay: 1 3536 }), c[0].tween.pause(0), "on" == b.disableProgressBar && c.css({visibility: "hidden"}), b.sliderstatus = "paused" 3537 }); 3538 var d = function () { 3539 0 == jQuery("body").find(a).length && (removeAllListeners(a, b), clearInterval(b.cdint)), a.trigger("revolution.slide.slideatend"), 1 == a.data("conthover-changed") && (b.conthover = a.data("conthover"), a.data("conthover-changed", 0)), _R.callingNewSlide(a, 1) 3540 }; 3541 c[0].tween = punchgs.TweenLite.fromTo(c, b.delay / 1e3, {width: "0%"}, { 3542 force3D: "auto", 3543 width: "100%", 3544 ease: punchgs.Linear.easeNone, 3545 onComplete: d, 3546 delay: 1 3547 }), b.slideamount > 1 && (0 != b.stopAfterLoops || 1 != b.stopAtSlide) ? a.trigger("starttimer") : (b.noloopanymore = 1, a.trigger("nulltimer")), a.on("tp-mouseenter", function () { 3548 b.mouseoncontainer = !0, "on" != b.navigation.onHoverStop || _ISM || (a.trigger("stoptimer"), a.trigger("revolution.slide.onpause")) 3549 }), a.on("tp-mouseleft", function () { 3550 b.mouseoncontainer = !1, 1 != a.data("conthover") && "on" == b.navigation.onHoverStop && (1 == b.viewPort.enable && b.inviewport || 0 == b.viewPort.enable) && (a.trigger("revolution.slide.onresume"), a.trigger("starttimer")) 3551 }) 3552 }, vis = function () { 3553 var a, b, c = { 3554 hidden: "visibilitychange", 3555 webkitHidden: "webkitvisibilitychange", 3556 mozHidden: "mozvisibilitychange", 3557 msHidden: "msvisibilitychange" 3558 }; 3559 for (a in c)if (a in document) { 3560 b = c[a]; 3561 break 3562 } 3563 return function (c) { 3564 return c && document.addEventListener(b, c, {pasive: !0}), !document[a] 3565 } 3566 }(), restartOnFocus = function () { 3567 jQuery(".rev_redraw_on_blurfocus").each(function () { 3568 var a = jQuery(this)[0].opt; 3569 if (a == undefined || a.c == undefined || 0 === a.c.length)return !1; 3570 1 != a.windowfocused && (a.windowfocused = !0, punchgs.TweenLite.delayedCall(.3, function () { 3571 "on" == a.fallbacks.nextSlideOnWindowFocus && a.c.revnext(), a.c.revredraw(), "playing" == a.lastsliderstatus && a.c.revresume() 3572 })) 3573 }) 3574 }, lastStatBlur = function () { 3575 jQuery(".rev_redraw_on_blurfocus").each(function () { 3576 var a = jQuery(this)[0].opt; 3577 a.windowfocused = !1, a.lastsliderstatus = a.sliderstatus, a.c.revpause(); 3578 var b = a.c.find(".active-revslide .slotholder"), c = a.c.find(".processing-revslide .slotholder"); 3579 "on" == c.data("kenburns") && _R.stopKenBurn(c, a), "on" == b.data("kenburns") && _R.stopKenBurn(b, a) 3580 }) 3581 }, tabBlurringCheck = function () { 3582 var a = document.documentMode === undefined, b = window.chrome; 3583 1 !== jQuery("body").data("revslider_focus_blur_listener") && (jQuery("body").data("revslider_focus_blur_listener", 1), a && !b ? jQuery(window).on("focusin", function () { 3584 restartOnFocus() 3585 }).on("focusout", function () { 3586 lastStatBlur() 3587 }) : window.addEventListener ? (window.addEventListener("focus", function (a) { 3588 restartOnFocus() 3589 }, {capture: !1, passive: !0}), window.addEventListener("blur", function (a) { 3590 lastStatBlur() 3591 }, {capture: !1, passive: !0})) : (window.attachEvent("focus", function (a) { 3592 restartOnFocus() 3593 }), window.attachEvent("blur", function (a) { 3594 lastStatBlur() 3595 }))) 3596 }, getUrlVars = function (a) { 3597 for (var c, b = [], d = window.location.href.slice(window.location.href.indexOf(a) + 1).split("_"), e = 0; e < d.length; e++)d[e] = d[e].replace("%3D", "="), c = d[e].split("="), b.push(c[0]), b[c[0]] = c[1]; 3598 return b 3599 } 3600}(jQuery); 3601;/*})'"*/ 3602;/*})'"*/
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.