!function(){var i;(i=jQuery)(window).on("et_pb_init_modules",(function(){window.et_pb_init_video_overlay=function(){i((()=>{window.et_pb_play_overlayed_video=function(e){const o=e,t=o.closest(".et_pb_video_overlay"),_=o.closest(".et_pb_video, .et_main_video_container, .et_pb_video_wrap");let n=_.find("iframe");const d=n.length>0,r=_.find(".fb-video").length;let a,v,p;if(d){if(r&&void 0!==n[2]&&(n=i(n[2])),a=n.attr("src"),v=a.split("?"),-1!==a.indexOf("autoplay="))return;p=void 0!==v[1]?`${v[0]}?autoplay=1&${v[1]}`:`${v[0]}?autoplay=1`,n.attr({src:p})}else _.find("video").get(0).play();t.fadeTo(500,0,(function(){i(this).css("display","none")}))},i("body").on("click",".et_pb_post .et_pb_video_overlay, .et_pb_video .et_pb_video_overlay, .et_pb_video_wrap .et_pb_video_overlay",(function(){const e=i(this);return et_pb_play_overlayed_video(e),!1})),i(window).resize((function(){}))}))},window.et_pb_init_video_overlay()})),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryVideoOverlay={}}();