(function(sidr){"use strict" sidr.new('#gmr-topnavresponsive-menu',{name:'menus',source:'.gmr-logomobile, .close-topnavmenu-wrap, .gmr-mainmenu, .gmr-secondmenu, .gmr-topnavmenu',displace:false,onOpen:function(name){var elems=document.querySelectorAll("#menus [class*='sidr-class-icon_'], #menus [class*='sidr-class-_mi']"),i;for(i=0;i0){var elm=elmTag[i].querySelectorAll('a');if(elm!==null){elm[0].innerHTML+='';}}} var elmTag=document.querySelectorAll('.sidr-inner .sub-toggle'),i;for(i=0;i85||document.documentElement.scrollTop>85){if(elmontop!==null){elmontop.style.display='block';document.querySelector('.gmr-ontop').addEventListener('click',function(e){e.preventDefault();window.scroll({top:0,left:0,behavior:'smooth'});});}}else{if(elmontop!==null){elmontop.style.display='none';}}});})();(function(){"use strict";var ms=document.querySelectorAll('[data-modal]');ms.forEach(function(t){t.addEventListener('click',function(e){e.preventDefault();var m=document.getElementById(t.dataset.modal);m.style.display="block";var xs=m.querySelectorAll('.close-modal');xs.forEach(function(x){x.addEventListener('click',function(e){e.preventDefault();m.style.display="none";});});});});})();(function(){"use strict";var btn=document.getElementById('gmr-button-light');var lightoff=document.getElementById('lightoff');if(btn){btn.addEventListener('click',function(e){e.stopPropagation();e.preventDefault();var elme=document.querySelector('.player-wrap');if(elme!==null){elme.classList.add('relative-video');} lightoff.style.display='block';});} if(lightoff){lightoff.addEventListener('click',function(e){e.stopPropagation();e.preventDefault();var elme=document.querySelector('.player-wrap');if(elme!==null){elme.classList.remove('relative-video');} lightoff.style.display='none';});}})();(function(){"use strict";MediaBox('.gmr-trailer-popup');})();