function onGMYTPlayerReady(t){var a=t.target;"mute"===a.isMute?a.mute():a.unMute()}setTimeout(function(){"undefined"!=typeof window.onYouTubePlayerAPIReady&&("undefined"==typeof window.gambitOtherYTAPIReady&&(window.gambitOtherYTAPIReady=[]),window.gambitOtherYTAPIReady.push(window.onYouTubePlayerAPIReady)),window.onYouTubePlayerAPIReady=function(){var t=jQuery;t(this);t(".youtube_mockup").each(function(){var a=new YT.Player(t(this).attr("id"),{height:"auto",width:"auto",videoId:t(this).attr("data-video-id"),playerVars:{autohide:1,autoplay:parseInt(t(this).attr("data-autoplay")||0),fs:0,showinfo:0,loop:t(this).attr("data-loop"),start:0,controls:t(this).attr("data-hidecontrols"),rel:0,disablekb:1,iv_load_policy:3,wmode:"transparent",modestbranding:1,playlist:t(this).attr("data-video-id")},events:{onReady:onGMYTPlayerReady}});a.isMute=t(this).attr("data-mute")}),"undefined"!=typeof window.gambitOtherYTAPIReady&&window.gambitOtherYTAPIReady.length&&window.gambitOtherYTAPIReady.pop()()}},2),jQuery(document).ready(function(t){"use strict";function a(){t(".gambit_mock_container figure[data-clip]").each(function(){var a=parseFloat(t(this).attr("data-clip-amount"))/100*t(this).height(),e="marginTop";"top"===t(this).attr("data-clip")?e="marginBottom":"bottom"===t(this).attr("data-clip")&&(e="marginTop"),t(this).css(e,-a)})}if(t(window).resize(function(){a()}),a(),t(".slider-container").each(function(){t(this).owlGambitMockupCarousel({items:1,slideBy:1,loop:!0,nav:!1,dots:!1,autoplay:!0,autoplayHoverPause:!0,autoHeight:!1,autoplayTimeout:t(this).attr("data-slider-duration")})}),t(".youtube_mockup").length){var e=document.createElement("script");e.setAttribute("src","https://www.youtube.com/iframe_api"),document.body.appendChild(e)}t(".vimeo_mockup").each(function(){var a=t(this).find("iframe")[0],e=$f(a),i=t(this);e.addEvent("ready",function(){"mute"===i.attr("data-mute")&&e.api("setVolume",0)})})});