function t937_init(e,t){var i=document.getElementById("rec"+e);if(i){var l=window.innerWidth,n=i.getAttribute("data-screen-min"),r=i.getAttribute("data-screen-max");if(n&&lparseInt(r,10))return!1;var o=i.querySelector(".t937__playlist-wrap"),a=i.querySelector(".t937__col_video"),d=t937_parseData(e),s,c=t937_getUrlParametrs(e).activeVideoId;t937_setSizes(e,t),t937_renderVideoCount(d,e,t),t937_renderPlaylist(d,c,e,t),t937_renderVideoFrame(d,c,e,t),a&&(a.style.height=""),o&&(o.style.visibility="visible"),t937_addEvents(e,t)}}function t937_getUrlParametrs(e){var t,i,l=window.location.hash;if(l&&-1===l.indexOf("#tlection="))t=e,i=1;else{var n=l.replace("#tlection=","").split("_");i=+e==+(t=n[0])?n[1]:1}return{activeRecId:t,activeVideoId:i}}function t937_parseData(e){var t=document.getElementById("rec"+e);if(t){var i=t?t.querySelector(".t937__data"):null,l=i?i.innerHTML:"",n=[];if(l)for(var r=(l=l.replace(/&/gi,"&")).split("\n"),o=0;o=960?(o&&(o.style.width=d+"px"),l&&(l.style.height=s+"px"),l&&(l.style.maxHeight=""),t.playlistWidth.length&&r&&(r.style.width=parseInt(t.playlistWidth,10)+"px")):(l&&(l.style.maxHeight=s+"px"),l&&(l.style.height=""),r&&(r.style.width=""),o&&(o.style.width=""))}function t937_translate(e){var t=[];t.videoTitle={RU:"Без названия",EN:"Untitled video",FR:"Vidéo sans titre",DE:"Video ohne Titel",ES:"Video sin título",PT:"Bez tytułu wideo",UK:"Відео без назви",JA:"無題の動画",ZH:"无标题的视频",PL:"Bez tytułu"},t.videoPart={RU:"видео",EN:"videos",FR:"vidéos",DE:"videos",ES:"videos",PT:"filmy",UK:"відео",JA:"ビデオ",ZH:"影片",PL:"video"},t.noData={RU:"Пожалуйста, добавьте хотя бы одно видео в плейлист",EN:"Please add at least one video to the playlist",UK:"Будь ласка, додайте хоча б одне відео в плейлист",PL:"Proszę dodać jeden filmik do listy"},t.wrongFormat={RU:"Пожалуйста, проверьте корректность заполненных данных",EN:"Please check that the data is filled in correctly",UK:"Будь ласка, перевірте коректність заповнених даних",PL:"Sprawdź poprawność danych"};var i=(window.navigator.userLanguage||window.navigator.language).toUpperCase().slice(0,2),l=document.getElementById("allrecords");if(l){var n=l.getAttribute("data-tilda-project-lang");n&&(i=n)}return void 0!==t[e]?void 0!==t[e][i]&&""!==t[e][i]?t[e][i]:t[e].EN:"Text not found #"+e}function t937_hex2rgb(e,t){var i=e.replace("#","");i=i.match(new RegExp("(.{"+i.length/3+"})","g"));for(var l=0;l=n.scrollHeight-30?r&&(r.style.backgroundImage=""):t937_renderFade(e,t.bgColor)}))}function t937_onVideoClick(e,t){var i=document.getElementById("rec"+t),l=i?i.querySelector(".t937__playlist"):null,n=l?l.dataVideoContent:null,r=l?l.dataPlaylistStyles:null;window.location.hash="tlection="+t+"_"+e,t937_renderPlaylist(n,e,t,r),t937_renderVideoFrame(n,e,t,r),t937_playVideo(t)}function t937_playVideo(e){var t=document.getElementById("rec"+e),i=t?t.querySelector(".t937__video-frame"):null;i&&i.classList.contains("t937__video-frame_youtube")&&i.addEventListener("load",(function(){var e="playVideo";i.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}"loading"!==document.readyState?document.body&&(document.body.style["-webkit-text-size-adjust"]="100%"):document.addEventListener("DOMContentLoaded",(function(){document.body&&(document.body.style["-webkit-text-size-adjust"]="100%")}));