/*! * WPBakery Page Builder v6.0.0 (https://wpbakery.com) * Copyright 2011-2020 Michael M, WPBakery * License: Commercial. More details: http://go.wpbakery.com/licensing */ document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",function(){for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t=t.tabs("length")&&(o=0),t.tabs("select",o)):(o=t.tabs("option","active"),n=t.find(".wpb_tab").length,o=jQuery(this).parent().hasClass("wpb_next_slide")?n<=o+1?0:o+1:o-1<0?n-1:o-1,t.tabs("option","active",o))}))}))}}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each((function(e){var t,o,i,n=jQuery(this);n.attr("data-interval"),i=!1===(o=!isNaN(jQuery(this).data("active-tab"))&&0 div > h3",autoHeight:!1,heightStyle:"content",active:o,collapsible:i,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===n.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})}))}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var e={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 t=jQuery(this),o=t.find(".wpb_thumbnails"),i=o.attr("data-layout-mode");o.isotope({itemSelector:".isotope-item",layoutMode:void 0===e[i]?"fitRows":e[i]}),t.find(".categories_filter a").data("isotope",o).on("click",(function(e){e&&e.preventDefault&&e.preventDefault();var t=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),t.isotope({filter:jQuery(this).attr("data-filter")})})),jQuery(window).bind("load resize",(function(){o.isotope("layout")}))}))}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(o){(o?o.find(".wpb_carousel"):jQuery(".wpb_carousel")).each((function(){var o=jQuery(this);if(!0!==o.data("carousel_enabled")&&o.is(":visible")){o.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1");var i=jQuery(this).find(".wpb_thumbnails-fluid li");i.css({"margin-right":i.css("margin-left"),"margin-left":0});var n=jQuery(this).find("ul.wpb_thumbnails-fluid");n.width(n.width()+300),jQuery(window).on("resize",(function(){e!=(e=t())&&window.setTimeout((function(){location.reload()}),20)}))}}))}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each((function(e){var t,o=jQuery(this);if(o.hasClass("wpb_slider_nivo")){var i=1e3*o.attr("data-interval");0===i&&(i=9999999999),o.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:i,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})}else o.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?t=o.find(".wpb_image_grid_ul").imagesLoaded((function(){t.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(),t=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),o(".vc_parallax-inner").remove(),o("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),o("[data-vc-parallax]").each((function(){var e,i,n,a,r;t=!0,"on"===o(this).data("vcParallaxOFade")&&o(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*o(this).data("vcParallax"),(n=o("
").addClass("vc_parallax-inner").appendTo(o(this))).height(e+"%"),a=o(this).data("vcParallaxImage"),(r=vcExtractYoutubeId(a))?insertYoutubeVideoAsBackground(n,r):void 0!==a&&n.css("background-image","url("+a+")"),i=-(e-100),n.attr("data-bottom-top","top: "+i+"%;").attr("data-top-bottom","top: 0%;")})),t&&window.skrollr&&(e={forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}},window.vcParallaxSkroll=skrollr.init(e),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++}});var e=t();function t(){var e=jQuery(window).width();return 1170
').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,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).bind("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){if(void 0===e)return!1;var t=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!==t&&t[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=4*e.width()+"px";e.css("perspective",t)}))}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each((function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner");t.css("min-height",0);var o=e.find(".vc-hoverbox-front-inner").outerHeight(),i=e.find(".vc-hoverbox-back-inner").outerHeight(),n=i