1/************************************************************************** 2 * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider 3 * @version: 5.2.4 (25.03.2016) 4 * @requires jQuery v1.7 or later (tested on 1.9) 5 * @author ThemePunch 6 **************************************************************************/ 7! function (jQuery, undefined) { 8 "use strict"; 9 jQuery.fn.extend({ 10 revolution: function (e) { 11 var t = { 12 delay: 9e3, 13 responsiveLevels: 4064, 14 visibilityLevels: [2048, 1024, 778, 480], 15 gridwidth: 960, 16 gridheight: 500, 17 minHeight: 0, 18 autoHeight: "off", 19 sliderType: "standard", 20 sliderLayout: "auto", 21 fullScreenAutoWidth: "off", 22 fullScreenAlignForce: "off", 23 fullScreenOffsetContainer: "", 24 fullScreenOffset: "0", 25 hideCaptionAtLimit: 0, 26 hideAllCaptionAtLimit: 0, 27 hideSliderAtLimit: 0, 28 disableProgressBar: "off", 29 stopAtSlide: -1, 30 stopAfterLoops: -1, 31 shadow: 0, 32 dottedOverlay: "none", 33 startDelay: 0, 34 lazyType: "smart", 35 spinner: "spinner0", 36 shuffle: "off", 37 viewPort: { 38 enable: !1, 39 outof: "wait", 40 visible_area: "60%" 41 }, 42 fallbacks: { 43 isJoomla: !1, 44 panZoomDisableOnMobile: "off", 45 simplifyAll: "on", 46 nextSlideOnWindowFocus: "off", 47 disableFocusListener: !0 48 }, 49 parallax: { 50 type: "off", 51 levels: [10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85], 52 origo: "enterpoint", 53 speed: 400, 54 bgparallax: "off", 55 opacity: "on", 56 disable_onmobile: "off", 57 ddd_shadow: "on", 58 ddd_bgfreeze: "off", 59 ddd_overflow: "visible", 60 ddd_layer_overflow: "visible", 61 ddd_z_correction: 65, 62 ddd_path: "mouse" 63 }, 64 carousel: { 65 horizontal_align: "center", 66 vertical_align: "center", 67 infinity: "on", 68 space: 0, 69 maxVisibleItems: 3, 70 stretch: "off", 71 fadeout: "on", 72 maxRotation: 0, 73 minScale: 0, 74 vary_fade: "off", 75 vary_rotation: "on", 76 vary_scale: "off", 77 border_radius: "0px", 78 padding_top: 0, 79 padding_bottom: 0 80 }, 81 navigation: { 82 keyboardNavigation: "on", 83 keyboard_direction: "horizontal", 84 mouseScrollNavigation: "off", 85 onHoverStop: "on", 86 touch: { 87 touchenabled: "off", 88 swipe_treshold: 75, 89 swipe_min_touches: 1, 90 drag_block_vertical: !1, 91 swipe_direction: "horizontal" 92 }, 93 arrows: { 94 style: "", 95 enable: !1, 96 hide_onmobile: !1, 97 hide_onleave: !0, 98 hide_delay: 200, 99 hide_delay_mobile: 1200, 100 hide_under: 0, 101 hide_over: 9999, 102 tmp: "", 103 rtl: !1, 104 left: { 105 h_align: "left", 106 v_align: "center", 107 h_offset: 20, 108 v_offset: 0, 109 container: "slider" 110 }, 111 right: { 112 h_align: "right", 113 v_align: "center", 114 h_offset: 20, 115 v_offset: 0, 116 container: "slider" 117 } 118 }, 119 bullets: { 120 container: "slider", 121 rtl: !1, 122 style: "", 123 enable: !1, 124 hide_onmobile: !1, 125 hide_onleave: !0, 126 hide_delay: 200, 127 hide_delay_mobile: 1200, 128 hide_under: 0, 129 hide_over: 9999, 130 direction: "horizontal", 131 h_align: "left", 132 v_align: "center", 133 space: 0, 134 h_offset: 20, 135 v_offset: 0, 136 tmp: '<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>' 137 }, 138 thumbnails: { 139 container: "slider", 140 rtl: !1, 141 style: "", 142 enable: !1, 143 width: 100, 144 height: 50, 145 min_width: 100, 146 wrapper_padding: 2, 147 wrapper_color: "#f5f5f5", 148 wrapper_opacity: 1, 149 tmp: '<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',
150 visibleAmount: 5, 151 hide_onmobile: !1, 152 hide_onleave: !0, 153 hide_delay: 200, 154 hide_delay_mobile: 1200, 155 hide_under: 0, 156 hide_over: 9999, 157 direction: "horizontal", 158 span: !1, 159 position: "inner", 160 space: 2, 161 h_align: "left", 162 v_align: "center", 163 h_offset: 20, 164 v_offset: 0 165 }, 166 tabs: { 167 container: "slider", 168 rtl: !1, 169 style: "", 170 enable: !1, 171 width: 100, 172 min_width: 100, 173 height: 50, 174 wrapper_padding: 10, 175 wrapper_color: "#f5f5f5", 176 wrapper_opacity: 1, 177 tmp: '<span class="tp-tab-image"></span>', 178 visibleAmount: 5, 179 hide_onmobile: !1, 180 hide_onleave: !0, 181 hide_delay: 200, 182 hide_delay_mobile: 1200, 183 hide_under: 0, 184 hide_over: 9999, 185 direction: "horizontal", 186 span: !1, 187 space: 0, 188 position: "inner", 189 h_align: "left", 190 v_align: "center", 191 h_offset: 20, 192 v_offset: 0 193 } 194 }, 195 extensions: "extensions/", 196 extensions_suffix: ".min.js", 197 debugMode: !1 198 }; 199 return e = jQuery.extend(!0, {}, t, e), this.each(function () { 200 var t = jQuery(this); 201 "hero" == e.sliderType && t.find(">ul>li").each(function (e) { 202 e > 0 && jQuery(this).remove() 203 }), e.jsFileLocation = e.jsFileLocation || getScriptLocation("themepunch.revolution.min.js"), e.jsFileLocation = e.jsFileLocation + e.extensions, e.scriptsneeded = getNeededScripts(e, t), e.curWinRange = 0, e.rtl = !0, e.navigation != undefined && e.navigation.touch != undefined && (e.navigation.touch.swipe_min_touches = e.navigation.touch.swipe_min_touches > 5 ? 1 : e.navigation.touch.swipe_min_touches), jQuery(this).on("scriptsloaded", function () { 204 return e.modulesfailing ? (t.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.' + e.errorm + "</div>").show(), !1) : (_R.migration != undefined && (e = _R.migration(t, e)), punchgs.force3D = !0, "on" !== e.simplifyAll && punchgs.TweenLite.lagSmoothing(1e3, 16), prepareOptions(t, e), void initSlider(t, e)) 205 }), t.data("opt", e), waitForScripts(t, e) 206 }) 207 }, 208 revremoveslide: function (e) { 209 return this.each(function () { 210 var t = jQuery(this); 211 if (t != undefined && t.length > 0 && jQuery("body").find("#" + t.attr("id")).length > 0) { 212 var i = t.parent().find(".tp-bannertimer"), 213 n = i.data("opt"); 214 if (n && n.li.length > 0 && (e > 0 || e <= n.li.length)) { 215 var a = jQuery(n.li[e]), 216 r = a.data("index"), 217 o = !1; 218 n.slideamount = n.slideamount - 1, removeNavWithLiref(".tp-bullet", r, n), removeNavWithLiref(".tp-tab", r, n), removeNavWithLiref(".tp-thumb", r, n), a.hasClass("active-revslide") && (o = !0), a.remove(), n.li = removeArray(n.li, e), n.carousel && n.carousel.slides && (n.carousel.slides = removeArray(n.carousel.slides, e)), n.thumbs = removeArray(n.thumbs, e), _R.updateNavIndexes && _R.updateNavIndexes(n), o && t.revnext() 219 } 220 } 221 }) 222 }, 223 revaddcallback: function (e) { 224 return this.each(function () { 225 var t = jQuery(this); 226 if (t != undefined && t.length > 0 && jQuery("body").find("#" + t.attr("id")).length > 0) { 227 var i = t.parent().find(".tp-bannertimer"), 228 n = i.data("opt"); 229 n.callBackArray === undefined && (n.callBackArray = new Array), n.callBackArray.push(e) 230 } 231 }) 232 }, 233 revgetparallaxproc: function () { 234 var e = jQuery(this); 235 if (e != undefined && e.length > 0 && jQuery("body").find("#" + e.attr("id")).length > 0) { 236 var t = e.parent().find(".tp-bannertimer"), 237 i = t.data("opt"); 238 return i.scrollproc 239 } 240 }, 241 revdebugmode: function () { 242 return this.each(function () { 243 var e = jQuery(this); 244 if (e != undefined && e.length > 0 && jQuery("body").find("#" + e.attr("id")).length > 0) { 245 var t = e.parent().find(".tp-bannertimer"), 246 i = t.data("opt"); 247 i.debugMode = !0, containerResized(e, i) 248 } 249 }) 250 }, 251 revscroll: function (e) { 252 return this.each(function () { 253 var t = jQuery(this); 254 t != undefined && t.length > 0 && jQuery("body").find("#" + t.attr("id")).length > 0 && jQuery("body,html").animate({ 255 scrollTop: t.offset().top + t.height() - e + "px" 256 }, { 257 duration: 400 258 }) 259 }) 260 }, 261 revredraw: function (e) { 262 return this.each(function () { 263 var e = jQuery(this); 264 if (e != undefined && e.length > 0 && jQuery("body").find("#" + e.attr("id")).length > 0) { 265 var t = e.parent().find(".tp-bannertimer"), 266 i = t.data("opt"); 267 containerResized(e, i) 268 } 269 }) 270 }, 271 revkill: function (e) { 272 var t = this, 273 i = jQuery(this); 274 if (punchgs.TweenLite.killDelayedCallsTo(_R.showHideNavElements), _R.endMoveCaption && a.endtimeouts && a.endtimeouts.length > 0 && jQuery.each(a.endtimeouts, function (e, t) { 275 clearTimeout(t) 276 }), i != undefined && i.length > 0 && jQuery("body").find("#" + i.attr("id")).length > 0) {
277 i.data("conthover", 1), i.data("conthover-changed", 1), i.trigger("revolution.slide.onpause"); 278 var n = i.parent().find(".tp-bannertimer"), 279 a = n.data("opt"); 280 a.tonpause = !0, i.trigger("stoptimer"), punchgs.TweenLite.killTweensOf(i.find("*"), !1), punchgs.TweenLite.killTweensOf(i, !1), i.unbind("hover, mouseover, mouseenter,mouseleave, resize"); 281 var r = "resize.revslider-" + i.attr("id"); 282 jQuery(window).off(r), i.find("*").each(function () { 283 var e = jQuery(this); 284 e.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"), e.off("on, hover, mouseenter,mouseleave,mouseover, resize"), e.data("mySplitText", null), e.data("ctl", null), e.data("tween") != undefined && e.data("tween").kill(), e.data("kenburn") != undefined && e.data("kenburn").kill(), e.data("timeline_out") != undefined && e.data("timeline_out").kill(), e.data("timeline") != undefined && e.data("timeline").kill(), e.remove(), e.empty(), e = null 285 }), punchgs.TweenLite.killTweensOf(i.find("*"), !1), punchgs.TweenLite.killTweensOf(i, !1), n.remove(); 286 try { 287 i.closest(".forcefullwidth_wrapper_tp_banner").remove() 288 } catch (o) {} 289 try { 290 i.closest(".rev_slider_wrapper").remove() 291 } catch (o) {} 292 try { 293 i.remove() 294 } catch (o) {} 295 return i.empty(), i.html(), i = null, a = null, delete t.c, delete t.opt, !0 296 } 297 return !1 298 }, 299 revpause: function () { 300 return this.each(function () { 301 var e = jQuery(this); 302 if (e != undefined && e.length > 0 && jQuery("body").find("#" + e.attr("id")).length > 0) { 303 e.data("conthover", 1), e.data("conthover-changed", 1), e.trigger("revolution.slide.onpause"); 304 var t = e.parent().find(".tp-bannertimer"), 305 i = t.data("opt"); 306 i.tonpause = !0, e.trigger("stoptimer") 307 } 308 }) 309 }, 310 revresume: function () { 311 return this.each(function () { 312 var e = jQuery(this); 313 if (e != undefined && e.length > 0 && jQuery("body").find("#" + e.attr("id")).length > 0) { 314 e.data("conthover", 0), e.data("conthover-changed", 1), e.trigger("revolution.slide.onresume"); 315 var t = e.parent().find(".tp-bannertimer"), 316 i = t.data("opt"); 317 i.tonpause = !1, e.trigger("starttimer") 318 } 319 }) 320 }, 321 revstart: function () { 322 var e = jQuery(this); 323 return e != undefined && e.length > 0 && jQuery("body").find("#" + e.attr("id")).length > 0 && e.data("opt") ? e.data("opt").sliderisrunning ? (console.log("Slider Is Running Already"), !1) : (runSlider(e, e.data("opt")), !0) : void 0 324 }, 325 revnext: function () { 326 return this.each(function () { 327 var e = jQuery(this); 328 if (e != undefined && e.length > 0 && jQuery("body").find("#" + e.attr("id")).length > 0) { 329 var t = e.parent().find(".tp-bannertimer"), 330 i = t.data("opt"); 331 _R.callingNewSlide(i, e, 1) 332 } 333 }) 334 }, 335 revprev: function () { 336 return this.each(function () { 337 var e = jQuery(this); 338 if (e != undefined && e.length > 0 && jQuery("body").find("#" + e.attr("id")).length > 0) { 339 var t = e.parent().find(".tp-bannertimer"), 340 i = t.data("opt"); 341 _R.callingNewSlide(i, e, -1) 342 } 343 }) 344 }, 345 revmaxslide: function () { 346 return jQuery(this).find(".tp-revslider-mainul >li").length 347 }, 348 revcurrentslide: function () { 349 var e = jQuery(this); 350 if (e != undefined && e.length > 0 && jQuery("body").find("#" + e.attr("id")).length > 0) { 351 var t = e.parent().find(".tp-bannertimer"), 352 i = t.data("opt"); 353 return parseInt(i.act, 0) + 1 354 } 355 }, 356 revlastslide: function () { 357 return jQuery(this).find(".tp-revslider-mainul >li").length 358 }, 359 revshowslide: function (e) { 360 return this.each(function () { 361 var t = jQuery(this); 362 if (t != undefined && t.length > 0 && jQuery("body").find("#" + t.attr("id")).length > 0) { 363 var i = t.parent().find(".tp-bannertimer"), 364 n = i.data("opt"); 365 _R.callingNewSlide(n, t, "to" + (e - 1)) 366 } 367 }) 368 }, 369 revcallslidewithid: function (e) { 370 return this.each(function () { 371 var t = jQuery(this); 372 if (t != undefined && t.length > 0 && jQuery("body").find("#" + t.attr("id")).length > 0) { 373 var i = t.parent().find(".tp-bannertimer"), 374 n = i.data("opt"); 375 _R.callingNewSlide(n, t, e) 376 } 377 }) 378 } 379 });
vendor: 1,025 bytes, lines 380-398
380 var _R = jQuery.fn.revolution; 381 jQuery.extend(!0, _R, { 382 simp: function (e, t, i) { 383 var n = Math.abs(e) - Math.floor(Math.abs(e / t)) * t; 384 return i ? n : 0 > e ? -1 * n : n 385 }, 386 iOSVersion: function () { 387 var e = !1; 388 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) && (e = !0) : e = !1, e 389 }, 390 isIE: function (e, t) { 391 var i = jQuery('<div style="display:none;"/>').appendTo(jQuery("body")); 392 i.html("<!--[if " + (t || "") + " IE " + (e || "") + "]><a> </a><![endif]-->"); 393 var n = i.find("a").length; 394 return i.remove(), n 395 }, 396 is_mobile: function () { 397 var e = ["android", "webos", "iphone", "ipad", "blackberry", "Android", "webos", , "iPod", "iPhone", "iPad", "Blackberry", "BlackBerry"], 398 t = !1;
399 for (var i in e) navigator.userAgent.split(e[i]).length > 1 && (t = !0); 400 return t 401 }, 402 callBackHandling: function (e, t, i) { 403 try { 404 e.callBackArray && jQuery.each(e.callBackArray, function (e, n) { 405 n && n.inmodule && n.inmodule === t && n.atposition && n.atposition === i && n.callback && n.callback.call() 406 }) 407 } catch (n) { 408 console.log("Call Back Failed") 409 } 410 }, 411 get_browser: function () { 412 var e, t = navigator.appName, 413 i = navigator.userAgent, 414 n = i.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); 415 return n && null != (e = i.match(/version\/([\.\d]+)/i)) && (n[2] = e[1]), n = n ? [n[1], n[2]] : [t, navigator.appVersion, "-?"], n[0] 416 }, 417 get_browser_version: function () { 418 var e, t = navigator.appName, 419 i = navigator.userAgent, 420 n = i.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); 421 return n && null != (e = i.match(/version\/([\.\d]+)/i)) && (n[2] = e[1]), n = n ? [n[1], n[2]] : [t, navigator.appVersion, "-?"], n[1] 422 }, 423 getHorizontalOffset: function (e, t) { 424 var i = gWiderOut(e, ".outer-left"), 425 n = gWiderOut(e, ".outer-right"); 426 switch (t) { 427 case "left": 428 return i; 429 case "right": 430 return n; 431 case "both": 432 return i + n 433 } 434 }, 435 callingNewSlide: function (e, t, i) { 436 var n = t.find(".next-revslide").length > 0 ? t.find(".next-revslide").index() : t.find(".processing-revslide").length > 0 ? t.find(".processing-revslide").index() : t.find(".active-revslide").index(), 437 a = 0; 438 t.find(".next-revslide").removeClass("next-revslide"), t.find(".active-revslide").hasClass("tp-invisible-slide") && (n = e.last_shown_slide), i && jQuery.isNumeric(i) || i.match(/to/g) ? (1 === i || -1 === i ? (a = n + i, a = 0 > a ? e.slideamount - 1 : a >= e.slideamount ? 0 : a) : (i = jQuery.isNumeric(i) ? i : parseInt(i.split("to")[1], 0), a = 0 > i ? 0 : i > e.slideamount - 1 ? e.slideamount - 1 : i), t.find(".tp-revslider-slidesli:eq(" + a + ")").addClass("next-revslide")) : i && t.find(".tp-revslider-slidesli").each(function () { 439 var e = jQuery(this); 440 e.data("index") === i && e.addClass("next-revslide") 441 }), a = t.find(".next-revslide").index(), t.trigger("revolution.nextslide.waiting"), a !== n && -1 != a ? swapSlide(t, e) : t.find(".next-revslide").removeClass("next-revslide") 442 }, 443 slotSize: function (e, t) { 444 t.slotw = Math.ceil(t.width / t.slots), "fullscreen" == t.sliderLayout ? t.sloth = Math.ceil(jQuery(window).height() / t.slots) : t.sloth = Math.ceil(t.height / t.slots), "on" == t.autoHeight && e !== undefined && "" !== e && (t.sloth = Math.ceil(e.height() / t.slots)) 445 }, 446 setSize: function (e) { 447 var t = (e.top_outer || 0) + (e.bottom_outer || 0), 448 i = parseInt(e.carousel.padding_top || 0, 0), 449 n = parseInt(e.carousel.padding_bottom || 0, 0), 450 a = e.gridheight[e.curWinRange]; 451 if (e.paddings = e.paddings === undefined ? { 452 top: parseInt(e.c.parent().css("paddingTop"), 0) || 0, 453 bottom: parseInt(e.c.parent().css("paddingBottom"), 0) || 0 454 } : e.paddings, a = a < e.minHeight ? e.minHeight : a, "fullwidth" == e.sliderLayout && "off" == e.autoHeight && punchgs.TweenLite.set(e.c, { 455 maxHeight: a + "px" 456 }), e.c.css({ 457 marginTop: i, 458 marginBottom: n 459 }), e.width = e.ul.width(), e.height = e.ul.height(), setScale(e), e.height = Math.round(e.gridheight[e.curWinRange] * (e.width / e.gridwidth[e.curWinRange])), e.height > e.gridheight[e.curWinRange] && "on" != e.autoHeight && (e.height = e.gridheight[e.curWinRange]), "fullscreen" == e.
459sliderLayout || e.infullscreenmode) { 460 e.height = e.bw * e.gridheight[e.curWinRange]; 461 var r = (e.c.parent().width(), jQuery(window).height()); 462 if (e.fullScreenOffsetContainer != undefined) { 463 try { 464 var o = e.fullScreenOffsetContainer.split(","); 465 o && jQuery.each(o, function (e, t) { 466 r = jQuery(t).length > 0 ? r - jQuery(t).outerHeight(!0) : r 467 }) 468 } catch (s) {} 469 try { 470 e.fullScreenOffset.split("%").length > 1 && e.fullScreenOffset != undefined && e.fullScreenOffset.length > 0 ? r -= jQuery(window).height() * parseInt(e.fullScreenOffset, 0) / 100 : e.fullScreenOffset != undefined && e.fullScreenOffset.length > 0 && (r -= parseInt(e.fullScreenOffset, 0)) 471 } catch (s) {} 472 } 473 r = r < e.minHeight ? e.minHeight : r, r -= t, e.c.parent().height(r), e.c.closest(".rev_slider_wrapper").height(r), e.c.css({ 474 height: "100%" 475 }), e.height = r, e.minHeight != undefined && e.height < e.minHeight && (e.height = e.minHeight) 476 } else e.minHeight != undefined && e.height < e.minHeight && (e.height = e.minHeight), e.c.height(e.height); 477 var d = { 478 height: i + n + t + e.height + e.paddings.top + e.paddings.bottom 479 }; 480 e.c.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css(d), e.c.closest(".rev_slider_wrapper").css(d), setScale(e) 481 }, 482 enterInViewPort: function (e) { 483 e.waitForCountDown && (countDown(e.c, e), e.waitForCountDown = !1), e.waitForFirstSlide && (swapSlide(e.c, e), e.waitForFirstSlide = !1), ("playing" == e.sliderlaststatus || e.sliderlaststatus == undefined) && e.c.trigger("starttimer"), e.lastplayedvideos != undefined && e.lastplayedvideos.length > 0 && jQuery.each(e.lastplayedvideos, function (t, i) { 484 _R.playVideo(i, e) 485 }) 486 }, 487 leaveViewPort: function (e) { 488 e.sliderlaststatus = e.sliderstatus, e.c.trigger("stoptimer"), e.playingvideos != undefined && e.playingvideos.length > 0 && (e.lastplayedvideos = jQuery.extend(!0, [], e.playingvideos), e.playingvideos && jQuery.each(e.playingvideos, function (t, i) { 489 _R.stopVideo && _R.stopVideo(i, e) 490 })) 491 }, 492 unToggleState: function (e) { 493 e != undefined && e.length > 0 && jQuery.each(e, function (e, t) { 494 t.removeClass("rs-toggle-content-active") 495 }) 496 }, 497 toggleState: function (e) { 498 e != undefined && e.length > 0 && jQuery.each(e, function (e, t) { 499 t.addClass("rs-toggle-content-active") 500 }) 501 }, 502 lastToggleState: function (e) { 503 var t = 0; 504 return e != undefined && e.length > 0 && jQuery.each(e, function (e, i) { 505 t = i.hasClass("rs-toggle-content-active") 506 }), t 507 } 508 }); 509 var _ISM = _R.is_mobile(), 510 removeArray = function (e, t) { 511 var i = []; 512 return jQuery.each(e, function (e, n) { 513 e != t && i.push(n) 514 }), i 515 }, 516 removeNavWithLiref = function (e, t, i) { 517 i.c.find(e).each(function () { 518 var e = jQuery(this); 519 e.data("liref") === t && e.remove() 520 }) 521 }, 522 lAjax = function (e, t) { 523 return jQuery("body").data(e) ? !1 : t.filesystem ? (t.errorm === undefined && (t.errorm = "<br>Local Filesystem Detected !<br>Put this to your header:"), console.warn("Local Filesystem detected !"), t.errorm = t.errorm + '<br><script type="text/javascript" src="' + t.jsFileLocation + e + t.extensions_suffix + '"></script>', console.warn(t.jsFileLocation + e + t.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."), c
523onsole.log(" "), t.modulesfailing = !0, !1) : (jQuery.ajax({ 524 url: t.jsFileLocation + e + t.extensions_suffix, 525 dataType: "script", 526 cache: !0, 527 error: function (i) { 528 console.warn("Slider Revolution 5.0 Error !"), console.error("Failure at Loading:" + e + t.extensions_suffix + " on Path:" + t.jsFileLocation), console.info(i) 529 } 530 }), void jQuery("body").data(e, !0)) 531 }, 532 getNeededScripts = function (e, t) { 533 var i = new Object, 534 n = e.navigation; 535 return i.kenburns = !1, i.parallax = !1, i.carousel = !1, i.navigation = !1, i.videos = !1, i.actions = !1, i.layeranim = !1, i.migration = !1, t.data("version") && t.data("version").toString().match(/5./gi) ? (t.find("img").each(function () { 536 "on" == jQuery(this).data("kenburns") && (i.kenburns = !0) 537 }), ("carousel" == e.sliderType || "on" == n.keyboardNavigation || "on" == n.mouseScrollNavigation || "on" == n.touch.touchenabled || n.arrows.enable || n.bullets.enable || n.thumbnails.enable || n.tabs.enable) && (i.navigation = !0), t.find(".tp-caption, .tp-static-layer, .rs-background-video-layer").each(function () { 538 var e = jQuery(this); 539 (e.data("ytid") != undefined || e.find("iframe").length > 0 && e.find("iframe").attr("src").toLowerCase().indexOf("youtube") > 0) && (i.videos = !0), (e.data("vimeoid") != undefined || e.find("iframe").length > 0 && e.find("iframe").attr("src").toLowerCase().indexOf("vimeo") > 0) && (i.videos = !0), e.data("actions") !== undefined && (i.actions = !0), i.layeranim = !0 540 }), t.find("li").each(function () { 541 jQuery(this).data("link") && jQuery(this).data("link") != undefined && (i.layeranim = !0, i.actions = !0) 542 }), !i.videos && (t.find(".rs-background-video-layer").length > 0 || t.find(".tp-videolayer").length > 0 || t.find(".tp-audiolayer") || t.find("iframe").length > 0 || t.find("video").length > 0) && (i.videos = !0), "carousel" == e.sliderType && (i.carousel = !0), ("off"
vendor: 11,772 bytes, lines 542-660
542!== e.parallax.type || e.viewPort.enable || "true" == e.viewPort.enable) && (i.parallax = !0)) : (i.kenburns = !0, i.parallax = !0, i.carousel = !1, i.navigation = !0, i.videos = !0, i.actions = !0, i.layeranim = !0, i.migration = !0), "hero" == e.sliderType && (i.carousel = !1, i.navigation = !1), window.location.href.match(/file:/gi) && (i.filesystem = !0, e.filesystem = !0), i.videos && "undefined" == typeof _R.isVideoPlaying && lAjax("revolution.extension.video", e), i.carousel && "undefined" == typeof _R.prepareCarousel && lAjax("revolution.extension.carousel", e), i.carousel || "undefined" != typeof _R.animateSlide || lAjax("revolution.extension.slideanims", e), i.actions && "undefined" == typeof _R.checkActions && lAjax("revolution.extension.actions", e), i.layeranim && "undefined" == typeof _R.handleStaticLayers && lAjax("revolution.extension.layeranimation", e), i.kenburns && "undefined" == typeof _R.stopKenBurn && lAjax("revolution.extension.kenburn", e), i.navigation && "undefined" == typeof _R.createNavigation && lAjax("revolution.extension.navigation", e), i.migration && "undefined" == typeof _R.migration && lAjax("revolution.extension.migration", e), i.parallax && "undefined" == typeof _R.checkForParallax && lAjax("revolution.extension.parallax", e), e.addons != undefined && e.addons.length > 0 && jQuery.each(e.addons, function (t, i) { 543 "object" == typeof i && i.fileprefix != undefined && lAjax(i.fileprefix, e) 544 }), i 545 }, 546 waitForScripts = function (e, t) { 547 var i = !0, 548 n = t.scriptsneeded; 549 t.addons != undefined && t.addons.length > 0 && jQuery.each(t.addons, function (e, t) { 550 "object" == typeof t && t.init != undefined && _R[t.init] === undefined && (i = !1) 551 }), n.filesystem || "undefined" != typeof punchgs && i && (!n.kenburns || n.kenburns && "undefined" != typeof _R.stopKenBurn) && (!n.navigation || n.navigation && "undefined" != typeof _R.createNavigation) && (!n.carousel || n.carousel && "undefined" != typeof _R.prepareCarousel) && (!n.videos || n.videos && "undefined" != typeof _R.resetVideo) && (!n.actions || n.actions && "undefined" != typeof _R.checkActions) && (!n.layeranim || n.layeranim && "undefined" != typeof _R.handleStaticLayers) && (!n.migration || n.migration && "undefined" != typeof _R.migration) && (!n.parallax || n.parallax && "undefined" != typeof _R.checkForParallax) && (n.carousel || !n.carousel && "undefined" != typeof _R.animateSlide) ? e.trigger("scriptsloaded") : setTimeout(function () { 552 waitForScripts(e, t) 553 }, 50) 554 }, 555 getScriptLocation = function (e) { 556 var t = new RegExp("themepunch.revolution.min.js", "gi"), 557 i = ""; 558 return jQuery("script").each(function () { 559 var e = jQuery(this).attr("src"); 560 e && e.match(t) && (i = e) 561 }), i = i.replace("jquery.themepunch.revolution.min.js", ""), i = i.replace("jquery.themepunch.revolution.js", ""), i = i.split("?")[0] 562 }, 563 setCurWinRange = function (e, t) { 564 var i = 9999, 565 n = 0, 566 a = 0, 567 r = 0, 568 o = jQuery(window).width(), 569 s = t && 9999 == e.responsiveLevels ? e.visibilityLevels : e.responsiveLevels; 570 s && s.length && jQuery.each(s, function (e, t) { 571 t > o && (0 == n || n > t) && (i = t, r = e, n = t), o > t && t > n && (n = t, a = e) 572 }), i > n && (r = a), t ? e.forcedWinRange = r : e.curWinRange = r 573 }, 574 prepareOptions = function (e, t) { 575 t.carousel.maxVisibleItems = t.carousel.maxVisibleItems < 1 ? 999 : t.carousel.maxVisibleItems, t.carousel.vertical_align = "top" === t.carousel.vertical_align ? "0%" : "bottom" === t.carousel.vertical_align ? "100%" : "50%" 576 }, 577 gWiderOut = function (e, t) { 578 var i = 0; 579 return e.find(t).each(function () { 580 var e = jQuery(this); 581 !e.hasClass("tp-forcenotvisible") && i < e.outerWidth() && (i = e.outerWidth()) 582 }), i 583 }, 584 initSlider = function (container, opt) { 585 return container == undefined ? !1 : (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 (e) { 586 var t = jQuery(this); 587 "on" == t.data("hideslideonmobile") && _ISM && t.remove(), (t.data("invisible") || t.data("invisible") === !0) && (t.addClass("tp-invisible-slide"), t.appendTo(opt.ul)) 588 }), opt.addons != undefined && opt.addons.length > 0 && jQuery.each(opt.addons, function (i, obj) { 589 "object" == typeof obj && obj.init != undefined && _R[obj.init](eval(obj.params)) 590 }), opt.cid = container.attr("id"), opt.ul.css({ 591 visibility: "visible" 592 }), opt.slideamount = opt.ul.find(">li").not(".tp-invisible-slide").length, opt.slayers = container.find(".tp-static-layers"), void(1 != opt.waitForInit && (container.data("opt", opt), runSlider(container, opt)))) 593 }, 594 runSlider = function (e, t) { 595 if (t.sliderisrunning = !0, t.ul.find(">li").each(function (e) { 596 jQuery(this).data("originalindex", e) 597 }), "on" == t.shuffle) { 598 var i = new Object, 599 n = t.ul.find(">li:first-child"); 600 i.fstransition = n.data("fstransition"), i.fsmasterspeed = n.data("fsmasterspeed"), i.fsslotamount = n.data("fsslotamount"); 601 for (var a = 0; a < t.slideamount; a++) { 602 var r = Math.round(Math.random() * t.slideamount); 603 t.ul.find(">li:eq(" + r + ")").prependTo(t.ul) 604 } 605 var o = t.ul.find(">li:first-child"); 606 o.data("fstransition", i.fstransition), o.data("fsmasterspeed", i.fsmasterspeed), o.data("fsslotamount", i.fsslotamount), t.li = t.ul.find(">li").not(".tp-invisible-slide") 607 } 608 if (t.allli = t.ul.find(">li"), t.li = t.ul.find(">li").not(".tp-invisible-slide"), t.inli = t.ul.find(">li.tp-invisible-slide"), t.thumbs = new Array, t.slots = 4, t.act = -1, t.firststart = 1, t.loadqueue = new Array, t.syncload = 0, t.conw = e.width(), t.conh = e.height(), t.responsiveLevels.length > 1 ? t.responsiveLevels[0] = 9999 : t.responsiveLevels = 9999, jQuery.each(t.allli, function (e, i) { 609 var i = jQuery(i), 610 n = i.find(".rev-slidebg") || i.find("img").first(), 611 a = 0; 612 i.addClass("tp-revslider-slidesli"), i.data("index") === undefined && i.data("index", "rs-" + Math.round(999999 * Math.random())); 613 var r = new Object; 614 r.params = new Array, r.id = i.data("index"), r.src = i.data("thumb") !== undefined ? i.data("thumb") : n.data("lazyload") !== undefined ? n.data("lazyload") : n.attr("src"), i.data("title") !== undefined && r.params.push({ 615 from: RegExp("\\{\\{title\\}\\}", "g"), 616 to: i.data("title") 617 }), i.data("description") !== undefined && r.params.push({ 618 from: RegExp("\\{\\{description\\}\\}", "g"), 619 to: i.data("description") 620 }); 621 for (var a = 1; 10 >= a; a++) i.data("param" + a) !== undefined && r.params.push({ 622 from: RegExp("\\{\\{param" + a + "\\}\\}", "g"), 623 to: i.data("param" + a) 624 }); 625 if (t.thumbs.push(r), i.data("origindex", i.index()), i.data("link") != undefined) { 626 var o = i.data("link"), 627 s = i.data("target") || "_self", 628 d = "back" === i.data("slideindex") ? 0 : 60, 629 l = i.data("linktoslide"), 630 u = l; 631 l != undefined && "next" != l && "prev" != l && t.allli.each(function () { 632 var e = jQuery(this); 633 e.data("origindex") + 1 == u && (l = e.data("index")) 634 }), "slide" != o && (l = "no"); 635 var c = '<div class="tp-caption slidelink" style="cursor:pointer;width:100%;height:100%;z-index:' + d + ';" data-x="center" data-y="center" data-basealign="slide" ', 636 p = "scroll_under" === l ? '[{"event":"click","action":"scrollbelow","offset":"100px","delay":"0"}]' : "prev" === l ? '[{"event":"click","action":"jumptoslide","slide":"prev","delay":"0.2"}]' : "next" === l ? '[{"event":"click","action":"jumptoslide","slide":"next","delay":"0.2"}]' : '[{"event":"click","action":"jumptoslide","slide":"' + l + '","delay":"0.2"}]'; 637 c = "no" == l ? c + ' data-start="0">' : c + "data-actions='" + p + '\' data-start="0">', c += '<a style="width:100%;height:100%;display:block"', c = "slide" != o ? c + ' target="' + s + '" href="' + o + '"' : c, c += '><span style="width:100%;height:100%;display:block"></span></a></div>', i.append(c) 638 } 639 }), t.rle = t.responsiveLevels.length || 1, t.gridwidth = cArray(t.gridwidth, t.rle), t.gridheight = cArray(t.gridheight, t.rle), "on" == t.simplifyAll && (_R.isIE(8) || _R.iOSVersion()) && (e.find(".tp-caption").each(function () { 640 var e = jQuery(this); 641 e.removeClass("customin customout").addClass("fadein fadeout"), e.data("splitin", ""), e.data("speed", 400) 642 }), t.allli.each(function () { 643 var e = jQuery(this); 644 e.data("transition", "fade"), e.data("masterspeed", 500), e.data("slotamount", 1); 645 var t = e.find(".rev-slidebg") || e.find(">img").first(); 646 t.data("kenburns", "off") 647 })), t.desktop = !navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i), t.autoHeight = "fullscreen" == t.sliderLayout ? "on" : t.autoHeight, "fullwidth" == t.sliderLayout && "off" == t.autoHeight && e.css({ 648 maxHeight: t.gridheight[t.curWinRange] + "px" 649 }), "auto" != t.sliderLayout && 0 == e.closest(".forcefullwidth_wrapper_tp_banner").length && ("fullscreen" !== t.sliderLayout || "on" != t.fullScreenAutoWidth)) { 650 var s = e.parent(), 651 d = s.css("marginBottom"), 652 l = s.css("marginTop"); 653 d = d === undefined ? 0 : d, l = l === undefined ? 0 : l, s.wrap('<div class="forcefullwidth_wrapper_tp_banner" style="position:relative;width:100%;height:auto;margin-top:' + l + ";margin-bottom:" + d + '"></div>'), e.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:' + e.height() + 'px"></div>'), e.parent().css({ 654 marginTop: "0px", 655 marginBottom: "0px" 656 }), e.parent().css({ 657 position: "absolute" 658 }) 659 } 660 if (t.shadow !== undefined && t.shadow > 0 && (e.parent().addClass("tp-shadow" + t.shadow), e.parent().append('<div class="tp-s
660hadowcover"></div>'), e.parent().find(".tp-shadowcover").css({ 661 backgroundColor: e.parent().css("backgroundColor"), 662 backgroundImage: e.parent().css("backgroundImage") 663 })), setCurWinRange(t), setCurWinRange(t, !0), !e.hasClass("revslider-initialised")) { 664 e.addClass("revslider-initialised"), e.addClass("tp-simpleresponsive"), e.attr("id") == undefined && e.attr("id", "revslider-" + Math.round(1e3 * Math.random() + 5)), t.firefox13 = !1, t.ie = !jQuery.support.opacity, t.ie9 = 9 == document.documentMode, t.origcd = t.delay; 665 var u = jQuery.fn.jquery.split("."), 666 c = parseFloat(u[0]), 667 p = parseFloat(u[1]); 668 parseFloat(u[2] || "0"); 669 1 == c && 7 > p && e.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:' + u + " <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin</div>"), c > 1 && (t.ie = !1); 670 var f = new Object; 671 f.addedyt = 0, f.addedvim = 0, f.addedvid = 0, e.find(".tp-caption, .rs-background-video-layer").each(function (e) { 672 var i = jQuery(this), 673 n = i.data("autoplayonlyfirsttime"), 674 a = i.data("autoplay"), 675 r = i.hasClass("tp-audiolayer"), 676 o = i.data("videoloop"); 677 i.hasClass("tp-static-layer") && _R.handleStaticLayers && _R.handleStaticLayers(i, t); 678 var s = i.data("noposteronmobile") || i.data("noPosterOnMobile") || i.data("posteronmobile") || i.data("posterOnMobile") || i.data("posterOnMObile"); 679 i.data("noposteronmobile", s); 680 var d = 0; 681 if (i.find("iframe").each(function () { 682 punchgs.TweenLite.set(jQuery(this), { 683 autoAlpha: 0 684 }), d++ 685 }), d > 0 && i.data("iframes", !0), i.hasClass("tp-caption")) { 686 var l = i.hasClass("slidelink") ? "width:100% !important;height:100% !important;" : ""; 687 i.wrap('<div class="tp-parallax-wrap" style="' + l + 'position:absolute;visibility:hidden"><div class="tp-loop-wrap" style="' + l + 'position:absolute;"><div class="tp-mask-wrap" style="' + l + 'position:absolute" ></div></div></div>'); 688 var u = ["pendulum", "rotate", "slideloop", "pulse", "wave"], 689 c = i.closest(".tp-loop-wrap"); 690 jQuery.each(u, function (e, t) { 691 var n = i.find(".rs-" + t), 692 a = n.data() || ""; 693 "" != a && (c.data(a), c.addClass("rs-" + t), n.children(0).unwrap(), i.data("loopanimation", "on")) 694 }), punchgs.TweenLite.set(i, { 695 visibility: "hidden" 696 }) 697 } 698 var p = i.data("actions"); 699 p !== undefined && _R.checkActions(i, t, p), checkHoverDependencies(i, t), _R.checkVideoApis && (f = _R.checkVideoApis(i, t, f)), _ISM && ((1 == n || "true" == n) && (i.data("autoplayonlyfirsttime", "false"), n = !1), (1 == a || "true" == a || "on" == a || "1sttime" == a) && (i.data("autoplay", "off"), a = "off")), i.data("videoloop", o), r || 1 != n && "true" != n && "1sttime" != a || "loopandnoslidestop" == o || i.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-once"), r || 1 != a && "true" != a && "on" != a && "no1sttime" != a || "loopandnoslidestop" == o || i.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-always") 700 }), e.hover(function () { 701 e.trigger("tp-mouseenter"), t.overcontainer = !0 702 }, function () { 703 e.trigger("tp-mouseleft"), t.overcontainer = !1 704 }), e.on("mouseover", function () { 705 e.trigger("tp-mouseover"), t.overcontainer = !0 706 }), e.find(".tp-caption video").each(function (e) { 707 var t = jQuery(this); 708 t.removeClass("video-js vjs-default-skin"), t.attr("preload", ""), t.css({ 709 display: "none" 710 }) 711 }), "standard" !== t.sliderType && (t.lazyType = "all"), loadImages(e.find(".tp-static-layers"), t, 0, !0), waitForCurrentImages(e.find(".tp-static-layers"), t, function () { 712 e.find(".tp-static-layers img").each(function () { 713 var e = jQuery(this), 714 i = e.data("lazyload") != undefined ? e.data("lazyload") : e.attr("src"), 715 n = getLoadObj(t, i); 716 e.attr("src", n.src) 717 }) 718 }), t.allli.each(function (e) { 719 var i = jQuery(this); 720 ("all" == t.lazyType || "smart" == t.lazyType && (0 == e || 1 == e || e == t.slideamount || e == t.slideamount - 1)) && (loadImages(i, t, e), waitForCurrentImages(i, t, function () { 721 "carousel" == t.sliderType && punchgs.TweenLite.to(i, 1, { 722 autoAlpha: 1, 723 ease: punchgs.Power3.easeInOut 724 }) 725 })) 726 }); 727 var h = getUrlVars("#")[0]; 728 if (h.length < 9 && h.split("slide").length > 1) { 729 var g = parseInt(h.split("slide")[1], 0); 730 1 > g && (g = 1), g > t.slideamount && (g = t.slideamount), t.startWithSlide = g - 1 731 } 732 e.append('<div class="tp-loader ' + t.spinner + '"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>'), 0 === e.find(".tp-bannertimer").length && e.append('<div class="tp-bannertimer" style="visibility:hidden"></div>'), e.find(".tp-bannertimer").css({ 733 width: "0%" 734 }), e.find(".tp-bannertimer").data("opt", t), t.ul.css({ 735 display: "block" 736 }), prepareSlides(e, t), "off" !== t.parallax.type && _R.checkForParallax(e, t), _R.setSize(t), "hero" !== t.sliderType && _R.createNavigation(e, t), _R.resizeThumbsTabs && _R.resizeThumbsTabs(t), contWidthManager(t); 737 var v = t.viewPort; 738 t.inviewport = !1, v != undefined && v.enable && (jQuery.isNumeric(v.visible_area) || -1 !== v.visible_area.indexOf("%") && (v.visible_area = parseInt(v.visible_area) / 100), _R.scrollTicker && _R.scrollTicker(t, e)), setTimeout(function () { 739 "carousel" == t.sliderType && _R.prepareCarousel(t), !v.enable || v.enable && t.inviewport || v.enable && !t.inviewport && "wait" == !v.outof ? swapSlide(e, t) : t.waitForFirstSlide = !0, _R.manageNavigation && _R.manageNavigation(t), t.slideamount > 1 && (!v.enable || v.enable && t.inviewport ? countDown(e, t) : t.waitForCountDown = !0), setTimeout(function () { 740 e.trigger("revolution.slide.onloaded") 741 }, 100) 742 }, t.startDelay), t.startDelay = 0, jQuery("body").data("rs-fullScreenMode", !1), jQuery(window).on("mozfullscreenchange webkitfullscreenchange fullscreenchange", function () { 743 jQuery("body").data("rs-fullScreenMode", !jQuery("body").data("rs-fullScreenMode")), jQuery("body").data("rs-fullScreenMode") && setTimeout(function () { 744 jQuery(window).trigger("resize") 745 }, 200) 746 }); 747 var m = "resize.revslider-" + e.attr("id"); 748 jQuery(window).on(m, function () { 749 return e == undefined ? !1 : (0 != jQuery("body").find(e) && contWidthManager(t), void((e.outerWidth(!0) != t.width || e.is(":hidden") || "fullscreen" == t.sliderLayout && jQuery(window).height() != t.lastwindowheight) && (t.lastwindowheight = jQuery(window).height(), containerResized(e, t)))) 750 }), hideSliderUnder(e, t), contWidthManager(t), t.fallbacks.disableFocusListener || "true" == t.fallbacks.disableFocusListener || t.fallbacks.disableFocusListener === !0 || tabBlurringCheck(e, t) 751 } 752 }, 753 cArray = function (e, t) { 754 if (!jQuery.isArray(e)) { 755 var i = e; 756 e = new Array, e.push(i) 757 } 758 if (e.length < t) 759 for (var i = e[e.length - 1], n = 0; n < t - e.length + 2; n++) e.push(i); 760 return e 761 },
vendor: 15,228 bytes, lines 762-983
762 checkHoverDependencies = function (e, t) { 763 "sliderenter" === e.data("start") && (t.layersonhover === undefined && (t.c.on("tp-mouseenter", function () { 764 t.layersonhover && jQuery.each(t.layersonhover, function (e, i) { 765 i.data("animdirection", "in"); 766 var n = i.data("timeline_out"), 767 a = "carousel" === t.sliderType ? 0 : t.width / 2 - t.gridwidth[t.curWinRange] * t.bw / 2, 768 r = 0, 769 o = i.closest(".tp-revslider-slidesli"), 770 s = i.closest(".tp-static-layers"); 771 if (o.length > 0 && o.hasClass("active-revslide") || o.hasClass("processing-revslide") || s.length > 0) { 772 n != undefined && (n.pause(0), n.kill()), _R.animateSingleCaption(i, t, a, r, 0, !1, !0); 773 var d = i.data("timeline"); 774 i.data("triggerstate", "on"), d.play(0) 775 } 776 }) 777 }), t.c.on("tp-mouseleft", function () { 778 t.layersonhover && jQuery.each(t.layersonhover, function (e, i) { 779 i.data("animdirection", "out"), i.data("triggered", !0), i.data("triggerstate", "off"), _R.stopVideo && _R.stopVideo(i, t), _R.endMoveCaption && _R.endMoveCaption(i, null, null, t) 780 }) 781 }), t.layersonhover = new Array), t.layersonhover.push(e)) 782 }, 783 contWidthManager = function (e) { 784 var t = _R.getHorizontalOffset(e.c, "left"); 785 if ("auto" == e.sliderLayout || "fullscreen" === e.sliderLayout && "on" == e.fullScreenAutoWidth) "fullscreen" == e.sliderLayout && "on" == e.fullScreenAutoWidth ? punchgs.TweenLite.set(e.ul, { 786 left: 0, 787 width: e.c.width() 788 }) : punchgs.TweenLite.set(e.ul, { 789 left: t, 790 width: e.c.width() - _R.getHorizontalOffset(e.c, "both") 791 }); 792 else { 793 var i = Math.ceil(e.c.closest(".forcefullwidth_wrapper_tp_banner").offset().left - t); 794 punchgs.TweenLite.set(e.c.parent(), { 795 left: 0 - i + "px", 796 width: jQuery(window).width() - _R.getHorizontalOffset(e.c, "both") 797 }) 798 } 799 e.slayers && "fullwidth" != e.sliderLayout && "fullscreen" != e.sliderLayout && punchgs.TweenLite.set(e.slayers, { 800 left: t 801 }) 802 }, 803 cv = function (e, t) { 804 return e === undefined ? t : e 805 }, 806 hideSliderUnder = function (e, t, i) { 807 var n = e.parent(); 808 jQuery(window).width() < t.hideSliderAtLimit ? (e.trigger("stoptimer"), "none" != n.css("display") && n.data("olddisplay", n.css("display")), n.css({ 809 display: "none" 810 })) : e.is(":hidden") && i && (n.data("olddisplay") != undefined && "undefined" != n.data("olddisplay") && "none" != n.data("olddisplay") ? n.css({ 811 display: n.data("olddisplay") 812 }) : n.css({ 813 display: "block" 814 }), e.trigger("restarttimer"), setTimeout(function () { 815 containerResized(e, t) 816 }, 150)), _R.hideUnHideNav && _R.hideUnHideNav(t) 817 }, 818 containerResized = function (e, t) { 819 if (1 == t.infullscreenmode && (t.minHeight = jQuery(window).height()), setCurWinRange(t), setCurWinRange(t, !0), !_R.resizeThumbsTabs || _R.resizeThumbsTabs(t) === !0) { 820 if (hideSliderUnder(e, t, !0), contWidthManager(t), "carousel" == t.sliderType && _R.prepareCarousel(t, !0), e === undefined) return !1; 821 _R.setSize(t), t.conw = t.c.width(), t.conh = t.infullscreenmode ? t.minHeight : t.c.height(); 822 var i = e.find(".active-revslide .slotholder"), 823 n = e.find(".processing-revslide .slotholder"); 824 removeSlots(e, t, e, 2), "standard" === t.sliderType && (punchgs.TweenLite.set(n.find(".defaultimg"), { 825 opacity: 0 826 }), i.find(".defaultimg").css({ 827 opacity: 1 828 })), "carousel" == t.sliderType && t.lastconw != t.conw && (clearTimeout(t.pcartimer), t.pcartimer = setTimeout(function () { 829 _R.prepareCarousel(t, !0) 830 }, 100), t.lastconw = t.conw), _R.manageNavigation && _R.manageNavigation(t), _R.animateTheCaptions && _R.animateTheCaptions(e.find(".active-revslide"), t, !0), "on" == n.data("kenburns") && _R.startKenBurn(n, t, n.data("kbtl").progress()), "on" == i.data("kenburns") && _R.startKenBurn(i, t, i.data("kbtl").progress()), _R.animateTheCaptions && _R.animateTheCaptions(n.closest("li"), t, !0), _R.manageNavigation && _R.manageNavigation(t) 831 } 832 }, 833 setScale = function (e) { 834 e.bw = e.width / e.gridwidth[e.curWinRange], e.bh = e.height / e.gridheight[e.curWinRange], e.bh > e.bw ? e.bh = e.bw : e.bw = e.bh, (e.bh > 1 || e.bw > 1) && (e.bw = 1, e.bh = 1) 835 }, 836 prepareSlides = function (e, t) { 837 if (e.find(".tp-caption").each(function () { 838 var e = jQuery(this); 839 e.data("transition") !== undefined && e.addClass(e.data("transition")) 840 }), t.ul.css({ 841 overflow: "hidden", 842 width: "100%", 843 height: "100%", 844 maxHeight: e.parent().css("maxHeight") 845 }), "on" == t.autoHeight && (t.ul.css({ 846 overflow: "hidden", 847 width: "100%", 848 height: "100%", 849 maxHeight: "none" 850 }), e.css({ 851 maxHeight: "none" 852 }), e.parent().css({ 853 maxHeight: "none" 854 })), t.allli.each(function (e) { 855 var i = jQuery(this), 856 n = i.data("originalindex"); 857 (t.startWithSlide != undefined && n == t.startWithSlide || t.startWithSlide === undefined && 0 == e) && i.addClass("next-revslide"), i.css({ 858 width: "100%", 859 height: "100%", 860 overflow: "hidden" 861 }) 862 }), "carousel" === t.sliderType) { 863 t.ul.css({ 864 overflow: "visible" 865 }).wrap('<div class="tp-carousel-wrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden;"></div>'); 866 var i = '<div style="clear:both;display:block;width:100%;height:1px;position:relative;margin-bottom:-1px"></div>'; 867 t.c.parent().prepend(i), t.c.parent().append(i), _R.prepareCarousel(t) 868 } 869 e.parent().css({ 870 overflow: "visible" 871 }), t.allli.find(">img").each(function (e) { 872 var i = jQuery(this), 873 n = i.closest("li").find(".rs-background-video-layer"); 874 n.addClass("defaultvid").css({ 875 zIndex: 30 876 }), i.addClass("defaultimg"), "on" == t.fallbacks.panZoomDisableOnMobile && _ISM && (i.data("kenburns", "off"), i.data("bgfit", "cover")), i.wrap('<div class="slotholder" style="position:absolute; top:0px; left:0px; z-index:0;width:100%;height:100%;"></div>'), n.appendTo(i.closest("li").find(".slotholder")); 877 var a = i.data(); 878 i.closest(".slotholder").data(a), n.length > 0 && a.bgparallax != undefined && n.data("bgparallax", a.bgparallax), "none" != t.dottedOverlay && t.dottedOverlay != undefined && i.closest(".slotholder").append('<div class="tp-dottedoverlay ' + t.dottedOverlay + '"></div>'); 879 var r = i.attr("src"); 880 a.src = r, a.bgfit = a.bgfit || "cover", a.bgrepeat = a.bgrepeat || "no-repeat", a.bgposition = a.bgposition || "center center"; 881 var o = i.closest(".slotholder"); 882 i.parent().append('<div class="tp-bgimg defaultimg" style="background-color:' + i.css("backgroundColor") + ";background-repeat:" + a.bgrepeat + ";background-image:url(" + r + ");background-size:" + a.bgfit + ";background-position:" + a.bgposition + ';width:100%;height:100%;"></div>'); 883 var s = document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - " + i.get(0).outerHTML); 884 i.replaceWith(s), i = o.find(".tp-bgimg"), i.data(a), i.attr("src", r), ("standard" === t.sliderType || "undefined" === t.sliderType) && i.css({ 885 opacity: 0 886 }) 887 }) 888 }, 889 removeSlots = function (e, t, i, n) { 890 t.removePrepare = t.removePrepare + n, i.find(".slot, .slot-circle-wrapper").each(function () { 891 jQuery(this).remove() 892 }), t.transition = 0, t.removePrepare = 0 893 }, 894 cutParams = function (e) { 895 var t = e; 896 return e != undefined && e.length > 0 && (t = e.split("?")[0]), t 897 }, 898 relativeRedir = function (e) { 899 return location.pathname.replace(/(.*)\/[^\/]*/, "$1/" + e) 900 }, 901 abstorel = function (e, t) { 902 var i = e.split("/"), 903 n = t.split("/"); 904 i.pop(); 905 for (var a = 0; a < n.length; a++) "." != n[a] && (".." == n[a] ? i.pop() : i.push(n[a])); 906 return i.join("/") 907 }, 908 imgLoaded = function (e, t, i) { 909 t.syncload--, t.loadqueue && jQuery.each(t.loadqueue, function (t, n) { 910 var a = n.src.replace(/\.\.\/\.\.\//gi, ""), 911 r = self.location.href, 912 o = document.location.origin, 913 s = r.substring(0, r.length - 1) + "/" + a, 914 d = o + "/" + a, 915 l = abstorel(self.location.href, n.src); 916 r = r.substring(0, r.length - 1) + a, o += a, (cutParams(o) === cutParams(decodeURIComponent(e.src)) || cutParams(r) === cutParams(decodeURIComponent(e.src)) || cutParams(l) === cutParams(decodeURIComponent(e.src)) || cutParams(d) === cutParams(decodeURIComponent(e.src)) || cutParams(s) === cutParams(decodeURIComponent(e.src)) || cutParams(n.src) === cutParams(decodeURIComponent(e.src)) || cutParams(n.src).replace(/^.*\/\/[^\/]+/, "") === cutParams(decodeURIComponent(e.src)).replace(/^.*\/\/[^\/]+/, "") || "file://" === window.location.origin && cutParams(e.src).match(new RegExp(a))) && (n.progress = i, n.width = e.width, n.height = e.height) 917 }), progressImageLoad(t) 918 }, 919 progressImageLoad = function (e) { 920 3 != e.syncload && e.loadqueue && jQuery.each(e.loadqueue, function (t, i) { 921 if (i.progress.match(/prepared/g) && e.syncload <= 3) { 922 if (e.syncload++, "img" == i.type) { 923 var n = new Image; 924 n.onload = function () { 925 imgLoaded(this, e, "loaded") 926 }, n.onerror = function () { 927 imgLoaded(this, e, "failed") 928 }, n.src = i.src 929 } else jQuery.get(i.src, function (t) { 930 i.innerHTML = (new XMLSerializer).serializeToString(t.documentElement), i.progress = "loaded", e.syncload--, progressImageLoad(e) 931 }).fail(function () { 932 i.progress = "failed", e.syncload--, progressImageLoad(e) 933 }); 934 i.progress = "inload" 935 } 936 }) 937 }, 938 addToLoadQueue = function (e, t, i, n, a) { 939 var r = !1; 940 if (t.loadqueue && jQuery.each(t.loadqueue, function (t, i) { 941 i.src === e && (r = !0) 942 }), !r) { 943 var o = new Object; 944 o.src = e, o.type = n || "img", o.prio = i, o.progress = "prepared", o["static"] = a, t.loadqueue.push(o) 945 } 946 }, 947 loadImages = function (e, t, i, n) { 948 e.find("img,.defaultimg, .tp-svg-layer").each(function () { 949 var e = jQuery(this), 950 a = e.data("lazyload") !== undefined && "undefined" !== e.data("lazyload") ? e.data("lazyload") : e.data("svg_src") != undefined ? e.data("svg_src") : e.attr("src"), 951 r = e.data("svg_src") != undefined ? "svg" : "img"; 952 e.data("start-to-load", jQuery.now()), addToLoadQueue(a, t, i, r, n) 953 }), progressImageLoad(t) 954 }, 955 getLoadObj = function (e, t) { 956 var i = new Object; 957 return e.loadqueue && jQuery.each(e.loadqueue, function (e, n) { 958 n.src == t && (i = n) 959 }), i 960 }, 961 waitForCurrentImages = function (e, t, i) { 962 var n = !1; 963 e.find("img,.defaultimg, .tp-svg-layer").each(function () { 964 var i = jQuery(this), 965 a = i.data("lazyload") != undefined ? i.data("lazyload") : i.data("svg_src") != undefined ? i.data("svg_src") : i.attr("src"), 966 r = getLoadObj(t, a); 967 if (i.data("loaded") === undefined && r !== undefined && r.progress && r.progress.match(/loaded/g)) { 968 if (i.attr("src", r.src), "img" == r.type) 969 if (i.hasClass("defaultimg")) _R.isIE(8) ? defimg.attr("src", r.src) : i.css({ 970 backgroundImage: 'url("' + r.src + '")' 971 }), e.data("owidth", r.width), e.data("oheight", r.height), e.find(".slotholder").data("owidth", r.width), e.find(".slotholder").data("oheight", r.height); 972 else { 973 var o = i.data("ww"), 974 s = i.data("hh"); 975 i.data("owidth", r.width), i.data("oheight", r.height), o = o == undefined || "auto" == o || "" == o ? r.width : o, s = s == undefined || "auto" == s || "" == s ? r.height : s, i.data("ww", o), i.data("hh", s) 976 } 977 else "svg" == r.type && "loaded" == r.progress && (i.append('<div class="tp-svg-innercontainer"></div>'), i.find(".tp-svg-innercontainer").append(r.innerHTML)); 978 i.data("loaded", !0) 979 } 980 if (r && r.progress && r.progress.match(/inprogress|inload|prepared/g) && (jQuery.now() - i.data("start-to-load") < 5e3 ? n = !0 : (r.progress = "failed", console.error(a + " Could not be loaded !"))), 1 == t.youtubeapineeded && (!window.YT || YT.Player == undefined) && (n = !0, jQuery.now() - t.youtubestarttime > 5e3 && 1 != t.youtubewarning)) { 981 t.youtubewarning = !0; 982 var d = "YouTube Api Could not be loaded !"; 983 "https:" === location.protocol && (d += " Please Check and Renew SSL Certificate !"), console.error(d), t.c.append('<div style="position:absolute;top:50%;width:100%;
983color:#e74c3c; font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>' + d + "</strong></div>") 984 } 985 if (1 == t.vimeoapineeded && !window.Froogaloop && (n = !0, jQuery.now() - t.vimeostarttime > 5e3 && 1 != t.vimeowarning)) { 986 t.vimeowarning = !0; 987 var d = "Vimeo Froogaloop Api Could not be loaded !"; 988 "https:" === location.protocol && (d += " Please Check and Renew SSL Certificate !"), console.error(d), t.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>' + d + "</strong></div>") 989 } 990 }), !_ISM && t.audioqueue && t.audioqueue.length > 0 && jQuery.each(t.audioqueue, function (e, t) { 991 t.status && "prepared" === t.status && jQuery.now() - t.start < t.waittime && (n = !0) 992 }), jQuery.each(t.loadqueue, function (e, t) { 993 t["static"] !== !0 || "loaded" == t.progress && "failed" !== t.progress || (n = !0) 994 }), n ? setTimeout(function () { 995 waitForCurrentImages(e, t, i) 996 }, 19) : setTimeout(i, 19) 997 }, 998 swapSlide = function (e, t) { 999 if (clearTimeout(t.waitWithSwapSlide), e.find(".processing-revslide").length > 0) return t.waitWithSwapSlide = setTimeout(function () { 1000 swapSlide(e, t) 1001 }, 150), !1; 1002 var i = e.find(".active-revslide"), 1003 n = e.find(".next-revslide"), 1004 a = n.find(".defaultimg"); 1005 return n.index() === i.index() ? (n.removeClass("next-revslide"), !1) : (n.removeClass("next-revslide").addClass("processing-revslide"), n.data("slide_on_focus_amount", n.data("slide_on_focus_amount") + 1 || 1), "on" == t.stopLoop && n.index() == t.lastslidetoshow - 1 && (e.find(".tp-bannertimer").css({ 1006 visibility: "hidden" 1007 }), e.trigger("revolution.slide.onstop"), t.noloopanymore = 1), n.index() === t.slideamount - 1 && (t.looptogo = t.looptogo - 1, t.looptogo <= 0 && (t.stopLoop = "on")), t.tonpause = !0, e.trigger("stoptimer"), t.cd = 0, "off" === t.spinner ? e.find(".tp-loader").css({ 1008 display: "none" 1009 }) : e.find(".tp-loader").css({ 1010 display: "block" 1011 }), loadImages(n, t, 1), _R.preLoadAudio && _R.preLoadAudio(n, t, 1), void waitForCurrentImages(n, t, function () { 1012 n.find(".rs-background-video-layer").each(function () { 1013 var e = jQuery(this); 1014 e.hasClass("HasListener") || (e.data("bgvideo", 1), _R.manageVideoLayer && _R.manageVideoLayer(e, t)), 0 == e.find(".rs-fullvideo-cover").length && e.append('<div class="rs-fullvideo-cover"></div>') 1015 }), swapSlideProgress(t, a, e) 1016 })) 1017 }, 1018 swapSlideProgress = function (e, t, i) { 1019 var n = i.find(".active-revslide"), 1020 a = i.find(".processing-revslide"), 1021 r = n.find(".slotholder"), 1022 o = a.find(".slotholder"); 1023 e.tonpause = !1, e.cd = 0, i.find(".tp-loader").css({ 1024 display: "none" 1025 }), _R.setSize(e), _R.slotSize(t, e), _R.manageNavigation && _R.manageNavigation(e); 1026 var s = {}; 1027 s.nextslide = a, s.currentslide = n, i.trigger("revolution.slide.onbeforeswap", s), e.transition = 1, e.videoplaying = !1, a.data("delay") != undefined ? (e.cd = 0, e.delay = a.data("delay")) : e.delay = e.origcd, "true" == a.data("ssop") || a.data("ssop") === !0 ? e.ssop = !0 : e.ssop = !1, i.trigger("nulltimer"); 1028 var d = n.index(), 1029 l = a.index(); 1030 e.sdir = d > l ? 1 : 0, "arrow" == e.sc_indicator && (0 == d && l == e.slideamount - 1 && (e.sdir = 1), d == e.slideamount - 1 && 0 == l && (e.sdir = 0)), e.lsdir = e.lsdir === undefined ? e.sdir : e.lsdir, e.dirc = e.lsdir != e.sdir, e.lsdir = e.sdir, n.index() != a.index() && 1 != e.firststart && _R.removeTheCaptions && _R.removeTheCaptions(n, e), a.hasClass("rs-pause-timer-once") || a.hasClass("rs-pause-timer-always") ? e.videoplaying = !0 : i.trigger("restarttimer"), a.removeClass("rs-pause-timer-once"); 1031 var u, c; 1032 if ("carousel" == e.sliderType) c = new punchgs.TimelineLite, _R.prepareCarousel(e, c), letItFree(i, e, o, r, a, n, c), e.transition = 0, e.firststart = 0; 1033 else { 1034 c = new punchgs.TimelineLite({ 1035 onComplete: function () { 1036 letItFree(i, e, o, r, a, n, c) 1037 } 1038 }), c.add(punchgs.TweenLite.set(o.find(".defaultimg"), { 1039 opacity: 0 1040 })), c.pause(), 1 == e.firststart && (punchgs.TweenLite.set(n, { 1041 autoAlpha: 0 1042 }), e.firststart = 0), punchgs.TweenLite.set(n, { 1043 zIndex: 18 1044 }), punchgs.TweenLite.set(a, { 1045 autoAlpha: 0, 1046 zIndex: 20 1047 }), "prepared" == a.data("differentissplayed") && (a.data("differentissplayed", "done"), a.data("transition", a.data("savedtransition")), a.data("slotamount", a.data("savedslotamount")), a.data("masterspeed", a.data("savedmasterspeed"))), a.data("fstransition") != undefined && "done" != a.data("differentissplayed") && (a.data("savedtransition", a.data("transition")), a.data("savedslotamount", a.data("slotamount")), a.data("savedmasterspeed", a.data("masterspeed")), a.data("transition", a.data("fstransition")), a.data("slotamount", a.data("fsslotamount")), a.data("masterspeed", a.data("fsmasterspeed")), a.data("differentissplayed", "prepared")), a.data("transition") == undefined && a.data("transition", "random"), u = 0; 1048 var p = a.data("transition") !== undefined ? a.data("transition").split(",") : "fade", 1049 f = a.data("nexttransid") == undefined ? -1 : a.data("nexttransid"); 1050 "on" == a.data("randomtransition") ? f = Math.round(Math.random() * p.length) : f += 1, f == p.length && (f = 0), a.data("nexttransid", f); 1051 var h = p[f];
vendor: 8,212 bytes, lines 1052-1185
1052 e.ie && ("boxfade" == h && (h = "boxslide"), "slotfade-vertical" == h && (h = "slotzoom-vertical"), "slotfade-horizontal" == h && (h = "slotzoom-horizontal")), _R.isIE(8) && (h = 11), c = _R.animateSlide(u, h, i, e, a, n, o, r, c), "on" == o.data("kenburns") && (_R.startKenBurn(o, e), c.add(punchgs.TweenLite.set(o, { 1053 autoAlpha: 0 1054 }))), c.pause() 1055 } 1056 _R.scrollHandling && (_R.scrollHandling(e, !0), c.eventCallback("onUpdate", function () { 1057 _R.scrollHandling(e, !0) 1058 })), "off" != e.parallax.type && e.parallax.firstgo == undefined && _R.scrollHandling && (e.parallax.firstgo = !0, e.lastscrolltop = -999, _R.scrollHandling(e, !0), setTimeout(function () { 1059 e.lastscrolltop = -999, _R.scrollHandling(e, !0) 1060 }, 210), setTimeout(function () { 1061 e.lastscrolltop = -999, _R.scrollHandling(e, !0) 1062 }, 420)), _R.animateTheCaptions ? _R.animateTheCaptions(a, e, null, c) : c != undefined && setTimeout(function () { 1063 c.resume() 1064 }, 30), punchgs.TweenLite.to(a, .001, { 1065 autoAlpha: 1 1066 }) 1067 }, 1068 letItFree = function (e, t, i, n, a, r, o) { 1069 "carousel" === t.sliderType || (t.removePrepare = 0, punchgs.TweenLite.to(i.find(".defaultimg"), .001, { 1070 zIndex: 20, 1071 autoAlpha: 1, 1072 onComplete: function () { 1073 removeSlots(e, t, a, 1) 1074 } 1075 }), a.index() != r.index() && punchgs.TweenLite.to(r, .2, { 1076 zIndex: 18, 1077 autoAlpha: 0, 1078 onComplete: function () { 1079 removeSlots(e, t, r, 1) 1080 } 1081 })), e.find(".active-revslide").removeClass("active-revslide"), e.find(".processing-revslide").removeClass("processing-revslide").addClass("active-revslide"), t.act = a.index(), t.c.attr("data-slideactive", e.find(".active-revslide").data("index")), ("scroll" == t.parallax.type || "scroll+mouse" == t.parallax.type || "mouse+scroll" == t.parallax.type) && (t.lastscrolltop = -999, _R.scrollHandling(t)), o.clear(), n.data("kbtl") != undefined && (n.data("kbtl").reverse(), n.data("kbtl").timeScale(25)), "on" == i.data("kenburns") && (i.data("kbtl") != undefined ? (i.data("kbtl").timeScale(1), i.data("kbtl").play()) : _R.startKenBurn(i, t)), a.find(".rs-background-video-layer").each(function (e) { 1082 if (_ISM) return !1; 1083 var i = jQuery(this); 1084 _R.resetVideo(i, t), punchgs.TweenLite.fromTo(i, 1, { 1085 autoAlpha: 0 1086 }, { 1087 autoAlpha: 1, 1088 ease: punchgs.Power3.easeInOut, 1089 delay: .2, 1090 onComplete: function () { 1091 _R.animcompleted && _R.animcompleted(i, t) 1092 } 1093 }) 1094 }), r.find(".rs-background-video-layer").each(function (e) { 1095 if (_ISM) return !1; 1096 var i = jQuery(this); 1097 _R.stopVideo && (_R.resetVideo(i, t), _R.stopVideo(i, t)), punchgs.TweenLite.to(i, 1, { 1098 autoAlpha: 0, 1099 ease: punchgs.Power3.easeInOut, 1100 delay: .2 1101 }) 1102 }); 1103 var s = {}; 1104 s.slideIndex = a.index() + 1, s.slideLIIndex = a.index(), s.slide = a, s.currentslide = a, s.prevslide = r, t.last_shown_slide = r.index(), e.trigger("revolution.slide.onchange", s), e.trigger("revolution.slide.onafterswap", s), t.duringslidechange = !1; 1105 var d = r.data("slide_on_focus_amount"), 1106 l = r.data("hideafterloop"); 1107 0 != l && d >= l && t.c.revremoveslide(r.index()) 1108 }, 1109 removeAllListeners = function (e, t) { 1110 e.children().each(function () { 1111 try { 1112 jQuery(this).die("click") 1113 } catch (e) {} 1114 try { 1115 jQuery(this).die("mouseenter") 1116 } catch (e) {} 1117 try { 1118 jQuery(this).die("mouseleave") 1119 } catch (e) {} 1120 try { 1121 jQuery(this).unbind("hover") 1122 } catch (e) {} 1123 }); 1124 try { 1125 e.die("click", "mouseenter", "mouseleave") 1126 } catch (i) {} 1127 clearInterval(t.cdint), e = null 1128 }, 1129 countDown = function (e, t) { 1130 t.cd = 0, t.loop = 0, t.stopAfterLoops != undefined && t.stopAfterLoops > -1 ? t.looptogo = t.stopAfterLoops : t.looptogo = 9999999, t.stopAtSlide != undefined && t.stopAtSlide > -1 ? t.lastslidetoshow = t.stopAtSlide : t.lastslidetoshow = 999, t.stopLoop = "off", 0 == t.looptogo && (t.stopLoop = "on"); 1131 var i = e.find(".tp-bannertimer"); 1132 e.on("stoptimer", function () { 1133 var e = jQuery(this).find(".tp-bannertimer"); 1134 e.data("tween").pause(), "on" == t.disableProgressBar && e.css({ 1135 visibility: "hidden" 1136 }), t.sliderstatus = "paused", _R.unToggleState(t.slidertoggledby) 1137 }), e.on("starttimer", function () { 1138 t.forcepause_viatoggle || (1 != t.conthover && 1 != t.videoplaying && t.width > t.hideSliderAtLimit && 1 != t.tonpause && 1 != t.overnav && 1 != t.ssop && (1 === t.noloopanymore || t.viewPort.enable && !t.inviewport || (i.css({ 1139 visibility: "visible" 1140 }), i.data("tween").resume(), t.sliderstatus = "playing")), "on" == t.disableProgressBar && i.css({ 1141 visibility: "hidden" 1142 }), _R.toggleState(t.slidertoggledby)) 1143 }), e.on("restarttimer", function () { 1144 if (!t.forcepause_viatoggle) { 1145 var e = jQuery(this).find(".tp-bannertimer"); 1146 if (t.mouseoncontainer && "on" == t.navigation.onHoverStop && !_ISM) return !1; 1147 1 === t.noloopanymore || t.viewPort.enable && !t.inviewport || 1 == t.ssop || (e.css({ 1148 visibility: "visible" 1149 }), e.data("tween").kill(), e.data("tween", punchgs.TweenLite.fromTo(e, t.delay / 1e3, { 1150 width: "0%" 1151 }, { 1152 force3D: "auto", 1153 width: "100%", 1154 ease: punchgs.Linear.easeNone, 1155 onComplete: n, 1156 delay: 1 1157 })), t.sliderstatus = "playing"), "on" == t.disableProgressBar && e.css({ 1158 visibility: "hidden" 1159 }), _R.toggleState(t.slidertoggledby) 1160 } 1161 }), e.on("nulltimer", function () { 1162 i.data("tween").kill(), i.data("tween", punchgs.TweenLite.fromTo(i, t.delay / 1e3, { 1163 width: "0%" 1164 }, { 1165 force3D: "auto", 1166 width: "100%", 1167 ease: punchgs.Linear.easeNone, 1168 onComplete: n, 1169 delay: 1 1170 })), i.data("tween").pause(0), "on" == t.disableProgressBar && i.css({ 1171 visibility: "hidden" 1172 }), t.sliderstatus = "paused" 1173 }); 1174 var n = function () { 1175 0 == jQuery("body").find(e).length && (removeAllListeners(e, t), clearInterval(t.cdint)), e.trigger("revolution.slide.slideatend"), 1 == e.data("conthover-changed") && (t.conthover = e.data("conthover"), e.data("conthover-changed", 0)), _R.callingNewSlide(t, e, 1) 1176 }; 1177 i.data("tween", punchgs.TweenLite.fromTo(i, t.delay / 1e3, { 1178 width: "0%" 1179 }, { 1180 force3D: "auto", 1181 width: "100%", 1182 ease: punchgs.Linear.easeNone, 1183 onComplete: n, 1184 delay: 1 1185 })), i.data("opt", t), t.slideamount > 1 && (0 != t.stopAfterLoops || 1 != t.stopAtSlide) ? e.trigger("starttimer")
1185: (t.noloopanymore = 1, e.trigger("nulltimer")), e.on("tp-mouseenter", function () { 1186 t.mouseoncontainer = !0, "on" != t.navigation.onHoverStop || _ISM || (e.trigger("stoptimer"), e.trigger("revolution.slide.onpause")) 1187 }), e.on("tp-mouseleft", function () { 1188 t.mouseoncontainer = !1, 1 != e.data("conthover") && "on" == t.navigation.onHoverStop && (1 == t.viewPort.enable && t.inviewport || 0 == t.viewPort.enable) && (e.trigger("revolution.slide.onresume"), e.trigger("starttimer")) 1189 }) 1190 }, 1191 vis = function () { 1192 var e, t, i = { 1193 hidden: "visibilitychange", 1194 webkitHidden: "webkitvisibilitychange", 1195 mozHidden: "mozvisibilitychange", 1196 msHidden: "msvisibilitychange" 1197 }; 1198 for (e in i) 1199 if (e in document) { 1200 t = i[e]; 1201 break 1202 } 1203 return function (i) { 1204 return i && document.addEventListener(t, i), !document[e] 1205 } 1206 }(), 1207 restartOnFocus = function (e) { 1208 return e == undefined || e.c == undefined ? !1 : void(1 != e.windowfocused && (e.windowfocused = !0, punchgs.TweenLite.delayedCall(.3, function () { 1209 "on" == e.fallbacks.nextSlideOnWindowFocus && e.c.revnext(), e.c.revredraw(), "playing" == e.lastsliderstatus && e.c.revresume() 1210 }))) 1211 }, 1212 lastStatBlur = function (e) { 1213 e.windowfocused = !1, e.lastsliderstatus = e.sliderstatus, e.c.revpause(); 1214 var t = e.c.find(".active-revslide .slotholder"), 1215 i = e.c.find(".processing-revslide .slotholder"); 1216 "on" == i.data("kenburns") && _R.stopKenBurn(i, e), "on" == t.data("kenburns") && _R.stopKenBurn(t, e) 1217 }, 1218 tabBlurringCheck = function (e, t) { 1219 var i = document.documentMode === undefined, 1220 n = window.chrome; 1221 i && !n ? jQuery(window).on("focusin", function () { 1222 restartOnFocus(t) 1223 }).on("focusout", function () { 1224 lastStatBlur(t) 1225 }) : window.addEventListener ? (window.addEventListener("focus", function (e) { 1226 restartOnFocus(t) 1227 }, !1), window.addEventListener("blur", function (e) { 1228 lastStatBlur(t) 1229 }, !1)) : (window.attachEvent("focus", function (e) { 1230 restartOnFocus(t) 1231 }), window.attachEvent("blur", function (e) { 1232 lastStatBlur(t) 1233 })) 1234 }, 1235 getUrlVars = function (e) { 1236 for (var t, i = [], n = window.location.href.slice(window.location.href.indexOf(e) + 1).split("_"), a = 0; a < n.length; a++) n[a] = n[a].replace("%3D", "="), t = n[a].split("="), i.push(t[0]), i[t[0]] = t[1]; 1237 return i 1238 } 1239}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.