/** * @preserve * @name REVOLUTION 3.0.5 ADDON - TypeWriter * @version 6.7.0 (13.12.2021) * @requires Slider Revolution 6.4.0 * @author ThemePunch */ !function(){jQuery.fn.revolution=void 0===jQuery.fn.revolution?{}:jQuery.fn.revolution;var e,t,r,i=jQuery.fn.revolution,n=[],a=["onbeforeswap","layeraction","beforeredraw","afterdraw"],s='content: "[char]"; animation: tp-typewriter [speed]s steps(2, start) infinite';function l(e,t){var r=e._L,n=e.level;for(var a in i.rC(t,"typewriter-align-right"),r)if(r.hasOwnProperty(a)){var s=r[a];s.typewriter&&s.typewriter.active&&s.c[0]===t&&"r"===s.x[n]&&i.aC(t,"typewriter-align-right")}}function o(s,l,o){this.eventCallback=this.eventCallback.bind(this),this.writeLayerData=this.writeLayerData.bind(this),this.onResize=this.onResize.bind(this);var p=this;n[n.length]=p,e||((e=s).event.special.typewriterDestroyed={remove:function(e){e.handler()}},r=document.createElement("textarea")),t="@keyframes tp-typewriter {from {visibility: visible}to {visibility: hidden}}",p.layrs=[];var d=!!i[l[0].id]&&i[l[0].id],c=d&&d.responsiveLevels?d.responsiveLevels:"";if(p.levels=c.toString().split(","),p.slider=l.one("typewriterDestroyed",u),p.sliderId=l[0].id,o.each(p.writeLayerData),t){var h=document.head||document.body;if(h){var f=document.createElement("style");f.type="text/css",f.innerHTML=t,h.appendChild(f)}}for(var w=a.length,y=0;y0?t+="@media screen and (max-width: "+f+"px) {rs-layer"+H+"[data-typewriter]:before,"+H+".rs-layer[data-typewriter]:before,rs-layer"+H+"[data-typewriter]:after,"+H+".rs-layer[data-typewriter]:after {position: "+(g=g?"static":"absolute")+"}}":g&&i.sA(r,"typewriter-blinking","true"),u=f);else"none"!==(g=h[0])&&"auto"!==g||i.sA(r,"typewriter-blinking","true")}if(o.sequenced&&P){for(L=c(unescape(n)),o.textSpans=o.textSpans.concat(L.spans),n=[L.value],m=(P=P.split(",")).length,S=0;S]+>/g,"").replace(/(_|\|)$/,""),e=t?e.replace(/\r?\n|\r/g," ").replace(/]*>/gi,"µ").replace(/<\/span>/gi,"╣"):e.replace(/\r?\n|\r/g,"±").replace(/]*>/gi,"µ").replace(/<\/span>/gi,"╣").replace(/±µ|µ±/g,"µ").replace(/^±+|±+$/g,"").replace(/^µ+|µ+$/g,"");for(var i,n=/]*>/g,a=[];i=n.exec(e);)a.push(i[0]);return e=e.replace(n,"╠"),r.innerHTML=e,{value:r.value,spans:a}}function h(e,t,r,i){return e.substr(0,t)+i+e.substr(t+r.length,e.length)}function u(){for(var e,t=n.length;t--;)if((e=n[t])[0]===this){f(e),n=n.splice(t,1);break}}function f(t){for(var r=t.layrs,i=r.length;i--;)e.removeData(r[i].el,"typewriter");for(var n in t)t.hasOwnProperty(n)&&delete t[n]}window.RsTypewriterAddOn=function(e,t){if(i&&t){var r=t.find("rs-layer[data-typewriter], .rs-layer[data-typewriter]");r.length&&new o(e,t,r)}},o.prototype={eventCallback:function(e,t){this[e.namespace.replace(".slide","")](t)},onResize:function(){if(this.slider&&this.layrs){var e=i[this.sliderId];this.layrs.forEach((function(t){l(e,t.el)}))}},onbeforeswap:function(e){var t,r=this.layrs,n=i[this.sliderId],a=r.length;if(e=e.currentslide[0])for(;a--;)(t=r[a]).statc||(clearTimeout(t.timer),t.running=!1,t.active=!1,e.contains(t.el)||(t.el.innerHTML=t.orig,l(n,t.el),i.aC(t.el,"hide-typewriter-cursor")))},layeraction:function(t){if("enterstage"===t.eventtype){var r=e.data(t.layer[0],"typewriter"),n="html"===t.layertype||"text"===t.layertype;r&&n&&(i.sA(t.layer[0],"vary-layer-dims",!0),r.active=!0,r.start())}},beforeredraw:function(e){for(var t=this.layrs,r=t.length;r--;)t[r].onRedraw()},afterdraw:function(){for(var e=this.layrs,t=e.length;t--;)e[t].onRedraw(!0)},writeLayerData:function(e,t){var r=i.trim(t.innerHTML);r?(i.gA(t,"whiteboard")&&("undefined"!=typeof console&&console.log("Whiteboard is disabled for Layers with Typewriter Add-On effect enabled"),i.rA(t,"whiteboard")),this.layrs[this.layrs.length]=new p(t,r,this.levels,this.slider)):i.rA(t,"typewriter")}},p.prototype={start:function(e,t){var r=this;clearTimeout(r.timer),r.paused||(r.line=0,r.step=0,r.words=0,r.skip=!1,r.rewind=!1,r.rstart=!1,r.breaker=!1,r.paused=!1,r.rpaused=!1,r.str=r.txt[r.line],r.len=r.str.length,t?(r.timer=setTimeout(r.onStart,e),r.revapi.trigger("revolution.slide.typewriterlooped",[r.el])):(r.el.innerHTML=" ",i.rC(r.el,"hide-typewriter-cursor"),r.timer=setTimeout(r.onStart,r.startDelay)),r.running=!0,r.revapi.trigger("revolution.slide.typewriterstarted",[r.el]),r.revapi.trigger("revolution.slide.typewriternewline",[r.el,r.line+1,r.txt[r.line]]),requestAnimationFrame((function(){r.updatePosition(r.sliderid,i[r.sliderid]._L[r.el.id])})))},onStart:function(){var e=this;e.el.innerHTML="",l(i[e.sliderid],e.el),e.animate()},animate:function(){var e,t,r,n,a=this,s=a.str,l=a.txt,o=a.step,p=a.rewind,d=p?a.deletionSpeed:a.speed;if(o=0;w--){s=h(s,f[w].index,"╣",a.spans[w])}s=s.replace(/╣/g,"")||" "}a.el.innerHTML=s.replace(/µ/g,"
")||" "}else if(a.breaker?(t="
",d=a.skip?a.linebreakDelay:a.newlineDelay,a.breaker=!1,a.skip=!1,a.words=0,a.step--):"µ"===(t=s[o])&&(a.skip=!0,a.breaker=!0,d=a.linebreakDelay),!a.breaker){if(" "===(n=a.el.innerHTML)&&(n=""),"╠"===t||"╣"===t||a.incompleteSpan){var y=n.match(/]*>/g);y=y?y.length:0,"╠"===t?(a.incompleteSpan=!0,n+=t=a.spans[y]+""):"╣"===t?a.incompleteSpan=!1:n=h(n,n.lastIndexOf(""),"",t+"")}else n+=t;a.el.innerHTML=n,a.wordDelay&&" "===t&&(r=a.words,(n=a.spaces[r])?(d=n,a.words=ri[e].gridheight[i[e].level]?1:i[e].CM.h):l;(1==i[e].gridEQModule||void 0!==t._lig&&"row"!==t.type&&"column"!==t.type&&"group"!==t.type)&&(h=void 0!==t._lig?t._lig.width():i[e].module.width,u=void 0!==t._lig?t._lig.height():i[e].module.height,o=0,p=0),r="c"===r||"m"===r||"center"===r||"middle"===r?h/2-t.eow/2+c:"l"===r||"left"===r?c:"r"===r||"right"===r?h-t.eow-c:"off"!==t.rsp_o?r*i[e].CM.w:r,n="m"===n||"c"===n||"center"===n||"middle"===n?u/2-t.eoh/2+d:"t"===n||"top"==n?d:"b"===n||"bottom"==n?u-t.eoh-d:"off"!==t.rsp_o?n*i[e].CM.w:n,r=t._slidelink?0:i[e].rtl&&-1==(""+t.width[i[e].level]).indexOf("%")?parseInt(r)+t.eow:r,t.calcx=parseInt(r,0)+o,t.calcy=parseInt(n,0)+p,t.OBJUPD.POBJ={zIndex:t.zindex,top:t.calcy,left:t.calcx,overwrite:"auto"},t.caches.POBJ_LEFT===t.OBJUPD.POBJ.left&&t.caches.POBJ_TOP===t.OBJUPD.POBJ.top||(tpGS.gsap.set(t.p,t.OBJUPD.POBJ),t.caches.POBJ_LEFT=t.OBJUPD.POBJ.left,t.caches.POBJ_TOP=t.OBJUPD.POBJ.top)},onRedraw:function(e){if(e)this.el.innerHTML=this.state;else{var t=window.getComputedStyle(this.el,":after").getPropertyValue("position");this.state=this.el.innerHTML,this.el.innerHTML="absolute"===t?this.orig:this.clean}},pause:function(){this.active&&(clearTimeout(this.timer),this.paused=!0)},resume:function(){var e=this;e.active&&(e.running?e.paused&&(e.rpaused?e.start(e.lastSpeed,!0):(e.paused=!1,e.lastSpeed?e.timer=setTimeout(e.animate,e.lastSpeed):e.animate())):e.restart())},restart:function(){this.active&&(clearTimeout(this.timer),this.rpaused=!1,this.paused=!1,this.start())},restore:function(e){this.active&&(clearTimeout(this.timer),this.el.innerHTML=this.clean,e&&i.aC(this.el,"hide-typewriter-cursor"))}},window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.typewriter={loaded:!0,version:"6.7.0"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}();; document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",(()=>{for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t{"function"!=typeof window.vc_js&&(window.vc_js=function(){vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),o=e.attr("data-flex_fx"),i=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:o,slideshow:i,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})},1)})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){var e,t;0=o.tabs("length")&&(t=0),o.tabs("select",t)):(t=o.tabs("option","active"),e=o.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:t-1<0?e-1:t-1,o.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0 div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:o,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}});!0===e.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var i={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),t=e.find(".wpb_thumbnails"),o=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===i[o]?"fitRows":i[o]}),e.find(".categories_filter a").data("isotope",t).on("click",function(e){e&&e.preventDefault&&e.preventDefault();e=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){t.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){(e?e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var e=jQuery(this);!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":e.css("margin-left"),"margin-left":0}),(e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var e,t,o=jQuery(this);o.hasClass("wpb_slider_nivo")?(0===(t=1e3*o.attr("data-interval"))&&(t=9999999999),o.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:t,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})):o.hasClass("wpb_image_grid")&&o.find(".wpb_image_grid_ul")&&o.find(".wpb_image_grid_ul").isotope&&(jQuery.fn.imagesLoaded?e=o.find(".wpb_image_grid_ul").imagesLoaded(function(){e.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):o.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1')}),vc_initVideoBackgrounds();var n=!1;if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),s(".vc_parallax-inner").remove(),s("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),s("[data-vc-parallax]").each(function(){var e,t,o,i;n=!0,"on"===s(this).data("vcParallaxOFade")&&s(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*s(this).data("vcParallax"),(t=s("
").addClass("vc_parallax-inner").appendTo(s(this))).height(e+"%"),o=s(this).data("vcParallaxImage"),(i=vcExtractYoutubeId(o))?insertYoutubeVideoAsBackground(t,i):void 0!==o&&t.css("background-image","url("+o+")"),t.attr("data-bottom-top","top: "+-(e-100)+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr)window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){for(var t=!1,o=1;!1===t;){if(e.hasClass("columns_count_"+o))return t=!0,o;o++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var o=t.panel||t.newPanel,i=o.find(".vc_pie_chart:not(.vc_ready)"),n=o.find(".vc_round-chart"),a=o.find(".vc_line-chart"),r=o.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(o),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&o.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.length&&jQuery.fn.vcChat&&i.vcChat(),n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({reload:!1}),a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({reload:!1}),r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"),t=o.find(".isotope, .wpb_image_grid_ul"),i=o.find(".wpb_gmaps_widget"),0
').find(".inner");new YT.Player(i[0],{width:"100%",height:"100%",videoId:t,playerVars:{playlist:t,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,mute:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).on("resize",function(){vcResizeVideoBackground(e)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,o,i,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),o=r,i=-Math.round((t-a)/2)+"px",n=-Math.round((o-r)/2)+"px"):(o=(t=a)*(9/16),n=-Math.round((o-r)/2)+"px",i=-Math.round((t-a)/2)+"px"),t+="px",o+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:i,marginTop:n,width:t,height:o})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=e.width();e.css("perspective",4*t+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner"),o=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),o=e