eliekelpie.com Open in urlscan Pro
172.67.134.119  Public Scan

URL: https://eliekelpie.com/wp-content/plugins/revslider/public/assets/js/rs6.min.js?ver=6.5.19
Submission: On November 07 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

/*!

  - Slider Revolution 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.........

			   DATE: 2022-01-06
	@author: Krisztian Horvath, ThemePunch OHG.

INTRODUCING GIT
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,i){"use strict";var t="Slider Revolution 6.5.19";window.RSANYID=window.RSANYID===i?[]:window.RSANYID,window.RSANYID_sliderID=window.RSANYID_sliderID===i?[]:window.RSANYID_sliderID,e.fn.revolution=e.fn.revolution||{};var a=e.fn.revolution;e.fn.revolutionInit=function(t){return this.each(function(){a.ISM=a.ISM||a.is_mobile();for(var s=document.getElementsByClassName("rs-p-wp-fix");s[0];)s[0].parentNode.removeChild(s[0]);this.id!==i?(a[n]={anyid:[]},this.id=a.revCheckIDS(n,this,!0)):this.id="rs_module_"+Math.round(1e7*Math.random());var n=this.id,d=a.clone(t);a[n]=H(t),a[n].ignoreHeightChange=a.ISM&&"fullscreen"===a[n].sliderLayout&&a[n].ignoreHeightChange,a[n].option_export=d,a[n].anyid=[],a[n]._Lshortcuts={},a[n].computedStyle={},a[n].c=e(this),a[n].cpar=a[n].c.parent(),a[n].canvas=a[n].c.find("rs-slides"),a[n].caches={calcResponsiveLayersList:[],contWidthManager:{},middleHeights:{}},a[n].sbgs={},window.RSBrowser=window.RSBrowser===i?a.get_browser():window.RSBrowser,a.setIsIOS(),a.setIsChrome8889(),a.useBackdrop===i&&a.checkBackdrop(),a[n].noDetach=a[n].BUG_ie_clipPath="Edge"===window.RSBrowser||"IE"===window.RSBrowser,a.getByTag=o(),a[n].indexhelper=0,a[n].fullScreenOffsetResult=0,a[n].level=0,a[n].rtl=e("body").hasClass("rtl"),a[n]._L=a[n]._L===i?{}:a[n]._L,a[n].emptyObject="{}",a[n].dimensionReCheck={},a.globalListener===i&&a.pageHandler(n),a[n].stopAfterLoops!=i&&a[n].stopAfterLoops>-1?a[n].looptogo=a[n].stopAfterLoops:a[n].looptogo="disabled",window.T=a[n],a[n].BUG_safari_clipPath="Safari"===a.get_browser()&&a.get_browser_version()>"12",a[n].minHeight="fullwidth"===a[n].sliderLayout||"carousel"===a[n].sliderType?0:a[n].minHeight!=i&&""!==a[n].minHeight?parseInt(a[n].minHeight,0):0,a[n].minHeight=a[n].minHeight===i?0:a[n].minHeight,a[n].isEdge="Edge"===a.get_browser(),r(n),a.updateVisibleArea(n),z(n),a.mesuredScrollBarDone||a.mesureScrollBar(),window.requestAnimationFrame(function(){if("fullscreen"===a[n].sliderLayout){var e=a.getFullscreenOffsets(n);0!==e&&a[n].cpar.height(a.getWinH(n)-e)}a[n].cpar[0].style.visibility="visible"}),"hero"==a[n].sliderType&&a[n].c.find("rs-slide").each(function(i){i>0&&e(this).remove()}),a[n].navigation.use="hero"!==a[n].sliderType&&("carousel"==a[n].sliderType||a[n].navigation.keyboardNavigation||"on"==a[n].navigation.mouseScrollNavigation||"carousel"==a[n].navigation.mouseScrollNavigation||a[n].navigation.touch.touchenabled||a[n].navigation.arrows.enable||a[n].navigation.bullets.enable||a[n].navigation.thumbnails.enable||a[n].navigation.tabs.enable),a[n].c.find("rs-bgvideo").each(function(){"RS-BGVIDEO"!==this.tagName||this.id!==i&&""!==this.id||(this.id="rs-bg-video-"+Math.round(1e6*Math.random()))}),tpGS.force3D="auto",!0===a[n].modal.useAsModal&&-1===a.RS_prioList.indexOf(n)&&(a.RS_toInit[n]=!1,a.RS_prioList.push(n)),a.RS_killedlist!==i&&-1!==a.RS_killedlist.indexOf(n)&&(a.RS_toInit[n]=!1,a.RS_prioList.push(n)),!0===a.RS_prioListFirstInit&&!0!==a[n].modal.useAsModal&&-1===a.RS_prioList.indexOf(n)&&(a.RS_toInit[n]=!1,a.RS_prioList.push(n)),a.initNextRevslider(n)})};a=window.RS_F;e.fn.extend({getRSJASONOptions:function(e){console.log(JSON.stringify(a[e].option_export))},getRSVersion:function(e){var i,t,a=window.SliderRevolutionVersion;if(!e){for(var o in i=t="---------------------------------------------------------\n",i+="    Currently Loaded Slider Revolution & SR Modules :\n"+t,a)a.hasOwnProperty(o)&&(i+=a[o].alias+": "+a[o].ver+"\n");i+=t}return e?a:i},revremoveslide:function(i){return this.each(function(){var t=this.id;if(!(i<0||i>a[t].slideamount)&&a[t]&&a[t].slides.length>0&&(i>0||i<=a[t].slides.length)){var o=a.gA(a[t].slides[i],"key");a[t].slideamount=a[t].slideamount-1,a[t].realslideamount=a[t].realslideamount-1,n("rs-bullet",o,t),n("rs-tab",o,t),n("rs-thumb",o,t),e(a[t].slides[i]).remove(),a[t].thumbs=s(a[t].thumbs,i),a.updateNavIndexes&&a.updateNavIndexes(t),i<=a[t].pr_active_key&&(a[t].pr_active_key=a[t].pr_active_key-1)}})},revaddcallback:function(e){return this.each(function(){a[this.id]&&(a[this.id].callBackArray===i&&(a[this.id].callBackArray=[]),a[this.id].callBackArray.push(e))})},revgetparallaxproc:function(){if(a[this[0].id])return a[this[0].id].scrollproc},revdebugmode:function(){},revscroll:function(i){return this.each(function(){var t=e(this);e("body,html").animate({scrollTop:t.offset().top+t.height()-i+"px"},{duration:400})})},revredraw:function(){return this.each(function(){m(this.id,i,!0)})},revkill:function(){return this.each(function(){if(this!=i&&null!=this){var t=this.id;a[t].c.data("conthover",1),a[t].c.data("conthoverchanged",1),a[t].c.trigger("revolution.slide.onpause"),a[t].tonpause=!0,a[t].c.trigger("stoptimer"),a[t].sliderisrunning=!1;var o="updateContainerSizes."+a[t].c.attr("id");a.window.off(o),tpGS.gsap.killTweensOf(a[t].c.find("*"),!1),tpGS.gsap.killTweensOf(a[t].c,!1),a[t].c.off("hover, mouseover, mouseenter,mouseleave, resize"),a[t].c.find("*").each(function(){var t=e(this);t.off("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"),t.data("mySplitText",null),t.data("ctl",null),t.data("tween")!=i&&t.data("tween").kill(),t.data("pztl")!=i&&t.data("pztl").kill(),t.data("timeline_out")!=i&&t.data("timeline_out").kill(),t.data("timeline")!=i&&t.data("timeline").kill(),t.remove(),t.empty(),t=null}),tpGS.gsap.killTweensOf(a[t].c.find("*"),!1),tpGS.gsap.killTweensOf(a[t].c,!1),a[t].progressC.remove();try{a[t].c.closest(".rev_slider_wrapper").detach()}catch(e){}try{a[t].c.closest("rs-fullwidth-wrap").remove()}catch(e){}try{a[t].c.closest("rs-module-wrap").remove()}catch(e){}try{a[t].c.remove()}catch(e){}a[t].cpar.detach(),a[t].c.html(""),a[t].c=null,window[a[t].revapi]=i,delete a[t],delete a.RS_swapList[t],delete a.slidersToScroll[t],delete a.RS_toInit[t],a.nextSlider==t&&delete a.nextSlider,a.RS_prioList.splice(a.RS_prioList.indexOf(t),1),a.RS_killedlist=a.RS_killedlist===i?[]:a.RS_killedlist,-1===a.RS_killedlist.indexOf(t)&&a.RS_killedlist.push(t)}})},revpause:function(){return this.each(function(){var t=e(this);t!=i&&t.length>0&&e("body").find("#"+t.attr("id")).length>0&&(t.data("conthover",1),t.data("conthoverchanged",1),t.trigger("revolution.slide.onpause"),a[this.id].tonpause=!0,t.trigger("stoptimer"))})},revresume:function(){return this.each(function(){if(a[this.id]!==i){var t=e(this);t.data("conthover",0),t.data("conthoverchanged",1),t.trigger("revolution.slide.onresume"),a[this.id].tonpause=!1,t.trigger("starttimer")}})},revmodal:function(t){var o=this instanceof e?this[0]:this,r=o.id;a[o.id]!==i&&a.revModal(r,t)},revstart:function(){var t=this instanceof e?this[0]:this;return a[t.id]===i?(console.log("Slider is Not Existing"),!1):a[t.id].sliderisrunning||!0===a[t.id].initEnded?(console.log("Slider Is Running Already"),!1):(a[t.id].c=e(t),a[t.id].canvas=a[t.id].c.find("rs-slides"),u(t.id),!0)},revnext:function(){return this.each(function(){a[this.id]!==i&&a.callingNewSlide(this.id,1,"carousel"===a[this.id].sliderType)})},revprev:function(){return this.each(function(){a[this.id]!==i&&a.callingNewSlide(this.id,-1,"carousel"===a[this.id].sliderType)})},revmaxslide:function(){return e(this).find("rs-slide").length},revcurrentslide:function(){if(a[e(this)[0].id]!==i)return parseInt(a[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(){a[this.id]!==i&&e!==i&&a.callingNewSlide(this.id,"to"+(e-1))})},revcallslidewithid:function(e){return this.each(function(){a[this.id]!==i&&a.callingNewSlide(this.id,e,"carousel"===a[this.id].sliderType)})}}),a=e.fn.revolution,e.extend(!0,a,{isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},trim:function(e){return e!==i&&null!==e&&"string"==typeof e?e.trim():e},setCookie:function(e,i,t){var a=new Date;a.setTime(a.getTime()+60*t*60*1e3);var o="expires="+a.toUTCString();document.cookie=e+"="+i+";"+o+";path=/"},getCookie:function(e){for(var i=e+"=",t=document.cookie.split(";"),a=0;a<t.length;a++){for(var o=t[a];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(i))return decodeURIComponent(o.substring(i.length,o.length))}return""},mesureScrollBar:function(){a.mesuredScrollBarDone=!0,requestAnimationFrame(function(){var e=document.createElement("div");e.className="RSscrollbar-measure",document.body.appendChild(e),a.mesuredScrollbarWidth=e.offsetWidth-e.clientWidth,document.body.removeChild(e)})},mobileTimedHeightCheck:function(){requestAnimationFrame(function(){a.mobileTimedHeightCheck()}),a.mobileHeights.now=Date.now(),a.mobileHeights.elapsed=a.mobileHeights.now-a.mobileHeights.then,a.mobileHeights.elapsed>a.mobileHeights.fpsInterval&&(a.mobileHeights.then=a.mobileHeights.now-a.mobileHeights.elapsed%a.mobileHeights.fpsInterval,a.getWindowDimension())},pageHandler:function(t){a.globalListener=!0,a.window=e(window),a.document=e(document),a.RS_toInit={},a.RS_prioList=[],a.RS_swapping=[],a.RS_swapList={},window.isSafari11===i&&(window.isSafari11=a.isSafari11()),a.ISM?(window.addEventListener("orientationchange",function(){a.getWindowDimension(!1,!0),setTimeout(function(){a.getWindowDimension(!0,!0)},400)}),window.addEventListener("resize",a.getWindowDimension),tpGS.gsap.delayedCall(3,function(){window.removeEventListener("resize",a.getWindowDimension)}),a.mobileHeights={fpsInterval:500,then:Date.now()},a[t].ignoreHeightChange||a.mobileHeights.checking||(a.mobileHeights.checking=!0,a.mobileTimedHeightCheck())):window.addEventListener("resize",a.getWindowDimension),a.getWindowDimension(!1),a.stickySupported=!1,"IE"!==window.RSBrowser&&(a.stickySupported=!0),a.checkParrentOverflows(t);var o=a.getByTag(document,"RS-MODULE");for(var r in o)o.hasOwnProperty(r)&&(a.RS_toInit[o[r].id]=!1,a.RS_prioList.push(o[r].id));a.nextSlider=t,a.RS_prioListFirstInit=!0,a.hasNavClickListener===i&&(a.document.on(a.is_mobile()?"touchstart":"mouseenter",".tparrows, .tp-bullets, .tp-bullet, .tp-tab, .tp-thumb, .tp-thumbs, .tp-tabs, .tp-rightarrow, .tp-leftarrow",function(e){this.classList.add("rs-touchhover")}),a.document.on(a.is_mobile()?"touchend":"mouseleave",".tparrows, .tp-bullets, .tp-bullet, .tp-tab, .tp-thumb, .tp-tabs,  .tp-rightarrow, .tp-leftarrow",function(e){var i=this;requestAnimationFrame(function(){i.classList.remove("rs-touchhover")})}),a.hasNavClickListener=!0)},destroyCanvas:function(e){e&&(e.width=e.height=0,e.remove(),e=null)},checkParrentOverflows:function(e){window.requestAnimationFrame(function(){for(var i=a[e].cpar[0];i.parentNode&&!1!==a.stickySupported;){if("RS-MODULE-WRAP"!==i.tagName&&"RS-FULLWIDTH-WRAP"!==i.tagName&&"RS-MODULE-WRAP"!==i.tagName&&-1===i.className.indexOf("wp-block-themepunch-revslider")){var t=window.getComputedStyle(i);a.stickySupported="hidden"!==t.overflow&&"hidden"!==t.overflowX&&"hidden"!==t.overflowY}i=i.parentNode}})},observeRemoved:function(e){new MutationObserver(function(i){try{document.body.contains(i[0].target)||a[e].c.revkill()}catch(i){}}).observe(a[e].cpar[0],{childList:!0})},initNextRevslider:function(e){a.RS_prioList[0]===e&&!1===a.RS_toInit[e]?(a.RS_toInit[e]="waiting",c(e),setTimeout(function(){a.initNextRevslider(e)},19)):a.RS_prioList[0]===e&&"waiting"===a.RS_toInit[e]?setTimeout(function(){a.initNextRevslider(e)},19):a.RS_prioList[0]===e&&!0===a.RS_toInit[e]?(a.RS_prioList.shift(),0!==a.RS_prioList.length&&setTimeout(function(){a.initNextRevslider(e)},19)):a.RS_prioList[0]!==e&&!1===a.RS_toInit[e]?setTimeout(function(){a.initNextRevslider(e)},19):0===a.RS_prioList.length&&!0===a.RS_toInit[e]&&c(e)},scrollTicker:function(e){1!=a.scrollTickerAdded&&(a.slidersToScroll=[],a.scrollTickerAdded=!0,a.ISM?(tpGS.gsap.ticker.fps(150),tpGS.gsap.ticker.add(function(){a.generalObserver()})):document.addEventListener("scroll",function(e){a.scrollRaF===i&&(a.scrollRaF=requestAnimationFrame(a.generalObserver.bind(this,!0)))},{passive:!0})),a.slidersToScroll.push(e),a.generalObserver(a.ISM)},generalObserver:function(e,t){for(var o in a.scrollRaF&&(a.scrollRaF=cancelAnimationFrame(a.scrollRaF)),a.lastwindowheight=a.lastwindowheight||a.winH,a.scrollY=window.scrollY,a.slidersToScroll)a.slidersToScroll.hasOwnProperty(o)&&a.scrollHandling(a.slidersToScroll[o],e,i,t)},wrapObserver:{targets:[],init:function(e){var i=1,t=0,o=0,r=s.bind(a.wrapObserver);function s(){if(o++,requestAnimationFrame(r),!(o-t<30/i)){t=o;for(var s=0;s<a.wrapObserver.targets.length;s++)if(a.wrapObserver.targets.hasOwnProperty(s)){var n=a.wrapObserver.targets[s],d=n.elem.getBoundingClientRect();n.lw===d.width&&n.lh===d.height||0===d.width||(n.callback&&(n.callback.pause(),n.callback.kill(),n.callback=null),n.callback=tpGS.gsap.to({},{duration:.2,onComplete:e.bind(window,n.elem,n.id)})),n.lw=d.width,n.lh=d.height}}}s()},observe:function(e,i){if(""!==(e=e.getBoundingClientRect?e:e[0].getBoundingClientRect?e[0]:"")){var t=e.getBoundingClientRect();a.wrapObserver.targets.push({elem:e,id:i,lw:t.width,lh:t.height})}}},enterViewPort:function(t,o){!0!==a[t].started?(a[t].started=!0,a.lazyLoadAllSlides(t),a[t].c.trigger("revolution.slide.firstrun"),setTimeout(function(){k(t),"hero"!==a[t].sliderType&&a.manageNavigation&&a[t].navigation.use&&!0===a[t].navigation.createNavigationDone&&a.manageNavigation(t),a[t].slideamount>1&&C(t),setTimeout(function(){a[t]!==i&&(a[t].revolutionSlideOnLoaded=!0,a[t].c.trigger("revolution.slide.onloaded"),a.calcScrollToId())},50)},a[t].startDelay),a[t].startDelay=0,window.requestAnimationFrame(function(){h(t)})):(a[t].waitForCountDown&&(C(t),a[t].waitForCountDown=!1),"playing"!=a[t].sliderlaststatus&&a[t].sliderlaststatus!=i||a[t].c.trigger("starttimer"),a[t].lastplayedvideos!=i&&a[t].lastplayedvideos.length>0&&e.each(a[t].lastplayedvideos,function(e,i){a.playVideo(i,t)}))},leaveViewPort:function(t){a[t].sliderlaststatus=a[t].sliderstatus,a[t].c.trigger("stoptimer"),a[t].playingvideos!=i&&a[t].playingvideos.length>0&&(a[t].lastplayedvideos=e.extend(!0,[],a[t].playingvideos),a[t].playingvideos&&e.each(a[t].playingvideos,function(e,i){a[t].leaveViewPortBasedStop=!0,a.stopVideo&&a.stopVideo(i,t)}))},scrollHandling:function(e,t,o,r){if(a[e]!==i){var s=a[e].topc!==i?a[e].topc[0].getBoundingClientRect():0===a[e].canv.height?a[e].cpar[0].getBoundingClientRect():a[e].c[0].getBoundingClientRect();s.hheight=0===s.height?0===a[e].canv.height?a[e].module.height:a[e].canv.height:s.height,a[e].scrollproc=s.top<0||s.hheight>a.lastwindowheight&&s.top<a.lastwindowheight?s.top/s.hheight:s.bottom>a.lastwindowheight?(s.bottom-a.lastwindowheight)/s.hheight:0;var n=Math.max(0,1-Math.abs(a[e].scrollproc));a[e].viewPort.enable&&("%"===a[e].viewPort.vaType[a[e].level]&&(a[e].viewPort.visible_area[a[e].level]<=n||n>0&&n<=1&&a[e].sbtimeline.fixed)||"px"===a[e].viewPort.vaType[a[e].level]&&(s.top<=0&&s.bottom>=a.lastwindowheight||s.top>=0&&s.bottom<=a.lastwindowheight||s.top>=0&&s.top<a.lastwindowheight-a[e].viewPort.visible_area[a[e].level]||s.bottom>=a[e].viewPort.visible_area[a[e].level]&&s.bottom<a.lastwindowheight)?a[e].inviewport||(a[e].inviewport=!0,a.enterViewPort(e,!0),a[e].c.trigger("enterviewport")):a[e].inviewport&&(a[e].inviewport=!1,a.leaveViewPort(e),a[e].c.trigger("leftviewport"))),a[e].inviewport?(a.callBackHandling&&a.callBackHandling(e,"parallax","start"),requestAnimationFrame(function(){"fullscreen"===a[e].sliderLayout&&a.getFullscreenOffsets(e)}),a.parallaxProcesses(e,s,r,o),a.callBackHandling&&a.callBackHandling(e,"parallax","end")):!0!==a.stickySupported&&!1!==a[e].fixedScrollOnState&&(a[e].topc.removeClass("rs-fixedscrollon"),tpGS.gsap.set(a[e].cpar,{top:0,y:0}),a[e].fixedScrollOnState=!1)}},clone:function(e,t){if(t===i&&e===i)return{};return function e(t,a){var o=Array.isArray(t)?[]:{};for(var r in t)t.hasOwnProperty(r)&&(t[r]!==i&&"object"==typeof t[r]&&a?o[r]=e(t[r],!0):t[r]!==i&&(o[r]=t[r]));return o}(e,t)},closest:function(e,i){return e&&(i(e)?e:a.closest(e.parentNode,i))},closestNode:function(e,i){return a.closest(e,function(e){return e.nodeName===i})},closestClass:function(e,i){return a.closest(e,function(e){return(" "+e.className+" ").indexOf(" "+i+" ")>=0})},getWinH:function(e){return a[e].ignoreHeightChange?a.mobileWinH:a.winH},getWindowDimension:function(e,t){!1===e?(a.rAfScrollbar="skip",a.winWAll=a.ISM&&window.visualViewport?document.documentElement.clientWidth:window.innerWidth,a.winWSbar=document.documentElement.clientWidth,a.ISM?(a.zoom=t?1:a.winWSbar/a.winWAll,a.winW=1!==a.zoom?a.winWSbar*a.zoom:Math.min(a.winWAll,a.winWSbar),a.winH=1!==a.zoom?window.innerHeight*a.zoom:window.innerHeight,t&&window.visualViewport&&(a.winH*=window.visualViewport.scale,a.winWAll*=window.visualViewport.scale),a.scrollBarWidth=0):(a.isModalOpen&&a.openModalId!==i&&a[a.openModalId]!==i&&a[a.openModalId].canv.height>a.winH?a.scrollBarWidth=a.mesuredScrollbarWidth:a.scrollBarWidth=a.winWAll-a.winWSbar,a.winW=Math.min(a.winWAll,a.winWSbar),a.winH=window.innerHeight),a.ISM&&a.winH>125&&(a.lastwindowheight!==i&&Math.abs(a.lastwindowheight-a.winH)<125?a.mobileWinH=a.lastwindowheight:a.mobileWinH=a.winH)):clearTimeout(a.windowDimenstionDelay),a.windowDimenstionDelay=setTimeout(function(){a.rAfScrollbar=i,a.winWAll=a.ISM&&window.visualViewport?document.documentElement.clientWidth:window.innerWidth,a.winWSbar=document.documentElement.clientWidth,a.ISM?(a.zoom=t?1:a.winWSbar/a.winWAll,a.RS_px_ratio=window.devicePixelRatio||window.screen.availWidth/document.documentElement.clientWidth,a.winW=1!==a.zoom?a.winWSbar*a.zoom:Math.min(a.winWAll,a.winWSbar),a.winH=1!==a.zoom?window.innerHeight*a.zoom:window.innerHeight,t&&window.visualViewport&&(a.winH*=window.visualViewport.scale,a.winWAll*=window.visualViewport.scale),a.scrollBarWidth=0,t&&tpGS.gsap.delayedCall(.1,function(){a.getWindowDimension()})):(a.isModalOpen&&a.openModalId!==i&&a[a.openModalId]!==i&&a[a.openModalId].canv.height>a.winH?a.scrollBarWidth=a.mesuredScrollbarWidth:a.scrollBarWidth=a.winWAll-a.winWSbar,a.winW=Math.min(a.winWAll,a.winWSbar),a.winH=window.innerHeight),a.ISM&&a.winH>125&&(a.lastwindowheight!==i&&Math.abs(a.lastwindowheight-a.winH)<125?a.mobileWinH=a.lastwindowheight:a.mobileWinH=a.winH),!1!==e&&a.document.trigger("updateContainerSizes")},100)},aC:function(i,t){i&&(i.classList&&i.classList.add?i.classList.add(""+t):e(i).addClass(t))},rC:function(i,t){i&&(i.classList&&i.classList.remove?i.classList.remove(""+t):e(i).removeClass(t))},sA:function(e,i,t){e&&e.setAttribute&&e.setAttribute("data-"+i,t)},gA:function(e,t,a){return e===i?i:e.hasAttribute&&e.hasAttribute("data-"+t)&&e.getAttribute("data-"+t)!==i&&null!==e.getAttribute("data-"+t)?e.getAttribute("data-"+t):a!==i?a:i},rA:function(e,i){e&&e.removeAttribute&&e.removeAttribute("data-"+i)},iWA:function(e,t){return a[e].justifyCarousel?"static"===t?a[e].carousel.wrapwidth:a[e].carousel.slide_widths[t!==i?t:a[e].carousel.focused]:a[e].gridwidth[a[e].level]},iHE:function(e,i){return a[e].useFullScreenHeight?a[e].canv.height:Math.max(a[e].currentRowsHeight,a[e].gridheight[a[e].level])},updateFixedScrollTimes:function(e){!0===a[e].sbtimeline.set&&!0===a[e].sbtimeline.fixed&&"auto"!==a[e].sliderLayout&&(a[e].sbtimeline.rest=a[e].duration-a[e].sbtimeline.fixEnd,a[e].sbtimeline.time=a[e].duration-(a[e].sbtimeline.fixStart+a[e].sbtimeline.rest),a[e].sbtimeline.extended=a[e].sbtimeline.time/10)},addSafariFix:function(e){!0===window.isSafari11&&!0!==a[e].safari3dFix&&(a[e].safari3dFix=!0,a[e].c[0].className+=" safarifix")},openModalAPI:function(t,o,r,s,n,d){if(window.RS_60_MODALS!==i&&-1!=e.inArray(t,window.RS_60_MODALS)||window.RS_60_MODAL_API_CALLS!==i&&-1!=e.inArray(t,window.RS_60_MODAL_API_CALLS))e.inArray(t,window.RS_60_MODALS)>=0&&e.fn.revolution.document.trigger("RS_OPENMODAL_"+t,o);else{window.RS_60_MODAL_API_CALLS=window.RS_60_MODAL_API_CALLS||[],window.RS_60_MODAL_API_CALLS.push(t),s&&a.showModalCover(n,d,"show");var l={action:"revslider_ajax_call_front",client_action:"get_slider_html",alias:t,usage:"modal"};e.ajax({type:"post",url:r,dataType:"json",data:l,success:function(r,l,c){if(null!==r&&1==r.success){var p;if(n=n==i?r.htmlid:n,r.waiting!==i)for(p in r.waiting)-1==e.inArray(r.waiting[p],RS_MODULES.waiting)&&(RS_MODULES.waiting.push(r.waiting[p]),window.RS_MODULES.minimal=!1);if(r.toload!==i){var g="";for(p in RS_MODULES=RS_MODULES||{},RS_MODULES.requestedScripts=[],r.toload)r.toload.hasOwnProperty(p)&&(RS_MODULES!=i&&RS_MODULES[p]!=i&&!0===RS_MODULES[p].loaded||-1===e.inArray(p,RS_MODULES.requestedScripts)&&(RS_MODULES.requestedScripts.push(p),g+=r.toload[p]));""!==g&&e("body").append(g)}RS_MODULES!==i&&RS_MODULES.modules[r.htmlid]!=i||e("body").append(r.data),s&&a.showModalCover(n,d,"hide"),a[t]!==i&&a[t].openModalApiListener?e.fn.revolution.document.trigger("RS_OPENMODAL_"+t,o):e(document).on("RS_MODALOPENLISTENER_"+t,function(){e.fn.revolution.document.trigger("RS_OPENMODAL_"+t,o)})}else s&&a.showModalCover(n,d,"hide")},error:function(e){s&&a.showModalCover(n,d,"hide"),console.log("Modal Can not be Loaded"),console.log(e)}})}},showModalCover:function(t,o,r){switch(r){case"show":var s;if(o.spin!==i&&"off"!==o.spin&&(s=a.buildSpinner(t,"spinner"+o.spin,o.spinc,"modalspinner")),o.bg!==i&&!1!==o.bg&&"false"!==o.bg&&"transparent"!==o.bg){var n=e('<rs-modal-cover data-alias="'+o.alias+'" data-rid="'+t+'" id="'+t+'_modal_bg" style="display:none;opacity:0;background:'+o.bg+'"></rs-modal-cover>');e("body").append(n),o.speed=parseFloat(o.speed),o.speed=o.speed>200?o.speed/1e3:o.speed,o.speed=Math.max(Math.min(3,o.speed),.3),tpGS.gsap.to(n,o.speed,{display:"block",opacity:1,ease:"power3.inOut"}),a.isModalOpen=!0,s!==i&&n.append(s)}else s!==i&&a[t].c.append(s);break;case"hide":(n=e('rs-modal-cover[data-alias="'+o.alias+'"] .modalspinner'))!==i&&n.length>0?n.remove():t!==i&&a[t].c.find(".modalspinner").remove()}},revModal:function(t,o){if(t!==i&&a[t]!==i&&"clicked"!==a[t].modal.closeProtection){if(!0===a[t].modal.closeProtection)return a[t].modal.closeProtection,void setTimeout(function(){a[t].modal.closeProtection=!1,a.revModal(t,o)},750);switch(o.mode){case"show":if(!0===a[t].modal.isLive)return;if(!0===a.anyModalclosing)return;a[t].modal.isLive=!0,o.slide=o.slide===i?"to0":o.slide,a[t].modal.bodyclass!==i&&a[t].modal.bodyclass.length>=0&&document.body.classList.add(a[t].modal.bodyclass),a[t].modal.bg.attr("data-rid",t),tpGS.gsap.to(a[t].modal.bg,a[t].modal.coverSpeed,{display:"block",opacity:1,ease:"power3.inOut"}),tpGS.gsap.set(a[t].modal.c,{display:"auto"===a[t].sliderLayout?"inline-block":"block",opacity:0}),a[t].cpar.removeClass("hideallscrollbars"),tpGS.gsap.set(a[t].cpar,{display:"block",opacity:1});var r={a:0};a.isModalOpen=!0,a[t].clearModalBG=!0,"carousel"===a[t].sliderType&&a[t].pr_active_bg!==i&&a[t].pr_active_bg.length>0&&tpGS.gsap.to(a[t].pr_active_bg,.5,{opacity:1}),tpGS.gsap.fromTo(r,a[t].modal.coverSpeed/5,{a:0},{a:10,ease:"power3.inOut",onComplete:function(){a.openModalId=t,a[t].sliderisrunning?a.callingNewSlide(t,o.slide):("to0"!==o.slide&&(a[t].startWithSlideKey=o.slide),u(t))}}),setTimeout(function(){tpGS.gsap.fromTo([a[t].modal.c],.01,{opacity:0},{opacity:1,delay:a[t].modal.coverSpeed/4,ease:"power3.inOut",onComplete:function(){}}),window.overscrollhistory=document.body.style.overflow,document.body.style.overflow="hidden","fullscreen"===a[t].sliderLayout&&a.getWindowDimension()},250),"fullscreen"!==a[t].sliderLayout&&a.getWindowDimension();break;case"close":if(!0===a.anyModalclosing)return;a.anyModalclosing=!0,a.openModalId=i,x(t),document.body.style.overflow=window.overscrollhistory,a[t].cpar.addClass("hideallscrollbars"),a[t].modal.bodyclass!==i&&a[t].modal.bodyclass.length>=0&&document.body.classList.remove(a[t].modal.bodyclass),tpGS.gsap.to(a[t].modal.bg,a[t].modal.coverSpeed,{display:"none",opacity:0,ease:"power3.inOut"}),tpGS.gsap.to(a[t].modal.c,a[t].modal.coverSpeed/6.5,{display:"none",delay:a[t].modal.coverSpeed/4,opacity:0,onComplete:function(){tpGS.gsap.set(a[t].cpar,{display:"none",opacity:0}),a.document.trigger("revolution.all.resize"),a.document.trigger("revolution.modal.close",[a[t].modal]),a.getWindowDimension(),a.isModalOpen=!1}}),a[t].modal.closeProtection=!0,clearTimeout(a[t].modal.closeTimer),a[t].modal.closeTimer=setTimeout(function(){a.anyModalclosing=!1,a[t].modal.isLive=!1,a[t].modal.closeProtection=!1},Math.max(750,1020*a[t].modal.coverSpeed));break;case"init":if(window.RS_60_MODALS=window.RS_60_MODALS===i?[]:window.RS_60_MODALS,-1===e.inArray(a[t].modal.alias,window.RS_60_MODALS)&&window.RS_60_MODALS.push(a[t].modal.alias),a[t].modal.listener===i&&(a[t].modal.c=e("#"+t+"_modal"),!1!==a[t].modal.cover&&"false"!==a[t].modal.cover||(a[t].modal.coverColor="transparent"),a[t].modal.bg=e('rs-modal-cover[data-alias="'+o.alias+'"]'),a[t].modal.bg===i||0===a[t].modal.bg.length?(a[t].modal.bg=e('<rs-modal-cover style="display:none;opacity:0;background:'+a[t].modal.coverColor+'" data-rid="'+t+'" id="'+t+'_modal_bg"></rs-modal-cover>'),"auto"===a[t].sliderLayout&&a[t].modal.cover?e("body").append(a[t].modal.bg):a[t].modal.c.append(a[t].modal.bg)):a[t].modal.bg.attr("data-rid",t),a[t].modal.c[0].className+="rs-modal-"+a[t].sliderLayout,a[t].modal.calibration={left:"auto"===a[t].sliderLayout?"center"===a[t].modal.horizontal?"50%":"left"===a[t].modal.horizontal?"0px":"auto":"0px",right:"auto"===a[t].sliderLayout?"center"===a[t].modal.horizontal?"auto":"left"===a[t].modal.horizontal?"auto":"0px":"0px",top:"auto"===a[t].sliderLayout||"fullwidth"===a[t].sliderLayout?"middle"===a[t].modal.vertical?"50%":"top"===a[t].modal.vertical?"0px":"auto":"0px",bottom:"auto"===a[t].sliderLayout||"fullwidth"===a[t].sliderLayout?"middle"===a[t].modal.vertical?"auto":"top"===a[t].modal.vertical?"auto":"0px":"0px",y:("auto"===a[t].sliderLayout||"fullwidth"===a[t].sliderLayout)&&"middle"===a[t].modal.vertical?"-50%":0,x:"auto"===a[t].sliderLayout&&"center"===a[t].modal.horizontal?"-50%":0},"-50%"===a[t].modal.calibration.y&&(a[t].modal.calibration.filter="blur(0px)"),tpGS.gsap.set(a[t].modal.c,"auto"===a[t].sliderLayout||"fullscreen"===a[t].sliderLayout?e.extend(!0,a[t].modal.calibration,{opacity:0,display:"none"}):{opacity:0,display:"none"}),"fullwidth"===a[t].sliderLayout&&tpGS.gsap.set(a[t].modal.c.find("rs-module-wrap"),a[t].modal.calibration),a.document.on("RS_OPENMODAL_"+a[t].modal.alias,function(e,i){a[t].initEnded=!0,a.revModal(t,{mode:"show",slide:i})}),a[a[t].modal.alias]=a[a[t].modal.alias]||{},a[a[t].modal.alias].openModalApiListener=!0,a.document.trigger("RS_MODALOPENLISTENER_"+a[t].modal.alias),a.document.on("click","rs-modal-cover",function(){a.revModal(a.gA(this,"rid"),{mode:"close"})}),a[t].modal.listener=!0,a[t].modal.trigger!==i)){var s,n=a[t].modal.trigger.split(";");for(r in a[t].modal.trigger={},n)if(n.hasOwnProperty(r))switch((s=n[r].split(":"))[0]){case"t":a[t].modal.trigger.time=parseInt(s[1],0);break;case"s":a[t].modal.trigger.scroll=s[1];break;case"so":a[t].modal.trigger.scrollo=parseInt(s[1],0);break;case"e":a[t].modal.trigger.event=s[1];break;case"ha":a[t].modal.trigger.hash=s[1];break;case"co":a[t].modal.trigger.cookie=s[1]}var d=!0;if(a[t].modal.trigger.cookie!==i?d="true"!==a.getCookie(a[t].modal.alias+"_modal_one_time"):"true"==a.getCookie(a[t].modal.alias+"_modal_one_time")&&a.setCookie(a[t].modal.alias+"_modal_one_time",!1,10),d&&(a[t].modal.trigger.time!==i&&0!==a[t].modal.trigger.time&&(a[t].modal.trigger.cookie!==i&&a.setCookie(a[t].modal.alias+"_modal_one_time",!0,a[t].modal.trigger.cookie),setTimeout(function(){a.document.trigger("RS_OPENMODAL_"+a[t].modal.alias)},a[t].modal.trigger.time)),a[t].modal.trigger.scrollo!==i||a[t].modal.trigger.scroll!==i)){a[t].modal.trigger.scroll!==i&&e(a[t].modal.trigger.scroll)[0]!==i&&(a[t].modal.trigger.scroll=e(a[t].modal.trigger.scroll)[0]);var l=function(){if(a[t].modal.trigger.scroll!==i)var e="string"==typeof a[t].modal.trigger.scroll?document.getElementById(a[t].modal.trigger.scroll):"object"==typeof a[t].modal.trigger.scroll?a[t].modal.trigger.scroll:i,o=e!==i&&null!==e?a[t].modal.trigger.scroll.getBoundingClientRect():i;(a[t].modal.trigger.scroll!==i&&o!==i&&Math.abs(o.top+(o.bottom-o.top)/2-a.getWinH(t)/2)<50||a[t].modal.trigger.scrollo!==i&&Math.abs(a[t].modal.trigger.scrollo-(a.scrollY!==i?a.scrollY:window.scrollY))<100)&&(a.document.trigger("RS_OPENMODAL_"+a[t].modal.alias),a[t].modal.trigger.cookie!==i&&a.setCookie(a[t].modal.alias+"_modal_one_time",!0,a[t].modal.trigger.cookie),document.removeEventListener("scroll",l))};document.addEventListener("scroll",l,{id:t,passive:!0})}a[t].modal.trigger.event!==i&&a.document.on(a[t].modal.trigger.event,function(){a.document.trigger("RS_OPENMODAL_"+a[t].modal.alias)}),"t"==a[t].modal.trigger.hash&&window.location.hash.substring(1)==a[t].modal.alias&&a.document.trigger("RS_OPENMODAL_"+a[t].modal.alias)}}}},smartConvertDivs:function(e){var i="";if("string"==typeof e&&e.indexOf("#")>=0){var t=e.split(","),a=t.length-1;for(var o in t)i="string"==typeof t[o]&&"#"===t[o][0]?i+t[o][1]/t[o][3]*100+"%"+(o<a?",":""):i+t[o]+(o<a?",":"")}else i=e;return i},revToResp:function(e,t,a,o){if((e=e===i?a:e)!==i){if(o=o===i?",":o,"boolean"!=typeof e&&("object"!=typeof e||Array.isArray(e))){try{e=e.replace(/[[\]]/g,"").replace(/\'/g,"").split(o)}catch(e){}for(e=Array.isArray(e)?e:[e];e.length<t;)e[e.length]=e[e.length-1]}return e}},loadImages:function(t,o,r,s){if(t!==i&&0!==t.length){var n=[];if(Array.isArray(t))for(var d in t)t.hasOwnProperty(d)&&t[d]!==i&&n.push(t[d]);else n.push(t);for(var l in n)if(n.hasOwnProperty(l)){var c=n[l].querySelectorAll("img, rs-sbg, .rs-svg"),p=a[o].lazyOnBg?n[l].querySelectorAll("rs-bg-elem, rs-column, rs-layer"):[];for(var d in c)if(c.hasOwnProperty(d)){c[d]!==i&&c[d].dataset!==i&&c[d].dataset.src!==i&&c[d].dataset.src.indexOf("dummy.png")>=0&&c[d].src.indexOf("data")>=0&&delete c[d].dataset.src;var u=g(c[d],i,o),h=u!==i?u:a.gA(c[d],"svg_src")!=i?a.gA(c[d],"svg_src"):c[d].src===i?e(c[d]).data("src"):c[d].src,m=a.gA(c[d],"svg_src")!=i?"svg":"img";h!==i&&a[o].loadqueue!==i&&0==a[o].loadqueue.filter(function(e){return e.src===h}).length&&a[o].loadqueue.push({src:h,img:c[d],index:d,starttoload:Date.now(),type:m||"img",prio:r,progress:c[d].complete&&h===c[d].src?"loaded":"prepared",static:s,width:c[d].complete&&h===c[d].src?c[d].width:i,height:c[d].complete&&h===c[d].src?c[d].height:i})}for(var d in p)p.hasOwnProperty(d)&&p[d]!==i&&p[d].dataset!==i&&p[d].dataset.bglazy!==i&&p[d].style.backgroundImage.indexOf("dummy.png")>=0&&(p[d].style.backgroundImage='url("'+p[d].dataset.bglazy+'")')}b(o)}},waitForCurrentImages:function(t,o,r){if(t!==i&&0!==t.length&&a[o]!==i){var s=!1,n=[];if(Array.isArray(t))for(var d in t)t.hasOwnProperty(d)&&t[d]!==i&&n.push(t[d]);else n.push(t);for(var l in n)if(n.hasOwnProperty(l)){var c=n[l].querySelectorAll("img, rs-sbg, .rs-svg");for(d in c)if(c.hasOwnProperty(d)&&"length"!==d&&!(c[d].className.indexOf("rs-pzimg")>=0)){var p=e(c[d]).data(),u=g(c[d],i,o),h=u!==i?u:a.gA(c[d],"svg_src")!=i?a.gA(c[d],"svg_src"):c[d].src===i?p.src:c[d].src,m=a.getLoadObj(o,h);if(a.sA(c[d],"src-rs-ref",h),p.loaded===i&&m!==i&&m.progress&&"loaded"==m.progress){if("img"==m.type){if(c[d].src.slice(c[d].src.length-10)!==m.src.slice(m.src.length-10)&&(c[d].src=m.src),p.slidebgimage){-1==m.src.indexOf("images/transparent.png")&&-1==m.src.indexOf("assets/transparent.png")||p.bgcolor===i||p.bgcolor!==i&&"transparent"!==p.bgcolor&&(m.bgColor=!0,m.useBGColor=!0),a.sA(n[l],"owidth",m.width),a.sA(n[l],"oheight",m.height);var v=a.getByTag(n[l],"RS-SBG-WRAP"),f=a.gA(n[l],"key");if(a[o].sbgs[f].loadobj=m,v.length>0&&(a.sA(v[0],"owidth",m.width),a.sA(v[0],"oheight",m.height)),"carousel"===a[o].sliderType){var w=e(v),y=a.getSlideIndex(o,f);(a[o].carousel.justify&&a[o].carousel.slide_widths===i||a[o].carousel.slide_width===i)&&a.setCarouselDefaults(o,!0),w.data("panzoom")===i||a[o].panzoomTLs!==i&&a[o].panzoomTLs[y]!==i||a.startPanZoom(w,o,0,y,"prepare",f),a[o].sbgs[f].isHTML5&&!a[o].sbgs[f].videoisplaying&&(a[o].sbgs[f].video=a[o].sbgs[f].loadobj.img),n[l].getAttribute("data-iratio")!==i&&!n[l].getAttribute("data-iratio")&&m.img&&m.img.naturalWidth&&(n[l].setAttribute("data-iratio",m.img.naturalWidth/m.img.naturalHeight),a.setCarouselDefaults(o,"redraw"),!0===a[o].carousel.ocfirsttun&&a.organiseCarousel(o,"right",!0,!1,!1)),a.updateSlideBGs(o,f,a[o].sbgs[f])}}}else"svg"==m.type&&"loaded"==m.progress&&(c[d].innerHTML=m.innerHTML);p.loaded=!0}m&&m.progress&&m.progress.match(/inprogress|inload|prepared/g)&&(!m.error&&Date.now()-m.starttoload<15e3?s=!0:(m.progress="failed",m.reported_img||(m.reported_img=!0,console.log(h+"  Could not be loaded !")))),1!=a[o].youtubeapineeded||window.YT&&YT.Player!=i||(s=S("youtube",o)),1!=a[o].vimeoapineeded||window.Vimeo||(s=S("vimeo",o))}}e.each(a[o].loadqueue,function(e,i){!0===i.static&&("loaded"!=i.progress&&"done"!==i.progress||"failed"===i.progress)&&("failed"!=i.progress||i.reported?!i.error&&Date.now()-i.starttoload<5e3?s=!0:i.reported||(i.reported=_(i.src,i.error)):i.reported=_(i.src,i.error))}),s?tpGS.gsap.delayedCall(.02,a.waitForCurrentImages,[t,o,r]):r!==i&&tpGS.gsap.delayedCall(1e-4,r)}},updateVisibleArea:function(e){for(var t in a[e].viewPort.visible_area=a.revToResp(a[e].viewPort.visible_area,a[e].rle,"0px"),a[e].viewPort.vaType=new Array(4),a[e].viewPort.visible_area)a[e].viewPort.visible_area.hasOwnProperty(t)&&(!1===a[e].viewPort.local&&!0===a[e].viewPort.global?(a[e].viewPort.vaType[t]=a[e].viewPort.globalDist.indexOf("%")>=0?"%":"px",a[e].viewPort.visible_area[t]=parseInt(a[e].viewPort.globalDist)):(a.isNumeric(a[e].viewPort.visible_area[t])&&(a[e].viewPort.visible_area[t]+="%"),a[e].viewPort.visible_area[t]!==i&&(a[e].viewPort.vaType[t]=a[e].viewPort.visible_area[t].indexOf("%")>=0?"%":"px"),a[e].viewPort.visible_area[t]=parseInt(a[e].viewPort.visible_area[t],0)),a[e].viewPort.visible_area[t]="%"==a[e].viewPort.vaType[t]?a[e].viewPort.visible_area[t]/100:a[e].viewPort.visible_area[t])},observeFonts:function(e,t,o){o=o===i?0:o,a.fonts===i&&(a.fonts={},a.monoWidth=d("monospace"),a.sansWidth=d("sans-serif"),a.serifWidth=d("serif")),o++;var r=a.fonts[e];!0!==a.fonts[e]&&(a.fonts[e]=a.monoWidth!==d(e+",monospace")||a.sansWidth!==d(e+",sans-serif")||a.serifWidth!==d(e+",serif")),100===o||(!1===r||r===i)&&!0===a.fonts[e]?(d(e+",monospace",!0),d(e+",sans-serif",!0),d(e+",serif",!0),t()):setTimeout(function(){a.observeFonts(e,t,o)},19)},getversion:function(){return t},currentSlideIndex:function(e){return a[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)},setIsIOS:function(){a.isiPhone=/iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,a.isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&void 0!==navigator.standalone},setIsChrome8889:function(){a.isChrome8889=a.isChrome8889===i?navigator.userAgent.indexOf("Chrome/88")>=0||navigator.userAgent.indexOf("Chrome/89")>=0:a.isChrome8889},isIE:function(){if(a.isIERes===i){var t=e('<div style="display:none;"/>').appendTo(e("body"));t.html("\x3c!--[if IE 8]><a>&nbsp;</a><![endif]--\x3e"),a.isIERes=t.find("a").length,t.remove()}return a.isIERes},is_mobile:function(){var e=["android","webos","iphone","ipad","blackberry","Android","webos","iPod","iPhone","iPad","Blackberry","BlackBerry"],t=!1;if(window.orientation!==i)t=!0;else for(var a in e)e.hasOwnProperty(a)&&(t=!!(t||navigator.userAgent.split(e[a]).length>1)||t);return t&&document.body&&-1===document.body.className.indexOf("rs-ISM")&&(document.body.className+=" rs-ISM"),t},is_android:function(){var e=["android","Android"],i=!1;for(var t in e)e.hasOwnProperty(t)&&(i=!!(i||navigator.userAgent.split(e[t]).length>1)||i);return i},callBackHandling:function(i,t,o){a[i].callBackArray&&e.each(a[i].callBackArray,function(e,i){i&&i.inmodule&&i.inmodule===t&&i.atposition&&i.atposition===o&&i.callback&&i.callback.call()})},get_browser:function(){var e,i=navigator.userAgent,t=i.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(t[1])?(e=/\brv[ :]+(\d+)/g.exec(i)||[],"IE"):"Chrome"===t[1]&&null!=(e=i.match(/\b(OPR|Edge)\/(\d+)/))?e[1].replace("OPR","Opera"):(t=t[2]?[t[1],t[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=i.match(/version\/(\d+)/i))&&t.splice(1,1,e[1]),t[0])},get_browser_version:function(){var e,i=navigator.appName,t=navigator.userAgent,a=t.match(/(edge|opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=t.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[i,navigator.appVersion,"-?"])[1]},isFaceBook:function(){return a.isFaceBookApp==i&&(a.isFaceBookApp=navigator.userAgent||navigator.vendor||window.opera,a.isFaceBookApp=a.isFaceBookApp.indexOf("FBAN")>-1||a.isFaceBookApp.indexOf("FBAV")>-1),a.isFaceBookApp},isFirefox:function(e){return a[e].isFirefox=a[e].isFirefox===i?"Firefox"===a.get_browser():a[e].isFirefox,a.isFF=a[e].isFirefox,a[e].isFirefox},isSafari11:function(){return"safari"===a.trim(a.get_browser().toLowerCase())&&parseFloat(a.get_browser_version())>=11},isWebkit:function(){var e=/(webkit)[ \/]([\w.]+)/.exec(navigator.userAgent.toLowerCase());return e&&e[1]&&"webkit"===e[1]},isIE11:function(){return a.IE11=a.IE11===i?!!navigator.userAgent.match(/Trident.*rv\:11\./):a.IE11,a.IE11},checkBackdrop:function(){var e=document.createElement("div");e.style.cssText="-webkit-backdrop-filter: blur(2px)";var t=0!=e.style.length,o=document.documentMode===i||document.documentMode>9;t&&o||(e.style.cssText="backdrop-filter: blur(2px)",t=0!=e.style.length),e=null,a.useBackdrop=t&&o},deepLink:function(e,t){if(t!==i){var o=parseInt(t.toString().replace(/^slide/,"").replace("-",""),10);if(isNaN(o))for(var r in a[e].slides)if(a[e].slides.hasOwnProperty(r)&&a.gA(a[e].slides[r],"deeplink")===t){o=parseInt(a.gA(a[e].slides[r],"originalindex"),10);break}return isNaN(o)||o<1||o>a[e].realslideamount?void 0:o}},getHorizontalOffset:function(e,i){var t=l(e,".outer-left"),a=l(e,".outer-right");return"left"==i?t:"right"==i?a:"all"==i?{left:t,right:a,both:t+a,inuse:t+a!=0}:t+a},getComingSlide:function(e,t){var o=a[e].pr_next_key!==i?a[e].pr_next_key:a[e].pr_processing_key!==i?a[e].pr_processing_key:a[e].pr_active_key,r=0;if(r=0,a[e].pr_active_slide!==i&&"true"==a.gA(a[e].pr_active_slide[0],"not_in_nav")&&(o=a[e].pr_lastshown_key),t!==i&&a.isNumeric(t)||t!==i&&t.match(/to/g))r=1===t||-1===t?parseInt(o,0)+t<0?a[e].slideamount-1:parseInt(o,0)+t>=a[e].slideamount?0:parseInt(o,0)+t:(t=a.isNumeric(t)?t:parseInt(t.split("to")[1],0))<0?0:t>a[e].slideamount-1?a[e].slideamount-1:t;else if(t)for(var s in a[e].slides)a[e].slides.hasOwnProperty(s)&&(r=a[e].slides&&a[e].slides[s]&&(a.gA(a[e].slides[s],"key")===t||a[e].slides[s].id===t)?s:r);return{nindex:r,aindex:o}},callingNewSlide:function(e,t,o){var r=a.getComingSlide(e,t);a[e].pr_next_key=r.nindex,a[e].sdir=a[e].pr_next_key<a[e].pr_active_key?1:0,o&&a[e].carousel!==i&&(a[e].carousel.focused=a[e].pr_next_key),a[e].ctNavElement?a[e].ctNavElement=!1:a[e].c.trigger("revolution.nextslide.waiting"),(a[e].started&&r.aindex===a[e].pr_next_key&&r.aindex===a[e].pr_lastshown_key||a[e].pr_next_key!==r.aindex&&-1!=a[e].pr_next_key&&a[e].pr_lastshown_key!==i)&&k(e,o)},getLoadObj:function(e,t){var o=a[e].loadqueue!==i&&a[e].loadqueue.filter(function(e){return e.src===t})[0];return o===i?{src:t}:o},getResponsiveLevel:function(e){var i=9999,t=0,o=0,r=0;if(a[e].responsiveLevels&&a[e].responsiveLevels.length)for(var s in a[e].responsiveLevels)a[e].responsiveLevels.hasOwnProperty(s)&&(a.winWAll<a[e].responsiveLevels[s]&&(0==t||t>parseInt(a[e].responsiveLevels[s]))&&(i=parseInt(a[e].responsiveLevels[s]),r=parseInt(s),t=parseInt(a[e].responsiveLevels[s])),a.winWAll>a[e].responsiveLevels[s]&&t<a[e].responsiveLevels[s]&&(t=parseInt(a[e].responsiveLevels[s]),o=parseInt(s)));return t<i?o:r},getSizeMultpilicator:function(e,i,t){var o={h:0,w:0};return a[e].justifyCarousel?o.h=o.w=1:(o.w=t.width/a[e].gridwidth[a[e].level],o.h=t.height/a[e].gridheight[a[e].level],o.w=isNaN(o.w)?1:o.w,o.h=isNaN(o.h)?1:o.h,1==a[e].enableUpscaling?o.h=o.w:(o.h>o.w?o.h=o.w:o.w=o.h,(o.h>1||o.w>1)&&(o.w=1,o.h=1))),o},updateDims:function(e,t){var o=a[e].pr_processing_key||a[e].pr_active_key||0,r=a[e].pr_active_key||0,s=a[e].modal!==i&&a[e].modal.useAsModal,n=s?a.winWAll:a.winW,d=!1;if(a[e].lastScrollBarWidth=a.scrollBarWidth,a[e].redraw=a[e].redraw===i?{}:a[e].redraw,a[e].module=a[e].module===i?{}:a[e].module,a[e].canv=a[e].canv===i?{}:a[e].canv,a[e].content=a[e].content===i?{}:a[e].content,a[e].drawUpdates={c:{},cpar:{},canv:{}},"carousel"==a[e].sliderType?a[e].module.margins={top:parseInt(a[e].carousel.padding_top||0,0),bottom:parseInt(a[e].carousel.padding_bottom||0,0)}:a[e].module.margins={top:0,bottom:0},a[e].module.paddings===i&&(a[e].module.paddings={top:parseInt(a[e].cpar.css("paddingTop"),0)||0,bottom:parseInt(a[e].cpar.css("paddingBottom"),0)||0}),a[e].blockSpacing!==i?(a[e].block={bottom:a[e].blockSpacing.bottom!==i?parseInt(a[e].blockSpacing.bottom[a[e].level],0):0,top:a[e].blockSpacing.top!==i?parseInt(a[e].blockSpacing.top[a[e].level],0):0,left:a[e].blockSpacing.left!==i?parseInt(a[e].blockSpacing.left[a[e].level],0):0,right:a[e].blockSpacing.right!==i?parseInt(a[e].blockSpacing.right[a[e].level],0):0},a[e].block.hor=a[e].block.left+a[e].block.right,a[e].block.ver=a[e].block.top+a[e].block.bottom):a[e].block===i&&(a[e].block={top:0,left:0,right:0,bottom:0,hor:0,ver:0}),a[e].blockSpacing!==i){var l={paddingLeft:a[e].block.left,paddingRight:a[e].block.right,marginTop:a[e].block.top,marginBottom:a[e].block.bottom},c=JSON.stringify(l);l!==a[e].emptyObject&&c!==a[e].caches.setsizeBLOCKOBJ&&(tpGS.gsap.set(a[e].blockSpacing.block,l),a[e].caches.setsizeBLOCKOBJ=c,d=!0)}if(a[e].levelForced=a[e].level=a.getResponsiveLevel(e),a[e].rowHeights=a.getRowHeights(e),a[e].aratio=a[e].gridheight[a[e].level]/a[e].gridwidth[a[e].level],a[e].module.width="auto"===a[e].sliderLayout||1==a[e].disableForceFullWidth?a[e].cpar.width():n-a[e].block.hor,a[e].outNavDims=a.getOuterNavDimension(e),a[e].canv.width=a[e].module.width-a[e].outNavDims.horizontal-(s?a.scrollBarWidth:0),s&&"auto"===a[e].sliderLayout&&(a[e].canv.width=Math.min(a[e].gridwidth[a[e].level],n)),"fullscreen"===a[e].sliderLayout||a[e].infullscreenmode){var p=a.getWinH(e)-(!0===a[e].modal.useAsModal?0:a.getFullscreenOffsets(e));a[e].canv.height=Math.max(a[e].rowHeights.cur,Math.max(p-a[e].outNavDims.vertical,a[e].minHeight)),r!==o&&(a[e].currentSlideHeight=Math.max(a[e].rowHeights.last,Math.max(p-a[e].outNavDims.vertical,a[e].minHeight)),a[e].redraw.maxHeightOld=!0),a[e].drawUpdates.c.height="100%"}else a[e].canv.height=a[e].keepBPHeight?a[e].gridheight[a[e].level]:Math.round(a[e].canv.width*a[e].aratio),a[e].canv.height=a[e].autoHeight?a[e].canv.height:Math.min(a[e].canv.height,a[e].gridheight[a[e].level]),a[e].canv.height=Math.max(Math.max(a[e].rowHeights.cur,a[e].canv.height),a[e].minHeight),a[e].drawUpdates.c.height=a[e].canv.height;"fullscreen"!==a[e].sliderLayout&&"fullwidth"!==a[e].sliderLayout||(a[e].canv.width-=a[e].cpar.outerWidth()-a[e].cpar.width(),"fullscreen"===a[e].sliderLayout&&(a[e].canv.height-=a[e].cpar.outerHeight()-a[e].cpar.height())),a[e].module.height=a[e].canv.height,"fullwidth"!=a[e].sliderLayout||a[e].fixedOnTop||(a[e].drawUpdates.c.maxHeight=0!=a[e].maxHeight?Math.min(a[e].canv.height,a[e].maxHeight):a[e].canv.height),a[e].CM=a.getSizeMultpilicator(e,a[e].enableUpscaling,{width:a[e].canv.width,height:a[e].canv.height}),a[e].content.width=a[e].gridwidth[a[e].level]*a[e].CM.w,a[e].content.height=Math.round(Math.max(a[e].rowHeights.cur,a[e].gridheight[a[e].level]*a[e].CM.h));var g=a[e].module.margins.top+a[e].module.margins.bottom+("fullscreen"===a[e].sliderLayout?0:a[e].outNavDims.vertical)+a[e].canv.height+a[e].module.paddings.top+a[e].module.paddings.bottom;a[e].drawUpdates.cpar.height=g,a[e].drawUpdates.cpar.width="auto"===a[e].sliderLayout?"auto":a[e].module.width,"auto"===a[e].sliderLayout||"fullscreen"===a[e].sliderLayout&&!0===a[e].disableForceFullWidth||a[e].rsFullWidthWrap===i?"fullscreen"==a[e].sliderLayout&&1==a[e].disableForceFullWidth&&(a[e].drawUpdates.cpar.left=0):a[e].drawUpdates.cpar.left=0-Math.ceil(a[e].rsFullWidthWrap.offset().left-(a[e].outNavDims.left+a[e].block.left)),a[e].sbtimeline.set&&a[e].sbtimeline.fixed?(a[e].sbtimeline.extended===i&&a.updateFixedScrollTimes(e),a[e].forcerHeight=2*g+a[e].sbtimeline.extended,a[e].sbtimeline.pullc&&a[e].rsFullWidthWrap!==i&&null!==a[e].rsFullWidthWrap[0]&&requestAnimationFrame(function(){var i=a[e].rsFullWidthWrapMarginBottom+-1*a[e].forcerHeight;a[e].rsFullWidthWrap[0].style.marginBottom=(isNaN(i)?a[e].rsFullWidthBottomMarginPush:a[e].rsFullWidthBottomMarginPush+i)+"px"}),a[e].rsFullWidthWrap!==i&&null!==a[e].rsFullWidthWrap[0]&&"fullscreen"==a[e].sliderLayout&&(a[e].rsFullWidthBottomMarginPush=a.getFullscreenOffsets(e),a[e].rsFullWidthWrap[0].style.marginBottom=a[e].rsFullWidthBottomMarginPush+"px")):a[e].forcerHeight=g,a[e].forcerHeight!==a[e].caches.setsizeForcerHeight&&a[e].forcer!==i&&(a[e].caches.setsizeForcerHeight=a[e].forcerHeight,d=!0,a[e].redraw.forcer=!0),a[e].drawUpdates.c.width=a[e].canv.width,"auto"===a[e].sliderLayout&&(a[e].drawUpdates.c.left=a[e].outNavDims.left),a[e].drawUpdates.c!==a[e].emptyObject&&JSON.stringify(a[e].drawUpdates.c)!==a[e].caches.setsizeCOBJ&&(a[e].caches.setsizeCOBJ=JSON.stringify(a[e].drawUpdates.c),d=!0,a[e].redraw.c=!0),a[e].drawUpdates.cpar!==a[e].emptyObject&&JSON.stringify(a[e].drawUpdates.cpar)!==a[e].caches.setsizeCPAROBJ&&(a[e].caches.setsizeCPAROBJ=JSON.stringify(a[e].drawUpdates.cpar),d=!0,a[e].redraw.cpar=!0),s&&"auto"===a[e].sliderLayout&&a[e].caches.canWidth!==a[e].canv.width&&(a[e].caches.canWidth=a[e].canv.width,d=!0,a[e].redraw.modalcanvas=!0),a[e].slayers&&a[e].slayers.length>0&&a[e].outNavDims.left!==a[e].caches.outNavDimsLeft&&"fullwidth"!=a[e].sliderLayout&&"fullscreen"!=a[e].sliderLayout&&(a[e].caches.outNavDimsLeft=a[e].outNavDims.left,a[e].redraw.slayers=!0),s&&a[e].modal.calibration!==i&&"middle"===a[e].modal.vertical&&(a[e].modal.calibration.top=a.getWinH(e)<g?"0%":"50%",a[e].modal.calibration.y=a.getWinH(e)<g?"0px":"-50%","fullwidth"===a[e].sliderLayout&&(d=!0,a[e].redraw.modulewrap=!0)),a[e].gridOffsetWidth=(a[e].module.width-a[e].gridwidth[a[e].level])/2,a[e].gridOffsetHeight=(a[e].module.height-a[e].content.height)/2,a[e].caches.curRowsHeight=a[e].currentRowsHeight=a[e].rowHeights.cur,a[e].caches.moduleWidth=a[e].width=a[e].module.width,a[e].caches.moduleHeight=a[e].height=a[e].module.height,a[e].caches.canWidth=a[e].conw=a[e].canv.width,a[e].caches.canHeight=a[e].conh=a[e].canv.height,a[e].bw=a[e].CM.w,a[e].bh=a[e].CM.h,a[e].caches.outNavDimsLeft=a[e].outNavDims.left,window.requestAnimationFrame(function(){a[e].redraw.forcer&&tpGS.gsap.set(a[e].forcer,{height:a[e].forcerHeight}),a[e].redraw.c&&tpGS.gsap.set(a[e].c,a[e].drawUpdates.c),a[e].redraw.cpar&&tpGS.gsap.set(a[e].cpar,a[e].drawUpdates.cpar),a[e].redraw.modalcanvas&&tpGS.gsap.set([a[e].modal.c,a[e].canvas],{width:a[e].canv.width}),a[e].redraw.maxHeightOld&&(a[e].slides[r].style.maxHeight=a[e].currentSlideHeight!==a[e].canv.height?a[e].currentSlideHeight+"px":"none"),a[e].redraw.slayers&&tpGS.gsap.set(a[e].slayers,{left:a[e].outNavDims.left}),a[e].redraw.modulewrap&&tpGS.gsap.set(a[e].modal.c.find("rs-module-wrap"),a[e].modal.calibration),!0!==a[e].navigation.initialised&&"prepared"===t&&("hero"!==a[e].sliderType&&a.createNavigation&&a[e].navigation.use&&!0!==a[e].navigation.createNavigationDone&&a.createNavigation(e),a.resizeThumbsTabs&&a.resizeThumbsTabs&&a[e].navigation.use&&a.resizeThumbsTabs(e)),a[e].rebuildProgressBar&&I(e),a.putRowsInPosition(e),a[e].redraw={}});var u=a[e].inviewport&&(a[e].heightInLayers!==i&&a[e].module.height!==a[e].heightInLayers||a[e].widthInLayers!==i&&a[e].module.width!==a[e].widthInLayers);return"ignore"!==t&&u&&(a[e].heightInLayers=i,a[e].widthInLayers=i,"carousel"!==a[e].sliderType&&(a[e].pr_next_key!==i?a.animateTheLayers({slide:a[e].pr_next_key,id:e,mode:"rebuild",caller:"swapSlideProgress_1"}):a[e].pr_processing_key!==i?a.animateTheLayers({slide:a[e].pr_processing_key,id:e,mode:"rebuild",caller:"swapSlideProgress_2"}):a[e].pr_active_key!==i&&a.animateTheLayers({slide:a[e].pr_active_key,id:e,mode:"rebuild",caller:"swapSlideProgress_3"})),d=!0),d&&"ignore"!==t&&a.requestLayerUpdates(e,"enterstage"),a[e].module.height!==a[e].module.lastHeight&&(a[e].module.lastHeight=a[e].module.height,window.requestAnimationFrame(function(){window.innerHeight!==screen.height&&Math.round(window.innerHeight*window.devicePixelRatio)!==screen.height&&m(e,i,!1)})),tpGS.gsap.delayedCall(.1,function(){a[e].lastScrollBarWidth!==a.scrollBarWidth?(a.updateDims(e,"ignore"),m(e)):a.isModalOpen||a.scrollBarWidth===window.innerWidth-document.documentElement.clientWidth||a.rAfScrollbar===i&&(a.rAfScrollbar=requestAnimationFrame(function(){a.rAfScrollbar=i,a.getWindowDimension(e,!1)}))}),d},putMiddleZoneInPosition:function(e,t){a[e].middleZones==i||a[e].middleZones[t]==i||a[e].rowMiddleHeights==i||a[e].rowMiddleHeights[t]==i||a[e].caches.middleHeights[t]===a[e].rowMiddleHeights[t]&&a[e].caches.lastModuleHeight===a[e].module.height||(tpGS.gsap.set(a[e].middleZones[t],{top:Math.round(a[e].module.height/2-a[e].rowMiddleHeights[t]/2)}),a[e].caches.middleHeights[t]=a[e].rowMiddleHeights[t])},putRowsInPosition:function(e){var t=a[e].activeRSSlide||0,o=a[e].pr_processing_key;a.putMiddleZoneInPosition(e,t),t!==o&&o!==i&&a.putMiddleZoneInPosition(e,o),a[e].smiddleZones==i||a[e].rowMiddleHeights==i||a[e].rowMiddleHeights.static==i||a[e].caches.middleHeights.static===a[e].rowMiddleHeights.static&&a[e].caches.lastModuleHeight===a[e].module.height||(tpGS.gsap.set(a[e].smiddleZones[0],{top:Math.round(a[e].module.height/2-a[e].rowMiddleHeights.static/2)}),a[e].caches.middleHeights.static=a[e].rowMiddleHeights.static),a[e].caches.lastModuleHeight=a[e].module.height},getSlideIndex:function(e,i){var t=!1;for(var o in a[e].slides){if(!a[e].slides.hasOwnProperty(o)||!1!==t)continue;t=a.gA(a[e].slides[o],"key")===i?o:t}return!1===t?0:t},loadUpcomingContent:function(e){if("smart"==a[e].lazyType){var i=[],t=parseInt(a.getSlideIndex(e,a.gA(a[e].pr_next_slide[0],"key")),0),o=t-1<0?a[e].realslideamount-1:t-1,r=t+1==a[e].realslideamount?0:t+1;o!==t&&i.push(a[e].slides[o]),r!==t&&i.push(a[e].slides[r]),i.length>0&&(a.loadImages(i,e,2),a.waitForCurrentImages(i,e,function(){}))}},lazyLoadAllSlides:function(e){if("all"==a[e].lazyType&&!0!==a[e].lazyLoad_AllDone&&(a[e].viewPort.enable&&a[e].inviewport||!a[e].viewPort.enable)){for(var i in a[e].slides)a[e].slides.hasOwnProperty(i)&&(a.loadImages(a[e].slides[i],e,i),a.waitForCurrentImages(a[e].slides[i],e,function(){}));a[e].lazyLoad_AllDone=!0}},getFullscreenOffsets:function(t){var o=0;if(a[t].fullScreenOffsetContainer!=i){var r=(""+a[t].fullScreenOffsetContainer).split(",");for(var s in r)r.hasOwnProperty(s)&&(o+=e(r[s]).outerHeight(!0)||0)}return a[t].fullScreenOffset!=i&&(!a.isNumeric(a[t].fullScreenOffset)&&a[t].fullScreenOffset.split("%").length>1?o+=a.getWinH(t)*parseInt(a[t].fullScreenOffset,0)/100:a.isNumeric(parseInt(a[t].fullScreenOffset,0))&&(o+=parseInt(a[t].fullScreenOffset,0)||0)),a[t].fullScreenOffsetResult=o,o},unToggleState:function(e){if(e!==i)for(var t=0;t<e.length;t++)try{document.getElementById(e[t]).classList.remove("rs-tc-active")}catch(e){}},toggleState:function(e){if(e!==i)for(var t=0;t<e.length;t++)try{document.getElementById(e[t]).classList.add("rs-tc-active")}catch(e){}},swaptoggleState:function(e){if(e!=i&&e.length>0)for(var t=0;t<e.length;t++){var o=document.getElementById(e[t]);if(a.gA(o,"toggletimestamp")!==i&&(new Date).getTime()-a.gA(o,"toggletimestamp")<250)return;a.sA(o,"toggletimestamp",(new Date).getTime()),null!==o&&(o.className.indexOf("rs-tc-active")>=0?o.classList.remove("rs-tc-active"):o.classList.add("rs-tc-active"))}},lastToggleState:function(e){var t;if(e!==i)for(var a=0;a<e.length;a++){var o=document.getElementById(e[a]);t=!0===t||null!==o&&o.className.indexOf("rs-tc-active")>=0||t}return t},revCheckIDS:function(t,o){if(a.gA(o,"idcheck")===i){var r=o.id,s=e.inArray(o.id,window.RSANYID),n=-1;-1!==s&&(n=e.inArray(o.id,a[t].anyid),window.RSANYID_sliderID[s]===t&&-1===n||(o.id=o.id+"_"+Math.round(9999*Math.random()),console.log("Warning - ID:"+r+" exists already. New Runtime ID:"+o.id),s=n=-1)),-1===n&&a[t].anyid.push(o.id),-1===s&&(window.RSANYID.push(o.id),window.RSANYID_sliderID.push(t))}return a.sA(o,"idcheck",!0),o.id},buildSpinner:function(t,a,o,r){var s;if("off"!==a){r=r===i?"":r,o=o===i?"#ffffff":o;var n=parseInt(a.replace("spinner",""),10);if(isNaN(n)||n<6){var d='style="background-color:'+o+'"',l=r===i||3!==n&&4!=n?"":d;s=e("<rs-loader "+(r===i||1!==n&&2!=n?"":d)+' class="'+a+" "+r+'"><div '+l+' class="dot1"></div><div '+l+' class="dot2"></div><div '+l+' class="bounce1"></div><div '+l+' class="bounce2"></div><div '+l+' class="bounce3"></div></rs-loader>')}else{var c,p='<div class="rs-spinner-inner"';if(7===n)-1!==o.search("#")?(c=o.replace("#",""),c="rgba("+parseInt(c.substring(0,2),16)+", "+parseInt(c.substring(2,4),16)+", "+parseInt(c.substring(4,6),16)+", "):-1!==o.search("rgb")&&(c=o.substring(o.indexOf("(")+1,o.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:'+o+'"');p+=">";for(var g=[10,0,4,2,5,9,0,4,4,2][n-6],u=0;u<g;u++)u>0&&(p+=" "),p+='<span style="background:'+o+'"></span>';s=e('<rs-loader class="'+a+" "+r+'">'+(p+="</div>")+"</div></rs-loader>")}return s}},addStaticLayerTo:function(e,i,t){if(a[e].slayers.length<2){var o=document.createElement("rs-static-layers");o.className="rs-stl-"+i,o.appendChild(t[0]),a[e].c[0].appendChild(o),a[e].slayers.push(o)}else a[e].slayers[1].appendChild(t[0])}});var o=function(){return a.isIE11()?function(e,i){return e.querySelectorAll(i)}:function(e,i){return e.getElementsByTagName(i)}},r=function(e){a[e].responsiveLevels=a.revToResp(a[e].responsiveLevels,a[e].rle),a[e].visibilityLevels=a.revToResp(a[e].visibilityLevels,a[e].rle),a[e].responsiveLevels[0]=9999,a[e].rle=a[e].responsiveLevels.length||1,a[e].gridwidth=a.revToResp(a[e].gridwidth,a[e].rle),a[e].gridheight=a.revToResp(a[e].gridheight,a[e].rle),a[e].editorheight!==i&&(a[e].editorheight=a.revToResp(a[e].editorheight,a[e].rle)),a.updateDims(e)},s=function(i,t){var a=[];return e.each(i,function(e,i){e!=t&&a.push(i)}),a},n=function(i,t,o){a[o].c.find(i).each(function(){var i=e(this);i.data("key")===t&&i.remove()})},d=function(e,t){if(a["rsfont_"+e]==i&&(a["rsfont_"+e]=document.createElement("span"),a["rsfont_"+e].innerHTML=Array(100).join("wi"),a["rsfont_"+e].style.cssText=["position:absolute","width:auto","font-size:128px","left:-99999px"].join(" !important;"),a["rsfont_"+e].style.fontFamily=e,document.body.appendChild(a["rsfont_"+e])),t===i)return a["rsfont_"+e].clientWidth;document.body.removeChild(a["rsfont_"+e])},l=function(i,t){var a=0;return i.find(t).each(function(){var i=e(this);!i.hasClass("tp-forcenotvisible")&&a<i.outerWidth()&&(a=i.outerWidth())}),a},c=function(t){if(t===i||a[t]===i||a[t].c===i)return!1;if(a[t].cpar!==i&&a[t].cpar.data("aimg")!=i&&("enabled"==a[t].cpar.data("aie8")&&a.isIE(8)||"enabled"==a[t].cpar.data("amobile")&&a.ISM))a[t].c.html('<img class="tp-slider-alternative-image" src="'+a[t].cpar.data("aimg")+'">');else{window._rs_firefox13=!1,window._rs_firefox=a.isFirefox(),window._rs_ie=window._rs_ie===i?!e.support.opacity:window._rs_ie,window._rs_ie9=window._rs_ie9===i?9==document.documentMode:window._rs_ie9;var o=e.fn.jquery.split("."),r=parseFloat(o[0]),s=parseFloat(o[1]);1==r&&s<7&&a[t].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>"),r>1&&(window._rs_ie=!1),a[t].realslideamount=a[t].slideamount=0;var n=a.getByTag(a[t].canvas[0],"RS-SLIDE"),d=[];for(var l in a[t].notInNav=[],a[t].slides=[],n)n.hasOwnProperty(l)&&("on"==a.gA(n[l],"hsom")&&a.ISM?d.push(n[l]):(a.gA(n[l],"invisible")||1==a.gA(n[l],"invisible")?a[t].notInNav.push(n[l]):(a[t].slides.push(n[l]),a[t].slideamount++),a[t].realslideamount++,a.sA(n[l],"originalindex",a[t].realslideamount),a.sA(n[l],"origindex",a[t].realslideamount-1)));for(l in d)d.hasOwnProperty(l)&&d[l].remove();for(l in a[t].notInNav)a[t].notInNav.hasOwnProperty(l)&&(a.sA(a[t].notInNav[l],"not_in_nav",!0),a[t].canvas[0].appendChild(a[t].notInNav[l]));if(a[t].canvas.css({visibility:"visible"}),a[t].slayers=a[t].c.find("rs-static-layers"),a[t].slayers[0]&&a[t].slayers.className&&-1!==a[t].slayers[0].className.indexOf("rs-stl-visible")&&a[t].c.addClass("rs-stl-visible"),a[t].slayers.length>0&&a.sA(a[t].slayers[0],"key","staticlayers"),!0===a[t].modal.useAsModal&&(a[t].cpar.wrap('<rs-modal id="'+a[t].c[0].id+'_modal"></rs-modal>'),a[t].modal.c=e(a.closestNode(a[t].cpar[0],"RS-MODAL")),a[t].modal.c.appendTo(e("body")),a[t].modal!==i&&a[t].modal.alias!==i&&a.revModal(t,{mode:"init"})),1==a[t].waitForInit||1==a[t].modal.useAsModal)return a.RS_toInit!==i&&(a.RS_toInit[t]=!0),a[t].c.trigger("revolution.slide.waitingforinit"),void(a[t].waitingForInit=!0);window.requestAnimationFrame(function(){u(t)}),a[t].initEnded=!0}},p=function(){e("body").data("rs-fullScreenMode",!e("body").data("rs-fullScreenMode")),e("body").data("rs-fullScreenMode")&&setTimeout(function(){a.window.trigger("resize")},200)},g=function(e,t,o){return a.gA(e,"lazyload")!==i?a.gA(e,"lazyload"):a[o].lazyloaddata!==i&&a[o].lazyloaddata.length>0&&a.gA(e,a[o].lazyloaddata)!==i?a.gA(e,a[o].lazyloaddata):a.gA(e,"lazy-src")!==i?a.gA(e,"lazy-src"):a.gA(e,"lazy-wpfc-original-src")!==i?a.gA(e,"lazy-wpfc-original-src"):a.gA(e,"lazy")!==i?a.gA(e,"lazy"):t},u=function(t){if(a[t]!==i){a[t].sliderisrunning=!0,!0!==a[t].noDetach&&a[t].c.detach();var o=a[t].canvas.find("rs-slide:first-child");if(a[t].shuffle){for(var r=a.gA(o[0],"firstanim"),s=0;s<a[t].slideamount;s++)a[t].canvas.find("rs-slide:eq("+Math.round(Math.random()*a[t].slideamount)+")").prependTo(a[t].canvas);a.sA(a[t].canvas.find("rs-slide:first-child")[0],"firstanim",r)}a[t].slides=a.getByTag(a[t].canvas[0],"RS-SLIDE"),a[t].thumbs=new Array(a[t].slides.length),a[t].slots=1,a[t].firststart=1,a[t].loadqueue=[],a[t].syncload=0;var n=0,d="carousel"===a[t].sliderType&&a[t].carousel.border_radius!==i?parseInt(a[t].carousel.border_radius,0):0;for(var l in"carousel"!==a[t].sliderType&&tpGS.gsap.set(a[t].slides,{display:"none"}),"carousel"!==a[t].sliderType&&tpGS.gsap.set(o,{display:"block"}),a[t].slides)if(a[t].slides.hasOwnProperty(l)&&"length"!==l){var c=a[t].slides[l],u=a.getByTag(c,"IMG")[0];a.gA(c,"key")===i&&a.sA(c,"key","rs-"+Math.round(999999*Math.random()));var h={params:Array(12),id:a.gA(c,"key"),src:a.gA(c,"thumb")!==i?a.gA(c,"thumb"):g(u,u!==i?u.src:i,t)};a.gA(c,"title")===i&&a.sA(c,"title",""),a.gA(c,"description")===i&&a.sA(c,"description",""),h.params[0]={from:RegExp("\\{\\{title\\}\\}","g"),to:a.gA(c,"title")},h.params[1]={from:RegExp("\\{\\{description\\}\\}","g"),to:a.gA(c,"description")};for(var v=1;v<=10;v++)a.gA(c,"p"+v)!==i?h.params[v+1]={from:RegExp("\\{\\{param"+v+"\\}\\}","g"),to:a.gA(c,"p"+v)}:h.params[v+1]={from:RegExp("\\{\\{param"+v+"\\}\\}","g"),to:""};if(a[t].thumbs[n]=e.extend({},!0,h),d>0&&tpGS.gsap.set(c,{borderRadius:d+"px"}),a.gA(c,"link")!=i||a.gA(c,"linktoslide")!==i){var w=a.gA(c,"link"),y=w!==i?w:"slide",b="slide"!=y?"no":a.gA(c,"linktoslide"),_=a.gA(c,"seoz"),S=a.gA(c,"tag");if(b!=i&&"no"!=b&&"next"!=b&&"prev"!=b)for(var x in a[t].slides)a[t].slides.hasOwnProperty(x)&&parseInt(a.gA(a[t].slides[x],"origindex"),0)+1==a.gA(c,"linktoslide")&&(b=a.gA(a[t].slides[x],"key"));"slide"==y||"a"!=S?e(c).prepend('<rs-layer class="rs-layer slidelink" id="rs_slidelink_'+Math.round(1e5*Math.random())+'" data-zindex="'+("back"===_?0:"front"===_?95:_!==i?parseInt(_,0):100)+'" dataxy="x:c;y:c" data-dim="w:100%;h:100%" data-basealign="slide"'+("no"==b?"slide"==y||a.ISM?"":"  data-actions='o:click;a:simplelink;target:"+(a.gA(c,"target")||"_self")+";url:"+y+";'":"  data-actions='"+("scroll_under"===b?"o:click;a:scrollbelow;offset:100px;":"prev"===b?"o:click;a:jumptoslide;slide:prev;d:0.2;":"next"===b?"o:click;a:jumptoslide;slide:next;d:0.2;":"o:click;a:jumptoslide;slide:"+b+";d:0.2;")+"'")+" data-frame_1='e:power3.inOut;st:100;sp:100' data-frame_999='e:power3.inOut;o:0;st:w;sp:100'>"+(a.ISM?"<a "+("slide"!=y?("_blank"===a.gA(c,"target")?'rel="noopener" ':"")+'target="'+(a.gA(c,"target")||"_self")+'" href="'+y+'"':"")+"><span></span></a>":"")+"</rs-layer>"):e(c).prepend('<a class="rs-layer slidelink" id="rs_slidelink_'+Math.round(1e5*Math.random())+'" data-zindex="'+("back"===_?0:"front"===_?95:_!==i?parseInt(_,0):100)+'" dataxy="x:c;y:c" data-dim="w:100%;h:100%" data-basealign="slide" href="'+y+'" target="'+(a.gA(c,"target")||"_self")+'" rel="noopener" data-frame_1="e:power3.inOut;st:100;sp:100" data-frame_999="e:power3.inOut;o:0;st:w;sp:100"><span></span></a>')}n++}if(a[t].simplifyAll&&(a.isIE(8)||a.iOSVersion())&&(a[t].c.find(".rs-layer").each(function(){var i=e(this);i.removeClass("customin customout").addClass("fadein fadeout"),i.data("splitin",""),i.data("speed",400)}),a[t].c.find("rs-slide").each(function(){var i=e(this);i.data("transition","fade"),i.data("masterspeed",500),i.data("slotamount",1),(i.find(".rev-slidebg")||i.find(">img").first()).data("panzoom",null)})),window._rs_desktop=window._rs_desktop===i?!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i):window._rs_desktop,a[t].autoHeight="fullscreen"==a[t].sliderLayout||a[t].autoHeight,"fullwidth"!=a[t].sliderLayout||a[t].autoHeight||a[t].c.css({maxHeight:a[t].gridheight[a[t].level]+"px"}),"auto"==a[t].sliderLayout||null!==a.closestNode(a[t].c[0],"RS-FULLWIDTH-WRAP")||"fullscreen"===a[t].sliderLayout&&1==a[t].disableForceFullWidth)a[t].topc=a[t].cpar;else{var k=a[t].cpar[0].style.marginTop,L=a[t].cpar[0].style.marginBottom;a[t].rsFullWidthWrapMarginBottom=parseInt(L,0),k=k===i||""===k?"":"margin-top:"+k+";",L=L===i||""===L?"":"margin-bottom:"+L+";",a[t].rsFullWidthWrap=a[t].topc=e('<rs-fullwidth-wrap id="'+a[t].c[0].id+'_forcefullwidth" style="'+k+L+'"></rs-fullwidth-wrap>'),a[t].forcer=e('<rs-fw-forcer style="height:'+(a[t].forcerHeight===i?a[t].cpar.height():a[t].forcerHeight)+'px"></rs-fw-forcer>'),a[t].topc.append(a[t].forcer),a[t].topc.insertBefore(a[t].cpar),a[t].cpar.detach(),a[t].cpar.css({marginTop:"0px",marginBottom:"0px",position:"absolute"}),a[t].cpar.prependTo(a[t].topc)}if(a[t].forceOverflow&&a[t].topc[0].classList.add("rs-forceoverflow"),"carousel"===a[t].sliderType&&!0!==a[t].overflowHidden&&a[t].c.css({overflow:"visible"}),0!==a[t].maxHeight&&tpGS.gsap.set([a[t].cpar,a[t].c,a[t].topc],{maxHeight:a[t].maxHeight+"px"}),a[t].fixedOnTop&&tpGS.gsap.set(a[t].blockSpacing!==i&&a[t].blockSpacing.block!==i?a[t].blockSpacing.block:a[t].topc,{position:"fixed",top:"0px",left:"0px",pointerEvents:"none",zIndex:5e3}),a[t].shadow!==i&&a[t].shadow>0&&a[t].cpar.addClass("tp-shadow"+a[t].shadow).append('<div class="tp-shadowcover" style="background-color:'+a[t].cpar.css("backgroundColor")+";background-image:"+a[t].cpar.css("backgroundImage")+'"></div>'),a.updateDims(t,"prepared"),a.observeWraps===i&&(a.observeWraps=new a.wrapObserver.init(function(e,t){m(t,i,!0)})),!a[t].c.hasClass("revslider-initialised")){a[t].c[0].classList.add("revslider-initialised"),a[t].c[0].id=a[t].c[0].id===i?"revslider-"+Math.round(1e3*Math.random()+5):a[t].c[0].id,a.revCheckIDS(t,a[t].c[0]),a[t].origcd=parseInt(a[t].duration,0),a[t].scrolleffect._L=[],a[t].sbas=a[t].sbas===i?{}:a[t].sbas,a[t].layers=a[t].layers||{},a[t].sortedLayers=a[t].sortedLayers||{};var R=a[t].c[0].querySelectorAll("rs-layer, rs-row, rs-column, rs-group,  rs-bgvideo, .rs-layer");for(var O in R)if(R.hasOwnProperty(O)){var I,M,T=e(R[O]),C=T.data();if(C.startclasses=R[O].className,C.startclasses=C.startclasses===i||null===C.startclasses?"":C.startclasses,C.animationonscroll=!!a[t].sbtimeline.set&&a[t].sbtimeline.layers,C.animationonscroll=!0===C.animationonscroll||"true"==C.animationonscroll,C.filteronscroll=!!a[t].scrolleffect.set&&a[t].scrolleffect.layers,C.pxundermask=C.startclasses.indexOf("rs-pxmask")>=0&&"off"!==a[t].parallax.type&&C.startclasses.indexOf("rs-pxl-")>=0,C.noPevents=C.startclasses.indexOf("rs-noevents")>=0,C.sba)for(var v in I=C.sba.split(";"))I.hasOwnProperty(v)&&("t"==(M=I[v].split(":"))[0]&&(C.animationonscroll=M[1],"false"==M[1]&&(C.animOnScrollForceDisable=!0)),"e"==M[0]&&(C.filteronscroll=M[1]),"so"==M[0]&&(C.scrollBasedOffset=parseInt(M[1])/1e3));if("true"!=C.animationonscroll&&1!=C.animationonscroll||(C.startclasses+=" rs-sba",T[0].className+=" rs-sba"),C.startclasses.indexOf("rs-layer-static")>=0&&a.handleStaticLayers&&a.handleStaticLayers(T,t),"RS-BGVIDEO"!==T[0].tagName){if(T[0].classList.add("rs-layer"),"column"===C.type&&(C.columnwidth="33.33%",C.verticalalign="top",C.column!==i))for(var A in I=C.column.split(";"))I.hasOwnProperty(A)&&("w"===(M=I[A].split(":"))[0]&&(C.columnwidth=M[1]),"a"===M[0]&&(C.verticalalign=M[1]));var D=C.startclasses.indexOf("slidelink")>=0?"z-index:"+C.zindex+";width:100% !important;height:100% !important;":"",z="column"!==C.type?"":C.verticalalign===i?" vertical-align:top;":" vertical-align:"+C.verticalalign+";",G="row"===C.type||"column"===C.type?"position:relative;":"position:absolute;",H="",E="row"===C.type?"rs-row-wrap":"column"===C.type?"rs-column-wrap":"group"===C.type?"rs-group-wrap":"rs-layer-wrap",F="",N="",j=(C.noPevents,";pointer-events:none");"row"===C.type||"column"===C.type||"group"===C.type?(T[0].classList.remove("tp-resizeme"),"column"===C.type&&(C.width="auto",T[0].group="row",tpGS.gsap.set(T,{width:"auto"}),C.filteronscroll=!1)):(F="display:"+("inline-block"===T[0].style.display?"inline-block":"block")+";",null!==a.closestNode(T[0],"RS-COLUMN")?(T[0].group="column",C.filteronscroll=!1):null!==a.closestNode(T[0],"RS-GROUP-WRAP")&&(T[0].group="group",C.filteronscroll=!1)),C.wrpcls!==i&&(H=H+" "+C.wrpcls),C.wrpid!==i&&(N='id="'+C.wrpid+'"'),T.wrap("<"+E+" "+N+' class="rs-parallax-wrap '+H+'" style="'+z+" "+D+G+F+j+'"><rs-loop-wrap style="'+D+G+F+'"><rs-mask-wrap style="'+D+G+F+'">'+(C.pxundermask?"<rs-px-mask></rs-px-mask>":"")+"</rs-mask-wrap></rs-loop-wrap></"+E+">"),!0!==C.filteronscroll&&"true"!=C.filteronscroll||a[t].scrolleffect._L.push(T.parent()),T[0].id=T[0].id===i?"layer-"+Math.round(999999999*Math.random()):T[0].id,a.revCheckIDS(t,T[0]),C.pxundermask?a[t]._Lshortcuts[T[0].id]={p:e(T[0].parentNode.parentNode.parentNode.parentNode),lp:e(T[0].parentNode.parentNode.parentNode),m:e(T[0].parentNode.parentNode)}:a[t]._Lshortcuts[T[0].id]={p:e(T[0].parentNode.parentNode.parentNode),lp:e(T[0].parentNode.parentNode),m:e(T[0].parentNode)},"column"===C.type&&a[t]._Lshortcuts[T[0].id].p.append('<rs-cbg-mask-wrap><rs-column-bg id="'+T[0].id+'_rs_cbg"></rs-column-bg></rs-cbg-mask-wrap>'),"text"===C.type&&a.getByTag(T[0],"IFRAME").length>0&&(a[t].slideHasIframe=!0,T[0].classList.add("rs-ii-o")),a[t].BUG_safari_clipPath&&"true"!=C.animationonscroll&&1!=C.animationonscroll&&T[0].classList.add("rs-pelock"),T[0].dataset.staticz!==i&&"row"!==C.type&&"row"!==T[0].group&&"column"!==T[0].group&&a.addStaticLayerTo(t,T[0].dataset.staticz,a[t]._Lshortcuts[T[0].id].p)}a.gA(T[0],"actions")&&a.checkActions&&a.checkActions(T,t,a[t]),!a.checkVideoApis||window.rs_addedvim&&window.rs_addedyt||a[t].youtubeapineeded&&a[t].vimeoapineeded||a.checkVideoApis(T,t)}a.checkActions&&a.checkActions(i,t),a[t].c[0].addEventListener("mousedown",function(){if(!0!==a[t].onceClicked&&(a[t].onceClicked=!0,!0!==a[t].onceVideoPlayed&&a[t].activeRSSlide!==i&&a[t].slides!==i&&a[t].slides[a[t].activeRSSlide]!==i)){var o=e(a[t].slides[a[t].activeRSSlide]).find("rs-bgvideo");o!==i&&null!==o&&o.length>0&&a.playVideo(o,t)}}),a[t].c[0].addEventListener("mouseenter",function(){a[t].c.trigger("tp-mouseenter"),a[t].overcontainer=!0},{passive:!0}),a[t].c[0].addEventListener("mouseover",function(){a[t].c.trigger("tp-mouseover"),a[t].overcontainer=!0},{passive:!0}),a[t].c[0].addEventListener("mouseleave",function(){a[t].c.trigger("tp-mouseleft"),a[t].overcontainer=!1},{passive:!0}),a[t].c.find(".rs-layer video").each(function(i){var t=e(this);t.removeClass("video-js vjs-default-skin"),t.attr("preload",""),t.css({display:"none"})}),a[t].rs_static_layer=a.getByTag(a[t].c[0],"RS-STATIC-LAYERS"),a.preLoadAudio&&a[t].rs_static_layer.length>0&&a.preLoadAudio(e(a[t].rs_static_layer),t,1),a[t].rs_static_layer.length>0&&(a.loadImages(a[t].rs_static_layer[0],t,0,!0),a.waitForCurrentImages(a[t].rs_static_layer[0],t,function(){a[t]!==i&&a[t].c.find("rs-static-layers img").each(function(){this.src=a.getLoadObj(t,a.gA(this,"src")!=i?a.gA(this,"src"):this.src).src})})),a[t].rowzones=[],a[t].rowzonesHeights=[],a[t].topZones=[],a[t].middleZones=[],a[t].bottomZones=[],a[t].rowMiddleHeights={};var W=a.deepLink(t,B("#")[0]);W!==i&&(a[t].startWithSlide=W,a[t].deepLinkListener=!0,window.addEventListener("hashchange",function(){if(!0!==a[t].ignoreDeeplinkChange){var e=a.deepLink(t,B("#")[0]);e!==i&&a.callingNewSlide(t,e,!0)}a[t].ignoreDeeplinkChange=!1})),a[t].loader=a.buildSpinner(t,a[t].spinner,a[t].spinnerclr),a[t].loaderVisible=!0,a[t].c.append(a[t].loader),f(t),("off"!==a[t].parallax.type||a[t].scrolleffect.set||a[t].sbtimeline.set)&&a.checkForParallax&&a.checkForParallax(t),a[t].fallbacks.disableFocusListener||"true"==a[t].fallbacks.disableFocusListener||!0===a[t].fallbacks.disableFocusListener||(a[t].c.addClass("rev_redraw_on_blurfocus"),P());var V=a[t].viewPort;for(var v in"on"===a[t].navigation.mouseScrollNavigation&&(V.enable=!0),a[t].slides)if(a[t].slides.hasOwnProperty(v)){var U=e(a[t].slides[v]);a[t].rowzones[v]=[],a[t].rowzonesHeights[v]=[],a[t].topZones[v]=[],a[t].middleZones[v]=[],a[t].bottomZones[v]=[],U.find("rs-zone").each(function(){a[t].rowzones[v].push(e(this)),this.className.indexOf("rev_row_zone_top")>=0&&a[t].topZones[v].push(this),this.className.indexOf("rev_row_zone_middle")>=0&&(a[t].middleZones[v].push(this),this.dataset.middle="true"),this.className.indexOf("rev_row_zone_bottom")>=0&&a[t].bottomZones[v].push(this)})}a.lazyLoadAllSlides(t),a[t].srowzones=[],a[t].smiddleZones=[],a[t].slayers&&a[t].slayers.find("rs-zone").each(function(){a[t].srowzones.push(e(this)),this.className.indexOf("rev_row_zone_middle")>=0&&(a[t].smiddleZones.push(this),this.dataset.middle="true")}),"carousel"===a[t].sliderType&&tpGS.gsap.set(a[t].canvas,{scale:1,perspective:1200,transformStyle:"flat",opacity:0}),a[t].c.prependTo(a[t].cpar),e("body").data("rs-fullScreenMode",!1),window.addEventListener("fullscreenchange",p,{passive:!0}),window.addEventListener("mozfullscreenchange",p,{passive:!0}),window.addEventListener("webkitfullscreenchange",p,{passive:!0}),a.document.on("updateContainerSizes."+a[t].c.attr("id"),function(){if(a[t]!==i)return a[t].c!=i&&void(a.updateDims(t,"ignore")&&window.requestAnimationFrame(function(){a.updateDims(t,"ignore"),a[t].fullScreenMode=a.checkfullscreenEnabled(t),a.lastwindowheight=a.getWinH(t),m(t)}))}),V.presize&&(a[t].pr_next_slide=e(a[t].slides[0]),a.loadImages(a[t].pr_next_slide[0],t,0,!0),a.waitForCurrentImages(a[t].pr_next_slide.find(".tp-layers"),t,function(){a.animateTheLayers&&a.animateTheLayers({slide:a[t].pr_next_key,id:t,mode:"preset",caller:"runSlider"})})),("off"!=a[t].parallax.type||a[t].sbtimeline.set||!0===V.enable)&&a.scrollTicker(t),!0!==V.enable&&(a[t].inviewport=!0,a.enterViewPort(t)),a.RS_toInit!==i&&(a.RS_toInit[t]=!0),a[t].observeWrap&&a.observeWraps&&a.wrapObserver.observe(a[t].rsFullWidthWrap!==i?a[t].rsFullWidthWrap[0]:a[t].cpar[0],t)}}},h=function(e,t){a.winW<a[e].hideSliderAtLimit?(a[e].c.trigger("stoptimer"),!0!==a[e].sliderIsHidden&&(a.sA(a[e].cpar[0],"displaycache","none"!=a[e].cpar.css("display")?a[e].cpar.css("display"):a.gA(a[e].cpar[0],"displaycache")),a[e].cpar.css({display:"none"}),a[e].sliderIsHidden=!0)):(!0===a[e].sliderIsHidden||a[e].sliderIsHidden===i&&a[e].c.is(":hidden"))&&t&&(a[e].cpar[0].style.display=a.gA(a[e].cpar[0],"displaycache")!=i&&"none"!=a.gA(a[e].cpar[0],"displaycache")?a.gA(a[e].cpar[0],"displaycache"):"block",a[e].sliderIsHidden=!1,a[e].c.trigger("restarttimer"),window.requestAnimationFrame(function(){m(e,!0)})),a.hideUnHideNav&&a[e].navigation.use&&a.hideUnHideNav(e)},m=function(e,t,o){if(a[e].c===i)return!1;if(a[e].dimensionReCheck={},a[e].c.trigger("revolution.slide.beforeredraw"),1==a[e].infullscreenmode&&(a[e].minHeight=a.getWinH(e)),a.ISM&&(a[e].lastMobileHeight=a.getWinH(e)),o&&a.updateDims(e),!a.resizeThumbsTabs||!0===a.resizeThumbsTabs(e)){if(window.requestAnimationFrame(function(){h(e,!0!==t),I(e)}),a[e].started){if("carousel"==a[e].sliderType)for(var r in a.prepareCarousel(e),a[e].sbgs)a[e].sbgs.hasOwnProperty(r)&&a[e].sbgs[r].mDIM!==i&&a.updateSlideBGs(e,a[e].sbgs[r].key,a[e].sbgs[r]);else a.updateSlideBGs(e);if("carousel"===a[e].sliderType&&a[e].carCheckconW!=a[e].canv.width){for(var s in clearTimeout(a[e].pcartimer),a[e].sbgs)a[e].sbgs[s].loadobj!==i&&a.updateSlideBGs(e,a[e].sbgs[s].key,a[e].sbgs[s]);a[e].pcartimer=setTimeout(function(){a.prepareCarousel(e),a.animateTheLayers({slide:"individual",id:e,mode:"rebuild",caller:"containerResized_1"}),a[e].carCheckconW=a[e].canv.width},100),a[e].lastconw=a[e].canv.width}if(a[e].pr_processing_key!==i?a.animateTheLayers({slide:a[e].pr_processing_key,id:e,mode:"rebuild",caller:"containerResized_2"}):a[e].pr_active_key!==i&&a.animateTheLayers({slide:a[e].pr_active_key,id:e,mode:"rebuild",caller:"containerResized_3"}),"carousel"===a[e].sliderType){for(var s in a[e].panzoomTLs)if(a[e].panzoomTLs.hasOwnProperty(s)){var n=a.gA(a[e].panzoomBGs[s][0],"key");a.startPanZoom(a[e].panzoomBGs[s],e,a[e].panzoomTLs[s].progress(),s,a[e].panzoomTLs[s].isActive()?"play":"reset",n)}}else a[e].pr_active_bg!==i&&a[e].pr_active_bg[0]!==i&&v(e,a[e].pr_active_bg,a[e].pr_active_bg[0].dataset.key),a[e].pr_next_bg!==i&&a[e].pr_next_bg[0]!==i&&v(e,a[e].pr_next_bg,a[e].pr_next_bg[0].dataset.key);clearTimeout(a[e].mNavigTimeout),a.manageNavigation&&(a[e].mNavigTimeout=setTimeout(function(){a.manageNavigation(e)},20))}a.prepareCoveredVideo(e)}a[e].c.trigger("revolution.slide.afterdraw",[{id:e}])},v=function(e,t,o){if(a[e].panzoomTLs!==i){var r=a.getSlideIndex(e,o);a.startPanZoom(t,e,a[e].panzoomTLs[r]!==i?a[e].panzoomTLs[r].progress():0,r,"play",o)}},f=function(t){!0!==a[t].noDetach&&a[t].canvas.detach();var o=a.isFaceBook()?"visible":"hidden";if(a[t].autoHeight&&tpGS.gsap.set([a[t].c,a[t].cpar],{maxHeight:"none"}),tpGS.gsap.set(a[t].canvas,a[t].modal!==i&&a[t].modal.useAsModal?{overflow:o,width:"100%",height:"100%"}:{overflow:o,width:"100%",height:"100%",maxHeight:a[t].autoHeight?"none":a[t].cpar.css("maxHeight")}),"carousel"===a[t].sliderType){var r="margin-top:"+parseInt(a[t].carousel.padding_top||0,0)+"px;";a[t].canvas.css({overflow:"visible"}).wrap('<rs-carousel-wrap style="'+r+'"></rs-carousel-wrap>'),a[t].cpar.prepend("<rs-carousel-space></rs-carousel-space>").append("<rs-carousel-space></rs-carousel-space>"),a.defineCarouselElements(t)}a[t].startWithSlide=a[t].startWithSlide===i?i:Math.max(1,(a[t].sliderType,parseInt(a[t].startWithSlide))),a[t].cpar.css({overflow:"visible"}),a[t].scrolleffect.bgs=[];for(var s=0;s<a[t].slides.length;s++){var n=e(a[t].slides[s]),d=a.gA(n[0],"key"),l=n.find(".rev-slidebg")||n.find(">img"),c=a[t].sbgs[d]=w(l.data(),t),p=n.data("mediafilter");if(c.skeyindex=a.getSlideIndex(t,d),c.bgvid=n.find("rs-bgvideo"),l.detach(),c.bgvid.detach(),(a[t].startWithSlide!=i&&a.gA(a[t].slides[s],"originalindex")==a[t].startWithSlide||a[t].startWithSlide===i&&0==s)&&(a[t].pr_next_key=n.index()),tpGS.gsap.set(n,{width:"100%",height:"100%",overflow:o}),l.wrap('<rs-sbg-px><rs-sbg-wrap data-key="'+d+'"></rs-sbg-wrap></rs-sbg-px>'),c.wrap=e(a.closestNode(l[0],"RS-SBG-WRAP")),c.src=l[0].src,c.lazyload=c.lazyload=g(l[0],i,t),c.slidebgimage=!0,c.loadobj=c.loadobj===i?{}:c.loadobj,c.mediafilter=p="none"===p||p===i?"":p,c.sbg=document.createElement("rs-sbg"),a[t].overlay!==i&&"none"!=a[t].overlay.type&&a[t].overlay.type!=i){var u=a.createOverlay(t,a[t].overlay.type,a[t].overlay.size,{0:a[t].overlay.colora,1:a[t].overlay.colorb});c.wrap.append('<rs-dotted style="background-image:'+u+'"></rs-dotted>')}l.data("mediafilter",p),c.canvas=document.createElement("canvas"),c.sbg.appendChild(c.canvas),c.canvas.style.width="100%",c.canvas.style.height="100%",c.ctx=c.canvas.getContext("2d"),c.lazyload!==i&&(c.sbg.dataset.lazyload=c.lazyload),c.sbg.className=p,c.sbg.src=c.src,c.sbg.dataset.bgcolor=c.bgcolor,c.sbg.style.width="100%",c.sbg.style.height="100%",c.key=d,c.wrap[0].dataset.key=d,e(c.sbg).data(c),c.wrap.data(c),c.wrap[0].appendChild(c.sbg);var h=document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - "+l.get(0).outerHTML);l.replaceWith(h),a.gA(n[0],"sba")===i&&a.sA(n[0],"sba","");var m={},v=a.gA(n[0],"sba").split(";");for(var f in v)if(v.hasOwnProperty(f)){var y=v[f].split(":");switch(y[0]){case"f":m.f=y[1];break;case"b":m.b=y[1];break;case"g":m.g=y[1];break;case"t":m.s=y[1]}}a.sA(n[0],"scroll-based",!!a[t].sbtimeline.set&&(m.s!==i&&m.s)),c.bgvid.length>0&&(c.bgvidid=c.bgvid[0].id,c.animateDirection="idle",c.bgvid.addClass("defaultvid").css({zIndex:30}),p!==i&&""!==p&&"none"!==p&&c.bgvid.addClass(p),c.bgvid.appendTo(c.wrap),c.parallax!=i&&(c.bgvid.data("parallax",c.parallax),c.bgvid.data("showcoveronpause","on"),c.bgvid.data("mediafilter",p)),c.poster=!1,(c.src!==i&&-1==c.src.indexOf("assets/dummy.png")&&-1==c.src.indexOf("assets/transparent.png")||c.lazyload!==i&&-1==c.lazyload.indexOf("assets/transparent.png")&&-1==c.lazyload.indexOf("assets/dummy.png"))&&(c.poster=!0),c.bgvid.data("bgvideo",1),c.bgvid[0].dataset.key=d,0==c.bgvid.find(".rs-fullvideo-cover").length&&c.bgvid.append('<div class="rs-fullvideo-cover"></div>')),a[t].scrolleffect.set?(a[t].scrolleffect.bgs.push({fade:m.f!==i?m.f:!!a[t].scrolleffect.slide&&a[t].scrolleffect.fade,blur:m.b!==i?m.b:!!a[t].scrolleffect.slide&&a[t].scrolleffect.blur,grayscale:m.g!==i?m.g:!!a[t].scrolleffect.slide&&a[t].scrolleffect.grayscale,c:c.wrap.wrap("<rs-sbg-effectwrap></rs-sbg-effectwrap>").parent()}),n.prepend(c.wrap.parent().parent())):n.prepend(c.wrap.parent())}"carousel"===a[t].sliderType?(tpGS.gsap.set(a[t].carousel.wrap,{opacity:0}),a[t].c[0].appendChild(a[t].carousel.wrap[0])):a[t].c[0].appendChild(a[t].canvas[0])},w=function(t,o){t.bg=t.bg===i?"":t.bg;var r=t.bg.split(";"),s={bgposition:"50% 50%",bgfit:"cover",bgrepeat:"no-repeat",bgcolor:"transparent"};for(var n in r)if(r.hasOwnProperty(n)){var d=r[n].split(":"),l=d[0],c=d[1],p="";switch(l){case"p":p="bgposition";break;case"f":p="bgfit";break;case"r":p="bgrepeat";break;case"c":p="bgcolor"}p!==i&&(s[p]=c)}return a[o].fallbacks.panZoomDisableOnMobile&&a.ISM&&(s.panzoom=i,s.bgfit="cover",t.panzoom=i),e.extend(!0,t,s)},y=function(e,t,o){if(a[t]!==i){a[t].syncload--;var r=a.gA(e,"reference");for(var s in a[t].loadqueue)a[t].loadqueue.hasOwnProperty(s)&&"loaded"!==a[t].loadqueue[s].progress&&r==a[t].loadqueue[s].src&&(a[t].loadqueue[s].img=e,a[t].loadqueue[s].progress=o,a[t].loadqueue[s].width=e.naturalWidth,a[t].loadqueue[s].height=e.naturalHeight);b(t)}},b=function(t){4!=a[t].syncload&&a[t].loadqueue&&e.each(a[t].loadqueue,function(o,r){if("prepared"==r.progress&&a[t].syncload<=4){if(a[t].syncload++,"img"==r.type){var s="IMG"==r.img.tagName?r.img:new Image;a.sA(s,"reference",r.src),!/^([\w]+\:)?\/\//.test(r.src)||-1!==r.src.indexOf(location.host)&&-1===r.src.indexOf("."+location.host)||""===a[t].imgCrossOrigin||a[t].imgCrossOrigin===i||(s.crossOrigin=a[t].imgCrossOrigin),s.onload=function(){y(this,t,"loaded"),r.error=!1},s.onerror=function(){y(this,t,"failed"),r.error=!0},s.src=r.src,r.starttoload=Date.now()}else e.get(r.src,function(e){r.innerHTML=(new XMLSerializer).serializeToString(e.documentElement),r.progress="loaded",a[t].syncload--,b(t)}).fail(function(){r.progress="failed",a[t].syncload--,b(t)});r.progress="inload"}})},_=function(e,i){return console.log("Static Image "+e+"  Could not be loaded in time. Error Exists:"+i),!0},S=function(e,i){if(Date.now()-a[i][e+"starttime"]>5e3&&1!=a[i][e+"warning"]){a[i][e+"warning"]=!0;var t=e+" Api Could not be loaded !";"https:"===location.protocol&&(t+=" Please Check and Renew SSL Certificate !"),console.error(t),a[i].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>'+t+"</strong></div>")}return!0},x=function(t){a[t]!==i&&(a[t].pr_active_slide=e(a[t].slides[a[t].pr_active_key]),a[t].pr_next_slide=e(a[t].slides[a[t].pr_processing_key]),a[t].pr_active_bg=a[t].pr_active_slide.find("rs-sbg-wrap"),a[t].pr_next_bg=a[t].pr_next_slide.find("rs-sbg-wrap"),a[t].pr_active_bg!==i&&a[t].pr_active_bg.length>0&&tpGS.gsap.to(a[t].pr_active_bg,.5,{opacity:0}),a[t].pr_next_bg!==i&&a[t].pr_next_bg.length>0&&tpGS.gsap.to(a[t].pr_next_bg,.5,{opacity:0}),tpGS.gsap.set(a[t].pr_active_slide,{zIndex:18}),a[t].pr_next_slide!==i&&a[t].pr_next_slide.length>0&&tpGS.gsap.set(a[t].pr_next_slide,{autoAlpha:0,zIndex:20}),a[t].tonpause=!1,a[t].pr_active_key!==i&&a.removeTheLayers(a[t].pr_active_slide,t,!0),a[t].firststart=1,setTimeout(function(){delete a[t].pr_active_key,delete a[t].pr_processing_key},200))},k=function(t,o){if(a[t]!==i)if(clearTimeout(a[t].waitWithSwapSlide),a[t].pr_processing_key===i||!0!==a[t].firstSlideShown){if(clearTimeout(a[t].waitWithSwapSlide),a[t].startWithSlideKey!==i&&(a[t].pr_next_key=a.getComingSlide(t,a[t].startWithSlideKey).nindex,delete a[t].startWithSlideKey),a[t].pr_active_slide=e(a[t].slides[a[t].pr_active_key]),a[t].pr_next_slide=e(a[t].slides[a[t].pr_next_key]),a[t].pr_next_key==a[t].pr_active_key)return delete a[t].pr_next_key;var r=a.gA(a[t].pr_next_slide[0],"key");a[t].sbgs[r].bgvid&&a[t].sbgs[r].bgvid.length>0&&(a[t].videos==i||a[t].videos[a[t].sbgs[r].bgvid[0].id]===i)&&a.manageVideoLayer(a[t].sbgs[r].bgvid,t,r),a[t].pr_processing_key=a[t].pr_next_key,a[t].pr_cache_pr_next_key=a[t].pr_next_key,delete a[t].pr_next_key,a[t].pr_next_slide!==i&&a[t].pr_next_slide[0]!==i&&a.gA(a[t].pr_next_slide[0],"hal")!==i&&a.sA(a[t].pr_next_slide[0],"sofacounter",a.gA(a[t].pr_next_slide[0],"sofacounter")===i?1:parseInt(a.gA(a[t].pr_next_slide[0],"sofacounter"),0)+1),a[t].stopLoop&&a[t].pr_processing_key==a[t].lastslidetoshow-1&&(a[t].progressC.css({visibility:"hidden"}),a[t].c.trigger("revolution.slide.onstop"),a[t].noloopanymore=1),a[t].pr_next_slide.index()===a[t].slideamount-1&&a[t].looptogo>0&&"disabled"!==a[t].looptogo&&(a[t].looptogo--,a[t].looptogo<=0&&(a[t].stopLoop=!0)),a[t].tonpause=!0,a[t].slideInSwapTimer=!0,a[t].c.trigger("stoptimer"),"off"===a[t].spinner?a[t].loader!==i&&!0===a[t].loaderVisible&&(a[t].loader.css({display:"none"}),a[t].loaderVisible=!1):a[t].loadertimer=setTimeout(function(){a[t].loader!==i&&!0!==a[t].loaderVisible&&(a[t].loader.css({display:"block"}),a[t].loaderVisible=!0)},100);var s="carousel"===a[t].sliderType&&"all"!==a[t].lazyType?a.loadVisibleCarouselItems(t):a[t].pr_next_slide[0];a.loadImages(s,t,1),a.preLoadAudio&&a.preLoadAudio(a[t].pr_next_slide,t,1),a.waitForCurrentImages(s,t,function(){a[t].firstSlideShown=!0,a[t].pr_next_slide.find("rs-bgvideo").each(function(){a.prepareCoveredVideo(t)}),a.loadUpcomingContent(t),window.requestAnimationFrame(function(){L(a[t].pr_next_slide.find("rs-sbg"),t,o)})})}else a[t].waitWithSwapSlide=setTimeout(function(){k(t,o)},18)},L=function(t,o,r){if(a[o]!==i){I(o),a[o].pr_active_slide=e(a[o].slides[a[o].pr_active_key]),a[o].pr_next_slide=e(a[o].slides[a[o].pr_processing_key]),a[o].pr_active_bg=a[o].pr_active_slide.find("rs-sbg-wrap"),a[o].pr_next_bg=a[o].pr_next_slide.find("rs-sbg-wrap"),a[o].tonpause=!1,clearTimeout(a[o].loadertimer),a[o].loader!==i&&!0===a[o].loaderVisible&&(window.requestAnimationFrame(function(){a[o].loader.css({display:"none"})}),a[o].loaderVisible=!1),a[o].onBeforeSwap={slider:o,slideIndex:parseInt(a[o].pr_active_key,0)+1,slideLIIndex:a[o].pr_active_key,nextSlideIndex:parseInt(a[o].pr_processing_key,0)+1,nextSlideLIIndex:a[o].pr_processing_key,nextslide:a[o].pr_next_slide,slide:a[o].pr_active_slide,currentslide:a[o].pr_active_slide,prevslide:a[o].pr_lastshown_key!==i?a[o].slides[a[o].pr_lastshown_key]:""},"carousel"!==a[o].sliderType&&tpGS.gsap.set(a[o].pr_next_slide,{display:"block"}),a[o].c.trigger("revolution.slide.onbeforeswap",a[o].onBeforeSwap);var s=a.gA(a[o].pr_active_slide[0],"key"),n=a[o].sbgs[s];if(n&&n.panzoom&&n.pzAnim&&(n.pzLastFrame=!0,a.pzDrawShadow(o,n,n.pzAnim.start)),a[o].transition=1,a[o].stopByVideo=!1,a[o].pr_next_slide[0]!==i&&a.gA(a[o].pr_next_slide[0],"duration")!=i&&""!=a.gA(a[o].pr_next_slide[0],"duration")?a[o].duration=parseInt(a.gA(a[o].pr_next_slide[0],"duration"),0):a[o].duration=a[o].origcd,a[o].pr_next_slide[0]===i||"true"!=a.gA(a[o].pr_next_slide[0],"ssop")&&!0!==a.gA(a[o].pr_next_slide[0],"ssop")?a[o].ssop=!1:a[o].ssop=!0,a[o].sbtimeline.set&&a[o].sbtimeline.fixed&&a.updateFixedScrollTimes(o),a[o].c.trigger("nulltimer"),a[o].sdir=a[o].pr_processing_key<a[o].pr_active_key?1:0,"arrow"==a[o].sc_indicator&&(0==a[o].pr_active_key&&a[o].pr_processing_key==a[o].slideamount-1&&(a[o].sdir=1),a[o].pr_active_key==a[o].slideamount-1&&0==a[o].pr_processing_key&&(a[o].sdir=0)),a[o].lsdir=a[o].sdir,a[o].pr_active_key!=a[o].pr_processing_key&&1!=a[o].firststart&&"carousel"!==a[o].sliderType&&a.removeTheLayers&&a.removeTheLayers(a[o].pr_active_slide,o),1!==a.gA(a[o].pr_next_slide[0],"rspausetimeronce")&&1!==a.gA(a[o].pr_next_slide[0],"rspausetimeralways")?a[o].c.trigger("restarttimer"):(a[o].stopByVideo=!0,a.unToggleState(a[o].slidertoggledby)),a.sA(a[o].pr_next_slide[0],"rspausetimeronce",0),a[o].pr_next_slide[0]!==i&&a.sA(a[o].c[0],"slideactive",a.gA(a[o].pr_next_slide[0],"key")),"carousel"==a[o].sliderType){if(a[o].mtl=tpGS.gsap.timeline(),a.prepareCarousel(o),R(o),a.updateSlideBGs(o),!0!==a[o].carousel.checkFVideo){var d=a.gA(a[o].pr_next_slide[0],"key");a[o].sbgs[d]!==i&&a[o].sbgs[d].bgvid!==i&&0!==a[o].sbgs[d].bgvid.length&&a.playBGVideo(o,d),a[o].carousel.checkFVideo=!0}a[o].transition=0}else{a[o].pr_lastshown_key=a[o].pr_lastshown_key===i?a[o].pr_next_key!==i?a[o].pr_next_key:a[o].pr_processing_key!==i?a[o].pr_processing_key:a[o].pr_active_key!==i?a[o].pr_active_key:a[o].pr_lastshown_key:a[o].pr_lastshown_key,a[o].mtl=tpGS.gsap.timeline({paused:!0,onComplete:function(){R(o)}}),a[o].pr_next_key!==i?a.animateTheLayers({slide:a[o].pr_next_key,id:o,mode:"preset",caller:"swapSlideProgress_1"}):a[o].pr_processing_key!==i?a.animateTheLayers({slide:a[o].pr_processing_key,id:o,mode:"preset",caller:"swapSlideProgress_2"}):a[o].pr_active_key!==i&&a.animateTheLayers({slide:a[o].pr_active_key,id:o,mode:"preset",caller:"swapSlideProgress_3"}),1==a[o].firststart&&(a[o].pr_active_slide[0]!==i&&tpGS.gsap.set(a[o].pr_active_slide,{autoAlpha:0}),a[o].firststart=0),a[o].pr_active_slide[0]!==i&&tpGS.gsap.set(a[o].pr_active_slide,{zIndex:18}),a[o].pr_next_slide[0]!==i&&tpGS.gsap.set(a[o].pr_next_slide,{autoAlpha:0,zIndex:20});d=a.gA(a[o].pr_next_slide[0],"key");a[o].sbgs[d].alt===i&&(a[o].sbgs[d].alt=a.gA(a[o].pr_next_slide[0],"alttrans")||!1,a[o].sbgs[d].alt=!1!==a[o].sbgs[d].alt&&a[o].sbgs[d].alt.split(","),a[o].sbgs[d].altIndex=0,a[o].sbgs[d].altLen=!1!==a[o].sbgs[d].alt?a[o].sbgs[d].alt.length:0);a[o].firstSlideAnimDone===i&&a[o].fanim!==i&&!1!==a[o].fanim||(a[o].sbgs[d].slideanimation===i||a[o].sbgs[d].slideanimationRebuild||(a[o].sbgs[d].random!==i&&a.SLTR!==i||a[o].sbgs[d].altLen>0&&a.SLTR));a[o].sbgs[d].slideanimation=a[o].firstSlideAnimDone===i&&a[o].fanim!==i&&!1!==a[o].fanim?a.convertSlideAnimVals(e.extend(!0,{},a.getSlideAnim_EmptyObject(),a[o].fanim)):a[o].sbgs[d].slideanimation===i||a[o].sbgs[d].slideanimationRebuild||a[o].sbgs[d].altLen>0&&"default_first_anim"==a[o].sbgs[d].alt[a[o].sbgs[d].altIndex]?a.getSlideAnimationObj(o,{anim:a.gA(a[o].pr_next_slide[0],"anim"),filter:a.gA(a[o].pr_next_slide[0],"filter"),in:a.gA(a[o].pr_next_slide[0],"in"),out:a.gA(a[o].pr_next_slide[0],"out"),d3:a.gA(a[o].pr_next_slide[0],"d3")},d):a[o].sbgs[d].random!==i&&a.SLTR!==i?a.convertSlideAnimVals(e.extend(!0,{},a.getSlideAnim_EmptyObject(),a.getAnimObjectByKey(a.getRandomSlideTrans(a[o].sbgs[d].random.rndmain,a[o].sbgs[d].random.rndgrp,a.SLTR),a.SLTR))):a[o].sbgs[d].altLen>0&&a.SLTR!==i?a.convertSlideAnimVals(e.extend(!0,{altAnim:a[o].sbgs[d].alt[a[o].sbgs[d].altIndex]},a.getSlideAnim_EmptyObject(),a.getAnimObjectByKey(a[o].sbgs[d].alt[a[o].sbgs[d].altIndex],a.SLTR))):a[o].sbgs[d].slideanimation,a[o].sbgs[d].altLen>0&&(a[o].sbgs[d].firstSlideAnimDone!==i?(a[o].sbgs[d].altIndex++,a[o].sbgs[d].altIndex=a[o].sbgs[d].altIndex>=a[o].sbgs[d].altLen?0:a[o].sbgs[d].altIndex):(a[o].sbgs[d].firstSlideAnimDone=!0,a.SLTR===i&&a.SLTR_loading===i&&a.loadSlideAnimLibrary(o),a[o].sbgs[d].alt.push("default_first_anim"),a[o].sbgs[d].altLen++)),a[o].sbgs[d].currentState="animating",a.animateSlide(o,a[o].sbgs[d].slideanimation),a[o].firstSlideAnimDone===i&&a[o].fanim!==i&&!1!==a[o].fanim&&(a[o].sbgs[d].slideanimationRebuild=!0),a[o].firstSlideAnimDone=!0,a[o].pr_next_bg.data("panzoom")!==i&&requestAnimationFrame(function(){var e=a.gA(a[o].pr_next_slide[0],"key");a.startPanZoom(a[o].pr_next_bg,o,0,a.getSlideIndex(o,e),"first",e)}),a[o].mtl.pause()}if(a.animateTheLayers?"carousel"===a[o].sliderType?(!1!==a[o].carousel.showLayersAllTime&&(a[o].carousel.allLayersStarted?a.animateTheLayers({slide:"individual",id:o,mode:"rebuild",caller:"swapSlideProgress_5"}):a.animateTheLayers({slide:"individual",id:o,mode:"start",caller:"swapSlideProgress_4"}),a[o].carousel.allLayersStarted==i&&(a.updateCarouselRows(o),a[o].carousel.allLayersStarted=!0)),0!==a[o].firststart?a.animateTheLayers({slide:0,id:o,mode:"start",caller:"swapSlideProgress_6"}):!0!==r&&a.animateTheLayers({slide:a[o].pr_next_key!==i?a[o].pr_next_key:a[o].pr_processing_key!==i?a[o].pr_processing_key:a[o].pr_active_key,id:o,mode:"start",caller:"swapSlideProgress_7"}),a[o].firststart=0):a.animateTheLayers({slide:a[o].pr_next_key!==i?a[o].pr_next_key:a[o].pr_processing_key!==i?a[o].pr_processing_key:a[o].pr_active_key,id:o,mode:"start",caller:"swapSlideProgress_8"}):a[o].mtl!=i&&setTimeout(function(){a[o].mtl.resume()},18),"carousel"!==a[o].sliderType)if(a[o].scwDur=.001,Array.isArray(a[o].scwCallback)&&a[o].scwCallback.length>0){a[o].scwDone=!1,a[o].scwCount=a[o].scwCallback.length;for(var l=0;l<a[o].scwCallback.length;l++)a[o].scwCallback[l]();a[o].scwTimeout=tpGS.gsap.delayedCall(2,function(){a[o].scwCount>0&&(a[o].scwTween&&"function"==typeof a[o].scwTween.kill&&(a[o].scwTween.kill(),a[o].scwTween=null),a[o].scwTween=tpGS.gsap.to(a[o].pr_next_slide,{duration:a[o].scwDur,autoAlpha:1}))})}else tpGS.gsap.to(a[o].pr_next_slide,{duration:a[o].scwDur,autoAlpha:1})}},R=function(t){if(a[t]!==i){if("done"!==a.RS_swapList[t]){a.RS_swapList[t]="done";var o=e.inArray(t,a.RS_swapping);a.RS_swapping.splice(o,1)}if(a[t].firstSlideAvailable===i&&(a[t].firstSlideAvailable=!0,window.requestAnimationFrame(function(){"hero"!==a[t].sliderType&&a.createNavigation&&a[t].navigation.use&&!0!==a[t].navigation.createNavigationDone&&a.createNavigation(t)})),"carousel"===a[t].sliderType&&tpGS.gsap.to(a[t].carousel.wrap,1,{opacity:1}),a[t].pr_active_key=a[t].pr_processing_key!==i?a[t].pr_processing_key:a[t].pr_active_key,delete a[t].pr_processing_key,"scroll"!=a[t].parallax.type&&"scroll+mouse"!=a[t].parallax.type&&"mouse+scroll"!=a[t].parallax.type||(a[t].lastscrolltop=-999,a.generalObserver(a.ISM)),a[t].mtldiff=a[t].mtl.time(),delete a[t].mtl,a[t].pr_active_key!==i){a.gA(a[t].slides[a[t].pr_active_key],"sloop")!==i&&function(e){if(a[e]!==i){a[e].sloops=a[e].sloops===i?{}:a[e].sloops;var t=a.gA(a[e].slides[a[e].pr_active_key],"key"),o=a[e].sloops[t];if(o===i){o={s:2500,e:4500,r:"unlimited"};var r=a.gA(a[e].slides[a[e].pr_active_key],"sloop").split(";");for(var s in r)if(r.hasOwnProperty(s)){var n=r[s].split(":");switch(n[0]){case"s":o.s=parseInt(n[1],0)/1e3;break;case"e":o.e=parseInt(n[1],0)/1e3;break;case"r":o.r=n[1]}}o.r="unlimited"===o.r?-1:parseInt(o.r,0),a[e].sloops[t]=o,o.key=t}o.ct={time:o.s},o.tl=tpGS.gsap.timeline({}),o.timer=tpGS.gsap.fromTo(o.ct,o.e-o.s,{time:o.s},{time:o.e,ease:"none",onRepeat:function(){for(var t in a[e].layers[o.key])a[e].layers[o.key].hasOwnProperty(t)&&a[e]._L[t].timeline.play(o.s);var r=a[e].progressC;r!==i&&r[0]!==i&&r[0].tween!==i&&r[0].tween.time(o.s)},onUpdate:function(){},onComplete:function(){}}).repeat(o.r),o.tl.add(o.timer,o.s),o.tl.time(a[e].mtldiff)}}(t),a.sA(a[t].slides[a[t].activeRSSlide],"isactiveslide",!1),a[t].activeRSSlide=a[t].pr_active_key,a.sA(a[t].slides[a[t].activeRSSlide],"isactiveslide",!0);var r=a.gA(a[t].slides[a[t].pr_active_key],"key"),s=a.gA(a[t].slides[a[t].pr_lastshown_key],"key");a.sA(a[t].c[0],"slideactive",r),s!==i&&a[t].panzoomTLs!==i&&a[t].panzoomTLs[a.getSlideIndex(t,s)]!==i&&("carousel"===a[t].sliderType?(a[t].panzoomTLs[a.getSlideIndex(t,s)].timeScale(3),a[t].panzoomTLs[a.getSlideIndex(t,s)].reverse()):a[t].panzoomTLs[a.getSlideIndex(t,s)].pause()),O(t,r);var n={slider:t,slideIndex:parseInt(a[t].pr_active_key,0)+1,slideLIIndex:a[t].pr_active_key,slide:a[t].pr_next_slide,currentslide:a[t].pr_next_slide,prevSlideIndex:a[t].pr_lastshown_key!==i&&parseInt(a[t].pr_lastshown_key,0)+1,prevSlideLIIndex:a[t].pr_lastshown_key!==i&&parseInt(a[t].pr_lastshown_key,0),prevSlide:a[t].pr_lastshown_key!==i&&a[t].slides[a[t].pr_lastshown_key]};if(a[t].c.trigger("revolution.slide.onchange",n),a[t].c.trigger("revolution.slide.onafterswap",n),a[t].pr_lastshown_key!==a[t].pr_active_key&&"carousel"!==a[t].sliderType&&tpGS.gsap.set(n.prevSlide,{display:"none",delay:.01}),a[t].deepLinkListener||a[t].enableDeeplinkHash){var d=a.gA(a[t].slides[a[t].pr_active_key],"deeplink");d!==i&&d.length>0&&(a[t].ignoreDeeplinkChange=!0,window.location.hash=a.gA(a[t].slides[a[t].pr_active_key],"deeplink"))}a[t].pr_lastshown_key=a[t].pr_active_key,a[t].startWithSlide!==i&&"done"!==a[t].startWithSlide&&"carousel"===a[t].sliderType&&(a[t].firststart=0),a[t].duringslidechange=!1,a[t].pr_active_slide.length>0&&0!=a.gA(a[t].pr_active_slide[0],"hal")&&a.gA(a[t].pr_active_slide[0],"hal")<=a.gA(a[t].pr_active_slide[0],"sofacounter")&&a[t].c.revremoveslide(a[t].pr_active_slide.index());var l=a[t].pr_processing_key||a[t].pr_active_key||0;a[t].rowzones!=i&&(l=l>a[t].rowzones.length?a[t].rowzones.length:l),(a[t].rowzones!=i&&a[t].rowzones.length>0&&a[t].rowzones[l]!=i&&l>=0&&l<=a[t].rowzones.length&&a[t].rowzones[l].length>0||a.winH<a[t].module.height)&&a.updateDims(t),delete a[t].sc_indicator,delete a[t].sc_indicator_dir,a[t].firstLetItFree===i&&(a.generalObserver(a.ISM),a[t].firstLetItFree=!0),a[t].skipAttachDetach=!1}}},O=function(e,t){a[e].sbgs[t].loadobj.img?a[e].pr_next_bg.data("panzoom")!==i&&(a[e].panzoomTLs!==i&&a[e].panzoomTLs[a.getSlideIndex(e,t)]!==i?(a[e].panzoomTLs[a.getSlideIndex(e,t)].timeScale(1),a[e].panzoomTLs[a.getSlideIndex(e,t)].play()):a.startPanZoom(a[e].pr_next_bg,e,0,a.getSlideIndex(e,t),"play",t)):tpGS.gsap.delayedCall(.1,function(){O(e,t)})},I=function(t){var o=a[t].progressBar;if(a[t].progressC===i||0==a[t].progressC.length)if(a[t].progressC=e('<rs-progress style="visibility:hidden;"></rs-progress>'),"horizontal"===o.style||"vertical"===o.style){if("module"===o.basedon){for(var r="",s=0;s<a[t].slideamount;s++)r+="<rs-progress-bar></rs-progress-bar>";r+="<rs-progress-bgs>";for(s=0;s<a[t].slideamount;s++)r+="<rs-progress-bg></rs-progress-bg>";if(r+="</rs-progress-bgs>","nogap"!==o.gaptype)for(s=0;s<a[t].slideamount;s++)r+="<rs-progress-gap></rs-progress-gap>";a[t].progressC[0].innerHTML=r,!0===a[t].noDetach&&a[t].c.append(a[t].progressC),a[t].progressCBarBGS=a.getByTag(a[t].progressC[0],"RS-PROGRESS-BG"),a[t].progressCBarGAPS=a.getByTag(a[t].progressC[0],"RS-PROGRESS-GAP"),"nogap"!==o.gaptype&&tpGS.gsap.set(a[t].progressCBarGAPS,{backgroundColor:o.gapcolor,zIndex:"gapbg"===o.gaptype?17:27}),tpGS.gsap.set(a[t].progressCBarBGS,{backgroundColor:o.bgcolor})}else a[t].progressC[0].innerHTML="<rs-progress-bar></rs-progress-bar>",!0===a[t].noDetach&&a[t].c.append(a[t].progressC);a[t].progressCBarInner=a.getByTag(a[t].progressC[0],"RS-PROGRESS-BAR"),tpGS.gsap.set(a[t].progressCBarInner,{background:o.color})}else a[t].progressC[0].innerHTML='<canvas width="'+2*o.radius+'" height="'+2*o.radius+'" style="position:absolute" class="rs-progress-bar"></canvas>',!0===a[t].noDetach&&a[t].c.append(a[t].progressC),a[t].progressCBarInner=a[t].progressC[0].getElementsByClassName("rs-progress-bar")[0],a[t].progressBCanvas=a[t].progressCBarInner.getContext("2d"),a[t].progressBar.degree="cw"===a[t].progressBar.style?360:0,M(t);if(!0!==a[t].noDetach&&a[t].progressC.detach(),a[t].progressBar.visibility[a[t].level]&&1!=a[t].progressBar.disableProgressBar)if("horizontal"===o.style||"vertical"===o.style){var n,d,l=a[t].slideamount-1;if("horizontal"===o.style){var c="grid"===o.alignby?a[t].gridwidth[a[t].level]:a[t].module.width;n=Math.ceil(c/a[t].slideamount),d=Math.ceil((c-l*o.gapsize)/a[t].slideamount),tpGS.gsap.set(a[t].progressC,{visibility:"visible",top:"top"===o.vertical?o.y+("grid"===o.alignby&&a[t].gridOffsetHeight!==i?Math.max(0,a[t].gridOffsetHeight):0):"center"===o.vertical?"50%":"auto",bottom:"top"===o.vertical||"center"===o.vertical?"auto":o.y+("grid"===o.alignby&&a[t].gridOffsetHeight!==i?Math.max(0,a[t].gridOffsetHeight):0),left:"left"===o.horizontal&&"grid"===o.alignby&&a[t].gridOffsetWidth!==i?Math.max(0,a[t].gridOffsetWidth):"auto",right:"right"===o.horizontal&&"grid"===o.alignby&&a[t].gridOffsetWidth!==i?Math.max(0,a[t].gridOffsetWidth):"auto",y:"center"===o.vertical?o.y:0,height:o.size,backgroundColor:"module"===o.basedon?"transparent":o.bgcolor,marginTop:"bottom"===o.vertical?0:"top"===o.vertical?0:parseInt(o.size,0)/2,width:"grid"===o.alignby?a[t].gridwidth[a[t].level]:"100%"}),tpGS.gsap.set(a[t].progressCBarInner,{x:"module"===o.basedon?o.gap?function(e){return("right"===o.horizontal?l-e:e)*(d+o.gapsize)}:function(e){return("right"===o.horizontal?l-e:e)*n}:0,width:"module"===o.basedon?o.gap?d+"px":100/a[t].slideamount+"%":"100%"}),"module"===o.basedon&&(tpGS.gsap.set(a[t].progressCBarBGS,{x:"module"===o.basedon?o.gap?function(e){return e*(d+o.gapsize)}:function(e){return e*n}:0,width:"module"===o.basedon?o.gap?d+"px":100/a[t].slideamount+"%":"100%"}),tpGS.gsap.set(a[t].progressCBarGAPS,{width:o.gap?o.gapsize+"px":0,x:o.gap?function(e){return(e+1)*d+parseInt(o.gapsize,0)*e}:0}))}else if("vertical"===o.style){c="grid"===o.alignby?a[t].gridheight[a[t].level]:a[t].module.height;n=Math.ceil(c/a[t].slideamount),d=Math.ceil((c-l*o.gapsize)/a[t].slideamount),tpGS.gsap.set(a[t].progressC,{visibility:"visible",left:"left"===o.horizontal?o.x+("grid"===o.alignby&&a[t].gridOffsetWidth!==i?Math.max(0,a[t].gridOffsetWidth):0):"center"===o.horizontal?"50%":"auto",right:"left"===o.horizontal||"center"===o.horizontal?"auto":o.x+("grid"===o.alignby&&a[t].gridOffsetWidth!==i?Math.max(0,a[t].gridOffsetWidth):0),x:"center"===o.horizontal?o.x:0,top:"top"===o.vertical&&"grid"===o.alignby&&a[t].gridOffsetHeight!==i?Math.max(a[t].gridOffsetHeight,0):"auto",bottom:"bottom"===o.vertical&&"grid"===o.alignby&&a[t].gridOffsetHeight!==i?Math.max(a[t].gridOffsetHeight,0):"auto",width:o.size,marginLeft:"left"===o.horizontal?0:"right"===o.horizontal?0:parseInt(o.size,0)/2,backgroundColor:"module"===o.basedon?"transparent":o.bgcolor,height:"grid"===o.alignby?a[t].gridheight[a[t].level]:"100%"}),tpGS.gsap.set(a[t].progressCBarInner,{y:"module"===o.basedon?o.gap?function(e){return("bottom"===o.vertical?l-e:e)*(d+o.gapsize)}:function(e){return("bottom"===o.vertical?l-e:e)*n}:0,height:"module"===o.basedon?o.gap?d+"px":100/a[t].slideamount+"%":"100%"}),"module"===o.basedon&&(tpGS.gsap.set(a[t].progressCBarBGS,{y:"module"===o.basedon?o.gap?function(e){return e*(d+o.gapsize)}:function(e){return e*n}:0,height:"module"===o.basedon?o.gap?d+"px":100/a[t].slideamount+"%":"100%"}),tpGS.gsap.set(a[t].progressCBarGAPS,{height:o.gap?o.gapsize+"px":0,y:o.gap?function(e){return(e+1)*d+parseInt(o.gapsize,0)*e}:0}))}}else tpGS.gsap.set(a[t].progressC,{top:"top"===o.vertical?o.y+("grid"===o.alignby&&a[t].gridOffsetHeight!==i?Math.max(0,a[t].gridOffsetHeight):0):"center"===o.vertical?"50%":"auto",bottom:"top"===o.vertical||"center"===o.vertical?"auto":o.y+("grid"===o.alignby&&a[t].gridOffsetHeight!==i?Math.max(0,a[t].gridOffsetHeight):0),left:"left"===o.horizontal?o.x+("grid"===o.alignby&&a[t].gridOffsetWidth!==i?Math.max(0,a[t].gridOffsetWidth):0):"center"===o.horizontal?"50%":"auto",right:"left"===o.horizontal||"center"===o.horizontal?"auto":o.x+("grid"===o.alignby&&a[t].gridOffsetWidth!==i?Math.max(0,a[t].gridOffsetWidth):0),y:"center"===o.vertical?o.y:0,x:"center"===o.horizontal?o.x:0,width:2*o.radius,height:2*o.radius,marginTop:"center"===o.vertical?0-o.radius:0,marginLeft:"center"===o.horizontal?0-o.radius:0,backgroundColor:"transparent",visibility:"visible"});else a[t].progressC[0].style.visibility="hidden";!0!==a[t].noDetach&&a[t].c.append(a[t].progressC),a[t].gridOffsetWidth===i&&"grid"===o.alignby?a[t].rebuildProgressBar=!0:a[t].rebuildProgressBar=!1},M=function(e){var i=a[e].progressBar;i.radius-parseInt(i.size,0)<=0&&(i.size=i.radius/4);var t=parseInt(i.radius),o=parseInt(i.radius);a[e].progressBCanvas.lineCap="round",a[e].progressBCanvas.clearRect(0,0,2*i.radius,2*i.radius),a[e].progressBCanvas.beginPath(),a[e].progressBCanvas.arc(t,o,i.radius-parseInt(i.size,0),Math.PI/180*270,Math.PI/180*630),a[e].progressBCanvas.strokeStyle=i.bgcolor,a[e].progressBCanvas.lineWidth=parseInt(i.size,0)-1,a[e].progressBCanvas.stroke(),a[e].progressBCanvas.beginPath(),a[e].progressBCanvas.strokeStyle=i.color,a[e].progressBCanvas.lineWidth=parseInt(i.size,0),a[e].progressBCanvas.arc(t,o,i.radius-parseInt(i.size,0),Math.PI/180*270,Math.PI/180*(270+a[e].progressBar.degree),"cw"!==i.style),a[e].progressBCanvas.stroke()},T=function(t){var o=function(){t!==i&&a!==i&&a[t]!==i&&(0==e("body").find(a[t].c).length||null===a[t]||null===a[t].c||a[t].c===i||0===a[t].length?(!function(i){a[i].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).off("hover")}catch(e){}});try{a[i].c.die("click","mouseenter","mouseleave")}catch(e){}clearInterval(a[i].cdint),a[i].c=null}(t),clearInterval(a[t].cdint)):(a[t].c.trigger("revolution.slide.slideatend"),1==a[t].c.data("conthoverchanged")&&(a[t].conthover=a[t].c.data("conthover"),a[t].c.data("conthoverchanged",0)),a.callingNewSlide(t,1,!0)))},r=tpGS.gsap.timeline({paused:!0}),s="reset"===a[t].progressBar.reset||a[t].progressBar.notnew===i?0:.2,n="slide"===a[t].progressBar.basedon?0:a[t].pr_processing_key!==i?a[t].pr_processing_key:a[t].pr_active_key;if(n=n===i?0:n,"horizontal"===a[t].progressBar.style){if(r.add(tpGS.gsap.to(a[t].progressCBarInner[n],s,{scaleX:0,transformOrigin:"right"===a[t].progressBar.horizontal?"100% 50%":"0% 50%"})),r.add(tpGS.gsap.to(a[t].progressCBarInner[n],a[t].duration/1e3,{transformOrigin:"right"===a[t].progressBar.horizontal?"100% 50%":"0% 50%",force3D:"auto",scaleX:1,onComplete:o,delay:.5,ease:a[t].progressBar.ease})),"module"===a[t].progressBar.basedon)for(var d=0;d<a[t].slideamount;d++)d!==n&&r.add(tpGS.gsap.set(a[t].progressCBarInner[d],{scaleX:d<n?1:0,transformOrigin:"right"===a[t].progressBar.horizontal?"100% 50%":"0% 50%"}),0)}else if("vertical"===a[t].progressBar.style){if(a[t].progressCBarInner[n]!==i&&r.add(tpGS.gsap.to(a[t].progressCBarInner[n],s,{scaleY:0,transformOrigin:"bottom"===a[t].progressBar.vertical?"50% 100%":"50% 0%"})),a[t].progressCBarInner[n]!==i&&r.add(tpGS.gsap.to(a[t].progressCBarInner[n],a[t].duration/1e3,{transformOrigin:"bottom"===a[t].progressBar.vertical?"50% 100%":"50% 0%",force3D:"auto",scaleY:1,onComplete:o,delay:.5,ease:a[t].progressBar.ease})),"module"===a[t].progressBar.basedon)for(d=0;d<a[t].slideamount;d++)d!==n&&a[t].progressCBarInner[d]!==i&&r.add(tpGS.gsap.set(a[t].progressCBarInner[d],{scaleY:d<n?1:0,transformOrigin:"botton"===a[t].progressBar.vertical?"50% 100%":"50% 0%"}),0)}else{var l="slide"===a[t].progressBar.basedon?0:Math.max(0,360/a[t].slideamount*n),c="slide"===a[t].progressBar.basedon?360:360/a[t].slideamount*(n+1);"ccw"===a[t].progressBar.style&&"slide"!==a[t].progressBar.basedon&&(l=360-c,c=360-360/a[t].slideamount*n),r.add(tpGS.gsap.to(a[t].progressBar,s,{degree:"cw"===a[t].progressBar.style?l:c,onUpdate:function(){M(t)}})),r.add(tpGS.gsap.to(a[t].progressBar,a[t].duration/1e3,{degree:"cw"===a[t].progressBar.style?c:l,onUpdate:function(){M(t)},onComplete:o,delay:.5,ease:a[t].progressBar.ease}))}return a[t].progressBar.notnew=!0,r},C=function(e){a[e].progressC==i&&I(e),a[e].loop=0,a[e].stopAtSlide!=i&&a[e].stopAtSlide>-1?a[e].lastslidetoshow=a[e].stopAtSlide:a[e].lastslidetoshow=999,a[e].stopLoop=!1,0==a[e].looptogo&&(a[e].stopLoop=!0),a[e].c.on("stoptimer",function(){a[e].progressC!=i&&(a[e].progressC[0].tween.pause(),a[e].progressBar.disableProgressBar&&(a[e].progressC[0].style.visibility="hidden"),a[e].sliderstatus="paused",a[e].slideInSwapTimer||a.unToggleState(a[e].slidertoggledby),a[e].slideInSwapTimer=!1)}),a[e].c.on("starttimer",function(){a[e].progressC!=i&&(a[e].forcepaused||(1!=a[e].conthover&&1!=a[e].stopByVideo&&a[e].module.width>a[e].hideSliderAtLimit&&1!=a[e].tonpause&&1!=a[e].overnav&&1!=a[e].ssop&&(1===a[e].noloopanymore||a[e].viewPort.enable&&!a[e].inviewport||(a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="visible"),a[e].progressC[0].tween.resume(),a[e].sliderstatus="playing")),!a[e].progressBar.disableProgressBar&&a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="hidden"),a.toggleState(a[e].slidertoggledby)))}),a[e].c.on("restarttimer",function(){if(a[e].progressC!=i&&!a[e].forcepaused){if(a[e].mouseoncontainer&&"on"==a[e].navigation.onHoverStop&&!a.ISM)return!1;1===a[e].noloopanymore||a[e].viewPort.enable&&!a[e].inviewport||1==a[e].ssop?a.unToggleState(a[e].slidertoggledby):(a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="visible"),a[e].progressC[0].tween!==i&&a[e].progressC[0].tween.kill(),a[e].progressC[0].tween=T(e),a[e].progressC[0].tween.play(),a[e].sliderstatus="playing",a.toggleState(a[e].slidertoggledby)),!a[e].progressBar.disableProgressBar&&a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="hidden"),a[e].mouseoncontainer&&1==a[e].navigation.onHoverStop&&!a.ISM&&(a[e].c.trigger("stoptimer"),a[e].c.trigger("revolution.slide.onpause"))}}),a[e].c.on("nulltimer",function(){a[e].progressC!=i&&a[e].progressC[0]!==i&&(a[e].progressC[0].tween!==i&&a[e].progressC[0].tween.kill(),a[e].progressC[0].tween=T(e),a[e].progressC[0].tween.pause(0),!a[e].progressBar.disableProgressBar&&a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="hidden"),a[e].sliderstatus="paused")}),a[e].progressC!==i&&(a[e].progressC[0].tween=T(e)),a[e].slideamount>1&&(0!=a[e].stopAfterLoops||1!=a[e].stopAtSlide)?a[e].c.trigger("starttimer"):(a[e].noloopanymore=1,a[e].c.trigger("nulltimer")),a[e].c.on("tp-mouseenter",function(){a[e].mouseoncontainer=!0,1!=a[e].navigation.onHoverStop||a.ISM||(a[e].c.trigger("stoptimer"),a[e].c.trigger("revolution.slide.onpause"))}),a[e].c.on("tp-mouseleft",function(){a[e].mouseoncontainer=!1,1!=a[e].c.data("conthover")&&1==a[e].navigation.onHoverStop&&(1==a[e].viewPort.enable&&a[e].inviewport||0==a[e].viewPort.enable)&&(a[e].c.trigger("revolution.slide.onresume"),a[e].c.trigger("starttimer"))})},A=function(){e(".rev_redraw_on_blurfocus").each(function(){var e=this.id;if(a[e]==i||a[e].c==i||0===a[e].c.length)return!1;1!=a[e].windowfocused&&(a[e].windowfocused=!0,tpGS.gsap.delayedCall(.1,function(){a[e].fallbacks.nextSlideOnWindowFocus&&a[e].c.revnext(),a[e].c.revredraw(),"playing"==a[e].lastsliderstatus&&a[e].c.revresume(),a[e].c.trigger("revolution.slide.tabfocused")}))})},D=function(){document.hasFocus()||e(".rev_redraw_on_blurfocus").each(function(e){var i=this.id;a[i].windowfocused=!1,a[i].lastsliderstatus=a[i].sliderstatus,a[i].c.revpause(),a[i].c.trigger("revolution.slide.tabblured")})},P=function(){var e=document.documentMode===i,t=window.chrome;1!==a.revslider_focus_blur_listener&&(a.revslider_focus_blur_listener=1,e&&!t?a.window.on("focusin",function(){!0!==a.windowIsFocused&&A(),a.windowIsFocused=!0}).on("focusout",function(){!0!==a.windowIsFocused&&a.windowIsFocused!==i||D(),a.windowIsFocused=!1}):window.addEventListener?(window.addEventListener("focus",function(e){!0!==a.windowIsFocused&&A(),a.windowIsFocused=!0},{capture:!1,passive:!0}),window.addEventListener("blur",function(e){!0!==a.windowIsFocused&&a.windowIsFocused!==i||D(),a.windowIsFocused=!1},{capture:!1,passive:!0})):(window.attachEvent("focus",function(e){!0!==a.windowIsFocused&&A(),a.windowIsFocused=!0}),window.attachEvent("blur",function(e){!0!==a.windowIsFocused&&a.windowIsFocused!==i||D(),a.windowIsFocused=!1})))},B=function(e){for(var i,t=[],a=window.location.href.slice(window.location.href.indexOf(e)+1).split("_"),o=0;o<a.length;o++)a[o]=a[o].replace("%3D","="),i=a[o].split("="),t.push(i[0]),t[i[0]]=i[1];return t},z=function(t){if(a[t].blockSpacing!==i){var o=a[t].blockSpacing.split(";");for(var r in a[t].blockSpacing={},o)if(o.hasOwnProperty(r)){var s=o[r].split(":");switch(s[0]){case"t":a[t].blockSpacing.top=a.revToResp(s[1],4,0);break;case"b":a[t].blockSpacing.bottom=a.revToResp(s[1],4,0);break;case"l":a[t].blockSpacing.left=a.revToResp(s[1],4,0);break;case"r":a[t].blockSpacing.right=a.revToResp(s[1],4,0)}}a[t].blockSpacing.block=e(a.closestClass(a[t].c[0],"wp-block-themepunch-revslider")),a[t].level!==i&&a[t].blockSpacing!==i&&tpGS.gsap.set(a[t].blockSpacing.block,{paddingLeft:a[t].blockSpacing.left[a[t].level],paddingRight:a[t].blockSpacing.right[a[t].level],marginTop:a[t].blockSpacing.top[a[t].level],marginBottom:a[t].blockSpacing.bottom[a[t].level]})}},G=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},H=function(t){return function(e){for(var t in e.minHeight=e.minHeight!==i?"none"===e.minHeight||"0"===e.minHeight||"0px"===e.minHeight||""==e.minHeight||" "==e.minHeight?0:parseInt(e.minHeight,0):0,e.maxHeight="none"===e.maxHeight||"0"===e.maxHeight?0:parseInt(e.maxHeight,0),e.carousel.maxVisibleItems=e.carousel.maxVisibleItems<1?999:e.carousel.maxVisibleItems,e.carousel.vertical_align="top"===e.carousel.vertical_align?"0%":"bottom"===e.carousel.vertical_align?"100%":"50%",e.carousel.space=parseInt(e.carousel.space,0),e.carousel.maxOpacity=parseInt(e.carousel.maxOpacity,0),e.carousel.maxOpacity=e.carousel.maxOpacity>1?e.carousel.maxOpacity/100:e.carousel.maxOpacity,e.carousel.showLayersAllTime="true"===e.carousel.showLayersAllTime||!0===e.carousel.showLayersAllTime?"all":e.carousel.showLayersAllTime,e.carousel.maxRotation=parseInt(e.carousel.maxRotation,0),e.carousel.minScale=parseInt(e.carousel.minScale,0),e.carousel.minScale=e.carousel.minScale>.9?e.carousel.minScale/100:e.carousel.minScale,e.carousel.speed=parseInt(e.carousel.speed,0),e.navigation.maintypes=["arrows","tabs","thumbnails","bullets"],e.perspective=parseInt(e.perspective,0),e.navigation.maintypes)e.navigation.maintypes.hasOwnProperty(t)&&e.navigation[e.navigation.maintypes[t]]!==i&&(e.navigation[e.navigation.maintypes[t]].animDelay=e.navigation[e.navigation.maintypes[t]].animDelay===i?1e3:e.navigation[e.navigation.maintypes[t]].animDelay,e.navigation[e.navigation.maintypes[t]].animSpeed=e.navigation[e.navigation.maintypes[t]].animSpeed===i?1e3:e.navigation[e.navigation.maintypes[t]].animSpeed,e.navigation[e.navigation.maintypes[t]].animDelay=parseInt(e.navigation[e.navigation.maintypes[t]].animDelay,0)/1e3,e.navigation[e.navigation.maintypes[t]].animSpeed=parseInt(e.navigation[e.navigation.maintypes[t]].animSpeed,0)/1e3);if(a.isNumeric(e.scrolleffect.tilt)||-1!==e.scrolleffect.tilt.indexOf("%")&&(e.scrolleffect.tilt=parseInt(e.scrolleffect.tilt)),e.scrolleffect.tilt=e.scrolleffect.tilt/100,e.navigation.thumbnails.position="outer-horizontal"==e.navigation.thumbnails.position?"bottom"==e.navigation.thumbnails.v_align?"outer-bottom":"outer-top":"outer-vertical"==e.navigation.thumbnails.position?"left"==e.navigation.thumbnails.h_align?"outer-left":"outer-right":e.navigation.thumbnails.position,e.navigation.tabs.position="outer-horizontal"==e.navigation.tabs.position?"bottom"==e.navigation.tabs.v_align?"outer-bottom":"outer-top":"outer-vertical"==e.navigation.tabs.position?"left"==e.navigation.tabs.h_align?"outer-left":"outer-right":e.navigation.tabs.position,e.sbtimeline.speed=parseInt(e.sbtimeline.speed,0)/1e3||.5,!0===e.sbtimeline.set&&!0===e.sbtimeline.fixed&&"auto"!==e.sliderLayout?(e.sbtimeline.fixStart=parseInt(e.sbtimeline.fixStart),e.sbtimeline.fixEnd=parseInt(e.sbtimeline.fixEnd)):e.sbtimeline.fixed=!1,e.progressBar===i||"true"!=e.progressBar.disableProgressBar&&1!=e.progressBar.disableProgressBar||(e.progressBar.disableProgressBar=!0),e.startDelay=parseInt(e.startDelay,0)||0,e.navigation!==i&&e.navigation.arrows!=i&&e.navigation.arrows.hide_under!=i&&(e.navigation.arrows.hide_under=parseInt(e.navigation.arrows.hide_under)),e.navigation!==i&&e.navigation.bullets!=i&&e.navigation.bullets.hide_under!=i&&(e.navigation.bullets.hide_under=parseInt(e.navigation.bullets.hide_under)),e.navigation!==i&&e.navigation.thumbnails!=i&&e.navigation.thumbnails.hide_under!=i&&(e.navigation.thumbnails.hide_under=parseInt(e.navigation.thumbnails.hide_under)),e.navigation!==i&&e.navigation.tabs!=i&&e.navigation.tabs.hide_under!=i&&(e.navigation.tabs.hide_under=parseInt(e.navigation.tabs.hide_under)),e.navigation!==i&&e.navigation.arrows!=i&&e.navigation.arrows.hide_over!=i&&(e.navigation.arrows.hide_over=parseInt(e.navigation.arrows.hide_over)),e.navigation!==i&&e.navigation.bullets!=i&&e.navigation.bullets.hide_over!=i&&(e.navigation.bullets.hide_over=parseInt(e.navigation.bullets.hide_over)),e.navigation!==i&&e.navigation.thumbnails!=i&&e.navigation.thumbnails.hide_over!=i&&(e.navigation.thumbnails.hide_over=parseInt(e.navigation.thumbnails.hide_over)),e.navigation!==i&&e.navigation.tabs!=i&&e.navigation.tabs.hide_over!=i&&(e.navigation.tabs.hide_over=parseInt(e.navigation.tabs.hide_over)),e.lazyloaddata!==i&&e.lazyloaddata.length>0&&e.lazyloaddata.indexOf("-")>0){var o=e.lazyloaddata.split("-");for(e.lazyloaddata=o[0],t=1;t<o.length;t++)e.lazyloaddata+=G(o[t])}return e.duration=parseInt(e.duration),"single"===e.lazyType&&"carousel"===e.sliderType&&(e.lazyType="smart"),"carousel"===e.sliderType&&e.carousel.justify&&(e.justifyCarousel=!0,e.keepBPHeight=!0),e.enableUpscaling=1==e.enableUpscaling&&"carousel"!==e.sliderType&&"fullwidth"===e.sliderLayout,e.useFullScreenHeight="carousel"===e.sliderType&&"fullscreen"===e.sliderLayout&&!0===e.useFullScreenHeight,e.progressBar.y=parseInt(e.progressBar.y,0),e.progressBar.x=parseInt(e.progressBar.x,0),
/*! Custom Eases */
"IE"!==window.RSBrowser&&e.customEases!==i&&(!e.customEases.SFXBounceLite&&"true"!=e.customEases.SFXBounceLite||tpGS.SFXBounceLite!==i||(tpGS.SFXBounceLite=tpGS.CustomBounce.create("SFXBounceLite",{strength:.3,squash:1,squashID:"SFXBounceLite-squash"})),!e.customEases.SFXBounceSolid&&"true"!=e.customEases.SFXBounceSolid||tpGS.SFXBounceSolid!==i||(tpGS.SFXBounceSolid=tpGS.CustomBounce.create("SFXBounceSolid",{strength:.5,squash:2,squashID:"SFXBounceSolid-squash"})),!e.customEases.SFXBounceStrong&&"true"!=e.customEases.SFXBounceStrong||tpGS.SFXBounceStrong!==i||(tpGS.SFXBounceStrong=tpGS.CustomBounce.create("SFXBounceStrong",{strength:.7,squash:3,squashID:"SFXBounceStrong-squash"})),!e.customEases.SFXBounceExtrem&&"true"!=e.customEases.SFXBounceExtrem||tpGS.SFXBounceExtrem!==i||(tpGS.SFXBounceExtrem=tpGS.CustomBounce.create("SFXBounceExtrem",{strength:.9,squash:4,squashID:"SFXBounceExtrem-squash"})),!e.customEases.BounceLite&&"true"!=e.customEases.BounceLite||tpGS.BounceLite!==i||(tpGS.BounceLite=tpGS.CustomBounce.create("BounceLite",{strength:.3})),!e.customEases.BounceSolid&&"true"!=e.customEases.BounceSolid||tpGS.BounceSolid!==i||(tpGS.BounceSolid=tpGS.CustomBounce.create("BounceSolid",{strength:.5})),!e.customEases.BounceStrong&&"true"!=e.customEases.BounceStrong||tpGS.BounceStrong!==i||(tpGS.BounceStrong=tpGS.CustomBounce.create("BounceStrong",{strength:.7})),!e.customEases.BounceExtrem&&"true"!=e.customEases.BounceExtrem||tpGS.BounceExtrem!==i||(tpGS.BounceExtrem=tpGS.CustomBounce.create("BounceExtrem",{strength:.9}))),e.modal.coverSpeed=parseFloat(e.modal.coverSpeed),e.modal.coverSpeed=e.modal.coverSpeed>200?e.modal.coverSpeed/1e3:e.modal.coverSpeed,e.modal.coverSpeed=Math.max(Math.min(3,e.modal.coverSpeed),.3),e.navigation.wheelViewPort=e.navigation.wheelViewPort===i?.5:e.navigation.wheelViewPort/100,e.navigation.wheelCallDelay=e.navigation.wheelCallDelay===i?1e3:parseInt(e.navigation.wheelCallDelay),e.autoDPR="string"==typeof e.DPR&&-1!==e.DPR.indexOf("ax"),e.DPR=e.DPR.replace("ax",""),e.DPR=parseInt(e.DPR.replace("x","")),e.DPR=isNaN(e.DPR)?window.devicePixelRatio:e.autoDPR?Math.min(window.devicePixelRatio,e.DPR):e.DPR,e.DPR=1!=e.onedpronmobile&&"true"!=e.onedpronmobile||!a.ISM?e.DPR:1,!1===e.viewPort.global?e.viewPort.enable=!1:!0===e.viewPort.global&&(e.viewPort.local=e.viewPort.enable,e.viewPort.enable=!0),e}(e.extend(!0,{DPR:"dpr",sliderType:"standard",sliderLayout:"auto",overlay:{type:"none",size:1,colora:"transparent",colorb:"#000000"},duration:9e3,imgCrossOrigin:"",modal:{useAsModal:!1,cover:!0,coverColor:"rgba(0,0,0,0.5)",horizontal:"center",vertical:"middle",coverSpeed:1},navigation:{keyboardNavigation:!1,keyboard_direction:"horizontal",mouseScrollNavigation:"off",wheelViewPort:50,wheelCallDelay:"1000ms",onHoverStop:!0,mouseScrollReverse:"default",target:"window",threshold:50,touch:{touchenabled:!1,touchOnDesktop:!1,swipe_treshold:75,swipe_min_touches:1,swipe_direction:"horizontal",drag_block_vertical:!1,mobileCarousel:!0,desktopCarousel:!0},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,mhoff:0,mvoff:0},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,mhoff:0,mvoff:0}},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,progressBar:{disableProgressBar:!1,style:"horizontal",size:"5px",radius:10,vertical:"bottom",horizontal:"left",x:0,y:0,color:"rgba(255,255,255,0.5)",bgcolor:"transparent",basedon:"slide",gapsize:0,reset:"reset",gaptype:"gapboth",gapcolor:"rgba(255,255,255,0.5)",ease:"none",visibility:{0:!0,1:!0,2:!0,3:!0}},stopAtSlide:-1,stopAfterLoops:0,shadow:0,startDelay:0,lazyType:"none",lazyOnBg:!1,spinner:"off",shuffle:!1,perspective:"600px",perspectiveType:"local",viewPort:{enable:!1,global:!1,globalDist:"-400px",outof:"wait",visible_area:"200px",presize:!1},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:!1,simplifyAll:!0,nextSlideOnWindowFocus:!1,disableFocusListener:!1,allowHTML5AutoPlayOnAndroid:!0},fanim:!1,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:"none",speed:500},carousel:{easing:"power3.inOut",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},observeWrap:!1,extensions:"extensions/",extensions_suffix:".min.js",stopLoop:!1,waitForInit:!1,ignoreHeightChange:!0,onedpronmobile:!1},t))};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.waiting=window.RS_MODULES.waiting||[];var E=["DOM","main","parallax","video","slideanims","actions","layeranimation","navigation","carousel","panzoom"];for(var F in E)-1==window.RS_MODULES.waiting.indexOf(E[F])&&window.RS_MODULES.waiting.push(E[F]);function N(e){window.elementorFrontend!==i&&elementorFrontend.hooks!==i&&elementorFrontend.hooks.removeAction("frontend/element_ready/global",N),window.RS_MODULES.elementor={loaded:!0,version:"6.5.0"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}function j(){if(window.elementorFrontend===i||window.elementorFrontend.hooks===i||window.elementorFrontend.hooks.addAction===i)return window.RS_MODULES.elementorCounter++,window.RS_MODULES.elementorCounterCheck&&window.RS_MODULES.elementorCounter>20?void N():void requestAnimationFrame(j);window.elementorFrontend.config.environmentMode.edit?elementorFrontend.hooks.addAction("frontend/element_ready/widget",N):N()}function W(){1!=RS_MODULES.checkElementorCalled&&(RS_MODULES.checkElementorCalled=!0,document.body&&(document.body.className.indexOf("elementor-page")>=0||document.body.className.indexOf("elementor-default")>=0)&&(window.RS_MODULES.waiting=window.RS_MODULES.waiting===i?[]:window.RS_MODULES.waiting,-1==window.RS_MODULES.waiting.indexOf("elementor")&&window.RS_MODULES.waiting.push("elementor"),document.body&&-1==document.body.className.indexOf("elementor-editor-active")&&(window.RS_MODULES.elementorCounterCheck=!0),window.RS_MODULES.elementorCounter=0,j()))}window.RS_MODULES.main={loaded:!0,version:t},window.RS_MODULES.minimal=!1,window.RS_MODULES.callSliders=function(){for(var e in RS_MODULES.modules)!0!==RS_MODULES.modules[e].once&&window.RS_MODULES!==i&&window.RS_MODULES.minimal&&(RS_MODULES.modules[e].once=!0,RS_MODULES.modules[e].init())},"loading"===document.readyState?document.addEventListener("readystatechange",function(){"interactive"!==document.readyState&&"complete"!==document.readyState||(W(),window.RS_MODULES.DOM={loaded:!0},window.RS_MODULES.checkMinimal())}):"complete"!==document.readyState&&"interactive"!==document.readyState||(W(),window.RS_MODULES.DOM={loaded:!0}),window.RS_MODULES.checkMinimal=function(){if(0==window.RS_MODULES.minimal){var t=1==window.RS_MODULES.minimal||window.RS_MODULES.waiting!==i&&e.fn.revolution!==i&&window.tpGS!==i&&window.tpGS.gsap!==i;if(t)for(var a in window.RS_MODULES.waiting)window.RS_MODULES.waiting.hasOwnProperty(a)&&"function"!=typeof window.RS_MODULES.waiting[a]&&t&&window.RS_MODULES[window.RS_MODULES.waiting[a]]===i&&(t=!1);t&&(!0!==window.RS_MODULES.minimal&&e(document).trigger("REVSLIDER_READY_TO_USE"),window.RS_MODULES.minimal=!0)}else window.RS_MODULES.minimal=!0;!0===window.RS_MODULES.minimal&&window.RS_MODULES.callSliders()},window.RS_MODULES.checkMinimal()}(jQuery),function($,undefined){"use strict";var version="6.2.14";jQuery.fn.revolution=jQuery.fn.revolution||{};var _R=jQuery.fn.revolution;jQuery.extend(!0,_R,{checkActions:function(e,i){e===undefined?moduleEnterLeaveActions(i):checkActions_intern(e,i)},delayer:function(e,i,t){_R[e].timeStamps=_R[e].timeStamps===undefined?{}:_R[e].timeStamps;var a=(new Date).getTime(),o=_R[e].timeStamps[t]===undefined?parseInt(i)+100:a-_R[e].timeStamps[t],r=parseInt(o)>i;return r&&(_R[e].timeStamps[t]=a),r},getURLDetails:function(e){(e=e===undefined?{}:e).url=e.url===undefined?window.location.href:e.url,e.url=e.url.replace("www",""),e.protocol=0===e.url.indexOf("http://")?"http://":0===e.url.indexOf("https://")?"https://":0===e.url.indexOf("//")?"//":"relative";var i=e.url.replace("https://","");i=i.replace("http://",""),"relative"===e.protocol&&(i=i.replace("//","")),i=i.split("#"),e.anchor=(e.anchor===undefined||""==e.anchor||0==e.anchor.length)&&i.length>1?i[1]:e.anchor===undefined?"":e.anchor.replace("#",""),e.anchor=e.anchor.split("?"),e.queries=i[0].split("?"),e.queries=e.queries.length>1?e.queries[1]:"",e.queries=e.queries.length>1?e.queries[1]:e.anchor.length>1?e.anchor[1]:e.queries,e.anchor=e.anchor[0];(i=i[0]).split("/");var t=i.split("/");return e.host=t[0],t.splice(0,1),e.path="/"+t.join("/"),"/"==e.path[e.path.length-1]&&(e.path=e.path.slice(0,-1)),e.origin="relative"!==e.protocol?e.protocol+e.host:window.location.origin.replace("www","")+window.location.pathname,e.hash=(""!==e.queries&&e.queries!==undefined?"?"+e.queries:"")+(""!==e.anchor&&e.anchor!==undefined?"#"+e.anchor:""),e},scrollToId:function(e){if(_R.scrollToObj=e,!window.isSafari11){var i=tpGS.gsap.getProperty("html","scrollBehavior"),t=tpGS.gsap.getProperty("body","scrollBehavior");tpGS.gsap.set("html,body",{scrollBehavior:"auto"}),e.scrollBehaviorHtml=i,e.scrollBehaviorBody=t}_R.calcScrollToId()},calcScrollToId:function(){if(_R.scrollToObj){var e=_R.scrollToObj,i=e.tween&&e.tween.progress?e.tween.progress():0;e.tween&&e.tween.kill&&e.tween.kill(),e.startScrollPos!==undefined&&null!==e.startScrollPos||(e.startScrollPos=_R[e.id].modal.useAsModal?_R[e.id].cpar.scrollTop():_R.document.scrollTop());var t="scrollbelow"===e.action?(getOffContH(_R[e.id].fullScreenOffsetContainer)||0)-(parseInt(e.offset,0)||0)||0:0-(parseInt(e.offset,0)||0),a="scrollbelow"===e.action?_R[e.id].c:jQuery("#"+e.anchor),o=a.length>0?a.offset().top:0,r={_y:_R[e.id].modal.useAsModal?_R[e.id].cpar[0].scrollTop:window.pageYOffset!==document.documentElement.scrollTop?0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop:window.pageYOffset};o+="scrollbelow"===e.action?_R[e.id].sbtimeline.fixed?_R[e.id].cpar.parent().height()+_R[e.id].fullScreenOffsetResult:jQuery(_R[e.id].slides[0]).height():0,e.tween=tpGS.gsap.fromTo(r,e.speed/1e3,{_y:e.startScrollPos},{_y:o-t,ease:e.ease,onUpdate:function(){_R[e.id].modal.useAsModal?_R[e.id].cpar.scrollTop(r._y):_R.document.scrollTop(r._y)},onComplete:function(){e.hash!==undefined&&history.pushState(null,null,e.hash),window.isSafari11||(tpGS.gsap.set("html",{scrollBehavior:e.scrollBehaviorHtml}),tpGS.gsap.set("body",{scrollBehavior:e.scrollBehaviorBody})),_R.scrollToObj&&(_R.scrollToObj.tween&&(_R.scrollToObj.tween.kill(),_R.scrollToObj.tween=null),_R.scrollToObj.startScrollPos=null,_R.scrollToObj=null)}}),e.tween.progress(i)}}});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 i,t=_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"!==t&&t!==undefined){if((t=_R.gA(_R[e].slides[t],"key"))!==undefined&&_R[e].layers[t])for(i in _R[e].layers[t])_R[e].layers[t][i].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[t][i]),frame:"frame_1",mode:"trigger",id:e});for(i in _R[e].layers.static)_R[e].layers.static[i].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[i]),frame:"frame_1",mode:"trigger",id:e})}}),_R[e].c.on("tp-mouseleft",function(){_R[e].mouseoncontainer=!0;var i,t=_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"!==t&&t!==undefined){if((t=_R.gA(_R[e].slides[t],"key"))!==undefined&&_R[e].layers[t])for(i in _R[e].layers[t])_R[e].layers[t][i].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[t][i]),frame:"frame_999",mode:"trigger",id:e});for(i in _R[e].layers.static)_R[e].layers.static[i].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[i]),frame:"frame_999",mode:"trigger",id:e})}})),_R[e].moduleActionsPrepared=!0},checkActions_intern=function(layer,id){var actions=_R.gA(layer[0],"actions");if("RS-COLUMN"==layer[0].tagName){var wrap=_R.closestNode(layer[0],"RS-COLUMN-WRAP");null!==wrap&&wrap!==undefined&&(_R.sA(wrap,"action",actions),layer=jQuery(wrap))}var _L=layer.data();for(var ei in actions=actions.split("||"),layer.addClass("rs-waction"),_L.events=_L.events===undefined?[]:_L.events,_R[id].lastMouseDown={},actions)if(actions.hasOwnProperty(ei)){var event=getEventParams(actions[ei].split(";"));_L.events.push(event),"click"===event.on&&layer[0].classList.add("rs-wclickaction"),_R[id].fullscreen_esclistener||"exitfullscreen"!=event.action&&"togglefullscreen"!=event.action||(_R.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("mousedown",function(e){e.touches&&(e=e.touches[0]),_R[id].lastMouseDown.pageX=e.pageX,_R[id].lastMouseDown.pageY=e.pageY}),layer.on("click mouseenter mouseleave",function(e){if("click"===e.type){var evt=e.touches?e.touches[0]:e;if(Math.abs(evt.pageX-_R[id].lastMouseDown.pageX)>5||Math.abs(evt.pageY-_R[id].lastMouseDown.pageY)>5)return}for(var i in _L.events)if(_L.events.hasOwnProperty(i)&&_L.events[i].on===e.type){var event=_L.events[i];if(!(event.repeat!==undefined&&event.repeat>0)||_R.delayer(id,1e3*event.repeat,_L.c[0].id+"_"+event.action)){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"menulink":var linkto=_R.getURLDetails({url:event.url,anchor:event.anchor}),linkfrom=_R.getURLDetails();linkto.host==linkfrom.host&&linkto.path==linkfrom.path&&"_self"===event.target?_R.scrollToId({id:id,offset:event.offset,action:event.action,anchor:event.anchor,hash:linkto.hash,speed:event.speed,ease:event.ease}):"_self"===event.target?window.location=linkto.url+(linkto.anchor!==undefined&&""!==linkto.anchor?"#"+linkto.anchor:""):window.open(linkto.url+(linkto.anchor!==undefined&&""!==linkto.anchor?"#"+linkto.anchor:"")),e.preventDefault();break;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,i){_R.Mute&&_R.Mute(i,id,!1)}):jQuery.each(_R[id].playingvideos,function(e,i){_R.Mute&&_R.Mute(i,id,!0)})),_R[id].globalmute=!_R[id].globalmute;break;default:tpGS.gsap.delayedCall(event.delay,function(targetlayer,id,event,layer){switch(event.action){case"openmodal":_R.openModalAPI(event.modal,event.modalslide===undefined?0:event.modalslide,_R[id].ajaxUrl,!0,id,event);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.trigger("click");break;case"toggleclass":targetlayer.length>0&&targetlayer.toggleClass(event.classname);break;case"scrollbelow":case"scrollto":"scrollbelow"===event.action&&layer.addClass("tp-scrollbelowslider"),_R.scrollToId({id:id,offset:event.offset,action:event.action,anchor:event.id,speed:event.speed,ease:event.ease});break;case"jumptoslide":switch(_R[id].skipAttachDetach=!0,event.slide.toLowerCase()){case"rs-random":var ts=Math.min(Math.max(0,Math.ceil(Math.random()*_R[id].realslideamount)-1));ts=_R[id].activeRSSlide==ts?ts>0?ts-1:ts+1:ts,_R.callingNewSlide(id,_R[id].slides[ts].dataset.key,"carousel"===_R[id].sliderType);break;case"+1":case"next":case"rs-next":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=0,_R.callingNewSlide(id,1,"carousel"===_R[id].sliderType);break;case"rs-previous":case"rs-prev":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":case"rs-first":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=1,_R.callingNewSlide(id,0,"carousel"===_R[id].sliderType);break;case"last":case"rs-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=_R.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;tpGS.gsap.set(_R[id].parallax.bgcontainers,{y:0}),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(),_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=_R.getWinH(id),_R[id].infullscreenmode=!0,jQuery(window).trigger("resize"),_R.toggleState(_R[id].fullscreentoggledby),_R[id].c.revredraw());break;default:_R[id].c.trigger("layeraction",[event.action,layer,event])}},[targetlayer,id,event,layer])}}}})};function getFordWithAction(e){var i=[];for(var t in e.ford)e.frames[e.ford[t]].timeline.waitoncall?i.push(e.ford[t]):i.push("skip");return i}function updateToggleByList(e,i,t){var a=e.data(i);a===undefined&&(a=[]),a.push(t),e.data(i,a)}function getEventParams(e){var i={on:"click",delay:0,ease:"power2.out",speed:400};for(var t in e)if(e.hasOwnProperty(t)){var a=e[t].split(":");switch(a.length>2&&"call"===a[0]&&(a[1]=a.join(":").replace(a[0]+":","")),a[0]){case"modal":i.modal=a[1];break;case"ms":i.modalslide=a[1];break;case"m":i.frameM=a[1];break;case"n":i.frameN=a[1];break;case"o":i.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":i.delay=parseInt(a[1],0)/1e3,i.delay="NaN"===i.delay||isNaN(i.delay)?0:i.delay;break;case"rd":i.repeat=parseInt(a[1],0)/1e3,i.repeat="NaN"===i.repeat||isNaN(i.repeat)?0:i.repeat;break;case"a":i.action=a[1];break;case"f":i.frame=a[1];break;case"slide":i.slide=a[1];break;case"layer":i.layer=a[1];break;case"sp":i.speed=parseInt(a[1],0);break;case"e":i.ease=a[1];break;case"ls":i.togglestate=a[1];break;case"offset":i.offset=a[1];break;case"call":i.callback=a[1];break;case"url":i.url="";for(var o=1;o<a.length;o++)i.url+=a[o]+(o===a.length-1?"":":");break;case"target":i.target=a[1];break;case"class":i.classname=a[1];break;case"ch":i.children="true"==a[1]||1==a[1]||"t"==a[1];break;default:a[0].length>0&&""!==a[0]&&(i[a[0]]=a[1])}}return i}var getOffContH=function(e){if(e==undefined)return 0;if(e.split(",").length>1){var i=e.split(","),t=0;return i&&jQuery.each(i,function(e,i){jQuery(i).length>0&&(t+=jQuery(i).outerHeight(!0))}),t}return jQuery(e).height()};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.actions={loaded:!0,version:version},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";jQuery.fn.revolution=jQuery.fn.revolution||{};var i=jQuery.fn.revolution;jQuery.extend(!0,i,{prepareCarousel:function(e,t,a){if(void 0!==e){var r=i[e].carousel;r.slidepositions=void 0===r.slidepositions?[]:r.slidepositions,r.slideFakePositions=void 0===r.slideFakePositions?[]:r.slideFakePositions,r.slidesWithRowAdjustions={},t=r.lastdirection=o(t,r.lastdirection),i.setCarouselDefaults(e),void 0===r.slidepositions[0]&&(r.slideAnims=[],i.organiseCarousel(e,"right",!0,!1,!1),r.focused=0,r.keepFocusedFirst=!0),r.slide_offset=void 0!==r.slide_offset&&i.isNumeric(r.slide_offset)?r.slide_offset:0,r.swipeTo=r.slide_offset+s(e),r.swipeToDistance=Math.abs(r.slide_offset)+Math.abs(s(e)),void 0!==r.swipeTo&&i.isNumeric(r.swipeTo)?void 0!==a?i.swipeAnimate({id:e,to:r.swipeTo,distance:r.swipeToDistance,direction:t,fix:!0,speed:a}):i.swipeAnimate({id:e,to:r.swipeTo,distance:r.swipeToDistance,direction:t,fix:!0}):i.swipeAnimate({id:e,to:0,direction:t,speed:0})}},carouselToEvalPosition:function(e,a,r){var s=i[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=t(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,d=n%i[e].slideamount,l=d-Math.floor(d),c=-1*(Math.ceil(d)-d),p=-1*(Math.floor(d)-d),g=l*s.slide_width,u=g>=20&&"left"===a?1:g>=s.slide_width-20&&"right"===a?2:g<20&&"left"===a?3:g<s.slide_width-20&&"right"===a?4:5,h=1===u||2===u?c:3===u||4===u?p:0;s.slide_offset_target=(s.infinity?h:d<0?d:n>i[e].slideamount-1?n-(i[e].slideamount-1):h)*s.slide_width}return s.slide_offset_target!==s.slide_offset_targetCACHE&&!0!==r&&(0!==Math.abs(s.slide_offset_target)?i.animateCarousel(e,a,!0):i.organiseCarousel(e,a),s.slide_offset_targetCACHE=s.slide_offset_target),s.slide_offset_target},loadVisibleCarouselItems:function(e,t){var a=[];i[e].carousel.focused=parseInt(i[e].carousel.focused,0),i[e].carousel.focused=i.isNumeric(i[e].carousel.focused)?i[e].carousel.focused:0;for(var o=0;o<Math.ceil(i[e].carousel.maxVisibleItems/2);o++){var r="right"===i[e].carousel.horizontal_align?i[e].carousel.focused-o:i[e].carousel.focused+o,s="center"===i[e].carousel.horizontal_align?i[e].carousel.focused-o:"left"===i[e].carousel.horizontal_align?i[e].carousel.maxVisibleItems+r-1:r-i[e].carousel.maxVisibleItems+1;r=r>=i[e].slideamount?r-i[e].slideamount+0:r,s=s>=i[e].slideamount?s-i[e].slideamount+0:s,r=r<0?i[e].slideamount+r:r,s=s<0?i[e].slideamount+s:s,a.push(i[e].slides[r]),r!==s&&a.push(i[e].slides[s])}return t&&(i.loadImages(a,e,1),i.waitForCurrentImages(a,e)),a},organiseCarousel:function(e,t,a,o,r){Math.round(1e5*Math.random());var s=i[e].carousel,n="center"===s.horizontal_align?2:1,d=Math.ceil(s.maxVisibleItems/n),l="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,g=0,u=0;if(s.ocfirsttun=!0,t=s.slide_offset<s.cached_slide_offset?"left":"right",s.cached_slide_offset=s.slide_offset,!0!==s.justify&&"center"===s.horizontal_align){var h=2*(s.windhalf-s.wrapoffset)+s.slide_width;h>=s.maxwidth&&("left"===t&&(l=2*s.windhalf,c=0-(s.slide_width-(h-s.maxwidth))),"right"===t&&(l=2*s.windhalf-(h-s.maxwidth),c=0-s.slide_width))}for(var m=2*s.windhalf,v=0,f=-1,w=0;w<s.len;w++)!0===s.justify?(p+=w>0?s.slide_widths[w-1]+s.space:s.slide_offset,s.wrapwidth>=s.maxwidth&&"center"!==s.horizontal_align&&(s.slideFakePositions[w]=p-s.slide_offset),c=0-s.slide_widths[w],l=s.maxwidth-s.slide_widths[w],s.inneroffset=0):(p=w*s.slide_width+s.slide_offset,s.wrapwidth>=s.maxwidth&&"left"===s.horizontal_align&&(s.slideFakePositions[w]=w*s.slide_width),s.wrapwidth>=s.maxwidth&&"right"===s.horizontal_align&&(s.slideFakePositions[w]=s.wrapwidth-(w+1)*s.slide_width)),u=g=p,s.infinity&&(g=g>=l-s.inneroffset?g-s.maxwidth:g<=c-s.inneroffset?g+s.maxwidth:g),m>g&&(m=g,w),v<g&&(v=g,f=w),s.slidepositions[w]=u>s.maxwidth+l?g-s.maxwidth:u<c-s.maxwidth?g+s.maxwidth:g;s.infinity&&m>0&&v>s.wrapwidth&&(s.slidepositions[f]-=s.maxwidth);var y=999,b=0,_=(i[e].module.width,!1),S="right"===s.horizontal_align?0:s.wrapwidth;if(i[e].slides)for(w=0;w<i[e].slides.length;w++){var x={left:(g=s.slidepositions[w])+s.inneroffset,width:!0===s.justify?s.slide_widths[w]:s.slide_width,x:0},k=0;if(void 0===s.slideAnims[w]&&(x.transformOrigin="50% "+s.vertical_align,x.scale=1,x.force3D=!0,x.transformStyle="3D"!=i[e].parallax.type&&"3d"!=i[e].parallax.type?"flat":"preserve-3d"),s.justify)x.opacity=1,x.visibility="visible",s.wrapwidth>=s.maxwidth&&"center"!==s.horizontal_align||("center"===s.horizontal_align&&s.slidepositions[w]<s.windhalf&&s.slidepositions[w]+s.slide_widths[w]>s.windhalf?s.focused=w:"left"===s.horizontal_align&&s.slidepositions[w]>=-25&&s.slidepositions[w]<s.windhalf&&(!_||s.slidepositions[w]<S)?(s.focused=w,_=!0,S=s.slidepositions[w]):"right"===s.horizontal_align&&s.slidepositions[w]+s.slide_widths[w]<=s.wrapwidth+25&&(s.slide_widths[w]<s.windhalf&&s.slidepositions[w]>s.windhalf||s.slidepositions[w]>s.wrapwidth-s.slide_widths[w])&&(!_||s.slidepositions[w]>S)&&(s.focused=w,_=!0,S=s.slidepositions[w]),s.focused=s.focused>=s.len?s.infinity?0:s.len-1:s.focused<0?s.infinity?s.len-1:0:s.focused);else{k="center"===s.horizontal_align?(Math.abs(s.wrapwidth/2)-(x.left+s.slide_width/2))/s.slide_width:(s.inneroffset-x.left)/s.slide_width,(Math.abs(k)<y||0===k)&&(y=Math.abs(k),s.focused=w),void 0!==s.minScale&&s.minScale>0&&(s.vary_scale?x.scale=1-Math.abs((1-s.minScale)/d*k):x.scale=k>=1||k<=-1?s.minScale:s.minScale+(1-s.minScale)*(1-Math.abs(k)),b=k*(x.width-x.width*x.scale)/2),s.fadeout&&(s.vary_fade?x.opacity=1-Math.abs(s.maxOpacity/d*k):x.opacity=k>=1||k<=-1?s.maxOpacity:s.maxOpacity+(1-s.maxOpacity)*(1-Math.abs(k)));var L=Math.ceil(s.maxVisibleItems/n)-Math.abs(k);x.opacity=void 0===x.opacity?1:x.opacity,x.opacity=Math.max(0,Math.min(L,x.opacity)),x.opacity>0&&(x.visibility="visible"),void 0===s.maxRotation||0==Math.abs(s.maxRotation)||i.isiPhone||(s.vary_rotation?(x.rotationY=Math.abs(s.maxRotation)-Math.abs((1-Math.abs(1/d*k))*s.maxRotation),x.opacity=Math.abs(x.rotationY)>90?0:x.opacity):x.rotationY=k>=1||k<=-1?s.maxRotation:Math.abs(k)*s.maxRotation,x.rotationY=k<0?-1*x.rotationY:x.rotationY,i.isSafari11()&&(x.z=0!==k?0-Math.abs(x.rotationY):0)),x.x=Math.floor(-1*s.space*k*(s.offsetScale?x.scale:1)),void 0!==x.scale&&(x.x=x.x+b)}x.x+=s.wrapwidth>=s.maxwidth&&("left"===s.horizontal_align||"right"===s.horizontal_align)?s.slideFakePositions[w]:Math.floor(x.left),delete x.left,x.zIndex=s.justify?95:Math.round(100-Math.abs(5*k)),!0!==r&&(void 0!==s.slideAnims[w]&&(x.width===s.slideAnims[w].width&&delete x.width,x.x===s.slideAnims[w].x&&delete x.x,x.opacity===s.slideAnims[w].opacity&&delete x.opacity,x.scale===s.slideAnims[w].scale&&delete x.scale,x.zIndex===s.slideAnims[w].zIndex&&delete x.zIndex,x.rotationY===s.slideAnims[w].rotationY&&delete x.rotationY),tpGS.gsap.set(i[e].slides[w],x),s.slideAnims[w]=jQuery.extend(!0,s.slideAnims[w],x))}if(i.loadVisibleCarouselItems(e,!0),o&&!0!==r){if(s.focused=void 0===s.focused?0:s.focused,s.oldfocused=void 0===s.oldfocused?0:s.oldfocused,i[e].pr_next_key=s.focused,i[e].carousel.allLayersStarted?i.updateCarouselRows(e):i.carouselRowAdjustment(s,e,s.focused),s.focused!==s.oldfocused)for(var R in void 0!==s.oldfocused&&i.removeTheLayers(jQuery(i[e].slides[s.oldfocused]),e),i.animateTheLayers({slide:s.focused,id:e,mode:"start"}),i.animateTheLayers({slide:"individual",id:e,mode:i[e].carousel.allLayersStarted?"rebuild":"start"}),i[e].sbgs)i[e].sbgs.hasOwnProperty(R)&&void 0!==i[e].sbgs[R].bgvid&&0!==i[e].sbgs[R].bgvid.length&&(""+i[e].sbgs[R].skeyindex==""+s.focused?i.playBGVideo(e,i.gA(i[e].pr_next_slide[0],"key")):i.stopBGVideo(e,i[e].sbgs[R].key));s.oldfocused=s.focused,i[e].c.trigger("revolution.nextslide.waiting")}},updateCarouselRows:function(e){if("carousel"===i[e].sliderType)for(var t=0;t<i[e].slideamount;t++)i.carouselRowAdjustment(i[e].carousel,e,t)},carouselRowAdjustment:function(e,t,a){void 0!==e.slidesWithRowAdjustions&&void 0===e.slidesWithRowAdjustions[a]&&(e.slidesWithRowAdjustions[a]=!0,i.getRowHeights(t,a),i.putMiddleZoneInPosition(t,a))},swipeAnimate:function(e){var t=i[e.id].carousel,o={from:t.slide_offset,to:e.to},r=void 0===e.speed?.5:e.speed;if(t.distance=void 0!==e.distance?e.distance:e.to,void 0!==t.positionanim&&t.positionanim.pause(),e.fix){if(!1!==t.snap){var s=t.slide_offset,n="end"===e.phase?t.focusedBeforeSwipe:t.focused;t.slide_offset=e.to,i.organiseCarousel(e.id,e.direction,!0,!1,!1),Math.abs(t.swipeDistance)>40&&n==t.focused&&(t.focused="right"===e.direction?t.focused-1:t.focused+1,t.focused=t.focused>=t.len?t.infinity?0:t.len-1:t.focused<0?t.infinity?t.len-1:0:t.focused),o.to+=i.carouselToEvalPosition(e.id,e.direction,!0),t.slide_offset=s,i.organiseCarousel(e.id,e.direction,!0,!1,!1),t.keepFocusedFirst&&(t.keepFocusedFirst=!1,t.focused=0)}else!0!==t.infinity?(o.to>0&&(o.to=0),o.to<t.wrapwidth-t.maxwidth&&(o.to=t.wrapwidth-t.maxwidth)):"end"===e.phase?t.dragModeJustEnded=!0:!0!==t.dragModeJustEnded?o.to+=i.carouselToEvalPosition(e.id,e.direction,!0):t.dragModeJustEnded=!1;0!==(r=t.speed/1e3*a(Math.abs(Math.abs(o.from)-Math.abs(t.distance))/t.wrapwidth))&&r<.1&&Math.abs(o.to)>25&&(r=.3)}t.swipeDistance=0,r=!0!==t.firstSwipedDone?0:r,t.firstSwipedDone=!0,t.positionanim=tpGS.gsap.to(o,r,{from:o.to,onUpdate:function(){t.slide_offset=o.from%t.maxwidth,i.organiseCarousel(e.id,e.direction,!0!==e.fix,!0!==e.fix),t.slide_offset=o.from},onComplete:function(){t.slide_offset=o.from%t.maxwidth,"carousel"!==i[e.id].sliderType||t.fadein||(tpGS.gsap.to(i[e.id].canvas,1,{scale:1,opacity:1}),t.fadein=!0),t.lastNotSimplifedSlideOffset=t.slide_offset,t.justDragged=!1,e.fix&&(t.focusedAfterAnimation=t.focused,e.newSlide&&t.focusedBeforeSwipe!==t.focused&&i.callingNewSlide(e.id,jQuery(i[e.id].slides[t.focused]).data("key"),!0),i.organiseCarousel(e.id,e.direction,!0,!0),i[e.id].c.trigger("revolution.slide.carouselchange",{slider:e.id,slideIndex:parseInt(i[e.id].pr_active_key,0)+1,slideLIIndex:i[e.id].pr_active_key,slide:i[e.id].pr_next_slide,currentslide:i[e.id].pr_next_slide,prevSlideIndex:void 0!==i[e.id].pr_lastshown_key&&parseInt(i[e.id].pr_lastshown_key,0)+1,prevSlideLIIndex:void 0!==i[e.id].pr_lastshown_key&&parseInt(i[e.id].pr_lastshown_key,0),prevSlide:void 0!==i[e.id].pr_lastshown_key&&i[e.id].slides[i[e.id].pr_lastshown_key]}))},ease:e.easing?e.easing:t.easing})},defineCarouselElements:function(e){var t=i[e].carousel;t.infbackup=t.infinity,t.maxVisiblebackup=t.maxVisibleItems,t.slide_offset="none",t.slide_offset=0,t.cached_slide_offset=0,t.wrap=jQuery(i[e].canvas[0].parentNode),0!==t.maxRotation&&("3D"!==i[e].parallax.type&&"3d"!==i[e].parallax.type||tpGS.gsap.set(t.wrap,{perspective:"1600px",transformStyle:"preserve-3d"}))},setCarouselDefaults:function(e,t){var a=i[e].carousel;if(a.stretchCache=void 0===a.stretchCache?a.stretch:a.stretchCache,a.stretch=!!i[e].infullscreenmode||a.stretchCache,a.slide_width=!0!==a.stretch?i[e].gridwidth[i[e].level]*(0===i[e].CM.w?1:i[e].CM.w):i[e].canv.width,a.slide_height=!0!==a.stretch?i[e].infullscreenmode?i.getWinH(e)-i.getFullscreenOffsets(e):i[e].gridheight[i[e].level]*(0===i[e].CM.w?1:i[e].CM.w):i[e].canv.height,a.ratio=a.slide_width/a.slide_height,a.len=i[e].slides.length,a.maxwidth=i[e].slideamount*a.slide_width,1!=a.justify&&a.maxVisiblebackup>a.len&&(a.maxVisibleItems=a.len%2?a.len:a.len+1),a.wrapwidth=a.maxVisibleItems*a.slide_width+(a.maxVisibleItems-1)*a.space,a.wrapwidth="auto"!=i[e].sliderLayout?a.wrapwidth>i[e].canv.width?i[e].canv.width:a.wrapwidth:a.wrapwidth>i[e].module.width?0!==i[e].module.width?i[e].module.width:i[e].canv.width:a.wrapwidth,!0===a.justify){a.slide_height="fullscreen"===i[e].sliderLayout?i[e].module.height:i[e].gridheight[i[e].level],a.slide_widths=[],a.slide_widthsCache=void 0===a.slide_widthsCache?[]:a.slide_widthsCache,a.maxwidth=0;for(var o=0;o<a.len;o++)if(i[e].slides.hasOwnProperty(o)){var r=i.gA(i[e].slides[o],"iratio");r=void 0===r||0===r||null===r?a.ratio:r,r=parseFloat(r),a.slide_widths[o]=Math.round(a.slide_height*r),!1!==a.justifyMaxWidth&&(a.slide_widths[o]=Math.min(a.wrapwidth,a.slide_widths[o])),a.slide_widths[o]!==a.slide_widthsCache[o]&&(a.slide_widthsCache[o]=a.slide_widths[o],!0!==t&&tpGS.gsap.set(i[e].slides[o],{width:a.slide_widths[o]})),a.maxwidth+=a.slide_widths[o]+a.space}}if(a.infinity=!(a.wrapwidth>=a.maxwidth)&&a.infbackup,!0!==a.quickmode){a.wrapoffset="center"===a.horizontal_align?(i[e].canv.width-i[e].outNavDims.right-i[e].outNavDims.left-a.wrapwidth)/2:0,a.wrapoffset="auto"!=i[e].sliderLayout&&i[e].outernav?0:a.wrapoffset<i[e].outNavDims.left?i[e].outNavDims.left:a.wrapoffset;var s="3D"==i[e].parallax.type||"3d"==i[e].parallax.type?"visible":"hidden",n="right"===a.horizontal_align?{left:"auto",right:a.wrapoffset+"px",width:a.wrapwidth,overflow:s}:"left"===a.horizontal_align||a.wrapwidth<i.winW?{right:"auto",left:a.wrapoffset+"px",width:a.wrapwidth,overflow:s}:{right:"auto",left:"auto",width:"100%",overflow:s};void 0!==a.cacheWrapObj&&n.left===a.cacheWrapObj.left&&n.right===a.cacheWrapObj.right&&n.width===a.cacheWrapObj.width||(window.requestAnimationFrame(function(){tpGS.gsap.set(a.wrap,n),i[e].carousel.wrapoffset>0&&tpGS.gsap.set(i[e].canvas,{left:0})}),a.cacheWrapObj=jQuery.extend(!0,{},n)),a.inneroffset="right"===a.horizontal_align?a.wrapwidth-a.slide_width:0,a.windhalf="auto"===i[e].sliderLayout?i[e].module.width/2:i.winW/2}}});var t=function(e,t){var a=i[e].carousel;return"center"===a.horizontal_align?a.windhalf-a.slide_widths[t]/2-a.slidepositions[t]:"left"===a.horizontal_align?0-a.slidepositions[t]:a.wrapwidth-a.slide_widths[t]-a.slidepositions[t]},a=function(e){return e<1?Math.sqrt(1-(e-=1)*e):Math.sqrt(e)},o=function(e,i){return null===e||jQuery.isEmptyObject(e)?i:void 0===e?"right":e},r=function(e,i){return Math.abs(e)>Math.abs(i)?e>0?e-Math.abs(Math.floor(e/i)*i):e+Math.abs(Math.floor(e/i)*i):e},s=function(e){var t,a,o,s,n,d=0,l=i[e].carousel;if(void 0!==l.positionanim&&l.positionanim.pause(),l.justify)"center"===l.horizontal_align?d=l.windhalf-l.slide_widths[l.focused]/2-l.slidepositions[l.focused]:"left"===l.horizontal_align?d=0-l.slidepositions[l.focused]:"right"===l.horizontal_align&&(d=l.wrapwidth-l.slide_widths[l.focused]-l.slidepositions[l.focused]),d=d>l.maxwidth/2?l.maxwidth-d:d<0-l.maxwidth/2?d+l.maxwidth:d;else{var c=i[e].pr_processing_key>=0?i[e].pr_processing_key:i[e].pr_active_key>=0?i[e].pr_active_key:0,p=("center"===l.horizontal_align?(l.wrapwidth/2-l.slide_width/2-l.slide_offset)/l.slide_width:(0-l.slide_offset)/l.slide_width)%i[e].slideamount;d=(l.infinity?(t=p,a=c,o=i[e].slideamount,n=a-o-t,s=r(s=a-t,o),n=r(n,o),-(Math.abs(s)>Math.abs(n)?n:s)):p-c)*l.slide_width}return!1===l.snap&&l.justDragged&&(d=0),l.justDragged=!1,d};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.carousel={loaded:!0,version:"6.5.8"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";var i=["chars","words","lines"],t=["Top","Right","Bottom","Left"],a=["TopLeft","TopRight","BottomRight","BottomLeft"],o=["top","right","bottom","left"];jQuery.fn.revolution=jQuery.fn.revolution||{};var r=jQuery.fn.revolution;jQuery.extend(!0,r,{checkLayerDimensions:function(e){var i=!1;for(var t in r[e.id].layers[e.skey])if(r[e.id].layers[e.skey].hasOwnProperty(t)){var a=r[e.id].layers[e.skey][t],o=r[e.id]._L[a.id];o.eow!==a.offsetWidth&&"true"!==r.gA(a,"vary-layer-dims")&&(i=!0),o.lastknownwidth=o.eow,o.lastknownheight=o.eoh,o._slidelink||r[e.id].caches.calcResponsiveLayersList.push({a:r[e.id]._L[a.id].c,b:e.id,c:0,d:o.rsp_bd,e:e.slideIndex})}return i},requestLayerUpdates:function(e,i,t,a){var o,s,n,d;if(void 0!==t)o=t,r[e]._L[o].pVisRequest!==r[e]._L[o].pVisStatus&&(void 0===r[e]._L[o]._ligid||!0!==r[e]._L[r[e]._L[o]._ligid].childrenAtStartNotVisible?(r[e]._L[o].pVisStatus=r[e]._L[o].pVisRequest,d=("row"===r[e]._L[o].type||"column"===r[e]._L[o].type||"group"===r[e]._L[o].type)&&void 0!==r[e]._L[o].frames&&void 0!==r[e]._L[o].frames.frame_999&&void 0!==r[e]._L[o].frames.frame_999.transform&&""+r[e]._L[o].frames.frame_999.transform.opacity!="0",n=1===r[e]._L[o].pVisRequest?"remove":d?n:"add",s=1===r[e]._L[o].pVisRequest?"remove":d?"add":s):(n="add",s="remove"),"group"===r[e]._L[o].type&&"add"==s&&"hidden"==(1===r[e]._L[o].pVisStatus?"visible":0===r[e]._L[o].pVisStatus?"hidden":r[e]._L[o].pVisStatus)&&(n="add"),void 0!==s&&r[e]._L[o].p[0].classList[s]("rs-forceuntouchable"),void 0!==n&&r[e]._L[o].p[0].classList[n]("rs-forcehidden")),r[e]._L[o].pPointerStatus!==r[e]._L[o].pPeventsRequest&&(r[e]._L[o].pPointerStatus=r[e]._L[o].pPeventsRequest,tpGS.gsap.set(r[e]._L[o].p[0],{pointerEvents:r[e]._L[o].pPointerStatus,visibility:1===r[e]._L[o].pVisStatus?"visible":0===r[e]._L[o].pVisStatus?"hidden":r[e]._L[o].pVisStatus})),void 0!==a&&"ignore"!==a&&0!==a&&(a++,"enterstage"===i||"leavestage"===i||"framestarted"===i?r.isFirefox(e)?-1===r[e]._L[o].p[0].style.transform.indexOf("perspective")&&(r[e]._L[o].p[0].style.transform+=(0===r[e]._L[o].p[0].style.transform.length?" ":"")+"perspective("+a+"px)"):(!window.isSafari11&&!0!==r[e]._L[o].maskHasPerspective&&0===r[e]._L[o].p[0].style.perspective.length||"none"==r[e]._L[o].p[0].style.perspective)&&(r[e]._L[o].p[0].style.perspective=a+"px"):"frameended"===i&&(r.isFirefox(e)?r[e]._L[o].p[0].style.transform=r[e]._L[o].p[0].style.transform.replace("perspective("+a+"px)",""):window.isSafari11||(r[e]._L[o].p[0].style.perspective=r[e]._L[o].p[0].style.perspective.replace(a-1+"px",""))));else for(o in r[e]._L)r[e]._L.hasOwnProperty(o)&&(r[e]._L[o].pVisRequest!==r[e]._L[o].pVisStatus&&(r[e]._L[o].pVisStatus=r[e]._L[o].pVisRequest,0===r[e]._L[o].pVisStatus?r[e]._L[o].p[0].classList.add("rs-forcehidden"):r[e]._L[o].p[0].classList.remove("rs-forcehidden")),r[e]._L[o].pPointerStatus!==r[e]._L[o].pPeventsRequest&&(r[e]._L[o].pPointerStatus=r[e]._L[o].pPeventsRequest,tpGS.gsap.set(r[e]._L[o].p[0],{pointerEvents:r[e]._L[o].pPointerStatus,visibility:r[e]._L[o].pVisStatus})));"enterstage"===i&&void 0!==t&&void 0!==r[e]._L[t].esginside&&r[e]._L[t].esginside.length>0&&void 0!==r[e]._L[t].esginside.esredraw&&r[e]._L[t].esginside.esredraw()},updateMiddleZonesAndESG:function(e){var i,t=r[e].pr_processing_key||r[e].pr_active_key||0;if(r[e].middleZones&&r[e].middleZones.length>0&&void 0!==r[e].middleZones[t])for(i=0;i<r[e].middleZones[t].length;i++)tpGS.gsap.set(r[e].middleZones[t][i],{y:Math.round(r[e].module.height/2-r[e].middleZones[t][i].offsetHeight/2)+"px"});if(r[e].smiddleZones&&r[e].smiddleZones.length>0)for(i=0;i<r[e].smiddleZones.length;i++)tpGS.gsap.set(r[e].smiddleZones[i],{y:Math.round(r[e].module.height/2-r[e].smiddleZones[i].offsetHeight/2)+"px"})},getRowHeights:function(e,i){if(!r[e].firstLayerCalculated)return{cur:0,last:0,cache:[],tz:0};var t=0,a=0,o=0,s=void 0!==i?i:r[e].pr_processing_key||r[e].pr_active_key||0,n=void 0!==i?i:r[e].pr_active_key||0;if(r[e].rowMiddleHeights=null==r[e].rowMiddleHeights?{}:r[e].rowMiddleHeights,r[e].rowMiddleHeights[s]=0,r[e].rowzones&&r[e].rowzones.length>0){if(void 0!==r[e].rowzones[s])for(var d=0;d<r[e].rowzones[s].length;d++)r[e].rowzonesHeights[s][d]=r[e].rowzones[s][d][0].offsetHeight,t+=r[e].rowzonesHeights[s][d],"true"==r[e].rowzones[s][d][0].dataset.middle&&(r[e].rowMiddleHeights[s]+=r[e].rowzonesHeights[s][d]);if(n!==s)for(r[e].rowMiddleHeights[n]=0,d=0;d<r[e].rowzones[n].length;d++)r[e].rowzonesHeights[n][d]=r[e].rowzones[n][d][0].offsetHeight,a+=r[e].rowzonesHeights[n][d],"true"==r[e].rowzones[n][d][0].dataset.middle&&(r[e].rowMiddleHeights[n]+=r[e].rowzonesHeights[n][d])}if(r[e].srowzones&&r[e].srowzones.length>0)for(r[e].rowMiddleHeights.static=0,d=0;d<r[e].srowzones.length;d++)o+=r[e].srowzones[d][0].offsetHeight,"true"==r[e].srowzones[d][0].dataset.middle&&(r[e].rowMiddleHeights.static+=r[e].srowzones[d][0].offsetHeight);t=t<o?o:t;var l=void 0===r[e].rowHeights?[]:r[e].rowHeights.cache,c=(new Date).getTime();return void 0!==r[e].rowHeights&&c-r[e].rowHeights.tz<300?r[e].rowHeights.cache.length>5&&(t=r[e].rowHeights.cache[r[e].rowHeights.cache.length-1]===t?r[e].rowHeights.cache[r[e].rowHeights.cache.length-2]:r[e].rowHeights.cache[r[e].rowHeights.cache.length-1],c=r[e].rowHeights.tz):l=[],{cur:t,last:a,cache:l,tz:c}},getGridOffset:function(e,i,t,a){var o="grid"===t?r[e].canv.width:"carousel"!==r[e].sliderType||a?r[e].canv.width:r[e].carousel.slide_width,s=r[e].useFullScreenHeight?r[e].module.height:"grid"===t?r[e].content.height:"carousel"!==r[e].sliderType||a?r[e].module.height:r[e].canv.height,n="slide"===t?0:Math.max(0,"fullscreen"==r[e].sliderLayout?r[e].module.height/2-r.iHE(e)*(r[e].keepBPHeight?1:r[e].CM.h)/2:r[e].autoHeight||null!=r[e].minHeight&&r[e].minHeight>0||r[e].keepBPHeight?r[e].canv.height/2-r.iHE(e)*r[e].CM.h/2:0),d="slide"===t?0:Math.max(0,"carousel"===r[e].sliderType?0:r[e].canv.width/2-r.iWA(e,i)*r[e].CM.w/2);return"slide"!==t&&"carousel"===r[e].sliderType&&a&&void 0!==r[e].carousel&&void 0!==r[e].carousel.horizontal_align&&(d=Math.max(0,"center"===r[e].carousel.horizontal_align?0+(r[e].module.width-r.iWA(e,"static")*r[e].CM.w)/2:"right"===r[e].carousel.horizontal_align?r[e].module.width-r[e].gridwidth[r[e].level]*r[e].CM.w:d)),[o,s,d,n]},initLayer:function(e){var i,t,a,o=e.id,s=e.skey;for(var n in r[o].layers[e.skey])if(r[o].layers[e.skey].hasOwnProperty(n)){var d=r[o].layers[e.skey][n],l=jQuery(d),c=r.gA(d,"initialised"),p=c?r[o]._L[d.id]:l.data();if("individual"===e.skey&&(p.slideKey=void 0===p.slideKey?r.gA(l.closest("rs-slide")[0],"key"):p.slideKey,p.slideIndex=void 0===p.slideIndex?r.getSlideIndex(o,p.slideKey):p.slideIndex,e.slideIndex=p.slideIndex,s=p.slideKey),void 0===c){if(r.revCheckIDS(o,d),r[o]._L[d.id]=p,p.ford=void 0===p.ford?"frame_0;frame_1;frame_999":p.ford,p.ford=";"==p.ford[p.ford.length-1]?p.ford.substring(0,p.ford.length-1):p.ford,p.ford=p.ford.split(";"),void 0!==p.clip)for(i in p.clipPath={use:!1,origin:"l",type:"rectangle"},p.clip=p.clip.split(";"),p.clip)p.clip.hasOwnProperty(i)&&("u"==(t=p.clip[i].split(":"))[0]&&(p.clipPath.use="true"==t[1]),"o"==t[0]&&(p.clipPath.origin=t[1]),"t"==t[0]&&(p.clipPath.type=t[1]));if(p.frames=L(p,o),p.caches={},p.OBJUPD={},p.c=l,p.p=r[o]._Lshortcuts[d.id].p,p.lp=r[o]._Lshortcuts[d.id].lp,p.m=r[o]._Lshortcuts[d.id].m,p.triggercache=void 0===p.triggercache?"reset":p.triggercache,p.rsp_bd=void 0===p.rsp_bd?"column"===p.type||"row"===p.type?"off":"on":p.rsp_bd,p.rsp_o=void 0===p.rsp_o?"on":p.rsp_o,p.basealign=void 0===p.basealign?"grid":p.basealign,p.group="group"!==p.type&&null!==r.closestNode(l[0],"RS-GROUP-WRAP")?"group":"column"!==p.type&&null!==r.closestNode(l[0],"RS-COLUMN")?"column":"row"!==p.type&&null!==r.closestNode(l[0],"RS-ROW")?"row":void 0,p._lig="group"===p.group?jQuery(r.closestNode(l[0],"RS-GROUP")):"column"===p.group?jQuery(r.closestNode(l[0],"RS-COLUMN")):"row"===p.group?jQuery(r.closestNode(l[0],"RS-ROW")):void 0,p._ligid=void 0!==p._lig?p._lig[0].id:void 0,p._column="RS-COLUMN"===l[0].tagName?jQuery(r.closestNode(l[0],"RS-COLUMN-WRAP")):"none",p._row="RS-COLUMN"===l[0].tagName&&jQuery(r.closestNode(l[0],"RS-ROW")),p._ingroup="group"===p.group,p._incolumn="column"===p.group,p._inrow="row"===p.group,p.fsom="true"==p.fsom||1==p.fsom,(p._ingroup||p._incolumn)&&p._lig[0].className.indexOf("rs-sba")>=0&&(!1!==p.animationonscroll||void 0===p.frames.loop)&&!0!==p.animOnScrollForceDisable&&(p.animationonscroll=!0,l[0].className+=" rs-sba",r[o].sbas[s][d.id]=l[0]),p.animOnScrollRepeats=0,p._isgroup="RS-GROUP"===l[0].tagName,p.type=p.type||"none","row"===p.type&&(void 0===p.cbreak&&(p.cbreak=2),void 0===p.zone&&(p.zone=r.closestNode(l[0],"RS-ZONE"),p.zone=null!==p.zone&&void 0!==p.zone?p.zone.className:"")),p.esginside=jQuery(l[0].getElementsByClassName("esg-grid")[0]),p._isnotext=-1!==jQuery.inArray(p.type,["video","image","audio","shape","row","group"]),p._mediatag="html5"==p.audio?"audio":"video",p.img=l.find("img"),p.deepiframe=r.getByTag(l[0],"iframe"),p.deepmedia=r.getByTag(l[0],p._mediatag),p.layertype="image"===p.type?"image":l[0].className.indexOf("rs-layer-video")>=0||l[0].className.indexOf("rs-layer-audio")>=0||p.deepiframe.length>0&&(p.deepiframe[0].src.toLowerCase().indexOf("youtube")>0||p.deepiframe[0].src.toLowerCase().indexOf("vimeo")>0)||p.deepmedia.length>0?"video":"html",p.deepiframe.length>0&&r.sA(p.deepiframe[0],"layertype",p.layertype),"column"===p.type&&(p.cbg=jQuery(r.getByTag(p.p[0],"RS-COLUMN-BG")[0]),p.cbgmask=jQuery(r.getByTag(p.p[0],"RS-CBG-MASK-WRAP")[0])),p._slidelink=l[0].className.indexOf("slidelink")>=0,p._isstatic=l[0].className.indexOf("rs-layer-static")>=0,p.slidekey=p._isstatic?"staticlayers":s,p._togglelisteners=l[0].getElementsByClassName("rs-toggled-content").length>0,"text"===p.type&&(-1!==p.c[0].innerHTML.indexOf("{{total_slide_count}}")&&(p.c[0].innerHTML=p.c[0].innerHTML.replace("{{total_slide_count}}",r[o].realslideamount)),p.c[0].innerHTML.indexOf("{{current_slide_index}}")>=0))if(p._isstatic)p.metas=p.metas||{},p.metas.csi={},p.c[0].innerHTML=p.c[0].innerHTML.replace("{{current_slide_index}}","<cusli>"+r[o].realslideamount+"</cusli>"),p.metas.csi.c=p.c[0].getElementsByTagName("CUSLI")[0];else{var g=parseInt(e.slideIndex)+1;p.c[0].innerHTML=p.c[0].innerHTML.replace("{{current_slide_index}}",(g<10&&r[o].realslideamount>9?"0":"")+g)}if(p.bgcol=void 0===p.bgcol?l[0].style.background.indexOf("gradient")>=0?l[0].style.background:l[0].style.backgroundColor:p.bgcol,p.bgcol=""===p.bgcol?"rgba(0, 0, 0, 0)":p.bgcol,p.bgcol=0===p.bgcol.indexOf("rgba(0, 0, 0, 0)")&&p.bgcol.length>18?p.bgcol.replace("rgba(0, 0, 0, 0)",""):p.bgcol,p.zindex=void 0===p.zindex?l[0].style.zIndex:p.zindex,p._isgroup&&(p.frames.frame_1.timeline.waitoncall&&(p.childrenAtStartNotVisible=!0),p.pVisRequest=0),p._togglelisteners&&l.on("click",function(){r.swaptoggleState([this.id])}),void 0!==p.border)for(i in p.border=p.border.split(";"),p.bordercolor="transparent",p.border)if(p.border.hasOwnProperty(i))switch((t=p.border[i].split(":"))[0]){case"boc":p.bordercolor=t[1];break;case"bow":p.borderwidth=r.revToResp(t[1],4,0);break;case"bos":p.borderstyle=r.revToResp(t[1],4,0);break;case"bor":p.borderradius=r.revToResp(t[1],4,0)}if("svg"===p.type&&(p.svg=l.find("svg"),p.svgI=w(p.svgi,o),p.svgPath=p.svg.find(p.svgI.svgAll?"path, circle, ellipse, line, polygon, polyline, rect":"path"),p.svgH=void 0!==p.svgi&&-1===p.svgi.indexOf("oc:t")?w(p.svgh,o):{}),void 0!==p.btrans){var u=p.btrans;for(i in p.btrans={rX:0,rY:0,rZ:0,o:1},u=u.split(";"))if(u.hasOwnProperty(i))switch((t=u[i].split(":"))[0]){case"rX":p.btrans.rX=t[1];break;case"rY":p.btrans.rY=t[1];break;case"rZ":p.btrans.rZ=t[1];break;case"o":p.btrans.o=t[1]}}if(void 0!==p.tsh)for(i in p.tshadow={c:"rgba(0,0,0,0.25)",v:0,h:0,b:0},p.tsh=p.tsh.split(";"),p.tsh)if(p.tsh.hasOwnProperty(i))switch((t=p.tsh[i].split(":"))[0]){case"c":p.tshadow.c=t[1];break;case"h":p.tshadow.h=t[1];break;case"v":p.tshadow.v=t[1];break;case"b":p.tshadow.b=t[1]}if(void 0!==p.tst)for(i in p.tstroke={c:"rgba(0,0,0,0.25)",w:1},p.tst=p.tst.split(";"),p.tst)if(p.tst.hasOwnProperty(i))switch((t=p.tst[i].split(":"))[0]){case"c":p.tstroke.c=t[1];break;case"w":p.tstroke.w=t[1]}if(void 0!==p.bsh)for(i in p.bshadow={e:"c",c:"rgba(0,0,0,0.25)",v:0,h:0,b:0,s:0},p.bsh=p.bsh.split(";"),p.bsh)if(p.bsh.hasOwnProperty(i))switch((t=p.bsh[i].split(":"))[0]){case"c":p.bshadow.c=t[1];break;case"h":p.bshadow.h=t[1];break;case"v":p.bshadow.v=t[1];break;case"b":p.bshadow.b=t[1];break;case"s":p.bshadow.s=t[1];break;case"e":p.bshadow.e=t[1]}if(void 0!==p.dim)for(i in p.dim=p.dim.split(";"),p.dim)if(p.dim.hasOwnProperty(i))switch((t=p.dim[i].split(":"))[0]){case"w":p.width=t[1];break;case"h":p.height=t[1];break;case"maxw":p.maxwidth=t[1];break;case"maxh":p.maxheight=t[1];break;case"minw":p.minwidth=t[1];break;case"minh":p.minheight=t[1]}if(void 0!==p.xy&&"row"!==p.type&&"column"!==p.type)for(i in p.xy=p.xy.split(";"),p.xy)if(p.xy.hasOwnProperty(i))switch((t=p.xy[i].split(":"))[0]){case"x":p.x=t[1].replace("px","");break;case"y":p.y=t[1].replace("px","");break;case"xo":p.hoffset=t[1].replace("px","");break;case"yo":p.voffset=t[1].replace("px","")}if(!p._isnotext&&void 0!==p.text)for(i in p.text=p.text.split(";"),p.text)if(p.text.hasOwnProperty(i))switch((t=p.text[i].split(":"))[0]){case"w":p.whitespace=t[1];break;case"td":p.textDecoration=t[1];break;case"c":p.clear=t[1];break;case"f":p.float=t[1];break;case"s":p.fontsize=t[1];break;case"l":p.lineheight=t[1];break;case"ls":p.letterspacing=t[1];break;case"fw":p.fontweight=t[1];break;case"a":p.textalign=t[1]}if("column"===p.type&&void 0!==p.textDecoration&&delete p.textDecoration,void 0!==p.flcr)for(i in p.flcr=p.flcr.split(";"),p.flcr)if(p.flcr.hasOwnProperty(i))switch((t=p.flcr[i].split(":"))[0]){case"c":p.clear=t[1];break;case"f":p.float=t[1]}if(void 0!==p.padding)for(i in p.padding=p.padding.split(";"),p.padding)if(p.padding.hasOwnProperty(i))switch((t=p.padding[i].split(":"))[0]){case"t":p.paddingtop=t[1];break;case"b":p.paddingbottom=t[1];break;case"l":p.paddingleft=t[1];break;case"r":p.paddingright=t[1]}if(void 0!==p.margin)for(i in p.margin=p.margin.split(";"),p.margin)if(p.margin.hasOwnProperty(i))switch((t=p.margin[i].split(":"))[0]){case"t":p.margintop=t[1];break;case"b":p.marginbottom=t[1];break;case"l":p.marginleft=t[1];break;case"r":p.marginright=t[1]}if(void 0!==p.spike&&(p.spike=G(p.spike)),void 0!==p.corners)for(i in a=p.corners.split(";"),p.corners={},a)a.hasOwnProperty(i)&&a[i].length>0&&(p.corners[a[i]]=jQuery("<"+a[i]+"></"+a[i]+">"),p.c.append(p.corners[a[i]]));p.textalign=y(p.textalign),p.vbility=r.revToResp(p.vbility,r[o].rle,!0),p.hoffset=r.revToResp(p.hoffset,r[o].rle,0),p.voffset=r.revToResp(p.voffset,r[o].rle,0),p.x=r.revToResp(p.x,r[o].rle,"l"),p.y=r.revToResp(p.y,r[o].rle,"t"),A(l,0,o),r.sA(d,"initialised",!0),r[o].c.trigger("layerinitialised",{layer:l[0].id,slider:o})}var h=p.x[r[o].level],m=p.y[r[o].level],v=r.getGridOffset(o,e.slideIndex,p.basealign,p._isstatic),f=v[0],b=v[1],_=v[2],S=v[3];if(p.slideIndex=e.slideIndex,"updateposition"!==e.mode){if(0==p.vbility[r[o].levelForced]||"f"==p.vbility[r[o].levelForced]||f<r[o].hideLayerAtLimit&&"on"==p.layeronlimit||f<r[o].hideAllLayerAtLimit?(!0!==p.layerIsHidden&&p.p[0].classList.add("rs-layer-hidden"),p.layerIsHidden=!0):(p.layerIsHidden&&p.p[0].classList.remove("rs-layer-hidden"),p.layerIsHidden=!1),p.poster=null==p.poster&&void 0!==p.thumbimage?p.thumbimage:p.poster,"image"===p.layertype)if(p.imgOBJ={},"cover-proportional"===p.img.data("c")){r.sA(p.img[0],"owidth",r.gA(p.img[0],"owidth",p.img[0].width)),r.sA(p.img[0],"oheight",r.gA(p.img[0],"oheight",p.img[0].height));var x=r.gA(p.img[0],"owidth")/r.gA(p.img[0],"oheight"),k=f/b;p.imgOBJ=x>k&&x<=1||x<k&&x>1?{width:"100%",height:"auto",left:"c"===h||"center"===h?"50%":"left"===h||"l"===h?"0":"auto",right:"r"===h||"right"===h?"0":"auto",top:"c"===m||"center"===m||"middle"===m||"m"===m?"50%":"top"===m||"t"===m?"0":"auto",bottom:"b"===m||"bottom"===m?"0":"auto",x:"c"===h||"center"===h||"middle"===h||"m"===h?"-50%":"0",y:"c"===m||"center"===m||"middle"===m||"m"===m?"-50%":"0"}:{height:"100%",width:"auto",left:"c"===h||"center"===h?"50%":"left"===h||"l"===h?"0":"auto",right:"r"===h||"right"===h?"0":"auto",top:"c"===m||"center"===m||"middle"===m||"m"===m?"50%":"top"===m||"t"===m?"0":"auto",bottom:"b"===m||"bottom"===m?"0":"auto",x:"c"===h||"center"===h||"middle"===h||"m"===h?"-50%":"0",y:"c"===m||"center"===m||"middle"===m||"m"===m?"-50%":"0"}}else void 0===p.group&&"auto"===p.width[r[o].level]&&"auto"===p.height[r[o].level]&&(p.width[r[o].level]=r.gA(p.img[0],"owidth",p.img[0].width),p.height[r[o].level]=r.gA(p.img[0],"owidth",p.img[0].height)),p.imgOBJ={width:"auto"!==p.width[r[o].level]||isNaN(p.width[r[o].level])&&p.width[r[o].level].indexOf("%")>=0?"100%":"auto",height:"auto"!==p.height[r[o].level]||isNaN(p.height[r[o].level])&&p.height[r[o].level].indexOf("%")>=0?"100%":"auto"};else if("video"===p.layertype){r.manageVideoLayer(l,o,s),"rebuild"!==e.mode&&r.resetVideo(l,o,e.mode),null!=p.aspectratio&&p.aspectratio.split(":").length>1&&1==p.bgvideo&&r.prepareCoveredVideo(o,l),p.media=void 0===p.media?p.deepiframe.length>0?jQuery(p.deepiframe[0]):jQuery(p.deepmedia[0]):p.media,p.html5vid=void 0===p.html5vid?!(p.deepiframe.length>0):p.html5vid,p.mediaOBJ={display:"block"};var R=p.width[r[o].level],O=p.height[r[o].level];if(R="auto"===R?R:!r.isNumeric(R)&&R.indexOf("%")>0?p._incolumn||p._ingroup?"100%":"grid"===p.basealign?r.iWA(o,e.slideIndex)*r[o].CM.w:f:"off"!==p.rsp_bd?parseFloat(R)*r[o].CM.w+"px":parseFloat(R)+"px",O="auto"===O?O:!r.isNumeric(O)&&O.indexOf("%")>0?"grid"===p.basealign?r.iHE(o)*r[o].CM.w:b:"off"!==p.rsp_bd?parseFloat(O)*r[o].CM.h+"px":parseFloat(O)+"px",p.vd=void 0===p.vd?r[o].videos[l[0].id].ratio.split(":").length>1?r[o].videos[l[0].id].ratio.split(":")[0]/r[o].videos[l[0].id].ratio.split(":")[1]:1:p.vd,!p._incolumn||"100%"!==R&&"auto"!==O||void 0===p.ytid)-1==l[0].className.indexOf("rs-fsv")?(O="auto"===O&&void 0!==p.vd&&"auto"!==R?"100%"===R?l.width()/p.vd:R/p.vd:O,p.vidOBJ={width:R,height:O}):("grid"!==p.basealign&&(_=0,S=0),p.x=r.revToResp(0,r[o].rle,0),p.y=r.revToResp(0,r[o].rle,0),p.vidOBJ={width:R,height:r[o].autoHeight?r[o].canv.height:O}),0!=p.html5vid&&l.hasClass("rs-fsv")||(p.mediaOBJ={width:R,height:O,display:"block"}),p._ingroup&&null!==p.vidOBJ.width&&void 0!==p.vidOBJ.width&&!r.isNumeric(p.vidOBJ.width)&&p.vidOBJ.width.indexOf("%")>0&&(p.OBJUPD.lppmOBJ={minWidth:R});else{var I=l.width(),M="auto"===O?I/p.vd:O;p.vidOBJ={width:"auto",height:M},p.heightSetByVideo=!0}}p._slidelink||r[o].caches.calcResponsiveLayersList.push({a:l,b:o,c:0,d:p.rsp_bd,e:e.slideIndex}),"on"===p.rsp_ch&&"row"!==p.type&&"column"!==p.type&&"group"!==p.type&&"image"!==p.type&&"video"!==p.type&&"shape"!==p.type&&l.find("*").each(function(){var i=jQuery(this);"true"!==r.gA(this,"stylerecorder")&&!0!==r.gA(this,"stylerecorder")&&A(i,"rekursive",o),r[o].caches.calcResponsiveLayersList.push({a:i,b:o,c:"rekursive",d:p.rsp_bd,e:e.slideIndex,RSL:l})})}if("preset"!==e.mode){if(p.oldeow=p.eow,p.oldeoh=p.eoh,p.eow=l.outerWidth(!0),p.eoh=l.outerHeight(!0),void 0!==p.metas&&void 0!==p.metas.csi&&p.metas.csi.change!==r[o].focusedSlideIndex){p.metas.csi.change=r[o].focusedSlideIndex;g=parseInt(p.metas.csi.change)+1;p.metas.csi.c.innerHTML=(r[o].realslideamount>9&&g<10?"0":"")+g}if(p.imgInFirefox="image"==p.type&&"auto"==p.width[r[o].level]&&"100%"==p.height[r[o].level]&&r.isFirefox(o),p.imgInFirefox){var T=p.img.width();p.eow=0!==T?T:p.eow}if(p.eow<=0&&void 0!==p.lastknownwidth&&(p.eow=p.lastknownwidth),p.eoh<=0&&void 0!==p.lastknownheight&&(p.eoh=p.lastknownheight),void 0!==p.corners&&("text"===p.type||"button"===p.type||"shape"===p.type)){for(a in p.corners)if(p.corners.hasOwnProperty(a)){p.corners[a].css("borderWidth",p.eoh+"px");var C="rs-fcrt"===a||"rs-fcr"===a;p.corners[a].css("border"+(C?"Right":"Left"),"0px solid transparent"),p.corners[a].css("border"+("rs-fcrt"==a||"rs-bcr"==a?"Bottom":"Top")+"Color",p.bgcol)}p.eow=l.outerWidth(!0)}0==p.eow&&0==p.eoh&&(p.eow="grid"===p.basealign?r[o].content.width:r[o].module.width,p.eoh="grid"===p.basealign?r[o].content.height:r[o].module.height),p.basealign=r[o].justifyCarousel?"grid":p.basealign;var D="on"===p.rsp_o?parseInt(p.voffset[r[o].level],0)*r[o].CM.w:parseInt(p.voffset[r[o].level],0),P="on"===p.rsp_o?parseInt(p.hoffset[r[o].level],0)*r[o].CM.h:parseInt(p.hoffset[r[o].level],0),B="grid"===p.basealign?r.iWA(o,e.slideIndex)*r[o].CM.w:f,z="grid"===p.basealign?r.iHE(o)*(r[o].keepBPHeight||r[o].currentRowsHeight>r[o].gridheight[r[o].level]?1:r[o].CM.h):b;(1==r[o].gridEQModule||void 0!==p._lig&&"row"!==p.type&&"column"!==p.type&&"group"!==p.type)&&(B=void 0!==p._lig?p._lig.width():r[o].module.width,z=void 0!==p._lig?p._lig.height():r[o].module.height,_=0,S=0),"video"===p.type&&null!=p.vidOBJ&&(p.vidOBJ.height>=0&&0===p.eoh&&(p.eoh=p.vidOBJ.height),p.vidOBJ.width>=0&&0===p.eow&&(p.eow=p.vidOBJ.width)),h="c"===h||"m"===h||"center"===h||"middle"===h?B/2-p.eow/2+P:"l"===h||"left"===h?P:"r"===h||"right"===h?B-p.eow-P:"off"!==p.rsp_o?h*r[o].CM.w:h,m="m"===m||"c"===m||"center"===m||"middle"===m?z/2-p.eoh/2+D:"t"===m||"top"==m?D:"b"===m||"bottom"==m?z-p.eoh-D:"off"!==p.rsp_o?m*r[o].CM.w:m,h=p._slidelink?0:r[o].rtl&&-1==(""+p.width[r[o].level]).indexOf("%")?parseInt(h)+p.eow:h,p.calcx=parseInt(h,0)+_,p.calcy=parseInt(m,0)+S,"row"!==p.type&&"column"!==p.type?p.OBJUPD.POBJ={zIndex:p.zindex,top:p.calcy,left:p.calcx,overwrite:"auto"}:"row"!==p.type?p.OBJUPD.POBJ={zIndex:p.zindex,width:p.columnwidth,top:0,left:0,overwrite:"auto"}:"row"===p.type&&(p.OBJUPD.POBJ={zIndex:p.zindex,width:"grid"===p.basealign?B+"px":"100%",top:0,left:r[o].rtl?-1*_:_,overwrite:"auto"},p.cbreak<=r[o].level?-1===l[0].className.indexOf("rev_break_columns")&&l[0].classList.add("rev_break_columns"):l[0].className.indexOf("rev_break_columns")>0&&l[0].classList.remove("rev_break_columns"),p.rowcalcx=p.OBJUPD.POBJ.left,p.pow=p.p.outerWidth(!0)),void 0!==p.blendmode&&(p.OBJUPD.POBJ.mixBlendMode="color"===p.blendmode&&window.isSafari11?"color-burn":p.blendmode),(void 0!==p.frames.loop||p.imgInFirefox)&&(p.OBJUPD.LPOBJ={width:p.eow,height:p.eoh}),p._ingroup&&(void 0!==p._groupw&&!r.isNumeric(p._groupw)&&p._groupw.indexOf("%")>0&&(p.OBJUPD.lppmOBJ.minWidth=p._groupw),void 0!==p._grouph&&!r.isNumeric(p._grouph)&&p._grouph.indexOf("%")>0&&(p.OBJUPD.lppmOBJ.minHeight=p._grouph)),"updateposition"===e.mode&&(p.caches.POBJ_LEFT===p.OBJUPD.POBJ.left&&p.caches.POBJ_TOP===p.OBJUPD.POBJ.top||(tpGS.gsap.set(p.p,p.OBJUPD.POBJ),p.caches.POBJ_LEFT=p.OBJUPD.POBJ.left,p.caches.POBJ_TOP=p.OBJUPD.POBJ.top)),e.animcompleted&&r.animcompleted(l,o)}}},hoverReverseDone:function(e){r[e.id]._L[e.L[0].id].textDecoration&&tpGS.gsap.set(r[e.id]._L[e.L[0].id].c,{textDecoration:r[e.id]._L[e.L[0].id].textDecoration})},animcompleted:function(e,i,t){if(void 0!==r[i].videos){var a=r[i].videos[e[0].id];null!=a&&null!=a.type&&"none"!=a.type&&(1==a.aplay||"true"==a.aplay||"on"==a.aplay||"1sttime"==a.aplay?(("static"===a.slideid||"carousel"!==r[i].sliderType||e.closest("rs-slide").index()==r[i].carousel.focused||e.closest("rs-slide").index()==r[i].activeRSSlide&&r[i].carousel.oldfocused==r[i].carousel.focused||t)&&r.playVideo(e,i),r.toggleState(e.data("videotoggledby")),(a.aplay1||"1sttime"==a.aplay)&&(a.aplay1=!1,a.aplay=!1)):("no1sttime"==a.aplay&&(a.aplay=!0),r.unToggleState(e.data("videotoggledby"))))}},handleStaticLayers:function(e,i){var t=0,a=r[i].realslideamount+1;if(void 0!==r.gA(e[0],"onslides")){var o=r.gA(e[0],"onslides").split(";");for(var s in o)if(o.hasOwnProperty(s)){var n=o[s].split(":");"s"===n[0]&&(t=parseInt(n[1],0)),"e"===n[0]&&(a=parseInt(n[1],0))}}t=Math.max(0,t),a=Math.min(r[i].realslideamount,a<0?r[i].realslideamount:a),a=1!==t&&0!==t||a!==r[i].realslideamount?a:r[i].realslideamount+1,e.data("startslide",t),e.data("endslide",a),r.sA(e[0],"startslide",t),r.sA(e[0],"endslide",a)},updateLayersOnFullStage:function(e){if(r[e].caches.calcResponsiveLayersList.length>0){!0!==r[e].slideHasIframe&&!0!==r[e].fullScreenMode&&!0!==r[e].skipAttachDetach&&("carousel"===r[e].sliderType?r[e].carousel.wrap.detach():r[e].canvas.detach());for(var i=0;i<r[e].caches.calcResponsiveLayersList.length;i++)void 0!==r[e].caches.calcResponsiveLayersList[i]&&z(r[e].caches.calcResponsiveLayersList[i]);!0!==r[e].slideHasIframe&&!0!==r[e].fullScreenMode&&!0!==r[e].skipAttachDetach&&("carousel"===r[e].sliderType?r[e].c[0].appendChild(r[e].carousel.wrap[0]):r[e].c[0].appendChild(r[e].canvas[0]))}},animateTheLayers:function(e){if(void 0===e.slide)return!1;var i=e.id;if(void 0===r[i].slides[e.slide]&&"individual"!==e.slide)return!1;if("carousel"===r[i].sliderType){if("start"===e.mode&&"start"===r[i].lastATLmode){if(e.slide===r[i].lastATLslide&&(new Date).getTime()-r[i].lastATLtime<1500)return;r[i].lastATLtime=(new Date).getTime()}r[i].lastATLmode=e.mode,r[i].lastATLslide=e.slide}var t="individual"!==e.slide?r.gA(r[i].slides[e.slide],"key"):"individual",a=r[i].pr_processing_key||r[i].pr_active_key||0;r[i].focusedSlideIndex=a,r[i].caches.calcResponsiveLayersList=[],r[i].layers=r[i].layers||{},"individual"===t?r[i].layers.individual=void 0===r[i].layers.individual?"all"===r[i].carousel.showLayersAllTime?T(jQuery(r[i].c),"rs-layer","rs-layer-static"):T(jQuery(r[i].c),"rs-on-car"):r[i].layers.individual:(r[i].layers[t]=void 0===r[i].layers[t]?"all"===r[i].carousel.showLayersAllTime?[]:T(jQuery(r[i].slides[e.slide]),"rs-layer","carousel"===r[i].sliderType?"rs-on-car":void 0):r[i].layers[t],r[i].layers.static=void 0===r[i].layers.static?T(jQuery(r[i].c.find("rs-static-layers")),"rs-layer","rs-on-car"):r[i].layers.static,r[i].sbas[t]=void 0===r[i].sbas[t]?T(jQuery(r[i].slides[e.slide]),"rs-sba"):r[i].sbas[t]);var o="rebuild"===e.mode&&"carousel"===r[i].sliderType&&"individual"===t;void 0!==t&&r[i].layers[t]&&r.initLayer({id:i,slideIndex:e.slide,skey:t,mode:e.mode,animcompleted:o}),r[i].layers.static&&r.initLayer({id:i,skey:"static",slideIndex:"static",mode:e.mode,animcompleted:o}),r.updateLayersOnFullStage(i),"preset"!==e.mode||void 0!==r[i].slidePresets&&void 0!==r[i].slidePresets[e.slide]||(r[i].slidePresets=void 0===r[i].slidePresets?{}:r[i].slidePresets,r[i].slidePresets[e.slide]=!0,r[i].c.trigger("revolution.slideprepared",{slide:e.slide,key:t})),r[i].heightInLayers=r[i].module.height,r[i].widthInLayers=r[i].module.width,r[i].levelInLayers=r[i].level;var s={id:i,skey:t,slide:e.slide,key:t,mode:e.mode,index:a};window.requestAnimationFrame(function(){if(void 0===r[i].dimensionReCheck[t]?(r.updateLayerDimensions(s),!0!==r[i].doubleDimensionCheck?setTimeout(function(){r.updateLayerDimensions(s),r.updateRowZones(s)},150):r.updateRowZones(s),r[i].doubleDimensionCheck=!0,r[i].dimensionReCheck[t]=!0):r.updateRowZones(s),void 0!==t&&r[i].layers[t])for(var a in r[i].layers[t])r[i].layers[t].hasOwnProperty(a)&&r.renderLayerAnimation({layer:jQuery(r[i].layers[t][a]),id:i,mode:e.mode,caller:e.caller});if(r[i].layers.static)for(var a in r[i].layers.static)r[i].layers.static.hasOwnProperty(a)&&r.renderLayerAnimation({layer:jQuery(r[i].layers.static[a]),id:i,mode:e.mode,caller:e.caller});null!=r[i].mtl&&r[i].mtl.resume()})},updateRowZones:function(e){(void 0!==r[e.id].rowzones&&r[e.id].rowzones.length>0&&e.index>=0&&r[e.id].rowzones[Math.min(e.index,r[e.id].rowzones.length)]&&r[e.id].rowzones[Math.min(e.index,r[e.id].rowzones.length)].length>0||void 0!==r[e.id].srowzones&&r[e.id].srowzones.length>0||void 0!==r[e.id].smiddleZones&&r[e.id].smiddleZones.length>0)&&(r.updateDims(e.id),r.initLayer({id:e.id,skey:e.key,slideIndex:e.slide,mode:"updateposition"}),r.initLayer({id:e.id,skey:"static",slideIndex:"static",mode:"updateposition"}),"start"!==e.mode&&"preset"!==e.mode||r.manageNavigation(e.id),window.requestAnimationFrame(function(){r.putRowsInPosition(e.id)}))},updateLayerDimensions:function(e){var i=!1;r[e.id].caches.calcResponsiveLayersList=[],void 0===e.key||"individual"!=e.key&&void 0===r[e.id].layers[e.key]||!r.checkLayerDimensions({id:e.id,skey:e.key,slideIndex:e.slide})||(i=!0),r.initLayer({id:e.id,skey:e.key,slideIndex:e.slide,mode:"updateAndResize"}),r[e.id].layers.static&&r.checkLayerDimensions({id:e.id,skey:"static",slideIndex:"static"})&&(i=!0,r.initLayer({id:e.id,skey:"static",slideIndex:"static",mode:"updateAndResize"})),i&&r.updateLayersOnFullStage(e.id)},updateAnimatingLayerPositions:function(e){r.initLayer({id:e.id,skey:e.key,slideIndex:e.slide,mode:"updateposition"})},removeTheLayers:function(e,i,t){var a=r.gA(e[0],"key");for(var o in r[i].sloops&&r[i].sloops[a]&&r[i].sloops[a].tl&&r[i].sloops[a].tl.pause(),r[i].layers[a])r[i].layers[a].hasOwnProperty(o)&&r.renderLayerAnimation({layer:jQuery(r[i].layers[a][o]),frame:"frame_999",mode:"continue",remove:!0,id:i,allforce:t});for(var o in r[i].layers.static)r[i].layers.static.hasOwnProperty(o)&&r.renderLayerAnimation({layer:jQuery(r[i].layers.static[o]),frame:"frame_999",mode:"continue",remove:!0,id:i,allforce:t})},renderLayerAnimation:function(e){var t,a=e.layer,o=e.id,u=r[o].level,h=r[o]._L[a[0].id],v=void 0!==h.timeline?h.timeline.time():void 0,f=!1,w=!1,y="none";if(("containerResized_2"!==e.caller&&"swapSlideProgress_2"!==e.caller||!0===h.animationRendered)&&(h.animationRendered=!0,"preset"!==e.mode||!0===h.frames.frame_1.timeline.waitoncall||void 0!==h.scrollBasedOffset)){if("trigger"==e.mode&&(h.triggeredFrame=e.frame),h._isstatic){var S="carousel"===r[o].sliderType&&void 0!==r[o].carousel.oldfocused?r[o].carousel.oldfocused:void 0===r[o].pr_lastshown_key?1:parseInt(r[o].pr_lastshown_key,0)+1,k="carousel"===r[o].sliderType?void 0===r[o].pr_next_key?0===S?1:S:parseInt(r[o].pr_next_key,0)+1:void 0===r[o].pr_processing_key?S:parseInt(r[o].pr_processing_key,0)+1,L=S>=h.startslide&&S<=h.endslide,R=k>=h.startslide&&k<=h.endslide;if(y=S===h.endslide&&"continue"===e.mode||("continue"===e.mode||S===h.endslide)&&"none",!0===e.allforce||!0===y){if("continue"===e.mode&&"frame_999"===e.frame&&(R||void 0===h.lastRequestedMainFrame))return}else{if("preset"===e.mode&&(h.elementHovered||!R))return;if("rebuild"===e.mode&&!L&&!R)return;if("start"===e.mode&&R&&"frame_1"===h.lastRequestedMainFrame)return;if(("start"===e.mode||"preset"===e.mode)&&"frame_999"===h.lastRequestedMainFrame&&!0!==h.leftstage)return;if("continue"===e.mode&&"frame_999"===e.frame&&(R||void 0===h.lastRequestedMainFrame))return;if("start"===e.mode&&!R)return;if("rebuild"===e.mode&&h.elementHovered&&h._isstatic&&h.hovertimeline)return}}else"start"===e.mode&&"keep"!==h.triggercache&&(h.triggeredFrame=void 0);for(var O in"start"===e.mode&&(void 0!==h.layerLoop&&(h.layerLoop.count=0),e.frame=void 0===h.triggeredFrame?0:h.triggeredFrame),"continue"===e.mode||"trigger"===e.mode||void 0===h.timeline||h._isstatic&&!0===h.leftstage||h.timeline.pause(0),"continue"!==e.mode&&"trigger"!==e.mode||void 0===h.timeline||h.timeline.pause(),h.timeline=tpGS.gsap.timeline({paused:!0}),"text"!==h.type&&"button"!==h.type||void 0!==h.splitText&&(void 0!==h.splitTextFix||"start"!==e.mode&&"preset"!==e.mode)||(b({layer:a,id:o}),"start"===e.mode&&(h.splitTextFix=!0)),h.ford)if(h.ford.hasOwnProperty(O)){var I=h.ford[O],M=!1;if("frame_0"!==I&&"frame_hover"!==I&&"loop"!==I){if("frame_999"===I&&!h.frames[I].timeline.waitoncall&&h.frames[I].timeline.start>=r[o].duration&&!0!==e.remove&&(h.frames[I].timeline.waitoncall=!0),"start"===e.mode&&"keep"!==h.triggercache&&(h.frames[I].timeline.callstate=h.frames[I].timeline.waitoncall?"waiting":""),"trigger"===e.mode&&h.frames[I].timeline.waitoncall&&(I===e.frame?(h.frames[I].timeline.triggered=!0,h.frames[I].timeline.callstate="called"):h.frames[I].timeline.triggered=!1),"rebuild"===e.mode||h.frames[I].timeline.triggered||(h.frames[I].timeline.callstate=h.frames[I].timeline.waitoncall?"waiting":""),!1!==e.fastforward){if(("continue"===e.mode||"trigger"===e.mode)&&!1===w&&I!==e.frame)continue;if(("rebuild"===e.mode||"preset"===e.mode)&&!1===w&&void 0!==h.triggeredFrame&&I!==h.triggeredFrame)continue;(I===e.frame||"rebuild"===e.mode&&I===h.triggeredFrame)&&(w=!0)}else I===e.frame&&(w=!0);if(I!==e.frame&&h.frames[I].timeline.waitoncall&&"called"!==h.frames[I].timeline.callstate&&(f=!0),I!==e.frame&&w&&(f=!0===f&&h.frames[I].timeline.waitoncall?"skiprest":!0!==f&&f),void 0===h.hideonfirststart&&"frame_1"===I&&h.frames[I].timeline.waitoncall&&(h.hideonfirststart=!0),f&&"waiting"===h.frames[I].timeline.callstate&&"preset"===e.mode&&1!=h.firstTimeRendered){if(h._isstatic&&void 0===h.currentframe)continue;M=!0,h.firstTimeRendered=!0}else if("skiprest"===f||"called"!==h.frames[I].timeline.callstate&&f&&e.toframe!==I)continue;if("frame_999"!==I||!1!==y||"continue"!==e.mode&&"start"!==e.mode&&"rebuild"!==e.mode){h.fff="frame_1"===I&&("trigger"!==e.mode||"frame_999"===h.currentframe||"frame_0"===h.currentframe||void 0===h.currentframe),"trigger"===e.mode&&"frame_1"===e.frame&&!1===h.leftstage&&(h.fff=!1),M||(h.frames[I].timeline.callstate="called",h.currentframe=I);var T=h.frames[I],C=h.fff?h.frames.frame_0:void 0,A=tpGS.gsap.timeline(),D=tpGS.gsap.timeline(),P=h.c,B=void 0!==T.sfx&&_(T.sfx.effect,h.m,T.timeline.ease),z=T.timeline.speed/1e3,G=0,H=x({id:o,frame:T,layer:a,ease:T.timeline.ease,splitAmount:P.length,target:I,forcefilter:void 0!==h.frames.frame_hover&&void 0!==h.frames.frame_hover.filter}),E=h.fff?x({id:o,frame:C,layer:a,ease:T.timeline.ease,splitAmount:P.length,target:"frame_0"}):void 0,F=void 0!==T.mask?x({id:o,frame:{transform:{x:T.mask.x,y:T.mask.y}},layer:a,ease:H.ease,target:"mask"}):void 0,N=void 0!==F&&h.fff?x({id:o,frame:{transform:{x:C.mask.x,y:C.mask.y}},layer:a,ease:H.ease,target:"frommask"}):void 0,j=H.ease;if(H.force3D=!0,"block"===B.type&&(B.ft[0].background=T.sfx.fxc,B.ft[0].visibility="visible",B.ft[1].visibility="visible",A.add(tpGS.gsap.fromTo(B.bmask_in,z/2,B.ft[0],B.ft[1],0)),A.add(tpGS.gsap.fromTo(B.bmask_in,z/2,B.ft[1],B.t,z/2)),"frame_0"!==I&&"frame_1"!==I||(E.opacity=0)),void 0!==T.color?H.color=T.color:void 0!==h.color&&"npc"!==h.color[u]&&(H.color=h.color[u]),void 0!==C&&void 0!==C.color?E.color=C.color:void 0!==C&&void 0!==h.color&&"npc"!==h.color[u]&&(E.color=h.color[u]),void 0!==T.bgcolor?T.bgcolor.indexOf("gradient")>=0?H.background=T.bgcolor:H.backgroundColor=T.bgcolor:!0===h.bgcolinuse&&(h.bgcol.indexOf("gradient")>=0?H.background=h.bgcol:H.backgroundColor=h.bgcol),void 0!==C&&(void 0!==C.bgcolor?C.bgcolor.indexOf("gradient")>=0?E.background=C.bgcolor:E.backgroundColor=C.bgcolor:!0===h.bgcolinuse&&(h.bgcol.indexOf("gradient")>=0?E.background=h.bgcol:E.backgroundColor=h.bgcol)),void 0!==h.splitText&&!1!==h.splitText)for(var W in i)if(void 0!==T[i[W]]&&!h.quickRendering){var V=h.splitText[i[W]],U=x({id:o,frame:T,source:i[W],ease:j,layer:a,splitAmount:V.length,target:I+"_"+i[W]}),X=h.fff?x({id:o,frame:C,ease:U.ease,source:i[W],layer:a,splitAmount:V.length,target:"frame_0_"+i[W]}):void 0,Q=h.frames[I].dosplit?void 0===T[i[W]].delay?.05:T[i[W]].delay/100:0;h.color[u]===H.color&&"frame_1"===I||(U.color=H.color),void 0!==E&&h.color[u]!==E.color&&(X.color=E.color),void 0!==X&&X.color!==H.color&&(U.color=H.color);var Y=r.clone(U),J=h.fff?r.clone(X):void 0,q=T[i[W]].dir;delete Y.dir,Y.data={splitted:!0},Y.stagger="center"===q||"edge"===q?l({each:Q,offset:Q/2,from:q}):{each:Q,from:q},Y.duration=z,void 0!==J&&(void 0!==J.opacity&&(r.ISM||window.isSafari11)&&(J.opacity=Math.max(.001,parseFloat(J.opacity))),delete J.dir),h.fff?A.add(D.fromTo(V,J,Y),0):A.add(D.to(V,Y),0),G=Math.max(G,V.length*Q)}if(z+=G,void 0===t&&(t="isometric"===r[o].perspectiveType?0:"local"===r[o].perspectiveType?void 0!==H.transformPerspective?H.transformPerspective:h.fff&&void 0!==E.transfromPerspective?E.transfromPerspective:r[o].perspective:r[o].perspective),h.knowTransformPerspective=t,h.fsom&&(void 0!==H.filter||h.fff&&void 0!==E.filter)?(F.filter=H.filter,F["-webkit-filter"]=H.filter,delete H.filter,delete H["-webkit-filter"],h.fff&&void 0!==E.filter&&((N=N||{}).filter=E.filter,N["-webkit-filter"]=E.filter,delete E.filter,delete E["-webkit-filter"]),h.forceFsom=!0):h.forceFsom=!1,h.useMaskAnimation=h.pxundermask||void 0!==F&&(void 0!==C&&"hidden"===C.mask.overflow||"hidden"===T.mask.overflow),h.useMaskAnimation||h.forceFsom)h.useMaskAnimation?A.add(tpGS.gsap.to(h.m,.001,{overflow:"hidden"}),0):A.add(tpGS.gsap.to(h.m,.001,{overflow:"visible"}),0),"column"===h.type&&h.useMaskAnimation&&A.add(tpGS.gsap.to(h.cbgmask,.001,{overflow:"hidden"}),0),h.btrans&&(N&&(N.rotationX=h.btrans.rX,N.rotationY=h.btrans.rY,N.rotationZ=h.btrans.rZ,N.opacity=h.btrans.o),F.rotationX=h.btrans.rX,F.rotationY=h.btrans.rY,F.rotationZ=h.btrans.rZ,F.opacity=h.btrans.o),h.fff?A.add(tpGS.gsap.fromTo([h.m,h.cbgmask],z,r.clone(N),r.clone(F)),.001):A.add(tpGS.gsap.to([h.m,h.cbgmask],z,r.clone(F)),.001);else if(void 0!==h.btrans){var Z={x:0,y:0,filter:"none",opacity:h.btrans.o,rotationX:h.btrans.rX,rotationY:h.btrans.rY,rotationZ:h.btrans.rZ,overflow:"visible"};0===h.btrans.rX&&0==h.btrans.rY||(h.maskHasPerspective=!0,Z.transformPerspective=t),A.add(tpGS.gsap.to(h.m,.001,Z),0)}else A.add(tpGS.gsap.to(h.m,.001,{clearProps:"transform",overflow:"hidden"==h.ofHidOnHov?"hidden":"visible"}),0);H.force3D="auto",h.fff?(H.visibility="visible",void 0!==h.cbg&&A.fromTo(h.cbg,z,E,H,0),r[o].BUG_safari_clipPath&&(E.clipPath||H.clipPath||h.spike),void 0!==h.cbg&&"column"===h.type?A.fromTo(P,z,s(E),s(H),0):A.fromTo(P,z,E,H,0),A.invalidate()):("frame_999"!==h.frame&&(H.visibility="visible"),void 0!==h.cbg&&A.to(h.cbg,z,H,0),void 0!==h.cbg&&"column"===h.type?A.to(P,z,s(H),0):A.to(P,z,H,0)),void 0!==j&&"object"!=typeof j&&"function"!=typeof j&&j.indexOf("SFXBounce")>=0&&A.to(P,z,{scaleY:.5,scaleX:1.3,ease:H.ease+"-squash",transformOrigin:"bottom"},1e-4);var K="trigger"!==e.mode&&(!0!==f&&"skiprest"!==f||"rebuild"!==e.mode)||e.frame===I||void 0===T.timeline.start||!r.isNumeric(T.timeline.start)?"+=0"===T.timeline.start||void 0===T.timeline.start?"+=0.05":parseInt(T.timeline.start,0)/1e3:"+="+parseInt(T.timeline.startRelative,0)/1e3;h.timeline.addLabel(I,K),h.timeline.add(A,K),h.timeline.addLabel(I+"_end","+=0.01"),A.eventCallback("onStart",c,[{id:o,frame:I,L:a,tPE:t}]),"true"==h.animationonscroll||1==h.animationonscroll?(A.eventCallback("onUpdate",p,[{id:o,frame:I,L:a}]),A.smoothChildTiming=!0):A.eventCallback("onUpdate",p,[{id:o,frame:I,L:a}]),A.eventCallback("onComplete",g,[{id:o,frame:I,L:a,tPE:t}])}}}if(void 0!==h.frames.loop){var $=parseInt(h.frames.loop.timeline.speed,0)/1e3,ee=parseInt(h.frames.loop.timeline.start)/1e3||0,ie="trigger"!==e.mode&&"frame_999"!==e.frame||"frame_999"!==e.frame?.2:0,te=ee+ie;h.loop={root:tpGS.gsap.timeline({}),preset:tpGS.gsap.timeline({}),move:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_move}),rotate:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_rotate}),scale:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_scale}),filter:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_filter})};var ae=h.frames.loop.frame_0,oe=h.frames.loop.frame_999,re="blur("+parseInt(ae.blur||0,0)+"px) grayscale("+parseInt(ae.grayscale||0,0)+"%) brightness("+parseInt(ae.brightness||100,0)+"%)",se="blur("+(oe.blur||0)+"px) grayscale("+(oe.grayscale||0)+"%) brightness("+(oe.brightness||100)+"%)";if(h.loop.root.add(h.loop.preset,0),h.loop.root.add(h.loop.move,ie),h.loop.root.add(h.loop.rotate,ie),h.loop.root.add(h.loop.scale,ie),h.loop.root.add(h.loop.filter,ie),"blur(0px) grayscale(0%) brightness(100%)"===re&&"blur(0px) grayscale(0%) brightness(100%)"===se&&(re="none",se="none"),oe.originX=ae.originX,oe.originY=ae.originY,oe.originZ=ae.originZ,void 0===t&&(t="isometric"===r[o].perspectiveType?0:"local"===r[o].perspectiveType&&void 0!==H?void 0!==H.transformPerspective?H.transformPerspective:h.fff&&void 0!==E.transfromPerspective?E.transfromPerspective:r[o].perspective:r[o].perspective),h.frames.loop.timeline.curved){var ne=parseInt(h.frames.loop.timeline.radiusAngle,0)||0,de=[{x:(ae.x-ae.xr)*r[o].CM.w,y:0,z:(ae.z-ae.zr)*r[o].CM.w},{x:0,y:(ae.y+ae.yr)*r[o].CM.w,z:0},{x:(oe.x+oe.xr)*r[o].CM.w,y:0,z:(oe.z+oe.zr)*r[o].CM.w},{x:0,y:(oe.y-oe.yr)*r[o].CM.w,z:0}],le={type:"thru",curviness:h.frames.loop.timeline.curviness,path:[],autoRotate:h.frames.loop.timeline.autoRotate};for(var ce in de)de.hasOwnProperty(ce)&&(le.path[ce]=de[ne],ne=++ne==de.length?0:ne);("trigger"!==e.mode&&"frame_999"!==e.frame||"frame_999"!==e.frame)&&h.loop.preset.fromTo(h.lp,ie,{"-webkit-filter":re,filter:re,x:0,y:0,z:0,minWidth:h._incolumn||h._ingroup?"100%":void 0===h.eow?0:h.eow,minHeight:h._incolumn||h._ingroup?"100%":void 0===h.eoh?0:h.eoh,scaleX:1,scaleY:1,skewX:0,skewY:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:t,transformOrigin:oe.originX+" "+oe.originY+" "+oe.originZ,opacity:1},d({x:le.path[3].x,y:le.path[3].y,z:le.path[3].z,scaleX:ae.scaleX,skewX:ae.skewX,skewY:ae.skewY,scaleY:ae.scaleY,rotationX:ae.rotationX,rotationY:ae.rotationY,rotationZ:ae.rotationZ,"-webkit-filter":re,filter:re,ease:"sine.inOut",opacity:ae.opacity}),0),n(le)&&h.loop.move.to(h.lp,h.frames.loop.timeline.yoyo_move?$/2:$,{motionPath:le,ease:h.frames.loop.timeline.ease})}else("trigger"!==e.mode&&"frame_999"!==e.frame||"frame_999"!==e.frame)&&h.loop.preset.fromTo(h.lp,ie,{"-webkit-filter":re,filter:re,x:0,y:0,z:0,minWidth:h._incolumn||h._ingroup?"100%":void 0===h.eow?0:h.eow,minHeight:h._incolumn||h._ingroup?"100%":void 0===h.eoh?0:h.eoh,scaleX:1,scaleY:1,skewX:0,skewY:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:t,transformOrigin:oe.originX+" "+oe.originY+" "+oe.originZ,opacity:1},d({x:ae.x*r[o].CM.w,y:ae.y*r[o].CM.w,z:ae.z*r[o].CM.w,scaleX:ae.scaleX,skewX:ae.skewX,skewY:ae.skewY,scaleY:ae.scaleY,rotationX:ae.rotationX,rotationY:ae.rotationY,rotationZ:ae.rotationZ,ease:"sine.out",opacity:ae.opacity,"-webkit-filter":re,filter:re}),0),h.loop.move.to(h.lp,h.frames.loop.timeline.yoyo_move?$/2:$,{x:oe.x*r[o].CM.w,y:oe.y*r[o].CM.w,z:oe.z*r[o].CM.w,ease:h.frames.loop.timeline.ease});h.loop.rotate.to(h.lp,h.frames.loop.timeline.yoyo_rotate?$/2:$,{rotationX:oe.rotationX,rotationY:oe.rotationY,rotationZ:oe.rotationZ,ease:h.frames.loop.timeline.ease}),h.loop.scale.to(h.lp,h.frames.loop.timeline.yoyo_scale?$/2:$,d({scaleX:oe.scaleX,scaleY:oe.scaleY,skewX:oe.skewX,skewY:oe.skewY,ease:h.frames.loop.timeline.ease}));var pe={opacity:oe.opacity||1,ease:h.frames.loop.timeline.ease,"-webkit-filter":se,filter:se};h.loop.filter.to(h.lp,h.frames.loop.timeline.yoyo_filter?$/2:$,pe),h.timeline.add(h.loop.root,te)}if(void 0!==h.frames.frame_hover&&("start"===e.mode||void 0===h.hoverframeadded)){h.hoverframeadded=!0;var ge=h.frames.frame_hover.timeline.speed/1e3;ge=0===ge?1e-5:ge,h.hoverlistener||(h.hoverlistener=!0,r.document.on("mouseenter mousemove",("column"===h.type?"#"+h.cbg[0].id+",":"")+"#"+h.c[0].id,function(e){if("mousemove"!==e.type||!0!==h.ignoremousemove){if(h.animationonscroll||h.readyForHover){if(h.elementHovered=!0,h.hovertimeline||(h.hovertimeline=tpGS.gsap.timeline({paused:!0})),0==h.hovertimeline.progress()&&(void 0===h.lastHoveredTimeStamp||(new Date).getTime()-h.lastHoveredTimeStamp>150)&&(h.ignoremousemove=!0,h.ofHidOnHov=h.frames.frame_hover.mask?"hidden":"visible",h.hovertimeline.to([h.m,h.cbgmask],ge,{overflow:h.ofHidOnHov},0),"column"===h.type&&h.hovertimeline.to(h.cbg,ge,r.clone(m(h.frames.frame_hover,h.cbg,{bgCol:h.bgcol,bg:h.styleProps.background})),0),"text"!==h.type&&"button"!==h.type||void 0===h.splitText||!1===h.splitText||h.hovertimeline.to([h.splitText.lines,h.splitText.words,h.splitText.chars],ge,{color:h.frames.frame_hover.color,ease:h.frames.frame_hover.transform.ease},0),"column"===h.type?h.hovertimeline.to(h.c,ge,s(r.clone(m(h.frames.frame_hover,h.c,{bgCol:h.bgcol,bg:h.styleProps.background}))),0):h.hovertimeline.to(h.c,ge,r.clone(m(h.frames.frame_hover,h.c,{bgCol:h.bgcol,bg:h.styleProps.background})),0),"svg"===h.type)){h.svgHTemp=r.clone(h.svgH),delete h.svgHTemp.svgAll;var i=Array.isArray(h.svgHTemp.fill)?h.svgHTemp.fill[r[o].level]:h.svgHTemp.fill;h.svgHTemp.fill=i,h.hovertimeline.to(h.svg,ge,h.svgHTemp,0),h.svg.length<=0&&(h.svg=a.find("svg")),h.svgPath.length<=0&&(h.svgPath=h.svg.find(h.svgI.svgAll?"path, circle, ellipse, line, polygon, polyline, rect":"path")),h.hovertimeline.to(h.svgPath,ge,{fill:i},0)}h.hovertimeline.play()}h.lastHoveredTimeStamp=(new Date).getTime()}}),r.document.on("mouseleave",("column"===h.type?"#"+h.cbg[0].id+",":"")+"#"+h.c[0].id,function(){h.elementHovered=!1,(h.animationonscroll||h.readyForHover)&&void 0!==h.hovertimeline&&(h.hovertimeline.reverse(),h.hovertimeline.eventCallback("onReverseComplete",r.hoverReverseDone,[{id:o,L:a}]))}))}if(M||(h.lastRequestedMainFrame="start"===e.mode?"frame_1":"continue"===e.mode?void 0===e.frame?h.currentframe:e.frame:h.lastRequestedMainFrame),void 0!==e.totime?h.tSTART=e.totime:void 0!==v&&void 0===e.frame?h.tSTART=v:void 0!==e.frame?h.tSTART=e.frame:h.tSTART=0,0===h.tSTART&&void 0===h.startedAnimOnce&&void 0===h.leftstage&&void 0===h.startedAnimOnce&&!0===h.hideonfirststart&&"preset"===e.mode&&(r[o]._L[a[0].id].pVisRequest=0,h.hideonfirststart=!1),"frame_999"!==h.tSTART&&"frame_999"!==h.triggeredFrame||!h.leftstage&&void 0!==h.startedAnimOnce){if("true"!=h.animationonscroll&&1!=h.animationonscroll?h.timeline.play(h.tSTART):h.timeline.time(h.tSTART),jQuery.inArray(h.type,["group","row","column"])>=0&&void 0!==e.frame){if(void 0===h.childrenJS)for(var W in h.childrenJS={},r[o]._L)void 0!==r[o]._L[W]._lig&&void 0!==r[o]._L[W]._lig[0]&&r[o]._L[W]._lig[0].id===a[0].id&&r[o]._L[W]._lig[0].id!==r[o]._L[W].c[0].id&&(h.childrenJS[r[o]._L[W].c[0].id]=r[o]._L[W].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 ue=void 0===e.totime?void 0!==h.frames[e.frame].timeline.startAbsolute?parseInt(h.frames[e.frame].timeline.startAbsolute,0)/1e3:void 0!==h.frames[e.frame].timeline.start?r.isNumeric(h.frames[e.frame].timeline.start)?parseInt(h.frames[e.frame].timeline.start,0)/1e3:0:.001:e.totime;if(!0===e.updateChildren)for(var W in h.childrenJS)h.childrenJS.hasOwnProperty(W)&&r.renderLayerAnimation({layer:h.childrenJS[W],fastforward:!1,id:o,mode:"continue",updateChildren:!0,totime:ue});else for(var W in h.childrenJS)h.childrenJS.hasOwnProperty(W)&&r[o]._L[W].pausedTrueParrent&&(r.renderLayerAnimation({layer:h.childrenJS[W],fastforward:!1,id:o,mode:"continue",updateChildren:!0,totime:ue}),r[o]._L[W].pausedTrueParrent=!1)}}else;}}});var s=function(e){var i=r.clone(e);return delete i.backgroundColor,delete i.background,delete i.backgroundImage,delete i.borderSize,delete i.borderStyle,delete i["backdrop-filter"],i},n=function(e){if(void 0!==e&&void 0!==e.path&&Array.isArray(e.path)){var i=0,t=0;for(var a in e.path)!e.path.hasOwnProperty(a)||i>0||t>0||(i+=e.path[a].x,t+=e.path[a].y);return 0!=i||0!=t}},d=function(e){return void 0===e.skewX&&delete e.skewX,void 0===e.skewY&&delete e.skewY,e},l=function(e){e.from="edge"===e.from?"edges":e.from;var i=tpGS.gsap.utils.distribute(e);return function(t,a,o){return i(t,a,o)+(t<=o.length/2?0:e.offset||0)}},c=function(e){r[e.id].BUG_safari_clipPath&&e.L[0].classList.remove("rs-pelock"),(r[e.id]._L[e.L[0].id]._ingroup||r[e.id]._L[e.L[0].id]._incolumn||r[e.id]._L[e.L[0].id]._inrow)&&void 0!==r[e.id]._L[r[e.id]._L[e.L[0].id]._ligid]&&void 0!==r[e.id]._L[r[e.id]._L[e.L[0].id]._ligid].timeline&&(r[e.id]._L[r[e.id]._L[e.L[0].id]._ligid].timeline.isActive()||void 0===r[e.id]._L[e.L[0].id]||void 0===r[e.id]._L[e.L[0].id].frames[r[e.id]._L[e.L[0].id].timeline.currentLabel()]||(null==r[e.id]._L[r[e.id]._L[e.L[0].id]._ligid].timezone||r[e.id]._L[r[e.id]._L[e.L[0].id]._ligid].timezone.to<=parseInt(r[e.id]._L[e.L[0].id].frames[r[e.id]._L[e.L[0].id].timeline.currentLabel()].timeline.start,0))&&!0!==r[e.id]._L[e.L[0].id].animOnScrollForceDisable&&(r[e.id]._L[e.L[0].id].pausedTrueParrent=!0,r[e.id]._L[e.L[0].id].timeline.pause()));var i=r[e.id]._L[e.L[0].id],t=i.hovertimeline;t&&t.time()>0&&(t.pause(),t.time(0),t.kill(),delete i.hovertimeline),delete r[e.id]._L[e.L[0].id].childrenAtStartNotVisible,r[e.id]._L[e.L[0].id].pVisRequest=1;var a={layer:e.L};r[e.id]._L[e.L[0].id].ignoremousemove=!1,r[e.id]._L[e.L[0].id].leftstage=!1,r[e.id]._L[e.L[0].id].readyForHover=!1,void 0!==r[e.id]._L[e.L[0].id].layerLoop&&r[e.id]._L[e.L[0].id].layerLoop.from===e.frame&&r[e.id]._L[e.L[0].id].layerLoop.count++,"frame_1"===e.frame&&"Safari"===window.RSBrowser&&void 0===r[e.id]._L[e.L[0].id].safariRenderIssue&&(tpGS.gsap.set([r[e.id]._L[e.L[0].id].c],{opacity:1}),r[e.id]._L[e.L[0].id].safariRenderIssue=!0),"frame_999"!==e.frame&&(r[e.id]._L[e.L[0].id].startedAnimOnce=!0,r[e.id]._L[e.L[0].id].pPeventsRequest=r[e.id]._L[e.L[0].id].noPevents?"none":"auto"),a.eventtype="frame_0"===e.frame||"frame_1"===e.frame?"enterstage":"frame_999"===e.frame?"leavestage":"framestarted",r[e.id]._L[e.L[0].id]._ingroup&&!0!==r[e.id]._L[r[e.id]._L[e.L[0].id]._lig[0].id].frames.frame_1.timeline.waitoncall&&(r[e.id]._L[r[e.id]._L[e.L[0].id]._lig[0].id].pVisRequest=1),r.requestLayerUpdates(e.id,a.eventtype,e.L[0].id,void 0!==r[e.id]._L[e.L[0].id].frames[e.frame]&&void 0!==r[e.id]._L[e.L[0].id].frames[e.frame].timeline&&0==r[e.id]._L[e.L[0].id].frames[e.frame].timeline.usePerspective?e.tPE:"ignore"),a.id=e.id,a.layerid=e.L[0].id,a.layertype=r[e.id]._L[e.L[0].id].type,a.frame_index=e.frame,a.layersettings=r[e.id]._L[e.L[0].id],r[e.id].c.trigger("revolution.layeraction",[a]),"enterstage"===a.eventtype&&r.toggleState(r[e.id]._L[e.L[0].id].layertoggledby),"frame_1"===e.frame&&r.animcompleted(e.L,e.id)},p=function(e){"frame_999"===e.frame&&(r[e.id]._L[e.L[0].id].pVisRequest=1,r[e.id]._L[e.L[0].id].pPeventsRequest=r[e.id]._L[e.L[0].id].noPevents?"none":"auto",r[e.id]._L[e.L[0].id].leftstage=!1,window.requestAnimationFrame(function(){r.requestLayerUpdates(e.id,"update",e.L[0].id)}))},g=function(e){var i=!0;if("column"===r[e.id]._L[e.L[0].id].type||"row"===r[e.id]._L[e.L[0].id].type||"group"===r[e.id]._L[e.L[0].id].type){var t=r[e.id]._L[e.L[0].id].timeline.currentLabel(),a=jQuery.inArray(t,r[e.id]._L[e.L[0].id].ford);a++,a=r[e.id]._L[e.L[0].id].ford.length>a?r[e.id]._L[e.L[0].id].ford[a]:t,void 0!==r[e.id]._L[e.L[0].id].frames[a]&&void 0!==r[e.id]._L[e.L[0].id].frames[t]&&(r[e.id]._L[e.L[0].id].timezone={from:parseInt(r[e.id]._L[e.L[0].id].frames[t].timeline.startAbsolute,0),to:parseInt(r[e.id]._L[e.L[0].id].frames[a].timeline.startAbsolute,0)})}if("frame_999"!==e.frame&&r[e.id].isEdge&&"shape"===r[e.id]._L[e.L[0].id].type){var o=r[e.id]._L[e.L[0].id].c[0].style.opacity;r[e.id]._L[e.L[0].id].c[0].style.opacity=o-1e-4,tpGS.gsap.set(r[e.id]._L[e.L[0].id].c[0],{opacity:o-.001,delay:.05}),tpGS.gsap.set(r[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",r[e.id]._L[e.L[0].id].readyForHover=!0,s.layertype=r[e.id]._L[e.L[0].id].type,s.frame_index=e.frame,s.layersettings=r[e.id]._L[e.L[0].id],r[e.id].c.trigger("revolution.layeraction",[s]),"frame_999"===e.frame&&"leftstage"===s.eventtype?(r[e.id]._L[e.L[0].id].leftstage=!0,r[e.id]._L[e.L[0].id].pVisRequest=0,r[e.id]._L[e.L[0].id].pPeventsRequest="none",i=!1,window.requestAnimationFrame(function(){r.requestLayerUpdates(e.id,"leftstage",e.L[0].id)})):(e.L[0].id,void 0!==r[e.id]._L[e.L[0].id].frames[e.frame]&&void 0!==r[e.id]._L[e.L[0].id].frames[e.frame].timeline&&0==r[e.id]._L[e.L[0].id].frames[e.frame].timeline.usePerspective&&window.requestAnimationFrame(function(){r.requestLayerUpdates(e.id,"frameended",e.L[0].id,e.tPE)})),"leftstage"===s.eventtype&&void 0!==r[e.id].videos&&void 0!==r[e.id].videos[e.L[0].id]&&r.stopVideo&&r.stopVideo(e.L,e.id),"column"===r[e.id]._L[e.L[0].id].type&&tpGS.gsap.to(r[e.id]._L[e.L[0].id].cbg,.01,{visibility:"visible"}),"leftstage"===s.eventtype&&(r.unToggleState(e.layertoggledby),"video"===r[e.id]._L[e.L[0].id].type&&r.resetVideo&&setTimeout(function(){r.resetVideo(e.L,e.id)},100)),r[e.id].BUG_safari_clipPath&&!i&&e.L[0].classList.add("rs-pelock"),void 0!==r[e.id]._L[e.L[0].id].layerLoop&&r[e.id]._L[e.L[0].id].layerLoop.to===e.frame&&(-1==r[e.id]._L[e.L[0].id].layerLoop.repeat||r[e.id]._L[e.L[0].id].layerLoop.repeat>r[e.id]._L[e.L[0].id].layerLoop.count)&&r.renderLayerAnimation({layer:r[e.id]._L[e.L[0].id].c,frame:r[e.id]._L[e.L[0].id].layerLoop.from,updateChildren:r[e.id]._L[e.L[0].id].layerLoop.children,mode:"continue",fastforward:!0===r[e.id]._L[e.L[0].id].layerLoop.keep,id:e.id})},u=function(e){if(void 0===e)return"";var i="";return r.isChrome8889&&0===e.blur&&(e.blur=.05),i=void 0!==e.blur?"blur("+(e.blur||0)+"px)":"",i+=void 0!==e.grayscale?(i.length>0?" ":"")+"grayscale("+(e.grayscale||0)+"%)":"",""===(i+=void 0!==e.brightness?(i.length>0?" ":"")+"brightness("+(e.brightness||100)+"%)":"")?"none":i},h=function(e){if(void 0===e)return"";var i="";return r.isChrome8889&&0===e.b_blur&&(e.b_blur=.05),i=void 0!==e.b_blur?"blur("+(e.b_blur||0)+"px)":"",i+=void 0!==e.b_grayscale?(i.length>0?" ":"")+"grayscale("+(e.b_grayscale||0)+"%)":"",i+=void 0!==e.b_sepia?(i.length>0?" ":"")+"sepia("+(e.b_sepia||0)+"%)":"",i+=void 0!==e.b_invert?(i.length>0?" ":"")+"invert("+(e.b_invert||0)+"%)":"",""===(i+=void 0!==e.b_brightness?(i.length>0?" ":"")+"brightness("+(e.b_brightness||100)+"%)":"")?"none":i},m=function(e,i,t){var a,o=r.clone(e.transform);if((o.originX||o.originY||o.originZ)&&(o.transformOrigin=(void 0===o.originX?"50%":o.originX)+" "+(void 0===o.originY?"50%":o.originY)+" "+(void 0===o.originZ?"50%":o.originZ),delete o.originX,delete o.originY,delete o.originZ),void 0!==e&&void 0!==e.filter&&(o.filter=u(e.filter),o["-webkit-filter"]=o.filter),o.color=void 0===o.color?"rgba(255,255,255,1)":o.color,o.force3D="auto",void 0!==o.borderRadius&&((a=o.borderRadius.split(" ")).length,o.borderTopLeftRadius=a[0],o.borderTopRightRadius=a[1],o.borderBottomRightRadius=a[2],o.borderBottomLeftRadius=a[3],delete o.borderRadius),void 0!==o.borderWidth&&((a=o.borderWidth.split(" ")).length,o.borderTopWidth=a[0],o.borderRightWidth=a[1],o.borderBottomWidth=a[2],o.borderLeftWidth=a[3],delete o.borderWidth),void 0===t.bg||-1===t.bg.indexOf("url")){var s=-1!==t.bgCol.search("gradient"),n=o.backgroundImage&&"string"==typeof o.backgroundImage&&-1!==o.backgroundImage.search("gradient");n&&s?(180!==f(t.bgCol)&&180==f(o.backgroundImage)&&(o.backgroundImage=v(o.backgroundImage,180)),o.backgroundImage=tpGS.getSSGColors(t.bgCol,o.backgroundImage,void 0===o.gs?"fading":o.gs).to):n&&!s?o.backgroundImage=tpGS.getSSGColors(t.bgCol,o.backgroundImage,void 0===o.gs?"fading":o.gs).to:!n&&s&&(o.backgroundImage=tpGS.getSSGColors(t.bgCol,o.backgroundColor,void 0===o.gs?"fading":o.gs).to)}return delete o.gs,o},v=function(e,i){var t=(e=e.split("("))[0];return e.shift(),t+"("+i+"deg, "+e.join("(")},f=function(e){if(-1!==e.search("deg,")){var i=e.split("deg,")[0];if(-1!==i.search(/\(/))return parseInt(i.split("(")[1],10)}return 180},w=function(e,i){if(void 0!==e&&e.indexOf("oc:t")>=0)return{};e=void 0===e?"":e.split(";");var t={fill:r.revToResp("#ffffff",r[i].rle),stroke:"transparent","stroke-width":"0px","stroke-dasharray":"0","stroke-dashoffset":"0"};for(var a in e)if(e.hasOwnProperty(a)){var o=e[a].split(":");switch(o[0]){case"c":t.fill=r.revToResp(o[1],r[i].rle,void 0,"||");break;case"sw":t["stroke-width"]=o[1];break;case"sc":t.stroke=o[1];break;case"so":t["stroke-dashoffset"]=o[1];break;case"sa":t["stroke-dasharray"]=o[1];break;case"sall":t.svgAll=o[1]}}return t},y=function(e){return"c"===e?"center":"l"===e?"left":"r"===e?"right":e},b=function(e){var i=r[e.id]._L[e.layer[0].id],t=!1;if(i.splitText&&!1!==i.splitText&&i.splitText.revert(),"text"===i.type||"button"===i.type){for(var a in i.frames)if(void 0!==i.frames[a].chars||void 0!==i.frames[a].words||void 0!==i.frames[a].lines){t=!0;break}i.splitText=!!t&&new tpGS.SplitText(i.c,{type:"lines,words,chars",wordsClass:"rs_splitted_words",linesClass:"rs_splitted_lines",charsClass:"rs_splitted_chars"})}else i.splitText=!1},_=function(e,i,t){if(void 0!==e&&e.indexOf("block")>=0){var a={};switch(0===i[0].getElementsByClassName("tp-blockmask_in").length&&(i.append('<div class="tp-blockmask_in"></div>'),i.append('<div class="tp-blockmask_out"></div>')),t=void 0===t?"power3.inOut":t,a.ft=[{scaleY:1,scaleX:0,transformOrigin:"0% 50%"},{scaleY:1,scaleX:1,ease:t,immediateRender:!1}],a.t={scaleY:1,scaleX:0,transformOrigin:"100% 50%",ease:t,immediateRender:!1},a.bmask_in=i.find(".tp-blockmask_in"),a.bmask_out=i.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:t,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 100%",ease:t,immediateRender:!1};break;case"blocktotop":case"blockfrombottom":a.ft=[{scaleX:1,scaleY:0,transformOrigin:"50% 100%"},{scaleX:1,scaleY:1,ease:t,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 0%",ease:t,immediateRender:!1}}return a.ft[1].overwrite="auto",a.t.overwrite="auto",a}return!1},S=function(e,i,t,a,o){return 0===r[o].sdir||void 0===i?e:("mask"===t?a="x"===a?"mX":"y"===a?"mY":a:"chars"===t?a="x"===a?"cX":"y"===a?"cY":"dir"===a?"cD":a:"words"===t?a="x"===a?"wX":"y"===a?"wY":"dir"===a?"wD":a:"lines"===t&&(a="x"===a?"lX":"y"===a?"lY":"dir"===a?"lD":a),void 0===i[a]||!1===i[a]?e:void 0!==i&&!0===i[a]?"t"===e||"top"===e?"b":"b"===e||"bottom"===e?"t":"l"===e||"left"===e?"r":"r"===e||"right"===e?"l":-1*parseFloat(e)+((""+e).indexOf("px")>=0?"px":(""+e).indexOf("%")>=0?"%":""):void 0)},x=function(e){var i,t=r[e.id]._L[e.layer[0].id],a=void 0===e.source?r.clone(e.frame.transform):r.clone(e.frame[e.source]),o={originX:"50%",originY:"50%",originZ:"0"},s=void 0!==t._lig?r[e.id]._L[t._lig[0].id].eow:r[e.id].conw,n=void 0!==t._lig?r[e.id]._L[t._lig[0].id].eoh:r[e.id].conh;for(var d in a)if(a.hasOwnProperty(d)){if(a[d]="object"==typeof a[d]?a[d][r[e.id].level]:a[d],"inherit"===a[d]||"delay"===d||"direction"===d||"use"===d)delete a[d];else if("originX"===d||"originY"===d||"originZ"===d)o[d]=a[d],delete a[d];else if(r.isNumeric(a[d],0))a[d]=S(a[d],e.frame.reverse,e.target,d,e.id,e.id);else if("r"===a[d][0]&&"a"===a[d][1]&&"("===a[d][3])a[d]=a[d].replace("ran","random");else if(a[d].indexOf("cyc(")>=0){var l=a[d].replace("cyc(","").replace(")","").replace("[","").replace("]","").split("|");a[d]=new function(e){return tpGS.gsap.utils.wrap(l,void 0)}}else if(a[d].indexOf("%")>=0&&r.isNumeric(i=parseInt(a[d],0)))a[d]="x"===d?S((t.eow||0)*i/100,e.frame.reverse,e.target,d,e.id):"y"===d?S((t.eoh||0)*i/100,e.frame.reverse,e.target,d,e.id):a[d];else{a[d]=a[d].replace("[","").replace("]",""),a[d]=S(a[d],e.frame.reverse,e.target,d,e.id,e.id);var c={t:0,b:0};switch("row"===t.type&&("rev_row_zone_top"===t.zone&&void 0!==r[e.id].topZones[t.slideIndex]&&void 0!==r[e.id].topZones[t.slideIndex][0]?c={t:0,b:0}:"rev_row_zone_middle"===t.zone&&void 0!==r[e.id].middleZones[t.slideIndex]&&void 0!==r[e.id].middleZones[t.slideIndex][0]?c={t:Math.round(r[e.id].module.height/2-r[e.id].middleZones[t.slideIndex][0].offsetHeight/2),b:Math.round(r[e.id].module.height/2+r[e.id].middleZones[t.slideIndex][0].offsetHeight/2)}:"rev_row_zone_bottom"===t.zone&&void 0!==r[e.id].bottomZones[t.slideIndex]&&void 0!==r[e.id].bottomZones[t.slideIndex][0]&&(c={t:Math.round(r[e.id].module.height-r[e.id].bottomZones[t.slideIndex][0].offsetHeight),b:r[e.id].module.height+r[e.id].bottomZones[t.slideIndex][0].offsetHeight})),a[d]){case"t":case"top":a[d]=0-(t.eoh||0)-("column"===t.type?0:t.calcy||0)-r.getLayerParallaxOffset(e.id,e.layer[0].id,"v")-("row"===t.type&&void 0!==t.marginTop?t.marginTop[r[e.id].level]:0)-c.b;break;case"b":case"bottom":a[d]=n-("column"===t.type||"row"===t.type?0:t.calcy||0)+r.getLayerParallaxOffset(e.id,e.layer[0].id,"v")-c.t;break;case"l":case"left":a[d]=0-("row"===t.type?t.pow:t.eow||0)-("column"===t.type?0:"row"===t.type?t.rowcalcx:t.calcx||0)-r.getLayerParallaxOffset(e.id,e.layer[0].id,"h");break;case"r":case"right":a[d]=s-("column"===t.type?0:"row"===t.type?t.rowcalcx:t.calcx||0)+r.getLayerParallaxOffset(e.id,e.layer[0].id,"h");break;case"m":case"c":case"middle":case"center":a[d]="x"===d?S(s/2-("column"===t.type?0:t.calcx||0)-(t.eow||0)/2,e.frame.reverse,e.target,d,e.id):"y"===d?S(n/2-("column"===t.type?0:t.calcy||0)-(t.eoh||0)/2,e.frame.reverse,e.target,d,e.id):a[d]}}"skewX"===d&&void 0!==a[d]&&(a.scaleY=void 0===a.scaleY?1:parseFloat(a.scaleY),a.scaleY*=Math.cos(parseFloat(a[d])*tpGS.DEG2RAD)),"skewY"===d&&void 0!==a[d]&&(a.scaleX=void 0===a.scaleX?1:parseFloat(a.scaleX),a.scaleX*=Math.cos(parseFloat(a[d])*tpGS.DEG2RAD))}if(a.transformOrigin=o.originX+" "+o.originY+" "+o.originZ,!r[e.id].BUG_ie_clipPath&&void 0!==a.clip&&void 0!==t.clipPath&&t.clipPath.use){a.clipB=null==a.clipB?100:a.clipB;var p="rectangle"==t.clipPath.type,g=parseInt(a.clip,0),m=100-parseInt(a.clipB,0),v=Math.round(g/2);switch(t.clipPath.origin){case"invh":a.clipPath="polygon(0% 0%, 0% 100%, "+g+"% 100%, "+g+"% 0%, 100% 0%, 100% 100%, "+m+"% 100%, "+m+"% 0%, 0% 0%)";break;case"invv":a.clipPath="polygon(100% 0%, 0% 0%, 0% "+g+"%, 100% "+g+"%, 100% 100%, 0% 100%, 0% "+m+"%, 100% "+m+"%, 100% 0%)";break;case"cv":a.clipPath=p?"polygon("+(50-v)+"% 0%, "+(50+v)+"% 0%, "+(50+v)+"% 100%, "+(50-v)+"% 100%)":"circle("+g+"% at 50% 50%)";break;case"ch":a.clipPath=p?"polygon(0% "+(50-v)+"%, 0% "+(50+v)+"%, 100% "+(50+v)+"%, 100% "+(50-v)+"%)":"circle("+g+"% at 50% 50%)";break;case"l":a.clipPath=p?"polygon(0% 0%, "+g+"% 0%, "+g+"% 100%, 0% 100%)":"circle("+g+"% at 0% 50%)";break;case"r":a.clipPath=p?"polygon("+(100-g)+"% 0%, 100% 0%, 100% 100%, "+(100-g)+"% 100%)":"circle("+g+"% at 100% 50%)";break;case"t":a.clipPath=p?"polygon(0% 0%, 100% 0%, 100% "+g+"%, 0% "+g+"%)":"circle("+g+"% at 50% 0%)";break;case"b":a.clipPath=p?"polygon(0% 100%, 100% 100%, 100% "+(100-g)+"%, 0% "+(100-g)+"%)":"circle("+g+"% at 50% 100%)";break;case"lt":a.clipPath=p?"polygon(0% 0%,"+2*g+"% 0%, 0% "+2*g+"%)":"circle("+g+"% at 0% 0%)";break;case"lb":a.clipPath=p?"polygon(0% "+(100-2*g)+"%, 0% 100%,"+2*g+"% 100%)":"circle("+g+"% at 0% 100%)";break;case"rt":a.clipPath=p?"polygon("+(100-2*g)+"% 0%, 100% 0%, 100% "+2*g+"%)":"circle("+g+"% at 100% 0%)";break;case"rb":a.clipPath=p?"polygon("+(100-2*g)+"% 100%, 100% 100%, 100% "+(100-2*g)+"%)":"circle("+g+"% at 100% 100%)";break;case"clr":a.clipPath=p?"polygon(0% 0%, 0% "+g+"%, "+(100-g)+"% 100%, 100% 100%, 100% "+(100-g)+"%, "+g+"% 0%)":"circle("+g+"% at 50% 50%)";break;case"crl":a.clipPath=p?"polygon(0% "+(100-g)+"%, 0% 100%, "+g+"% 100%, 100% "+g+"%, 100% 0%, "+(100-g)+"% 0%)":"circle("+g+"% at 50% 50%)"}!0!==r.isFirefox(e.id)&&(a["-webkit-clip-path"]=a.clipPath),a["clip-path"]=a.clipPath,delete a.clip,delete a.clipB}else delete a.clip;return"mask"!==e.target&&(void 0===e.frame||void 0===e.frame.filter&&!e.forcefilter||(a.filter=u(e.frame.filter),a["-webkit-filter"]=a.filter,r.useBackdrop&&(window.isSafari11?a["-webkit-backdrop-filter"]=h(e.frame.filter):a["backdrop-filter"]=h(e.frame.filter)),window.isSafari11&&void 0!==a.filter&&void 0===a.x&&void 0!==e.frame.filter&&void 0!==e.frame.filter.blur&&(a.x=1e-4)),jQuery.inArray(e.source,["chars","words","lines"])>=0&&(void 0!==e.frame[e.source].blur||e.forcefilter)&&(a.filter=u(e.frame[e.source]),a["-webkit-filter"]=a.filter),delete a.grayscale,delete a.blur,delete a.brightness),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?"power3.inOut":a.ease,a},k=function(e,i,t,a,o){var s,n,d={},l={},c={};for(var p in a=void 0===a?"transform":a,"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="none",c.speed=1e3,c.st=0,d.x=0,d.y=0,d.z=0,d.xr=0,d.yr=0,d.zr=0,d.scaleX=1,d.scaleY=1,d.originX="50%",d.originY="50%",d.originZ="0",d.rotationX="0deg",d.rotationY="0deg",d.rotationZ="0deg"):(c.speed=300,t?c.ease="default":d.ease="default"),"sfx"===o&&(d.fxc="#ffffff"),e=e.split(";"))if(e.hasOwnProperty(p)){var g=e[p].split(":");switch(g[0]){case"u":d.use="true"===g[1]||"t"===g[1]||fasle;break;case"c":s=g[1];break;case"fxc":d.fxc=g[1];break;case"bgc":n=g[1];break;case"auto":d.auto="t"===g[1]||void 0===g[1]||"true"===g[1];break;case"o":d.opacity=g[1];break;case"oX":d.originX=g[1];break;case"oY":d.originY=g[1];break;case"oZ":d.originZ=g[1];break;case"sX":d.scaleX=g[1];break;case"sY":d.scaleY=g[1];break;case"skX":d.skewX=g[1];break;case"skY":d.skewY=g[1];break;case"rX":d.rotationX=g[1],0!=g[1]&&"0deg"!==g[1]&&r.addSafariFix(i);break;case"rY":d.rotationY=g[1],0!=g[1]&&"0deg"!==g[1]&&r.addSafariFix(i);break;case"rZ":d.rotationZ=g[1];break;case"sc":d.color=g[1];break;case"se":d.effect=g[1];break;case"bos":d.borderStyle=g[1];break;case"boc":d.borderColor=g[1];break;case"td":d.textDecoration=g[1];break;case"zI":d.zIndex=g[1];break;case"tp":d.transformPerspective="isometric"===r[i].perspectiveType?0:"global"===r[i].perspectiveType?r[i].perspective:g[1];break;case"cp":d.clip=parseInt(g[1],0);break;case"cpb":d.clipB=parseInt(g[1],0);break;case"aR":c.autoRotate="t"==g[1];break;case"rA":c.radiusAngle=g[1];break;case"yyf":c.yoyo_filter="t"==g[1];break;case"yym":c.yoyo_move="t"==g[1];break;case"yyr":c.yoyo_rotate="t"==g[1];break;case"yys":c.yoyo_scale="t"==g[1];break;case"crd":c.curved="t"==g[1];break;case"x":d.x="reverse"===o?"t"===g[1]||!0===g[1]||"true"==g[1]:"loop"===o?parseInt(g[1],0):r.revToResp(g[1],r[i].rle);break;case"y":d.y="reverse"===o?"t"===g[1]||!0===g[1]||"true"==g[1]:"loop"===o?parseInt(g[1],0):r.revToResp(g[1],r[i].rle);break;case"z":d.z="loop"===o?parseInt(g[1],0):r.revToResp(g[1],r[i].rle),0!=g[1]&&r.addSafariFix(i);break;case"bow":d.borderWidth=r.revToResp(g[1],4,0).toString().replace(/,/g," ");break;case"bor":d.borderRadius=r.revToResp(g[1],4,0).toString().replace(/,/g," ");break;case"m":d.mask="t"===g[1]||"f"!==g[1]&&g[1];break;case"iC":d.instantClick="t"===g[1]||"f"!==g[1]&&g[1];break;case"xR":d.xr=parseInt(g[1],0),r.addSafariFix(i);break;case"yR":d.yr=parseInt(g[1],0),r.addSafariFix(i);break;case"zR":d.zr=parseInt(g[1],0);break;case"blu":"loop"===o?d.blur=parseInt(g[1],0):l.blur=parseInt(g[1],0);break;case"gra":"loop"===o?d.grayscale=parseInt(g[1],0):l.grayscale=parseInt(g[1],0);break;case"bri":"loop"===o?d.brightness=parseInt(g[1],0):l.brightness=parseInt(g[1],0);break;case"bB":l.b_blur=parseInt(g[1],0);break;case"bG":l.b_grayscale=parseInt(g[1],0);break;case"bR":l.b_brightness=parseInt(g[1],0);break;case"bI":l.b_invert=parseInt(g[1],0);break;case"bS":l.b_sepia=parseInt(g[1],0);break;case"sp":c.speed=parseInt(g[1],0);break;case"d":d.delay=parseInt(g[1],0);break;case"crns":c.curviness=parseInt(g[1],0);break;case"st":c.start="w"===g[1]||"a"===g[1]?"+=0":g[1],c.waitoncall="w"===g[1]||"a"===g[1];break;case"sA":c.startAbsolute=g[1];break;case"sR":c.startRelative=g[1];break;case"e":t?c.ease=g[1]:d.ease=g[1];break;default:g[0].length>0&&(d[g[0]]="t"===g[1]||"f"!==g[1]&&g[1])}}var u={timeline:c};return jQuery.isEmptyObject(l)||("split"===o?d=jQuery.extend(!0,d,l):u.filter=l),"split"===o&&(d.dir=void 0===d.dir?"start":"backward"===d.dir?"end":"middletoedge"===d.dir?"center":"edgetomiddle"===d.dir?"edge":d.dir),jQuery.isEmptyObject(s)||(u.color=s),jQuery.isEmptyObject(n)||(u.bgcolor=n),u[a]=d,u},L=function(e,i){var t={},a=0;if(void 0===r[i]._rdF0){var o=k("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",i).transform;r[i]._rdF0=r[i]._rdF1={transform:k("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",i,!0).transform,mask:k("x:0;y:0",i,!0).transform,chars:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},o),words:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},o),lines:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},o)},r[i]._rdF1.transform.opacity=r[i]._rdF1.chars.opacity=r[i]._rdF1.words.opacity=r[i]._rdF1.lines.opacity=r[i]._rdF1.transform.scaleX=r[i]._rdF1.chars.scaleX=r[i]._rdF1.words.scaleX=r[i]._rdF1.lines.scaleX=r[i]._rdF1.transform.scaleY=r[i]._rdF1.chars.scaleY=r[i]._rdF1.words.scaleY=r[i]._rdF1.lines.scaleY=1}for(var a in void 0===e.frame_0&&(e.frame_0="x:0"),void 0===e.frame_1&&(e.frame_1="x:0"),e.dddNeeded=!1,e.ford)if(e.ford.hasOwnProperty(a)){var s=e.ford[a];if(e[s]){if(t[s]=k(e[s],i,!0),void 0!==t[s].bgcolor&&(e.bgcolinuse=!0),r[i].BUG_ie_clipPath&&void 0!==e.clipPath&&e.clipPath.use&&void 0!==t[s].transform.clip){var n="rectangle"===e.clipPath.type?100-parseInt(t[s].transform.clip):100-Math.min(100,2*parseInt(t[s].transform.clip));switch(e.clipPath.origin){case"clr":case"rb":case"rt":case"r":e[s+"_mask"]="u:t;x:"+n+"%;y:0px;",t[s].transform.x=r.revToResp("-"+n+"%",r[i].rle);break;case"crl":case"lb":case"lt":case"cv":case"l":e[s+"_mask"]="u:t;x:-"+n+"%;y:0px;",t[s].transform.x=r.revToResp(n+"%",r[i].rle);break;case"ch":case"t":e[s+"_mask"]="u:t;y:-"+n+"%;y:0px;",t[s].transform.y=r.revToResp(n+"%",r[i].rle);break;case"b":e[s+"_mask"]="u:t;y:"+n+"%;y:0px;",t[s].transform.y=r.revToResp("-"+n+"%",r[i].rle)}delete t[s].transform.clip,delete t[s].transform.clipB}e[s+"_mask"]&&(t[s].mask=k(e[s+"_mask"],i).transform),null!=t[s].mask&&t[s].mask.use?(t[s].mask.x=void 0===t[s].mask.x?0:t[s].mask.x,t[s].mask.y=void 0===t[s].mask.y?0:t[s].mask.y,delete t[s].mask.use,t[s].mask.overflow="hidden"):t[s].mask={ease:"default",overflow:"visible"},e[s+"_chars"]&&(t[s].chars=k(e[s+"_chars"],i,void 0,void 0,"split").transform),e[s+"_words"]&&(t[s].words=k(e[s+"_words"],i,void 0,void 0,"split").transform),e[s+"_lines"]&&(t[s].lines=k(e[s+"_lines"],i,void 0,void 0,"split").transform),(e[s+"_chars"]||e[s+"_words"]||e[s+"_lines"])&&(t[s].dosplit=!0),t.frame_0=void 0===t.frame_0?{transform:{}}:t.frame_0,t[s].transform.auto&&(t[s].transform=r.clone(t.frame_0.transform),t[s].transform.opacity=void 0===t[s].transform.opacity?0:t[s].transform.opacity,void 0!==t.frame_0.filter&&(t[s].filter=r.clone(t.frame_0.filter)),void 0!==t.frame_0.mask&&(t[s].mask=r.clone(t.frame_0.mask)),void 0!==t.frame_0.chars&&(t[s].chars=r.clone(t.frame_0.chars)),void 0!==t.frame_0.words&&(t[s].words=r.clone(t.frame_0.words)),void 0!==t.frame_0.lines&&(t[s].lines=r.clone(t.frame_0.lines)),void 0===t.frame_0.chars&&void 0===t.frame_0.words&&void 0===t.frame_0.lines||(t[s].dosplit=!0)),e[s+"_sfx"]&&(t[s].sfx=k(e[s+"_sfx"],i,!1,void 0,"sfx").transform),e[s+"_reverse"]&&(t[s].reverse=k(e[s+"_reverse"],i,!1,void 0,"reverse").transform)}}if(t.frame_0.dosplit&&(t.frame_1.dosplit=!0),void 0===e.frame_hover&&void 0===e.svgh||(t.frame_hover=k(void 0===e.frame_hover?"":e.frame_hover,i),!r.ISM||"true"!=t.frame_hover.transform.instantClick&&1!=t.frame_hover.transform.instantClick?(delete t.frame_hover.transform.instantClick,t.frame_hover.transform.color=t.frame_hover.color,void 0===t.frame_hover.transform.color&&delete t.frame_hover.transform.color,void 0!==t.frame_hover.bgcolor&&t.frame_hover.bgcolor.indexOf("gradient")>=0?t.frame_hover.transform.backgroundImage=t.frame_hover.bgcolor:void 0!==t.frame_hover.bgcolor&&(t.frame_hover.transform.backgroundColor=t.frame_hover.bgcolor),void 0!==t.frame_hover.bgcolor&&(e.bgcolinuse=!0),t.frame_hover.transform.opacity=void 0===t.frame_hover.transform.opacity?1:t.frame_hover.transform.opacity,t.frame_hover.mask=void 0!==t.frame_hover.transform.mask&&t.frame_hover.transform.mask,delete t.frame_hover.transform.mask,void 0!==t.frame_hover.transform&&((t.frame_hover.transform.borderWidth||t.frame_hover.transform.borderStyle)&&(t.frame_hover.transform.borderColor=void 0===t.frame_hover.transform.borderColor?"transparent":t.frame_hover.transform.borderColor),"none"!==t.frame_hover.transform.borderStyle&&void 0===t.frame_hover.transform.borderWidth&&(t.frame_hover.transform.borderWidth=r.revToResp(0,4,0).toString().replace(/,/g," ")),void 0===e.bordercolor&&void 0!==t.frame_hover.transform.borderColor&&(e.bordercolor="transparent"),void 0===e.borderwidth&&void 0!==t.frame_hover.transform.borderWidth&&(e.borderwidth=r.revToResp(t.frame_hover.transform.borderWidth,4,0)),void 0===e.borderstyle&&void 0!==t.frame_hover.transform.borderStyle&&(e.borderstyle=r.revToResp(t.frame_hover.transform.borderStyle,4,0)))):delete t.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 a in d)if(d.hasOwnProperty(a)){var l=d[a].split(":");switch(l[0]){case"f":e.layerLoop.from=l[1];break;case"t":e.layerLoop.to=l[1];break;case"k":e.layerLoop.keep=l[1];break;case"r":e.layerLoop.repeat=parseInt(l[1],0);break;case"c":e.layerLoop.children=l[1]}}e.layerLoop.count=0}for(var a in(e.loop_0||e.loop_999)&&(t.loop=k(e.loop_999,i,!0,"frame_999","loop"),t.loop.frame_0=k(e.loop_0||"",i,!1,void 0,"loop").transform),t.frame_0.transform.opacity=void 0===t.frame_0.transform.opacity?0:t.frame_0.transform.opacity,t.frame_1.transform.opacity=void 0===t.frame_1.transform.opacity?1:t.frame_1.transform.opacity,t.frame_999.transform.opacity=void 0===t.frame_999.transform.opacity?"inherit":t.frame_999.transform.opacity,e.clipPath&&e.clipPath.use&&(t.frame_0.transform.clip=void 0===t.frame_0.transform.clip?100:parseInt(t.frame_0.transform.clip),t.frame_1.transform.clip=void 0===t.frame_1.transform.clip?100:parseInt(t.frame_1.transform.clip)),e.resetfilter=!1,e.useFilter={blur:!1,grayscale:!1,brightness:!1,b_blur:!1,b_grayscale:!1,b_brightness:!1,b_invert:!1,b_sepia:!1},t)void 0!==t[a].filter&&(e.resetfilter=!0,e.useFilter=O(e.useFilter,t[a].filter));if(!0!==e.resetFilter&&void 0!==t.frame_hover&&(e.useFilter=O(e.useFilter,t.frame_hover)),e.resetfilter)for(var a in t.frame_0.filter=r.clone(t.frame_0.filter),t.frame_0.filter=R(e.useFilter,r.clone(t.frame_0.filter)),t)void 0!==t[a].filter&&"frame_1"!==a&&"frame_0"!==a&&(t[a].filter=r.clone(t[a].filter),t[a].filter=R(e.useFilter,r.clone(t[a].filter)));return void 0!==t.frame_0.filter&&(t.frame_1.filter=r.clone(t.frame_1.filter),void 0!==t.frame_0.filter.blur&&0!==t.frame_1.filter.blur&&(t.frame_1.filter.blur=void 0===t.frame_1.filter.blur?0:t.frame_1.filter.blur),void 0!==t.frame_0.filter.brightness&&100!==t.frame_1.filter.brightness&&(t.frame_1.filter.brightness=void 0===t.frame_1.filter.brightness?100:t.frame_1.filter.brightness),void 0!==t.frame_0.filter.grayscale&&0!==t.frame_1.filter.grayscale&&(t.frame_1.filter.grayscale=void 0===t.frame_1.filter.grayscale?0:t.frame_1.filter.grayscale),void 0!==t.frame_0.filter.b_blur&&0!==t.frame_1.filter.b_blur&&(t.frame_1.filter.b_blur=void 0===t.frame_1.filter.b_blur?0:t.frame_1.filter.b_blur),void 0!==t.frame_0.filter.b_brightness&&100!==t.frame_1.filter.b_brightness&&(t.frame_1.filter.b_brightness=void 0===t.frame_1.filter.b_brightness?100:t.frame_1.filter.b_brightness),void 0!==t.frame_0.filter.b_grayscale&&0!==t.frame_1.filter.b_grayscale&&(t.frame_1.filter.b_grayscale=void 0===t.frame_1.filter.b_grayscale?0:t.frame_1.filter.b_grayscale),void 0!==t.frame_0.filter.b_invert&&0!==t.frame_1.filter.b_invert&&(t.frame_1.filter.b_invert=void 0===t.frame_1.filter.b_invert?0:t.frame_1.filter.b_invert),void 0!==t.frame_0.filter.b_sepia&&0!==t.frame_1.filter.b_sepia&&(t.frame_1.filter.b_sepia=void 0===t.frame_1.filter.b_sepia?0:t.frame_1.filter.b_sepia)),M(t,i,e)},R=function(e,i){return e.blur?i.blur=void 0===i.blur?0:i.blur:delete i.blur,e.brightness?i.brightness=void 0===i.brightness?100:i.brightness:delete i.brightness,e.grayscale?i.grayscale=void 0===i.grayscale?0:i.grayscale:delete i.grayscale,e.b_blur?i.b_blur=void 0===i.b_blur?0:i.b_blur:delete i.b_blur,e.b_brightness?i.b_brightness=void 0===i.b_brightness?100:i.b_brightness:delete i.b_brightness,e.b_grayscale?i.b_grayscale=void 0===i.b_grayscale?0:i.b_grayscale:delete i.b_grayscale,e.b_invert?i.b_invert=void 0===i.b_invert?0:i.b_invert:delete i.b_invert,e.b_sepia?i.b_sepia=void 0===i.b_sepia?0:i.b_sepia:delete i.b_sepia,i},O=function(e,i){return e.blur=!0===e.blur||void 0!==i.blur&&0!==i.blur&&"0px"!==i.blur,e.grayscale=!0===e.grayscale||void 0!==i.grayscale&&0!==i.grayscale&&"0%"!==i.grayscale,e.brightness=!0===e.brightness||void 0!==i.brightness&&100!==i.brightness&&"100%"!==i.brightness,e.b_blur=!0===e.b_blur||void 0!==i.b_blur&&0!==i.b_blur&&"0px"!==i.b_blur,e.b_grayscale=!0===e.b_grayscale||void 0!==i.b_grayscale&&0!==i.b_grayscale&&"0%"!==i.b_grayscale,e.b_brightness=!0===e.b_brightness||void 0!==i.b_brightness&&100!==i.b_brightness&&"100%"!==i.b_brightness,e.b_invert=!0===e.b_invert||void 0!==i.b_invert&&0!==i.b_invert&&"0%"!==i.b_invert,e.b_sepia=!0===e.b_sepia||void 0!==i.b_sepia&&0!==i.b_sepia&&"0%"!==i.b_sepia,e},I=function(e){return void 0!==e&&(void 0!==e.rotationY||void 0!==e.rotationX||void 0!==e.z)},M=function(e,i,t){var a,o={},s=["transform","words","chars","lines","mask"],n="global"==r[i].perspectiveType?r[i].perspective:0,d=!0,l=!1;for(var c in e)"loop"!==c&&"frame_hover"!==c&&(o=jQuery.extend(!0,o,e[c]));for(var c in e)if(e.hasOwnProperty(c)&&(void 0!==e[c].timeline&&(e[c].timeline.usePerspective=!1),"loop"!==c&&"frame_hover"!==c)){for(a in o.transform)o.transform.hasOwnProperty(a)&&(o.transform[a]=void 0===e[c].transform[a]?"frame_0"===c?r[i]._rdF0.transform[a]:"frame_1"===c?r[i]._rdF1.transform[a]:o.transform[a]:e[c].transform[a],e[c].transform[a]=void 0===e[c].transform[a]?o.transform[a]:e[c].transform[a]);for(var p=1;p<=4;p++)for(a in o[s[p]])o[s[p]].hasOwnProperty(a)&&(e[c][s[p]]=void 0===e[c][s[p]]?{}:e[c][s[p]],o[s[p]][a]=void 0===e[c][s[p]][a]?"frame_0"===c?r[i]._rdF0[s[p]][a]:"frame_1"===c?r[i]._rdF1[s[p]][a]:o[s[p]][a]:e[c][s[p]][a],e[c][s[p]][a]=void 0===e[c][s[p]][a]?o[s[p]][a]:e[c][s[p]][a]);void 0!==e[c].timeline&&!1===e[c].timeline.usePerspective&&void 0!==e[c].transform&&(void 0!==e[c].transform.rotationY||void 0!==e[c].transform.rotationX||void 0!==e[c].transform.z||I(e[c].chars)||I(e[c].words)||I(e[c].lines))&&(n="local"==r[i].perspectiveType?void 0===e[c].transform.transformPerspective?600:e[c].transform.transformPerspective:n,e[c].timeline.usePerspective=!0,(I(e[c].chars)||I(e[c].words)||I(e[c].lines))&&!r.isFirefox(i)&&(l=!0),d=!1)}if(l&&requestAnimationFrame(function(){tpGS.gsap.set(t.c,{transformStyle:"preserve-3d"})}),void 0!==e.frame_0.timeline&&e.frame_0.timeline.usePerspective&&(e.frame_0.transform.transformPerspective="local"===r[i].perspectiveType?void 0===e.frame_0.transform.transformPerspective?n:e.frame_0.transform.transformPerspective:"isometric"===r[i].perspectiveType?0:r[i].perspective),d)for(var c in e){if(!e.hasOwnProperty(c)||void 0===e[c].transform)continue;delete e[c].transform.transformPerspective}return e},T=function(e,i,t){if(0===e.length)return{};for(var a=e[0].getElementsByClassName(i),o={},r=0;r<a.length;r++)void 0!==t&&-1!==a[r].className.indexOf(t)||(o[a[r].id]=a[r]);if(void 0!==e[1])for(a=e[1].getElementsByClassName(i),r=0;r<a.length;r++)void 0!==t&&-1!==a[r].className.indexOf(t)||(o[a[r].id]=a[r]);return o},C=function(e){return"thin"===(e=r.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},A=function(e,i,s){if("BR"==e[0].nodeName||"br"==e[0].tagName||"object"!=typeof e[0].className&&e[0].className.indexOf("rs_splitted_")>=0)return!1;r.sA(e[0],"stylerecorder",!0),void 0===e[0].id&&(e[0].id="rs-layer-sub-"+Math.round(1e6*Math.random())),r[s].computedStyle[e[0].id]=window.getComputedStyle(e[0],null);var n=void 0!==e[0].id&&void 0!==r[s]._L[e[0].id]?r[s]._L[e[0].id]:e.data(),d="rekursive"===i?jQuery(r.closestClass(e[0],"rs-layer")):void 0;void 0!==d&&(r[s].computedStyle[d[0].id]=void 0===r[s].computedStyle[d[0].id]?window.getComputedStyle(d[0],null):r[s].computedStyle[d[0].id]);var l=void 0!==d&&r[s].computedStyle[e[0].id].fontSize==r[s].computedStyle[d[0].id].fontSize&&C(r[s].computedStyle[e[0].id].fontWeight)==C(r[s].computedStyle[d[0].id].fontWeight)&&r[s].computedStyle[e[0].id].lineHeight==r[s].computedStyle[d[0].id].lineHeight,c=l?void 0!==d[0].id&&void 0!==r[s]._L[d[0].id]?r[s]._L[d[0].id]:d.data():void 0,p=0;for(n.basealign=void 0===n.basealign?"grid":n.basealign,n._isnotext||(n.fontSize=r.revToResp(l?void 0===c.fontsize?parseInt(r[s].computedStyle[d[0].id].fontSize,0)||20:c.fontsize:void 0===n.fontsize?"rekursive"!==i?20:"inherit":n.fontsize,r[s].rle),n.fontWeight=r.revToResp(l?void 0===c.fontweight?r[s].computedStyle[d[0].id].fontWeight||"inherit":c.fontweight:void 0===n.fontweight?r[s].computedStyle[e[0].id].fontWeight||"inherit":n.fontweight,r[s].rle),n.whiteSpace=r.revToResp(l?void 0===c.whitespace?"nowrap":c.whitespace:void 0===n.whitespace?"nowrap":n.whitespace,r[s].rle),n.textAlign=r.revToResp(l?void 0===c.textalign?"left":c.textalign:void 0===n.textalign?"left":n.textalign,r[s].rle),n.letterSpacing=r.revToResp(l?void 0===c.letterspacing?parseInt(r[s].computedStyle[d[0].id].letterSpacing,0)||"inherit":c.letterspacing:void 0===n.letterspacing?parseInt("normal"===r[s].computedStyle[e[0].id].letterSpacing?0:r[s].computedStyle[e[0].id].letterSpacing,0)||"inherit":n.letterspacing,r[s].rle),n.textDecoration=l?void 0===c.textDecoration?"none":c.textDecoration:void 0===n.textDecoration?"none":n.textDecoration,p=25,p=void 0===d||"I"!==e[0].tagName&&"STRONG"!==e[0].tagName?p:"inherit",void 0!==n.tshadow&&(n.tshadow.b=r.revToResp(n.tshadow.b,r[s].rle),n.tshadow.h=r.revToResp(n.tshadow.h,r[s].rle),n.tshadow.v=r.revToResp(n.tshadow.v,r[s].rle))),void 0!==n.bshadow&&(n.bshadow.b=r.revToResp(n.bshadow.b,r[s].rle),n.bshadow.h=r.revToResp(n.bshadow.h,r[s].rle),n.bshadow.v=r.revToResp(n.bshadow.v,r[s].rle),n.bshadow.s=r.revToResp(n.bshadow.s,r[s].rle)),void 0!==n.tstroke&&(n.tstroke.w=r.revToResp(n.tstroke.w,r[s].rle)),n.display=l?void 0===c.display?r[s].computedStyle[d[0].id].display:c.display:void 0===n.display?r[s].computedStyle[e[0].id].display:n.display,n.float=r.revToResp(l?void 0===c.float?r[s].computedStyle[d[0].id].float||"none":c.float:void 0===n.float?"none":n.float,r[s].rle),n.clear=r.revToResp(l?void 0===c.clear?r[s].computedStyle[d[0].id].clear||"none":c.clear:void 0===n.clear?"none":n.clear,r[s].rle),n.lineHeight=r.revToResp(e.is("img")||-1!=jQuery.inArray(n.layertype,["video","image","audio"])?p:l?void 0===c.lineheight?parseInt(r[s].computedStyle[d[0].id].lineHeight,0)||p:c.lineheight:void 0===n.lineheight?p:n.lineheight,r[s].rle),n.zIndex=l?void 0===c.zindex?parseInt(r[s].computedStyle[d[0].id].zIndex,0)||"inherit":c.zindex:void 0===n.zindex?parseInt(r[s].computedStyle[e[0].id].zIndex,0)||"inherit":n.zindex,g=0;g<4;g++)n["padding"+t[g]]=r.revToResp(void 0===n["padding"+o[g]]?parseInt(r[s].computedStyle[e[0].id]["padding"+t[g]],0)||0:n["padding"+o[g]],r[s].rle),n["margin"+t[g]]=r.revToResp(void 0===n["margin"+o[g]]?parseInt(r[s].computedStyle[e[0].id]["margin"+t[g]],0)||0:n["margin"+o[g]],r[s].rle),n["border"+t[g]+"Width"]=void 0===n.borderwidth?parseInt(r[s].computedStyle[e[0].id]["border"+t[g]+"Width"],0)||0:n.borderwidth[g],n["border"+t[g]+"Color"]=void 0===n.bordercolor?r[s].computedStyle[e[0].id]["border-"+o[g]+"-color"]:n.bordercolor,n["border"+a[g]+"Radius"]=r.revToResp(void 0===n.borderradius?r[s].computedStyle[e[0].id]["border"+a[g]+"Radius"]||0:n.borderradius[g],r[s].rle);if(n.borderStyle=r.revToResp(void 0===n.borderstyle?r[s].computedStyle[e[0].id].borderStyle||0:n.borderstyle,r[s].rle),"rekursive"!==i?(n.color=r.revToResp(void 0===n.color?"#ffffff":n.color,r[s].rle,void 0,"||"),n.minWidth=r.revToResp(void 0===n.minwidth?parseInt(r[s].computedStyle[e[0].id].minWidth,0)||0:n.minwidth,r[s].rle),n.minHeight=r.revToResp(void 0===n.minheight?parseInt(r[s].computedStyle[e[0].id].minHeight,0)||0:n.minheight,r[s].rle),n.width=r.revToResp(void 0===n.width?"auto":r.smartConvertDivs(n.width),r[s].rle),n.height=r.revToResp(void 0===n.height?"auto":r.smartConvertDivs(n.height),r[s].rle),n.maxWidth=r.revToResp(void 0===n.maxwidth?parseInt(r[s].computedStyle[e[0].id].maxWidth,0)||"none":n.maxwidth,r[s].rle),n.maxHeight=r.revToResp(-1!==jQuery.inArray(n.type,["column","row"])?"none":void 0!==n.maxheight?parseInt(r[s].computedStyle[e[0].id].maxHeight,0)||"none":n.maxheight,r[s].rle)):"html"===n.layertype&&(n.width=r.revToResp(e[0].width,r[s].rle),n.height=r.revToResp(e[0].height,r[s].rle)),n._incolumn)for(var g=0;g<n.height.length;g++)-1!==n.height[g].indexOf("%")&&parseFloat(n.height[g])>98&&(n.height[g]=n.height[g].replace("%","px"));for(n.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==n.bshadow&&(n.styleProps.boxShadow=e[0].style.boxShadow),""!==n.styleProps.background&&void 0!==n.styleProps.background&&n.styleProps.background!==n.styleProps["background-color"]||delete n.styleProps.background,""==n.styleProps.color&&(n.styleProps.color=r[s].computedStyle[e[0].id].color),g=0;g<4;g++)D(n["padding"+t[g]],0)&&delete n["padding"+t[g]],D(n["margin"+t[g]],0)&&delete n["margin"+t[g]],D(n["border"+a[g]+"Radius"],"0px")?delete n["border"+a[g]+"Radius"]:D(n["border"+a[g]+"Radius"],"0")&&delete n["border"+a[g]+"Radius"];if(D(n.borderStyle,"none"))for(delete n.borderStyle,g=0;g<4;g++)delete n["border"+t[g]+"Width"],delete n["border"+t[g]+"Color"]},D=function(e,i){return i===e[0]&&i===e[1]&&i===e[2]&&i===e[3]},P=function(e,i,t,a,o){var s=r.isNumeric(e)||void 0===e?"":e.indexOf("px")>=0?"px":e.indexOf("%")>=0?"%":"";return e=r.isNumeric(parseInt(e))?parseInt(e):e,e=null==(e="full"===(e=r.isNumeric(e)?e*i+s:e)?a:"auto"===e||"none"===e?t:e)?o:e},B=function(e){return null!=e&&0!==parseInt(e,0)},z=function(e){var i,s,n,d,l,c,p,g,u,h,m=e.a,v=e.b,f=e.c,w=e.d,y=e.e,b={},_={},S=r[v]._L[m[0].id],x=m[0].className;if(S=void 0===S?{}:S,"object"==typeof x&&(x=""),void 0!==m&&void 0!==m[0]&&(x.indexOf("rs_splitted")>=0||"BR"==m[0].nodeName||"br"==m[0].tagName||m[0].tagName.indexOf("FCR")>0||m[0].tagName.indexOf("BCR")>0))return!1;y="individual"===y?S.slideIndex:y;var k,L=function(e,i,o){if(void 0!==e){if("BR"==e[0].nodeName||"br"==e[0].tagName)return!1;var s,n=r[i].level,d=void 0!==e[0]&&void 0!==e[0].id&&void 0!==r[i]._L[e[0].id]?r[i]._L[e[0].id]:e.data();void 0===(d=void 0===d.basealign?o.data():d)._isnotext&&(d._isnotext=void 0!==o&&void 0!==o[0]&&o[0].length>0?r.gA(o[0],"_isnotext"):d._isnotext);var l={basealign:void 0===d.basealign?"grid":d.basealign,lineHeight:void 0===d.basealign?"inherit":parseInt(d.lineHeight[n]),color:void 0===d.color?void 0:d.color[n],width:void 0===d.width?void 0:"a"===d.width[n]?"auto":d.width[n],height:void 0===d.height?void 0:"a"===d.height[n]?"auto":d.height[n],minWidth:void 0===d.minWidth?void 0:"n"===d.minWidth[n]?"none":d.minWidth[n],minHeight:void 0===d.minHeight?void 0:"n"==d.minHeight[n]?"none":d.minHeight[n],maxWidth:void 0===d.maxWidth?void 0:"n"==d.maxWidth[n]?"none":d.maxWidth[n],maxHeight:void 0===d.maxHeight?void 0:"n"==d.maxHeight[n]?"none":d.maxHeight[n],float:d.float[n],clear:d.clear[n]};for(d.borderStyle&&(l.borderStyle=d.borderStyle[n]),s=0;s<4;s++)d["padding"+t[s]]&&(l["padding"+t[s]]=d["padding"+t[s]][n]),d["margin"+t[s]]&&(l["margin"+t[s]]=parseInt(d["margin"+t[s]][n])),d["border"+a[s]+"Radius"]&&(l["border"+a[s]+"Radius"]=d["border"+a[s]+"Radius"][n]),d["border"+t[s]+"Color"]&&(l["border"+t[s]+"Color"]=d["border"+t[s]+"Color"]),d["border"+t[s]+"Width"]&&(l["border"+t[s]+"Width"]=parseInt(d["border"+t[s]+"Width"]));return d._isnotext||(l.textDecoration=d.textDecoration,l.fontSize=parseInt(d.fontSize[n]),l.fontWeight=parseInt(d.fontWeight[n]),l.letterSpacing=parseInt(d.letterSpacing[n])||0,l.textAlign=d.textAlign[n],l.whiteSpace=d.whiteSpace[n],l.whiteSpace="normal"===l.whiteSpace&&"auto"===l.width&&!0!==d._incolumn?"nowrap":l.whiteSpace,l.display=d.display,void 0!==d.tshadow&&(l.textShadow=parseInt(d.tshadow.h[n],0)+"px "+parseInt(d.tshadow.v[n],0)+"px "+d.tshadow.b[n]+" "+d.tshadow.c),void 0!==d.tstroke&&(l.textStroke=parseInt(d.tstroke.w[n],0)+"px "+d.tstroke.c)),void 0!==d.bshadow&&(l.boxShadow=parseInt(d.bshadow.h[n],0)+"px "+parseInt(d.bshadow.v[n],0)+"px "+parseInt(d.bshadow.b[n],0)+"px "+parseInt(d.bshadow.s[n],0)+"px "+d.bshadow.c),l}}(m,v,e.RSL),R="off"===w?1:r[v].CM.w;if(void 0===S._isnotext&&(S._isnotext=void 0!==L.RSL&&void 0!==L.RSL[0]&&L.RSL[0].length>0?r.gA(L.RSL[0],"_isnotext"):S._isnotext),S._incolumn&&("shape"===S.type||"text"===S.type||"button"===S.type)&&(""+L.height).indexOf(!1)&&(L.height=L.height),S.OBJUPD=null==S.OBJUPD?{}:S.OBJUPD,S.caches=null==S.caches?{}:S.caches,"column"===S.type){for(s={},k={},i=0;i<4;i++)void 0!==L["margin"+t[i]]&&(s["padding"+t[i]]=Math.round(L["margin"+t[i]]*R)+"px",k["margin"+t[i]]=L["margin"+t[i]],delete L["margin"+t[i]]);jQuery.isEmptyObject(s)||tpGS.gsap.set(S._column,s)}var O=r.clone(S.OBJUPD.POBJ),I=r.clone(S.OBJUPD.LPOBJ);if(-1===x.indexOf("rs_splitted_")){for(s={overwrite:"auto"},i=0;i<4;i++)void 0!==L["border"+a[i]+"Radius"]&&(s["border"+a[i]+"Radius"]=L["border"+a[i]+"Radius"]),void 0!==L["padding"+t[i]]&&(s["padding"+t[i]]=Math.round(L["padding"+t[i]]*R)+"px"),void 0===L["margin"+t[i]]||S._incolumn||(s["margin"+t[i]]="row"===S.type?0:Math.round(L["margin"+t[i]]*R)+"px");if(void 0!==S.spike&&(s["clip-path"]=s["-webkit-clip-path"]=S.spike),L.boxShadow&&(s.boxShadow=L.boxShadow),"column"!==S.type&&(void 0!==L.borderStyle&&"none"!==L.borderStyle&&(0!==L.borderTopWidth||L.borderBottomWidth>0||L.borderLeftWidth>0||L.borderRightWidth>0)?(s.borderTopWidth=Math.round(L.borderTopWidth*R)+"px",s.borderBottomWidth=Math.round(L.borderBottomWidth*R)+"px",s.borderLeftWidth=Math.round(L.borderLeftWidth*R)+"px",s.borderRightWidth=Math.round(L.borderRightWidth*R)+"px",s.borderStyle=L.borderStyle,s.borderTopColor=L.borderTopColor,s.borderBottomColor=L.borderBottomColor,s.borderLeftColor=L.borderLeftColor,s.borderRightColor=L.borderRightColor):("none"===L.borderStyle&&(s.borderStyle="none"),s.borderTopColor=L.borderTopColor,s.borderBottomColor=L.borderBottomColor,s.borderLeftColor=L.borderLeftColor,s.borderRightColor=L.borderRightColor)),"shape"!==S.type&&"image"!==S.type||!(B(L.borderTopLeftRadius)||B(L.borderTopRightRadius)||B(L.borderBottomLeftRadius)||B(L.borderBottomRightRadius))||(s.overflow="hidden"),S._isnotext||("column"!==S.type&&(s.fontSize=Math.round(L.fontSize*R)+"px",s.fontWeight=L.fontWeight,s.letterSpacing=L.letterSpacing*R+"px",L.textShadow&&(s.textShadow=L.textShadow),L.textStroke&&(s["-webkit-text-stroke"]=L.textStroke)),s.lineHeight=Math.round(L.lineHeight*R)+"px",s.textAlign=L.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=m.css("backgroundImage"),""!==S.cbg_img&&void 0!==S.cbg_img&&"none"!==S.cbg_img&&(S.cbg_img_r=m.css("backgroundRepeat"),S.cbg_img_p=m.css("backgroundPosition"),S.cbg_img_s=m.css("backgroundSize")),S.cbg_o=S.bgopacity?1:S.bgopacity,b.backgroundColor="transparent",b.backgroundImage=""),s.backgroundColor="transparent",s.backgroundImage="none"),S._isstatic&&S.elementHovered&&(p=m.data("frames"))&&p.frame_hover&&p.frame_hover.transform)for(g in s)s.hasOwnProperty(g)&&p.frame_hover.transform.hasOwnProperty(g)&&delete s[g];if("IFRAME"==m[0].nodeName&&"html"===r.gA(m[0],"layertype")&&(u="slide"==L.basealign?r[v].module.width:r.iWA(v,y),h="slide"==L.basealign?r[v].module.height:r.iHE(v),s.width=!r.isNumeric(L.width)&&L.width.indexOf("%")>=0?!S._isstatic||S._incolumn||S._ingroup?L.width:u*parseInt(L.width,0)/100:P(L.width,R,"auto",u,"auto"),s.height=!r.isNumeric(L.height)&&L.height.indexOf("%")>=0?!S._isstatic||S._incolumn||S._ingroup?L.height:h*parseInt(L.height,0)/100:P(L.height,R,"auto",u,"auto")),b=jQuery.extend(!0,b,s),r[v].firstLayerCalculated=!0,"rekursive"!=f){u="slide"==L.basealign?r[v].module.width:r.iWA(v,y),h="slide"==L.basealign?r[v].module.height:r.iHE(v);var M=!r.isNumeric(L.width)&&L.width.indexOf("%")>=0?!S._isstatic||S._incolumn||S._ingroup?L.width:u*parseInt(L.width,0)/100:P(L.width,R,"auto",u,"auto"),T=!r.isNumeric(L.height)&&L.height.indexOf("%")>=0?!S._isstatic||S._incolumn||S._ingroup?L.height:h*parseInt(L.height,0)/100:P(L.height,R,"auto",u,"auto"),C={maxWidth:P(L.maxWidth,R,"none",u,"none"),maxHeight:P(L.maxHeight,R,"none",h,"none"),minWidth:P(L.minWidth,R,"0px",u,0),minHeight:P(L.minHeight,R,"0px",h,0),height:T,width:M,overwrite:"auto"};1==S.heightSetByVideo&&(C.height=S.vidOBJ.height);var A=!1;if(S._incolumn){for(O=jQuery.extend(!0,O,{minWidth:M,maxWidth:M,float:L.float,clear:L.clear}),i=0;i<4;i++)void 0!==L["margin"+t[i]]&&(O["margin"+t[i]]=L["margin"+t[i]]*R+"px");I.width="100%",void 0!==L.display&&"inline-block"!==L.display||(_={width:"100%"}),C.width=!r.isNumeric(L.width)&&L.width.indexOf("%")>=0?"100%":M,"image"===S.type&&tpGS.gsap.set(S.img,{width:"100%"})}else!r.isNumeric(L.width)&&L.width.indexOf("%")>=0&&(O.minWidth="slide"===S.basealign||!0===S._ingroup||S._isstatic?M:r.iWA(v,y)*r[v].CM.w*parseInt(M)/100+"px",I.width="100%",_.width="100%");if(!r.isNumeric(L.height)&&L.height.indexOf("%")>=0&&(O.minHeight="slide"===S.basealign||!0===S._ingroup||S._isstatic?T:r.iHE(v)*(r[v].currentRowsHeight>r[v].gridheight[r[v].level]?1:r[v].CM.w)*parseInt(T)/100+"px",I.height="100%",_.height="100%",A=!0),S._isnotext||(C.whiteSpace=L.whiteSpace,C.textAlign=L.textAlign,C.textDecoration=L.textDecoration),"npc"!=L.color&&void 0!==L.color&&(C.color=L.color),S._ingroup&&(S._groupw=C.minWidth,S._grouph=C.minHeight),"row"===S.type&&(r.isNumeric(C.minHeight)||C.minHeight.indexOf("px")>=0)&&"0px"!==C.minHeight&&0!==C.minHeight&&"0"!==C.minHeight&&"none"!==C.minHeight?C.height=C.minHeight:"row"===S.type&&(C.height="auto"),S._isstatic&&S.elementHovered&&(p=m.data("frames"))&&p.frame_hover&&p.frame_hover.transform)for(g in C)C.hasOwnProperty(g)&&p.frame_hover.transform.hasOwnProperty(g)&&delete C[g];if("group"!==S.type&&"row"!==S.type&&"column"!==S.type&&(!r.isNumeric(C.width)&&C.width.indexOf("%")>=0&&(C.width="100%"),!r.isNumeric(C.height)&&C.height.indexOf("%")>=0&&(C.height="100%")),S._isgroup)for(!r.isNumeric(C.width)&&C.width.indexOf("%")>=0&&(C.width="100%"),O.height=A?"100%":C.height,i=0;i<4;i++)void 0!==b["border"+a[i]+"Radius"]&&(_["border"+a[i]+"Radius"]=b["border"+a[i]+"Radius"]);b=jQuery.extend(!0,b,C),null!=S.svg_src&&void 0!==S.svgI&&("string"==typeof S.svgI.fill&&(S.svgI.fill=[S.svgI.fill]),S.svgTemp=r.clone(S.svgI),delete S.svgTemp.svgAll,void 0!==S.svgTemp.fill&&(S.svgTemp.fill=S.svgTemp.fill[r[v].level],S.svg.length<=0&&(S.svg=m.find("svg")),S.svgPath.length<=0&&(S.svgPath=S.svg.find(S.svgI.svgAll?"path, circle, ellipse, line, polygon, polyline, rect":"path")),tpGS.gsap.set(S.svgPath,{fill:S.svgI.fill[r[v].level]})),tpGS.gsap.set(S.svg,S.svgTemp))}if("row"===S.type)for(i=0;i<4;i++)void 0!==L["margin"+t[i]]&&(O["padding"+t[i]]=L["margin"+t[i]]*R+"px");if("column"===S.type&&S.cbg&&S.cbg.length>0){for(void 0!==S.cbg_img_s&&(S.cbg[0].style.backgroundSize=S.cbg_img_s),s={},""!==S.styleProps.cursor&&(s.cursor=S.styleProps.cursor),""!==S.cbg_set&&"transparent"!==S.cbg_set&&(s.backgroundColor=S.cbg_set),""!==S.cbg_img&&"none"!==S.cbg_img&&(s.backgroundImage=S.cbg_img,""!==S.cbg_img_r&&(s.backgroundRepeat=S.cbg_img_r),""!==S.cbg_img_p&&(s.backgroundPosition=S.cbg_img_p)),""!==S.cbg_o&&void 0!==S.cbg_o&&(s.opacity=S.cbg_o),i=0;i<4;i++)void 0!==L.borderStyle&&"none"!==L.borderStyle&&(void 0!==L["border"+t[i]+"Width"]&&(s["border"+t[i]+"Width"]=Math.round(parseInt(L["border"+t[i]+"Width"])*R)+"px"),void 0!==L["border"+t[i]+"Color"]&&(s["border"+t[i]+"Color"]=L["border"+t[i]+"Color"])),L["border"+a[i]+"Radius"]&&(s["border"+a[i]+"Radius"]=L["border"+a[i]+"Radius"]);for(void 0!==L.borderStyle&&"none"!==L.borderStyle&&(s.borderStyle=L.borderStyle),(n=JSON.stringify(s))!==r[v].emptyObject&&n!==S.caches.cbgS&&tpGS.gsap.set(S.cbg,s),S.caches.cbgS=n,s={},i=0;i<4;i++)k["margin"+t[i]]&&(s[o[i]]=k["margin"+t[i]]*R+"px");(n=JSON.stringify(s))!==r[v].emptyObject&&n!==S.caches.cbgmaskS&&(tpGS.gsap.set(S.cbgmask,s),S.caches.cbgmaskS=n)}for(var D in"auto"===O.maxWidth&&(O.maxWidth="inherit"),"auto"===O.maxHeight&&(O.maxHeight="inherit"),"auto"===_.maxWidth&&(_.maxWidth="inherit"),"auto"===_.maxHeight&&(_.maxHeight="inherit"),"auto"===I.maxWidth&&(I.maxWidth="inherit"),"auto"===I.maxHeight&&(I.maxHeight="inherit"),void 0!==S.vidOBJ&&(b.width=S.vidOBJ.width,b.height=S.vidOBJ.height),void 0!==S.OBJUPD.lppmOBJ&&(void 0!==S.OBJUPD.lppmOBJ.minWidth&&(I.minWidth=S.OBJUPD.lppmOBJ.minWidth,_.minWidth=S.OBJUPD.lppmOBJ.minWidth,O.minWidth=S.OBJUPD.lppmOBJ.minWidth),void 0!==S.OBJUPD.lppmOBJ.minHeight&&(I.minHeight=S.OBJUPD.lppmOBJ.minHeight,_.minHeight=S.OBJUPD.lppmOBJ.minHeight,O.minHeight=S.OBJUPD.lppmOBJ.minHeight)),r[v].calcResponsiveLayerHooks){var z=r[v].calcResponsiveLayerHooks[D]({id:v,L:m,obj:L,_:S,inobj:e,LOBJ:b,LPOBJ:I,MOBJ:_,POBJ:O});null!=z&&(void 0!==z.obj&&(L=jQuery.extend(!0,L,z.obj)),void 0!==z.LOBJ&&(b=jQuery.extend(!0,b,z.LOBJ)),void 0!==z.LPOBJ&&(I=jQuery.extend(!0,I,z.LPOBJ)),void 0!==z.MOBJ&&(_=jQuery.extend(!0,_,z.MOBJ)),void 0!==z.POBJ&&(O=jQuery.extend(!0,O,z.POBJ)))}n=JSON.stringify(b),d=JSON.stringify(I),l=JSON.stringify(_),c=JSON.stringify(O),void 0===S.imgOBJ||void 0!==S.caches.imgOBJ&&S.caches.imgOBJ.width===S.imgOBJ.width&&S.caches.imgOBJ.height===S.imgOBJ.height&&S.caches.imgOBJ.left===S.imgOBJ.left&&S.caches.imgOBJ.right===S.imgOBJ.right&&S.caches.imgOBJ.top===S.imgOBJ.top&&S.caches.imgOBJ.bottom===S.imgOBJ.bottom||(S.caches.imgOBJ=r.clone(S.imgOBJ),S.imgOBJ.position="relative",tpGS.gsap.set(S.img,S.imgOBJ)),void 0===S.mediaOBJ||void 0!==S.caches.mediaOBJ&&S.caches.mediaOBJ.width===S.mediaOBJ.width&&S.caches.mediaOBJ.height===S.mediaOBJ.height&&S.caches.mediaOBJ.display===S.mediaOBJ.display||(S.caches.mediaOBJ=r.clone(S.mediaOBJ),S.media.css(S.mediaOBJ)),n!=r[v].emptyObject&&n!=S.caches.LOBJ&&(tpGS.gsap.set(m,b),S.caches.LOBJ=n),d!=r[v].emptyObject&&d!=S.caches.LPOBJ&&(tpGS.gsap.set(S.lp,I),S.caches.LPOBJ=d),l!=r[v].emptyObject&&l!=S.caches.MOBJ&&(tpGS.gsap.set(S.m,_),S.caches.MOBJ=l),c!=r[v].emptyObject&&c!=S.caches.POBJ&&(tpGS.gsap.set(S.p,O),S.caches.POBJ=c,S.caches.POBJ_LEFT=O.left,S.caches.POBJ_TOP=O.top)}},G=function(e){var i={l:"none",lw:10,r:"none",rw:10};for(var t in e=e.split(";"))if(e.hasOwnProperty(t)){var a=e[t].split(":");switch(a[0]){case"l":i.l=a[1];break;case"r":i.r=a[1];break;case"lw":i.lw=a[1];break;case"rw":i.rw=a[1]}}return"polygon("+H(i.l,0,parseFloat(i.lw))+","+H(i.r,100,100-parseFloat(i.rw),!0)+")"},H=function(e,i,t,a){var o;switch(e){case"none":o=i+"% 100%,"+i+"% 0%";break;case"top":o=t+"% 100%,"+i+"% 0%";break;case"middle":o=t+"% 100%,"+i+"% 50%,"+t+"% 0%";break;case"bottom":o=i+"% 100%,"+t+"% 0%";break;case"two":o=t+"% 100%,"+i+"% 75%,"+t+"% 50%,"+i+"% 25%,"+t+"% 0%";break;case"three":o=i+"% 100%,"+t+"% 75%,"+i+"% 50%,"+t+"% 25%,"+i+"% 0%";break;case"four":o=i+"% 100%,"+t+"% 87.5%,"+i+"% 75%,"+t+"% 62.5%,"+i+"% 50%,"+t+"% 37.5%,"+i+"% 25%,"+t+"% 12.5%,"+i+"% 0%";break;case"five":o=i+"% 100%,"+t+"% 90%,"+i+"% 80%,"+t+"% 70%,"+i+"% 60%,"+t+"% 50%,"+i+"% 40%,"+t+"% 30%,"+i+"% 20%,"+t+"% 10%,"+i+"% 0%"}if(a){var r=o.split(",");for(var t in o="",r)r.hasOwnProperty(t)&&(o+=r[r.length-1-t]+(t<r.length-1?",":""))}return o};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.layeranimation={loaded:!0,version:"6.5.18"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";jQuery.fn.revolution=jQuery.fn.revolution||{};var i=jQuery.fn.revolution;function t(e,t){var a=new Object({single:".tp-"+t,c:i[e].cpar.find(".tp-"+t+"s")});return a.mask=a.c.find(".tp-"+t+"-mask"),a.wrap=a.c.find(".tp-"+t+"s-inner-wrapper"),a}jQuery.extend(!0,i,{hideUnHideNav:function(e){window.requestAnimationFrame(function(){var t=!1;p(i[e].navigation.arrows)&&(t=x(i[e].navigation.arrows,e,t)),p(i[e].navigation.bullets)&&(t=x(i[e].navigation.bullets,e,t)),p(i[e].navigation.thumbnails)&&(t=x(i[e].navigation.thumbnails,e,t)),p(i[e].navigation.tabs)&&(t=x(i[e].navigation.tabs,e,t)),t&&i.manageNavigation(e)})},getOuterNavDimension:function(e){i[e].navigation.scaler=Math.max(0,Math.min(1,(i.winW-480)/500));var t={left:0,right:0,horizontal:0,vertical:0,top:0,bottom:0};return i[e].navigation.thumbnails&&i[e].navigation.thumbnails.enable&&(i[e].navigation.thumbnails.isVisible=i[e].navigation.thumbnails.hide_under<i[e].module.width&&i[e].navigation.thumbnails.hide_over>i[e].module.width,i[e].navigation.thumbnails.cw=Math.max(Math.round(i[e].navigation.thumbnails.width*i[e].navigation.scaler),i[e].navigation.thumbnails.min_width),i[e].navigation.thumbnails.ch=Math.round(i[e].navigation.thumbnails.cw/i[e].navigation.thumbnails.width*i[e].navigation.thumbnails.height),i[e].navigation.thumbnails.isVisible&&"outer-left"===i[e].navigation.thumbnails.position?t.left=i[e].navigation.thumbnails.cw+2*i[e].navigation.thumbnails.wrapper_padding:i[e].navigation.thumbnails.isVisible&&"outer-right"===i[e].navigation.thumbnails.position?t.right=i[e].navigation.thumbnails.cw+2*i[e].navigation.thumbnails.wrapper_padding:i[e].navigation.thumbnails.isVisible&&"outer-top"===i[e].navigation.thumbnails.position?t.top=i[e].navigation.thumbnails.ch+2*i[e].navigation.thumbnails.wrapper_padding:i[e].navigation.thumbnails.isVisible&&"outer-bottom"===i[e].navigation.thumbnails.position&&(t.bottom=i[e].navigation.thumbnails.ch+2*i[e].navigation.thumbnails.wrapper_padding)),i[e].navigation.tabs&&i[e].navigation.tabs.enable&&(i[e].navigation.tabs.isVisible=i[e].navigation.tabs.hide_under<i[e].module.width&&i[e].navigation.tabs.hide_over>i[e].module.width,i[e].navigation.tabs.cw=Math.max(Math.round(i[e].navigation.tabs.width*i[e].navigation.scaler),i[e].navigation.tabs.min_width),i[e].navigation.tabs.ch=Math.round(i[e].navigation.tabs.cw/i[e].navigation.tabs.width*i[e].navigation.tabs.height),i[e].navigation.tabs.isVisible&&"outer-left"===i[e].navigation.tabs.position?t.left+=i[e].navigation.tabs.cw+2*i[e].navigation.tabs.wrapper_padding:i[e].navigation.tabs.isVisible&&"outer-right"===i[e].navigation.tabs.position?t.right+=i[e].navigation.tabs.cw+2*i[e].navigation.tabs.wrapper_padding:i[e].navigation.tabs.isVisible&&"outer-top"===i[e].navigation.tabs.position?t.top+=i[e].navigation.tabs.ch+2*i[e].navigation.tabs.wrapper_padding:i[e].navigation.tabs.isVisible&&"outer-bottom"===i[e].navigation.tabs.position&&(t.bottom+=i[e].navigation.tabs.ch+2*i[e].navigation.tabs.wrapper_padding)),{left:t.left,right:t.right,horizontal:t.left+t.right,vertical:t.top+t.bottom,top:t.top,bottom:t.bottom}},resizeThumbsTabs:function(e,t){if(void 0!==i[e]&&i[e].navigation.use&&(i[e].navigation&&i[e].navigation.bullets.enable||i[e].navigation&&i[e].navigation.tabs.enable||i[e].navigation&&i[e].navigation.thumbnails.enable)){var a=tpGS.gsap.timeline(),r=i[e].navigation.tabs,s=i[e].navigation.thumbnails,n=i[e].navigation.bullets;if(a.pause(),p(r)&&(t||r.width>r.min_width)&&o(e,a,i[e].c,r,i[e].slideamount,"tab"),p(s)&&(t||s.width>s.min_width)&&o(e,a,i[e].c,s,i[e].slideamount,"thumb",e),p(n)&&t){var d=i[e].c.find(".tp-bullets");d.find(".tp-bullet").each(function(e){var i=jQuery(this),t=e+1,a=i.outerWidth()+parseInt(void 0===n.space?0:n.space,0),o=i.outerHeight()+parseInt(void 0===n.space?0:n.space,0);"vertical"===n.direction?(i.css({top:(t-1)*o+"px",left:"0px"}),d.css({height:(t-1)*o+i.outerHeight(),width:i.outerWidth()})):(i.css({left:(t-1)*a+"px",top:"0px"}),d.css({width:(t-1)*a+i.outerWidth(),height:i.outerHeight()}))})}a.play()}return!0},updateNavIndexes:function(e){var t=i[e].c;function a(e){t.find(e).lenght>0&&t.find(e).each(function(e){jQuery(this).data("liindex",e)})}a("rs-tab"),a("rs-bullet"),a("rs-thumb"),i.resizeThumbsTabs(e,!0),i.manageNavigation(e)},manageNavigation:function(e,t){i[e].navigation.use&&(p(i[e].navigation.bullets)&&("fullscreen"!=i[e].sliderLayout&&"fullwidth"!=i[e].sliderLayout&&(i[e].navigation.bullets.h_offset_old=void 0===i[e].navigation.bullets.h_offset_old?parseInt(i[e].navigation.bullets.h_offset,0):i[e].navigation.bullets.h_offset_old,i[e].navigation.bullets.h_offset="center"===i[e].navigation.bullets.h_align?i[e].navigation.bullets.h_offset_old+i[e].outNavDims.left/2-i[e].outNavDims.right/2:i[e].navigation.bullets.h_offset_old+i[e].outNavDims.left),b(i[e].navigation.bullets,e)),p(i[e].navigation.thumbnails)&&b(i[e].navigation.thumbnails,e),p(i[e].navigation.tabs)&&b(i[e].navigation.tabs,e),p(i[e].navigation.arrows)&&("fullscreen"!=i[e].sliderLayout&&"fullwidth"!=i[e].sliderLayout&&(i[e].navigation.arrows.left.h_offset_old=void 0===i[e].navigation.arrows.left.h_offset_old?parseInt(i[e].navigation.arrows.left.h_offset,0):i[e].navigation.arrows.left.h_offset_old,i[e].navigation.arrows.left.h_offset=(i[e].navigation.arrows.left.h_align,i[e].navigation.arrows.left.h_offset_old),i[e].navigation.arrows.right.h_offset_old=void 0===i[e].navigation.arrows.right.h_offset_old?parseInt(i[e].navigation.arrows.right.h_offset,0):i[e].navigation.arrows.right.h_offset_old,i[e].navigation.arrows.right.h_offset=(i[e].navigation.arrows.right.h_align,i[e].navigation.arrows.right.h_offset_old)),b(i[e].navigation.arrows.left,e),b(i[e].navigation.arrows.right,e)),!1!==t&&(p(i[e].navigation.thumbnails)&&a(i[e].navigation.thumbnails,e),p(i[e].navigation.tabs)&&a(i[e].navigation.tabs,e)))},showFirstTime:function(e){u(e),i.hideUnHideNav(e)},selectNavElement:function(e,t,a,o){for(var r=i[e].cpar[0].getElementsByClassName(a),s=0;s<r.length;s++)i.gA(r[s],"key")===t?(r[s].classList.add("selected"),void 0!==o&&o()):r[s].classList.remove("selected")},transferParams:function(e,i){if(void 0!==i)for(var t in i.params)e=e.replace(i.params[t].from,i.params[t].to);return e},updateNavElementContent:function(e,t,o,r,s){if(void 0!==i[e].pr_next_key||void 0!==i[e].pr_active_key){var n=void 0===i[e].pr_next_key?void 0===i[e].pr_cache_pr_next_key?i[e].pr_active_key:i[e].pr_cache_pr_next_key:i[e].pr_next_key,d=i.gA(i[e].slides[n],"key"),l=0,c=!1;for(var p in o.enable&&i.selectNavElement(e,d,"tp-bullet"),r.enable&&i.selectNavElement(e,d,"tp-thumb",function(){a(r,e)}),s.enable&&i.selectNavElement(e,d,"tp-tab",function(){a(s,e)}),i[e].thumbs)l=!0===c?l:p,c=i[e].thumbs[p].id===d||p==d||c;var g=(l=parseInt(l,0))>0?l-1:i[e].slideamount-1,u=l+1==i[e].slideamount?0:l+1;if(!0===t.enable&&t.pi!==g&&t.ni!==u){if(t.pi=g,t.ni=u,t.left.c[0].innerHTML=i.transferParams(t.tmp,i[e].thumbs[g]),u>i[e].slideamount)return;t.right.c[0].innerHTML=i.transferParams(t.tmp,i[e].thumbs[u]),t.right.iholder=t.right.c.find(".tp-arr-imgholder"),t.left.iholder=t.left.c.find(".tp-arr-imgholder"),t.rtl?(void 0!==t.left.iholder[0]&&tpGS.gsap.set(t.left.iholder,{backgroundImage:"url("+i[e].thumbs[u].src+")"}),void 0!==i[e].thumbs[g]&&void 0!==t.right.iholder[0]&&tpGS.gsap.set(t.right.iholder,{backgroundImage:"url("+i[e].thumbs[g].src+")"})):(void 0!==i[e].thumbs[g]&&void 0!==t.left.iholder[0]&&tpGS.gsap.set(t.left.iholder,{backgroundImage:"url("+i[e].thumbs[g].src+")"}),void 0!==t.right.iholder[0]&&tpGS.gsap.set(t.right.iholder,{backgroundImage:"url("+i[e].thumbs[u].src+")"}))}}},createNavigation:function(e){var a=i[e].navigation.arrows,o=i[e].navigation.bullets,r=i[e].navigation.thumbnails,d=i[e].navigation.tabs,h=p(a),v=p(o),w=p(r),y=p(d);for(var x in s(e),n(e),h&&(f(a,e),a.c=i[e].cpar.find(".tparrows")),i[e].slides)if(i[e].slides.hasOwnProperty(x)&&"true"!=i.gA(i[e].slides[x],"not_in_nav")){var k=jQuery(i[e].slides[i[e].slides.length-1-x]),L=jQuery(i[e].slides[x]);v&&(i[e].navigation.bullets.rtl?_(i[e].c,o,k,e):_(i[e].c,o,L,e)),w&&(i[e].navigation.thumbnails.rtl?S(i[e].c,r,k,"tp-thumb",e):S(i[e].c,r,L,"tp-thumb",e)),y&&(i[e].navigation.tabs.rtl?S(i[e].c,d,k,"tp-tab",e):S(i[e].c,d,L,"tp-tab",e))}v&&b(o,e),w&&b(r,e),y&&b(d,e),(w||y)&&i.updateDims(e),i[e].navigation.createNavigationDone=!0,w&&jQuery.extend(!0,r,t(e,"thumb")),y&&jQuery.extend(!0,d,t(e,"tab")),i[e].c.on("revolution.slide.onafterswap revolution.nextslide.waiting",function(){i.updateNavElementContent(e,a,o,r,d)}),c(a),c(o),c(r),c(d),i[e].cpar.on("mouseenter mousemove",function(t){void 0!==t.target&&void 0!==t.target.className&&"string"==typeof t.target.className&&t.target.className.indexOf("rs-waction")>=0||!0!==i[e].tpMouseOver&&i[e].firstSlideAvailable&&(i[e].tpMouseOver=!0,u(e),i.ISM&&!0!==i[e].someNavIsDragged&&(g(i[e].hideAllNavElementTimer),i[e].hideAllNavElementTimer=setTimeout(function(){i[e].tpMouseOver=!1,m(e)},150)))}),i[e].cpar.on("mouseleave ",function(){i[e].tpMouseOver=!1,m(e)}),(w||y||"carousel"===i[e].sliderType||i[e].navigation.touch.touchOnDesktop||i[e].navigation.touch.touchenabled&&i.ISM)&&l(e),i[e].navigation.initialised=!0,i.updateNavElementContent(e,a,o,r,d),i.showFirstTime(e)}});var a=function(e,t){if(void 0!==e&&null!=e.mask){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,o="vertical"===e.direction?e.mask.height():e.mask.width(),r=e.mask.find(e.single+".selected").data("liindex");r=(r=void 0===(r=e.rtl?i[t].slideamount-r:r)?0:r)>0&&1===i[t].sdir&&e.visibleAmount>1?r-1:r;var s=o/a,n="vertical"===e.direction?e.mask.height():e.mask.width(),d=0-r*a,l="vertical"===e.direction?e.wrap.height():e.wrap.width(),c=d<0-(l-n)?0-(l-n):d,p=i.gA(e.wrap[0],"offset");p=void 0===p?0:p,s>2&&(c=d-(p+a)<=0?d-(p+a)<0-a?p:c+a:c,c=d-a+p+o<a&&d+(Math.round(s)-2)*a<p?d+(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-(l-n)?0-(l-n):c>0?0:c,e.c.hasClass("dragged")||("vertical"===e.direction?e.wrap.data("tmmove",tpGS.gsap.to(e.wrap,.5,{top:c+"px",ease:"power3.inOut"})):e.wrap.data("tmmove",tpGS.gsap.to(e.wrap,.5,{left:c+"px",ease:"power3.inOut"})),e.wrap.data("offset",c))}},o=function(e,t,a,o,r,s){var n=a.parent().find(".tp-"+s+"s"),d=n.find(".tp-"+s+"s-inner-wrapper"),l=n.find(".tp-"+s+"-mask"),c="vertical"===o.direction?o.cw:o.cw*r+parseFloat(o.space)*(r-1),p="vertical"===o.direction?o.ch*r+parseInt(o.space)*(r-1):o.ch,g="vertical"===o.direction?{width:o.cw+"px"}:{height:o.ch+"px"};if(t.add(tpGS.gsap.set(n,g)),t.add(tpGS.gsap.set(d,{width:c+"px",height:p+"px"})),"horizontal"===o.direction){var u=Math.min(c,o.cw*o.visibleAmount+parseFloat(o.space)*(o.visibleAmount-1));t.add(tpGS.gsap.set(l,{width:u+"px",height:p+"px"}))}else{var h=Math.min(p,o.ch*o.visibleAmount+parseFloat(o.space)*(o.visibleAmount-1));t.add(tpGS.gsap.set(l,{width:c+"px",height:h+"px"}))}null!==d.outerWidth()&&(i[e].thumbResized=!0);var m=d.find(".tp-"+s);return m&&jQuery.each(m,function(e,i){"vertical"===o.direction?t.add(tpGS.gsap.set(i,{top:e*(o.ch+parseInt(void 0===o.space?0:o.space,0)),width:o.cw+"px",height:o.ch+"px"})):"horizontal"===o.direction&&t.add(tpGS.gsap.set(i,{left:e*(o.cw+parseInt(void 0===o.space?0:o.space,0)),width:o.cw+"px",height:o.ch+"px"}))}),t},r=function(e){var i=0;return"deltaY"in e||"deltaX"in e?i=0!=e.deltaY&&-0!=e.deltaY||!(e.deltaX<0||e.deltaX>0)?e.deltaY:e.deltaX:("detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120)),((i=navigator.userAgent.match(/mozilla/i)?10*i:i)>300||i<-300)&&(i/=10),i},s=function(e){!0===i[e].navigation.keyboardNavigation&&i.document.on("keydown",function(t){if("horizontal"==i[e].navigation.keyboard_direction&&39==t.keyCode||"vertical"==i[e].navigation.keyboard_direction&&40==t.keyCode){if(void 0!==i[e].keydown_time_stamp&&(new Date).getTime()-i[e].keydown_time_stamp<1e3)return;i[e].sc_indicator="arrow",i[e].sc_indicator_dir=0,"carousel"===i[e].sliderType&&(i[e].ctNavElement=!0),i.callingNewSlide(e,1,"carousel"===i[e].sliderType)}if("horizontal"==i[e].navigation.keyboard_direction&&37==t.keyCode||"vertical"==i[e].navigation.keyboard_direction&&38==t.keyCode){if(void 0!==i[e].keydown_time_stamp&&(new Date).getTime()-i[e].keydown_time_stamp<1e3)return;i[e].sc_indicator="arrow",i[e].sc_indicator_dir=1,"carousel"===i[e].sliderType&&(i[e].ctNavElement=!0),i.callingNewSlide(e,-1,"carousel"===i[e].sliderType)}i[e].keydown_time_stamp=(new Date).getTime()})},n=function(e){!0!==i[e].navigation.mouseScrollNavigation&&"on"!==i[e].navigation.mouseScrollNavigation&&"carousel"!==i[e].navigation.mouseScrollNavigation||i[e].c[0].addEventListener("wheel",function(t){var a=r(t),o=!1,s=0==i[e].pr_active_key||0==i[e].pr_processing_key,n=i[e].pr_active_key==i[e].slideamount-1||i[e].pr_processing_key==i[e].slideamount-1,d=void 0!==i[e].topc?i[e].topc[0].getBoundingClientRect():0===i[e].canv.height?i[e].cpar[0].getBoundingClientRect():i[e].c[0].getBoundingClientRect(),l=d.top>=0&&d.bottom<=i.winH?1:d.top>=0&&d.bottom>=i.winH?(i.winH-Math.round(d.top))/d.height:d.top<=0&&d.bottom<=i.winH?Math.round(d.bottom)/d.height:1,c=a<0?-1:1,p=i[e].navigation.wheelViewPort;if(l=Math.round(100*l)/100,"reverse"==i[e].navigation.mouseScrollReverse){var g=n;n=s,s=g}if(!(p-l<=i[e].navigation.threshold/100)||l>=p||(d.top>=0&&-1===c||d.top<=0&&1===c)){if(l>=p)return"carousel"===i[e].sliderType&&!1===i[e].carousel.snap?i.swipeAnimate({id:e,to:i[e].carousel.slide_offset+5*a,direction:a<0?"left":"right",easing:"power2.out",phase:"move"}):(i[e].sc_indicator_dir="reverse"===i[e].navigation.mouseScrollReverse&&c<0||"reverse"!==i[e].navigation.mouseScrollReverse&&c>0?"reverse"!==i[e].navigation.mouseScrollReverse?0:1:"reverse"!==i[e].navigation.mouseScrollReverse?1:0,"carousel"==i[e].navigation.mouseScrollNavigation||0===i[e].sc_indicator_dir&&!n||1===i[e].sc_indicator_dir&&!s?void 0===i[e].pr_processing_key&&!0!==i[e].justmouseScrolled?(i[e].sc_indicator="arrow","carousel"===i[e].sliderType&&(i[e].ctNavElement=!0),i.callingNewSlide(e,0===i[e].sc_indicator_dir?"reverse"===i[e].navigation.mouseScrollReverse?-1:1:"reverse"===i[e].navigation.mouseScrollReverse?1:-1,"carousel"===i[e].sliderType),i[e].justmouseScrolled=!0,setTimeout(function(){i[e].justmouseScrolled=!1},i[e].navigation.wheelCallDelay)):delete i[e].sc_indicator_dir:!0!==i[e].justmouseScrolled&&(o=!0)),!!o||(t.preventDefault(t),!1)}else if(t.preventDefault(),!i[e].mScrollTween){var u="window"!==i[e].navigation.target&&i[e].navigation.target?i[e].navigation.target:window;i[e].mScrollTween=tpGS.gsap.to(u,{duration:jQuery.fn.revolution.isWebkit()?.1:.7,scrollTo:{y:i[e].topc},ease:"power2.out",onComplete:function(){i[e].mScrollTween.kill(),delete i[e].mScrollTween}})}},{passive:!1})},d=function(e,t){var a=!1;for(var o in(void 0===t.path||i.ISM)&&(a=function(e,i){for(;e&&e!==document;e=e.parentNode)if(e.tagName===i)return e;return!1}(t.target,e)),t.path)t.path.hasOwnProperty(o)&&t.path[o].tagName===e&&(a=!0);return a},l=function(e){var t=i[e].carousel,a=i.is_android();jQuery(".bullet, .bullets, .tp-bullets, .tparrows").addClass("noSwipe"),i[e].navigation.touch=void 0===i[e].navigation.touch?{}:i[e].navigation.touch,i[e].navigation.touch.swipe_direction=void 0===i[e].navigation.touch.swipe_direction?"horizontal":i[e].navigation.touch.swipe_direction,i[e].cpar.find(".rs-nav-element").rsswipe({allowPageScroll:"vertical",triggerOnTouchLeave:!0,treshold:i[e].navigation.touch.swipe_treshold,fingers:i[e].navigation.touch.swipe_min_touches>5?1:i[e].navigation.touch.swipe_min_touches,excludedElements:"button, input, select, textarea, .noSwipe, .rs-waction",tap:function(e,i){if(void 0!==i)var t=jQuery(i).closest("rs-thumb");void 0!==t&&t.length>0?t.trigger("click"):(t=jQuery(i).closest("rs-tab")).length>0?t.trigger("click"):(t=jQuery(i).closest("rs-bullet")).length>0&&t.trigger("click")},swipeStatus:function(o,r,s,n,l,c,p){if("start"!==r&&"move"!==r&&"end"!==r&&"cancel"!=r)return!0;var u=d("RS-THUMB",o),m=d("RS-TAB",o);!1===u&&!1===m&&!0!==(u="RS-THUMBS-WRAP"===o.target.tagName||"RS-THUMBS"===o.target.tagName||o.target.className.indexOf("tp-thumb-mask")>=0)&&(m="RS-TABS-WRAP"===o.target.tagName||"RS-TABS"===o.target.tagName||o.target.className.indexOf("tp-tab-mask")>=0);var v="start"===r?0:a?p[0].end.x-p[0].start.x:o.pageX-t.screenX,f="start"===r?0:a?p[0].end.y-p[0].start.y:o.pageY-t.screenY,w=u?".tp-thumbs":".tp-tabs",y=u?".tp-thumb-mask":".tp-tab-mask",b=u?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",_=u?".tp-thumb":".tp-tab",S=u?i[e].navigation.thumbnails:i[e].navigation.tabs,x=i[e].cpar.find(y),k=x.find(b),L=S.direction,R="vertical"===L?k.height():k.width(),O="vertical"===L?x.height():x.width(),I="vertical"===L?x.find(_).first().outerHeight(!0)+parseFloat(S.space):x.find(_).first().outerWidth(!0)+parseFloat(S.space),M=void 0===k.data("offset")?0:parseInt(k.data("offset"),0),T=0;switch(r){case"start":"vertical"===L&&o.preventDefault(),t.screenX=a?p[0].end.x:o.pageX,t.screenY=a?p[0].end.y:o.pageY,i[e].cpar.find(w).addClass("dragged"),M="vertical"===L?k.position().top:k.position().left,k.data("offset",M),k.data("tmmove")&&k.data("tmmove").pause(),i[e].someNavIsDragged=!0,h(e);break;case"move":if(R<=O)return!1;T=(T=M+("vertical"===L?f:v))>0?"horizontal"===L?T-k.width()*(T/k.width()*T/k.width()):T-k.height()*(T/k.height()*T/k.height()):T;var C="vertical"===L?0-(k.height()-x.height()):0-(k.width()-x.width());T=T<C?"horizontal"===L?T+k.width()*(T-C)/k.width()*(T-C)/k.width():T+k.height()*(T-C)/k.height()*(T-C)/k.height():T,"vertical"===L?tpGS.gsap.set(k,{top:T+"px"}):tpGS.gsap.set(k,{left:T+"px"}),g(i[e].hideAllNavElementTimer);break;case"end":case"cancel":return T=M+("vertical"===L?f:v),T=(T="vertical"===L?T<0-(k.height()-x.height())?0-(k.height()-x.height()):T:T<0-(k.width()-x.width())?0-(k.width()-x.width()):T)>0?0:T,T=Math.abs(n)>I/10?n<=0?Math.floor(T/I)*I:Math.ceil(T/I)*I:n<0?Math.ceil(T/I)*I:Math.floor(T/I)*I,T=(T="vertical"===L?T<0-(k.height()-x.height())?0-(k.height()-x.height()):T:T<0-(k.width()-x.width())?0-(k.width()-x.width()):T)>0?0:T,"vertical"===L?tpGS.gsap.to(k,.5,{top:T+"px",ease:"power3.out"}):tpGS.gsap.to(k,.5,{left:T+"px",ease:"power3.out"}),T=T||("vertical"===L?k.position().top:k.position().left),k.data("offset",T),k.data("distance",n),i[e].cpar.find(w).removeClass("dragged"),i[e].someNavIsDragged=!1,!0}}}),("carousel"!==i[e].sliderType&&(i.ISM&&i[e].navigation.touch.touchenabled||!0!==i.ISM&&i[e].navigation.touch.touchOnDesktop)||"carousel"===i[e].sliderType&&(i.ISM&&i[e].navigation.touch.mobileCarousel||!0!==i.ISM&&i[e].navigation.touch.desktopCarousel))&&(i[e].preventClicks=!1,i[e].c.on("click",function(t){i[e].preventClicks&&t.preventDefault()}),i[e].c.rsswipe({allowPageScroll:"vertical",triggerOnTouchLeave:!0,treshold:i[e].navigation.touch.swipe_treshold,fingers:i[e].navigation.touch.swipe_min_touches>5?1:i[e].navigation.touch.swipe_min_touches,excludedElements:"label, button, input, select, textarea, .noSwipe, .rs-nav-element",swipeStatus:function(o,r,s,n,d,l,c){i[e].preventClicks=!0;var p="start"===r?0:a?c[0].end.x-c[0].start.x:o.pageX-t.screenX,g="start"===r?0:a?c[0].end.x-c[0].start.y:o.pageY-t.screenY;if(!("carousel"===i[e].sliderType&&i[e].carousel.wrapwidth>i[e].carousel.maxwidth&&"center"!==i[e].carousel.horizontal_align)){if("carousel"!==i[e].sliderType){if("end"==r){if(i[e].sc_indicator="arrow","horizontal"==i[e].navigation.touch.swipe_direction&&"left"==s||"vertical"==i[e].navigation.touch.swipe_direction&&"up"==s)return i[e].sc_indicator_dir=0,i.callingNewSlide(e,1),!1;if("horizontal"==i[e].navigation.touch.swipe_direction&&"right"==s||"vertical"==i[e].navigation.touch.swipe_direction&&"down"==s)return i[e].sc_indicator_dir=1,i.callingNewSlide(e,-1),!1}return!0}switch((t.preventSwipe||i.ISM&&("left"===s||"right"===s))&&o.preventDefault(),void 0!==t.positionanim&&t.positionanim.pause(),t.carouselAutomatic=!1,r){case"start":clearTimeout(t.swipeMainTimer),t.beforeSwipeOffet=t.slide_offset,t.focusedBeforeSwipe=t.focused,t.beforeDragStatus=i[e].sliderstatus,i[e].c.trigger("stoptimer"),t.swipeStartPos=a?c[0].start.x:o.pageX,t.swipeStartTime=(new Date).getTime(),t.screenX=a?c[0].end.x:o.pageX,t.screenY=a?c[0].end.y:o.pageY,void 0!==t.positionanim&&(t.positionanim.pause(),t.carouselAutomatic=!1),t.overpull="none",t.wrap.addClass("dragged");break;case"move":if("left"!==s&&"right"!==s||(t.preventSwipe=!0),t.justDragged=!0,Math.abs(p)>=10||i[e].carousel.isDragged){if(i[e].carousel.isDragged=!0,i[e].c.find(".rs-waction").addClass("tp-temporarydisabled"),t.CACHE_slide_offset=t.beforeSwipeOffet+p,!t.infinity){var u="center"===t.horizontal_align?(t.wrapwidth/2-t.slide_width/2-t.CACHE_slide_offset)/t.slide_width:(0-t.CACHE_slide_offset)/t.slide_width;"none"!==t.overpull&&0!==t.overpull||!(u<0||u>i[e].slideamount-1)?u>=0&&u<=i[e].slideamount-1&&(u>=0&&p>t.overpull||u<=i[e].slideamount-1&&p<t.overpull)&&(t.overpull=0):t.overpull=p,t.CACHE_slide_offset=u<0?t.CACHE_slide_offset+(t.overpull-p)/1.5+Math.sqrt(Math.abs((t.overpull-p)/1.5)):u>i[e].slideamount-1?t.CACHE_slide_offset+(t.overpull-p)/1.5-Math.sqrt(Math.abs((t.overpull-p)/1.5)):t.CACHE_slide_offset}i.swipeAnimate({id:e,to:t.CACHE_slide_offset,direction:s,easing:"power2.out",phase:"move"})}break;case"end":case"cancel":if(clearTimeout(t.swipeMainTimer),t.swipeMainTimer=setTimeout(function(){t.preventSwipe=!1},500),i[e].carousel.isDragged=!1,t.wrap.removeClass("dragged"),t.swipeEndPos=a?c[0].end.x:o.pageX,t.swipeEndTime=(new Date).getTime(),t.swipeDuration=t.swipeEndTime-t.swipeStartTime,t.swipeDistance=i.ISM?t.swipeEndPos-t.swipeStartPos:(t.swipeEndPos-t.swipeStartPos)/1.5,t.swipePower=t.swipeDistance/t.swipeDuration,t.CACHE_slide_offset=t.slide_offset+t.swipeDistance*Math.abs(t.swipePower),Math.abs(p)<5&&Math.abs(g)<5)break;i.swipeAnimate({id:e,to:t.CACHE_slide_offset,direction:s,fix:!0,newSlide:!0,easing:"power2.out",phase:"end"}),"playing"===t.beforeDragStatus&&i[e].c.trigger("restarttimer"),setTimeout(function(){i[e].c.find(".rs-waction").removeClass("tp-temporarydisabled")},19)}}},tap:function(){i[e].preventClicks=!1}})),"carousel"===i[e].sliderType&&(i.ISM&&0==i[e].navigation.touch.mobileCarousel||!0!==i.ISM&&!1===i[e].navigation.touch.desktopCarousel)&&t.wrap.addClass("noswipe"),i[e].navigation.touch.drag_block_vertical&&i[e].c.addClass("disableVerticalScroll")},c=function(e){e.hide_delay=i.isNumeric(parseInt(e.hide_delay,0))?e.hide_delay:.2,e.hide_delay_mobile=i.isNumeric(parseInt(e.hide_delay_mobile,0))?e.hide_delay_mobile:.2},p=function(e){return e&&e.enable},g=function(e){clearTimeout(e)},u=function(e){var t=i[e].navigation.maintypes;for(var a in t)t.hasOwnProperty(a)&&p(i[e].navigation[t[a]])&&void 0!==i[e].navigation[t[a]].c&&(g(i[e].navigation[t[a]].showCall),i[e].navigation[t[a]].showCall=setTimeout(function(t){g(t.hideCall),t.hide_onleave&&!0!==i[e].tpMouseOver||(void 0===t.tween?t.tween=v(t):t.tween.play())},i[e].navigation[t[a]].hide_onleave&&!0!==i[e].tpMouseOver?0:parseInt(i[e].navigation[t[a]].animDelay),i[e].navigation[t[a]]))},h=function(e){var t=i[e].navigation.maintypes;for(var a in t)t.hasOwnProperty(a)&&void 0!==i[e].navigation[t[a]]&&i[e].navigation[t[a]].hide_onleave&&p(i[e].navigation[t[a]])&&g(i[e].navigation[t[a]].hideCall)},m=function(e,t){var a=i[e].navigation.maintypes;for(var o in a)a.hasOwnProperty(o)&&void 0!==i[e].navigation[a[o]]&&i[e].navigation[a[o]].hide_onleave&&p(i[e].navigation[a[o]])&&(g(i[e].navigation[a[o]].hideCall),i[e].navigation[a[o]].hideCall=setTimeout(function(e){g(e.showCall),e.tween&&e.tween.reverse()},i.ISM?parseInt(i[e].navigation[a[o]].hide_delay_mobile,0):parseInt(i[e].navigation[a[o]].hide_delay,0),i[e].navigation[a[o]]))},v=function(e){e.speed=void 0===e.animSpeed?.5:e.animSpeed,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 i=tpGS.gsap.timeline();for(var t in i.add(tpGS.gsap.to(e.c,e.speed,{delay:e.animDelay,opacity:1,ease:"power3.inOut"}),0),e.anims)if(e.anims.hasOwnProperty(t))switch(e.anims[t]){case"left":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{marginLeft:-50},{delay:e.animDelay,marginLeft:"0px",ease:"power3.inOut"}),0);break;case"right":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{marginLeft:50},{delay:e.animDelay,marginLeft:"0px",ease:"power3.inOut"}),0);break;case"top":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{marginTop:-50},{delay:e.animDelay,marginTop:"0px",ease:"power3.inOut"}),0);break;case"bottom":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{marginTop:50},{delay:e.animDelay,marginTop:"0px",ease:"power3.inOut"}),0);break;case"zoomin":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{scale:.5},{delay:e.animDelay,scale:1,ease:"power3.inOut"}),0);break;case"zoomout":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{scale:1.2},{delay:e.animDelay,scale:1,ease:"power3.inOut"}),0)}return i.play(),i},f=function(e,t){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,void 0===e.left.c&&(e.left.c=jQuery('<rs-arrow style="opacity:0" class="tp-leftarrow tparrows '+e.style+" "+e.left.style+'">'+e.tmp+"</rs-arrow>"),i[t].c.append(e.left.c)),void 0===e.right.c&&(e.right.c=jQuery('<rs-arrow style="opacity:0"  class="tp-rightarrow tparrows '+e.style+" "+e.right.style+'">'+e.tmp+"</rs-arrow>"),i[t].c.append(e.right.c)),e[e.rtl?"left":"right"].c.on("click",function(){"carousel"===i[t].sliderType&&(i[t].ctNavElement=!0),i[t].sc_indicator="arrow",i[t].sc_indicator_dir=0,i[t].c.revnext()}),e[e.rtl?"right":"left"].c.on("click",function(){"carousel"===i[t].sliderType&&(i[t].ctNavElement=!0),i[t].sc_indicator="arrow",i[t].sc_indicator_dir=1,i[t].c.revprev()}),e.padding_top=parseInt(i[t].carousel.padding_top||0,0),e.padding_bottom=parseInt(i[t].carousel.padding_bottom||0,0),b(e.left,t),b(e.right,t),"outer-left"!=e.position&&"outer-right"!=e.position||(i[t].outernav=!0)},w=function(e,t,a,o){o=void 0===o?e.outerHeight(!0):o;var r=null==i[a]?0:0==i[a].canv.height?i[a].module.height:i[a].canv.height,s="layergrid"==t.container?"fullscreen"==i[a].sliderLayout?i[a].module.height/2-i[a].gridheight[i[a].level]*i[a].CM.h/2:i[a].autoHeight||null!=i[a].minHeight&&i[a].minHeight>0?r/2-i[a].gridheight[i[a].level]*i[a].CM.h/2:0:0,n="top"===t.v_align?{top:"0px",y:Math.round(t.v_offset+s)+"px"}:"center"===t.v_align?{top:"50%",y:Math.round(0-o/2+t.v_offset)+"px"}:{top:"100%",y:Math.round(0-(o+t.v_offset+s))+"px"};e.hasClass("outer-bottom")||tpGS.gsap.set(e,n)},y=function(e,t,a,o){o=void 0===o?e.outerWidth():o;var r="layergrid"===t.container?i[a].module.width/2-i[a].gridwidth[i[a].level]*i[a].CM.w/2:0,s="left"===t.h_align?{left:"0px",x:Math.round(t.h_offset+r)+"px"}:"center"===t.h_align?{left:"50%",x:Math.round(0-o/2+t.h_offset)+"px"}:{left:"100%",x:Math.round(0-(o+t.h_offset+r))+"px"};tpGS.gsap.set(e,s)},b=function(e,t){if(null!=e&&void 0!==e.c){var a="fullwidth"==i[t].sliderLayout||"fullscreen"==i[t].sliderLayout?i[t].module.width:i[t].canv.width,o=e.c.outerWidth(),r=e.c.outerHeight();if(!(o<=0||r<=0)&&(w(e.c,e,t,r),y(e.c,e,t,o),"outer-left"===e.position?tpGS.gsap.set(e.c,{left:0-o+"px",x:e.h_offset+"px"}):"outer-right"===e.position&&tpGS.gsap.set(e.c,{right:0-o+"px",x:e.h_offset+"px"}),"tp-thumb"===e.type||"tp-tab"===e.type)){var s=parseInt(e.padding_top||0,0),n=parseInt(e.padding_bottom||0,0),d={},l={};e.maxw>a&&"outer-left"!==e.position&&"outer-right"!==e.position?(d.left="0px",d.x=0,d.maxWidth=a-2*e.wpad+"px",l.maxWidth=a-2*e.wpad+"px"):(d.maxWidth=e.maxw,l.maxWidth=a+"px"),e.maxh+2*e.wpad>i[t].conh&&"outer-bottom"!==e.position&&"outer-top"!==e.position?(d.top="0px",d.y=0,d.maxHeight=s+n+(i[t].conh-2*e.wpad)+"px",l.maxHeight=s+n+(i[t].conh-2*e.wpad)+"px"):(d.maxHeight=e.maxh+"px",l.maxHeight=e.maxh+"px"),e.mask=void 0===e.mask?e.c.find("rs-navmask"):e.mask,(e.mhoff>0||e.mvoff>0)&&(l.padding=e.mvoff+"px "+e.mhoff+"px"),e.span?("layergrid"==e.container&&"outer-left"!==e.position&&"outer-right"!==e.position&&(s=n=0),"vertical"===e.direction?(d.maxHeight=s+n+(i[t].conh-2*e.wpad)+"px",d.height=s+n+(i[t].conh-2*e.wpad)+"px",d.top=0,d.y=0,l.maxHeight=s+n+Math.min(e.maxh,i[t].conh-2*e.wpad)+"px",tpGS.gsap.set(e.c,d),tpGS.gsap.set(e.mask,l),w(e.mask,e,t)):"horizontal"===e.direction&&(d.maxWidth="100%",d.width=a-2*e.wpad+"px",d.left=0,d.x=0,l.maxWidth=e.maxw>=a?"100%":Math.min(e.maxw,a)+"px",tpGS.gsap.set(e.c,d),tpGS.gsap.set(e.mask,l),y(e.mask,e,t))):(tpGS.gsap.set(e.c,d),tpGS.gsap.set(e.mask,l))}}},_=function(e,t,a,o){0===e.find(".tp-bullets").length&&(t.style=void 0===t.style?"":t.style,t.c=jQuery('<rs-bullets style="opacity:0"  class="tp-bullets '+t.style+" "+t.direction+" nav-pos-hor-"+t.h_align+" nav-pos-ver-"+t.v_align+" nav-dir-"+t.direction+'"></rs-bullets>'));var r=a.data("key"),s=t.tmp;void 0!==i[o].thumbs[a.index()]&&jQuery.each(i[o].thumbs[a.index()].params,function(e,i){s=s.replace(i.from,i.to)});var n=jQuery('<rs-bullet data-key="'+r+'" class="tp-bullet">'+s+"</rs-bullet>");void 0!==i[o].thumbs[a.index()]&&n.find(".tp-bullet-image").css({backgroundImage:"url("+i[o].thumbs[a.index()].src+")"}),t.c.append(n),e.append(t.c);var d=t.c.find(".tp-bullet").length,l=n.outerWidth(),c=n.outerHeight(),p=l+parseInt(void 0===t.space?0:t.space,0),g=c+parseInt(void 0===t.space?0:t.space,0);"vertical"===t.direction?(n.css({top:(d-1)*g+"px",left:"0px"}),t.c.css({height:(d-1)*g+c,width:l})):(n.css({left:(d-1)*p+"px",top:"0px"}),t.c.css({width:(d-1)*p+l,height:c})),n.on("click",function(){"carousel"===i[o].sliderType&&(i[o].ctNavElement=!0),i[o].sc_indicator="bullet",e.revcallslidewithid(r),e.find(".tp-bullet").removeClass("selected"),jQuery(this).addClass("selected")}),t.padding_top=parseInt(i[o].carousel.padding_top||0,0),t.padding_bottom=parseInt(i[o].carousel.padding_bottom||0,0),"outer-left"!=t.position&&"outer-right"!=t.position||(i[o].outernav=!0)},S=function(e,t,a,o,r){var s="tp-thumb"===o?".tp-thumbs":".tp-tabs",n="tp-thumb"===o?".tp-thumb-mask":".tp-tab-mask",d="tp-thumb"===o?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",l="tp-thumb"===o?".tp-thumb":".tp-tab",c="tp-thumb"===o?".tp-thumb-image":".tp-tab-image",p="tp-thumb"===o?"rs-thumb":"rs-tab";t.type=o,t.visibleAmount=t.visibleAmount>i[r].slideamount?i[r].slideamount:t.visibleAmount,t.sliderLayout=i[r].sliderLayout,void 0===t.c&&(t.wpad=t.wrapper_padding,t.c=jQuery("<"+p+'s style="opacity:0" class="nav-dir-'+t.direction+" nav-pos-ver-"+t.v_align+" nav-pos-hor-"+t.h_align+" rs-nav-element "+o+"s "+(!0===t.span?"tp-span-wrapper":"")+" "+t.position+" "+(void 0===t.style?"":t.style)+'"><rs-navmask class="'+o+'-mask" style="overflow:hidden;position:relative"><'+p+'s-wrap class="'+o+'s-inner-wrapper" style="position:relative;"></'+p+"s-wrap></rs-navmask></"+p+"s>"),t.c.css({overflow:"visible",position:"outer-top"===t.position||"outer-bottom"===t.position?"relative":"absolute",background:t.wrapper_color,padding:t.wpad+"px",boxSizing:"contet-box"}),"outer-top"===t.position?e.parent().prepend(t.c):"outer-bottom"===t.position?e.after(t.c):e.append(t.c),"outer-left"!==t.position&&"outer-right"!==t.position||tpGS.gsap.set(i[r].c,{overflow:"visible"}),t.padding_top=parseInt(i[r].carousel.padding_top||0,0),t.padding_bottom=parseInt(i[r].carousel.padding_bottom||0,0),"outer-left"!=t.position&&"outer-right"!=t.position||(i[r].outernav=!0));var g=a.data("key"),u=t.c.find(n),h=u.find(d),m=t.tmp;t.space=parseFloat(t.space)||0,t.maxw="horizontal"===t.direction?t.width*t.visibleAmount+t.space*(t.visibleAmount-1):t.width,t.maxh="horizontal"===t.direction?t.height:t.height*t.visibleAmount+t.space*(t.visibleAmount-1),t.maxw+=2*t.mhoff,t.maxh+=2*t.mvoff,void 0!==i[r].thumbs[a.index()]&&jQuery.each(i[r].thumbs[a.index()].params,function(e,i){m=m.replace(i.from,i.to)});var v=jQuery("<"+p+' data-liindex="'+a.index()+'" data-key="'+g+'" class="'+o+'" style="width:'+t.width+"px;height:"+t.height+'px;">'+m+"<"+p+">");void 0!==i[r].thumbs[a.index()]&&v.find(c).css({backgroundImage:"url("+i[r].thumbs[a.index()].src+")"}),h.append(v);var f=t.c.find(l).length,w=v.outerWidth(),y=v.outerHeight(),b=w+parseInt(void 0===t.space?0:t.space,0),_=y+parseInt(void 0===t.space?0:t.space,0);"vertical"===t.direction?(v.css({top:(f-1)*_+"px",left:"0px"}),h.css({height:(f-1)*_+y,width:w})):(v.css({left:(f-1)*b+"px",top:"0px"}),h.css({width:(f-1)*b+w,height:y})),u.css({maxWidth:t.maxw+"px",maxHeight:t.maxh+"px"}),t.c.css({maxWidth:t.maxw+"px",maxHeight:t.maxh+"px"}),v.on("click",function(){i[r].sc_indicator="bullet","carousel"===i[r].sliderType&&(i[r].ctNavElement=!0);var t=e.parent().find(d).data("distance");t=void 0===t?0:t,Math.abs(t)<10&&(e.revcallslidewithid(g),e.parent().find(s).removeClass("selected"),jQuery(this).addClass("selected"))})},x=function(e,t,a){return null==e||void 0===e.c?a:(e.hide_under>i[t].canv.width||i[t].canv.width>e.hide_over?(!0!==e.tpForceNotVisible&&(e.c.addClass("tp-forcenotvisible"),e.isVisible=!1,a=!0),e.tpForceNotVisible=!0):(!1!==e.tpForceNotVisible&&(e.c.removeClass("tp-forcenotvisible"),e.isVisible=!0,a=!0),e.tpForceNotVisible=!1),a)};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.navigation={loaded:!0,version:"6.5.12"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";window._R_is_Editor?RVS._R=void 0===RVS._R?{}:RVS._R:window._R_is_Editor=!1,jQuery.fn.revolution=jQuery.fn.revolution||{};var i=_R_is_Editor?RVS._R:jQuery.fn.revolution;jQuery.extend(!0,i,{bgW:function(e,t){return _R_is_Editor?RVS.RMD.width:"carousel"===i[e].sliderType?i[e].justifyCarousel?i[e].carousel.slide_widths[void 0!==t?t:i[e].carousel.focused]:i[e].carousel.slide_width:i[e].module.width},bgH:function(e,t){return _R_is_Editor?RVS.RMD.height:"carousel"===i[e].sliderType?i[e].carousel.slide_height:i[e].module.height},getPZSides:function(e,i,t,a,o,r,s){var n=e*t,d=i*t,l=Math.abs(a-n),c=Math.abs(o-d),p=new Object;return p.l=(0-r)*l,p.r=p.l+n,p.t=(0-s)*c,p.b=p.t+d,p.h=r,p.v=s,p},getPZCorners:function(e,t,a,o){var r=e.bgposition.split(" ")||"center center",s="center"==r[0]?"50%":"left"==r[0]||"left"==r[1]?"0%":"right"==r[0]||"right"==r[1]?"100%":r[0],n="center"==r[1]?"50%":"top"==r[0]||"top"==r[1]?"0%":"bottom"==r[0]||"bottom"==r[1]?"100%":r[1];s=parseInt(s,0)/100||0,n=parseInt(n,0)/100||0;var d=new Object;return d.start=i.getPZSides(o.start.width,o.start.height,o.start.scale,t,a,s,n),d.end=i.getPZSides(o.start.width,o.start.height,o.end.scale,t,a,s,n),d},getPZValues:function(e){var i=e.panzoom.split(";"),t={duration:10,ease:"none",scalestart:1,scaleend:1,rotatestart:.01,rotateend:0,blurstart:0,blurend:0,offsetstart:"0/0",offsetend:"0/0"};for(var a in i)if(i.hasOwnProperty(a)){var o=i[a].split(":"),r=o[0],s=o[1];switch(r){case"d":t.duration=parseInt(s,0)/1e3;break;case"e":t.ease=s;break;case"ss":t.scalestart=parseInt(s,0)/100;break;case"se":t.scaleend=parseInt(s,0)/100;break;case"rs":t.rotatestart=parseInt(s,0);break;case"re":t.rotateend=parseInt(s,0);break;case"bs":t.blurstart=parseInt(s,0);break;case"be":t.blurend=parseInt(s,0);break;case"os":t.offsetstart=s;break;case"oe":t.offsetend=s}}return t.offsetstart=t.offsetstart.split("/")||[0,0],t.offsetend=t.offsetend.split("/")||[0,0],t.rotatestart=0===t.rotatestart?.01:t.rotatestart,e.panvalues=t,e.bgposition="center center"==e.bgposition?"50% 50%":e.bgposition,t},pzCalcL:function(e,t,a){var o,r,s,n,d,l,c=void 0===a.panvalues?jQuery.extend(!0,{},i.getPZValues(a)):jQuery.extend(!0,{},a.panvalues),p=c.offsetstart,g=c.offsetend,u={start:{width:e,height:_R_is_Editor?e/a.loadobj.width*a.loadobj.height:e/a.owidth*a.oheight,rotation:Math.PI/180*c.rotatestart,rotationV:c.rotatestart,scale:c.scalestart,transformOrigin:"0% 0%"},end:{rotation:Math.PI/180*c.rotateend,rotationV:c.rotateend,scale:c.scaleend}};c.scalestart,a.owidth,a.oheight,c.scaleend,a.owidth,a.oheight;return u.start.height<t&&(l=t/u.start.height,u.start.height=t,u.start.width=u.start.width*l),.01===c.rotatestart&&0===c.rotateend&&(delete u.start.rotation,delete u.end.rotation),o=i.getPZCorners(a,e,t,u),p[0]=parseFloat(p[0])+o.start.l,g[0]=parseFloat(g[0])+o.end.l,p[1]=parseFloat(p[1])+o.start.t,g[1]=parseFloat(g[1])+o.end.t,r=o.start.r-o.start.l,s=o.start.b-o.start.t,n=o.end.r-o.end.l,d=o.end.b-o.end.t,p[0]=p[0]>0?0:r+p[0]<e?e-r:p[0],g[0]=g[0]>0?0:n+g[0]<e?e-n:g[0],p[1]=p[1]>0?0:s+p[1]<t?t-s:p[1],g[1]=g[1]>0?0:d+g[1]<t?t-d:g[1],u.start.x=p[0],u.start.y=p[1],u.end.x=g[0],u.end.y=g[1],u.end.ease=c.ease,u},pzDrawShadow:function(e,t,a){("animating"===t.currentState||null==t.panFake||t.pzLastFrame)&&(t.pzLastFrame=!1,t.shadowCTX.clearRect(0,0,t.shadowCanvas.width,t.shadowCanvas.height),t.shadowCTX.save(),void 0!==a.rotation?t.shadowCTX.transform(Math.cos(a.rotation)*a.scale,Math.sin(a.rotation)*a.scale,Math.sin(a.rotation)*-a.scale,Math.cos(a.rotation)*a.scale,a.x,a.y):t.shadowCTX.transform(a.scale,0,0,a.scale,a.x,a.y),t.shadowCTX.drawImage(t.loadobj.img,0,0,a.width,a.height),t.shadowCTX.restore()),"animating"!==t.currentState?null!=t.panFake?(t.panFake.visible||(t.panFake.visible=!0,t.panFake.img.style.opacity=1,t.canvas.style.opacity=0),tpGS.gsap.set(t.panFake.img,{width:a.width,height:a.height,force3D:!0,x:a.x,y:a.y,transformOrigin:"0% 0%",rotationZ:a.rotationV+"deg",scale:a.scale}),void 0!==a.blur&&(t.panFake.img.style.filter=0===a.blur?"none":"blur("+a.blur+"px)")):(i.updateSlideBGs(e,a.slidekey,t,!0),void 0!==a.blur&&(t.canvas.style.filter=0===a.blur?"none":"blur("+a.blur+"px)")):(void 0!==t.panFake&&!1!==t.panFake.visible&&(t.panFake.visible=!1,t.panFake.img.style.opacity=0,t.canvas.style.opacity=1,t.panFake.img.style.filter="none"),void 0!==a.blur&&t.canvasFilter?t.canvasFilterBlur=a.blur:t.canvas.style.filter=0===a.blur?"none":"blur("+a.blur+"px)")},startPanZoom:function(e,t,a,o,r,s){var n=_R_is_Editor?e:e.data();if(void 0!==n.panzoom&&null!==n.panzoom){var d=_R_is_Editor?n:i[t].sbgs[s];_R_is_Editor||"carousel"!==i[t].sliderType||(i[t].carousel.justify&&void 0===i[t].carousel.slide_widths&&i.setCarouselDefaults(t,!0),i[t].carousel.justify||(void 0===i[t].carousel.slide_width&&(i[t].carousel.slide_width=!0!==i[t].carousel.stretch?i[t].gridwidth[i[t].level]*(0===i[t].CM.w?1:i[t].CM.w):i[t].canv.width),void 0===i[t].carousel.slide_height&&(i[t].carousel.slide_height=!0!==i[t].carousel.stretch?i[t].gridheight[i[t].level]*(0===i[t].CM.w?1:i[t].CM.w):i[t].canv.height)));var l,c=i.getmDim(t,o,d),p=i.pzCalcL(c.width,c.height,n);d.pzAnim=p,_R_is_Editor||(i[t].panzoomTLs=void 0===i[t].panzoomTLs?{}:i[t].panzoomTLs,i[t].panzoomBGs=void 0===i[t].panzoomBGs?{}:i[t].panzoomBGs,void 0===i[t].panzoomBGs[o]&&(i[t].panzoomBGs[o]=e),l=i[t].panzoomTLs[o]),a=a||0,void 0!==l&&(l.pause(),l.kill(),l=void 0),l=tpGS.gsap.timeline({paused:!0}),n.panvalues.duration=NaN===n.panvalues.duration||void 0===n.panvalues.duration?10:n.panvalues.duration,_R_is_Editor||void 0===n||void 0===d||(d.panvalues=n.panvalues),void 0!==d&&(void 0===d.shadowCanvas&&(d.shadowCanvas=document.createElement("canvas"),d.shadowCTX=d.shadowCanvas.getContext("2d"),d.shadowCanvas.style.background="transparent",d.shadowCanvas.style.opacity=1),d.shadowCanvas.width!==c.width&&(d.shadowCanvas.width=c.width),d.shadowCanvas.height!==c.height&&(d.shadowCanvas.height=c.height),p.slideindex=o,p.slidekey=_R_is_Editor?void 0:s,p.start.slidekey=p.slidekey,i.pzDrawShadow(t,d,p.start),p.end.onUpdate=function(){i.pzDrawShadow(t,d,p.start)},d.panStart=jQuery.extend(!0,{},p.start),void 0===n.panvalues.blurstart||void 0===n.panvalues.blurend||0===n.panvalues.blurstart&&0===n.panvalues.blurend||(p.start.blur=n.panvalues.blurstart,p.end.blur=n.panvalues.blurend),(!_R_is_Editor&&void 0===p.start.blur&&!i.isFF||window.isSafari11&&i.ISM)&&(d.panFake=void 0===d.panFake?{img:d.loadobj.img.cloneNode(!0)}:d.panFake,void 0!==d.panFake&&(!0!==d.panFake.appended&&(d.panFake.appended=!0,d.sbg.appendChild(d.panFake.img),d.panFake.img.style.position="absolute",d.panFake.img.style.display="block",d.panFake.img.style.zIndex=0,d.panFake.img.style.opacity=0,d.panFake.img.style.top="0px",d.panFake.img.style.left="0px"),d.panFake.img.width=p.start.width,d.panFake.img.height=p.start.height)),l.add(tpGS.gsap.to(p.start,n.panvalues.duration,p.end),0),l.progress(a),"play"!==r&&"first"!==r||l.play(),_R_is_Editor?RVS.TL[RVS.S.slideId].panzoom=l:i[t].panzoomTLs[o]=l)}}}),window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.panzoom={loaded:!0,version:"6.5.6"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";jQuery.fn.revolution=jQuery.fn.revolution||{};var i=jQuery.fn.revolution;jQuery.extend(!0,i,{checkForParallax:function(e){var o=i[e].parallax;if(!o.done){if(o.done=!0,i.ISM&&o.disable_onmobile)return!1;if("3D"==o.type||"3d"==o.type){if(i.addSafariFix(e),tpGS.gsap.set(i[e].c,{overflow:o.ddd_overflow}),tpGS.gsap.set(i[e].canvas,{overflow:o.ddd_overflow}),"carousel"!=i[e].sliderType&&o.ddd_shadow){var r=jQuery('<div class="dddwrappershadow"></div>');tpGS.gsap.set(r,{force3D:"auto",transformPerspective:1600,transformOrigin:"50% 50%",width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:0}),i[e].c.prepend(r)}for(var s in i[e].slides)i[e].slides.hasOwnProperty(s)&&t(jQuery(i[e].slides[s]),e);i[e].c.find("rs-static-layers").length>0&&(tpGS.gsap.set(i[e].c.find("rs-static-layers"),{top:0,left:0,width:"100%",height:"100%"}),t(i[e].c.find("rs-static-layers"),e))}o.pcontainers={},o.bgcontainers=[],o.bgcontainer_depths=[],o.speed=void 0===o.speed?0:parseInt(o.speed,0),o.speedbg=void 0===o.speedbg?0:parseInt(o.speedbg,0),o.speedls=void 0===o.speedls?0:parseInt(o.speedls,0),i[e].c.find("rs-slide rs-sbg-wrap, rs-slide rs-bgvideo").each(function(){var t=jQuery(this),a=t.data("parallax");window.isSafari11||(i[e].parZ=1),void 0!==(a="on"==a||!0===a?1:a)&&"off"!==a&&!1!==a&&(o.bgcontainers.push(t.closest("rs-sbg-px")),o.bgcontainer_depths.push(i[e].parallax.levels[parseInt(a,0)-1]/100))});for(s=1;s<=o.levels.length;s++){for(var n in i[e].slides)if(i[e].slides.hasOwnProperty(n)){var d=(c=i[e].slides[n]).dataset.key;void 0===o.pcontainers[d]&&(o.pcontainers[d]={}),a(s,o,c,o.pcontainers[d])}d="static";void 0===o.pcontainers[d]&&(o.pcontainers[d]={}),a(s,o,i[e].slayers[0],o.pcontainers[d]),JSON.stringify(o.pcontainers[d])==JSON.stringify({})&&delete o.pcontainers[d]}if("mouse"==o.type||"mousescroll"==o.type||"3D"==o.type||"3d"==o.type){var l="rs-slide .dddwrapper, .dddwrappershadow, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer";for(var n in"carousel"===i[e].sliderType&&(l="rs-slide .dddwrapper, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer"),o.sctors={},i[e].slides)if(i[e].slides.hasOwnProperty(n)){var c;d=(c=i[e].slides[n]).dataset.key;o.sctors[d]=c.querySelectorAll(l)}i[e].slayers[0]&&(o.sctors.static=i[e].slayers[0].querySelectorAll(l)),o.mouseEntered=!1,i[e].c.on("mouseenter",function(t){var a=i[e].c.offset().top,r=i[e].c.offset().left;o.mouseEnterX=t.pageX-r,o.mouseEnterY=t.pageY-a,o.mouseEntered=!0});var p=this.updateParallax.bind(this,e,o);i[e].c.on("mousemove.hoverdir, mouseleave.hoverdir, trigger3dpath",function(e){o.eventData=e,void 0!==o.frame&&"mouseleave"!==e.type||(o.frame=window.requestAnimationFrame(p))}),i.ISM&&window.addEventListener("deviceorientation",function(e){o.eventData=e,void 0===o.frame&&(o.frame=window.requestAnimationFrame(p))})}var g=i[e].scrolleffect;g.set&&(g.multiplicator_layers=parseFloat(g.multiplicator_layers),g.multiplicator=parseFloat(g.multiplicator)),void 0!==g._L&&0===g._L.length&&(g._L=!1),void 0!==g.bgs&&0===g.bgs.length&&(g.bgs=!1)}},getLayerParallaxOffset:function(e,t,a){return void 0!==i[e].parallax&&void 0!==i[e].parallax.pcontainers&&void 0!==i[e].parallax.pcontainers[i[e]._L[t].slidekey]&&void 0!==i[e].parallax.pcontainers[i[e]._L[t].slidekey][t]?Math.abs(i[e].parallax.pcontainers[i[e]._L[t].slidekey][t]["offs"+a]):0},updateParallax:function(e,t){t.frame&&(t.frame=window.cancelAnimationFrame(t.frame));var a,o,r=t.eventData,s=i[e].c.offset().left,n=i[e].c.offset().top,d=i[e].canv.width,l=i[e].canv.height,c=t.speed/1e3||3;if("enterpoint"==t.origo&&"deviceorientation"!==r.type?(!1===t.mouseEntered&&(t.mouseEnterX=r.pageX-s,t.mouseEnterY=r.pageY-n,t.mouseEntered=!0),a=t.mouseEnterX-(r.pageX-s),o=t.mouseEnterY-(r.pageY-n),c=t.speed/1e3||.4):"deviceorientation"!==r.type&&(a=d/2-(r.pageX-s),o=l/2-(r.pageY-n)),"deviceorientation"==r.type){var p,g,u;p=r.beta-60,g=r.gamma,u=p;var h=Math.abs(t.orientationX-g)>1||Math.abs(t.orientationY-u)>1;if(t.orientationX=g,t.orientationY=u,!h)return;if(i.winW>i.getWinH(e)){var m=g;g=u,u=m}a=360/d*(g*=1.5),o=180/l*(u*=1.5)}for(var v in r.type,"mouseout"===r.type&&(a=0,o=0,t.mouseEntered=!1),t.pcontainers)if(t.pcontainers.hasOwnProperty(v)&&(void 0===i[e].activeRSSlide||"static"===v||i[e].slides[i[e].activeRSSlide].dataset.key===v))for(var f in t.pcontainers[v])if(t.pcontainers[v].hasOwnProperty(f)){var w=t.pcontainers[v][f];w.pl="3D"==t.type||"3d"==t.type?w.depth/200:w.depth/100,w.offsh=a*w.pl,w.offsv=o*w.pl,"mousescroll"==t.type?tpGS.gsap.to(w.tpw,c,{force3D:"auto",x:w.offsh,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(w.tpw,c,{force3D:"auto",x:w.offsh,y:w.offsv,ease:"power3.out",overwrite:"all"})}if("3D"==t.type||"3d"==t.type)for(var v in t.sctors)if(t.sctors.hasOwnProperty(v)&&(void 0===i[e].activeRSSlide||"static"===v||i[e].slides[i[e].activeRSSlide].dataset.key===v||i.isFF))for(var f in t.sctors[v])if(t.sctors[v].hasOwnProperty(f)){n=jQuery(t.sctors[v][f]);var y=i.isFirefox()?Math.min(25,t.levels[t.levels.length-1])/200:t.levels[t.levels.length-1]/200,b=a*y,_=o*y,S=0==i[e].canv.width?0:Math.round(a/i[e].canv.width*y*100)||0,x=0==i[e].canv.height?0:Math.round(o/i[e].canv.height*y*100)||0,k=n.closest("rs-slide"),L=0,R=!1;"deviceorientation"===r.type&&(b=a*(y=t.levels[t.levels.length-1]/200),_=o*y*3,S=0==i[e].canv.width?0:Math.round(a/i[e].canv.width*y*500)||0,x=0==i[e].canv.height?0:Math.round(o/i[e].canv.height*y*700)||0),n.hasClass("dddwrapper-layer")&&(L=t.ddd_z_correction||65,R=!0),n.hasClass("dddwrapper-layer")&&(b=0,_=0),k.index()===i[e].pr_active_key||"carousel"!=i[e].sliderType?!t.ddd_bgfreeze||R?tpGS.gsap.to(n,c,{rotationX:x,rotationY:-S,x:b,z:L,y:_,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(n,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(n,.5,{force3D:"auto",rotationY:0,x:0,y:0,rotationX:0,z:0,ease:"power3.out",overwrite:"all"}),"mouseleave"!=r.type&&"mouseout"!==r.type||tpGS.gsap.to(this,3.8,{z:0,ease:"power3.out"})}},parallaxProcesses:function(e,t,a,o){var r=i[e].fixedOnTop?Math.min(1,Math.max(0,window.scrollY/i.lastwindowheight)):Math.min(1,Math.max(0,(0-(t.top-i.lastwindowheight))/(t.hheight+i.lastwindowheight))),s=(t.top>=0&&t.top<=i.lastwindowheight||t.top<=0&&t.bottom>=0||t.top<=0&&t.bottom,i[e].slides[void 0===i[e].pr_active_key?0:i[e].pr_active_key]);if(i[e].scrollProg=r,i[e].scrollProgBasics={top:t.top,height:t.hheight,bottom:t.bottom},i[e].sbtimeline.fixed?(!1===i[e].fixedScrollOnState||0!==i[e].drawUpdates.cpar.left||!i.stickySupported||0!=i[e].fullScreenOffsetResult&&null!=i[e].fullScreenOffsetResult?i.stickySupported=!1:(i[e].topc.addClass("rs-stickyscrollon"),i[e].fixedScrollOnState=!0),void 0===i[e].sbtimeline.rest&&i.updateFixedScrollTimes(e),t.top>=i[e].fullScreenOffsetResult&&t.top<=i.lastwindowheight?(r=i[e].sbtimeline.fixStart*(1-t.top/i.lastwindowheight)/1e3,!0!==i.stickySupported&&!1!==i[e].fixedScrollOnState&&(i[e].topc.removeClass("rs-fixedscrollon"),tpGS.gsap.set(i[e].cpar,{top:0,y:0}),i[e].fixedScrollOnState=!1)):t.top<=i[e].fullScreenOffsetResult&&t.bottom>=i[e].module.height?(!0!==i.stickySupported&&!0!==i[e].fixedScrollOnState&&(i[e].fixedScrollOnState=!0,i[e].topc.addClass("rs-fixedscrollon"),tpGS.gsap.set(i[e].cpar,{top:0,y:i[e].fullScreenOffsetResult})),r=(i[e].sbtimeline.fixStart+i[e].sbtimeline.time*(Math.abs(t.top)/(t.hheight-i[e].module.height)))/1e3):(!0!==i.stickySupported&&(tpGS.gsap.set(i[e].cpar,{top:i[e].scrollproc>=0?0:t.height-i[e].module.height}),!1!==i[e].fixedScrollOnState&&(i[e].topc.removeClass("rs-fixedscrollon"),i[e].fixedScrollOnState=!1)),r=t.top>i.lastwindowheight?0:(i[e].sbtimeline.fixEnd+i[e].sbtimeline.rest*(1-t.bottom/i[e].module.height))/1e3)):r=i[e].duration*r/1e3,void 0!==s&&void 0!==i.gA(s,"key")&&!0!==a){var n=0;for(var d in i[e].sbas[i.gA(s,"key")])if(void 0!==i[e]._L[d]&&null==i[e]._L[d].timeline&&n++,void 0!==i[e]._L[d]&&void 0!==i[e]._L[d].timeline&&(1==i[e]._L[d].animationonscroll||"true"==i[e]._L[d].animationonscroll)){n=-9999;var l=void 0!==i[e]._L[d].scrollBasedOffset?r+i[e]._L[d].scrollBasedOffset:r;l=l<=0?0:l<.1?.1:l,i[e]._L[d].animteToTime!==l&&(i[e]._L[d].animteToTime=l,tpGS.gsap.to(i[e]._L[d].timeline,i[e].sbtimeline.speed,{time:l,ease:i[e].sbtimeline.ease}))}n>0&&requestAnimationFrame(function(){i.parallaxProcesses(e,t,a,o)}),i[e].c.trigger("timeline_scroll_processed",{id:e,mproc:r,speed:i[e].sbtimeline.speed})}if(i.ISM&&i[e].parallax.disable_onmobile)return!1;var c,p=i[e].parallax;if(void 0!==i[e].slides[i[e].pr_processing_key]&&void 0!==i[e].slides[i[e].pr_processing_key].dataset&&(c=i[e].slides[i[e].pr_processing_key].dataset.key),"3d"!=p.type&&"3D"!=p.type){if("scroll"==p.type||"mousescroll"==p.type)for(var g in p.pcontainers)if(p.pcontainers.hasOwnProperty(g)&&(void 0===i[e].activeRSSlide||"static"===g||i[e].slides[i[e].activeRSSlide].dataset.key===g||c===g))for(var u in p.pcontainers[g])if(p.pcontainers[g].hasOwnProperty(u)){var h=p.pcontainers[g][u],m=void 0!==o?o:p.speedls/1e3||0;h.pl=h.depth/100,h.offsv=Math.round(i[e].scrollproc*(-h.pl*i[e].canv.height)*10)/10||0,tpGS.gsap.to(h.tpw,m,{overwrite:"auto",force3D:"auto",y:h.offsv})}if(p.bgcontainers)for(u=0;u<p.bgcontainers.length;u++){var v=p.bgcontainers[u],f=p.bgcontainer_depths[u],w=i[e].scrollproc*(-f*i[e].canv.height)||0;m=void 0!==o?o:p.speedbg/1e3||.015;m=void 0!==i[e].parallax.lastBGY&&0===m&&Math.abs(w-i[e].parallax.lastBGY)>50?.15:m,tpGS.gsap.to(v,m,{position:"absolute",top:"0px",left:"0px",backfaceVisibility:"hidden",force3D:"true",y:w+"px"}),i[e].parallax.lastBGY=w}}var y=i[e].scrolleffect;if(y.set&&(!i.ISM||!1===y.disable_onmobile)){var b=Math.abs(i[e].scrollproc)-y.tilt/100;if(b=b<0?0:b,!1!==y._L){var _=1-b*y.multiplicator_layers,S={force3D:"true"};if("top"==y.direction&&i[e].scrollproc>=0&&(_=1),"bottom"==y.direction&&i[e].scrollproc<=0&&(_=1),_=_>1?1:_<0?0:_,y.fade&&(S.opacity=_),y.scale){var x=_;S.scale=1-x+1}if(y.blur)R=(R=(1-_)*y.maxblur)<=.03?0:R,S["-webkit-filter"]="blur("+R+"px)",S.filter="blur("+R+"px)";if(y.grayscale){var k="grayscale("+100*(1-_)+"%)";S["-webkit-filter"]=void 0===S["-webkit-filter"]?k:S["-webkit-filter"]+" "+k,S.filter=void 0===S.filter?k:S.filter+" "+k}tpGS.gsap.set(y._L,S)}if(!1!==y.bgs){_=1-b*y.multiplicator,S={backfaceVisibility:"hidden",force3D:"true"};for(var L in"top"==y.direction&&i[e].scrollproc>=0&&(_=1),"bottom"==y.direction&&i[e].scrollproc<=0&&(_=1),_=_>1?1:_<0?0:_,y.bgs)if(y.bgs.hasOwnProperty(L)){if(y.bgs[L].fade&&(S.opacity=_),y.bgs[L].blur){var R=(1-_)*y.maxblur;S["-webkit-filter"]="blur("+R+"px)",S.filter="blur("+R+"px)"}if(y.bgs[L].grayscale){k="grayscale("+100*(1-_)+"%)";S["-webkit-filter"]=void 0===S["-webkit-filter"]?k:S["-webkit-filter"]+" "+k,S.filter=void 0===S.filter?k:S.filter+" "+k}tpGS.gsap.set(y.bgs[L].c,S)}}}}});var t=function(e,t){var a=i[t].parallax;e.find("rs-sbg-wrap").wrapAll('<div class="dddwrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden"></div>');var o=e[0].querySelectorAll(".rs-parallax-wrap"),r=document.createElement("div");r.className="dddwrapper-layer",r.style.width="100%",r.style.height="100%",r.style.position="absolute",r.style.top="0px",r.style.left="0px",r.style.zIndex=5,r.style.overflow=a.ddd_layer_overflow;for(var s=0;s<o.length;s++)o.hasOwnProperty(s)&&null===i.closestNode(o[s],"RS-GROUP")&&null===i.closestNode(o[s],"RS-ROW")&&r.appendChild(o[s]);e[0].appendChild(r),e.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 n=e.find(".dddwrapper"),d=e.find(".dddwrapper-layer");e.find(".dddwrapper-layertobggroup").appendTo(n),"carousel"==i[t].sliderType&&(a.ddd_shadow&&n.addClass("dddwrappershadow"),tpGS.gsap.set(n,{borderRadius:i[t].carousel.border_radius})),tpGS.gsap.set(e,{overflow:"visible",transformStyle:"preserve-3d",perspective:1600}),tpGS.gsap.set(n,{force3D:"auto",transformOrigin:"50% 50%",transformStyle:"preserve-3d",transformPerspective:1600}),tpGS.gsap.set(d,{force3D:"auto",transformOrigin:"50% 50%",zIndex:5,transformStyle:"flat",transformPerspective:1600}),tpGS.gsap.set(i[t].canvas,{transformStyle:"preserve-3d",transformPerspective:1600})};function a(t,a,o,r){e(o).find(".rs-pxl-"+t).each(function(){var e=this.className.indexOf("rs-pxmask")>=0,o=e?i.closestNode(this,"RS-PX-MASK"):i.closestClass(this,"rs-parallax-wrap");o&&(e&&!window.isSafari11&&(tpGS.gsap.set(o,{z:1}),tpGS.gsap.set(i.closestNode(o,"RS-BG-ELEM"),{z:1})),o.dataset.parallaxlevel=a.levels[t-1],o.classList.add("tp-parallax-container"),r[this.id]={tpw:o,depth:a.levels[t-1],offsv:0,offsh:0})})}window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.parallax={loaded:!0,version:"6.2.24"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";window._R_is_Editor?RVS._R=void 0===RVS._R?{}:RVS._R:window._R_is_Editor=!1;jQuery.fn.revolution=jQuery.fn.revolution||{};var i=_R_is_Editor?RVS._R:jQuery.fn.revolution;_R_is_Editor&&(RVS._R.isNumeric=RVS.F.isNumeric),jQuery.extend(!0,i,{getSlideAnimationObj:function(e,t,a){var o,r={};for(var s in void 0===t.anim&&null==t.in&&(t.in="o:0"),t)if(t.hasOwnProperty(s)&&void 0!==t[s]){var n=t[s].split(";");for(var d in n)n.hasOwnProperty(d)&&void 0!==(o=n[d].split(":"))[0]&&void 0!==o[1]&&(r[s]=void 0===r[s]?{}:r[s],r[s][o[0]]="d3"===s&&"c"===o[0]?o[1]:o[1].split(",")[0])}return r.in=void 0===r.in?{}:r.in,r.anim=void 0===r.anim?{e:"basic"}:r.anim,_R_is_Editor||void 0===r.in||void 0===r.in.prst||i.loadSlideAnimLibrary(e,{key:a,prst:r.in.prst}),i[e].sbgs[a].slideanimationRebuild=!1,r},loadSlideAnimLibrary:function(e,t){void 0===i.SLTR&&!0!==i.SLTR_loading?(i.SLTR_loading=!0,jQuery.ajax({type:"post",url:i[e].ajaxUrl,dataType:"json",data:{action:"revslider_ajax_call_front",client_action:"get_transitions"},success:function(a,o,r){1==a.success&&(i.SLTR=a.transitions,void 0!==t&&i.setRandomDefaults(e,t.key,t.prst))},error:function(e){console.log("Transition Table can not be loaded"),console.log(e)}})):void 0!==t&&void 0!==i.SLTR&&i.setRandomDefaults(e,t.key,t.prst)},convertSlideAnimVals:function(e){return{anim:{eng:e.eng,ms:parseInt(e.speed,0),o:e.o,e:e.e,f:e.f,p:e.p,d:parseInt(e.d,0),adpr:e.adpr},d3:{f:e.d3.f,d:e.d3.d,z:e.d3.z,t:e.d3.t,c:e.d3.c,e:e.d3.e,fdi:e.d3.fdi,fdo:e.d3.fdo,fz:e.d3.fz,su:e.d3.su,smi:e.d3.smi,sma:e.d3.sma,sc:e.d3.sc,sl:e.d3.sl},in:{eng:e.in.eng,o:_R_is_Editor&&void 0!==e.preset&&0===e.preset.indexOf("rnd")?0:i.valBeau(e.in.o),x:i.valBeau(e.in.x),y:i.valBeau(e.in.y),r:i.valBeau(e.in.r),sx:i.valBeau(e.in.sx),sy:i.valBeau(e.in.sy),m:e.in.m,e:e.in.e,row:e.in.row,col:e.in.col,mo:"false"!==e.in.mou&&!1!==e.in.mou?i.valBeau(e.in.mo):0,moo:"false"!==e.in.mou&&!1!==e.in.mou?i.valBeau(e.in.moo):"none",mou:e.in.mou},out:void 0===e.out.a||"true"==e.out.a||!0===e.out.a?void 0:{a:d(e.out.a),o:i.valBeau(e.out.o),x:i.valBeau(e.out.x),y:i.valBeau(e.out.y),r:i.valBeau(e.out.r),sx:i.valBeau(e.out.sx),sy:i.valBeau(e.out.sy),m:e.out.m,e:e.out.e,row:i.valBeau(e.out.row),col:i.valBeau(e.out.col)},filter:{u:e.filter.u,e:e.filter.e,b:e.filter.b,g:e.filter.g,h:e.filter.h,s:e.filter.s,c:e.filter.c,i:e.filter.i},addOns:e.addOns}},setRandomDefaults:function(e,t,a){i[e].sbgs[t].random=i.getAnimObjectByKey(a,i.SLTR)},getSlideAnim_AddonDefaults:function(){var e={};for(var t in i.enabledSlideAnimAddons)e=jQuery.extend(!0,e,i[i.enabledSlideAnimAddons[t]].defaults());return e},getSlideAnim_EmptyObject:function(){return{speed:1e3,o:"inout",e:"basic",f:"start",p:"none",d:15,eng:"animateCore",adpr:!1,d3:{f:"none",d:"horizontal",z:300,t:0,c:"#ccc",e:"power2.inOut",fdi:1.5,fdo:2,fz:0,su:!1,smi:0,sma:.5,sc:"#000",sl:1},filter:{u:!1,e:"default",b:0,g:0,h:100,s:0,c:100,i:0},in:{o:1,x:0,y:0,r:0,sx:1,sy:1,m:!1,e:"power2.inOut",row:1,col:1,mo:80,mou:!1},out:{a:"true",o:1,x:0,y:0,r:0,sx:1,sy:1,m:!1,e:"power2.inOut",row:1,col:1},addOns:i.getSlideAnim_AddonDefaults()}},getAnimObjectByKey:function(e,t){if(i.getAnimObjectCacheKey===e)return i.getAnimObjectCache;var a;for(var o in i.getAnimObjectCacheKey=e,t)if(t.hasOwnProperty(o)&&void 0===a)for(var r in t[o])if(t[o].hasOwnProperty(r)&&void 0===a)if(e===r&&0===e.indexOf("rnd"))(a=t[o][r]).main=o,a.group=r;else for(var s in t[o][r])t[o][r].hasOwnProperty(s)&&void 0===a&&s===e&&((a=t[o][r][s]).main=o,a.group=r);return i.getAnimObjectCache=jQuery.extend(!0,{},a),a},getRandomSlideTrans:function(e,t,a){if(void 0!==i.randomSlideAnimCache&&void 0!==i.randomSlideAnimCache[e]&&void 0!==i.randomSlideAnimCache[e][t])return i.randomSlideAnimCache[e][t][Math.floor(Math.random()*i.randomSlideAnimCache[e][t].length)];for(var o in i.randomSlideAnimCache=void 0===i.randomSlideAnimCache?{}:i.randomSlideAnimCache,i.randomSlideAnimCache[e]=void 0===i.randomSlideAnimCache[e]?{}:i.randomSlideAnimCache[e],i.randomSlideAnimCache[e][t]=void 0===i.randomSlideAnimCache[e][t]?[]:i.randomSlideAnimCache[e][t],a)if(a.hasOwnProperty(o)&&"random"!==o&&"custom"!==o&&("all"==e||o==e))for(var r in a[o])if(a[o].hasOwnProperty(r)&&"icon"!==r&&(""+t=="undefined"||t.indexOf(r)>=0))for(var s in a[o][r])a[o][r].hasOwnProperty(s)&&-1==jQuery.inArray(a[o][r][s].title,["*north*","*south*","*east*","*west*"])&&i.randomSlideAnimCache[e][t].push(s);return i.randomSlideAnimCache[e][t][Math.floor(Math.random()*i.randomSlideAnimCache[e][t].length)]},cbgW:function(e,t){return _R_is_Editor?RVS.RMD.width:"carousel"===i[e].sliderType?i[e].justifyCarousel?i[e].carousel.slide_widths[void 0!==t?t:i[e].carousel.focused]:i[e].carousel.slide_width:i[e].canv.width},cbgH:function(e,t){return _R_is_Editor?RVS.RMD.height:"carousel"===i[e].sliderType?!0===i[e].carousel.justify?i[e].carousel.slide_height:"fullscreen"===i[e].sliderLayout?i[e].module.height:Math.min(i[e].canv.height,i[e].gridheight[i[e].level]):void 0!==i[e].maxHeight&&i[e].maxHeight>0&&!i[e].fixedOnTop?Math.min(i[e].canv.height,i[e].maxHeight):i[e].canv.height},valBeau:function(e){return e=(""+(e=(""+(e=(""+(e=(""+(e=(""+e).split(",").join("|"))).replace("{","ran("))).replace("}",")"))).replace("[","cyc("))).replace("]",")")},animateSlide:function(e,i){return _R_is_Editor&&RVS.F.resetSlideTL(),void 0===tpGS.eases.late&&(tpGS.CustomEase.create("late","M0,0,C0,0,0.474,0.078,0.724,0.26,0.969,0.438,1,1,1,1"),tpGS.CustomEase.create("late2","M0,0 C0,0 0.738,-0.06 0.868,0.22 1,0.506 1,1 1,1 "),tpGS.CustomEase.create("late3","M0,0,C0,0,0.682,0.157,0.812,0.438,0.944,0.724,1,1,1,1")),r(e,i)},getBasic:function(e){return jQuery.extend(!0,{attr:null==e||void 0===e.attr?["o","r","sx","sy","x","y","m","e","row","col","mo","moo"]:e.attr,in:{f:"start",m:!1,o:1,r:0,sx:1,sy:1,x:0,y:0,row:1,col:1,e:"power2.inOut",ms:1e3,mo:0,moo:"none"},out:{f:"start",m:!1,o:1,r:0,sx:1,sy:1,x:0,y:0,row:1,col:1,e:"power2.inOut",ms:1e3}},e)},playBGVideo:function(e,t,a){if(_R_is_Editor)a=void 0===a?RVS.SBGS[RVS.S.slideId].n:a;else{if(void 0===a&&(void 0===i[e].pr_next_bg||0===i[e].pr_next_bg.length))return;a=void 0===a?i[e].sbgs[void 0===t?i[e].pr_next_bg[0].dataset.key:t]:a}void 0!==a.bgvid&&a.bgvid.length>0&&(c(e,{},a,"in"),i.resetVideo(a.bgvid,e),i.playVideo(a.bgvid,e,!0),tpGS.gsap.to(a.bgvid[0],.2,{zIndex:30,display:"block",autoAlpha:1,delay:.075,overwrite:"all"}))},stopBGVideo:function(e,t,a){if(_R_is_Editor)a=void 0===a?RVS.SBGS[RVS.S.slideId].n:a;else{if(void 0===a&&(void 0===i[e].pr_next_bg||0===i[e].pr_next_bg.length))return;a=void 0===a?i[e].sbgs[void 0===t?i[e].pr_next_bg[0].dataset.key:t]:a}void 0!==a.bgvid&&a.bgvid.length>0&&(a.drawVideoCanvasImagesRecall=!1,i.stopVideo(a.bgvid,e),tpGS.gsap.to(a.bgvid[0],.2,{autoAlpha:0,zIndex:0,display:"none"}))},SATools:{getOffset:function(e,t,a,o){var r=(""+e).indexOf("%")>=0;return 0==(e=i.SATools.getSpecialValue(e,o,a))||void 0===e?0:r?t*(parseInt(e)/100):parseInt(e)},getSpecialValue:function(e,t,a,o){if(i.isNumeric(parseFloat(e,0)))return parseFloat(e,0);var r=(""+e).split("ran(").length>1?"random":(""+e).split("cyc(").length>1?"wrap":(""+e).split("(").length>1?"dir":"unknown",s=("random"===r?e.slice(4,-1):"wrap"===r?e.slice(4,-1):e.slice(1,-1)).split("|");if("random"===r)return tpGS.gsap.utils.random(parseFloat(s[0]),parseFloat(s.length>1?s[1]:0-s[0]));if("wrap"===r){var n=tpGS.gsap.utils.wrap(s,t);return(""+n).split("(").length>1?parseFloat(n.slice(1,-1))*a+(o?"%":""):n}return"dir"===r?parseFloat(s[0])*a+(o?"%":""):void 0}},getmDim:function(e,t,a){var o=i.cbgW(e,t),r=i.cbgH(e,t);return a.DPR=_R_is_Editor?Math.min(window.devicePixelRatio,2):i[e].DPR,i.maxDimCheck(a,o,r)},maxDimCheck:function(e,t,a){var o,r;void 0!==e.video&&("img"===e.video.tagName||null==e.video.videoWidth||e.video.videoWidth);if("animating"!==e.currentState&&null==e.panzoom||"animating"===e.currentState&&null==e.panzoom&&(null==e.slideanimation||null==e.slideanimation.anim||"true"!==e.slideanimation.anim.adpr))if(e.DPR>1&&i.ISM&&a>1024)e.DPR=1,o=t,r=a;else{var s={w:null==e.video||e.isVidImg?e.loadobj.width:0==e.video.videoWidth?e.loadobj.width:e.video.videoWidth,h:null==e.video||e.isVidImg?e.loadobj.height:0==e.video.videoHeight?e.loadobj.height:e.video.videoHeight};void 0===s.w&&(s.w=e.loadobj.width),void 0===s.h&&(s.h=e.loadobj.height);var n=a/s.w,d=t/s.h,l=Math.max(n,d);if(l>e.DPR||n>=1&&d>=1?e.DPR=1:e.DPR>l&&(e.DPR=Math.min(e.DPR,e.DPR/l)),o=t*e.DPR,r=a*e.DPR,e.DPR>1){var c=t/a;s.w>s.h&&s.w<o?(r=(o=Math.max(t,s.w))/c,e.DPR=1):s.h>s.w&&s.h<r&&(o=(r=Math.max(a,s.h))*c,e.DPR=1)}}else e.DPR=1,o=t,r=a;return{width:Math.round(o),height:Math.round(r),w:t,h:a}},updateSlideBGs:function(e,t,a,o){if(_R_is_Editor)a=void 0===a?RVS.SBGS[RVS.S.slideId].n:a;else{if(void 0===a&&(void 0===i[e].pr_next_bg||0===i[e].pr_next_bg.length))return;a=void 0===a?i[e].sbgs[void 0===t?i[e].pr_next_bg[0].dataset.key:t]:a}(o=void 0!==a.mDIM&&o)||(a.mDIM=i.getmDim(e,a.skeyindex,a)),void 0!==a.video?("IMG"!==a.video.tagName&&(a.isVidImg=""),a.cDIMS=i.getBGCanvasDetails(e,a),a.canvas.width=a.mDIM.width,a.canvas.height=a.mDIM.height,a.ctx.clearRect(0,0,a.mDIM.width,a.mDIM.height),a.ctx.drawImage(a.shadowCanvas,0,0)):(a.cDIMS=i.getBGCanvasDetails(e,a,o),a.canvas.width=a.mDIM.width,a.canvas.height=a.mDIM.height,"panzoom"===a.currentState||"animating"===a.currentState||void 0===a.currentState&&!_R_is_Editor&&"carousel"!=i[e].sliderType||(a.ctx.clearRect(0,0,a.mDIM.width,a.mDIM.height),0!==a.shadowCanvas.width&&0!==a.shadowCanvas.height&&a.ctx.drawImage(a.shadowCanvas,0,0))),"animating"===a.currentState&&"carousel"!==i[e].sliderType&&i.animatedCanvasUpdate(e,a)},addCanvas:function(){var e=document.createElement("canvas");return x=e.getContext("2d"),e.style.background="transparent",e.style.opacity=1,x},updateVideoFrames:function(e,t,a){if(t.now=Date.now(),t.then=void 0===t.then?t.now-500:t.then,t.elapsed=t.now-t.then,t.fps="animating"===t.currentState&&window._rs_firefox?50:33,t.elapsed>t.fps){t.then=t.now-t.elapsed%t.fps;var o="img"===t.video.tagName||null==t.video.videoWidth||0==t.video.videoWidth;void 0!==t.video&&!t.video.BGrendered&&void 0!==t.loadobj&&void 0!==t.loadobj.img||i.ISM&&i.isFirefox(e)?(t.mDIM=i.getmDim(e,t.skeyindex,t),t.pDIMS=s(t.mDIM,t,{width:t.mDIM.width,height:t.mDIM.height,x:0,y:0,contw:t.loadobj.width,conth:t.loadobj.height}),t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),t.shadowCTX.drawImage(t.loadobj.img,t.pDIMS.x,t.pDIMS.y,t.pDIMS.width,t.pDIMS.height)):((a||void 0===t.sDIMS||o!==t.isVidImg||0===t.sDIMS.width||0===t.sDIMS.height)&&(t.isVidImg=o,t.mDIM=i.getmDim(e,t.skeyindex,t),t.sDIMS=s(t.mDIM,t,{width:t.mDIM.width,height:t.mDIM.height,x:0,y:0,contw:t.isVidImg?t.loadobj.width:t.video.videoWidth,conth:t.isVidImg?t.loadobj.height:t.video.videoHeight})),void 0!==t.sDIMS&&0!==t.sDIMS.width&&0!==t.sDIMS.height&&("animating"===t.currentState?(t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),t.shadowCTX.drawImage(t.video,t.sDIMS.x,t.sDIMS.y,t.sDIMS.width,t.sDIMS.height)):void 0===t.animateDirection&&(t.canvas.width!==t.mDIM.width&&(t.canvas.width=t.mDIM.width),t.canvas.height!==t.mDIM.height&&(t.canvas.height=t.mDIM.height),t.ctx.drawImage(t.video,t.sDIMS.x,t.sDIMS.y,t.sDIMS.width,t.sDIMS.height)),t.shadowCanvas_Drawn=!0))}(a||t.drawVideoCanvasImagesRecall&&"animating"===t.currentState||"animating"===t.currentState&&void 0===t.shadowCanvas_Drawn)&&window.requestAnimationFrame(function(){i.updateVideoFrames(e,t)})},createOverlay:function(e,t,a,o){if("none"===t)return"none";a=void 0===a?1:a;o=void 0===o?{0:"rgba(0, 0, 0, 0)",1:"rgba(0, 0, 0, 1)"}:o;var r={none:[[0]],1:[[1,0],[0,0]],2:[[1,0,0],[0,0,0],[0,0,0]],3:[[1,0,0,0],[0,0,0,0],[0,0,0,0]],4:[[1],[0]],5:[[1],[0],[0]],6:[[1],[0],[0],[0]],7:[[1,0]],8:[[1,0,0]],9:[[1,0,0,0]],10:[[1,0,0,0,0],[0,1,0,1,0],[0,0,0,0,0],[0,1,0,1,0],[0,0,0,0,1]],11:[[0,0,1,0,0],[0,1,0,1,0],[1,0,0,0,1],[0,1,0,1,0],[0,0,1,0,0]],12:[[1,0,0],[0,1,0],[0,0,1]],13:[[0,0,1],[0,1,0],[1,0,0]],14:[[1,0,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,0]],15:[[0,0,0,0,1],[0,0,0,1,0],[0,0,1,0,0],[0,1,0,0,0],[1,0,0,0,0]],16:[[1,0,0,0,1],[0,1,0,1,0],[0,0,1,0,0],[0,1,0,1,0],[1,0,0,0,1]]},s=void 0===r[t=void 0===t?1:t]?r[2]:r[t];_R_is_Editor&&(i[e]=void 0===i[e]?{}:i[e]),i[e].patternCanvas=document.createElement("canvas"),i[e].patternCtx=i[e].patternCanvas.getContext("2d"),i[e].patternCanvas.width=s[0].length*a,i[e].patternCanvas.height=s.length*a;for(var n=0;n<s.length;n++)for(var d=0;d<s[n].length;d++)"transparent"!=o[s[n][d]]&&(i[e].patternCtx.fillStyle=o[s[n][d]],i[e].patternCtx.fillRect(d*a,n*a,a,a));return"url("+i[e].patternCanvas.toDataURL()+")"},getBGCanvasDetails:function(e,t,a){var o;return a||(t.mDIM=i.getmDim(e,t.skeyindex,t)),t.usepattern=("auto"===t.bgfit||t.bgfit.indexOf("%")>=0)&&(void 0===t.loadobj||!0!==t.loadobj.useBGColor),_R_is_Editor&&void 0===t.panzoom&&delete t.shadowCanvas,void 0===t.shadowCanvas&&(t.shadowCanvas=document.createElement("canvas"),t.shadowCTX=t.shadowCanvas.getContext("2d"),t.shadowCanvas.style.background="transparent",t.shadowCanvas.style.opacity=1),!0===t.replaceShadowCanvas||!0===t.loadobj.bgColor||!0===t.usebgColor||void 0!==t.panzoom||null!=t.isHTML5&&1!=t.poster||t.usepattern?(o={width:t.mDIM.width,height:t.mDIM.height,x:0,y:0},t.usepattern&&void 0!==t.loadobj&&void 0!==t.loadobj.img?i.getCanvasPattern(e,t,{ratio:t.loadobj.height/t.loadobj.width}):(t.loadobj.bgColor||t.usebgColor)&&(t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),i.getCanvasGradients(e,t))):(o=s(t.mDIM,t,{width:t.mDIM.width,height:t.mDIM.height,x:0,y:0,contw:t.loadobj.width,conth:t.loadobj.height}),t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),void 0!==t.loadobj&&void 0!==t.loadobj.img&&t.shadowCTX.drawImage(t.loadobj.img,o.x,o.y,o.width,o.height),o={width:t.mDIM.width,height:t.mDIM.height,x:0,y:0}),o},getCanvasPattern:function(e,t,a){void 0===t.patternImageCanvas&&(t.patternImageCanvas=document.createElement("canvas"),t.patternImageCTX=t.patternImageCanvas.getContext("2d"));var o=t.bgfit.split(" ");1===o.length&&(o[1]=o[0]),a.width="auto"===o[0]?t.loadobj.width:t.loadobj.width*(parseInt(o[0],0)/100),a.height="auto"===o[1]?t.loadobj.height:a.width*a.ratio,t.DPR=_R_is_Editor?Math.min(window.devicePixelRatio,2):i[e].DPR;var r=a.width/a.height;a.width=a.width*t.DPR,a.height=a.height*t.DPR,i.isIOS&&a.width*a.height>15728640&&(t.mDIM.width>t.mDIM.height?(a.width=t.mDIM.width,a.height=Math.round(t.mDIM.width/r)):(a.height=t.mDIM.height,a.width=Math.round(t.mDIM.height*r))),t.patternImageCanvas.width=a.width,t.patternImageCanvas.height=a.height,t.patternImageCTX.drawImage(t.loadobj.img,0,0,a.width,a.height),t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),t.shadowCTX.clearRect(0,0,t.shadowCTX.canvas.width,t.shadowCTX.canvas.height),t.pattern=t.shadowCTX.createPattern(t.patternImageCanvas,t.bgrepeat),t.shadowCTX.fillStyle=t.pattern,t.shadowShifts={h:t.bgposition.split(" ")[0],v:t.bgposition.split(" ")[1]},t.shadowShifts.hperc=i.isNumeric(parseInt(t.shadowShifts.h))?parseInt(t.shadowShifts.h)/100*t.mDIM.width:0,t.shadowShifts.vperc=i.isNumeric(parseInt(t.shadowShifts.v))?parseInt(t.shadowShifts.v)/100*t.mDIM.height:0,t.shadowShifts.x="left"===t.shadowShifts.h?0:"center"===t.shadowShifts.h||"50%"==t.shadowShifts.h?"repeat"==t.bgrepeat||"repeat-x"==t.bgrepeat?t.mDIM.width/2-a.width/2-Math.ceil(t.mDIM.width/2/a.width)*a.width:t.mDIM.width/2-a.width/2:"right"===t.shadowShifts.h?"repeat"==t.bgrepeat||"repeat-x"==t.bgrepeat?-(a.width-t.mDIM.width%a.width):t.mDIM.width-a.width:"repeat"==t.bgrepeat||"repeat-x"==t.bgrepeat?-(a.width-t.shadowShifts.hperc%a.width):t.shadowShifts.hperc,t.shadowShifts.y="top"===t.shadowShifts.v?0:"center"===t.shadowShifts.v||"50%"==t.shadowShifts.v?"repeat"==t.bgrepeat||"repeat-y"==t.bgrepeat?t.mDIM.height/2-a.height/2-Math.ceil(t.mDIM.height/2/a.height)*a.height:t.mDIM.height/2-a.height/2:"bottom"===t.shadowShifts.v?"repeat"==t.bgrepeat||"repeat-y"==t.bgrepeat?-(a.height-t.mDIM.height%a.height):t.mDIM.height-a.height:"repeat"==t.bgrepeat||"repeat-y"==t.bgrepeat?-(a.height-t.shadowShifts.vperc%a.height):t.shadowShifts.vperc,t.shadowCTX.save(),t.shadowCTX.translate(t.shadowShifts.x,t.shadowShifts.y),t.shadowCTX.fillRect(0,0,t.mDIM.width-t.shadowShifts.x,t.mDIM.height-t.shadowShifts.y),t.shadowCTX.restore()},getCanvasGradients:function(e,t){if(t.bgcolor.indexOf("gradient")>=0){t.gradient=null==t.gradient||_R_is_Editor?i.getGradients(t.bgcolor):t.gradient,t.shadowGrd="radialGradient"===t.gradient.type?t.shadowCTX.createRadialGradient(t.mDIM.width/2,t.mDIM.height/2,0,t.mDIM.width/2,t.mDIM.height/2,Math.max(t.mDIM.width/2,t.mDIM.height/2)):i.calcLinearGradient(t.shadowCTX,t.shadowCanvas.width,t.shadowCanvas.height,t.gradient.deg);for(var a=0;a<t.gradient.stops.length;a+=2)t.shadowGrd.addColorStop(t.gradient.stops[a+1],t.gradient.stops[a]);t.shadowCTX.clearRect(0,0,t.mDIM.width,t.mDIM.height),t.shadowCTX.fillStyle=t.shadowGrd,t.shadowCTX.fillRect(0,0,t.mDIM.width,t.mDIM.height)}else t.shadowCTX.clearRect(0,0,t.mDIM.width,t.mDIM.height),t.shadowCTX.fillStyle=t.bgcolor,t.shadowCTX.fillRect(0,0,t.mDIM.width,t.mDIM.height)},cNS:function(e){var i;for(i in e.n=document.createElementNS("http://www.w3.org/2000/svg",e.n),e.v)e.n.setAttributeNS(null,i.replace(/[A-Z]/g,function(e,i,t,a){return"-"+e.toLowerCase()}),e.v[i]);for(i in void 0!==e.c&&e.n.setAttribute("class",e.c),void 0!==e.id&&(e.n.id=e.id),void 0!==e.t&&(e.n.textContent=e.t),e.s)e.s.hasOwnProperty(i)&&(e.n.style[i]=e.s[i]);return e.n},rgbToHex:function(e){return"#"+l(e[0])+l(e[1])+l(e[2])},getSVGGradient:function(e){if(void 0===e)return e;if(_R_is_Editor&&(e=RSColor.convert(e)),-1==e.indexOf("gradient"))return e;var t=i.getGradients(e);void 0===i.gradSVG&&(i.gradSVG=i.cNS({n:"svg",id:"tp_svg_gradients",s:{width:"100%",height:"100%",opacity:0,pointerEvents:"none"}}),i.gradSVG.setAttribute("viewBox","0 0 1 1"),i.gradSVG.setAttribute("preserveAspectRatio","none"),document.body.appendChild(i.gradSVG),i.svgGradients=[]);for(var a=!1,o=JSON.stringify(e),r=0;r<i.svgGradients.length;r++)a||i.svgGradients[r].src==o&&(a=!0,e=i.svgGradients[r].url);if(!a){var s,n,d,l="radialGradient"===t.type?0:t.deg*(Math.PI/180),c="radialGradient"===t.type?0:{x1:Math.round(50+50*Math.sin(l))+"%",y1:Math.round(50+50*Math.cos(l))+"%",x2:Math.round(50+50*Math.sin(l+Math.PI))+"%",y2:Math.round(50+50*Math.cos(l+Math.PI))+"%"};d=i.cNS({n:t.type,id:"tp_svg_gradient_"+i.svgGradients.length,v:"radialGradient"===t.type?void 0:{gradientUnits:"userSpaceOnUse",x1:c.x1,y1:c.y1,x2:c.x2,y2:c.y2}});for(var p=0;p<=t.stops.length/2;p+=2)n=tpGS.gsap.utils.splitColor(t.stops[p]),s=i.cNS({n:"stop",v:{offset:100*t.stops[p+1]+"%",stopColor:i.rgbToHex(n),stopOpacity:n.length>3?n[3]:1}}),d.appendChild(s);i.gradSVG.appendChild(d),e="url(#tp_svg_gradient_"+i.svgGradients.length+")",i.svgGradients.push({url:e,src:o,g:d})}return e},getGradients:function(e){return e.indexOf("radial-gradient")>=0?{stops:i.getGradientColorStopPoints(e.split("radial-gradient(ellipse at center, ")[1]),type:"radialGradient",deg:0}:-1!==e.indexOf("gradient")?i.getLinearGradientStops(e):e},getLinearGradientStops:function(e){var i=e.split("linear-gradient(")[1];_R_is_Editor&&(i=(i=i.split(", ").join(",")).split(",rgba").join(", rgba"));var t=i.split("deg, ");for(var a in i=(t.length>1?t[1]:t[0]).split(" "),t=t.length>1?t[0]:180,i)i.hasOwnProperty(a)&&i[a].indexOf("%")>=0&&(i[a]=""+Math.round(100*parseFloat(i[a].split("%,")[0].split("%)")[0]))/1e4);return{stops:i,deg:t,type:"linearGradient"}},getGradientColorStopPoints:function(e){var i=/rgb([\s\S]*?)%/g,t=[],a=[];do{(r=i.exec(e))&&t.push(r[0])}while(r);for(var o=0;o<t.length;o++){var r=t[o],s=(e=/rgb([\s\S]*?)\)/.exec(r),/\)([\s\S]*?)%/.exec(r));e[0]&&(e=e[0]),s[1]&&(s=s[1]),a.push(e),a.push(parseFloat(s)/100)}return a},calcLinearGradient:function(e,i,t,a){a=a*Math.PI/180+Math.PI/2;for(var o,r,s,n,d=i/2,l=t/2,c=Math.sqrt(d*d+l*l),h={x1:Math.cos(a)*c+d,y1:Math.sin(a)*c+l,x2:d,y2:l},m=[g({x:0,y:0},a),g({x:i,y:0},a),g({x:i,y:t},a),g({x:0,y:t},a)],v=[],f=0;f<m.length;f++)v.push(u(m[f],h));if(p(d,l,v[0].x,v[0].y)>p(d,l,v[1].x,v[1].y)?(o=v[0].x,r=v[0].y):(o=v[1].x,r=v[1].y),p(d,l,v[2].x,v[2].y)>p(d,l,v[3].x,v[3].y)?(s=v[2].x,n=v[2].y):(s=v[3].x,n=v[3].y),Math.round(100*Math.atan2(l-r,d-o))/100===Math.round(a%(2*Math.PI)*100)/100){var w=o,y=r;o=s,r=n,s=w,n=y}return e.createLinearGradient(Math.round(o),Math.round(r),Math.round(s),Math.round(n))},transitions:{filter:{update:function(e,i,t){if(void 0!==e&&void 0!==e.tl){var a=void 0!==t||void 0!==e.tl.blur?" blur("+(void 0!==t?t:0+e.tl.blur!==void 0?e.tl.blur:0)+"px)":"";i.canvas.style.filter=void 0===e.tl.filter?""+a:e.tl.filter+a}},extendTimeLine:function(e,i,t){if(null!=i){var a=void 0!==i.g&&"0%"!==i.g&&0!==i.g?(""===a?"":" ")+"grayscale(_g_%)":"";a+=void 0!==i.h&&"100%"!==i.h&&100!==i.h?(""===a?"":" ")+"brightness(_h_%)":"",a+=void 0!==i.s&&"0px"!==i.s&&0!==i.s?(""===a?"":" ")+"sepia(_s_%)":"",a+=void 0!==i.c&&100!==i.c?(""===a?"":" ")+"contrast(_c_%)":"",""!==(a+=void 0!==i.i&&0!==i.i?(""===a?"":" ")+"invert(_i_%)":"")&&(i.tl={filter:a.replace("_g_",parseFloat(i.g)).replace("_h_",parseFloat(i.h)).replace("_s_",parseFloat(i.s)).replace("_c_",parseFloat(i.c)).replace("_i_",parseFloat(i.i))}),void 0!==i.b&&"0px"!==i.b&&0!==i.b&&(void 0===i.tl?i.tl={blur:parseFloat(i.b)}:i.tl.blur=parseFloat(i.b)),void 0!==i.tl&&(e.add(tpGS.gsap.to(i.tl,i.ms/i.sec,void 0===i.tl.filter?{blur:0}:void 0===i.tl.blur?{filter:a.replace("_g_","0").replace("_h_","100").replace("_s_","0").replace("_c_",100).replace("_i_",0),ease:i.e}:{blur:0,filter:a.replace("_g_","0").replace("_h_","100").replace("_s_","0").replace("_c_",100).replace("_i_",0),ease:i.e}),0),t.canvasFilter=!0)}}},slidingoverlay:{getBasic:function(){return i.getBasic({attr:["x","y"],in:{m:!0,o:-1,_xy:20,_gxys:10,_gxye:-10,zIndex:20,e:"power1.inOut"},out:{m:!0,reversed:!1,_xy:-100,o:0,zIndex:10,e:"power1.inOut"}})},updateAnim:function(e,t,a){var o=void 0!==t.in.x&&0!==t.in.x&&"0%"!==t.in.x?"x":"y";t.in["g"+o+"s"]=i.SATools.getOffset(t.in[o],t.in._gxys,a,1)+"%",t.in["g"+o+"e"]=i.SATools.getOffset(t.in[o],t.in._gxye,a,1)+"%",t.out[o]=i.SATools.getOffset(t.in[o],t.out._xy,a,1)+"%",t.in[o]=i.SATools.getOffset(t.in[o],t.in._xy,a,1)+"%";var r=parseInt(t.in[o])>=0;return t.in.d="x"===o?r?"left":"right":r?"up":"down",t},beforeDraw:function(e,i,t,a){void 0!==t.d&&(t._dxs="right"===t.d?0+t.mw:"left"===t.d?0-t.mw:0,t._dys="down"===t.d?0+t.mh:"up"===t.d?0-t.mh:0,t._xs="left"===t.d?0-t.mw:0,t._ys="up"===t.d?0-t.mh:0,t._xe="right"===t.d?a.SLOT.OW+t.mw:"left"===t.d?a.SLOT.OW-t.mw:a.SLOT.OW,t._ye="down"===t.d?a.SLOT.OH+t.mh:"up"===t.d?a.SLOT.OH-t.mh:a.SLOT.OH,i.beginPath(),i.rect("left"===t.d?Math.max(0,t._xs):"right"===t.d?Math.min(0,t._xs):0,"up"===t.d?Math.max(0,t._ys):"down"===t.d?Math.min(0,t._ys):0,"left"===t.d?Math.max(a.SLOT.OW,t._xe):"right"===t.d?Math.min(a.SLOT.OW,t._xe):t._xe,"up"===t.d?Math.max(a.SLOT.OH,t._ye):"down"===t.d?Math.min(a.SLOT.OH,t._ye):t._ye),i.clip())},afterDraw:function(e,i,t,a,o){void 0!==t.d&&(i.save(),i.beginPath(),i.rect(Math.max(0,t._dxs),Math.max(0,t._dys),t._xe,t._ye),i.clip(),i.save(),i.transform(o.csx,o.ssx,o.ssy,o.csy,.5*a.SLOT.OW+t.x+t.sgx,.5*a.SLOT.OH+t.y+t.sgy),i.drawImage(void 0!==a.shadowCanvas?a.shadowCanvas:a.loadobj.img,0,0,a.SLOT.OW,a.SLOT.OH,t.sgx-a.SLOT.OW/2,t.sgy-a.SLOT.OH/2,a.SLOT.OW,a.SLOT.OH),i.restore(),i.fillStyle="rgba(0,0,0,0.6)",i.fillRect(t.gx,t.gy,a.SLOT.OW,a.SLOT.OH),i.restore())},extendTimeLine:function(e,t,a,o,r,s){"in"!==r.direction||void 0===o.gxe&&void 0===o.gye||(jQuery.extend(!0,a[0],{d:o.d,gx:void 0===o.gxs?0:2*i.SATools.getOffset(o.gxs,s.width,r.sdir,0),gy:void 0===o.gys?0:2*i.SATools.getOffset(o.gys,s.height,r.sdir,0),sgx:void 0===o.gxs?0:i.SATools.getOffset(o.gxs,s.width,r.sdir,0),sgy:void 0===o.gys?0:i.SATools.getOffset(o.gys,s.height,r.sdir,0),mw:0-s.width,mh:0-s.height}),t.add(tpGS.gsap.to(a,o.ms/o.sec,{gx:void 0===o.gxe?0:2*i.SATools.getOffset(o.gxe,s.width,r.sdir,0),gy:void 0===o.gye?0:2*i.SATools.getOffset(o.gye,s.height,r.sdir,0),sgx:void 0===o.gxe?0:2*i.SATools.getOffset(o.gxe,s.width,r.sdir,0),sgy:void 0===o.gye?0:2*i.SATools.getOffset(o.gye,s.height,r.sdir,0),mw:s.width,mh:s.height,ease:o.e}),0))}},motionFilter:{init:function(e,i){return void 0!==i&&parseFloat(i)>0?(i=parseFloat(i),e.fmExists=!0,e.fmShadow=void 0===e.fmShadow?document.createElement("canvas"):e.fmShadow,e.fmCtx=e.fmShadow.getContext("2d"),e.fmShadow.width=e.ctx.canvas.width,e.fmShadow.height=e.ctx.canvas.height,e.fmCtx.globalAlpha=tpGS.gsap.utils.mapRange(100,0,40,0,i)/100,e.fmCtx.clearRect(0,0,e.ctx.canvas.width,e.ctx.canvas.height)):e.fmExists=!1,i},render:function(e,i){"partial"===i&&(e.fmCtx.globalCompositeOperation="source-over"),e.fmCtx.drawImage(e.canvas,0,0,e.canvas.width,e.canvas.height),e.ctx.clearRect(0,0,e.canvas.width,e.canvas.height),e.ctx.drawImage(e.fmCtx.canvas,0,0,e.canvas.width,e.canvas.height),"partial"===i&&(e.fmCtx.globalCompositeOperation="source-atop"),"partial"!==i&&"full"!==i||(e.fmCtx.fillStyle="rgba(255, 255, 255, 0.1)",e.fmCtx.fillRect(0,0,e.canvas.width,e.canvas.height))},clearFull:function(e,i){e.fmExists&&void 0!==e.fmCtx&&(e.ctx.clearRect(0,0,e.canvas.width,e.canvas.height),e.fmCtx.clearRect(0,0,e.canvas.width,e.canvas.height),void 0!==i&&i.render(i.time(),!0,!0))},complete:function(e){e.fmShadow&&e.fmShadow.remove()}},d3:{ticker:function(e,i,t){if(void 0!==e.helper){var a=e.smi*("in"===t?e.helper.oo:e.helper.o),o=e.sma*("in"===t?e.helper.oo:e.helper.o);if(e.gradient="vertical"===e.d?"in"===t?i.ctx.createLinearGradient(0,0,0,i.canvas.height):i.ctx.createLinearGradient(0,i.canvas.height,0,0):"in"===t?i.ctx.createLinearGradient(0,0,i.canvas.width,0):i.ctx.createLinearGradient(i.canvas.width,0,0,0),e.gradient.addColorStop(0,"rgba("+e.sc+","+a+")"),e.gradient.addColorStop(e.sl,"rgba("+e.sc+","+o+")"),i.ctx.fillStyle=e.gradient,i.ctx.fillRect(0,0,i.canvas.width,i.canvas.height),void 0!==i.cube&&i.cube.ctx){var r=void 0!==e.roomhelper&&!1!==e.roomhelper&&(90-e.roomhelper.r)/90;a=!1!==r?r:e.smi*e.helper.o,o=!1!==r?r:e.sma*e.helper.o,i.cube.ctx.clearRect(0,0,i.cube.ctx.canvas.width,i.cube.ctx.canvas.height),e.gradientW=!1!==r?"vertical"===e.d?e.t<0&&1===e.sdir||e.t>0&&-1===e.sdir?i.ctx.createRadialGradient(0,i.cube.ctx.canvas.width/2,0,0,0,2*i.cube.ctx.canvas.width):i.ctx.createRadialGradient(i.cube.ctx.canvas.width,0,0,0,0,2*i.cube.ctx.canvas.width):e.t>0&&1===e.sdir||e.t<0&&-1===e.sdir?i.ctx.createRadialGradient(i.cube.ctx.canvas.width/2,i.cube.ctx.canvas.height,0,i.cube.ctx.canvas.width/2,i.cube.ctx.canvas.height,i.cube.ctx.canvas.width):i.ctx.createRadialGradient(i.cube.ctx.canvas.width/2,.2*i.cube.ctx.canvas.height,0,i.cube.ctx.canvas.width/2,.2*i.cube.ctx.canvas.height,i.cube.ctx.canvas.width):"vertical"===e.d?i.ctx.createLinearGradient(0,0,0,i.cube.ctx.canvas.height):i.ctx.createLinearGradient(0,0,i.cube.ctx.canvas.width,0),e.gradientW.addColorStop(0,"rgba("+e.sc+","+(!1!==r?"a"===e.DIR?o:0:"a"===e.DIR?0:o)+")"),e.gradientW.addColorStop(1,"rgba("+e.sc+","+(!1!==r?"a"===e.DIR?0:o:"a"===e.DIR?o:0)+")"),i.cube.ctx.fillStyle=e.gradientW,i.cube.ctx.fillRect(0,0,i.cube.ctx.canvas.width,i.cube.ctx.canvas.height)}}},setWall:function(e,i,t,a,o,r){return e.TL=tpGS.gsap.timeline(),e.TL.add(tpGS.gsap.to(e.c,.2,{display:"block"}),0),"rotationX"===t?(e.ctx.canvas.width=a.w,e.ctx.canvas.height=a.w,e.TL.add(tpGS.gsap.set(e.w,{backgroundColor:o,width:a.w,height:a.w,transformOrigin:"50% 50% -"+a.w/2+"px",x:0,y:i>0?-(a.w-a.h):0,rotationX:i>0?-90:90,rotationY:0}),0)):(e.ctx.canvas.width=r?a.w:a.h,e.ctx.canvas.height=a.h,e.TL.add(tpGS.gsap.set(e.w,{backgroundColor:o,width:r?a.w:a.h,height:a.h,transformOrigin:"50% 50% -"+(r?a.w:a.h)/2+"px",x:i<0?a.w-a.h:0,y:0,rotationX:0,rotationY:i>0?-90:90}),0)),e.TL},buildCube:function(e){e.cube={c:document.createElement("div"),w:document.createElement("canvas")},e.cube.ctx=e.cube.w.getContext("2d"),e.cube.c.className="rs_fake_cube",e.cube.w.className="rs_fake_cube_wall",tpGS.gsap.set(e.cube.c,{width:e.mDIM.w,height:e.mDIM.h}),tpGS.gsap.set(e.cube.w,{width:e.mDIM.w,height:e.mDIM.h,backgroundColor:"#ccc"}),e.cube.c.appendChild(e.cube.w),e.sbg.appendChild(e.cube.c)},cubeTL:function(e,t,a,o){if("none"!==t.f&&void 0!==t.f){a.sbg.style.transformStyle="preserve-3d";var r=tpGS.gsap.timeline(),s="incube"===t.f?1:-1,n="incube"===t.f||"cube"===t.f,d="fly"===t.f?-30:90,l="turn"!==t.f&&!1!==t.t&&(_R_is_Editor||!0===i[e].firstSlideAnimDone),c=-1*t.z,p={},g={z:l?0:c,ease:"power1.inOut"},u={ease:t.e},h=[a.canvas],m=n?"50% 50% ":"20% 20% ",v="rotationX",f="rotationY",w="y",y="height",b=t.fd;if("vertical"!==t.d?(v="rotationY",f="rotationX",w="x",y="width",t.DIR=1===t.sdir?"b":"a"):t.DIR=1===t.sdir?"a":"b",y="width"===y?"w":"height"===y?"h":y,"turn"===t.f?(d="vertical"===t.d?-120:120,m="vertical"===t.d?1===t.sdir?"in"===o?"0% 0% 0%":"0% 100% 0%":"in"===o?"0% 100% 0%":"0% 0% 0%":1===t.sdir?"in"===o?"0% 0% 0%":"100% 0% 0%":"in"===o?"100% 0% 0%":"0% 0% 0%",g.z=0,u.ease="out"===o?"power3.out":u.ease,b="out"===o?b/2:b):m+=s*a.mDIM[y]/2+"px",u[v]=0,u[w]=0,"in"===o?p[v]=d*t.sdir:u[v]=-d*t.sdir,"fly"===t.f){var _=void 0===t.fz?20*Math.random()-10:parseInt(t.fz);"in"===o?(p[w]=a.mDIM[y]*(void 0===t.fdi?1.5:parseFloat(t.fdi))*t.sdir,p.rotateZ=t.sdir*_,u.rotateZ=0):(u[w]=a.mDIM[y]*(void 0===t.fdo?2:parseFloat(t.fdo))*t.sdir*-1,u.rotateZ=t.sdir*_*-1)}if(a.sbg.style.perspective=l?"2500px":"1500px",l){var S={z:c*("fly"===t.f?1.5:3),ease:"power1.inOut"},x={z:0,ease:"power1.inOut"};S[f]=-1*t.t,x[f]=0,t.roomhelper={r:0},r.add(tpGS.gsap.set(_R_is_Editor?RVS.SBGS[RVS.S.slideId].wrap:a.wrap[0],{perspective:1200,transformStyle:"preserve-3d",transformOrigin:m}),0),r.add(tpGS.gsap.to(a.sbg,3*t.md,S),0),r.add(tpGS.gsap.to(a.sbg,3*t.md,x),b-t.md),r.add(tpGS.gsap.to(t.roomhelper,3*t.md,{r:Math.abs(t.t)}),0),r.add(tpGS.gsap.to(t.roomhelper,3*t.md,{r:0}),b-t.md),"in"===o&&1!==s&&n&&(void 0===a.cube&&i.transitions.d3.buildCube(a),r.add(i.transitions.d3.setWall(a.cube,S[f],f,a.mDIM,t.c),0),h.push(a.cube.c))}else t.roomhelper=!1,r.add(tpGS.gsap.set(_R_is_Editor?RVS.SBGS[RVS.S.slideId].wrap:a.wrap[0],{perspective:"none",transformStyle:"none",transformOrigin:"50% 50%"}),0),!_R_is_Editor&&!0!==i[e].firstSlideAnimDone&&n&&(void 0===a.cube&&i.transitions.d3.buildCube(a),r.add(i.transitions.d3.setWall(a.cube,p[v],v,a.mDIM,t.c,!0),0),r.add(tpGS.gsap.fromTo(a.cube.w,4*t.md,{opacity:0},{opacity:1}),0),h.push(a.cube.c));return t.helper={o:0,oo:1},r.add(tpGS.gsap.to(t.helper,b,{o:1,oo:0,ease:t.e}),t.md+0),r.add(tpGS.gsap.set(h,jQuery.extend(!0,{},p,{force3D:!0,transformOrigin:m})),0),"turn"!==t.f&&r.add(tpGS.gsap.to(h,3*t.md,g),0),r.add(tpGS.gsap.to(h,b,u),t.md+0),"turn"!==t.f&&r.add(tpGS.gsap.to(h,3*t.md,{z:0,ease:"power1.inOut"}),b-t.md),"out"===o&&1!==s&&r.add(tpGS.gsap.to(h,2*t.md,{opacity:0}),t.dur-2*t.md),r}}}},animatedCanvasUpdate:function(e,t){t.cDIMS=i.getBGCanvasDetails(e,t),t.canvas.style.backgroundColor="transparent",t.canvas.style.opacity=1,t.canvas.width!==t.mDIM.width&&(t.canvas.width=t.mDIM.width),t.canvas.height!==t.mDIM.height&&(t.canvas.height=t.mDIM.height),_R_is_Editor||!0!==i[e].clearModalBG||(t.ctx.clearRect(0,0,t.canvas.width,t.canvas.height),i[e].clearModalBG=!1,t.sbg.parentNode.style.opacity=1),t.col=t.col||1,t.row=t.row||1,t.SLOT=jQuery.extend(!0,{s:{},c:{}},a(e,t.col,t.row,t.mDIM,"OW","OH")),t.SLOT.DX=0-t.SLOT.OW/2,t.SLOT.DY=0-t.SLOT.OH/2,t.row=Math.ceil(t.mDIM.height/t.SLOT.OH)||1,void 0!==t.callFromAnimatedCanvasUpdate&&t.callFromAnimatedCanvasUpdate()},slideAnimFinished:function(e,t,a,o){void 0!==t&&(void 0!==t.bgvid&&t.bgvid.length>0&&"out"===a.direction&&(t.drawVideoCanvasImagesRecall=!1,i.stopVideo(t.bgvid,e),t.bgvid[0].style.display="none",t.bgvid[0].style.zIndex=0),t.panFake&&t.panFake.img&&("out"===a.direction?t.panFake.img.style.display="none":t.panFake.img.style.display="block"),"in"===a.direction&&(i.transitions.motionFilter.complete(t),t.ctx.canvas.style.filter="none",tpGS.gsap.set(a.slide,{zIndex:20}),delete t.animateDirection,t.bgvid.length>0&&(t.isHTML5?tpGS.gsap.set(t.bgvid[0],{zIndex:30,display:"block",opacity:1}):(i.resetVideo(t.bgvid,e),tpGS.gsap.delayedCall(.1,function(){i.playVideo(t.bgvid,e,!0),tpGS.gsap.set(t.bgvid[0],{zIndex:30,display:"block",opacity:1})})))),"out"===a.direction?(tpGS.gsap.set(a.slide,{zIndex:10}),tpGS.gsap.set(t.canvas,{rotationX:0,rotationY:0,rotationZ:0,x:0,y:0,z:0,opacity:1}),t.currentState=void 0):t.currentState="idle",void 0!==t.cube&&(t.cube.c.style.display="none"),"in"===a.direction&&(i.updateSlideBGs(e,t.skeyindex,t),void 0===t.panzoom||_R_is_Editor||i.startPanZoom(i[e].pr_next_bg,e,void 0!==i[e].panzoomTLs[t.skeyindex]?i[e].panzoomTLs[t.skeyindex].progress():0,t.skeyindex,"play",t.key),void 0!==a.BG&&!0!==o&&a.BG.ctx.clearRect(0,0,2*t.canvas.width,2*t.canvas.height)))},animateCore:function(e,t,a,o){var r,s,n,d,l=t.canvas,c=t.ctx,p=0;if(t.col=a.col,t.row=a.row,_R_is_Editor&&t.three){for(t.canvas.style.display="block";t.three.scene.children.length>0;)t.three.scene.remove(t.three.scene.children[0]);t.three.canvas.parentNode.removeChild(t.three.canvas),t.three=void 0}i.animatedCanvasUpdate(e,t),a.row=t.row,t.animateDirection=o.direction,o.delay=void 0===o.delay?0:o.delay,n=a.col*a.row,d=Array(n),void 0===t.help_canvas&&"out"===o.direction&&void 0!==o.bgColor&&(t.help_canvas=document.createElement("canvas"),t.help_ctx=t.help_canvas.getContext("2d")),"out"===o.direction&&void 0!==o.bgColor&&(t.help_canvas.width=t.mDIM.width,t.help_canvas.height=t.mDIM.height,t.help_ctx.fillStyle=o.bgColor,t.help_ctx.fillRect(0,0,t.mDIM.width,t.mDIM.height)),a.mo=i.transitions.motionFilter.init(t,a.mo),a.dur=a.ms/a.sec,void 0!==o.d3&&(o.d3.dur=a.dur,o.d3.fd=.7*a.dur,o.d3.md=.15*a.dur,o.d3.sdir=o.sdir),t.SLOT.c={ws:0,hs:0,wd:0,hd:0},a.mo>0&&_R_is_Editor&&c.clearRect(0,0,l.width,l.height);var g=tpGS.gsap.timeline({onUpdate:function(){if(p=0,a.mo>0?i.transitions.motionFilter.render(t,a.moo):c.clearRect(0,0,l.width,l.height),t.help_canvas&&"out"===o.direction&&c.drawImage(t.help_canvas,0,0),(o.filter&&o.filter.u||!_R_is_Editor)&&i.transitions.filter.update(o.filter,c,t.canvasFilterBlur),_R_is_Editor&&0!==a.zIndex&&void 0!==a.zIndex&&tpGS.gsap.set(o.slide,{zIndex:a.zIndex}),void 0!==t.shadowCanvas)for(r=0;r<a.col;r++)for(t.SLOT.SX=t.SLOT.OW*r,t.SLOT.tw=t.SLOT.OW*(r+.5),t.SLOT.c.wd=t.mDIM.width-(t.SLOT.tw+t.SLOT.DX+t.SLOT.OW),t.SLOT.c.wd=t.SLOT.c.wd<0?t.SLOT.c.wd:0,t.SLOT.DW=t.SLOT.SW=t.SLOT.OW+t.SLOT.c.wd,s=0;s<a.row;s++){c.save();var n=-Math.PI/180*d[p].r,g=0!==a.r?Math.cos(n)*d[p].sx:d[p].sx,u=0!==a.r?Math.cos(n)*d[p].sy:d[p].sy,h=0!==a.r?Math.sin(n)*d[p].sx:0,m=0!==a.r?Math.sin(n)*-d[p].sy:0;t.SLOT.SY=t.SLOT.OH*s,t.SLOT.th=t.SLOT.OH*(s+.5),i.transitions[o.effect]&&i.transitions[o.effect].beforeDraw&&i.transitions[o.effect].beforeDraw(e,c,d[p],t),a.m&&(c.beginPath(),c.rect(t.SLOT.OW*r,t.SLOT.OH*s,t.SLOT.OW,t.SLOT.OH),c.clip()),c.transform(g,h,m,u,t.SLOT.tw+d[p].x,t.SLOT.th+d[p].y),c.globalAlpha=Math.max(0,d[p].o),t.SLOT.c.hd=t.mDIM.height-(t.SLOT.th+t.SLOT.DY+t.SLOT.OH),t.SLOT.c.hd=t.SLOT.c.hd<0?t.SLOT.c.hd:0,t.SLOT.DH=t.SLOT.SH=t.SLOT.OH+t.SLOT.c.hd,t.SLOT.SW>1&&t.SLOT.SH>1&&c.drawImage(t.shadowCanvas,t.SLOT.SX,t.SLOT.SY,t.SLOT.SW,t.SLOT.SH,t.SLOT.DX,t.SLOT.DY,t.SLOT.DW,t.SLOT.DH),c.restore(),i.transitions[o.effect]&&i.transitions[o.effect].afterDraw&&i.transitions[o.effect].afterDraw(e,c,d[p],t,{csx:g,csy:u,ssx:h,ssy:m}),p++}void 0!==o.d3&&o.d3.su&&i.transitions.d3.ticker(o.d3,t,o.direction),t.currentState="animating"},onComplete:function(){i.slideAnimFinished(e,t,o)}});if(a.col*a.row<2&&(a.f="start"),0!==a.zIndex&&void 0!==a.zIndex&&g.add(tpGS.gsap.set(o.slide,{zIndex:parseInt(a.zIndex,0)}),0),a.m="false"!=a.m&&!1!==a.m,"in"===o.direction){for(r=0;r<n;r++)d[r]={x:i.SATools.getOffset(a.x,a.m?t.SLOT.OW:t.mDIM.width,o.sdir,r),y:i.SATools.getOffset(a.y,a.m?t.SLOT.OH:t.mDIM.height,o.sdir,r),o:i.SATools.getSpecialValue(a.o,r,o.sdir),sx:i.SATools.getSpecialValue(a.sx,r,o.sdir),sy:i.SATools.getSpecialValue(a.sy,r,o.sdir),r:0!==a.r?i.SATools.getSpecialValue(a.r,r,o.sdir):0};g.add(tpGS.gsap.to(d,a.dur,{o:1,sx:1,sy:1,r:0,x:0,y:0,ease:a.e,stagger:{amount:"nodelay"===a.f?0:a.ms/a.stasec,grid:[a.col,a.row],from:"nodelay"===a.f?"start":a.f}}),o.delay),void 0!==o.d3&&g.add(i.transitions.d3.cubeTL(e,o.d3,t,"in"),0),i.transitions.filter.extendTimeLine(g,o.filter,t)}else{for(r=0;r<n;r++)d[r]={x:0,y:0,o:1,sx:1,sy:1,r:0};g.add(tpGS.gsap.to(d,a.dur,{o:function(e){return i.SATools.getSpecialValue(a.o,e,o.sdir)},sx:function(e){return i.SATools.getSpecialValue(a.sx,e,o.sdir)},sy:function(e){return i.SATools.getSpecialValue(a.sy,e,o.sdir)},r:0!==a.r&&void 0!==a.r?function(e){return i.SATools.getSpecialValue(a.r,e,o.sdir)}:0,x:function(e){return i.SATools.getOffset(a.x,a.m?t.SLOT.OW:t.mDIM.width,o.sdir,e)*(a.reversed?-1:1)},y:function(e){return i.SATools.getOffset(a.y,a.m?t.SLOT.OH:t.mDIM.height,o.sdir,e)*(a.reversed?-1:1)},ease:a.e,stagger:{amount:"nodelay"===a.f?0:a.ms/a.stasec,grid:[a.col,a.row],from:"nodelay"===a.f?"start":a.f}}),o.delay+(void 0!==a.outdelay?a.outdelay:0)),void 0!==o.d3&&g.add(i.transitions.d3.cubeTL(e,o.d3,t,"out"),0)}i.transitions[o.effect]&&i.transitions[o.effect].extendTimeLine&&i.transitions[o.effect].extendTimeLine(e,g,d,a,o,t.mDIM),_R_is_Editor?RVS.TL[RVS.S.slideId].slide.add(g,0):i[e].mtl.add(g,o.delay)}});var t=function(e,t){return void 0!==t&&i.isNumeric(t)?parseFloat(t,0):null==t||"default"===t||"d"===t?e:t},a=function(e,i,t,a,o,r){var s={};return s[o]=Math.ceil(a.width/i),s[r]=(_R_is_Editor,Math.ceil(a.height/t)),s},o=function(e){return null==e||0===e||NaN===e?1:e},r=function(e,a){_R_is_Editor||(i[e].duringslidechange=!0);var r,s=_R_is_Editor?-1:"arrow"==i[e].sc_indicator?void 0===i[e].sc_indicator_dir?i[e].sdir:i[e].sc_indicator_dir:i[e].sdir,d=!!_R_is_Editor||void 0!==i[e].pr_next_bg&&i[e].pr_next_bg.length>0&&void 0!==i[e].pr_next_bg[0],l=!!_R_is_Editor||void 0!==i[e].pr_active_bg&&i[e].pr_active_bg.length>0&&void 0!==i[e].pr_active_bg[0],p=_R_is_Editor?RVS.SBGS[RVS.S.slideId].n:d?i[e].sbgs[i[e].pr_next_bg[0].dataset.key]:void 0,g=_R_is_Editor?RVS.SBGS[RVS.S.slideId].c:l?i[e].sbgs[i[e].pr_active_bg[0].dataset.key]:void 0;s=1===s?-1:1,r=jQuery.extend(!0,{},function(e,a,r){var s=void 0!==i.transitions[a.anim.e]&&void 0!==i.transitions[a.anim.e].getBasic?i.transitions[a.anim.e].getBasic():i.getBasic(),n="";s.out=null==s.out?{}:s.out,s.out.reversed=void 0===a.out&&(void 0===s.out.reversed||s.out.reversed);void 0!==a.iw&&parseInt(a.iw,0),void 0!==a.ow&&parseInt(a.ow,0);for(var d in s.attr)n=s.attr[d],s.in[n]=t(s.in[n],a.in[n]),s.out[n]=s.out.reversed?s.in[n]:void 0===a.out?s.out[n]:t(s.out[n],a.out[n]);return s.filter=void 0!==a.filter?jQuery.extend(!0,a.filter,a.filter):s.filter,i.transitions[a.anim.e]&&i.transitions[a.anim.e].updateAnim&&(s=i.transitions[a.anim.e].updateAnim(e,s,r)),s.e=a.anim.e,void 0!==s.in&&(s.in.col="random"===s.in.col?tpGS.gsap.utils.random(1,10,1):o(s.in.col),s.in.row="random"===s.in.row?tpGS.gsap.utils.random(1,10,1):o(s.in.row)),void 0!==s.out&&(s.out.col="random"===s.out.col?tpGS.gsap.utils.random(1,10,1):o(s.out.col),s.out.row="random"===s.out.row?tpGS.gsap.utils.random(1,10,1):o(s.out.row)),s}(e,a,s)),void 0!==p.random&&void 0!==i.SLTR&&void 0!==g&&(delete g.help_canvas,delete g.help_ctx),r.ms=t(void 0,void 0===a.anim.ms?1e3:a.anim.ms),r.f=t(void 0,a.anim.f),r.p=t(void 0,a.anim.p),r.d=t(void 0,a.anim.d),r.o=a.anim.o,void 0!==a.d3&&(a.d3.t=void 0!==a.d3.t&&0!==a.d3.t&&a.d3.t,a.d3.su="true"==a.d3.su||1==a.d3.su,a.d3.su&&(a.d3.smi=void 0===a.d3.smi?0:parseFloat(a.d3.smi),a.d3.sl=void 0===a.d3.sl?1:parseFloat(a.d3.sl),a.d3.sma=void 0===a.d3.sma?.5:parseFloat(a.d3.sma),a.d3.sc=void 0===a.d3.sc?"0,0,0":tpGS.gsap.utils.splitColor(a.d3.sc).join(",")),r.p="none",void 0!==r.in.row&&void 0!==r.in.col&&r.in.row*r.in.col>200&&(r.filter=void 0)),r.in.sec=void 0===r.in.sec?1e3:r.in.sec,r.in.stasec=void 0===r.in.stasec?void 0===r.d?1500:100*r.d:r.in.stasec,r.in.ms="default"===r.ms||"d"===r.ms?r.in.ms:"random"===r.ms?Math.round(1e3*Math.random()+300):null!=r.ms?parseInt(r.ms,0):r.in.ms,r.out.ms=r.in.ms,void 0!==r.filter&&(r.filter.ms=r.in.ms,r.filter.sec=r.in.sec,r.filter.e=void 0===r.filter.e||"default"===r.filter.e?r.in.e:r.filter.e),r.in.f=void 0===r.f||"default"===r.f||"d"===r.f?r.in.f:r.f,r.in.f="slidebased"===r.in.f?1==s?"start":"end":"oppslidebased"===r.in.f?1===s?"end":"start":r.in.f,r.out.f=r.in.f,r.out=jQuery.extend(!0,{},r.in,r.out),r.in.eng=r.out.eng=a.anim.eng,void 0!==r.out.eng&&null==i[r.out.eng]&&(r.out.o=0,r.in.o=0,r.in.ms=r.out.ms=1e3,r.in.eng=r.out.eng="animateCore"),void 0!==r.p&&"none"!==r.p&&(r.in.bg="dark"===r.p?"#000":"light"===r.p?"#fff":"transparent",r.out.delay="none"!==r.p?function(e,i){return e/2.5}:0,1===r.out.o&&0===r.out.x&&0===r.out.y&&(r.out.o=0)),"forceinout"===r.o?(r.in.zIndex=20,r.out.zIndex=10):"outin"!==r.o&&(1!==r.in.o||0!==r.in.x||0!==r.in.y||void 0===a.out||1===r.out.o&&0===r.out.x&&0===r.out.y)||(r.in.zIndex=10,r.out.zIndex=20),p.bgvid.length>0&&(r.in=c(e,r.in,p,"in")),l&&void 0!==g.bgvid&&g.bgvid.length>0&&(r.out=c(e,r.out,g,"out")),void 0!==r.out&&(r.out.simplify||r.in.simplify)&&(r.out=n(r.out)),r.in.simplify&&(r.in=n(r.in)),_R_is_Editor||requestAnimationFrame(function(){i.generalObserver(i.ISM,!0)}),r.in.eng=void 0===r.in.eng?"animateCore":r.in.eng,r.out.eng=void 0===r.out.eng?"animateCore":r.out.eng,l&&!0!==r.out.skip&&i[r.out.eng](e,g,r.out,{effect:r.e,slide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].c.sbg:i[e].pr_active_slide,direction:"out",delay:0,bgColor:r.in.bg,sdir:s,filter:void 0,d3:a.d3,addOns:_R_is_Editor?a.addOns:void 0}),!0!==r.in.skip&&i[r.in.eng](e,p,r.in,{effect:r.e,slide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].n.sbg:i[e].pr_next_slide,direction:"in",delay:l?"function"==typeof r.out.delay?r.out.delay(r.in.ms/1e3,r.out.row*r.out.col):r.out.delay:r.in.delay,BG:g,outslide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].c.sbg:i[e].pr_active_slide,sdir:s,filter:r.filter,d3:a.d3,addOns:_R_is_Editor?a.addOns:void 0})},s=function(e,t,a){var o=e.height/e.width;if(a.ratio=a.conth/a.contw,a.ratio<o&&"contain"===t.bgfit||a.ratio>o&&"cover"===t.bgfit)a.height=e.width*a.ratio;else if(a.ratio>o&&"contain"===t.bgfit||a.ratio<o&&"cover"===t.bgfit)a.width=e.width*o/a.ratio;else if(a.ratio!==o||"contain"!==t.bgfit&&"cover"!==t.bgfit){var r=t.bgfit.split(" ");1===r.length&&(r[1]=r[0]),a.width="auto"===r[0]?a.contw:e.width*(parseInt(r[0],0)/100),a.height="auto"===r[1]?a.conth:a.width*a.ratio,t.usepattern=!0}else a.width=e.width;var s=function(e,t,a){return 1===(a=a.split(" ")).length&&(a[1]=a[0]),{x:"center"===a[0]||"50%"===a[0]?(e.width-t.width)/2:"left"===a[0]?0:"right"===a[0]?e.width-t.width:i.isNumeric(a[0])?0:a[0].indexOf("%")>=0?parseInt(a[0],0)/100*e.width-parseInt(a[0],0)/100*t.width:parseInt(a[0],0),y:"center"===a[1]||"50%"===a[1]?(e.height-t.height)/2:"top"===a[1]?0:"bottom"===a[1]?e.height-t.height:i.isNumeric(a[1])?0:a[1].indexOf("%")>=0?parseInt(a[1],0)/100*e.height-parseInt(a[1],0)/100*t.height:parseInt(a[1],0)}}(e,a,t.bgposition);return a.x=s.x,a.y=s.y,a},n=function(e){return e.o=0,e.r=0,e.row=1,e.col=1,e.x=0,e.y=0,e.sx=1,e.sy=1,e},d=function(e){return e="false"!==e&&!1!==e&&"off"!==e&&void 0!==e&&0!==e&&-1!==e},l=function(e){var i=e.toString(16);return 1==i.length?"0"+i:i},c=function(e,t,a,o){return t.skip=!1,"in"===o?a.isHTML5?(a.bgvid[0].style.display="none",i.resetVideo(a.bgvid,e),a.animateDirection="in",a.currentState="animating",a.drawVideoCanvasImagesRecall=!0,i.updateVideoFrames(e,a,!0),i.playVideo(a.bgvid,e)):(i[e].videos[a.bgvid[0].id].pauseCalled=!1,t.waitToSlideTrans=i[e].videos[a.bgvid[0].id].waitToSlideTrans,!0!==a.poster?(i.resetVideo(a.bgvid,e),i[e].videos[a.bgvid[0].id].prePlayForaWhile=!1,!0!==t.waitToSlideTrans&&i.playVideo(a.bgvid,e,!0),tpGS.gsap.fromTo(a.bgvid,t.ms/t.sec,{zIndex:30,display:"block",opacity:0},{opacity:1,zIndex:30,display:"block"}),a.loadobj.bgColor=!0,a.bgcolor="#000",t.simplify=!0):(i[e].videos[a.bgvid[0].id].prePlayForaWhile=!1,i.resetVideo(a.bgvid,e),i.playVideo(a.bgvid,e),a.bgvid[0].style.display="none",a.bgvid[0].style.zIndex=0,a.bgvid[0].style.opacity=0)):"out"===o&&(a.isHTML5?(a.currentState="animating",a.drawVideoCanvasImagesRecall=!0,i.updateVideoFrames(e,a,!0),window.requestAnimationFrame(function(){tpGS.gsap.to(a.bgvid,.1,{zIndex:0,display:"none"})})):(i.stopVideo(a.bgvid,e,!0),!0!==a.poster&&(a.loadobj.bgColor=!0,a.bgcolor="#000"))),t},p=function(e,i,t,a){return Math.sqrt(Math.pow(e-t,2)+Math.pow(i-a,2))},g=function(e,i){var t=i+Math.PI/2;return{x1:e.x,y1:e.y,x2:e.x+100*Math.cos(t),y2:e.y+100*Math.sin(t)}},u=function(e,i){var t=e.y2-e.y1,a=e.x1-e.x2,o=t*e.x1+a*e.y1,r=i.y2-i.y1,s=i.x1-i.x2,n=r*i.x1+s*i.y1,d=t*s-r*a;return 0!==d&&{x:Math.round((s*o-a*n)/d*100)/100,y:Math.round((t*n-r*o)/d*100)/100}};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.slideanims={loaded:!0,version:"6.5.10"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";jQuery.fn.revolution=jQuery.fn.revolution||{};var i=jQuery.fn.revolution;function t(e){return null==e?-1:i.isNumeric(e)?e:e.split(":").length>1?60*parseInt(e.split(":")[0],0)+parseInt(e.split(":")[1],0):e}jQuery.extend(!0,i,{preLoadAudio:function(e,t){i[t].videos=void 0===i[t].videos?{}:i[t].videos,e.find(".rs-layer-audio").each(function(){var a=jQuery(this),o=i[t].videos[a[0].id]=void 0===i[t].videos[a[0].id]?f(a.data(),"audio",i.gA(e[0],"key")):i[t].videos[a[0].id],r={};0===a.find("audio").length&&(r.src=null!=o.mp4?o.mp4:"",r.pre=o.pload||"",this.id=void 0===this.id||""===this.id?a.attr("audio-layer-"+Math.round(199999*Math.random())):this.id,r.id=this.id,void 0===i[t].audioqueue&&(i[t].audioqueue=[]),i[t].audioqueue.push(r),i.manageVideoLayer(a,t,i.gA(e[0],"key"),!0))})},preLoadAudioDone:function(e,t,a){var o=i[t].videos[e[0].id];i[t].audioqueue&&i[t].audioqueue.length>0&&jQuery.each(i[t].audioqueue,function(e,i){o.mp4!==i.src||i.pre!==a&&"auto"!==i.pre||(i.status="loaded")})},checkfullscreenEnabled:function(e){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 t=i.isWebkit()&&/Apple Computer/.test(navigator.vendor)?42:5;return screen.width==i.winW&&Math.abs(screen.height-i.getWinH(e))<t},showVideo:function(e){tpGS.gsap.to(e,.3,{opacity:1,display:"block",ease:"power3.inOut"})},resetVideo:function(e,t,a){if("updateAndResize"!==a){var o=i[t].videos[e[0].id];if("resetVideo"!==o.cRS)switch(o.cRS="resetVideo",o.type){case"youtube":o.rwd&&null!=o.player&&void 0!==o.player.seekTo&&(o.player.seekTo(-1==o.ssec?0:o.ssec),o.player.pauseVideo()),o.bgvideo||"preset"===a||0!=o.jsposter.length||i.showVideo(e.find("iframe"));break;case"vimeo":void 0!==o.vimeoplayer&&o.rwd&&(0!==o.ssec&&-1!==o.ssec||o.bgvideo||o.jsposter.length>0)&&(o.vimeoplayer.setCurrentTime(-1==o.ssec?0:o.ssec),o.vimeoplayer.pause()),0!=o.jsposter.length||o.bgvideo||"preset"===a||i.showVideo(e.find("iframe"));break;case"html5":if(i.ISM&&o.notonmobile)return!1;o.bgvideo||i.showVideo(o.jvideo),o.rwd&&"playing"!==o.cSS&&!isNaN(o.video.duration)&&(o.justReseted=!0,o.video.currentTime=-1==o.ssec?0:o.ssec),("mute"==o.volume||i.lastToggleState(e.videomutetoggledby)||!0===i[t].globalmute)&&(o.video.muted=!0)}}},Mute:function(e,t,a){var o=!1,r=i[t].videos[e[0].id];switch(r.type){case"youtube":r.player&&(!0===a&&r.player.mute(),!1===a&&n(r,parseInt(r.volcache,0)),o=r.player.isMuted());break;case"vimeo":r.volcachecheck||(r.volcache=r.volcache>1?r.volcache/100:r.volcache,r.volcachecheck=!0),r.volume=!0===a?"mute":!1===a?r.volcache:r.volume,void 0!==a&&null!=r.vimeoplayer&&s(r,!0===a?0:r.volcache),o="mute"==r.volume||0===r.volume;break;case"html5":r.volcachecheck||(r.volcache=r.volcache>1?r.volcache/100:r.volcache,r.volcachecheck=!0),r.video.volume=r.volcache,void 0!==a&&r.video&&(r.video.muted=a),o=void 0!==r.video?r.video.muted:o}if(void 0===a)return o},stopVideo:function(e,t,a){if(void 0!==i[t]&&void 0!==i[t]){var o=i[t].videos[e[0].id];if(void 0!==o&&("stopVideo"!==o.cRS||"paused"!==o.cSS))switch(o.cRS="stopVideo",i[t].leaveViewPortBasedStop||(i[t].lastplayedvideos=[]),i[t].leaveViewPortBasedStop=!1,o.type){case"youtube":void 0!==o.player&&2!==o.player.getPlayerState()&&5!==o.player.getPlayerState()&&(o.player.pauseVideo(),void 0!==a&&p(t,o,"hide"));break;case"vimeo":void 0!==o.vimeoplayer&&(o.vimeoplayer.pause(),void 0!==a&&p(t,o,"hide"));break;case"html5":o.video&&(o.video.pause(),i.ISM&&b(o,1))}}},playVideo:function(e,t,o){var r=i[t].videos[e[0].id];if(clearTimeout(r.videoplaywait),"playVideo"!==r.cRS||"playing"!==r.cSS)switch(r.cRS="playVideo",r.type){case"youtube":if(0==e.find("iframe").length)e.append(r.videomarkup),u(e,t,!0);else if(void 0!==r.player&&null!=r.player.playVideo){var s=r.player.getCurrentTime();r.nseTriggered&&(s=-1,r.nseTriggered=!1),-1!=r.ssec&&r.ssec>s&&r.player.seekTo(r.ssec),c(r)}else r.videoplaywait=setTimeout(function(){i.playVideo(e,t)},50);break;case"vimeo":if(0==e.find("iframe").length)delete r.vimeoplayer,e.append(r.videomarkup),u(e,t,!0);else if(e.hasClass("rs-apiready"))if(r.vimeoplayer=null==r.vimeoplayer?new Vimeo.Player(e.find("iframe").attr("id")):r.vimeoplayer,r.vimeoplayer.getPaused()){s=void 0===r.currenttime?0:r.currenttime;r.nseTriggered&&(s=-1,r.nseTriggered=!1),-1!=r.ssec&&r.ssec>s&&r.vimeoplayer.setCurrentTime(r.ssec),("mute"==r.volume||0===r.volume||i.lastToggleState(e.data("videomutetoggledby"))||!0===i[t].globalmute)&&(r.volumetoken=!0,r.vimeoplayer.setMuted(!0)),l(r)}else r.videoplaywait=setTimeout(function(){i.playVideo(e,t)},50);else r.videoplaywait=setTimeout(function(){i.playVideo(e,t)},50);break;case"html5":if(r.metaloaded){if((""+r.video.duration=="NaN"||r.video.readyState<4)&&!o)return r.loadRequested||(r.video.load(),r.loadRequested=!0),void setTimeout(function(){i.playVideo(e,t)},50);s=r.video.currentTime;r.nseTriggered&&(s=-1,r.nseTriggered=!1),-1!=r.ssec&&r.ssec>s&&r.ssec<r.video.duration&&(r.video.currentTime=r.ssec),d(r)}else a(r.video,"loadedmetadata",function(e){i.playVideo(e,t)}(e))}},isVideoPlaying:function(e,t){var a=!1;return null!=i[t].playingvideos&&jQuery.each(i[t].playingvideos,function(i,t){e.attr("id")==t.attr("id")&&(a=!0)}),a},removeMediaFromList:function(e,i){y(e,i)},prepareCoveredVideo:function(e){clearTimeout(i[e].resizePrepareCoverVideolistener);var t="carousel"===i[e].sliderType?i[e].carousel.justify?void 0===i[e].carousel.slide_widths?void 0:i[e].carousel.slide_widths[i[e].carousel.focused]:i[e].carousel.slide_width:i[e].canv.width,a="carousel"===i[e].sliderType?i[e].carousel.slide_height:i[e].canv.height;if(0!==t&&0!==a&&void 0!==t&&void 0!==a)for(var o in i[e].videos){var r=i[e].videos[o];if(void 0!==r.jvideo&&((r.bgvideo||r.jvideo.parent().hasClass("rs-fsv")||i.closestNode(r.video,"RS-LAYER")&&i.closestNode(r.video,"RS-LAYER").classList.contains("rs-fsv"))&&("html5"===r.type&&void 0!==r.jvideo&&tpGS.gsap.set(r.jvideo,{width:t}),void 0===i[e].activeRSSlide||r.slideid===i.gA(i[e].slides[i[e].activeRSSlide],"key")||void 0===i[e].pr_next_slide||r.slideid===i.gA(i[e].pr_next_slide[0],"key")))){r.vd=r.ratio.split(":").length>1?r.ratio.split(":")[0]/r.ratio.split(":")[1]:1;var s,n=t/a,d=r.vd*n*100,l=r.vd/n*100;"Edge"===i.get_browser()||"IE"===i.get_browser()?s=n>r.vd?{minWidth:"100%",height:d+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}:{minHeight:"100%",width:l+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}:(r.bgvideo&&void 0!==r.vimeoid&&"carousel"==i[e].sliderType&&(d=100,l=100),s=n>r.vd?{height:(r.fitCover?100:d)+"%",width:"100%",top:r.fitCover?0:-(d-100)/2+"%",left:"0px",position:"absolute"}:{width:(r.fitCover?100:l)+"%",height:"100%",left:r.fitCover?0:-(l-100)/2+"%",top:"0px",position:"absolute"}),void 0===r.vimeoid&&void 0===r.ytid||(s.maxWidth="none",s.maxHeight="none"),tpGS.gsap.set(r.jvideo,s)}}else i[e].resizePrepareCoverVideolistener=setTimeout(function(){i.prepareCoveredVideo(e)},100)},checkVideoApis:function(e,t){location.protocol;if(!i[t].youtubeapineeded){var a=e.find("iframe");if((null!=e.data("ytid")||a.length>0&&a.attr("src")&&a.attr("src").toLowerCase().indexOf("youtube")>0)&&(i[t].youtubeapineeded=!0),i[t].youtubeapineeded&&!window.rs_addedyt){i[t].youtubestarttime=Date.now(),window.rs_addedyt=!0;var o=document.createElement("script"),r=i.getByTag(document,"script")[0],s=!0;o.src="https://www.youtube.com/iframe_api",jQuery("head").find("*").each(function(){"https://www.youtube.com/iframe_api"==jQuery(this).attr("src")&&(s=!1)}),s&&r.parentNode.insertBefore(o,r)}}if(!i[t].vimeoapineeded){var n=e.find("iframe");if((null!=e.data("vimeoid")||n.length>0&&n.attr("src")&&n.attr("src").toLowerCase().indexOf("vimeo")>0)&&(i[t].vimeoapineeded=!0),i[t].vimeoapineeded&&!window.rs_addedvim){i[t].vimeostarttime=Date.now(),window.rs_addedvim=!0;var d=document.createElement("script");r=i.getByTag(document,"script")[0],s=!0;d.src="https://player.vimeo.com/api/player.js",jQuery("head").find("*").each(function(){"https://player.vimeo.com/api/player.js"==jQuery(this).attr("src")&&(s=!1)}),s&&r.parentNode.insertBefore(d,r)}}},manageVideoLayer:function(e,t,o,r){if(i[t].videos=void 0===i[t].videos?{}:i[t].videos,void 0===i[t].videos[e[0].id]||!0===r){var s=i[t].videos[e[0].id]=void 0===i[t].videos[e[0].id]?f(e.data(),void 0,o):i[t].videos[e[0].id];if(s.audio=void 0!==s.audio&&s.audio,i.ISM&&s.opom)0==e.find("rs-poster").length&&e.append('<rs-poster class="noSwipe" style="background-image:url('+s.poster+');"></rs-poster>');else{s.jsposter=e.find("rs-poster"),s.id=e[0].id,s.pload="auto"===s.pload||"canplay"===s.pload||"canplaythrough"===s.pload||"progress"===s.pload?"auto":s.pload,s.type=null!=s.mp4||null!=s.webm?"html5":null!=s.ytid&&String(s.ytid).length>1?"youtube":null!=s.vimeoid&&String(s.vimeoid).length>1?"vimeo":"none",s.newtype="html5"==s.type&&0==e.find(s.audio?"audio":"video").length?"html5":"youtube"==s.type&&0==e.find("iframe").length?"youtube":"vimeo"==s.type&&0==e.find("iframe").length?"vimeo":"none",s.extras="",s.posterMarkup=void 0===s.posterMarkup?"":s.posterMarkup,!s.audio&&"1sttime"==s.aplay&&s.pausetimer&&s.bgvideo&&i.sA(e.closest("rs-slide")[0],"rspausetimeronce",1),s.audio||!s.bgvideo||!s.pausetimer||1!=s.aplay&&"true"!=s.aplay&&"no1sttime"!=s.aplay||i.sA(e.closest("rs-slide")[0],"rspausetimeralways",1),s.noInt&&e.addClass("rs-nointeraction"),!(null!=s.poster&&s.poster.length>2)||i.ISM&&s.npom||0==s.jsposter.length&&(s.posterMarkup+='<rs-poster class="noSwipe" style="background-image:url('+s.poster+');"></rs-poster>');var n=!0;switch(s.cSS="created",s.cRS="created",s.newtype){case"html5":1==window.isSafari11&&(i[t].slideHasIframe=!0),s.audio&&e.addClass("rs-audio"),s.tag=s.audio?"audio":"video";var d="video"===s.tag&&(i.is_mobile()||i.isSafari11())?s.aplay||"true"===s.aplay?"muted playsinline autoplay":s.inline?" playsinline":"":"",l='<div class="html5vid rs_html5vidbasicstyles '+(!1===s.afs?"hidefullscreen":"")+'">';l+="<"+s.tag+" "+d+" "+(s.controls&&"none"!==s.controls?" controls":"")+(s.bgvideo&&-1==d.indexOf("autoplay")?" autoplay":"")+(s.bgvideo&&-1==d.indexOf("muted")?" muted":"")+' style="'+("Edge"!==i.get_browser()?(s.fitCover?"object-fit:cover;background-size:cover;":"")+"opacity:0;width:100%; height:100%":"")+'" class="" '+(s.loop?"loop":"")+' preload="'+s.pload+'">',"video"===s.tag&&null!=s.webm&&"firefox"==i.get_browser().toLowerCase()&&(l=l+'<source src="'+s.webm+'" type="video/webm" />'),null!=s.mp4&&(l=l+'<source src="'+s.mp4+'" type="'+("video"===s.tag?"video/mp4":s.mp4.toLowerCase().indexOf("m4a")>0?"audio/x-m4a":"audio/mpeg")+'" />'),null!=s.ogv&&(l=l+'<source src="'+s.mp4+'" type="'+s.tag+'/ogg" />'),l+="</"+s.tag+"></div>",l+=s.posterMarkup,s.controls&&!s.audio&&void 0===s.poster||s.bgvideo||(l+='<div class="tp-video-play-button"><i class="revicon-right-dir"></i><span class="tp-revstop">&nbsp;</span></div>'),s.videomarkup=l,n=!1,i.ISM&&s.notonmobile||i.isIE(8)||e.append(l),s.jvideo=e.find(s.tag),s.video=s.jvideo[0],s.html5vid=s.jvideo.parent(),a(s.video,"canplay",function(e){m(e,t),i.resetVideo(e,t)}(e));break;case"youtube":i[t].slideHasIframe=!0,s.controls&&"none"!==s.controls||(s.vatr=s.vatr.replace("controls=1","controls=0"),-1==s.vatr.toLowerCase().indexOf("controls")&&(s.vatr=s.vatr+"&controls=0")),(s.inline||"RS-BGVIDEO"===e[0].tagName)&&(s.vatr=s.vatr+"&playsinline=1"),-1!=s.ssec&&(s.vatr+="&start="+s.ssec),-1!=s.esec&&(s.vatr+="&end="+s.esec);var c=s.vatr.split("origin=https://");s.vatrnew=c.length>1?c[0]+"origin=https://"+(self.location.href.match(/www/gi)&&!c[1].match(/www/gi)?"www."+c[1]:c[1]):s.vatr,s.videomarkup='<iframe allow="autoplay; '+(!0===s.afs?"fullscreen":"")+'" type="text/html" src="https://www.youtube-nocookie.com/embed/'+s.ytid+"?"+s.vatrnew+'" '+(!0===s.afs?"allowfullscreen":"")+' width="100%" height="100%" class="intrinsic-ignore" style="opacity:0;visibility:visible;width:100%;height:100%"></iframe>';break;case"vimeo":i[t].slideHasIframe=!0,s.controls&&"none"!==s.controls?(s.vatr=s.vatr.replace("background=0","background=1"),-1==s.vatr.toLowerCase().indexOf("background")&&(s.vatr=s.vatr+"&background=1")):(s.vatr=s.vatr.replace("background=1","background=0"),-1==s.vatr.toLowerCase().indexOf("background")&&(s.vatr=s.vatr+"&background=0")),s.vatr="autoplay="+(!0===s.aplay?1:0)+"&"+s.vatr,s.bgvideo&&(s.prePlayForaWhile=!0),i.ISM&&!0===s.aplay&&(s.vatr="muted=1&"+s.vatr),s.loop&&(s.vatr="loop=1&"+s.vatr),s.videomarkup='<iframe  allow="autoplay; '+(!0===s.afs?"fullscreen":"")+'" src="https://player.vimeo.com/video/'+s.vimeoid+"?"+s.vatr+'" '+(!0===s.afs?"webkitallowfullscreen mozallowfullscreen allowfullscreen":"")+' width="100%" height="100%" class="intrinsic-ignore" style="opacity:0;visibility:visible;width:100%;height:100%"></iframe>'}if(!(null!=s.poster&&s.poster.length>2)||i.ISM&&s.npom){if(i.ISM&&s.notonmobile)return!1;0!=e.find("iframe").length||"youtube"!=s.type&&"vimeo"!=s.type||(delete s.vimeoplayer,e.append(s.videomarkup),u(e,t,!("vimeo"!==s.newtype||!s.bgvideo),!0))}else n&&0==e.find("rs-poster").length&&e.append(s.posterMarkup),0==e.find("iframe").length&&(s.jsposter=e.find("rs-poster"),s.jsposter.on("click",function(){if(i.playVideo(e,t,!0),i.ISM){if(s.notonmobile)return!1;tpGS.gsap.to(s.jsposter,.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:"power3.inOut"}),i.showVideo(e.find("iframe"))}}));if("none"!==s.doverlay&&void 0!==s.doverlay){var p=i.createOverlay(t,s.doverlay,s.doverlaysize,{0:s.doverlaycolora,1:s.doverlaycolorb});s.bgvideo&&1!=e.closest("rs-sbg-wrap").find("rs-dotted").length?e.closest("rs-sbg-wrap").append('<rs-dotted style="background-image:'+p+'"></rs-dotted>'):s.bgvideo||1==e.find("rs-dotted").length||e.append('<rs-dotted style="background-image:'+p+'"></rs-dotted>')}s.bgvideo&&(e[0].style.display="none",e[0].style.zIndex=0,tpGS.gsap.set(e.find("video, iframe"),{opacity:0}))}}}});var a=function(e,i,t){e.addEventListener?e.addEventListener(i,t,{capture:!1,passive:!0}):e.attachEvent(i,t,{capture:!1,passive:!0})},o=function(e,i,t){var a={};return a.video=e,a.type=i,a.settings=t,a},r=function(e,t){var a=i[e].videos[t[0].id];(a.bgvideo||t.hasClass("rs-fsv"))&&((void 0===a.ratio||a.ratio.split(":").length<=1)&&(a.ratio="16:9"),requestAnimationFrame(function(){i.prepareCoveredVideo(e)}))},s=function(e,t){var a=e.vimeoplayer;a.getPaused().then(function(o){e.volumetoken=!0;var r=!o,s=a.setVolume(t);void 0!==s&&s.then(function(i){a.getPaused().then(function(i){r===i&&(e.volume="mute",e.volumetoken=!0,a.setMuted(!0),a.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,a.setMuted(!0),a.play()),i.ISM&&b(e,0)})}).catch(function(){console.log("Get Paused Function Failed for Vimeo Volume Changes")})},n=function(e,i){var t=e.player.getPlayerState();"mute"===i?e.player.mute():(e.player.unMute(),e.player.setVolume(i)),setTimeout(function(){1===t&&1!==e.player.getPlayerState()&&(e.player.mute(),e.player.playVideo())},39)},d=function(e,t){if("playVideo"===e.cRS){var a=e.video.play();void 0!==a&&a.then(function(e){}).catch(function(i){e.video.pause(),!0!==t&&d(e,!0)}),i.ISM&&b(e,0)}},l=function(e){if("playVideo"===e.cRS){var i=e.vimeoplayer.play();void 0!==i&&i.then(function(e){}).catch(function(i){e.vimeoplayer.volumetoken=!0,e.vimeoplayer.setMuted(!0),e.vimeoplayer.play()})}},c=function(e){"playVideo"===e.cRS&&e.player.playVideo()},p=function(e,t,a,o){clearTimeout(t.repeatedPosterCalls),t.repeatedPosterCalls=setTimeout(function(){"show"===a||"playing"===t.cSS&&!0!==t.VideoIsVisible?(void 0!==t.showhideposter&&t.showhideposter.pause(),t.showhideposter=tpGS.gsap.timeline(),t.jsposter.length>0&&t.showhideposter.add(tpGS.gsap.to(t.jsposter,.3,{zIndex:5,autoAlpha:0,force3D:"auto",ease:"power3.inOut"}),0),t.jvideo.length>0&&t.showhideposter.add(tpGS.gsap.to(t.jvideo,void 0!==o?o:.001,{opacity:1,display:"block",ease:t.jsposter.length>0?"power3.inOut":"power3.out"}),0),t.VideoIsVisible=!0):("hide"===a||"paused"===t.cSS&&1!=i.checkfullscreenEnabled(e)&&t.jsposter.length>0&&!1!==t.VideoIsVisible&&!0!==t.seeking)&&(void 0!==t.showhideposter&&t.showhideposter.pause(),t.showhideposter=tpGS.gsap.timeline(),t.jsposter.length>0&&t.showhideposter.add(tpGS.gsap.to(t.jsposter,.3,{zIndex:5,autoAlpha:1,force3D:"auto",ease:"power3.inOut"}),0),t.jvideo.length>0&&t.showhideposter.add(tpGS.gsap.to(t.jvideo,void 0!==o?o:.001,{opacity:0,ease:t.jsposter.length>0?"power3.inOut":"power3.out"}),.3),t.bgvideo&&void 0!==t.nBG&&void 0!==t.nBG.loadobj&&(t.nBG.video=t.nBG.loadobj.img),t.VideoIsVisible=!1)},void 0!==a?0:100)},g=function(e,t,a){e.cSS="playing",e.vimeostarted=!0,e.nextslidecalled=!1,e.jsposter=void 0===e.jsposter||0===e.jsposter.length?t.find("rs-poster"):e.jsposter,e.jvideo=t.find("iframe"),i[a].c.trigger("revolution.slide.onvideoplay",o(e.vimeoplayer,"vimeo",e)),i[a].stopByVideo=e.pausetimer,w(t,a),"mute"==e.volume||0===e.volume||i.lastToggleState(t.data("videomutetoggledby"))||!0===i[a].globalmute?(e.volumetoken=!0,e.vimeoplayer.setMuted(!0)):s(e,parseInt(e.volcache,0)/100||.75),i.toggleState(e.videotoggledby)},u=function(e,t,a,s){var d=i[t].videos[e[0].id],l="iframe"+Math.round(1e5*Math.random()+1);if(d.jvideo=e.find("iframe"),r(t,e),d.jvideo.attr("id",l),d.startvideonow=a,d.videolistenerexist){if(a)switch(d.type){case"youtube":i.playVideo(e,t),-1!=d.ssec&&d.player.seekTo(d.ssec);break;case"vimeo":i.playVideo(e,t),-1!=d.ssec&&d.vimeoplayer.seekTo(d.ssec)}}else switch(d.type){case"youtube":if("undefined"==typeof YT||void 0===YT.Player)return i.checkVideoApis(e,t),void setTimeout(function(){u(e,t,a,s)},50);d.player=new YT.Player(l,{events:{onStateChange:function(a){a.data==YT.PlayerState.PLAYING?(d.cSS="playing",i[t].onceVideoPlayed=!0,!1===d.player.isMuted()&&(d.volume=d.volcache=d.player.getVolume()),"mute"==d.volume||0===d.volume||i.lastToggleState(e.data("videomutetoggledby"))||!0===i[t].globalmute?d.player.mute():n(d,parseInt(d.volcache,0)||75),i[t].stopByVideo=!0,w(e,t),d.pausetimer?i[t].c.trigger("stoptimer"):i[t].stopByVideo=!1,i[t].c.trigger("revolution.slide.onvideoplay",o(d.player,"youtube",d)),i.toggleState(d.videotoggledby)):(d.cSS="paused",0==a.data&&d.loop&&(-1!=d.ssec&&d.player.seekTo(d.ssec),i.playVideo(e,t),i.toggleState(d.videotoggledby)),-1!=a.data&&3!=a.data&&(i[t].stopByVideo=!1,i[t].tonpause=!1,y(e,t),i[t].c.trigger("starttimer"),i[t].c.trigger("revolution.slide.onvideostop",o(d.player,"youtube",d)),null!=i[t].videoIsPlaying&&i[t].videoIsPlaying.attr("id")!=e.attr("id")||i.unToggleState(d.videotoggledby)),0==a.data&&d.nse?(h(),d.nseTriggered=!0,i[t].c.revnext(),y(e,t)):(y(e,t),i[t].stopByVideo=!1,3!==a.data&&(-1!=d.lasteventdata&&3!=d.lasteventdata&&void 0!==d.lasteventdata||-1!=a.data&&3!=a.data)&&i[t].c.trigger("starttimer"),i[t].c.trigger("revolution.slide.onvideostop",o(d.player,"youtube",d)),null!=i[t].videoIsPlaying&&i[t].videoIsPlaying.attr("id")!=e.attr("id")||i.unToggleState(d.videotoggledby))),clearTimeout(d.postOrVideoTimer),3!==a.data&&(d.postOrVideoTimer=setTimeout(function(){p(t,d)},1===d.lasteventdata&&2===a.data||2===d.lasteventdata&&3!==a.data?1e3:0),d.lasteventdata=a.data)},onReady:function(a){var o,r=i.is_mobile(),n=e.hasClass("rs-layer-video");d.ready=!0,!r&&(!i.isSafari11()||r&&n)||"RS-BGVIDEO"!==e[0].tagName&&(!n||!0!==d.aplay&&"true"!==d.aplay)||(o=!0,d.player.setVolume(0),d.volume="mute",d.player.mute(),clearTimeout(e.data("mobilevideotimr")),2!==d.player.getPlayerState()&&-1!==d.player.getPlayerState()||e.data("mobilevideotimr",setTimeout(function(){i.playVideo(e,t)},500))),o||"mute"!=d.volume||(d.player.setVolume(0),d.player.mute()),e.addClass("rs-apiready"),null==d.speed&&1===d.speed||a.target.setPlaybackRate(parseFloat(d.speed)),d.jsposter.off("click"),d.jsposter.on("click",function(){i.playVideo(e,t,!0)}),d.startvideonow?(i.playVideo(e,t),-1!=d.ssec&&d.player.seekTo(d.ssec)):s&&p(t,d,"show",.2),d.videolistenerexist=!0}}});break;case"vimeo":if("undefined"==typeof Vimeo||void 0===Vimeo.Player)return i.checkVideoApis(e,t),void setTimeout(function(){u(e,t,a,s)},50);for(var c,m=d.jvideo.attr("src"),v={},f=m,b=/([^&=]+)=([^&]*)/g;c=b.exec(f);)v[decodeURIComponent(c[1])]=decodeURIComponent(c[2]);m=(m=null!=v.player_id?m.replace(v.player_id,l):m+"&player_id="+l).replace(/&api=0|&api=1/g,"");var _,S=i.is_mobile()||i.isSafari11(),x="RS-BGVIDEO"===e[0].tagName;if(S&&x&&(m+="&background=1"),d.jvideo.attr("src",m),d.vimeoplayer=void 0===d.vimeoplayer||!1===d.vimeoplayer?new Vimeo.Player(l):d.vimeoplayer,S)x?_=!0:(d.aplay||"true"===d.aplay)&&(_=!0),_&&(d.volumetoken=!0,d.vimeoplayer.setMuted(!0),d.volume="mute");d.vimeoplayer.on("play",function(a){i[t].onceVideoPlayed=!0,d.cSS="playing",d.vimeostarted||g(d,e,t)}),d.vimeoplayer.on("loaded",function(a){var o={};d.vimeoplayer.getVideoWidth().then(function(i){o.width=i,void 0!==o.width&&void 0!==o.height&&(d.ratio=o.width+":"+o.height,d.vimeoplayerloaded=!0,r(t,e))}),d.vimeoplayer.getVideoHeight().then(function(i){o.height=i,void 0!==o.width&&void 0!==o.height&&(d.ratio=o.width+":"+o.height,d.vimeoplayerloaded=!0,r(t,e))}),d.startvideonow?("mute"===d.volume&&(d.volumetoken=!0,d.vimeoplayer.setMuted(!0)),i.playVideo(e,t),-1!=d.ssec&&d.vimeoplayer.setCurrentTime(d.ssec)):s&&p(t,d,"show",.2)}),e.addClass("rs-apiready"),d.vimeoplayer.on("volumechange",function(e){d.volumetoken&&(d.volume=e.volume),d.volumetoken=!1}),d.vimeoplayer.on("timeupdate",function(a){p(t,d),d.vimeostarted||0===a.percent||void 0!==i[t].activeRSSlide&&d.slideid!==i.gA(i[t].slides[i[t].activeRSSlide],"key")||g(d,e,t),d.pausetimer&&"playing"==i[t].sliderstatus&&(i[t].stopByVideo=!0,i[t].c.trigger("stoptimer")),d.currenttime=a.seconds,0!=d.esec&&-1!==d.esec&&d.esec<a.seconds&&!0!==d.nextslidecalled&&(d.loop?(i.playVideo(e,t),d.vimeoplayer.setCurrentTime(-1!==d.ssec?d.ssec:0)):(d.nse&&(d.nseTriggered=!0,d.nextslidecalled=!0,i[t].c.revnext()),d.vimeoplayer.pause())),d.prePlayForaWhile&&d.vimeoplayer.pause()}),d.vimeoplayer.on("ended",function(a){d.cSS="paused",p(t,d),d.vimeostarted=!1,y(e,t),i[t].stopByVideo=!1,i[t].c.trigger("starttimer"),i[t].c.trigger("revolution.slide.onvideostop",o(d.vimeoplayer,"vimeo",d)),d.nse&&(d.nseTriggered=!0,i[t].c.revnext()),null!=i[t].videoIsPlaying&&i[t].videoIsPlaying.attr("id")!=e.attr("id")||i.unToggleState(d.videotoggledby)}),d.vimeoplayer.on("pause",function(a){d.vimeostarted=!1,d.cSS="paused",p(t,d),i[t].stopByVideo=!1,i[t].tonpause=!1,y(e,t),i[t].c.trigger("starttimer"),i[t].c.trigger("revolution.slide.onvideostop",o(d.vimeoplayer,"vimeo",d)),null!=i[t].videoIsPlaying&&i[t].videoIsPlaying.attr("id")!=e.attr("id")||i.unToggleState(d.videotoggledby)}),d.jsposter.off("click"),d.jsposter.on("click",function(){if(!i.ISM)return i.playVideo(e,t,!0),!1}),d.videolistenerexist=!0}},h=function(){document.exitFullscreen&&document.fullscreen?document.exitFullscreen():document.mozCancelFullScreen&&document.mozFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitIsFullScreen&&document.webkitExitFullscreen()},m=function(e,t,r){var s=i[t].videos[e[0].id];if(i.ISM&&s.notonmobile)return!1;if(s.metaloaded=!0,"html5"===s.newtype&&s.bgvideo&&(s.nBG=i[t].sbgs[e[0].dataset.key],void 0===s.nBG.shadowCanvas&&(s.nBG.shadowCanvas=document.createElement("canvas"),s.nBG.shadowCTX=s.nBG.shadowCanvas.getContext("2d"),s.nBG.shadowCanvas.style.background="transparent",s.nBG.shadowCanvas.style.opacity=1),s.nBG.isHTML5=!0,s.nBG.video=void 0!==s.nBG.loadobj&&void 0!==s.nBG.loadobj.img?s.nBG.loadobj.img:s.video,s.nBG.drawVideoCanvasImagesRecall=!1),!s.controls||s.audio||void 0!==s.poster){0!=e.find(".tp-video-play-button").length||i.ISM||e.append('<div class="tp-video-play-button"><i class="revicon-right-dir"></i><span class="tp-revstop">&nbsp;</span></div>');var n="video, rs-poster, .tp-video-play-button";void 0!==s.poster&&s.controls&&(n=".tp-video-play-button"),e.find(n).on("click",function(){!1===s.loop&&s.esec>0&&s.esec<=s.video.currentTime||(e.hasClass("videoisplaying")?i.stopVideo(e,t):i.playVideo(e,t,!0))})}(e.hasClass("rs-fsv")||s.bgvideo)&&(s.bgvideo||e.hasClass("rs-fsv")?(s.html5vid.addClass("fullcoveredvideo"),void 0!==s.ratio&&1!=s.ratio.split(":").length||(s.ratio="16:9"),i.prepareCoveredVideo(t)):s.html5vid.addClass("rs-fsv")),a(s.video,"canplaythrough",function(){i.preLoadAudioDone(e,t,"canplaythrough")}),a(s.video,"canplay",function(){i.preLoadAudioDone(e,t,"canplay")}),a(s.video,"progress",function(){i.preLoadAudioDone(e,t,"progress")}),a(s.video,"pause",function(){i.ISM&&b(s,1)}),a(s.video,"timeupdate",function(e){this.BGrendered=!0,p(t,s),-1===s.esec&&s.loop&&1==window.isSafari11&&(s.esec=s.video.duration-.075),void 0!==s.lastCurrentTime?s.fps=s.video.currentTime-s.lastCurrentTime:s.fps=.1,s.lastCurrentTime=s.video.currentTime,0!=s.esec&&-1!=s.esec&&s.esec<s.video.currentTime&&!s.nextslidecalled&&(s.loop?(d(s),s.video.currentTime=-1===s.ssec?.5:s.ssec):(s.nse&&(s.nseTriggered=!0,s.nextslidecalled=!0,i[t].jcnah=!0,i[t].c.revnext(),setTimeout(function(){i[t].jcnah=!1},1e3)),s.video.pause()))}),a(s.video,"play",function(){s.cSS="playing",p(t,s),s.bgvideo&&(s.nBG.drawVideoCanvasImagesRecall=!0,s.nBG.videoisplaying=!0,s.nBG.video=s.video,i.updateVideoFrames(t,s.nBG)),i[t].onceVideoPlayed=!0,s.nextslidecalled=!1,s.volume=null!=s.volume&&"mute"!=s.volume?parseFloat(s.volcache):s.volume,s.volcache=null!=s.volcache&&"mute"!=s.volcache?parseFloat(s.volcache):s.volcache,i.is_mobile()||(!0===i[t].globalmute?s.video.muted=!0:s.video.muted="mute"==s.volume,s.volcache=i.isNumeric(s.volcache)&&s.volcache>1?s.volcache/100:s.volcache,"mute"==s.volume?s.video.muted=!0:null!=s.volcache&&(s.video.volume=s.volcache)),e.addClass("videoisplaying"),w(e,t),clearTimeout(s.showCoverSoon),!0!==s.pausetimer||"audio"==s.tag?(i[t].stopByVideo=!1,i[t].c.trigger("revolution.slide.onvideostop",o(s.video,"html5",s))):(i[t].stopByVideo=!0,i[t].c.trigger("revolution.slide.onvideoplay",o(s.video,"html5",s))),s.pausetimer&&"playing"==i[t].sliderstatus&&(i[t].stopByVideo=!0,i[t].c.trigger("stoptimer")),i.toggleState(s.videotoggledby)}),a(s.video,"seeked",function(){s.seeking=!1}),a(s.video,"seeking",function(){s.seeking=!0}),a(s.video,"pause",function(a){s.cSS="paused",p(t,s),e.removeClass("videoisplaying"),s.bgvideo&&(s.nBG.drawVideoCanvasImagesRecall=!1,s.nBG.videoisplaying=!1),i[t].stopByVideo=!1,y(e,t),"audio"!=s.tag&&i[t].c.trigger("starttimer"),i[t].c.trigger("revolution.slide.onvideostop",o(s.video,"html5",s)),null!=i[t].videoIsPlaying&&i[t].videoIsPlaying.attr("id")!=e.attr("id")||i.unToggleState(s.videotoggledby)}),a(s.video,"ended",function(){s.cSS="paused",h(),p(t,s),y(e,t),i[t].stopByVideo=!1,y(e,t),"audio"!=s.tag&&i[t].c.trigger("starttimer"),i[t].c.trigger("revolution.slide.onvideostop",o(s.video,"html5",e.data())),s.nse&&s.video.currentTime>0&&(1==!i[t].jcnah&&(s.nseTriggered=!0,i[t].c.revnext(),i[t].jcnah=!0),setTimeout(function(){i[t].jcnah=!1},1500)),e.removeClass("videoisplaying"),s.bgvideo&&(s.nBG.drawVideoCanvasImagesRecall=!1,s.nBG.videoisplaying=!1),!0!==i[t].inviewport&&void 0!==i[t].inviewport||(i[t].lastplayedvideos=[])})},v=function(e){return"t"===e||!0===e||"true"===e||"f"!==e&&!1!==e&&"false"!==e&&e},f=function(e,i,a){e.audio="audio"===i;var o=void 0===e.video?[]:e.video.split(";"),r={volume:e.audio?1:"mute",pload:"auto",ratio:"16:9",loop:!0,aplay:"true",fitCover:!0,afs:!0,controls:!1,nse:!0,npom:!1,opom:!1,inline:!0,notonmobile:!1,start:-1,end:-1,doverlay:"none",doverlaysize:1,doverlaycolora:"transparent",doverlaycolorb:"#000000",scop:!1,rwd:!0,speed:1,ploadwait:5,stopAV:1!==e.bgvideo,noInt:!1,volcache:75};for(var s in o)if(o.hasOwnProperty(s)){var n=o[s].split(":");switch(n[0]){case"v":r.volume=n[1];break;case"vd":r.volcache=n[1];break;case"p":r.pload=n[1];break;case"ar":r.ratio=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"ap":r.aplay=v(n[1]);break;case"vfc":r.fitCover=v(n[1]);break;case"afs":r.afs=v(n[1]);break;case"vc":r.controls=n[1];break;case"nse":r.nse=v(n[1]);break;case"npom":r.npom=v(n[1]);break;case"opom":r.opom=v(n[1]);break;case"t":r.vtype=n[1];break;case"inl":r.inline=v(n[1]);break;case"nomo":r.notonmobile=v(n[1]);break;case"sta":r.start=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"end":r.end=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"do":r.doverlay=n[1];break;case"dos":r.doverlaysize=n[1];break;case"doca":r.doverlaycolora=n[1];break;case"docb":r.doverlaycolorb=n[1];break;case"scop":r.scop=v(n[1]);break;case"rwd":r.rwd=v(n[1]);break;case"sp":r.speed=n[1];break;case"vw":r.ploadwait=parseInt(n[1],0)||5;break;case"sav":r.stopAV=v(n[1]);break;case"noint":r.noInt=v(n[1]);break;case"l":r.loopcache=n[1],r.loop="loop"===n[1]||"loopandnoslidestop"===n[1]||"none"!==n[1]&&v(n[1]);break;case"ptimer":r.pausetimer=v(n[1]);break;case"sat":r.waitToSlideTrans=v(n[1])}}return null==e.mp4&&null==e.webm&&(r.fitCover=!1),void 0!==e.bgvideo&&(r.bgvideo=e.bgvideo),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.slideid=a,r.aplay="true"===r.aplay||r.aplay,1===r.bgvideo&&(r.volume="mute"),r.ssec=t(r.start),r.esec=t(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},w=function(e,t){if(i[t].playingvideos=void 0===i[t].playingvideos?new Array:i[t].playingvideos,i[t].videos[e[0].id].stopAV&&void 0!==i[t].playingvideos&&i[t].playingvideos.length>0)for(var a in i[t].lastplayedvideos=jQuery.extend(!0,[],i[t].playingvideos),i[t].playingvideos)i[t].playingvideos.hasOwnProperty(a)&&i.stopVideo(i[t].playingvideos[a],t);i[t].playingvideos.push(e),i[t].videoIsPlaying=e},y=function(e,t){void 0!==i[t]&&void 0!==i[t]&&null!=i[t].playingvideos&&jQuery.inArray(e,i[t].playingvideos)>=0&&i[t].playingvideos.splice(jQuery.inArray(e,i[t].playingvideos),1)},b=function(e,t){if(void 0!==e&&(void 0===t&&(t=0),i.ISM&&!e.bgvideo)){e.playPauseBtnTween&&e.playPauseBtnTween.kill&&e.playPauseBtnTween.kill();var a=i.closestNode(e.video,"RS-LAYER"),o=e.controls?1:0,r=e.controls?0:.3;e.controls&&e.poster&&0===t&&(r=0,o=0),a&&(e.playPauseBtnTween=tpGS.gsap.to(a.querySelector(".tp-video-play-button"),{duration:r,delay:o,opacity:t}))}};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.video={loaded:!0,version:"6.5.18"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery);