function _fbRowGetAllElementsWithAttribute(a){var b,c,d=[],e=document.getElementsByTagName("*");for(b=0,c=e.length;b=d.getDuration()&&(d.pauseVideo(),d.seekTo(0),d.playVideo(),f=!1)},150))}function _fbRowOnPlayerStateChange(a){a.data===YT.PlayerState.ENDED?(void 0!==a.target.loopTimeout&&clearTimeout(a.target.loopTimeout),0!==jQuery("[data-youtube-video-id="+a.target.getVideoData().video_id+"]").data("loop")&&a.target.seekTo(0)):a.data===YT.PlayerState.PLAYING&&jQuery(a.target.getIframe()).parent().css("opacity","1")}function resizeVideo(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q=a.parent();if(!q.find("iframe").hasClass("fusion-hidden")||!q.find("iframe").attr("data-privacy-src")){if(null===q.find("iframe").width())return void setTimeout(function(){resizeVideo(a)},500);b=a,b.css({width:"auto",height:"auto",left:"auto",top:"auto"}),b.css("position","absolute"),o=q.find("> div").data("display"),q.find("iframe").width(),q.find("iframe").height(),c=q.width(),d=q.height(),e=parseInt(q.css("padding-left"),10),f=parseInt(q.css("padding-right"),10),1<=jQuery(".width-100").length&&(0=d&&(j=d,k=i[0]/i[1]*d),k>=c&&(k=c,j=i[1]/i[0]*c)):g>=c&&h>=d?(j=d,k=i[0]/i[1]*d):(k=c,j=c*i[1]/i[0]),1<=jQuery(".width-100").length&&(0q.find(".fusion-video-cover").length&&(l=q.find("iframe").parent(),l.prepend('
 
')),q.is(":visible")&&(q.find(".fusion-video-cover").css({"z-index":0,width:k,height:j,position:"absolute"}),p="iframe",q.hasClass("video-background")&&(p="iframe.fusion-container-video-bg"),q.find(p).parent().css({marginLeft:n,marginTop:m}),q.find(p).css({width:k,height:j,"z-index":-1}))}}function vimeoReady(a){var b,c=jQuery("#"+a).parents("[data-vimeo-video-id]").first();("function"!=typeof fusionGetConsent||fusionGetConsent("vimeo"))&&(b=new Vimeo.Player(a),"yes"===c.data("mute")&&b.setVolume(0),"no"===c.data("mute")&&b.setVolume(1),b.on("timeupdate",function(a){c.css("opacity","1"),b.off("timeupdate")}),jQuery("#"+a).attr("data-privacy-src")&&resizeVideo(c))}function fusionInitVimeoPlayers(){var a,b,c,d;if(("function"!=typeof fusionGetConsent||fusionGetConsent("vimeo"))&&Number(fusionVideoBgVars.status_vimeo)&&(a=jQuery("[data-vimeo-video-id]"),0 iframe, iframe[data-privacy-type="vimeo"]'),c=b.length,i=0;i