vendor: 7,021 bytes, lines 1-168
1/************************************************************************** 2 * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider 3 * @version: 5.4.5 (17.05.2017) 4 * @requires jQuery v1.7 or later (tested on 1.9) 5 * @author ThemePunch 6 **************************************************************************/ 7!function (jQuery, undefined) { 8 "use strict"; 9 var version = { 10 core: "5.4.5", 11 "revolution.extensions.actions.min.js": "2.1.0", 12 "revolution.extensions.carousel.min.js": "1.2.1", 13 "revolution.extensions.kenburn.min.js": "1.3.1", 14 "revolution.extensions.layeranimation.min.js": "3.6.1", 15 "revolution.extensions.navigation.min.js": "1.3.3", 16 "revolution.extensions.parallax.min.js": "2.2.0", 17 "revolution.extensions.slideanims.min.js": "1.7", 18 "revolution.extensions.video.min.js": "2.1.1" 19 }; 20 jQuery.fn.extend({ 21 revolution: function (a) { 22 var b = { 23 delay: 9e3, 24 responsiveLevels: 4064, 25 visibilityLevels: [2048, 1024, 778, 480], 26 gridwidth: 960, 27 gridheight: 500, 28 minHeight: 0, 29 autoHeight: "off", 30 sliderType: "standard", 31 sliderLayout: "auto", 32 fullScreenAutoWidth: "off", 33 fullScreenAlignForce: "off", 34 fullScreenOffsetContainer: "", 35 fullScreenOffset: "0", 36 hideCaptionAtLimit: 0, 37 hideAllCaptionAtLimit: 0, 38 hideSliderAtLimit: 0, 39 disableProgressBar: "off", 40 stopAtSlide: -1, 41 stopAfterLoops: -1, 42 shadow: 0, 43 dottedOverlay: "none", 44 startDelay: 0, 45 lazyType: "smart", 46 spinner: "spinner0", 47 shuffle: "off", 48 viewPort: {enable: !1, outof: "wait", visible_area: "60%", presize: !1}, 49 fallbacks: { 50 isJoomla: !1, 51 panZoomDisableOnMobile: "off", 52 simplifyAll: "on", 53 nextSlideOnWindowFocus: "off", 54 disableFocusListener: !0, 55 ignoreHeightChanges: "off", 56 ignoreHeightChangesSize: 0, 57 allowHTML5AutoPlayOnAndroid: !0 58 }, 59 parallax: { 60 type: "off", 61 levels: [10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85], 62 origo: "enterpoint", 63 speed: 400, 64 bgparallax: "off", 65 opacity: "on", 66 disable_onmobile: "off", 67 ddd_shadow: "on", 68 ddd_bgfreeze: "off", 69 ddd_overflow: "visible", 70 ddd_layer_overflow: "visible", 71 ddd_z_correction: 65, 72 ddd_path: "mouse" 73 }, 74 scrolleffect: { 75 fade: "off", 76 blur: "off", 77 scale: "off", 78 grayscale: "off", 79 maxblur: 10, 80 on_layers: "off", 81 on_slidebg: "off", 82 on_static_layers: "off", 83 on_parallax_layers: "off", 84 on_parallax_static_layers: "off", 85 direction: "both", 86 multiplicator: 1.35, 87 multiplicator_layers: .5, 88 tilt: 30, 89 disable_on_mobile: "on" 90 }, 91 carousel: { 92 easing: punchgs.Power3.easeInOut, 93 speed: 800, 94 showLayersAllTime: "off", 95 horizontal_align: "center", 96 vertical_align: "center", 97 infinity: "on", 98 space: 0, 99 maxVisibleItems: 3, 100 stretch: "off", 101 fadeout: "on", 102 maxRotation: 0, 103 minScale: 0, 104 vary_fade: "off", 105 vary_rotation: "on", 106 vary_scale: "off", 107 border_radius: "0px", 108 padding_top: 0, 109 padding_bottom: 0 110 }, 111 navigation: { 112 keyboardNavigation: "off", 113 keyboard_direction: "horizontal", 114 mouseScrollNavigation: "off", 115 onHoverStop: "on", 116 touch: { 117 touchenabled: "off", 118 touchOnDesktop: "off", 119 swipe_treshold: 75, 120 swipe_min_touches: 1, 121 drag_block_vertical: !1, 122 swipe_direction: "horizontal" 123 }, 124 arrows: { 125 style: "", 126 enable: !1, 127 hide_onmobile: !1, 128 hide_onleave: !0, 129 hide_delay: 200, 130 hide_delay_mobile: 1200, 131 hide_under: 0, 132 hide_over: 9999, 133 tmp: "", 134 rtl: !1, 135 left: {h_align: "left", v_align: "center", h_offset: 20, v_offset: 0, container: "slider"}, 136 right: {h_align: "right", v_align: "center", h_offset: 20, v_offset: 0, container: "slider"} 137 }, 138 bullets: { 139 container: "slider", 140 rtl: !1, 141 style: "", 142 enable: !1, 143 hide_onmobile: !1, 144 hide_onleave: !0, 145 hide_delay: 200, 146 hide_delay_mobile: 1200, 147 hide_under: 0, 148 hide_over: 9999, 149 direction: "horizontal", 150 h_align: "left", 151 v_align: "center", 152 space: 0, 153 h_offset: 20, 154 v_offset: 0, 155 tmp: '<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>' 156 }, 157 thumbnails: { 158 container: "slider", 159 rtl: !1, 160 style: "", 161 enable: !1, 162 width: 100, 163 height: 50, 164 min_width: 100, 165 wrapper_padding: 2, 166 wrapper_color: "#f5f5f5", 167 wrapper_opacity: 1, 168 tmp: '<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',
169 visibleAmount: 5, 170 hide_onmobile: !1, 171 hide_onleave: !0, 172 hide_delay: 200, 173 hide_delay_mobile: 1200, 174 hide_under: 0, 175 hide_over: 9999, 176 direction: "horizontal", 177 span: !1, 178 position: "inner", 179 space: 2, 180 h_align: "left", 181 v_align: "center", 182 h_offset: 20, 183 v_offset: 0 184 }, 185 tabs: { 186 container: "slider", 187 rtl: !1, 188 style: "", 189 enable: !1, 190 width: 100, 191 min_width: 100, 192 height: 50, 193 wrapper_padding: 10, 194 wrapper_color: "#f5f5f5", 195 wrapper_opacity: 1, 196 tmp: '<span class="tp-tab-image"></span>', 197 visibleAmount: 5, 198 hide_onmobile: !1, 199 hide_onleave: !0, 200 hide_delay: 200, 201 hide_delay_mobile: 1200, 202 hide_under: 0, 203 hide_over: 9999, 204 direction: "horizontal", 205 span: !1, 206 space: 0, 207 position: "inner", 208 h_align: "left", 209 v_align: "center", 210 h_offset: 20, 211 v_offset: 0 212 } 213 }, 214 extensions: "extensions/", 215 extensions_suffix: ".min.js", 216 debugMode: !1 217 }; 218 return a = jQuery.extend(!0, {}, b, a), this.each(function () { 219 var b = jQuery(this); 220 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) { 221 a > 0 && jQuery(this).remove() 222 }), 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 () { 223 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; 224 _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) 225 }), b[0].opt = a, waitForScripts(b, a) 226 }) 227 }, getRSVersion: function (a) { 228 if (!0 === a)return jQuery("body").data("tp_rs_version"); 229 var b = jQuery("body").data("tp_rs_version"), c = ""; 230 c += "---------------------------------------------------------\n", c += " Currently Loaded Slider Revolution & SR Modules :\n", c += "---------------------------------------------------------\n"; 231 for (var d in b)c += b[d].alias + ": " + b[d].ver + "\n"; 232 return c += "---------------------------------------------------------\n" 233 }, revremoveslide: function (a) { 234 return this.each(function () { 235 var b = jQuery(this), c = b[0].opt; 236 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)) { 237 var d = jQuery(c.li[a]), e = d.data("index"), f = !1; 238 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%"}) 239 } 240 }) 241 }, revaddcallback: function (a) { 242 return this.each(function () { 243 this.opt && (this.opt.callBackArray === undefined && (this.opt.callBackArray = new Array), this.opt.callBackArray.push(a)) 244 }) 245 }, revgetparallaxproc: function () { 246 return jQuery(this)[0].opt.scrollproc 247 }, revdebugmode: function () { 248 return this.each(function () { 249 var a = jQuery(this); 250 a[0].opt.debugMode = !0, containerResized(a, a[0].opt) 251 }) 252 }, revscroll: function (a) { 253 return this.each(function () { 254 var b = jQuery(this); 255 jQuery("body,html").animate({scrollTop: b.offset().top + b.he
255ight() - a + "px"}, {duration: 400}) 256 }) 257 }, revredraw: function (a) { 258 return this.each(function () { 259 var a = jQuery(this); 260 containerResized(a, a[0].opt) 261 }) 262 }, revkill: function (a) { 263 var b = this, c = jQuery(this); 264 if (punchgs.TweenLite.killDelayedCallsTo(_R.showHideNavElements), c != undefined && c.length > 0 && jQuery("body").find("#" + c.attr("id")).length > 0) { 265 c.data("conthover", 1), c.data("conthover-changed", 1), c.trigger("revolution.slide.onpause"); 266 var d = c.parent().find(".tp-bannertimer"), e = c[0].opt; 267 e.tonpause = !0, c.trigger("stoptimer"); 268 var f = "resize.revslider-" + c.attr("id"); 269 jQuery(window).unbind(f), punchgs.TweenLite.killTweensOf(c.find("*"), !1), punchgs.TweenLite.killTweensOf(c, !1), c.unbind("hover, mouseover, mouseenter,mouseleave, resize"); 270 var f = "resize.revslider-" + c.attr("id"); 271 jQuery(window).off(f), c.find("*").each(function () { 272 var a = jQuery(this); 273 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 274 }), punchgs.TweenLite.killTweensOf(c.find("*"), !1), punchgs.TweenLite.killTweensOf(c, !1), d.remove(); 275 try { 276 c.closest(".forcefullwidth_wrapper_tp_banner").remove() 277 } catch (a) { 278 } 279 try { 280 c.closest(".rev_slider_wrapper").remove() 281 } catch (a) { 282 } 283 try { 284 c.remove() 285 } catch (a) { 286 } 287 return c.empty(), c.html(), c = null, e = null, delete b.c, delete b.opt, delete b.container, !0 288 } 289 return !1 290 }, revpause: function () { 291 return this.each(function () { 292 var a = jQuery(this); 293 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")) 294 }) 295 }, revresume: function () { 296 return this.each(function () { 297 var a = jQuery(this); 298 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")) 299 }) 300 }, revstart: function () { 301 var a = jQuery(this); 302 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) 303 }, revnext: function () { 304 return this.each(function () { 305 var a = jQuery(this); 306 a != undefined && a.length > 0 && jQuery("body").find("#" + a.attr("id")).length > 0 && _R.callingNewSlide(a, 1) 307 }) 308 }, revprev: function () { 309 return this.each(function () { 310 var a = jQuery(this); 311 a != undefined && a.length > 0 && jQuery("body").find("#" + a.attr("id")).length > 0 && _R.callingNewSlide(a, -1) 312 }) 313 }, revmaxslide: function () { 314 return jQuery(this).find(".tp-revslider-mainul >li").length 315 }, revcurrentslide: function () { 316 var a = jQuery(this); 317 if (a != undefined && a.length > 0 && jQuery("body").find("#" + a.attr("id")).length > 0)return parseInt(a[0].opt.act, 0) + 1 318 }, revlastslide: function () { 319 return jQuery(this).find(".tp-revslider-mainul >li").length 320 }, revshowslide: function (a) { 321 return this.each(function () { 322 var b = jQuery(this); 323 b != undefined && b.length > 0 && jQuery("body").find("#" + b.attr("id")).length > 0 && _R.callingNewSlide(b, "to" + (a - 1)) 324 }) 325 }, revcallslidewithid: function (a) { 326 return this.each(function () { 327 var b = jQuery(this); 328 b != undefined && b.length > 0 && jQuery("body").find("#" + b.attr("id")).length > 0 && _R.callingNewSlide(b, a) 329 }) 330 } 331 }); 332 var _R = jQuery.fn.revolution; 333 jQuery.extend(!0, _R, { 334 getversion: function () { 335 return version 336 }, compare_version: function (a) { 337 var b = jQuery("body").data("tp_rs_version"); 338 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
338ore), "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 339 }, currentSlideIndex: function (a) { 340 var b = a.c.find(".active-revslide").index(); 341 return b = -1 == b ? 0 : b 342 }, simp: function (a, b, c) { 343 var d = Math.abs(a) - Math.floor(Math.abs(a / b)) * b; 344 return c ? d : a < 0 ? -1 * d : d 345 }, iOSVersion: function () { 346 var a = !1; 347 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 348 }, isIE: function (a, b) { 349 var c = jQuery('<div style="display:none;"/>').appendTo(jQuery("body")); 350 c.html("\x3c!--[if " + (b || "") + " IE " + (a || "") + "]><a> </a><![endif]--\x3e"); 351 var d = c.find("a").length; 352 return c.remove(), d 353 }, is_mobile: function () { 354 var a = ["android", "webos", "iphone", "ipad", "blackberry", "Android", "webos", , "iPod", "iPhone", "iPad", "Blackberry", "BlackBerry"], b = !1;
355 for (var c in a)navigator.userAgent.split(a[c]).length > 1 && (b = !0); 356 return b 357 }, is_android: function () { 358 var a = ["android", "Android"], b = !1; 359 for (var c in a)navigator.userAgent.split(a[c]).length > 1 && (b = !0); 360 return b 361 }, callBackHandling: function (a, b, c) { 362 try { 363 a.callBackArray && jQuery.each(a.callBackArray, function (a, d) { 364 d && d.inmodule && d.inmodule === b && d.atposition && d.atposition === c && d.callback && d.callback.call() 365 }) 366 } catch (a) { 367 console.log("Call Back Failed") 368 } 369 }, get_browser: function () { 370 var c, a = navigator.appName, b = navigator.userAgent, d = b.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); 371 return d && null != (c = b.match(/version\/([\.\d]+)/i)) && (d[2] = c[1]), d = d ? [d[1], d[2]] : [a, navigator.appVersion, "-?"], d[0] 372 }, get_browser_version: function () { 373 var c, a = navigator.appName, b = navigator.userAgent, d = b.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); 374 return d && null != (c = b.match(/version\/([\.\d]+)/i)) && (d[2] = c[1]), d = d ? [d[1], d[2]] : [a, navigator.appVersion, "-?"], d[1] 375 }, getHorizontalOffset: function (a, b) { 376 var c = gWiderOut(a, ".outer-left"), d = gWiderOut(a, ".outer-right"); 377 switch (b) { 378 case"left": 379 return c; 380 case"right": 381 return d; 382 case"both": 383 return c + d 384 } 385 }, callingNewSlide: function (a, b) { 386 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; 387 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 () { 388 var a = jQuery(this); 389 a.data("index") === b && a.addClass("next-revslide") 390 }), 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") 391 }, slotSize: function (a, b) { 392 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)) 393 }, setSize: function (a) { 394 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; 395 if (a.paddings = a.paddings === undefined ? { 396 top: parseInt(a.c.parent().css("paddingTop"), 0) || 0, 397 bottom: parseInt(a.c.parent().css("paddingBottom"), 0) || 0 398 } : 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; 399 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({ 400 marginTop: c, 401 marginBottom: d 402 }), 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) { 403 a.height = a.bw * a.gridheight[a.curWinRange]; 404 var j = (a.c.parent().width(), jQuery(window).height()); 405 if (a.fullScreenOffsetContainer != undefined) { 406 try { 407 var k = a.fullScreenOffsetContainer.split(","); 408 k && jQuery.each(k, function (a, b) { 409 j = jQuery(b).length > 0 ? j - jQuery(b).outerHeight(!0) : j 410 }) 411 } catch (a) { 412 } 413 try { 414 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)) 415 } catch (a) { 416 } 417 } 418 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 419 } 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); 420 var l = {height: c + d + b + a.height + a.paddings.top + a.paddings.bottom}; 421 a.c.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css(l), a.c.closest(".rev_slider_wrapper").css(l), setScale(a) 422 }, enterInViewPort: function (a) { 423 a.waitForCountDown && (countDown(a.c, a), a.waitForCountDown = !1), a.waitForFirstSlide && (swapSlide(a.c), a.waitForFirstSlide = !1, setTimeout(function () { 424 a.c.removeClass("tp-waitforfirststart") 425 }, 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) { 426 _R.playVideo(c, a) 427 }) 428 }, leaveViewPort: function (a) { 429 a.sliderlaststatus = a.sliderstatus, a.c.trigger("stoptimer"), a.playingvideos != undefined && a.playingvideos.length >
429 0 && (a.lastplayedvideos = jQuery.extend(!0, [], a.playingvideos), a.playingvideos && jQuery.each(a.playingvideos, function (b, c) { 430 a.leaveViewPortBasedStop = !0, _R.stopVideo && _R.stopVideo(c, a) 431 })) 432 }, unToggleState: function (a) { 433 a != undefined && a.length > 0 && jQuery.each(a, function (a, b) { 434 b.removeClass("rs-toggle-content-active") 435 }) 436 }, toggleState: function (a) { 437 a != undefined && a.length > 0 && jQuery.each(a, function (a, b) { 438 b.addClass("rs-toggle-content-active") 439 }) 440 }, swaptoggleState: function (a) { 441 a != undefined && a.length > 0 && jQuery.each(a, function (a, b) { 442 jQuery(b).hasClass("rs-toggle-content-active") ? jQuery(b).removeClass("rs-toggle-content-active") : jQuery(b).addClass("rs-toggle-content-active") 443 }) 444 }, lastToggleState: function (a) { 445 var b = 0; 446 return a != undefined && a.length > 0 && jQuery.each(a, function (a, c) { 447 b = c.hasClass("rs-toggle-content-active") 448 }), b 449 } 450 }); 451 var _ISM = _R.is_mobile(), _ANDROID = _R.is_android(), checkIDS = function (a, b) { 452 if (a.anyid = a.anyid === undefined ? [] : a.anyid, -1 != jQuery.inArray(b.attr("id"), a.anyid)) { 453 var d = b.attr("id") + "_" + Math.round(9999 * Math.random()); 454 b.attr("id", d) 455 } 456 a.anyid.push(b.attr("id")) 457 }, removeArray = function (a, b) { 458 var c = []; 459 return jQuery.each(a, function (a, d) { 460 a != b && c.push(d) 461 }), c 462 }, removeNavWithLiref = function (a, b, c) { 463 c.c.find(a).each(function () { 464 var a = jQuery(this); 465 a.data("liref") === b && a.remove() 466 }) 467 }, lAjax = function (a, b) { 468 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({ 469 url: b.jsFileLocation + a + b.extensions_suffix + "?version=" + version.core, 470 dataType: "script", 471 cache: !0, 472 error: function (c) { 473 console.warn("Slider Revolution 5.0 Error !"), console.error("Failure at Loading:" + a + b.extensions_suffix + " on Path:" + b.jsFileLocation), console.info(c) 474 } 475 }), void jQuery("body").data(a, !0))) 476 }, getNeededScripts = function (a, b) { 477 var c = new Object, d = a.navigation; 478 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 () { 479 "on" == jQuery(this).data("kenburns") && (c.kenburns = !0) 480 }), ("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 () { 481 var a = jQuery(this); 482 (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 483 }), b.find("li").each(function () { 484 jQuery(this).data("link") && jQuery(this).data("link") != undefined && (c.layeranim = !0, c.actions = !0) 485 }), !c.videos && (b.find(".rs-background-video-layer").length >
485 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) { 486 "object" == typeof c && c.fileprefix != undefined && lAjax(c.fileprefix, a) 487 }), c 488 }, waitForScripts = function (a, b) { 489 var c = !0, d = b.scriptsneeded; 490 b.addons != undefined && b.addons.length > 0 && jQuery.each(b.addons, function (a, b) { 491 "object" == typeof b && b.init != undefined && _R[b.init] === undefined && (c = !1) 492 }), 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 () { 493 waitForScripts(a, b) 494 }, 50) 495 }, getScriptLocation = function (a) { 496 var b = new RegExp("themepunch.revolution.min.js", "gi"), c = ""; 497 return jQuery("script").each(function () { 498 var a = jQuery(this).attr("src"); 499 a && a.match(b) && (c = a) 500 }), c = c.replace("jquery.themepunch.revolution.min.js", ""), c = c.replace("jquery.themepunch.revolution.js", ""), c = c.split("?")[0] 501 }, setCurWinRange = function (a, b) { 502 var d = 9999, e = 0, f = 0, g = 0, h = jQuery(window).width(), i = b && 9999 == a.responsiveLevels ? a.visibilityLevels : a.responsiveLevels; 503 i && i.length && jQuery.each(i, function (a, b) { 504 h < b && (0 == e || e > b) && (d = b, g = a, e = b), h > b && e < b && (e = b, f = a) 505 }), e < d && (g = f), b ? a.forcedWinRange = g : a.curWinRange = g 506 }, prepareOptions = function (a, b) { 507 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%" 508 }
508, gWiderOut = function (a, b) { 509 var c = 0; 510 return a.find(b).each(function () { 511 var a = jQuery(this); 512 !a.hasClass("tp-forcenotvisible") && c < a.outerWidth() && (c = a.outerWidth()) 513 }), c 514 }, initSlider = function (container, opt) { 515 if (container == undefined)return !1; 516 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) { 517 var b = jQuery(this); 518 "on" == b.data("hideslideonmobile") && _ISM && b.remove(), (b.data("invisible") || !0 === b.data("invisible")) && (b.addClass("tp-invisible-slide"), b.appendTo(opt.ul)) 519 }), opt.addons != undefined && opt.addons.length > 0 && jQuery.each(opt.addons, function (i, obj) { 520 "object" == typeof obj && obj.init != undefined && _R[obj.init](eval(obj.params)) 521 }), 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)) 522 }, onFullScreenChange = function () { 523 jQuery("body").data("rs-fullScreenMode", !jQuery("body").data("rs-fullScreenMode")), jQuery("body").data("rs-fullScreenMode") && setTimeout(function () { 524 jQuery(window).trigger("resize") 525 }, 200) 526 }, runSlider = function (a, b) { 527 if (b.sliderisrunning = !0, b.ul.find(">li").each(function (a) { 528 jQuery(this).data("originalindex", a) 529 }), b.allli = b.ul.find(">li"), jQuery.each(b.allli, function (a, b) { 530 var b = jQuery(b); 531 b.data("origindex", b.index()) 532 }), b.li = b.ul.find(">li").not(".tp-invisible-slide"), "on" == b.shuffle) { 533 var c = new Object, d = b.ul.find(">li:first-child"); 534 c.fstransition = d.data("fstransition"), c.fsmasterspeed = d.data("fsmasterspeed"), c.fsslotamount = d.data("fsslotamount"); 535 for (var e = 0; e < b.slideamount; e++) { 536 var f = Math.round(Math.random() * b.slideamount); 537 b.ul.find(">li:eq(" + f + ")").prependTo(b.ul) 538 } 539 var g = b.ul.find(">li:first-child"); 540 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") 541 } 542 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) { 543 var c = jQuery(c), d = c.find(".rev-slidebg") || c.find("img").first(), e = 0; 544 c.addClass("tp-revslider-slidesli"), c.data("index") === undefined && c.data("index", "rs-" + Math.round(999999 * Math.random())); 545 var f = new Object; 546 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({ 547 from: RegExp("\\{\\{title\\}\\}", "g"), 548 to: c.data("title") 549 }), c.data("description") !== undefined && f.params.push({ 550 from: RegExp("\\{\\{description\\}\\}", "g"), 551 to: c.data("description") 552 }); 553 for (var e = 1; e <= 10; e++)c.data("param" + e) !== undefined && f.params.push({ 554 from: RegExp("\\{\\{param" + e + "\\}\\}", "g"), 555 to: c.data("param" + e) 556 }); 557 if (b.thumbs.push(f), c.data("link") != undefined) {
558 var g = c.data("link"), h = c.data("target") || "_self", i = "back" === c.data("slideindex") ? 0 : 60, j = c.data("linktoslide"), k = j; 559 j != undefined && "next" != j && "prev" != j && b.allli.each(function () { 560 var a = jQuery(this); 561 a.data("origindex") + 1 == k && (j = a.data("index")) 562 }), "slide" != g && (j = "no"); 563 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"}]\''; 564 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) 565 } 566 }), 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 () { 567 var a = jQuery(this); 568 a.removeClass("customin customout").addClass("fadein fadeout"), a.data("splitin", ""), a.data("speed", 400) 569 }), b.allli.each(function () { 570 var a = jQuery(this); 571 a.data("transition", "fade"), a.data("masterspeed", 500), a.data("slotamount", 1), (a.find(".rev-slidebg") || a.find(">img").first()).data("kenburns", "off") 572 })), 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)) { 573 var h = a.parent(), i = h.css("marginBottom"), j = h.css("marginTop"), k = a.attr("id") + "_forcefullwidth"; 574 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({ 575 marginTop: "0px", 576 marginBottom: "0px" 577 }), a.parent().css({position: "absolute"}) 578 } 579 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({ 580 backgroundColor: a.parent().css("backgroundColor"), 581 backgroundImage: a.parent().css("backgroundImage") 582 })), setCurWinRange(b), setCurWinRange(b, !0), !a.hasClass("revslider-initialised")) { 583 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; 584 var l = jQuery.fn.jquery.split("."), m = parseFloat(l[0]), n = parseFloat(l[1]); 585 parseFloat(l[2] || "0"); 586 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); 587 var p = new Object; 588 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) { 589 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; 590 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); 591 var l = c.data("noposteronmobile") || c.data("noPosterOnMobile") || c.data("posteronmobile") || c.data("posterOnMobile") || c.data("posterOnMObile"); 592 c.data("noposteronmobile", l); 593 var m = 0; 594 if (c.find("iframe").each(function () { 595 punchgs.TweenLite.set(jQuery(this), {autoAlpha: 0}), m++ 596 }), m > 0 && c.data("iframes", !0), c.hasClass("tp-caption")) { 597 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 = ""; 598 "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"); 599 var u = "", v = ""; 600 "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>')); 601 var w = ["pendulum", "rotate", "slideloop", "pulse", "wave"], x = c.closest(".tp-loop-wrap"); 602 jQuery.each(w, function (a, b) { 603 var d = c.find(".rs-" + b), e = d.data() || ""; 604 "" != e && (x.data(e), x.addClass("rs-" + b), d.children(0).unwrap(), c.data("loopanimation", "on")) 605 }), c.attr("id") === undefined && c.attr("id", "layer-" + Math.round(999999999 * Math.random())), checkIDS(b, c), punchgs.TweenLite.set(c, {visibility: "hidden"}) 606 } 607 var y = c.data("actions"); 608 y !== undefined && _R.checkActions(c, b, y), checkHoverDepen
608dencies(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") 609 }), a[0].addEventListener("mouseenter", function () { 610 a.trigger("tp-mouseenter"), b.overcontainer = !0 611 }, {passive: !0}), a[0].addEventListener("mouseover", function () { 612 a.trigger("tp-mouseover"), b.overcontainer = !0 613 }, {passive: !0}), a[0].addEventListener("mouseleave", function () { 614 a.trigger("tp-mouseleft"), b.overcontainer = !1 615 }, {passive: !0}), a.find(".tp-caption video").each(function (a) { 616 var b = jQuery(this); 617 b.removeClass("video-js vjs-default-skin"), b.attr("preload", ""), b.css({display: "none"}) 618 }), "standard" !== b.sliderType && (b.lazyType = "all"), loadImages(a.find(".tp-static-layers"), b, 0, !0), waitForCurrentImages(a.find(".tp-static-layers"), b, function () { 619 a.find(".tp-static-layers img").each(function () { 620 var a = jQuery(this), c = a.data("lazyload") != undefined ? a.data("lazyload") : a.attr("src"), d = getLoadObj(b, c); 621 a.attr("src", d.src) 622 }) 623 }), b.rowzones = [], b.allli.each(function (a) { 624 var c = jQuery(this); 625 b.rowzones[a] = [], c.find(".rev_row_zone").each(function () { 626 b.rowzones[a].push(jQuery(this)) 627 }), "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 () { 628 })) 629 }); 630 var q = getUrlVars("#")[0]; 631 if (q.length < 9 && q.split("slide").length > 1) { 632 var r = parseInt(q.split("slide")[1], 0); 633 r < 1 && (r = 1), r > b.slideamount && (r = b.slideamount), b.startWithSlide = r - 1 634 } 635 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); 636 var s = b.viewPort; 637 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 () { 638 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) { 639 var c = jQuery(b.li[0]); 640 loadImages(c, b, 0, !0), waitForCurrentImages(c.find(".tp-layers"), b, function () { 641 _R.animateTheCaptions({slide: c, opt: b, preset: !0}
641) 642 }) 643 } 644 _R.manageNavigation && _R.manageNavigation(b), b.slideamount > 1 && (!s.enable || s.enable && b.inviewport ? countDown(a, b) : b.waitForCountDown = !0), setTimeout(function () { 645 a.trigger("revolution.slide.onloaded") 646 }, 100) 647 }, 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}); 648 var t = "resize.revslider-" + a.attr("id"); 649 jQuery(window).on(t, function () { 650 if (a == undefined)return !1; 651 0 != jQuery("body").find(a) && contWidthManager(b); 652 var c = !1; 653 if ("fullscreen" == b.sliderLayout) { 654 var d = jQuery(window).height(); 655 "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 656 } 657 (a.outerWidth(!0) != b.width || a.is(":hidden") || c) && (b.lastwindowheight = jQuery(window).height(), containerResized(a, b)) 658 }), hideSliderUnder(a, b), contWidthManager(b), b.fallbacks.disableFocusListener || "true" == b.fallbacks.disableFocusListener || !0 === b.fallbacks.disableFocusListener || (a.addClass("rev_redraw_on_blurfocus"), tabBlurringCheck()) 659 } 660 }, cArray = function (a, b) { 661 if (!jQuery.isArray(a)) { 662 var c = a; 663 a = new Array, a.push(c) 664 } 665 if (a.length < b)for (var c = a[a.length - 1], d = 0; d < b - a.length + 2; d++)a.push(c); 666 return a 667 }, checkHoverDependencies = function (a, b) { 668 var c = a.data(); 669 ("sliderenter" === c.start || c.frames !== undefined && c.frames[0] != undefined && "sliderenter" === c.frames[0].delay) && (b.layersonhover === undefined && (b.c.on("tp-mouseenter", function () { 670 b.layersonhover && jQuery.each(b.layersonhover, function (a, c) { 671 var d = c.data("closestli") || c.closest(".tp-revslider-slidesli"), e = c.data("staticli") || c.closest(".tp-static-layers"); 672 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({ 673 caption: c, 674 opt: b, 675 frame: "frame_0", 676 triggerdirection: "in", 677 triggerframein: "frame_0", 678 triggerframeout: "frame_999" 679 }), c.data("triggerstate", "on")) 680 }) 681 }), b.c.on("tp-mouseleft", function () { 682 b.layersonhover && jQuery.each(b.layersonhover, function (a, c) { 683 c.data("animdirection", "out"), c.data("triggered", !0), c.data("triggerstate", "off"), _R.stopVideo && _R.stopVideo(c, b), _R.playAnimationFrame && _R.playAnimationFrame({ 684 caption: c, 685 opt: b, 686 frame: "frame_999", 687 triggerdirection: "out", 688 triggerframein: "frame_0", 689 triggerframeout: "frame_999" 690 }) 691 }) 692 }), b.layersonhover = new Array), b.layersonhover.push(a)) 693 }, contWidthManager = function (a) { 694 var b = _R.getHorizontalOffset(a.c, "left"); 695 if ("auto" == a.sliderLayout || "fullscreen" === a.sliderLayout && "on" == a.fullScreenAutoWidth) "fullscreen" == a.sliderLayout && "on" == a.fullScreenAutoWidth ? punchgs.TweenLite.set(a.ul, { 696 left: 0, 697 width: a.c.width() 698 }) : punchgs.TweenLite.set(a.ul, {left: b, width: a.c.width() - _R.getHorizontalOffset(a.c, "both")}); else { 699 var c = Math.ceil(a.c.closest(".forcefullwidth_wrapper_tp_banner").offset().left - b); 700 punchgs.TweenLite.set(a.c.parent(), { 701 left: 0 - c + "px", 702 width: jQuery(window).width() - _R.getHorizontalOffset(a.c, "both") 703 }) 704 } 705 a.slayers && "fullwidth" != a.sliderLayout && "fullscreen" != a.sliderLayout && punchgs.TweenLite.set(a.slayers, {left: b}) 706 }, cv = function (a, b) { 707 return a === undefined ? b : a 708 }, hideSliderUnder = function (a, b, c) { 709 var d = a.parent(); 710 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 () { 711 containerResized(a, b) 712 }, 150)), _R.hideUnHideNav && _R.hideUnHideNav(b) 713 }, containerResized = function (a, b) { 714 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)) { 715 if (hideSliderUnder(a, b, !0), contWidthManager(b), "carousel" == b.sliderType && _R.prepareCarousel(b, !0), a === undefined)return !1; 716 _R.setSize(b), b.conw = b.c.width(), b.conh = b.infullscreenmode ? b.minHeight : b.c.height(); 717 var c = a.find(".active-revslide .slotholder"), d = a.find(".processing-revslide .slotholder"); 718 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 () { 719 _R.prepareCarousel(b, !0), "carousel" == b.sliderType && "on" === b.carousel.showLayersAllTime && jQuery.each(b.li, function (a) { 720 _R.animateTheCaptions({slide: jQuery(b.li[a]), opt: b, recall: !0}) 721 }) 722 }, 100), b.lastconw = b.conw), _R.manageNavigation && _R.manageNavigation(b), _R.animateTheCaptions && a.find(".active-revslide").length > 0 && _R.animateTheCaptions({ 723 slide: a.find(".active-revslide"), 724 opt: b, 725 recall: !0 726 }), "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({ 727 slide: a.find(".processing-revslide"), 728 opt: b, 729 recall: !0 730 }), _R.manageNavigation && _R.manageNavigation(b) 731 } 732 a.trigger("revolution.slide.afterdraw") 733 }, setScale = function (a) { 734 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) 735 }, prepareSlides = function (a, b) { 736 if (a.find(".tp-caption").each(function () { 737 var a = jQuery(this); 738 a.data("transition") !== undefined && a.addClass(a.data("transition")) 739 }), b.ul.css({ 740 overflow: "hidden", 741 width: "100%", 742 height: "100%", 743 maxHeight: a.parent().css("maxHeight") 744 }), "on" == b.autoHeight && (b.ul.css({ 745 overflow: "hidden", 746 width: "100%", 747 height: "100%", 748 maxHeight: "none" 749 }), a.css({maxHeight: "none"}), a.parent().css({maxHeight: "none"})), b.allli.each(function (a) { 750 var c = jQuery(this), d = c.data("originalindex"); 751 (b.startWithSlide != undefined && d == b.startWithSlide || b.startWithSlide === undefined && 0 == a) && c.addClass("next-revslide"), c.css({ 752 width: "100%", 753 height: "100%", 754 overflow: "hidden" 755 }) 756 }), "carousel" === b.sliderType) { 757 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>'); 758 var c = '<div style="clear:both;display:block;width:100%;height:1px;position:relative;margin-bottom:-1px"></div>'; 759 b.c.parent().prepend(c), b.c.parent().append(c), _R.prepareCarousel(b) 760 } 761 a.parent().css({overflow: "visible"}), b.allli.find(">img").each(function (a) { 762 var c = jQuery(this), d = c.closest("li"), e = d.find(".rs-background-video-layer"); 763 e.addClass("defaultvid").css({zIndex: 30}
763), c.addClass("defaultimg"), "on" == b.fallbacks.panZoomDisableOnMobile && _ISM && (c.data("kenburns", "off"), c.data("bgfit", "cover")); 764 var f = d.data("mediafilter"); 765 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")); 766 var g = c.data(); 767 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>'); 768 var h = c.attr("src"); 769 g.src = h, g.bgfit = g.bgfit || "cover", g.bgrepeat = g.bgrepeat || "no-repeat", g.bgposition = g.bgposition || "center center"; 770 var j = (c.closest(".slotholder"), c.data("bgcolor")), k = ""; 771 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; 772 var l = jQuery('<div class="tp-bgimg defaultimg ' + f + '" data-bgcolor="' + j + '" style=' + k + "></div>"); 773 c.parent().append(l); 774 var m = document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - " + c.get(0).outerHTML); 775 c.replaceWith(m), l.data(g), l.attr("src", h), "standard" !== b.sliderType && "undefined" !== b.sliderType || l.css({opacity: 0}) 776 }), b.scrolleffect.on && "on" === b.scrolleffect.on_slidebg && (b.allslotholder = new Array, b.allli.find(".slotholder").each(function () { 777 jQuery(this).wrap('<div style="display:block;position:absolute;top:0px;left:0px;width:100%;height:100%" class="slotholder_fadeoutwrap"></div>') 778 }), b.allslotholder = b.c.find(".slotholder_fadeoutwrap")) 779 }, removeSlots = function (a, b, c, d) { 780 b.removePrepare = b.removePrepare + d, c.find(".slot, .slot-circle-wrapper").each(function () { 781 jQuery(this).remove() 782 }), b.transition = 0, b.removePrepare = 0 783 }, cutParams = function (a) { 784 var b = a; 785 return a != undefined && a.length > 0 && (b = a.split("?")[0]), b 786 }, relativeRedir = function (a) { 787 return location.pathname.replace(/(.*)\/[^\/]*/, "$1/" + a) 788 }, abstorel = function (a, b) { 789 var c = a.split("/"), d = b.split("/"); 790 c.pop(); 791 for (var e = 0; e < d.length; e++)"." != d[e] && (".." == d[e] ? c.pop() : c.push(d[e])); 792 return c.join("/") 793 }, imgLoaded = function (a, b, c) { 794 b.syncload--, b.loadqueue && jQuery.each(b.loadqueue, function (b, d) { 795 var e = d.src.replace(/\.\.\/\.\.\//gi, ""), f = self.location.href, g = document.location.origin, h = f.substring(0, f.length - 1) + "/" + e, i = g + "/"
795+ e, j = abstorel(self.location.href, d.src); 796 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) 797 }), progressImageLoad(b) 798 }, progressImageLoad = function (a) { 799 3 != a.syncload && a.loadqueue && jQuery.each(a.loadqueue, function (b, c) { 800 if (c.progress.match(/prepared/g) && a.syncload <= 3) { 801 if (a.syncload++, "img" == c.type) { 802 var d = new Image; 803 d.onload = function () { 804 imgLoaded(this, a, "loaded"), c.error = !1 805 }, d.src = c.src 806 } else jQuery.get(c.src, function (b) { 807 c.innerHTML = (new XMLSerializer).serializeToString(b.documentElement), c.progress = "loaded", a.syncload--, progressImageLoad(a) 808 }).fail(function () { 809 c.progress = "failed", a.syncload--, progressImageLoad(a) 810 }); 811 c.progress = "inload" 812 } 813 }) 814 }, addToLoadQueue = function (a, b, c, d, e) { 815 var f = !1; 816 if (b.loadqueue && jQuery.each(b.loadqueue, function (b, c) { 817 c.src === a && (f = !0) 818 }), !f) { 819 var g = new Object; 820 g.src = a, g.starttoload = jQuery.now(), g.type = d || "img", g.prio = c, g.progress = "prepared", g.static = e, b.loadqueue.push(g) 821 } 822 }, loadImages = function (a, b, c, d) { 823 a.find("img,.defaultimg, .tp-svg-layer").each(function () { 824 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"; 825 a.data("start-to-load", jQuery.now()), addToLoadQueue(e, b, c, f, d) 826 }), progressImageLoad(b) 827 }, getLoadObj = function (a, b) { 828 var c = new Object; 829 return a.loadqueue && jQuery.each(a.loadqueue, function (a, d) { 830 d.src == b && (c = d) 831 }), c 832 }, waitForCurrentImages = function (a, b, c) { 833 var d = !1; 834 a.find("img,.defaultimg, .tp-svg-layer").each(function () { 835 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); 836 var e_queue = jQuery('body').data('loading_img_queue'); 837 if(!e_queue) 838 e_queue = {}; 839 if(typeof e_queue[e] == 'undefined') 840 { 841 e_queue[e] = jQuery("<img/>") 842 .on('load', function() { 843 f.error = false; 844 f.progress = 'loaded'; 845 c.data('loaded',1); 846 }) 847 .on('error', function() { 848 f.error = false; 849 f.progress = 'failed'; 850 c.data('loaded',undefined); 851 }) 852 .attr("src", e); 853 jQuery('body').data('loading_img_queue',e_queue); 854 } 855 if (c.data("loaded") === undefined && f !== undefined && f.progress && f.progress.match(/loaded/g)) { 856 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 {
857 var g = c.data("ww"), h = c.data("hh"); 858 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) 859 } else"svg" == f.type && "loaded" == f.progress && (c.append('<div class="tp-svg-innercontainer"></div>'), c.find(".tp-svg-innercontainer").append(f.innerHTML)); 860 c.data("loaded", !0) 861 } 862 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)) { 863 b.youtubewarning = !0; 864 var i = "YouTube Api Could not be loaded !"; 865 "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>") 866 } 867 if (1 == b.vimeoapineeded && !window.Froogaloop && (d = !0, jQuery.now() - b.vimeostarttime > 5e3 && 1 != b.vimeowarning)) { 868 b.vimeowarning = !0; 869 var i = "Vimeo Froogaloop Api Could not be loaded !"; 870 "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>") 871 } 872 }), !_ISM && b.audioqueue && b.audioqueue.length > 0 && jQuery.each(b.audioqueue, function (a, b) { 873 b.status && "prepared" === b.status && jQuery.now() - b.start < b.waittime && (d = !0) 874 }), jQuery.each(b.loadqueue, function (a, b) { 875 !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))) 876 }), d ? punchgs.TweenLite.delayedCall(.18, waitForCurrentImages, [a, b, c]) : punchgs.TweenLite.delayedCall(.18, c) 877 }, swapSlide = function (a) { 878 var b = a[0].opt; 879 if (clearTimeout(b.waitWithSwapSlide), a.find(".processing-revslide").length > 0)return b.waitWithSwapSlide = setTimeout(function () { 880 swapSlide(a) 881 }, 150), !1; 882 var c = a.find(".active-revslide"), d = a.find(".next-revslide"), e = d.find(".defaultimg"); 883 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; 884 !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 () { 885 b.loader !== undefined && b.loader.css({display: "block"}) 886 }, 50)), loadImages(d, b, 1), _R.preLoadAudio && _R.preLoadAudio(d, b, 1), waitForCurrentImages(d, b, function () { 887 d.find(".rs-background-video-layer").each(function () { 888 var a = jQuery(this); 889 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>') 890 }), swapSlideProgress(e, a) 891 }) 892 }, swapSlideProgress = function (a, b) {
893 var c = b.find(".active-revslide"), d = b.find(".processing-revslide"), e = c.find(".slotholder"), f = d.find(".slotholder"), g = b[0].opt; 894 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); 895 var h = {}; 896 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"); 897 var i = c.index(), j = d.index(); 898 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"); 899 var k, m; 900 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 { 901 m = new punchgs.TimelineLite({ 902 onComplete: function () { 903 letItFree(b, f, e, d, c, m) 904 } 905 }), m.add(punchgs.TweenLite.set(f.find(".defaultimg"), {opacity: 0})), m.pause(), _R.animateTheCaptions && _R.animateTheCaptions({ 906 slide: d, 907 opt: g, 908 preset: !0 909 }), 1 == g.firststart && (punchgs.TweenLite.set(c, {autoAlpha: 0}), g.firststart = 0), punchgs.TweenLite.set(c, {zIndex: 18}), punchgs.TweenLite.set(d, { 910 autoAlpha: 0, 911 zIndex: 20 912 }), "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; 913 var n = d.data("transition") !== undefined ? d.data("transition").split(",") : "fade", o = d.data("nexttransid") == undefined ? -1 : d.data("nexttransid"); 914 "on" == d.data("randomtransition") ? o = Math.round(Math.random() * n.length) : o += 1, o == n.length && (o = 0), d.data("nexttransid", o); 915 var p = n[o]; 916 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() 917 } 918 _R.scrollHandling && (_R.scrollHandling(g, !0, 0), m.eventCallback("onUpdate", function () { 919 _R.scrollHandling(g, !0, 0) 920 })), "off" != g.parallax.type && g.parallax.firstgo == undefined && _R.scrollHandling && (g.parallax.firstgo = !0, g.lastscrolltop = -999, _R.scrollHandling(g, !0, 0), setTimeout(function () { 921 g.lastscrolltop = -999, _R.scrollHandling(g, !0, 0) 922 }, 210), setTimeout(function () { 923 g.lastscrolltop = -999, _R.scrollHandling(g, !0, 0) 924 }, 420)), _R.animateTheCaptions ? "carousel" === g.sliderType && "on" === g.carousel.showLayersAllTime ? (jQuery.each(g.li, function (a) { 925 g.carousel.allLayersStarted ? _R.animateTheCaptions({ 926 slide: jQuery(g.li[a]), 927 opt: g, 928 recall: !0 929 }) : g.li[a] === d ? _R.animateTheCaptions({ 930 slide: jQuery(g.li[a]), 931 maintimeline: m, 932 opt: g, 933 startslideanimat: 0 934 }) : _R.animateTheCaptions({slide: jQuery(g.li[a]), opt: g, startslideanimat: 0}) 935 }), g.carousel.allLayersStarted = !0) : _R.animateTheCaptions({ 936 slide: d, 937 opt: g, 938 maintimeline: m, 939 startslideanimat: 0 940 }) : m != undefined && setTimeout(function () { 941 m.resume() 942 }, 30), punchgs.TweenLite.to(d, .001, {autoAlpha: 1}) 943 }, letItFree = function (a, b, c, d, e, f) { 944 var g = a[0].opt; 945 "carousel" === g.sliderType || (g.removePrepare = 0, punchgs.TweenLite.to(b.find(".defaultimg"), .001, { 946 zIndex: 20, 947 autoAlpha: 1, 948 onComplete: function () { 949 removeSlots(a, g, d, 1) 950 } 951 }), d.index() != e.index() && punchgs.TweenLite.to(e, .2, { 952 zIndex: 18, autoAlpha: 0, onComplete: function () { 953 removeSlots(a, g, e, 1) 954 } 955 })), 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-sli
955deactive", 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) { 956 if (_ISM && !g.fallbacks.allowHTML5AutoPlayOnAndroid)return !1; 957 var b = jQuery(this); 958 _R.resetVideo(b, g), punchgs.TweenLite.fromTo(b, 1, {autoAlpha: 0}, { 959 autoAlpha: 1, 960 ease: punchgs.Power3.easeInOut, 961 delay: .2, 962 onComplete: function () { 963 _R.animcompleted && _R.animcompleted(b, g) 964 } 965 }) 966 }), e.find(".rs-background-video-layer").each(function (a) { 967 if (_ISM)return !1; 968 var b = jQuery(this); 969 _R.stopVideo && (_R.resetVideo(b, g), _R.stopVideo(b, g)), punchgs.TweenLite.to(b, 1, { 970 autoAlpha: 0, 971 ease: punchgs.Power3.easeInOut, 972 delay: .2 973 }) 974 }); 975 var h = {}; 976 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) { 977 for (var i = g.startWithSlide, j = 0; j <= g.li.length - 1; j++) { 978 jQuery(g.li[j]).data("originalindex") === g.startWithSlide && (i = j) 979 } 980 0 !== i && _R.callingNewSlide(g.c, i), g.startWithSlide = "done" 981 } 982 g.duringslidechange = !1; 983 var l = e.data("slide_on_focus_amount"), m = e.data("hideafterloop"); 984 0 != m && m <= l && g.c.revremoveslide(e.index()); 985 var n = -1 === g.nextSlide || g.nextSlide === undefined ? 0 : g.nextSlide; 986 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) 987 }, removeAllListeners = function (a, b) { 988 a.children().each(function () { 989 try { 990 jQuery(this).die("click") 991 } catch (a) { 992 } 993 try { 994 jQuery(this).die("mouseenter") 995 } catch (a) { 996 } 997 try { 998 jQuery(this).die("mouseleave") 999 } catch (a) { 1000 } 1001 try { 1002 jQuery(this).unbind("hover") 1003 } catch (a) { 1004 } 1005 }); 1006 try { 1007 a.die("click", "mouseenter", "mouseleave") 1008 } catch (a) { 1009 } 1010 clearInterval(b.cdint), a = null 1011 }, countDown = function (a, b) { 1012 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"); 1013 var c = a.find(".tp-bannertimer"); 1014 a.on("stoptimer", function () { 1015 var a = jQuery(this).find(".tp-bannertimer"); 1016 a[0].tween.pause(), "on" == b.disableProgressBar && a.css({visibility: "hidden"}), b.sliderstatus = "paused", _R.unToggleState(b.slidertoggledby) 1017 }), a.on("starttimer", function () { 1018 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)) 1019 }), a.on("restarttimer", function () { 1020 if (!b.forcepause_viatoggle) { 1021 var a = jQuery(this).find(".tp-bannertimer"); 1022 if (b.mouseoncontainer && "on" == b.navigation.onHoverStop && !_ISM)return !1; 1023 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%"}, { 1024 force3D: "auto", 1025 width: "100%", 1026 ease: punchgs.Linear.easeNone, 1027 onComplete: d, 1028 delay: 1 1029 }), b.sliderstatus = "playing"), "on" == b.disableProgressBar && a.css({visibility: "hidden"}), _R.toggleState(b.slidertoggledby) 1030 } 1031 }), a.on("nulltimer", function () { 1032 c[0].tween.kill(), c[0].tween = punchgs.TweenLite.fromTo(c, b.delay / 1e3, {width: "0%"}, { 1033 force3D: "auto", 1034 width: "100%", 1035 ease: punchgs.Linear.easeNone, 1036 onComplete: d, 1037 delay: 1 1038 }), c[0].tween.pause(0), "on" == b.disableProgressBar && c.css({visibility: "hidden"}), b.sliderstatus = "paused" 1039 }); 1040 var d = function () { 1041 0 == jQuery("body").find(a).length && (removeAllListeners(a, b), clearInterval(b.cdint)), a.trigger("revolution.slide.slideatend"), 1 == a.data("c
1041onthover-changed") && (b.conthover = a.data("conthover"), a.data("conthover-changed", 0)), _R.callingNewSlide(a, 1) 1042 }; 1043 c[0].tween = punchgs.TweenLite.fromTo(c, b.delay / 1e3, {width: "0%"}, { 1044 force3D: "auto", 1045 width: "100%", 1046 ease: punchgs.Linear.easeNone, 1047 onComplete: d, 1048 delay: 1 1049 }), b.slideamount > 1 && (0 != b.stopAfterLoops || 1 != b.stopAtSlide) ? a.trigger("starttimer") : (b.noloopanymore = 1, a.trigger("nulltimer")), a.on("tp-mouseenter", function () { 1050 b.mouseoncontainer = !0, "on" != b.navigation.onHoverStop || _ISM || (a.trigger("stoptimer"), a.trigger("revolution.slide.onpause")) 1051 }), a.on("tp-mouseleft", function () { 1052 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")) 1053 }) 1054 }, vis = function () { 1055 var a, b, c = { 1056 hidden: "visibilitychange", 1057 webkitHidden: "webkitvisibilitychange", 1058 mozHidden: "mozvisibilitychange", 1059 msHidden: "msvisibilitychange" 1060 }; 1061 for (a in c)if (a in document) { 1062 b = c[a]; 1063 break 1064 } 1065 return function (c) { 1066 return c && document.addEventListener(b, c, {pasive: !0}), !document[a] 1067 } 1068 }(), restartOnFocus = function () { 1069 jQuery(".rev_redraw_on_blurfocus").each(function () { 1070 var a = jQuery(this)[0].opt; 1071 if (a == undefined || a.c == undefined || 0 === a.c.length)return !1; 1072 1 != a.windowfocused && (a.windowfocused = !0, punchgs.TweenLite.delayedCall(.3, function () { 1073 "on" == a.fallbacks.nextSlideOnWindowFocus && a.c.revnext(), a.c.revredraw(), "playing" == a.lastsliderstatus && a.c.revresume() 1074 })) 1075 }) 1076 }, lastStatBlur = function () { 1077 jQuery(".rev_redraw_on_blurfocus").each(function () { 1078 var a = jQuery(this)[0].opt; 1079 a.windowfocused = !1, a.lastsliderstatus = a.sliderstatus, a.c.revpause(); 1080 var b = a.c.find(".active-revslide .slotholder"), c = a.c.find(".processing-revslide .slotholder"); 1081 "on" == c.data("kenburns") && _R.stopKenBurn(c, a), "on" == b.data("kenburns") && _R.stopKenBurn(b, a) 1082 }) 1083 }, tabBlurringCheck = function () { 1084 var a = document.documentMode === undefined, b = window.chrome; 1085 1 !== jQuery("body").data("revslider_focus_blur_listener") && (jQuery("body").data("revslider_focus_blur_listener", 1), a && !b ? jQuery(window).on("focusin", function () { 1086 restartOnFocus() 1087 }).on("focusout", function () { 1088 lastStatBlur() 1089 }) : window.addEventListener ? (window.addEventListener("focus", function (a) { 1090 restartOnFocus() 1091 }, {capture: !1, passive: !0}), window.addEventListener("blur", function (a) { 1092 lastStatBlur() 1093 }, {capture: !1, passive: !0})) : (window.attachEvent("focus", function (a) { 1094 restartOnFocus() 1095 }), window.attachEvent("blur", function (a) { 1096 lastStatBlur() 1097 }))) 1098 }, getUrlVars = function (a) { 1099 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]; 1100 return b 1101 } 1102}(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.