/*!

  - Slider Revolution 6.0 JavaScript Plugin -

..........................xXXXXX.................
................. xXXXXX..xXXXXX..xXXXXX.........
..................xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.........,xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.........,xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.........,xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.....................xxxxxxxxxxxxxxxxxxx.........
.....................xxxxxxxxxxxxxxxxxxx.........
.....................xxxxxxxxxxxxxxxxxxx.........

				VERSION: 6.1.6
			   DATE: 2019-11-07
    @author: Krisztian Horvath, ThemePunch OHG.


UPDATES AND DOCS AT: 
https://www.themepunch.com/support-center
			
GET LICENSE AT: 
https://www.themepunch.com/links/slider_revolution_wordpress_regular_license

LICENSE:
Copyright (c) 2009-2019, ThemePunch. All rights reserved.
This work is subject to the terms at https://www.themepunch.com/links/slider_revolution_wordpress_regular_license (Regular / Extended)

*/
!function(e,t){"use strict";var i;window.RSANYID=window.RSANYID===t?[]:window.RSANYID,window.RSANYID_sliderID=window.RSANYID_sliderID===t?[]:window.RSANYID_sliderID,e.fn.extend({revolution:function(a){return this.each(function(){for(var o=document.getElementsByClassName("rs-p-wp-fix");o[0];)o[0].parentNode.removeChild(o[0]);i=e.fn.revolution,this.id!==t?(i[s]={anyid:[]},this.id=i.revCheckIDS(s,this,!0)):this.id="rs_module_"+Math.round(1e7*Math.random());var s=this.id;i[s]=B(a),i[s].anyid=[],i[s].c=e(this),i[s].cpar=i[s].c.parent(),i[s].canvas=i[s].c.find("rs-slides"),i[s].dimensionReCheck={},Q(s),i[s].stopAfterLoops!=t&&i[s].stopAfterLoops>-1?i[s].looptogo=i[s].stopAfterLoops:i[s].looptogo="disabled",window._T=i[s],i[s].BUG_safari_clipPath="Safari"===i.get_browser()&&i.get_browser_version()>"12",i[s].BUG_ie_clipPath="Edge"===i.get_browser()||"IE"===i.get_browser(),i[s].indexhelper=0,i[s].level=0,i[s].rtl=e("body").hasClass("rtl"),i[s]._L=i[s]._L===t?{}:i[s]._L,i[s].minHeight="fullwidth"===i[s].sliderLayout?0:i[s].minHeight!=t&&""!==i[s].minHeight?parseInt(i[s].minHeight,0):0,i[s].isEdge="Edge"===i.get_browser(),r(s),"hero"==i[s].sliderType&&i[s].c.find("rs-slide").each(function(t){t>0&&e(this).remove()}),i[s].navigation.use="hero"!==i[s].sliderType&&("carousel"==i[s].sliderType||i[s].navigation.keyboardNavigation||"on"==i[s].navigation.mouseScrollNavigation||"carousel"==i[s].navigation.mouseScrollNavigation||i[s].navigation.touch.touchenabled||i[s].navigation.arrows.enable||i[s].navigation.bullets.enable||i[s].navigation.thumbnails.enable||i[s].navigation.tabs.enable),i[s].c.find("rs-bgvideo").each(function(){"RS-BGVIDEO"!==this.tagName||this.id!==t&&""!==this.id||(this.id="rs-bg-video-"+Math.round(1e6*Math.random()))}),punchgs.force3D="auto",c(s)})},getRSVersion:function(e){var t,i,a=window.SliderRevolutionVersion;if(!e){for(var r in t=i="---------------------------------------------------------\n",t+="    Currently Loaded Slider Revolution & SR Modules :\n"+i,a)a.hasOwnProperty(r)&&(t+=a[r].alias+": "+a[r].ver+"\n");t+=i}return e?a:t},revremoveslide:function(t){return this.each(function(){var a=this.id;if(!(t<0||t>i[a].slideamount)&&i[a]&&i[a].slides.length>0&&(t>0||t<=i[a].slides.length)){var r=i.gA(i[a].slides[t],"key");i[a].slideamount=i[a].slideamount-1,i[a].realslideamount=i[a].realslideamount-1,s("rs-bullet",r,a),s("rs-tab",r,a),s("rs-thumb",r,a),e(i[a].slides[t]).remove(),i[a].slides=o(i[a].slides,t),i[a].carousel&&i[a].carousel.slides&&(i[a].carousel.slides=o(i[a].carousel.slides,t)),i[a].thumbs=o(i[a].thumbs,t),i.updateNavIndexes&&i.updateNavIndexes(a),t<=i[a].pr_active_key&&(i[a].pr_active_key=i[a].pr_active_key-1)}})},revaddcallback:function(e){return this.each(function(){i[this.id]&&(i[this.id].callBackArray===t&&(i[this.id].callBackArray=[]),i[this.id].callBackArray.push(e))})},revgetparallaxproc:function(){if(i[this[0].id])return i[this[0].id].scrollproc},revdebugmode:function(){},revscroll:function(t){return this.each(function(){var i=e(this);e("body,html").animate({scrollTop:i.offset().top+i.height()-t+"px"},{duration:400})})},revredraw:function(){return this.each(function(){m(this.id)})},revkill:function(){return this.each(function(){var a=this.id;punchgs.TweenMax.killDelayedCallsTo(i.showHideNavElements),i[a].c.data("conthover",1),i[a].c.data("conthoverchanged",1),i[a].c.trigger("revolution.slide.onpause");var r=i[a].cpar.find("rs-progress");i[a].c[0].opt;i[a].tonpause=!0,i[a].c.trigger("stoptimer"),i[a].sliderisrunning=!1;var o="resize.revslider-"+i[a].c.attr("id");e(window).unbind(o),punchgs.TweenMax.killTweensOf(i[a].c.find("*"),!1),punchgs.TweenMax.killTweensOf(i[a].c,!1),i[a].c.unbind("hover, mouseover, mouseenter,mouseleave, resize"),o="resize.revslider-"+i[a].c.attr("id"),e(window).off(o),i[a].c.find("*").each(function(){var i=e(this);i.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"),i.off("on, hover, mouseenter,mouseleave,mouseover, resize"),i.data("mySplitText",null),i.data("ctl",null),i.data("tween")!=t&&i.data("tween").kill(),i.data("pztl")!=t&&i.data("pztl").kill(),i.data("timeline_out")!=t&&i.data("timeline_out").kill(),i.data("timeline")!=t&&i.data("timeline").kill(),i.remove(),i.empty(),i=null}),punchgs.TweenMax.killTweensOf(i[a].c.find("*"),!1),punchgs.TweenMax.killTweensOf(i[a].c,!1),r.remove();try{i[a].c.closest("rs-fullwidth-wrap").remove()}catch(e){}try{i[a].c.closest("rs-module-wrap").remove()}catch(e){}try{i[a].c.remove()}catch(e){}i[a].c.empty(),i[a].c.html(),i[a].c=null})},revpause:function(){return this.each(function(){var a=e(this);a!=t&&a.length>0&&e("body").find("#"+a.attr("id")).length>0&&(a.data("conthover",1),a.data("conthoverchanged",1),a.trigger("revolution.slide.onpause"),i[this.id].tonpause=!0,a.trigger("stoptimer"))})},revresume:function(){return this.each(function(){if(i[this.id]!==t){var a=e(this);a.data("conthover",0),a.data("conthoverchanged",1),a.trigger("revolution.slide.onresume"),i[this.id].tonpause=!1,a.trigger("starttimer")}})},revmodal:function(a){var r=this instanceof e?this[0]:this,o=r.id;i[r.id]!==t&&i.revModal(o,a)},revstart:function(){var a=this instanceof e?this[0]:this;return i[a.id]===t?(console.log("Slider is Not Existing"),!1):i[a.id].sliderisrunning?(console.log("Slider Is Running Already"),!1):(i[a.id].c=e(a),i[a.id].canvas=i[a.id].c.find("rs-slides"),h(a.id),!0)},revnext:function(){return this.each(function(){i[this.id]!==t&&i.callingNewSlide(this.id,1,"carousel"===i[this.id].sliderType)})},revprev:function(){return this.each(function(){i[this.id]!==t&&i.callingNewSlide(this.id,-1,"carousel"===i[this.id].sliderType)})},revmaxslide:function(){return e(this).find("rs-slide").length},revcurrentslide:function(){if(i[e(this)[0].id]!==t)return parseInt(i[e(this)[0].id].pr_active_key,0)+1},revlastslide:function(){return e(this).find("rs-slide").length},revshowslide:function(e){return this.each(function(){i[this.id]!==t&&e!==t&&i.callingNewSlide(this.id,"to"+(e-1))})},revcallslidewithid:function(e){return this.each(function(){i[this.id]!==t&&i.callingNewSlide(this.id,e,"carousel"===i[this.id].sliderType)})}}),i=e.fn.revolution,e.extend(!0,i,{sA:function(e,t,i){e&&e.setAttribute&&e.setAttribute("data-"+t,i)},gA:function(e,i,a){return e===t?t:e.hasAttribute&&e.hasAttribute("data-"+i)&&e.getAttribute("data-"+i)!==t&&null!==e.getAttribute("data-"+i)?e.getAttribute("data-"+i):a!==t?a:t},iWA:function(e,a){return i[e].justifyCarousel?"static"===a?i[e].carousel.wrapwidth:i[e].carousel.slide_widths[a!==t?a:i[e].carousel.focused]:i[e].gridwidth[i[e].level]},iHE:function(e,t){return i[e].useFullScreenHeight?i[e].conh:i[e].gridheight[i[e].level]},updateFixedScrollTimes:function(e){!0===i[e].sbtimeline.set&&!0===i[e].sbtimeline.fixed&&"auto"!==i[e].sliderLayout&&(i[e].sbtimeline.rest=i[e].duration-i[e].sbtimeline.fixEnd,i[e].sbtimeline.time=i[e].duration-(i[e].sbtimeline.fixStart+i[e].sbtimeline.rest),i[e].sbtimeline.extended=i[e].sbtimeline.time/10)},callContWidthManager:function(e){g(e)},showModalCover:function(a,r,o){switch(o){case"show":var s;r.spin!==t&&"off"!==r.spin&&(s=i.buildSpinner(a,"spinner"+r.spin,r.spinc,"modalspinner")),r.bg!==t&&!1!==r.bg&&"false"!==r.bg&&"transparent"!==r.bg?(i[a].modalLoader=e('<rs-modal-cover data-rid="'+a+'" id="'+a+'_modal_bg"></rs-modal-cover>'),e("body").append(i[a].modalLoader),punchgs.TweenMax.set(i[a].modalLoader,{display:"none",background:r.bg,opacity:0}),punchgs.TweenMax.to(i[a].modalLoader,.5,{display:"block",opacity:1,ease:punchgs.Power3.easeInOut}),s!==t&&i[a].modalLoader.append(s)):s!==t&&i[a].c.append(s);break;case"hide":i[a].modalLoader!==t?(i[a].modalLoader.find(".modalspinner").remove(),punchgs.TweenMax.to(i[a].modalLoader,2,{delay:1,display:"none",opacity:0,ease:punchgs.Power3.easeIn})):i[a].c.find(".modalspinner").remove()}},revModal:function(a,r){if(a!==t&&i[a]!==t&&"clicked"!==i[a].modal.closeProtection){if(!0===i[a].modal.closeProtection)return i[a].modal.closeProtection,void setTimeout(function(){i[a].modal.closeProtection=!1,i.revModal(a,r)},750);switch(r.mode){case"show":if(!0===i[a].modal.isLive)return;i[a].modal.isLive=!0,r.slide=r.slide===t?"to0":r.slide,i[a].modal.bodyclass!==t&&i[a].modal.bodyclass.length>=0&&document.body.classList.add(i[a].modal.bodyclass),punchgs.TweenMax.to(i[a].modal.bg,2,{display:"block",opacity:1,ease:punchgs.Power3.easeInOut}),punchgs.TweenMax.set(i[a].modal.c,{display:"auto"===i[a].sliderLayout?"inline-block":"block",opacity:0}),punchgs.TweenMax.set(i[a].cpar,{display:"block",opacity:1});var o={a:0};punchgs.TweenMax.fromTo(o,.01,{a:0},{a:10,ease:punchgs.Power3.easeInOut,onComplete:function(){i[a].sliderisrunning?i.callingNewSlide(a,r.slide):("to0"!==r.slide&&(i[a].startWithSlideKey=r.slide),h(a))}}),punchgs.TweenMax.fromTo([i[a].modal.c],.01,{opacity:0},{opacity:1,delay:.5,ease:punchgs.Power3.easeInOut,onComplete:function(){}}),window.overscrollhistory=document.body.style.overflow,document.body.style.overflow="hidden";break;case"close":S(a),document.body.style.overflow=window.overscrollhistory,i[a].modal.bodyclass!==t&&i[a].modal.bodyclass.length>=0&&document.body.classList.remove(i[a].modal.bodyclass),punchgs.TweenMax.to(i[a].modal.bg,2,{display:"none",opacity:0,ease:punchgs.Power3.easeInOut}),punchgs.TweenMax.to(i[a].modal.c,.3,{display:"none",delay:.5,opacity:0,onComplete:function(){punchgs.TweenMax.set(i[a].cpar,{display:"none",opacity:0}),e(document).trigger("revolution.all.resize")}}),i[a].modal.closeProtection=!0,setTimeout(function(){i[a].modal.isLive=!1,i[a].modal.closeProtection=!1},750);break;case"init":if(window.RS_60_MODALS=window.RS_60_MODALS===t?[]:window.RS_60_MODALS,-1===e.inArray(i[a].modal.alias,window.RS_60_MODALS)&&window.RS_60_MODALS.push(i[a].modal.alias),i[a].modal.listener===t){i[a].modal.c=e("#"+a+"_modal"),i[a].modal.bg=e('<rs-modal-cover data-rid="'+a+'" id="'+a+'_modal_bg"></rs-modal-cover>'),"auto"===i[a].sliderLayout&&i[a].modal.cover?e("body").append(i[a].modal.bg):i[a].modal.c.append(i[a].modal.bg),i[a].modal.c[0].className+="rs-modal-"+i[a].sliderLayout;var s={left:"auto"===i[a].sliderLayout?"center"===i[a].modal.horizontal?"50%":"left"===i[a].modal.horizontal?"0px":"auto":"0px",right:"auto"===i[a].sliderLayout?"center"===i[a].modal.horizontal?"auto":"left"===i[a].modal.horizontal?"auto":"0px":"0px",top:"auto"===i[a].sliderLayout||"fullwidth"===i[a].sliderLayout?"middle"===i[a].modal.vertical?"50%":"top"===i[a].modal.vertical?"0px":"auto":"0px",bottom:"auto"===i[a].sliderLayout||"fullwidth"===i[a].sliderLayout?"middle"===i[a].modal.vertical?"auto":"top"===i[a].modal.vertical?"auto":"0px":"0px",y:("auto"===i[a].sliderLayout||"fullwidth"===i[a].sliderLayout)&&"middle"===i[a].modal.vertical?"-50%":0,x:"auto"===i[a].sliderLayout&&"center"===i[a].modal.horizontal?"-50%":0};if("-50%"===s.y&&(s.filter="blur(0px)"),punchgs.TweenMax.set(i[a].modal.c,"auto"===i[a].sliderLayout||"fullscreen"===i[a].sliderLayout?e.extend(!0,s,{opacity:0,display:"none"}):{opacity:0,display:"none"}),"fullwidth"===i[a].sliderLayout&&punchgs.TweenMax.set(i[a].modal.c.find("rs-module-wrap"),s),!1!==i[a].modal.cover&&"false"!==i[a].modal.cover||(i[a].modal.coverColor="transparent"),punchgs.TweenMax.set(i[a].modal.bg,{display:"none",background:i[a].modal.coverColor,opacity:0}),e(document).on("RS_OPENMODAL_"+i[a].modal.alias,function(e,t){i.revModal(a,{mode:"show",slide:t})}),e(document).on("click","rs-modal-cover",function(){i.revModal(i.gA(this,"rid"),{mode:"close"})}),i[a].modal.listener=!0,i[a].modal.trigger!==t){var n,l=i[a].modal.trigger.split(";");for(o in i[a].modal.trigger={},l)if(l.hasOwnProperty(o))switch((n=l[o].split(":"))[0]){case"t":i[a].modal.trigger.time=parseInt(n[1],0);break;case"s":i[a].modal.trigger.scroll=n[1];break;case"so":i[a].modal.trigger.scrollo=parseInt(n[1],0);break;case"e":i[a].modal.trigger.event=n[1]}if(i[a].modal.trigger.time!==t&&0!==i[a].modal.trigger.time&&setTimeout(function(){e(document).trigger("RS_OPENMODAL_"+i[a].modal.alias)},i[a].modal.trigger.time),i[a].modal.trigger.scrollo!==t||i[a].modal.trigger.scroll!==t){i[a].modal.trigger.scroll!==t&&e(i[a].modal.trigger.scroll)[0]!==t&&(i[a].modal.trigger.scroll=e(i[a].modal.trigger.scroll)[0]);var d=function(){if(i[a].modal.trigger.scroll!==t)var r=i[a].modal.trigger.scroll.getBoundingClientRect();(i[a].modal.trigger.scroll!==t&&Math.abs(r.top+(r.bottom-r.top)/2-window.innerHeight/2)<50||i[a].modal.trigger.scrollo!==t&&Math.abs(i[a].modal.trigger.scrollo-window.scrollY)<100)&&(e(document).trigger("RS_OPENMODAL_"+i[a].modal.alias),document.removeEventListener("scroll",d))};document.addEventListener("scroll",d,{id:a,passive:!0})}i[a].modal.trigger.event!==t&&e(document).on(i[a].modal.trigger.event,function(){e(document).trigger("RS_OPENMODAL_"+i[a].modal.alias)})}}}}},smartConvertDivs:function(e){var t="";if("string"==typeof e&&e.indexOf("#")>=0){var i=e.split(","),a=i.length-1;for(var r in i)t="string"==typeof i[r]&&"#"===i[r][0]?t+i[r][1]/i[r][3]*100+"%"+(r<a?",":""):t+i[r]+(r<a?",":"")}else t=e;return t},revToResp:function(e,i,a,r){if((e=e===t?a:e)!==t){if(r=r===t?",":r,"boolean"!=typeof e&&("object"!=typeof e||Array.isArray(e))){try{e=e.replace(/[[\]]/g,"").replace(/\'/g,"").split(r)}catch(e){}for(e=Array.isArray(e)?e:[e];e.length<i;)e[e.length]=e[e.length-1]}return e}},loadImages:function(a,r,o,s){if(a!==t&&0!==a.length){var n=[];if(e.isArray(a))for(var l in a)a.hasOwnProperty(l)&&a[l]!==t&&n.push(a[l]);else n.push(a);for(var d in n)if(n.hasOwnProperty(d)){var c=n[d].querySelectorAll("img, rs-sbg, .rs-svg");for(var l in c)if(c.hasOwnProperty(l)){var p=u(c[l],t,r),h=p!==t?p:i.gA(c[l],"svg_src")!=t?i.gA(c[l],"svg_src"):c[l].src===t?e(c[l]).data("src"):c[l].src,g=i.gA(c[l],"svg_src")!=t?"svg":"img";h!==t&&0==i[r].loadqueue.filter(function(e){return e.src===h}).length&&i[r].loadqueue.push({src:h,index:l,starttoload:e.now(),type:g||"img",prio:o,progress:c[l].complete&&h===c[l].src?"loaded":"prepared",static:s,width:c[l].complete&&h===c[l].src?c[l].width:t,height:c[l].complete&&h===c[l].src?c[l].height:t})}}I(r)}},waitForCurrentImages:function(r,o,s){if(r!==t&&0!==r.length&&i[o]!==t){var n=!1,l=[];if(e.isArray(r))for(var d in r)r.hasOwnProperty(d)&&r[d]!==t&&l.push(r[d]);else l.push(r);for(var c in l)if(l.hasOwnProperty(c)){var p=l[c].querySelectorAll("img, rs-sbg, .rs-svg");for(d in p)if(p.hasOwnProperty(d)&&"length"!==d&&!(p[d].className.indexOf("rs-pzimg")>=0)){var h=e(p[d]).data(),g=u(p[d],t,o),f=g!==t?g:i.gA(p[d],"svg_src")!=t?i.gA(p[d],"svg_src"):p[d].src===t?e(p[d]).data("src"):p[d].src,m=i.getLoadObj(o,f);if(i.sA(p[d],"src-rs-ref",f),h.loaded===t&&m!==t&&m.progress&&"loaded"==m.progress){if(p[d].src=m.src,"img"==m.type){if(h.slidebgimage){-1==m.src.indexOf("images/transparent.png")&&-1==m.src.indexOf("assets/transparent.png")||h.bgcolor===t?p[d].style.backgroundImage='url("'+m.src+'")':h.bgcolor!==t&&(p[d].style.background=h.bgcolor),i.sA(l[c],"owidth",m.width),i.sA(l[c],"oheight",m.height);var v=l[c].getElementsByTagName("rs-sbg-wrap");if(v.length>0&&(i.sA(v[0],"owidth",m.width),i.sA(v[0],"oheight",m.height)),"carousel"===i[o].sliderType){var y=e(v);y.data("panzoom")!==t&&y.data("pztl")===t&&i.startPanZoom(y,o,0,i.getSlideIndex(o,i.gA(l[c],"key")),!0)}}}else"svg"==m.type&&"loaded"==m.progress&&(p[d].innerHTML=m.innerHTML);h.loaded=!0}m&&m.progress&&m.progress.match(/inprogress|inload|prepared/g)&&(!m.error&&e.now()-m.starttoload<3e3?n=!0:(m.progress="failed",m.reported_img||(m.reported_img=!0,console.log(f+"  Could not be loaded !")))),1!=i[o].youtubeapineeded||window.YT&&YT.Player!=t||(n=R("youtube",o)),1!=i[o].vimeoapineeded||window.Vimeo||(n=R("vimeo",o))}}!a&&i[o].audioqueue&&i[o].audioqueue.length>0&&e.each(i[o].audioqueue,function(t,i){i.status&&"prepared"===i.status&&e.now()-i.start<i.waittime&&(n=!0)}),e.each(i[o].loadqueue,function(t,i){!0===i.static&&("loaded"!=i.progress&&"done"!==i.progress||"failed"===i.progress)&&("failed"!=i.progress||i.reported?!i.error&&e.now()-i.starttoload<5e3?n=!0:i.reported||(i.reported=A(i.src,i.error)):i.reported=A(i.src,i.error))}),n?punchgs.TweenMax.delayedCall(.18,i.waitForCurrentImages,[r,o,s]):s!==t&&punchgs.TweenMax.delayedCall(.18,s)}},updateVisibleArea:function(a){for(var r in i[a].viewPort.visible_area=i.revToResp(i[a].viewPort.visible_area,i[a].rle,"200px"),i[a].viewPort.vaType=new Array(4),i[a].viewPort.visible_area)i[a].viewPort.visible_area.hasOwnProperty(r)&&(e.isNumeric(i[a].viewPort.visible_area[r])&&(i[a].viewPort.visible_area[r]+="%"),i[a].viewPort.visible_area[r]!==t&&(i[a].viewPort.vaType[r]=i[a].viewPort.visible_area[r].indexOf("%")>=0?"%":"px"),i[a].viewPort.visible_area[r]=parseInt(i[a].viewPort.visible_area[r],0),i[a].viewPort.visible_area[r]="%"==i[a].viewPort.vaType[r]?i[a].viewPort.visible_area[r]/100:i[a].viewPort.visible_area[r])},fontLoaded:function(e){return i.monoWidth=i.monoWidth===t?n("monospace"):i.monoWidth,i.sansWidth=i.sansWidth===t?n("sans-serif"):i.sansWidth,i.serifWidth=i.serifWidth===t?n("serif"):i.serifWidth,i.monoWidth!==n(e+",monospace")||i.sansWidth!==n(e+",sans-serif")||i.serifWidth!==n(e+",serif")},getversion:function(){return"Slider Revolution 6.1.6"},currentSlideIndex:function(e){return i[e].pr_active_key},iOSVersion:function(){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)},isIE:function(t,i){var a=e('<div style="display:none;"/>').appendTo(e("body"));a.html("\x3c!--[if "+(i||"")+" IE "+(t||"")+"]><a>&nbsp;</a><![endif]--\x3e");var r=a.find("a").length;return a.remove(),r},is_mobile:function(){var e=["android","webos","iphone","ipad","blackberry","Android","webos","iPod","iPhone","iPad","Blackberry","BlackBerry"],i=!1;if(window.orientation!==t)i=!0;else for(var a in e)e.hasOwnProperty(a)&&(i=!!(i||navigator.userAgent.split(e[a]).length>1)||i);return i},is_android:function(){var e=["android","Android"],t=!1;for(var i in e)e.hasOwnProperty(i)&&(t=!!(t||navigator.userAgent.split(e[i]).length>1)||t);return t},callBackHandling:function(t,a,r){i[t].callBackArray&&e.each(i[t].callBackArray,function(e,t){t&&t.inmodule&&t.inmodule===a&&t.atposition&&t.atposition===r&&t.callback&&t.callback.call()})},get_browser:function(){var e,t=navigator.userAgent,i=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(i[1])?(e=/\brv[ :]+(\d+)/g.exec(t)||[],"IE"):"Chrome"===i[1]&&null!=(e=t.match(/\b(OPR|Edge)\/(\d+)/))?e[1].replace("OPR","Opera"):(i=i[2]?[i[1],i[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&i.splice(1,1,e[1]),i[0])},get_browser_version:function(){var e,t=navigator.appName,i=navigator.userAgent,a=i.match(/(edge|opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=i.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[t,navigator.appVersion,"-?"])[1]},isFirefox:function(e){return i[e].isFirefox=i[e].isFirefox===t?"Firefox"===i.get_browser():i[e].isFirefox,i[e].isFirefox},isSafari11:function(){return"safari"===e.trim(i.get_browser().toLowerCase())&&parseFloat(i.get_browser_version())>=11},getHorizontalOffset:function(e,t){var i=d(e,".outer-left"),a=d(e,".outer-right");return"left"==t?i:"right"==t?a:"all"==t?{left:i,right:a,both:i+a}:i+a},getComingSlide:function(a,r){var o=i[a].pr_next_key!==t?i[a].pr_next_key:i[a].pr_processing_key!==t?i[a].pr_processing_key:i[a].pr_active_key,s=0;if(s=0,i[a].pr_active_slide!==t&&i[a].pr_active_slide.hasClass("not-in-nav")&&(o=i[a].pr_lastshown_key),r!==t&&e.isNumeric(r)||r!==t&&r.match(/to/g))s=1===r||-1===r?parseInt(o,0)+r<0?i[a].slideamount-1:parseInt(o,0)+r>=i[a].slideamount?0:parseInt(o,0)+r:(r=e.isNumeric(r)?r:parseInt(r.split("to")[1],0))<0?0:r>i[a].slideamount-1?i[a].slideamount-1:r;else if(r)for(var n in i[a].slides)i[a].slides.hasOwnProperty(n)&&(s=i[a].slides&&i[a].slides[n]&&i.gA(i[a].slides[n],"key")===r?n:s);return{nindex:s,aindex:o}},callingNewSlide:function(e,a,r){var o=i.getComingSlide(e,a);i[e].pr_next_key=o.nindex,i[e].sdir=i[e].pr_next_key<i[e].pr_active_key?1:0,r&&i[e].carousel!==t&&(i[e].carousel.focused=i[e].pr_next_key),i[e].ctNavElement?i[e].ctNavElement=!1:i[e].c.trigger("revolution.nextslide.waiting"),(o.aindex===i[e].pr_next_key&&o.aindex===i[e].pr_lastshown_key||i[e].pr_next_key!==o.aindex&&-1!=i[e].pr_next_key)&&z(e,r)},getLoadObj:function(e,a){var r=i[e].loadqueue.filter(function(e){return e.src===a})[0];return r===t?{src:a}:r},updateDimensions:function(e){i[e].lastconw=i[e].conw,i[e].lastconh=i[e].conh,i[e].conw=i[e].c.width(),i[e].conh=i[e].infullscreenmode?i[e].minHeight:i[e].c.height(),i[e].ulw=i[e].canvas.width(),i[e].ulh=i[e].canvas.height()},getSlideIndex:function(e,t){var a=!1;for(var r in i[e].slides){if(!i[e].slides.hasOwnProperty(r)||!1!==a)continue;a=i.gA(i[e].slides[r],"key")===t?r:a}return!1===a?0:a},loadUpcomingContent:function(e){if("smart"==i[e].lazyType){var t=[],a=parseInt(i.getSlideIndex(e,i.gA(i[e].pr_next_slide[0],"key")),0),r=a-1<0?i[e].realslideamount-1:a-1,o=a+1==i[e].realslideamount?0:a+1;r!==a&&t.push(i[e].slides[r]),o!==a&&t.push(i[e].slides[o]),t.length>0&&(i.loadImages(t,e,2),i.waitForCurrentImages(t,e,function(){}))}},setSize:function(a,r){var o,s=parseInt(i[a].top_outer||0)+parseInt(i[a].bottom_outer||0),n="carousel"==i[a].sliderType?parseInt(i[a].carousel.padding_top||0,0):0,l="carousel"==i[a].sliderType?parseInt(i[a].carousel.padding_bottom||0,0):0,d=0,c=0,p=0,u=i[a].pr_processing_key||i[a].pr_active_key||0,h=i[a].pr_active_key||0;if(i[a].blockSpacing!==t&&punchgs.TweenMax.set(i[a].blockSpacing.block,{paddingLeft:i[a].blockSpacing.left[i[a].level],paddingRight:i[a].blockSpacing.right[i[a].level],marginTop:i[a].blockSpacing.top[i[a].level],marginBottom:i[a].blockSpacing.bottom[i[a].level]}),i[a].minHeight=i[a].minHeight===t?0:i[a].minHeight||0,i[a].paddings=i[a].paddings===t?{top:parseInt(i[a].cpar.css("paddingTop"),0)||0,bottom:parseInt(i[a].cpar.css("paddingBottom"),0)||0}:i[a].paddings,i[a].rowzones&&i[a].rowzones.length>0){if(i[a].rowzones[u]!==t)for(o=0;o<i[a].rowzones[u].length;o++)d+=i[a].rowzones[u][o][0].offsetHeight;if(h!==u)for(o=0;o<i[a].rowzones[h].length;o++)c+=i[a].rowzones[h][o][0].offsetHeight}if(i[a].srowzones&&i[a].srowzones.length>0)for(o=0;o<i[a].srowzones.length;o++)p+=i[a].srowzones[o][0].offsetHeight;d=d<p?p:d;var g=Math.max(Math.max(i[a].minHeight,i[a].gridheight[i[a].level]),d);if(g=0!==i[a].maxHeight?Math.min(i[a].maxHeight,g):g,"fullwidth"!=i[a].sliderLayout||i[a].autoHeight||punchgs.TweenMax.set(i[a].c,{maxHeight:g+"px"}),i[a].c.css({marginTop:n,marginBottom:l}),i[a].width=i[a].canvas.width(),i[a].height=i[a].canvas.height(),"fullscreen"==i[a].sliderLayout||i[a].infullscreenmode){var f=e(window).height();if(i[a].fullScreenOffsetContainer!=t){var m=(""+i[a].fullScreenOffsetContainer).split(",");for(var v in m)m.hasOwnProperty(v)&&(f-=e(m[v]).outerHeight(!0)||0)}i[a].fullScreenOffset!=t&&!e.isNumeric(i[a].fullScreenOffset)&&i[a].fullScreenOffset.split("%").length>1?f-=e(window).height()*parseInt(i[a].fullScreenOffset,0)/100:i[a].fullScreenOffset!=t&&i[a].fullScreenOffset.length>0&&e.isNumeric(parseInt(i[a].fullScreenOffset,0))&&(f-=parseInt(i[a].fullScreenOffset,0)),i[a].height=Math.max(d,Math.max(f-s,i[a].minHeight)),h!==u&&(i[a].currentSlideHeight=Math.max(c,Math.max(f-s,i[a].minHeight)),i[a].slides[h].style.maxHeight=i[a].currentSlideHeight!==i[a].height?i[a].currentSlideHeight+"px":"none"),i[a].cpar.height(i[a].height),i[a].c.css({height:"100%"})}else i[a].height=Math.round(i[a].gridheight[i[a].level]*(i[a].keepBPHeight?1:i[a].width/i[a].gridwidth[i[a].level])),i[a].height=Math.max(d,Math.max(i[a].autoHeight?i[a].height:Math.min(i[a].height,i[a].gridheight[i[a].level]),i[a].minHeight)),!1!==r&&i[a].c.height(i[a].height);var b=n+l+s+i[a].height+i[a].paddings.top+i[a].paddings.bottom,w={height:b};if(!1!==r&&(i[a].c.closest("rs-fullwidth-wrap").find("rs-fw-forcer").css(w),i[a].c.closest("rs-module-wrap").css(w)),i[a].sbtimeline.set&&i[a].sbtimeline.fixed&&(i[a].curheight=b,i[a].sbtimeline.extended===t&&i.updateFixedScrollTimes(a),punchgs.TweenMax.set(i[a].forcer,{height:2*b+i[a].sbtimeline.extended})),i[a].middleZones&&i[a].middleZones.length>0&&i[a].middleZones[u]!==t)for(o=0;o<i[a].middleZones[u].length;o++)i[a].middleZones[u][o].style.top=Math.round(b/2-i[a].middleZones[u][o].offsetHeight/2)+"px";if(i[a].smiddleZones&&i[a].smiddleZones.length>0)for(o=0;o<i[a].smiddleZones.length;o++)i[a].smiddleZones[o].style.top=Math.round(b/2-i[a].smiddleZones[o].offsetHeight/2)+"px";y(a)},enterInViewPort:function(a){i[a].waitForCountDown&&(O(a),i[a].waitForCountDown=!1),i[a].waitForFirstSlide&&(z(a),i[a].waitForFirstSlide=!1,setTimeout(function(){i[a].c.removeClass("tp-waitforfirststart")},500)),"playing"!=i[a].sliderlaststatus&&i[a].sliderlaststatus!=t||i[a].c.trigger("starttimer"),i[a].lastplayedvideos!=t&&i[a].lastplayedvideos.length>0&&e.each(i[a].lastplayedvideos,function(e,t){i.playVideo(t,a)})},leaveViewPort:function(a){i[a].sliderlaststatus=i[a].sliderstatus,i[a].c.trigger("stoptimer"),i[a].playingvideos!=t&&i[a].playingvideos.length>0&&(i[a].lastplayedvideos=e.extend(!0,[],i[a].playingvideos),i[a].playingvideos&&e.each(i[a].playingvideos,function(e,t){i[a].leaveViewPortBasedStop=!0,i.stopVideo&&i.stopVideo(t,a)}))},unToggleState:function(e){if(e!==t)for(var i=0;i<e.length;i++)try{document.getElementById(e[i]).classList.remove("rs-tc-active")}catch(e){}},toggleState:function(e){if(e!==t)for(var i=0;i<e.length;i++)try{document.getElementById(e[i]).classList.add("rs-tc-active")}catch(e){}},swaptoggleState:function(e){if(e!=t&&e.length>0)for(var a=0;a<e.length;a++){var r=document.getElementById(e[a]);if(i.gA(r,"toggletimestamp")!==t&&(new Date).getTime()-i.gA(r,"toggletimestamp")<250)return;i.sA(r,"toggletimestamp",(new Date).getTime()),null!==r&&(r.className.indexOf("rs-tc-active")>=0?r.classList.remove("rs-tc-active"):r.classList.add("rs-tc-active"))}},lastToggleState:function(e){var i;if(e!==t)for(var a=0;a<e.length;a++){var r=document.getElementById(e[a]);i=!0===i||null!==r&&r.className.indexOf("rs-tc-active")>=0||i}return i},revCheckIDS:function(a,r){if(i.gA(r,"idcheck")===t){var o=r.id,s=e.inArray(r.id,window.RSANYID),n=-1;-1!==s&&(n=e.inArray(r.id,i[a].anyid),window.RSANYID_sliderID[s]===a&&-1===n||(r.id=r.id+"_"+Math.round(9999*Math.random()),console.log("Warning - ID:"+o+" exists already. New Runtime ID:"+r.id),s=n=-1)),-1===n&&i[a].anyid.push(r.id),-1===s&&(window.RSANYID.push(r.id),window.RSANYID_sliderID.push(a))}return i.sA(r,"idcheck",!0),r.id},buildSpinner:function(i,a,r,o){var s;if("off"!==a){o=o===t?"":o,r=r===t?"#ffffff":r;var n=parseInt(a.replace("spinner",""),10);if(isNaN(n)||n<6){var l='style="background-color:'+r+'"',d=o===t||3!==n&&4!=n?"":l;s=e("<rs-loader "+(o===t||1!==n&&2!=n?"":l)+' class="'+a+" "+o+'"><div '+d+' class="dot1"></div><div '+d+' class="dot2"></div><div '+d+' class="bounce1"></div><div '+d+' class="bounce2"></div><div '+d+' class="bounce3"></div></rs-loader>')}else{var c,p='<div class="rs-spinner-inner"';if(7===n)-1!==r.search("#")?(c=r.replace("#",""),c="rgba("+parseInt(c.substring(0,2),16)+", "+parseInt(c.substring(2,4),16)+", "+parseInt(c.substring(4,6),16)+", "):-1!==r.search("rgb")&&(c=r.substring(r.indexOf("(")+1,r.lastIndexOf(")")).split(",")).length>2&&(c="rgba("+c[0].trim()+", "+c[1].trim()+", "+c[2].trim()+", "),c&&"string"==typeof c&&(p+=' style="border-top-color: '+c+"0.65); border-bottom-color: "+c+"0.15); border-left-color: "+c+"0.65); border-right-color: "+c+'0.15)"');else 12===n&&(p+=' style="background:'+r+'"');p+=">";for(var u=[10,0,4,2,5,9,0,4,4,2][n-6],h=0;h<u;h++)h>0&&(p+=" "),p+='<span style="background:'+r+'"></span>';s=e('<rs-loader class="'+a+" "+o+'">'+(p+="</div>")+"</div></rs-loader>")}return s}}});var a=i.is_mobile(),r=(i.is_android(),function(e){i[e].responsiveLevels=i.revToResp(i[e].responsiveLevels,i[e].rle),i[e].visibilityLevels=i.revToResp(i[e].visibilityLevels,i[e].rle),i[e].responsiveLevels[0]=9999,i[e].rle=i[e].responsiveLevels.length||1,i[e].gridwidth=i.revToResp(i[e].gridwidth,i[e].rle),i[e].gridheight=i.revToResp(i[e].gridheight,i[e].rle),i[e].editorheight!==t&&(i[e].editorheight=i.revToResp(i[e].editorheight,i[e].rle)),l(e),y(e);var a=Math.max(i[e].minHeight,i[e].gridheight[i[e].level]*i[e].bw);i[e].editorheight!==t&&(a=Math.max(a,i[e].editorheight[i[e].level]*i[e].bw)),punchgs.TweenMax.set(i[e].c,{height:a})}),o=function(t,i){var a=[];return e.each(t,function(e,t){e!=i&&a.push(t)}),a},s=function(t,a,r){i[r].c.find(t).each(function(){var t=e(this);t.data("key")===a&&t.remove()})},n=function(e){window.revFontTestcontainer==t&&(window.revFontTestcontainer=document.createElement("span"),window.revFontTestcontainer.innerHTML=Array(100).join("wi"),window.revFontTestcontainer.style.cssText=["position:absolute","width:auto","font-size:128px","left:-99999px"].join(" !important;")),window.revFontTestcontainer.style.fontFamily=e,document.body.appendChild(window.revFontTestcontainer);var i=window.revFontTestcontainer.clientWidth;return document.body.removeChild(window.revFontTestcontainer),i},l=function(t,a){var r=9999,o=0,s=0,n=e(window).width(),l=a&&9999==i[t].responsiveLevels?i[t].visibilityLevels:i[t].responsiveLevels;l&&l.length&&e.each(l,function(e,a){n<a&&(0==o||o>parseInt(a))&&(r=parseInt(a),i[t].level=e,o=parseInt(a)),n>a&&o<a&&(o=parseInt(a),s=e)}),o<r&&(i[t].level=s),i[t].levelForced=i[t].level},d=function(t,i){var a=0;return t.find(i).each(function(){var t=e(this);!t.hasClass("tp-forcenotvisible")&&a<t.outerWidth()&&(a=t.outerWidth())}),a},c=function(r){if(r===t||i[r]===t||i[r].c===t)return!1;window._rs_firefox13=!1,window._rs_ie=window._rs_ie===t?!e.support.opacity:window._rs_ie,window._rs_ie9=window._rs_ie9===t?9==document.documentMode:window._rs_ie9;var o=e.fn.jquery.split("."),s=parseFloat(o[0]),n=parseFloat(o[1]);1==s&&n<7&&i[r].c.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+o+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin</div>"),s>1&&(window._rs_ie=!1),i[r].cpar!==t&&i[r].cpar.data("aimg")!=t&&("enabled"==i[r].cpar.data("aie8")&&i.isIE(8)||"enabled"==i[r].cpar.data("amobile")&&a)&&i[r].c.html('<img class="tp-slider-alternative-image" src="'+i[r].cpar.data("aimg")+'">'),i[r].realslideamount=i[r].slideamount=0;var l=i[r].canvas[0].getElementsByTagName("rs-slide");for(var d in l)l.hasOwnProperty(d)&&("on"==i.gA(l[d],"hsom")&&a?l[d].classList.add("removeslidenow"):(i.gA(l[d],"invisible")||1==i.gA(l[d],"invisible")?l[d].classList.add("not-in-nav"):i[r].slideamount++,i[r].realslideamount++,i.sA(l[d],"originalindex",i[r].realslideamount),i.sA(l[d],"origindex",i[r].realslideamount-1)));i[r].canvas.find(".removeslidenow").each(function(){e(this).remove()}),i[r].canvas.find(".not-in-nav").each(function(){e(this).appendTo(i[r].canvas)}),i[r].canvas.css({visibility:"visible"}),i[r].slayers=i[r].c.find("rs-static-layers"),i[r].slayers.length>0&&i.sA(i[r].slayers[0],"key","staticlayers"),!0===i[r].modal.useAsModal&&(i[r].cpar.wrap('<rs-modal id="'+i[r].c[0].id+'_modal"></rs-modal>'),i[r].modal.c=i[r].cpar.closest("rs-modal"),i[r].modal.c.appendTo(e("body")),i[r].modal!==t&&i[r].modal.alias!==t&&i.revModal(r,{mode:"init"})),1!=i[r].waitForInit&&1!=i[r].modal.useAsModal&&h(r)},p=function(){e("body").data("rs-fullScreenMode",!e("body").data("rs-fullScreenMode")),e("body").data("rs-fullScreenMode")&&setTimeout(function(){e(window).trigger("resize")},200)},u=function(e,a,r){return i.gA(e,"lazyload")!==t?i.gA(e,"lazyload"):i[r].lazyloaddata!==t&&i[r].lazyloaddata.length>0&&i.gA(e,i[r].lazyloaddata)!==t?i.gA(e,i[r].lazyloaddata):i.gA(e,"lazy-src")!==t?i.gA(e,"lazy-src"):i.gA(e,"lazy-wpfc-original-src")!==t?i.gA(e,"lazy-wpfc-original-src"):i.gA(e,"lazy")!==t?i.gA(e,"lazy"):a},h=function(r){if(i[r]!==t){if(i[r].sliderisrunning=!0,e(document).on("revolution.all.resize",function(){i[r].sliderisrunning&&m(r)}),i[r].shuffle){for(var o=i[r].canvas.find("rs-slide:first-child"),s=i.gA(o[0],"firstanim"),n=0;n<i[r].slideamount;n++)i[r].canvas.find("rs-slide:eq("+Math.round(Math.random()*i[r].slideamount)+")").prependTo(i[r].canvas);i.sA(i[r].canvas.find("rs-slide:first-child")[0],"firstanim",s)}i[r].slides=i[r].canvas[0].getElementsByTagName("rs-slide"),i[r].thumbs=new Array(i[r].slides.length),i[r].slots=4,i[r].firststart=1,i[r].loadqueue=[],i[r].syncload=0,i.updateDimensions(r);var d=0;for(var c in i[r].slides)if(i[r].slides.hasOwnProperty(c)&&"length"!==c){var h=i[r].slides[c],v=h.getElementsByClassName(".rev-slidebg");v=0===v.length?h.getElementsByTagName("img")[0]:v,i.gA(h,"key")===t&&i.sA(h,"key","rs-"+Math.round(999999*Math.random()));var y={params:Array(12),id:i.gA(h,"key"),src:i.gA(h,"thumb")!==t?i.gA(h,"thumb"):u(v,v.src,r)};i.gA(h,"title")===t&&i.sA(h,"title",""),i.gA(h,"description")===t&&i.sA(h,"description",""),y.params[0]={from:RegExp("\\{\\{title\\}\\}","g"),to:i.gA(h,"title")},y.params[1]={from:RegExp("\\{\\{description\\}\\}","g"),to:i.gA(h,"description")};for(var w=1;w<=10;w++)i.gA(h,"p"+w)!==t?y.params[w+1]={from:RegExp("\\{\\{param"+w+"\\}\\}","g"),to:i.gA(h,"p"+w)}:y.params[w+1]={from:RegExp("\\{\\{param"+w+"\\}\\}","g"),to:""};if(i[r].thumbs[d]=e.extend({},!0,y),i.gA(h,"link")!=t||i.gA(h,"linktoslide")!==t){var _=i.gA(h,"link")!==t?i.gA(h,"link"):"slide",x="slide"!=_?"no":i.gA(h,"linktoslide"),k=i.gA(h,"seoz");if(x!=t&&"no"!=x&&"next"!=x&&"prev"!=x)for(var T in i[r].slides)i[r].slides.hasOwnProperty(T)&&parseInt(i.gA(i[r].slides[T],"origindex"),0)+1==i.gA(h,"linktoslide")&&(x=i.gA(i[r].slides[T],"key"));e(h).prepend('<rs-layer class="rs-layer slidelink" style="z-index:'+("back"===k?0:"front"===k?60:k!==t?parseInt(k,0):100)+';" dataxy="x:c;y:c" data-dim="w:100%;h:100%" data-basealign="slide"'+("no"==x?"":"  data-actions='"+("scroll_under"===x?"o:click;a:scrollbelow;offset:100px;":"prev"===x?"o:click;a:jumptoslide;slide:prev;d:0.2;":"next"===x?"o:click;a:jumptoslide;slide:next;d:0.2;":"o:click;a:jumptoslide;slide:"+x+";d:0.2;")+"'")+" data-frame_1='e:Power3.easeInOut;st:100;sp:100' data-frame_999='e:Power3.easeInOut;o:0;st:w;sp:100'><a "+("slide"!=_?' target="'+(i.gA(h,"target")||"_self")+'" href="'+_+'"':"")+"><span></span></a></rs-layer>")}d++}if(i[r].simplifyAll&&(i.isIE(8)||i.iOSVersion())&&(i[r].c.find(".rs-layer").each(function(){var t=e(this);t.removeClass("customin customout").addClass("fadein fadeout"),t.data("splitin",""),t.data("speed",400)}),i[r].slides.each(function(){var t=e(this);t.data("transition","fade"),t.data("masterspeed",500),t.data("slotamount",1),(t.find(".rev-slidebg")||t.find(">img").first()).data("panzoom",null)})),window._rs_desktop=window._rs_desktop===t?!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i):window._rs_desktop,i[r].autoHeight="fullscreen"==i[r].sliderLayout||i[r].autoHeight,"fullwidth"!=i[r].sliderLayout||i[r].autoHeight||i[r].c.css({maxHeight:i[r].gridheight[i[r].level]+"px"}),"auto"==i[r].sliderLayout||0!=i[r].c.closest("rs-fullwidth-wrap").length||"fullscreen"===i[r].sliderLayout&&1==i[r].disableForceFullWidth)i[r].topc=i[r].cpar;else{var L=i[r].cpar[0].style.marginTop,I=i[r].cpar[0].style.marginBottom;L=L===t||""===L?"":"margin-top:"+L+";",I=I===t||""===I?"":"margin-bottom:"+I+";",i[r].topc=e('<rs-fullwidth-wrap id="'+i[r].c[0].id+'_forcefullwidth" style="'+L+I+'"></rs-fullwidth-wrap>'),i[r].forcer=e('<rs-fw-forcer style="height:'+i[r].cpar.height()+'px"></rs-fw-forcer>'),i[r].topc.append(i[r].forcer),i[r].topc.insertBefore(i[r].cpar),i[r].cpar.detach(),i[r].cpar.css({marginTop:"0px",marginBottom:"0px",position:"absolute"}),i[r].cpar.prependTo(i[r].topc)}if(i[r].forceOverflow&&i[r].topc[0].classList.add("rs-forceoverflow"),"carousel"===i[r].sliderType&&!0!==i[r].overflowHidden&&i[r].c.css({overflow:"visible"}),0!==i[r].maxHeight&&punchgs.TweenMax.set([i[r].cpar,i[r].c,i[r].topc],{maxHeight:i[r].maxHeight+"px"}),i[r].fixedOnTop&&punchgs.TweenMax.set(i[r].topc,{position:"fixed",top:"0px",left:"0px",pointerEvents:"none",zIndex:5e3}),i[r].shadow!==t&&i[r].shadow>0&&i[r].cpar.addClass("tp-shadow"+i[r].shadow).append('<div class="tp-shadowcover" style="background-color:'+i[r].cpar.css("backgroundColor")+";background-image:"+i[r].cpar.css("backgroundImage")+'"></div>'),l(r),!i[r].c.hasClass("revslider-initialised")){i[r].c[0].classList.add("revslider-initialised"),i[r].c[0].id=i[r].c[0].id===t?"revslider-"+Math.round(1e3*Math.random()+5):i[r].c[0].id,i.revCheckIDS(r,i[r].c[0]),i[r].origcd=parseInt(i[r].duration,0),i[r].scrolleffect._L=[],i[r].sbas=i[r].sbas===t?{}:i[r].sbas,i[r].layers=i[r].layers||{},i[r].sortedLayers=i[r].sortedLayers||{},i[r].c.detach(),i[r].c.find("rs-layer, rs-row, rs-column, rs-group,  rs-bgvideo, .rs-layer").each(function(){var a,o,s=e(this),n=s.data();if(n.startclasses=this.className,n.startclasses=n.startclasses===t||null===n.startclasses?"":n.startclasses,n.animationonscroll=!!i[r].sbtimeline.set&&i[r].sbtimeline.layers,n.animationonscroll=!0===n.animationonscroll||"true"==n.animationonscroll,n.filteronscroll=!!i[r].scrolleffect.set&&i[r].scrolleffect.layers,n.pxundermask=n.startclasses.indexOf("rs-pxmask")>=0&&"off"!==i[r].parallax.type&&n.startclasses.indexOf("rs-pxl-")>=0,n.noPevents=n.startclasses.indexOf("rs-noevents")>=0,n.sba)for(var l in a=n.sba.split(";"))a.hasOwnProperty(l)&&("t"==(o=a[l].split(":"))[0]&&(n.animationonscroll=o[1],"false"==o[1]&&(n.animOnScrollForceDisable=!0)),"e"==o[0]&&(n.filteronscroll=o[1]),"so"==o[0]&&(n.scrollBasedOffset=parseInt(o[1])/1e3));if("true"!=n.animationonscroll&&1!=n.animationonscroll||(n.startclasses+=" rs-sba",s[0].className+=" rs-sba"),n.startclasses.indexOf("rs-layer-static")>=0&&i.handleStaticLayers&&i.handleStaticLayers(s,r),"RS-BGVIDEO"!==s[0].tagName){if(s[0].classList.add("rs-layer"),"column"===n.type&&(n.columnwidth="33.33%",n.verticalalign="top",n.column!==t))for(var d in a=n.column.split(";"))a.hasOwnProperty(d)&&("w"===(o=a[d].split(":"))[0]&&(n.columnwidth=o[1]),"a"===o[0]&&(n.verticalalign=o[1]));var c=n.startclasses.indexOf("slidelink")>=0?"width:100% !important;height:100% !important;":"",p="column"!==n.type?"":n.verticalalign===t?" vertical-align:top;":" vertical-align:"+n.verticalalign+";",u="row"===n.type||"column"===n.type?"position:relative;":"position:absolute;",h="",g="row"===n.type?"rs-row-wrap":"column"===n.type?"rs-column-wrap":"group"===n.type?"rs-group-wrap":"rs-layer-wrap",f="",m="",v=(n.noPevents,";pointer-events:none");for(var y in"row"===n.type||"column"===n.type||"group"===n.type?(s[0].classList.remove("tp-resizeme"),"column"===n.type&&(n.width="auto",s[0].group="row",punchgs.TweenMax.set(s,{width:"auto"}),n.filteronscroll=!1)):(f="display:"+("inline-block"===s[0].style.display?"inline-block":"block")+";",s.closest("rs-column").length>0?(s[0].group="column",n.filteronscroll=!1):s.closest("rs-group-wrap").length>0&&(s[0].group="group",n.filteronscroll=!1)),n.wrpcls!==t&&(h=h+" "+n.wrpcls),n.wrpid!==t&&(m='id="'+n.wrpid+'"'),n.maskinuse=!1,n)n.maskinuse&&n.hasOwnProperty(y)&&(n.maskinuse=y.indexOf("_mask")>0);s.wrap("<"+g+" "+m+' class="rs-parallax-wrap '+h+'" style="'+p+" "+c+u+f+v+'"><rs-loop-wrap style="'+c+u+f+'"><rs-mask-wrap style="'+c+u+f+'">'+(n.pxundermask?"<rs-px-mask></rs-px-mask>":"")+"</rs-mask-wrap></rs-loop-wrap></"+g+">"),!0!==n.filteronscroll&&"true"!=n.filteronscroll||i[r].scrolleffect._L.push(s.parent()),s[0].id=s[0].id===t?"layer-"+Math.round(999999999*Math.random()):s[0].id,i.revCheckIDS(r,s[0]),"column"===n.type&&s.closest(".rs-parallax-wrap").append('<rs-cbg-mask-wrap><rs-column-bg id="'+s[0].id+'_rs_cbg"></rs-column-bg></rs-cbg-mask-wrap>'),"text"===n.type&&s[0].getElementsByTagName("iframe").length>0&&s[0].classList.add("rs-ii-o"),punchgs.TweenMax.set(s,{visibility:"hidden"}),i[r].BUG_safari_clipPath&&s[0].classList.add("rs-pelock")}i.gA(s[0],"actions")&&i.checkActions&&i.checkActions(s,r,i[r]),!i.checkVideoApis||window.rs_addedvim&&window.rs_addedyt||i[r].youtubeapineeded&&i[r].vimeoapineeded||i.checkVideoApis(s,r)}),i.checkActions&&i.checkActions(t,r),i[r].c.prependTo(i[r].cpar),i[r].c[0].addEventListener("mouseenter",function(){i[r].c.trigger("tp-mouseenter"),i[r].overcontainer=!0},{passive:!0}),i[r].c[0].addEventListener("mouseover",function(){i[r].c.trigger("tp-mouseover"),i[r].overcontainer=!0},{passive:!0}),i[r].c[0].addEventListener("mouseleave",function(){i[r].c.trigger("tp-mouseleft"),i[r].overcontainer=!1},{passive:!0}),i[r].c.find(".rs-layer video").each(function(t){var i=e(this);i.removeClass("video-js vjs-default-skin"),i.attr("preload",""),i.css({display:"none"})}),i[r].rs_static_layer=i[r].c[0].getElementsByTagName("rs-static-layers"),i.preLoadAudio&&i[r].rs_static_layer.length>0&&i.preLoadAudio(e(i[r].rs_static_layer),r,1),i[r].rs_static_layer.length>0&&(i.loadImages(i[r].rs_static_layer[0],r,0,!0),i.waitForCurrentImages(i[r].rs_static_layer[0],r,function(){i[r]!==t&&i[r].c.find("rs-static-layers img").each(function(){this.src=i.getLoadObj(r,i.gA(this,"src")!=t?i.gA(this,"src"):this.src).src})})),i[r].rowzones=[],i[r].middleZones=[];var A=N("#")[0];if(A.length<9&&A.split("slide").length>1&&-1==A.indexOf("slider")){var R=parseInt(A.split("slide")[1],0);e.isNumeric(parseInt(R,0))&&((R=parseInt(R,0))<1&&(R=1),R>i[r].slideamount&&(R=i[r].slideamount),i[r].startWithSlide=R-1)}i[r].loader=i.buildSpinner(r,i[r].spinner,i[r].spinnerclr),i[r].c.append(i[r].loader);var S=window.getComputedStyle(i[r].c[0].parentNode,null);i[r].c.height(S.height),0===i[r].c.find("rs-progress").length&&i[r].c.append('<rs-progress style="visibility:hidden"></rs-progress>'),i[r].c.find("rs-progress").css({width:"0%"}),i[r].canvas.css({display:"block"}),b(r),i[r].slides=i[r].canvas.find("rs-slide").not(".rs-not-in-nav"),i[r].inli=i[r].canvas.find("rs-slide.rs-not-in-nav"),("off"!==i[r].parallax.type||i[r].scrolleffect.set||i[r].sbtimeline.set)&&i.checkForParallax&&i.checkForParallax(r),i.setSize(r,!1),"hero"!==i[r].sliderType&&i.createNavigation&&i[r].navigation.use&&i.createNavigation(r),i.resizeThumbsTabs&&i.resizeThumbsTabs&&i[r].navigation.use&&i.resizeThumbsTabs(r),g(r);var M=i[r].viewPort;i[r].inviewport=!1,M!=t&&M.enable&&i.scrollTicker&&i.scrollTicker(r),i[r].slides.each(function(t){var a=e(this);i[r].rowzones[t]=[],i[r].middleZones[t]=[],a.find("rs-zone").each(function(){i[r].rowzones[t].push(e(this)),this.className.indexOf("rev_row_zone_middle")>=0&&i[r].middleZones[t].push(this)}),(M.enable&&i[r].inviewport||!M.enable)&&"all"==i[r].lazyType&&(i.loadImages(a[0],r,t),i.waitForCurrentImages(a[0],r,function(){}))}),i[r].srowzones=[],i[r].smiddleZones=[],i[r].slayers.find("rs-zone").each(function(){i[r].srowzones.push(e(this)),this.className.indexOf("rev_row_zone_middle")>=0&&i[r].smiddleZones.push(this)}),"carousel"===i[r].sliderType&&i.prepareCarousel&&(punchgs.TweenMax.set(i[r].canvas,{scale:1,perspective:1200,transformStyle:"flat",opacity:0}),i.prepareCarousel(r,t,0),i[r].onlyPreparedSlide=!0),setTimeout(function(){!M.enable||M.enable&&i[r].inviewport||M.enable&&!i[r].inviewport&&"wait"!==M.outof?z(r):(i[r].c.addClass("tp-waitforfirststart"),i[r].waitForFirstSlide=!0,M.presize&&(i[r].pr_next_slide=e(i[r].slides[0]),i.loadImages(i[r].pr_next_slide[0],r,0,!0),i.waitForCurrentImages(i[r].pr_next_slide.find(".tp-layers"),r,function(){i.animateTheLayers&&i.animateTheLayers({slide:i[r].pr_next_key,id:r,mode:"preset"})}))),i.manageNavigation&&i[r].navigation.use&&i.manageNavigation(r),i[r].slideamount>1&&(!M.enable||M.enable&&i[r].inviewport?O(r):i[r].waitForCountDown=!0),setTimeout(function(){i[r]!==t&&i[r].c.trigger("revolution.slide.onloaded")},50)},i[r].startDelay),i[r].startDelay=0,e("body").data("rs-fullScreenMode",!1),window.addEventListener("fullscreenchange",p,{passive:!0}),window.addEventListener("mozfullscreenchange",p,{passive:!0}),window.addEventListener("webkitfullscreenchange",p,{passive:!0});var C="resize.revslider-"+i[r].c.attr("id");e(window).on(C,function(){if(i[r]!==t){if(i[r].c==t)return!1;0!=e("body").find(i[r].c)&&(l(r),g(r));var o=!1;if("fullscreen"==i[r].sliderLayout){var s=e(window).height();"mobile"==i[r].fallbacks.ignoreHeightChanges&&a||"always"==i[r].fallbacks.ignoreHeightChanges?(i[r].fallbacks.ignoreHeightChangesSize=i[r].fallbacks.ignoreHeightChangesSize==t?0:i[r].fallbacks.ignoreHeightChangesSize,o=s!=i[r].lastwindowheight&&Math.abs(s-i[r].lastwindowheight)>i[r].fallbacks.ignoreHeightChangesSize):o=s!=i[r].lastwindowheight}(i[r].c.outerWidth(!0)!=i[r].width||i[r].c.is(":hidden")||o)&&(i[r].lastwindowheight=e(window).height(),m(r))}}),f(r),g(r),i[r].fallbacks.disableFocusListener||"true"==i[r].fallbacks.disableFocusListener||!0===i[r].fallbacks.disableFocusListener||(i[r].c.addClass("rev_redraw_on_blurfocus"),H())}}},g=function(a){i[a].navOutterOffsets=i.getHorizontalOffset(i[a].c,"all");var r=i[a].navOutterOffsets.left,o=i[a].blockSpacing!==t&&i[a].blockSpacing.left!==t?parseInt(i[a].blockSpacing.left[i[a].level],0):0,s=o+(i[a].blockSpacing!==t&&i[a].blockSpacing.right!==t?parseInt(i[a].blockSpacing.right[i[a].level],0):0);if("auto"===i[a].sliderLayout||"fullscreen"===i[a].sliderLayout&&!0===i[a].disableForceFullWidth?"fullscreen"==i[a].sliderLayout&&1==i[a].disableForceFullWidth?punchgs.TweenMax.set(i[a].cpar,{left:0,width:"auto"}):punchgs.TweenMax.set(i[a].canvas,{left:"carousel"===i[a].sliderType?0:r,width:i[a].c.width()-i[a].navOutterOffsets.both}):punchgs.TweenMax.set(i[a].cpar,{left:0-Math.ceil(i[a].c.closest("rs-fullwidth-wrap").offset().left-(r+o))+"px",width:e(window).width()-(i[a].navOutterOffsets.both+s)}),"auto"===i[a].sliderLayout&&i[a].modal!==t&&i[a].modal.useAsModal){var n=Math.min(i[a].gridwidth[i[a].level],window.innerWidth);punchgs.TweenMax.set([i[a].modal.c,i[a].canvas],{width:n})}i[a].slayers&&i[a].slayers.length>0&&"fullwidth"!=i[a].sliderLayout&&"fullscreen"!=i[a].sliderLayout&&punchgs.TweenMax.set(i[a].slayers,{left:r})},f=function(a,r){e(window).width()<i[a].hideSliderAtLimit?(i[a].c.trigger("stoptimer"),i.sA(i[a].cpar[0],"displaycache","none"!=i[a].cpar.css("display")?i[a].cpar.css("display"):i.gA(i[a].cpar[0],"displaycache")),i[a].cpar.css({display:"none"})):i[a].c.is(":hidden")&&r&&(i.gA(i[a].cpar[0],"displaycache")!=t&&"none"!=i.gA(i[a].cpar[0],"displaycache")?i[a].cpar.css({display:i.gA(i[a].cpar[0],"displaycache")}):i[a].cpar.css({display:"block"}),i[a].c.trigger("restarttimer"),setTimeout(function(){m(a,!0)},150)),i.hideUnHideNav&&i[a].navigation.use&&i.hideUnHideNav(a)},m=function(r,o){if(i[r].c===t)return!1;i[r].dimensionReCheck={},i[r].c.trigger("revolution.slide.beforeredraw"),1==i[r].infullscreenmode&&(i[r].minHeight=e(window).height()),a&&(i[r].lastMobileHeight=window.innerHeight),l(r),i.resizeThumbsTabs&&!0!==i.resizeThumbsTabs(r)||(f(r,!0!==o),g(r),"carousel"==i[r].sliderType&&i.prepareCarousel(r),i.setSize(r),i.updateDimensions(r),"standard"===i[r].sliderType&&i[r].mtl!==t&&i.animateSlide({recall:!0,id:r}),"carousel"===i[r].sliderType&&i[r].lastconw!=i[r].conw&&(clearTimeout(i[r].pcartimer),i[r].pcartimer=setTimeout(function(){i.prepareCarousel(r),i.animateTheLayers({slide:"individual",id:r,mode:"rebuild"})},100),i[r].lastconw=i[r].conw),i.animateTheLayers&&(i[r].pr_processing_key!==t?i.animateTheLayers({slide:i[r].pr_processing_key,id:r,mode:"rebuild"}):i[r].pr_active_key!==t&&i.animateTheLayers({slide:i[r].pr_active_key,id:r,mode:"rebuild"}),i.scrollHandling&&i.scrollHandling(r,!0)),v(r,i[r].pr_next_bg),"carousel"!==i[r].sliderType&&v(r,i[r].pr_active_bg),i.manageNavigation&&i.manageNavigation(r)),i[r].c.trigger("revolution.slide.afterdraw"),setTimeout(function(){g(r)},19)},v=function(e,a){a&&a.data("panzoom")!==t&&i.startPanZoom(a,e,a.data("pztl")!==t?a.data("pztl").progress():0)},y=function(e){i[e].justifyCarousel?i[e].bh=i[e].bw=1:(i[e].bw=i[e].width/i[e].gridwidth[i[e].level],i[e].bh=i[e].height/i[e].gridheight[i[e].level],i[e].bw=isNaN(i[e].bw)?1:i[e].bw,i[e].bh=isNaN(i[e].bh)?1:i[e].bh,i[e].bh>i[e].bw?i[e].bh=i[e].bw:i[e].bw=i[e].bh,(i[e].bh>1||i[e].bw>1)&&(i[e].bw=1,i[e].bh=1))},b=function(a){i[a].autoHeight&&punchgs.TweenMax.set([i[a].c,i[a].cpar],{maxHeight:"none"}),punchgs.TweenMax.set(i[a].canvas,{overflow:"hidden",width:"100%",height:"100%",maxHeight:i[a].autoHeight?"none":i[a].cpar.css("maxHeight")}),"carousel"===i[a].sliderType&&(i[a].canvas.css({overflow:"visible"}).wrap("<rs-carousel-wrap></rs-carousel-wrap>"),i[a].cpar.prepend("<rs-carousel-space></rs-carousel-space>").append("<rs-carousel-space></rs-carousel-space>"),i.prepareCarousel(a)),i[a].startWithSlide=i[a].startWithSlide===t?t:"carousel"===i[a].sliderType?parseInt(i[a].startWithSlide):parseInt(i[a].startWithSlide)+1,i[a].cpar.css({overflow:"visible"}),i[a].scrolleffect.bgs=[];for(var r=0;r<i[a].slides.length;r++){var o=e(i[a].slides[r]),s=o.find(">img"),n=o.find("rs-bgvideo");s.detach(),n.detach(),(i[a].startWithSlide!=t&&i.gA(i[a].slides[r],"originalindex")==i[a].startWithSlide||i[a].startWithSlide===t&&0==r)&&(i[a].pr_next_key=o.index()),punchgs.TweenMax.set(o,{width:"100%",height:"100%",overflow:"hidden"}),s.wrap("<rs-sbg-px><rs-sbg-wrap></rs-sbg-wrap></rs-sbg-px>");var l=s.closest("rs-sbg-wrap"),d=o.data("mediafilter"),c=w(s.data(),a,s[0].style.backgroundColor),p=c.bgcolor!==t&&c.bgcolor.indexOf("gradient")>=0,h=c.bgcolor!==t&&c.bgcolor.indexOf("gradient")>=0?"background:"+c.bgcolor+";":"background-color:"+c.bgcolor+";";c.src=s[0].src,c.lazyload=u(s[0],t,a),c.slidebgimage=!0,d="none"===d||d===t?"":d,n.length>0&&(n.addClass("defaultvid").css({zIndex:30}),n.appendTo(l),d!==t&&""!==d&&"none"!==d&&n.addClass(d),c.parallax!=t&&(n.data("parallax",c.parallax),n.data("showcoveronpause","on"),n.data("mediafilter",d))),"none"!=i[a].dottedOverlay&&i[a].dottedOverlay!=t&&l.append('<rs-dotted class="'+i[a].dottedOverlay+'"></rs-dotted>'),h+=(p?"":"background-repeat:"+c.bgrepeat+";background-image:url("+c.src+");background-size:"+c.bgfit+";background-position:"+c.bgposition+";")+"width:100%;height:100%;",h+="standard"===i[a].sliderType||"undefined"===i[a].sliderType?"opacity:0;":"",s.data("mediafilter",d),d=s.data("panzoom")!==t?"":d;var g=e("<rs-sbg "+(c.lazyload!==t?'data-lazyload="'+c.lazyload+'"':"")+' src="'+c.src+'" class="'+d+'" data-bgcolor="'+c.bgcolor+'" style="'+h+'"></rs-sbg>');l.append(g);var f=document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - "+s.get(0).outerHTML);s.replaceWith(f),l.data(c),g.data(c),i.gA(o[0],"sba")===t&&i.sA(o[0],"sba","");var m={},v=i.gA(o[0],"sba").split(";");for(var y in v)if(v.hasOwnProperty(y)){var b=v[y].split(":");switch(b[0]){case"f":m.f=b[1];break;case"b":m.b=b[1];break;case"g":m.g=b[1];break;case"t":m.s=b[1]}}i.sA(o[0],"scroll-based",!!i[a].sbtimeline.set&&(m.s!==t&&m.s)),i[a].scrolleffect.set?(i[a].scrolleffect.bgs.push({fade:m.f!==t?m.f:!!i[a].scrolleffect.slide&&i[a].scrolleffect.fade,blur:m.b!==t?m.b:!!i[a].scrolleffect.slide&&i[a].scrolleffect.blur,grayscale:m.g!==t?m.g:!!i[a].scrolleffect.slide&&i[a].scrolleffect.grayscale,c:l.wrap("<rs-sbg-effectwrap></rs-sbg-effectwrap>").parent()}),o.prepend(l.parent().parent())):o.prepend(l.parent())}},w=function(r,o,s){r.bg=r.bg===t?"":r.bg;var n=r.bg.split(";"),l={bgposition:"50% 50%",bgfit:"cover",bgrepeat:"no-repeat",bgcolor:s||"transparent"};for(var d in n)if(n.hasOwnProperty(d)){var c=n[d].split(":"),p=c[0],u=c[1],h="";switch(p){case"p":h="bgposition";break;case"f":h="bgfit";break;case"r":h="bgrepeat";break;case"c":h="bgcolor"}h!==t&&(l[h]=u)}return i[o].fallbacks.panZoomDisableOnMobile&&a&&(l.panzoom=null,l.bgfit="cover"),e.extend(!0,r,l)},_=function(e,t){t.find(".slot, .slot-circle-wrapper").each(function(){}),i[e].transition=0},x=function(e){var i=e;return e!=t&&e.length>0&&(i=e.split("?")[0]),i},k=function(e){var i=e;return e!=t&&e.length>0&&(i=i.replace(document.location.protocol,"")),i},T=function(e,t){var i=e.split("/"),a=t.split("/");i.pop();for(var r=0;r<a.length;r++)"."!=a[r]&&(".."==a[r]?i.pop():i.push(a[r]));return i.join("/")},L=function(e,a,r){if(i[a]!==t){for(var o in i[a].syncload--,i[a].loadqueue)if(i[a].loadqueue.hasOwnProperty(o)&&"loaded"!==i[a].loadqueue[o].progress){var s=i[a].loadqueue[o].src!==t?i[a].loadqueue[o].src.replace(/\.\.\/\.\.\//gi,""):i[a].loadqueue[o].src;(s===e.src||k(s)===k(e.src)||x(document.location.protocol+s)===x(decodeURIComponent(e.src))||x(document.location.origin+s)===x(decodeURIComponent(e.src))||x(self.location.href.substring(0,self.location.href.length-1)+s)===x(decodeURIComponent(e.src))||x(T(self.location.href,i[a].loadqueue[o].src))===x(decodeURIComponent(e.src))||x(document.location.origin+"/"+s)===x(decodeURIComponent(e.src))||x(self.location.href.substring(0,self.location.href.length-1)+"/"+s)===x(decodeURIComponent(e.src))||x(i[a].loadqueue[o].src)===x(decodeURIComponent(e.src))||"file://"===window.location.origin&&x(e.src).match(new RegExp(s)))&&(i[a].loadqueue[o].img=e,i[a].loadqueue[o].progress=r,i[a].loadqueue[o].width=e.width,i[a].loadqueue[o].height=e.height)}I(a)}},I=function(a){4!=i[a].syncload&&i[a].loadqueue&&e.each(i[a].loadqueue,function(r,o){if("prepared"==o.progress&&i[a].syncload<=4){if(i[a].syncload++,"img"==o.type){var s=new Image;/^([\w]+\:)?\/\//.test(o.src)&&-1===o.src.indexOf(location.host)&&""!==i[a].imgCrossOrigin&&i[a].imgCrossOrigin!==t&&(s.crossOrigin=i[a].imgCrossOrigin),s.onload=function(){L(this,a,"loaded"),o.error=!1},s.onerror=function(){L(this,a,"failed"),o.error=!0},s.src=o.src,o.starttoload=e.now()}else e.get(o.src,function(e){o.innerHTML=(new XMLSerializer).serializeToString(e.documentElement),o.progress="loaded",i[a].syncload--,I(a)}).fail(function(){o.progress="failed",i[a].syncload--,I(a)});o.progress="inload"}})},A=function(e,t){return console.log("Static Image "+e+"  Could not be loaded in time. Error Exists:"+t),!0},R=function(t,a){if(e.now()-i[a][t+"starttime"]>5e3&&1!=i[a][t+"warning"]){i[a][t+"warning"]=!0;var r=t+" Api Could not be loaded !";"https:"===location.protocol&&(r+=" Please Check and Renew SSL Certificate !"),console.error(r),i[a].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>'+r+"</strong></div>")}return!0},S=function(a){i[a]!==t&&(i[a].pr_active_slide=e(i[a].slides[i[a].pr_active_key]),i[a].pr_next_slide=e(i[a].slides[i[a].pr_processing_key]),i[a].pr_active_bg=i[a].pr_active_slide.find("rs-sbg-wrap"),i[a].pr_next_bg=i[a].pr_next_slide.find("rs-sbg-wrap"),punchgs.TweenMax.to([i[a].pr_active_bg,i[a].pr_next_bg],.5,{opacity:0}),punchgs.TweenMax.set(i[a].pr_active_slide,{zIndex:18}),punchgs.TweenMax.set(i[a].pr_next_slide,{autoAlpha:0,zIndex:20}),i[a].tonpause=!1,i.removeTheLayers&&i[a].pr_active_key!==t&&i.removeTheLayers(i[a].pr_active_slide,a,!0),i[a].firststart=1,setTimeout(function(){delete i[a].pr_active_key,delete i[a].pr_processing_key},200))},z=function(a,r){if(i[a]!==t)if(clearTimeout(i[a].waitWithSwapSlide),i[a].pr_processing_key===t){if(i[a].startWithSlideKey!==t&&(i[a].pr_next_key=i.getComingSlide(a,i[a].startWithSlideKey).nindex,delete i[a].startWithSlideKey),i[a].pr_active_slide=e(i[a].slides[i[a].pr_active_key]),i[a].pr_next_slide=e(i[a].slides[i[a].pr_next_key]),i[a].pr_next_key==i[a].pr_active_key&&!0!==i[a].onlyPreparedSlide)return delete i[a].pr_next_key;!0===i[a].onlyPreparedSlide&&(i[a].onlyPreparedSlide=!1),i[a].pr_processing_key=i[a].pr_next_key,i[a].pr_cache_pr_next_key=i[a].pr_next_key,delete i[a].pr_next_key,i[a].pr_next_slide!==t&&i[a].pr_next_slide[0]!==t&&i.gA(i[a].pr_next_slide[0],"hal")!==t&&i.sA(i[a].pr_next_slide[0],"sofacounter",i.gA(i[a].pr_next_slide[0],"sofacounter")===t?1:parseInt(i.gA(i[a].pr_next_slide[0],"sofacounter"),0)+1),i[a].stopLoop&&i[a].pr_processing_key==i[a].lastslidetoshow-1&&(i[a].c.find("rs-progress").css({visibility:"hidden"}),i[a].c.trigger("revolution.slide.onstop"),i[a].noloopanymore=1),i[a].pr_next_slide.index()===i[a].slideamount-1&&i[a].looptogo>0&&"disabled"!==i[a].looptogo&&(i[a].looptogo--,i[a].looptogo<=0&&(i[a].stopLoop=!0)),i[a].tonpause=!0,i[a].slideInSwapTimer=!0,i[a].c.trigger("stoptimer"),"off"===i[a].spinner&&(i[a].loader!==t?i[a].loader.css({display:"none"}):i[a].loadertimer=setTimeout(function(){i[a].loader!==t&&i[a].loader.css({display:"block"})},18));var o="carousel"===i[a].sliderType&&"all"!==i[a].lazyType?i.loadVisibleCarouselItems(a):i[a].pr_next_slide[0];i.loadImages(o,a,1),i.preLoadAudio&&i.preLoadAudio(i[a].pr_next_slide,a,1),i.waitForCurrentImages(o,a,function(){i[a]!==t&&(i[a].pr_next_slide.find("rs-bgvideo").each(function(){var t=e(this);t.hasClass("HasListener")||(t.data("bgvideo",1),i.manageVideoLayer&&i.manageVideoLayer(t,a)),0==t.find(".rs-fullvideo-cover").length&&t.append('<div class="rs-fullvideo-cover"></div>')}),i.loadUpcomingContent(a),M(i[a].pr_next_slide.find("rs-sbg"),a,r))}),g(a)}else i[a].waitWithSwapSlide=setTimeout(function(){z(a,r)},18)},M=function(a,r,o){if(i[r]!==t){if(i[r].pr_active_slide=e(i[r].slides[i[r].pr_active_key]),i[r].pr_next_slide=e(i[r].slides[i[r].pr_processing_key]),i[r].pr_active_bg=i[r].pr_active_slide.find("rs-sbg-wrap"),i[r].pr_next_bg=i[r].pr_next_slide.find("rs-sbg-wrap"),i[r].tonpause=!1,clearTimeout(i[r].loadertimer),i[r].loader!==t&&i[r].loader.css({display:"none"}),i.setSize(r),i.manageNavigation&&i[r].navigation.use&&i.manageNavigation(r,!1),i[r].c.trigger("revolution.slide.onbeforeswap",{slider:r,slideIndex:parseInt(i[r].pr_active_key,0)+1,slideLIIndex:i[r].pr_active_key,nextSlideIndex:parseInt(i[r].pr_processing_key,0)+1,nextSlideLIIndex:i[r].pr_processing_key,nextslide:i[r].pr_next_slide,slide:i[r].pr_active_slide,currentslide:i[r].pr_active_slide,prevslide:i[r].pr_lastshown_key!==t?i[r].slides[i[r].pr_lastshown_key]:""}),i[r].transition=1,i[r].stopByVideo=!1,i[r].pr_next_slide[0]!==t&&i.gA(i[r].pr_next_slide[0],"duration")!=t&&""!=i.gA(i[r].pr_next_slide[0],"duration")?i[r].duration=parseInt(i.gA(i[r].pr_next_slide[0],"duration"),0):i[r].duration=i[r].origcd,i[r].pr_next_slide[0]===t||"true"!=i.gA(i[r].pr_next_slide[0],"ssop")&&!0!==i.gA(i[r].pr_next_slide[0],"ssop")?i[r].ssop=!1:i[r].ssop=!0,i[r].sbtimeline.set&&i[r].sbtimeline.fixed&&i.updateFixedScrollTimes(r),i[r].c.trigger("nulltimer"),i[r].sdir=i[r].pr_processing_key<i[r].pr_active_key?1:0,"arrow"==i[r].sc_indicator&&(0==i[r].pr_active_key&&i[r].pr_processing_key==i[r].slideamount-1&&(i[r].sdir=1),i[r].pr_active_key==i[r].slideamount-1&&0==i[r].pr_processing_key&&(i[r].sdir=0)),i[r].lsdir=i[r].sdir,i[r].pr_active_key!=i[r].pr_processing_key&&1!=i[r].firststart&&"carousel"!==i[r].sliderType&&i.removeTheLayers&&i.removeTheLayers(i[r].pr_active_slide,r),i[r].pr_next_slide.hasClass("rs-pause-timer-once")||i[r].pr_next_slide.hasClass("rs-pause-timer-always")?(i[r].stopByVideo=!0,i.unToggleState(i[r].slidertoggledby)):i[r].c.trigger("restarttimer"),i[r].pr_next_slide.removeClass("rs-pause-timer-once"),i[r].pr_next_slide[0]!==t&&i.sA(i[r].c[0],"slideactive",i.gA(i[r].pr_next_slide[0],"key")),"carousel"==i[r].sliderType)i[r].mtl=new punchgs.TimelineLite,i.prepareCarousel(r),C(r),i[r].transition=0;else{i[r].mtl=new punchgs.TimelineLite({onComplete:function(){C(r)}}),i[r].mtl.add(punchgs.TweenMax.set(i[r].pr_next_bg.find("rs-sbg"),{opacity:0})),i[r].mtl.pause(),i.animateTheLayers&&(i[r].pr_next_key!==t?i.animateTheLayers({slide:i[r].pr_next_key,id:r,mode:"preset"}):i[r].pr_processing_key!==t?i.animateTheLayers({slide:i[r].pr_processing_key,id:r,mode:"preset"}):i[r].pr_active_key!==t&&i.animateTheLayers({slide:i[r].pr_active_key,id:r,mode:"preset"})),1==i[r].firststart&&(i[r].pr_active_slide[0]!==t&&punchgs.TweenMax.set(i[r].pr_active_slide,{autoAlpha:0}),i[r].firststart=0),i[r].pr_active_slide[0]!==t&&punchgs.TweenMax.set(i[r].pr_active_slide,{zIndex:18}),i[r].pr_next_slide[0]!==t&&punchgs.TweenMax.set(i[r].pr_next_slide,{autoAlpha:0,zIndex:20}),"prepared"==i.gA(i[r].pr_next_slide[0],"differentissplayed")&&(i.sA(i[r].pr_next_slide[0],"differentissplayed","done"),i.sA(i[r].pr_next_slide[0],"anim",i.gA(i[r].pr_next_slide[0],"savedanim"))),i.gA(i[r].pr_next_slide[0],"firstanim")!=t&&"done"!=i.gA(i[r].pr_next_slide[0],"differentissplayed")&&(i.sA(i[r].pr_next_slide[0],"savedanim",i.gA(i[r].pr_next_slide[0],"anim")),i.sA(i[r].pr_next_slide[0],"anim",i.gA(i[r].pr_next_slide[0],"firstanim")),i.sA(i[r].pr_next_slide[0],"differentissplayed","prepared"));var s=function(e){var i=(e=e===t?"t:random":e).split(";"),a={};for(var r in i)if(i.hasOwnProperty(r)){var o=i[r].split(":"),s=o[0],n=o[1],l="transition";switch(s){case"ei":l="easein";break;case"eo":l="easeout";break;case"s":l="masterspeed";break;case"sl":l="slotamount";break;case"r":l="rotate"}s!==t&&n!==t&&(a[l]=n.split(","))}a.transition===t&&(a={transition:["fade"]});return a}(i.gA(i[r].pr_next_slide[0],"anim"));i.sA(i[r].pr_next_slide[0],"ntrid","on"==i.gA(i[r].pr_next_slide[0],"rndtrans")?Math.round(80*Math.random()):parseInt(i.gA(i[r].pr_next_slide[0],"ntrid"),0)+1||0),i.sA(i[r].pr_next_slide[0],"ntrid",s.transition===t||i.gA(i[r].pr_next_slide[0],"ntrid")==s.transition.length?0:i.gA(i[r].pr_next_slide[0],"ntrid")),i.animateSlide({animation:s,ntrid:i.gA(i[r].pr_next_slide[0],"ntrid"),id:r}),i[r].pr_next_bg.data("panzoom")!==t&&(i.startPanZoom(i[r].pr_next_bg,r),i[r].mtl.add(punchgs.TweenMax.set(i[r].pr_next_bg,{autoAlpha:0,immediateRender:!0}),0)),i[r].mtl.pause()}i.scrollHandling&&i[r].mtl!==t&&(i.scrollHandling(r,!0,0),i[r].mtl.eventCallback("onUpdate",function(){i.scrollHandling(r,!0,0,!0)})),"off"!=i[r].parallax.type&&i[r].parallax.firstgo==t&&i.scrollHandling&&(i[r].parallax.firstgo=!0,i[r].lastscrolltop=-999,i.scrollHandling(r,!0,0),setTimeout(function(){i[r]!==t&&(i[r].lastscrolltop=-999,i.scrollHandling(r,!0,0))},70),setTimeout(function(){i[r]!==t&&(i[r].lastscrolltop=-999,i.scrollHandling(r,!0,0))},100)),i.animateTheLayers?"carousel"===i[r].sliderType?(!1!==i[r].carousel.showLayersAllTime&&(i[r].carousel.allLayersStarted?i.animateTheLayers({slide:"individual",id:r,mode:"rebuild"}):i.animateTheLayers({slide:"individual",id:r,mode:"start"}),i[r].carousel.allLayersStarted=!0),0!==i[r].firststart?i.animateTheLayers({slide:0,id:r,mode:"start"}):!0!==o&&i.animateTheLayers({slide:i[r].pr_next_key!==t?i[r].pr_next_key:i[r].pr_processing_key!==t?i[r].pr_processing_key:i[r].pr_active_key,id:r,mode:"start"}),i[r].firststart=0):i.animateTheLayers({slide:i[r].pr_next_key!==t?i[r].pr_next_key:i[r].pr_processing_key!==t?i[r].pr_processing_key:i[r].pr_active_key,id:r,mode:"start"}):i[r].mtl!=t&&setTimeout(function(){i[r].mtl.resume()},18),"carousel"!==i[r].sliderType&&punchgs.TweenMax.to(i[r].pr_next_slide,.001,{autoAlpha:1})}};var C=function(r){if(i[r]!==t&&(i[r].firstSlideAvailable===t&&(i[r].firstSlideAvailable=!0,i.showFirstTime!==t&&i.showFirstTime(r)),"carousel"===i[r].sliderType||(punchgs.TweenMax.to(i[r].pr_next_bg.find("rs-sbg"),.001,{zIndex:20,autoAlpha:1,onComplete:function(){_(r,i[r].pr_next_slide)}}),i[r].pr_next_slide.index()!=i[r].pr_active_slide.index()&&i[r].pr_active_slide[0]!==t&&punchgs.TweenMax.to(i[r].pr_active_slide,.2,{zIndex:18,autoAlpha:0,onComplete:function(){_(r,i[r].pr_active_slide)}})),i[r].pr_active_key=i[r].pr_processing_key!==t?i[r].pr_processing_key:i[r].pr_active_key,delete i[r].pr_processing_key,"scroll"!=i[r].parallax.type&&"scroll+mouse"!=i[r].parallax.type&&"mouse+scroll"!=i[r].parallax.type||(i[r].lastscrolltop=-999,i.scrollHandling(r)),i[r].mtldiff=i[r].mtl.time(),delete i[r].mtl,i[r].pr_active_key!==t)){i.gA(i[r].slides[i[r].pr_active_key],"sloop")!==t&&function(e){if(i[e]!==t){i[e].sloops=i[e].sloops===t?{}:i[e].sloops;var a=i.gA(i[e].slides[i[e].pr_active_key],"key"),r=i[e].sloops[a];if(r===t){r={s:2500,e:4500,r:"unlimited"};var o=i.gA(i[e].slides[i[e].pr_active_key],"sloop").split(";");for(var s in o)if(o.hasOwnProperty(s)){var n=o[s].split(":");switch(n[0]){case"s":r.s=parseInt(n[1],0)/1e3;break;case"e":r.e=parseInt(n[1],0)/1e3;break;case"r":r.r=n[1]}}r.r="unlimited"===r.r?-1:parseInt(r.r,0),i[e].sloops[a]=r,r.key=a}r.ct={time:r.s},r.tl=new punchgs.TimelineMax({}),r.timer=punchgs.TweenMax.fromTo(r.ct,r.e-r.s,{time:r.s},{time:r.e,ease:punchgs.Linear.easeNone,onRepeat:function(){for(var a in i[e].layers[r.key])i[e].layers[r.key].hasOwnProperty(a)&&i[e]._L[a].timeline.play(r.s);var o=i[e].c.find("rs-progress");o!==t&&o[0]!==t&&o[0].tween!==t&&o[0].tween.time(r.s)},onUpdate:function(){},onComplete:function(){}}).repeat(r.r),r.tl.add(r.timer,r.s),r.tl.time(i[e].mtldiff)}}(r),i[r].c.find(".active-rs-slide").removeClass("active-rs-slide"),e(i[r].slides[i[r].pr_active_key]).addClass("active-rs-slide"),i.sA(i[r].c[0],"slideactive",i.gA(i[r].slides[i[r].pr_active_key],"key")),i[r].pr_active_bg.data("pztl")!=t&&(i[r].pr_active_bg.data("pztl").reverse(),i[r].pr_active_bg.data("pztl").timeScale(3)),i[r].pr_next_bg.data("panzoom")!==t&&(i[r].pr_next_bg.data("pztl")!=t?(i[r].pr_next_bg.data("pztl").timeScale(1),i[r].pr_next_bg.data("pztl").play()):i.startPanZoom(i[r].pr_next_bg,r)),i[r].pr_next_slide.find("rs-bgvideo").each(function(t){if(a&&!i[r].fallbacks.allowHTML5AutoPlayOnAndroid)return!1;var o=e(this);i.resetVideo(o,r,!1,!0),punchgs.TweenMax.fromTo(o,.25,{autoAlpha:0},{autoAlpha:1,ease:punchgs.Power3.easeInOut,delay:.05,onComplete:function(){i.animcompleted&&i.animcompleted(o,r)}})}),i[r].pr_active_bg.find("rs-bgvideo").each(function(t){if(a&&!i[r].fallbacks.allowHTML5AutoPlayOnAndroid)return!1;var o=e(this);i.stopVideo&&(i.resetVideo(o,r),i.stopVideo(o,r)),punchgs.TweenMax.to(o,1,{autoAlpha:0,ease:punchgs.Power3.easeInOut,delay:.2})});var o={slider:r,slideIndex:parseInt(i[r].pr_active_key,0)+1,slideLIIndex:i[r].pr_active_key,slide:i[r].pr_next_slide,currentslide:i[r].pr_next_slide,prevSlideIndex:i[r].pr_lastshown_key!==t&&parseInt(i[r].pr_lastshown_key,0)+1,prevSlideLIIndex:i[r].pr_lastshown_key!==t&&parseInt(i[r].pr_lastshown_key,0),prevSlide:i[r].pr_lastshown_key!==t&&i[r].slides[i[r].pr_lastshown_key]};if(i[r].c.trigger("revolution.slide.onchange",o),i[r].c.trigger("revolution.slide.onafterswap",o),i[r].pr_lastshown_key=i[r].pr_active_key,i[r].startWithSlide!==t&&"done"!==i[r].startWithSlide&&"carousel"===i[r].sliderType){for(var s=i[r].startWithSlide,n=0;n<=i[r].slides.length-1;n++)i[r].slides[n]!==t&&i[r].slides[n][0]!==t&&i.gA(i[r].slides[n][0],"originalindex")===i[r].startWithSlide&&(s=n);0!==s&&i.callingNewSlide(r,s),i[r].startWithSlide="done"}i[r].duringslidechange=!1,i[r].pr_active_slide.length>0&&0!=i.gA(i[r].pr_active_slide[0],"hal")&&i.gA(i[r].pr_active_slide[0],"hal")<=i.gA(i[r].pr_active_slide[0],"sofacounter")&&i[r].c.revremoveslide(i[r].pr_active_slide.index());var l=i[r].pr_processing_key||i[r].pr_active_key||0;i[r].rowzones!=t&&(l=l>i[r].rowzones.length?i[r].rowzones.length:l),i[r].rowzones!=t&&i[r].rowzones.length>0&&i[r].rowzones[l]!=t&&l>=0&&l<=i[r].rowzones.length&&i[r].rowzones[l].length>0&&i.setSize(r),delete i[r].sc_indicator,delete i[r].sc_indicator_dir,i[r].firstLetItFree===t&&(i.scrollHandling&&i.scrollHandling(r,!0),i[r].firstLetItFree=!0)}},O=function(r){i[r].loop=0,i[r].stopAtSlide!=t&&i[r].stopAtSlide>-1?i[r].lastslidetoshow=i[r].stopAtSlide:i[r].lastslidetoshow=999,i[r].stopLoop=!1,0==i[r].looptogo&&(i[r].stopLoop=!0);var o=i[r].c.find("rs-progress");i[r].c.on("stoptimer",function(){var t=e(this).find("rs-progress");t[0].tween.pause(),i[r].disableProgressBar&&t.css({visibility:"hidden"}),i[r].sliderstatus="paused",i[r].slideInSwapTimer||i.unToggleState(i[r].slidertoggledby),i[r].slideInSwapTimer=!1}),i[r].c.on("starttimer",function(){i[r].forcepaused||(1!=i[r].conthover&&1!=i[r].stopByVideo&&i[r].width>i[r].hideSliderAtLimit&&1!=i[r].tonpause&&1!=i[r].overnav&&1!=i[r].ssop&&(1===i[r].noloopanymore||i[r].viewPort.enable&&!i[r].inviewport||(o.css({visibility:"visible"}),o[0].tween.resume(),i[r].sliderstatus="playing")),i[r].disableProgressBar&&o.css({visibility:"hidden"}),i.toggleState(i[r].slidertoggledby))}),i[r].c.on("restarttimer",function(){if(!i[r].forcepaused){var t=e(this).find("rs-progress");if(i[r].mouseoncontainer&&"on"==i[r].navigation.onHoverStop&&!a)return!1;1===i[r].noloopanymore||i[r].viewPort.enable&&!i[r].inviewport||1==i[r].ssop?i.unToggleState(i[r].slidertoggledby):(t.css({visibility:"visible"}),t[0].tween.kill(),t[0].tween=punchgs.TweenMax.fromTo(t,i[r].duration/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:s,delay:1}),i[r].sliderstatus="playing",i.toggleState(i[r].slidertoggledby)),i[r].disableProgressBar&&t.css({visibility:"hidden"}),i[r].mouseoncontainer&&1==i[r].navigation.onHoverStop&&!a&&(i[r].c.trigger("stoptimer"),i[r].c.trigger("revolution.slide.onpause"))}}),i[r].c.on("nulltimer",function(){o[0].tween.kill(),o[0].tween=punchgs.TweenMax.fromTo(o,i[r].duration/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:s,delay:1}),o[0].tween.pause(0),i[r].disableProgressBar&&o.css({visibility:"hidden"}),i[r].sliderstatus="paused"});var s=function(){r!==t&&i!==t&&i[r]!==t&&(0==e("body").find(i[r].c).length||null===i[r]||null===i[r].c||i[r].c===t||0===i[r].length?(!function(t){i[t].c.children().each(function(){try{e(this).die("click")}catch(e){}try{e(this).die("mouseenter")}catch(e){}try{e(this).die("mouseleave")}catch(e){}try{e(this).unbind("hover")}catch(e){}});try{i[t].c.die("click","mouseenter","mouseleave")}catch(e){}clearInterval(i[t].cdint),i[t].c=null}(r),clearInterval(i[r].cdint)):(i[r].c.trigger("revolution.slide.slideatend"),1==i[r].c.data("conthoverchanged")&&(i[r].conthover=i[r].c.data("conthover"),i[r].c.data("conthoverchanged",0)),i.callingNewSlide(r,1,!0)))};o[0].tween=punchgs.TweenMax.fromTo(o,i[r].duration/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:s,delay:1}),i[r].slideamount>1&&(0!=i[r].stopAfterLoops||1!=i[r].stopAtSlide)?i[r].c.trigger("starttimer"):(i[r].noloopanymore=1,i[r].c.trigger("nulltimer")),i[r].c.on("tp-mouseenter",function(){i[r].mouseoncontainer=!0,1!=i[r].navigation.onHoverStop||a||(i[r].c.trigger("stoptimer"),i[r].c.trigger("revolution.slide.onpause"))}),i[r].c.on("tp-mouseleft",function(){i[r].mouseoncontainer=!1,1!=i[r].c.data("conthover")&&1==i[r].navigation.onHoverStop&&(1==i[r].viewPort.enable&&i[r].inviewport||0==i[r].viewPort.enable)&&(i[r].c.trigger("revolution.slide.onresume"),i[r].c.trigger("starttimer"))})},P=function(){e(".rev_redraw_on_blurfocus").each(function(){var e=this.id;if(i[e]==t||i[e].c==t||0===i[e].c.length)return!1;1!=i[e].windowfocused&&(i[e].windowfocused=!0,punchgs.TweenMax.delayedCall(.3,function(){i[e].fallbacks.nextSlideOnWindowFocus&&i[e].c.revnext(),i[e].c.revredraw(),"playing"==i[e].lastsliderstatus&&i[e].c.revresume(),i[e].c.trigger("revolution.slide.tabfocused")}))})},j=function(){document.hasFocus()||e(".rev_redraw_on_blurfocus").each(function(){i[this.id].windowfocused=!1,i[this.id].lastsliderstatus=i[this.id].sliderstatus,i[this.id].c.revpause(),i[this.id].pr_next_bg!==t&&i[this.id].pr_next_bg.data("panzoom")!==t&&i.stopPanZoom(i[this.id].pr_next_bg,i[this.id]),i[this.id].pr_active_bg!==t&&i[this.id].pr_active_bg.data("panzoom")!==t&&i.stopPanZoom(i[this.id].pr_active_bg,i[this.id]),i[this.id].c.trigger("revolution.slide.tabblured")})},H=function(){var i=document.documentMode===t,a=window.chrome;1!==e("body").data("revslider_focus_blur_listener")&&(e("body").data("revslider_focus_blur_listener",1),i&&!a?e(window).on("focusin",function(){P()}).on("focusout",function(){j()}):window.addEventListener?(window.addEventListener("focus",function(e){P()},{capture:!1,passive:!0}),window.addEventListener("blur",function(e){j()},{capture:!1,passive:!0})):(window.attachEvent("focus",function(e){P()}),window.attachEvent("blur",function(e){j()})))},N=function(e){for(var t,i=[],a=window.location.href.slice(window.location.href.indexOf(e)+1).split("_"),r=0;r<a.length;r++)a[r]=a[r].replace("%3D","="),t=a[r].split("="),i.push(t[0]),i[t[0]]=t[1];return i},Q=function(e){if(i[e].blockSpacing!==t){var a=i[e].blockSpacing.split(";");for(var r in i[e].blockSpacing={},a)if(a.hasOwnProperty(r)){var o=a[r].split(":");switch(o[0]){case"t":i[e].blockSpacing.top=i.revToResp(o[1],4,0);break;case"b":i[e].blockSpacing.bottom=i.revToResp(o[1],4,0);break;case"l":i[e].blockSpacing.left=i.revToResp(o[1],4,0);break;case"r":i[e].blockSpacing.right=i.revToResp(o[1],4,0)}}i[e].blockSpacing.block=i[e].c.closest(".wp-block-themepunch-revslider"),i[e].level!==t&&i[e].blockSpacing!==t&&punchgs.TweenMax.set(i[e].blockSpacing.block,{paddingLeft:i[e].blockSpacing.left[i[e].level],paddingRight:i[e].blockSpacing.right[i[e].level],marginTop:i[e].blockSpacing.top[i[e].level],marginBottom:i[e].blockSpacing.bottom[i[e].level]})}},D=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},B=function(i){return function(i){for(var a in i.minHeight=i.minHeight!==t?"none"===i.minHeight||"0"===i.minHeight||"0px"===i.minHeight||""==i.minHeight||" "==i.minHeight?0:parseInt(i.minHeight,0):0,i.maxHeight="none"===i.maxHeight||"0"===i.maxHeight?0:parseInt(i.maxHeight,0),i.carousel.maxVisibleItems=i.carousel.maxVisibleItems<1?999:i.carousel.maxVisibleItems,i.carousel.vertical_align="top"===i.carousel.vertical_align?"0%":"bottom"===i.carousel.vertical_align?"100%":"50%",i.carousel.space=parseInt(i.carousel.space,0),i.carousel.maxOpacity=parseInt(i.carousel.maxOpacity,0),i.carousel.maxOpacity=i.carousel.maxOpacity>1?i.carousel.maxOpacity/100:i.carousel.maxOpacity,i.carousel.showLayersAllTime="true"===i.carousel.showLayersAllTime||!0===i.carousel.showLayersAllTime?"all":i.carousel.showLayersAllTime,i.carousel.maxRotation=parseInt(i.carousel.maxRotation,0),i.carousel.minScale=parseInt(i.carousel.minScale,0),i.carousel.minScale=i.carousel.minScale>.9?i.carousel.minScale/100:i.carousel.minScale,i.carousel.speed=parseInt(i.carousel.speed,0),i.navigation.maintypes=["arrows","tabs","thumbnails","bullets"],i.navigation.maintypes)i.navigation.maintypes.hasOwnProperty(a)&&i.navigation[i.navigation.maintypes[a]]!==t&&(i.navigation[i.navigation.maintypes[a]].animDelay=parseInt(i.navigation[i.navigation.maintypes[a]].animDelay,0)/1e3,i.navigation[i.navigation.maintypes[a]].animSpeed=parseInt(i.navigation[i.navigation.maintypes[a]].animSpeed,0)/1e3);if(e.isNumeric(i.scrolleffect.tilt)||-1!==i.scrolleffect.tilt.indexOf("%")&&(i.scrolleffect.tilt=parseInt(i.scrolleffect.tilt)),i.scrolleffect.tilt=i.scrolleffect.tilt/100,i.navigation.thumbnails.position="outer-horizontal"==i.navigation.thumbnails.position?"bottom"==i.navigation.thumbnails.v_align?"outer-bottom":"outer-top":"outer-vertical"==i.navigation.thumbnails.position?"left"==i.navigation.thumbnails.h_align?"outer-left":"outer-right":i.navigation.thumbnails.position,i.navigation.tabs.position="outer-horizontal"==i.navigation.tabs.position?"bottom"==i.navigation.tabs.v_align?"outer-bottom":"outer-top":"outer-vertical"==i.navigation.tabs.position?"left"==i.navigation.tabs.h_align?"outer-left":"outer-right":i.navigation.tabs.position,i.sbtimeline.speed=parseInt(i.sbtimeline.speed,0)/1e3||.5,!0===i.sbtimeline.set&&!0===i.sbtimeline.fixed&&"auto"!==i.sliderLayout?(i.sbtimeline.fixStart=parseInt(i.sbtimeline.fixStart),i.sbtimeline.fixEnd=parseInt(i.sbtimeline.fixEnd)):i.sbtimeline.fixed=!1,i.startDelay=parseInt(i.startDelay,0)||0,i.navigation!==t&&i.navigation.arrows!=t&&i.navigation.arrows.hide_under!=t&&(i.navigation.arrows.hide_under=parseInt(i.navigation.arrows.hide_under)),i.navigation!==t&&i.navigation.bullets!=t&&i.navigation.bullets.hide_under!=t&&(i.navigation.bullets.hide_under=parseInt(i.navigation.bullets.hide_under)),i.navigation!==t&&i.navigation.thumbnails!=t&&i.navigation.thumbnails.hide_under!=t&&(i.navigation.thumbnails.hide_under=parseInt(i.navigation.thumbnails.hide_under)),i.navigation!==t&&i.navigation.tabs!=t&&i.navigation.tabs.hide_under!=t&&(i.navigation.tabs.hide_under=parseInt(i.navigation.tabs.hide_under)),i.navigation!==t&&i.navigation.arrows!=t&&i.navigation.arrows.hide_over!=t&&(i.navigation.arrows.hide_over=parseInt(i.navigation.arrows.hide_over)),i.navigation!==t&&i.navigation.bullets!=t&&i.navigation.bullets.hide_over!=t&&(i.navigation.bullets.hide_over=parseInt(i.navigation.bullets.hide_over)),i.navigation!==t&&i.navigation.thumbnails!=t&&i.navigation.thumbnails.hide_over!=t&&(i.navigation.thumbnails.hide_over=parseInt(i.navigation.thumbnails.hide_over)),i.navigation!==t&&i.navigation.tabs!=t&&i.navigation.tabs.hide_over!=t&&(i.navigation.tabs.hide_over=parseInt(i.navigation.tabs.hide_over)),i.lazyloaddata!==t&&i.lazyloaddata.length>0&&i.lazyloaddata.indexOf("-")>0){var r=i.lazyloaddata.split("-");for(i.lazyloaddata=r[0],a=1;a<r.length;a++)i.lazyloaddata+=D(r[a])}return i.duration=parseInt(i.duration),"carousel"===i.sliderType&&i.carousel.justify&&(i.justifyCarousel=!0,i.keepBPHeight=!0),i.useFullScreenHeight="carousel"===i.sliderType&&"fullscreen"===i.sliderLayout&&!0===i.useFullScreenHeight,i}(e.extend(!0,{sliderType:"standard",sliderLayout:"auto",dottedOverlay:"none",duration:9e3,imgCrossOrigin:"",modal:{useAsModal:!1,cover:!0,coverColor:"rgba(0,0,0,0.5)",horizontal:"center",vertical:"middle"},navigation:{keyboardNavigation:!1,keyboard_direction:"horizontal",mouseScrollNavigation:"off",onHoverStop:!0,mouseScrollReverse:"default",touch:{touchenabled:!1,touchOnDesktop:!1,swipe_treshold:75,swipe_min_touches:1,swipe_direction:"horizontal",drag_block_vertical:!1},arrows:{style:"",enable:!1,hide_onmobile:!1,hide_under:0,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_over:9999,tmp:"",rtl:!1,left:{h_align:"left",v_align:"center",h_offset:20,v_offset:0,container:"slider"},right:{h_align:"right",v_align:"center",h_offset:20,v_offset:0,container:"slider"}},bullets:{enable:!1,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",h_align:"center",v_align:"bottom",space:5,h_offset:0,v_offset:20,tmp:'<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>',container:"slider",rtl:!1,style:""},thumbnails:{container:"slider",rtl:!1,style:"",enable:!1,width:100,height:50,min_width:100,wrapper_padding:2,wrapper_color:"transparent",tmp:'<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,position:"inner",space:2,h_align:"center",v_align:"bottom",h_offset:0,v_offset:20},tabs:{container:"slider",rtl:!1,style:"",enable:!1,width:100,min_width:100,height:50,wrapper_padding:10,wrapper_color:"transparent",tmp:'<span class="tp-tab-image"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,space:0,position:"inner",h_align:"center",v_align:"bottom",h_offset:0,v_offset:20}},responsiveLevels:4064,visibilityLevels:[2048,1024,778,480],gridwidth:960,gridheight:500,minHeight:0,maxHeight:0,keepBPHeight:!1,useFullScreenHeight:!0,overflowHidden:!1,forceOverflow:!1,fixedOnTop:!1,autoHeight:!1,gridEQModule:!1,disableForceFullWidth:!1,fullScreenOffsetContainer:"",fullScreenOffset:"0",hideLayerAtLimit:0,hideAllLayerAtLimit:0,hideSliderAtLimit:0,disableProgressBar:!1,stopAtSlide:-1,stopAfterLoops:0,shadow:0,startDelay:0,lazyType:"none",spinner:"off",shuffle:!1,viewPort:{enable:!1,outof:"wait",visible_area:"200px",presize:!1},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:!1,simplifyAll:!0,nextSlideOnWindowFocus:!1,disableFocusListener:!1,ignoreHeightChanges:"off",ignoreHeightChangesSize:0,allowHTML5AutoPlayOnAndroid:!0},parallax:{type:"off",levels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],origo:"enterpoint",disable_onmobile:!1,ddd_shadow:!1,ddd_bgfreeze:!1,ddd_overflow:"visible",ddd_layer_overflow:"visible",ddd_z_correction:65,speed:400,speedbg:0,speedls:0},scrolleffect:{set:!1,fade:!1,blur:!1,scale:!1,grayscale:!1,maxblur:10,layers:!1,slide:!1,direction:"both",multiplicator:1.35,multiplicator_layers:.5,tilt:30,disable_onmobile:!1},sbtimeline:{set:!1,fixed:!1,fixStart:0,fixEnd:0,layers:!1,slide:!1,ease:"Linear.easeNone",speed:500},carousel:{easing:punchgs.Power3.easeInOut,speed:800,showLayersAllTime:!1,horizontal_align:"center",vertical_align:"center",infinity:!1,space:0,maxVisibleItems:3,stretch:!1,fadeout:!0,maxRotation:0,maxOpacity:100,minScale:0,offsetScale:!1,vary_fade:!1,vary_rotation:!1,vary_scale:!1,border_radius:"0px",padding_top:0,padding_bottom:0},extensions:"extensions/",extensions_suffix:".min.js",stopLoop:!1,waitForInit:!1},i))}}(jQuery),function($,undefined){"use strict";var _R=jQuery.fn.revolution,_ISM=_R.is_mobile();jQuery.extend(!0,_R,{checkActions:function(e,t){e===undefined?moduleEnterLeaveActions(t):checkActions_intern(e,t)}});var moduleEnterLeaveActions=function(e){!_R[e].moduleActionsPrepared&&_R[e].c[0].getElementsByClassName("rs-on-sh").length>0&&(_R[e].c.on("tp-mouseenter",function(){_R[e].mouseoncontainer=!0;var t,i=_R[e].pr_next_key!==undefined?_R[e].pr_next_key:_R[e].pr_processing_key!==undefined?_R[e].pr_processing_key:_R[e].pr_active_key!==undefined?_R[e].pr_active_key:_R[e].pr_next_key;if("none"!==i&&i!==undefined){if((i=_R.gA(_R[e].slides[i],"key"))!==undefined&&_R[e].layers[i])for(t in _R[e].layers[i])_R[e].layers[i][t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[i][t]),frame:"frame_1",mode:"trigger",id:e});for(t in _R[e].layers.static)_R[e].layers.static[t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[t]),frame:"frame_1",mode:"trigger",id:e})}}),_R[e].c.on("tp-mouseleft",function(){_R[e].mouseoncontainer=!0;var t,i=_R[e].pr_next_key!==undefined?_R[e].pr_next_key:_R[e].pr_processing_key!==undefined?_R[e].pr_processing_key:_R[e].pr_active_key!==undefined?_R[e].pr_active_key:_R[e].pr_next_key;if("none"!==i&&i!==undefined){if((i=_R.gA(_R[e].slides[i],"key"))!==undefined&&_R[e].layers[i])for(t in _R[e].layers[i])_R[e].layers[i][t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[i][t]),frame:"frame_999",mode:"trigger",id:e});for(t in _R[e].layers.static)_R[e].layers.static[t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[t]),frame:"frame_999",mode:"trigger",id:e})}})),_R[e].moduleActionsPrepared=!0},checkActions_intern=function(layer,id){var actions=_R.gA(layer[0],"actions"),_L=layer.data();for(var ei in actions=actions.split("||"),layer.addClass("rs-waction"),_L.events=_L.events===undefined?[]:_L.events,actions)if(actions.hasOwnProperty(ei)){var event=getEventParams(actions[ei].split(";"));_L.events.push(event),_R[id].fullscreen_esclistener||"exitfullscreen"!=event.action&&"togglefullscreen"!=event.action||(jQuery(document).keyup(function(e){27==e.keyCode&&jQuery("#rs-go-fullscreen").length>0&&layer.trigger(event.on)}),_R[id].fullscreen_esclistener=!0);var targetlayer="backgroundvideo"==event.layer?jQuery("rs-bgvideo"):"firstvideo"==event.layer?jQuery("rs-slide").find(".rs-layer-video"):jQuery("#"+event.layer);switch(-1!=jQuery.inArray(event.action,["toggleslider","toggle_mute_video","toggle_global_mute_video","togglefullscreen"])&&(_L._togglelisteners=!0),event.action){case"togglevideo":jQuery.each(targetlayer,function(){updateToggleByList(jQuery(this),"videotoggledby",layer[0].id)});break;case"togglelayer":jQuery.each(targetlayer,function(){updateToggleByList(jQuery(this),"layertoggledby",layer[0].id),jQuery(this).data("triggered_startstatus",event.togglestate)});break;case"toggle_global_mute_video":case"toggle_mute_video":jQuery.each(targetlayer,function(){updateToggleByList(jQuery(this),"videomutetoggledby",layer[0].id)});break;case"toggleslider":_R[id].slidertoggledby==undefined&&(_R[id].slidertoggledby=[]),_R[id].slidertoggledby.push(layer[0].id);break;case"togglefullscreen":_R[id].fullscreentoggledby==undefined&&(_R[id].fullscreentoggledby=[]),_R[id].fullscreentoggledby.push(layer[0].id)}}_R[id].actionsPrepared=!0,layer.on("click mouseenter mouseleave",function(e){for(var i in _L.events)if(_L.events.hasOwnProperty(i)&&_L.events[i].on===e.type){var event=_L.events[i];if("click"===event.on&&layer.hasClass("tp-temporarydisabled"))return!1;var targetlayer="backgroundvideo"==event.layer?jQuery(_R[id].slides[_R[id].pr_active_key]).find("rs-sbg-wrap rs-bgvideo"):"firstvideo"==event.layer?jQuery(_R[id].slides[_R[id].pr_active_key]).find(".rs-layer-video").first():jQuery("#"+event.layer),tex=targetlayer.length>0;switch(event.action){case"nextframe":case"prevframe":case"gotoframe":case"togglelayer":case"toggleframes":case"startlayer":case"stoplayer":if(targetlayer[0]===undefined)continue;var _=_R[id]._L[targetlayer[0].id],frame=event.frame,tou="triggerdelay";if("click"===e.type&&_.clicked_time_stamp!==undefined&&(new Date).getTime()-_.clicked_time_stamp<300)return;if("mouseenter"===e.type&&_.mouseentered_time_stamp!==undefined&&(new Date).getTime()-_.mouseentered_time_stamp<300)return;if(clearTimeout(_.triggerdelayIn),clearTimeout(_.triggerdelayOut),clearTimeout(_.triggerdelay),"click"===e.type&&(_.clicked_time_stamp=(new Date).getTime()),"mouseenter"===e.type&&(_.mouseentered_time_stamp=(new Date).getTime()),"mouseleave"===e.type&&(_.mouseentered_time_stamp=undefined),"nextframe"===event.action||"prevframe"===event.action){_.forda=_.forda===undefined?getFordWithAction(_):_.forda;var inx=jQuery.inArray(_.currentframe,_.ford);for("nextframe"===event.action&&inx++,"prevframe"===event.action&&inx--;"skip"!==_.forda[inx]&&inx>0&&inx<_.forda.length-1;)"nextframe"===event.action&&inx++,"prevframe"===event.action&&inx--,inx=Math.min(Math.max(0,inx),_.forda.length-1);frame=_.ford[inx]}jQuery.inArray(event.action,["toggleframes","togglelayer","startlayer","stoplayer"])>=0&&(_.triggeredstate="startlayer"===event.action||"togglelayer"===event.action&&"frame_1"!==_.currentframe||"toggleframes"===event.action&&_.currentframe!==event.frameN,"togglelayer"===event.action&&!0===_.triggeredstate&&_.currentframe!==undefined&&"frame_999"!==_.currentframe&&(_.triggeredstate=!1),frame=_.triggeredstate?"toggleframes"===event.action?event.frameN:"frame_1":"toggleframes"===event.action?event.frameM:"frame_999",tou=_.triggeredstate?"triggerdelayIn":"triggerdelayOut",_.triggeredstate?_R.toggleState(_.layertoggledby):(_R.stopVideo&&_R.stopVideo(targetlayer,id),_R.unToggleState(_.layertoggledby)));var pars={layer:targetlayer,frame:frame,mode:"trigger",id:id};!0===event.children&&(pars.updateChildren=!0,pars.fastforward=!0),_R.renderLayerAnimation&&(clearTimeout(_[tou]),_[tou]=setTimeout(function(e){_R.renderLayerAnimation(e)},1e3*event.delay,pars));break;case"playvideo":tex&&_R.playVideo(targetlayer,id);break;case"stopvideo":tex&&_R.stopVideo&&_R.stopVideo(targetlayer,id);break;case"togglevideo":tex&&(_R.isVideoPlaying(targetlayer,id)?_R.stopVideo&&_R.stopVideo(targetlayer,id):_R.playVideo(targetlayer,id));break;case"mutevideo":tex&&_R.Mute(targetlayer,id,!0);break;case"unmutevideo":tex&&_R.Mute&&_R.Mute(targetlayer,id,!1);break;case"toggle_mute_video":tex&&(_R.Mute(targetlayer,id)?_R.Mute(targetlayer,id,!1):_R.Mute&&_R.Mute(targetlayer,id,!0));break;case"toggle_global_mute_video":var pvl=_R[id].playingvideos!=undefined&&_R[id].playingvideos.length>0;pvl&&(_R[id].globalmute?jQuery.each(_R[id].playingvideos,function(e,t){_R.Mute&&_R.Mute(t,id,!1)}):jQuery.each(_R[id].playingvideos,function(e,t){_R.Mute&&_R.Mute(t,id,!0)})),_R[id].globalmute=!_R[id].globalmute;break;default:punchgs.TweenLite.delayedCall(event.delay,function(targetlayer,id,event,layer){switch(event.action){case"openmodal":if(event.modalslide=event.modalslide===undefined?0:event.modalslide,window.RS_60_MODALS===undefined||-1==jQuery.inArray(event.modal,window.RS_60_MODALS)){_R.showModalCover(id,event,"show");var data={action:"revslider_ajax_call_front",client_action:"get_slider_html",token:_R[id].ajaxNonce,alias:event.modal,usage:"modal"};jQuery.ajax({type:"post",url:_R[id].ajaxUrl,dataType:"json",data:data,success:function(e,t,i){1==e.success&&(jQuery("body").append(e.data),setTimeout(function(){_R.showModalCover(id,event,"hide"),jQuery(document).trigger("RS_OPENMODAL_"+event.modal,event.modalslide)},49))},error:function(e){console.log("Modal Can not be Loaded"),console.log(e)}})}else jQuery(document).trigger("RS_OPENMODAL_"+event.modal,event.modalslide);break;case"closemodal":_R.revModal(id,{mode:"close"});break;case"callback":eval(event.callback);break;case"simplelink":window.open(event.url,event.target);break;case"simulateclick":targetlayer.length>0&&targetlayer.click();break;case"toggleclass":targetlayer.length>0&&targetlayer.toggleClass(event.classname);break;case"scrollbelow":case"scrollto":layer.addClass("tp-scrollbelowslider");var doc=jQuery(document),off="scrollbelow"===event.action?(getOffContH(_R[id].fullScreenOffsetContainer)||0)-(parseInt(event.offset,0)||0)||0:0-(parseInt(event.offset,0)||0),c="scrollbelow"===event.action?_R[id].c:jQuery("#"+event.id),ctop=c.length>0?c.offset().top:0,sobj={_y:window.pageYOffset!==document.documentElement.scrollTop?0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop:window.pageYOffset};ctop+="scrollbelow"===event.action?jQuery(_R[id].slides[0]).height():0,punchgs.TweenLite.to(sobj,event.speed/1e3,{_y:ctop-off,ease:event.ease,onUpdate:function(){doc.scrollTop(sobj._y)}});break;case"jumptoslide":switch(event.slide.toLowerCase()){case"+1":case"next":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=0,_R.callingNewSlide(id,1,"carousel"===_R[id].sliderType);break;case"previous":case"prev":case"-1":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=1,_R.callingNewSlide(id,-1,"carousel"===_R[id].sliderType);break;case"first":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=1,_R.callingNewSlide(id,0,"carousel"===_R[id].sliderType);break;case"last":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=0,_R.callingNewSlide(id,_R[id].slideamount-1,"carousel"===_R[id].sliderType);break;default:var ts=jQuery.isNumeric(event.slide)?parseInt(event.slide,0):event.slide;_R.callingNewSlide(id,ts,"carousel"===_R[id].sliderType)}break;case"toggleslider":_R[id].noloopanymore=0,"playing"==_R[id].sliderstatus?(_R[id].c.revpause(),_R[id].forcepaused=!0,_R.unToggleState(_R[id].slidertoggledby)):(_R[id].forcepaused=!1,_R[id].c.revresume(),_R.toggleState(_R[id].slidertoggledby));break;case"pauseslider":_R[id].c.revpause(),_R.unToggleState(_R[id].slidertoggledby);break;case"playslider":_R[id].noloopanymore=0,_R[id].c.revresume(),_R.toggleState(_R[id].slidertoggledby);break;case"gofullscreen":case"exitfullscreen":case"togglefullscreen":var gf;jQuery(".rs-go-fullscreen").length>0&&("togglefullscreen"==event.action||"exitfullscreen"==event.action)?(jQuery(".rs-go-fullscreen").removeClass("rs-go-fullscreen"),gf=_R[id].c.closest("rs-fullwidth-wrap").length>0?_R[id].c.closest("rs-fullwidth-wrap"):_R[id].c.closest("rs-module-wrap"),_R[id].minHeight=_R[id].oldminheight,_R[id].infullscreenmode=!1,_R[id].c.revredraw(),jQuery(window).trigger("resize"),_R.unToggleState(_R[id].fullscreentoggledby)):0!=jQuery(".rs-go-fullscreen").length||"togglefullscreen"!=event.action&&"gofullscreen"!=event.action||(gf=_R[id].c.closest("rs-fullwidth-wrap").length>0?_R[id].c.closest("rs-fullwidth-wrap"):_R[id].c.closest("rs-module-wrap"),gf.addClass("rs-go-fullscreen"),_R[id].oldminheight=_R[id].minHeight,_R[id].minHeight=jQuery(window).height(),_R[id].infullscreenmode=!0,_R[id].c.revredraw(),jQuery(window).trigger("resize"),_R.toggleState(_R[id].fullscreentoggledby));break;default:_R[id].c.trigger("layeraction",[event.action,layer,event])}},[targetlayer,id,event,layer])}}})};function getFordWithAction(e){var t=[];for(var i in e.ford)e.frames[e.ford[i]].timeline.waitoncall?t.push(e.ford[i]):t.push("skip");return t}function updateToggleByList(e,t,i){var a=e.data(t);a===undefined&&(a=[]),a.push(i),e.data(t,a)}function getEventParams(e){var t={on:"click",delay:0,ease:"Power2.easeOut",speed:400};for(var i in e)if(e.hasOwnProperty(i)){var a=e[i].split(":");switch(a[0]){case"modal":t.modal=a[1];break;case"ms":t.modalslide=a[1];break;case"m":t.frameM=a[1];break;case"n":t.frameN=a[1];break;case"o":t.on="click"===a[1]||"c"===a[1]?"click":"ml"===a[1]||"mouseleave"===a[1]?"mouseleave":"mouseenter"===a[1]||"me"===a[1]?"mouseenter":a[1];break;case"d":t.delay=parseInt(a[1],0)/1e3,t.delay="NaN"===t.delay||isNaN(t.delay)?0:t.delay;break;case"a":t.action=a[1];break;case"f":t.frame=a[1];break;case"slide":t.slide=a[1];break;case"layer":t.layer=a[1];break;case"sp":t.speed=parseInt(a[1],0);break;case"e":t.ease=a[1];break;case"ls":t.togglestate=a[1];break;case"offset":t.offset=a[1];break;case"call":t.callback=a[1];break;case"url":t.url="";for(var r=1;r<a.length;r++)t.url+=a[r]+(r===a.length-1?"":":");break;case"target":t.target=a[1];break;case"class":t.classname=a[1];break;case"ch":t.children="true"==a[1]||1==a[1]||"t"==a[1];break;default:a[0].length>0&&""!==a[0]&&(t[a[0]]=a[1])}}return t}var getOffContH=function(e){if(e==undefined)return 0;if(e.split(",").length>1){var t=e.split(","),i=0;return t&&jQuery.each(t,function(e,t){jQuery(t).length>0&&(i+=jQuery(t).outerHeight(!0))}),i}return jQuery(e).height()}}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution;t.is_mobile();jQuery.extend(!0,t,{prepareCarousel:function(e,i,a){if(void 0!==e){var s=t[e].carousel;s.slidepositions=void 0===s.slidepositions?[]:s.slidepositions,s.slideFakePositions=void 0===s.slideFakePositions?[]:s.slideFakePositions,i=s.lastdirection=o(i,s.lastdirection),r(e),void 0===s.slidepositions[0]&&(t.organiseCarousel(e,"right",!0,!1,!1),s.focused=0,s.keepFocusedFirst=!0),s.slide_offset=void 0!==s.slide_offset&&jQuery.isNumeric(s.slide_offset)?s.slide_offset:0,s.swipeTo=s.slide_offset+n(e),void 0!==s.swipeTo&&jQuery.isNumeric(s.swipeTo)?void 0!==a?t.swipeAnimate({id:e,to:s.swipeTo,direction:i,fix:!0,speed:a}):t.swipeAnimate({id:e,to:s.swipeTo,direction:i,fix:!0}):t.swipeAnimate({id:e,to:0,direction:i,speed:0})}},carouselToEvalPosition:function(e,a,r){var s=t[e].carousel;if(s.justify)s.focused=void 0===s.focused?0:s.focused,s.slidepositions[s.focused]=void 0===s.slidepositions[s.focused]?0:s.slidepositions[s.focused],s.slide_offset_target=i(e,s.focused);else{a=s.lastdirection=o(a,s.lastdirection);var n="center"===s.horizontal_align?(s.wrapwidth/2-s.slide_width/2-s.slide_offset)/s.slide_width:(0-s.slide_offset)/s.slide_width,l=n%t[e].slideamount,d=l-Math.floor(l),c=-1*(Math.ceil(l)-l),p=-1*(Math.floor(l)-l),u=d*s.slide_width,h=u>=20&&"left"===a?1:u>=s.slide_width-20&&"right"===a?2:u<20&&"left"===a?3:u<s.slide_width-20&&"right"===a?4:5,g=1===h||2===h?c:3===h||4===h?p:0;s.slide_offset_target=(s.infinity?g:l<0?l:n>t[e].slideamount-1?n-(t[e].slideamount-1):g)*s.slide_width}return s.slide_offset_target!==s.slide_offset_targetCACHE&&!0!==r&&(0!==Math.abs(s.slide_offset_target)?t.animateCarousel(e,a,!0):t.organiseCarousel(e,a),s.slide_offset_targetCACHE=s.slide_offset_target),s.slide_offset_target},loadVisibleCarouselItems:function(e,i){var a=[];t[e].carousel.focused=parseInt(t[e].carousel.focused,0);for(var r=0;r<Math.ceil(t[e].carousel.maxVisibleItems/2);r++){var o="right"===t[e].carousel.horizontal_align?t[e].carousel.focused-r:t[e].carousel.focused+r,s="center"===t[e].carousel.horizontal_align?t[e].carousel.focused-r:"left"===t[e].carousel.horizontal_align?t[e].carousel.maxVisibleItems+o-1:o-t[e].carousel.maxVisibleItems+1;o=o>=t[e].slideamount?o-t[e].slideamount+0:o,s=s>=t[e].slideamount?s-t[e].slideamount+0:s,o=o<0?t[e].slideamount+o:o,s=s<0?t[e].slideamount+s:s,a.push(t[e].slides[o]),o!==s&&a.push(t[e].slides[s])}return i&&(t.loadImages(a,e,1),t.waitForCurrentImages(a,e)),a},organiseCarousel:function(e,i,a,r,o){Math.round(1e5*Math.random());var s=t[e].carousel,n="center"===s.horizontal_align?2:1,l=Math.ceil(s.maxVisibleItems/n),d="center"===s.horizontal_align?s.wrapwidth/2+s.maxwidth/2:s.maxwidth-s.slide_width,c="center"===s.horizontal_align?s.wrapwidth/2-s.maxwidth/2:0-s.slide_width,p=0,u=0,h=0;if(i=s.slide_offset<s.cached_slide_offset?"left":"right",s.cached_slide_offset=s.slide_offset,!0!==s.justify&&"center"===s.horizontal_align){var g=2*(s.windhalf-s.wrapoffset)+s.slide_width;g>=s.maxwidth&&("left"===i&&(d=2*s.windhalf,c=0-(s.slide_width-(g-s.maxwidth))),"right"===i&&(d=2*s.windhalf-(g-s.maxwidth),c=0-s.slide_width))}for(var f=2*s.windhalf,m=0,v=-1,y=0;y<s.len;y++)!0===s.justify?(p+=y>0?s.slide_widths[y-1]+s.space:s.slide_offset,s.wrapwidth>=s.maxwidth&&"center"!==s.horizontal_align&&(s.slideFakePositions[y]=p-s.slide_offset),c=0-s.slide_widths[y],d=s.maxwidth-s.slide_widths[y],s.inneroffset=0):(p=y*s.slide_width+s.slide_offset,s.wrapwidth>=s.maxwidth&&"left"===s.horizontal_align&&(s.slideFakePositions[y]=y*s.slide_width),s.wrapwidth>=s.maxwidth&&"right"===s.horizontal_align&&(s.slideFakePositions[y]=s.wrapwidth-(y+1)*s.slide_width)),h=u=p,s.infinity&&(u=u>=d-s.inneroffset?u-s.maxwidth:u<=c-s.inneroffset?u+s.maxwidth:u),f>u&&(f=u,y),m<u&&(m=u,v=y),s.slidepositions[y]=h>s.maxwidth+d?u-s.maxwidth:h<c-s.maxwidth?u+s.maxwidth:u;s.infinity&&f>0&&m>s.wrapwidth&&(s.slidepositions[v]-=s.maxwidth);var b=999,w=0,_=(t[e].ulw,!1),x="right"===s.horizontal_align?0:s.wrapwidth;t[e].slides&&jQuery.each(t[e].slides,function(i,a){var r={left:s.slidepositions[i]+s.inneroffset,width:!0===s.justify?s.slide_widths[i]:s.slide_width,x:0,transformPerspective:1200,transformOrigin:"50% "+s.vertical_align,scale:1},d=0;if(s.justify)r.autoAlpha=1,s.wrapwidth>=s.maxwidth&&"center"!==s.horizontal_align||("center"===s.horizontal_align&&s.slidepositions[i]<s.windhalf&&s.slidepositions[i]+s.slide_widths[i]>s.windhalf?s.focused=i:"left"===s.horizontal_align&&s.slidepositions[i]>=-25&&s.slidepositions[i]<s.windhalf&&(!_||s.slidepositions[i]<x)?(s.focused=i,_=!0,x=s.slidepositions[i]):"right"===s.horizontal_align&&s.slidepositions[i]+s.slide_widths[i]<=s.wrapwidth+25&&(s.slide_widths[i]<s.windhalf&&s.slidepositions[i]>s.windhalf||s.slidepositions[i]>s.wrapwidth-s.slide_widths[i])&&(!_||s.slidepositions[i]>x)&&(s.focused=i,_=!0,x=s.slidepositions[i]),s.focused=s.focused>=s.len?s.infinity?0:s.len-1:s.focused<0?s.infinity?s.len-1:0:s.focused);else{d="center"===s.horizontal_align?(Math.abs(s.wrapwidth/2)-(r.left+s.slide_width/2))/s.slide_width:(s.inneroffset-r.left)/s.slide_width,(Math.abs(d)<b||0===d)&&(b=Math.abs(d),s.focused=i),void 0!==s.minScale&&s.minScale>0&&(s.vary_scale?r.scale=1-Math.abs((1-s.minScale)/l*d):r.scale=d>=1||d<=-1?s.minScale:s.minScale+(1-s.minScale)*(1-Math.abs(d)),w=d*(r.width-r.width*r.scale)/2),s.fadeout&&(s.vary_fade?r.autoAlpha=1-Math.abs(s.maxOpacity/l*d):r.autoAlpha=d>=1||d<=-1?s.maxOpacity:s.maxOpacity+(1-s.maxOpacity)*(1-Math.abs(d)));var c=Math.ceil(s.maxVisibleItems/n)-Math.abs(d);r.autoAlpha=void 0===r.autoAlpha?1:r.autoAlpha,r.autoAlpha=Math.max(0,Math.min(c,r.autoAlpha)),void 0!==s.maxRotation&&0!=Math.abs(s.maxRotation)&&(s.vary_rotation?(r.rotationY=Math.abs(s.maxRotation)-Math.abs((1-Math.abs(1/l*d))*s.maxRotation),r.autoAlpha=Math.abs(r.rotationY)>90?0:r.autoAlpha):r.rotationY=d>=1||d<=-1?s.maxRotation:Math.abs(d)*s.maxRotation,r.rotationY=d<0?-1*r.rotationY:r.rotationY),r.x=Math.floor(-1*s.space*d*(s.offsetScale?r.scale:1)),void 0!==r.scale&&(r.x=r.x+w)}r.left=s.wrapwidth>=s.maxwidth&&("left"===s.horizontal_align||"right"===s.horizontal_align)?s.slideFakePositions[i]:Math.floor(r.left),r.zIndex=s.justify?95:Math.round(100-Math.abs(5*d)),r.force3D=!0,r.transformStyle="3D"!=t[e].parallax.type&&"3d"!=t[e].parallax.type?"flat":"preserve-3d",!0!==o&&punchgs.TweenLite.set(a,r)}),r&&!0!==o&&(s.focused=void 0===s.focused?0:s.focused,s.oldfocused=void 0===s.oldfocused?0:s.oldfocused,t[e].pr_next_key=s.focused,s.focused!==s.oldfocused&&t.animateTheLayers&&(t.removeTheLayers(jQuery(t[e].slides[s.oldfocused]),e),t.animateTheLayers({slide:s.focused,id:e,mode:"start"}),t.loadVisibleCarouselItems(e,!0)),s.oldfocused=s.focused,t[e].c.trigger("revolution.nextslide.waiting"))},swipeAnimate:function(e){var i=t[e.id].carousel,r={from:i.slide_offset,to:e.to},o=void 0===e.speed?.5:e.speed;if(void 0!==i.positionanim&&i.positionanim.pause(),e.fix){if(!1!==i.snap){var s=i.slide_offset,n="end"===e.phase?i.focusedBeforeSwipe:i.focused;i.slide_offset=e.to,t.organiseCarousel(e.id,e.direction,!0,!1,!1),Math.abs(i.swipeDistance)>40&&n==i.focused&&(i.focused="right"===e.direction?i.focused-1:i.focused+1,i.focused=i.focused>=i.len?i.infinity?0:i.len-1:i.focused<0?i.infinity?i.len-1:0:i.focused),r.to+=t.carouselToEvalPosition(e.id,e.direction,!0),i.slide_offset=s,t.organiseCarousel(e.id,e.direction,!0,!1,!1),i.keepFocusedFirst&&(i.keepFocusedFirst=!1,i.focused=0)}else!0!==i.infinity?(r.to>0&&(r.to=0),r.to<i.wrapwidth-i.maxwidth&&(r.to=i.wrapwidth-i.maxwidth)):"end"===e.phase?i.dragModeJustEnded=!0:!0!==i.dragModeJustEnded?r.to+=t.carouselToEvalPosition(e.id,e.direction,!0):i.dragModeJustEnded=!1;0!==(o=i.speed/1e3*a(Math.abs(Math.abs(r.from)-Math.abs(r.to))/i.wrapwidth))&&o<.1&&Math.abs(r.to)>25&&(o=.3)}i.swipeDistance=0,i.positionanim=punchgs.TweenMax.to(r,.5,{from:r.to,onUpdate:function(){i.slide_offset=r.from%i.maxwidth,t.organiseCarousel(e.id,e.direction,!0!==e.fix,!0!==e.fix)},onComplete:function(){"carousel"!==t[e.id].sliderType||i.fadein||(punchgs.TweenMax.to(t[e.id].canvas,1,{scale:1,opacity:1}),i.fadein=!0),i.justDragged=!1,e.fix&&(i.focusedAfterAnimation=i.focused,e.newSlide&&i.focusedBeforeSwipe!==i.focused&&t.callingNewSlide(e.id,jQuery(t[e.id].slides[i.focused]).data("key"),!0),t.organiseCarousel(e.id,e.direction,!0,!0),t[e.id].c.trigger("revolution.slide.carouselchange",{slider:e.id,slideIndex:parseInt(t[e.id].pr_active_key,0)+1,slideLIIndex:t[e.id].pr_active_key,slide:t[e.id].pr_next_slide,currentslide:t[e.id].pr_next_slide,prevSlideIndex:void 0!==t[e.id].pr_lastshown_key&&parseInt(t[e.id].pr_lastshown_key,0)+1,prevSlideLIIndex:void 0!==t[e.id].pr_lastshown_key&&parseInt(t[e.id].pr_lastshown_key,0),prevSlide:void 0!==t[e.id].pr_lastshown_key&&t[e.id].slides[t[e.id].pr_lastshown_key]}))},ease:e.easing?e.easing:i.easing})}});var i=function(e,i){var a=t[e].carousel;return"center"===a.horizontal_align?a.windhalf-a.slide_widths[i]/2-a.slidepositions[i]:"left"===a.horizontal_align?0-a.slidepositions[i]:a.wrapwidth-a.slide_widths[i]-a.slidepositions[i]},a=function(e){return e<1?Math.sqrt(1-(e-=1)*e):Math.sqrt(e)},r=function(e){void 0===t[e].bw&&t.setSize(e);var i=t[e].carousel,a=t.getHorizontalOffset(t[e].c,"left"),r=t.getHorizontalOffset(t[e].c,"right");if(void 0===i.wrap&&function(e){var i=t[e].carousel;i.infbackup=i.infinity,i.maxVisiblebackup=i.maxVisibleItems,i.slide_offset="none",i.slide_offset=0,i.cached_slide_offset=0,i.wrap=t[e].c.find("rs-carousel-wrap"),0!==i.maxRotation&&("3D"!==t[e].parallax.type&&"3d"!==t[e].parallax.type||punchgs.TweenLite.set(i.wrap,{perspective:"1600px",transformStyle:"preserve-3d"})),void 0!==i.border_radius&&parseInt(i.border_radius,0)>0&&punchgs.TweenLite.set(t[e].c.find("rs-slide"),{borderRadius:i.border_radius})}(e),i.slide_width=!0!==i.stretch?t[e].gridwidth[t[e].level]*(0===t[e].bw?1:t[e].bw):t[e].c.width(),i.slide_height=!0!==i.stretch?t[e].gridheight[t[e].level]*(0===t[e].bw?1:t[e].bw):t[e].c.height(),i.ratio=i.slide_width/i.slide_height,i.len=t[e].slides.length,i.maxwidth=t[e].slideamount*i.slide_width,i.justify&&(i.maxVisiblebackup=i.len+2),i.maxVisiblebackup>i.len+1&&(i.maxVisibleItems=i.len+2),i.wrapwidth=i.maxVisibleItems*i.slide_width+(i.maxVisibleItems-1)*i.space,i.wrapwidth="auto"!=t[e].sliderLayout?i.wrapwidth>t[e].c.width()?t[e].c.width():i.wrapwidth:i.wrapwidth>t[e].canvas.width()?t[e].canvas.width():i.wrapwidth,!0===i.justify){i.slide_height=t[e].gridheight[t[e].level],i.slide_widths=[],i.maxwidth=0;for(var o=0;o<i.len;o++)if(t[e].slides.hasOwnProperty(o)){var s=t.gA(t[e].slides[o],"iratio");s=void 0===s||0===s||null===s?i.ratio:s,i.slide_widths[o]=Math.round(i.slide_height*s),!1!==i.justifyMaxWidth&&(i.slide_widths[o]=Math.min(i.wrapwidth,i.slide_widths[o])),punchgs.TweenLite.set(t[e].slides[o],{width:i.slide_widths[o]}),i.maxwidth+=i.slide_widths[o]+i.space}}i.infinity=!(i.wrapwidth>=i.maxwidth)&&i.infbackup,i.wrapoffset="center"===i.horizontal_align?(t[e].c.width()-r-a-i.wrapwidth)/2:0,i.wrapoffset="auto"!=t[e].sliderLayout&&t[e].outernav?0:i.wrapoffset<a?a:i.wrapoffset;var n="3D"==t[e].parallax.type||"3d"==t[e].parallax.type?"visible":"hidden";"right"===i.horizontal_align?punchgs.TweenLite.set(i.wrap,{left:"auto",right:i.wrapoffset+"px",width:i.wrapwidth,overflow:n}):punchgs.TweenLite.set(i.wrap,{right:"auto",left:i.wrapoffset+"px",width:i.wrapwidth,overflow:n}),i.inneroffset="right"===i.horizontal_align?i.wrapwidth-i.slide_width:0,i.realoffset=Math.abs(i.wrap.position().left),i.windhalf=jQuery(window).width()/2},o=function(e,t){return null===e||jQuery.isEmptyObject(e)?t:void 0===e?"right":e},s=function(e,t){return Math.abs(e)>Math.abs(t)?e>0?e-Math.abs(Math.floor(e/t)*t):e+Math.abs(Math.floor(e/t)*t):e},n=function(e){var i,a,r,o,n,l=0,d=t[e].carousel;if(void 0!==d.positionanim&&d.positionanim.kill(),d.justify)"center"===d.horizontal_align?l=d.windhalf-d.slide_widths[d.focused]/2-d.slidepositions[d.focused]:"left"===d.horizontal_align?l=0-d.slidepositions[d.focused]:"right"===d.horizontal_align&&(l=d.wrapwidth-d.slide_widths[d.focused]-d.slidepositions[d.focused]),l=l>d.maxwidth/2?d.maxwidth-l:l<0-d.maxwidth/2?l+d.maxwidth:l;else{var c=t[e].pr_processing_key>=0?t[e].pr_processing_key:t[e].pr_active_key>=0?t[e].pr_active_key:0,p=("center"===d.horizontal_align?(d.wrapwidth/2-d.slide_width/2-d.slide_offset)/d.slide_width:(0-d.slide_offset)/d.slide_width)%t[e].slideamount;l=(d.infinity?(i=p,a=c,r=t[e].slideamount,n=a-r-i,o=s(o=a-i,r),n=s(n,r),-(Math.abs(o)>Math.abs(n)?n:o)):p-c)*d.slide_width}return!1===d.snap&&d.justDragged&&(l=0),d.justDragged=!1,l}}(jQuery),function(e){"use strict";var t=["chars","words","lines"],i=jQuery.fn.revolution,a=i.is_mobile();i.is_android();jQuery.extend(!0,i,{checkLayerDimensions:function(e){var t=!1;for(var a in i[e.id].layers[e.skey])if(i[e.id].layers[e.skey].hasOwnProperty(a)&&!t){var r=i[e.id].layers[e.skey][a],o=i[e.id]._L[r.id];o.eow!==r.offsetWidth&&"true"!==i.gA(r,"vary-layer-dims")&&(t=!0),o.lastknownwidth=o.eow,o.lastknownheight=o.eoh}return t},initLayer:function(e){var t,a,r,o=e.id,s=e.skey;for(var n in i[o].layers[e.skey])if(i[o].layers[e.skey].hasOwnProperty(n)){var l=i[o].layers[e.skey][n],d=jQuery(l),c=i.gA(l,"initialised")?i[o]._L[l.id]:d.data();"individual"===e.skey&&(c.slideKey=void 0===c.slideKey?i.gA(d.closest("rs-slide")[0],"key"):c.slideKey,c.slideIndex=void 0===c.slideIndex?i.getSlideIndex(o,c.slideKey):c.slideIndex,e.slideIndex=c.slideIndex,s=c.slideKey);var h="carousel"===i[o].sliderType?0:i[o].width/2-i.iWA(o,e.slideIndex)*i[o].bw/2,g=0;if(void 0===i.gA(l,"initialised")){if(i.revCheckIDS(o,l),i[o]._L[l.id]=c,c.ford=void 0===c.ford?"frame_0;frame_1;frame_999":c.ford,c.ford=";"==c.ford[c.ford.length-1]?c.ford.substring(0,c.ford.length-1):c.ford,c.ford=c.ford.split(";"),void 0!==c.clip)for(t in c.clipPath={use:!1,origin:"l",type:"rectangle"},c.clip=c.clip.split(";"),c.clip)c.clip.hasOwnProperty(t)&&("u"==(a=c.clip[t].split(":"))[0]&&(c.clipPath.use="true"==a[1]),"o"==a[0]&&(c.clipPath.origin=a[1]),"t"==a[0]&&(c.clipPath.type=a[1]));if(c.frames=w(c,o),c.c=d,c.p=d.closest(".rs-parallax-wrap"),c.lp=d.closest("rs-loop-wrap"),c.m=d.closest("rs-mask-wrap"),c.triggercache=void 0===c.triggercache?"reset":c.triggercache,c.rsp_bd=void 0===c.rsp_bd?"column"===c.type||"row"===c.type?"off":"on":c.rsp_bd,c.rsp_o=void 0===c.rsp_o?"on":c.rsp_o,c.basealign=void 0===c.basealign?"grid":c.basealign,c.group="group"!==c.type&&d.closest("rs-group-wrap").length>0?"group":"column"!==c.type&&d.closest("rs-column").length>0?"column":"row"!==c.type&&d.closest("rs-row").length>0?"row":void 0,c._lig="group"===c.group?d.closest("rs-group"):"column"===c.group?d.closest("rs-column"):"row"===c.group?d.closest("rs-row"):void 0,c._ligid=void 0!==c._lig?c._lig[0].id:void 0,c._column="RS-COLUMN"===d[0].tagName?d.closest("rs-column-wrap"):"none",c._row="RS-COLUMN"===d[0].tagName&&d.closest("rs-row"),c._ingroup="group"===c.group,c._incolumn="column"===c.group,c._inrow="row"===c.group,(c._ingroup||c._incolumn)&&c._lig[0].className.indexOf("rs-sba")>=0&&(!1!==c.animationonscroll||void 0===c.frames.loop)&&!0!==c.animOnScrollForceDisable&&(c.animationonscroll=!0,d[0].className+=" rs-sba",i[o].sbas[s][l.id]=d[0]),c.animOnScrollRepeats=0,c._isgroup="RS-GROUP"===d[0].tagName,c.type=c.type||"none","row"===c.type&&void 0===c.cbreak&&(c.cbreak=2),c.esginside=jQuery(d.find(".esg-grid")),c._isnotext=-1!==jQuery.inArray(c.type,["video","image","audio","shape","row","group"]),c._mediatag="html5"==c.audio?"audio":"video",c.img=d.find("img"),c.deepiframe=d[0].getElementsByTagName("iframe"),c.deepmedia=d[0].getElementsByTagName(c._mediatag),c.layertype="image"===c.type?"image":d[0].className.indexOf("rs-layer-video")>=0||d[0].className.indexOf("rs-layer-audio")>=0||c.deepiframe.length>0&&(c.deepiframe[0].src.toLowerCase().indexOf("youtube")>0||c.deepiframe[0].src.toLowerCase().indexOf("vimeo")>0)||c.deepmedia.length>0?"video":"html",c.deepiframe.length>0&&i.sA(c.deepiframe[0],"layertype",c.layertype),"column"===c.type&&(c.cbg=c.p.find("rs-column-bg"),c.cbgmask=c.p.find("rs-cbg-mask-wrap")),c._slidelink=d[0].className.indexOf("slidelink")>=0,c._isstatic=d[0].className.indexOf("rs-layer-static")>=0,c.slidekey=c._isstatic?"staticlayers":s,c._togglelisteners=d.find(".rs-toggled-content").length>0,c.bgcol=void 0===c.bgcol?d[0].style.background.indexOf("gradient")>=0?d[0].style.background:d.css("backgroundColor"):c.bgcol,c.bgcol=0===c.bgcol.indexOf("rgba(0, 0, 0, 0)")&&c.bgcol.length>18?c.bgcol.replace("rgba(0, 0, 0, 0)",""):c.bgcol,c.zindex=d.css("z-Index"),c._togglelisteners&&d.click(function(){i.swaptoggleState([this.id])}),void 0!==c.border)for(t in c.border=c.border.split(";"),c.bordercolor="transparent",c.border)if(c.border.hasOwnProperty(t))switch((a=c.border[t].split(":"))[0]){case"boc":c.bordercolor=a[1];break;case"bow":c.borderwidth=i.revToResp(a[1],4,0);break;case"bos":c.borderstyle=i.revToResp(a[1],4,0);break;case"bor":c.borderradius=i.revToResp(a[1],4,0)}if("svg"===c.type&&(c.svg=d.find("svg"),c.svgPath=c.svg.find("path"),c.svgI=p(c.svgi,o),c.svgH=p(c.svgh,o)),void 0!==c.btrans){var f=c.btrans;for(t in c.btrans={rX:0,rY:0,rZ:0,o:1},f=f.split(";"))if(f.hasOwnProperty(t))switch((a=f[t].split(":"))[0]){case"rX":c.btrans.rX=a[1];break;case"rY":c.btrans.rY=a[1];break;case"rZ":c.btrans.rZ=a[1];break;case"o":c.btrans.o=a[1]}}if(void 0!==c.tsh)for(t in c.tshadow={c:"rgba(0,0,0,0.25)",v:0,h:0,b:0},c.tsh=c.tsh.split(";"),c.tsh)if(c.tsh.hasOwnProperty(t))switch((a=c.tsh[t].split(":"))[0]){case"c":c.tshadow.c=a[1];break;case"h":c.tshadow.h=a[1];break;case"v":c.tshadow.v=a[1];break;case"b":c.tshadow.b=a[1]}if(void 0!==c.tst)for(t in c.tstroke={c:"rgba(0,0,0,0.25)",w:1},c.tst=c.tst.split(";"),c.tst)if(c.tst.hasOwnProperty(t))switch((a=c.tst[t].split(":"))[0]){case"c":c.tstroke.c=a[1];break;case"w":c.tstroke.w=a[1]}if(void 0!==c.bsh)for(t in c.bshadow={e:"c",c:"rgba(0,0,0,0.25)",v:0,h:0,b:0,s:0},c.bsh=c.bsh.split(";"),c.bsh)if(c.bsh.hasOwnProperty(t))switch((a=c.bsh[t].split(":"))[0]){case"c":c.bshadow.c=a[1];break;case"h":c.bshadow.h=a[1];break;case"v":c.bshadow.v=a[1];break;case"b":c.bshadow.b=a[1];break;case"s":c.bshadow.s=a[1];break;case"e":c.bshadow.e=a[1]}if(void 0!==c.dim)for(t in c.dim=c.dim.split(";"),c.dim)if(c.dim.hasOwnProperty(t))switch((a=c.dim[t].split(":"))[0]){case"w":c.width=a[1];break;case"h":c.height=a[1];break;case"maxw":c.maxwidth=a[1];break;case"maxh":c.maxheight=a[1];break;case"minw":c.minwidth=a[1];break;case"minh":c.minheight=a[1]}if(void 0!==c.xy)for(t in c.xy=c.xy.split(";"),c.xy)if(c.xy.hasOwnProperty(t))switch((a=c.xy[t].split(":"))[0]){case"x":c.x=a[1].replace("px","");break;case"y":c.y=a[1].replace("px","");break;case"xo":c.hoffset=a[1].replace("px","");break;case"yo":c.voffset=a[1].replace("px","")}if(!c._isnotext&&void 0!==c.text)for(t in c.text=c.text.split(";"),c.text)if(c.text.hasOwnProperty(t))switch((a=c.text[t].split(":"))[0]){case"w":c.whitespace=a[1];break;case"td":c.textDecoration=a[1];break;case"c":c.clear=a[1];break;case"f":c.float=a[1];break;case"s":c.fontsize=a[1];break;case"l":c.lineheight=a[1];break;case"ls":c.letterspacing=a[1];break;case"fw":c.fontweight=a[1];break;case"a":c.textalign=a[1]}if(void 0!==c.flcr)for(t in c.flcr=c.flcr.split(";"),c.flcr)if(c.flcr.hasOwnProperty(t))switch((a=c.flcr[t].split(":"))[0]){case"c":c.clear=a[1];break;case"f":c.float=a[1]}if(void 0!==c.padding)for(t in c.padding=c.padding.split(";"),c.padding)if(c.padding.hasOwnProperty(t))switch((a=c.padding[t].split(":"))[0]){case"t":c.paddingtop=a[1];break;case"b":c.paddingbottom=a[1];break;case"l":c.paddingleft=a[1];break;case"r":c.paddingright=a[1]}if(void 0!==c.margin)for(t in c.margin=c.margin.split(";"),c.margin)if(c.margin.hasOwnProperty(t))switch((a=c.margin[t].split(":"))[0]){case"t":c.margintop=a[1];break;case"b":c.marginbottom=a[1];break;case"l":c.marginleft=a[1];break;case"r":c.marginright=a[1]}if(void 0!==c.spike&&(c.spike=R(c.spike)),void 0!==c.corners)for(t in r=c.corners.split(";"),c.corners={},r)r.hasOwnProperty(t)&&r[t].length>0&&(c.corners[r[t]]=jQuery("<"+r[t]+"></"+r[t]+">"),c.c.append(c.corners[r[t]]));c.textalign=u(c.textalign),c.vbility=i.revToResp(c.vbility,i[o].rle,!0),c.hoffset=i.revToResp(c.hoffset,i[o].rle,0),c.voffset=i.revToResp(c.voffset,i[o].rle,0),c.x=i.revToResp(c.x,i[o].rle,"l"),c.y=i.revToResp(c.y,i[o].rle,"t"),T(d,0,o),i.sA(l,"initialised",!0)}var m="grid"===c.basealign?i[o].width:"carousel"!==i[o].sliderType||c._isstatic?i[o].ulw:i[o].carousel.slide_width,v=i[o].useFullScreenHeight?i[o].height:"grid"===c.basealign?i[o].height:("carousel"!==i[o].sliderType||c._isstatic,i[o].ulh),y=c.x[i[o].level],b=c.y[i[o].level];if(g="slide"===c.basealign?0:Math.max(0,"fullscreen"==i[o].sliderLayout?v/2-i.iHE(o)*(i[o].keepBPHeight?1:i[o].bh)/2:i[o].autoHeight||null!=i[o].minHeight&&i[o].minHeight>0?i[o].conh/2-i.iHE(o)*i[o].bh/2:g),h="slide"===c.basealign?0:Math.max(0,h),"slide"!==c.basealign&&"carousel"===i[o].sliderType&&c._isstatic&&void 0!==i[o].carousel&&void 0!==i[o].carousel.horizontal_align&&(h=Math.max(0,"center"===i[o].carousel.horizontal_align?0+(i[o].ulw-i.iWA(o,"static")*i[o].bw)/2:"right"===i[o].carousel.horizontal_align?i[o].ulw-i[o].gridwidth[i[o].level]*i[o].bw:h)),"updateposition"!==e.mode){if(0==c.vbility[i[o].levelForced]||"f"==c.vbility[i[o].levelForced]||m<i[o].hideLayerAtLimit&&"on"==c.layeronlimit||m<i[o].hideAllLayerAtLimit?c.p[0].classList.add("rs-layer-hidden"):c.p[0].classList.remove("rs-layer-hidden"),c.poster=null==c.poster&&void 0!==c.thumbimage?c.thumbimage:c.poster,"image"===c.layertype)if("cover-proportional"===c.img.data("c")){i.sA(c.img[0],"owidth",i.gA(c.img[0],"owidth",c.img[0].width)),i.sA(c.img[0],"oheight",i.gA(c.img[0],"oheight",c.img[0].height));var _=i.gA(c.img[0],"owidth")/i.gA(c.img[0],"oheight"),x=m/v;_>x&&_<=1||_<x&&_>1?punchgs.TweenMax.set(c.img,{width:"100%",height:"auto",left:"c"===y||"center"===y?"50%":"left"===y||"l"===y?"0":"auto",right:"r"===y||"right"===y?"0":"auto",top:"c"===b||"center"===b?"50%":"top"===b||"t"===b?"0":"auto",bottom:"b"===b||"bottom"===b?"0":"auto",x:"c"===y||"center"===y?"-50%":"0",y:"c"===b||"center"===y?"-50%":"0",position:"absolute"}):punchgs.TweenMax.set(c.img,{height:"100%",width:"auto",left:"c"===y||"center"===y?"50%":"left"===y||"l"===y?"0":"auto",right:"r"===y||"right"===y?"0":"auto",top:"c"===b||"center"===b?"50%":"top"===b||"t"===b?"0":"auto",bottom:"b"===b||"bottom"===b?"0":"auto",x:"c"===y||"center"===y?"-50%":"0",y:"c"===b||"center"===y?"-50%":"0",position:"absolute"})}else{var k="auto"!==c.width[i[o].level]||isNaN(c.width[i[o].level])&&c.width[i[o].level].indexOf("%")>=0?"100%":"auto",I="auto"!==c.height[i[o].level]||isNaN(c.height[i[o].level])&&c.height[i[o].level].indexOf("%")>=0?"100%":"auto";punchgs.TweenMax.set(c.img,{width:k,height:I})}else if("video"===c.layertype){i.manageVideoLayer&&!c.videoLayerManaged&&i.manageVideoLayer(d,o),"rebuild"!==e.mode&&i.resetVideo&&i.resetVideo(d,o,e.mode),null!=c.aspectratio&&c.aspectratio.split(":").length>1&&(1==c.bgvideo||1==c.forcecover)&&i.prepareCoveredVideo(o,d),c.media=void 0===c.media?c.deepiframe.length>0?jQuery(c.deepiframe[0]):jQuery(c.deepmedia[0]):c.media,c.html5vid=void 0===c.html5vid?!(c.deepiframe.length>0):c.html5vid;var S=d[0].className.indexOf("coverscreenvideo")>=0;c.media.css({display:"block"});var z=c.width[i[o].level],M=c.height[i[o].level];z="auto"===z?z:!jQuery.isNumeric(z)&&z.indexOf("%")>0?c._incolumn||c._ingroup?"100%":"grid"===c.basealign?i.iWA(o,e.slideIndex)*i[o].bw:m:"off"!==c.rsp_bd?parseFloat(z)*i[o].bw+"px":parseFloat(z)+"px",M="auto"===M?M:!jQuery.isNumeric(M)&&M.indexOf("%")>0?"grid"===c.basealign?i.iHE(o)*i[o].bw:v:"off"!==c.rsp_bd?parseFloat(M)*i[o].bh+"px":parseFloat(M)+"px";var C=L(d,o);if(c._incolumn&&"100%"===z&&"auto"===M&&void 0!==c.ytid){c.vd=void 0===c.vd?i[o].videos[d[0].id].ratio.split(":").length>1?i[o].videos[d[0].id].ratio.split(":")[0]/i[o].videos[d[0].id].ratio.split(":")[1]:1:c.vd;var O=d.width()/c.vd;punchgs.TweenLite.set(d,{height:O+"px"}),c.heightSetByVideo=!0}else-1!=d[0].className.indexOf("rs-fsv")||S?(h=0,g=0,c.x=i.revToResp(0,i[o].rle,0),c.y=i.revToResp(0,i[o].rle,0),d.css({width:m,height:i[o].autoHeight?i[o].conh:v})):punchgs.TweenMax.set(d,{paddingTop:Math.round(C.paddingTop*i[o].bh)+"px",paddingBottom:Math.round(C.paddingBottom*i[o].bh)+"px",paddingLeft:Math.round(C.paddingLeft*i[o].bw)+"px",paddingRight:Math.round(C.paddingRight*i[o].bw)+"px",marginTop:C.marginTop*i[o].bh+"px",marginBottom:C.marginBottom*i[o].bh+"px",marginLeft:C.marginLeft*i[o].bw+"px",marginRight:C.marginRight*i[o].bw+"px",borderTopWidth:Math.round(C.borderTopWidth*i[o].bh)+"px",borderBottomWidth:Math.round(C.borderBottomWidth*i[o].bh)+"px",borderLeftWidth:Math.round(C.borderLeftWidth*i[o].bw)+"px",borderRightWidth:Math.round(C.borderRightWidth*i[o].bw)+"px",width:z,height:M}),(0==c.html5vid&&!S||1!=c.forcecover&&!d.hasClass("rs-fsv")&&!S)&&(c.media.width(z),c.media.height(M)),c._ingroup&&null!=z&&!jQuery.isNumeric(z)&&z.indexOf("%")>0&&punchgs.TweenMax.set([c.lp,c.p,c.m],{minWidth:z})}c._slidelink||A(d,o,0,c.rsp_bd,e.slideIndex),"on"===c.rsp_ch&&"row"!==c.type&&"column"!==c.type&&"group"!==c.type&&d.find("*").each(function(){var t=jQuery(this);"true"!==i.gA(this,"stylerecorder")&&!0!==i.gA(this,"stylerecorder")&&T(t,"rekursive",o),A(t,o,"rekursive",c.rsp_bd,e.slideIndex)})}if("preset"!==e.mode){if(c.eow=d.outerWidth(!0),c.eoh=d.outerHeight(!0),c.eow<=0&&void 0!==c.lastknownwidth&&(c.eow=c.lastknownwidth),c.eoh<=0&&void 0!==c.lastknownheight&&(c.eoh=c.lastknownheight),("text"===c.type||"button"===c.type)&&void 0!==c.corners){for(r in c.corners)if(c.corners.hasOwnProperty(r)){c.corners[r].css("borderWidth",c.eoh+"px");var P="rs-fcrt"===r||"rs-fcr"===r;c.corners[r].css("border"+(P?"Right":"Left"),"0px solid transparent"),c.corners[r].css("border"+("rs-fcrt"==r||"rs-bcr"==r?"Bottom":"Top")+"Color",c.bgcol)}c.eow=d.outerWidth(!0)}0==c.eow&&0==c.eoh&&(c.eow=i[o].ulw,c.eoh=i[o].ulh),c.basealign=i[o].justifyCarousel?"grid":c.basealign;var j="on"===c.rsp_o?parseInt(c.voffset[i[o].level],0)*i[o].bw:parseInt(c.voffset[i[o].level],0),H="on"===c.rsp_o?parseInt(c.hoffset[i[o].level],0)*i[o].bw:parseInt(c.hoffset[i[o].level],0),N="grid"===c.basealign?i.iWA(o,e.slideIndex)*i[o].bw:m,Q="grid"===c.basealign?i.iHE(o)*(i[o].keepBPHeight?1:i[o].bh):v;(1==i[o].gridEQModule||void 0!==c._lig&&"row"!==c.type&&"column"!==c.type&&"group"!==c.type)&&(N=void 0!==c._lig?c._lig.width():i[o].ulw,Q=void 0!==c._lig?c._lig.height():i[o].ulh,h=0,g=0),y="c"===y||"m"===y||"center"===y||"middle"===y?N/2-c.eow/2+H:"l"===y||"left"===y?H:"r"===y||"right"===y?N-c.eow-H:"off"!==c.rsp_o?y*i[o].bw:y,b="m"===b||"c"===b||"center"===b||"middle"===b?Q/2-c.eoh/2+j:"t"===b||"top"==b?j:"b"===b||"bottom"==b?Q-c.eoh-j:"off"!==c.rsp_o?b*i[o].bw:b,y=c._slidelink?0:i[o].rtl&&"100%"!==c.width[i[o].level]?y+c.eow:y,c.calcx=parseInt(y,0)+h,c.calcy=parseInt(b,0)+g,"row"!==c.type&&"column"!==c.type?punchgs.TweenMax.set(c.p,{zIndex:c.zindex,top:c.calcy,left:c.calcx,overwrite:"auto"}):"row"!==c.type?punchgs.TweenMax.set(c.p,{zIndex:c.zindex,width:c.columnwidth,top:0,left:0,overwrite:"auto"}):"row"===c.type&&(punchgs.TweenMax.set(c.p,{zIndex:c.zindex,width:"grid"===c.basealign?N+"px":"100%",top:0,left:h,overwrite:"auto"}),c.cbreak<=i[o].level?d[0].classList.add("rev_break_columns"):d[0].classList.remove("rev_break_columns")),void 0!==c.blendmode&&punchgs.TweenMax.set(c.p,{mixBlendMode:c.blendmode}),void 0!==c.frames.loop&&punchgs.TweenMax.set(c.lp,{width:c.eow,height:c.eoh}),c._ingroup&&(void 0!==c._groupw&&!jQuery.isNumeric(c._groupw)&&c._groupw.indexOf("%")>0&&punchgs.TweenMax.set([c.lp,c.p,c.m],{minWidth:c._groupw}),void 0!==c._grouph&&!jQuery.isNumeric(c._grouph)&&c._grouph.indexOf("%")>0&&punchgs.TweenMax.set([c.lp,c.p,c.m],{minHeight:c._grouph})),e.animcompleted&&i.animcompleted(d,o)}}},hoverReverseDone:function(e){i[e.id]._L[e.L[0].id].textDecoration&&punchgs.TweenMax.set(i[e.id]._L[e.L[0].id].c,{textDecoration:i[e.id]._L[e.L[0].id].textDecoration})},animcompleted:function(e,t){if(void 0!==i[t].videos){var a=i[t].videos[e[0].id];null!=a&&null!=a.type&&"none"!=a.type&&(1==a.aplay||"true"==a.aplay||"on"==a.aplay||"1sttime"==a.aplay?("carousel"===i[t].sliderType&&e.closest("rs-slide").index()!=i[t].carousel.focused||i.playVideo(e,t),i.toggleState(e.data("videotoggledby")),(a.aplay1||"1sttime"==a.aplay)&&(a.aplay1=!1,a.aplay=!1)):("no1sttime"==a.aplay&&(a.aplay=!0),i.unToggleState(e.data("videotoggledby"))))}},handleStaticLayers:function(e,t){var a=0,r=i[t].realslideamount+1;if(void 0!==i.gA(e[0],"onslides")){var o=i.gA(e[0],"onslides").split(";");for(var s in o)if(o.hasOwnProperty(s)){var n=o[s].split(":");"s"===n[0]&&(a=parseInt(n[1],0)),"e"===n[0]&&(r=parseInt(n[1],0))}}a=Math.max(0,a),r=Math.min(i[t].realslideamount,r<0?i[t].realslideamount:r),r=1!==a&&0!==a||r!==i[t].realslideamount?r:i[t].realslideamount+1,e.data("startslide",a),e.data("endslide",r),i.sA(e[0],"startslide",a),i.sA(e[0],"endslide",r)},animateTheLayers:function(e){if(void 0===e.slide)return!1;var t=e.id;if(void 0===i[t].slides[e.slide]&&"individual"!==e.slide)return!1;if("carousel"===i[t].sliderType){if("start"===e.mode&&"start"===i[t].lastATLmode){if(e.slide===i[t].lastATLslide&&(new Date).getTime()-i[t].lastATLtime<1500)return;i[t].lastATLtime=(new Date).getTime()}i[t].lastATLmode=e.mode,i[t].lastATLslide=e.slide}var a="individual"!==e.slide?i.gA(i[t].slides[e.slide],"key"):"individual",r=i[t].pr_processing_key||i[t].pr_active_key||0;i[t].layers=i[t].layers||{},"individual"===a?i[t].layers.individual=void 0===i[t].layers.individual?"all"===i[t].carousel.showLayersAllTime?x(jQuery(i[t].c),"rs-layer","rs-layer-static"):x(jQuery(i[t].c),"rs-on-car"):i[t].layers.individual:(i[t].layers[a]=void 0===i[t].layers[a]?"all"===i[t].carousel.showLayersAllTime?[]:x(jQuery(i[t].slides[e.slide]),"rs-layer","rs-on-car"):i[t].layers[a],i[t].layers.static=void 0===i[t].layers.static?x(jQuery(i[t].c.find("rs-static-layers")),"rs-layer","rs-on-car"):i[t].layers.static,i[t].sbas[a]=void 0===i[t].sbas[a]?x(jQuery(i[t].slides[e.slide]),"rs-sba"):i[t].sbas[a]),i.updateDimensions(t);var o="rebuild"===e.mode&&"carousel"===i[t].sliderType&&"individual"===a;if(void 0!==a&&i[t].layers[a]&&i.initLayer({id:t,slideIndex:e.slide,skey:a,mode:e.mode,animcompleted:o}),i[t].layers.static&&i.initLayer({id:t,skey:"static",slideIndex:"static",mode:e.mode,animcompleted:o}),void 0===i[t].dimensionReCheck[a]&&(setTimeout(function(){void 0!==a&&i[t].layers[a]&&i.checkLayerDimensions({id:t,skey:a})&&i.initLayer({id:t,skey:a,slideIndex:e.slide,mode:"updateposition"}),i[t].layers.static&&i.checkLayerDimensions({id:t,skey:"static"})&&i.initLayer({id:t,skey:"static",slideIndex:"static",mode:"updateposition"})},200),i[t].dimensionReCheck[a]=!0),(void 0!==i[t].rowzones&&i[t].rowzones.length>0&&r>=0&&i[t].rowzones[Math.min(r,i[t].rowzones.length)].length>0||void 0!==i[t].srowzones&&i[t].srowzones.length>0||void 0!==i[t].smiddleZones&&i[t].smiddleZones.length>0)&&(i.setSize(t),i.updateDimensions(t),i.initLayer({id:t,skey:a,slideIndex:e.slide,mode:"updateposition"}),i.initLayer({id:t,skey:"static",slideIndex:"static",mode:"updateposition"}),"start"!==e.mode&&"preset"!==e.mode||i.manageNavigation(t)),void 0!==a&&i[t].layers[a])for(var s in i[t].layers[a])i[t].layers[a].hasOwnProperty(s)&&i.renderLayerAnimation({layer:jQuery(i[t].layers[a][s]),id:t,mode:e.mode});if(i[t].layers.static)for(var s in i[t].layers.static)i[t].layers.static.hasOwnProperty(s)&&i.renderLayerAnimation({layer:jQuery(i[t].layers.static[s]),id:t,mode:e.mode});null!=i[t].mtl&&setTimeout(function(){null!=i[t].mtl&&i[t].mtl.resume()},30)},removeTheLayers:function(e,t,a){var r=i.gA(e[0],"key");for(var o in i[t].sloops&&i[t].sloops[r]&&i[t].sloops[r].tl&&i[t].sloops[r].tl.stop(),i[t].layers[r])i[t].layers[r].hasOwnProperty(o)&&i.renderLayerAnimation({layer:jQuery(i[t].layers[r][o]),frame:"frame_999",mode:"continue",remove:!0,id:t,allforce:a});for(var o in i[t].layers.static)i[t].layers.static.hasOwnProperty(o)&&i.renderLayerAnimation({layer:jQuery(i[t].layers.static[o]),frame:"frame_999",mode:"continue",remove:!0,id:t,allforce:a})},renderLayerAnimation:function(e){var a=e.layer,d=e.id,c=i[d].level,p=i[d]._L[a[0].id],u=void 0!==p.timeline?p.timeline.time():void 0,f=!1,b=!1,w="none";if("preset"!==e.mode||!0===p.frames.frame_1.timeline.waitoncall||void 0!==p.scrollBasedOffset||!0===p.forceRender){if("trigger"==e.mode&&(p.triggeredFrame=e.frame),p._isstatic){var _="carousel"===i[d].sliderType&&void 0!==i[d].carousel.oldfocused?i[d].carousel.oldfocused:void 0===i[d].pr_lastshown_key?1:parseInt(i[d].pr_lastshown_key,0)+1,x="carousel"===i[d].sliderType?void 0===i[d].pr_next_key?0===_?1:_:parseInt(i[d].pr_next_key,0)+1:void 0===i[d].pr_processing_key?_:parseInt(i[d].pr_processing_key,0)+1,k=_>=p.startslide&&_<=p.endslide,T=x>=p.startslide&&x<=p.endslide;if(w=_===p.endslide&&"continue"===e.mode||("continue"===e.mode||_===p.endslide)&&"none",!0===e.allforce||!0===w);else{if("preset"===e.mode&&(p.elementHovered||!T))return;if("rebuild"===e.mode&&!k&&!T)return;if("start"===e.mode&&T&&"frame_1"===p.lastRequestedMainFrame)return;if("continue"===e.mode&&"frame_999"===e.frame&&T)return;if("start"===e.mode&&!T)return}}else"start"===e.mode&&"keep"!==p.triggercache&&(p.triggeredFrame=void 0);for(var L in"start"===e.mode&&void 0!==p.layerLoop&&(p.layerLoop.count=0),"start"===e.mode&&(e.frame=void 0===p.triggeredFrame?0:p.triggeredFrame),"continue"!==e.mode&&"trigger"!==e.mode&&void 0!==p.timeline&&p.timeline.pause(0),"continue"!==e.mode&&"trigger"!==e.mode||void 0===p.timeline||p.timeline.pause(),p.timeline=new punchgs.TimelineMax({paused:!0}),"text"!==p.type&&"button"!==p.type||void 0!==p.splitText&&(void 0!==p.splitTextFix||"start"!==e.mode&&"preset"!==e.mode)||(h({layer:a,id:d}),"start"===e.mode&&(p.splitTextFix=!0)),p.ford)if(p.ford.hasOwnProperty(L)){var I=p.ford[L],A=!1;if("frame_0"!==I&&"frame_hover"!==I&&"loop"!==I){if("frame_999"===I&&!p.frames[I].timeline.waitoncall&&p.frames[I].timeline.start>=i[d].duration&&!0!==e.remove&&(p.frames[I].timeline.waitoncall=!0),"start"===e.mode&&"keep"!==p.triggercache&&(p.frames[I].timeline.callstate=p.frames[I].timeline.waitoncall?"waiting":""),"trigger"===e.mode&&p.frames[I].timeline.waitoncall&&(I===e.frame?(p.frames[I].timeline.triggered=!0,p.frames[I].timeline.callstate="called"):p.frames[I].timeline.triggered=!1),"rebuild"===e.mode||p.frames[I].timeline.triggered||(p.frames[I].timeline.callstate=p.frames[I].timeline.waitoncall?"waiting":""),!1!==e.fastforward){if(("continue"===e.mode||"trigger"===e.mode)&&!1===b&&I!==e.frame)continue;if(("rebuild"===e.mode||"preset"===e.mode)&&!1===b&&void 0!==p.triggeredFrame&&I!==p.triggeredFrame)continue;(I===e.frame||"rebuild"===e.mode&&I===p.triggeredFrame)&&(b=!0)}else I===e.frame&&(b=!0);if(I!==e.frame&&p.frames[I].timeline.waitoncall&&"called"!==p.frames[I].timeline.callstate&&(f=!0),I!==e.frame&&b&&(f=!0===f&&p.frames[I].timeline.waitoncall?"skiprest":!0!==f&&f),void 0===p.hideonfirststart&&"frame_1"===I&&p.frames[I].timeline.waitoncall&&(p.hideonfirststart=!0),f&&"waiting"===p.frames[I].timeline.callstate&&"preset"===e.mode&&1!=p.firstTimeRendered)A=!0,p.firstTimeRendered=!0;else if("skiprest"===f||"called"!==p.frames[I].timeline.callstate&&f&&e.toframe!==I)continue;if("frame_999"!==I||!1!==w||"continue"!==e.mode&&"start"!==e.mode&&"rebuild"!==e.mode){p.fff="frame_1"===I&&("trigger"!==e.mode||"frame_999"===p.currentframe||"frame_0"===p.currentframe||void 0===p.currentframe),"trigger"===e.mode&&"frame_1"===e.frame&&!1===p.leftstage&&(p.fff=!1),A||(p.frames[I].timeline.callstate="called",p.currentframe=I);var R=p.frames[I],S=p.fff?p.frames.frame_0:void 0,z=new punchgs.TimelineMax,M=new punchgs.TimelineMax,C=p.c,O=void 0!==R.sfx&&g(R.sfx.effect,p.m,R.timeline.ease),P=R.timeline.speed/1e3,j=0,H=m({id:d,frame:R,layer:a,ease:R.timeline.ease,splitAmount:C.length,target:I,forcefilter:void 0!==p.frames.frame_hover&&void 0!==p.frames.frame_hover.filter}),N=p.fff?m({id:d,frame:S,layer:a,ease:R.timeline.ease,splitAmount:C.length,target:"frame_0"}):void 0,Q=void 0!==R.mask?m({id:d,frame:{transform:{x:R.mask.x,y:R.mask.y}},layer:a,ease:H.ease,target:"mask"}):void 0,D=void 0!==Q&&p.fff?m({id:d,frame:{transform:{x:S.mask.x,y:S.mask.y}},layer:a,ease:H.ease,target:"frommask"}):void 0,B=H.ease;"block"===O.type&&(O.ft[0].background=R.sfx.fxc,z.add(punchgs.TweenMax.fromTo(O.bmask_in,P/2,O.ft[0],O.ft[1],0)),z.add(punchgs.TweenMax.fromTo(O.bmask_in,P/2,O.ft[1],O.t,P/2)),"frame_0"===I||"frame_1"===I?N.opacity=0:"frame_999"===I&&z.add(M.staggerFromTo(C,.05,{autoAlpha:1},{autoAlpha:0,delay:P/2},0),.001)),void 0!==R.color?H.color=R.color:void 0!==p.color&&"npc"!==p.color[c]&&(H.color=p.color[c]),void 0!==S&&void 0!==S.color?N.color=S.color:void 0!==S&&void 0!==p.color&&"npc"!==p.color[c]&&(N.color=p.color[c]),void 0!==R.bgcolor?R.bgcolor.indexOf("gradient")>=0?H.background=R.bgcolor:H.backgroundColor=R.bgcolor:!0===p.bgcolinuse&&(p.bgcol.indexOf("gradient")>=0?H.background=p.bgcol:H.backgroundColor=p.bgcol),void 0!==S&&(void 0!==S.bgcolor?S.bgcolor.indexOf("gradient")>=0?N.background=S.bgcolor:N.backgroundColor=S.bgcolor:!0===p.bgcolinuse&&(p.bgcol.indexOf("gradient")>=0?N.background=p.bgcol:N.backgroundColor=p.bgcol));var W=0;if(void 0!==p.splitText&&!1!==p.splitText)for(var F in t)if(void 0!==R[t[F]]&&!p.quickRendering){var E=y(p.splitText[t[F]],R[t[F]].dir),Y=m({id:d,frame:R,source:t[F],ease:B,layer:a,splitAmount:E.length,target:I+"_"+t[F]}),V=p.fff?m({id:d,frame:S,ease:Y.ease,source:t[F],layer:a,splitAmount:E.length,target:"frame_0_"+t[F]}):void 0;j=void 0===R[t[F]].delay?.05:R[t[F]].delay/100,p.color[c]===H.color&&"frame_1"===I||(Y.color=H.color),void 0!==N&&p.color[c]!==N.color&&(V.color=N.color);var X=v(jQuery.extend(!0,{},Y)),Z=p.fff?v(jQuery.extend(!0,{},V)):void 0;delete X.dir,X.data={splitted:!0},void 0!==Z&&delete Z.dir,p.fff?z.add(M.staggerFromTo(E,P,Z,X,p.frames[I].split?j:0,0),0):z.add(M.staggerTo(E,P,X,p.frames[I].split?j:0,0),0),W=E.length>W?E.length:W}P+=p.frames[I].split?j*W:0,p.pxundermask||void 0!==Q&&(void 0!==S&&"hidden"===S.mask.overflow||"hidden"===R.mask.overflow)?(z.add(punchgs.TweenMax.to(p.m,.001,{overflow:"hidden"}),0),"column"===p.type&&z.add(punchgs.TweenMax.to(p.cbgmask,.001,{overflow:"hidden"}),0),p.btrans&&(D&&(D.rotationX=p.btrans.rX,D.rotationY=p.btrans.rY,D.rotationZ=p.btrans.rZ,D.opacity=p.btrans.o),Q.rotationX=p.btrans.rX,Q.rotationY=p.btrans.rY,Q.rotationZ=p.btrans.rZ,Q.opacity=p.btrans.o),p.fff?z.add(punchgs.TweenMax.fromTo([p.m,p.cbgmask],P,jQuery.extend(!0,{},D),jQuery.extend(!0,{},Q)),.001):z.add(punchgs.TweenMax.to([p.m,p.cbgmask],P,jQuery.extend(!0,{},Q)),.001)):void 0!==p.btrans?z.add(punchgs.TweenMax.to(p.m,.001,{x:0,y:0,filter:"none",opacity:p.btrans.o,rotationX:p.btrans.rX,rotationY:p.btrans.rY,rotationZ:p.btrans.rZ,overflow:"visible"}),0):z.add(punchgs.TweenMax.to(p.m,.001,{clearProps:"transform",overflow:"visible"}),0),H.force3D="auto",p.fff?(H.visibility="visible",void 0!==p.cbg&&z.fromTo(p.cbg,P,N,H,0),i[d].BUG_safari_clipPath&&(N.clipPath||H.clipPath||p.spike)&&(N.z&&parseInt(N.z,10)||(N.z=-1e-4),H.z&&parseInt(H.z,10)||(H.z=0)),void 0!==p.cbg&&"column"===p.type?z.fromTo(C,P,r(N),r(H),0):z.fromTo(C,P,N,H,0)):(void 0!==p.cbg&&z.to(p.cbg,P,H,0),!i[d].BUG_safari_clipPath||!H.clipPath&&!p.spike||H.z&&parseInt(H.z,10)||(H.z=0-.01*Math.random()),void 0!==p.cbg&&"column"===p.type?z.to(C,P,r(H),0):z.to(C,P,H,0)),void 0!==B&&"object"!=typeof B&&"function"!=typeof B&&B.indexOf("SFXBounce")>=0&&z.to(C,P,{scaleY:.5,scaleX:1.3,ease:H.ease+"-squash",transformOrigin:"bottom"},1e-4);var q="trigger"!==e.mode&&(!0!==f&&"skiprest"!==f||"rebuild"!==e.mode)||e.frame===I||void 0===R.timeline.start||!jQuery.isNumeric(R.timeline.start)?"+=0"===R.timeline.start||void 0===R.timeline.start?"+=0.005":parseInt(R.timeline.start,0)/1e3:"+="+parseInt(R.timeline.startRelative,0)/1e3;p.timeline.addLabel(I,q),p.timeline.add(z,q),p.timeline.addLabel(I+"_end","+=0.01"),z.eventCallback("onStart",o,[{id:d,frame:I,L:a}]),"true"==p.animationonscroll||1==p.animationonscroll?(z.eventCallback("onUpdate",s,[{id:d,frame:I,L:a}]),z.smoothChildTiming=!0):z.eventCallback("onUpdate",s,[{id:d,frame:I,L:a}]),z.eventCallback("onComplete",n,[{id:d,frame:I,L:a}])}}}if(void 0!==p.frames.loop){var U=p.frames.loop.frame_0,G=p.frames.loop.frame_999,J=new punchgs.TimelineMax({}),K=new punchgs.TimelineMax({repeat:-1,yoyo:p.frames.loop.timeline.yoyo_move}),$=new punchgs.TimelineMax({repeat:-1,yoyo:p.frames.loop.timeline.yoyo_rotate}),ee=new punchgs.TimelineMax({repeat:-1,yoyo:p.frames.loop.timeline.yoyo_scale}),te=new punchgs.TimelineMax({repeat:-1,yoyo:p.frames.loop.timeline.yoyo_filter}),ie=parseInt(p.frames.loop.timeline.speed,0)/1e3,ae=parseInt(p.frames.loop.timeline.start)/1e3||0,re=ae+.2;if(J.add(K,0),J.add($,0),J.add(ee,0),J.add(te,0),G.originX=U.originX,G.originY=U.originY,G.originZ=U.originZ,p.frames.loop.timeline.curved){var oe=parseInt(p.frames.loop.timeline.radiusAngle,0)||0,se=[{x:(U.x-U.xr)*i[d].bw,y:0,z:(U.z-U.zr)*i[d].bw},{x:0,y:(U.y+U.yr)*i[d].bw,z:0},{x:(G.x+G.xr)*i[d].bw,y:0,z:(G.z+G.zr)*i[d].bw},{x:0,y:(G.y-G.yr)*i[d].bw,z:0}],ne={type:"thru",curviness:p.frames.loop.timeline.curviness,values:[],autoRotate:p.frames.loop.timeline.autoRotate};for(var le in se)se.hasOwnProperty(le)&&(ne.values[le]=se[oe],oe=++oe==se.length?0:oe);p.timeline.fromTo(p.lp,.2,{"-webkit-filter":"blur("+(U.blur||0)+"px) grayscale("+(U.grayscale||0)+"%) brightness("+(U.brightness||100)+"%)",filter:"blur("+(U.blur||0)+"px) grayscale("+(U.grayscale||0)+"%) brightness("+(U.brightness||100)+"%)",x:0,y:0,z:0,minWidth:p._incolumn||p._ingroup?"100%":void 0===p.eow?0:p.eow,minHeight:p._incolumn||p._ingroup?"100%":void 0===p.eoh?0:p.eoh,scaleX:1,scaleY:1,skew:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:600,transformOrigin:G.originX+" "+G.originY+" "+G.originZ,opacity:1},{x:ne.values[3].x,y:ne.values[3].y,z:ne.values[3].z,scaleX:U.scaleX,skewX:U.skewX,skewY:U.skewY,scaleY:U.scaleY,rotationX:U.rotationX,rotationY:U.rotationY,rotationZ:U.rotationZ,"-webkit-filter":"blur("+parseInt(U.blur,0)+"px) grayscale("+parseInt(U.grayscale,0)+"%) brightness("+parseInt(U.brightness,0)+"%)",filter:"blur("+parseInt(U.blur,0)+"px) grayscale("+parseInt(U.grayscale,0)+"%) brightness("+parseInt(U.brightness,0)+"%)",ease:punchgs.Sine.easeInOut,opacity:U.opacity},ae),K.to(p.lp,p.frames.loop.timeline.yoyo_move?ie/2:ie,{bezier:ne,ease:p.frames.loop.timeline.ease})}else p.timeline.fromTo(p.lp,.2,{"-webkit-filter":"blur("+(U.blur||0)+"px) grayscale("+(U.grayscale||0)+"%) brightness("+(U.brightness||100)+"%)",filter:"blur("+(U.blur||0)+"px) grayscale("+(U.grayscale||0)+"%) brightness("+(U.brightness||100)+"%)",x:0,y:0,z:0,minWidth:p._incolumn||p._ingroup?"100%":void 0===p.eow?0:p.eow,minHeight:p._incolumn||p._ingroup?"100%":void 0===p.eoh?0:p.eoh,scaleX:1,scaleY:1,skew:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:600,transformOrigin:G.originX+" "+G.originY+" "+G.originZ,opacity:1},{x:U.x*i[d].bw,y:U.y*i[d].bw,z:U.z*i[d].bw,scaleX:U.scaleX,skewX:U.skewX,skewY:U.skewY,scaleY:U.scaleY,rotationX:U.rotationX,rotationY:U.rotationY,rotationZ:U.rotationZ,ease:punchgs.Sine.easeOut,opacity:U.opacity,"-webkit-filter":"blur("+parseInt(U.blur||0,0)+"px) grayscale("+parseInt(U.grayscale||0,0)+"%) brightness("+parseInt(U.brightness||100,0)+"%)",filter:"blur("+parseInt(U.blur||0,0)+"px) grayscale("+parseInt(U.grayscale||0,0)+"%) brightness("+parseInt(U.brightness||100,0)+"%)"},ae),K.to(p.lp,p.frames.loop.timeline.yoyo_move?ie/2:ie,{x:G.x*i[d].bw,y:G.y*i[d].bw,z:G.z*i[d].bw,ease:p.frames.loop.timeline.ease});$.to(p.lp,p.frames.loop.timeline.yoyo_rotate?ie/2:ie,{rotationX:G.rotationX,rotationY:G.rotationY,rotationZ:G.rotationZ,ease:p.frames.loop.timeline.ease}),ee.to(p.lp,p.frames.loop.timeline.yoyo_scale?ie/2:ie,{scaleX:G.scaleX,scaleY:G.scaleY,skewX:G.skewX,skewY:G.skewY,ease:p.frames.loop.timeline.ease});var de={opacity:G.opacity||1,ease:p.frames.loop.timeline.ease,"-webkit-filter":"blur("+(G.blur||0)+"px) grayscale("+(G.grayscale||0)+"%) brightness("+(G.brightness||100)+"%)",filter:"blur("+(G.blur||0)+"px) grayscale("+(G.grayscale||0)+"%) brightness("+(G.brightness||100)+"%)"};te.to(p.lp,p.frames.loop.timeline.yoyo_filter?ie/2:ie,de),p.timeline.add(J,re)}if(void 0!==p.frames.frame_hover&&("start"===e.mode||void 0===p.hoverframeadded)){p.hoverframeadded=!0;var ce=p.frames.frame_hover.timeline.speed/1e3;ce=0===ce?1e-5:ce,p.hoverlistener||(p.hoverlistener=!0,jQuery(document).on("mouseenter mousemove",("column"===p.type?"#"+p.cbg[0].id+",":"")+"#"+p.c[0].id,function(e){if(("mousemove"!==e.type||!0!==p.ignoremousemove)&&p.readyForHover){if(p.ignoremousemove=!0,p.elementHovered=!0,p.hovertimeline||(p.hovertimeline=new punchgs.TimelineMax),p.hovertimeline.to([p.m,p.cbgmask],ce,{overflow:p.frames.frame_hover.mask?"hidden":"visible"},0),"column"===p.type&&p.hovertimeline.to(p.cbg,ce,jQuery.extend(!0,{},l(p.frames.frame_hover,p.cbg)),0),p.hovertimeline.pause(),"text"!==p.type&&"button"!==p.type||void 0===p.splitText||!1===p.splitText||p.hovertimeline.to([p.splitText.lines,p.splitText.words,p.splitText.chars],ce,{color:p.frames.frame_hover.color,ease:p.frames.frame_hover.transform.ease},0),"column"===p.type?p.hovertimeline.to(p.c,ce,r(jQuery.extend(!0,{},l(p.frames.frame_hover,p.c))),0):p.hovertimeline.to(p.c,ce,jQuery.extend(!0,{},l(p.frames.frame_hover,p.c)),0),"svg"===p.type){p.svgHTemp=jQuery.extend(!0,{},p.svgH);var t=Array.isArray(p.svgHTemp.fill)?p.svgHTemp.fill[i[d].level]:p.svgHTemp.fill;p.svgHTemp.fill=t,p.hovertimeline.to(p.svg,ce,p.svgHTemp,0),p.hovertimeline.to(p.svgPath,ce,{fill:t},0)}p.hovertimeline.play()}}),jQuery(document).on("mouseleave",("column"===p.type?"#"+p.cbg[0].id+",":"")+"#"+p.c[0].id,function(){p.elementHovered=!1,p.readyForHover&&void 0!==p.hovertimeline&&(p.hovertimeline.reverse(),p.hovertimeline.eventCallback("onReverseComplete",i.hoverReverseDone,[{id:d,L:a}]))}))}if(A||(p.lastRequestedMainFrame="start"===e.mode?"frame_1":"continue"===e.mode?void 0===e.frame?p.currentframe:e.frame:p.lastRequestedMainFrame),void 0!==e.totime?p.tSTART=e.totime:void 0!==u&&void 0===e.frame?p.tSTART=u:void 0!==e.frame?p.tSTART=e.frame:p.tSTART=0,0===p.tSTART&&void 0===p.startedAnimOnce&&void 0===p.leftstage&&void 0===p.startedAnimOnce&&!0===p.hideonfirststart&&"preset"===e.mode&&(i[d]._L[a[0].id].p[0].classList.add("rs-forcehidden"),p.hideonfirststart=!1),"frame_999"!==p.tSTART&&"frame_999"!==p.triggeredFrame||!p.leftstage&&void 0!==p.startedAnimOnce){if("true"!=p.animationonscroll&&1!=p.animationonscroll?p.timeline.play(p.tSTART):p.timeline.time(p.tSTART),jQuery.inArray(p.type,["group","row","column"])>=0&&void 0!==e.frame){if(void 0===p.childrenJS)for(var F in p.childrenJS={},i[d]._L)void 0!==i[d]._L[F]._lig&&void 0!==i[d]._L[F]._lig[0]&&i[d]._L[F]._lig[0].id===a[0].id&&i[d]._L[F]._lig[0].id!==i[d]._L[F].c[0].id&&(p.childrenJS[i[d]._L[F].c[0].id]=i[d]._L[F].c);e.frame="0"==e.frame?"frame_0":e.frame,e.frame="1"==e.frame?"frame_1":e.frame,e.frame="999"==e.frame?"frame_999":e.frame;var pe=void 0===e.totime?void 0!==p.frames[e.frame].timeline.startAbsolute?parseInt(p.frames[e.frame].timeline.startAbsolute,0)/1e3:void 0!==p.frames[e.frame].timeline.start?jQuery.isNumeric(p.frames[e.frame].timeline.start)?parseInt(p.frames[e.frame].timeline.start,0)/1e3:0:.001:e.totime;if(!0===e.updateChildren)for(var F in p.childrenJS)p.childrenJS.hasOwnProperty(F)&&i.renderLayerAnimation({layer:p.childrenJS[F],fastforward:!1,id:d,mode:"continue",updateChildren:!0,totime:pe});else for(var F in p.childrenJS)p.childrenJS.hasOwnProperty(F)&&i[d]._L[F].pausedTrueParrent&&(i.renderLayerAnimation({layer:p.childrenJS[F],fastforward:!1,id:d,mode:"continue",updateChildren:!0,totime:pe}),i[d]._L[F].pausedTrueParrent=!1)}}else;}}});var r=function(e){var t=jQuery.extend(!0,{},e);return delete t.backgroundColor,delete t.background,delete t.backgroundImage,delete t.borderSize,delete t.borderStyle,t},o=function(e){i[e.id].BUG_safari_clipPath&&e.L[0].classList.remove("rs-pelock"),(i[e.id]._L[e.L[0].id]._ingroup||i[e.id]._L[e.L[0].id]._incolumn||i[e.id]._L[e.L[0].id]._inrow)&&void 0!==i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid]&&void 0!==i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid].timeline&&(i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid].timeline.isActive()||void 0===i[e.id]._L[e.L[0].id]||void 0===i[e.id]._L[e.L[0].id].frames[i[e.id]._L[e.L[0].id].timeline.currentLabel()]||(null==i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid].timezone||i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid].timezone.to<=parseInt(i[e.id]._L[e.L[0].id].frames[i[e.id]._L[e.L[0].id].timeline.currentLabel()].timeline.start,0))&&!0!==i[e.id]._L[e.L[0].id].animOnScrollForceDisable&&(i[e.id]._L[e.L[0].id].pausedTrueParrent=!0,i[e.id]._L[e.L[0].id].timeline.pause()));var t=i[e.id]._L[e.L[0].id],a=t.hovertimeline;a&&a.time()>0&&(a.pause(),a.time(0),a.kill(),delete t.hovertimeline),i[e.id]._L[e.L[0].id].p[0].classList.remove("rs-forcehidden");var r={};if(i[e.id]._L[e.L[0].id].ignoremousemove=!1,i[e.id]._L[e.L[0].id].leftstage=!1,i[e.id]._L[e.L[0].id].readyForHover=!1,r.layer=e.L,void 0!==i[e.id]._L[e.L[0].id].layerLoop&&i[e.id]._L[e.L[0].id].layerLoop.from===e.frame&&i[e.id]._L[e.L[0].id].layerLoop.count++,"frame_1"===e.frame&&void 0===i[e.id]._L[e.L[0].id].safariRenderIssue&&(punchgs.TweenMax.set([i[e.id]._L[e.L[0].id].c],{opacity:1}),i[e.id]._L[e.L[0].id].safariRenderIssue=!0),"frame_999"!==e.frame&&(i[e.id]._L[e.L[0].id].startedAnimOnce=!0,punchgs.TweenMax.set([i[e.id]._L[e.L[0].id].c,i[e.id]._L[e.L[0].id].l,i[e.id]._L[e.L[0].id].m],{visibility:"visible"}),punchgs.TweenMax.set(i[e.id]._L[e.L[0].id].p,{pointerEvents:i[e.id]._L[e.L[0].id].noPevents?"none":"auto",visibility:"visible"})),r.eventtype="frame_0"===e.frame||"frame_1"===e.frame?"enterstage":"frame_999"===e.frame?"leavestage":"framestarted","enterstage"===r.eventtype){var o=i[e.id].pr_processing_key||i[e.id].pr_active_key||0,s=0;if(i[e.id].middleZones&&i[e.id].middleZones.length>0&&void 0!==i[e.id].middleZones[o])for(s=0;s<i[e.id].middleZones[o].length;s++)i[e.id].middleZones[o][s].style.top=Math.round(i[e.id].height/2-i[e.id].middleZones[o][s].offsetHeight/2)+"px";if(i[e.id].smiddleZones&&i[e.id].smiddleZones.length>0)for(s=0;s<i[e.id].smiddleZones.length;s++)i[e.id].smiddleZones[s].style.top=Math.round(i[e.id].height/2-i[e.id].smiddleZones[s].offsetHeight/2)+"px";void 0!==i[e.id]._L[e.L[0].id].esginside&&void 0!==i[e.id]._L[e.L[0].id].esginside.esredraw&&i[e.id]._L[e.L[0].id].esginside.esredraw()}r.layertype=i[e.id]._L[e.L[0].id].type,r.frame_index=e.frame,r.layersettings=i[e.id]._L[e.L[0].id],i[e.id].c.trigger("revolution.layeraction",[r]),"enterstage"===r.eventtype&&i.toggleState(i[e.id]._L[e.L[0].id].layertoggledby),"frame_1"===e.frame&&i.animcompleted(e.L,e.id)},s=function(e){"frame_999"===e.frame&&(i[e.id]._L[e.L[0].id].leftstage&&i[e.id]._L[e.L[0].id].p[0].classList.remove("rs-forcehidden"),i[e.id]._L[e.L[0].id].leftstage=!1,punchgs.TweenMax.set(i[e.id]._L[e.L[0].id].c,{visibility:"visible"}),punchgs.TweenMax.set(i[e.id]._L[e.L[0].id].p,{pointerEvents:i[e.id]._L[e.L[0].id].noPevents?"none":"auto",visibility:"visible"}))},n=function(e){var t=!0;if("column"===i[e.id]._L[e.L[0].id].type||"row"===i[e.id]._L[e.L[0].id].type||"group"===i[e.id]._L[e.L[0].id].type){var a=i[e.id]._L[e.L[0].id].timeline.currentLabel(),r=jQuery.inArray(a,i[e.id]._L[e.L[0].id].ford);r++,r=i[e.id]._L[e.L[0].id].ford.length>r?i[e.id]._L[e.L[0].id].ford[r]:a,void 0!==i[e.id]._L[e.L[0].id].frames[r]&&void 0!==i[e.id]._L[e.L[0].id].frames[a]&&(i[e.id]._L[e.L[0].id].timezone={from:parseInt(i[e.id]._L[e.L[0].id].frames[a].timeline.startAbsolute,0),to:parseInt(i[e.id]._L[e.L[0].id].frames[r].timeline.startAbsolute,0)})}if("frame_999"===e.frame)punchgs.TweenMax.set(i[e.id]._L[e.L[0].id].c,{visibility:"hidden"}),punchgs.TweenMax.set(i[e.id]._L[e.L[0].id].p,{pointerEvents:"none",visibility:"hidden"}),t=!1;else if(i[e.id].isEdge&&"shape"===i[e.id]._L[e.L[0].id].type){var o=i[e.id]._L[e.L[0].id].c[0].style.opacity;i[e.id]._L[e.L[0].id].c[0].style.opacity=o-1e-4,punchgs.TweenLite.set(i[e.id]._L[e.L[0].id].c[0],{opacity:o-.001,delay:.05}),punchgs.TweenLite.set(i[e.id]._L[e.L[0].id].c[0],{opacity:o,delay:.1})}var s={};s.layer=e.L,s.eventtype="frame_0"===e.frame||"frame_1"===e.frame?"enteredstage":"frame_999"===e.frame?"leftstage":"frameended",i[e.id]._L[e.L[0].id].readyForHover=!0,s.layertype=i[e.id]._L[e.L[0].id].type,s.frame_index=e.frame,s.layersettings=i[e.id]._L[e.L[0].id],i[e.id].c.trigger("revolution.layeraction",[s]),"frame_999"===e.frame&&"leftstage"===s.eventtype&&(i[e.id]._L[e.L[0].id].leftstage=!0,i[e.id]._L[e.L[0].id].p[0].classList.add("rs-forcehidden")),"leftstage"===s.eventtype&&void 0!==i[e.id].videos&&void 0!==i[e.id].videos[e.L[0].id]&&i.stopVideo&&i.stopVideo(e.L,e.id),"column"===i[e.id]._L[e.L[0].id].type&&punchgs.TweenMax.to(i[e.id]._L[e.L[0].id].cbg,.01,{visibility:"visible"}),"leftstage"===s.eventtype&&(i.unToggleState(e.layertoggledby),"video"===i[e.id]._L[e.L[0].id].type&&i.resetVideo&&setTimeout(function(){i.resetVideo(e.L,e.id)},100)),i[e.id].BUG_safari_clipPath&&!t&&e.L[0].classList.add("rs-pelock"),void 0!==i[e.id]._L[e.L[0].id].layerLoop&&i[e.id]._L[e.L[0].id].layerLoop.to===e.frame&&(-1==i[e.id]._L[e.L[0].id].layerLoop.repeat||i[e.id]._L[e.L[0].id].layerLoop.repeat>i[e.id]._L[e.L[0].id].layerLoop.count)&&i.renderLayerAnimation({layer:i[e.id]._L[e.L[0].id].c,frame:i[e.id]._L[e.L[0].id].layerLoop.from,updateChildren:i[e.id]._L[e.L[0].id].layerLoop.children,mode:"continue",fastforward:!0===i[e.id]._L[e.L[0].id].layerLoop.keep,id:e.id})},l=function(e,t){var i=jQuery.extend(!0,{},e.transform);return(i.originX||i.originY||i.originZ)&&(i.transformOrigin=(void 0===i.originX?"50%":i.originX)+" "+(void 0===i.originY?"50%":i.originY)+" "+(void 0===i.originZ?"50%":i.originZ),delete i.originX,delete i.originY,delete i.originZ),void 0!==e&&void 0!==e.filter&&(i["-webkit-filter"]="blur("+(e.filter.blur||0)+"px) grayscale("+(e.filter.grayscale||0)+"%) brightness("+(e.filter.brightness||100)+"%)",i.filter="blur("+(e.filter.blur||0)+"px) grayscale("+(e.filter.grayscale||0)+"%) brightness("+(e.filter.brightness||100)+"%)"),i.color=void 0===i.color?"rgba(255,255,255,1)":i.color,i.force3D="auto",i.backgroundImage&&"string"==typeof i.backgroundImage&&-1!==i.backgroundImage.search("gradient")&&180!==c(t.css("backgroundImage"))&&180===c(i.backgroundImage)&&(i.backgroundImage=d(i.backgroundImage,180)),i},d=function(e,t){var i=(e=e.split("("))[0];return e.shift(),i+"("+t+"deg, "+e.join("(")},c=function(e){if(-1!==e.search("deg,")){var t=e.split("deg,")[0];if(-1!==t.search(/\(/))return parseInt(t.split("(")[1],10)}return 180},p=function(e,t){e=void 0===e?"":e.split(";");var a={fill:i.revToResp("#ffffff",i[t].rle),stroke:"transparent","stroke-width":"0px","stroke-dasharray":"0","stroke-dashoffset":"0"};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r].split(":");switch(o[0]){case"c":a.fill=i.revToResp(o[1],i[t].rle,void 0,"||");break;case"sw":a["stroke-width"]=o[1];break;case"sc":a.stroke=o[1];break;case"so":a["stroke-dashoffset"]=o[1];break;case"sa":a["stroke-dasharray"]=o[1]}}return a},u=function(e){return"c"===e?"center":"l"===e?"left":"r"===e?"right":e},h=function(e){var t=i[e.id]._L[e.layer[0].id],a=!1;if(t.splitText&&!1!==t.splitText&&t.splitText.revert(),"text"===t.type||"button"===t.type){for(var r in t.frames)if(void 0!==t.frames[r].chars||void 0!==t.frames[r].words||void 0!==t.frames[r].lines){a=!0;break}t.splitText=!!a&&new punchgs.SplitText(t.c,{type:"lines,words,chars",wordsClass:"rs_splitted_words",linesClass:"rs_splitted_lines",charsClass:"rs_splitted_chars"})}else t.splitText=!1},g=function(e,t,i){if(void 0!==e&&e.indexOf("block")>=0){var a={};switch(0===t.find(".tp-blockmask_in").length&&(t.append('<div class="tp-blockmask_in"></div>'),t.append('<div class="tp-blockmask_out"></div>')),i=void 0===i?punchgs.Power3.easeInOut:i,a.ft=[{scaleY:1,scaleX:0,transformOrigin:"0% 50%"},{scaleY:1,scaleX:1,ease:i,immediateRender:!1}],a.t={scaleY:1,scaleX:0,transformOrigin:"100% 50%",ease:i,immediateRender:!1},a.bmask_in=t.find(".tp-blockmask_in"),a.bmask_out=t.find(".tp-blockmask_out"),a.type="block",e){case"blocktoleft":case"blockfromright":a.ft[0].transformOrigin="100% 50%",a.t.transformOrigin="0% 50%";break;case"blockfromtop":case"blocktobottom":a.ft=[{scaleX:1,scaleY:0,transformOrigin:"50% 0%"},{scaleX:1,scaleY:1,ease:i,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 100%",ease:i,immediateRender:!1};break;case"blocktotop":case"blockfrombottom":a.ft=[{scaleX:1,scaleY:0,transformOrigin:"50% 100%"},{scaleX:1,scaleY:1,ease:i,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 0%",ease:i,immediateRender:!1}}return a.ft[1].overwrite="auto",a.t.overwrite="auto",a}return!1},f=function(e,t,a,r,o){return 0===i[o].sdir||void 0===t?e:("mask"===a?r="x"===r?"mX":"y"===r?"mY":r:"chars"===a?r="x"===r?"cX":"y"===r?"cY":"dir"===r?"cD":r:"words"===a?r="x"===r?"wX":"y"===r?"wY":"dir"===r?"wD":r:"lines"===a&&(r="x"===r?"lX":"y"===r?"lY":"dir"===r?"lD":r),void 0===t[r]||!1===t[r]?e:void 0!==t&&!0===t[r]?"t"===e||"top"===e?"b":"b"===e||"bottom"===e?"t":"l"===e||"left"===e?"r":"r"===e||"right"===e?"l":-1*e:void 0)},m=function(e){var t=i[e.id]._L[e.layer[0].id],a=void 0===e.source?jQuery.extend(!0,{},e.frame.transform):jQuery.extend(!0,{},e.frame[e.source]),r={originX:"50%",originY:"50%",originZ:"0"},o=i[e.id].conw,s=i[e.id].conh;for(var n in a)if(a.hasOwnProperty(n))if(a[n]="object"==typeof a[n]?a[n][i[e.id].level]:a[n],"inherit"===a[n]||"delay"===n||"direction"===n||"use"===n)delete a[n];else if("originX"===n||"originY"===n||"originZ"===n)r[n]=a[n],delete a[n];else if(jQuery.isNumeric(a[n],0))a[n]=f(a[n],e.frame.reverse,e.target,n,e.id,e.id);else if("r"===a[n][0]&&"a"===a[n][1]&&"random"!==a[n]){a[n]=a[n].replace("ran(","").replace(")","");var l=a[n].indexOf("%")>=0?"%":"",d=a[n].split("|");if(d[0]=parseFloat(d[0]),d[1]=parseFloat(d[1]),void 0!==e.splitAmount&&e.splitAmount>1){a[n]="["+(Math.random()*(d[1]-d[0])+d[0])+l;for(var c=0;c<e.splitAmount;c++)a[n]=a[n]+"|"+(Math.random()*(d[1]-d[0])+d[0])+l;a[n]=a[n]+"]"}else a[n]=Math.random()*(d[1]-d[0])+d[0]+l}else{a[n]=a[n].replace("[","").replace("]",""),a[n]=a[n].replace("cyc(","").replace(")","");var p=parseInt(a[n],0);if(a[n].indexOf("%")>=0&&jQuery.isNumeric(p))"x"==n?a[n]=f(t.eow*p/100,e.frame.reverse,e.target,n,e.id):"y"==n&&(a[n]=f(t.eoh*p/100,e.frame.reverse,e.target,n,e.id));else switch(a[n]=f(a[n],e.frame.reverse,e.target,n,e.id,e.id),a[n]){case"t":case"top":a[n]=0-t.eoh-("column"===t.type?0:t.calcy);break;case"b":case"bottom":a[n]=s-("column"===t.type?0:t.calcy);break;case"l":case"left":a[n]=0-t.eow-("column"===t.type?0:t.calcx);break;case"r":case"right":a[n]=o-("column"===t.type?0:t.calcx);break;case"m":case"c":case"middle":case"center":"x"===n&&(a[n]=f(o/2-("column"===t.type?0:t.calcx)-t.eow/2,e.frame.reverse,e.target,n,e.id)),"y"===n&&(a[n]=f(s/2-("column"===t.type?0:t.calcy)-t.eoh/2,e.frame.reverse,e.target,n,e.id))}}if(a.transformOrigin=r.originX+" "+r.originY+" "+r.originZ,!i[e.id].BUG_ie_clipPath&&void 0!==a.clip&&void 0!==t.clipPath&&t.clipPath.use){var u="rectangle"==t.clipPath.type,h=parseInt(a.clip,0),g=100-parseInt(a.clipB,0),m=Math.round(h/2);switch(t.clipPath.origin){case"invh":a.clipPath="polygon(0% 0%, 0% 100%, "+h+"% 100%, "+h+"% 0%, 100% 0%, 100% 100%, "+g+"% 100%, "+g+"% 0%, 0% 0%)";break;case"invv":a.clipPath="polygon(100% 0%, 0% 0%, 0% "+h+"%, 100% "+h+"%, 100% 100%, 0% 100%, 0% "+g+"%, 100% "+g+"%, 100% 0%)";break;case"cv":a.clipPath=u?"polygon("+(50-m)+"% 0%, "+(50+m)+"% 0%, "+(50+m)+"% 100%, "+(50-m)+"% 100%)":"circle("+h+"% at 50% 50%)";break;case"ch":a.clipPath=u?"polygon(0% "+(50-m)+"%, 0% "+(50+m)+"%, 100% "+(50+m)+"%, 100% "+(50-m)+"%)":"circle("+h+"% at 50% 50%)";break;case"l":a.clipPath=u?"polygon(0% 0%, "+h+"% 0%, "+h+"% 100%, 0% 100%)":"circle("+h+"% at 0% 50%)";break;case"r":a.clipPath=u?"polygon("+(100-h)+"% 0%, 100% 0%, 100% 100%, "+(100-h)+"% 100%)":"circle("+h+"% at 100% 50%)";break;case"t":a.clipPath=u?"polygon(0% 0%, 100% 0%, 100% "+h+"%, 0% "+h+"%)":"circle("+h+"% at 50% 0%)";break;case"b":a.clipPath=u?"polygon(0% 100%, 100% 100%, 100% "+(100-h)+"%, 0% "+(100-h)+"%)":"circle("+h+"% at 50% 100%)";break;case"lt":a.clipPath=u?"polygon(0% 0%,"+2*h+"% 0%, 0% "+2*h+"%)":"circle("+h+"% at 0% 0%)";break;case"lb":a.clipPath=u?"polygon(0% "+(100-2*h)+"%, 0% 100%,"+2*h+"% 100%)":"circle("+h+"% at 0% 100%)";break;case"rt":a.clipPath=u?"polygon("+(100-2*h)+"% 0%, 100% 0%, 100% "+2*h+"%)":"circle("+h+"% at 100% 0%)";break;case"rb":a.clipPath=u?"polygon("+(100-2*h)+"% 100%, 100% 100%, 100% "+(100-2*h)+"%)":"circle("+h+"% at 100% 100%)";break;case"clr":a.clipPath=u?"polygon(0% 0%, 0% "+h+"%, "+(100-h)+"% 100%, 100% 100%, 100% "+(100-h)+"%, "+h+"% 0%)":"circle("+h+"% at 50% 50%)";break;case"crl":a.clipPath=u?"polygon(0% "+(100-h)+"%, 0% 100%, "+h+"% 100%, 100% "+h+"%, 100% 0%, "+(100-h)+"% 0%)":"circle("+h+"% at 50% 50%)"}!0!==i.isFirefox(e.id)&&(a["-webkit-clip-path"]=a.clipPath),a["clip-path"]=a.clipPath,delete a.clip}else delete a.clip;return"mask"!==e.target&&(void 0===e.frame||void 0===e.frame.filter&&!e.forcefilter||(a["-webkit-filter"]="blur("+(null==e.frame.filter?0:e.frame.filter.blur||0)+"px) grayscale("+(null==e.frame.filter?0:e.frame.filter.grayscale||0)+"%) brightness("+(null==e.frame.filter?100:e.frame.filter.brightness||100)+"%)",a.filter="blur("+(null==e.frame.filter?0:e.frame.filter.blur||0)+"px) grayscale("+(null==e.frame.filter?0:e.frame.filter.grayscale||0)+"%) brightness("+(null==e.frame.filter?100:e.frame.filter.brightness||100)+"%)"),jQuery.inArray(e.source,["chars","words","lines"])>=0&&(void 0!==e.frame[e.source].blur||e.forcefilter)&&(a["-webkit-filter"]="blur("+(parseInt(e.frame[e.source].blur,0)||0)+"px) grayscale("+(parseInt(e.frame[e.source].grayscale,0)||0)+"%) brightness("+(parseInt(e.frame[e.source].brightness,0)||100)+"%)",a.filter="blur("+(parseInt(e.frame[e.source].blur,0)||0)+"px) grayscale("+(parseInt(e.frame[e.source].grayscale,0)||0)+"%) brightness("+(parseInt(e.frame[e.source].brightness,0)||100)+"%)")),a.ease=void 0!==a.ease?a.ease:void 0===a.ease&&void 0!==e.ease||void 0!==a.ease&&void 0!==e.ease&&"inherit"===a.ease?e.ease:e.frame.timeline.ease,a.ease=void 0===a.ease||"default"===a.ease?punchgs.Power3.easeInOut:a.ease,a},v=function(e){var t;for(var i in e)"string"==typeof e[i]&&e[i].indexOf("|")>=0&&((t=void 0===t?{}:t)[i]=e[i].replace("[","").replace("]","").split("|"),delete e[i]);return void 0!==t&&(e.cycle=t),e},y=function(e,t){var i,a,r,o=e.length-1,s=[];switch(t){case"forward":case"f":case"random":case"r":for(i=0;i<=o;i++)s.push(i);"random"!==t&&"r"!==t||(s=function(e){for(var t,i,a=e.length;0!==a;)i=Math.floor(Math.random()*a),t=e[a-=1],e[a]=e[i],e[i]=t;return e}(s));break;case"b":case"backward":for(i=0;i<=o;i++)s.push(o-i);break;case"m":case"middletoedge":var n=Math.ceil(o/2);for(r=n-1,a=n+1,s.push(n),i=0;i<n;i++)r>=0&&s.push(r),a<=o&&s.push(a),r--,a++;break;case"e":case"edgetomiddle":for(r=o,a=0,i=0;i<=Math.floor(o/2);i++)s.push(r),a<r&&s.push(a),r--,a++;break;default:for(i=0;i<=o;i++)s.push(i)}var l=[];for(var d in s)s.hasOwnProperty(d)&&l.push(e[s[d]]);return l},b=function(e,t,a,r,o){var s,n,l={},d={},c={};for(var p in r=void 0===r?"transform":r,"loop"===o?(c.autoRotate=!1,c.yoyo_filter=!1,c.yoyo_rotate=!1,c.yoyo_move=!1,c.yoyo_scale=!1,c.curved=!1,c.curviness=2,c.ease="Linear.easeNone",c.speed=1e3,c.st=0,l.x=0,l.y=0,l.z=0,l.xr=0,l.yr=0,l.zr=0,l.scaleX=1,l.scaleY=1,l.originX="50%",l.originY="50%",l.originZ="0",l.rotationX="0deg",l.rotationY="0deg",l.rotationZ="0deg"):(c.speed=300,a?c.ease="default":l.ease="default"),"sfx"===o&&(l.fxc="#ffffff"),e=e.split(";"))if(e.hasOwnProperty(p)){var u=e[p].split(":");switch(u[0]){case"u":l.use="true"===u[1]||"t"===u[1]||fasle;break;case"c":s=u[1];break;case"fxc":l.fxc=u[1];break;case"bgc":n=u[1];break;case"auto":l.auto="t"===u[1]||void 0===u[1]||"true"===u[1];break;case"o":l.opacity=u[1];break;case"oX":l.originX=u[1];break;case"oY":l.originY=u[1];break;case"oZ":l.originZ=u[1];break;case"sX":l.scaleX=u[1];break;case"sY":l.scaleY=u[1];break;case"skX":l.skewX=u[1];break;case"skY":l.skewY=u[1];break;case"rX":l.rotationX=u[1];break;case"rY":l.rotationY=u[1];break;case"rZ":l.rotationZ=u[1];break;case"sc":l.color=u[1];break;case"se":l.effect=u[1];break;case"bos":l.borderStyle=u[1];break;case"boc":l.borderColor=u[1];break;case"td":l.textDecoration=u[1];break;case"zI":l.zIndex=u[1];break;case"tp":l.transformPerspective=u[1];break;case"cp":l.clip=parseInt(u[1],0);break;case"cpb":l.clipB=parseInt(u[1],0);break;case"fpr":l.fpr="t"===u[1]||"true"===u[1]||!0===u[1];break;case"aR":c.autoRotate="t"==u[1];break;case"rA":c.radiusAngle=u[1];break;case"yyf":c.yoyo_filter="t"==u[1];break;case"yym":c.yoyo_move="t"==u[1];break;case"yyr":c.yoyo_rotate="t"==u[1];break;case"yys":c.yoyo_scale="t"==u[1];break;case"crd":c.curved="t"==u[1];break;case"x":l.x="reverse"===o?"t"===u[1]||!0===u[1]||"true"==u[1]:"loop"===o?parseInt(u[1],0):i.revToResp(u[1],i[t].rle);break;case"y":l.y="reverse"===o?"t"===u[1]||!0===u[1]||"true"==u[1]:"loop"===o?parseInt(u[1],0):i.revToResp(u[1],i[t].rle);break;case"z":l.z="loop"===o?parseInt(u[1],0):i.revToResp(u[1],i[t].rle);break;case"bow":l.borderWidth=i.revToResp(u[1],4,0).toString().replace(/,/g," ");break;case"bor":l.borderRadius=i.revToResp(u[1],4,0).toString().replace(/,/g," ");break;case"m":l.mask="t"===u[1]||"f"!==u[1]&&u[1];break;case"iC":l.instantClick="t"===u[1]||"f"!==u[1]&&u[1];break;case"xR":l.xr=parseInt(u[1],0);break;case"yR":l.yr=parseInt(u[1],0);break;case"zR":l.zr=parseInt(u[1],0);break;case"blu":"loop"===o?l.blur=parseInt(u[1],0):d.blur=parseInt(u[1],0);break;case"gra":"loop"===o?l.grayscale=parseInt(u[1],0):d.grayscale=parseInt(u[1],0);break;case"bri":"loop"===o?l.brightness=parseInt(u[1],0):d.brightness=parseInt(u[1],0);break;case"sp":c.speed=parseInt(u[1],0);break;case"d":l.delay=parseInt(u[1],0);break;case"crns":c.curviness=parseInt(u[1],0);break;case"st":c.start="w"===u[1]||"a"===u[1]?"+=0":u[1],c.waitoncall="w"===u[1]||"a"===u[1];break;case"sA":c.startAbsolute=u[1];break;case"sR":c.startRelative=u[1];break;case"e":a?c.ease=u[1]:l.ease=u[1];break;default:u[0].length>0&&(l[u[0]]="t"===u[1]||"f"!==u[1]&&u[1])}}var h={timeline:c};return jQuery.isEmptyObject(d)||("split"===o?l=jQuery.extend(!0,l,d):h.filter=d),"split"===o&&void 0===l.dir&&(l.dir="forward"),jQuery.isEmptyObject(s)||(h.color=s),jQuery.isEmptyObject(n)||(h.bgcolor=n),h[r]=l,h},w=function(e,t){var r={},o=0;if(void 0===window.rdF0){var s=b("x:0;y:0;z:0;rX:0;rY:0;rZ:0;o:0;skX:0;skY:0;sX:0;sY:0;oX:50%;oY:50%;oZ:0;dir:forward;d:5",t).transform;window.rdF0=window.rdF1={transform:b("x:0;y:0;z:0;rX:0;rY:0;rZ:0;o:0;skX:0;skY:0;sX:0;sY:0;oX:50%;oY:50%;oZ:0;tp:600px",t,!0).transform,mask:b("x:0;y:0",t,!0).transform,chars:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},s),words:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},s),lines:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},s)},window.rdF1.transform.opacity=window.rdF1.chars.opacity=window.rdF1.words.opacity=window.rdF1.lines.opacity=window.rdF1.transform.scaleX=window.rdF1.chars.scaleX=window.rdF1.words.scaleX=window.rdF1.lines.scaleX=window.rdF1.transform.scaleY=window.rdF1.chars.scaleY=window.rdF1.words.scaleY=window.rdF1.lines.scaleY=1}for(var o in void 0===e.frame_0&&(e.frame_0="x:0"),void 0===e.frame_1&&(e.frame_1="x:0"),e.ford)if(e.ford.hasOwnProperty(o)){var n=e.ford[o];if(e[n]){if(r[n]=b(e[n],t,!0),void 0!==r[n].bgcolor&&(e.bgcolinuse=!0),i[t].BUG_ie_clipPath&&void 0!==e.clipPath&&e.clipPath.use&&void 0!==r[n].transform.clip){var l="rectangle"===e.clipPath.type?100-parseInt(r[n].transform.clip):100-Math.min(100,2*parseInt(r[n].transform.clip));switch(e.clipPath.origin){case"clr":case"rb":case"rt":case"r":e[n+"_mask"]="u:t;x:"+l+"%;y:0px;",r[n].transform.x=i.revToResp("-"+l+"%",i[t].rle);break;case"crl":case"lb":case"lt":case"cv":case"l":e[n+"_mask"]="u:t;x:-"+l+"%;y:0px;",r[n].transform.x=i.revToResp(l+"%",i[t].rle);break;case"ch":case"t":e[n+"_mask"]="u:t;y:-"+l+"%;y:0px;",r[n].transform.y=i.revToResp(l+"%",i[t].rle);break;case"b":e[n+"_mask"]="u:t;y:"+l+"%;y:0px;",r[n].transform.y=i.revToResp("-"+l+"%",i[t].rle)}delete r[n].transform.clip,delete r[n].transform.clipB,e.maskinuse=!0}e[n+"_mask"]&&(r[n].mask=b(e[n+"_mask"],t).transform),null!=r[n].mask&&r[n].mask.use?(r[n].mask.x=void 0===r[n].mask.x?0:r[n].mask.x,r[n].mask.y=void 0===r[n].mask.y?0:r[n].mask.y,delete r[n].mask.use,r[n].mask.overflow="hidden"):r[n].mask={ease:"default",overflow:"visible"},e[n+"_chars"]&&(r[n].chars=b(e[n+"_chars"],t,void 0,void 0,"split").transform),e[n+"_words"]&&(r[n].words=b(e[n+"_words"],t,void 0,void 0,"split").transform),e[n+"_lines"]&&(r[n].lines=b(e[n+"_lines"],t,void 0,void 0,"split").transform),(e[n+"_chars"]||e[n+"_words"]||e[n+"_lines"])&&(r[n].split=!0),r.frame_0=void 0===r.frame_0?{transform:{}}:r.frame_0,r[n].transform.auto&&(r[n].transform=jQuery.extend(!0,{},r.frame_0.transform),r[n].transform.opacity=void 0===r[n].transform.opacity?0:r[n].transform.opacity,void 0!==r.frame_0.filter&&(r[n].filter=jQuery.extend(!0,{},r.frame_0.filter)),void 0!==r.frame_0.mask&&(r[n].mask=jQuery.extend(!0,{},r.frame_0.mask)),void 0!==r.frame_0.chars&&(r[n].chars=jQuery.extend(!0,{},r.frame_0.chars)),void 0!==r.frame_0.words&&(r[n].words=jQuery.extend(!0,{},r.frame_0.words)),void 0!==r.frame_0.lines&&(r[n].lines=jQuery.extend(!0,{},r.frame_0.lines))),e[n+"_sfx"]&&(r[n].sfx=b(e[n+"_sfx"],t,!1,void 0,"sfx").transform),e[n+"_reverse"]&&(r[n].reverse=b(e[n+"_reverse"],t,!1,void 0,"reverse").transform)}}if(r.frame_0.split&&(r.frame_1.split=!0),void 0!==r.frame_0.transform.fpr&&(e.forceRender=r.frame_0.transform.fpr,delete r.frame_0.transform.fpr),void 0===e.frame_hover&&void 0===e.svgh||(r.frame_hover=b(void 0===e.frame_hover?"":e.frame_hover,t),!a||"true"!=r.frame_hover.transform.instantClick&&1!=r.frame_hover.transform.instantClick?(delete r.frame_hover.transform.instantClick,r.frame_hover.transform.color=r.frame_hover.color,void 0===r.frame_hover.transform.color&&delete r.frame_hover.transform.color,void 0!==r.frame_hover.bgcolor&&r.frame_hover.bgcolor.indexOf("gradient")>=0?r.frame_hover.transform.backgroundImage=r.frame_hover.bgcolor:void 0!==r.frame_hover.bgcolor&&(r.frame_hover.transform.backgroundColor=r.frame_hover.bgcolor),void 0!==r.frame_hover.bgcolor&&(e.bgcolinuse=!0),r.frame_hover.transform.opacity=void 0===r.frame_hover.transform.opacity?1:r.frame_hover.transform.opacity,r.frame_hover.mask=void 0!==r.frame_hover.transform.mask&&r.frame_hover.transform.mask,delete r.frame_hover.transform.mask,void 0!==r.frame_hover.transform&&((r.frame_hover.transform.borderWidth||r.frame_hover.transform.borderStyle)&&(r.frame_hover.transform.borderColor=void 0===r.frame_hover.transform.borderColor?"transparent":r.frame_hover.transform.borderColor),"none"!==r.frame_hover.transform.borderStyle&&void 0===r.frame_hover.transform.borderWidth&&(r.frame_hover.transform.borderWidth=i.revToResp(0,4,0).toString().replace(/,/g," ")),void 0===e.bordercolor&&void 0!==r.frame_hover.transform.borderColor&&(e.bordercolor="transparent"),void 0===e.borderwidth&&void 0!==r.frame_hover.transform.borderWidth&&(e.borderwidth=i.revToResp(r.frame_hover.transform.borderWidth,4,0)),void 0===e.borderstyle&&void 0!==r.frame_hover.transform.borderStyle&&(e.borderstyle=i.revToResp(r.frame_hover.transform.borderStyle,4,0)))):delete r.frame_hover),void 0!==e.tloop){e.layerLoop={from:"frame_1",to:"frame_999",repeat:-1,keep:!0,children:!0};var d=e.tloop.split(";");for(var o in d)if(d.hasOwnProperty(o)){var c=d[o].split(":");switch(c[0]){case"f":e.layerLoop.from=c[1];break;case"t":e.layerLoop.to=c[1];break;case"k":e.layerLoop.keep=c[1];break;case"r":e.layerLoop.repeat=parseInt(c[1],0);break;case"c":e.layerLoop.children=c[1]}}e.layerLoop.count=0}for(var o in(e.loop_0||e.loop_999)&&(r.loop=b(e.loop_999,t,!0,"frame_999","loop"),r.loop.frame_0=b(e.loop_0||"",t,!1,void 0,"loop").transform),r.frame_0.transform.opacity=void 0===r.frame_0.transform.opacity?0:r.frame_0.transform.opacity,r.frame_1.transform.opacity=void 0===r.frame_1.transform.opacity?1:r.frame_1.transform.opacity,r.frame_999.transform.opacity=void 0===r.frame_999.transform.opacity?"inherit":r.frame_999.transform.opacity,r.frame_0.transform.transformPerspective=void 0===r.frame_0.transform.transformPerspective?"600px":r.frame_0.transform.transformPerspective,e.clipPath&&e.clipPath.use&&(r.frame_0.transform.clip=void 0===r.frame_0.transform.clip?100:parseInt(r.frame_0.transform.clip),r.frame_1.transform.clip=void 0===r.frame_1.transform.clip?100:parseInt(r.frame_1.transform.clip)),e.resetfilter=!1,r)void 0!==r[o].filter&&(e.resetfilter=!0);return e.resetfilter&&(r.frame_0.filter=jQuery.extend(!0,{},r.frame_0.filter),r.frame_0.filter.blur=void 0===r.frame_0.filter.blur?0:r.frame_0.filter.blur,r.frame_0.filter.brightness=void 0===r.frame_0.filter.brightness?100:r.frame_0.filter.brightness,r.frame_0.filter.grayscale=void 0===r.frame_0.filter.grayscale?0:r.frame_0.filter.grayscale),void 0!==r.frame_0.filter&&(r.frame_1.filter=jQuery.extend(!0,{},r.frame_1.filter),void 0!==r.frame_0.filter.blur&&0!==r.frame_1.filter.blur&&(r.frame_1.filter.blur=void 0===r.frame_1.filter.blur?0:r.frame_1.filter.blur),void 0!==r.frame_0.filter.brightness&&100!==r.frame_1.filter.brightness&&(r.frame_1.filter.brightness=void 0===r.frame_1.filter.brightness?100:r.frame_1.filter.brightness),void 0!==r.frame_0.filter.grayscale&&0!==r.frame_1.filter.grayscale&&(r.frame_1.filter.grayscale=void 0===r.frame_1.filter.grayscale?0:r.frame_1.filter.grayscale)),_(r)},_=function(e){var t,i={},a=["transform","words","chars","lines","mask"];for(var r in e)"loop"!==r&&"frame_hover"!==r&&(i=jQuery.extend(!0,i,e[r]));for(var r in e)if(e.hasOwnProperty(r)&&"loop"!==r&&"frame_hover"!==r){for(t in i.transform)i.transform.hasOwnProperty(t)&&(i.transform[t]=void 0===e[r].transform[t]?"frame_0"===r?window.rdF0.transform[t]:"frame_1"===r?window.rdF1.transform[t]:i.transform[t]:e[r].transform[t],e[r].transform[t]=void 0===e[r].transform[t]?i.transform[t]:e[r].transform[t]);for(var o=1;o<=4;o++)for(t in i[a[o]])i[a[o]].hasOwnProperty(t)&&(e[r][a[o]]=void 0===e[r][a[o]]?{}:e[r][a[o]],i[a[o]][t]=void 0===e[r][a[o]][t]?"frame_0"===r?window.rdF0[a[o]][t]:"frame_1"===r?window.rdF1[a[o]][t]:i[a[o]][t]:e[r][a[o]][t],e[r][a[o]][t]=void 0===e[r][a[o]][t]?i[a[o]][t]:e[r][a[o]][t])}return e},x=function(e,t,i){if(0===e.length)return{};for(var a=e[0].getElementsByClassName(t),r={},o=0;o<a.length;o++)void 0!==i&&-1!==a[o].className.indexOf(i)||(r[a[o].id]=a[o]);return r},k=function(e){return"thin"===(e=jQuery.isNumeric(e)?e:e.toLowerCase())?"00":"extra light"===e?200:"light"===e?300:"normal"===e?400:"medium"===e?500:"semi bold"===e?600:"bold"===e?700:"extra bold"===e?800:"ultra bold"===e?900:"black"===e?900:e},T=function(e,t,a){if("BR"==e[0].nodeName||"br"==e[0].tagName||"object"!=typeof e[0].className&&e[0].className.indexOf("rs_splitted_")>=0)return!1;i.sA(e[0],"stylerecorder",!0);var r=window.getComputedStyle(e[0],null),o=void 0!==e[0].id&&void 0!==i[a]._L[e[0].id]?i[a]._L[e[0].id]:e.data(),s="rekursive"===t?e.closest(".rs-layer"):void 0,n=void 0!==s&&r.fontSize==s.css("fontSize")&&k(r.fontWeight)==k(s.css("fontWeight"))&&r.lineHeight==s.css("lineHeight"),l=n?void 0!==s[0].id&&void 0!==i[a]._L[s[0].id]?i[a]._L[s[0].id]:s.data():void 0,d=0;o.basealign=void 0===o.basealign?"grid":o.basealign,o._isnotext||(o.fontSize=i.revToResp(n?void 0===l.fontsize?parseInt(s.css("fontSize"),0)||20:l.fontsize:void 0===o.fontsize?"rekursive"!==t?20:"inherit":o.fontsize,i[a].rle),o.fontWeight=i.revToResp(n?void 0===l.fontweight?s.css("fontWeight")||"inherit":l.fontweight:void 0===o.fontweight?e.css("fontWeight")||"inherit":o.fontweight,i[a].rle),o.whiteSpace=i.revToResp(n?void 0===l.whitespace?"nowrap":l.whitespace:void 0===o.whitespace?"nowrap":o.whitespace,i[a].rle),o.textAlign=i.revToResp(n?void 0===l.textalign?"left":l.textalign:void 0===o.textalign?"left":o.textalign,i[a].rle),o.letterSpacing=i.revToResp(n?void 0===l.letterspacing?parseInt(s.css("letterSpacing"),0)||"inherit":l.letterspacing:void 0===o.letterspacing?parseInt(e.css("letterSpacing"),0)||"inherit":o.letterspacing,i[a].rle),o.textDecoration=n?void 0===l.textDecoration?"none":l.textDecoration:void 0===o.textDecoration?"none":o.textDecoration,d=25,d=void 0!==s&&"I"===e[0].tagName?"inherit":d,void 0!==o.tshadow&&(o.tshadow.b=i.revToResp(o.tshadow.b,i[a].rle),o.tshadow.h=i.revToResp(o.tshadow.h,i[a].rle),o.tshadow.v=i.revToResp(o.tshadow.v,i[a].rle))),void 0!==o.bshadow&&(o.bshadow.b=i.revToResp(o.bshadow.b,i[a].rle),o.bshadow.h=i.revToResp(o.bshadow.h,i[a].rle),o.bshadow.v=i.revToResp(o.bshadow.v,i[a].rle),o.bshadow.s=i.revToResp(o.bshadow.s,i[a].rle)),o.display=n?void 0===l.display?s.css("display"):l.display:void 0===o.display?e.css("display"):o.display,o.float=i.revToResp(n?void 0===l.float?s.css("float")||"none":l.float:void 0===o.float?"none":o.float,i[a].rle),o.clear=i.revToResp(n?void 0===l.clear?s.css("clear")||"none":l.clear:void 0===o.clear?"none":o.clear,i[a].rle),o.lineHeight=i.revToResp(e.is("img")||-1!=jQuery.inArray(o.layertype,["video","image","audio"])?d:n?void 0===l.lineheight?parseInt(s.css("lineHeight"),0)||d:l.lineheight:void 0===o.lineheight?d:o.lineheight,i[a].rle),o.zIndex=n?void 0===l.zindex?parseInt(s.css("zIndex"),0)||"inherit":l.zindex:void 0===o.zindex?parseInt(e.css("zIndex"),0)||"inherit":o.zindex,o.paddingTop=i.revToResp(void 0===o.paddingtop?parseInt(r.paddingTop,0)||0:o.paddingtop,i[a].rle),o.paddingBottom=i.revToResp(void 0===o.paddingbottom?parseInt(r.paddingBottom,0)||0:o.paddingbottom,i[a].rle),o.paddingLeft=i.revToResp(void 0===o.paddingleft?parseInt(r.paddingLeft,0)||0:o.paddingleft,i[a].rle),o.paddingRight=i.revToResp(void 0===o.paddingright?parseInt(r.paddingRight,0)||0:o.paddingright,i[a].rle),o.marginTop=i.revToResp(void 0===o.margintop?parseInt(r.marginTop,0)||0:o.margintop,i[a].rle),o.marginBottom=i.revToResp(void 0===o.marginbottom?parseInt(r.marginBottom,0)||0:o.marginbottom,i[a].rle),o.marginLeft=i.revToResp(void 0===o.marginleft?parseInt(r.marginLeft,0)||0:o.marginleft,i[a].rle),o.marginRight=i.revToResp(void 0===o.marginright?parseInt(r.marginRight,0)||0:o.marginright,i[a].rle),o.borderTopWidth=void 0===o.borderwidth?parseInt(r.borderTopWidth,0)||0:o.borderwidth[0],o.borderBottomWidth=void 0===o.borderwidth?parseInt(r.borderBottomWidth,0)||0:o.borderwidth[2],o.borderLeftWidth=void 0===o.borderwidth?parseInt(r.borderLeftWidth,0)||0:o.borderwidth[3],o.borderRightWidth=void 0===o.borderwidth?parseInt(r.borderRightWidth,0)||0:o.borderwidth[1],o.borderTopLeftRadius=i.revToResp(void 0===o.borderradius?r.borderTopLeftRadius||0:o.borderradius[0],i[a].rle),o.borderTopRightRadius=i.revToResp(void 0===o.borderradius?r.borderTopRightRadius||0:o.borderradius[1],i[a].rle),o.borderBottomLeftRadius=i.revToResp(void 0===o.borderradius?r.borderBottomLeftRadius||0:o.borderradius[3],i[a].rle),o.borderBottomRightRadius=i.revToResp(void 0===o.borderradius?r.borderBottomRightRadius||0:o.borderradius[2],i[a].rle),o.borderStyle=i.revToResp(void 0===o.borderstyle?r.borderStyle||0:o.borderstyle,i[a].rle),o.borderBottomColor=void 0===o.bordercolor?r["border-bottom-color"]:o.bordercolor,o.borderTopColor=void 0===o.bordercolor?r["border-top-color"]:o.bordercolor,o.borderLeftColor=void 0===o.bordercolor?r["border-left-color"]:o.bordercolor,o.borderRightColor=void 0===o.bordercolor?r["border-right-color"]:o.bordercolor,"rekursive"!==t?(o.color=i.revToResp(void 0===o.color?"#ffffff":o.color,i[a].rle,void 0,"||"),o.minWidth=i.revToResp(void 0===o.minwidth?parseInt(r.minWidth,0)||0:o.minwidth,i[a].rle),o.minHeight=i.revToResp(void 0===o.minheight?parseInt(r.minHeight,0)||0:o.minheight,i[a].rle),o.width=i.revToResp(void 0===o.width?"auto":i.smartConvertDivs(o.width),i[a].rle),o.height=i.revToResp(void 0===o.height?"auto":i.smartConvertDivs(o.height),i[a].rle),o.maxWidth=i.revToResp(void 0===o.maxwidth?parseInt(r.maxWidth,0)||"none":o.maxwidth,i[a].rle),o.maxHeight=i.revToResp(-1!==jQuery.inArray(o.type,["column","row"])?"none":void 0!==o.maxheight?parseInt(r.maxHeight,0)||"none":o.maxheight,i[a].rle)):"html"===o.layertype&&(o.width=i.revToResp(e[0].width,i[a].rle),o.height=i.revToResp(e[0].height,i[a].rle)),o.styleProps={background:e[0].style.background,"background-color":e[0].style["background-color"],color:e[0].style.color,cursor:e[0].style.cursor,"font-style":e[0].style["font-style"]},null==o.bshadow&&(o.styleProps.boxShadow=e[0].style.boxShadow),""!==o.styleProps.background&&void 0!==o.styleProps.background&&o.styleProps.background!==o.styleProps["background-color"]||delete o.styleProps.background,""==o.styleProps.color&&(o.styleProps.color=r.color)},L=function(e,t){if(void 0!==e){if("BR"==e[0].nodeName||"br"==e[0].tagName)return!1;var a=i[t].level,r=void 0!==e[0]&&void 0!==e[0].id&&void 0!==i[t]._L[e[0].id]?i[t]._L[e[0].id]:e.data();if(void 0===(r=void 0===r.basealign?e.closest("rs-layer").data():r)._isnotext){var o=e.closest("rs-layer")[0];r._isnotext=void 0!==o&&o.length>0?i.gA(o,"_isnotext"):r._isnotext}var s={basealign:void 0===r.basealign?"grid":r.basealign,lineHeight:void 0===r.basealign?"inherit":parseInt(r.lineHeight[a]),color:void 0===r.color?void 0:r.color[a],width:void 0===r.width?void 0:"a"===r.width[a]?"auto":r.width[a],height:void 0===r.height?void 0:"a"===r.height[a]?"auto":r.height[a],minWidth:void 0===r.minWidth?void 0:"n"===r.minWidth[a]?"none":r.minWidth[a],minHeight:void 0===r.minHeight?void 0:"n"==r.minHeight[a]?"none":r.minHeight[a],maxWidth:void 0===r.maxWidth?void 0:"n"==r.maxWidth[a]?"none":r.maxWidth[a],maxHeight:void 0===r.maxHeight?void 0:"n"==r.maxHeight[a]?"none":r.maxHeight[a],paddingTop:r.paddingTop[a],paddingBottom:parseInt(r.paddingBottom[a]),paddingLeft:parseInt(r.paddingLeft[a]),paddingRight:parseInt(r.paddingRight[a]),marginTop:parseInt(r.marginTop[a]),marginBottom:parseInt(r.marginBottom[a]),marginLeft:parseInt(r.marginLeft[a]),marginRight:parseInt(r.marginRight[a]),borderTopWidth:parseInt(r.borderTopWidth),borderBottomWidth:parseInt(r.borderBottomWidth),borderLeftWidth:parseInt(r.borderLeftWidth),borderRightWidth:parseInt(r.borderRightWidth),borderTopLeftRadius:r.borderTopLeftRadius[a],borderTopRightRadius:r.borderTopRightRadius[a],borderBottomLeftRadius:r.borderBottomLeftRadius[a],borderBottomRightRadius:r.borderBottomRightRadius[a],borderStyle:r.borderStyle[a],float:r.float[a],clear:r.clear[a]};return s.borderTopColor=r.borderTopColor,s.borderBottomColor=r.borderBottomColor,s.borderLeftColor=r.borderLeftColor,s.borderRightColor=r.borderRightColor,r._isnotext||(s.textDecoration=r.textDecoration,s.fontSize=parseInt(r.fontSize[a]),s.fontWeight=parseInt(r.fontWeight[a]),s.letterSpacing=parseInt(r.letterSpacing[a])||0,s.textAlign=r.textAlign[a],s.whiteSpace=r.whiteSpace[a],s.whiteSpace="normal"===s.whiteSpace&&"auto"===s.width&&!0!==r._incolumn?"nowrap":s.whiteSpace,s.display=r.display,void 0!==r.tshadow&&(s.textShadow=parseInt(r.tshadow.h[a],0)+"px "+parseInt(r.tshadow.v[a],0)+"px "+r.tshadow.b[a]+" "+r.tshadow.c),void 0!==r.tstroke&&(s.textStroke=parseInt(r.tstroke.w,0)+"px "+r.tstroke.c)),void 0!==r.bshadow&&(s.boxShadow=parseInt(r.bshadow.h[a],0)+"px "+parseInt(r.bshadow.v[a],0)+"px "+parseInt(r.bshadow.b[a],0)+"px "+parseInt(r.bshadow.s[a],0)+"px "+r.bshadow.c),s}},I=function(e,t,i,a,r){var o=jQuery.isNumeric(e)||void 0===e?"":e.indexOf("px")>=0?"px":e.indexOf("%")>=0?"%":"";return e=jQuery.isNumeric(parseInt(e))?parseInt(e):e,e=null==(e="full"===(e=jQuery.isNumeric(e)?e*t+o:e)?a:"auto"===e||"none"===e?i:e)?r:e},A=function(e,t,a,r,o){var s=i[t]._L[e[0].id];s=void 0===s?{}:s;var n=e[0].className;if("object"==typeof n&&(n=""),void 0!==e&&void 0!==e[0]&&(n.indexOf("rs_splitted")>=0||"BR"==e[0].nodeName||"br"==e[0].tagName||e[0].tagName.indexOf("FCR")>0||e[0].tagName.indexOf("BCR")>0))return!1;var l,d,c,p,u=L(e,t),h="off"===r?1:i[t].bw,g="off"===r?1:i[t].bh,f="column"!==s.type?{t:u.marginTop,b:u.marginBottom,l:u.marginLeft,r:u.marginRight}:{t:0,b:0,l:0,r:0};if(void 0===s._isnotext){var m=e.closest("rs-layer")[0];s._isnotext=void 0!==m&&m.length>0?i.gA(m,"_isnotext"):s._isnotext}if("column"===s.type&&punchgs.TweenMax.set(s._column,{paddingTop:Math.round(u.marginTop*g)+"px",paddingBottom:Math.round(u.marginBottom*g)+"px",paddingLeft:Math.round(u.marginLeft*h)+"px",paddingRight:Math.round(u.marginRight*h)+"px"}),-1===n.indexOf("rs_splitted_")){var v={paddingTop:Math.round(u.paddingTop*g)+"px",paddingBottom:Math.round(u.paddingBottom*g)+"px",paddingLeft:Math.round(u.paddingLeft*h)+"px",paddingRight:Math.round(u.paddingRight*h)+"px",borderTopLeftRadius:u.borderTopLeftRadius,borderTopRightRadius:u.borderTopRightRadius,borderBottomLeftRadius:u.borderBottomLeftRadius,borderBottomRightRadius:u.borderBottomRightRadius,overwrite:"auto"};if(s._incolumn||(v.marginTop="row"===s.type?0:f.t*g+"px",v.marginBottom="row"===s.type?0:f.b*g+"px",v.marginLeft="row"===s.type?0:f.l*h+"px",v.marginRight="row"===s.type?0:f.r*h+"px"),void 0!==s.spike&&(v["clip-path"]=v["-webkit-clip-path"]=s.spike),u.boxShadow&&(v.boxShadow=u.boxShadow),"column"!==s.type&&(void 0!==u.borderStyle&&"none"!==u.borderStyle&&(0!==u.borderTopWidth||u.borderBottomWidth>0||u.borderLeftWidth>0||u.borderRightWidth>0)?(v.borderTopWidth=Math.round(u.borderTopWidth*g)+"px",v.borderBottomWidth=Math.round(u.borderBottomWidth*g)+"px",v.borderLeftWidth=Math.round(u.borderLeftWidth*h)+"px",v.borderRightWidth=Math.round(u.borderRightWidth*h)+"px",v.borderStyle=u.borderStyle,v.borderTopColor=u.borderTopColor,v.borderBottomColor=u.borderBottomColor,v.borderLeftColor=u.borderLeftColor,v.borderRightColor=u.borderRightColor):("none"===u.borderStyle&&(v.borderStyle="none"),v.borderTopColor=u.borderTopColor,v.borderBottomColor=u.borderBottomColor,v.borderLeftColor=u.borderLeftColor,v.borderRightColor=u.borderRightColor)),"shape"!==s.type&&"image"!==s.type||0===u.borderTopLeftRadius&&0===u.borderTopRightRadius&&0===u.borderBottomLeftRadius&&0===u.borderBottomRightRadius||(v.overflow="hidden"),s._isnotext||("column"!==s.type&&(v.fontSize=Math.round(u.fontSize*h)+"px",v.fontWeight=u.fontWeight,v.letterSpacing=u.letterSpacing*h+"px",u.textShadow&&(v.textShadow=u.textShadow),u.textStroke&&(v["-webkit-text-stroke"]=u.textStroke)),v.lineHeight=Math.round(u.lineHeight*g)+"px",v.textAlign=u.textAlign),"column"===s.type&&(void 0===s.cbg_set&&(s.cbg_set=s.styleProps["background-color"],s.cbg_set=""==s.cbg_set||void 0===s.cbg_set||0==s.cbg_set.length?"transparent":s.cbg_set,s.cbg_img=e.css("backgroundImage"),s.cbg_img_r=e.css("backgroundRepeat"),s.cbg_img_p=e.css("backgroundPosition"),s.cbg_img_s=e.css("backgroundSize"),s.cbg_o=s.bgopacity?1:s.bgopacity,punchgs.TweenMax.set(e,{backgroundColor:"transparent",backgroundImage:""})),v.backgroundColor="transparent",v.backgroundImage="none"),s._isstatic&&s.elementHovered&&(l=e.data("frames"))&&l.frame_hover&&l.frame_hover.transform)for(d in v)v.hasOwnProperty(d)&&l.frame_hover.transform.hasOwnProperty(d)&&delete v[d];if("IFRAME"==e[0].nodeName&&"html"===i.gA(e[0],"layertype")&&(c="slide"==u.basealign?i[t].ulw:i.iWA(t,o),p="slide"==u.basealign?i[t].ulh:i.iHE(t),v.width=!jQuery.isNumeric(u.width)&&u.width.indexOf("%")>=0?!s._isstatic||s._incolumn||s._ingroup?u.width:c*parseInt(u.width,0)/100:I(u.width,h,"auto",c,"auto"),v.height=!jQuery.isNumeric(u.height)&&u.height.indexOf("%")>=0?!s._isstatic||s._incolumn||s._ingroup?u.height:p*parseInt(u.height,0)/100:I(u.height,g,"auto",c,"auto")),punchgs.TweenMax.set(e,v),"rekursive"!=a){c="slide"==u.basealign?i[t].ulw:i.iWA(t,o),p="slide"==u.basealign?i[t].ulh:i.iHE(t);var y=!jQuery.isNumeric(u.width)&&u.width.indexOf("%")>=0?!s._isstatic||s._incolumn||s._ingroup?u.width:c*parseInt(u.width,0)/100:I(u.width,h,"auto",c,"auto"),b=!jQuery.isNumeric(u.height)&&u.height.indexOf("%")>=0?!s._isstatic||s._incolumn||s._ingroup?u.height:p*parseInt(u.height,0)/100:I(u.height,g,"auto",c,"auto"),w={maxWidth:I(u.maxWidth,h,"none",c,"none"),maxHeight:I(u.maxHeight,g,"none",p,"none"),minWidth:I(u.minWidth,h,"0px",c,0),minHeight:I(u.minHeight,g,"0px",p,0),height:b,width:y,overwrite:"auto"};if(1==s.heightSetByVideo&&delete w.height,s._incolumn?(punchgs.TweenMax.set([s.p],{minWidth:y,maxWidth:y,marginTop:f.t*g+"px",marginBottom:f.b*g+"px",marginLeft:f.l*h+"px",marginRight:f.r*h+"px",float:u.float,clear:u.clear}),punchgs.TweenMax.set("block"===u.display?[s.lp]:[s.lp,s.m],{width:"100%"}),w.width=!jQuery.isNumeric(u.width)&&u.width.indexOf("%")>=0?"100%":y,"image"===s.type&&punchgs.TweenMax.set(s.img,{width:w.width})):!jQuery.isNumeric(u.width)&&u.width.indexOf("%")>=0&&(punchgs.TweenMax.set([s.p],{minWidth:"slide"===s.basealign||!0===s._ingroup?y:i.iWA(t,o)*i[t].bw+"px"}),punchgs.TweenMax.set([s.lp,s.m],{width:"100%"})),!jQuery.isNumeric(u.height)&&u.height.indexOf("%")>=0&&(punchgs.TweenMax.set([s.p],{minHeight:"slide"===s.basealign||!0===s._ingroup?b:i.iHE(t)*i[t].bw+"px"}),punchgs.TweenMax.set([s.lp,s.m],{height:"100%"})),s._isnotext||(w.whiteSpace=u.whiteSpace,w.textAlign=u.textAlign,w.textDecoration=u.textDecoration),"npc"!=u.color&&void 0!==u.color&&(w.color=u.color),s._ingroup&&(s._groupw=w.minWidth,s._grouph=w.minHeight),"row"===s.type&&(jQuery.isNumeric(w.minHeight)||w.minHeight.indexOf("px")>=0)&&"0px"!==w.minHeight&&0!==w.minHeight&&"0"!==w.minHeight&&"none"!==w.minHeight?w.height=w.minHeight:"row"===s.type&&(w.height="auto"),s._isstatic&&s.elementHovered&&(l=e.data("frames"))&&l.frame_hover&&l.frame_hover.transform)for(d in w)w.hasOwnProperty(d)&&l.frame_hover.transform.hasOwnProperty(d)&&delete w[d];"image"===s.type&&(!jQuery.isNumeric(w.width)&&w.width.indexOf("%")>=0&&(w.width="100%"),!jQuery.isNumeric(w.height)&&w.height.indexOf("%")>=0&&(w.height="100%")),s._isgroup&&(!jQuery.isNumeric(w.width)&&w.width.indexOf("%")>=0&&(w.width="100%"),punchgs.TweenMax.set(s.p,{height:w.height})),punchgs.TweenMax.set(e,w),null!=s.svg_src&&void 0!==s.svgI&&("string"==typeof s.svgI.fill&&(s.svgI.fill=[s.svgI.fill]),s.svgTemp=jQuery.extend(!0,{},s.svgI),s.svgTemp.fill=s.svgTemp.fill[i[t].level],punchgs.TweenMax.set(s.svg,s.svgTemp),punchgs.TweenMax.set(s.svgPath,{fill:s.svgI.fill[i[t].level]}))}"row"===s.type&&(v={paddingTop:f.t*g+"px",paddingBottom:f.b*g+"px",paddingLeft:f.l*h+"px",paddingRight:f.r*h+"px"},punchgs.TweenMax.set(s.p,v)),"column"===s.type&&s.cbg&&s.cbg.length>0&&(s.cbg[0].style.backgroundSize=s.cbg_img_s,punchgs.TweenMax.set(s.cbg,{cursor:s.styleProps.cursor,borderTopWidth:Math.round(u.borderTopWidth*g)+"px",borderBottomWidth:Math.round(u.borderBottomWidth*g)+"px",borderLeftWidth:Math.round(u.borderLeftWidth*h)+"px",borderRightWidth:Math.round(u.borderRightWidth*h)+"px",borderStyle:u.borderStyle,borderTopColor:u.borderTopColor,borderBottomColor:u.borderBottomColor,borderLeftColor:u.borderLeftColor,borderRightColor:u.borderRightColor,borderTopLeftRadius:u.borderTopLeftRadius,borderTopRightRadius:u.borderTopRightRadius,borderBottomLeftRadius:u.borderBottomLeftRadius,borderBottomRightRadius:u.borderBottomRightRadius,backgroundColor:s.cbg_set,backgroundImage:s.cbg_img,backgroundRepeat:s.cbg_img_r,backgroundPosition:s.cbg_img_p,opacity:s.cbg_o}),punchgs.TweenMax.set(s.cbgmask,{top:u.marginTop*g+"px",left:u.marginLeft*h+"px",right:u.marginRight*h+"px",bottom:u.marginBottom*g+"px"}))}},R=function(e){var t={l:"none",lw:10,r:"none",rw:10};for(var i in e=e.split(";"))if(e.hasOwnProperty(i)){var a=e[i].split(":");switch(a[0]){case"l":t.l=a[1];break;case"r":t.r=a[1];break;case"lw":t.lw=a[1];break;case"rw":t.rw=a[1]}}return"polygon("+S(t.l,0,parseFloat(t.lw))+","+S(t.r,100,100-parseFloat(t.rw),!0)+")"},S=function(e,t,i,a){var r;switch(e){case"none":r=t+"% 100%,"+t+"% 0%";break;case"top":r=i+"% 100%,"+t+"% 0%";break;case"middle":r=i+"% 100%,"+t+"% 50%,"+i+"% 0%";break;case"bottom":r=t+"% 100%,"+i+"% 0%";break;case"two":r=i+"% 100%,"+t+"% 75%,"+i+"% 50%,"+t+"% 25%,"+i+"% 0%";break;case"three":r=t+"% 100%,"+i+"% 75%,"+t+"% 50%,"+i+"% 25%,"+t+"% 0%";break;case"four":r=t+"% 100%,"+i+"% 87.5%,"+t+"% 75%,"+i+"% 62.5%,"+t+"% 50%,"+i+"% 37.5%,"+t+"% 25%,"+i+"% 12.5%,"+t+"% 0%";break;case"five":r=t+"% 100%,"+i+"% 90%,"+t+"% 80%,"+i+"% 70%,"+t+"% 60%,"+i+"% 50%,"+t+"% 40%,"+i+"% 30%,"+t+"% 20%,"+i+"% 10%,"+t+"% 0%"}if(a){var o=r.split(",");for(var i in r="",o)o.hasOwnProperty(i)&&(r+=o[o.length-1-i]+(i<o.length-1?",":""))}return r}}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution,i=t.is_mobile();function a(e,i){var a=new Object({single:".tp-"+i,c:t[e].cpar.find(".tp-"+i+"s")});return a.mask=a.c.find(".tp-"+i+"-mask"),a.wrap=a.c.find(".tp-"+i+"s-inner-wrapper"),a}jQuery.extend(!0,t,{hideUnHideNav:function(e){var i=t[e].c.width(),a=t[e].navigation.arrows,r=t[e].navigation.bullets,o=t[e].navigation.thumbnails,s=t[e].navigation.tabs;p(a)&&T(t[e].c.find(".tparrows"),a.hide_under,i,a.hide_over),p(r)&&T(t[e].c.find(".tp-bullets"),r.hide_under,i,r.hide_over),p(o)&&T(o.c,o.hide_under,i,o.hide_over),p(s)&&T(s.c,s.hide_under,i,s.hide_over),k(e)},resizeThumbsTabs:function(e,i){if(void 0!==t[e]&&t[e].navigation.use&&(t[e].navigation&&t[e].navigation.bullets.enable||t[e].navigation&&t[e].navigation.tabs.enable||t[e].navigation&&t[e].navigation.thumbnails.enable)){var a=(jQuery(window).width()-480)/500,r=new punchgs.TimelineLite,s=t[e].navigation.tabs,n=t[e].navigation.thumbnails,l=t[e].navigation.bullets;if(r.pause(),a=a>1?1:a<0?0:a,p(s)&&(i||s.width>s.min_width)&&o(a,r,t[e].c,s,t[e].slideamount,"tab"),p(n)&&(i||n.width>n.min_width)&&o(a,r,t[e].c,n,t[e].slideamount,"thumb"),p(l)&&i){var d=t[e].c.find(".tp-bullets");d.find(".tp-bullet").each(function(e){var t=jQuery(this),i=e+1,a=t.outerWidth()+parseInt(void 0===l.space?0:l.space,0),r=t.outerHeight()+parseInt(void 0===l.space?0:l.space,0);"vertical"===l.direction?(t.css({top:(i-1)*r+"px",left:"0px"}),d.css({height:(i-1)*r+t.outerHeight(),width:t.outerWidth()})):(t.css({left:(i-1)*a+"px",top:"0px"}),d.css({width:(i-1)*a+t.outerWidth(),height:t.outerHeight()}))})}r.play(),k(e)}return!0},updateNavIndexes:function(e){var i=t[e].c;function a(e){i.find(e).lenght>0&&i.find(e).each(function(e){jQuery(this).data("liindex",e)})}a("rs-tab"),a("rs-bullet"),a("rs-thumb"),t.resizeThumbsTabs(e,!0),t.manageNavigation(e)},manageNavigation:function(e,i){if(t[e].navigation.use){var a=t.getHorizontalOffset(t[e].cpar,"left"),o=t.getHorizontalOffset(t[e].cpar,"right");p(t[e].navigation.bullets)&&("fullscreen"!=t[e].sliderLayout&&"fullwidth"!=t[e].sliderLayout&&(t[e].navigation.bullets.h_offset_old=void 0===t[e].navigation.bullets.h_offset_old?parseInt(t[e].navigation.bullets.h_offset,0):t[e].navigation.bullets.h_offset_old,t[e].navigation.bullets.h_offset="center"===t[e].navigation.bullets.h_align?t[e].navigation.bullets.h_offset_old+a/2-o/2:t[e].navigation.bullets.h_offset_old+a-o),w(t[e].c.find(".tp-bullets"),t[e].navigation.bullets,e)),p(t[e].navigation.thumbnails)&&w(t[e].navigation.thumbnails.c,t[e].navigation.thumbnails,e),p(t[e].navigation.tabs)&&w(t[e].navigation.tabs.c,t[e].navigation.tabs,e),p(t[e].navigation.arrows)&&("fullscreen"!=t[e].sliderLayout&&"fullwidth"!=t[e].sliderLayout&&(t[e].navigation.arrows.left.h_offset_old=void 0===t[e].navigation.arrows.left.h_offset_old?parseInt(t[e].navigation.arrows.left.h_offset,0):t[e].navigation.arrows.left.h_offset_old,t[e].navigation.arrows.left.h_offset="right"===t[e].navigation.arrows.left.h_align?t[e].navigation.arrows.left.h_offset_old+o:t[e].navigation.arrows.left.h_offset_old+a,t[e].navigation.arrows.right.h_offset_old=void 0===t[e].navigation.arrows.right.h_offset_old?parseInt(t[e].navigation.arrows.right.h_offset,0):t[e].navigation.arrows.right.h_offset_old,t[e].navigation.arrows.right.h_offset="right"===t[e].navigation.arrows.right.h_align?t[e].navigation.arrows.right.h_offset_old+o:t[e].navigation.arrows.right.h_offset_old+a),w(t[e].c.find(".tp-leftarrow.tparrows"),t[e].navigation.arrows.left,e),w(t[e].c.find(".tp-rightarrow.tparrows"),t[e].navigation.arrows.right,e)),!1!==i&&(p(t[e].navigation.thumbnails)&&r(t[e].navigation.thumbnails,e),p(t[e].navigation.tabs)&&r(t[e].navigation.tabs,e))}},showFirstTime:function(e){h(e),t.callContWidthManager(e)},createNavigation:function(e){var o=t[e].navigation.arrows,l=t[e].navigation.bullets,g=t[e].navigation.thumbnails,m=t[e].navigation.tabs,y=p(o),b=p(l),w=p(g),k=p(m);s(e),n(e),y&&(v(o,e),o.c=t[e].cpar.find(".tparrows")),t[e].slides.each(function(i){if(-1===this.className.indexOf("not-in-nav")){var a=jQuery(t[e].slides[t[e].slides.length-1-i]),r=jQuery(this);b&&(t[e].navigation.bullets.rtl?_(t[e].c,l,a,e):_(t[e].c,l,r,e)),w&&(t[e].navigation.thumbnails.rtl?x(t[e].c,g,a,"tp-thumb",e):x(t[e].c,g,r,"tp-thumb",e)),k&&(t[e].navigation.tabs.rtl?x(t[e].c,m,a,"tp-tab",e):x(t[e].c,m,r,"tp-tab",e))}}),b&&(l.c=t[e].cpar.find(".tp-bullets")),w&&jQuery.extend(!0,g,a(e,"thumb")),k&&jQuery.extend(!0,m,a(e,"tab")),t[e].c.bind("revolution.slide.onafterswap revolution.nextslide.waiting",function(i){if(void 0!==t[e].pr_next_key||void 0!==t[e].pr_active_key){var a=void 0===t[e].pr_next_key?void 0===t[e].pr_cache_pr_next_key?t[e].pr_active_key:t[e].pr_cache_pr_next_key:t[e].pr_next_key,s=t.gA(t[e].slides[a],"key");t[e].c.find(".tp-bullet").each(function(){t.gA(this,"key")===s?this.classList.add("selected"):this.classList.remove("selected")}),t[e].cpar.find(".tp-thumb, .tp-tab").each(function(){t.gA(this,"key")===s?(this.classList.add("selected"),"RS-TAB"===this.nodeName?r(m,e):r(g,e)):this.classList.remove("selected")});var n=0,l=!1;t[e].thumbs&&jQuery.each(t[e].thumbs,function(e,t){n=!1===l?e:n,l=void 0!==t&&t.id===s||e===s||l});var d=n>0?n-1:t[e].slideamount-1,c=n+1==t[e].slideamount?0:n+1;if(!0===o.enable){var p=o.tmp;if(null!=t[e].thumbs[d]&&jQuery.each(t[e].thumbs[d].params,function(e,t){p=p.replace(t.from,t.to)}),o.left.j.html(p),p=o.tmp,c>t[e].slideamount)return;void 0!==t[e].thumbs[c]&&(jQuery.each(t[e].thumbs[c].params,function(e,t){p=p.replace(t.from,t.to)}),o.right.j.html(p),o.right.iholder=void 0===o.right.iholder?o.right.j.find(".tp-arr-imgholder"):o.right.iholder,o.left.iholder=void 0===o.left.iholder?o.left.j.find(".tp-arr-imgholder"):o.left.iholder,o.rtl?(void 0!==o.left.iholder[0]&&punchgs.TweenLite.set(o.left.iholder,{backgroundImage:"url("+t[e].thumbs[c].src+")"}),void 0!==t[e].thumbs[d]&&void 0!==o.right.iholder[0]&&punchgs.TweenLite.set(o.right.iholder,{backgroundImage:"url("+t[e].thumbs[d].src+")"})):(void 0!==t[e].thumbs[d]&&void 0!==o.left.iholder[0]&&punchgs.TweenLite.set(o.left.iholder,{backgroundImage:"url("+t[e].thumbs[d].src+")"}),void 0!==o.right.iholder[0]&&punchgs.TweenLite.set(o.right.iholder,{backgroundImage:"url("+t[e].thumbs[c].src+")"})))}}}),c(o),c(l),c(g),c(m),t[e].cpar.on("mouseenter mousemove",function(a){void 0!==a.target&&void 0!==a.target.className&&a.target.className.indexOf("rs-waction")>=0||t[e].cpar.hasClass("tp-mouseover")||(t[e].cpar.addClass("tp-mouseover"),t[e].firstSlideAvailable&&(h(e),i&&!0!==t[e].someNavIsDragged&&(u(t[e].hideAllNavElementTimer),t[e].hideAllNavElementTimer=setTimeout(function(){t[e].cpar.removeClass("tp-mouseover"),f(e)},150))))}),t[e].cpar.on("mouseleave ",function(){t[e].cpar.removeClass("tp-mouseover"),f(e)}),(w||k||"carousel"===t[e].sliderType||t[e].navigation.touch.touchOnDesktop||t[e].navigation.touch.touchenabled&&i)&&d(e)}});var r=function(e,i){var a="vertical"===e.direction?e.mask.find(e.single).first().outerHeight(!0)+e.space:e.mask.find(e.single).first().outerWidth(!0)+e.space,r="vertical"===e.direction?e.mask.height():e.mask.width(),o=e.mask.find(e.single+".selected").data("liindex");o=(o=void 0===o?0:o)>0&&1===t[i].sdir&&e.visibleAmount>1?o-1:o;var s=r/a,n="vertical"===e.direction?e.mask.height():e.mask.width(),l=0-o*a,d="vertical"===e.direction?e.wrap.height():e.wrap.width(),c=l<0-(d-n)?0-(d-n):l,p=t.gA(e.wrap[0],"offset");p=void 0===p?0:p,s>2&&(c=l-(p+a)<=0?l-(p+a)<0-a?p:c+a:c,c=l-a+p+r<a&&l+(Math.round(s)-2)*a<p?l+(Math.round(s)-2)*a:c),c="vertical"!==e.direction&&e.mask.width()>=e.wrap.width()||"vertical"===e.direction&&e.mask.height()>=e.wrap.height()?0:c<0-(d-n)?0-(d-n):c>0?0:c,e.c.hasClass("dragged")||("vertical"===e.direction?e.wrap.data("tmmove",punchgs.TweenMax.to(e.wrap,.5,{top:c+"px",ease:punchgs.Power3.easeInOut})):e.wrap.data("tmmove",punchgs.TweenMax.to(e.wrap,.5,{left:c+"px",ease:punchgs.Power3.easeInOut})),e.wrap.data("offset",c))},o=function(e,t,i,a,r,o){var s=i.parent().find(".tp-"+o+"s"),n=s.find(".tp-"+o+"s-inner-wrapper"),l=s.find(".tp-"+o+"-mask"),d=a.width*e<a.min_width?a.min_width:Math.round(a.width*e),c=Math.round(d/a.width*a.height),p="vertical"===a.direction?d:d*r+a.space*(r-1),u="vertical"===a.direction?c*r+a.space*(r-1):c,h="vertical"===a.direction?{width:d+"px"}:{height:c+"px"};t.add(punchgs.TweenLite.set(s,h)),t.add(punchgs.TweenLite.set(n,{width:p+"px",height:u+"px"})),t.add(punchgs.TweenLite.set(l,{width:p+"px",height:u+"px"}));var g=n.find(".tp-"+o);return g&&jQuery.each(g,function(e,i){"vertical"===a.direction?t.add(punchgs.TweenLite.set(i,{top:e*(c+parseInt(void 0===a.space?0:a.space,0)),width:d+"px",height:c+"px"})):"horizontal"===a.direction&&t.add(punchgs.TweenLite.set(i,{left:e*(d+parseInt(void 0===a.space?0:a.space,0)),width:d+"px",height:c+"px"}))}),t},s=function(e){!0===t[e].navigation.keyboardNavigation&&jQuery(document).keydown(function(i){("horizontal"==t[e].navigation.keyboard_direction&&39==i.keyCode||"vertical"==t[e].navigation.keyboard_direction&&40==i.keyCode)&&(t[e].sc_indicator="arrow",t[e].sc_indicator_dir=0,t.callingNewSlide(e,1)),("horizontal"==t[e].navigation.keyboard_direction&&37==i.keyCode||"vertical"==t[e].navigation.keyboard_direction&&38==i.keyCode)&&(t[e].sc_indicator="arrow",t[e].sc_indicator_dir=1,t.callingNewSlide(e,-1))})},n=function(e){if(!0===t[e].navigation.mouseScrollNavigation||"on"===t[e].navigation.mouseScrollNavigation||"carousel"===t[e].navigation.mouseScrollNavigation){t[e].isIEEleven=!!navigator.userAgent.match(/Trident.*rv\:11\./),t[e].isSafari=!!navigator.userAgent.match(/safari/i),t[e].ischrome=!!navigator.userAgent.match(/chrome/i);var i=t[e].ischrome?-49:t[e].isIEEleven||t[e].isSafari?-9:navigator.userAgent.match(/mozilla/i)?-29:-49,a=t[e].ischrome?49:t[e].isIEEleven||t[e].isSafari?9:navigator.userAgent.match(/mozilla/i)?29:49;t[e].c.on("mousewheel DOMMouseScroll",function(r){var o,s,n,l,d,c=(o=r.originalEvent,s=0,n=0,l=0,d=0,"detail"in o&&(n=o.detail),"wheelDelta"in o&&(n=-o.wheelDelta/120),"wheelDeltaY"in o&&(n=-o.wheelDeltaY/120),"wheelDeltaX"in o&&(s=-o.wheelDeltaX/120),"axis"in o&&o.axis===o.HORIZONTAL_AXIS&&(s=n,n=0),l=1*s,d=1*n,"deltaY"in o&&(d=o.deltaY),"deltaX"in o&&(l=o.deltaX),(l||d)&&o.deltaMode&&(o.deltaMode,l*=1,d*=1),l&&!s&&(s=l<1?-1:1),d&&!n&&(n=d<1?-1:1),((d=navigator.userAgent.match(/mozilla/i)?10*d:d)>300||d<-300)&&(d/=10),{spinX:s,spinY:n,pixelX:l,pixelY:d}),p=!0,u=0==t[e].pr_active_key||0==t[e].pr_processing_key,h=t[e].pr_active_key==t[e].slideamount-1||t[e].pr_processing_key==t[e].slideamount-1;if(t[e].isSafari){var g=c.pixelY<0?-1:1;if(void 0!==t[e].doubleScrollEventTimeStamp&&r.timeStamp-t[e].doubleScrollEventTimeStamp<750&&t[e].doubleScrollEventDir===g)return void r.preventDefault(r);t[e].doubleScrollEventTimeStamp=r.timeStamp,t[e].doubleScrollEventDir=g}"carousel"==t[e].navigation.mouseScrollNavigation&&(u=h=!1),void 0===t[e].pr_processing_key?c.pixelY<i?(u||(t[e].sc_indicator="arrow","reverse"!==t[e].navigation.mouseScrollReverse&&(t[e].sc_indicator_dir=1,t.callingNewSlide(e,-1)),p=!1),h||(t[e].sc_indicator="arrow","reverse"===t[e].navigation.mouseScrollReverse&&(t[e].sc_indicator_dir=0,t.callingNewSlide(e,1)),p=!1)):c.pixelY>a&&(h||(t[e].sc_indicator="arrow","reverse"!==t[e].navigation.mouseScrollReverse&&(t[e].sc_indicator_dir=0,t.callingNewSlide(e,1)),p=!1),u||(t[e].sc_indicator="arrow","reverse"===t[e].navigation.mouseScrollReverse&&(t[e].sc_indicator_dir=1,t.callingNewSlide(e,-1)),p=!1)):p=!1;var f=t[e].c.offset().top-jQuery("body").scrollTop(),m=f+t[e].c.height();return"carousel"!=t[e].navigation.mouseScrollNavigation?("reverse"!==t[e].navigation.mouseScrollReverse&&(f>0&&c.pixelY>0||m<jQuery(window).height()&&c.pixelY<0)&&(p=!0),"reverse"===t[e].navigation.mouseScrollReverse&&(f<0&&c.pixelY<0||m>jQuery(window).height()&&c.pixelY>0)&&(p=!0)):p=!1,p?void 0:(r.preventDefault(r),!1)})}},l=function(e,t){var a=!1;for(var r in(void 0===t.path||i)&&(a=function(e,t){for(;e&&e!==document;e=e.parentNode)if(e.tagName===t)return e;return!1}(t.target,e)),t.path)t.path.hasOwnProperty(r)&&t.path[r].tagName===e&&(a=!0);return a},d=function(e){var a=t[e].carousel,r=t.is_android();jQuery(".bullet, .bullets, .tp-bullets, .tparrows").addClass("noSwipe"),t[e].navigation.touch=void 0===t[e].navigation.touch?{}:t[e].navigation.touch,t[e].navigation.touch.swipe_direction=void 0===t[e].navigation.touch.swipe_direction?"horizontal":t[e].navigation.touch.swipe_direction,jQuery(".rs-nav-element").rsswipe({allowPageScroll:"pagescroll",triggerOnTouchLeave:!0,treshold:t[e].navigation.touch.swipe_treshold,fingers:t[e].navigation.touch.swipe_min_touches>5?1:t[e].navigation.touch.swipe_min_touches,excludedElements:".noSwipe",tap:function(e,t){if(void 0!==t)var i=jQuery(t).closest("rs-thumb");void 0!==i&&i.length>0?i.trigger("click"):(i=jQuery(t).closest("rs-tab")).length>0?i.trigger("click"):(i=jQuery(t).closest("rs-bullet")).length>0&&i.trigger("click")},swipeStatus:function(i,o,s,n,d,c,p){if("start"!==o&&"move"!==o&&"end"!==o&&"cancel"!=o)return t[e].navigation.touch.drag_block_vertical&&i.preventDefault(),!0;var h=l("RS-THUMB",i),f=(l("RS-TAB",i),"start"===o?0:r?p[0].end.x-p[0].start.x:i.pageX-a.screenX),m="start"===o?0:r?p[0].end.y-p[0].start.y:i.pageY-a.screenY,v=h?".tp-thumbs":".tp-tabs",y=h?".tp-thumb-mask":".tp-tab-mask",b=h?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",w=h?".tp-thumb":".tp-tab",_=h?t[e].navigation.thumbnails:t[e].navigation.tabs,x=t[e].cpar.find(y),k=x.find(b),T=_.direction,L="vertical"===T?k.height():k.width(),I="vertical"===T?x.height():x.width(),A="vertical"===T?x.find(w).first().outerHeight(!0)+_.space:x.find(w).first().outerWidth(!0)+_.space,R=void 0===k.data("offset")?0:parseInt(k.data("offset"),0),S=0;switch(o){case"start":"vertical"===T&&i.preventDefault(),a.screenX=r?p[0].end.x:i.pageX,a.screenY=r?p[0].end.y:i.pageY,t[e].cpar.find(v).addClass("dragged"),R="vertical"===T?k.position().top:k.position().left,k.data("offset",R),k.data("tmmove")&&k.data("tmmove").pause(),t[e].someNavIsDragged=!0,g(e);break;case"move":if(L<=I)return!1;S=(S=R+("vertical"===T?m:f))>0?"horizontal"===T?S-k.width()*(S/k.width()*S/k.width()):S-k.height()*(S/k.height()*S/k.height()):S;var z="vertical"===T?0-(k.height()-x.height()):0-(k.width()-x.width());S=S<z?"horizontal"===T?S+k.width()*(S-z)/k.width()*(S-z)/k.width():S+k.height()*(S-z)/k.height()*(S-z)/k.height():S,"vertical"===T?punchgs.TweenLite.set(k,{top:S+"px"}):punchgs.TweenLite.set(k,{left:S+"px"}),u(t[e].hideAllNavElementTimer);break;case"end":case"cancel":return S=R+("vertical"===T?m:f),S=(S="vertical"===T?S<0-(k.height()-x.height())?0-(k.height()-x.height()):S:S<0-(k.width()-x.width())?0-(k.width()-x.width()):S)>0?0:S,S=Math.abs(n)>A/10?n<=0?Math.floor(S/A)*A:Math.ceil(S/A)*A:n<0?Math.ceil(S/A)*A:Math.floor(S/A)*A,S=(S="vertical"===T?S<0-(k.height()-x.height())?0-(k.height()-x.height()):S:S<0-(k.width()-x.width())?0-(k.width()-x.width()):S)>0?0:S,"vertical"===T?punchgs.TweenMax.to(k,.5,{top:S+"px",ease:punchgs.Power3.easeOut}):punchgs.TweenMax.to(k,.5,{left:S+"px",ease:punchgs.Power3.easeOut}),S=S||("vertical"===T?k.position().top:k.position().left),k.data("offset",S),k.data("distance",n),t[e].cpar.find(v).removeClass("dragged"),t[e].someNavIsDragged=!1,!0}}}),t[e].c.rsswipe({allowPageScroll:"pagescroll",triggerOnTouchLeave:!0,treshold:t[e].navigation.touch.swipe_treshold,fingers:t[e].navigation.touch.swipe_min_touches>5?1:t[e].navigation.touch.swipe_min_touches,excludedElements:"label, button, input, select, textarea, .noSwipe, .rs-nav-element, a",swipeStatus:function(o,s,n,l,d,c,p){var u="start"===s?0:r?p[0].end.x-p[0].start.x:o.pageX-a.screenX;"start"===s||(r?(p[0].end.x,p[0].start.y):(o.pageY,a.screenY));if(!("carousel"===t[e].sliderType&&t[e].carousel.wrapwidth>t[e].carousel.maxwidth&&"center"!==t[e].carousel.horizontal_align)){if("carousel"!==t[e].sliderType){if("end"==s){if(t[e].sc_indicator="arrow","horizontal"==t[e].navigation.touch.swipe_direction&&"left"==n||"vertical"==t[e].navigation.touch.swipe_direction&&"up"==n)return t[e].sc_indicator_dir=0,t.callingNewSlide(e,1),!1;if("horizontal"==t[e].navigation.touch.swipe_direction&&"right"==n||"vertical"==t[e].navigation.touch.swipe_direction&&"down"==n)return t[e].sc_indicator_dir=1,t.callingNewSlide(e,-1),!1}return t[e].navigation.touch.drag_block_vertical&&o.preventDefault(),!0}switch((a.preventSwipe||i&&("left"===n||"right"===n))&&o.preventDefault(),void 0!==a.positionanim&&a.positionanim.pause(),a.carouselAutomatic=!1,s){case"start":clearTimeout(a.swipeMainTimer),a.beforeSwipeOffet=a.slide_offset,a.focusedBeforeSwipe=a.focused,a.beforeDragStatus=t[e].sliderstatus,t[e].c.trigger("stoptimer"),a.swipeStartPos=r?p[0].start.x:o.pageX,a.swipeStartTime=(new Date).getTime(),a.screenX=r?p[0].end.x:o.pageX,a.screenY=r?p[0].end.y:o.pageY,void 0!==a.positionanim&&(a.positionanim.kill(),a.carouselAutomatic=!1),a.overpull="none",a.wrap.addClass("dragged");break;case"move":if("left"!==n&&"right"!==n||(a.preventSwipe=!0),a.justDragged=!0,Math.abs(u)>=10||t[e].carousel.isDragged){if(t[e].carousel.isDragged=!0,t[e].c.find(".rs-waction").addClass("tp-temporarydisabled"),a.CACHE_slide_offset=a.beforeSwipeOffet+u,!a.infinity){var h="center"===a.horizontal_align?(a.wrapwidth/2-a.slide_width/2-a.CACHE_slide_offset)/a.slide_width:(0-a.CACHE_slide_offset)/a.slide_width;"none"!==a.overpull&&0!==a.overpull||!(h<0||h>t[e].slideamount-1)?h>=0&&h<=t[e].slideamount-1&&(h>=0&&u>a.overpull||h<=t[e].slideamount-1&&u<a.overpull)&&(a.overpull=0):a.overpull=u,a.CACHE_slide_offset=h<0?a.CACHE_slide_offset+(a.overpull-u)/1.5+Math.sqrt(Math.abs((a.overpull-u)/1.5)):h>t[e].slideamount-1?a.CACHE_slide_offset+(a.overpull-u)/1.5-Math.sqrt(Math.abs((a.overpull-u)/1.5)):a.CACHE_slide_offset}t.swipeAnimate({id:e,to:a.CACHE_slide_offset,direction:n,easing:"power2.out",phase:"move"})}break;case"end":case"cancel":clearTimeout(a.swipeMainTimer),a.swipeMainTimer=setTimeout(function(){a.preventSwipe=!1},500),t[e].carousel.isDragged=!1,a.wrap.removeClass("dragged"),a.swipeEndPos=r?p[0].end.x:o.pageX,a.swipeEndTime=(new Date).getTime(),a.swipeDuration=a.swipeEndTime-a.swipeStartTime,a.swipeDistance=i?a.swipeEndPos-a.swipeStartPos:(a.swipeEndPos-a.swipeStartPos)/1.5,a.swipePower=a.swipeDistance/a.swipeDuration,a.CACHE_slide_offset=a.slide_offset+a.swipeDistance*Math.abs(a.swipePower),t.swipeAnimate({id:e,to:a.CACHE_slide_offset,direction:n,fix:!0,newSlide:!0,easing:"power2.out",phase:"end"}),"playing"===a.beforeDragStatus&&t[e].c.trigger("restarttimer"),setTimeout(function(){t[e].c.find(".rs-waction").removeClass("tp-temporarydisabled")},19)}}}})},c=function(e){e.hide_delay=jQuery.isNumeric(parseInt(e.hide_delay,0))?e.hide_delay:.2,e.hide_delay_mobile=jQuery.isNumeric(parseInt(e.hide_delay_mobile,0))?e.hide_delay_mobile:.2},p=function(e){return e&&e.enable},u=function(e){clearTimeout(e)},h=function(e){var i=t[e].navigation.maintypes;for(var a in i)i.hasOwnProperty(a)&&p(t[e].navigation[i[a]])&&(u(t[e].navigation[i[a]].showCall),t[e].navigation[i[a]].showCall=setTimeout(function(i){u(i.hideCall),i.hide_onleave&&!t[e].cpar.hasClass("tp-mouseover")||(void 0===i.tween?i.tween=m(i):i.tween.play())},t[e].navigation[i[a]].hide_onleave&&!t[e].cpar.hasClass("tp-mouseover")?0:parseInt(t[e].navigation[i[a]].animDelay),t[e].navigation[i[a]]))},g=function(e){var i=t[e].navigation.maintypes;for(var a in i)i.hasOwnProperty(a)&&void 0!==t[e].navigation[i[a]]&&t[e].navigation[i[a]].hide_onleave&&p(t[e].navigation[i[a]])&&u(t[e].navigation[i[a]].hideCall)},f=function(e,a){var r=t[e].navigation.maintypes;for(var o in r)r.hasOwnProperty(o)&&void 0!==t[e].navigation[r[o]]&&t[e].navigation[r[o]].hide_onleave&&p(t[e].navigation[r[o]])&&(u(t[e].navigation[r[o]].hideCall),t[e].navigation[r[o]].hideCall=setTimeout(function(e){u(e.showCall),e.tween&&e.tween.reverse()},i?parseInt(t[e].navigation[r[o]].hide_delay_mobile,0):parseInt(t[e].navigation[r[o]].hide_delay,0),t[e].navigation[r[o]]))},m=function(e){e.speed=void 0===e.speed?.5:e.speed,e.anims=[],void 0!==e.anim&&void 0===e.left&&e.anims.push(e.anim),void 0!==e.left&&e.anims.push(e.left.anim),void 0!==e.right&&e.anims.push(e.right.anim);var t=new punchgs.TimelineLite;for(var i in t.add(punchgs.TweenMax.to(e.c,e.speed,{autoAlpha:1,opacity:1,ease:punchgs.Power3.easeInOut}),0),e.anims)if(e.anims.hasOwnProperty(i))switch(e.anims[i]){case"left":t.add(punchgs.TweenMax.fromTo(e.c[i],e.speed,{marginLeft:-50},{marginLeft:0,ease:punchgs.Power3.easeInOut}),0);break;case"right":t.add(punchgs.TweenMax.fromTo(e.c[i],e.speed,{marginLeft:50},{marginLeft:0,ease:punchgs.Power3.easeInOut}),0);break;case"top":t.add(punchgs.TweenMax.fromTo(e.c[i],e.speed,{marginTop:-50},{marginTop:0,ease:punchgs.Power3.easeInOut}),0);break;case"bottom":t.add(punchgs.TweenMax.fromTo(e.c[i],e.speed,{marginTop:50},{marginTop:0,ease:punchgs.Power3.easeInOut}),0);break;case"zoomin":t.add(punchgs.TweenMax.fromTo(e.c[i],e.speed,{scale:.5},{scale:1,ease:punchgs.Power3.easeInOut}),0);break;case"zoomout":t.add(punchgs.TweenMax.fromTo(e.c[i],e.speed,{scale:1.2},{scale:1,ease:punchgs.Power3.easeInOut}),0)}return t.play(),t},v=function(e,i){e.style=void 0===e.style?"":e.style,e.left.style=void 0===e.left.style?"":e.left.style,e.right.style=void 0===e.right.style?"":e.right.style,0===t[i].c.find(".tp-leftarrow.tparrows").length&&t[i].c.append('<rs-arrow style="opacity:0" class="tp-leftarrow tparrows '+e.style+" "+e.left.style+'">'+e.tmp+"</rs-arrow>"),0===t[i].c.find(".tp-rightarrow.tparrows").length&&t[i].c.append('<rs-arrow style="opacity:0"  class="tp-rightarrow tparrows '+e.style+" "+e.right.style+'">'+e.tmp+"</rs-arrow>");var a=t[i].c.find(".tp-leftarrow.tparrows"),r=t[i].c.find(".tp-rightarrow.tparrows");e.rtl?(a.click(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=0,t[i].c.revnext()}),r.click(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=1,t[i].c.revprev()})):(r.click(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=0,t[i].c.revnext()}),a.click(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=1,t[i].c.revprev()})),e.right.j=t[i].c.find(".tp-rightarrow.tparrows"),e.left.j=t[i].c.find(".tp-leftarrow.tparrows"),e.padding_top=parseInt(t[i].carousel.padding_top||0,0),e.padding_bottom=parseInt(t[i].carousel.padding_bottom||0,0),w(a,e.left,i),w(r,e.right,i),"outer-left"!=e.position&&"outer-right"!=e.position||(t[i].outernav=!0)},y=function(e,i,a){var r=e.outerHeight(!0),o=null==t[a]?0:0==t[a].conh?t[a].height:t[a].conh,s="layergrid"==i.container?"fullscreen"==t[a].sliderLayout?t[a].height/2-t[a].gridheight[t[a].level]*t[a].bh/2:t[a].autoHeight||null!=t[a].minHeight&&t[a].minHeight>0?o/2-t[a].gridheight[t[a].level]*t[a].bh/2:0:0,n="top"===i.v_align?{top:"0px",y:Math.round(i.v_offset+s)+"px"}:"center"===i.v_align?{top:"50%",y:Math.round(0-r/2+i.v_offset)+"px"}:{top:"100%",y:Math.round(0-(r+i.v_offset+s))+"px"};e.hasClass("outer-bottom")||punchgs.TweenLite.set(e,n)},b=function(e,i,a){var r=e.outerWidth(!0),o="layergrid"===i.container?t[a].width/2-t[a].gridwidth[t[a].level]*t[a].bw/2:0,s="left"===i.h_align?{left:"0px",x:Math.round(i.h_offset+o)+"px"}:"center"===i.h_align?{left:"50%",x:Math.round(0-r/2+i.h_offset)+"px"}:{left:"100%",x:Math.round(0-(r+i.h_offset+o))+"px"};punchgs.TweenLite.set(e,s)},w=function(e,i,a){var r="fullwidth"==t[a].sliderLayout||"fullscreen"==t[a].sliderLayout,o=r?t[a].c.width():t[a].topc.width(),s=t[a].c.height();if(y(e,i,a),b(e,i,a),"outer-left"===i.position&&r?punchgs.TweenLite.set(e,{left:0-e.outerWidth()+"px",x:i.h_offset+"px"}):"outer-right"===i.position&&r&&punchgs.TweenLite.set(e,{right:0-e.outerWidth()+"px",x:i.h_offset+"px"}),e.hasClass("tp-thumbs")||e.hasClass("tp-tabs")){var n=e.data("wr_padding"),l=e.data("maxw"),d=e.data("maxh"),c=e.hasClass("tp-thumbs")?e.find(".tp-thumb-mask"):e.find(".tp-tab-mask"),p=parseInt(i.padding_top||0,0),u=parseInt(i.padding_bottom||0,0),h={},g={};l>o&&"outer-left"!==i.position&&"outer-right"!==i.position?(h.left="0px",h.x=0,h.maxWidth=o-2*n+"px",g.maxWidth=o-2*n+"px"):(h.maxWidth=l,g.maxWidth=o+"px"),d+2*n>s&&"outer-bottom"!==i.position&&"outer-top"!==i.position?(h.top="0px",h.y=0,h.maxHeight=p+u+(s-2*n)+"px",g.maxHeight=p+u+(s-2*n)+"px"):(h.maxHeight=d+"px",g.maxHeight=d+"px"),i.span?("layergrid"==i.container&&"outer-left"!==i.position&&"outer-right"!==i.position&&(p=u=0),"vertical"===i.direction?(h.maxHeight=p+u+(s-2*n)+"px",h.height=p+u+(s-2*n)+"px",h.top=0-p,h.y=0,g.maxHeight=p+u+Math.min(d,s-2*n)+"px",punchgs.TweenLite.set(e,h),punchgs.TweenLite.set(c,g),y(c,i,a)):"horizontal"===i.direction&&(h.maxWidth="100%",h.width=o-2*n+"px",h.left=0,h.x=0,g.maxWidth=l>=o?"100%":Math.min(l,o)+"px",punchgs.TweenLite.set(e,h),punchgs.TweenLite.set(c,g),b(c,i,a))):(punchgs.TweenLite.set(e,h),punchgs.TweenLite.set(c,g))}},_=function(e,i,a,r){0===e.find(".tp-bullets").length&&(i.style=void 0===i.style?"":i.style,e.append('<rs-bullets style="opacity:0"  class="tp-bullets '+i.style+" "+i.direction+'"></rs-bullets>'));var o=e.find(".tp-bullets"),s=a.data("key"),n=i.tmp;void 0!==t[r].thumbs[a.index()]&&jQuery.each(t[r].thumbs[a.index()].params,function(e,t){n=n.replace(t.from,t.to)}),o.append('<rs-bullet data-key="'+s+'" class="justaddedbullet tp-bullet">'+n+"</rs-bullet>");var l=e.find(".justaddedbullet"),d=e.find(".tp-bullet").length,c=l.outerWidth()+parseInt(void 0===i.space?0:i.space,0),p=l.outerHeight()+parseInt(void 0===i.space?0:i.space,0);"vertical"===i.direction?(l.css({top:(d-1)*p+"px",left:"0px"}),o.css({height:(d-1)*p+l.outerHeight(),width:l.outerWidth()})):(l.css({left:(d-1)*c+"px",top:"0px"}),o.css({width:(d-1)*c+l.outerWidth(),height:l.outerHeight()})),void 0!==t[r].thumbs[a.index()]&&l.find(".tp-bullet-image").css({backgroundImage:"url("+t[r].thumbs[a.index()].src+")"}),l.click(function(){"carousel"===t[r].sliderType&&(t[r].ctNavElement=!0),t[r].sc_indicator="bullet",e.revcallslidewithid(s),e.find(".tp-bullet").removeClass("selected"),jQuery(this).addClass("selected")}),l.removeClass("justaddedbullet"),i.padding_top=parseInt(t[r].carousel.padding_top||0,0),i.padding_bottom=parseInt(t[r].carousel.padding_bottom||0,0),"outer-left"!=i.position&&"outer-right"!=i.position||(t[r].outernav=!0),o.addClass("nav-pos-hor-"+i.h_align),o.addClass("nav-pos-ver-"+i.v_align),o.addClass("nav-dir-"+i.direction),w(o,i,r)},x=function(e,i,a,r,o){var s="tp-thumb"===r?".tp-thumbs":".tp-tabs",n="tp-thumb"===r?".tp-thumb-mask":".tp-tab-mask",l="tp-thumb"===r?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",d="tp-thumb"===r?".tp-thumb":".tp-tab",c="tp-thumb"===r?".tp-thumb-image":".tp-tab-image",p="tp-thumb"===r?"rs-thumb":"rs-tab";if(i.visibleAmount=i.visibleAmount>t[o].slideamount?t[o].slideamount:i.visibleAmount,i.sliderLayout=t[o].sliderLayout,0===e.parent().find(s).length){i.style=void 0===i.style?"":i.style;var u="<"+p+'s style="opacity:0" class="rs-nav-element '+r+"s "+(!0===i.span?"tp-span-wrapper":"")+" "+i.position+" "+i.style+'"><rs-navmask class="'+r+'-mask"><'+p+'s-wrap class="'+r+'s-inner-wrapper" style="position:relative;"></'+p+"s-wrap></rs-navmask></"+p+"s>";"outer-top"===i.position?e.parent().prepend(u):"outer-bottom"===i.position?e.after(u):e.append(u),"outer-left"!==i.position&&"outer-right"!==i.position||punchgs.TweenLite.set(t[o].c,{overflow:"visible"}),i.padding_top=parseInt(t[o].carousel.padding_top||0,0),i.padding_bottom=parseInt(t[o].carousel.padding_bottom||0,0),"outer-left"!=i.position&&"outer-right"!=i.position||(t[o].outernav=!0)}var h=a.data("key"),g=e.parent().find(s),f=g.find(n),m=f.find(l),v="horizontal"===i.direction?i.width*i.visibleAmount+i.space*(i.visibleAmount-1):i.width,y="horizontal"===i.direction?i.height:i.height*i.visibleAmount+i.space*(i.visibleAmount-1),b=i.tmp;void 0!==t[o].thumbs[a.index()]&&jQuery.each(t[o].thumbs[a.index()].params,function(e,t){b=b.replace(t.from,t.to)}),m.append("<"+p+' data-liindex="'+a.index()+'" data-key="'+h+'" class="justaddedthumb '+r+'" style="width:'+i.width+"px;height:"+i.height+'px;">'+b+"<"+p+">");var _=g.find(".justaddedthumb"),x=g.find(d).length,k=_.outerWidth()+parseInt(void 0===i.space?0:i.space,0),T=_.outerHeight()+parseInt(void 0===i.space?0:i.space,0);void 0!==t[o].thumbs[a.index()]&&_.find(c).css({backgroundImage:"url("+t[o].thumbs[a.index()].src+")"}),"vertical"===i.direction?(_.css({top:(x-1)*T+"px",left:"0px"}),m.css({height:(x-1)*T+_.outerHeight(),width:_.outerWidth()})):(_.css({left:(x-1)*k+"px",top:"0px"}),m.css({width:(x-1)*k+_.outerWidth(),height:_.outerHeight()})),g.data("maxw",v),g.data("maxh",y),g.data("wr_padding",i.wrapper_padding);var L="outer-top"===i.position||"outer-bottom"===i.position?"relative":"absolute";f.css({maxWidth:v+"px",maxHeight:y+"px",overflow:"hidden",position:"relative"}),g.css({maxWidth:v+"px",maxHeight:y+"px",overflow:"visible",position:L,background:i.wrapper_color,padding:i.wrapper_padding+"px",boxSizing:"contet-box"}),_.click(function(){t[o].sc_indicator="bullet","carousel"===t[o].sliderType&&(t[o].ctNavElement=!0);var i=e.parent().find(l).data("distance");i=void 0===i?0:i,Math.abs(i)<10&&(e.revcallslidewithid(h),e.parent().find(s).removeClass("selected"),jQuery(this).addClass("selected"))}),_.removeClass("justaddedthumb"),g.addClass("nav-pos-hor-"+i.h_align),g.addClass("nav-pos-ver-"+i.v_align),g.addClass("nav-dir-"+i.direction),w(g,i,o),t.callContWidthManager(o)},k=function(e){var i=t[e].cpar.find(".outer-top"),a=t[e].cpar.find(".outer-bottom");t[e].top_outer=i.hasClass("tp-forcenotvisible")?0:i.outerHeight()||0,t[e].bottom_outer=a.hasClass("tp-forcenotvisible")?0:a.outerHeight()||0},T=function(e,t,i,a){t>i||i>a?e.addClass("tp-forcenotvisible"):e.removeClass("tp-forcenotvisible")}}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution;jQuery.extend(!0,t,{preparePanZoom:function(e){},stopPanZoom:function(e){null!=e.data("pztl")&&e.data("pztl").pause()},startPanZoom:function(e,i,a,r,o){var s=e.data(),n=e.find("rs-sbg"),l=n.data("lazyload")||n.data("src"),d=(s.owidth,s.oheight,"carousel"===t[i].sliderType?t[i].carousel.justify?t[i].carousel.slide_widths[void 0!==r?r:void 0===t[i].carousel.focused?0:t[i].carousel.focused]:t[i].carousel.slide_width:t[i].canvas.width()),c=t[i].canvas.height();if(void 0!==s.panzoom&&null!==s.panzoom){if(e.data("pztl")&&e.data("pztl").kill(),a=a||0,0==e.find(".rs-pzimg").length){var p=n.data("mediafilter");p=void 0===p?"":p,e.append('<rs-pzimg-wrap class="'+p+'" style="z-index:2;width:100%;height:100%;top:0px;left:0px;position:absolute;display:block"><img class="rs-pzimg" src="'+l+'" style="position:absolute;" width="'+s.owidth+'" height="'+s.oheight+'"></rs-pzimg-wrap>'),e.data("pzimg",e.find(".rs-pzimg"))}var u=function(e,t,i,a,r,o,s){var n=e*i,l=t*i,d=Math.abs(a-n),c=Math.abs(r-l),p=new Object;return p.l=(0-o)*d,p.r=p.l+n,p.t=(0-s)*c,p.b=p.t+l,p.h=o,p.v=s,p};null!=e.data("pztl")&&(e.data("pztl").kill(),e.removeData("pztl"));var h=e.data("pzimg"),g=h.parent(),f=function(e,t,i){var a=void 0===i.panvalues?jQuery.extend(!0,{},function(e){var t=e.panzoom.split(";"),i={duration:10,ease:"Linear.easeNone",scalestart:1,scaleend:1,rotatestart:.01,rotateend:0,blurstart:0,blurend:0,offsetstart:"0/0",offsetend:"0/0"};for(var a in t)if(t.hasOwnProperty(a)){var r=t[a].split(":"),o=r[0],s=r[1];switch(o){case"d":i.duration=parseInt(s,0)/1e3;break;case"e":i.ease=s;break;case"ss":i.scalestart=parseInt(s,0)/100;break;case"se":i.scaleend=parseInt(s,0)/100;break;case"rs":i.rotatestart=parseInt(s,0);break;case"re":i.rotateend=parseInt(s,0);break;case"bs":i.blurstart=parseInt(s,0);break;case"be":i.blurend=parseInt(s,0);break;case"os":i.offsetstart=s;break;case"oe":i.offsetend=s}}return i.offsetstart=i.offsetstart.split("/")||[0,0],i.offsetend=i.offsetend.split("/")||[0,0],i.rotatestart=0===i.rotatestart?.01:i.rotatestart,e.panvalues=i,e.bgposition="center center"==e.bgposition?"50% 50%":e.bgposition,i}(i)):jQuery.extend(!0,{},i.panvalues),r=a.offsetstart,o=a.offsetend,s={start:{width:e,height:e/i.owidth*i.oheight,rotation:a.rotatestart+"deg",scale:a.scalestart,transformOrigin:i.bgposition},starto:{},end:{rotation:a.rotateend+"deg",scale:a.scaleend},endo:{}};a.scalestart,i.owidth,i.oheight,a.scaleend,i.owidth,i.oheight;if(s.start.height<t){var n=t/s.start.height;s.start.height=t,s.start.width=s.start.width*n}var l=function(e,t,i,a){var r=e.bgposition.split(" ")||"center center",o="center"==r[0]?"50%":"left"==r[0]||"left"==r[1]?"0%":"right"==r[0]||"right"==r[1]?"100%":r[0],s="center"==r[1]?"50%":"top"==r[0]||"top"==r[1]?"0%":"bottom"==r[0]||"bottom"==r[1]?"100%":r[1];o=parseInt(o,0)/100||0,s=parseInt(s,0)/100||0;var n=new Object;return n.start=u(a.start.width,a.start.height,a.start.scale,t,i,o,s),n.end=u(a.start.width,a.start.height,a.end.scale,t,i,o,s),n}(i,e,t,s);r[0]=parseFloat(r[0])+l.start.l,o[0]=parseFloat(o[0])+l.end.l,r[1]=parseFloat(r[1])+l.start.t,o[1]=parseFloat(o[1])+l.end.t;var d=l.start.r-l.start.l,c=l.start.b-l.start.t,p=l.end.r-l.end.l,h=l.end.b-l.end.t;return r[0]=r[0]>0?0:d+r[0]<e?e-d:r[0],o[0]=o[0]>0?0:p+o[0]<e?e-p:o[0],r[1]=r[1]>0?0:c+r[1]<t?t-c:r[1],o[1]=o[1]>0?0:h+o[1]<t?t-h:o[1],s.starto.x=r[0]+"px",s.starto.y=r[1]+"px",s.endo.x=o[0]+"px",s.endo.y=o[1]+"px",s.end.ease=s.endo.ease=a.ease,s.end.force3D=s.endo.force3D=!0,s}(d,c,s),m=new punchgs.TimelineLite;if(m.pause(),f.start.transformOrigin="0% 0%",f.starto.transformOrigin="0% 0%",s.panvalues.duration=NaN===s.panvalues.duration||void 0===s.panvalues.duration?10:s.panvalues.duration,o&&punchgs.TweenLite.fromTo(h,1,{autoAlpha:0},{autoAlpha:1}),m.add(punchgs.TweenLite.fromTo(h,s.panvalues.duration,f.start,f.end),0),m.add(punchgs.TweenLite.fromTo(g,s.panvalues.duration,f.starto,f.endo),0),void 0!==s.panvalues.blurstart&&void 0!==s.panvalues.blurend&&(0!==s.panvalues.blurstart||0!==s.panvalues.blurend)){var v={a:s.panvalues.blurstart},y={a:s.panvalues.blurend,ease:f.endo.ease},b=new punchgs.TweenLite(v,s.panvalues.duration,y);b.eventCallback("onUpdate",function(e){punchgs.TweenLite.set(e,{filter:"blur("+v.a+"px)",webkitFilter:"blur("+v.a+"px)"})},[g]),m.add(b,0)}m.progress(a),!0!==o&&m.play(),e.data("pztl",m)}}})}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution,i=t.is_mobile();jQuery.extend(!0,t,{checkForParallax:function(e){var a=t[e].parallax;if(!a.done){if(a.done=!0,i&&a.disable_onmobile)return!1;if(("3D"==a.type||"3d"==a.type)&&(punchgs.TweenLite.set(t[e].c,{overflow:a.ddd_overflow}),punchgs.TweenLite.set(t[e].canvas,{overflow:a.ddd_overflow}),"carousel"!=t[e].sliderType&&a.ddd_shadow)){var r=jQuery('<div class="dddwrappershadow"></div>');punchgs.TweenLite.set(r,{force3D:"auto",transformPerspective:1600,transformOrigin:"50% 50%",width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:0}),t[e].c.prepend(r)}t[e].slides.each(function(){n(jQuery(this))}),("3D"==a.type||"3d"==a.type)&&t[e].c.find("rs-static-layers").length>0&&(punchgs.TweenLite.set(t[e].c.find("rs-static-layers"),{top:0,left:0,width:"100%",height:"100%"}),n(t[e].c.find("rs-static-layers"))),a.pcontainers=[],a.pcontainer_depths=[],a.bgcontainers=[],a.bgcontainer_depths=[],a.speed=void 0===a.speed?0:parseInt(a.speed,0),a.speedbg=void 0===a.speedbg?0:parseInt(a.speedbg,0),a.speedls=void 0===a.speedls?0:parseInt(a.speedls,0),t[e].c.find("rs-slide rs-sbg-wrap, rs-slide rs-bgvideo").each(function(){var i=jQuery(this),r=i.data("parallax");void 0!==(r="on"==r||!0===r?1:r)&&"off"!==r&&!1!==r&&(a.bgcontainers.push(i.closest("rs-sbg-px")),a.bgcontainer_depths.push(t[e].parallax.levels[parseInt(r,0)-1]/100))});for(var o=1;o<=a.levels.length;o++)t[e].c.find(".rs-pxl-"+o).each(function(){var e=jQuery(this),t=this.className.indexOf("rs-pxmask")>=0?e.closest("rs-px-mask"):e.closest(".rs-parallax-wrap");t.data("parallaxlevel",a.levels[o-1]),t.addClass("tp-parallax-container"),a.pcontainers.push(t),a.pcontainer_depths.push(a.levels[o-1])});"mouse"!=a.type&&"mousescroll"!=a.type&&"3D"!=a.type&&"3d"!=a.type||(t[e].c.mouseenter(function(i){var a=t[e].c.offset().top,r=t[e].c.offset().left;void 0!==t[e].pr_active_key&&(t.sA(t[e].slides[t[e].pr_active_key],"enterx",i.pageX-r),t.sA(t[e].slides[t[e].pr_active_key],"entery",i.pageY-a))}),t[e].c.on("mousemove.hoverdir, mouseleave.hoverdir, trigger3dpath",function(i,r){var o=r&&r.li?r.li:jQuery(t[e].slides[t[e].pr_active_key]);if("enterpoint"==a.origo){var s=t[e].c.offset().top,n=t[e].c.offset().left;null==o.data("enterx")&&o.data("enterx",i.pageX-n),null==o.data("entery")&&o.data("entery",i.pageY-s);var l=o.data("enterx")||i.pageX-n,d=o.data("entery")||i.pageY-s,c=l-(i.pageX-n),p=d-(i.pageY-s),u=a.speed/1e3||.4}else s=t[e].c.offset().top,n=t[e].c.offset().left,c=t[e].conw/2-(i.pageX-n),p=t[e].conh/2-(i.pageY-s),u=a.speed/1e3||3;"mouseleave"==i.type&&(c=a.ddd_lasth||0,p=a.ddd_lastv||0,u=1.5);for(var h=0;h<a.pcontainers.length;h++){var g=a.pcontainers[h],f=a.pcontainer_depths[h],m="3D"==a.type||"3d"==a.type?f/200:f/100,v=c*m,y=p*m;"mousescroll"==a.type?punchgs.TweenLite.to(g,u,{force3D:"auto",x:v,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(g,u,{force3D:"auto",x:v,y:y,ease:punchgs.Power3.easeOut,overwrite:"all"})}if("3D"==a.type||"3d"==a.type){var b="rs-slide .dddwrapper, .dddwrappershadow, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer";"carousel"===t[e].sliderType&&(b="rs-slide .dddwrapper, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer"),t[e].c.find(b).each(function(){var r=jQuery(this),o=a.levels[a.levels.length-1]/200,s=c*o,n=p*o,l=0==t[e].conw?0:Math.round(c/t[e].conw*o*100)||0,d=0==t[e].conh?0:Math.round(p/t[e].conh*o*100)||0,h=r.closest("rs-slide"),g=0,f=!1;r.hasClass("dddwrapper-layer")&&(g=a.ddd_z_correction||65,f=!0),r.hasClass("dddwrapper-layer")&&(s=0,n=0),h.index()===t[e].pr_active_key||"carousel"!=t[e].sliderType?!a.ddd_bgfreeze||f?punchgs.TweenLite.to(r,u,{rotationX:d,rotationY:-l,x:s,z:g,y:n,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(r,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(r,.5,{force3D:"auto",rotationY:0,x:0,y:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}),"mouseleave"==i.type&&punchgs.TweenLite.to(jQuery(this),3.8,{z:0,ease:punchgs.Power3.easeOut})})}}),i&&(window.ondeviceorientation=function(i){var r=Math.round(i.beta||0)-70,o=Math.round(i.gamma||0),s=jQuery(t[e].slides[t[e].pr_active_key]);if(jQuery(window).width()>jQuery(window).height()){var n=o;o=r,r=n}var l=t[e].c.width(),d=t[e].c.height(),c=360/l*o,p=180/d*r,u=a.speed/1e3||3,h=[];if(s.find(".tp-parallax-container").each(function(e){h.push(jQuery(this))}),t[e].c.find("rs-static-layers .tp-parallax-container").each(function(){h.push(jQuery(this))}),jQuery.each(h,function(){var e=jQuery(this),t=parseInt(e.data("parallaxlevel"),0)/100,i=c*t*2,a=p*t*4;punchgs.TweenLite.to(e,u,{force3D:"auto",x:i,y:a,ease:punchgs.Power3.easeOut,overwrite:"all"})}),"3D"==a.type||"3d"==a.type){var g="rs-slide .dddwrapper, .dddwrappershadow, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer";"carousel"===t[e].sliderType&&(g="rs-slide .dddwrapper, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer"),t[e].c.find(g).each(function(){var r=jQuery(this),o=a.levels[a.levels.length-1]/200,s=c*o,n=p*o*3,l=0==t[e].conw?0:Math.round(c/t[e].conw*o*500)||0,d=0==t[e].conh?0:Math.round(p/t[e].conh*o*700)||0,h=r.closest("rs-slide"),g=0,f=!1;r.hasClass("dddwrapper-layer")&&(g=a.ddd_z_correction||65,f=!0),r.hasClass("dddwrapper-layer")&&(s=0,n=0),h.hasClass("active-rs-slide")||"carousel"!=t[e].sliderType?!a.ddd_bgfreeze||f?punchgs.TweenLite.to(r,u,{rotationX:d,rotationY:-l,x:s,z:g,y:n,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(r,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(r,.5,{force3D:"auto",rotationY:0,z:0,x:0,y:0,rotationX:0,ease:punchgs.Power3.easeOut,overwrite:"all"}),"mouseleave"==i.type&&punchgs.TweenLite.to(jQuery(this),3.8,{z:0,ease:punchgs.Power3.easeOut})})}}));var s=t[e].scrolleffect;s.set&&(s.multiplicator_layers=parseFloat(s.multiplicator_layers),s.multiplicator=parseFloat(s.multiplicator)),void 0!==s._L&&0===s._L.length&&(s._L=!1),void 0!==s.bgs&&0===s.bgs.length&&(s.bgs=!1),t.scrollTicker(e)}function n(i){if("3D"==a.type||"3d"==a.type){i.find("rs-sbg-wrap").wrapAll('<div class="dddwrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden"></div>'),i.find(".rs-parallax-wrap").wrapAll('<div class="dddwrapper-layer" style="width:100%;height:100%;position:absolute;top:0px;left:0px;z-index:5;overflow:'+a.ddd_layer_overflow+';"></div>'),i.find(".rs-pxl-tobggroup").closest(".rs-parallax-wrap").wrapAll('<div class="dddwrapper-layertobggroup" style="position:absolute;top:0px;left:0px;z-index:50;width:100%;height:100%"></div>');var r=i.find(".dddwrapper"),o=i.find(".dddwrapper-layer");i.find(".dddwrapper-layertobggroup").appendTo(r),"carousel"==t[e].sliderType&&(a.ddd_shadow&&r.addClass("dddwrappershadow"),punchgs.TweenLite.set(r,{borderRadius:t[e].carousel.border_radius})),punchgs.TweenLite.set(i,{overflow:"visible",transformStyle:"preserve-3d",perspective:1600}),punchgs.TweenLite.set(r,{force3D:"auto",transformOrigin:"50% 50%",transformStyle:"preserve-3d",transformPerspective:1600}),punchgs.TweenLite.set(o,{force3D:"auto",transformOrigin:"50% 50%",zIndex:5,transformStyle:"flat",transformPerspective:1600}),punchgs.TweenLite.set(t[e].canvas,{transformStyle:"preserve-3d",transformPerspective:1600})}}},scrollTicker:function(e){1!=t[e].scrollTicker&&(t[e].scrollTicker=!0,i?(punchgs.TweenLite.ticker.fps(150),punchgs.TweenLite.ticker.addEventListener("tick",function(){t.scrollHandling(e)},t[e].c,!1,1)):document.addEventListener("scroll",function(i){t.scrollHandling(e,!0)},{passive:!0})),t.scrollHandling(e,!0)},scrollHandling:function(e,a,r,o){if(void 0!==t[e]){if(t[e].lastwindowheight=t[e].lastwindowheight||window.innerHeight,t[e].conh=0===t[e].conh||void 0===t[e].conh?t[e].infullscreenmode?t[e].minHeight:t[e].c.height():t[e].conh,t[e].lastscrolltop==window.scrollY&&!t[e].duringslidechange&&!a)return!1;punchgs.TweenLite.delayedCall(.2,function(e,i){t[e].lastscrolltop=i},[e,window.scrollY]);var s=void 0!==t[e].topc?t[e].topc[0].getBoundingClientRect():0===t[e].c.height()?t[e].cpar[0].getBoundingClientRect():t[e].c[0].getBoundingClientRect(),n=t[e].viewPort,l=t[e].parallax,d=t[e].slides[void 0===t[e].pr_active_key?0:t[e].pr_active_key];s.hheight=0===s.height?0===t[e].c.height()?t[e].cpar.height():t[e].c.height():s.height;var c=s.top<0||s.hheight>t[e].lastwindowheight?s.top/s.hheight:s.bottom>t[e].lastwindowheight?(s.bottom-t[e].lastwindowheight)/s.hheight:0,p=t[e].fixedOnTop?Math.min(1,Math.max(0,window.scrollY/t[e].lastwindowheight)):Math.min(1,Math.max(0,1-(s.top+s.hheight)/(s.hheight+t[e].lastwindowheight))),u=s.top>=0&&s.top<=t[e].lastwindowheight||s.top<=0&&s.bottom>=0||s.top<=0&&s.bottom>=0;t[e].scrollproc=c,t.callBackHandling&&t.callBackHandling(e,"parallax","start");var h=Math.max(0,1-Math.abs(c));if(u?t[e].sbtimeline.fixed?(t[e].curheight=void 0===t[e].curheight?t[e].cpar.height():t[e].curheight,void 0===t[e].sbtimeline.rest&&t.updateFixedScrollTimes(e),s.top>=0&&s.top<=t[e].lastwindowheight?(p=t[e].sbtimeline.fixStart*(1-s.top/t[e].lastwindowheight)/1e3,t[e].topc.removeClass("rs-fixedscrollon"),punchgs.TweenLite.set(t[e].cpar,{top:0})):s.top<=0&&s.bottom>=t[e].curheight?(t[e].topc.addClass("rs-fixedscrollon"),punchgs.TweenLite.set(t[e].cpar,{top:0}),p=(t[e].sbtimeline.fixStart+t[e].sbtimeline.time*(Math.abs(s.top)/(s.hheight-t[e].curheight)))/1e3):(punchgs.TweenLite.set(t[e].cpar,{top:s.height-t[e].curheight}),t[e].topc.removeClass("rs-fixedscrollon"),p=(t[e].sbtimeline.fixEnd+t[e].sbtimeline.rest*(1-s.bottom/t[e].curheight))/1e3)):p=t[e].duration*p/1e3:t[e].sbtimeline.fixed&&(t[e].topc.removeClass("rs-fixedscrollon"),punchgs.TweenLite.set(t[e].cpar,{top:0})),n.enable&&(void 0===t[e].viewPort.vaType&&t.updateVisibleArea(e),"%"===n.vaType[t[e].level]&&n.visible_area[t[e].level]<=h||"px"===n.vaType[t[e].level]&&(s.top<=0&&s.bottom>=t[e].lastwindowheight||s.top>=0&&s.bottom<=t[e].lastwindowheight||s.top>=0&&s.top<t[e].lastwindowheight-n.visible_area[t[e].level]||s.bottom>=n.visible_area[t[e].level]&&s.bottom<t[e].lastwindowheight)?t[e].inviewport||(t[e].inviewport=!0,t.enterInViewPort(e)):t[e].inviewport&&(t[e].inviewport=!1,t.leaveViewPort(e))),u&&void 0!==d&&void 0!==t.gA(d,"key")&&!0!==o)for(var g in t[e].sbas[t.gA(d,"key")])void 0===t[e]._L[g]||void 0===t[e]._L[g].timeline||1!=t[e]._L[g].animationonscroll&&"true"!=t[e]._L[g].animationonscroll||(void 0!==t[e]._L[g].scrollBasedOffset&&(p+=t[e]._L[g].scrollBasedOffset),p>0&&t[e]._L[g].animOnScrollRepeats<5?(t[e]._L[g].timeline.time(p),t[e]._L[g].animOnScrollRepeats++):punchgs.TweenMax.to(t[e]._L[g].timeline,t[e].sbtimeline.speed,{time:p,ease:t[e].sbtimeline.ease}));if(i&&l.disable_onmobile)return!1;if("3d"!=l.type&&"3D"!=l.type){if(("scroll"==l.type||"mousescroll"==l.type)&&l.pcontainers)for(var f=0;f<l.pcontainers.length;f++)if(l.pcontainers[f].length>0){var m=l.pcontainers[f],v=l.pcontainer_depths[f]/100,y=Math.round(c*(-v*t[e].conh)*10)/10||0,b=void 0!==r?r:l.speedls/1e3||0;m.data("parallaxoffset",y),punchgs.TweenLite.to(m,b,{overwrite:"auto",force3D:"auto",y:y})}if(l.bgcontainers)for(f=0;f<l.bgcontainers.length;f++){var w=l.bgcontainers[f];y=c*(-l.bgcontainer_depths[f]*t[e].conh)||0,b=void 0!==r?r:l.speedbg/1e3||.015;b=void 0!==t[e].parallax.lastBGY&&0===b&&Math.abs(y-t[e].parallax.lastBGY)>50?.15:b,punchgs.TweenLite.to(w,b,{position:"absolute",top:"0px",left:"0px",backfaceVisibility:"hidden",force3D:"true",y:y+"px"}),t[e].parallax.lastBGY=y}}var _=t[e].scrolleffect;if(_.set&&(!i||!1===_.disable_onmobile)){var x=Math.abs(c)-_.tilt/100;if(x=x<0?0:x,!1!==_._L){var k=1-x*_.multiplicator_layers,T={force3D:"true"};if("top"==_.direction&&c>=0&&(k=1),"bottom"==_.direction&&c<=0&&(k=1),k=k>1?1:k<0?0:k,_.fade&&(T.opacity=k),_.scale){var L=k;T.scale=1-L+1}if(_.blur){var I=(1-k)*_.maxblur;T["-webkit-filter"]="blur("+I+"px)",T.filter="blur("+I+"px)"}if(_.grayscale){var A="grayscale("+100*(1-k)+"%)";T["-webkit-filter"]=void 0===T["-webkit-filter"]?A:T["-webkit-filter"]+" "+A,T.filter=void 0===T.filter?A:T.filter+" "+A}punchgs.TweenLite.set(_._L,T)}if(!1!==_.bgs){k=1-x*_.multiplicator,T={backfaceVisibility:"hidden",force3D:"true"};for(var R in"top"==_.direction&&c>=0&&(k=1),"bottom"==_.direction&&c<=0&&(k=1),k=k>1?1:k<0?0:k,_.bgs)if(_.bgs.hasOwnProperty(R)){if(_.bgs[R].fade&&(T.opacity=k),_.bgs[R].blur){I=(1-k)*_.maxblur;T["-webkit-filter"]="blur("+I+"px)",T.filter="blur("+I+"px)"}if(_.bgs[R].grayscale){A="grayscale("+100*(1-k)+"%)";T["-webkit-filter"]=void 0===T["-webkit-filter"]?A:T["-webkit-filter"]+" "+A,T.filter=void 0===T.filter?A:T.filter+" "+A}punchgs.TweenLite.set(_.bgs[R].c,T)}}}t.callBackHandling&&t.callBackHandling(e,"parallax","end")}}})}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution;jQuery.extend(!0,t,{animateSlide:function(e){return a(e)}});var i=function(e,t){var i;return void 0!==(i=jQuery.isArray(e)?e.length>=t?e[t]:e[e.length-1]:e)&&jQuery.isNumeric(i)?parseInt(e,0):i},a=function(e){var a=e.id,n="arrow"==t[a].sc_indicator?void 0===t[a].sc_indicator_dir?t[a].sdir:t[a].sc_indicator_dir:t[a].sdir,l=!0===e.recall?jQuery.extend(!0,{},t[a].lastSliderTransition):function(e,i,a){var r="Power1.easeIn",o="Power1.easeOut",s="Power1.easeInOut",n="Power2.easeIn",l="Power2.easeOut",d="Power2.easeInOut",c="Power3.easeInOut",p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],u=[17,18,19,20,21,22,23,24,25,27],h=0,g=1,f=0,m=[["boxslide",0,0,10,"box",!1,null,0,o,o,1e3,6],["boxrandomrotate",0,1,10,"box",!1,null,60,o,o,1e3,6],["boxfade",1,0,10,"box",!1,null,1,s,s,1e3,5],["slotslide-horizontal",2,0,0,"horizontal",!0,!1,2,d,d,1e3,3],["slotslide-vertical",3,0,0,"vertical",!0,!1,3,d,d,1e3,3],["curtain-1",4,3,0,"horizontal",!0,!0,4,o,o,900,5],["curtain-2",5,3,0,"horizontal",!0,!0,5,o,o,900,5],["curtain-3",6,3,25,"horizontal",!0,!0,6,o,o,900,5],["slotzoom-horizontal",7,0,0,"horizontal",!0,!0,7,o,o,1e3,7],["slotzoom-vertical",8,0,0,"vertical",!0,!0,8,l,l,1e3,8],["slotzoom-mixed",8,1,0,"vertical",!0,!0,59,l,l,1e3,8],["slotfade-horizontal",9,0,0,"horizontal",!0,null,9,d,d,1500,10],["slotfade-vertical",10,0,0,"vertical",!0,null,10,d,d,1500,10],["crossfade-horizontal",9,0,0,"horizontal",!0,null,9,d,d,0,10],["crossfade-vertical",10,0,0,"vertical",!0,null,10,d,d,0,10],["fade",11,0,1,"horizontal",!0,null,11,d,d,1e3,1],["crossfade",11,1,1,"horizontal",!0,null,11,d,d,1e3,1],["fadethroughdark",11,2,1,"horizontal",!0,null,11,d,d,1e3,1],["fadethroughlight",11,3,1,"horizontal",!0,null,11,d,d,1e3,1],["fadethroughtransparent",11,4,1,"horizontal",!0,null,11,d,d,1e3,1],["slideleft",12,0,1,"horizontal",!0,!0,12,c,c,1e3,1],["slideup",13,0,1,"horizontal",!0,!0,13,c,c,1e3,1],["slidedown",14,0,1,"horizontal",!0,!0,14,c,c,1e3,1],["slideright",15,0,1,"horizontal",!0,!0,15,c,c,1e3,1],["slideoverleft",12,7,1,"horizontal",!0,!0,12,c,c,1e3,1],["slideoverup",13,7,1,"horizontal",!0,!0,13,c,c,1e3,1],["slideoverdown",14,7,1,"horizontal",!0,!0,14,c,c,1e3,1],["slideoverright",15,7,1,"horizontal",!0,!0,15,c,c,1e3,1],["slideremoveleft",12,8,1,"horizontal",!0,!0,12,c,c,1e3,1],["slideremoveup",13,8,1,"horizontal",!0,!0,13,c,c,1e3,1],["slideremovedown",14,8,1,"horizontal",!0,!0,14,c,c,1e3,1],["slideremoveright",15,8,1,"horizontal",!0,!0,15,c,c,1e3,1],["papercut",16,0,0,"vertical",null,!0,16,c,c,1e3,2],["3dcurtain-horizontal",17,0,20,"vertical",!0,!0,17,s,s,2e3,7],["3dcurtain-vertical",18,0,10,"horizontal",!0,!0,18,s,s,2e3,7],["cubic",19,0,20,"horizontal",!1,!0,19,d,d,1e3,1],["cube",19,0,20,"horizontal",!1,!0,20,d,d,1e3,1],["flyin",20,0,4,"vertical",!1,!0,21,"Power3.easeOut",c,1e3,1],["turnoff",21,0,1,"horizontal",!1,!0,22,c,c,1e3,1],["incube",22,0,20,"horizontal",!1,!0,23,d,d,1e3,1],["cubic-horizontal",23,0,20,"vertical",!1,!0,24,d,d,1e3,1],["cube-horizontal",23,0,20,"vertical",!1,!0,25,d,d,1e3,1],["incube-horizontal",24,0,20,"vertical",!1,!0,26,d,d,1e3,1],["turnoff-vertical",25,0,1,"horizontal",!1,!0,27,d,d,1e3,1],["fadefromright",12,1,1,"horizontal",!0,!0,28,d,d,1e3,1],["fadefromleft",15,1,1,"horizontal",!0,!0,29,d,d,1e3,1],["fadefromtop",14,1,1,"horizontal",!0,!0,30,d,d,1e3,1],["fadefrombottom",13,1,1,"horizontal",!0,!0,31,d,d,1e3,1],["fadetoleftfadefromright",12,2,1,"horizontal",!0,!0,32,d,d,1e3,1],["fadetorightfadefromleft",15,2,1,"horizontal",!0,!0,33,d,d,1e3,1],["fadetobottomfadefromtop",14,2,1,"horizontal",!0,!0,34,d,d,1e3,1],["fadetotopfadefrombottom",13,2,1,"horizontal",!0,!0,35,d,d,1e3,1],["parallaxtoright",15,3,1,"horizontal",!0,!0,36,d,d,1500,1],["parallaxtoleft",12,3,1,"horizontal",!0,!0,37,d,d,1500,1],["parallaxtotop",14,3,1,"horizontal",!0,!0,38,d,d,1500,1],["parallaxtobottom",13,3,1,"horizontal",!0,!0,39,d,d,1500,1],["scaledownfromright",12,4,1,"horizontal",!0,!0,40,d,n,1e3,1],["scaledownfromleft",15,4,1,"horizontal",!0,!0,41,d,n,1e3,1],["scaledownfromtop",14,4,1,"horizontal",!0,!0,42,d,n,1e3,1],["scaledownfrombottom",13,4,1,"horizontal",!0,!0,43,d,n,1e3,1],["zoomout",13,5,1,"horizontal",!0,!0,44,d,d,1e3,1],["zoomin",13,6,1,"horizontal",!0,!0,45,d,d,1e3,1],["slidingoverlayup",27,0,1,"horizontal",!0,!0,47,s,o,2e3,1],["slidingoverlaydown",28,0,1,"horizontal",!0,!0,48,s,o,2e3,1],["slidingoverlayright",30,0,1,"horizontal",!0,!0,49,s,o,2e3,1],["slidingoverlayleft",29,0,1,"horizontal",!0,!0,50,s,o,2e3,1],["parallaxcirclesup",31,0,1,"horizontal",!0,!0,51,d,r,1500,1],["parallaxcirclesdown",32,0,1,"horizontal",!0,!0,52,d,r,1500,1],["parallaxcirclesright",33,0,1,"horizontal",!0,!0,53,d,r,1500,1],["parallaxcirclesleft",34,0,1,"horizontal",!0,!0,54,d,r,1500,1],["notransition",26,0,1,"horizontal",!0,null,46,d,n,1e3,1],["parallaxright",15,3,1,"horizontal",!0,!0,55,d,n,1500,1],["parallaxleft",12,3,1,"horizontal",!0,!0,56,d,n,1500,1],["parallaxup",14,3,1,"horizontal",!0,!0,57,d,r,1500,1],["parallaxdown",13,3,1,"horizontal",!0,!0,58,d,r,1500,1],["grayscale",11,5,1,"horizontal",!0,null,11,d,d,1e3,1],["grayscalecross",11,6,1,"horizontal",!0,null,11,d,d,1e3,1],["brightness",11,7,1,"horizontal",!0,null,11,d,d,1e3,1],["brightnesscross",11,8,1,"horizontal",!0,null,11,d,d,1e3,1],["blurlight",11,9,1,"horizontal",!0,null,11,d,d,1e3,1],["blurlightcross",11,10,1,"horizontal",!0,null,11,d,d,1e3,1],["blurstrong",11,9,1,"horizontal",!0,null,11,d,d,1e3,1],["blurstrongcross",11,10,1,"horizontal",!0,null,11,d,d,1e3,1]];return t[e].duringslidechange=!0,jQuery.each(["parallaxcircles","slidingoverlay","slide","slideover","slideremove","parallax","parralaxto"],function(e,t){i==t+"horizontal"&&(i=1!=a?t+"left":t+"right"),i==t+"vertical"&&(i=1!=a?t+"up":t+"down")}),"random"==i?i=Math.min(Math.round(Math.random()*(m.length-1)),m.length-1):"random-static"==i?i=p[Math.min(Math.round(Math.random()*p.length-1),p.length-1)]:"random-premium"==i&&(i=u[Math.min(Math.round(Math.random()*u.length-1),u.length-1)]),1==t[e].isJoomla&&null!=window.MooTools&&-1!=[12,13,14,15,16,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45].indexOf(i)&&(i=u[Math.max(0,Math.min(u.length-1,Math.round(Math.random()*(u.length-2))+1))]),jQuery.each(m,function(e,t){t[0]!=i&&t[7]!=i||(h=t[1],g=t[2],f=e)}),{nTR:h=Math.max(0,Math.min(30,h)),TR:m[f],trC:g}}(a,e.animation.transition[e.ntrid],n),d=t[a].pr_next_bg&&void 0!==t[a].pr_next_bg.data("panzoom")&&(l.nTR<11||17==l.nTR||18===l.nTR||l.nTR>=27&&l.nTR<=30)?11:l.nTR;!0!==e.recall?(t[a].lastSliderAnimation=jQuery.extend(!0,{},e.animation),t[a].lastSliderTransition=jQuery.extend(!0,{},l)):e.animation=jQuery.extend(!0,{},t[a].lastSliderAnimation);var c=!0===e.recall?l.ntrid:e.ntrid||0,p=i(e.animation.masterspeed,c);p=(p="default"===p||"d"===p?l.TR[10]:"random"===p?Math.round(1e3*Math.random()+300):null!=p?parseInt(p,0):l.TR[10])>t[a].duration?t[a].duration:p,t[a].rotate=i(e.animation.rotate,c),t[a].rotate=null==t[a].rotate||"default"==t[a].rotate||"d"==t[a].rotate?0:999==t[a].rotate||"random"==t[a].rotate?Math.round(360*Math.random()):t[a].rotate,t[a].rotate=window._rs_ie||window._rs_ie9?0:t[a].rotate,(d<11||16===d||17===d||18===d||l.nTR>=27&&l.nTR<=30)&&(t[a].slots=i(e.animation.slotamount,c),t[a].slots=null==t[a].slots||"default"==t[a].slots||"d"==t[a].slots?l.TR[11]:"random"==t[a].slots?Math.round(12*Math.random()+4):t[a].slots,t[a].slots=t[a].slots<1?"boxslide"==l.TR[0]?Math.round(6*Math.random()+3):"boxslide"==l.TR[0]||"flyin"==l.TR[0]?Math.round(4*Math.random()+1):t[a].slots:t[a].slots,t[a].slots=(4==d||5==d||6==d)&&t[a].slots<3?3:t[a].slots,t[a].slots=0!=l.TR[3]?Math.min(t[a].slots,l.TR[3]):t[a].slots,t[a].slots=9==d?t[a].width/t[a].slots:10==d?t[a].height/t[a].slots:t[a].slots,t[a].slots=jQuery.inArray(d,[19,20,21,22,23,24,25,27])>=0?1:t[a].slots,t[a].slots=3!=d&&8!=d&&10!=d||"vertical"!==l.TR[4]?t[a].slots:t[a].slots+2,null!=l.TR[6]&&s(t[a].pr_active_bg,a,l.TR[6],l.TR[4]),null!=l.TR[5]&&s(t[a].pr_next_bg,a,l.TR[5],l.TR[4]),t[a].mtl.delay(.075));var u=7===d||16===d||8===d||17===d||18===d?0:1,h=d<11||17===d||18===d?0:1;if(void 0!==t[a].pr_next_bg[0]){var g=t[a].pr_next_bg.find("rs-sbg");void 0!==g[0]&&t[a].mtl.add(punchgs.TweenLite.set(g,{scale:1,rotationX:0,rotationY:0,rotationZ:0,z:0,top:0,left:0,x:0,y:0,clearProps:"filter, transform",opacity:h}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_next_bg,{transformOrigin:"50% 50% 0",transformPerspective:600,scale:1,rotationX:0,rotationY:0,rotationZ:0,z:0,autoAlpha:1,top:0,left:0,x:0,y:0,clearProps:"filter, transform"}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_next_bg.parent(),{backgroundColor:"transparent"}),0)}if(void 0!==t[a].pr_active_bg[0]){var f=t[a].pr_active_bg.find("rs-sbg");void 0!==f[0]&&t[a].mtl.add(punchgs.TweenLite.set(f,{scale:1,rotationX:0,rotationY:0,rotationZ:0,z:0,top:0,left:0,x:0,y:0,clearProps:"filter, transform",opacity:u}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_active_bg,{transformOrigin:"50% 50% 0",transformPerspective:600,scale:1,rotationX:0,rotationY:0,rotationZ:0,z:0,autoAlpha:1,top:0,left:0,x:0,y:0,clearProps:"filter, transform"}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_active_bg.parent(),{backgroundColor:"transparent"}),0)}var m=i(e.animation.easein,c),v=i(e.animation.easeout,c);if(m="default"===m||"d"===m?l.TR[8]||punchgs.Power2.easeInOut:m||l.TR[8]||punchgs.Power2.easeInOut,v="default"===v||"d"===v?l.TR[9]||punchgs.Power2.easeInOut:v||l.TR[9]||punchgs.Power2.easeInOut,d>=31){var y={canvas:t[a].pr_next_bg[0].getElementsByClassName("bgcanvas")[0]};if(y.ctx=y.canvas.getContext("2d"),y.oBG_next=t[a].pr_next_bg[0].getElementsByTagName("rs-sbg")[0],y.img_next=t.getLoadObj(a,t.gA(y.oBG_next,"src-rs-ref")),y.col_next=t.gA(y.oBG_next,"bgcolor"),void 0!==t[a].pr_active_bg[0]&&(y.oBG_act=t[a].pr_active_bg[0].getElementsByTagName("rs-sbg")[0],y.img_act=t.getLoadObj(a,t.gA(y.oBG_act,"src-rs-ref")),y.col_act=t.gA(y.oBG_act,"bgcolor")),y.ctx.clearRect(0,0,y.canvas.width,y.canvas.height),y.canvas.width=t[a].width,y.canvas.height=t[a].height,y.canvas.style.background="transparent",y.canvas.style.display="block",y.oBG_next.style.display="none",void 0!==y.col_next&&y.col_next.indexOf("gradient")>=0&&(y.col_next="transparent"),void 0!==y.col_act&&y.col_act.indexOf("gradient")>=0&&(y.col_act="transparent"),31===d){for(var b="transparent"!==y.col_next&&void 0!==y.col_next?{x:0,y:0,width:t[a].width,height:t[a].height}:r("contain"===y.oBG_next.style.backgroundSize,t[a].width,t[a].height,y.img_next.width,y.img_next.height),w=void 0===y.oBG_act?void 0:"transparent"!==y.col_act&&void 0!==y.col_act?{x:0,y:0,width:t[a].width,height:t[a].height}:r("contain"===y.oBG_act.style.backgroundSize,t[a].width,t[a].height,y.img_act.width,y.img_act.height),_=t[a].width/t[a].slots,x=_/2,k=t[a].height,T=[],L=0;L<t[a].slots+1;L++)T.push({mt:k,it:k/4,ml:0,o:2});t[a].mtl.add(punchgs.TweenMax.staggerTo(T,2*p/1e3,{mt:0,it:0,ml:x,o:0,ease:punchgs.Power3.easeOut,onUpdate:function(){var e=0;y.ctx.clearRect(0,0,y.canvas.width,y.canvas.height);for(var i=0;i<t[a].slots+1;i++){var r=T[i].mt,s=T[i].ml,n=T[i].it,l=T[i].mt-k,d=T[i].ml+x,c=T[i].it-k/4;o({ctx:y.ctx,poly:[[e-x+s,0+r],[e+x+1+s,0+r],[e+1+s,k+r],[e-_+s,k+r]],bg:{overlay:"rgba(0,0,0,"+T[i].o+")",img:y.img_next.img,col:y.col_next,offsetx:b.x,offsety:b.y+n,width:b.width,height:b.height}}),void 0!==y.col_act&&(y.oBG_act.style.display="none",o({ctx:y.ctx,poly:[[e-x+d,0+l],[e+x+1+d,0+l],[e+1+d,k+l],[e-_+d,k+l]],bg:{overlay:"rgba(0,0,0,"+(1-T[i].o)+")",img:y.img_act.img,col:y.col_act,offsetx:w.x,offsety:w.y+c,width:w.width,height:w.height}})),e+=_}}},.2,function(){y.ctx.clearRect(0,0,y.canvas.width,y.canvas.height),y.canvas.style.display="none",y.oBG_next.style.display="block"}),0)}}if(0==d){var I=Math.ceil(t[a].height/t[a].sloth),A=0;t[a].pr_next_bg.find(".slotslide").each(function(e){A=++A===I?0:A,t[a].rotate=1===l.trC?45:t[a].rotate,t[a].mtl.add(punchgs.TweenLite.from(this,p/2e3,{opacity:0,transformStyle:"flat",transformPerspective:600,scale:0,rotationZ:0!==t[a].rotate?Math.random()*t[a].rotate-t[a].rotate/2:0,force3D:"auto",ease:m}),(10*e+30*A)/3e3)})}else if(1==d)t[a].pr_next_bg.find(".slotslide").each(function(e){t[a].mtl.add(punchgs.TweenLite.from(this,(Math.random()*p+300)/1e3,{autoAlpha:0,force3D:"auto",rotation:t[a].rotate,ease:m}),(500*Math.random()+200)/1e3)});else if(2==d||3==d)t[a].pr_active_bg.find(".slotslide").each(function(){t[a].mtl.add(punchgs.TweenLite.to(this,p/1e3,{top:3===d?t[a].sloth:0,left:2===d?t[a].slotw:0,ease:m,force3D:"auto",rotation:0-t[a].rotate}),0)}),t[a].pr_next_bg.find(".slotslide").each(function(){t[a].mtl.add(punchgs.TweenLite.from(this,p/1e3,{top:3==d?1===n?0-t[a].sloth:t[a].sloth:0,left:2==d?1===n?0-t[a].slotw:t[a].slotw:0,ease:m,force3D:"auto",rotation:t[a].rotate}),0)});else if(4==d||5==d||6==d){var R=new punchgs.TimelineLite,S=p/1e3-p/1e3/t[a].slots;t[a].slots-=t[a].slots%2==1?1:0,t[a].pr_active_bg.find(".slotslide").each(function(e){var i=6!==d?e:e>t[a].slots/2?t[a].slots-e:e;R.add(punchgs.TweenLite.to(this,S,{transformPerspective:600,force3D:"auto",top:1!==n?t[a].height:-t[a].height,opacity:.75,rotation:t[a].rotate,ease:m,delay:(5!==d?i:t[a].slots-i)*(S/t[a].slots)/(6===d?1.3:1)}),0),t[a].mtl.add(R,0)}),t[a].pr_next_bg.find(".slotslide").each(function(e){var i=6!==d?e:e>t[a].slots/2?t[a].slots-e:e;R.add(punchgs.TweenLite.from(this,S,{top:1==n?t[a].height:-t[a].height,opacity:.75,rotation:t[a].rotate,force3D:"auto",ease:punchgs.eo,delay:(5!==d?i:t[a].slots-i)*(S/t[a].slots)/(6===d?1.3:1)}),0),t[a].mtl.add(R,0)})}else if(7==d||8==d)p=Math.min(t[a].duration||p,p),t[a].pr_active_bg.find(".slotslide").each(function(e){var i=e>t[a].slots/2?t[a].slots-e:e;t[a].mtl.add(punchgs.TweenLite.to(this.getElementsByTagName("div"),p/1e3,{x:8===d&&0===l.trC?0:i*t[a].slotw/3,y:8===d&&0===l.trC?i*t[a].sloth/3:0,ease:m,transformPerspective:600,force3D:"auto",filter:"blur(2px)",scale:1.2,opacity:0}),0)}),t[a].pr_next_bg.find(".slotslide").each(function(e){var i=e>t[a].slots/2?t[a].slots-e:e;t[a].mtl.add(punchgs.TweenLite.fromTo(this.getElementsByTagName("div"),p/1e3,{x:8===d&&0===l.trC?0:0-i*t[a].slotw/3,y:8===d&&0===l.trC?0-i*t[a].sloth/3:0,filter:"blur(2px)",opacity:0,transformPerspective:600,scale:1.2},{x:0,y:0,ease:v,force3D:"auto",scale:1,filter:"blur(0px)",opacity:1,rotation:0}),0)});else if(9==d||10==d){var z=t[a].pr_next_bg[0].getElementsByClassName("slotslide"),M=p-p/1.8;for(L=0;L<z.length;L++)t[a].mtl.add(punchgs.TweenLite.fromTo(z[L],(p-L*(M/t[a].slots))/1e3,{opacity:0,force3D:"auto",transformPerspective:600},{opacity:1,ease:"Linear.easeNone",delay:L*(M/t[a].slots)/1e3}),0)}else if(11==d){l.trC=Math.min(12,l.trC);var C=2==l.trC?"#000000":3==l.trC?"#ffffff":"transparent";switch(l.trC){case 0:t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,p/1e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:m}),0);break;case 1:t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,p/1e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:m}),0),t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_active_bg,p/1e3,{autoAlpha:1},{autoAlpha:0,force3D:"auto",ease:m}),0);break;case 2:case 3:case 4:t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_active_bg.parent(),{backgroundColor:C,force3D:"auto"}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_next_bg.parent(),{backgroundColor:"transparent",force3D:"auto"}),0),t[a].mtl.add(punchgs.TweenLite.to(t[a].pr_active_bg,p/2e3,{autoAlpha:0,force3D:"auto",ease:m}),0),t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,p/2e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:m}),p/2e3);break;case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:var O="blur("+(jQuery.inArray(l.trC,[9,10])>=0?5:jQuery.inArray(l.trC,[11,12])>=0?10:0)+"px) grayscale("+(jQuery.inArray(l.trC,[5,6,7,8])>=0?100:0)+"%) brightness("+(jQuery.inArray(l.trC,[7,8])>=0?300:0)+"%)",P="blur(0px) grayscale(0%) brightness(100%)";t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,p/1e3,{autoAlpha:0,filter:O,"-webkit-filter":O},{autoAlpha:1,filter:P,"-webkit-filter":P,force3D:"auto",ease:m}),0),jQuery.inArray(l.trC,[6,8,10])>=0&&t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_active_bg,p/1e3,{autoAlpha:1,filter:P,"-webkit-filter":P},{autoAlpha:0,force3D:"auto",ease:m,filter:O,"-webkit-filter":O}),0)}t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_next_bg.find("rs-sbg"),{autoAlpha:1}),0),void 0!==t[a].pr_active_bg[0]&&t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_active_bg.find("rs-sbg"),{autoAlpha:1}),0)}else if(12==d||13==d||14==d||15==d){var j=3==l.trC?p/1300:p/1e3,H=p/1e3,N=5==l.trC||6==l.trC?0:t[a].width,Q=5==l.trC||6==l.trC?0:t[a].currentSlideHeight,D=12==d?N:15==d?0-N:0,B=13==d?5==l.trC||6==l.trC?0:t[a].height:14==d?5==l.trC||6==l.trC?0:0-t[a].height:0,W=1==l.trC||2==l.trC||5==l.trC||6==l.trC?0:1,F=4==l.trC||5==l.trC?.6:6==l.trC?1.4:1,E=5==l.trC?1.4:6==l.trC?.6:1;if(7!=l.trC&&4!=l.trC||(N=0,Q=0),8==l.trC?(t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_active_slide,{zIndex:20}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_next_slide,{zIndex:15}),0),t[a].mtl.add(punchgs.TweenLite.to(t[a].pr_next_bg,.01,{overflow:"hidden",left:0,top:0,x:0,y:0,scale:1,autoAlpha:1,rotation:0,overwrite:!0,immediateRender:!0,force3D:"auto"}),0)):(t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_active_slide,{zIndex:15}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_next_slide,{zIndex:20}),0),t[a].mtl.add(punchgs.TweenLite.from(t[a].pr_next_bg,j,{left:D,top:B,overflow:"hidden",scale:E,autoAlpha:W,rotation:t[a].rotate,ease:m,force3D:"auto"}),0)),1!=l.trC)switch(d){case 12:t[a].mtl.add(punchgs.TweenLite.to(t[a].pr_active_bg,H,{left:0-N+"px",overflow:"hidden",force3D:"auto",scale:F,autoAlpha:W,rotation:t[a].rotate,ease:v}),0);break;case 15:t[a].mtl.add(punchgs.TweenLite.to(t[a].pr_active_bg,H,{left:N+"px",overflow:"hidden",force3D:"auto",scale:F,autoAlpha:W,rotation:t[a].rotate,ease:v}),0);break;case 13:t[a].mtl.add(punchgs.TweenLite.to(t[a].pr_active_bg,H,{top:0-Q+"px",overflow:"hidden",force3D:"auto",scale:F,autoAlpha:W,rotation:t[a].rotate,ease:v}),0);break;case 14:t[a].mtl.add(punchgs.TweenLite.to(t[a].pr_active_bg,H,{top:Q+"px",overflow:"hidden",force3D:"auto",scale:F,autoAlpha:W,rotation:t[a].rotate,ease:v}),0)}}else if(16==d){var Y=1===n?"80% 50% 0":"20%  50% 0";t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_active_slide,{zIndex:20}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_next_slide,{zIndex:15}),0),t[a].pr_active_bg.find(".slotslide").each(function(e){t[a].mtl.add(punchgs.TweenLite.fromTo(this,p/1e3,{left:0,rotationZ:0,opacity:1,top:0,z:0,scale:1},{opacity:1,left:1===n?0==e?-t[a].width/1.6:-t[a].width/1.8:0===e?t[a].width/1.6:t[a].width/1.8,rotationZ:1===n?0===e?-35:25:0===e?25:-35,z:0,top:0==e?"-120%":"140%",scale:.8,force3D:"auto",transformPerspective:600,transformOrigin:Y,delay:0,ease:m}),0),t[a].mtl.add(punchgs.TweenLite.fromTo(this,p/2e3,{opacity:1},{opacity:0,delay:p/2e3}),0)}),t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,p/1e3-p/7e3,{x:100*Math.random()-50,opacity:1,scale:.9,rotationZ:10*Math.random()-5},{x:0,opacity:1,scale:1,rotationZ:0,ease:m,force3D:"auto",delay:p/7e3}),0)}else if(17==d||18==d)t[a].pr_next_bg.find(".slotslide").each(function(e){t[a].mtl.add(punchgs.TweenLite.fromTo(this,p/t[a].slots/1e3,{opacity:0,top:0,left:0,rotationY:17===d?0:90,scale:1,rotationX:17===d?-90:0,force3D:"auto",transformPerspective:600,transformOrigin:17===d?"top center":"center left"},{opacity:1,top:0,left:0,rotationX:0,rotationY:0,force3D:"auto",ease:v,delay:e*(p/t[a].slots/2e3)}),0)}),t[a].pr_active_bg.find(".slotslide").each(function(e){t[a].mtl.add(punchgs.TweenLite.fromTo(this,p/t[a].slots/1e3,{opacity:1,rotationY:0,scale:1,rotationX:0,force3D:"auto",transformPerspective:600,transformOrigin:17===d?"bottom center":"center right"},{opacity:0,rotationX:17===d?110:0,rotationY:17===d?0:110,force3D:"auto",ease:m,delay:e*(p/t[a].slots/2e3)}),0)});else if(19==d||22==d||23==d||24==d){t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_active_slide,{zIndex:20}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_next_slide,{zIndex:10}),0);Y=19===d?"center center -"+t[a].height/2:22===d?"center center "+t[a].height/2:23===d?"center center -"+t[a].width/2:"center center "+t[a].width/2;punchgs.TweenLite.set(t[a].c,{transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:600}),t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,p/1e3,{rotationX:19==d||22===d?1==n?-90:90:0,rotationY:23==d||24===d?1==n?-90:90:0,left:0,top:0,scale:1,x:0,y:0,overflow:"hidden",autoAlpha:1,transformStyle:"flat",backfaceVisibility:"hidden",force3D:"auto",transformPerspective:1200,transformOrigin:Y},{overflow:"hidden",left:0,autoAlpha:1,rotationX:0,rotationY:0,top:0,scale:1,delay:0,ease:m,transformStyle:"flat",backfaceVisibility:"hidden",force3D:"auto",transformPerspective:1200,transformOrigin:Y}),0),t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,p/2e3,{z:19==d||23===d?-200:0},{z:19===d||23===d?0:-200,ease:"Power3.easeInOut",delay:19===d||23===d?p/2e3:0}),0),22!==d&&24!==d||t[a].mtl.add(punchgs.TweenLite.fromTo([t[a].pr_active_bg,t[a].pr_next_bg],p/2e3,{z:-200},{z:0,ease:"Power2.easeIn",delay:p/2e3}),0),t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_active_bg,p/2e3,{z:0},{z:-200,ease:"Power3.easeInOut",delay:0,force3D:"auto"}),0),19!==d&&23!==d||t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_active_bg,p/2e3,{autoAlpha:1},{autoAlpha:0,ease:"LinearEase.none",delay:p/2e3,force3D:"auto"}),0),t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_active_bg,p/1e3,{overflow:"hidden",rotationX:0,rotationY:0,rotationZ:0,top:0,left:0,scale:1,transformStyle:"flat",backfaceVisibility:"hidden",force3D:"auto",transformPerspective:1200,transformOrigin:Y},{rotationX:19===d||22===d?1==n?90:-90:0,rotationY:23===d||24===d?1==n?90:-90:0,overflow:"hidden",top:0,scale:1,delay:0,force3D:"auto",ease:m,transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:1200,transformOrigin:Y}),0)}else if(20==d){Y=1===n?"20% ":"80% ";Y+="60% -50%",t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,p/1e3,{left:1===n?-t[a].width:t[a].width,rotationX:20,z:-t[a].width,autoAlpha:0,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:Y,rotationY:1===n?50:-50},{left:0,rotationX:0,autoAlpha:1,top:0,z:0,scale:1,rotationY:0,delay:0,ease:m}),0),Y=1!=n?"20% ":"80% ",Y+="60% -50%",t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_active_bg,p/1e3,{autoAlpha:1,rotationX:0,top:0,z:0,scale:1,left:0,force3D:"auto",transformPerspective:600,transformOrigin:Y,rotationY:0},{autoAlpha:1,rotationX:20,top:0,z:-t[a].width,left:1!=n?-t[a].width/1.2:t[a].width/1.2,force3D:"auto",rotationY:1===n?-50:50,delay:0,ease:"Power2.easeInOut"}),0)}else if(21==d||25==d){var V=25===d?t[a].rotate:1===n?90:-90,X=25===d?1===n?-90:90:t[a].rotate;Y=1===n?25===d?"center top 0":"left center 0":25===d?"center bottom 0":"right center 0";t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,p/1e3,{transformStyle:"flat",rotationX:X,top:0,left:0,autoAlpha:0,force3D:"auto",transformPerspective:1200,transformOrigin:Y,rotationY:V},{autoAlpha:1,rotationX:0,rotationY:0,ease:m}),0),Y=1===n?25===d?"center bottom 0":"right center 0":25===d?"center top 0":"left center 0",V=25!==d?-V:V,X=25!==d?X:-X,t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_active_bg,p/1e3,{rotationX:0,rotationY:0,transformStyle:"flat",transformPerspective:1200,force3D:"auto"},{immediateRender:!0,rotationX:X,transformOrigin:Y,rotationY:V,ease:v}),0)}else if(26==d)p=0,t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg,.001,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:m}),0),t[a].mtl.add(punchgs.TweenLite.to(t[a].pr_active_bg,.001,{autoAlpha:0,force3D:"auto",ease:m}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_next_bg.find("rs-sbg"),{autoAlpha:1}),0),t[a].mtl.add(punchgs.TweenLite.set(t[a].pr_active_bg.find("rs-sbg"),{autoAlpha:1}),0);else if(27==d||28==d||29==d||30==d){var Z=t[a].pr_next_bg.find(".slot"),q=27==d||29==d?"-100%":"+100%",U=27==d||29==d?"+100%":"-100%",G=27==d||29==d?"-80%":"80%",J=27==d||29==d?"+80%":"-80%",K=27==d||29==d?"+10%":"-10%",$={overwrite:"all"},ee={autoAlpha:0,zIndex:1,force3D:"auto",ease:m},te={position:"inherit",autoAlpha:0,overwrite:"all",zIndex:1},ie={autoAlpha:1,force3D:"auto",ease:v},ae={overwrite:"all",zIndex:2,opacity:1,autoAlpha:1},re={autoAlpha:1,force3D:"auto",overwrite:"all",ease:m},oe={overwrite:"all",zIndex:2,autoAlpha:1},se={autoAlpha:1,force3D:"auto",ease:m},ne=1==(27==d||28==d?1:2)?"y":"x";$[ne]="0px",ee[ne]=q,te[ne]=K,ie[ne]="0%",ae[ne]=U,re[ne]=q,oe[ne]=G,se[ne]=J,Z.append('<span style="background-color:rgba(0,0,0,0.6);width:100%;height:100%;position:absolute;top:0px;left:0px;display:block;z-index:2"></span>'),t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_active_bg,p/1e3,$,ee),0),t[a].mtl.add(punchgs.TweenLite.fromTo(t[a].pr_next_bg.find("rs-sbg"),p/2e3,te,ie),p/2e3),t[a].mtl.add(punchgs.TweenLite.fromTo(Z,p/1e3,ae,re),0),t[a].mtl.add(punchgs.TweenLite.fromTo(Z.find(".slotslide div"),p/1e3,oe,se),0)}},r=function(e,t,i,a,r){var o=a/r,s=t/i,n=t,l=i;return(e?o>s:o<s)?l=n/o:n=l*o,{width:n,height:l,x:(t-n)/2,y:(i-l)/2}},o=function(e){e.ctx.save(),e.ctx.beginPath(),e.ctx.moveTo(e.poly[0][0],e.poly[0][1]);for(var t=1;t<e.poly.length;t++)e.ctx.lineTo(e.poly[t][0],e.poly[t][1]);e.ctx.closePath(),e.ctx.lineWidth=2,e.ctx.stroke(),e.ctx.clip(),void 0!==e.bg.img&&e.ctx.drawImage(e.bg.img,e.bg.offsetx,e.bg.offsety,e.bg.width,e.bg.height),"transparent"!==e.bg.col&&void 0!==e.bg.col&&(e.ctx.fillStyle=e.bg.col,e.ctx.fillRect(e.bg.offsetx,e.bg.offsety,e.bg.width,e.bg.height)),void 0!==e.bg.overlay&&(e.ctx.fillStyle=e.bg.overlay,e.ctx.fillRect(e.bg.offsetx,e.bg.offsety,e.bg.width,e.bg.height)),e.ctx.restore()},s=function(e,i,a,r){var o=e.find("rs-sbg"),s=o.data("mediafilter"),n=e.data("zoomstart"),l=e.data("rotationstart");null!=o.data("currotate")&&(l=o.data("currotate")),null!=o.data("curscale")&&"box"==r?n=100*o.data("curscale"):null!=o.data("curscale")&&(n=o.data("curscale")),function(e,i){t[i].slotw=Math.ceil(t[i].width/t[i].slots),"fullscreen"==t[i].sliderLayout?t[i].sloth=Math.ceil(jQuery(window).height()/t[i].slots):t[i].sloth=Math.ceil(t[i].height/t[i].slots),t[i].autoHeight&&void 0!==e&&""!==e&&(t[i].sloth=Math.ceil(e.height()/t[i].slots))}(o,i);var d=void 0!==o[0]&&void 0!==o[0].dataset&&void 0!==o[0].dataset.lazyload?o[0].dataset.lazyload:o.attr("src"),c=t[i].width,p=t[i].autoHeight?t[i].c.height():t[i].height,u=o.data("fxof"),h=0,g=e.data("bgcolor")||o.css("backgroundColor"),f=e.data("bgfit")||"cover",m=e.data("bgrepeat")||"no-repeat",v=e.data("bgposition")||"center center",y=void 0!==g&&g.indexOf("gradient")>=0?"background:"+g:"background-color:"+g+";background-image:url("+d+");background-repeat:"+m+";background-size:"+f+";background-position:"+v,b="";if(u=null==u?0:u,e.find(".slot").each(function(){jQuery(this).remove()}),"box"===r)for(var w=0,_=0,x=0;x<t[i].slots;x++){_=0;for(var k=0;k<t[i].slots;k++)b+='<div class="slot" style="'+(null!=n&&null!=l?"transform:rotateZ("+l+"deg)":"")+";position:absolute;overflow:hidden;top:"+(0+_)+"px;left:"+(u+w)+"px;width:"+t[i].slotw+"px;height:"+t[i].sloth+'px;"><div class="slotslide '+s+'" data-x="'+w+'" data-y="'+_+'" style="position:absolute;top:0px;left:0px;width:'+t[i].slotw+"px;height:"+t[i].sloth+'px;overflow:hidden;"><div style="position:absolute;top:'+(0-_)+"px;left:"+(0-w)+"px;width:"+c+"px;height:"+p+"px;"+y+';"></div></div></div>',_+=t[i].sloth;w+=t[i].slotw}else if("horizontal"===r){if(!a)h=0-t[i].slotw;for(k=0;k<t[i].slots;k++)b+='<div class="slot" style="'+(null!=n&&null!=l?"transform:rotateZ("+l+"deg)":"")+";position:absolute;overflow:hidden;top:0px;left:"+(u+k*t[i].slotw)+"px;width:"+(t[i].slotw+.3)+"px;height:"+p+'px"><div class="slotslide '+s+'" style="position:absolute;top:0px;left:'+h+"px;width:"+(t[i].slotw+.6)+"px;height:"+p+'px;overflow:hidden;"><div style="position:absolute;top:0px;left:'+(0-k*t[i].slotw)+"px;width:"+c+"px;height:"+p+"px;"+y+';"></div></div></div>'}if("vertical"===r){if(!a)h=0-t[i].sloth;for(k=0;k<t[i].slots;k++)b+='<div class="slot" style="'+(null!=n&&null!=l?"transform:rotateZ("+l+"deg)":"")+";position:absolute;overflow:hidden;top:"+(0+k*t[i].sloth)+"px;left:"+u+"px;width:"+c+"px;height:"+t[i].sloth+'px"><div class="slotslide '+s+'" style="position:absolute;top:'+h+"px;left:0px;width:"+c+"px;height:"+t[i].sloth+'px;overflow:hidden;"><div style="position:absolute;top:'+(0-k*t[i].sloth)+"px;left:0px;width:"+c+"px;height:"+p+"px;"+y+';"></div></div></div>'}e.append(b)}}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution,i=t.is_mobile();t.is_android();function a(e){return null==e?-1:jQuery.isNumeric(e)?e:e.split(":").length>1?60*parseInt(e.split(":")[0],0)+parseInt(e.split(":")[1],0):e}jQuery.extend(!0,t,{preLoadAudio:function(e,i){t[i].videos=void 0===t[i].videos?{}:t[i].videos,e.find(".rs-layer-audio").each(function(){var e=jQuery(this),a=t[i].videos[e[0].id]=void 0===t[i].videos[e[0].id]?y(e.data(),"audio"):t[i].videos[e[0].id],r={};0===e.find("audio").length&&(r.src=null!=a.mp4?a.mp4:"",r.pre=a.pload||"",this.id=void 0===this.id||""===this.id?e.attr("audio-layer-"+Math.round(199999*Math.random())):this.id,r.id=this.id,r.status="prepared",r.start=jQuery.now(),r.waittime=void 0!==a.ploadwait?1e3*a.ploadwait:5e3,"auto"!=r.pre&&"canplaythrough"!=r.pre&&"canplay"!=r.pre&&"progress"!=r.pre||(void 0===t[i].audioqueue&&(t[i].audioqueue=[]),t[i].audioqueue.push(r),t.manageVideoLayer(e,i)))})},preLoadAudioDone:function(e,i,a){var r=t[i].videos[e[0].id];t[i].audioqueue&&t[i].audioqueue.length>0&&jQuery.each(t[i].audioqueue,function(e,t){r.mp4!==t.src||t.pre!==a&&"auto"!==t.pre||(t.status="loaded")})},resetVideo:function(e,a,r,o){var s=t[a].videos[e[0].id];switch(s.type){case"youtube":s.rwd&&null!=s.player&&void 0!==s.player.seekTo&&(s.player.seekTo(-1==s.ssec?0:s.ssec),s.player.pauseVideo()),0!=e.find("rs-poster").length||s.bgvideo||"preset"===r||punchgs.TweenLite.to(e.find("iframe"),.3,{opacity:1,display:"block",ease:punchgs.Power3.easeInOut});break;case"vimeo":void 0!==s.vimeoplayer&&!o&&s.rwd&&(0!==s.ssec&&-1!==s.ssec||s.bgvideo||e.find("rs-poster").length>0)&&(s.vimeoplayer.setCurrentTime(-1==s.ssec?0:s.ssec),s.vimeoplayer.pause()),0!=e.find("rs-poster").length||s.bgvideo||"preset"===r||punchgs.TweenLite.to(e.find("iframe"),.3,{opacity:1,display:"block",ease:punchgs.Power3.easeInOut});break;case"html5":if(i&&s.notonmobile)return!1;punchgs.TweenLite.to(s.jvideo,.3,{opacity:1,display:"block",ease:punchgs.Power3.easeInOut}),!s.rwd||e.hasClass("videoisplaying")||isNaN(s.video.duration)||(s.video.currentTime=-1==s.ssec?0:s.ssec),("mute"==s.volume||t.lastToggleState(e.videomutetoggledby)||!0===t[a].globalmute)&&(s.video.muted=!0)}},Mute:function(e,i,a){var r=!1,o=t[i].videos[e[0].id];switch(o.type){case"youtube":o.player&&(!0===a&&o.player.mute(),!1===a&&l(o,parseInt(o.volcache,0)),r=o.player.isMuted());break;case"vimeo":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.volume=!0===a?"mute":!1===a?o.volcache:o.volume,void 0!==a&&null!=o.vimeoplayer&&n(o,!0===a?0:o.volcache),r="mute"==o.volume||0===o.volume;break;case"html5":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.video.volume=o.volcache,void 0!==a&&o.video&&(o.video.muted=a),r=void 0!==o.video?o.video.muted:r}if(void 0===a)return r},stopVideo:function(e,i){if(void 0!==t[i]&&void 0!==t[i]){var a=t[i].videos[e[0].id];if(void 0!==a)switch(t[i].leaveViewPortBasedStop||(t[i].lastplayedvideos=[]),t[i].leaveViewPortBasedStop=!1,a.type){case"youtube":if(void 0===a.player||2===a.player.getPlayerState()||5===a.player.getPlayerState())return;a.player.pauseVideo(),a.youtubepausecalled=!0,setTimeout(function(){a.youtubepausecalled=!1},80);break;case"vimeo":if(void 0===a.vimeoplayer)return;a.vimeoplayer.pause(),a.vimeopausecalled=!0,setTimeout(function(){a.vimeopausecalled=!1},80);break;case"html5":a.video&&a.video.pause()}}},playVideo:function(e,i){var a=t[i].videos[e[0].id];switch(clearTimeout(a.videoplaywait),a.type){case"youtube":if(0==e.find("iframe").length)e.append(a.videomarkup),h(e,i,!0);else if(null!=a.player.playVideo){var o=a.player.getCurrentTime();a.nseTriggered&&(o=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>o&&a.player.seekTo(a.ssec),!0!==a.youtubepausecalled&&p(a)}else a.videoplaywait=setTimeout(function(){!0!==a.youtubepausecalled&&t.playVideo(e,i)},50);break;case"vimeo":0==e.find("iframe").length?(delete a.vimeoplayer,e.append(a.videomarkup),h(e,i,!0)):e.hasClass("rs-apiready")?(a.vimeoplayer=null==a.vimeoplayer?new Vimeo.Player(e.find("iframe").attr("id")):a.vimeoplayer,a.vimeoplayer.getPaused()?setTimeout(function(){var r=void 0===a.currenttime?0:a.currenttime;a.nseTriggered&&(r=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>r&&a.vimeoplayer.setCurrentTime(a.ssec),("mute"==a.volume||0===a.volume||t.lastToggleState(e.data("videomutetoggledby"))||!0===t[i].globalmute)&&(a.volumetoken=!0,a.vimeoplayer.setVolume(0)),c(a.vimeoplayer)},510):a.videoplaywait=setTimeout(function(){!0!==a.vimeopausecalled&&t.playVideo(e,i)},50)):a.videoplaywait=setTimeout(function(){!0!==a.vimeopausecalled&&t.playVideo(e,i)},100);break;case"html5":if(a.metaloaded){d(a.video);o=a.video.currentTime;a.nseTriggered&&(o=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>o&&(a.video.currentTime=a.ssec)}else r(a.video,"loadedmetadata",function(e){t.resetVideo(e,i),a.video.play();var r=a.video.currentTime;a.nseTriggered&&(r=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>r&&(a.video.currentTime=a.ssec)}(e))}},isVideoPlaying:function(e,i){var a=!1;return null!=t[i].playingvideos&&jQuery.each(t[i].playingvideos,function(t,i){e.attr("id")==i.attr("id")&&(a=!0)}),a},removeMediaFromList:function(e,t){w(e,t)},prepareCoveredVideo:function(e,i){var a=t[e].videos[i[0].id];if(t.updateDimensions(e),void 0===a.vimeoid||void 0!==a.vimeoplayerloaded){if(a.ifr=i.find("iframe, video"),a.vd=a.ratio.split(":").length>1?a.ratio.split(":")[0]/a.ratio.split(":")[1]:1,0===t[e].conw||0===t[e].conh)return t.setSize(e),clearTimeout(a.resizelistener),void(a.resizelistener=setTimeout(function(){t.prepareCoveredVideo(e,i)},100));var r=t[e].conw/t[e].conh,o=r/a.vd*100,s=a.vd/r*100;"html5"===a.type&&"Edge"!==t.get_browser()&&"IE"!==t.get_browser()&&(s=100,o=100),"Edge"===t.get_browser()?r>a.vd?punchgs.TweenLite.set(a.ifr,{minWidth:"100%",height:o+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}):punchgs.TweenLite.set(a.ifr,{minHeight:"100%",width:s+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}):r>a.vd?punchgs.TweenLite.set(a.ifr,{height:o+"%",width:"100%",top:-(o-100)/2+"%",left:"0px",position:"absolute"}):punchgs.TweenLite.set(a.ifr,{width:s+"%",height:"100%",left:-(s-100)/2+"%",top:"0px",position:"absolute"}),a.ifr.hasClass("resizelistener")||(a.ifr.addClass("resizelistener"),jQuery(window).resize(function(){t.prepareCoveredVideo(e,i),clearTimeout(a.resizelistener),a.resizelistener=setTimeout(function(){t.prepareCoveredVideo(e,i)},90)}))}},checkVideoApis:function(e,i){location.protocol;if(!t[i].youtubeapineeded&&((null!=e.data("ytid")||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("youtube")>0)&&(t[i].youtubeapineeded=!0),t[i].youtubeapineeded&&!window.rs_addedyt)){t[i].youtubestarttime=jQuery.now(),window.rs_addedyt=!0;var a=document.createElement("script"),r=document.getElementsByTagName("script")[0],o=!0;a.src="https://www.youtube.com/iframe_api",jQuery("head").find("*").each(function(){"https://www.youtube.com/iframe_api"==jQuery(this).attr("src")&&(o=!1)}),o&&r.parentNode.insertBefore(a,r)}if(!t[i].vimeoapineeded&&((null!=e.data("vimeoid")||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("vimeo")>0)&&(t[i].vimeoapineeded=!0),t[i].vimeoapineeded&&!window.rs_addedvim)){t[i].vimeostarttime=jQuery.now(),window.rs_addedvim=!0;var s=document.createElement("script");r=document.getElementsByTagName("script")[0],o=!0;s.src="https://player.vimeo.com/api/player.js",jQuery("head").find("*").each(function(){"https://player.vimeo.com/api/player.js"==jQuery(this).attr("src")&&(o=!1)}),o&&r.parentNode.insertBefore(s,r)}},manageVideoLayer:function(e,a){if(!0===t.gA(e[0],"videoLayerManaged")||"true"===t.gA(e[0],"videoLayerManaged"))return!1;t[a].videos=void 0===t[a].videos?{}:t[a].videos;var o=t[a].videos[e[0].id]=void 0===t[a].videos[e[0].id]?y(e.data()):t[a].videos[e[0].id];if(o.audio=void 0!==o.audio&&o.audio,i&&o.opom)0==e.find("rs-poster").length&&e.append('<rs-poster class="noSwipe" style="background-image:url('+o.poster+');"></rs-poster>');else{switch(o.id=e[0].id,o.pload="auto"===o.pload||"canplay"===o.pload||"canplaythrough"===o.pload||"progress"===o.pload?"auto":o.pload,o.type=null!=o.mp4||null!=o.webm?"html5":null!=o.ytid&&String(o.ytid).length>1?"youtube":null!=o.vimeoid&&String(o.vimeoid).length>1?"vimeo":"none",o.newtype="html5"==o.type&&0==e.find(o.audio?"audio":"video").length?"html5":"youtube"==o.type&&0==e.find("iframe").length?"youtube":"vimeo"==o.type&&0==e.find("iframe").length?"vimeo":"none",!o.audio&&"1sttime"==o.aplay&&o.pausetimer&&o.bgvideo&&e.closest("rs-slide").addClass("rs-pause-timer-once"),o.audio||!o.bgvideo||!o.pausetimer||1!=o.aplay&&"true"!=o.aplay&&"no1sttime"!=o.aplay||e.closest("rs-slide").addClass("rs-pause-timer-always"),o.noInt&&e.addClass("rs-nointeraction"),o.newtype){case"html5":o.audio&&e.addClass("rs-audio"),o.tag=o.audio?"audio":"video";var s="video"===o.tag&&(t.is_mobile()||t.isSafari11())?o.aplay||"true"===o.aplay?"muted playsinline autoplay":o.inline?" playsinline":"":"",n="<"+o.tag+" "+s+" "+(o.controls?" controls ":"")+' style="'+("Edge"!==t.get_browser()?"object-fit:cover;background-size:cover;opacity:0;width:100%; height:100%":"")+'" class="" '+(o.loop?"loop":"")+' preload="'+o.pload+'">';"video"===o.tag&&null!=o.webm&&"firefox"==t.get_browser().toLowerCase()&&(n=n+'<source src="'+o.webm+'" type="video/webm" />'),null!=o.mp4&&(n=n+'<source src="'+o.mp4+'" type="'+("video"===o.tag?"video/mp4":"audio/mpeg")+'" />'),null!=o.ogv&&(n=n+'<source src="'+o.mp4+'" type="'+o.tag+'/ogg" />'),n+="</"+o.tag+">",o.videomarkup=n,i&&o.notonmobile||t.isIE(8)||e.append(n),e.find(o.tag).parent().hasClass("html5vid")||e.find(o.tag).wrap('<div class="html5vid" style="position:relative;top:0px;left:0px;width:100%;height:100%; overflow:hidden;"></div>'),o.jvideo=e.find(o.tag),o.video=o.jvideo[0],o.html5vid=o.jvideo.parent(),o.metaloaded||r(o.video,"loadedmetadata",function(e){m(e,a),t.resetVideo(e,a)}(e));break;case"youtube":o.controls||(o.vatr=o.vatr.replace("controls=1","controls=0"),-1==o.vatr.toLowerCase().indexOf("controls")&&(o.vatr=o.vatr+"&controls=0")),(o.inline||"RS-BGVIDEO"===e[0].tagName)&&(o.vatr=o.vatr+"&playsinline=1"),-1!=o.ssec&&(o.vatr+="&start="+o.ssec),-1!=o.esec&&(o.vatr+="&end="+o.esec);var l=o.vatr.split("origin=https://");o.vatrnew=l.length>1?l[0]+"origin=https://"+(self.location.href.match(/www/gi)&&!l[1].match(/www/gi)?"www."+l[1]:l[1]):o.vatr,o.videomarkup='<iframe allow="autoplay; fullscreen" type="text/html" src="https://www.youtube-nocookie.com/embed/'+o.ytid+"?"+o.vatrnew+'" '+(!0===o.afs?"allowfullscreen":"")+' width="100%" height="100%" style="opacity:0;visibility:visible;width:100%;height:100%"></iframe>';break;case"vimeo":o.controls?(o.vatr=o.vatr.replace("background=0","background=1"),-1==o.vatr.toLowerCase().indexOf("background")&&(o.vatr=o.vatr+"&background=1")):(o.vatr=o.vatr.replace("background=1","background=0"),-1==o.vatr.toLowerCase().indexOf("background")&&(o.vatr=o.vatr+"&background=0")),o.vatr="autoplay="+(!0===o.aplay?1:0)+"&"+o.vatr,i&&(o.vatr="muted=1&"+o.vatr),o.loop&&(o.vatr="loop=1&"+o.vatr),o.videomarkup='<iframe  allow="autoplay; fullscreen" src="https://player.vimeo.com/video/'+o.vimeoid+"?"+o.vatr+'" webkitallowfullscreen mozallowfullscreen allowfullscreen width="100%" height="100%" style="opacity:0;visibility:visible;100%;height:100%"></iframe>'}if(!(null!=o.poster&&o.poster.length>2)||i&&o.npom){if(i&&o.notonmobile)return!1;0!=e.find("iframe").length||"youtube"!=o.type&&"vimeo"!=o.type||(delete o.vimeoplayer,e.append(o.videomarkup),h(e,a,!1))}else 0==e.find("rs-poster").length&&e.append('<rs-poster class="noSwipe" style="background-image:url('+o.poster+');"></rs-poster>'),0==e.find("iframe").length&&e.find("rs-poster").click(function(){if(t.playVideo(e,a),i){if(o.notonmobile)return!1;punchgs.TweenLite.to(e.find("rs-poster"),.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(e.find("iframe"),.3,{opacity:1,display:"block",ease:punchgs.Power3.easeInOut})}});"none"!==o.doverlay&&void 0!==o.doverlay&&(o.bgvideo?1!=e.closest("rs-sbg-wrap").find("rs-dotted").length&&e.closest("rs-sbg-wrap").append('<rs-dotted class="'+o.doverlay+'"></rs-dotted>'):1!=e.find("rs-dotted").length&&e.append('<rs-dotted class="'+o.doverlay+'"></rs-dotted>')),t.sA(e[0],"videoLayerManaged",!0),o.bgvideo&&punchgs.TweenLite.set(e.find("video, iframe"),{opacity:0})}}});var r=function(e,t,i){e.addEventListener?e.addEventListener(t,i,{capture:!1,passive:!0}):e.attachEvent(t,i,{capture:!1,passive:!0})},o=function(e,t,i){var a={};return a.video=e,a.type=t,a.settings=i,a},s=function(e,i){var a=t[e].videos[i[0].id];(a.bgvideo||a.fcover)&&(a.fcover&&i.removeClass("rs-fsv").addClass("coverscreenvideo"),(void 0===a.ratio||a.ratio.split(":").length<=1)&&(a.ratio="16:9"),t.prepareCoveredVideo(e,i))},n=function(e,t){var i=e.vimeoplayer;i.getPaused().then(function(a){e.volumetoken=!0;var r=!a,o=i.setVolume(t);void 0!==o&&o.then(function(t){i.getPaused().then(function(t){r===t&&(e.volume="mute",e.volumetoken=!0,i.setVolume(0),i.play())}).catch(function(e){console.log("Get Paused Function Failed for Vimeo Volume Changes Inside the Promise")})}).catch(function(t){r&&(e.volume="mute",e.volumetoken=!0,i.setVolume(0),i.play())})}).catch(function(){console.log("Get Paused Function Failed for Vimeo Volume Changes")})},l=function(e,t){var i=e.player.getPlayerState();"mute"===t?e.player.mute():(e.player.unMute(),e.player.setVolume(t)),setTimeout(function(){1===i&&1!==e.player.getPlayerState()&&(e.player.mute(),e.player.playVideo())},39)},d=function(e){var t=e.play();void 0!==t&&t.then(function(e){}).catch(function(t){e.pause()})},c=function(e){var t=e.play();void 0!==t&&t.then(function(e){}).catch(function(t){_.volumetoken=!0,e.setVolume(0),e.play()})},p=function(e){e.player.playVideo(),setTimeout(function(){1!==e.player.getPlayerState()&&3!==e.player.getPlayerState()&&(e.volume="mute",e.player.mute(),e.player.playVideo())},39)},u=function(e,i,a){e.vimeostarted=!0,e.nextslidecalled=!1,punchgs.TweenLite.to(i.find("rs-poster"),.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(i.find("iframe"),.3,{opacity:1,display:"block",ease:punchgs.Power3.easeInOut}),t[a].c.trigger("revolution.slide.onvideoplay",o(e.vimeoplayer,"vimeo",e)),t[a].stopByVideo=e.pausetimer,b(i,a),"mute"==e.volume||0===e.volume||t.lastToggleState(i.data("videomutetoggledby"))||!0===t[a].globalmute?(e.volumetoken=!0,e.vimeoplayer.setVolume(0)):n(e,parseInt(e.volcache,0)/100||.75),t.toggleState(e.videotoggledby)},h=function(e,a,r){var n=t[a].videos[e[0].id],d="iframe"+Math.round(1e5*Math.random()+1);if(n.ifr=e.find("iframe"),s(a,e),n.ifr.attr("id",d),n.startvideonow=r,n.videolistenerexist){if(r)switch(n.type){case"youtube":p(n),-1!=n.ssec&&n.player.seekTo(n.ssec);break;case"vimeo":c(n.vimeoplayer),-1!=n.ssec&&n.vimeoplayer.seekTo(n.ssec)}}else switch(n.type){case"youtube":n.player=new YT.Player(d,{events:{onStateChange:function(i){i.data==YT.PlayerState.PLAYING?(punchgs.TweenLite.to(e.find("rs-poster"),.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(n.ifr,.3,{opacity:1,display:"block",ease:punchgs.Power3.easeInOut}),"mute"==n.volume||0===n.volume||t.lastToggleState(e.data("videomutetoggledby"))||!0===t[a].globalmute?n.player.mute():l(n,parseInt(n.volcache,0)||75),t[a].stopByVideo=!0,b(e,a),n.pausetimer?t[a].c.trigger("stoptimer"):t[a].stopByVideo=!1,t[a].c.trigger("revolution.slide.onvideoplay",o(n.player,"youtube",n)),t.toggleState(n.videotoggledby)):(0==i.data&&n.loop&&(-1!=n.ssec&&n.player.seekTo(n.ssec),p(n),t.toggleState(n.videotoggledby)),f()||0!=i.data&&2!=i.data||!(n.scop&&e.find("rs-poster").length>0||n.bgvideo&&e.find(".rs-fullvideo-cover").length>0)||(n.bgvideo?punchgs.TweenLite.to(e.find(".rs-fullvideo-cover"),.1,{opacity:1,force3D:"auto",ease:punchgs.Power3.easeInOut}):punchgs.TweenLite.to(e.find("rs-poster"),.1,{opacity:1,visibility:"visible",force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(n.ifr,.1,{opacity:0,ease:punchgs.Power3.easeInOut})),-1!=i.data&&3!=i.data&&(t[a].stopByVideo=!1,t[a].tonpause=!1,w(e,a),t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.player,"youtube",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby)),0==i.data&&n.nse?(g(),n.nseTriggered=!0,t[a].c.revnext(),w(e,a)):(w(e,a),t[a].stopByVideo=!1,3!==i.data&&(-1!=n.lasteventdata&&3!=n.lasteventdata&&void 0!==n.lasteventdata||-1!=i.data&&3!=i.data)&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.player,"youtube",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby))),n.lasteventdata=i.data},onReady:function(a){var r,o=t.is_mobile(),s=e.hasClass("rs-layer-video");!o&&(!t.isSafari11()||o&&s)||"RS-BGVIDEO"!==e[0].tagName&&(!s||!0!==n.aplay&&"true"!==n.aplay)||(r=!0,n.player.setVolume(0),n.volume="mute",n.player.mute(),clearTimeout(e.data("mobilevideotimr")),2!==n.player.getPlayerState()&&-1!==n.player.getPlayerState()||e.data("mobilevideotimr",setTimeout(function(){p(n)},500))),r||"mute"!=n.volume||(n.player.setVolume(0),n.player.mute()),e.addClass("rs-apiready"),null==n.speed&&1===n.speed||a.target.setPlaybackRate(parseFloat(n.speed)),e.find("rs-poster").unbind("click"),e.find("rs-poster").click(function(){i||p(n)}),n.startvideonow&&(p(n),-1!=n.ssec&&n.player.seekTo(n.ssec)),n.videolistenerexist=!0}}});break;case"vimeo":for(var h,m=n.ifr.attr("src"),v={},y=m,_=/([^&=]+)=([^&]*)/g;h=_.exec(y);)v[decodeURIComponent(h[1])]=decodeURIComponent(h[2]);m=(m=null!=v.player_id?m.replace(v.player_id,d):m+"&player_id="+d).replace(/&api=0|&api=1/g,"");var x,k=t.is_mobile()||t.isSafari11(),T="RS-BGVIDEO"===e[0].tagName;if(k&&T&&(m+="&background=1"),n.ifr.attr("src",m),n.vimeoplayer=void 0===n.vimeoplayer||!1===n.vimeoplayer?new Vimeo.Player(d):n.vimeoplayer,k)T?x=!0:(n.aplay||"true"===n.aplay)&&(x=!0),x&&(n.volumetoken=!0,n.vimeoplayer.setVolume(0),n.volume="mute");n.vimeoplayer.on("play",function(t){n.vimeostarted||u(n,e,a)}),n.vimeoplayer.on("loaded",function(t){var i={};n.vimeoplayer.getVideoWidth().then(function(t){i.width=t,void 0!==i.width&&void 0!==i.height&&(n.ratio=i.width+":"+i.height,n.vimeoplayerloaded=!0,s(a,e))}),n.vimeoplayer.getVideoHeight().then(function(t){i.height=t,void 0!==i.width&&void 0!==i.height&&(n.ratio=i.width+":"+i.height,n.vimeoplayerloaded=!0,s(a,e))}),n.startvideonow&&("mute"===n.volume&&(n.volumetoken=!0,n.vimeoplayer.setVolume(0)),c(n.vimeoplayer),-1!=n.ssec&&n.vimeoplayer.setCurrentTime(n.ssec))}),e.addClass("rs-apiready"),n.vimeoplayer.on("volumechange",function(e){n.volumetoken&&(n.volume=e.volume),n.volumetoken=!1}),n.vimeoplayer.on("timeupdate",function(i){n.vimeostarted||u(n,e,a),n.pausetimer&&"playing"==t[a].sliderstatus&&(t[a].stopByVideo=!0,t[a].c.trigger("stoptimer")),n.currenttime=i.seconds,0!=n.esec&&-1!==n.esec&&n.esec<i.seconds&&!0!==n.nextslidecalled&&(n.loop?(c(n.vimeoplayer),n.vimeoplayer.setCurrentTime(-1!==n.ssec?n.ssec:0)):(n.nse&&(n.nseTriggered=!0,n.nextslidecalled=!0,t[a].c.revnext()),n.vimeoplayer.pause()))}),n.vimeoplayer.on("ended",function(i){n.vimeostarted=!1,w(e,a),t[a].stopByVideo=!1,t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.vimeoplayer,"vimeo",n)),n.nse&&(n.nseTriggered=!0,t[a].c.revnext()),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby)}),n.vimeoplayer.on("pause",function(i){n.vimeostarted=!1,(n.scop&&e.find("rs-poster").length>0||n.bgvideo&&e.find(".rs-fullvideo-cover").length>0)&&(n.bgvideo?punchgs.TweenLite.to(e.find(".rs-fullvideo-cover"),.1,{opacity:1,force3D:"auto",ease:punchgs.Power3.easeInOut}):punchgs.TweenLite.to(e.find("rs-poster"),.1,{opacity:1,visibility:"visible",force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(e.find("iframe"),.1,{opacity:0,ease:punchgs.Power3.easeInOut})),t[a].stopByVideo=!1,t[a].tonpause=!1,w(e,a),t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.vimeoplayer,"vimeo",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby)}),e.find("rs-poster").unbind("click"),e.find("rs-poster").click(function(){if(!i)return c(n.vimeoplayer),!1}),n.videolistenerexist=!0}},g=function(){document.exitFullscreen&&document.fullscreen?document.exitFullscreen():document.mozCancelFullScreen&&document.mozFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitIsFullScreen&&document.webkitExitFullscreen()},f=function(){if(void 0!==window.fullScreen)return window.fullScreen;if(void 0!==document.fullscreen)return document.fullscreen;if(void 0!==document.mozFullScreen)return document.mozFullScreen;if(void 0!==document.webkitIsFullScreen)return document.webkitIsFullScreen;var e=jQuery.browser.webkit&&/Apple Computer/.test(navigator.vendor)?42:5;return screen.width==window.innerWidth&&Math.abs(screen.height-window.innerHeight)<e},m=function(e,a,s){var n=t[a].videos[e[0].id];if(i&&n.notonmobile)return!1;n.metaloaded=!0,n.control&&!n.audio||(0!=e.find(".tp-video-play-button").length||i||e.append('<div class="tp-video-play-button"><i class="revicon-right-dir"></i><span class="tp-revstop">&nbsp;</span></div>'),e.find("video, rs-poster, .tp-video-play-button").click(function(){e.hasClass("videoisplaying")?n.video.pause():n.video.play()})),(n.fcover||e.hasClass("rs-fsv")||n.bgvideo)&&(n.fcover||n.bgvideo?(n.html5vid.addClass("fullcoveredvideo"),void 0!==n.ratio&&1!=n.ratio.split(":").length||(n.ratio="16:9"),t.prepareCoveredVideo(a,e)):n.html5vid.addClass("rs-fsv")),r(n.video,"canplaythrough",function(){t.preLoadAudioDone(e,a,"canplaythrough")}),r(n.video,"canplay",function(){t.preLoadAudioDone(e,a,"canplay")}),r(n.video,"progress",function(){t.preLoadAudioDone(e,a,"progress")}),r(n.video,"timeupdate",function(e){0!=n.esec&&-1!=n.esec&&n.esec<n.video.currentTime&&!n.nextslidecalled&&(n.loop?(n.video.play(),n.video.currentTime=-1===n.ssec?0:n.ssec):(n.nse&&(n.nseTriggered=!0,n.nextslidecalled=!0,t[a].jcnah=!0,t[a].c.revnext(),setTimeout(function(){t[a].jcnah=!1},1e3)),n.video.pause()))}),r(n.video,"play",function(){n.nextslidecalled=!1,n.volume=null!=n.volume&&"mute"!=n.volume?parseFloat(n.volcache):n.volume,n.volcache=null!=n.volcache&&"mute"!=n.volcache?parseFloat(n.volcache):n.volcache,t.is_mobile()||t.isSafari11()||(!0===t[a].globalmute?n.video.muted=!0:n.video.muted="mute"==n.volume,n.volcache=jQuery.isNumeric(n.volcache)&&n.volcache>1?n.volcache/100:n.volcache,"mute"==n.volume?n.video.muted=!0:null!=n.volcache&&(n.video.volume=n.volcache)),e.addClass("videoisplaying"),b(e,a),!0!==n.pausetimer||"audio"==n.tag?(t[a].stopByVideo=!1,t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n))):(t[a].stopByVideo=!0,t[a].c.trigger("revolution.slide.onvideoplay",o(n.video,"html5",n))),n.pausetimer&&"playing"==t[a].sliderstatus&&(t[a].stopByVideo=!0,t[a].c.trigger("stoptimer")),punchgs.TweenLite.to(e.find("rs-poster"),.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(e.find(n.tag),.3,{opacity:1,display:"block",ease:punchgs.Power3.easeInOut}),t.toggleState(n.videotoggledby)}),r(n.video,"pause",function(i){!f()&&e.find("rs-poster").length>0&&n.scop&&(punchgs.TweenLite.to(e.find("rs-poster"),.3,{opacity:1,visibility:"visible",force3D:"auto",ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(e.find(n.tag),.3,{opacity:0,ease:punchgs.Power3.easeInOut})),e.removeClass("videoisplaying"),t[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby)}),r(n.video,"ended",function(){g(),w(e,a),t[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",e.data())),n.nse&&n.video.currentTime>0&&(1==!t[a].jcnah&&(n.nseTriggered=!0,t[a].c.revnext(),t[a].jcnah=!0),setTimeout(function(){t[a].jcnah=!1},1500)),e.removeClass("videoisplaying"),!0!==t[a].inviewport&&void 0!==t[a].inviewport||(t[a].lastplayedvideos=[])})},v=function(e){return"t"===e||!0===e||"true"===e||"f"!==e&&!1!==e&&"false"!==e&&e},y=function(e,t){e.audio="audio"===t;var i=void 0===e.video?[]:e.video.split(";"),r={volume:e.audio?1:"mute",pload:"auto",ratio:"16:9",loop:!0,aplay:"true",fcover:1===e.bgvideo,afs:!0,controls:!1,nse:!0,npom:!1,opom:!1,inline:!0,notonmobile:!1,start:-1,end:-1,doverlay:"none",scop:!1,rwd:!0,speed:1,ploadwait:5,stopAV:1!==e.bgvideo,noInt:!1,volcache:75};for(var o in i)if(i.hasOwnProperty(o)){var s=i[o].split(":");switch(s[0]){case"v":r.volume=s[1];break;case"vd":r.volcache=s[1];break;case"p":r.pload=s[1];break;case"ar":r.ratio=s[1]+(void 0!==s[2]?":"+s[2]:"");break;case"ap":r.aplay=v(s[1]);break;case"fc":r.fcover=v(s[1]);break;case"afs":r.afs=v(s[1]);break;case"vc":r.controls=s[1];break;case"nse":r.nse=v(s[1]);break;case"npom":r.npom=v(s[1]);break;case"opom":r.opom=v(s[1]);break;case"t":r.vtype=s[1];break;case"inl":r.inline=v(s[1]);break;case"nomo":r.notonmobile=v(s[1]);break;case"sta":r.start=s[1]+(void 0!==s[2]?":"+s[2]:"");break;case"end":r.end=s[1]+(void 0!==s[2]?":"+s[2]:"");break;case"do":r.doverlay=s[1];break;case"scop":r.scop=v(s[1]);break;case"rwd":r.rwd=v(s[1]);break;case"sp":r.speed=s[1];break;case"vw":r.ploadwait=parseInt(s[1],0)||5;break;case"sav":r.stopAV=v(s[1]);break;case"noint":r.noInt=v(s[1]);break;case"l":r.loopcache=s[1],r.loop="loop"===s[1]||"loopandnoslidestop"===s[1]||"none"!==s[1]&&v(s[1]);break;case"ptimer":r.pausetimer=v(s[1])}}return void 0!==e.bgvideo&&(r.bgvideo=e.bgvideo),void 0===e.bgvideo||!1!==r.fcover&&"false"!==r.fcover||(r.doverlay="none"),r.noInt&&(r.controls=!1),void 0!==e.mp4&&(r.mp4=e.mp4),void 0!==e.videomp4&&(r.mp4=e.videomp4),void 0!==e.ytid&&(r.ytid=e.ytid),void 0!==e.ogv&&(r.ogv=e.ogv),void 0!==e.webm&&(r.webm=e.webm),void 0!==e.vimeoid&&(r.vimeoid=e.vimeoid),void 0!==e.vatr&&(r.vatr=e.vatr),void 0!==e.videoattributes&&(r.vatr=e.videoattributes),void 0!==e.poster&&(r.poster=e.poster),r.aplay="true"===r.aplay||r.aplay,r.aplay=1!=e.audio&&r.aplay,1===r.bgvideo&&(r.volume="mute"),r.ssec=a(r.start),r.esec=a(r.end),r.pausetimer=void 0===r.pausetimer?"loopandnoslidestop"!==r.loopcache:r.pausetimer,r.inColumn=e._incolumn,r.audio=e.audio,!0!==r.loop&&"true"!==r.loop||!0!==r.nse&&"true"!==r.nse||(r.loop=!1),r},b=function(e,i){if(t[i].playingvideos=void 0===t[i].playingvideos?new Array:t[i].playingvideos,t[i].videos[e[0].id].stopAV&&void 0!==t[i].playingvideos&&t[i].playingvideos.length>0)for(var a in t[i].lastplayedvideos=jQuery.extend(!0,[],t[i].playingvideos),t[i].playingvideos)t[i].playingvideos.hasOwnProperty(a)&&t.stopVideo(t[i].playingvideos[a],i);t[i].playingvideos.push(e),t[i].videoIsPlaying=e},w=function(e,i){void 0!==t[i]&&void 0!==t[i]&&null!=t[i].playingvideos&&jQuery.inArray(e,t[i].playingvideos)>=0&&t[i].playingvideos.splice(jQuery.inArray(e,t[i].playingvideos),1)}}(jQuery);