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